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

com.softlayer.api.service.marketplace.partner.Attachment 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.attachment.Type;

/**
 * @see SoftLayer_Marketplace_Partner_Attachment
 */
@ApiType("SoftLayer_Marketplace_Partner_Attachment")
public class Attachment extends Entity {

    @ApiProperty
    protected Type attachmentType;

    public Type getAttachmentType() {
        return attachmentType;
    }

    public void setAttachmentType(Type attachmentType) {
        this.attachmentType = attachmentType;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long attachmentTypeId;

    public Long getAttachmentTypeId() {
        return attachmentTypeId;
    }

    public void setAttachmentTypeId(Long attachmentTypeId) {
        attachmentTypeIdSpecified = true;
        this.attachmentTypeId = attachmentTypeId;
    }

    protected boolean attachmentTypeIdSpecified;

    public boolean isAttachmentTypeIdSpecified() {
        return attachmentTypeIdSpecified;
    }

    public void unsetAttachmentTypeId() {
        attachmentTypeId = null;
        attachmentTypeIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String baseName;

    public String getBaseName() {
        return baseName;
    }

    public void setBaseName(String baseName) {
        baseNameSpecified = true;
        this.baseName = baseName;
    }

    protected boolean baseNameSpecified;

    public boolean isBaseNameSpecified() {
        return baseNameSpecified;
    }

    public void unsetBaseName() {
        baseName = null;
        baseNameSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String displayName;

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        displayNameSpecified = true;
        this.displayName = displayName;
    }

    protected boolean displayNameSpecified;

    public boolean isDisplayNameSpecified() {
        return displayNameSpecified;
    }

    public void unsetDisplayName() {
        displayName = null;
        displayNameSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String fileName;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        fileNameSpecified = true;
        this.fileName = fileName;
    }

    protected boolean fileNameSpecified;

    public boolean isFileNameSpecified() {
        return fileNameSpecified;
    }

    public void unsetFileName() {
        fileName = null;
        fileNameSpecified = false;
    }

    @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 marketplacePartnerId;

    public Long getMarketplacePartnerId() {
        return marketplacePartnerId;
    }

    public void setMarketplacePartnerId(Long marketplacePartnerId) {
        marketplacePartnerIdSpecified = true;
        this.marketplacePartnerId = marketplacePartnerId;
    }

    protected boolean marketplacePartnerIdSpecified;

    public boolean isMarketplacePartnerIdSpecified() {
        return marketplacePartnerIdSpecified;
    }

    public void unsetMarketplacePartnerId() {
        marketplacePartnerId = null;
        marketplacePartnerIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String saveAsName;

    public String getSaveAsName() {
        return saveAsName;
    }

    public void setSaveAsName(String saveAsName) {
        saveAsNameSpecified = true;
        this.saveAsName = saveAsName;
    }

    protected boolean saveAsNameSpecified;

    public boolean isSaveAsNameSpecified() {
        return saveAsNameSpecified;
    }

    public void unsetSaveAsName() {
        saveAsName = null;
        saveAsNameSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public com.softlayer.api.service.marketplace.partner.attachment.Type.Mask attachmentType() {
            return withSubMask("attachmentType", com.softlayer.api.service.marketplace.partner.attachment.Type.Mask.class);
        }

        public Mask attachmentTypeId() {
            withLocalProperty("attachmentTypeId");
            return this;
        }

        public Mask baseName() {
            withLocalProperty("baseName");
            return this;
        }

        public Mask displayName() {
            withLocalProperty("displayName");
            return this;
        }

        public Mask fileName() {
            withLocalProperty("fileName");
            return this;
        }

        public Mask id() {
            withLocalProperty("id");
            return this;
        }

        public Mask marketplacePartnerId() {
            withLocalProperty("marketplacePartnerId");
            return this;
        }

        public Mask saveAsName() {
            withLocalProperty("saveAsName");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy