mirror of
https://github.com/hanzo-go/sdk.git
synced 2026-11-20 20:13:42 +00:00
1895 lines
51 KiB
Go
1895 lines
51 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 IamProvider type satisfies the MappedNullable interface at compile time
|
|
var _ MappedNullable = &IamProvider{}
|
|
|
|
// IamProvider struct for IamProvider
|
|
type IamProvider struct {
|
|
AppId *string `json:"appId,omitempty"`
|
|
Bucket *string `json:"bucket,omitempty"`
|
|
Category *string `json:"category,omitempty"`
|
|
Cert *string `json:"cert,omitempty"`
|
|
ClientId *string `json:"clientId,omitempty"`
|
|
ClientId2 *string `json:"clientId2,omitempty"`
|
|
ClientSecret *string `json:"clientSecret,omitempty"`
|
|
ClientSecret2 *string `json:"clientSecret2,omitempty"`
|
|
Content *string `json:"content,omitempty"`
|
|
CreatedAt *time.Time `json:"createdAt,omitempty"`
|
|
CreatedTime *string `json:"createdTime,omitempty"`
|
|
CustomAuthUrl *string `json:"customAuthUrl,omitempty"`
|
|
CustomLogo *string `json:"customLogo,omitempty"`
|
|
CustomTokenUrl *string `json:"customTokenUrl,omitempty"`
|
|
CustomUserInfoUrl *string `json:"customUserInfoUrl,omitempty"`
|
|
Deleted *bool `json:"deleted,omitempty"`
|
|
DisableSsl *bool `json:"disableSsl,omitempty"`
|
|
DisplayName *string `json:"displayName,omitempty"`
|
|
Domain *string `json:"domain,omitempty"`
|
|
EmailRegex *string `json:"emailRegex,omitempty"`
|
|
EnablePkce *bool `json:"enablePkce,omitempty"`
|
|
EnableProxy *bool `json:"enableProxy,omitempty"`
|
|
EnableSignAuthnRequest *bool `json:"enableSignAuthnRequest,omitempty"`
|
|
Endpoint *string `json:"endpoint,omitempty"`
|
|
Host *string `json:"host,omitempty"`
|
|
HttpHeaders map[string]string `json:"httpHeaders,omitempty"`
|
|
// Persisted fields
|
|
Id *string `json:"id,omitempty"`
|
|
IdP *string `json:"idP,omitempty"`
|
|
IntranetEndpoint *string `json:"intranetEndpoint,omitempty"`
|
|
IssuerUrl *string `json:"issuerUrl,omitempty"`
|
|
Metadata *string `json:"metadata,omitempty"`
|
|
Method *string `json:"method,omitempty"`
|
|
Name *string `json:"name,omitempty"`
|
|
Owner *string `json:"owner,omitempty"`
|
|
PathPrefix *string `json:"pathPrefix,omitempty"`
|
|
Port *int64 `json:"port,omitempty"`
|
|
ProviderUrl *string `json:"providerUrl,omitempty"`
|
|
Receiver *string `json:"receiver,omitempty"`
|
|
RegionId *string `json:"regionId,omitempty"`
|
|
Scopes *string `json:"scopes,omitempty"`
|
|
SignName *string `json:"signName,omitempty"`
|
|
SslMode *string `json:"sslMode,omitempty"`
|
|
SubType *string `json:"subType,omitempty"`
|
|
TemplateCode *string `json:"templateCode,omitempty"`
|
|
Title *string `json:"title,omitempty"`
|
|
Type *string `json:"type,omitempty"`
|
|
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
|
|
UserMapping map[string]string `json:"userMapping,omitempty"`
|
|
AdditionalProperties map[string]interface{}
|
|
}
|
|
|
|
type _IamProvider IamProvider
|
|
|
|
// NewIamProvider instantiates a new IamProvider 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 NewIamProvider() *IamProvider {
|
|
this := IamProvider{}
|
|
return &this
|
|
}
|
|
|
|
// NewIamProviderWithDefaults instantiates a new IamProvider 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 NewIamProviderWithDefaults() *IamProvider {
|
|
this := IamProvider{}
|
|
return &this
|
|
}
|
|
|
|
// GetAppId returns the AppId field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetAppId() string {
|
|
if o == nil || IsNil(o.AppId) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.AppId
|
|
}
|
|
|
|
// GetAppIdOk returns a tuple with the AppId field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetAppIdOk() (*string, bool) {
|
|
if o == nil || IsNil(o.AppId) {
|
|
return nil, false
|
|
}
|
|
return o.AppId, true
|
|
}
|
|
|
|
// HasAppId returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasAppId() bool {
|
|
if o != nil && !IsNil(o.AppId) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetAppId gets a reference to the given string and assigns it to the AppId field.
|
|
func (o *IamProvider) SetAppId(v string) {
|
|
o.AppId = &v
|
|
}
|
|
|
|
// GetBucket returns the Bucket field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetBucket() string {
|
|
if o == nil || IsNil(o.Bucket) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Bucket
|
|
}
|
|
|
|
// GetBucketOk returns a tuple with the Bucket field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetBucketOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Bucket) {
|
|
return nil, false
|
|
}
|
|
return o.Bucket, true
|
|
}
|
|
|
|
// HasBucket returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasBucket() bool {
|
|
if o != nil && !IsNil(o.Bucket) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetBucket gets a reference to the given string and assigns it to the Bucket field.
|
|
func (o *IamProvider) SetBucket(v string) {
|
|
o.Bucket = &v
|
|
}
|
|
|
|
// GetCategory returns the Category field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetCategory() string {
|
|
if o == nil || IsNil(o.Category) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Category
|
|
}
|
|
|
|
// GetCategoryOk returns a tuple with the Category field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetCategoryOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Category) {
|
|
return nil, false
|
|
}
|
|
return o.Category, true
|
|
}
|
|
|
|
// HasCategory returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasCategory() bool {
|
|
if o != nil && !IsNil(o.Category) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCategory gets a reference to the given string and assigns it to the Category field.
|
|
func (o *IamProvider) SetCategory(v string) {
|
|
o.Category = &v
|
|
}
|
|
|
|
// GetCert returns the Cert field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetCert() string {
|
|
if o == nil || IsNil(o.Cert) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Cert
|
|
}
|
|
|
|
// GetCertOk returns a tuple with the Cert field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetCertOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Cert) {
|
|
return nil, false
|
|
}
|
|
return o.Cert, true
|
|
}
|
|
|
|
// HasCert returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasCert() bool {
|
|
if o != nil && !IsNil(o.Cert) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCert gets a reference to the given string and assigns it to the Cert field.
|
|
func (o *IamProvider) SetCert(v string) {
|
|
o.Cert = &v
|
|
}
|
|
|
|
// GetClientId returns the ClientId field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetClientId() string {
|
|
if o == nil || IsNil(o.ClientId) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.ClientId
|
|
}
|
|
|
|
// GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetClientIdOk() (*string, bool) {
|
|
if o == nil || IsNil(o.ClientId) {
|
|
return nil, false
|
|
}
|
|
return o.ClientId, true
|
|
}
|
|
|
|
// HasClientId returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasClientId() bool {
|
|
if o != nil && !IsNil(o.ClientId) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetClientId gets a reference to the given string and assigns it to the ClientId field.
|
|
func (o *IamProvider) SetClientId(v string) {
|
|
o.ClientId = &v
|
|
}
|
|
|
|
// GetClientId2 returns the ClientId2 field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetClientId2() string {
|
|
if o == nil || IsNil(o.ClientId2) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.ClientId2
|
|
}
|
|
|
|
// GetClientId2Ok returns a tuple with the ClientId2 field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetClientId2Ok() (*string, bool) {
|
|
if o == nil || IsNil(o.ClientId2) {
|
|
return nil, false
|
|
}
|
|
return o.ClientId2, true
|
|
}
|
|
|
|
// HasClientId2 returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasClientId2() bool {
|
|
if o != nil && !IsNil(o.ClientId2) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetClientId2 gets a reference to the given string and assigns it to the ClientId2 field.
|
|
func (o *IamProvider) SetClientId2(v string) {
|
|
o.ClientId2 = &v
|
|
}
|
|
|
|
// GetClientSecret returns the ClientSecret field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetClientSecret() string {
|
|
if o == nil || IsNil(o.ClientSecret) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.ClientSecret
|
|
}
|
|
|
|
// GetClientSecretOk returns a tuple with the ClientSecret field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetClientSecretOk() (*string, bool) {
|
|
if o == nil || IsNil(o.ClientSecret) {
|
|
return nil, false
|
|
}
|
|
return o.ClientSecret, true
|
|
}
|
|
|
|
// HasClientSecret returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasClientSecret() bool {
|
|
if o != nil && !IsNil(o.ClientSecret) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.
|
|
func (o *IamProvider) SetClientSecret(v string) {
|
|
o.ClientSecret = &v
|
|
}
|
|
|
|
// GetClientSecret2 returns the ClientSecret2 field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetClientSecret2() string {
|
|
if o == nil || IsNil(o.ClientSecret2) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.ClientSecret2
|
|
}
|
|
|
|
// GetClientSecret2Ok returns a tuple with the ClientSecret2 field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetClientSecret2Ok() (*string, bool) {
|
|
if o == nil || IsNil(o.ClientSecret2) {
|
|
return nil, false
|
|
}
|
|
return o.ClientSecret2, true
|
|
}
|
|
|
|
// HasClientSecret2 returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasClientSecret2() bool {
|
|
if o != nil && !IsNil(o.ClientSecret2) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetClientSecret2 gets a reference to the given string and assigns it to the ClientSecret2 field.
|
|
func (o *IamProvider) SetClientSecret2(v string) {
|
|
o.ClientSecret2 = &v
|
|
}
|
|
|
|
// GetContent returns the Content field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetContent() string {
|
|
if o == nil || IsNil(o.Content) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Content
|
|
}
|
|
|
|
// GetContentOk returns a tuple with the Content field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetContentOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Content) {
|
|
return nil, false
|
|
}
|
|
return o.Content, true
|
|
}
|
|
|
|
// HasContent returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasContent() bool {
|
|
if o != nil && !IsNil(o.Content) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetContent gets a reference to the given string and assigns it to the Content field.
|
|
func (o *IamProvider) SetContent(v string) {
|
|
o.Content = &v
|
|
}
|
|
|
|
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
|
|
func (o *IamProvider) 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 *IamProvider) 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 *IamProvider) 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 *IamProvider) SetCreatedAt(v time.Time) {
|
|
o.CreatedAt = &v
|
|
}
|
|
|
|
// GetCreatedTime returns the CreatedTime field value if set, zero value otherwise.
|
|
func (o *IamProvider) 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 *IamProvider) 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 *IamProvider) 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 *IamProvider) SetCreatedTime(v string) {
|
|
o.CreatedTime = &v
|
|
}
|
|
|
|
// GetCustomAuthUrl returns the CustomAuthUrl field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetCustomAuthUrl() string {
|
|
if o == nil || IsNil(o.CustomAuthUrl) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.CustomAuthUrl
|
|
}
|
|
|
|
// GetCustomAuthUrlOk returns a tuple with the CustomAuthUrl field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetCustomAuthUrlOk() (*string, bool) {
|
|
if o == nil || IsNil(o.CustomAuthUrl) {
|
|
return nil, false
|
|
}
|
|
return o.CustomAuthUrl, true
|
|
}
|
|
|
|
// HasCustomAuthUrl returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasCustomAuthUrl() bool {
|
|
if o != nil && !IsNil(o.CustomAuthUrl) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCustomAuthUrl gets a reference to the given string and assigns it to the CustomAuthUrl field.
|
|
func (o *IamProvider) SetCustomAuthUrl(v string) {
|
|
o.CustomAuthUrl = &v
|
|
}
|
|
|
|
// GetCustomLogo returns the CustomLogo field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetCustomLogo() string {
|
|
if o == nil || IsNil(o.CustomLogo) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.CustomLogo
|
|
}
|
|
|
|
// GetCustomLogoOk returns a tuple with the CustomLogo field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetCustomLogoOk() (*string, bool) {
|
|
if o == nil || IsNil(o.CustomLogo) {
|
|
return nil, false
|
|
}
|
|
return o.CustomLogo, true
|
|
}
|
|
|
|
// HasCustomLogo returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasCustomLogo() bool {
|
|
if o != nil && !IsNil(o.CustomLogo) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCustomLogo gets a reference to the given string and assigns it to the CustomLogo field.
|
|
func (o *IamProvider) SetCustomLogo(v string) {
|
|
o.CustomLogo = &v
|
|
}
|
|
|
|
// GetCustomTokenUrl returns the CustomTokenUrl field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetCustomTokenUrl() string {
|
|
if o == nil || IsNil(o.CustomTokenUrl) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.CustomTokenUrl
|
|
}
|
|
|
|
// GetCustomTokenUrlOk returns a tuple with the CustomTokenUrl field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetCustomTokenUrlOk() (*string, bool) {
|
|
if o == nil || IsNil(o.CustomTokenUrl) {
|
|
return nil, false
|
|
}
|
|
return o.CustomTokenUrl, true
|
|
}
|
|
|
|
// HasCustomTokenUrl returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasCustomTokenUrl() bool {
|
|
if o != nil && !IsNil(o.CustomTokenUrl) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCustomTokenUrl gets a reference to the given string and assigns it to the CustomTokenUrl field.
|
|
func (o *IamProvider) SetCustomTokenUrl(v string) {
|
|
o.CustomTokenUrl = &v
|
|
}
|
|
|
|
// GetCustomUserInfoUrl returns the CustomUserInfoUrl field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetCustomUserInfoUrl() string {
|
|
if o == nil || IsNil(o.CustomUserInfoUrl) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.CustomUserInfoUrl
|
|
}
|
|
|
|
// GetCustomUserInfoUrlOk returns a tuple with the CustomUserInfoUrl field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetCustomUserInfoUrlOk() (*string, bool) {
|
|
if o == nil || IsNil(o.CustomUserInfoUrl) {
|
|
return nil, false
|
|
}
|
|
return o.CustomUserInfoUrl, true
|
|
}
|
|
|
|
// HasCustomUserInfoUrl returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasCustomUserInfoUrl() bool {
|
|
if o != nil && !IsNil(o.CustomUserInfoUrl) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCustomUserInfoUrl gets a reference to the given string and assigns it to the CustomUserInfoUrl field.
|
|
func (o *IamProvider) SetCustomUserInfoUrl(v string) {
|
|
o.CustomUserInfoUrl = &v
|
|
}
|
|
|
|
// GetDeleted returns the Deleted field value if set, zero value otherwise.
|
|
func (o *IamProvider) 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 *IamProvider) 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 *IamProvider) 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 *IamProvider) SetDeleted(v bool) {
|
|
o.Deleted = &v
|
|
}
|
|
|
|
// GetDisableSsl returns the DisableSsl field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetDisableSsl() bool {
|
|
if o == nil || IsNil(o.DisableSsl) {
|
|
var ret bool
|
|
return ret
|
|
}
|
|
return *o.DisableSsl
|
|
}
|
|
|
|
// GetDisableSslOk returns a tuple with the DisableSsl field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetDisableSslOk() (*bool, bool) {
|
|
if o == nil || IsNil(o.DisableSsl) {
|
|
return nil, false
|
|
}
|
|
return o.DisableSsl, true
|
|
}
|
|
|
|
// HasDisableSsl returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasDisableSsl() bool {
|
|
if o != nil && !IsNil(o.DisableSsl) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetDisableSsl gets a reference to the given bool and assigns it to the DisableSsl field.
|
|
func (o *IamProvider) SetDisableSsl(v bool) {
|
|
o.DisableSsl = &v
|
|
}
|
|
|
|
// GetDisplayName returns the DisplayName field value if set, zero value otherwise.
|
|
func (o *IamProvider) 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 *IamProvider) 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 *IamProvider) 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 *IamProvider) SetDisplayName(v string) {
|
|
o.DisplayName = &v
|
|
}
|
|
|
|
// GetDomain returns the Domain field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetDomain() string {
|
|
if o == nil || IsNil(o.Domain) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Domain
|
|
}
|
|
|
|
// GetDomainOk returns a tuple with the Domain field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetDomainOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Domain) {
|
|
return nil, false
|
|
}
|
|
return o.Domain, true
|
|
}
|
|
|
|
// HasDomain returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasDomain() bool {
|
|
if o != nil && !IsNil(o.Domain) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetDomain gets a reference to the given string and assigns it to the Domain field.
|
|
func (o *IamProvider) SetDomain(v string) {
|
|
o.Domain = &v
|
|
}
|
|
|
|
// GetEmailRegex returns the EmailRegex field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetEmailRegex() string {
|
|
if o == nil || IsNil(o.EmailRegex) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.EmailRegex
|
|
}
|
|
|
|
// GetEmailRegexOk returns a tuple with the EmailRegex field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetEmailRegexOk() (*string, bool) {
|
|
if o == nil || IsNil(o.EmailRegex) {
|
|
return nil, false
|
|
}
|
|
return o.EmailRegex, true
|
|
}
|
|
|
|
// HasEmailRegex returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasEmailRegex() bool {
|
|
if o != nil && !IsNil(o.EmailRegex) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetEmailRegex gets a reference to the given string and assigns it to the EmailRegex field.
|
|
func (o *IamProvider) SetEmailRegex(v string) {
|
|
o.EmailRegex = &v
|
|
}
|
|
|
|
// GetEnablePkce returns the EnablePkce field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetEnablePkce() bool {
|
|
if o == nil || IsNil(o.EnablePkce) {
|
|
var ret bool
|
|
return ret
|
|
}
|
|
return *o.EnablePkce
|
|
}
|
|
|
|
// GetEnablePkceOk returns a tuple with the EnablePkce field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetEnablePkceOk() (*bool, bool) {
|
|
if o == nil || IsNil(o.EnablePkce) {
|
|
return nil, false
|
|
}
|
|
return o.EnablePkce, true
|
|
}
|
|
|
|
// HasEnablePkce returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasEnablePkce() bool {
|
|
if o != nil && !IsNil(o.EnablePkce) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetEnablePkce gets a reference to the given bool and assigns it to the EnablePkce field.
|
|
func (o *IamProvider) SetEnablePkce(v bool) {
|
|
o.EnablePkce = &v
|
|
}
|
|
|
|
// GetEnableProxy returns the EnableProxy field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetEnableProxy() bool {
|
|
if o == nil || IsNil(o.EnableProxy) {
|
|
var ret bool
|
|
return ret
|
|
}
|
|
return *o.EnableProxy
|
|
}
|
|
|
|
// GetEnableProxyOk returns a tuple with the EnableProxy field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetEnableProxyOk() (*bool, bool) {
|
|
if o == nil || IsNil(o.EnableProxy) {
|
|
return nil, false
|
|
}
|
|
return o.EnableProxy, true
|
|
}
|
|
|
|
// HasEnableProxy returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasEnableProxy() bool {
|
|
if o != nil && !IsNil(o.EnableProxy) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetEnableProxy gets a reference to the given bool and assigns it to the EnableProxy field.
|
|
func (o *IamProvider) SetEnableProxy(v bool) {
|
|
o.EnableProxy = &v
|
|
}
|
|
|
|
// GetEnableSignAuthnRequest returns the EnableSignAuthnRequest field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetEnableSignAuthnRequest() bool {
|
|
if o == nil || IsNil(o.EnableSignAuthnRequest) {
|
|
var ret bool
|
|
return ret
|
|
}
|
|
return *o.EnableSignAuthnRequest
|
|
}
|
|
|
|
// GetEnableSignAuthnRequestOk returns a tuple with the EnableSignAuthnRequest field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetEnableSignAuthnRequestOk() (*bool, bool) {
|
|
if o == nil || IsNil(o.EnableSignAuthnRequest) {
|
|
return nil, false
|
|
}
|
|
return o.EnableSignAuthnRequest, true
|
|
}
|
|
|
|
// HasEnableSignAuthnRequest returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasEnableSignAuthnRequest() bool {
|
|
if o != nil && !IsNil(o.EnableSignAuthnRequest) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetEnableSignAuthnRequest gets a reference to the given bool and assigns it to the EnableSignAuthnRequest field.
|
|
func (o *IamProvider) SetEnableSignAuthnRequest(v bool) {
|
|
o.EnableSignAuthnRequest = &v
|
|
}
|
|
|
|
// GetEndpoint returns the Endpoint field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetEndpoint() string {
|
|
if o == nil || IsNil(o.Endpoint) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Endpoint
|
|
}
|
|
|
|
// GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetEndpointOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Endpoint) {
|
|
return nil, false
|
|
}
|
|
return o.Endpoint, true
|
|
}
|
|
|
|
// HasEndpoint returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasEndpoint() bool {
|
|
if o != nil && !IsNil(o.Endpoint) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.
|
|
func (o *IamProvider) SetEndpoint(v string) {
|
|
o.Endpoint = &v
|
|
}
|
|
|
|
// GetHost returns the Host field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetHost() string {
|
|
if o == nil || IsNil(o.Host) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Host
|
|
}
|
|
|
|
// GetHostOk returns a tuple with the Host field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetHostOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Host) {
|
|
return nil, false
|
|
}
|
|
return o.Host, true
|
|
}
|
|
|
|
// HasHost returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasHost() bool {
|
|
if o != nil && !IsNil(o.Host) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetHost gets a reference to the given string and assigns it to the Host field.
|
|
func (o *IamProvider) SetHost(v string) {
|
|
o.Host = &v
|
|
}
|
|
|
|
// GetHttpHeaders returns the HttpHeaders field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetHttpHeaders() map[string]string {
|
|
if o == nil || IsNil(o.HttpHeaders) {
|
|
var ret map[string]string
|
|
return ret
|
|
}
|
|
return o.HttpHeaders
|
|
}
|
|
|
|
// GetHttpHeadersOk returns a tuple with the HttpHeaders field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetHttpHeadersOk() (map[string]string, bool) {
|
|
if o == nil || IsNil(o.HttpHeaders) {
|
|
return map[string]string{}, false
|
|
}
|
|
return o.HttpHeaders, true
|
|
}
|
|
|
|
// HasHttpHeaders returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasHttpHeaders() bool {
|
|
if o != nil && !IsNil(o.HttpHeaders) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetHttpHeaders gets a reference to the given map[string]string and assigns it to the HttpHeaders field.
|
|
func (o *IamProvider) SetHttpHeaders(v map[string]string) {
|
|
o.HttpHeaders = v
|
|
}
|
|
|
|
// GetId returns the Id field value if set, zero value otherwise.
|
|
func (o *IamProvider) 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 *IamProvider) 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 *IamProvider) 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 *IamProvider) SetId(v string) {
|
|
o.Id = &v
|
|
}
|
|
|
|
// GetIdP returns the IdP field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetIdP() string {
|
|
if o == nil || IsNil(o.IdP) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.IdP
|
|
}
|
|
|
|
// GetIdPOk returns a tuple with the IdP field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetIdPOk() (*string, bool) {
|
|
if o == nil || IsNil(o.IdP) {
|
|
return nil, false
|
|
}
|
|
return o.IdP, true
|
|
}
|
|
|
|
// HasIdP returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasIdP() bool {
|
|
if o != nil && !IsNil(o.IdP) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetIdP gets a reference to the given string and assigns it to the IdP field.
|
|
func (o *IamProvider) SetIdP(v string) {
|
|
o.IdP = &v
|
|
}
|
|
|
|
// GetIntranetEndpoint returns the IntranetEndpoint field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetIntranetEndpoint() string {
|
|
if o == nil || IsNil(o.IntranetEndpoint) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.IntranetEndpoint
|
|
}
|
|
|
|
// GetIntranetEndpointOk returns a tuple with the IntranetEndpoint field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetIntranetEndpointOk() (*string, bool) {
|
|
if o == nil || IsNil(o.IntranetEndpoint) {
|
|
return nil, false
|
|
}
|
|
return o.IntranetEndpoint, true
|
|
}
|
|
|
|
// HasIntranetEndpoint returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasIntranetEndpoint() bool {
|
|
if o != nil && !IsNil(o.IntranetEndpoint) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetIntranetEndpoint gets a reference to the given string and assigns it to the IntranetEndpoint field.
|
|
func (o *IamProvider) SetIntranetEndpoint(v string) {
|
|
o.IntranetEndpoint = &v
|
|
}
|
|
|
|
// GetIssuerUrl returns the IssuerUrl field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetIssuerUrl() string {
|
|
if o == nil || IsNil(o.IssuerUrl) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.IssuerUrl
|
|
}
|
|
|
|
// GetIssuerUrlOk returns a tuple with the IssuerUrl field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetIssuerUrlOk() (*string, bool) {
|
|
if o == nil || IsNil(o.IssuerUrl) {
|
|
return nil, false
|
|
}
|
|
return o.IssuerUrl, true
|
|
}
|
|
|
|
// HasIssuerUrl returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasIssuerUrl() bool {
|
|
if o != nil && !IsNil(o.IssuerUrl) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetIssuerUrl gets a reference to the given string and assigns it to the IssuerUrl field.
|
|
func (o *IamProvider) SetIssuerUrl(v string) {
|
|
o.IssuerUrl = &v
|
|
}
|
|
|
|
// GetMetadata returns the Metadata field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetMetadata() string {
|
|
if o == nil || IsNil(o.Metadata) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Metadata
|
|
}
|
|
|
|
// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetMetadataOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Metadata) {
|
|
return nil, false
|
|
}
|
|
return o.Metadata, true
|
|
}
|
|
|
|
// HasMetadata returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasMetadata() bool {
|
|
if o != nil && !IsNil(o.Metadata) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetMetadata gets a reference to the given string and assigns it to the Metadata field.
|
|
func (o *IamProvider) SetMetadata(v string) {
|
|
o.Metadata = &v
|
|
}
|
|
|
|
// GetMethod returns the Method field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetMethod() string {
|
|
if o == nil || IsNil(o.Method) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Method
|
|
}
|
|
|
|
// GetMethodOk returns a tuple with the Method field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetMethodOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Method) {
|
|
return nil, false
|
|
}
|
|
return o.Method, true
|
|
}
|
|
|
|
// HasMethod returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasMethod() bool {
|
|
if o != nil && !IsNil(o.Method) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetMethod gets a reference to the given string and assigns it to the Method field.
|
|
func (o *IamProvider) SetMethod(v string) {
|
|
o.Method = &v
|
|
}
|
|
|
|
// GetName returns the Name field value if set, zero value otherwise.
|
|
func (o *IamProvider) 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 *IamProvider) 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 *IamProvider) 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 *IamProvider) SetName(v string) {
|
|
o.Name = &v
|
|
}
|
|
|
|
// GetOwner returns the Owner field value if set, zero value otherwise.
|
|
func (o *IamProvider) 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 *IamProvider) 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 *IamProvider) 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 *IamProvider) SetOwner(v string) {
|
|
o.Owner = &v
|
|
}
|
|
|
|
// GetPathPrefix returns the PathPrefix field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetPathPrefix() string {
|
|
if o == nil || IsNil(o.PathPrefix) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.PathPrefix
|
|
}
|
|
|
|
// GetPathPrefixOk returns a tuple with the PathPrefix field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetPathPrefixOk() (*string, bool) {
|
|
if o == nil || IsNil(o.PathPrefix) {
|
|
return nil, false
|
|
}
|
|
return o.PathPrefix, true
|
|
}
|
|
|
|
// HasPathPrefix returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasPathPrefix() bool {
|
|
if o != nil && !IsNil(o.PathPrefix) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetPathPrefix gets a reference to the given string and assigns it to the PathPrefix field.
|
|
func (o *IamProvider) SetPathPrefix(v string) {
|
|
o.PathPrefix = &v
|
|
}
|
|
|
|
// GetPort returns the Port field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetPort() int64 {
|
|
if o == nil || IsNil(o.Port) {
|
|
var ret int64
|
|
return ret
|
|
}
|
|
return *o.Port
|
|
}
|
|
|
|
// GetPortOk returns a tuple with the Port field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetPortOk() (*int64, bool) {
|
|
if o == nil || IsNil(o.Port) {
|
|
return nil, false
|
|
}
|
|
return o.Port, true
|
|
}
|
|
|
|
// HasPort returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasPort() bool {
|
|
if o != nil && !IsNil(o.Port) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetPort gets a reference to the given int64 and assigns it to the Port field.
|
|
func (o *IamProvider) SetPort(v int64) {
|
|
o.Port = &v
|
|
}
|
|
|
|
// GetProviderUrl returns the ProviderUrl field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetProviderUrl() string {
|
|
if o == nil || IsNil(o.ProviderUrl) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.ProviderUrl
|
|
}
|
|
|
|
// GetProviderUrlOk returns a tuple with the ProviderUrl field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetProviderUrlOk() (*string, bool) {
|
|
if o == nil || IsNil(o.ProviderUrl) {
|
|
return nil, false
|
|
}
|
|
return o.ProviderUrl, true
|
|
}
|
|
|
|
// HasProviderUrl returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasProviderUrl() bool {
|
|
if o != nil && !IsNil(o.ProviderUrl) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetProviderUrl gets a reference to the given string and assigns it to the ProviderUrl field.
|
|
func (o *IamProvider) SetProviderUrl(v string) {
|
|
o.ProviderUrl = &v
|
|
}
|
|
|
|
// GetReceiver returns the Receiver field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetReceiver() string {
|
|
if o == nil || IsNil(o.Receiver) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Receiver
|
|
}
|
|
|
|
// GetReceiverOk returns a tuple with the Receiver field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetReceiverOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Receiver) {
|
|
return nil, false
|
|
}
|
|
return o.Receiver, true
|
|
}
|
|
|
|
// HasReceiver returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasReceiver() bool {
|
|
if o != nil && !IsNil(o.Receiver) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetReceiver gets a reference to the given string and assigns it to the Receiver field.
|
|
func (o *IamProvider) SetReceiver(v string) {
|
|
o.Receiver = &v
|
|
}
|
|
|
|
// GetRegionId returns the RegionId field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetRegionId() string {
|
|
if o == nil || IsNil(o.RegionId) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.RegionId
|
|
}
|
|
|
|
// GetRegionIdOk returns a tuple with the RegionId field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetRegionIdOk() (*string, bool) {
|
|
if o == nil || IsNil(o.RegionId) {
|
|
return nil, false
|
|
}
|
|
return o.RegionId, true
|
|
}
|
|
|
|
// HasRegionId returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasRegionId() bool {
|
|
if o != nil && !IsNil(o.RegionId) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetRegionId gets a reference to the given string and assigns it to the RegionId field.
|
|
func (o *IamProvider) SetRegionId(v string) {
|
|
o.RegionId = &v
|
|
}
|
|
|
|
// GetScopes returns the Scopes field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetScopes() string {
|
|
if o == nil || IsNil(o.Scopes) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Scopes
|
|
}
|
|
|
|
// GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetScopesOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Scopes) {
|
|
return nil, false
|
|
}
|
|
return o.Scopes, true
|
|
}
|
|
|
|
// HasScopes returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasScopes() bool {
|
|
if o != nil && !IsNil(o.Scopes) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetScopes gets a reference to the given string and assigns it to the Scopes field.
|
|
func (o *IamProvider) SetScopes(v string) {
|
|
o.Scopes = &v
|
|
}
|
|
|
|
// GetSignName returns the SignName field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetSignName() string {
|
|
if o == nil || IsNil(o.SignName) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.SignName
|
|
}
|
|
|
|
// GetSignNameOk returns a tuple with the SignName field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetSignNameOk() (*string, bool) {
|
|
if o == nil || IsNil(o.SignName) {
|
|
return nil, false
|
|
}
|
|
return o.SignName, true
|
|
}
|
|
|
|
// HasSignName returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasSignName() bool {
|
|
if o != nil && !IsNil(o.SignName) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetSignName gets a reference to the given string and assigns it to the SignName field.
|
|
func (o *IamProvider) SetSignName(v string) {
|
|
o.SignName = &v
|
|
}
|
|
|
|
// GetSslMode returns the SslMode field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetSslMode() string {
|
|
if o == nil || IsNil(o.SslMode) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.SslMode
|
|
}
|
|
|
|
// GetSslModeOk returns a tuple with the SslMode field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetSslModeOk() (*string, bool) {
|
|
if o == nil || IsNil(o.SslMode) {
|
|
return nil, false
|
|
}
|
|
return o.SslMode, true
|
|
}
|
|
|
|
// HasSslMode returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasSslMode() bool {
|
|
if o != nil && !IsNil(o.SslMode) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetSslMode gets a reference to the given string and assigns it to the SslMode field.
|
|
func (o *IamProvider) SetSslMode(v string) {
|
|
o.SslMode = &v
|
|
}
|
|
|
|
// GetSubType returns the SubType field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetSubType() string {
|
|
if o == nil || IsNil(o.SubType) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.SubType
|
|
}
|
|
|
|
// GetSubTypeOk returns a tuple with the SubType field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetSubTypeOk() (*string, bool) {
|
|
if o == nil || IsNil(o.SubType) {
|
|
return nil, false
|
|
}
|
|
return o.SubType, true
|
|
}
|
|
|
|
// HasSubType returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasSubType() bool {
|
|
if o != nil && !IsNil(o.SubType) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetSubType gets a reference to the given string and assigns it to the SubType field.
|
|
func (o *IamProvider) SetSubType(v string) {
|
|
o.SubType = &v
|
|
}
|
|
|
|
// GetTemplateCode returns the TemplateCode field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetTemplateCode() string {
|
|
if o == nil || IsNil(o.TemplateCode) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.TemplateCode
|
|
}
|
|
|
|
// GetTemplateCodeOk returns a tuple with the TemplateCode field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetTemplateCodeOk() (*string, bool) {
|
|
if o == nil || IsNil(o.TemplateCode) {
|
|
return nil, false
|
|
}
|
|
return o.TemplateCode, true
|
|
}
|
|
|
|
// HasTemplateCode returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasTemplateCode() bool {
|
|
if o != nil && !IsNil(o.TemplateCode) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetTemplateCode gets a reference to the given string and assigns it to the TemplateCode field.
|
|
func (o *IamProvider) SetTemplateCode(v string) {
|
|
o.TemplateCode = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetTitle() string {
|
|
if o == nil || IsNil(o.Title) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Title
|
|
}
|
|
|
|
// GetTitleOk returns a tuple with the Title field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetTitleOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Title) {
|
|
return nil, false
|
|
}
|
|
return o.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasTitle() bool {
|
|
if o != nil && !IsNil(o.Title) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetTitle gets a reference to the given string and assigns it to the Title field.
|
|
func (o *IamProvider) SetTitle(v string) {
|
|
o.Title = &v
|
|
}
|
|
|
|
// GetType returns the Type field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetType() string {
|
|
if o == nil || IsNil(o.Type) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Type
|
|
}
|
|
|
|
// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetTypeOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Type) {
|
|
return nil, false
|
|
}
|
|
return o.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasType() bool {
|
|
if o != nil && !IsNil(o.Type) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetType gets a reference to the given string and assigns it to the Type field.
|
|
func (o *IamProvider) SetType(v string) {
|
|
o.Type = &v
|
|
}
|
|
|
|
// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
|
|
func (o *IamProvider) 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 *IamProvider) 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 *IamProvider) 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 *IamProvider) SetUpdatedAt(v time.Time) {
|
|
o.UpdatedAt = &v
|
|
}
|
|
|
|
// GetUserMapping returns the UserMapping field value if set, zero value otherwise.
|
|
func (o *IamProvider) GetUserMapping() map[string]string {
|
|
if o == nil || IsNil(o.UserMapping) {
|
|
var ret map[string]string
|
|
return ret
|
|
}
|
|
return o.UserMapping
|
|
}
|
|
|
|
// GetUserMappingOk returns a tuple with the UserMapping field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *IamProvider) GetUserMappingOk() (map[string]string, bool) {
|
|
if o == nil || IsNil(o.UserMapping) {
|
|
return map[string]string{}, false
|
|
}
|
|
return o.UserMapping, true
|
|
}
|
|
|
|
// HasUserMapping returns a boolean if a field has been set.
|
|
func (o *IamProvider) HasUserMapping() bool {
|
|
if o != nil && !IsNil(o.UserMapping) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetUserMapping gets a reference to the given map[string]string and assigns it to the UserMapping field.
|
|
func (o *IamProvider) SetUserMapping(v map[string]string) {
|
|
o.UserMapping = v
|
|
}
|
|
|
|
func (o IamProvider) MarshalJSON() ([]byte, error) {
|
|
toSerialize, err := o.ToMap()
|
|
if err != nil {
|
|
return []byte{}, err
|
|
}
|
|
return json.Marshal(toSerialize)
|
|
}
|
|
|
|
func (o IamProvider) ToMap() (map[string]interface{}, error) {
|
|
toSerialize := map[string]interface{}{}
|
|
if !IsNil(o.AppId) {
|
|
toSerialize["appId"] = o.AppId
|
|
}
|
|
if !IsNil(o.Bucket) {
|
|
toSerialize["bucket"] = o.Bucket
|
|
}
|
|
if !IsNil(o.Category) {
|
|
toSerialize["category"] = o.Category
|
|
}
|
|
if !IsNil(o.Cert) {
|
|
toSerialize["cert"] = o.Cert
|
|
}
|
|
if !IsNil(o.ClientId) {
|
|
toSerialize["clientId"] = o.ClientId
|
|
}
|
|
if !IsNil(o.ClientId2) {
|
|
toSerialize["clientId2"] = o.ClientId2
|
|
}
|
|
if !IsNil(o.ClientSecret) {
|
|
toSerialize["clientSecret"] = o.ClientSecret
|
|
}
|
|
if !IsNil(o.ClientSecret2) {
|
|
toSerialize["clientSecret2"] = o.ClientSecret2
|
|
}
|
|
if !IsNil(o.Content) {
|
|
toSerialize["content"] = o.Content
|
|
}
|
|
if !IsNil(o.CreatedAt) {
|
|
toSerialize["createdAt"] = o.CreatedAt
|
|
}
|
|
if !IsNil(o.CreatedTime) {
|
|
toSerialize["createdTime"] = o.CreatedTime
|
|
}
|
|
if !IsNil(o.CustomAuthUrl) {
|
|
toSerialize["customAuthUrl"] = o.CustomAuthUrl
|
|
}
|
|
if !IsNil(o.CustomLogo) {
|
|
toSerialize["customLogo"] = o.CustomLogo
|
|
}
|
|
if !IsNil(o.CustomTokenUrl) {
|
|
toSerialize["customTokenUrl"] = o.CustomTokenUrl
|
|
}
|
|
if !IsNil(o.CustomUserInfoUrl) {
|
|
toSerialize["customUserInfoUrl"] = o.CustomUserInfoUrl
|
|
}
|
|
if !IsNil(o.Deleted) {
|
|
toSerialize["deleted"] = o.Deleted
|
|
}
|
|
if !IsNil(o.DisableSsl) {
|
|
toSerialize["disableSsl"] = o.DisableSsl
|
|
}
|
|
if !IsNil(o.DisplayName) {
|
|
toSerialize["displayName"] = o.DisplayName
|
|
}
|
|
if !IsNil(o.Domain) {
|
|
toSerialize["domain"] = o.Domain
|
|
}
|
|
if !IsNil(o.EmailRegex) {
|
|
toSerialize["emailRegex"] = o.EmailRegex
|
|
}
|
|
if !IsNil(o.EnablePkce) {
|
|
toSerialize["enablePkce"] = o.EnablePkce
|
|
}
|
|
if !IsNil(o.EnableProxy) {
|
|
toSerialize["enableProxy"] = o.EnableProxy
|
|
}
|
|
if !IsNil(o.EnableSignAuthnRequest) {
|
|
toSerialize["enableSignAuthnRequest"] = o.EnableSignAuthnRequest
|
|
}
|
|
if !IsNil(o.Endpoint) {
|
|
toSerialize["endpoint"] = o.Endpoint
|
|
}
|
|
if !IsNil(o.Host) {
|
|
toSerialize["host"] = o.Host
|
|
}
|
|
if !IsNil(o.HttpHeaders) {
|
|
toSerialize["httpHeaders"] = o.HttpHeaders
|
|
}
|
|
if !IsNil(o.Id) {
|
|
toSerialize["id"] = o.Id
|
|
}
|
|
if !IsNil(o.IdP) {
|
|
toSerialize["idP"] = o.IdP
|
|
}
|
|
if !IsNil(o.IntranetEndpoint) {
|
|
toSerialize["intranetEndpoint"] = o.IntranetEndpoint
|
|
}
|
|
if !IsNil(o.IssuerUrl) {
|
|
toSerialize["issuerUrl"] = o.IssuerUrl
|
|
}
|
|
if !IsNil(o.Metadata) {
|
|
toSerialize["metadata"] = o.Metadata
|
|
}
|
|
if !IsNil(o.Method) {
|
|
toSerialize["method"] = o.Method
|
|
}
|
|
if !IsNil(o.Name) {
|
|
toSerialize["name"] = o.Name
|
|
}
|
|
if !IsNil(o.Owner) {
|
|
toSerialize["owner"] = o.Owner
|
|
}
|
|
if !IsNil(o.PathPrefix) {
|
|
toSerialize["pathPrefix"] = o.PathPrefix
|
|
}
|
|
if !IsNil(o.Port) {
|
|
toSerialize["port"] = o.Port
|
|
}
|
|
if !IsNil(o.ProviderUrl) {
|
|
toSerialize["providerUrl"] = o.ProviderUrl
|
|
}
|
|
if !IsNil(o.Receiver) {
|
|
toSerialize["receiver"] = o.Receiver
|
|
}
|
|
if !IsNil(o.RegionId) {
|
|
toSerialize["regionId"] = o.RegionId
|
|
}
|
|
if !IsNil(o.Scopes) {
|
|
toSerialize["scopes"] = o.Scopes
|
|
}
|
|
if !IsNil(o.SignName) {
|
|
toSerialize["signName"] = o.SignName
|
|
}
|
|
if !IsNil(o.SslMode) {
|
|
toSerialize["sslMode"] = o.SslMode
|
|
}
|
|
if !IsNil(o.SubType) {
|
|
toSerialize["subType"] = o.SubType
|
|
}
|
|
if !IsNil(o.TemplateCode) {
|
|
toSerialize["templateCode"] = o.TemplateCode
|
|
}
|
|
if !IsNil(o.Title) {
|
|
toSerialize["title"] = o.Title
|
|
}
|
|
if !IsNil(o.Type) {
|
|
toSerialize["type"] = o.Type
|
|
}
|
|
if !IsNil(o.UpdatedAt) {
|
|
toSerialize["updatedAt"] = o.UpdatedAt
|
|
}
|
|
if !IsNil(o.UserMapping) {
|
|
toSerialize["userMapping"] = o.UserMapping
|
|
}
|
|
|
|
for key, value := range o.AdditionalProperties {
|
|
toSerialize[key] = value
|
|
}
|
|
|
|
return toSerialize, nil
|
|
}
|
|
|
|
func (o *IamProvider) UnmarshalJSON(data []byte) (err error) {
|
|
varIamProvider := _IamProvider{}
|
|
|
|
err = json.Unmarshal(data, &varIamProvider)
|
|
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
*o = IamProvider(varIamProvider)
|
|
|
|
additionalProperties := make(map[string]interface{})
|
|
|
|
if err = json.Unmarshal(data, &additionalProperties); err == nil {
|
|
delete(additionalProperties, "appId")
|
|
delete(additionalProperties, "bucket")
|
|
delete(additionalProperties, "category")
|
|
delete(additionalProperties, "cert")
|
|
delete(additionalProperties, "clientId")
|
|
delete(additionalProperties, "clientId2")
|
|
delete(additionalProperties, "clientSecret")
|
|
delete(additionalProperties, "clientSecret2")
|
|
delete(additionalProperties, "content")
|
|
delete(additionalProperties, "createdAt")
|
|
delete(additionalProperties, "createdTime")
|
|
delete(additionalProperties, "customAuthUrl")
|
|
delete(additionalProperties, "customLogo")
|
|
delete(additionalProperties, "customTokenUrl")
|
|
delete(additionalProperties, "customUserInfoUrl")
|
|
delete(additionalProperties, "deleted")
|
|
delete(additionalProperties, "disableSsl")
|
|
delete(additionalProperties, "displayName")
|
|
delete(additionalProperties, "domain")
|
|
delete(additionalProperties, "emailRegex")
|
|
delete(additionalProperties, "enablePkce")
|
|
delete(additionalProperties, "enableProxy")
|
|
delete(additionalProperties, "enableSignAuthnRequest")
|
|
delete(additionalProperties, "endpoint")
|
|
delete(additionalProperties, "host")
|
|
delete(additionalProperties, "httpHeaders")
|
|
delete(additionalProperties, "id")
|
|
delete(additionalProperties, "idP")
|
|
delete(additionalProperties, "intranetEndpoint")
|
|
delete(additionalProperties, "issuerUrl")
|
|
delete(additionalProperties, "metadata")
|
|
delete(additionalProperties, "method")
|
|
delete(additionalProperties, "name")
|
|
delete(additionalProperties, "owner")
|
|
delete(additionalProperties, "pathPrefix")
|
|
delete(additionalProperties, "port")
|
|
delete(additionalProperties, "providerUrl")
|
|
delete(additionalProperties, "receiver")
|
|
delete(additionalProperties, "regionId")
|
|
delete(additionalProperties, "scopes")
|
|
delete(additionalProperties, "signName")
|
|
delete(additionalProperties, "sslMode")
|
|
delete(additionalProperties, "subType")
|
|
delete(additionalProperties, "templateCode")
|
|
delete(additionalProperties, "title")
|
|
delete(additionalProperties, "type")
|
|
delete(additionalProperties, "updatedAt")
|
|
delete(additionalProperties, "userMapping")
|
|
o.AdditionalProperties = additionalProperties
|
|
}
|
|
|
|
return err
|
|
}
|
|
|
|
type NullableIamProvider struct {
|
|
value *IamProvider
|
|
isSet bool
|
|
}
|
|
|
|
func (v NullableIamProvider) Get() *IamProvider {
|
|
return v.value
|
|
}
|
|
|
|
func (v *NullableIamProvider) Set(val *IamProvider) {
|
|
v.value = val
|
|
v.isSet = true
|
|
}
|
|
|
|
func (v NullableIamProvider) IsSet() bool {
|
|
return v.isSet
|
|
}
|
|
|
|
func (v *NullableIamProvider) Unset() {
|
|
v.value = nil
|
|
v.isSet = false
|
|
}
|
|
|
|
func NewNullableIamProvider(val *IamProvider) *NullableIamProvider {
|
|
return &NullableIamProvider{value: val, isSet: true}
|
|
}
|
|
|
|
func (v NullableIamProvider) MarshalJSON() ([]byte, error) {
|
|
return json.Marshal(v.value)
|
|
}
|
|
|
|
func (v *NullableIamProvider) UnmarshalJSON(src []byte) error {
|
|
v.isSet = true
|
|
return json.Unmarshal(src, &v.value)
|
|
}
|