56 lines
1.4 KiB
TypeScript
56 lines
1.4 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 easy password request body.
|
||
|
*/
|
||
|
export class UpdateUserEasyPasswordRequest {
|
||
|
/**
|
||
|
* Gets or sets the new sha1-hashed password.
|
||
|
*/
|
||
|
'newPassword'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the new 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": "newPassword",
|
||
|
"baseName": "NewPassword",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "newPw",
|
||
|
"baseName": "NewPw",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "resetPassword",
|
||
|
"baseName": "ResetPassword",
|
||
|
"type": "boolean"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return UpdateUserEasyPasswordRequest.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|