Files
sdk/model_iam_organization.go

2418 lines
71 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 IamOrganization type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &IamOrganization{}
// IamOrganization struct for IamOrganization
type IamOrganization struct {
AccountItems []IamAccountItem `json:"accountItems,omitempty"`
AccountMenu *string `json:"accountMenu,omitempty"`
// How the organization appears across Hanzo — the square mark beside its name — as an image or as one emoji, never both. It is the pair a person carries (User.Avatar) under the same names, resolved the same way, so a screen draws a subject without asking which kind of subject it has. Both halves live on the row: a mark that appears everywhere cannot be kept on one device. Written through schema.MarkOf; Logo and LogoDark above are a different thing, the wordmark a login screen draws.
Avatar *string `json:"avatar,omitempty"`
BalanceCredit *float64 `json:"balanceCredit,omitempty"`
BalanceCurrency *string `json:"balanceCurrency,omitempty"`
CountryCodes []string `json:"countryCodes,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
CreatedTime *string `json:"createdTime,omitempty"`
DcrPolicy *string `json:"dcrPolicy,omitempty"`
DefaultApplication *string `json:"defaultApplication,omitempty"`
DefaultAvatar *string `json:"defaultAvatar,omitempty"`
DefaultPassword *string `json:"defaultPassword,omitempty"`
Deleted *bool `json:"deleted,omitempty"`
DisableSignin *bool `json:"disableSignin,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Emoji *string `json:"emoji,omitempty"`
EnableSoftDeletion *bool `json:"enableSoftDeletion,omitempty"`
EnableTour *bool `json:"enableTour,omitempty"`
FailedSigninFrozenTime *int64 `json:"failedSigninFrozenTime,omitempty"`
// Per-organization signin throttle. Zero means \"inherit the application default\"; a non-zero value overrides it. Safe bounds are clamped by the resource service before persistence.
FailedSigninLimit *int64 `json:"failedSigninLimit,omitempty"`
Favicon *string `json:"favicon,omitempty"`
// Founder is the stable storage id of the identity that provisioned this org (self-service onboarding). It is the resume token that makes provisioning converge on a backend where each write autocommits independently (no transaction rollback): after a partial failure that created the org but did not move the founder in, a retry recognises the org as the founder's own and completes it, instead of refusing it as \"already taken\". It also fences the org to ONE tenant — a different identity can never complete or join it.
Founder *string `json:"founder,omitempty"`
HasPrivilegeConsent *bool `json:"hasPrivilegeConsent,omitempty"`
// Persisted fields
Id *string `json:"id,omitempty"`
InitScore *int64 `json:"initScore,omitempty"`
IpRestriction *string `json:"ipRestriction,omitempty"`
IpWhitelist *string `json:"ipWhitelist,omitempty"`
IsPersonal *bool `json:"isPersonal,omitempty"`
IsProfilePublic *bool `json:"isProfilePublic,omitempty"`
KerberosKdcHost *string `json:"kerberosKdcHost,omitempty"`
KerberosKeytab *string `json:"kerberosKeytab,omitempty"`
KerberosRealm *string `json:"kerberosRealm,omitempty"`
KerberosServiceName *string `json:"kerberosServiceName,omitempty"`
Languages []string `json:"languages,omitempty"`
LdapAttributes []string `json:"ldapAttributes,omitempty"`
Logo *string `json:"logo,omitempty"`
LogoDark *string `json:"logoDark,omitempty"`
MasterPassword *string `json:"masterPassword,omitempty"`
MasterVerificationCode *string `json:"masterVerificationCode,omitempty"`
MfaItems []IamMfaItem `json:"mfaItems,omitempty"`
MfaRememberInHours *int64 `json:"mfaRememberInHours,omitempty"`
Name *string `json:"name,omitempty"`
NavItems []string `json:"navItems,omitempty"`
// Balance fields are read-only mirrors; authoritative balances live in Commerce (billing.hanzo.ai). Carried for field-complete v1 parity.
OrgBalance *float64 `json:"orgBalance,omitempty"`
Owner *string `json:"owner,omitempty"`
PasswordExpireDays *int64 `json:"passwordExpireDays,omitempty"`
PasswordObfuscatorKey *string `json:"passwordObfuscatorKey,omitempty"`
PasswordObfuscatorType *string `json:"passwordObfuscatorType,omitempty"`
PasswordOptions []string `json:"passwordOptions,omitempty"`
PasswordSalt *string `json:"passwordSalt,omitempty"`
PasswordType *string `json:"passwordType,omitempty"`
// Platform marks an organization the platform itself declares (init_data.json): the brand orgs and the others the seed creates, never one a customer made. The seed stamps it on every declared organization at boot, and no request sets or clears it. Only a SuperAdmin may delete an organization that carries it.
Platform *bool `json:"platform,omitempty"`
Tags []string `json:"tags,omitempty"`
ThemeData *IamThemeData `json:"themeData,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
UseEmailAsUsername *bool `json:"useEmailAsUsername,omitempty"`
UsePermanentAvatar *bool `json:"usePermanentAvatar,omitempty"`
UserBalance *float64 `json:"userBalance,omitempty"`
UserNavItems []string `json:"userNavItems,omitempty"`
UserTypes []string `json:"userTypes,omitempty"`
WebsiteUrl *string `json:"websiteUrl,omitempty"`
WidgetItems []string `json:"widgetItems,omitempty"`
AdditionalProperties map[string]interface{}
}
type _IamOrganization IamOrganization
// NewIamOrganization instantiates a new IamOrganization 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 NewIamOrganization() *IamOrganization {
this := IamOrganization{}
return &this
}
// NewIamOrganizationWithDefaults instantiates a new IamOrganization 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 NewIamOrganizationWithDefaults() *IamOrganization {
this := IamOrganization{}
return &this
}
// GetAccountItems returns the AccountItems field value if set, zero value otherwise.
func (o *IamOrganization) GetAccountItems() []IamAccountItem {
if o == nil || IsNil(o.AccountItems) {
var ret []IamAccountItem
return ret
}
return o.AccountItems
}
// GetAccountItemsOk returns a tuple with the AccountItems field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetAccountItemsOk() ([]IamAccountItem, bool) {
if o == nil || IsNil(o.AccountItems) {
return nil, false
}
return o.AccountItems, true
}
// HasAccountItems returns a boolean if a field has been set.
func (o *IamOrganization) HasAccountItems() bool {
if o != nil && !IsNil(o.AccountItems) {
return true
}
return false
}
// SetAccountItems gets a reference to the given []IamAccountItem and assigns it to the AccountItems field.
func (o *IamOrganization) SetAccountItems(v []IamAccountItem) {
o.AccountItems = v
}
// GetAccountMenu returns the AccountMenu field value if set, zero value otherwise.
func (o *IamOrganization) GetAccountMenu() string {
if o == nil || IsNil(o.AccountMenu) {
var ret string
return ret
}
return *o.AccountMenu
}
// GetAccountMenuOk returns a tuple with the AccountMenu field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetAccountMenuOk() (*string, bool) {
if o == nil || IsNil(o.AccountMenu) {
return nil, false
}
return o.AccountMenu, true
}
// HasAccountMenu returns a boolean if a field has been set.
func (o *IamOrganization) HasAccountMenu() bool {
if o != nil && !IsNil(o.AccountMenu) {
return true
}
return false
}
// SetAccountMenu gets a reference to the given string and assigns it to the AccountMenu field.
func (o *IamOrganization) SetAccountMenu(v string) {
o.AccountMenu = &v
}
// GetAvatar returns the Avatar field value if set, zero value otherwise.
func (o *IamOrganization) GetAvatar() string {
if o == nil || IsNil(o.Avatar) {
var ret string
return ret
}
return *o.Avatar
}
// GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetAvatarOk() (*string, bool) {
if o == nil || IsNil(o.Avatar) {
return nil, false
}
return o.Avatar, true
}
// HasAvatar returns a boolean if a field has been set.
func (o *IamOrganization) HasAvatar() bool {
if o != nil && !IsNil(o.Avatar) {
return true
}
return false
}
// SetAvatar gets a reference to the given string and assigns it to the Avatar field.
func (o *IamOrganization) SetAvatar(v string) {
o.Avatar = &v
}
// GetBalanceCredit returns the BalanceCredit field value if set, zero value otherwise.
func (o *IamOrganization) GetBalanceCredit() float64 {
if o == nil || IsNil(o.BalanceCredit) {
var ret float64
return ret
}
return *o.BalanceCredit
}
// GetBalanceCreditOk returns a tuple with the BalanceCredit field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetBalanceCreditOk() (*float64, bool) {
if o == nil || IsNil(o.BalanceCredit) {
return nil, false
}
return o.BalanceCredit, true
}
// HasBalanceCredit returns a boolean if a field has been set.
func (o *IamOrganization) HasBalanceCredit() bool {
if o != nil && !IsNil(o.BalanceCredit) {
return true
}
return false
}
// SetBalanceCredit gets a reference to the given float64 and assigns it to the BalanceCredit field.
func (o *IamOrganization) SetBalanceCredit(v float64) {
o.BalanceCredit = &v
}
// GetBalanceCurrency returns the BalanceCurrency field value if set, zero value otherwise.
func (o *IamOrganization) GetBalanceCurrency() string {
if o == nil || IsNil(o.BalanceCurrency) {
var ret string
return ret
}
return *o.BalanceCurrency
}
// GetBalanceCurrencyOk returns a tuple with the BalanceCurrency field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetBalanceCurrencyOk() (*string, bool) {
if o == nil || IsNil(o.BalanceCurrency) {
return nil, false
}
return o.BalanceCurrency, true
}
// HasBalanceCurrency returns a boolean if a field has been set.
func (o *IamOrganization) HasBalanceCurrency() bool {
if o != nil && !IsNil(o.BalanceCurrency) {
return true
}
return false
}
// SetBalanceCurrency gets a reference to the given string and assigns it to the BalanceCurrency field.
func (o *IamOrganization) SetBalanceCurrency(v string) {
o.BalanceCurrency = &v
}
// GetCountryCodes returns the CountryCodes field value if set, zero value otherwise.
func (o *IamOrganization) GetCountryCodes() []string {
if o == nil || IsNil(o.CountryCodes) {
var ret []string
return ret
}
return o.CountryCodes
}
// GetCountryCodesOk returns a tuple with the CountryCodes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetCountryCodesOk() ([]string, bool) {
if o == nil || IsNil(o.CountryCodes) {
return nil, false
}
return o.CountryCodes, true
}
// HasCountryCodes returns a boolean if a field has been set.
func (o *IamOrganization) HasCountryCodes() bool {
if o != nil && !IsNil(o.CountryCodes) {
return true
}
return false
}
// SetCountryCodes gets a reference to the given []string and assigns it to the CountryCodes field.
func (o *IamOrganization) SetCountryCodes(v []string) {
o.CountryCodes = v
}
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetCreatedAt(v time.Time) {
o.CreatedAt = &v
}
// GetCreatedTime returns the CreatedTime field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetCreatedTime(v string) {
o.CreatedTime = &v
}
// GetDcrPolicy returns the DcrPolicy field value if set, zero value otherwise.
func (o *IamOrganization) GetDcrPolicy() string {
if o == nil || IsNil(o.DcrPolicy) {
var ret string
return ret
}
return *o.DcrPolicy
}
// GetDcrPolicyOk returns a tuple with the DcrPolicy field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetDcrPolicyOk() (*string, bool) {
if o == nil || IsNil(o.DcrPolicy) {
return nil, false
}
return o.DcrPolicy, true
}
// HasDcrPolicy returns a boolean if a field has been set.
func (o *IamOrganization) HasDcrPolicy() bool {
if o != nil && !IsNil(o.DcrPolicy) {
return true
}
return false
}
// SetDcrPolicy gets a reference to the given string and assigns it to the DcrPolicy field.
func (o *IamOrganization) SetDcrPolicy(v string) {
o.DcrPolicy = &v
}
// GetDefaultApplication returns the DefaultApplication field value if set, zero value otherwise.
func (o *IamOrganization) GetDefaultApplication() string {
if o == nil || IsNil(o.DefaultApplication) {
var ret string
return ret
}
return *o.DefaultApplication
}
// GetDefaultApplicationOk returns a tuple with the DefaultApplication field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetDefaultApplicationOk() (*string, bool) {
if o == nil || IsNil(o.DefaultApplication) {
return nil, false
}
return o.DefaultApplication, true
}
// HasDefaultApplication returns a boolean if a field has been set.
func (o *IamOrganization) HasDefaultApplication() bool {
if o != nil && !IsNil(o.DefaultApplication) {
return true
}
return false
}
// SetDefaultApplication gets a reference to the given string and assigns it to the DefaultApplication field.
func (o *IamOrganization) SetDefaultApplication(v string) {
o.DefaultApplication = &v
}
// GetDefaultAvatar returns the DefaultAvatar field value if set, zero value otherwise.
func (o *IamOrganization) GetDefaultAvatar() string {
if o == nil || IsNil(o.DefaultAvatar) {
var ret string
return ret
}
return *o.DefaultAvatar
}
// GetDefaultAvatarOk returns a tuple with the DefaultAvatar field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetDefaultAvatarOk() (*string, bool) {
if o == nil || IsNil(o.DefaultAvatar) {
return nil, false
}
return o.DefaultAvatar, true
}
// HasDefaultAvatar returns a boolean if a field has been set.
func (o *IamOrganization) HasDefaultAvatar() bool {
if o != nil && !IsNil(o.DefaultAvatar) {
return true
}
return false
}
// SetDefaultAvatar gets a reference to the given string and assigns it to the DefaultAvatar field.
func (o *IamOrganization) SetDefaultAvatar(v string) {
o.DefaultAvatar = &v
}
// GetDefaultPassword returns the DefaultPassword field value if set, zero value otherwise.
func (o *IamOrganization) GetDefaultPassword() string {
if o == nil || IsNil(o.DefaultPassword) {
var ret string
return ret
}
return *o.DefaultPassword
}
// GetDefaultPasswordOk returns a tuple with the DefaultPassword field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetDefaultPasswordOk() (*string, bool) {
if o == nil || IsNil(o.DefaultPassword) {
return nil, false
}
return o.DefaultPassword, true
}
// HasDefaultPassword returns a boolean if a field has been set.
func (o *IamOrganization) HasDefaultPassword() bool {
if o != nil && !IsNil(o.DefaultPassword) {
return true
}
return false
}
// SetDefaultPassword gets a reference to the given string and assigns it to the DefaultPassword field.
func (o *IamOrganization) SetDefaultPassword(v string) {
o.DefaultPassword = &v
}
// GetDeleted returns the Deleted field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetDeleted(v bool) {
o.Deleted = &v
}
// GetDisableSignin returns the DisableSignin field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetDisableSignin(v bool) {
o.DisableSignin = &v
}
// GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetDisplayName(v string) {
o.DisplayName = &v
}
// GetEmoji returns the Emoji field value if set, zero value otherwise.
func (o *IamOrganization) GetEmoji() string {
if o == nil || IsNil(o.Emoji) {
var ret string
return ret
}
return *o.Emoji
}
// GetEmojiOk returns a tuple with the Emoji field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetEmojiOk() (*string, bool) {
if o == nil || IsNil(o.Emoji) {
return nil, false
}
return o.Emoji, true
}
// HasEmoji returns a boolean if a field has been set.
func (o *IamOrganization) HasEmoji() bool {
if o != nil && !IsNil(o.Emoji) {
return true
}
return false
}
// SetEmoji gets a reference to the given string and assigns it to the Emoji field.
func (o *IamOrganization) SetEmoji(v string) {
o.Emoji = &v
}
// GetEnableSoftDeletion returns the EnableSoftDeletion field value if set, zero value otherwise.
func (o *IamOrganization) GetEnableSoftDeletion() bool {
if o == nil || IsNil(o.EnableSoftDeletion) {
var ret bool
return ret
}
return *o.EnableSoftDeletion
}
// GetEnableSoftDeletionOk returns a tuple with the EnableSoftDeletion field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetEnableSoftDeletionOk() (*bool, bool) {
if o == nil || IsNil(o.EnableSoftDeletion) {
return nil, false
}
return o.EnableSoftDeletion, true
}
// HasEnableSoftDeletion returns a boolean if a field has been set.
func (o *IamOrganization) HasEnableSoftDeletion() bool {
if o != nil && !IsNil(o.EnableSoftDeletion) {
return true
}
return false
}
// SetEnableSoftDeletion gets a reference to the given bool and assigns it to the EnableSoftDeletion field.
func (o *IamOrganization) SetEnableSoftDeletion(v bool) {
o.EnableSoftDeletion = &v
}
// GetEnableTour returns the EnableTour field value if set, zero value otherwise.
func (o *IamOrganization) GetEnableTour() bool {
if o == nil || IsNil(o.EnableTour) {
var ret bool
return ret
}
return *o.EnableTour
}
// GetEnableTourOk returns a tuple with the EnableTour field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetEnableTourOk() (*bool, bool) {
if o == nil || IsNil(o.EnableTour) {
return nil, false
}
return o.EnableTour, true
}
// HasEnableTour returns a boolean if a field has been set.
func (o *IamOrganization) HasEnableTour() bool {
if o != nil && !IsNil(o.EnableTour) {
return true
}
return false
}
// SetEnableTour gets a reference to the given bool and assigns it to the EnableTour field.
func (o *IamOrganization) SetEnableTour(v bool) {
o.EnableTour = &v
}
// GetFailedSigninFrozenTime returns the FailedSigninFrozenTime field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetFailedSigninFrozenTime(v int64) {
o.FailedSigninFrozenTime = &v
}
// GetFailedSigninLimit returns the FailedSigninLimit field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetFailedSigninLimit(v int64) {
o.FailedSigninLimit = &v
}
// GetFavicon returns the Favicon field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetFavicon(v string) {
o.Favicon = &v
}
// GetFounder returns the Founder field value if set, zero value otherwise.
func (o *IamOrganization) GetFounder() string {
if o == nil || IsNil(o.Founder) {
var ret string
return ret
}
return *o.Founder
}
// GetFounderOk returns a tuple with the Founder field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetFounderOk() (*string, bool) {
if o == nil || IsNil(o.Founder) {
return nil, false
}
return o.Founder, true
}
// HasFounder returns a boolean if a field has been set.
func (o *IamOrganization) HasFounder() bool {
if o != nil && !IsNil(o.Founder) {
return true
}
return false
}
// SetFounder gets a reference to the given string and assigns it to the Founder field.
func (o *IamOrganization) SetFounder(v string) {
o.Founder = &v
}
// GetHasPrivilegeConsent returns the HasPrivilegeConsent field value if set, zero value otherwise.
func (o *IamOrganization) GetHasPrivilegeConsent() bool {
if o == nil || IsNil(o.HasPrivilegeConsent) {
var ret bool
return ret
}
return *o.HasPrivilegeConsent
}
// GetHasPrivilegeConsentOk returns a tuple with the HasPrivilegeConsent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetHasPrivilegeConsentOk() (*bool, bool) {
if o == nil || IsNil(o.HasPrivilegeConsent) {
return nil, false
}
return o.HasPrivilegeConsent, true
}
// HasHasPrivilegeConsent returns a boolean if a field has been set.
func (o *IamOrganization) HasHasPrivilegeConsent() bool {
if o != nil && !IsNil(o.HasPrivilegeConsent) {
return true
}
return false
}
// SetHasPrivilegeConsent gets a reference to the given bool and assigns it to the HasPrivilegeConsent field.
func (o *IamOrganization) SetHasPrivilegeConsent(v bool) {
o.HasPrivilegeConsent = &v
}
// GetId returns the Id field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetId(v string) {
o.Id = &v
}
// GetInitScore returns the InitScore field value if set, zero value otherwise.
func (o *IamOrganization) GetInitScore() int64 {
if o == nil || IsNil(o.InitScore) {
var ret int64
return ret
}
return *o.InitScore
}
// GetInitScoreOk returns a tuple with the InitScore field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetInitScoreOk() (*int64, bool) {
if o == nil || IsNil(o.InitScore) {
return nil, false
}
return o.InitScore, true
}
// HasInitScore returns a boolean if a field has been set.
func (o *IamOrganization) HasInitScore() bool {
if o != nil && !IsNil(o.InitScore) {
return true
}
return false
}
// SetInitScore gets a reference to the given int64 and assigns it to the InitScore field.
func (o *IamOrganization) SetInitScore(v int64) {
o.InitScore = &v
}
// GetIpRestriction returns the IpRestriction field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetIpRestriction(v string) {
o.IpRestriction = &v
}
// GetIpWhitelist returns the IpWhitelist field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetIpWhitelist(v string) {
o.IpWhitelist = &v
}
// GetIsPersonal returns the IsPersonal field value if set, zero value otherwise.
func (o *IamOrganization) GetIsPersonal() bool {
if o == nil || IsNil(o.IsPersonal) {
var ret bool
return ret
}
return *o.IsPersonal
}
// GetIsPersonalOk returns a tuple with the IsPersonal field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetIsPersonalOk() (*bool, bool) {
if o == nil || IsNil(o.IsPersonal) {
return nil, false
}
return o.IsPersonal, true
}
// HasIsPersonal returns a boolean if a field has been set.
func (o *IamOrganization) HasIsPersonal() bool {
if o != nil && !IsNil(o.IsPersonal) {
return true
}
return false
}
// SetIsPersonal gets a reference to the given bool and assigns it to the IsPersonal field.
func (o *IamOrganization) SetIsPersonal(v bool) {
o.IsPersonal = &v
}
// GetIsProfilePublic returns the IsProfilePublic field value if set, zero value otherwise.
func (o *IamOrganization) GetIsProfilePublic() bool {
if o == nil || IsNil(o.IsProfilePublic) {
var ret bool
return ret
}
return *o.IsProfilePublic
}
// GetIsProfilePublicOk returns a tuple with the IsProfilePublic field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetIsProfilePublicOk() (*bool, bool) {
if o == nil || IsNil(o.IsProfilePublic) {
return nil, false
}
return o.IsProfilePublic, true
}
// HasIsProfilePublic returns a boolean if a field has been set.
func (o *IamOrganization) HasIsProfilePublic() bool {
if o != nil && !IsNil(o.IsProfilePublic) {
return true
}
return false
}
// SetIsProfilePublic gets a reference to the given bool and assigns it to the IsProfilePublic field.
func (o *IamOrganization) SetIsProfilePublic(v bool) {
o.IsProfilePublic = &v
}
// GetKerberosKdcHost returns the KerberosKdcHost field value if set, zero value otherwise.
func (o *IamOrganization) GetKerberosKdcHost() string {
if o == nil || IsNil(o.KerberosKdcHost) {
var ret string
return ret
}
return *o.KerberosKdcHost
}
// GetKerberosKdcHostOk returns a tuple with the KerberosKdcHost field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetKerberosKdcHostOk() (*string, bool) {
if o == nil || IsNil(o.KerberosKdcHost) {
return nil, false
}
return o.KerberosKdcHost, true
}
// HasKerberosKdcHost returns a boolean if a field has been set.
func (o *IamOrganization) HasKerberosKdcHost() bool {
if o != nil && !IsNil(o.KerberosKdcHost) {
return true
}
return false
}
// SetKerberosKdcHost gets a reference to the given string and assigns it to the KerberosKdcHost field.
func (o *IamOrganization) SetKerberosKdcHost(v string) {
o.KerberosKdcHost = &v
}
// GetKerberosKeytab returns the KerberosKeytab field value if set, zero value otherwise.
func (o *IamOrganization) GetKerberosKeytab() string {
if o == nil || IsNil(o.KerberosKeytab) {
var ret string
return ret
}
return *o.KerberosKeytab
}
// GetKerberosKeytabOk returns a tuple with the KerberosKeytab field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetKerberosKeytabOk() (*string, bool) {
if o == nil || IsNil(o.KerberosKeytab) {
return nil, false
}
return o.KerberosKeytab, true
}
// HasKerberosKeytab returns a boolean if a field has been set.
func (o *IamOrganization) HasKerberosKeytab() bool {
if o != nil && !IsNil(o.KerberosKeytab) {
return true
}
return false
}
// SetKerberosKeytab gets a reference to the given string and assigns it to the KerberosKeytab field.
func (o *IamOrganization) SetKerberosKeytab(v string) {
o.KerberosKeytab = &v
}
// GetKerberosRealm returns the KerberosRealm field value if set, zero value otherwise.
func (o *IamOrganization) GetKerberosRealm() string {
if o == nil || IsNil(o.KerberosRealm) {
var ret string
return ret
}
return *o.KerberosRealm
}
// GetKerberosRealmOk returns a tuple with the KerberosRealm field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetKerberosRealmOk() (*string, bool) {
if o == nil || IsNil(o.KerberosRealm) {
return nil, false
}
return o.KerberosRealm, true
}
// HasKerberosRealm returns a boolean if a field has been set.
func (o *IamOrganization) HasKerberosRealm() bool {
if o != nil && !IsNil(o.KerberosRealm) {
return true
}
return false
}
// SetKerberosRealm gets a reference to the given string and assigns it to the KerberosRealm field.
func (o *IamOrganization) SetKerberosRealm(v string) {
o.KerberosRealm = &v
}
// GetKerberosServiceName returns the KerberosServiceName field value if set, zero value otherwise.
func (o *IamOrganization) GetKerberosServiceName() string {
if o == nil || IsNil(o.KerberosServiceName) {
var ret string
return ret
}
return *o.KerberosServiceName
}
// GetKerberosServiceNameOk returns a tuple with the KerberosServiceName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetKerberosServiceNameOk() (*string, bool) {
if o == nil || IsNil(o.KerberosServiceName) {
return nil, false
}
return o.KerberosServiceName, true
}
// HasKerberosServiceName returns a boolean if a field has been set.
func (o *IamOrganization) HasKerberosServiceName() bool {
if o != nil && !IsNil(o.KerberosServiceName) {
return true
}
return false
}
// SetKerberosServiceName gets a reference to the given string and assigns it to the KerberosServiceName field.
func (o *IamOrganization) SetKerberosServiceName(v string) {
o.KerberosServiceName = &v
}
// GetLanguages returns the Languages field value if set, zero value otherwise.
func (o *IamOrganization) GetLanguages() []string {
if o == nil || IsNil(o.Languages) {
var ret []string
return ret
}
return o.Languages
}
// GetLanguagesOk returns a tuple with the Languages field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetLanguagesOk() ([]string, bool) {
if o == nil || IsNil(o.Languages) {
return nil, false
}
return o.Languages, true
}
// HasLanguages returns a boolean if a field has been set.
func (o *IamOrganization) HasLanguages() bool {
if o != nil && !IsNil(o.Languages) {
return true
}
return false
}
// SetLanguages gets a reference to the given []string and assigns it to the Languages field.
func (o *IamOrganization) SetLanguages(v []string) {
o.Languages = v
}
// GetLdapAttributes returns the LdapAttributes field value if set, zero value otherwise.
func (o *IamOrganization) GetLdapAttributes() []string {
if o == nil || IsNil(o.LdapAttributes) {
var ret []string
return ret
}
return o.LdapAttributes
}
// GetLdapAttributesOk returns a tuple with the LdapAttributes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetLdapAttributesOk() ([]string, bool) {
if o == nil || IsNil(o.LdapAttributes) {
return nil, false
}
return o.LdapAttributes, true
}
// HasLdapAttributes returns a boolean if a field has been set.
func (o *IamOrganization) HasLdapAttributes() bool {
if o != nil && !IsNil(o.LdapAttributes) {
return true
}
return false
}
// SetLdapAttributes gets a reference to the given []string and assigns it to the LdapAttributes field.
func (o *IamOrganization) SetLdapAttributes(v []string) {
o.LdapAttributes = v
}
// GetLogo returns the Logo field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetLogo(v string) {
o.Logo = &v
}
// GetLogoDark returns the LogoDark field value if set, zero value otherwise.
func (o *IamOrganization) GetLogoDark() string {
if o == nil || IsNil(o.LogoDark) {
var ret string
return ret
}
return *o.LogoDark
}
// GetLogoDarkOk returns a tuple with the LogoDark field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetLogoDarkOk() (*string, bool) {
if o == nil || IsNil(o.LogoDark) {
return nil, false
}
return o.LogoDark, true
}
// HasLogoDark returns a boolean if a field has been set.
func (o *IamOrganization) HasLogoDark() bool {
if o != nil && !IsNil(o.LogoDark) {
return true
}
return false
}
// SetLogoDark gets a reference to the given string and assigns it to the LogoDark field.
func (o *IamOrganization) SetLogoDark(v string) {
o.LogoDark = &v
}
// GetMasterPassword returns the MasterPassword field value if set, zero value otherwise.
func (o *IamOrganization) GetMasterPassword() string {
if o == nil || IsNil(o.MasterPassword) {
var ret string
return ret
}
return *o.MasterPassword
}
// GetMasterPasswordOk returns a tuple with the MasterPassword field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetMasterPasswordOk() (*string, bool) {
if o == nil || IsNil(o.MasterPassword) {
return nil, false
}
return o.MasterPassword, true
}
// HasMasterPassword returns a boolean if a field has been set.
func (o *IamOrganization) HasMasterPassword() bool {
if o != nil && !IsNil(o.MasterPassword) {
return true
}
return false
}
// SetMasterPassword gets a reference to the given string and assigns it to the MasterPassword field.
func (o *IamOrganization) SetMasterPassword(v string) {
o.MasterPassword = &v
}
// GetMasterVerificationCode returns the MasterVerificationCode field value if set, zero value otherwise.
func (o *IamOrganization) GetMasterVerificationCode() string {
if o == nil || IsNil(o.MasterVerificationCode) {
var ret string
return ret
}
return *o.MasterVerificationCode
}
// GetMasterVerificationCodeOk returns a tuple with the MasterVerificationCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetMasterVerificationCodeOk() (*string, bool) {
if o == nil || IsNil(o.MasterVerificationCode) {
return nil, false
}
return o.MasterVerificationCode, true
}
// HasMasterVerificationCode returns a boolean if a field has been set.
func (o *IamOrganization) HasMasterVerificationCode() bool {
if o != nil && !IsNil(o.MasterVerificationCode) {
return true
}
return false
}
// SetMasterVerificationCode gets a reference to the given string and assigns it to the MasterVerificationCode field.
func (o *IamOrganization) SetMasterVerificationCode(v string) {
o.MasterVerificationCode = &v
}
// GetMfaItems returns the MfaItems field value if set, zero value otherwise.
func (o *IamOrganization) GetMfaItems() []IamMfaItem {
if o == nil || IsNil(o.MfaItems) {
var ret []IamMfaItem
return ret
}
return o.MfaItems
}
// GetMfaItemsOk returns a tuple with the MfaItems field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetMfaItemsOk() ([]IamMfaItem, bool) {
if o == nil || IsNil(o.MfaItems) {
return nil, false
}
return o.MfaItems, true
}
// HasMfaItems returns a boolean if a field has been set.
func (o *IamOrganization) HasMfaItems() bool {
if o != nil && !IsNil(o.MfaItems) {
return true
}
return false
}
// SetMfaItems gets a reference to the given []IamMfaItem and assigns it to the MfaItems field.
func (o *IamOrganization) SetMfaItems(v []IamMfaItem) {
o.MfaItems = v
}
// GetMfaRememberInHours returns the MfaRememberInHours field value if set, zero value otherwise.
func (o *IamOrganization) GetMfaRememberInHours() int64 {
if o == nil || IsNil(o.MfaRememberInHours) {
var ret int64
return ret
}
return *o.MfaRememberInHours
}
// GetMfaRememberInHoursOk returns a tuple with the MfaRememberInHours field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetMfaRememberInHoursOk() (*int64, bool) {
if o == nil || IsNil(o.MfaRememberInHours) {
return nil, false
}
return o.MfaRememberInHours, true
}
// HasMfaRememberInHours returns a boolean if a field has been set.
func (o *IamOrganization) HasMfaRememberInHours() bool {
if o != nil && !IsNil(o.MfaRememberInHours) {
return true
}
return false
}
// SetMfaRememberInHours gets a reference to the given int64 and assigns it to the MfaRememberInHours field.
func (o *IamOrganization) SetMfaRememberInHours(v int64) {
o.MfaRememberInHours = &v
}
// GetName returns the Name field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetName(v string) {
o.Name = &v
}
// GetNavItems returns the NavItems field value if set, zero value otherwise.
func (o *IamOrganization) GetNavItems() []string {
if o == nil || IsNil(o.NavItems) {
var ret []string
return ret
}
return o.NavItems
}
// GetNavItemsOk returns a tuple with the NavItems field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetNavItemsOk() ([]string, bool) {
if o == nil || IsNil(o.NavItems) {
return nil, false
}
return o.NavItems, true
}
// HasNavItems returns a boolean if a field has been set.
func (o *IamOrganization) HasNavItems() bool {
if o != nil && !IsNil(o.NavItems) {
return true
}
return false
}
// SetNavItems gets a reference to the given []string and assigns it to the NavItems field.
func (o *IamOrganization) SetNavItems(v []string) {
o.NavItems = v
}
// GetOrgBalance returns the OrgBalance field value if set, zero value otherwise.
func (o *IamOrganization) GetOrgBalance() float64 {
if o == nil || IsNil(o.OrgBalance) {
var ret float64
return ret
}
return *o.OrgBalance
}
// GetOrgBalanceOk returns a tuple with the OrgBalance field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetOrgBalanceOk() (*float64, bool) {
if o == nil || IsNil(o.OrgBalance) {
return nil, false
}
return o.OrgBalance, true
}
// HasOrgBalance returns a boolean if a field has been set.
func (o *IamOrganization) HasOrgBalance() bool {
if o != nil && !IsNil(o.OrgBalance) {
return true
}
return false
}
// SetOrgBalance gets a reference to the given float64 and assigns it to the OrgBalance field.
func (o *IamOrganization) SetOrgBalance(v float64) {
o.OrgBalance = &v
}
// GetOwner returns the Owner field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetOwner(v string) {
o.Owner = &v
}
// GetPasswordExpireDays returns the PasswordExpireDays field value if set, zero value otherwise.
func (o *IamOrganization) GetPasswordExpireDays() int64 {
if o == nil || IsNil(o.PasswordExpireDays) {
var ret int64
return ret
}
return *o.PasswordExpireDays
}
// GetPasswordExpireDaysOk returns a tuple with the PasswordExpireDays field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetPasswordExpireDaysOk() (*int64, bool) {
if o == nil || IsNil(o.PasswordExpireDays) {
return nil, false
}
return o.PasswordExpireDays, true
}
// HasPasswordExpireDays returns a boolean if a field has been set.
func (o *IamOrganization) HasPasswordExpireDays() bool {
if o != nil && !IsNil(o.PasswordExpireDays) {
return true
}
return false
}
// SetPasswordExpireDays gets a reference to the given int64 and assigns it to the PasswordExpireDays field.
func (o *IamOrganization) SetPasswordExpireDays(v int64) {
o.PasswordExpireDays = &v
}
// GetPasswordObfuscatorKey returns the PasswordObfuscatorKey field value if set, zero value otherwise.
func (o *IamOrganization) GetPasswordObfuscatorKey() string {
if o == nil || IsNil(o.PasswordObfuscatorKey) {
var ret string
return ret
}
return *o.PasswordObfuscatorKey
}
// GetPasswordObfuscatorKeyOk returns a tuple with the PasswordObfuscatorKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetPasswordObfuscatorKeyOk() (*string, bool) {
if o == nil || IsNil(o.PasswordObfuscatorKey) {
return nil, false
}
return o.PasswordObfuscatorKey, true
}
// HasPasswordObfuscatorKey returns a boolean if a field has been set.
func (o *IamOrganization) HasPasswordObfuscatorKey() bool {
if o != nil && !IsNil(o.PasswordObfuscatorKey) {
return true
}
return false
}
// SetPasswordObfuscatorKey gets a reference to the given string and assigns it to the PasswordObfuscatorKey field.
func (o *IamOrganization) SetPasswordObfuscatorKey(v string) {
o.PasswordObfuscatorKey = &v
}
// GetPasswordObfuscatorType returns the PasswordObfuscatorType field value if set, zero value otherwise.
func (o *IamOrganization) GetPasswordObfuscatorType() string {
if o == nil || IsNil(o.PasswordObfuscatorType) {
var ret string
return ret
}
return *o.PasswordObfuscatorType
}
// GetPasswordObfuscatorTypeOk returns a tuple with the PasswordObfuscatorType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetPasswordObfuscatorTypeOk() (*string, bool) {
if o == nil || IsNil(o.PasswordObfuscatorType) {
return nil, false
}
return o.PasswordObfuscatorType, true
}
// HasPasswordObfuscatorType returns a boolean if a field has been set.
func (o *IamOrganization) HasPasswordObfuscatorType() bool {
if o != nil && !IsNil(o.PasswordObfuscatorType) {
return true
}
return false
}
// SetPasswordObfuscatorType gets a reference to the given string and assigns it to the PasswordObfuscatorType field.
func (o *IamOrganization) SetPasswordObfuscatorType(v string) {
o.PasswordObfuscatorType = &v
}
// GetPasswordOptions returns the PasswordOptions field value if set, zero value otherwise.
func (o *IamOrganization) GetPasswordOptions() []string {
if o == nil || IsNil(o.PasswordOptions) {
var ret []string
return ret
}
return o.PasswordOptions
}
// GetPasswordOptionsOk returns a tuple with the PasswordOptions field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetPasswordOptionsOk() ([]string, bool) {
if o == nil || IsNil(o.PasswordOptions) {
return nil, false
}
return o.PasswordOptions, true
}
// HasPasswordOptions returns a boolean if a field has been set.
func (o *IamOrganization) HasPasswordOptions() bool {
if o != nil && !IsNil(o.PasswordOptions) {
return true
}
return false
}
// SetPasswordOptions gets a reference to the given []string and assigns it to the PasswordOptions field.
func (o *IamOrganization) SetPasswordOptions(v []string) {
o.PasswordOptions = v
}
// GetPasswordSalt returns the PasswordSalt field value if set, zero value otherwise.
func (o *IamOrganization) GetPasswordSalt() string {
if o == nil || IsNil(o.PasswordSalt) {
var ret string
return ret
}
return *o.PasswordSalt
}
// GetPasswordSaltOk returns a tuple with the PasswordSalt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetPasswordSaltOk() (*string, bool) {
if o == nil || IsNil(o.PasswordSalt) {
return nil, false
}
return o.PasswordSalt, true
}
// HasPasswordSalt returns a boolean if a field has been set.
func (o *IamOrganization) HasPasswordSalt() bool {
if o != nil && !IsNil(o.PasswordSalt) {
return true
}
return false
}
// SetPasswordSalt gets a reference to the given string and assigns it to the PasswordSalt field.
func (o *IamOrganization) SetPasswordSalt(v string) {
o.PasswordSalt = &v
}
// GetPasswordType returns the PasswordType field value if set, zero value otherwise.
func (o *IamOrganization) GetPasswordType() string {
if o == nil || IsNil(o.PasswordType) {
var ret string
return ret
}
return *o.PasswordType
}
// GetPasswordTypeOk returns a tuple with the PasswordType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetPasswordTypeOk() (*string, bool) {
if o == nil || IsNil(o.PasswordType) {
return nil, false
}
return o.PasswordType, true
}
// HasPasswordType returns a boolean if a field has been set.
func (o *IamOrganization) HasPasswordType() bool {
if o != nil && !IsNil(o.PasswordType) {
return true
}
return false
}
// SetPasswordType gets a reference to the given string and assigns it to the PasswordType field.
func (o *IamOrganization) SetPasswordType(v string) {
o.PasswordType = &v
}
// GetPlatform returns the Platform field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetPlatform(v bool) {
o.Platform = &v
}
// GetTags returns the Tags field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetTags(v []string) {
o.Tags = v
}
// GetThemeData returns the ThemeData field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetThemeData(v IamThemeData) {
o.ThemeData = &v
}
// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (o *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) 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 *IamOrganization) SetUpdatedAt(v time.Time) {
o.UpdatedAt = &v
}
// GetUseEmailAsUsername returns the UseEmailAsUsername field value if set, zero value otherwise.
func (o *IamOrganization) GetUseEmailAsUsername() bool {
if o == nil || IsNil(o.UseEmailAsUsername) {
var ret bool
return ret
}
return *o.UseEmailAsUsername
}
// GetUseEmailAsUsernameOk returns a tuple with the UseEmailAsUsername field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetUseEmailAsUsernameOk() (*bool, bool) {
if o == nil || IsNil(o.UseEmailAsUsername) {
return nil, false
}
return o.UseEmailAsUsername, true
}
// HasUseEmailAsUsername returns a boolean if a field has been set.
func (o *IamOrganization) HasUseEmailAsUsername() bool {
if o != nil && !IsNil(o.UseEmailAsUsername) {
return true
}
return false
}
// SetUseEmailAsUsername gets a reference to the given bool and assigns it to the UseEmailAsUsername field.
func (o *IamOrganization) SetUseEmailAsUsername(v bool) {
o.UseEmailAsUsername = &v
}
// GetUsePermanentAvatar returns the UsePermanentAvatar field value if set, zero value otherwise.
func (o *IamOrganization) GetUsePermanentAvatar() bool {
if o == nil || IsNil(o.UsePermanentAvatar) {
var ret bool
return ret
}
return *o.UsePermanentAvatar
}
// GetUsePermanentAvatarOk returns a tuple with the UsePermanentAvatar field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetUsePermanentAvatarOk() (*bool, bool) {
if o == nil || IsNil(o.UsePermanentAvatar) {
return nil, false
}
return o.UsePermanentAvatar, true
}
// HasUsePermanentAvatar returns a boolean if a field has been set.
func (o *IamOrganization) HasUsePermanentAvatar() bool {
if o != nil && !IsNil(o.UsePermanentAvatar) {
return true
}
return false
}
// SetUsePermanentAvatar gets a reference to the given bool and assigns it to the UsePermanentAvatar field.
func (o *IamOrganization) SetUsePermanentAvatar(v bool) {
o.UsePermanentAvatar = &v
}
// GetUserBalance returns the UserBalance field value if set, zero value otherwise.
func (o *IamOrganization) GetUserBalance() float64 {
if o == nil || IsNil(o.UserBalance) {
var ret float64
return ret
}
return *o.UserBalance
}
// GetUserBalanceOk returns a tuple with the UserBalance field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetUserBalanceOk() (*float64, bool) {
if o == nil || IsNil(o.UserBalance) {
return nil, false
}
return o.UserBalance, true
}
// HasUserBalance returns a boolean if a field has been set.
func (o *IamOrganization) HasUserBalance() bool {
if o != nil && !IsNil(o.UserBalance) {
return true
}
return false
}
// SetUserBalance gets a reference to the given float64 and assigns it to the UserBalance field.
func (o *IamOrganization) SetUserBalance(v float64) {
o.UserBalance = &v
}
// GetUserNavItems returns the UserNavItems field value if set, zero value otherwise.
func (o *IamOrganization) GetUserNavItems() []string {
if o == nil || IsNil(o.UserNavItems) {
var ret []string
return ret
}
return o.UserNavItems
}
// GetUserNavItemsOk returns a tuple with the UserNavItems field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetUserNavItemsOk() ([]string, bool) {
if o == nil || IsNil(o.UserNavItems) {
return nil, false
}
return o.UserNavItems, true
}
// HasUserNavItems returns a boolean if a field has been set.
func (o *IamOrganization) HasUserNavItems() bool {
if o != nil && !IsNil(o.UserNavItems) {
return true
}
return false
}
// SetUserNavItems gets a reference to the given []string and assigns it to the UserNavItems field.
func (o *IamOrganization) SetUserNavItems(v []string) {
o.UserNavItems = v
}
// GetUserTypes returns the UserTypes field value if set, zero value otherwise.
func (o *IamOrganization) GetUserTypes() []string {
if o == nil || IsNil(o.UserTypes) {
var ret []string
return ret
}
return o.UserTypes
}
// GetUserTypesOk returns a tuple with the UserTypes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetUserTypesOk() ([]string, bool) {
if o == nil || IsNil(o.UserTypes) {
return nil, false
}
return o.UserTypes, true
}
// HasUserTypes returns a boolean if a field has been set.
func (o *IamOrganization) HasUserTypes() bool {
if o != nil && !IsNil(o.UserTypes) {
return true
}
return false
}
// SetUserTypes gets a reference to the given []string and assigns it to the UserTypes field.
func (o *IamOrganization) SetUserTypes(v []string) {
o.UserTypes = v
}
// GetWebsiteUrl returns the WebsiteUrl field value if set, zero value otherwise.
func (o *IamOrganization) GetWebsiteUrl() string {
if o == nil || IsNil(o.WebsiteUrl) {
var ret string
return ret
}
return *o.WebsiteUrl
}
// GetWebsiteUrlOk returns a tuple with the WebsiteUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetWebsiteUrlOk() (*string, bool) {
if o == nil || IsNil(o.WebsiteUrl) {
return nil, false
}
return o.WebsiteUrl, true
}
// HasWebsiteUrl returns a boolean if a field has been set.
func (o *IamOrganization) HasWebsiteUrl() bool {
if o != nil && !IsNil(o.WebsiteUrl) {
return true
}
return false
}
// SetWebsiteUrl gets a reference to the given string and assigns it to the WebsiteUrl field.
func (o *IamOrganization) SetWebsiteUrl(v string) {
o.WebsiteUrl = &v
}
// GetWidgetItems returns the WidgetItems field value if set, zero value otherwise.
func (o *IamOrganization) GetWidgetItems() []string {
if o == nil || IsNil(o.WidgetItems) {
var ret []string
return ret
}
return o.WidgetItems
}
// GetWidgetItemsOk returns a tuple with the WidgetItems field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *IamOrganization) GetWidgetItemsOk() ([]string, bool) {
if o == nil || IsNil(o.WidgetItems) {
return nil, false
}
return o.WidgetItems, true
}
// HasWidgetItems returns a boolean if a field has been set.
func (o *IamOrganization) HasWidgetItems() bool {
if o != nil && !IsNil(o.WidgetItems) {
return true
}
return false
}
// SetWidgetItems gets a reference to the given []string and assigns it to the WidgetItems field.
func (o *IamOrganization) SetWidgetItems(v []string) {
o.WidgetItems = v
}
func (o IamOrganization) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o IamOrganization) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.AccountItems) {
toSerialize["accountItems"] = o.AccountItems
}
if !IsNil(o.AccountMenu) {
toSerialize["accountMenu"] = o.AccountMenu
}
if !IsNil(o.Avatar) {
toSerialize["avatar"] = o.Avatar
}
if !IsNil(o.BalanceCredit) {
toSerialize["balanceCredit"] = o.BalanceCredit
}
if !IsNil(o.BalanceCurrency) {
toSerialize["balanceCurrency"] = o.BalanceCurrency
}
if !IsNil(o.CountryCodes) {
toSerialize["countryCodes"] = o.CountryCodes
}
if !IsNil(o.CreatedAt) {
toSerialize["createdAt"] = o.CreatedAt
}
if !IsNil(o.CreatedTime) {
toSerialize["createdTime"] = o.CreatedTime
}
if !IsNil(o.DcrPolicy) {
toSerialize["dcrPolicy"] = o.DcrPolicy
}
if !IsNil(o.DefaultApplication) {
toSerialize["defaultApplication"] = o.DefaultApplication
}
if !IsNil(o.DefaultAvatar) {
toSerialize["defaultAvatar"] = o.DefaultAvatar
}
if !IsNil(o.DefaultPassword) {
toSerialize["defaultPassword"] = o.DefaultPassword
}
if !IsNil(o.Deleted) {
toSerialize["deleted"] = o.Deleted
}
if !IsNil(o.DisableSignin) {
toSerialize["disableSignin"] = o.DisableSignin
}
if !IsNil(o.DisplayName) {
toSerialize["displayName"] = o.DisplayName
}
if !IsNil(o.Emoji) {
toSerialize["emoji"] = o.Emoji
}
if !IsNil(o.EnableSoftDeletion) {
toSerialize["enableSoftDeletion"] = o.EnableSoftDeletion
}
if !IsNil(o.EnableTour) {
toSerialize["enableTour"] = o.EnableTour
}
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.Founder) {
toSerialize["founder"] = o.Founder
}
if !IsNil(o.HasPrivilegeConsent) {
toSerialize["hasPrivilegeConsent"] = o.HasPrivilegeConsent
}
if !IsNil(o.Id) {
toSerialize["id"] = o.Id
}
if !IsNil(o.InitScore) {
toSerialize["initScore"] = o.InitScore
}
if !IsNil(o.IpRestriction) {
toSerialize["ipRestriction"] = o.IpRestriction
}
if !IsNil(o.IpWhitelist) {
toSerialize["ipWhitelist"] = o.IpWhitelist
}
if !IsNil(o.IsPersonal) {
toSerialize["isPersonal"] = o.IsPersonal
}
if !IsNil(o.IsProfilePublic) {
toSerialize["isProfilePublic"] = o.IsProfilePublic
}
if !IsNil(o.KerberosKdcHost) {
toSerialize["kerberosKdcHost"] = o.KerberosKdcHost
}
if !IsNil(o.KerberosKeytab) {
toSerialize["kerberosKeytab"] = o.KerberosKeytab
}
if !IsNil(o.KerberosRealm) {
toSerialize["kerberosRealm"] = o.KerberosRealm
}
if !IsNil(o.KerberosServiceName) {
toSerialize["kerberosServiceName"] = o.KerberosServiceName
}
if !IsNil(o.Languages) {
toSerialize["languages"] = o.Languages
}
if !IsNil(o.LdapAttributes) {
toSerialize["ldapAttributes"] = o.LdapAttributes
}
if !IsNil(o.Logo) {
toSerialize["logo"] = o.Logo
}
if !IsNil(o.LogoDark) {
toSerialize["logoDark"] = o.LogoDark
}
if !IsNil(o.MasterPassword) {
toSerialize["masterPassword"] = o.MasterPassword
}
if !IsNil(o.MasterVerificationCode) {
toSerialize["masterVerificationCode"] = o.MasterVerificationCode
}
if !IsNil(o.MfaItems) {
toSerialize["mfaItems"] = o.MfaItems
}
if !IsNil(o.MfaRememberInHours) {
toSerialize["mfaRememberInHours"] = o.MfaRememberInHours
}
if !IsNil(o.Name) {
toSerialize["name"] = o.Name
}
if !IsNil(o.NavItems) {
toSerialize["navItems"] = o.NavItems
}
if !IsNil(o.OrgBalance) {
toSerialize["orgBalance"] = o.OrgBalance
}
if !IsNil(o.Owner) {
toSerialize["owner"] = o.Owner
}
if !IsNil(o.PasswordExpireDays) {
toSerialize["passwordExpireDays"] = o.PasswordExpireDays
}
if !IsNil(o.PasswordObfuscatorKey) {
toSerialize["passwordObfuscatorKey"] = o.PasswordObfuscatorKey
}
if !IsNil(o.PasswordObfuscatorType) {
toSerialize["passwordObfuscatorType"] = o.PasswordObfuscatorType
}
if !IsNil(o.PasswordOptions) {
toSerialize["passwordOptions"] = o.PasswordOptions
}
if !IsNil(o.PasswordSalt) {
toSerialize["passwordSalt"] = o.PasswordSalt
}
if !IsNil(o.PasswordType) {
toSerialize["passwordType"] = o.PasswordType
}
if !IsNil(o.Platform) {
toSerialize["platform"] = o.Platform
}
if !IsNil(o.Tags) {
toSerialize["tags"] = o.Tags
}
if !IsNil(o.ThemeData) {
toSerialize["themeData"] = o.ThemeData
}
if !IsNil(o.UpdatedAt) {
toSerialize["updatedAt"] = o.UpdatedAt
}
if !IsNil(o.UseEmailAsUsername) {
toSerialize["useEmailAsUsername"] = o.UseEmailAsUsername
}
if !IsNil(o.UsePermanentAvatar) {
toSerialize["usePermanentAvatar"] = o.UsePermanentAvatar
}
if !IsNil(o.UserBalance) {
toSerialize["userBalance"] = o.UserBalance
}
if !IsNil(o.UserNavItems) {
toSerialize["userNavItems"] = o.UserNavItems
}
if !IsNil(o.UserTypes) {
toSerialize["userTypes"] = o.UserTypes
}
if !IsNil(o.WebsiteUrl) {
toSerialize["websiteUrl"] = o.WebsiteUrl
}
if !IsNil(o.WidgetItems) {
toSerialize["widgetItems"] = o.WidgetItems
}
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
return toSerialize, nil
}
func (o *IamOrganization) UnmarshalJSON(data []byte) (err error) {
varIamOrganization := _IamOrganization{}
err = json.Unmarshal(data, &varIamOrganization)
if err != nil {
return err
}
*o = IamOrganization(varIamOrganization)
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(data, &additionalProperties); err == nil {
delete(additionalProperties, "accountItems")
delete(additionalProperties, "accountMenu")
delete(additionalProperties, "avatar")
delete(additionalProperties, "balanceCredit")
delete(additionalProperties, "balanceCurrency")
delete(additionalProperties, "countryCodes")
delete(additionalProperties, "createdAt")
delete(additionalProperties, "createdTime")
delete(additionalProperties, "dcrPolicy")
delete(additionalProperties, "defaultApplication")
delete(additionalProperties, "defaultAvatar")
delete(additionalProperties, "defaultPassword")
delete(additionalProperties, "deleted")
delete(additionalProperties, "disableSignin")
delete(additionalProperties, "displayName")
delete(additionalProperties, "emoji")
delete(additionalProperties, "enableSoftDeletion")
delete(additionalProperties, "enableTour")
delete(additionalProperties, "failedSigninFrozenTime")
delete(additionalProperties, "failedSigninLimit")
delete(additionalProperties, "favicon")
delete(additionalProperties, "founder")
delete(additionalProperties, "hasPrivilegeConsent")
delete(additionalProperties, "id")
delete(additionalProperties, "initScore")
delete(additionalProperties, "ipRestriction")
delete(additionalProperties, "ipWhitelist")
delete(additionalProperties, "isPersonal")
delete(additionalProperties, "isProfilePublic")
delete(additionalProperties, "kerberosKdcHost")
delete(additionalProperties, "kerberosKeytab")
delete(additionalProperties, "kerberosRealm")
delete(additionalProperties, "kerberosServiceName")
delete(additionalProperties, "languages")
delete(additionalProperties, "ldapAttributes")
delete(additionalProperties, "logo")
delete(additionalProperties, "logoDark")
delete(additionalProperties, "masterPassword")
delete(additionalProperties, "masterVerificationCode")
delete(additionalProperties, "mfaItems")
delete(additionalProperties, "mfaRememberInHours")
delete(additionalProperties, "name")
delete(additionalProperties, "navItems")
delete(additionalProperties, "orgBalance")
delete(additionalProperties, "owner")
delete(additionalProperties, "passwordExpireDays")
delete(additionalProperties, "passwordObfuscatorKey")
delete(additionalProperties, "passwordObfuscatorType")
delete(additionalProperties, "passwordOptions")
delete(additionalProperties, "passwordSalt")
delete(additionalProperties, "passwordType")
delete(additionalProperties, "platform")
delete(additionalProperties, "tags")
delete(additionalProperties, "themeData")
delete(additionalProperties, "updatedAt")
delete(additionalProperties, "useEmailAsUsername")
delete(additionalProperties, "usePermanentAvatar")
delete(additionalProperties, "userBalance")
delete(additionalProperties, "userNavItems")
delete(additionalProperties, "userTypes")
delete(additionalProperties, "websiteUrl")
delete(additionalProperties, "widgetItems")
o.AdditionalProperties = additionalProperties
}
return err
}
type NullableIamOrganization struct {
value *IamOrganization
isSet bool
}
func (v NullableIamOrganization) Get() *IamOrganization {
return v.value
}
func (v *NullableIamOrganization) Set(val *IamOrganization) {
v.value = val
v.isSet = true
}
func (v NullableIamOrganization) IsSet() bool {
return v.isSet
}
func (v *NullableIamOrganization) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableIamOrganization(val *IamOrganization) *NullableIamOrganization {
return &NullableIamOrganization{value: val, isSet: true}
}
func (v NullableIamOrganization) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableIamOrganization) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}