All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.huaweicloud.sdk.geip.v3.model.ListGlobalEipsRequest Maven / Gradle / Ivy

There is a newer version: 3.1.114
Show newest version
package com.huaweicloud.sdk.geip.v3.model;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;

import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.function.Consumer;

/**
 * Request Object
 */
public class ListGlobalEipsRequest {

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "limit")

    private Integer limit;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "offset")

    private Integer offset;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "marker")

    private String marker;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "page_reverse")

    private Boolean pageReverse;

    /**
     * Gets or Sets fields
     */
    public static final class FieldsEnum {

        /**
         * Enum ID for value: "id"
         */
        public static final FieldsEnum ID = new FieldsEnum("id");

        /**
         * Enum NAME for value: "name"
         */
        public static final FieldsEnum NAME = new FieldsEnum("name");

        /**
         * Enum DESCRIPTION for value: "description"
         */
        public static final FieldsEnum DESCRIPTION = new FieldsEnum("description");

        /**
         * Enum DOMAIN_ID for value: "domain_id"
         */
        public static final FieldsEnum DOMAIN_ID = new FieldsEnum("domain_id");

        /**
         * Enum ACCESS_SITE for value: "access_site"
         */
        public static final FieldsEnum ACCESS_SITE = new FieldsEnum("access_site");

        /**
         * Enum GEIP_POOL_NAME for value: "geip_pool_name"
         */
        public static final FieldsEnum GEIP_POOL_NAME = new FieldsEnum("geip_pool_name");

        /**
         * Enum ISP for value: "isp"
         */
        public static final FieldsEnum ISP = new FieldsEnum("isp");

        /**
         * Enum IP_VERSION for value: "ip_version"
         */
        public static final FieldsEnum IP_VERSION = new FieldsEnum("ip_version");

        /**
         * Enum IP_ADDRESS for value: "ip_address"
         */
        public static final FieldsEnum IP_ADDRESS = new FieldsEnum("ip_address");

        /**
         * Enum IPV6_ADDRESS for value: "ipv6_address"
         */
        public static final FieldsEnum IPV6_ADDRESS = new FieldsEnum("ipv6_address");

        /**
         * Enum FREEZEN for value: "freezen"
         */
        public static final FieldsEnum FREEZEN = new FieldsEnum("freezen");

        /**
         * Enum FREEZEN_INFO for value: "freezen_info"
         */
        public static final FieldsEnum FREEZEN_INFO = new FieldsEnum("freezen_info");

        /**
         * Enum POLLUTED for value: "polluted"
         */
        public static final FieldsEnum POLLUTED = new FieldsEnum("polluted");

        /**
         * Enum STATUS for value: "status"
         */
        public static final FieldsEnum STATUS = new FieldsEnum("status");

        /**
         * Enum CREATED_AT for value: "created_at"
         */
        public static final FieldsEnum CREATED_AT = new FieldsEnum("created_at");

        /**
         * Enum UPDATED_AT for value: "updated_at"
         */
        public static final FieldsEnum UPDATED_AT = new FieldsEnum("updated_at");

        /**
         * Enum INTERNET_BANDWIDTH_INFO for value: "internet_bandwidth_info"
         */
        public static final FieldsEnum INTERNET_BANDWIDTH_INFO = new FieldsEnum("internet_bandwidth_info");

        /**
         * Enum GLOBAL_CONNECTION_BANDWIDTH_INFO for value: "global_connection_bandwidth_info"
         */
        public static final FieldsEnum GLOBAL_CONNECTION_BANDWIDTH_INFO =
            new FieldsEnum("global_connection_bandwidth_info");

        /**
         * Enum ASSOCIATE_INSTANCE_INFO for value: "associate_instance_info"
         */
        public static final FieldsEnum ASSOCIATE_INSTANCE_INFO = new FieldsEnum("associate_instance_info");

        /**
         * Enum IS_PRE_PAID for value: "is_pre_paid"
         */
        public static final FieldsEnum IS_PRE_PAID = new FieldsEnum("is_pre_paid");

        /**
         * Enum TAGS for value: "tags"
         */
        public static final FieldsEnum TAGS = new FieldsEnum("tags");

        /**
         * Enum SYS_TAGS for value: "sys_tags"
         */
        public static final FieldsEnum SYS_TAGS = new FieldsEnum("sys_tags");

        /**
         * Enum ENTERPRISE_PROJECT_ID for value: "enterprise_project_id"
         */
        public static final FieldsEnum ENTERPRISE_PROJECT_ID = new FieldsEnum("enterprise_project_id");

        private static final Map STATIC_FIELDS = createStaticFields();

        private static Map createStaticFields() {
            Map map = new HashMap<>();
            map.put("id", ID);
            map.put("name", NAME);
            map.put("description", DESCRIPTION);
            map.put("domain_id", DOMAIN_ID);
            map.put("access_site", ACCESS_SITE);
            map.put("geip_pool_name", GEIP_POOL_NAME);
            map.put("isp", ISP);
            map.put("ip_version", IP_VERSION);
            map.put("ip_address", IP_ADDRESS);
            map.put("ipv6_address", IPV6_ADDRESS);
            map.put("freezen", FREEZEN);
            map.put("freezen_info", FREEZEN_INFO);
            map.put("polluted", POLLUTED);
            map.put("status", STATUS);
            map.put("created_at", CREATED_AT);
            map.put("updated_at", UPDATED_AT);
            map.put("internet_bandwidth_info", INTERNET_BANDWIDTH_INFO);
            map.put("global_connection_bandwidth_info", GLOBAL_CONNECTION_BANDWIDTH_INFO);
            map.put("associate_instance_info", ASSOCIATE_INSTANCE_INFO);
            map.put("is_pre_paid", IS_PRE_PAID);
            map.put("tags", TAGS);
            map.put("sys_tags", SYS_TAGS);
            map.put("enterprise_project_id", ENTERPRISE_PROJECT_ID);
            return Collections.unmodifiableMap(map);
        }

        private String value;

        FieldsEnum(String value) {
            this.value = value;
        }

        @JsonValue
        public String getValue() {
            return value;
        }

        @Override
        public String toString() {
            return String.valueOf(value);
        }

        @JsonCreator
        public static FieldsEnum fromValue(String value) {
            if (value == null) {
                return null;
            }
            return java.util.Optional.ofNullable(STATIC_FIELDS.get(value)).orElse(new FieldsEnum(value));
        }

        public static FieldsEnum valueOf(String value) {
            if (value == null) {
                return null;
            }
            return java.util.Optional.ofNullable(STATIC_FIELDS.get(value))
                .orElseThrow(() -> new IllegalArgumentException("Unexpected value '" + value + "'"));
        }

        @Override
        public boolean equals(Object obj) {
            if (obj instanceof FieldsEnum) {
                return this.value.equals(((FieldsEnum) obj).value);
            }
            return false;
        }

        @Override
        public int hashCode() {
            return this.value.hashCode();
        }
    }

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "fields")

    private List fields = null;

    /**
     * Gets or Sets sortKey
     */
    public static final class SortKeyEnum {

        /**
         * Enum ID for value: "id"
         */
        public static final SortKeyEnum ID = new SortKeyEnum("id");

        /**
         * Enum IP_ADDRESS for value: "ip_address"
         */
        public static final SortKeyEnum IP_ADDRESS = new SortKeyEnum("ip_address");

        /**
         * Enum CREATED_AT for value: "created_at"
         */
        public static final SortKeyEnum CREATED_AT = new SortKeyEnum("created_at");

        /**
         * Enum UPDATED_AT for value: "updated_at"
         */
        public static final SortKeyEnum UPDATED_AT = new SortKeyEnum("updated_at");

        private static final Map STATIC_FIELDS = createStaticFields();

        private static Map createStaticFields() {
            Map map = new HashMap<>();
            map.put("id", ID);
            map.put("ip_address", IP_ADDRESS);
            map.put("created_at", CREATED_AT);
            map.put("updated_at", UPDATED_AT);
            return Collections.unmodifiableMap(map);
        }

        private String value;

        SortKeyEnum(String value) {
            this.value = value;
        }

        @JsonValue
        public String getValue() {
            return value;
        }

        @Override
        public String toString() {
            return String.valueOf(value);
        }

        @JsonCreator
        public static SortKeyEnum fromValue(String value) {
            if (value == null) {
                return null;
            }
            return java.util.Optional.ofNullable(STATIC_FIELDS.get(value)).orElse(new SortKeyEnum(value));
        }

        public static SortKeyEnum valueOf(String value) {
            if (value == null) {
                return null;
            }
            return java.util.Optional.ofNullable(STATIC_FIELDS.get(value))
                .orElseThrow(() -> new IllegalArgumentException("Unexpected value '" + value + "'"));
        }

        @Override
        public boolean equals(Object obj) {
            if (obj instanceof SortKeyEnum) {
                return this.value.equals(((SortKeyEnum) obj).value);
            }
            return false;
        }

        @Override
        public int hashCode() {
            return this.value.hashCode();
        }
    }

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "sort_key")

    private List sortKey = null;

    /**
     * Gets or Sets sortDir
     */
    public static final class SortDirEnum {

        /**
         * Enum ASC for value: "asc"
         */
        public static final SortDirEnum ASC = new SortDirEnum("asc");

        /**
         * Enum DESC for value: "desc"
         */
        public static final SortDirEnum DESC = new SortDirEnum("desc");

        private static final Map STATIC_FIELDS = createStaticFields();

        private static Map createStaticFields() {
            Map map = new HashMap<>();
            map.put("asc", ASC);
            map.put("desc", DESC);
            return Collections.unmodifiableMap(map);
        }

        private String value;

        SortDirEnum(String value) {
            this.value = value;
        }

        @JsonValue
        public String getValue() {
            return value;
        }

        @Override
        public String toString() {
            return String.valueOf(value);
        }

        @JsonCreator
        public static SortDirEnum fromValue(String value) {
            if (value == null) {
                return null;
            }
            return java.util.Optional.ofNullable(STATIC_FIELDS.get(value)).orElse(new SortDirEnum(value));
        }

        public static SortDirEnum valueOf(String value) {
            if (value == null) {
                return null;
            }
            return java.util.Optional.ofNullable(STATIC_FIELDS.get(value))
                .orElseThrow(() -> new IllegalArgumentException("Unexpected value '" + value + "'"));
        }

        @Override
        public boolean equals(Object obj) {
            if (obj instanceof SortDirEnum) {
                return this.value.equals(((SortDirEnum) obj).value);
            }
            return false;
        }

        @Override
        public int hashCode() {
            return this.value.hashCode();
        }
    }

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "sort_dir")

    private List sortDir = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "id")

    private List id = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "internet_bandwidth_id")

    private List internetBandwidthId = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "name")

    private List name = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "name_like")

    private String nameLike;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "access_site")

    private List accessSite = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "geip_pool_name")

    private List geipPoolName = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "isp")

    private List isp = null;

    /**
     * Gets or Sets ipVersion
     */
    public static final class IpVersionEnum {

        /**
         * Enum NUMBER_4 for value: 4
         */
        public static final IpVersionEnum NUMBER_4 = new IpVersionEnum(4);

        /**
         * Enum NUMBER_6 for value: 6
         */
        public static final IpVersionEnum NUMBER_6 = new IpVersionEnum(6);

        private static final Map STATIC_FIELDS = createStaticFields();

        private static Map createStaticFields() {
            Map map = new HashMap<>();
            map.put(4, NUMBER_4);
            map.put(6, NUMBER_6);
            return Collections.unmodifiableMap(map);
        }

        private Integer value;

        IpVersionEnum(Integer value) {
            this.value = value;
        }

        @JsonValue
        public Integer getValue() {
            return value;
        }

        @Override
        public String toString() {
            return String.valueOf(value);
        }

        @JsonCreator
        public static IpVersionEnum fromValue(Integer value) {
            if (value == null) {
                return null;
            }
            return java.util.Optional.ofNullable(STATIC_FIELDS.get(value)).orElse(new IpVersionEnum(value));
        }

        public static IpVersionEnum valueOf(Integer value) {
            if (value == null) {
                return null;
            }
            return java.util.Optional.ofNullable(STATIC_FIELDS.get(value))
                .orElseThrow(() -> new IllegalArgumentException("Unexpected value '" + value + "'"));
        }

        @Override
        public boolean equals(Object obj) {
            if (obj instanceof IpVersionEnum) {
                return this.value.equals(((IpVersionEnum) obj).value);
            }
            return false;
        }

        @Override
        public int hashCode() {
            return this.value.hashCode();
        }
    }

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "ip_version")

    private List ipVersion = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "ip_address")

    private List ipAddress = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "ipv6_address")

    private List ipv6Address = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "freezen")

    private List freezen = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "polluted")

    private List polluted = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "internet_bandwidth_is_null")

    private List internetBandwidthIsNull = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "gcb_bandwidth_is_null")

    private List gcbBandwidthIsNull = null;

    /**
     * Gets or Sets status
     */
    public static final class StatusEnum {

        /**
         * Enum IDLE for value: "idle"
         */
        public static final StatusEnum IDLE = new StatusEnum("idle");

        /**
         * Enum INUSE for value: "inuse"
         */
        public static final StatusEnum INUSE = new StatusEnum("inuse");

        /**
         * Enum PENDING_CREATE for value: "pending_create"
         */
        public static final StatusEnum PENDING_CREATE = new StatusEnum("pending_create");

        /**
         * Enum PENDING_UPDATE for value: "pending_update"
         */
        public static final StatusEnum PENDING_UPDATE = new StatusEnum("pending_update");

        private static final Map STATIC_FIELDS = createStaticFields();

        private static Map createStaticFields() {
            Map map = new HashMap<>();
            map.put("idle", IDLE);
            map.put("inuse", INUSE);
            map.put("pending_create", PENDING_CREATE);
            map.put("pending_update", PENDING_UPDATE);
            return Collections.unmodifiableMap(map);
        }

        private String value;

        StatusEnum(String value) {
            this.value = value;
        }

        @JsonValue
        public String getValue() {
            return value;
        }

        @Override
        public String toString() {
            return String.valueOf(value);
        }

        @JsonCreator
        public static StatusEnum fromValue(String value) {
            if (value == null) {
                return null;
            }
            return java.util.Optional.ofNullable(STATIC_FIELDS.get(value)).orElse(new StatusEnum(value));
        }

        public static StatusEnum valueOf(String value) {
            if (value == null) {
                return null;
            }
            return java.util.Optional.ofNullable(STATIC_FIELDS.get(value))
                .orElseThrow(() -> new IllegalArgumentException("Unexpected value '" + value + "'"));
        }

        @Override
        public boolean equals(Object obj) {
            if (obj instanceof StatusEnum) {
                return this.value.equals(((StatusEnum) obj).value);
            }
            return false;
        }

        @Override
        public int hashCode() {
            return this.value.hashCode();
        }
    }

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "status")

    private List status = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "associate_instance_info.region")

    private List associateInstanceInfoRegion = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "associate_instance_info.instance_type")

    private List associateInstanceInfoInstanceType = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "associate_instance_info.public_border_group")

    private List associateInstanceInfoPublicBorderGroup = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "associate_instance_info.instance_site")

    private List associateInstanceInfoInstanceSite = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "associate_instance_info.instance_id")

    private List associateInstanceInfoInstanceId = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "associate_instance_info.project_id")

    private List associateInstanceInfoProjectId = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "associate_instance_info.service_id")

    private List associateInstanceInfoServiceId = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "associate_instance_info.service_type")

    private List associateInstanceInfoServiceType = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "enterprise_project_id")

    private List enterpriseProjectId = null;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "tags")

    private List tags = null;

    public ListGlobalEipsRequest withLimit(Integer limit) {
        this.limit = limit;
        return this;
    }

    /**
     * 每页条数
     * minimum: 0
     * maximum: 2000
     * @return limit
     */
    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public ListGlobalEipsRequest withOffset(Integer offset) {
        this.offset = offset;
        return this;
    }

    /**
     * 分页起始点
     * @return offset
     */
    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public ListGlobalEipsRequest withMarker(String marker) {
        this.marker = marker;
        return this;
    }

    /**
     * 分页起始点
     * @return marker
     */
    public String getMarker() {
        return marker;
    }

    public void setMarker(String marker) {
        this.marker = marker;
    }

    public ListGlobalEipsRequest withPageReverse(Boolean pageReverse) {
        this.pageReverse = pageReverse;
        return this;
    }

    /**
     * 翻页方向
     * @return pageReverse
     */
    public Boolean getPageReverse() {
        return pageReverse;
    }

    public void setPageReverse(Boolean pageReverse) {
        this.pageReverse = pageReverse;
    }

    public ListGlobalEipsRequest withFields(List fields) {
        this.fields = fields;
        return this;
    }

    public ListGlobalEipsRequest addFieldsItem(FieldsEnum fieldsItem) {
        if (this.fields == null) {
            this.fields = new ArrayList<>();
        }
        this.fields.add(fieldsItem);
        return this;
    }

    public ListGlobalEipsRequest withFields(Consumer> fieldsSetter) {
        if (this.fields == null) {
            this.fields = new ArrayList<>();
        }
        fieldsSetter.accept(this.fields);
        return this;
    }

    /**
     * Get fields
     * @return fields
     */
    public List getFields() {
        return fields;
    }

    public void setFields(List fields) {
        this.fields = fields;
    }

    public ListGlobalEipsRequest withSortKey(List sortKey) {
        this.sortKey = sortKey;
        return this;
    }

    public ListGlobalEipsRequest addSortKeyItem(SortKeyEnum sortKeyItem) {
        if (this.sortKey == null) {
            this.sortKey = new ArrayList<>();
        }
        this.sortKey.add(sortKeyItem);
        return this;
    }

    public ListGlobalEipsRequest withSortKey(Consumer> sortKeySetter) {
        if (this.sortKey == null) {
            this.sortKey = new ArrayList<>();
        }
        sortKeySetter.accept(this.sortKey);
        return this;
    }

    /**
     * 按照sort_key指定的字段排序
     * @return sortKey
     */
    public List getSortKey() {
        return sortKey;
    }

    public void setSortKey(List sortKey) {
        this.sortKey = sortKey;
    }

    public ListGlobalEipsRequest withSortDir(List sortDir) {
        this.sortDir = sortDir;
        return this;
    }

    public ListGlobalEipsRequest addSortDirItem(SortDirEnum sortDirItem) {
        if (this.sortDir == null) {
            this.sortDir = new ArrayList<>();
        }
        this.sortDir.add(sortDirItem);
        return this;
    }

    public ListGlobalEipsRequest withSortDir(Consumer> sortDirSetter) {
        if (this.sortDir == null) {
            this.sortDir = new ArrayList<>();
        }
        sortDirSetter.accept(this.sortDir);
        return this;
    }

    /**
     * 排序的方向,倒序或者正序
     * @return sortDir
     */
    public List getSortDir() {
        return sortDir;
    }

    public void setSortDir(List sortDir) {
        this.sortDir = sortDir;
    }

    public ListGlobalEipsRequest withId(List id) {
        this.id = id;
        return this;
    }

    public ListGlobalEipsRequest addIdItem(String idItem) {
        if (this.id == null) {
            this.id = new ArrayList<>();
        }
        this.id.add(idItem);
        return this;
    }

    public ListGlobalEipsRequest withId(Consumer> idSetter) {
        if (this.id == null) {
            this.id = new ArrayList<>();
        }
        idSetter.accept(this.id);
        return this;
    }

    /**
     * Get id
     * @return id
     */
    public List getId() {
        return id;
    }

    public void setId(List id) {
        this.id = id;
    }

    public ListGlobalEipsRequest withInternetBandwidthId(List internetBandwidthId) {
        this.internetBandwidthId = internetBandwidthId;
        return this;
    }

    public ListGlobalEipsRequest addInternetBandwidthIdItem(String internetBandwidthIdItem) {
        if (this.internetBandwidthId == null) {
            this.internetBandwidthId = new ArrayList<>();
        }
        this.internetBandwidthId.add(internetBandwidthIdItem);
        return this;
    }

    public ListGlobalEipsRequest withInternetBandwidthId(Consumer> internetBandwidthIdSetter) {
        if (this.internetBandwidthId == null) {
            this.internetBandwidthId = new ArrayList<>();
        }
        internetBandwidthIdSetter.accept(this.internetBandwidthId);
        return this;
    }

    /**
     * Get internetBandwidthId
     * @return internetBandwidthId
     */
    public List getInternetBandwidthId() {
        return internetBandwidthId;
    }

    public void setInternetBandwidthId(List internetBandwidthId) {
        this.internetBandwidthId = internetBandwidthId;
    }

    public ListGlobalEipsRequest withName(List name) {
        this.name = name;
        return this;
    }

    public ListGlobalEipsRequest addNameItem(String nameItem) {
        if (this.name == null) {
            this.name = new ArrayList<>();
        }
        this.name.add(nameItem);
        return this;
    }

    public ListGlobalEipsRequest withName(Consumer> nameSetter) {
        if (this.name == null) {
            this.name = new ArrayList<>();
        }
        nameSetter.accept(this.name);
        return this;
    }

    /**
     * Get name
     * @return name
     */
    public List getName() {
        return name;
    }

    public void setName(List name) {
        this.name = name;
    }

    public ListGlobalEipsRequest withNameLike(String nameLike) {
        this.nameLike = nameLike;
        return this;
    }

    /**
     * Get nameLike
     * @return nameLike
     */
    public String getNameLike() {
        return nameLike;
    }

    public void setNameLike(String nameLike) {
        this.nameLike = nameLike;
    }

    public ListGlobalEipsRequest withAccessSite(List accessSite) {
        this.accessSite = accessSite;
        return this;
    }

    public ListGlobalEipsRequest addAccessSiteItem(String accessSiteItem) {
        if (this.accessSite == null) {
            this.accessSite = new ArrayList<>();
        }
        this.accessSite.add(accessSiteItem);
        return this;
    }

    public ListGlobalEipsRequest withAccessSite(Consumer> accessSiteSetter) {
        if (this.accessSite == null) {
            this.accessSite = new ArrayList<>();
        }
        accessSiteSetter.accept(this.accessSite);
        return this;
    }

    /**
     * Get accessSite
     * @return accessSite
     */
    public List getAccessSite() {
        return accessSite;
    }

    public void setAccessSite(List accessSite) {
        this.accessSite = accessSite;
    }

    public ListGlobalEipsRequest withGeipPoolName(List geipPoolName) {
        this.geipPoolName = geipPoolName;
        return this;
    }

    public ListGlobalEipsRequest addGeipPoolNameItem(String geipPoolNameItem) {
        if (this.geipPoolName == null) {
            this.geipPoolName = new ArrayList<>();
        }
        this.geipPoolName.add(geipPoolNameItem);
        return this;
    }

    public ListGlobalEipsRequest withGeipPoolName(Consumer> geipPoolNameSetter) {
        if (this.geipPoolName == null) {
            this.geipPoolName = new ArrayList<>();
        }
        geipPoolNameSetter.accept(this.geipPoolName);
        return this;
    }

    /**
     * Get geipPoolName
     * @return geipPoolName
     */
    public List getGeipPoolName() {
        return geipPoolName;
    }

    public void setGeipPoolName(List geipPoolName) {
        this.geipPoolName = geipPoolName;
    }

    public ListGlobalEipsRequest withIsp(List isp) {
        this.isp = isp;
        return this;
    }

    public ListGlobalEipsRequest addIspItem(String ispItem) {
        if (this.isp == null) {
            this.isp = new ArrayList<>();
        }
        this.isp.add(ispItem);
        return this;
    }

    public ListGlobalEipsRequest withIsp(Consumer> ispSetter) {
        if (this.isp == null) {
            this.isp = new ArrayList<>();
        }
        ispSetter.accept(this.isp);
        return this;
    }

    /**
     * Get isp
     * @return isp
     */
    public List getIsp() {
        return isp;
    }

    public void setIsp(List isp) {
        this.isp = isp;
    }

    public ListGlobalEipsRequest withIpVersion(List ipVersion) {
        this.ipVersion = ipVersion;
        return this;
    }

    public ListGlobalEipsRequest addIpVersionItem(IpVersionEnum ipVersionItem) {
        if (this.ipVersion == null) {
            this.ipVersion = new ArrayList<>();
        }
        this.ipVersion.add(ipVersionItem);
        return this;
    }

    public ListGlobalEipsRequest withIpVersion(Consumer> ipVersionSetter) {
        if (this.ipVersion == null) {
            this.ipVersion = new ArrayList<>();
        }
        ipVersionSetter.accept(this.ipVersion);
        return this;
    }

    /**
     * Get ipVersion
     * @return ipVersion
     */
    public List getIpVersion() {
        return ipVersion;
    }

    public void setIpVersion(List ipVersion) {
        this.ipVersion = ipVersion;
    }

    public ListGlobalEipsRequest withIpAddress(List ipAddress) {
        this.ipAddress = ipAddress;
        return this;
    }

    public ListGlobalEipsRequest addIpAddressItem(String ipAddressItem) {
        if (this.ipAddress == null) {
            this.ipAddress = new ArrayList<>();
        }
        this.ipAddress.add(ipAddressItem);
        return this;
    }

    public ListGlobalEipsRequest withIpAddress(Consumer> ipAddressSetter) {
        if (this.ipAddress == null) {
            this.ipAddress = new ArrayList<>();
        }
        ipAddressSetter.accept(this.ipAddress);
        return this;
    }

    /**
     * Get ipAddress
     * @return ipAddress
     */
    public List getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(List ipAddress) {
        this.ipAddress = ipAddress;
    }

    public ListGlobalEipsRequest withIpv6Address(List ipv6Address) {
        this.ipv6Address = ipv6Address;
        return this;
    }

    public ListGlobalEipsRequest addIpv6AddressItem(String ipv6AddressItem) {
        if (this.ipv6Address == null) {
            this.ipv6Address = new ArrayList<>();
        }
        this.ipv6Address.add(ipv6AddressItem);
        return this;
    }

    public ListGlobalEipsRequest withIpv6Address(Consumer> ipv6AddressSetter) {
        if (this.ipv6Address == null) {
            this.ipv6Address = new ArrayList<>();
        }
        ipv6AddressSetter.accept(this.ipv6Address);
        return this;
    }

    /**
     * Get ipv6Address
     * @return ipv6Address
     */
    public List getIpv6Address() {
        return ipv6Address;
    }

    public void setIpv6Address(List ipv6Address) {
        this.ipv6Address = ipv6Address;
    }

    public ListGlobalEipsRequest withFreezen(List freezen) {
        this.freezen = freezen;
        return this;
    }

    public ListGlobalEipsRequest addFreezenItem(Boolean freezenItem) {
        if (this.freezen == null) {
            this.freezen = new ArrayList<>();
        }
        this.freezen.add(freezenItem);
        return this;
    }

    public ListGlobalEipsRequest withFreezen(Consumer> freezenSetter) {
        if (this.freezen == null) {
            this.freezen = new ArrayList<>();
        }
        freezenSetter.accept(this.freezen);
        return this;
    }

    /**
     * Get freezen
     * @return freezen
     */
    public List getFreezen() {
        return freezen;
    }

    public void setFreezen(List freezen) {
        this.freezen = freezen;
    }

    public ListGlobalEipsRequest withPolluted(List polluted) {
        this.polluted = polluted;
        return this;
    }

    public ListGlobalEipsRequest addPollutedItem(Boolean pollutedItem) {
        if (this.polluted == null) {
            this.polluted = new ArrayList<>();
        }
        this.polluted.add(pollutedItem);
        return this;
    }

    public ListGlobalEipsRequest withPolluted(Consumer> pollutedSetter) {
        if (this.polluted == null) {
            this.polluted = new ArrayList<>();
        }
        pollutedSetter.accept(this.polluted);
        return this;
    }

    /**
     * Get polluted
     * @return polluted
     */
    public List getPolluted() {
        return polluted;
    }

    public void setPolluted(List polluted) {
        this.polluted = polluted;
    }

    public ListGlobalEipsRequest withInternetBandwidthIsNull(List internetBandwidthIsNull) {
        this.internetBandwidthIsNull = internetBandwidthIsNull;
        return this;
    }

    public ListGlobalEipsRequest addInternetBandwidthIsNullItem(Boolean internetBandwidthIsNullItem) {
        if (this.internetBandwidthIsNull == null) {
            this.internetBandwidthIsNull = new ArrayList<>();
        }
        this.internetBandwidthIsNull.add(internetBandwidthIsNullItem);
        return this;
    }

    public ListGlobalEipsRequest withInternetBandwidthIsNull(Consumer> internetBandwidthIsNullSetter) {
        if (this.internetBandwidthIsNull == null) {
            this.internetBandwidthIsNull = new ArrayList<>();
        }
        internetBandwidthIsNullSetter.accept(this.internetBandwidthIsNull);
        return this;
    }

    /**
     * Get internetBandwidthIsNull
     * @return internetBandwidthIsNull
     */
    public List getInternetBandwidthIsNull() {
        return internetBandwidthIsNull;
    }

    public void setInternetBandwidthIsNull(List internetBandwidthIsNull) {
        this.internetBandwidthIsNull = internetBandwidthIsNull;
    }

    public ListGlobalEipsRequest withGcbBandwidthIsNull(List gcbBandwidthIsNull) {
        this.gcbBandwidthIsNull = gcbBandwidthIsNull;
        return this;
    }

    public ListGlobalEipsRequest addGcbBandwidthIsNullItem(Boolean gcbBandwidthIsNullItem) {
        if (this.gcbBandwidthIsNull == null) {
            this.gcbBandwidthIsNull = new ArrayList<>();
        }
        this.gcbBandwidthIsNull.add(gcbBandwidthIsNullItem);
        return this;
    }

    public ListGlobalEipsRequest withGcbBandwidthIsNull(Consumer> gcbBandwidthIsNullSetter) {
        if (this.gcbBandwidthIsNull == null) {
            this.gcbBandwidthIsNull = new ArrayList<>();
        }
        gcbBandwidthIsNullSetter.accept(this.gcbBandwidthIsNull);
        return this;
    }

    /**
     * Get gcbBandwidthIsNull
     * @return gcbBandwidthIsNull
     */
    public List getGcbBandwidthIsNull() {
        return gcbBandwidthIsNull;
    }

    public void setGcbBandwidthIsNull(List gcbBandwidthIsNull) {
        this.gcbBandwidthIsNull = gcbBandwidthIsNull;
    }

    public ListGlobalEipsRequest withStatus(List status) {
        this.status = status;
        return this;
    }

    public ListGlobalEipsRequest addStatusItem(StatusEnum statusItem) {
        if (this.status == null) {
            this.status = new ArrayList<>();
        }
        this.status.add(statusItem);
        return this;
    }

    public ListGlobalEipsRequest withStatus(Consumer> statusSetter) {
        if (this.status == null) {
            this.status = new ArrayList<>();
        }
        statusSetter.accept(this.status);
        return this;
    }

    /**
     * Get status
     * @return status
     */
    public List getStatus() {
        return status;
    }

    public void setStatus(List status) {
        this.status = status;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoRegion(List associateInstanceInfoRegion) {
        this.associateInstanceInfoRegion = associateInstanceInfoRegion;
        return this;
    }

    public ListGlobalEipsRequest addAssociateInstanceInfoRegionItem(String associateInstanceInfoRegionItem) {
        if (this.associateInstanceInfoRegion == null) {
            this.associateInstanceInfoRegion = new ArrayList<>();
        }
        this.associateInstanceInfoRegion.add(associateInstanceInfoRegionItem);
        return this;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoRegion(
        Consumer> associateInstanceInfoRegionSetter) {
        if (this.associateInstanceInfoRegion == null) {
            this.associateInstanceInfoRegion = new ArrayList<>();
        }
        associateInstanceInfoRegionSetter.accept(this.associateInstanceInfoRegion);
        return this;
    }

    /**
     * Get associateInstanceInfoRegion
     * @return associateInstanceInfoRegion
     */
    public List getAssociateInstanceInfoRegion() {
        return associateInstanceInfoRegion;
    }

    public void setAssociateInstanceInfoRegion(List associateInstanceInfoRegion) {
        this.associateInstanceInfoRegion = associateInstanceInfoRegion;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoInstanceType(List associateInstanceInfoInstanceType) {
        this.associateInstanceInfoInstanceType = associateInstanceInfoInstanceType;
        return this;
    }

    public ListGlobalEipsRequest addAssociateInstanceInfoInstanceTypeItem(
        String associateInstanceInfoInstanceTypeItem) {
        if (this.associateInstanceInfoInstanceType == null) {
            this.associateInstanceInfoInstanceType = new ArrayList<>();
        }
        this.associateInstanceInfoInstanceType.add(associateInstanceInfoInstanceTypeItem);
        return this;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoInstanceType(
        Consumer> associateInstanceInfoInstanceTypeSetter) {
        if (this.associateInstanceInfoInstanceType == null) {
            this.associateInstanceInfoInstanceType = new ArrayList<>();
        }
        associateInstanceInfoInstanceTypeSetter.accept(this.associateInstanceInfoInstanceType);
        return this;
    }

    /**
     * Get associateInstanceInfoInstanceType
     * @return associateInstanceInfoInstanceType
     */
    public List getAssociateInstanceInfoInstanceType() {
        return associateInstanceInfoInstanceType;
    }

    public void setAssociateInstanceInfoInstanceType(List associateInstanceInfoInstanceType) {
        this.associateInstanceInfoInstanceType = associateInstanceInfoInstanceType;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoPublicBorderGroup(
        List associateInstanceInfoPublicBorderGroup) {
        this.associateInstanceInfoPublicBorderGroup = associateInstanceInfoPublicBorderGroup;
        return this;
    }

    public ListGlobalEipsRequest addAssociateInstanceInfoPublicBorderGroupItem(
        String associateInstanceInfoPublicBorderGroupItem) {
        if (this.associateInstanceInfoPublicBorderGroup == null) {
            this.associateInstanceInfoPublicBorderGroup = new ArrayList<>();
        }
        this.associateInstanceInfoPublicBorderGroup.add(associateInstanceInfoPublicBorderGroupItem);
        return this;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoPublicBorderGroup(
        Consumer> associateInstanceInfoPublicBorderGroupSetter) {
        if (this.associateInstanceInfoPublicBorderGroup == null) {
            this.associateInstanceInfoPublicBorderGroup = new ArrayList<>();
        }
        associateInstanceInfoPublicBorderGroupSetter.accept(this.associateInstanceInfoPublicBorderGroup);
        return this;
    }

    /**
     * Get associateInstanceInfoPublicBorderGroup
     * @return associateInstanceInfoPublicBorderGroup
     */
    public List getAssociateInstanceInfoPublicBorderGroup() {
        return associateInstanceInfoPublicBorderGroup;
    }

    public void setAssociateInstanceInfoPublicBorderGroup(List associateInstanceInfoPublicBorderGroup) {
        this.associateInstanceInfoPublicBorderGroup = associateInstanceInfoPublicBorderGroup;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoInstanceSite(List associateInstanceInfoInstanceSite) {
        this.associateInstanceInfoInstanceSite = associateInstanceInfoInstanceSite;
        return this;
    }

    public ListGlobalEipsRequest addAssociateInstanceInfoInstanceSiteItem(
        String associateInstanceInfoInstanceSiteItem) {
        if (this.associateInstanceInfoInstanceSite == null) {
            this.associateInstanceInfoInstanceSite = new ArrayList<>();
        }
        this.associateInstanceInfoInstanceSite.add(associateInstanceInfoInstanceSiteItem);
        return this;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoInstanceSite(
        Consumer> associateInstanceInfoInstanceSiteSetter) {
        if (this.associateInstanceInfoInstanceSite == null) {
            this.associateInstanceInfoInstanceSite = new ArrayList<>();
        }
        associateInstanceInfoInstanceSiteSetter.accept(this.associateInstanceInfoInstanceSite);
        return this;
    }

    /**
     * Get associateInstanceInfoInstanceSite
     * @return associateInstanceInfoInstanceSite
     */
    public List getAssociateInstanceInfoInstanceSite() {
        return associateInstanceInfoInstanceSite;
    }

    public void setAssociateInstanceInfoInstanceSite(List associateInstanceInfoInstanceSite) {
        this.associateInstanceInfoInstanceSite = associateInstanceInfoInstanceSite;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoInstanceId(List associateInstanceInfoInstanceId) {
        this.associateInstanceInfoInstanceId = associateInstanceInfoInstanceId;
        return this;
    }

    public ListGlobalEipsRequest addAssociateInstanceInfoInstanceIdItem(String associateInstanceInfoInstanceIdItem) {
        if (this.associateInstanceInfoInstanceId == null) {
            this.associateInstanceInfoInstanceId = new ArrayList<>();
        }
        this.associateInstanceInfoInstanceId.add(associateInstanceInfoInstanceIdItem);
        return this;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoInstanceId(
        Consumer> associateInstanceInfoInstanceIdSetter) {
        if (this.associateInstanceInfoInstanceId == null) {
            this.associateInstanceInfoInstanceId = new ArrayList<>();
        }
        associateInstanceInfoInstanceIdSetter.accept(this.associateInstanceInfoInstanceId);
        return this;
    }

    /**
     * Get associateInstanceInfoInstanceId
     * @return associateInstanceInfoInstanceId
     */
    public List getAssociateInstanceInfoInstanceId() {
        return associateInstanceInfoInstanceId;
    }

    public void setAssociateInstanceInfoInstanceId(List associateInstanceInfoInstanceId) {
        this.associateInstanceInfoInstanceId = associateInstanceInfoInstanceId;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoProjectId(List associateInstanceInfoProjectId) {
        this.associateInstanceInfoProjectId = associateInstanceInfoProjectId;
        return this;
    }

    public ListGlobalEipsRequest addAssociateInstanceInfoProjectIdItem(String associateInstanceInfoProjectIdItem) {
        if (this.associateInstanceInfoProjectId == null) {
            this.associateInstanceInfoProjectId = new ArrayList<>();
        }
        this.associateInstanceInfoProjectId.add(associateInstanceInfoProjectIdItem);
        return this;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoProjectId(
        Consumer> associateInstanceInfoProjectIdSetter) {
        if (this.associateInstanceInfoProjectId == null) {
            this.associateInstanceInfoProjectId = new ArrayList<>();
        }
        associateInstanceInfoProjectIdSetter.accept(this.associateInstanceInfoProjectId);
        return this;
    }

    /**
     * Get associateInstanceInfoProjectId
     * @return associateInstanceInfoProjectId
     */
    public List getAssociateInstanceInfoProjectId() {
        return associateInstanceInfoProjectId;
    }

    public void setAssociateInstanceInfoProjectId(List associateInstanceInfoProjectId) {
        this.associateInstanceInfoProjectId = associateInstanceInfoProjectId;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoServiceId(List associateInstanceInfoServiceId) {
        this.associateInstanceInfoServiceId = associateInstanceInfoServiceId;
        return this;
    }

    public ListGlobalEipsRequest addAssociateInstanceInfoServiceIdItem(String associateInstanceInfoServiceIdItem) {
        if (this.associateInstanceInfoServiceId == null) {
            this.associateInstanceInfoServiceId = new ArrayList<>();
        }
        this.associateInstanceInfoServiceId.add(associateInstanceInfoServiceIdItem);
        return this;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoServiceId(
        Consumer> associateInstanceInfoServiceIdSetter) {
        if (this.associateInstanceInfoServiceId == null) {
            this.associateInstanceInfoServiceId = new ArrayList<>();
        }
        associateInstanceInfoServiceIdSetter.accept(this.associateInstanceInfoServiceId);
        return this;
    }

    /**
     * Get associateInstanceInfoServiceId
     * @return associateInstanceInfoServiceId
     */
    public List getAssociateInstanceInfoServiceId() {
        return associateInstanceInfoServiceId;
    }

    public void setAssociateInstanceInfoServiceId(List associateInstanceInfoServiceId) {
        this.associateInstanceInfoServiceId = associateInstanceInfoServiceId;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoServiceType(List associateInstanceInfoServiceType) {
        this.associateInstanceInfoServiceType = associateInstanceInfoServiceType;
        return this;
    }

    public ListGlobalEipsRequest addAssociateInstanceInfoServiceTypeItem(String associateInstanceInfoServiceTypeItem) {
        if (this.associateInstanceInfoServiceType == null) {
            this.associateInstanceInfoServiceType = new ArrayList<>();
        }
        this.associateInstanceInfoServiceType.add(associateInstanceInfoServiceTypeItem);
        return this;
    }

    public ListGlobalEipsRequest withAssociateInstanceInfoServiceType(
        Consumer> associateInstanceInfoServiceTypeSetter) {
        if (this.associateInstanceInfoServiceType == null) {
            this.associateInstanceInfoServiceType = new ArrayList<>();
        }
        associateInstanceInfoServiceTypeSetter.accept(this.associateInstanceInfoServiceType);
        return this;
    }

    /**
     * Get associateInstanceInfoServiceType
     * @return associateInstanceInfoServiceType
     */
    public List getAssociateInstanceInfoServiceType() {
        return associateInstanceInfoServiceType;
    }

    public void setAssociateInstanceInfoServiceType(List associateInstanceInfoServiceType) {
        this.associateInstanceInfoServiceType = associateInstanceInfoServiceType;
    }

    public ListGlobalEipsRequest withEnterpriseProjectId(List enterpriseProjectId) {
        this.enterpriseProjectId = enterpriseProjectId;
        return this;
    }

    public ListGlobalEipsRequest addEnterpriseProjectIdItem(String enterpriseProjectIdItem) {
        if (this.enterpriseProjectId == null) {
            this.enterpriseProjectId = new ArrayList<>();
        }
        this.enterpriseProjectId.add(enterpriseProjectIdItem);
        return this;
    }

    public ListGlobalEipsRequest withEnterpriseProjectId(Consumer> enterpriseProjectIdSetter) {
        if (this.enterpriseProjectId == null) {
            this.enterpriseProjectId = new ArrayList<>();
        }
        enterpriseProjectIdSetter.accept(this.enterpriseProjectId);
        return this;
    }

    /**
     * Get enterpriseProjectId
     * @return enterpriseProjectId
     */
    public List getEnterpriseProjectId() {
        return enterpriseProjectId;
    }

    public void setEnterpriseProjectId(List enterpriseProjectId) {
        this.enterpriseProjectId = enterpriseProjectId;
    }

    public ListGlobalEipsRequest withTags(List tags) {
        this.tags = tags;
        return this;
    }

    public ListGlobalEipsRequest addTagsItem(String tagsItem) {
        if (this.tags == null) {
            this.tags = new ArrayList<>();
        }
        this.tags.add(tagsItem);
        return this;
    }

    public ListGlobalEipsRequest withTags(Consumer> tagsSetter) {
        if (this.tags == null) {
            this.tags = new ArrayList<>();
        }
        tagsSetter.accept(this.tags);
        return this;
    }

    /**
     * Get tags
     * @return tags
     */
    public List getTags() {
        return tags;
    }

    public void setTags(List tags) {
        this.tags = tags;
    }

    @Override
    public boolean equals(java.lang.Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        ListGlobalEipsRequest that = (ListGlobalEipsRequest) obj;
        return Objects.equals(this.limit, that.limit) && Objects.equals(this.offset, that.offset)
            && Objects.equals(this.marker, that.marker) && Objects.equals(this.pageReverse, that.pageReverse)
            && Objects.equals(this.fields, that.fields) && Objects.equals(this.sortKey, that.sortKey)
            && Objects.equals(this.sortDir, that.sortDir) && Objects.equals(this.id, that.id)
            && Objects.equals(this.internetBandwidthId, that.internetBandwidthId)
            && Objects.equals(this.name, that.name) && Objects.equals(this.nameLike, that.nameLike)
            && Objects.equals(this.accessSite, that.accessSite) && Objects.equals(this.geipPoolName, that.geipPoolName)
            && Objects.equals(this.isp, that.isp) && Objects.equals(this.ipVersion, that.ipVersion)
            && Objects.equals(this.ipAddress, that.ipAddress) && Objects.equals(this.ipv6Address, that.ipv6Address)
            && Objects.equals(this.freezen, that.freezen) && Objects.equals(this.polluted, that.polluted)
            && Objects.equals(this.internetBandwidthIsNull, that.internetBandwidthIsNull)
            && Objects.equals(this.gcbBandwidthIsNull, that.gcbBandwidthIsNull)
            && Objects.equals(this.status, that.status)
            && Objects.equals(this.associateInstanceInfoRegion, that.associateInstanceInfoRegion)
            && Objects.equals(this.associateInstanceInfoInstanceType, that.associateInstanceInfoInstanceType)
            && Objects.equals(this.associateInstanceInfoPublicBorderGroup, that.associateInstanceInfoPublicBorderGroup)
            && Objects.equals(this.associateInstanceInfoInstanceSite, that.associateInstanceInfoInstanceSite)
            && Objects.equals(this.associateInstanceInfoInstanceId, that.associateInstanceInfoInstanceId)
            && Objects.equals(this.associateInstanceInfoProjectId, that.associateInstanceInfoProjectId)
            && Objects.equals(this.associateInstanceInfoServiceId, that.associateInstanceInfoServiceId)
            && Objects.equals(this.associateInstanceInfoServiceType, that.associateInstanceInfoServiceType)
            && Objects.equals(this.enterpriseProjectId, that.enterpriseProjectId)
            && Objects.equals(this.tags, that.tags);
    }

    @Override
    public int hashCode() {
        return Objects.hash(limit,
            offset,
            marker,
            pageReverse,
            fields,
            sortKey,
            sortDir,
            id,
            internetBandwidthId,
            name,
            nameLike,
            accessSite,
            geipPoolName,
            isp,
            ipVersion,
            ipAddress,
            ipv6Address,
            freezen,
            polluted,
            internetBandwidthIsNull,
            gcbBandwidthIsNull,
            status,
            associateInstanceInfoRegion,
            associateInstanceInfoInstanceType,
            associateInstanceInfoPublicBorderGroup,
            associateInstanceInfoInstanceSite,
            associateInstanceInfoInstanceId,
            associateInstanceInfoProjectId,
            associateInstanceInfoServiceId,
            associateInstanceInfoServiceType,
            enterpriseProjectId,
            tags);
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class ListGlobalEipsRequest {\n");
        sb.append("    limit: ").append(toIndentedString(limit)).append("\n");
        sb.append("    offset: ").append(toIndentedString(offset)).append("\n");
        sb.append("    marker: ").append(toIndentedString(marker)).append("\n");
        sb.append("    pageReverse: ").append(toIndentedString(pageReverse)).append("\n");
        sb.append("    fields: ").append(toIndentedString(fields)).append("\n");
        sb.append("    sortKey: ").append(toIndentedString(sortKey)).append("\n");
        sb.append("    sortDir: ").append(toIndentedString(sortDir)).append("\n");
        sb.append("    id: ").append(toIndentedString(id)).append("\n");
        sb.append("    internetBandwidthId: ").append(toIndentedString(internetBandwidthId)).append("\n");
        sb.append("    name: ").append(toIndentedString(name)).append("\n");
        sb.append("    nameLike: ").append(toIndentedString(nameLike)).append("\n");
        sb.append("    accessSite: ").append(toIndentedString(accessSite)).append("\n");
        sb.append("    geipPoolName: ").append(toIndentedString(geipPoolName)).append("\n");
        sb.append("    isp: ").append(toIndentedString(isp)).append("\n");
        sb.append("    ipVersion: ").append(toIndentedString(ipVersion)).append("\n");
        sb.append("    ipAddress: ").append(toIndentedString(ipAddress)).append("\n");
        sb.append("    ipv6Address: ").append(toIndentedString(ipv6Address)).append("\n");
        sb.append("    freezen: ").append(toIndentedString(freezen)).append("\n");
        sb.append("    polluted: ").append(toIndentedString(polluted)).append("\n");
        sb.append("    internetBandwidthIsNull: ").append(toIndentedString(internetBandwidthIsNull)).append("\n");
        sb.append("    gcbBandwidthIsNull: ").append(toIndentedString(gcbBandwidthIsNull)).append("\n");
        sb.append("    status: ").append(toIndentedString(status)).append("\n");
        sb.append("    associateInstanceInfoRegion: ")
            .append(toIndentedString(associateInstanceInfoRegion))
            .append("\n");
        sb.append("    associateInstanceInfoInstanceType: ")
            .append(toIndentedString(associateInstanceInfoInstanceType))
            .append("\n");
        sb.append("    associateInstanceInfoPublicBorderGroup: ")
            .append(toIndentedString(associateInstanceInfoPublicBorderGroup))
            .append("\n");
        sb.append("    associateInstanceInfoInstanceSite: ")
            .append(toIndentedString(associateInstanceInfoInstanceSite))
            .append("\n");
        sb.append("    associateInstanceInfoInstanceId: ")
            .append(toIndentedString(associateInstanceInfoInstanceId))
            .append("\n");
        sb.append("    associateInstanceInfoProjectId: ")
            .append(toIndentedString(associateInstanceInfoProjectId))
            .append("\n");
        sb.append("    associateInstanceInfoServiceId: ")
            .append(toIndentedString(associateInstanceInfoServiceId))
            .append("\n");
        sb.append("    associateInstanceInfoServiceType: ")
            .append(toIndentedString(associateInstanceInfoServiceType))
            .append("\n");
        sb.append("    enterpriseProjectId: ").append(toIndentedString(enterpriseProjectId)).append("\n");
        sb.append("    tags: ").append(toIndentedString(tags)).append("\n");
        sb.append("}");
        return sb.toString();
    }

    /**
     * Convert the given object to string with each line indented by 4 spaces
     * (except the first line).
     */
    private String toIndentedString(java.lang.Object o) {
        if (o == null) {
            return "null";
        }
        return o.toString().replace("\n", "\n    ");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy