![JAR search and dependency download from the Maven repository](/logo.png)
com.softlayer.api.service.product.item.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.product.item;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.product.Item;
import com.softlayer.api.service.product.item.attribute.Type;
/**
* @see SoftLayer_Product_Item_Attribute
*/
@ApiType("SoftLayer_Product_Item_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 String attributeTypeKeyName;
public String getAttributeTypeKeyName() {
return attributeTypeKeyName;
}
public void setAttributeTypeKeyName(String attributeTypeKeyName) {
this.attributeTypeKeyName = attributeTypeKeyName;
}
@ApiProperty
protected Item item;
public Item getItem() {
return item;
}
public void setItem(Item item) {
this.item = item;
}
@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;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long itemAttributeTypeId;
public Long getItemAttributeTypeId() {
return itemAttributeTypeId;
}
public void setItemAttributeTypeId(Long itemAttributeTypeId) {
itemAttributeTypeIdSpecified = true;
this.itemAttributeTypeId = itemAttributeTypeId;
}
protected boolean itemAttributeTypeIdSpecified;
public boolean isItemAttributeTypeIdSpecified() {
return itemAttributeTypeIdSpecified;
}
public void unsetItemAttributeTypeId() {
itemAttributeTypeId = null;
itemAttributeTypeIdSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long itemId;
public Long getItemId() {
return itemId;
}
public void setItemId(Long itemId) {
itemIdSpecified = true;
this.itemId = itemId;
}
protected boolean itemIdSpecified;
public boolean isItemIdSpecified() {
return itemIdSpecified;
}
public void unsetItemId() {
itemId = null;
itemIdSpecified = false;
}
@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.product.item.attribute.Type.Mask attributeType() {
return withSubMask("attributeType", com.softlayer.api.service.product.item.attribute.Type.Mask.class);
}
public Mask attributeTypeKeyName() {
withLocalProperty("attributeTypeKeyName");
return this;
}
public com.softlayer.api.service.product.Item.Mask item() {
return withSubMask("item", com.softlayer.api.service.product.Item.Mask.class);
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask itemAttributeTypeId() {
withLocalProperty("itemAttributeTypeId");
return this;
}
public Mask itemId() {
withLocalProperty("itemId");
return this;
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy