com.softlayer.api.service.user.external.binding.Attribute 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.user.external.binding;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.user.external.Binding;
/**
* The SoftLayer_User_External_Binding_Attribute data type contains the value for a single attribute associated with an external binding. External binding attributes contain additional information about an external binding. An attribute can be generic or specific to a 3rd party vendor. For example these attributes relate to Verisign:
* *Credential Type
* *Credential State
* *Credential Expiration Date
* *Credential Last Update Date
*
* @see SoftLayer_User_External_Binding_Attribute
*/
@ApiType("SoftLayer_User_External_Binding_Attribute")
public class Attribute extends Entity {
/**
* The external authentication binding an attribute belongs to.
*/
@ApiProperty
protected Binding externalBinding;
public Binding getExternalBinding() {
return externalBinding;
}
public void setExternalBinding(Binding externalBinding) {
this.externalBinding = externalBinding;
}
/**
* The value of an external binding attribute.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String value;
public String getValue() {
return value;
}
public void setValue(String value) {
valueSpecified = true;
this.value = value;
}
protected boolean valueSpecified;
public boolean isValueSpecified() {
return valueSpecified;
}
public void unsetValue() {
value = null;
valueSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.user.external.Binding.Mask externalBinding() {
return withSubMask("externalBinding", com.softlayer.api.service.user.external.Binding.Mask.class);
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}