com.softlayer.api.service.resource.group.member.Attribute 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.member;
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.Member;
import com.softlayer.api.service.resource.group.member.attribute.Type;
import java.util.GregorianCalendar;
/**
* @see SoftLayer_Resource_Group_Member_Attribute
*/
@ApiType("SoftLayer_Resource_Group_Member_Attribute")
public class Attribute extends Entity {
/**
* A resource group member attribute's resource group member.
*/
@ApiProperty
protected Member member;
public Member getMember() {
return member;
}
public void setMember(Member member) {
this.member = member;
}
/**
* A resource group member attribute's type.
*/
@ApiProperty
protected Type type;
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
/**
* A resource group member attribute's creation date.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar createDate;
public GregorianCalendar getCreateDate() {
return createDate;
}
public void setCreateDate(GregorianCalendar createDate) {
createDateSpecified = true;
this.createDate = createDate;
}
protected boolean createDateSpecified;
public boolean isCreateDateSpecified() {
return createDateSpecified;
}
public void unsetCreateDate() {
createDate = null;
createDateSpecified = false;
}
/**
* A resource group member attribute's ID.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
/**
* A resource group member attribute's value.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String value;
public String getValue() {
return value;
}
public void setValue(String value) {
valueSpecified = true;
this.value = value;
}
protected boolean valueSpecified;
public boolean isValueSpecified() {
return valueSpecified;
}
public void unsetValue() {
value = null;
valueSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.resource.group.Member.Mask member() {
return withSubMask("member", com.softlayer.api.service.resource.group.Member.Mask.class);
}
public com.softlayer.api.service.resource.group.member.attribute.Type.Mask type() {
return withSubMask("type", com.softlayer.api.service.resource.group.member.attribute.Type.Mask.class);
}
public Mask createDate() {
withLocalProperty("createDate");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}