static constructFromObject(data, obj) {
        if (data) {
            obj = obj || new VerifyEmailAddressOptions();

            if (data.hasOwnProperty('mailServerDomain')) {
                obj['mailServerDomain'] = ApiClient.convertToType(data['mailServerDomain'], 'String');
            }
            if (data.hasOwnProperty('emailAddress')) {
                obj['emailAddress'] = ApiClient.convertToType(data['emailAddress'], 'String');
            }
            if (data.hasOwnProperty('senderEmailAddress')) {
                obj['senderEmailAddress'] = ApiClient.convertToType(data['senderEmailAddress'], 'String');
            }
            if (data.hasOwnProperty('port')) {
                obj['port'] = ApiClient.convertToType(data['port'], 'Number');
            }
        }
        return obj;
    }
/**
     * Constructs a <code>VerifyEmailAddressOptions</code> from a plain JavaScript object, optionally creating a new instance.
     * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
     * @param {Object} data The plain JavaScript object bearing properties of interest.
     * @param {module:model/VerifyEmailAddressOptions} obj Optional instance to populate.
     * @return {module:model/VerifyEmailAddressOptions} The populated <code>VerifyEmailAddressOptions</code> instance.
     */
Constructs a VerifyEmailAddressOptions 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/VerifyEmailAddressOptions} obj Optional instance to populate.
Constructs a VerifyEmailAddressOptions 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 / VerifyEmailAddressOptions } obj Optional instance to populate .
static constructFromObject(data, obj) {
        if (data) {
            obj = obj || new VerifyEmailAddressOptions();
            if (data.hasOwnProperty('mailServerDomain')) {
                obj['mailServerDomain'] = ApiClient.convertToType(data['mailServerDomain'], 'String');
            }
            if (data.hasOwnProperty('emailAddress')) {
                obj['emailAddress'] = ApiClient.convertToType(data['emailAddress'], 'String');
            }
            if (data.hasOwnProperty('senderEmailAddress')) {
                obj['senderEmailAddress'] = ApiClient.convertToType(data['senderEmailAddress'], 'String');
            }
            if (data.hasOwnProperty('port')) {
                obj['port'] = ApiClient.convertToType(data['port'], 'Number');
            }
        }
        return obj;
    }
static constructFromObject ( data , obj ) { if ( data ) { obj = obj || new VerifyEmailAddressOptions ( ) ; if ( data . hasOwnProperty ( 'mailServerDomain' ) ) { obj [ 'mailServerDomain' ] = ApiClient . convertToType ( data [ 'mailServerDomain' ] , 'String' ) ; } if ( data . hasOwnProperty ( 'emailAddress' ) ) { obj [ 'emailAddress' ] = ApiClient . convertToType ( data [ 'emailAddress' ] , 'String' ) ; } if ( data . hasOwnProperty ( 'senderEmailAddress' ) ) { obj [ 'senderEmailAddress' ] = ApiClient . convertToType ( data [ 'senderEmailAddress' ] , 'String' ) ; } if ( data . hasOwnProperty ( 'port' ) ) { obj [ 'port' ] = ApiClient . convertToType ( data [ 'port' ] , 'Number' ) ; } } return obj ; }
Constructs a <code>VerifyEmailAddressOptions</code> from a plain JavaScript object, optionally creating a new instance.
Constructs a <code > VerifyEmailAddressOptions< / code > from a plain JavaScript object optionally creating a new instance .