65 lines
1.6 KiB
TypeScript
65 lines
1.6 KiB
TypeScript
|
/**
|
||
|
* Jellyfin API
|
||
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||
|
*
|
||
|
* The version of the OpenAPI document: 10.8.9
|
||
|
*
|
||
|
*
|
||
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||
|
* https://openapi-generator.tech
|
||
|
* Do not edit the class manually.
|
||
|
*/
|
||
|
|
||
|
import { RequestFile } from './models';
|
||
|
|
||
|
/**
|
||
|
* The update user password request body.
|
||
|
*/
|
||
|
export class UpdateUserPasswordRequest {
|
||
|
/**
|
||
|
* Gets or sets the current sha1-hashed password.
|
||
|
*/
|
||
|
'currentPassword'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the current plain text password.
|
||
|
*/
|
||
|
'currentPw'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the new plain text password.
|
||
|
*/
|
||
|
'newPw'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether to reset the password.
|
||
|
*/
|
||
|
'resetPassword'?: boolean;
|
||
|
|
||
|
static discriminator: string | undefined = undefined;
|
||
|
|
||
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
||
|
{
|
||
|
"name": "currentPassword",
|
||
|
"baseName": "CurrentPassword",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "currentPw",
|
||
|
"baseName": "CurrentPw",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "newPw",
|
||
|
"baseName": "NewPw",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "resetPassword",
|
||
|
"baseName": "ResetPassword",
|
||
|
"type": "boolean"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return UpdateUserPasswordRequest.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|