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

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

There is a newer version: 0.3.4
Show 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 creation details
 *
 * @see SoftLayer_Account_Link_OpenStack_ProjectCreationDetails
 */
@ApiType("SoftLayer_Account_Link_OpenStack_ProjectCreationDetails")
public class ProjectCreationDetails extends Entity {

    /**
     * Id for the domain this project was added to. 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String domainId;

    public String getDomainId() {
        return domainId;
    }

    public void setDomainId(String domainId) {
        domainIdSpecified = true;
        this.domainId = domainId;
    }

    protected boolean domainIdSpecified;

    public boolean isDomainIdSpecified() {
        return domainIdSpecified;
    }

    public void unsetDomainId() {
        domainId = null;
        domainIdSpecified = false;
    }

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

    /**
     * Id for the user given the Project Admin role for this project. 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String userId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        userIdSpecified = true;
        this.userId = userId;
    }

    protected boolean userIdSpecified;

    public boolean isUserIdSpecified() {
        return userIdSpecified;
    }

    public void unsetUserId() {
        userId = null;
        userIdSpecified = false;
    }

    /**
     * Name for the user given the Project Admin role for this project. 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        userNameSpecified = true;
        this.userName = userName;
    }

    protected boolean userNameSpecified;

    public boolean isUserNameSpecified() {
        return userNameSpecified;
    }

    public void unsetUserName() {
        userName = null;
        userNameSpecified = false;
    }

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy