com.softlayer.api.service.container.authentication.response.IpAddressRestrictionCheckNeeded 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_IpAddressRestrictionCheckNeeded data type indicates that the caller (IAM presumably) needs to do an IP address check of the logging-in user against the restricted IP list kept in BSS. We don't know the IP address of the user here (only IAM does) so we return an indicator of which user matched the username and expect IAM to come back with another login call that will include a mini-JWT token that contains an assertion that the IP address was checked.
*
* @see SoftLayer_Container_Authentication_Response_IpAddressRestrictionCheckNeeded
*/
@ApiType("SoftLayer_Container_Authentication_Response_IpAddressRestrictionCheckNeeded")
public class IpAddressRestrictionCheckNeeded extends Common {
@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 Mask statusKeyName() {
withLocalProperty("statusKeyName");
return this;
}
}
}