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

com.softlayer.api.service.container.user.customer.openidconnect.MigrationState Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.container.user.customer.openidconnect;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * @see SoftLayer_Container_User_Customer_OpenIdConnect_MigrationState
 */
@ApiType("SoftLayer_Container_User_Customer_OpenIdConnect_MigrationState")
public class MigrationState extends Entity {

    /**
     * The number of days remaining in the grace period for this user's account to
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long daysToGracePeriodEnd;

    public Long getDaysToGracePeriodEnd() {
        return daysToGracePeriodEnd;
    }

    public void setDaysToGracePeriodEnd(Long daysToGracePeriodEnd) {
        daysToGracePeriodEndSpecified = true;
        this.daysToGracePeriodEnd = daysToGracePeriodEnd;
    }

    protected boolean daysToGracePeriodEndSpecified;

    public boolean isDaysToGracePeriodEndSpecified() {
        return daysToGracePeriodEndSpecified;
    }

    public void unsetDaysToGracePeriodEnd() {
        daysToGracePeriodEnd = null;
        daysToGracePeriodEndSpecified = false;
    }

    /**
     * Flag for whether the email address inside this SoftLayer_User_Customer object
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean emailAlreadyUsedForInvitationToAccount;

    public Boolean getEmailAlreadyUsedForInvitationToAccount() {
        return emailAlreadyUsedForInvitationToAccount;
    }

    public void setEmailAlreadyUsedForInvitationToAccount(Boolean emailAlreadyUsedForInvitationToAccount) {
        emailAlreadyUsedForInvitationToAccountSpecified = true;
        this.emailAlreadyUsedForInvitationToAccount = emailAlreadyUsedForInvitationToAccount;
    }

    protected boolean emailAlreadyUsedForInvitationToAccountSpecified;

    public boolean isEmailAlreadyUsedForInvitationToAccountSpecified() {
        return emailAlreadyUsedForInvitationToAccountSpecified;
    }

    public void unsetEmailAlreadyUsedForInvitationToAccount() {
        emailAlreadyUsedForInvitationToAccount = null;
        emailAlreadyUsedForInvitationToAccountSpecified = false;
    }

    /**
     * Flag for whether the email address inside this SoftLayer_User_Customer object
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean emailAlreadyUsedForLinkToAccount;

    public Boolean getEmailAlreadyUsedForLinkToAccount() {
        return emailAlreadyUsedForLinkToAccount;
    }

    public void setEmailAlreadyUsedForLinkToAccount(Boolean emailAlreadyUsedForLinkToAccount) {
        emailAlreadyUsedForLinkToAccountSpecified = true;
        this.emailAlreadyUsedForLinkToAccount = emailAlreadyUsedForLinkToAccount;
    }

    protected boolean emailAlreadyUsedForLinkToAccountSpecified;

    public boolean isEmailAlreadyUsedForLinkToAccountSpecified() {
        return emailAlreadyUsedForLinkToAccountSpecified;
    }

    public void unsetEmailAlreadyUsedForLinkToAccount() {
        emailAlreadyUsedForLinkToAccount = null;
        emailAlreadyUsedForLinkToAccountSpecified = false;
    }

    /**
     * The IBMid email address where an invitation was sent.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String existingInvitationOpenIdConnectName;

    public String getExistingInvitationOpenIdConnectName() {
        return existingInvitationOpenIdConnectName;
    }

    public void setExistingInvitationOpenIdConnectName(String existingInvitationOpenIdConnectName) {
        existingInvitationOpenIdConnectNameSpecified = true;
        this.existingInvitationOpenIdConnectName = existingInvitationOpenIdConnectName;
    }

    protected boolean existingInvitationOpenIdConnectNameSpecified;

    public boolean isExistingInvitationOpenIdConnectNameSpecified() {
        return existingInvitationOpenIdConnectNameSpecified;
    }

    public void unsetExistingInvitationOpenIdConnectName() {
        existingInvitationOpenIdConnectName = null;
        existingInvitationOpenIdConnectNameSpecified = false;
    }

    /**
     * Flag for whether the account is OpenIdConnect authenticated or not.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean isAccountOpenIdConnectAuthenticated;

    public Boolean getIsAccountOpenIdConnectAuthenticated() {
        return isAccountOpenIdConnectAuthenticated;
    }

    public void setIsAccountOpenIdConnectAuthenticated(Boolean isAccountOpenIdConnectAuthenticated) {
        isAccountOpenIdConnectAuthenticatedSpecified = true;
        this.isAccountOpenIdConnectAuthenticated = isAccountOpenIdConnectAuthenticated;
    }

    protected boolean isAccountOpenIdConnectAuthenticatedSpecified;

    public boolean isIsAccountOpenIdConnectAuthenticatedSpecified() {
        return isAccountOpenIdConnectAuthenticatedSpecified;
    }

    public void unsetIsAccountOpenIdConnectAuthenticated() {
        isAccountOpenIdConnectAuthenticated = null;
        isAccountOpenIdConnectAuthenticatedSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy