com.antgroup.antchain.openapi.deps.models.UpdateMachinegroupRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-deps Show documentation
Show all versions of openapi-deps Show documentation
Ant Chain deps SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.deps.models;
import com.aliyun.tea.*;
public class UpdateMachinegroupRequest extends TeaModel {
@NameInMap("auth_token")
public String authToken;
@NameInMap("tenant")
public String tenant;
// 分组 ID
@NameInMap("machine_group_id")
@Validation(required = true)
public String machineGroupId;
// 发布机器 ID
@NameInMap("machine_ids")
@Validation(required = true)
public java.util.List machineIds;
// workspace
@NameInMap("workspace")
@Validation(required = true)
public String workspace;
public static UpdateMachinegroupRequest build(java.util.Map map) throws Exception {
UpdateMachinegroupRequest self = new UpdateMachinegroupRequest();
return TeaModel.build(map, self);
}
public UpdateMachinegroupRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public UpdateMachinegroupRequest setTenant(String tenant) {
this.tenant = tenant;
return this;
}
public String getTenant() {
return this.tenant;
}
public UpdateMachinegroupRequest setMachineGroupId(String machineGroupId) {
this.machineGroupId = machineGroupId;
return this;
}
public String getMachineGroupId() {
return this.machineGroupId;
}
public UpdateMachinegroupRequest setMachineIds(java.util.List machineIds) {
this.machineIds = machineIds;
return this;
}
public java.util.List getMachineIds() {
return this.machineIds;
}
public UpdateMachinegroupRequest setWorkspace(String workspace) {
this.workspace = workspace;
return this;
}
public String getWorkspace() {
return this.workspace;
}
}