com.tencentcloudapi.dasb.v20191018.models.BindDeviceResourceRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-dasb Show documentation
Show all versions of tencentcloud-sdk-java-dasb Show documentation
Tencent Cloud Open 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.dasb.v20191018.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 BindDeviceResourceRequest extends AbstractModel {
/**
* 资产ID集合
*/
@SerializedName("DeviceIdSet")
@Expose
private Long [] DeviceIdSet;
/**
* 堡垒机服务ID
*/
@SerializedName("ResourceId")
@Expose
private String ResourceId;
/**
* 网络域ID
*/
@SerializedName("DomainId")
@Expose
private String DomainId;
/**
* Get 资产ID集合
* @return DeviceIdSet 资产ID集合
*/
public Long [] getDeviceIdSet() {
return this.DeviceIdSet;
}
/**
* Set 资产ID集合
* @param DeviceIdSet 资产ID集合
*/
public void setDeviceIdSet(Long [] DeviceIdSet) {
this.DeviceIdSet = DeviceIdSet;
}
/**
* Get 堡垒机服务ID
* @return ResourceId 堡垒机服务ID
*/
public String getResourceId() {
return this.ResourceId;
}
/**
* Set 堡垒机服务ID
* @param ResourceId 堡垒机服务ID
*/
public void setResourceId(String ResourceId) {
this.ResourceId = ResourceId;
}
/**
* Get 网络域ID
* @return DomainId 网络域ID
*/
public String getDomainId() {
return this.DomainId;
}
/**
* Set 网络域ID
* @param DomainId 网络域ID
*/
public void setDomainId(String DomainId) {
this.DomainId = DomainId;
}
public BindDeviceResourceRequest() {
}
/**
* 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 BindDeviceResourceRequest(BindDeviceResourceRequest source) {
if (source.DeviceIdSet != null) {
this.DeviceIdSet = new Long[source.DeviceIdSet.length];
for (int i = 0; i < source.DeviceIdSet.length; i++) {
this.DeviceIdSet[i] = new Long(source.DeviceIdSet[i]);
}
}
if (source.ResourceId != null) {
this.ResourceId = new String(source.ResourceId);
}
if (source.DomainId != null) {
this.DomainId = new String(source.DomainId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamArraySimple(map, prefix + "DeviceIdSet.", this.DeviceIdSet);
this.setParamSimple(map, prefix + "ResourceId", this.ResourceId);
this.setParamSimple(map, prefix + "DomainId", this.DomainId);
}
}