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

            if (data.hasOwnProperty('domainName')) {
                obj['domainName'] = ApiClient.convertToType(data['domainName'], 'String');
            }
            if (data.hasOwnProperty('emailAddress')) {
                obj['emailAddress'] = ApiClient.convertToType(data['emailAddress'], 'String');
            }
            if (data.hasOwnProperty('error')) {
                obj['error'] = ApiClient.convertToType(data['error'], 'String');
            }
            if (data.hasOwnProperty('isValid')) {
                obj['isValid'] = ApiClient.convertToType(data['isValid'], 'Boolean');
            }
            if (data.hasOwnProperty('port')) {
                obj['port'] = ApiClient.convertToType(data['port'], 'Number');
            }
        }
        return obj;
    }
/**
     * Constructs a <code>EmailVerificationResult</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/EmailVerificationResult} obj Optional instance to populate.
     * @return {module:model/EmailVerificationResult} The populated <code>EmailVerificationResult</code> instance.
     */
Constructs a EmailVerificationResult 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/EmailVerificationResult} obj Optional instance to populate.
Constructs a EmailVerificationResult 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 / EmailVerificationResult } obj Optional instance to populate .
static constructFromObject(data, obj) {
        if (data) {
            obj = obj || new EmailVerificationResult();
            if (data.hasOwnProperty('domainName')) {
                obj['domainName'] = ApiClient.convertToType(data['domainName'], 'String');
            }
            if (data.hasOwnProperty('emailAddress')) {
                obj['emailAddress'] = ApiClient.convertToType(data['emailAddress'], 'String');
            }
            if (data.hasOwnProperty('error')) {
                obj['error'] = ApiClient.convertToType(data['error'], 'String');
            }
            if (data.hasOwnProperty('isValid')) {
                obj['isValid'] = ApiClient.convertToType(data['isValid'], 'Boolean');
            }
            if (data.hasOwnProperty('port')) {
                obj['port'] = ApiClient.convertToType(data['port'], 'Number');
            }
        }
        return obj;
    }
static constructFromObject ( data , obj ) { if ( data ) { obj = obj || new EmailVerificationResult ( ) ; if ( data . hasOwnProperty ( 'domainName' ) ) { obj [ 'domainName' ] = ApiClient . convertToType ( data [ 'domainName' ] , 'String' ) ; } if ( data . hasOwnProperty ( 'emailAddress' ) ) { obj [ 'emailAddress' ] = ApiClient . convertToType ( data [ 'emailAddress' ] , 'String' ) ; } if ( data . hasOwnProperty ( 'error' ) ) { obj [ 'error' ] = ApiClient . convertToType ( data [ 'error' ] , 'String' ) ; } if ( data . hasOwnProperty ( 'isValid' ) ) { obj [ 'isValid' ] = ApiClient . convertToType ( data [ 'isValid' ] , 'Boolean' ) ; } if ( data . hasOwnProperty ( 'port' ) ) { obj [ 'port' ] = ApiClient . convertToType ( data [ 'port' ] , 'Number' ) ; } } return obj ; }
Constructs a <code>EmailVerificationResult</code> from a plain JavaScript object, optionally creating a new instance.
Constructs a <code > EmailVerificationResult< / code > from a plain JavaScript object optionally creating a new instance .