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

com.softlayer.api.service.account.link.openstack.ProjectDetails Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.account.link.openstack;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * OpenStack project details
 *
 * @see SoftLayer_Account_Link_OpenStack_ProjectDetails
 */
@ApiType("SoftLayer_Account_Link_OpenStack_ProjectDetails")
public class ProjectDetails extends Entity {

    /**
     * Id for this project. 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String projectId;

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        projectIdSpecified = true;
        this.projectId = projectId;
    }

    protected boolean projectIdSpecified;

    public boolean isProjectIdSpecified() {
        return projectIdSpecified;
    }

    public void unsetProjectId() {
        projectId = null;
        projectIdSpecified = false;
    }

    /**
     * Name for this project. 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String projectName;

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        projectNameSpecified = true;
        this.projectName = projectName;
    }

    protected boolean projectNameSpecified;

    public boolean isProjectNameSpecified() {
        return projectNameSpecified;
    }

    public void unsetProjectName() {
        projectName = null;
        projectNameSpecified = false;
    }

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy