All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.container.authentication.response.z2FactorAuthenticationNeeded Maven / Gradle / Ivy

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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy