com.softlayer.api.service.account.link.openstack.LinkRequest 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;
/**
* Details required for OpenStack link request
*
* @see SoftLayer_Account_Link_OpenStack_LinkRequest
*/
@ApiType("SoftLayer_Account_Link_OpenStack_LinkRequest")
public class LinkRequest extends Entity {
/**
* Optional password
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String desiredPassword;
public String getDesiredPassword() {
return desiredPassword;
}
public void setDesiredPassword(String desiredPassword) {
desiredPasswordSpecified = true;
this.desiredPassword = desiredPassword;
}
protected boolean desiredPasswordSpecified;
public boolean isDesiredPasswordSpecified() {
return desiredPasswordSpecified;
}
public void unsetDesiredPassword() {
desiredPassword = null;
desiredPasswordSpecified = false;
}
/**
* Optional projectName
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String desiredProjectName;
public String getDesiredProjectName() {
return desiredProjectName;
}
public void setDesiredProjectName(String desiredProjectName) {
desiredProjectNameSpecified = true;
this.desiredProjectName = desiredProjectName;
}
protected boolean desiredProjectNameSpecified;
public boolean isDesiredProjectNameSpecified() {
return desiredProjectNameSpecified;
}
public void unsetDesiredProjectName() {
desiredProjectName = null;
desiredProjectNameSpecified = false;
}
/**
* Required username
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String desiredUsername;
public String getDesiredUsername() {
return desiredUsername;
}
public void setDesiredUsername(String desiredUsername) {
desiredUsernameSpecified = true;
this.desiredUsername = desiredUsername;
}
protected boolean desiredUsernameSpecified;
public boolean isDesiredUsernameSpecified() {
return desiredUsernameSpecified;
}
public void unsetDesiredUsername() {
desiredUsername = null;
desiredUsernameSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask desiredPassword() {
withLocalProperty("desiredPassword");
return this;
}
public Mask desiredProjectName() {
withLocalProperty("desiredProjectName");
return this;
}
public Mask desiredUsername() {
withLocalProperty("desiredUsername");
return this;
}
}
}