/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.8.0 * 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'; /** * Payload to set a users' password hash directly * @export * @interface UserPasswordHashSetRequest */ export interface UserPasswordHashSetRequest { /** * * @type {string} * @memberof UserPasswordHashSetRequest */ password: string; } /** * Check if a given object implements the UserPasswordHashSetRequest interface. */ export function instanceOfUserPasswordHashSetRequest(value: object): value is UserPasswordHashSetRequest { if (!('password' in value) || value['password'] === undefined) return false; return true; } export function UserPasswordHashSetRequestFromJSON(json: any): UserPasswordHashSetRequest { return UserPasswordHashSetRequestFromJSONTyped(json, false); } export function UserPasswordHashSetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPasswordHashSetRequest { if (json == null) { return json; } return { 'password': json['password'], }; } export function UserPasswordHashSetRequestToJSON(json: any): UserPasswordHashSetRequest { return UserPasswordHashSetRequestToJSONTyped(json, false); } export function UserPasswordHashSetRequestToJSONTyped(value?: UserPasswordHashSetRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'password': value['password'], }; }