com.softlayer.api.service.account.link.openstack.ProjectDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
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;
}
}
}