//#region src/model/Email.d.ts
type IEmail = {
type: string;
value: string;
primary: boolean;
};
/**
* @typedef {Object} IEmail
* @property {String} type
* @property {String} value
* @property {Boolean} primary
*/
/**
* The Email model module.
* @module model/Email
* @type {IEmail}
*/
declare class Email {
/**
* 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): void;
/**
* Constructs a Email 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/Email} obj Optional instance to populate.
* @return {module:model/Email} The populated Email instance.
*/
static constructFromObject(data: any, obj: any): any;
/**
* Validates the JSON data with respect to Email.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @return {boolean} to indicate whether the JSON data is valid with respect to Email.
*/
static validateJSON(data: any): boolean;
type: string;
value: string;
primary: boolean;
}
//#endregion
export { IEmail, Email as default };