All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.marketplace.partner.File Maven / Gradle / Ivy

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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy