/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface UserV2 */ export interface UserV2 { /** * Email address of the user. */ email?: string; /** * Unique identifier of the user */ id: string; /** * Name of the user */ name: string; /** * DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated. */ role: UserV2RoleEnum; /** * Slack ID of the user */ slack_user_id?: string; } /** * @export */ export declare const UserV2RoleEnum: { readonly Viewer: "viewer"; readonly Responder: "responder"; readonly Administrator: "administrator"; readonly Owner: "owner"; readonly Unset: "unset"; }; export type UserV2RoleEnum = typeof UserV2RoleEnum[keyof typeof UserV2RoleEnum]; /** * Check if a given object implements the UserV2 interface. */ export declare function instanceOfUserV2(value: object): value is UserV2; export declare function UserV2FromJSON(json: any): UserV2; export declare function UserV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): UserV2; export declare function UserV2ToJSON(json: any): UserV2; export declare function UserV2ToJSONTyped(value?: UserV2 | null, ignoreDiscriminator?: boolean): any;