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

com.aliyun.eas20210701.models.ListGatewayResponseBody Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eas20210701.models;

import com.aliyun.tea.*;

public class ListGatewayResponseBody extends TeaModel {
    /**
     * 

The private gateways.

*/ @NameInMap("Gateways") public java.util.List gateways; /** *

The page number.

* * example: *

1

*/ @NameInMap("PageNumber") public Integer pageNumber; /** *

The number of entries per page.

* * example: *

100

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The request ID.

* * example: *

40325405-579C-4D82****

*/ @NameInMap("RequestId") public String requestId; /** *

The total number of private gateways returned.

* * example: *

5

*/ @NameInMap("TotalCount") public Long totalCount; public static ListGatewayResponseBody build(java.util.Map map) throws Exception { ListGatewayResponseBody self = new ListGatewayResponseBody(); return TeaModel.build(map, self); } public ListGatewayResponseBody setGateways(java.util.List gateways) { this.gateways = gateways; return this; } public java.util.List getGateways() { return this.gateways; } public ListGatewayResponseBody setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } public Integer getPageNumber() { return this.pageNumber; } public ListGatewayResponseBody setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public ListGatewayResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ListGatewayResponseBody setTotalCount(Long totalCount) { this.totalCount = totalCount; return this; } public Long getTotalCount() { return this.totalCount; } public static class ListGatewayResponseBodyGateways extends TeaModel { /** *

The billing method. Valid values:

*
    *
  • PrePaid: subscription.
  • *
  • PostPaid: pay-as-you-go.
  • *
* * example: *

PostPaid

*/ @NameInMap("ChargeType") public String chargeType; /** *

The time when the private gateway was created. The time is displayed in UTC.

* * example: *

2020-05-19T14:19:42Z

*/ @NameInMap("CreateTime") public String createTime; /** *

The private gateway ID.

* * example: *

gw-1uhcqmsc7x22******

*/ @NameInMap("GatewayId") public String gatewayId; /** *

The private gateway alias.

* * example: *

mygateway1

*/ @NameInMap("GatewayName") public String gatewayName; /** *

The type of instances used for the private gateway.

* * example: *

2c4g

*/ @NameInMap("InstanceType") public String instanceType; /** *

The public endpoint.

* * example: *

gw-1uhcqmsc7x22******-1801786532******.cn-wulanchabu.pai-eas.aliyuncs.com

*/ @NameInMap("InternetDomain") public String internetDomain; /** *

Indicates whether Internet access is enabled.

* * example: *

true

*/ @NameInMap("InternetEnabled") public Boolean internetEnabled; /** *

The internal endpoint.

* * example: *

gw-1uhcqmsc7x22******-1801786532******-vpc.cn-wulanchabu.pai-eas.aliyuncs.com

*/ @NameInMap("IntranetDomain") public String intranetDomain; /** *

Indicates whether it is the default private gateway.

* * example: *

true

*/ @NameInMap("IsDefault") public Boolean isDefault; /** *

The number of nodes in the private gateway.

* * example: *

2

*/ @NameInMap("Replicas") public Integer replicas; /** *

The state of the private gateway.

*

Valid values:

*
    *
  • Creating
  • *
  • Stopped
  • *
  • Failed
  • *
  • Running
  • *
  • Deleted
  • *
  • Deleting
  • *
  • Waiting
  • *
* * example: *

Running

*/ @NameInMap("Status") public String status; /** *

The time when the private gateway was updated. The time is displayed in UTC.

* * example: *

2021-02-24T11:52:17Z

*/ @NameInMap("UpdateTime") public String updateTime; public static ListGatewayResponseBodyGateways build(java.util.Map map) throws Exception { ListGatewayResponseBodyGateways self = new ListGatewayResponseBodyGateways(); return TeaModel.build(map, self); } public ListGatewayResponseBodyGateways setChargeType(String chargeType) { this.chargeType = chargeType; return this; } public String getChargeType() { return this.chargeType; } public ListGatewayResponseBodyGateways setCreateTime(String createTime) { this.createTime = createTime; return this; } public String getCreateTime() { return this.createTime; } public ListGatewayResponseBodyGateways setGatewayId(String gatewayId) { this.gatewayId = gatewayId; return this; } public String getGatewayId() { return this.gatewayId; } public ListGatewayResponseBodyGateways setGatewayName(String gatewayName) { this.gatewayName = gatewayName; return this; } public String getGatewayName() { return this.gatewayName; } public ListGatewayResponseBodyGateways setInstanceType(String instanceType) { this.instanceType = instanceType; return this; } public String getInstanceType() { return this.instanceType; } public ListGatewayResponseBodyGateways setInternetDomain(String internetDomain) { this.internetDomain = internetDomain; return this; } public String getInternetDomain() { return this.internetDomain; } public ListGatewayResponseBodyGateways setInternetEnabled(Boolean internetEnabled) { this.internetEnabled = internetEnabled; return this; } public Boolean getInternetEnabled() { return this.internetEnabled; } public ListGatewayResponseBodyGateways setIntranetDomain(String intranetDomain) { this.intranetDomain = intranetDomain; return this; } public String getIntranetDomain() { return this.intranetDomain; } public ListGatewayResponseBodyGateways setIsDefault(Boolean isDefault) { this.isDefault = isDefault; return this; } public Boolean getIsDefault() { return this.isDefault; } public ListGatewayResponseBodyGateways setReplicas(Integer replicas) { this.replicas = replicas; return this; } public Integer getReplicas() { return this.replicas; } public ListGatewayResponseBodyGateways setStatus(String status) { this.status = status; return this; } public String getStatus() { return this.status; } public ListGatewayResponseBodyGateways setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } public String getUpdateTime() { return this.updateTime; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy