com.softlayer.api.service.container.authentication.response.z2FactorAuthenticationNeeded 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
The newest version!
package com.softlayer.api.service.container.authentication.response;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.container.authentication.response.Common;
/**
* The SoftLayer_Container_Authentication_Response_2FactorAuthenticationNeeded data type contains information for specific responses from the getPortalLogin API. This class is indicative of a request that is missing the appropriate 2FA information.
*
* @see SoftLayer_Container_Authentication_Response_2FactorAuthenticationNeeded
*/
@ApiType("SoftLayer_Container_Authentication_Response_2FactorAuthenticationNeeded")
public class z2FactorAuthenticationNeeded extends Common {
@ApiProperty(canBeNullOrNotSet = true)
protected Common additionalData;
public Common getAdditionalData() {
return additionalData;
}
public void setAdditionalData(Common additionalData) {
additionalDataSpecified = true;
this.additionalData = additionalData;
}
protected boolean additionalDataSpecified;
public boolean isAdditionalDataSpecified() {
return additionalDataSpecified;
}
public void unsetAdditionalData() {
additionalData = null;
additionalDataSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String statusKeyName;
public String getStatusKeyName() {
return statusKeyName;
}
public void setStatusKeyName(String statusKeyName) {
statusKeyNameSpecified = true;
this.statusKeyName = statusKeyName;
}
protected boolean statusKeyNameSpecified;
public boolean isStatusKeyNameSpecified() {
return statusKeyNameSpecified;
}
public void unsetStatusKeyName() {
statusKeyName = null;
statusKeyNameSpecified = false;
}
public static class Mask extends Common.Mask {
public Common.Mask additionalData() {
return withSubMask("additionalData", Common.Mask.class);
}
public Mask statusKeyName() {
withLocalProperty("statusKeyName");
return this;
}
}
}