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

com.aliyun.sdk.service.ens20171110.models.DescribeEnsNetDistrictRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeEnsNetDistrictRequest} extends {@link RequestModel}
 *
 * 

DescribeEnsNetDistrictRequest

*/ public class DescribeEnsNetDistrictRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetDistrictCode") private String netDistrictCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetLevelCode") @com.aliyun.core.annotation.Validation(required = true) private String netLevelCode; private DescribeEnsNetDistrictRequest(Builder builder) { super(builder); this.netDistrictCode = builder.netDistrictCode; this.netLevelCode = builder.netLevelCode; } public static Builder builder() { return new Builder(); } public static DescribeEnsNetDistrictRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return netDistrictCode */ public String getNetDistrictCode() { return this.netDistrictCode; } /** * @return netLevelCode */ public String getNetLevelCode() { return this.netLevelCode; } public static final class Builder extends Request.Builder { private String netDistrictCode; private String netLevelCode; private Builder() { super(); } private Builder(DescribeEnsNetDistrictRequest request) { super(request); this.netDistrictCode = request.netDistrictCode; this.netLevelCode = request.netLevelCode; } /** *

The code of the region.

*

If you do not specify this parameter, only nodes in the regions of the level that is specified by the NetLevelCode parameter are queried.

*

If you specify this parameter, only nodes in the regions of the level that is specified by this parameter are queried.

* * example: *

100106

*/ public Builder netDistrictCode(String netDistrictCode) { this.putQueryParameter("NetDistrictCode", netDistrictCode); this.netDistrictCode = netDistrictCode; return this; } /** *

The level of the region.

*
    *
  • Big: area
  • *
  • Middle: province
  • *
  • Small: city
  • *
*

This parameter is required.

* * example: *

Big

*/ public Builder netLevelCode(String netLevelCode) { this.putQueryParameter("NetLevelCode", netLevelCode); this.netLevelCode = netLevelCode; return this; } @Override public DescribeEnsNetDistrictRequest build() { return new DescribeEnsNetDistrictRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy