mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
24 lines
697 B
TypeScript
24 lines
697 B
TypeScript
import { ProviderUserStatusType } from "../../enums/providerUserStatusType";
|
|
import { ProviderUserType } from "../../enums/providerUserType";
|
|
import { ProfileProviderResponse } from "../response/profile-provider.response";
|
|
|
|
export class ProviderData {
|
|
id: string;
|
|
name: string;
|
|
status: ProviderUserStatusType;
|
|
type: ProviderUserType;
|
|
enabled: boolean;
|
|
userId: string;
|
|
useEvents: boolean;
|
|
|
|
constructor(response: ProfileProviderResponse) {
|
|
this.id = response.id;
|
|
this.name = response.name;
|
|
this.status = response.status;
|
|
this.type = response.type;
|
|
this.enabled = response.enabled;
|
|
this.userId = response.userId;
|
|
this.useEvents = response.useEvents;
|
|
}
|
|
}
|