com.softlayer.api.service.marketplace.partner.File 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.marketplace.partner;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.marketplace.partner.file.Attributes;
/**
* @see SoftLayer_Marketplace_Partner_File
*/
@ApiType("SoftLayer_Marketplace_Partner_File")
public class File extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected Attributes attributes;
public Attributes getAttributes() {
return attributes;
}
public void setAttributes(Attributes attributes) {
attributesSpecified = true;
this.attributes = attributes;
}
protected boolean attributesSpecified;
public boolean isAttributesSpecified() {
return attributesSpecified;
}
public void unsetAttributes() {
attributes = null;
attributesSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected byte[] contents;
public byte[] getContents() {
return contents;
}
public void setContents(byte[] contents) {
contentsSpecified = true;
this.contents = contents;
}
protected boolean contentsSpecified;
public boolean isContentsSpecified() {
return contentsSpecified;
}
public void unsetContents() {
contents = null;
contentsSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.marketplace.partner.file.Attributes.Mask attributes() {
return withSubMask("attributes", com.softlayer.api.service.marketplace.partner.file.Attributes.Mask.class);
}
public Mask contents() {
withLocalProperty("contents");
return this;
}
}
}