com.softlayer.api.service.account.attachment.employee.Role 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.attachment.employee;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* @see SoftLayer_Account_Attachment_Employee_Role
*/
@ApiType("SoftLayer_Account_Attachment_Employee_Role")
public class Role extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected String keyname;
public String getKeyname() {
return keyname;
}
public void setKeyname(String keyname) {
keynameSpecified = true;
this.keyname = keyname;
}
protected boolean keynameSpecified;
public boolean isKeynameSpecified() {
return keynameSpecified;
}
public void unsetKeyname() {
keyname = null;
keynameSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String name;
public String getName() {
return name;
}
public void setName(String name) {
nameSpecified = true;
this.name = name;
}
protected boolean nameSpecified;
public boolean isNameSpecified() {
return nameSpecified;
}
public void unsetName() {
name = null;
nameSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask keyname() {
withLocalProperty("keyname");
return this;
}
public Mask name() {
withLocalProperty("name");
return this;
}
}
}