Files
sdk/model_iam_application.go

3488 lines
102 KiB
Go

/*
Hanzo Cloud API
The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
API version: v1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package hanzoai
import (
"encoding/json"
"time"
)
// checks if the IamApplication type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &IamApplication{}
// IamApplication struct for IamApplication
type IamApplication struct {
AffiliationUrl *string `json:"affiliationUrl,omitempty"`
Category *string `json:"category,omitempty"`
Cert *string `json:"cert,omitempty"`
CertObj *IamCert `json:"certObj,omitempty"`
CertPublicKey *string `json:"certPublicKey,omitempty"`
ClientCert *string `json:"clientCert,omitempty"`
// ClientId is the OAuth2/OIDC client identifier and the GLOBAL key every confidential-client resolver authenticates against (store.GetApplicationByClientId, the mint gates, Basic auth). It MUST be globally unique across ALL owners — a collision would let one app shadow another at that key. This store persists each entity as a JSON document in a shared table, so there is no per-field column to carry a DB UNIQUE index; uniqueness is enforced at the write in applications.Create/Update (ensureClientIdUnique), exactly as the (owner,name) natural key is, and store.GetApplicationByClientId resolves admin-preferring as defense-in-depth.
ClientId *string `json:"clientId,omitempty"`
ClientSecret *string `json:"clientSecret,omitempty"`
CodeResendTimeout *int64 `json:"codeResendTimeout,omitempty"`
CookieExpireInHours *int64 `json:"cookieExpireInHours,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
CreatedTime *string `json:"createdTime,omitempty"`
CustomScopes []IamScopeDescription `json:"customScopes,omitempty"`
DefaultGroup *string `json:"defaultGroup,omitempty"`
Deleted *bool `json:"deleted,omitempty"`
Description *string `json:"description,omitempty"`
DisableSamlAttributes *bool `json:"disableSamlAttributes,omitempty"`
DisableSignin *bool `json:"disableSignin,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Domain *string `json:"domain,omitempty"`
EnableAutoSignin *bool `json:"enableAutoSignin,omitempty"`
EnableCodeSignin *bool `json:"enableCodeSignin,omitempty"`
EnableExclusiveSignin *bool `json:"enableExclusiveSignin,omitempty"`
EnableLinkWithEmail *bool `json:"enableLinkWithEmail,omitempty"`
EnablePassword *bool `json:"enablePassword,omitempty"`
EnableSamlAssertionSignature *bool `json:"enableSamlAssertionSignature,omitempty"`
EnableSamlC14n10 *bool `json:"enableSamlC14n10,omitempty"`
EnableSamlCompress *bool `json:"enableSamlCompress,omitempty"`
EnableSamlPostBinding *bool `json:"enableSamlPostBinding,omitempty"`
EnableSignUp *bool `json:"enableSignUp,omitempty"`
EnableSigninSession *bool `json:"enableSigninSession,omitempty"`
EnableWebAuthn *bool `json:"enableWebAuthn,omitempty"`
Environment *string `json:"environment,omitempty"`
ExpireInHours *float64 `json:"expireInHours,omitempty"`
FailedSigninFrozenTime *int64 `json:"failedSigninFrozenTime,omitempty"`
FailedSigninLimit *int64 `json:"failedSigninLimit,omitempty"`
Favicon *string `json:"favicon,omitempty"`
FooterHtml *string `json:"footerHtml,omitempty"`
ForcedRedirectOrigin *string `json:"forcedRedirectOrigin,omitempty"`
ForgetUrl *string `json:"forgetUrl,omitempty"`
FormBackgroundUrl *string `json:"formBackgroundUrl,omitempty"`
FormBackgroundUrlMobile *string `json:"formBackgroundUrlMobile,omitempty"`
FormCss *string `json:"formCss,omitempty"`
FormCssMobile *string `json:"formCssMobile,omitempty"`
FormOffset *int64 `json:"formOffset,omitempty"`
FormSideHtml *string `json:"formSideHtml,omitempty"`
GrantTypes []string `json:"grantTypes,omitempty"`
HeaderHtml *string `json:"headerHtml,omitempty"`
HomepageUrl *string `json:"homepageUrl,omitempty"`
// Persisted fields
Id *string `json:"id,omitempty"`
IpRestriction *string `json:"ipRestriction,omitempty"`
IpWhitelist *string `json:"ipWhitelist,omitempty"`
IsShared *bool `json:"isShared,omitempty"`
Logo *string `json:"logo,omitempty"`
Name *string `json:"name,omitempty"`
Order *int64 `json:"order,omitempty"`
OrgChoiceMode *string `json:"orgChoiceMode,omitempty"`
Organization *string `json:"organization,omitempty"`
OrganizationObj *IamOrganization `json:"organizationObj,omitempty"`
OtherDomains []string `json:"otherDomains,omitempty"`
Owner *string `json:"owner,omitempty"`
// Platform marks an application the platform itself declares (init_data.json): its own consoles and apps, never one a tenant registered. The seed stamps it on every declared application at boot, and only a SuperAdmin may change it over the API. It is what lets a signed-in person act through IAM with a bearer on the platform's behalf — sending an invitation from the platform's own email account, joining an org — which a tenant's application may not do with the tokens its users hand it.
Platform *bool `json:"platform,omitempty"`
Project *string `json:"project,omitempty"`
Providers []IamProviderItem `json:"providers,omitempty"`
RedirectUris []string `json:"redirectUris,omitempty"`
RefreshExpireInHours *float64 `json:"refreshExpireInHours,omitempty"`
SamlAttributes []IamSamlItem `json:"samlAttributes,omitempty"`
SamlHashAlgorithm *string `json:"samlHashAlgorithm,omitempty"`
SamlReplyUrl *string `json:"samlReplyUrl,omitempty"`
Scopes []IamScopeItem `json:"scopes,omitempty"`
SigninHtml *string `json:"signinHtml,omitempty"`
SigninItems []IamSigninItem `json:"signinItems,omitempty"`
SigninMethods []IamSigninMethod `json:"signinMethods,omitempty"`
SigninUrl *string `json:"signinUrl,omitempty"`
SignupHtml *string `json:"signupHtml,omitempty"`
SignupItems []IamSignupItem `json:"signupItems,omitempty"`
SignupUrl *string `json:"signupUrl,omitempty"`
SslCert *string `json:"sslCert,omitempty"`
SslMode *string `json:"sslMode,omitempty"`
Tags []string `json:"tags,omitempty"`
TermsOfUse *string `json:"termsOfUse,omitempty"`
ThemeData *IamThemeData `json:"themeData,omitempty"`
Title *string `json:"title,omitempty"`
TokenAttributes []IamJwtItem `json:"tokenAttributes,omitempty"`
TokenFields []string `json:"tokenFields,omitempty"`
TokenFormat *string `json:"tokenFormat,omitempty"`
TokenSigningMethod *string `json:"tokenSigningMethod,omitempty"`
Type *string `json:"type,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
UpstreamHost *string `json:"upstreamHost,omitempty"`
UseEmailAsSamlNameId *bool `json:"useEmailAsSamlNameId,omitempty"`
AdditionalProperties map[string]interface{}
}
type _IamApplication IamApplication
// NewIamApplication instantiates a new IamApplication object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewIamApplication() *IamApplication {
this := IamApplication{}
return &this
}
// NewIamApplicationWithDefaults instantiates a new IamApplication object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewIamApplicationWithDefaults() *IamApplication {
this := IamApplication{}
return &this
}
// GetAffiliationUrl returns the AffiliationUrl field value if set, zero value otherwise.
func (o *IamApplication) GetAffiliationUrl() string {
if o == nil || IsNil(o.AffiliationUrl) {
var ret string
return ret
}
return *o.AffiliationUrl
}
// GetAffiliationUrlOk returns a tuple with the AffiliationUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetAffiliationUrlOk() (*string, bool) {
if o == nil || IsNil(o.AffiliationUrl) {
return nil, false
}
return o.AffiliationUrl, true
}
// HasAffiliationUrl returns a boolean if a field has been set.
func (o *IamApplication) HasAffiliationUrl() bool {
if o != nil && !IsNil(o.AffiliationUrl) {
return true
}
return false
}
// SetAffiliationUrl gets a reference to the given string and assigns it to the AffiliationUrl field.
func (o *IamApplication) SetAffiliationUrl(v string) {
o.AffiliationUrl = &v
}
// GetCategory returns the Category field value if set, zero value otherwise.
func (o *IamApplication) GetCategory() string {
if o == nil || IsNil(o.Category) {
var ret string
return ret
}
return *o.Category
}
// GetCategoryOk returns a tuple with the Category field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetCategoryOk() (*string, bool) {
if o == nil || IsNil(o.Category) {
return nil, false
}
return o.Category, true
}
// HasCategory returns a boolean if a field has been set.
func (o *IamApplication) HasCategory() bool {
if o != nil && !IsNil(o.Category) {
return true
}
return false
}
// SetCategory gets a reference to the given string and assigns it to the Category field.
func (o *IamApplication) SetCategory(v string) {
o.Category = &v
}
// GetCert returns the Cert field value if set, zero value otherwise.
func (o *IamApplication) GetCert() string {
if o == nil || IsNil(o.Cert) {
var ret string
return ret
}
return *o.Cert
}
// GetCertOk returns a tuple with the Cert field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetCertOk() (*string, bool) {
if o == nil || IsNil(o.Cert) {
return nil, false
}
return o.Cert, true
}
// HasCert returns a boolean if a field has been set.
func (o *IamApplication) HasCert() bool {
if o != nil && !IsNil(o.Cert) {
return true
}
return false
}
// SetCert gets a reference to the given string and assigns it to the Cert field.
func (o *IamApplication) SetCert(v string) {
o.Cert = &v
}
// GetCertObj returns the CertObj field value if set, zero value otherwise.
func (o *IamApplication) GetCertObj() IamCert {
if o == nil || IsNil(o.CertObj) {
var ret IamCert
return ret
}
return *o.CertObj
}
// GetCertObjOk returns a tuple with the CertObj field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetCertObjOk() (*IamCert, bool) {
if o == nil || IsNil(o.CertObj) {
return nil, false
}
return o.CertObj, true
}
// HasCertObj returns a boolean if a field has been set.
func (o *IamApplication) HasCertObj() bool {
if o != nil && !IsNil(o.CertObj) {
return true
}
return false
}
// SetCertObj gets a reference to the given IamCert and assigns it to the CertObj field.
func (o *IamApplication) SetCertObj(v IamCert) {
o.CertObj = &v
}
// GetCertPublicKey returns the CertPublicKey field value if set, zero value otherwise.
func (o *IamApplication) GetCertPublicKey() string {
if o == nil || IsNil(o.CertPublicKey) {
var ret string
return ret
}
return *o.CertPublicKey
}
// GetCertPublicKeyOk returns a tuple with the CertPublicKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetCertPublicKeyOk() (*string, bool) {
if o == nil || IsNil(o.CertPublicKey) {
return nil, false
}
return o.CertPublicKey, true
}
// HasCertPublicKey returns a boolean if a field has been set.
func (o *IamApplication) HasCertPublicKey() bool {
if o != nil && !IsNil(o.CertPublicKey) {
return true
}
return false
}
// SetCertPublicKey gets a reference to the given string and assigns it to the CertPublicKey field.
func (o *IamApplication) SetCertPublicKey(v string) {
o.CertPublicKey = &v
}
// GetClientCert returns the ClientCert field value if set, zero value otherwise.
func (o *IamApplication) GetClientCert() string {
if o == nil || IsNil(o.ClientCert) {
var ret string
return ret
}
return *o.ClientCert
}
// GetClientCertOk returns a tuple with the ClientCert field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetClientCertOk() (*string, bool) {
if o == nil || IsNil(o.ClientCert) {
return nil, false
}
return o.ClientCert, true
}
// HasClientCert returns a boolean if a field has been set.
func (o *IamApplication) HasClientCert() bool {
if o != nil && !IsNil(o.ClientCert) {
return true
}
return false
}
// SetClientCert gets a reference to the given string and assigns it to the ClientCert field.
func (o *IamApplication) SetClientCert(v string) {
o.ClientCert = &v
}
// GetClientId returns the ClientId field value if set, zero value otherwise.
func (o *IamApplication) GetClientId() string {
if o == nil || IsNil(o.ClientId) {
var ret string
return ret
}
return *o.ClientId
}
// GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetClientIdOk() (*string, bool) {
if o == nil || IsNil(o.ClientId) {
return nil, false
}
return o.ClientId, true
}
// HasClientId returns a boolean if a field has been set.
func (o *IamApplication) HasClientId() bool {
if o != nil && !IsNil(o.ClientId) {
return true
}
return false
}
// SetClientId gets a reference to the given string and assigns it to the ClientId field.
func (o *IamApplication) SetClientId(v string) {
o.ClientId = &v
}
// GetClientSecret returns the ClientSecret field value if set, zero value otherwise.
func (o *IamApplication) GetClientSecret() string {
if o == nil || IsNil(o.ClientSecret) {
var ret string
return ret
}
return *o.ClientSecret
}
// GetClientSecretOk returns a tuple with the ClientSecret field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetClientSecretOk() (*string, bool) {
if o == nil || IsNil(o.ClientSecret) {
return nil, false
}
return o.ClientSecret, true
}
// HasClientSecret returns a boolean if a field has been set.
func (o *IamApplication) HasClientSecret() bool {
if o != nil && !IsNil(o.ClientSecret) {
return true
}
return false
}
// SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.
func (o *IamApplication) SetClientSecret(v string) {
o.ClientSecret = &v
}
// GetCodeResendTimeout returns the CodeResendTimeout field value if set, zero value otherwise.
func (o *IamApplication) GetCodeResendTimeout() int64 {
if o == nil || IsNil(o.CodeResendTimeout) {
var ret int64
return ret
}
return *o.CodeResendTimeout
}
// GetCodeResendTimeoutOk returns a tuple with the CodeResendTimeout field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetCodeResendTimeoutOk() (*int64, bool) {
if o == nil || IsNil(o.CodeResendTimeout) {
return nil, false
}
return o.CodeResendTimeout, true
}
// HasCodeResendTimeout returns a boolean if a field has been set.
func (o *IamApplication) HasCodeResendTimeout() bool {
if o != nil && !IsNil(o.CodeResendTimeout) {
return true
}
return false
}
// SetCodeResendTimeout gets a reference to the given int64 and assigns it to the CodeResendTimeout field.
func (o *IamApplication) SetCodeResendTimeout(v int64) {
o.CodeResendTimeout = &v
}
// GetCookieExpireInHours returns the CookieExpireInHours field value if set, zero value otherwise.
func (o *IamApplication) GetCookieExpireInHours() int64 {
if o == nil || IsNil(o.CookieExpireInHours) {
var ret int64
return ret
}
return *o.CookieExpireInHours
}
// GetCookieExpireInHoursOk returns a tuple with the CookieExpireInHours field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetCookieExpireInHoursOk() (*int64, bool) {
if o == nil || IsNil(o.CookieExpireInHours) {
return nil, false
}
return o.CookieExpireInHours, true
}
// HasCookieExpireInHours returns a boolean if a field has been set.
func (o *IamApplication) HasCookieExpireInHours() bool {
if o != nil && !IsNil(o.CookieExpireInHours) {
return true
}
return false
}
// SetCookieExpireInHours gets a reference to the given int64 and assigns it to the CookieExpireInHours field.
func (o *IamApplication) SetCookieExpireInHours(v int64) {
o.CookieExpireInHours = &v
}
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (o *IamApplication) GetCreatedAt() time.Time {
if o == nil || IsNil(o.CreatedAt) {
var ret time.Time
return ret
}
return *o.CreatedAt
}
// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetCreatedAtOk() (*time.Time, bool) {
if o == nil || IsNil(o.CreatedAt) {
return nil, false
}
return o.CreatedAt, true
}
// HasCreatedAt returns a boolean if a field has been set.
func (o *IamApplication) HasCreatedAt() bool {
if o != nil && !IsNil(o.CreatedAt) {
return true
}
return false
}
// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (o *IamApplication) SetCreatedAt(v time.Time) {
o.CreatedAt = &v
}
// GetCreatedTime returns the CreatedTime field value if set, zero value otherwise.
func (o *IamApplication) GetCreatedTime() string {
if o == nil || IsNil(o.CreatedTime) {
var ret string
return ret
}
return *o.CreatedTime
}
// GetCreatedTimeOk returns a tuple with the CreatedTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetCreatedTimeOk() (*string, bool) {
if o == nil || IsNil(o.CreatedTime) {
return nil, false
}
return o.CreatedTime, true
}
// HasCreatedTime returns a boolean if a field has been set.
func (o *IamApplication) HasCreatedTime() bool {
if o != nil && !IsNil(o.CreatedTime) {
return true
}
return false
}
// SetCreatedTime gets a reference to the given string and assigns it to the CreatedTime field.
func (o *IamApplication) SetCreatedTime(v string) {
o.CreatedTime = &v
}
// GetCustomScopes returns the CustomScopes field value if set, zero value otherwise.
func (o *IamApplication) GetCustomScopes() []IamScopeDescription {
if o == nil || IsNil(o.CustomScopes) {
var ret []IamScopeDescription
return ret
}
return o.CustomScopes
}
// GetCustomScopesOk returns a tuple with the CustomScopes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetCustomScopesOk() ([]IamScopeDescription, bool) {
if o == nil || IsNil(o.CustomScopes) {
return nil, false
}
return o.CustomScopes, true
}
// HasCustomScopes returns a boolean if a field has been set.
func (o *IamApplication) HasCustomScopes() bool {
if o != nil && !IsNil(o.CustomScopes) {
return true
}
return false
}
// SetCustomScopes gets a reference to the given []IamScopeDescription and assigns it to the CustomScopes field.
func (o *IamApplication) SetCustomScopes(v []IamScopeDescription) {
o.CustomScopes = v
}
// GetDefaultGroup returns the DefaultGroup field value if set, zero value otherwise.
func (o *IamApplication) GetDefaultGroup() string {
if o == nil || IsNil(o.DefaultGroup) {
var ret string
return ret
}
return *o.DefaultGroup
}
// GetDefaultGroupOk returns a tuple with the DefaultGroup field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetDefaultGroupOk() (*string, bool) {
if o == nil || IsNil(o.DefaultGroup) {
return nil, false
}
return o.DefaultGroup, true
}
// HasDefaultGroup returns a boolean if a field has been set.
func (o *IamApplication) HasDefaultGroup() bool {
if o != nil && !IsNil(o.DefaultGroup) {
return true
}
return false
}
// SetDefaultGroup gets a reference to the given string and assigns it to the DefaultGroup field.
func (o *IamApplication) SetDefaultGroup(v string) {
o.DefaultGroup = &v
}
// GetDeleted returns the Deleted field value if set, zero value otherwise.
func (o *IamApplication) GetDeleted() bool {
if o == nil || IsNil(o.Deleted) {
var ret bool
return ret
}
return *o.Deleted
}
// GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetDeletedOk() (*bool, bool) {
if o == nil || IsNil(o.Deleted) {
return nil, false
}
return o.Deleted, true
}
// HasDeleted returns a boolean if a field has been set.
func (o *IamApplication) HasDeleted() bool {
if o != nil && !IsNil(o.Deleted) {
return true
}
return false
}
// SetDeleted gets a reference to the given bool and assigns it to the Deleted field.
func (o *IamApplication) SetDeleted(v bool) {
o.Deleted = &v
}
// GetDescription returns the Description field value if set, zero value otherwise.
func (o *IamApplication) GetDescription() string {
if o == nil || IsNil(o.Description) {
var ret string
return ret
}
return *o.Description
}
// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetDescriptionOk() (*string, bool) {
if o == nil || IsNil(o.Description) {
return nil, false
}
return o.Description, true
}
// HasDescription returns a boolean if a field has been set.
func (o *IamApplication) HasDescription() bool {
if o != nil && !IsNil(o.Description) {
return true
}
return false
}
// SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *IamApplication) SetDescription(v string) {
o.Description = &v
}
// GetDisableSamlAttributes returns the DisableSamlAttributes field value if set, zero value otherwise.
func (o *IamApplication) GetDisableSamlAttributes() bool {
if o == nil || IsNil(o.DisableSamlAttributes) {
var ret bool
return ret
}
return *o.DisableSamlAttributes
}
// GetDisableSamlAttributesOk returns a tuple with the DisableSamlAttributes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetDisableSamlAttributesOk() (*bool, bool) {
if o == nil || IsNil(o.DisableSamlAttributes) {
return nil, false
}
return o.DisableSamlAttributes, true
}
// HasDisableSamlAttributes returns a boolean if a field has been set.
func (o *IamApplication) HasDisableSamlAttributes() bool {
if o != nil && !IsNil(o.DisableSamlAttributes) {
return true
}
return false
}
// SetDisableSamlAttributes gets a reference to the given bool and assigns it to the DisableSamlAttributes field.
func (o *IamApplication) SetDisableSamlAttributes(v bool) {
o.DisableSamlAttributes = &v
}
// GetDisableSignin returns the DisableSignin field value if set, zero value otherwise.
func (o *IamApplication) GetDisableSignin() bool {
if o == nil || IsNil(o.DisableSignin) {
var ret bool
return ret
}
return *o.DisableSignin
}
// GetDisableSigninOk returns a tuple with the DisableSignin field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetDisableSigninOk() (*bool, bool) {
if o == nil || IsNil(o.DisableSignin) {
return nil, false
}
return o.DisableSignin, true
}
// HasDisableSignin returns a boolean if a field has been set.
func (o *IamApplication) HasDisableSignin() bool {
if o != nil && !IsNil(o.DisableSignin) {
return true
}
return false
}
// SetDisableSignin gets a reference to the given bool and assigns it to the DisableSignin field.
func (o *IamApplication) SetDisableSignin(v bool) {
o.DisableSignin = &v
}
// GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (o *IamApplication) GetDisplayName() string {
if o == nil || IsNil(o.DisplayName) {
var ret string
return ret
}
return *o.DisplayName
}
// GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetDisplayNameOk() (*string, bool) {
if o == nil || IsNil(o.DisplayName) {
return nil, false
}
return o.DisplayName, true
}
// HasDisplayName returns a boolean if a field has been set.
func (o *IamApplication) HasDisplayName() bool {
if o != nil && !IsNil(o.DisplayName) {
return true
}
return false
}
// SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (o *IamApplication) SetDisplayName(v string) {
o.DisplayName = &v
}
// GetDomain returns the Domain field value if set, zero value otherwise.
func (o *IamApplication) GetDomain() string {
if o == nil || IsNil(o.Domain) {
var ret string
return ret
}
return *o.Domain
}
// GetDomainOk returns a tuple with the Domain field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetDomainOk() (*string, bool) {
if o == nil || IsNil(o.Domain) {
return nil, false
}
return o.Domain, true
}
// HasDomain returns a boolean if a field has been set.
func (o *IamApplication) HasDomain() bool {
if o != nil && !IsNil(o.Domain) {
return true
}
return false
}
// SetDomain gets a reference to the given string and assigns it to the Domain field.
func (o *IamApplication) SetDomain(v string) {
o.Domain = &v
}
// GetEnableAutoSignin returns the EnableAutoSignin field value if set, zero value otherwise.
func (o *IamApplication) GetEnableAutoSignin() bool {
if o == nil || IsNil(o.EnableAutoSignin) {
var ret bool
return ret
}
return *o.EnableAutoSignin
}
// GetEnableAutoSigninOk returns a tuple with the EnableAutoSignin field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableAutoSigninOk() (*bool, bool) {
if o == nil || IsNil(o.EnableAutoSignin) {
return nil, false
}
return o.EnableAutoSignin, true
}
// HasEnableAutoSignin returns a boolean if a field has been set.
func (o *IamApplication) HasEnableAutoSignin() bool {
if o != nil && !IsNil(o.EnableAutoSignin) {
return true
}
return false
}
// SetEnableAutoSignin gets a reference to the given bool and assigns it to the EnableAutoSignin field.
func (o *IamApplication) SetEnableAutoSignin(v bool) {
o.EnableAutoSignin = &v
}
// GetEnableCodeSignin returns the EnableCodeSignin field value if set, zero value otherwise.
func (o *IamApplication) GetEnableCodeSignin() bool {
if o == nil || IsNil(o.EnableCodeSignin) {
var ret bool
return ret
}
return *o.EnableCodeSignin
}
// GetEnableCodeSigninOk returns a tuple with the EnableCodeSignin field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableCodeSigninOk() (*bool, bool) {
if o == nil || IsNil(o.EnableCodeSignin) {
return nil, false
}
return o.EnableCodeSignin, true
}
// HasEnableCodeSignin returns a boolean if a field has been set.
func (o *IamApplication) HasEnableCodeSignin() bool {
if o != nil && !IsNil(o.EnableCodeSignin) {
return true
}
return false
}
// SetEnableCodeSignin gets a reference to the given bool and assigns it to the EnableCodeSignin field.
func (o *IamApplication) SetEnableCodeSignin(v bool) {
o.EnableCodeSignin = &v
}
// GetEnableExclusiveSignin returns the EnableExclusiveSignin field value if set, zero value otherwise.
func (o *IamApplication) GetEnableExclusiveSignin() bool {
if o == nil || IsNil(o.EnableExclusiveSignin) {
var ret bool
return ret
}
return *o.EnableExclusiveSignin
}
// GetEnableExclusiveSigninOk returns a tuple with the EnableExclusiveSignin field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableExclusiveSigninOk() (*bool, bool) {
if o == nil || IsNil(o.EnableExclusiveSignin) {
return nil, false
}
return o.EnableExclusiveSignin, true
}
// HasEnableExclusiveSignin returns a boolean if a field has been set.
func (o *IamApplication) HasEnableExclusiveSignin() bool {
if o != nil && !IsNil(o.EnableExclusiveSignin) {
return true
}
return false
}
// SetEnableExclusiveSignin gets a reference to the given bool and assigns it to the EnableExclusiveSignin field.
func (o *IamApplication) SetEnableExclusiveSignin(v bool) {
o.EnableExclusiveSignin = &v
}
// GetEnableLinkWithEmail returns the EnableLinkWithEmail field value if set, zero value otherwise.
func (o *IamApplication) GetEnableLinkWithEmail() bool {
if o == nil || IsNil(o.EnableLinkWithEmail) {
var ret bool
return ret
}
return *o.EnableLinkWithEmail
}
// GetEnableLinkWithEmailOk returns a tuple with the EnableLinkWithEmail field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableLinkWithEmailOk() (*bool, bool) {
if o == nil || IsNil(o.EnableLinkWithEmail) {
return nil, false
}
return o.EnableLinkWithEmail, true
}
// HasEnableLinkWithEmail returns a boolean if a field has been set.
func (o *IamApplication) HasEnableLinkWithEmail() bool {
if o != nil && !IsNil(o.EnableLinkWithEmail) {
return true
}
return false
}
// SetEnableLinkWithEmail gets a reference to the given bool and assigns it to the EnableLinkWithEmail field.
func (o *IamApplication) SetEnableLinkWithEmail(v bool) {
o.EnableLinkWithEmail = &v
}
// GetEnablePassword returns the EnablePassword field value if set, zero value otherwise.
func (o *IamApplication) GetEnablePassword() bool {
if o == nil || IsNil(o.EnablePassword) {
var ret bool
return ret
}
return *o.EnablePassword
}
// GetEnablePasswordOk returns a tuple with the EnablePassword field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnablePasswordOk() (*bool, bool) {
if o == nil || IsNil(o.EnablePassword) {
return nil, false
}
return o.EnablePassword, true
}
// HasEnablePassword returns a boolean if a field has been set.
func (o *IamApplication) HasEnablePassword() bool {
if o != nil && !IsNil(o.EnablePassword) {
return true
}
return false
}
// SetEnablePassword gets a reference to the given bool and assigns it to the EnablePassword field.
func (o *IamApplication) SetEnablePassword(v bool) {
o.EnablePassword = &v
}
// GetEnableSamlAssertionSignature returns the EnableSamlAssertionSignature field value if set, zero value otherwise.
func (o *IamApplication) GetEnableSamlAssertionSignature() bool {
if o == nil || IsNil(o.EnableSamlAssertionSignature) {
var ret bool
return ret
}
return *o.EnableSamlAssertionSignature
}
// GetEnableSamlAssertionSignatureOk returns a tuple with the EnableSamlAssertionSignature field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableSamlAssertionSignatureOk() (*bool, bool) {
if o == nil || IsNil(o.EnableSamlAssertionSignature) {
return nil, false
}
return o.EnableSamlAssertionSignature, true
}
// HasEnableSamlAssertionSignature returns a boolean if a field has been set.
func (o *IamApplication) HasEnableSamlAssertionSignature() bool {
if o != nil && !IsNil(o.EnableSamlAssertionSignature) {
return true
}
return false
}
// SetEnableSamlAssertionSignature gets a reference to the given bool and assigns it to the EnableSamlAssertionSignature field.
func (o *IamApplication) SetEnableSamlAssertionSignature(v bool) {
o.EnableSamlAssertionSignature = &v
}
// GetEnableSamlC14n10 returns the EnableSamlC14n10 field value if set, zero value otherwise.
func (o *IamApplication) GetEnableSamlC14n10() bool {
if o == nil || IsNil(o.EnableSamlC14n10) {
var ret bool
return ret
}
return *o.EnableSamlC14n10
}
// GetEnableSamlC14n10Ok returns a tuple with the EnableSamlC14n10 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableSamlC14n10Ok() (*bool, bool) {
if o == nil || IsNil(o.EnableSamlC14n10) {
return nil, false
}
return o.EnableSamlC14n10, true
}
// HasEnableSamlC14n10 returns a boolean if a field has been set.
func (o *IamApplication) HasEnableSamlC14n10() bool {
if o != nil && !IsNil(o.EnableSamlC14n10) {
return true
}
return false
}
// SetEnableSamlC14n10 gets a reference to the given bool and assigns it to the EnableSamlC14n10 field.
func (o *IamApplication) SetEnableSamlC14n10(v bool) {
o.EnableSamlC14n10 = &v
}
// GetEnableSamlCompress returns the EnableSamlCompress field value if set, zero value otherwise.
func (o *IamApplication) GetEnableSamlCompress() bool {
if o == nil || IsNil(o.EnableSamlCompress) {
var ret bool
return ret
}
return *o.EnableSamlCompress
}
// GetEnableSamlCompressOk returns a tuple with the EnableSamlCompress field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableSamlCompressOk() (*bool, bool) {
if o == nil || IsNil(o.EnableSamlCompress) {
return nil, false
}
return o.EnableSamlCompress, true
}
// HasEnableSamlCompress returns a boolean if a field has been set.
func (o *IamApplication) HasEnableSamlCompress() bool {
if o != nil && !IsNil(o.EnableSamlCompress) {
return true
}
return false
}
// SetEnableSamlCompress gets a reference to the given bool and assigns it to the EnableSamlCompress field.
func (o *IamApplication) SetEnableSamlCompress(v bool) {
o.EnableSamlCompress = &v
}
// GetEnableSamlPostBinding returns the EnableSamlPostBinding field value if set, zero value otherwise.
func (o *IamApplication) GetEnableSamlPostBinding() bool {
if o == nil || IsNil(o.EnableSamlPostBinding) {
var ret bool
return ret
}
return *o.EnableSamlPostBinding
}
// GetEnableSamlPostBindingOk returns a tuple with the EnableSamlPostBinding field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableSamlPostBindingOk() (*bool, bool) {
if o == nil || IsNil(o.EnableSamlPostBinding) {
return nil, false
}
return o.EnableSamlPostBinding, true
}
// HasEnableSamlPostBinding returns a boolean if a field has been set.
func (o *IamApplication) HasEnableSamlPostBinding() bool {
if o != nil && !IsNil(o.EnableSamlPostBinding) {
return true
}
return false
}
// SetEnableSamlPostBinding gets a reference to the given bool and assigns it to the EnableSamlPostBinding field.
func (o *IamApplication) SetEnableSamlPostBinding(v bool) {
o.EnableSamlPostBinding = &v
}
// GetEnableSignUp returns the EnableSignUp field value if set, zero value otherwise.
func (o *IamApplication) GetEnableSignUp() bool {
if o == nil || IsNil(o.EnableSignUp) {
var ret bool
return ret
}
return *o.EnableSignUp
}
// GetEnableSignUpOk returns a tuple with the EnableSignUp field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableSignUpOk() (*bool, bool) {
if o == nil || IsNil(o.EnableSignUp) {
return nil, false
}
return o.EnableSignUp, true
}
// HasEnableSignUp returns a boolean if a field has been set.
func (o *IamApplication) HasEnableSignUp() bool {
if o != nil && !IsNil(o.EnableSignUp) {
return true
}
return false
}
// SetEnableSignUp gets a reference to the given bool and assigns it to the EnableSignUp field.
func (o *IamApplication) SetEnableSignUp(v bool) {
o.EnableSignUp = &v
}
// GetEnableSigninSession returns the EnableSigninSession field value if set, zero value otherwise.
func (o *IamApplication) GetEnableSigninSession() bool {
if o == nil || IsNil(o.EnableSigninSession) {
var ret bool
return ret
}
return *o.EnableSigninSession
}
// GetEnableSigninSessionOk returns a tuple with the EnableSigninSession field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableSigninSessionOk() (*bool, bool) {
if o == nil || IsNil(o.EnableSigninSession) {
return nil, false
}
return o.EnableSigninSession, true
}
// HasEnableSigninSession returns a boolean if a field has been set.
func (o *IamApplication) HasEnableSigninSession() bool {
if o != nil && !IsNil(o.EnableSigninSession) {
return true
}
return false
}
// SetEnableSigninSession gets a reference to the given bool and assigns it to the EnableSigninSession field.
func (o *IamApplication) SetEnableSigninSession(v bool) {
o.EnableSigninSession = &v
}
// GetEnableWebAuthn returns the EnableWebAuthn field value if set, zero value otherwise.
func (o *IamApplication) GetEnableWebAuthn() bool {
if o == nil || IsNil(o.EnableWebAuthn) {
var ret bool
return ret
}
return *o.EnableWebAuthn
}
// GetEnableWebAuthnOk returns a tuple with the EnableWebAuthn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnableWebAuthnOk() (*bool, bool) {
if o == nil || IsNil(o.EnableWebAuthn) {
return nil, false
}
return o.EnableWebAuthn, true
}
// HasEnableWebAuthn returns a boolean if a field has been set.
func (o *IamApplication) HasEnableWebAuthn() bool {
if o != nil && !IsNil(o.EnableWebAuthn) {
return true
}
return false
}
// SetEnableWebAuthn gets a reference to the given bool and assigns it to the EnableWebAuthn field.
func (o *IamApplication) SetEnableWebAuthn(v bool) {
o.EnableWebAuthn = &v
}
// GetEnvironment returns the Environment field value if set, zero value otherwise.
func (o *IamApplication) GetEnvironment() string {
if o == nil || IsNil(o.Environment) {
var ret string
return ret
}
return *o.Environment
}
// GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetEnvironmentOk() (*string, bool) {
if o == nil || IsNil(o.Environment) {
return nil, false
}
return o.Environment, true
}
// HasEnvironment returns a boolean if a field has been set.
func (o *IamApplication) HasEnvironment() bool {
if o != nil && !IsNil(o.Environment) {
return true
}
return false
}
// SetEnvironment gets a reference to the given string and assigns it to the Environment field.
func (o *IamApplication) SetEnvironment(v string) {
o.Environment = &v
}
// GetExpireInHours returns the ExpireInHours field value if set, zero value otherwise.
func (o *IamApplication) GetExpireInHours() float64 {
if o == nil || IsNil(o.ExpireInHours) {
var ret float64
return ret
}
return *o.ExpireInHours
}
// GetExpireInHoursOk returns a tuple with the ExpireInHours field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetExpireInHoursOk() (*float64, bool) {
if o == nil || IsNil(o.ExpireInHours) {
return nil, false
}
return o.ExpireInHours, true
}
// HasExpireInHours returns a boolean if a field has been set.
func (o *IamApplication) HasExpireInHours() bool {
if o != nil && !IsNil(o.ExpireInHours) {
return true
}
return false
}
// SetExpireInHours gets a reference to the given float64 and assigns it to the ExpireInHours field.
func (o *IamApplication) SetExpireInHours(v float64) {
o.ExpireInHours = &v
}
// GetFailedSigninFrozenTime returns the FailedSigninFrozenTime field value if set, zero value otherwise.
func (o *IamApplication) GetFailedSigninFrozenTime() int64 {
if o == nil || IsNil(o.FailedSigninFrozenTime) {
var ret int64
return ret
}
return *o.FailedSigninFrozenTime
}
// GetFailedSigninFrozenTimeOk returns a tuple with the FailedSigninFrozenTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetFailedSigninFrozenTimeOk() (*int64, bool) {
if o == nil || IsNil(o.FailedSigninFrozenTime) {
return nil, false
}
return o.FailedSigninFrozenTime, true
}
// HasFailedSigninFrozenTime returns a boolean if a field has been set.
func (o *IamApplication) HasFailedSigninFrozenTime() bool {
if o != nil && !IsNil(o.FailedSigninFrozenTime) {
return true
}
return false
}
// SetFailedSigninFrozenTime gets a reference to the given int64 and assigns it to the FailedSigninFrozenTime field.
func (o *IamApplication) SetFailedSigninFrozenTime(v int64) {
o.FailedSigninFrozenTime = &v
}
// GetFailedSigninLimit returns the FailedSigninLimit field value if set, zero value otherwise.
func (o *IamApplication) GetFailedSigninLimit() int64 {
if o == nil || IsNil(o.FailedSigninLimit) {
var ret int64
return ret
}
return *o.FailedSigninLimit
}
// GetFailedSigninLimitOk returns a tuple with the FailedSigninLimit field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetFailedSigninLimitOk() (*int64, bool) {
if o == nil || IsNil(o.FailedSigninLimit) {
return nil, false
}
return o.FailedSigninLimit, true
}
// HasFailedSigninLimit returns a boolean if a field has been set.
func (o *IamApplication) HasFailedSigninLimit() bool {
if o != nil && !IsNil(o.FailedSigninLimit) {
return true
}
return false
}
// SetFailedSigninLimit gets a reference to the given int64 and assigns it to the FailedSigninLimit field.
func (o *IamApplication) SetFailedSigninLimit(v int64) {
o.FailedSigninLimit = &v
}
// GetFavicon returns the Favicon field value if set, zero value otherwise.
func (o *IamApplication) GetFavicon() string {
if o == nil || IsNil(o.Favicon) {
var ret string
return ret
}
return *o.Favicon
}
// GetFaviconOk returns a tuple with the Favicon field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetFaviconOk() (*string, bool) {
if o == nil || IsNil(o.Favicon) {
return nil, false
}
return o.Favicon, true
}
// HasFavicon returns a boolean if a field has been set.
func (o *IamApplication) HasFavicon() bool {
if o != nil && !IsNil(o.Favicon) {
return true
}
return false
}
// SetFavicon gets a reference to the given string and assigns it to the Favicon field.
func (o *IamApplication) SetFavicon(v string) {
o.Favicon = &v
}
// GetFooterHtml returns the FooterHtml field value if set, zero value otherwise.
func (o *IamApplication) GetFooterHtml() string {
if o == nil || IsNil(o.FooterHtml) {
var ret string
return ret
}
return *o.FooterHtml
}
// GetFooterHtmlOk returns a tuple with the FooterHtml field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetFooterHtmlOk() (*string, bool) {
if o == nil || IsNil(o.FooterHtml) {
return nil, false
}
return o.FooterHtml, true
}
// HasFooterHtml returns a boolean if a field has been set.
func (o *IamApplication) HasFooterHtml() bool {
if o != nil && !IsNil(o.FooterHtml) {
return true
}
return false
}
// SetFooterHtml gets a reference to the given string and assigns it to the FooterHtml field.
func (o *IamApplication) SetFooterHtml(v string) {
o.FooterHtml = &v
}
// GetForcedRedirectOrigin returns the ForcedRedirectOrigin field value if set, zero value otherwise.
func (o *IamApplication) GetForcedRedirectOrigin() string {
if o == nil || IsNil(o.ForcedRedirectOrigin) {
var ret string
return ret
}
return *o.ForcedRedirectOrigin
}
// GetForcedRedirectOriginOk returns a tuple with the ForcedRedirectOrigin field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetForcedRedirectOriginOk() (*string, bool) {
if o == nil || IsNil(o.ForcedRedirectOrigin) {
return nil, false
}
return o.ForcedRedirectOrigin, true
}
// HasForcedRedirectOrigin returns a boolean if a field has been set.
func (o *IamApplication) HasForcedRedirectOrigin() bool {
if o != nil && !IsNil(o.ForcedRedirectOrigin) {
return true
}
return false
}
// SetForcedRedirectOrigin gets a reference to the given string and assigns it to the ForcedRedirectOrigin field.
func (o *IamApplication) SetForcedRedirectOrigin(v string) {
o.ForcedRedirectOrigin = &v
}
// GetForgetUrl returns the ForgetUrl field value if set, zero value otherwise.
func (o *IamApplication) GetForgetUrl() string {
if o == nil || IsNil(o.ForgetUrl) {
var ret string
return ret
}
return *o.ForgetUrl
}
// GetForgetUrlOk returns a tuple with the ForgetUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetForgetUrlOk() (*string, bool) {
if o == nil || IsNil(o.ForgetUrl) {
return nil, false
}
return o.ForgetUrl, true
}
// HasForgetUrl returns a boolean if a field has been set.
func (o *IamApplication) HasForgetUrl() bool {
if o != nil && !IsNil(o.ForgetUrl) {
return true
}
return false
}
// SetForgetUrl gets a reference to the given string and assigns it to the ForgetUrl field.
func (o *IamApplication) SetForgetUrl(v string) {
o.ForgetUrl = &v
}
// GetFormBackgroundUrl returns the FormBackgroundUrl field value if set, zero value otherwise.
func (o *IamApplication) GetFormBackgroundUrl() string {
if o == nil || IsNil(o.FormBackgroundUrl) {
var ret string
return ret
}
return *o.FormBackgroundUrl
}
// GetFormBackgroundUrlOk returns a tuple with the FormBackgroundUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetFormBackgroundUrlOk() (*string, bool) {
if o == nil || IsNil(o.FormBackgroundUrl) {
return nil, false
}
return o.FormBackgroundUrl, true
}
// HasFormBackgroundUrl returns a boolean if a field has been set.
func (o *IamApplication) HasFormBackgroundUrl() bool {
if o != nil && !IsNil(o.FormBackgroundUrl) {
return true
}
return false
}
// SetFormBackgroundUrl gets a reference to the given string and assigns it to the FormBackgroundUrl field.
func (o *IamApplication) SetFormBackgroundUrl(v string) {
o.FormBackgroundUrl = &v
}
// GetFormBackgroundUrlMobile returns the FormBackgroundUrlMobile field value if set, zero value otherwise.
func (o *IamApplication) GetFormBackgroundUrlMobile() string {
if o == nil || IsNil(o.FormBackgroundUrlMobile) {
var ret string
return ret
}
return *o.FormBackgroundUrlMobile
}
// GetFormBackgroundUrlMobileOk returns a tuple with the FormBackgroundUrlMobile field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetFormBackgroundUrlMobileOk() (*string, bool) {
if o == nil || IsNil(o.FormBackgroundUrlMobile) {
return nil, false
}
return o.FormBackgroundUrlMobile, true
}
// HasFormBackgroundUrlMobile returns a boolean if a field has been set.
func (o *IamApplication) HasFormBackgroundUrlMobile() bool {
if o != nil && !IsNil(o.FormBackgroundUrlMobile) {
return true
}
return false
}
// SetFormBackgroundUrlMobile gets a reference to the given string and assigns it to the FormBackgroundUrlMobile field.
func (o *IamApplication) SetFormBackgroundUrlMobile(v string) {
o.FormBackgroundUrlMobile = &v
}
// GetFormCss returns the FormCss field value if set, zero value otherwise.
func (o *IamApplication) GetFormCss() string {
if o == nil || IsNil(o.FormCss) {
var ret string
return ret
}
return *o.FormCss
}
// GetFormCssOk returns a tuple with the FormCss field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetFormCssOk() (*string, bool) {
if o == nil || IsNil(o.FormCss) {
return nil, false
}
return o.FormCss, true
}
// HasFormCss returns a boolean if a field has been set.
func (o *IamApplication) HasFormCss() bool {
if o != nil && !IsNil(o.FormCss) {
return true
}
return false
}
// SetFormCss gets a reference to the given string and assigns it to the FormCss field.
func (o *IamApplication) SetFormCss(v string) {
o.FormCss = &v
}
// GetFormCssMobile returns the FormCssMobile field value if set, zero value otherwise.
func (o *IamApplication) GetFormCssMobile() string {
if o == nil || IsNil(o.FormCssMobile) {
var ret string
return ret
}
return *o.FormCssMobile
}
// GetFormCssMobileOk returns a tuple with the FormCssMobile field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetFormCssMobileOk() (*string, bool) {
if o == nil || IsNil(o.FormCssMobile) {
return nil, false
}
return o.FormCssMobile, true
}
// HasFormCssMobile returns a boolean if a field has been set.
func (o *IamApplication) HasFormCssMobile() bool {
if o != nil && !IsNil(o.FormCssMobile) {
return true
}
return false
}
// SetFormCssMobile gets a reference to the given string and assigns it to the FormCssMobile field.
func (o *IamApplication) SetFormCssMobile(v string) {
o.FormCssMobile = &v
}
// GetFormOffset returns the FormOffset field value if set, zero value otherwise.
func (o *IamApplication) GetFormOffset() int64 {
if o == nil || IsNil(o.FormOffset) {
var ret int64
return ret
}
return *o.FormOffset
}
// GetFormOffsetOk returns a tuple with the FormOffset field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetFormOffsetOk() (*int64, bool) {
if o == nil || IsNil(o.FormOffset) {
return nil, false
}
return o.FormOffset, true
}
// HasFormOffset returns a boolean if a field has been set.
func (o *IamApplication) HasFormOffset() bool {
if o != nil && !IsNil(o.FormOffset) {
return true
}
return false
}
// SetFormOffset gets a reference to the given int64 and assigns it to the FormOffset field.
func (o *IamApplication) SetFormOffset(v int64) {
o.FormOffset = &v
}
// GetFormSideHtml returns the FormSideHtml field value if set, zero value otherwise.
func (o *IamApplication) GetFormSideHtml() string {
if o == nil || IsNil(o.FormSideHtml) {
var ret string
return ret
}
return *o.FormSideHtml
}
// GetFormSideHtmlOk returns a tuple with the FormSideHtml field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetFormSideHtmlOk() (*string, bool) {
if o == nil || IsNil(o.FormSideHtml) {
return nil, false
}
return o.FormSideHtml, true
}
// HasFormSideHtml returns a boolean if a field has been set.
func (o *IamApplication) HasFormSideHtml() bool {
if o != nil && !IsNil(o.FormSideHtml) {
return true
}
return false
}
// SetFormSideHtml gets a reference to the given string and assigns it to the FormSideHtml field.
func (o *IamApplication) SetFormSideHtml(v string) {
o.FormSideHtml = &v
}
// GetGrantTypes returns the GrantTypes field value if set, zero value otherwise.
func (o *IamApplication) GetGrantTypes() []string {
if o == nil || IsNil(o.GrantTypes) {
var ret []string
return ret
}
return o.GrantTypes
}
// GetGrantTypesOk returns a tuple with the GrantTypes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetGrantTypesOk() ([]string, bool) {
if o == nil || IsNil(o.GrantTypes) {
return nil, false
}
return o.GrantTypes, true
}
// HasGrantTypes returns a boolean if a field has been set.
func (o *IamApplication) HasGrantTypes() bool {
if o != nil && !IsNil(o.GrantTypes) {
return true
}
return false
}
// SetGrantTypes gets a reference to the given []string and assigns it to the GrantTypes field.
func (o *IamApplication) SetGrantTypes(v []string) {
o.GrantTypes = v
}
// GetHeaderHtml returns the HeaderHtml field value if set, zero value otherwise.
func (o *IamApplication) GetHeaderHtml() string {
if o == nil || IsNil(o.HeaderHtml) {
var ret string
return ret
}
return *o.HeaderHtml
}
// GetHeaderHtmlOk returns a tuple with the HeaderHtml field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetHeaderHtmlOk() (*string, bool) {
if o == nil || IsNil(o.HeaderHtml) {
return nil, false
}
return o.HeaderHtml, true
}
// HasHeaderHtml returns a boolean if a field has been set.
func (o *IamApplication) HasHeaderHtml() bool {
if o != nil && !IsNil(o.HeaderHtml) {
return true
}
return false
}
// SetHeaderHtml gets a reference to the given string and assigns it to the HeaderHtml field.
func (o *IamApplication) SetHeaderHtml(v string) {
o.HeaderHtml = &v
}
// GetHomepageUrl returns the HomepageUrl field value if set, zero value otherwise.
func (o *IamApplication) GetHomepageUrl() string {
if o == nil || IsNil(o.HomepageUrl) {
var ret string
return ret
}
return *o.HomepageUrl
}
// GetHomepageUrlOk returns a tuple with the HomepageUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetHomepageUrlOk() (*string, bool) {
if o == nil || IsNil(o.HomepageUrl) {
return nil, false
}
return o.HomepageUrl, true
}
// HasHomepageUrl returns a boolean if a field has been set.
func (o *IamApplication) HasHomepageUrl() bool {
if o != nil && !IsNil(o.HomepageUrl) {
return true
}
return false
}
// SetHomepageUrl gets a reference to the given string and assigns it to the HomepageUrl field.
func (o *IamApplication) SetHomepageUrl(v string) {
o.HomepageUrl = &v
}
// GetId returns the Id field value if set, zero value otherwise.
func (o *IamApplication) GetId() string {
if o == nil || IsNil(o.Id) {
var ret string
return ret
}
return *o.Id
}
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetIdOk() (*string, bool) {
if o == nil || IsNil(o.Id) {
return nil, false
}
return o.Id, true
}
// HasId returns a boolean if a field has been set.
func (o *IamApplication) HasId() bool {
if o != nil && !IsNil(o.Id) {
return true
}
return false
}
// SetId gets a reference to the given string and assigns it to the Id field.
func (o *IamApplication) SetId(v string) {
o.Id = &v
}
// GetIpRestriction returns the IpRestriction field value if set, zero value otherwise.
func (o *IamApplication) GetIpRestriction() string {
if o == nil || IsNil(o.IpRestriction) {
var ret string
return ret
}
return *o.IpRestriction
}
// GetIpRestrictionOk returns a tuple with the IpRestriction field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetIpRestrictionOk() (*string, bool) {
if o == nil || IsNil(o.IpRestriction) {
return nil, false
}
return o.IpRestriction, true
}
// HasIpRestriction returns a boolean if a field has been set.
func (o *IamApplication) HasIpRestriction() bool {
if o != nil && !IsNil(o.IpRestriction) {
return true
}
return false
}
// SetIpRestriction gets a reference to the given string and assigns it to the IpRestriction field.
func (o *IamApplication) SetIpRestriction(v string) {
o.IpRestriction = &v
}
// GetIpWhitelist returns the IpWhitelist field value if set, zero value otherwise.
func (o *IamApplication) GetIpWhitelist() string {
if o == nil || IsNil(o.IpWhitelist) {
var ret string
return ret
}
return *o.IpWhitelist
}
// GetIpWhitelistOk returns a tuple with the IpWhitelist field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetIpWhitelistOk() (*string, bool) {
if o == nil || IsNil(o.IpWhitelist) {
return nil, false
}
return o.IpWhitelist, true
}
// HasIpWhitelist returns a boolean if a field has been set.
func (o *IamApplication) HasIpWhitelist() bool {
if o != nil && !IsNil(o.IpWhitelist) {
return true
}
return false
}
// SetIpWhitelist gets a reference to the given string and assigns it to the IpWhitelist field.
func (o *IamApplication) SetIpWhitelist(v string) {
o.IpWhitelist = &v
}
// GetIsShared returns the IsShared field value if set, zero value otherwise.
func (o *IamApplication) GetIsShared() bool {
if o == nil || IsNil(o.IsShared) {
var ret bool
return ret
}
return *o.IsShared
}
// GetIsSharedOk returns a tuple with the IsShared field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetIsSharedOk() (*bool, bool) {
if o == nil || IsNil(o.IsShared) {
return nil, false
}
return o.IsShared, true
}
// HasIsShared returns a boolean if a field has been set.
func (o *IamApplication) HasIsShared() bool {
if o != nil && !IsNil(o.IsShared) {
return true
}
return false
}
// SetIsShared gets a reference to the given bool and assigns it to the IsShared field.
func (o *IamApplication) SetIsShared(v bool) {
o.IsShared = &v
}
// GetLogo returns the Logo field value if set, zero value otherwise.
func (o *IamApplication) GetLogo() string {
if o == nil || IsNil(o.Logo) {
var ret string
return ret
}
return *o.Logo
}
// GetLogoOk returns a tuple with the Logo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetLogoOk() (*string, bool) {
if o == nil || IsNil(o.Logo) {
return nil, false
}
return o.Logo, true
}
// HasLogo returns a boolean if a field has been set.
func (o *IamApplication) HasLogo() bool {
if o != nil && !IsNil(o.Logo) {
return true
}
return false
}
// SetLogo gets a reference to the given string and assigns it to the Logo field.
func (o *IamApplication) SetLogo(v string) {
o.Logo = &v
}
// GetName returns the Name field value if set, zero value otherwise.
func (o *IamApplication) GetName() string {
if o == nil || IsNil(o.Name) {
var ret string
return ret
}
return *o.Name
}
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetNameOk() (*string, bool) {
if o == nil || IsNil(o.Name) {
return nil, false
}
return o.Name, true
}
// HasName returns a boolean if a field has been set.
func (o *IamApplication) HasName() bool {
if o != nil && !IsNil(o.Name) {
return true
}
return false
}
// SetName gets a reference to the given string and assigns it to the Name field.
func (o *IamApplication) SetName(v string) {
o.Name = &v
}
// GetOrder returns the Order field value if set, zero value otherwise.
func (o *IamApplication) GetOrder() int64 {
if o == nil || IsNil(o.Order) {
var ret int64
return ret
}
return *o.Order
}
// GetOrderOk returns a tuple with the Order field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetOrderOk() (*int64, bool) {
if o == nil || IsNil(o.Order) {
return nil, false
}
return o.Order, true
}
// HasOrder returns a boolean if a field has been set.
func (o *IamApplication) HasOrder() bool {
if o != nil && !IsNil(o.Order) {
return true
}
return false
}
// SetOrder gets a reference to the given int64 and assigns it to the Order field.
func (o *IamApplication) SetOrder(v int64) {
o.Order = &v
}
// GetOrgChoiceMode returns the OrgChoiceMode field value if set, zero value otherwise.
func (o *IamApplication) GetOrgChoiceMode() string {
if o == nil || IsNil(o.OrgChoiceMode) {
var ret string
return ret
}
return *o.OrgChoiceMode
}
// GetOrgChoiceModeOk returns a tuple with the OrgChoiceMode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetOrgChoiceModeOk() (*string, bool) {
if o == nil || IsNil(o.OrgChoiceMode) {
return nil, false
}
return o.OrgChoiceMode, true
}
// HasOrgChoiceMode returns a boolean if a field has been set.
func (o *IamApplication) HasOrgChoiceMode() bool {
if o != nil && !IsNil(o.OrgChoiceMode) {
return true
}
return false
}
// SetOrgChoiceMode gets a reference to the given string and assigns it to the OrgChoiceMode field.
func (o *IamApplication) SetOrgChoiceMode(v string) {
o.OrgChoiceMode = &v
}
// GetOrganization returns the Organization field value if set, zero value otherwise.
func (o *IamApplication) GetOrganization() string {
if o == nil || IsNil(o.Organization) {
var ret string
return ret
}
return *o.Organization
}
// GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetOrganizationOk() (*string, bool) {
if o == nil || IsNil(o.Organization) {
return nil, false
}
return o.Organization, true
}
// HasOrganization returns a boolean if a field has been set.
func (o *IamApplication) HasOrganization() bool {
if o != nil && !IsNil(o.Organization) {
return true
}
return false
}
// SetOrganization gets a reference to the given string and assigns it to the Organization field.
func (o *IamApplication) SetOrganization(v string) {
o.Organization = &v
}
// GetOrganizationObj returns the OrganizationObj field value if set, zero value otherwise.
func (o *IamApplication) GetOrganizationObj() IamOrganization {
if o == nil || IsNil(o.OrganizationObj) {
var ret IamOrganization
return ret
}
return *o.OrganizationObj
}
// GetOrganizationObjOk returns a tuple with the OrganizationObj field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetOrganizationObjOk() (*IamOrganization, bool) {
if o == nil || IsNil(o.OrganizationObj) {
return nil, false
}
return o.OrganizationObj, true
}
// HasOrganizationObj returns a boolean if a field has been set.
func (o *IamApplication) HasOrganizationObj() bool {
if o != nil && !IsNil(o.OrganizationObj) {
return true
}
return false
}
// SetOrganizationObj gets a reference to the given IamOrganization and assigns it to the OrganizationObj field.
func (o *IamApplication) SetOrganizationObj(v IamOrganization) {
o.OrganizationObj = &v
}
// GetOtherDomains returns the OtherDomains field value if set, zero value otherwise.
func (o *IamApplication) GetOtherDomains() []string {
if o == nil || IsNil(o.OtherDomains) {
var ret []string
return ret
}
return o.OtherDomains
}
// GetOtherDomainsOk returns a tuple with the OtherDomains field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetOtherDomainsOk() ([]string, bool) {
if o == nil || IsNil(o.OtherDomains) {
return nil, false
}
return o.OtherDomains, true
}
// HasOtherDomains returns a boolean if a field has been set.
func (o *IamApplication) HasOtherDomains() bool {
if o != nil && !IsNil(o.OtherDomains) {
return true
}
return false
}
// SetOtherDomains gets a reference to the given []string and assigns it to the OtherDomains field.
func (o *IamApplication) SetOtherDomains(v []string) {
o.OtherDomains = v
}
// GetOwner returns the Owner field value if set, zero value otherwise.
func (o *IamApplication) GetOwner() string {
if o == nil || IsNil(o.Owner) {
var ret string
return ret
}
return *o.Owner
}
// GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetOwnerOk() (*string, bool) {
if o == nil || IsNil(o.Owner) {
return nil, false
}
return o.Owner, true
}
// HasOwner returns a boolean if a field has been set.
func (o *IamApplication) HasOwner() bool {
if o != nil && !IsNil(o.Owner) {
return true
}
return false
}
// SetOwner gets a reference to the given string and assigns it to the Owner field.
func (o *IamApplication) SetOwner(v string) {
o.Owner = &v
}
// GetPlatform returns the Platform field value if set, zero value otherwise.
func (o *IamApplication) GetPlatform() bool {
if o == nil || IsNil(o.Platform) {
var ret bool
return ret
}
return *o.Platform
}
// GetPlatformOk returns a tuple with the Platform field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetPlatformOk() (*bool, bool) {
if o == nil || IsNil(o.Platform) {
return nil, false
}
return o.Platform, true
}
// HasPlatform returns a boolean if a field has been set.
func (o *IamApplication) HasPlatform() bool {
if o != nil && !IsNil(o.Platform) {
return true
}
return false
}
// SetPlatform gets a reference to the given bool and assigns it to the Platform field.
func (o *IamApplication) SetPlatform(v bool) {
o.Platform = &v
}
// GetProject returns the Project field value if set, zero value otherwise.
func (o *IamApplication) GetProject() string {
if o == nil || IsNil(o.Project) {
var ret string
return ret
}
return *o.Project
}
// GetProjectOk returns a tuple with the Project field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetProjectOk() (*string, bool) {
if o == nil || IsNil(o.Project) {
return nil, false
}
return o.Project, true
}
// HasProject returns a boolean if a field has been set.
func (o *IamApplication) HasProject() bool {
if o != nil && !IsNil(o.Project) {
return true
}
return false
}
// SetProject gets a reference to the given string and assigns it to the Project field.
func (o *IamApplication) SetProject(v string) {
o.Project = &v
}
// GetProviders returns the Providers field value if set, zero value otherwise.
func (o *IamApplication) GetProviders() []IamProviderItem {
if o == nil || IsNil(o.Providers) {
var ret []IamProviderItem
return ret
}
return o.Providers
}
// GetProvidersOk returns a tuple with the Providers field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetProvidersOk() ([]IamProviderItem, bool) {
if o == nil || IsNil(o.Providers) {
return nil, false
}
return o.Providers, true
}
// HasProviders returns a boolean if a field has been set.
func (o *IamApplication) HasProviders() bool {
if o != nil && !IsNil(o.Providers) {
return true
}
return false
}
// SetProviders gets a reference to the given []IamProviderItem and assigns it to the Providers field.
func (o *IamApplication) SetProviders(v []IamProviderItem) {
o.Providers = v
}
// GetRedirectUris returns the RedirectUris field value if set, zero value otherwise.
func (o *IamApplication) GetRedirectUris() []string {
if o == nil || IsNil(o.RedirectUris) {
var ret []string
return ret
}
return o.RedirectUris
}
// GetRedirectUrisOk returns a tuple with the RedirectUris field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetRedirectUrisOk() ([]string, bool) {
if o == nil || IsNil(o.RedirectUris) {
return nil, false
}
return o.RedirectUris, true
}
// HasRedirectUris returns a boolean if a field has been set.
func (o *IamApplication) HasRedirectUris() bool {
if o != nil && !IsNil(o.RedirectUris) {
return true
}
return false
}
// SetRedirectUris gets a reference to the given []string and assigns it to the RedirectUris field.
func (o *IamApplication) SetRedirectUris(v []string) {
o.RedirectUris = v
}
// GetRefreshExpireInHours returns the RefreshExpireInHours field value if set, zero value otherwise.
func (o *IamApplication) GetRefreshExpireInHours() float64 {
if o == nil || IsNil(o.RefreshExpireInHours) {
var ret float64
return ret
}
return *o.RefreshExpireInHours
}
// GetRefreshExpireInHoursOk returns a tuple with the RefreshExpireInHours field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetRefreshExpireInHoursOk() (*float64, bool) {
if o == nil || IsNil(o.RefreshExpireInHours) {
return nil, false
}
return o.RefreshExpireInHours, true
}
// HasRefreshExpireInHours returns a boolean if a field has been set.
func (o *IamApplication) HasRefreshExpireInHours() bool {
if o != nil && !IsNil(o.RefreshExpireInHours) {
return true
}
return false
}
// SetRefreshExpireInHours gets a reference to the given float64 and assigns it to the RefreshExpireInHours field.
func (o *IamApplication) SetRefreshExpireInHours(v float64) {
o.RefreshExpireInHours = &v
}
// GetSamlAttributes returns the SamlAttributes field value if set, zero value otherwise.
func (o *IamApplication) GetSamlAttributes() []IamSamlItem {
if o == nil || IsNil(o.SamlAttributes) {
var ret []IamSamlItem
return ret
}
return o.SamlAttributes
}
// GetSamlAttributesOk returns a tuple with the SamlAttributes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSamlAttributesOk() ([]IamSamlItem, bool) {
if o == nil || IsNil(o.SamlAttributes) {
return nil, false
}
return o.SamlAttributes, true
}
// HasSamlAttributes returns a boolean if a field has been set.
func (o *IamApplication) HasSamlAttributes() bool {
if o != nil && !IsNil(o.SamlAttributes) {
return true
}
return false
}
// SetSamlAttributes gets a reference to the given []IamSamlItem and assigns it to the SamlAttributes field.
func (o *IamApplication) SetSamlAttributes(v []IamSamlItem) {
o.SamlAttributes = v
}
// GetSamlHashAlgorithm returns the SamlHashAlgorithm field value if set, zero value otherwise.
func (o *IamApplication) GetSamlHashAlgorithm() string {
if o == nil || IsNil(o.SamlHashAlgorithm) {
var ret string
return ret
}
return *o.SamlHashAlgorithm
}
// GetSamlHashAlgorithmOk returns a tuple with the SamlHashAlgorithm field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSamlHashAlgorithmOk() (*string, bool) {
if o == nil || IsNil(o.SamlHashAlgorithm) {
return nil, false
}
return o.SamlHashAlgorithm, true
}
// HasSamlHashAlgorithm returns a boolean if a field has been set.
func (o *IamApplication) HasSamlHashAlgorithm() bool {
if o != nil && !IsNil(o.SamlHashAlgorithm) {
return true
}
return false
}
// SetSamlHashAlgorithm gets a reference to the given string and assigns it to the SamlHashAlgorithm field.
func (o *IamApplication) SetSamlHashAlgorithm(v string) {
o.SamlHashAlgorithm = &v
}
// GetSamlReplyUrl returns the SamlReplyUrl field value if set, zero value otherwise.
func (o *IamApplication) GetSamlReplyUrl() string {
if o == nil || IsNil(o.SamlReplyUrl) {
var ret string
return ret
}
return *o.SamlReplyUrl
}
// GetSamlReplyUrlOk returns a tuple with the SamlReplyUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSamlReplyUrlOk() (*string, bool) {
if o == nil || IsNil(o.SamlReplyUrl) {
return nil, false
}
return o.SamlReplyUrl, true
}
// HasSamlReplyUrl returns a boolean if a field has been set.
func (o *IamApplication) HasSamlReplyUrl() bool {
if o != nil && !IsNil(o.SamlReplyUrl) {
return true
}
return false
}
// SetSamlReplyUrl gets a reference to the given string and assigns it to the SamlReplyUrl field.
func (o *IamApplication) SetSamlReplyUrl(v string) {
o.SamlReplyUrl = &v
}
// GetScopes returns the Scopes field value if set, zero value otherwise.
func (o *IamApplication) GetScopes() []IamScopeItem {
if o == nil || IsNil(o.Scopes) {
var ret []IamScopeItem
return ret
}
return o.Scopes
}
// GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetScopesOk() ([]IamScopeItem, bool) {
if o == nil || IsNil(o.Scopes) {
return nil, false
}
return o.Scopes, true
}
// HasScopes returns a boolean if a field has been set.
func (o *IamApplication) HasScopes() bool {
if o != nil && !IsNil(o.Scopes) {
return true
}
return false
}
// SetScopes gets a reference to the given []IamScopeItem and assigns it to the Scopes field.
func (o *IamApplication) SetScopes(v []IamScopeItem) {
o.Scopes = v
}
// GetSigninHtml returns the SigninHtml field value if set, zero value otherwise.
func (o *IamApplication) GetSigninHtml() string {
if o == nil || IsNil(o.SigninHtml) {
var ret string
return ret
}
return *o.SigninHtml
}
// GetSigninHtmlOk returns a tuple with the SigninHtml field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSigninHtmlOk() (*string, bool) {
if o == nil || IsNil(o.SigninHtml) {
return nil, false
}
return o.SigninHtml, true
}
// HasSigninHtml returns a boolean if a field has been set.
func (o *IamApplication) HasSigninHtml() bool {
if o != nil && !IsNil(o.SigninHtml) {
return true
}
return false
}
// SetSigninHtml gets a reference to the given string and assigns it to the SigninHtml field.
func (o *IamApplication) SetSigninHtml(v string) {
o.SigninHtml = &v
}
// GetSigninItems returns the SigninItems field value if set, zero value otherwise.
func (o *IamApplication) GetSigninItems() []IamSigninItem {
if o == nil || IsNil(o.SigninItems) {
var ret []IamSigninItem
return ret
}
return o.SigninItems
}
// GetSigninItemsOk returns a tuple with the SigninItems field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSigninItemsOk() ([]IamSigninItem, bool) {
if o == nil || IsNil(o.SigninItems) {
return nil, false
}
return o.SigninItems, true
}
// HasSigninItems returns a boolean if a field has been set.
func (o *IamApplication) HasSigninItems() bool {
if o != nil && !IsNil(o.SigninItems) {
return true
}
return false
}
// SetSigninItems gets a reference to the given []IamSigninItem and assigns it to the SigninItems field.
func (o *IamApplication) SetSigninItems(v []IamSigninItem) {
o.SigninItems = v
}
// GetSigninMethods returns the SigninMethods field value if set, zero value otherwise.
func (o *IamApplication) GetSigninMethods() []IamSigninMethod {
if o == nil || IsNil(o.SigninMethods) {
var ret []IamSigninMethod
return ret
}
return o.SigninMethods
}
// GetSigninMethodsOk returns a tuple with the SigninMethods field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSigninMethodsOk() ([]IamSigninMethod, bool) {
if o == nil || IsNil(o.SigninMethods) {
return nil, false
}
return o.SigninMethods, true
}
// HasSigninMethods returns a boolean if a field has been set.
func (o *IamApplication) HasSigninMethods() bool {
if o != nil && !IsNil(o.SigninMethods) {
return true
}
return false
}
// SetSigninMethods gets a reference to the given []IamSigninMethod and assigns it to the SigninMethods field.
func (o *IamApplication) SetSigninMethods(v []IamSigninMethod) {
o.SigninMethods = v
}
// GetSigninUrl returns the SigninUrl field value if set, zero value otherwise.
func (o *IamApplication) GetSigninUrl() string {
if o == nil || IsNil(o.SigninUrl) {
var ret string
return ret
}
return *o.SigninUrl
}
// GetSigninUrlOk returns a tuple with the SigninUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSigninUrlOk() (*string, bool) {
if o == nil || IsNil(o.SigninUrl) {
return nil, false
}
return o.SigninUrl, true
}
// HasSigninUrl returns a boolean if a field has been set.
func (o *IamApplication) HasSigninUrl() bool {
if o != nil && !IsNil(o.SigninUrl) {
return true
}
return false
}
// SetSigninUrl gets a reference to the given string and assigns it to the SigninUrl field.
func (o *IamApplication) SetSigninUrl(v string) {
o.SigninUrl = &v
}
// GetSignupHtml returns the SignupHtml field value if set, zero value otherwise.
func (o *IamApplication) GetSignupHtml() string {
if o == nil || IsNil(o.SignupHtml) {
var ret string
return ret
}
return *o.SignupHtml
}
// GetSignupHtmlOk returns a tuple with the SignupHtml field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSignupHtmlOk() (*string, bool) {
if o == nil || IsNil(o.SignupHtml) {
return nil, false
}
return o.SignupHtml, true
}
// HasSignupHtml returns a boolean if a field has been set.
func (o *IamApplication) HasSignupHtml() bool {
if o != nil && !IsNil(o.SignupHtml) {
return true
}
return false
}
// SetSignupHtml gets a reference to the given string and assigns it to the SignupHtml field.
func (o *IamApplication) SetSignupHtml(v string) {
o.SignupHtml = &v
}
// GetSignupItems returns the SignupItems field value if set, zero value otherwise.
func (o *IamApplication) GetSignupItems() []IamSignupItem {
if o == nil || IsNil(o.SignupItems) {
var ret []IamSignupItem
return ret
}
return o.SignupItems
}
// GetSignupItemsOk returns a tuple with the SignupItems field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSignupItemsOk() ([]IamSignupItem, bool) {
if o == nil || IsNil(o.SignupItems) {
return nil, false
}
return o.SignupItems, true
}
// HasSignupItems returns a boolean if a field has been set.
func (o *IamApplication) HasSignupItems() bool {
if o != nil && !IsNil(o.SignupItems) {
return true
}
return false
}
// SetSignupItems gets a reference to the given []IamSignupItem and assigns it to the SignupItems field.
func (o *IamApplication) SetSignupItems(v []IamSignupItem) {
o.SignupItems = v
}
// GetSignupUrl returns the SignupUrl field value if set, zero value otherwise.
func (o *IamApplication) GetSignupUrl() string {
if o == nil || IsNil(o.SignupUrl) {
var ret string
return ret
}
return *o.SignupUrl
}
// GetSignupUrlOk returns a tuple with the SignupUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSignupUrlOk() (*string, bool) {
if o == nil || IsNil(o.SignupUrl) {
return nil, false
}
return o.SignupUrl, true
}
// HasSignupUrl returns a boolean if a field has been set.
func (o *IamApplication) HasSignupUrl() bool {
if o != nil && !IsNil(o.SignupUrl) {
return true
}
return false
}
// SetSignupUrl gets a reference to the given string and assigns it to the SignupUrl field.
func (o *IamApplication) SetSignupUrl(v string) {
o.SignupUrl = &v
}
// GetSslCert returns the SslCert field value if set, zero value otherwise.
func (o *IamApplication) GetSslCert() string {
if o == nil || IsNil(o.SslCert) {
var ret string
return ret
}
return *o.SslCert
}
// GetSslCertOk returns a tuple with the SslCert field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSslCertOk() (*string, bool) {
if o == nil || IsNil(o.SslCert) {
return nil, false
}
return o.SslCert, true
}
// HasSslCert returns a boolean if a field has been set.
func (o *IamApplication) HasSslCert() bool {
if o != nil && !IsNil(o.SslCert) {
return true
}
return false
}
// SetSslCert gets a reference to the given string and assigns it to the SslCert field.
func (o *IamApplication) SetSslCert(v string) {
o.SslCert = &v
}
// GetSslMode returns the SslMode field value if set, zero value otherwise.
func (o *IamApplication) GetSslMode() string {
if o == nil || IsNil(o.SslMode) {
var ret string
return ret
}
return *o.SslMode
}
// GetSslModeOk returns a tuple with the SslMode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetSslModeOk() (*string, bool) {
if o == nil || IsNil(o.SslMode) {
return nil, false
}
return o.SslMode, true
}
// HasSslMode returns a boolean if a field has been set.
func (o *IamApplication) HasSslMode() bool {
if o != nil && !IsNil(o.SslMode) {
return true
}
return false
}
// SetSslMode gets a reference to the given string and assigns it to the SslMode field.
func (o *IamApplication) SetSslMode(v string) {
o.SslMode = &v
}
// GetTags returns the Tags field value if set, zero value otherwise.
func (o *IamApplication) GetTags() []string {
if o == nil || IsNil(o.Tags) {
var ret []string
return ret
}
return o.Tags
}
// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetTagsOk() ([]string, bool) {
if o == nil || IsNil(o.Tags) {
return nil, false
}
return o.Tags, true
}
// HasTags returns a boolean if a field has been set.
func (o *IamApplication) HasTags() bool {
if o != nil && !IsNil(o.Tags) {
return true
}
return false
}
// SetTags gets a reference to the given []string and assigns it to the Tags field.
func (o *IamApplication) SetTags(v []string) {
o.Tags = v
}
// GetTermsOfUse returns the TermsOfUse field value if set, zero value otherwise.
func (o *IamApplication) GetTermsOfUse() string {
if o == nil || IsNil(o.TermsOfUse) {
var ret string
return ret
}
return *o.TermsOfUse
}
// GetTermsOfUseOk returns a tuple with the TermsOfUse field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetTermsOfUseOk() (*string, bool) {
if o == nil || IsNil(o.TermsOfUse) {
return nil, false
}
return o.TermsOfUse, true
}
// HasTermsOfUse returns a boolean if a field has been set.
func (o *IamApplication) HasTermsOfUse() bool {
if o != nil && !IsNil(o.TermsOfUse) {
return true
}
return false
}
// SetTermsOfUse gets a reference to the given string and assigns it to the TermsOfUse field.
func (o *IamApplication) SetTermsOfUse(v string) {
o.TermsOfUse = &v
}
// GetThemeData returns the ThemeData field value if set, zero value otherwise.
func (o *IamApplication) GetThemeData() IamThemeData {
if o == nil || IsNil(o.ThemeData) {
var ret IamThemeData
return ret
}
return *o.ThemeData
}
// GetThemeDataOk returns a tuple with the ThemeData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetThemeDataOk() (*IamThemeData, bool) {
if o == nil || IsNil(o.ThemeData) {
return nil, false
}
return o.ThemeData, true
}
// HasThemeData returns a boolean if a field has been set.
func (o *IamApplication) HasThemeData() bool {
if o != nil && !IsNil(o.ThemeData) {
return true
}
return false
}
// SetThemeData gets a reference to the given IamThemeData and assigns it to the ThemeData field.
func (o *IamApplication) SetThemeData(v IamThemeData) {
o.ThemeData = &v
}
// GetTitle returns the Title field value if set, zero value otherwise.
func (o *IamApplication) GetTitle() string {
if o == nil || IsNil(o.Title) {
var ret string
return ret
}
return *o.Title
}
// GetTitleOk returns a tuple with the Title field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetTitleOk() (*string, bool) {
if o == nil || IsNil(o.Title) {
return nil, false
}
return o.Title, true
}
// HasTitle returns a boolean if a field has been set.
func (o *IamApplication) HasTitle() bool {
if o != nil && !IsNil(o.Title) {
return true
}
return false
}
// SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *IamApplication) SetTitle(v string) {
o.Title = &v
}
// GetTokenAttributes returns the TokenAttributes field value if set, zero value otherwise.
func (o *IamApplication) GetTokenAttributes() []IamJwtItem {
if o == nil || IsNil(o.TokenAttributes) {
var ret []IamJwtItem
return ret
}
return o.TokenAttributes
}
// GetTokenAttributesOk returns a tuple with the TokenAttributes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetTokenAttributesOk() ([]IamJwtItem, bool) {
if o == nil || IsNil(o.TokenAttributes) {
return nil, false
}
return o.TokenAttributes, true
}
// HasTokenAttributes returns a boolean if a field has been set.
func (o *IamApplication) HasTokenAttributes() bool {
if o != nil && !IsNil(o.TokenAttributes) {
return true
}
return false
}
// SetTokenAttributes gets a reference to the given []IamJwtItem and assigns it to the TokenAttributes field.
func (o *IamApplication) SetTokenAttributes(v []IamJwtItem) {
o.TokenAttributes = v
}
// GetTokenFields returns the TokenFields field value if set, zero value otherwise.
func (o *IamApplication) GetTokenFields() []string {
if o == nil || IsNil(o.TokenFields) {
var ret []string
return ret
}
return o.TokenFields
}
// GetTokenFieldsOk returns a tuple with the TokenFields field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetTokenFieldsOk() ([]string, bool) {
if o == nil || IsNil(o.TokenFields) {
return nil, false
}
return o.TokenFields, true
}
// HasTokenFields returns a boolean if a field has been set.
func (o *IamApplication) HasTokenFields() bool {
if o != nil && !IsNil(o.TokenFields) {
return true
}
return false
}
// SetTokenFields gets a reference to the given []string and assigns it to the TokenFields field.
func (o *IamApplication) SetTokenFields(v []string) {
o.TokenFields = v
}
// GetTokenFormat returns the TokenFormat field value if set, zero value otherwise.
func (o *IamApplication) GetTokenFormat() string {
if o == nil || IsNil(o.TokenFormat) {
var ret string
return ret
}
return *o.TokenFormat
}
// GetTokenFormatOk returns a tuple with the TokenFormat field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetTokenFormatOk() (*string, bool) {
if o == nil || IsNil(o.TokenFormat) {
return nil, false
}
return o.TokenFormat, true
}
// HasTokenFormat returns a boolean if a field has been set.
func (o *IamApplication) HasTokenFormat() bool {
if o != nil && !IsNil(o.TokenFormat) {
return true
}
return false
}
// SetTokenFormat gets a reference to the given string and assigns it to the TokenFormat field.
func (o *IamApplication) SetTokenFormat(v string) {
o.TokenFormat = &v
}
// GetTokenSigningMethod returns the TokenSigningMethod field value if set, zero value otherwise.
func (o *IamApplication) GetTokenSigningMethod() string {
if o == nil || IsNil(o.TokenSigningMethod) {
var ret string
return ret
}
return *o.TokenSigningMethod
}
// GetTokenSigningMethodOk returns a tuple with the TokenSigningMethod field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetTokenSigningMethodOk() (*string, bool) {
if o == nil || IsNil(o.TokenSigningMethod) {
return nil, false
}
return o.TokenSigningMethod, true
}
// HasTokenSigningMethod returns a boolean if a field has been set.
func (o *IamApplication) HasTokenSigningMethod() bool {
if o != nil && !IsNil(o.TokenSigningMethod) {
return true
}
return false
}
// SetTokenSigningMethod gets a reference to the given string and assigns it to the TokenSigningMethod field.
func (o *IamApplication) SetTokenSigningMethod(v string) {
o.TokenSigningMethod = &v
}
// GetType returns the Type field value if set, zero value otherwise.
func (o *IamApplication) GetType() string {
if o == nil || IsNil(o.Type) {
var ret string
return ret
}
return *o.Type
}
// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetTypeOk() (*string, bool) {
if o == nil || IsNil(o.Type) {
return nil, false
}
return o.Type, true
}
// HasType returns a boolean if a field has been set.
func (o *IamApplication) HasType() bool {
if o != nil && !IsNil(o.Type) {
return true
}
return false
}
// SetType gets a reference to the given string and assigns it to the Type field.
func (o *IamApplication) SetType(v string) {
o.Type = &v
}
// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (o *IamApplication) GetUpdatedAt() time.Time {
if o == nil || IsNil(o.UpdatedAt) {
var ret time.Time
return ret
}
return *o.UpdatedAt
}
// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetUpdatedAtOk() (*time.Time, bool) {
if o == nil || IsNil(o.UpdatedAt) {
return nil, false
}
return o.UpdatedAt, true
}
// HasUpdatedAt returns a boolean if a field has been set.
func (o *IamApplication) HasUpdatedAt() bool {
if o != nil && !IsNil(o.UpdatedAt) {
return true
}
return false
}
// SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (o *IamApplication) SetUpdatedAt(v time.Time) {
o.UpdatedAt = &v
}
// GetUpstreamHost returns the UpstreamHost field value if set, zero value otherwise.
func (o *IamApplication) GetUpstreamHost() string {
if o == nil || IsNil(o.UpstreamHost) {
var ret string
return ret
}
return *o.UpstreamHost
}
// GetUpstreamHostOk returns a tuple with the UpstreamHost field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetUpstreamHostOk() (*string, bool) {
if o == nil || IsNil(o.UpstreamHost) {
return nil, false
}
return o.UpstreamHost, true
}
// HasUpstreamHost returns a boolean if a field has been set.
func (o *IamApplication) HasUpstreamHost() bool {
if o != nil && !IsNil(o.UpstreamHost) {
return true
}
return false
}
// SetUpstreamHost gets a reference to the given string and assigns it to the UpstreamHost field.
func (o *IamApplication) SetUpstreamHost(v string) {
o.UpstreamHost = &v
}
// GetUseEmailAsSamlNameId returns the UseEmailAsSamlNameId field value if set, zero value otherwise.
func (o *IamApplication) GetUseEmailAsSamlNameId() bool {
if o == nil || IsNil(o.UseEmailAsSamlNameId) {
var ret bool
return ret
}
return *o.UseEmailAsSamlNameId
}
// GetUseEmailAsSamlNameIdOk returns a tuple with the UseEmailAsSamlNameId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamApplication) GetUseEmailAsSamlNameIdOk() (*bool, bool) {
if o == nil || IsNil(o.UseEmailAsSamlNameId) {
return nil, false
}
return o.UseEmailAsSamlNameId, true
}
// HasUseEmailAsSamlNameId returns a boolean if a field has been set.
func (o *IamApplication) HasUseEmailAsSamlNameId() bool {
if o != nil && !IsNil(o.UseEmailAsSamlNameId) {
return true
}
return false
}
// SetUseEmailAsSamlNameId gets a reference to the given bool and assigns it to the UseEmailAsSamlNameId field.
func (o *IamApplication) SetUseEmailAsSamlNameId(v bool) {
o.UseEmailAsSamlNameId = &v
}
func (o IamApplication) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o IamApplication) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.AffiliationUrl) {
toSerialize["affiliationUrl"] = o.AffiliationUrl
}
if !IsNil(o.Category) {
toSerialize["category"] = o.Category
}
if !IsNil(o.Cert) {
toSerialize["cert"] = o.Cert
}
if !IsNil(o.CertObj) {
toSerialize["certObj"] = o.CertObj
}
if !IsNil(o.CertPublicKey) {
toSerialize["certPublicKey"] = o.CertPublicKey
}
if !IsNil(o.ClientCert) {
toSerialize["clientCert"] = o.ClientCert
}
if !IsNil(o.ClientId) {
toSerialize["clientId"] = o.ClientId
}
if !IsNil(o.ClientSecret) {
toSerialize["clientSecret"] = o.ClientSecret
}
if !IsNil(o.CodeResendTimeout) {
toSerialize["codeResendTimeout"] = o.CodeResendTimeout
}
if !IsNil(o.CookieExpireInHours) {
toSerialize["cookieExpireInHours"] = o.CookieExpireInHours
}
if !IsNil(o.CreatedAt) {
toSerialize["createdAt"] = o.CreatedAt
}
if !IsNil(o.CreatedTime) {
toSerialize["createdTime"] = o.CreatedTime
}
if !IsNil(o.CustomScopes) {
toSerialize["customScopes"] = o.CustomScopes
}
if !IsNil(o.DefaultGroup) {
toSerialize["defaultGroup"] = o.DefaultGroup
}
if !IsNil(o.Deleted) {
toSerialize["deleted"] = o.Deleted
}
if !IsNil(o.Description) {
toSerialize["description"] = o.Description
}
if !IsNil(o.DisableSamlAttributes) {
toSerialize["disableSamlAttributes"] = o.DisableSamlAttributes
}
if !IsNil(o.DisableSignin) {
toSerialize["disableSignin"] = o.DisableSignin
}
if !IsNil(o.DisplayName) {
toSerialize["displayName"] = o.DisplayName
}
if !IsNil(o.Domain) {
toSerialize["domain"] = o.Domain
}
if !IsNil(o.EnableAutoSignin) {
toSerialize["enableAutoSignin"] = o.EnableAutoSignin
}
if !IsNil(o.EnableCodeSignin) {
toSerialize["enableCodeSignin"] = o.EnableCodeSignin
}
if !IsNil(o.EnableExclusiveSignin) {
toSerialize["enableExclusiveSignin"] = o.EnableExclusiveSignin
}
if !IsNil(o.EnableLinkWithEmail) {
toSerialize["enableLinkWithEmail"] = o.EnableLinkWithEmail
}
if !IsNil(o.EnablePassword) {
toSerialize["enablePassword"] = o.EnablePassword
}
if !IsNil(o.EnableSamlAssertionSignature) {
toSerialize["enableSamlAssertionSignature"] = o.EnableSamlAssertionSignature
}
if !IsNil(o.EnableSamlC14n10) {
toSerialize["enableSamlC14n10"] = o.EnableSamlC14n10
}
if !IsNil(o.EnableSamlCompress) {
toSerialize["enableSamlCompress"] = o.EnableSamlCompress
}
if !IsNil(o.EnableSamlPostBinding) {
toSerialize["enableSamlPostBinding"] = o.EnableSamlPostBinding
}
if !IsNil(o.EnableSignUp) {
toSerialize["enableSignUp"] = o.EnableSignUp
}
if !IsNil(o.EnableSigninSession) {
toSerialize["enableSigninSession"] = o.EnableSigninSession
}
if !IsNil(o.EnableWebAuthn) {
toSerialize["enableWebAuthn"] = o.EnableWebAuthn
}
if !IsNil(o.Environment) {
toSerialize["environment"] = o.Environment
}
if !IsNil(o.ExpireInHours) {
toSerialize["expireInHours"] = o.ExpireInHours
}
if !IsNil(o.FailedSigninFrozenTime) {
toSerialize["failedSigninFrozenTime"] = o.FailedSigninFrozenTime
}
if !IsNil(o.FailedSigninLimit) {
toSerialize["failedSigninLimit"] = o.FailedSigninLimit
}
if !IsNil(o.Favicon) {
toSerialize["favicon"] = o.Favicon
}
if !IsNil(o.FooterHtml) {
toSerialize["footerHtml"] = o.FooterHtml
}
if !IsNil(o.ForcedRedirectOrigin) {
toSerialize["forcedRedirectOrigin"] = o.ForcedRedirectOrigin
}
if !IsNil(o.ForgetUrl) {
toSerialize["forgetUrl"] = o.ForgetUrl
}
if !IsNil(o.FormBackgroundUrl) {
toSerialize["formBackgroundUrl"] = o.FormBackgroundUrl
}
if !IsNil(o.FormBackgroundUrlMobile) {
toSerialize["formBackgroundUrlMobile"] = o.FormBackgroundUrlMobile
}
if !IsNil(o.FormCss) {
toSerialize["formCss"] = o.FormCss
}
if !IsNil(o.FormCssMobile) {
toSerialize["formCssMobile"] = o.FormCssMobile
}
if !IsNil(o.FormOffset) {
toSerialize["formOffset"] = o.FormOffset
}
if !IsNil(o.FormSideHtml) {
toSerialize["formSideHtml"] = o.FormSideHtml
}
if !IsNil(o.GrantTypes) {
toSerialize["grantTypes"] = o.GrantTypes
}
if !IsNil(o.HeaderHtml) {
toSerialize["headerHtml"] = o.HeaderHtml
}
if !IsNil(o.HomepageUrl) {
toSerialize["homepageUrl"] = o.HomepageUrl
}
if !IsNil(o.Id) {
toSerialize["id"] = o.Id
}
if !IsNil(o.IpRestriction) {
toSerialize["ipRestriction"] = o.IpRestriction
}
if !IsNil(o.IpWhitelist) {
toSerialize["ipWhitelist"] = o.IpWhitelist
}
if !IsNil(o.IsShared) {
toSerialize["isShared"] = o.IsShared
}
if !IsNil(o.Logo) {
toSerialize["logo"] = o.Logo
}
if !IsNil(o.Name) {
toSerialize["name"] = o.Name
}
if !IsNil(o.Order) {
toSerialize["order"] = o.Order
}
if !IsNil(o.OrgChoiceMode) {
toSerialize["orgChoiceMode"] = o.OrgChoiceMode
}
if !IsNil(o.Organization) {
toSerialize["organization"] = o.Organization
}
if !IsNil(o.OrganizationObj) {
toSerialize["organizationObj"] = o.OrganizationObj
}
if !IsNil(o.OtherDomains) {
toSerialize["otherDomains"] = o.OtherDomains
}
if !IsNil(o.Owner) {
toSerialize["owner"] = o.Owner
}
if !IsNil(o.Platform) {
toSerialize["platform"] = o.Platform
}
if !IsNil(o.Project) {
toSerialize["project"] = o.Project
}
if !IsNil(o.Providers) {
toSerialize["providers"] = o.Providers
}
if !IsNil(o.RedirectUris) {
toSerialize["redirectUris"] = o.RedirectUris
}
if !IsNil(o.RefreshExpireInHours) {
toSerialize["refreshExpireInHours"] = o.RefreshExpireInHours
}
if !IsNil(o.SamlAttributes) {
toSerialize["samlAttributes"] = o.SamlAttributes
}
if !IsNil(o.SamlHashAlgorithm) {
toSerialize["samlHashAlgorithm"] = o.SamlHashAlgorithm
}
if !IsNil(o.SamlReplyUrl) {
toSerialize["samlReplyUrl"] = o.SamlReplyUrl
}
if !IsNil(o.Scopes) {
toSerialize["scopes"] = o.Scopes
}
if !IsNil(o.SigninHtml) {
toSerialize["signinHtml"] = o.SigninHtml
}
if !IsNil(o.SigninItems) {
toSerialize["signinItems"] = o.SigninItems
}
if !IsNil(o.SigninMethods) {
toSerialize["signinMethods"] = o.SigninMethods
}
if !IsNil(o.SigninUrl) {
toSerialize["signinUrl"] = o.SigninUrl
}
if !IsNil(o.SignupHtml) {
toSerialize["signupHtml"] = o.SignupHtml
}
if !IsNil(o.SignupItems) {
toSerialize["signupItems"] = o.SignupItems
}
if !IsNil(o.SignupUrl) {
toSerialize["signupUrl"] = o.SignupUrl
}
if !IsNil(o.SslCert) {
toSerialize["sslCert"] = o.SslCert
}
if !IsNil(o.SslMode) {
toSerialize["sslMode"] = o.SslMode
}
if !IsNil(o.Tags) {
toSerialize["tags"] = o.Tags
}
if !IsNil(o.TermsOfUse) {
toSerialize["termsOfUse"] = o.TermsOfUse
}
if !IsNil(o.ThemeData) {
toSerialize["themeData"] = o.ThemeData
}
if !IsNil(o.Title) {
toSerialize["title"] = o.Title
}
if !IsNil(o.TokenAttributes) {
toSerialize["tokenAttributes"] = o.TokenAttributes
}
if !IsNil(o.TokenFields) {
toSerialize["tokenFields"] = o.TokenFields
}
if !IsNil(o.TokenFormat) {
toSerialize["tokenFormat"] = o.TokenFormat
}
if !IsNil(o.TokenSigningMethod) {
toSerialize["tokenSigningMethod"] = o.TokenSigningMethod
}
if !IsNil(o.Type) {
toSerialize["type"] = o.Type
}
if !IsNil(o.UpdatedAt) {
toSerialize["updatedAt"] = o.UpdatedAt
}
if !IsNil(o.UpstreamHost) {
toSerialize["upstreamHost"] = o.UpstreamHost
}
if !IsNil(o.UseEmailAsSamlNameId) {
toSerialize["useEmailAsSamlNameId"] = o.UseEmailAsSamlNameId
}
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
return toSerialize, nil
}
func (o *IamApplication) UnmarshalJSON(data []byte) (err error) {
varIamApplication := _IamApplication{}
err = json.Unmarshal(data, &varIamApplication)
if err != nil {
return err
}
*o = IamApplication(varIamApplication)
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(data, &additionalProperties); err == nil {
delete(additionalProperties, "affiliationUrl")
delete(additionalProperties, "category")
delete(additionalProperties, "cert")
delete(additionalProperties, "certObj")
delete(additionalProperties, "certPublicKey")
delete(additionalProperties, "clientCert")
delete(additionalProperties, "clientId")
delete(additionalProperties, "clientSecret")
delete(additionalProperties, "codeResendTimeout")
delete(additionalProperties, "cookieExpireInHours")
delete(additionalProperties, "createdAt")
delete(additionalProperties, "createdTime")
delete(additionalProperties, "customScopes")
delete(additionalProperties, "defaultGroup")
delete(additionalProperties, "deleted")
delete(additionalProperties, "description")
delete(additionalProperties, "disableSamlAttributes")
delete(additionalProperties, "disableSignin")
delete(additionalProperties, "displayName")
delete(additionalProperties, "domain")
delete(additionalProperties, "enableAutoSignin")
delete(additionalProperties, "enableCodeSignin")
delete(additionalProperties, "enableExclusiveSignin")
delete(additionalProperties, "enableLinkWithEmail")
delete(additionalProperties, "enablePassword")
delete(additionalProperties, "enableSamlAssertionSignature")
delete(additionalProperties, "enableSamlC14n10")
delete(additionalProperties, "enableSamlCompress")
delete(additionalProperties, "enableSamlPostBinding")
delete(additionalProperties, "enableSignUp")
delete(additionalProperties, "enableSigninSession")
delete(additionalProperties, "enableWebAuthn")
delete(additionalProperties, "environment")
delete(additionalProperties, "expireInHours")
delete(additionalProperties, "failedSigninFrozenTime")
delete(additionalProperties, "failedSigninLimit")
delete(additionalProperties, "favicon")
delete(additionalProperties, "footerHtml")
delete(additionalProperties, "forcedRedirectOrigin")
delete(additionalProperties, "forgetUrl")
delete(additionalProperties, "formBackgroundUrl")
delete(additionalProperties, "formBackgroundUrlMobile")
delete(additionalProperties, "formCss")
delete(additionalProperties, "formCssMobile")
delete(additionalProperties, "formOffset")
delete(additionalProperties, "formSideHtml")
delete(additionalProperties, "grantTypes")
delete(additionalProperties, "headerHtml")
delete(additionalProperties, "homepageUrl")
delete(additionalProperties, "id")
delete(additionalProperties, "ipRestriction")
delete(additionalProperties, "ipWhitelist")
delete(additionalProperties, "isShared")
delete(additionalProperties, "logo")
delete(additionalProperties, "name")
delete(additionalProperties, "order")
delete(additionalProperties, "orgChoiceMode")
delete(additionalProperties, "organization")
delete(additionalProperties, "organizationObj")
delete(additionalProperties, "otherDomains")
delete(additionalProperties, "owner")
delete(additionalProperties, "platform")
delete(additionalProperties, "project")
delete(additionalProperties, "providers")
delete(additionalProperties, "redirectUris")
delete(additionalProperties, "refreshExpireInHours")
delete(additionalProperties, "samlAttributes")
delete(additionalProperties, "samlHashAlgorithm")
delete(additionalProperties, "samlReplyUrl")
delete(additionalProperties, "scopes")
delete(additionalProperties, "signinHtml")
delete(additionalProperties, "signinItems")
delete(additionalProperties, "signinMethods")
delete(additionalProperties, "signinUrl")
delete(additionalProperties, "signupHtml")
delete(additionalProperties, "signupItems")
delete(additionalProperties, "signupUrl")
delete(additionalProperties, "sslCert")
delete(additionalProperties, "sslMode")
delete(additionalProperties, "tags")
delete(additionalProperties, "termsOfUse")
delete(additionalProperties, "themeData")
delete(additionalProperties, "title")
delete(additionalProperties, "tokenAttributes")
delete(additionalProperties, "tokenFields")
delete(additionalProperties, "tokenFormat")
delete(additionalProperties, "tokenSigningMethod")
delete(additionalProperties, "type")
delete(additionalProperties, "updatedAt")
delete(additionalProperties, "upstreamHost")
delete(additionalProperties, "useEmailAsSamlNameId")
o.AdditionalProperties = additionalProperties
}
return err
}
type NullableIamApplication struct {
value *IamApplication
isSet bool
}
func (v NullableIamApplication) Get() *IamApplication {
return v.value
}
func (v *NullableIamApplication) Set(val *IamApplication) {
v.value = val
v.isSet = true
}
func (v NullableIamApplication) IsSet() bool {
return v.isSet
}
func (v *NullableIamApplication) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableIamApplication(val *IamApplication) *NullableIamApplication {
return &NullableIamApplication{value: val, isSet: true}
}
func (v NullableIamApplication) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableIamApplication) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}