com.softlayer.api.service.configuration.template.section.definition.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
The newest version!
package com.softlayer.api.service.configuration.template.section.definition;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.configuration.template.section.Definition;
import com.softlayer.api.service.configuration.template.section.definition.attribute.Type;
/**
* Configuration definition attribute class contains supplementary information for a configuration definition.
*
* @see SoftLayer_Configuration_Template_Section_Definition_Attribute
*/
@ApiType("SoftLayer_Configuration_Template_Section_Definition_Attribute")
public class Attribute extends Entity {
@ApiProperty
protected Type attributeType;
public Type getAttributeType() {
return attributeType;
}
public void setAttributeType(Type attributeType) {
this.attributeType = attributeType;
}
@ApiProperty
protected Definition configurationDefinition;
public Definition getConfigurationDefinition() {
return configurationDefinition;
}
public void setConfigurationDefinition(Definition configurationDefinition) {
this.configurationDefinition = configurationDefinition;
}
/**
* Value of a configuration definition 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.configuration.template.section.definition.attribute.Type.Mask attributeType() {
return withSubMask("attributeType", com.softlayer.api.service.configuration.template.section.definition.attribute.Type.Mask.class);
}
public com.softlayer.api.service.configuration.template.section.Definition.Mask configurationDefinition() {
return withSubMask("configurationDefinition", com.softlayer.api.service.configuration.template.section.Definition.Mask.class);
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}