![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.apigateway.v20180808.models.CreateServiceResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.apigateway.v20180808.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateServiceResponse extends AbstractModel {
/**
* Unique service ID.
*/
@SerializedName("ServiceId")
@Expose
private String ServiceId;
/**
* Custom service name.
*/
@SerializedName("ServiceName")
@Expose
private String ServiceName;
/**
* Custom service description.
*/
@SerializedName("ServiceDesc")
@Expose
private String ServiceDesc;
/**
* Default public domain name.
*/
@SerializedName("OuterSubDomain")
@Expose
private String OuterSubDomain;
/**
* Default VPC domain name.
*/
@SerializedName("InnerSubDomain")
@Expose
private String InnerSubDomain;
/**
* Service creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
*/
@SerializedName("CreatedTime")
@Expose
private String CreatedTime;
/**
* Network type list. INNER: private network access; OUTER: public network access.
*/
@SerializedName("NetTypes")
@Expose
private String [] NetTypes;
/**
* IP version number.
Note: this field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("IpVersion")
@Expose
private String IpVersion;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get Unique service ID.
* @return ServiceId Unique service ID.
*/
public String getServiceId() {
return this.ServiceId;
}
/**
* Set Unique service ID.
* @param ServiceId Unique service ID.
*/
public void setServiceId(String ServiceId) {
this.ServiceId = ServiceId;
}
/**
* Get Custom service name.
* @return ServiceName Custom service name.
*/
public String getServiceName() {
return this.ServiceName;
}
/**
* Set Custom service name.
* @param ServiceName Custom service name.
*/
public void setServiceName(String ServiceName) {
this.ServiceName = ServiceName;
}
/**
* Get Custom service description.
* @return ServiceDesc Custom service description.
*/
public String getServiceDesc() {
return this.ServiceDesc;
}
/**
* Set Custom service description.
* @param ServiceDesc Custom service description.
*/
public void setServiceDesc(String ServiceDesc) {
this.ServiceDesc = ServiceDesc;
}
/**
* Get Default public domain name.
* @return OuterSubDomain Default public domain name.
*/
public String getOuterSubDomain() {
return this.OuterSubDomain;
}
/**
* Set Default public domain name.
* @param OuterSubDomain Default public domain name.
*/
public void setOuterSubDomain(String OuterSubDomain) {
this.OuterSubDomain = OuterSubDomain;
}
/**
* Get Default VPC domain name.
* @return InnerSubDomain Default VPC domain name.
*/
public String getInnerSubDomain() {
return this.InnerSubDomain;
}
/**
* Set Default VPC domain name.
* @param InnerSubDomain Default VPC domain name.
*/
public void setInnerSubDomain(String InnerSubDomain) {
this.InnerSubDomain = InnerSubDomain;
}
/**
* Get Service creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
* @return CreatedTime Service creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
*/
public String getCreatedTime() {
return this.CreatedTime;
}
/**
* Set Service creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
* @param CreatedTime Service creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
*/
public void setCreatedTime(String CreatedTime) {
this.CreatedTime = CreatedTime;
}
/**
* Get Network type list. INNER: private network access; OUTER: public network access.
* @return NetTypes Network type list. INNER: private network access; OUTER: public network access.
*/
public String [] getNetTypes() {
return this.NetTypes;
}
/**
* Set Network type list. INNER: private network access; OUTER: public network access.
* @param NetTypes Network type list. INNER: private network access; OUTER: public network access.
*/
public void setNetTypes(String [] NetTypes) {
this.NetTypes = NetTypes;
}
/**
* Get IP version number.
Note: this field may return null, indicating that no valid values can be obtained.
* @return IpVersion IP version number.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public String getIpVersion() {
return this.IpVersion;
}
/**
* Set IP version number.
Note: this field may return null, indicating that no valid values can be obtained.
* @param IpVersion IP version number.
Note: this field may return null, indicating that no valid values can be obtained.
*/
public void setIpVersion(String IpVersion) {
this.IpVersion = IpVersion;
}
/**
* Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @return RequestId The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @param RequestId The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public CreateServiceResponse() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public CreateServiceResponse(CreateServiceResponse source) {
if (source.ServiceId != null) {
this.ServiceId = new String(source.ServiceId);
}
if (source.ServiceName != null) {
this.ServiceName = new String(source.ServiceName);
}
if (source.ServiceDesc != null) {
this.ServiceDesc = new String(source.ServiceDesc);
}
if (source.OuterSubDomain != null) {
this.OuterSubDomain = new String(source.OuterSubDomain);
}
if (source.InnerSubDomain != null) {
this.InnerSubDomain = new String(source.InnerSubDomain);
}
if (source.CreatedTime != null) {
this.CreatedTime = new String(source.CreatedTime);
}
if (source.NetTypes != null) {
this.NetTypes = new String[source.NetTypes.length];
for (int i = 0; i < source.NetTypes.length; i++) {
this.NetTypes[i] = new String(source.NetTypes[i]);
}
}
if (source.IpVersion != null) {
this.IpVersion = new String(source.IpVersion);
}
if (source.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ServiceId", this.ServiceId);
this.setParamSimple(map, prefix + "ServiceName", this.ServiceName);
this.setParamSimple(map, prefix + "ServiceDesc", this.ServiceDesc);
this.setParamSimple(map, prefix + "OuterSubDomain", this.OuterSubDomain);
this.setParamSimple(map, prefix + "InnerSubDomain", this.InnerSubDomain);
this.setParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.setParamArraySimple(map, prefix + "NetTypes.", this.NetTypes);
this.setParamSimple(map, prefix + "IpVersion", this.IpVersion);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy