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

com.softlayer.api.service.account.link.openstack.DomainCreationDetails 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 domain creation details
 *
 * @see SoftLayer_Account_Link_OpenStack_DomainCreationDetails
 */
@ApiType("SoftLayer_Account_Link_OpenStack_DomainCreationDetails")
public class DomainCreationDetails extends Entity {

    /**
     * Id for the domain this user 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 the user given the Cloud Admin role for this domain. 
     */
    @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 Cloud Admin role for this domain. 
     */
    @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 userId() {
            withLocalProperty("userId");
            return this;
        }

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy