/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.2.3-rc1 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * Account adding/removing operations * @export * @interface UserAccountSerializerForRoleRequest */ export interface UserAccountSerializerForRoleRequest { /** * * @type {number} * @memberof UserAccountSerializerForRoleRequest */ pk: number; } /** * Check if a given object implements the UserAccountSerializerForRoleRequest interface. */ export function instanceOfUserAccountSerializerForRoleRequest(value: object): value is UserAccountSerializerForRoleRequest { if (!('pk' in value) || value['pk'] === undefined) return false; return true; } export function UserAccountSerializerForRoleRequestFromJSON(json: any): UserAccountSerializerForRoleRequest { return UserAccountSerializerForRoleRequestFromJSONTyped(json, false); } export function UserAccountSerializerForRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAccountSerializerForRoleRequest { if (json == null) { return json; } return { 'pk': json['pk'], }; } export function UserAccountSerializerForRoleRequestToJSON(json: any): UserAccountSerializerForRoleRequest { return UserAccountSerializerForRoleRequestToJSONTyped(json, false); } export function UserAccountSerializerForRoleRequestToJSONTyped(value?: UserAccountSerializerForRoleRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'pk': value['pk'], }; }