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

com.softlayer.api.service.container.authentication.request.OpenIdConnect Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.container.authentication.request;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.container.authentication.request.Common;

/**
 * The SoftLayer_Container_Authentication_Request_OpenIdConnect data type contains information for requests to the getPortalLogin API. This class is specific to the SoftLayer Cloud Token login. The request information will be verified to ensure it is valid, and then there will be an attempt to obtain a portal login token in authenticating the user with the provided information. 
 *
 * @see SoftLayer_Container_Authentication_Request_OpenIdConnect
 */
@ApiType("SoftLayer_Container_Authentication_Request_OpenIdConnect")
public class OpenIdConnect extends Common {

    @ApiProperty(canBeNullOrNotSet = true)
    protected String openIdConnectAccessToken;

    public String getOpenIdConnectAccessToken() {
        return openIdConnectAccessToken;
    }

    public void setOpenIdConnectAccessToken(String openIdConnectAccessToken) {
        openIdConnectAccessTokenSpecified = true;
        this.openIdConnectAccessToken = openIdConnectAccessToken;
    }

    protected boolean openIdConnectAccessTokenSpecified;

    public boolean isOpenIdConnectAccessTokenSpecified() {
        return openIdConnectAccessTokenSpecified;
    }

    public void unsetOpenIdConnectAccessToken() {
        openIdConnectAccessToken = null;
        openIdConnectAccessTokenSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long openIdConnectAccountId;

    public Long getOpenIdConnectAccountId() {
        return openIdConnectAccountId;
    }

    public void setOpenIdConnectAccountId(Long openIdConnectAccountId) {
        openIdConnectAccountIdSpecified = true;
        this.openIdConnectAccountId = openIdConnectAccountId;
    }

    protected boolean openIdConnectAccountIdSpecified;

    public boolean isOpenIdConnectAccountIdSpecified() {
        return openIdConnectAccountIdSpecified;
    }

    public void unsetOpenIdConnectAccountId() {
        openIdConnectAccountId = null;
        openIdConnectAccountIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String openIdConnectProvider;

    public String getOpenIdConnectProvider() {
        return openIdConnectProvider;
    }

    public void setOpenIdConnectProvider(String openIdConnectProvider) {
        openIdConnectProviderSpecified = true;
        this.openIdConnectProvider = openIdConnectProvider;
    }

    protected boolean openIdConnectProviderSpecified;

    public boolean isOpenIdConnectProviderSpecified() {
        return openIdConnectProviderSpecified;
    }

    public void unsetOpenIdConnectProvider() {
        openIdConnectProvider = null;
        openIdConnectProviderSpecified = false;
    }

    public static class Mask extends Common.Mask {

        public Mask openIdConnectAccessToken() {
            withLocalProperty("openIdConnectAccessToken");
            return this;
        }

        public Mask openIdConnectAccountId() {
            withLocalProperty("openIdConnectAccountId");
            return this;
        }

        public Mask openIdConnectProvider() {
            withLocalProperty("openIdConnectProvider");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy