com.softlayer.api.service.software.description.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.software.description;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.software.Description;
import com.softlayer.api.service.software.description.attribute.Type;
/**
* The SoftLayer_Software_Description_Attribute data type represents an attributes associated with this software description.
*
* @see SoftLayer_Software_Description_Attribute
*/
@ApiType("SoftLayer_Software_Description_Attribute")
public class Attribute extends Entity {
@ApiProperty
protected Description softwareDescription;
public Description getSoftwareDescription() {
return softwareDescription;
}
public void setSoftwareDescription(Description softwareDescription) {
this.softwareDescription = softwareDescription;
}
@ApiProperty
protected Type type;
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
/**
* The value that was assigned to this attribute.
*/
@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.software.Description.Mask softwareDescription() {
return withSubMask("softwareDescription", com.softlayer.api.service.software.Description.Mask.class);
}
public com.softlayer.api.service.software.description.attribute.Type.Mask type() {
return withSubMask("type", com.softlayer.api.service.software.description.attribute.Type.Mask.class);
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}