mirror of
https://github.com/hanzo-go/sdk.git
synced 2026-11-20 20:13:42 +00:00
2418 lines
74 KiB
Go
2418 lines
74 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 IamUpdateOrganizationInput type satisfies the MappedNullable interface at compile time
|
|
var _ MappedNullable = &IamUpdateOrganizationInput{}
|
|
|
|
// IamUpdateOrganizationInput struct for IamUpdateOrganizationInput
|
|
type IamUpdateOrganizationInput 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 _IamUpdateOrganizationInput IamUpdateOrganizationInput
|
|
|
|
// NewIamUpdateOrganizationInput instantiates a new IamUpdateOrganizationInput 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 NewIamUpdateOrganizationInput() *IamUpdateOrganizationInput {
|
|
this := IamUpdateOrganizationInput{}
|
|
return &this
|
|
}
|
|
|
|
// NewIamUpdateOrganizationInputWithDefaults instantiates a new IamUpdateOrganizationInput 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 NewIamUpdateOrganizationInputWithDefaults() *IamUpdateOrganizationInput {
|
|
this := IamUpdateOrganizationInput{}
|
|
return &this
|
|
}
|
|
|
|
// GetAccountItems returns the AccountItems field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetAccountItems(v []IamAccountItem) {
|
|
o.AccountItems = v
|
|
}
|
|
|
|
// GetAccountMenu returns the AccountMenu field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetAccountMenu(v string) {
|
|
o.AccountMenu = &v
|
|
}
|
|
|
|
// GetAvatar returns the Avatar field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetAvatar(v string) {
|
|
o.Avatar = &v
|
|
}
|
|
|
|
// GetBalanceCredit returns the BalanceCredit field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetBalanceCredit(v float64) {
|
|
o.BalanceCredit = &v
|
|
}
|
|
|
|
// GetBalanceCurrency returns the BalanceCurrency field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetBalanceCurrency(v string) {
|
|
o.BalanceCurrency = &v
|
|
}
|
|
|
|
// GetCountryCodes returns the CountryCodes field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetCountryCodes(v []string) {
|
|
o.CountryCodes = v
|
|
}
|
|
|
|
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetCreatedAt(v time.Time) {
|
|
o.CreatedAt = &v
|
|
}
|
|
|
|
// GetCreatedTime returns the CreatedTime field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetCreatedTime(v string) {
|
|
o.CreatedTime = &v
|
|
}
|
|
|
|
// GetDcrPolicy returns the DcrPolicy field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetDcrPolicy(v string) {
|
|
o.DcrPolicy = &v
|
|
}
|
|
|
|
// GetDefaultApplication returns the DefaultApplication field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetDefaultApplication(v string) {
|
|
o.DefaultApplication = &v
|
|
}
|
|
|
|
// GetDefaultAvatar returns the DefaultAvatar field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetDefaultAvatar(v string) {
|
|
o.DefaultAvatar = &v
|
|
}
|
|
|
|
// GetDefaultPassword returns the DefaultPassword field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetDefaultPassword(v string) {
|
|
o.DefaultPassword = &v
|
|
}
|
|
|
|
// GetDeleted returns the Deleted field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetDeleted(v bool) {
|
|
o.Deleted = &v
|
|
}
|
|
|
|
// GetDisableSignin returns the DisableSignin field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetDisableSignin(v bool) {
|
|
o.DisableSignin = &v
|
|
}
|
|
|
|
// GetDisplayName returns the DisplayName field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetDisplayName(v string) {
|
|
o.DisplayName = &v
|
|
}
|
|
|
|
// GetEmoji returns the Emoji field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetEmoji(v string) {
|
|
o.Emoji = &v
|
|
}
|
|
|
|
// GetEnableSoftDeletion returns the EnableSoftDeletion field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetEnableSoftDeletion(v bool) {
|
|
o.EnableSoftDeletion = &v
|
|
}
|
|
|
|
// GetEnableTour returns the EnableTour field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetEnableTour(v bool) {
|
|
o.EnableTour = &v
|
|
}
|
|
|
|
// GetFailedSigninFrozenTime returns the FailedSigninFrozenTime field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetFailedSigninFrozenTime(v int64) {
|
|
o.FailedSigninFrozenTime = &v
|
|
}
|
|
|
|
// GetFailedSigninLimit returns the FailedSigninLimit field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetFailedSigninLimit(v int64) {
|
|
o.FailedSigninLimit = &v
|
|
}
|
|
|
|
// GetFavicon returns the Favicon field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetFavicon(v string) {
|
|
o.Favicon = &v
|
|
}
|
|
|
|
// GetFounder returns the Founder field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetFounder(v string) {
|
|
o.Founder = &v
|
|
}
|
|
|
|
// GetHasPrivilegeConsent returns the HasPrivilegeConsent field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetHasPrivilegeConsent(v bool) {
|
|
o.HasPrivilegeConsent = &v
|
|
}
|
|
|
|
// GetId returns the Id field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetId(v string) {
|
|
o.Id = &v
|
|
}
|
|
|
|
// GetInitScore returns the InitScore field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetInitScore(v int64) {
|
|
o.InitScore = &v
|
|
}
|
|
|
|
// GetIpRestriction returns the IpRestriction field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetIpRestriction(v string) {
|
|
o.IpRestriction = &v
|
|
}
|
|
|
|
// GetIpWhitelist returns the IpWhitelist field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetIpWhitelist(v string) {
|
|
o.IpWhitelist = &v
|
|
}
|
|
|
|
// GetIsPersonal returns the IsPersonal field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetIsPersonal(v bool) {
|
|
o.IsPersonal = &v
|
|
}
|
|
|
|
// GetIsProfilePublic returns the IsProfilePublic field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetIsProfilePublic(v bool) {
|
|
o.IsProfilePublic = &v
|
|
}
|
|
|
|
// GetKerberosKdcHost returns the KerberosKdcHost field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetKerberosKdcHost(v string) {
|
|
o.KerberosKdcHost = &v
|
|
}
|
|
|
|
// GetKerberosKeytab returns the KerberosKeytab field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetKerberosKeytab(v string) {
|
|
o.KerberosKeytab = &v
|
|
}
|
|
|
|
// GetKerberosRealm returns the KerberosRealm field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetKerberosRealm(v string) {
|
|
o.KerberosRealm = &v
|
|
}
|
|
|
|
// GetKerberosServiceName returns the KerberosServiceName field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetKerberosServiceName(v string) {
|
|
o.KerberosServiceName = &v
|
|
}
|
|
|
|
// GetLanguages returns the Languages field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetLanguages(v []string) {
|
|
o.Languages = v
|
|
}
|
|
|
|
// GetLdapAttributes returns the LdapAttributes field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetLdapAttributes(v []string) {
|
|
o.LdapAttributes = v
|
|
}
|
|
|
|
// GetLogo returns the Logo field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetLogo(v string) {
|
|
o.Logo = &v
|
|
}
|
|
|
|
// GetLogoDark returns the LogoDark field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetLogoDark(v string) {
|
|
o.LogoDark = &v
|
|
}
|
|
|
|
// GetMasterPassword returns the MasterPassword field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetMasterPassword(v string) {
|
|
o.MasterPassword = &v
|
|
}
|
|
|
|
// GetMasterVerificationCode returns the MasterVerificationCode field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetMasterVerificationCode(v string) {
|
|
o.MasterVerificationCode = &v
|
|
}
|
|
|
|
// GetMfaItems returns the MfaItems field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetMfaItems(v []IamMfaItem) {
|
|
o.MfaItems = v
|
|
}
|
|
|
|
// GetMfaRememberInHours returns the MfaRememberInHours field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetMfaRememberInHours(v int64) {
|
|
o.MfaRememberInHours = &v
|
|
}
|
|
|
|
// GetName returns the Name field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetName(v string) {
|
|
o.Name = &v
|
|
}
|
|
|
|
// GetNavItems returns the NavItems field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetNavItems(v []string) {
|
|
o.NavItems = v
|
|
}
|
|
|
|
// GetOrgBalance returns the OrgBalance field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetOrgBalance(v float64) {
|
|
o.OrgBalance = &v
|
|
}
|
|
|
|
// GetOwner returns the Owner field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetOwner(v string) {
|
|
o.Owner = &v
|
|
}
|
|
|
|
// GetPasswordExpireDays returns the PasswordExpireDays field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetPasswordExpireDays(v int64) {
|
|
o.PasswordExpireDays = &v
|
|
}
|
|
|
|
// GetPasswordObfuscatorKey returns the PasswordObfuscatorKey field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetPasswordObfuscatorKey(v string) {
|
|
o.PasswordObfuscatorKey = &v
|
|
}
|
|
|
|
// GetPasswordObfuscatorType returns the PasswordObfuscatorType field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetPasswordObfuscatorType(v string) {
|
|
o.PasswordObfuscatorType = &v
|
|
}
|
|
|
|
// GetPasswordOptions returns the PasswordOptions field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetPasswordOptions(v []string) {
|
|
o.PasswordOptions = v
|
|
}
|
|
|
|
// GetPasswordSalt returns the PasswordSalt field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetPasswordSalt(v string) {
|
|
o.PasswordSalt = &v
|
|
}
|
|
|
|
// GetPasswordType returns the PasswordType field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetPasswordType(v string) {
|
|
o.PasswordType = &v
|
|
}
|
|
|
|
// GetPlatform returns the Platform field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetPlatform(v bool) {
|
|
o.Platform = &v
|
|
}
|
|
|
|
// GetTags returns the Tags field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetTags(v []string) {
|
|
o.Tags = v
|
|
}
|
|
|
|
// GetThemeData returns the ThemeData field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetThemeData(v IamThemeData) {
|
|
o.ThemeData = &v
|
|
}
|
|
|
|
// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetUpdatedAt(v time.Time) {
|
|
o.UpdatedAt = &v
|
|
}
|
|
|
|
// GetUseEmailAsUsername returns the UseEmailAsUsername field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetUseEmailAsUsername(v bool) {
|
|
o.UseEmailAsUsername = &v
|
|
}
|
|
|
|
// GetUsePermanentAvatar returns the UsePermanentAvatar field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetUsePermanentAvatar(v bool) {
|
|
o.UsePermanentAvatar = &v
|
|
}
|
|
|
|
// GetUserBalance returns the UserBalance field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetUserBalance(v float64) {
|
|
o.UserBalance = &v
|
|
}
|
|
|
|
// GetUserNavItems returns the UserNavItems field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetUserNavItems(v []string) {
|
|
o.UserNavItems = v
|
|
}
|
|
|
|
// GetUserTypes returns the UserTypes field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetUserTypes(v []string) {
|
|
o.UserTypes = v
|
|
}
|
|
|
|
// GetWebsiteUrl returns the WebsiteUrl field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetWebsiteUrl(v string) {
|
|
o.WebsiteUrl = &v
|
|
}
|
|
|
|
// GetWidgetItems returns the WidgetItems field value if set, zero value otherwise.
|
|
func (o *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) SetWidgetItems(v []string) {
|
|
o.WidgetItems = v
|
|
}
|
|
|
|
func (o IamUpdateOrganizationInput) MarshalJSON() ([]byte, error) {
|
|
toSerialize, err := o.ToMap()
|
|
if err != nil {
|
|
return []byte{}, err
|
|
}
|
|
return json.Marshal(toSerialize)
|
|
}
|
|
|
|
func (o IamUpdateOrganizationInput) 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 *IamUpdateOrganizationInput) UnmarshalJSON(data []byte) (err error) {
|
|
varIamUpdateOrganizationInput := _IamUpdateOrganizationInput{}
|
|
|
|
err = json.Unmarshal(data, &varIamUpdateOrganizationInput)
|
|
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
*o = IamUpdateOrganizationInput(varIamUpdateOrganizationInput)
|
|
|
|
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 NullableIamUpdateOrganizationInput struct {
|
|
value *IamUpdateOrganizationInput
|
|
isSet bool
|
|
}
|
|
|
|
func (v NullableIamUpdateOrganizationInput) Get() *IamUpdateOrganizationInput {
|
|
return v.value
|
|
}
|
|
|
|
func (v *NullableIamUpdateOrganizationInput) Set(val *IamUpdateOrganizationInput) {
|
|
v.value = val
|
|
v.isSet = true
|
|
}
|
|
|
|
func (v NullableIamUpdateOrganizationInput) IsSet() bool {
|
|
return v.isSet
|
|
}
|
|
|
|
func (v *NullableIamUpdateOrganizationInput) Unset() {
|
|
v.value = nil
|
|
v.isSet = false
|
|
}
|
|
|
|
func NewNullableIamUpdateOrganizationInput(val *IamUpdateOrganizationInput) *NullableIamUpdateOrganizationInput {
|
|
return &NullableIamUpdateOrganizationInput{value: val, isSet: true}
|
|
}
|
|
|
|
func (v NullableIamUpdateOrganizationInput) MarshalJSON() ([]byte, error) {
|
|
return json.Marshal(v.value)
|
|
}
|
|
|
|
func (v *NullableIamUpdateOrganizationInput) UnmarshalJSON(src []byte) error {
|
|
v.isSet = true
|
|
return json.Unmarshal(src, &v.value)
|
|
}
|