com.softlayer.api.service.resource.group.template.Member Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.resource.group.template;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.resource.group.Role;
import com.softlayer.api.service.resource.group.Template;
/**
* @see SoftLayer_Resource_Group_Template_Member
*/
@ApiType("SoftLayer_Resource_Group_Template_Member")
public class Member extends Entity {
@ApiProperty
protected Role role;
public Role getRole() {
return role;
}
public void setRole(Role role) {
this.role = role;
}
@ApiProperty
protected Template template;
public Template getTemplate() {
return template;
}
public void setTemplate(Template template) {
this.template = template;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long maxQuantity;
public Long getMaxQuantity() {
return maxQuantity;
}
public void setMaxQuantity(Long maxQuantity) {
maxQuantitySpecified = true;
this.maxQuantity = maxQuantity;
}
protected boolean maxQuantitySpecified;
public boolean isMaxQuantitySpecified() {
return maxQuantitySpecified;
}
public void unsetMaxQuantity() {
maxQuantity = null;
maxQuantitySpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long minQuantity;
public Long getMinQuantity() {
return minQuantity;
}
public void setMinQuantity(Long minQuantity) {
minQuantitySpecified = true;
this.minQuantity = minQuantity;
}
protected boolean minQuantitySpecified;
public boolean isMinQuantitySpecified() {
return minQuantitySpecified;
}
public void unsetMinQuantity() {
minQuantity = null;
minQuantitySpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long roleId;
public Long getRoleId() {
return roleId;
}
public void setRoleId(Long roleId) {
roleIdSpecified = true;
this.roleId = roleId;
}
protected boolean roleIdSpecified;
public boolean isRoleIdSpecified() {
return roleIdSpecified;
}
public void unsetRoleId() {
roleId = null;
roleIdSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long templateId;
public Long getTemplateId() {
return templateId;
}
public void setTemplateId(Long templateId) {
templateIdSpecified = true;
this.templateId = templateId;
}
protected boolean templateIdSpecified;
public boolean isTemplateIdSpecified() {
return templateIdSpecified;
}
public void unsetTemplateId() {
templateId = null;
templateIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.resource.group.Role.Mask role() {
return withSubMask("role", com.softlayer.api.service.resource.group.Role.Mask.class);
}
public com.softlayer.api.service.resource.group.Template.Mask template() {
return withSubMask("template", com.softlayer.api.service.resource.group.Template.Mask.class);
}
public Mask maxQuantity() {
withLocalProperty("maxQuantity");
return this;
}
public Mask minQuantity() {
withLocalProperty("minQuantity");
return this;
}
public Mask roleId() {
withLocalProperty("roleId");
return this;
}
public Mask templateId() {
withLocalProperty("templateId");
return this;
}
}
}