//#region src/model/UsernamePasswordCredentials.d.ts
type IUsernamePasswordCredentials = {
username: string;
password: string;
identity: string;
secret: string;
};
/**
* @typedef {Object} IUsernamePasswordCredentials
* @property {String} username
* @property {String} password
* @property {String} identity
* @property {String} secret
*/
/**
* The UsernamePasswordCredentials model module.
* @module model/UsernamePasswordCredentials
* @type {IUsernamePasswordCredentials}
*/
declare class UsernamePasswordCredentials {
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
static initialize(obj: any, username: any, password: any): void;
/**
* Constructs a UsernamePasswordCredentials from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data to obj if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:model/UsernamePasswordCredentials} obj Optional instance to populate.
* @return {module:model/UsernamePasswordCredentials} The populated UsernamePasswordCredentials instance.
*/
static constructFromObject(data: any, obj: any): any;
/**
* Validates the JSON data with respect to UsernamePasswordCredentials.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @return {boolean} to indicate whether the JSON data is valid with respect to UsernamePasswordCredentials.
*/
static validateJSON(data: any): boolean;
/**
* Constructs a new UsernamePasswordCredentials.
* @alias module:model/UsernamePasswordCredentials
* @param {String} username -
* @param {String} password -
*/
constructor(username: string, password: string);
username: string;
password: string;
identity: string;
secret: string;
}
declare namespace UsernamePasswordCredentials {
let RequiredProperties: string[];
}
//#endregion
export { IUsernamePasswordCredentials, UsernamePasswordCredentials as default };