com.aliyun.cs20151215.models.CheckServiceRoleResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cs20151215 Show documentation
Show all versions of cs20151215 Show documentation
Alibaba Cloud CS (20151215) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;
import com.aliyun.tea.*;
public class CheckServiceRoleResponseBody extends TeaModel {
@NameInMap("roles")
public java.util.List roles;
public static CheckServiceRoleResponseBody build(java.util.Map map) throws Exception {
CheckServiceRoleResponseBody self = new CheckServiceRoleResponseBody();
return TeaModel.build(map, self);
}
public CheckServiceRoleResponseBody setRoles(java.util.List roles) {
this.roles = roles;
return this;
}
public java.util.List getRoles() {
return this.roles;
}
public static class CheckServiceRoleResponseBodyRoles extends TeaModel {
/**
* example:
* true
*/
@NameInMap("granted")
public Boolean granted;
/**
* example:
* The role does not exist: AliyunCSManagedAutoScalerRole
*/
@NameInMap("message")
public String message;
/**
* example:
* AliyunCSManagedAutoScalerRole
*/
@NameInMap("name")
public String name;
public static CheckServiceRoleResponseBodyRoles build(java.util.Map map) throws Exception {
CheckServiceRoleResponseBodyRoles self = new CheckServiceRoleResponseBodyRoles();
return TeaModel.build(map, self);
}
public CheckServiceRoleResponseBodyRoles setGranted(Boolean granted) {
this.granted = granted;
return this;
}
public Boolean getGranted() {
return this.granted;
}
public CheckServiceRoleResponseBodyRoles setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CheckServiceRoleResponseBodyRoles setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
}