Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type APITokensAPIService
- func (a *APITokensAPIService) CreateApiToken(ctx context.Context) ApiCreateApiTokenRequest
- func (a *APITokensAPIService) CreateApiTokenExecute(r ApiCreateApiTokenRequest) (*ApiTokenSchema, *http.Response, error)
- func (a *APITokensAPIService) DeleteApiToken(ctx context.Context, token string) ApiDeleteApiTokenRequest
- func (a *APITokensAPIService) DeleteApiTokenExecute(r ApiDeleteApiTokenRequest) (*http.Response, error)
- func (a *APITokensAPIService) GetAllApiTokens(ctx context.Context) ApiGetAllApiTokensRequest
- func (a *APITokensAPIService) GetAllApiTokensExecute(r ApiGetAllApiTokensRequest) (*ApiTokensSchema, *http.Response, error)
- func (a *APITokensAPIService) GetApiTokensByName(ctx context.Context, name string) ApiGetApiTokensByNameRequest
- func (a *APITokensAPIService) GetApiTokensByNameExecute(r ApiGetApiTokensByNameRequest) (*ApiTokensSchema, *http.Response, error)
- func (a *APITokensAPIService) UpdateApiToken(ctx context.Context, token string) ApiUpdateApiTokenRequest
- func (a *APITokensAPIService) UpdateApiTokenExecute(r ApiUpdateApiTokenRequest) (*http.Response, error)
- type AdminPermissionSchema
- func (o *AdminPermissionSchema) GetDisplayName() string
- func (o *AdminPermissionSchema) GetDisplayNameOk() (*string, bool)
- func (o *AdminPermissionSchema) GetEnvironment() string
- func (o *AdminPermissionSchema) GetEnvironmentOk() (*string, bool)
- func (o *AdminPermissionSchema) GetId() int32
- func (o *AdminPermissionSchema) GetIdOk() (*int32, bool)
- func (o *AdminPermissionSchema) GetName() string
- func (o *AdminPermissionSchema) GetNameOk() (*string, bool)
- func (o *AdminPermissionSchema) GetType() string
- func (o *AdminPermissionSchema) GetTypeOk() (*string, bool)
- func (o *AdminPermissionSchema) HasEnvironment() bool
- func (o AdminPermissionSchema) MarshalJSON() ([]byte, error)
- func (o *AdminPermissionSchema) SetDisplayName(v string)
- func (o *AdminPermissionSchema) SetEnvironment(v string)
- func (o *AdminPermissionSchema) SetEnvironmentNil()
- func (o *AdminPermissionSchema) SetId(v int32)
- func (o *AdminPermissionSchema) SetName(v string)
- func (o *AdminPermissionSchema) SetType(v string)
- func (o AdminPermissionSchema) ToMap() (map[string]interface{}, error)
- func (o *AdminPermissionSchema) UnmarshalJSON(data []byte) (err error)
- func (o *AdminPermissionSchema) UnsetEnvironment()
- type AdminPermissionsSchema
- func (o *AdminPermissionsSchema) GetPermissions() AdminPermissionsSchemaPermissions
- func (o *AdminPermissionsSchema) GetPermissionsOk() (*AdminPermissionsSchemaPermissions, bool)
- func (o *AdminPermissionsSchema) GetVersion() int32
- func (o *AdminPermissionsSchema) GetVersionOk() (*int32, bool)
- func (o AdminPermissionsSchema) MarshalJSON() ([]byte, error)
- func (o *AdminPermissionsSchema) SetPermissions(v AdminPermissionsSchemaPermissions)
- func (o *AdminPermissionsSchema) SetVersion(v int32)
- func (o AdminPermissionsSchema) ToMap() (map[string]interface{}, error)
- func (o *AdminPermissionsSchema) UnmarshalJSON(data []byte) (err error)
- type AdminPermissionsSchemaPermissions
- func (o *AdminPermissionsSchemaPermissions) GetEnvironments() []AdminPermissionsSchemaPermissionsEnvironmentsInner
- func (o *AdminPermissionsSchemaPermissions) GetEnvironmentsOk() ([]AdminPermissionsSchemaPermissionsEnvironmentsInner, bool)
- func (o *AdminPermissionsSchemaPermissions) GetProject() []AdminPermissionSchema
- func (o *AdminPermissionsSchemaPermissions) GetProjectOk() ([]AdminPermissionSchema, bool)
- func (o *AdminPermissionsSchemaPermissions) GetRoot() []AdminPermissionSchema
- func (o *AdminPermissionsSchemaPermissions) GetRootOk() ([]AdminPermissionSchema, bool)
- func (o *AdminPermissionsSchemaPermissions) HasRoot() bool
- func (o AdminPermissionsSchemaPermissions) MarshalJSON() ([]byte, error)
- func (o *AdminPermissionsSchemaPermissions) SetEnvironments(v []AdminPermissionsSchemaPermissionsEnvironmentsInner)
- func (o *AdminPermissionsSchemaPermissions) SetProject(v []AdminPermissionSchema)
- func (o *AdminPermissionsSchemaPermissions) SetRoot(v []AdminPermissionSchema)
- func (o AdminPermissionsSchemaPermissions) ToMap() (map[string]interface{}, error)
- func (o *AdminPermissionsSchemaPermissions) UnmarshalJSON(data []byte) (err error)
- type AdminPermissionsSchemaPermissionsEnvironmentsInner
- func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) GetName() string
- func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) GetNameOk() (*string, bool)
- func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) GetPermissions() []AdminPermissionSchema
- func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) GetPermissionsOk() ([]AdminPermissionSchema, bool)
- func (o AdminPermissionsSchemaPermissionsEnvironmentsInner) MarshalJSON() ([]byte, error)
- func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) SetName(v string)
- func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) SetPermissions(v []AdminPermissionSchema)
- func (o AdminPermissionsSchemaPermissionsEnvironmentsInner) ToMap() (map[string]interface{}, error)
- func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) UnmarshalJSON(data []byte) (err error)
- type ApiAddEnvironmentToProjectRequest
- type ApiCreateApiTokenRequest
- type ApiCreateContextFieldRequest
- type ApiCreateEnvironmentRequest
- type ApiCreateGroupRequest
- type ApiCreateProjectRequest
- type ApiCreateRoleRequest
- type ApiCreateServiceAccountRequest
- type ApiCreateServiceAccountTokenRequest
- type ApiCreateUserRequest
- type ApiDeleteApiTokenRequest
- type ApiDeleteContextFieldRequest
- type ApiDeleteGroupRequest
- type ApiDeleteProjectRequest
- type ApiDeleteRoleRequest
- type ApiDeleteServiceAccountRequest
- type ApiDeleteServiceAccountTokenRequest
- type ApiDeleteUserRequest
- type ApiGetAllApiTokensRequest
- type ApiGetAllEnvironmentsRequest
- type ApiGetApiTokensByNameRequest
- type ApiGetContextFieldRequest
- type ApiGetContextFieldsRequest
- type ApiGetEnvironmentRequest
- type ApiGetGroupRequest
- type ApiGetGroupsRequest
- type ApiGetOidcSettingsRequest
- type ApiGetPermissionsRequest
- type ApiGetProjectAccessRequest
- type ApiGetProjectChangeRequestConfigRequest
- type ApiGetProjectEnvironmentsRequest
- type ApiGetProjectsRequest
- type ApiGetRoleByIdRequest
- type ApiGetRolesRequest
- type ApiGetSamlSettingsRequest
- type ApiGetServiceAccountTokensRequest
- type ApiGetServiceAccountsRequest
- type ApiGetSimpleSettingsRequest
- type ApiGetUserRequest
- type ApiRemoveEnvironmentFromProjectRequest
- type ApiRemoveEnvironmentRequest
- type ApiSearchUsersRequest
- type ApiSetOidcSettingsRequest
- type ApiSetProjectAccessRequest
- type ApiSetSamlSettingsRequest
- type ApiSetSimpleSettingsRequest
- type ApiTokenSchema
- func (o *ApiTokenSchema) GetAlias() string
- func (o *ApiTokenSchema) GetAliasOk() (*string, bool)
- func (o *ApiTokenSchema) GetCreatedAt() time.Time
- func (o *ApiTokenSchema) GetCreatedAtOk() (*time.Time, bool)
- func (o *ApiTokenSchema) GetEnvironment() string
- func (o *ApiTokenSchema) GetEnvironmentOk() (*string, bool)
- func (o *ApiTokenSchema) GetExpiresAt() time.Time
- func (o *ApiTokenSchema) GetExpiresAtOk() (*time.Time, bool)
- func (o *ApiTokenSchema) GetProject() string
- func (o *ApiTokenSchema) GetProjectOk() (*string, bool)
- func (o *ApiTokenSchema) GetProjects() []string
- func (o *ApiTokenSchema) GetProjectsOk() ([]string, bool)
- func (o *ApiTokenSchema) GetSecret() string
- func (o *ApiTokenSchema) GetSecretOk() (*string, bool)
- func (o *ApiTokenSchema) GetSeenAt() time.Time
- func (o *ApiTokenSchema) GetSeenAtOk() (*time.Time, bool)
- func (o *ApiTokenSchema) GetTokenName() string
- func (o *ApiTokenSchema) GetTokenNameOk() (*string, bool)
- func (o *ApiTokenSchema) GetType() string
- func (o *ApiTokenSchema) GetTypeOk() (*string, bool)
- func (o *ApiTokenSchema) HasAlias() bool
- func (o *ApiTokenSchema) HasEnvironment() bool
- func (o *ApiTokenSchema) HasExpiresAt() bool
- func (o *ApiTokenSchema) HasProject() bool
- func (o *ApiTokenSchema) HasSeenAt() bool
- func (o ApiTokenSchema) MarshalJSON() ([]byte, error)
- func (o *ApiTokenSchema) SetAlias(v string)
- func (o *ApiTokenSchema) SetAliasNil()
- func (o *ApiTokenSchema) SetCreatedAt(v time.Time)
- func (o *ApiTokenSchema) SetEnvironment(v string)
- func (o *ApiTokenSchema) SetExpiresAt(v time.Time)
- func (o *ApiTokenSchema) SetExpiresAtNil()
- func (o *ApiTokenSchema) SetProject(v string)
- func (o *ApiTokenSchema) SetProjects(v []string)
- func (o *ApiTokenSchema) SetSecret(v string)
- func (o *ApiTokenSchema) SetSeenAt(v time.Time)
- func (o *ApiTokenSchema) SetSeenAtNil()
- func (o *ApiTokenSchema) SetTokenName(v string)
- func (o *ApiTokenSchema) SetType(v string)
- func (o ApiTokenSchema) ToMap() (map[string]interface{}, error)
- func (o *ApiTokenSchema) UnmarshalJSON(data []byte) (err error)
- func (o *ApiTokenSchema) UnsetAlias()
- func (o *ApiTokenSchema) UnsetExpiresAt()
- func (o *ApiTokenSchema) UnsetSeenAt()
- type ApiTokensSchema
- func (o *ApiTokensSchema) GetTokens() []ApiTokenSchema
- func (o *ApiTokensSchema) GetTokensOk() ([]ApiTokenSchema, bool)
- func (o ApiTokensSchema) MarshalJSON() ([]byte, error)
- func (o *ApiTokensSchema) SetTokens(v []ApiTokenSchema)
- func (o ApiTokensSchema) ToMap() (map[string]interface{}, error)
- func (o *ApiTokensSchema) UnmarshalJSON(data []byte) (err error)
- type ApiUpdateApiTokenRequest
- type ApiUpdateContextFieldRequest
- type ApiUpdateEnvironmentRequest
- type ApiUpdateGroupRequest
- type ApiUpdateProjectChangeRequestConfigRequest
- type ApiUpdateProjectEnterpriseSettingsRequest
- type ApiUpdateProjectRequest
- type ApiUpdateRoleRequest
- type ApiUpdateServiceAccountRequest
- type ApiUpdateUserRequest
- type AuthAPIService
- func (a *AuthAPIService) GetOidcSettings(ctx context.Context) ApiGetOidcSettingsRequest
- func (a *AuthAPIService) GetOidcSettingsExecute(r ApiGetOidcSettingsRequest) (*OidcSettingsResponseSchema, *http.Response, error)
- func (a *AuthAPIService) GetPermissions(ctx context.Context) ApiGetPermissionsRequest
- func (a *AuthAPIService) GetPermissionsExecute(r ApiGetPermissionsRequest) (*AdminPermissionsSchema, *http.Response, error)
- func (a *AuthAPIService) GetSamlSettings(ctx context.Context) ApiGetSamlSettingsRequest
- func (a *AuthAPIService) GetSamlSettingsExecute(r ApiGetSamlSettingsRequest) (*SamlSettingsResponseSchema, *http.Response, error)
- func (a *AuthAPIService) GetSimpleSettings(ctx context.Context) ApiGetSimpleSettingsRequest
- func (a *AuthAPIService) GetSimpleSettingsExecute(r ApiGetSimpleSettingsRequest) (*PasswordAuthSchema, *http.Response, error)
- func (a *AuthAPIService) SetOidcSettings(ctx context.Context) ApiSetOidcSettingsRequest
- func (a *AuthAPIService) SetOidcSettingsExecute(r ApiSetOidcSettingsRequest) (*OidcSettingsResponseSchema, *http.Response, error)
- func (a *AuthAPIService) SetSamlSettings(ctx context.Context) ApiSetSamlSettingsRequest
- func (a *AuthAPIService) SetSamlSettingsExecute(r ApiSetSamlSettingsRequest) (*SamlSettingsResponseSchema, *http.Response, error)
- func (a *AuthAPIService) SetSimpleSettings(ctx context.Context) ApiSetSimpleSettingsRequest
- func (a *AuthAPIService) SetSimpleSettingsExecute(r ApiSetSimpleSettingsRequest) (*PasswordAuthSchema, *http.Response, error)
- type BasicAuth
- type ChangeRequestEnvironmentConfigSchema
- func (o *ChangeRequestEnvironmentConfigSchema) GetChangeRequestEnabled() bool
- func (o *ChangeRequestEnvironmentConfigSchema) GetChangeRequestEnabledOk() (*bool, bool)
- func (o *ChangeRequestEnvironmentConfigSchema) GetEnvironment() string
- func (o *ChangeRequestEnvironmentConfigSchema) GetEnvironmentOk() (*string, bool)
- func (o *ChangeRequestEnvironmentConfigSchema) GetRequiredApprovals() float32
- func (o *ChangeRequestEnvironmentConfigSchema) GetRequiredApprovalsOk() (*float32, bool)
- func (o *ChangeRequestEnvironmentConfigSchema) GetType() string
- func (o *ChangeRequestEnvironmentConfigSchema) GetTypeOk() (*string, bool)
- func (o ChangeRequestEnvironmentConfigSchema) MarshalJSON() ([]byte, error)
- func (o *ChangeRequestEnvironmentConfigSchema) SetChangeRequestEnabled(v bool)
- func (o *ChangeRequestEnvironmentConfigSchema) SetEnvironment(v string)
- func (o *ChangeRequestEnvironmentConfigSchema) SetRequiredApprovals(v float32)
- func (o *ChangeRequestEnvironmentConfigSchema) SetType(v string)
- func (o ChangeRequestEnvironmentConfigSchema) ToMap() (map[string]interface{}, error)
- func (o *ChangeRequestEnvironmentConfigSchema) UnmarshalJSON(data []byte) (err error)
- type ChangeRequestsAPIService
- func (a *ChangeRequestsAPIService) GetProjectChangeRequestConfig(ctx context.Context, projectId string) ApiGetProjectChangeRequestConfigRequest
- func (a *ChangeRequestsAPIService) GetProjectChangeRequestConfigExecute(r ApiGetProjectChangeRequestConfigRequest) ([]ChangeRequestEnvironmentConfigSchema, *http.Response, error)
- func (a *ChangeRequestsAPIService) UpdateProjectChangeRequestConfig(ctx context.Context, projectId string, environment string) ApiUpdateProjectChangeRequestConfigRequest
- func (a *ChangeRequestsAPIService) UpdateProjectChangeRequestConfigExecute(r ApiUpdateProjectChangeRequestConfigRequest) (*http.Response, error)
- type Configuration
- type ConstraintSchema
- func (o *ConstraintSchema) GetCaseInsensitive() bool
- func (o *ConstraintSchema) GetCaseInsensitiveOk() (*bool, bool)
- func (o *ConstraintSchema) GetContextName() string
- func (o *ConstraintSchema) GetContextNameOk() (*string, bool)
- func (o *ConstraintSchema) GetInverted() bool
- func (o *ConstraintSchema) GetInvertedOk() (*bool, bool)
- func (o *ConstraintSchema) GetOperator() string
- func (o *ConstraintSchema) GetOperatorOk() (*string, bool)
- func (o *ConstraintSchema) GetValue() string
- func (o *ConstraintSchema) GetValueOk() (*string, bool)
- func (o *ConstraintSchema) GetValues() []string
- func (o *ConstraintSchema) GetValuesOk() ([]string, bool)
- func (o *ConstraintSchema) HasCaseInsensitive() bool
- func (o *ConstraintSchema) HasInverted() bool
- func (o *ConstraintSchema) HasValue() bool
- func (o *ConstraintSchema) HasValues() bool
- func (o ConstraintSchema) MarshalJSON() ([]byte, error)
- func (o *ConstraintSchema) SetCaseInsensitive(v bool)
- func (o *ConstraintSchema) SetContextName(v string)
- func (o *ConstraintSchema) SetInverted(v bool)
- func (o *ConstraintSchema) SetOperator(v string)
- func (o *ConstraintSchema) SetValue(v string)
- func (o *ConstraintSchema) SetValues(v []string)
- func (o ConstraintSchema) ToMap() (map[string]interface{}, error)
- func (o *ConstraintSchema) UnmarshalJSON(data []byte) (err error)
- type ContextAPIService
- func (a *ContextAPIService) CreateContextField(ctx context.Context) ApiCreateContextFieldRequest
- func (a *ContextAPIService) CreateContextFieldExecute(r ApiCreateContextFieldRequest) (*ContextFieldSchema, *http.Response, error)
- func (a *ContextAPIService) DeleteContextField(ctx context.Context, contextField string) ApiDeleteContextFieldRequest
- func (a *ContextAPIService) DeleteContextFieldExecute(r ApiDeleteContextFieldRequest) (*http.Response, error)
- func (a *ContextAPIService) GetContextField(ctx context.Context, contextField string) ApiGetContextFieldRequest
- func (a *ContextAPIService) GetContextFieldExecute(r ApiGetContextFieldRequest) (*ContextFieldSchema, *http.Response, error)
- func (a *ContextAPIService) GetContextFields(ctx context.Context) ApiGetContextFieldsRequest
- func (a *ContextAPIService) GetContextFieldsExecute(r ApiGetContextFieldsRequest) ([]ContextFieldSchema, *http.Response, error)
- func (a *ContextAPIService) UpdateContextField(ctx context.Context, contextField string) ApiUpdateContextFieldRequest
- func (a *ContextAPIService) UpdateContextFieldExecute(r ApiUpdateContextFieldRequest) (*http.Response, error)
- type ContextFieldSchema
- func (o *ContextFieldSchema) GetCreatedAt() time.Time
- func (o *ContextFieldSchema) GetCreatedAtOk() (*time.Time, bool)
- func (o *ContextFieldSchema) GetDescription() string
- func (o *ContextFieldSchema) GetDescriptionOk() (*string, bool)
- func (o *ContextFieldSchema) GetLegalValues() []LegalValueSchema
- func (o *ContextFieldSchema) GetLegalValuesOk() ([]LegalValueSchema, bool)
- func (o *ContextFieldSchema) GetName() string
- func (o *ContextFieldSchema) GetNameOk() (*string, bool)
- func (o *ContextFieldSchema) GetProject() string
- func (o *ContextFieldSchema) GetProjectOk() (*string, bool)
- func (o *ContextFieldSchema) GetSortOrder() int32
- func (o *ContextFieldSchema) GetSortOrderOk() (*int32, bool)
- func (o *ContextFieldSchema) GetStickiness() bool
- func (o *ContextFieldSchema) GetStickinessOk() (*bool, bool)
- func (o *ContextFieldSchema) GetUsedInFeatures() int32
- func (o *ContextFieldSchema) GetUsedInFeaturesOk() (*int32, bool)
- func (o *ContextFieldSchema) GetUsedInProjects() int32
- func (o *ContextFieldSchema) GetUsedInProjectsOk() (*int32, bool)
- func (o *ContextFieldSchema) HasCreatedAt() bool
- func (o *ContextFieldSchema) HasDescription() bool
- func (o *ContextFieldSchema) HasLegalValues() bool
- func (o *ContextFieldSchema) HasProject() bool
- func (o *ContextFieldSchema) HasSortOrder() bool
- func (o *ContextFieldSchema) HasStickiness() bool
- func (o *ContextFieldSchema) HasUsedInFeatures() bool
- func (o *ContextFieldSchema) HasUsedInProjects() bool
- func (o ContextFieldSchema) MarshalJSON() ([]byte, error)
- func (o *ContextFieldSchema) SetCreatedAt(v time.Time)
- func (o *ContextFieldSchema) SetCreatedAtNil()
- func (o *ContextFieldSchema) SetDescription(v string)
- func (o *ContextFieldSchema) SetDescriptionNil()
- func (o *ContextFieldSchema) SetLegalValues(v []LegalValueSchema)
- func (o *ContextFieldSchema) SetName(v string)
- func (o *ContextFieldSchema) SetProject(v string)
- func (o *ContextFieldSchema) SetSortOrder(v int32)
- func (o *ContextFieldSchema) SetStickiness(v bool)
- func (o *ContextFieldSchema) SetUsedInFeatures(v int32)
- func (o *ContextFieldSchema) SetUsedInFeaturesNil()
- func (o *ContextFieldSchema) SetUsedInProjects(v int32)
- func (o *ContextFieldSchema) SetUsedInProjectsNil()
- func (o ContextFieldSchema) ToMap() (map[string]interface{}, error)
- func (o *ContextFieldSchema) UnmarshalJSON(data []byte) (err error)
- func (o *ContextFieldSchema) UnsetCreatedAt()
- func (o *ContextFieldSchema) UnsetDescription()
- func (o *ContextFieldSchema) UnsetUsedInFeatures()
- func (o *ContextFieldSchema) UnsetUsedInProjects()
- type CreateApiTokenSchema
- type CreateApiTokenSchemaOneOf
- func (o *CreateApiTokenSchemaOneOf) GetEnvironment() string
- func (o *CreateApiTokenSchemaOneOf) GetEnvironmentOk() (*string, bool)
- func (o *CreateApiTokenSchemaOneOf) GetExpiresAt() time.Time
- func (o *CreateApiTokenSchemaOneOf) GetExpiresAtOk() (*time.Time, bool)
- func (o *CreateApiTokenSchemaOneOf) GetProject() string
- func (o *CreateApiTokenSchemaOneOf) GetProjectOk() (*string, bool)
- func (o *CreateApiTokenSchemaOneOf) GetProjects() []string
- func (o *CreateApiTokenSchemaOneOf) GetProjectsOk() ([]string, bool)
- func (o *CreateApiTokenSchemaOneOf) GetTokenName() string
- func (o *CreateApiTokenSchemaOneOf) GetTokenNameOk() (*string, bool)
- func (o *CreateApiTokenSchemaOneOf) GetType() string
- func (o *CreateApiTokenSchemaOneOf) GetTypeOk() (*string, bool)
- func (o *CreateApiTokenSchemaOneOf) HasEnvironment() bool
- func (o *CreateApiTokenSchemaOneOf) HasExpiresAt() bool
- func (o *CreateApiTokenSchemaOneOf) HasProject() bool
- func (o *CreateApiTokenSchemaOneOf) HasProjects() bool
- func (o CreateApiTokenSchemaOneOf) MarshalJSON() ([]byte, error)
- func (o *CreateApiTokenSchemaOneOf) SetEnvironment(v string)
- func (o *CreateApiTokenSchemaOneOf) SetExpiresAt(v time.Time)
- func (o *CreateApiTokenSchemaOneOf) SetProject(v string)
- func (o *CreateApiTokenSchemaOneOf) SetProjects(v []string)
- func (o *CreateApiTokenSchemaOneOf) SetTokenName(v string)
- func (o *CreateApiTokenSchemaOneOf) SetType(v string)
- func (o CreateApiTokenSchemaOneOf) ToMap() (map[string]interface{}, error)
- func (o *CreateApiTokenSchemaOneOf) UnmarshalJSON(data []byte) (err error)
- type CreateContextFieldSchema
- func (o *CreateContextFieldSchema) GetDescription() string
- func (o *CreateContextFieldSchema) GetDescriptionOk() (*string, bool)
- func (o *CreateContextFieldSchema) GetLegalValues() []LegalValueSchema
- func (o *CreateContextFieldSchema) GetLegalValuesOk() ([]LegalValueSchema, bool)
- func (o *CreateContextFieldSchema) GetName() string
- func (o *CreateContextFieldSchema) GetNameOk() (*string, bool)
- func (o *CreateContextFieldSchema) GetProject() string
- func (o *CreateContextFieldSchema) GetProjectOk() (*string, bool)
- func (o *CreateContextFieldSchema) GetSortOrder() int32
- func (o *CreateContextFieldSchema) GetSortOrderOk() (*int32, bool)
- func (o *CreateContextFieldSchema) GetStickiness() bool
- func (o *CreateContextFieldSchema) GetStickinessOk() (*bool, bool)
- func (o *CreateContextFieldSchema) HasDescription() bool
- func (o *CreateContextFieldSchema) HasLegalValues() bool
- func (o *CreateContextFieldSchema) HasProject() bool
- func (o *CreateContextFieldSchema) HasSortOrder() bool
- func (o *CreateContextFieldSchema) HasStickiness() bool
- func (o CreateContextFieldSchema) MarshalJSON() ([]byte, error)
- func (o *CreateContextFieldSchema) SetDescription(v string)
- func (o *CreateContextFieldSchema) SetLegalValues(v []LegalValueSchema)
- func (o *CreateContextFieldSchema) SetName(v string)
- func (o *CreateContextFieldSchema) SetProject(v string)
- func (o *CreateContextFieldSchema) SetSortOrder(v int32)
- func (o *CreateContextFieldSchema) SetStickiness(v bool)
- func (o CreateContextFieldSchema) ToMap() (map[string]interface{}, error)
- func (o *CreateContextFieldSchema) UnmarshalJSON(data []byte) (err error)
- type CreateEnvironmentSchema
- func (o *CreateEnvironmentSchema) GetEnabled() bool
- func (o *CreateEnvironmentSchema) GetEnabledOk() (*bool, bool)
- func (o *CreateEnvironmentSchema) GetName() string
- func (o *CreateEnvironmentSchema) GetNameOk() (*string, bool)
- func (o *CreateEnvironmentSchema) GetRequiredApprovals() int32
- func (o *CreateEnvironmentSchema) GetRequiredApprovalsOk() (*int32, bool)
- func (o *CreateEnvironmentSchema) GetSortOrder() int32
- func (o *CreateEnvironmentSchema) GetSortOrderOk() (*int32, bool)
- func (o *CreateEnvironmentSchema) GetType() string
- func (o *CreateEnvironmentSchema) GetTypeOk() (*string, bool)
- func (o *CreateEnvironmentSchema) HasEnabled() bool
- func (o *CreateEnvironmentSchema) HasRequiredApprovals() bool
- func (o *CreateEnvironmentSchema) HasSortOrder() bool
- func (o CreateEnvironmentSchema) MarshalJSON() ([]byte, error)
- func (o *CreateEnvironmentSchema) SetEnabled(v bool)
- func (o *CreateEnvironmentSchema) SetName(v string)
- func (o *CreateEnvironmentSchema) SetRequiredApprovals(v int32)
- func (o *CreateEnvironmentSchema) SetRequiredApprovalsNil()
- func (o *CreateEnvironmentSchema) SetSortOrder(v int32)
- func (o *CreateEnvironmentSchema) SetType(v string)
- func (o CreateEnvironmentSchema) ToMap() (map[string]interface{}, error)
- func (o *CreateEnvironmentSchema) UnmarshalJSON(data []byte) (err error)
- func (o *CreateEnvironmentSchema) UnsetRequiredApprovals()
- type CreateFeatureNamingPatternSchema
- func (o *CreateFeatureNamingPatternSchema) GetDescription() string
- func (o *CreateFeatureNamingPatternSchema) GetDescriptionOk() (*string, bool)
- func (o *CreateFeatureNamingPatternSchema) GetExample() string
- func (o *CreateFeatureNamingPatternSchema) GetExampleOk() (*string, bool)
- func (o *CreateFeatureNamingPatternSchema) GetPattern() string
- func (o *CreateFeatureNamingPatternSchema) GetPatternOk() (*string, bool)
- func (o *CreateFeatureNamingPatternSchema) HasDescription() bool
- func (o *CreateFeatureNamingPatternSchema) HasExample() bool
- func (o CreateFeatureNamingPatternSchema) MarshalJSON() ([]byte, error)
- func (o *CreateFeatureNamingPatternSchema) SetDescription(v string)
- func (o *CreateFeatureNamingPatternSchema) SetDescriptionNil()
- func (o *CreateFeatureNamingPatternSchema) SetExample(v string)
- func (o *CreateFeatureNamingPatternSchema) SetExampleNil()
- func (o *CreateFeatureNamingPatternSchema) SetPattern(v string)
- func (o CreateFeatureNamingPatternSchema) ToMap() (map[string]interface{}, error)
- func (o *CreateFeatureNamingPatternSchema) UnmarshalJSON(data []byte) (err error)
- func (o *CreateFeatureNamingPatternSchema) UnsetDescription()
- func (o *CreateFeatureNamingPatternSchema) UnsetExample()
- type CreateFeatureStrategySchema
- func (o *CreateFeatureStrategySchema) GetConstraints() []ConstraintSchema
- func (o *CreateFeatureStrategySchema) GetConstraintsOk() ([]ConstraintSchema, bool)
- func (o *CreateFeatureStrategySchema) GetDisabled() bool
- func (o *CreateFeatureStrategySchema) GetDisabledOk() (*bool, bool)
- func (o *CreateFeatureStrategySchema) GetName() string
- func (o *CreateFeatureStrategySchema) GetNameOk() (*string, bool)
- func (o *CreateFeatureStrategySchema) GetParameters() map[string]string
- func (o *CreateFeatureStrategySchema) GetParametersOk() (*map[string]string, bool)
- func (o *CreateFeatureStrategySchema) GetSegments() []float32
- func (o *CreateFeatureStrategySchema) GetSegmentsOk() ([]float32, bool)
- func (o *CreateFeatureStrategySchema) GetSortOrder() float32
- func (o *CreateFeatureStrategySchema) GetSortOrderOk() (*float32, bool)
- func (o *CreateFeatureStrategySchema) GetTitle() string
- func (o *CreateFeatureStrategySchema) GetTitleOk() (*string, bool)
- func (o *CreateFeatureStrategySchema) GetVariants() []CreateStrategyVariantSchema
- func (o *CreateFeatureStrategySchema) GetVariantsOk() ([]CreateStrategyVariantSchema, bool)
- func (o *CreateFeatureStrategySchema) HasConstraints() bool
- func (o *CreateFeatureStrategySchema) HasDisabled() bool
- func (o *CreateFeatureStrategySchema) HasParameters() bool
- func (o *CreateFeatureStrategySchema) HasSegments() bool
- func (o *CreateFeatureStrategySchema) HasSortOrder() bool
- func (o *CreateFeatureStrategySchema) HasTitle() bool
- func (o *CreateFeatureStrategySchema) HasVariants() bool
- func (o CreateFeatureStrategySchema) MarshalJSON() ([]byte, error)
- func (o *CreateFeatureStrategySchema) SetConstraints(v []ConstraintSchema)
- func (o *CreateFeatureStrategySchema) SetDisabled(v bool)
- func (o *CreateFeatureStrategySchema) SetDisabledNil()
- func (o *CreateFeatureStrategySchema) SetName(v string)
- func (o *CreateFeatureStrategySchema) SetParameters(v map[string]string)
- func (o *CreateFeatureStrategySchema) SetSegments(v []float32)
- func (o *CreateFeatureStrategySchema) SetSortOrder(v float32)
- func (o *CreateFeatureStrategySchema) SetTitle(v string)
- func (o *CreateFeatureStrategySchema) SetTitleNil()
- func (o *CreateFeatureStrategySchema) SetVariants(v []CreateStrategyVariantSchema)
- func (o CreateFeatureStrategySchema) ToMap() (map[string]interface{}, error)
- func (o *CreateFeatureStrategySchema) UnmarshalJSON(data []byte) (err error)
- func (o *CreateFeatureStrategySchema) UnsetDisabled()
- func (o *CreateFeatureStrategySchema) UnsetTitle()
- type CreateGroup409Response
- func (o *CreateGroup409Response) GetId() string
- func (o *CreateGroup409Response) GetIdOk() (*string, bool)
- func (o *CreateGroup409Response) GetMessage() string
- func (o *CreateGroup409Response) GetMessageOk() (*string, bool)
- func (o *CreateGroup409Response) GetName() string
- func (o *CreateGroup409Response) GetNameOk() (*string, bool)
- func (o *CreateGroup409Response) HasId() bool
- func (o *CreateGroup409Response) HasMessage() bool
- func (o *CreateGroup409Response) HasName() bool
- func (o CreateGroup409Response) MarshalJSON() ([]byte, error)
- func (o *CreateGroup409Response) SetId(v string)
- func (o *CreateGroup409Response) SetMessage(v string)
- func (o *CreateGroup409Response) SetName(v string)
- func (o CreateGroup409Response) ToMap() (map[string]interface{}, error)
- func (o *CreateGroup409Response) UnmarshalJSON(data []byte) (err error)
- type CreateGroupSchema
- func (o *CreateGroupSchema) GetDescription() string
- func (o *CreateGroupSchema) GetDescriptionOk() (*string, bool)
- func (o *CreateGroupSchema) GetMappingsSSO() []string
- func (o *CreateGroupSchema) GetMappingsSSOOk() ([]string, bool)
- func (o *CreateGroupSchema) GetName() string
- func (o *CreateGroupSchema) GetNameOk() (*string, bool)
- func (o *CreateGroupSchema) GetRootRole() float32
- func (o *CreateGroupSchema) GetRootRoleOk() (*float32, bool)
- func (o *CreateGroupSchema) GetUsers() []CreateGroupSchemaUsersInner
- func (o *CreateGroupSchema) GetUsersOk() ([]CreateGroupSchemaUsersInner, bool)
- func (o *CreateGroupSchema) HasDescription() bool
- func (o *CreateGroupSchema) HasMappingsSSO() bool
- func (o *CreateGroupSchema) HasRootRole() bool
- func (o *CreateGroupSchema) HasUsers() bool
- func (o CreateGroupSchema) MarshalJSON() ([]byte, error)
- func (o *CreateGroupSchema) SetDescription(v string)
- func (o *CreateGroupSchema) SetDescriptionNil()
- func (o *CreateGroupSchema) SetMappingsSSO(v []string)
- func (o *CreateGroupSchema) SetName(v string)
- func (o *CreateGroupSchema) SetRootRole(v float32)
- func (o *CreateGroupSchema) SetRootRoleNil()
- func (o *CreateGroupSchema) SetUsers(v []CreateGroupSchemaUsersInner)
- func (o CreateGroupSchema) ToMap() (map[string]interface{}, error)
- func (o *CreateGroupSchema) UnmarshalJSON(data []byte) (err error)
- func (o *CreateGroupSchema) UnsetDescription()
- func (o *CreateGroupSchema) UnsetRootRole()
- type CreateGroupSchemaUsersInner
- func (o *CreateGroupSchemaUsersInner) GetUser() CreateGroupSchemaUsersInnerUser
- func (o *CreateGroupSchemaUsersInner) GetUserOk() (*CreateGroupSchemaUsersInnerUser, bool)
- func (o CreateGroupSchemaUsersInner) MarshalJSON() ([]byte, error)
- func (o *CreateGroupSchemaUsersInner) SetUser(v CreateGroupSchemaUsersInnerUser)
- func (o CreateGroupSchemaUsersInner) ToMap() (map[string]interface{}, error)
- func (o *CreateGroupSchemaUsersInner) UnmarshalJSON(data []byte) (err error)
- type CreateGroupSchemaUsersInnerUser
- func (o *CreateGroupSchemaUsersInnerUser) GetId() int32
- func (o *CreateGroupSchemaUsersInnerUser) GetIdOk() (*int32, bool)
- func (o CreateGroupSchemaUsersInnerUser) MarshalJSON() ([]byte, error)
- func (o *CreateGroupSchemaUsersInnerUser) SetId(v int32)
- func (o CreateGroupSchemaUsersInnerUser) ToMap() (map[string]interface{}, error)
- func (o *CreateGroupSchemaUsersInnerUser) UnmarshalJSON(data []byte) (err error)
- type CreatePatSchema
- func (o *CreatePatSchema) GetDescription() string
- func (o *CreatePatSchema) GetDescriptionOk() (*string, bool)
- func (o *CreatePatSchema) GetExpiresAt() time.Time
- func (o *CreatePatSchema) GetExpiresAtOk() (*time.Time, bool)
- func (o CreatePatSchema) MarshalJSON() ([]byte, error)
- func (o *CreatePatSchema) SetDescription(v string)
- func (o *CreatePatSchema) SetExpiresAt(v time.Time)
- func (o CreatePatSchema) ToMap() (map[string]interface{}, error)
- func (o *CreatePatSchema) UnmarshalJSON(data []byte) (err error)
- type CreateProject400Response
- func (o *CreateProject400Response) GetId() string
- func (o *CreateProject400Response) GetIdOk() (*string, bool)
- func (o *CreateProject400Response) GetMessage() string
- func (o *CreateProject400Response) GetMessageOk() (*string, bool)
- func (o *CreateProject400Response) GetName() string
- func (o *CreateProject400Response) GetNameOk() (*string, bool)
- func (o *CreateProject400Response) HasId() bool
- func (o *CreateProject400Response) HasMessage() bool
- func (o *CreateProject400Response) HasName() bool
- func (o CreateProject400Response) MarshalJSON() ([]byte, error)
- func (o *CreateProject400Response) SetId(v string)
- func (o *CreateProject400Response) SetMessage(v string)
- func (o *CreateProject400Response) SetName(v string)
- func (o CreateProject400Response) ToMap() (map[string]interface{}, error)
- func (o *CreateProject400Response) UnmarshalJSON(data []byte) (err error)
- type CreateProject415Response
- func (o *CreateProject415Response) GetId() string
- func (o *CreateProject415Response) GetIdOk() (*string, bool)
- func (o *CreateProject415Response) GetMessage() string
- func (o *CreateProject415Response) GetMessageOk() (*string, bool)
- func (o *CreateProject415Response) GetName() string
- func (o *CreateProject415Response) GetNameOk() (*string, bool)
- func (o *CreateProject415Response) HasId() bool
- func (o *CreateProject415Response) HasMessage() bool
- func (o *CreateProject415Response) HasName() bool
- func (o CreateProject415Response) MarshalJSON() ([]byte, error)
- func (o *CreateProject415Response) SetId(v string)
- func (o *CreateProject415Response) SetMessage(v string)
- func (o *CreateProject415Response) SetName(v string)
- func (o CreateProject415Response) ToMap() (map[string]interface{}, error)
- func (o *CreateProject415Response) UnmarshalJSON(data []byte) (err error)
- type CreateProjectSchema
- func (o *CreateProjectSchema) GetChangeRequestEnvironments() []CreateProjectSchemaChangeRequestEnvironmentsInner
- func (o *CreateProjectSchema) GetChangeRequestEnvironmentsOk() ([]CreateProjectSchemaChangeRequestEnvironmentsInner, bool)
- func (o *CreateProjectSchema) GetDefaultStickiness() string
- func (o *CreateProjectSchema) GetDefaultStickinessOk() (*string, bool)
- func (o *CreateProjectSchema) GetDescription() string
- func (o *CreateProjectSchema) GetDescriptionOk() (*string, bool)
- func (o *CreateProjectSchema) GetEnvironments() []string
- func (o *CreateProjectSchema) GetEnvironmentsOk() ([]string, bool)
- func (o *CreateProjectSchema) GetId() string
- func (o *CreateProjectSchema) GetIdOk() (*string, bool)
- func (o *CreateProjectSchema) GetMode() string
- func (o *CreateProjectSchema) GetModeOk() (*string, bool)
- func (o *CreateProjectSchema) GetName() string
- func (o *CreateProjectSchema) GetNameOk() (*string, bool)
- func (o *CreateProjectSchema) HasChangeRequestEnvironments() bool
- func (o *CreateProjectSchema) HasDefaultStickiness() bool
- func (o *CreateProjectSchema) HasDescription() bool
- func (o *CreateProjectSchema) HasEnvironments() bool
- func (o *CreateProjectSchema) HasId() bool
- func (o *CreateProjectSchema) HasMode() bool
- func (o CreateProjectSchema) MarshalJSON() ([]byte, error)
- func (o *CreateProjectSchema) SetChangeRequestEnvironments(v []CreateProjectSchemaChangeRequestEnvironmentsInner)
- func (o *CreateProjectSchema) SetDefaultStickiness(v string)
- func (o *CreateProjectSchema) SetDescription(v string)
- func (o *CreateProjectSchema) SetDescriptionNil()
- func (o *CreateProjectSchema) SetEnvironments(v []string)
- func (o *CreateProjectSchema) SetId(v string)
- func (o *CreateProjectSchema) SetMode(v string)
- func (o *CreateProjectSchema) SetName(v string)
- func (o CreateProjectSchema) ToMap() (map[string]interface{}, error)
- func (o *CreateProjectSchema) UnmarshalJSON(data []byte) (err error)
- func (o *CreateProjectSchema) UnsetDescription()
- type CreateProjectSchemaChangeRequestEnvironmentsInner
- func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) GetName() string
- func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) GetNameOk() (*string, bool)
- func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) GetRequiredApprovals() int32
- func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) GetRequiredApprovalsOk() (*int32, bool)
- func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) HasRequiredApprovals() bool
- func (o CreateProjectSchemaChangeRequestEnvironmentsInner) MarshalJSON() ([]byte, error)
- func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) SetName(v string)
- func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) SetRequiredApprovals(v int32)
- func (o CreateProjectSchemaChangeRequestEnvironmentsInner) ToMap() (map[string]interface{}, error)
- func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) UnmarshalJSON(data []byte) (err error)
- type CreateRoleWithPermissionsSchema
- type CreateRoleWithPermissionsSchemaAnyOf
- func (o *CreateRoleWithPermissionsSchemaAnyOf) GetDescription() string
- func (o *CreateRoleWithPermissionsSchemaAnyOf) GetDescriptionOk() (*string, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf) GetName() string
- func (o *CreateRoleWithPermissionsSchemaAnyOf) GetNameOk() (*string, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf) GetPermissions() []CreateRoleWithPermissionsSchemaAnyOfPermissionsInner
- func (o *CreateRoleWithPermissionsSchemaAnyOf) GetPermissionsOk() ([]CreateRoleWithPermissionsSchemaAnyOfPermissionsInner, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf) GetType() string
- func (o *CreateRoleWithPermissionsSchemaAnyOf) GetTypeOk() (*string, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf) HasDescription() bool
- func (o *CreateRoleWithPermissionsSchemaAnyOf) HasPermissions() bool
- func (o *CreateRoleWithPermissionsSchemaAnyOf) HasType() bool
- func (o CreateRoleWithPermissionsSchemaAnyOf) MarshalJSON() ([]byte, error)
- func (o *CreateRoleWithPermissionsSchemaAnyOf) SetDescription(v string)
- func (o *CreateRoleWithPermissionsSchemaAnyOf) SetName(v string)
- func (o *CreateRoleWithPermissionsSchemaAnyOf) SetPermissions(v []CreateRoleWithPermissionsSchemaAnyOfPermissionsInner)
- func (o *CreateRoleWithPermissionsSchemaAnyOf) SetType(v string)
- func (o CreateRoleWithPermissionsSchemaAnyOf) ToMap() (map[string]interface{}, error)
- func (o *CreateRoleWithPermissionsSchemaAnyOf) UnmarshalJSON(data []byte) (err error)
- type CreateRoleWithPermissionsSchemaAnyOf1
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetDescription() string
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetDescriptionOk() (*string, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetName() string
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetNameOk() (*string, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetPermissions() []CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetPermissionsOk() ([]CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetType() string
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetTypeOk() (*string, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) HasDescription() bool
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) HasPermissions() bool
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) HasType() bool
- func (o CreateRoleWithPermissionsSchemaAnyOf1) MarshalJSON() ([]byte, error)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) SetDescription(v string)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) SetName(v string)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) SetPermissions(v []CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) SetType(v string)
- func (o CreateRoleWithPermissionsSchemaAnyOf1) ToMap() (map[string]interface{}, error)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1) UnmarshalJSON(data []byte) (err error)
- type CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetEnvironment() string
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetEnvironmentOk() (*string, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetId() float32
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetIdOk() (*float32, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetName() string
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetNameOk() (*string, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) HasEnvironment() bool
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) HasName() bool
- func (o CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) MarshalJSON() ([]byte, error)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetEnvironment(v string)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetEnvironmentNil()
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetId(v float32)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetName(v string)
- func (o CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) ToMap() (map[string]interface{}, error)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnmarshalJSON(data []byte) (err error)
- func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnsetEnvironment()
- type CreateRoleWithPermissionsSchemaAnyOfPermissionsInner
- func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetEnvironment() string
- func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetEnvironmentOk() (*string, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetName() string
- func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetNameOk() (*string, bool)
- func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) HasEnvironment() bool
- func (o CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) MarshalJSON() ([]byte, error)
- func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetEnvironment(v string)
- func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetEnvironmentNil()
- func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetName(v string)
- func (o CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) ToMap() (map[string]interface{}, error)
- func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnmarshalJSON(data []byte) (err error)
- func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnsetEnvironment()
- type CreateServiceAccountSchema
- func (o *CreateServiceAccountSchema) GetName() string
- func (o *CreateServiceAccountSchema) GetNameOk() (*string, bool)
- func (o *CreateServiceAccountSchema) GetRootRole() int32
- func (o *CreateServiceAccountSchema) GetRootRoleOk() (*int32, bool)
- func (o *CreateServiceAccountSchema) GetUsername() string
- func (o *CreateServiceAccountSchema) GetUsernameOk() (*string, bool)
- func (o CreateServiceAccountSchema) MarshalJSON() ([]byte, error)
- func (o *CreateServiceAccountSchema) SetName(v string)
- func (o *CreateServiceAccountSchema) SetRootRole(v int32)
- func (o *CreateServiceAccountSchema) SetUsername(v string)
- func (o CreateServiceAccountSchema) ToMap() (map[string]interface{}, error)
- func (o *CreateServiceAccountSchema) UnmarshalJSON(data []byte) (err error)
- type CreateStrategyVariantSchema
- func (o *CreateStrategyVariantSchema) GetName() string
- func (o *CreateStrategyVariantSchema) GetNameOk() (*string, bool)
- func (o *CreateStrategyVariantSchema) GetPayload() CreateStrategyVariantSchemaPayload
- func (o *CreateStrategyVariantSchema) GetPayloadOk() (*CreateStrategyVariantSchemaPayload, bool)
- func (o *CreateStrategyVariantSchema) GetStickiness() string
- func (o *CreateStrategyVariantSchema) GetStickinessOk() (*string, bool)
- func (o *CreateStrategyVariantSchema) GetWeight() int32
- func (o *CreateStrategyVariantSchema) GetWeightOk() (*int32, bool)
- func (o *CreateStrategyVariantSchema) GetWeightType() string
- func (o *CreateStrategyVariantSchema) GetWeightTypeOk() (*string, bool)
- func (o *CreateStrategyVariantSchema) HasPayload() bool
- func (o CreateStrategyVariantSchema) MarshalJSON() ([]byte, error)
- func (o *CreateStrategyVariantSchema) SetName(v string)
- func (o *CreateStrategyVariantSchema) SetPayload(v CreateStrategyVariantSchemaPayload)
- func (o *CreateStrategyVariantSchema) SetStickiness(v string)
- func (o *CreateStrategyVariantSchema) SetWeight(v int32)
- func (o *CreateStrategyVariantSchema) SetWeightType(v string)
- func (o CreateStrategyVariantSchema) ToMap() (map[string]interface{}, error)
- func (o *CreateStrategyVariantSchema) UnmarshalJSON(data []byte) (err error)
- type CreateStrategyVariantSchemaPayload
- func (o *CreateStrategyVariantSchemaPayload) GetType() string
- func (o *CreateStrategyVariantSchemaPayload) GetTypeOk() (*string, bool)
- func (o *CreateStrategyVariantSchemaPayload) GetValue() string
- func (o *CreateStrategyVariantSchemaPayload) GetValueOk() (*string, bool)
- func (o CreateStrategyVariantSchemaPayload) MarshalJSON() ([]byte, error)
- func (o *CreateStrategyVariantSchemaPayload) SetType(v string)
- func (o *CreateStrategyVariantSchemaPayload) SetValue(v string)
- func (o CreateStrategyVariantSchemaPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateStrategyVariantSchemaPayload) UnmarshalJSON(data []byte) (err error)
- type CreateUserResponseSchema
- func (o *CreateUserResponseSchema) GetAccountType() string
- func (o *CreateUserResponseSchema) GetAccountTypeOk() (*string, bool)
- func (o *CreateUserResponseSchema) GetActiveSessions() int32
- func (o *CreateUserResponseSchema) GetActiveSessionsOk() (*int32, bool)
- func (o *CreateUserResponseSchema) GetCompanyRole() string
- func (o *CreateUserResponseSchema) GetCompanyRoleOk() (*string, bool)
- func (o *CreateUserResponseSchema) GetCreatedAt() time.Time
- func (o *CreateUserResponseSchema) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateUserResponseSchema) GetDeletedSessions() float32
- func (o *CreateUserResponseSchema) GetDeletedSessionsOk() (*float32, bool)
- func (o *CreateUserResponseSchema) GetEmail() string
- func (o *CreateUserResponseSchema) GetEmailOk() (*string, bool)
- func (o *CreateUserResponseSchema) GetEmailSent() bool
- func (o *CreateUserResponseSchema) GetEmailSentOk() (*bool, bool)
- func (o *CreateUserResponseSchema) GetId() int32
- func (o *CreateUserResponseSchema) GetIdOk() (*int32, bool)
- func (o *CreateUserResponseSchema) GetImageUrl() string
- func (o *CreateUserResponseSchema) GetImageUrlOk() (*string, bool)
- func (o *CreateUserResponseSchema) GetInviteLink() string
- func (o *CreateUserResponseSchema) GetInviteLinkOk() (*string, bool)
- func (o *CreateUserResponseSchema) GetLoginAttempts() int32
- func (o *CreateUserResponseSchema) GetLoginAttemptsOk() (*int32, bool)
- func (o *CreateUserResponseSchema) GetName() string
- func (o *CreateUserResponseSchema) GetNameOk() (*string, bool)
- func (o *CreateUserResponseSchema) GetPermissions() []string
- func (o *CreateUserResponseSchema) GetPermissionsOk() ([]string, bool)
- func (o *CreateUserResponseSchema) GetProductUpdatesEmailConsent() bool
- func (o *CreateUserResponseSchema) GetProductUpdatesEmailConsentOk() (*bool, bool)
- func (o *CreateUserResponseSchema) GetRootRole() CreateUserResponseSchemaRootRole
- func (o *CreateUserResponseSchema) GetRootRoleOk() (*CreateUserResponseSchemaRootRole, bool)
- func (o *CreateUserResponseSchema) GetScimId() string
- func (o *CreateUserResponseSchema) GetScimIdOk() (*string, bool)
- func (o *CreateUserResponseSchema) GetSeatType() string
- func (o *CreateUserResponseSchema) GetSeatTypeOk() (*string, bool)
- func (o *CreateUserResponseSchema) GetSeenAt() time.Time
- func (o *CreateUserResponseSchema) GetSeenAtOk() (*time.Time, bool)
- func (o *CreateUserResponseSchema) GetUsername() string
- func (o *CreateUserResponseSchema) GetUsernameOk() (*string, bool)
- func (o *CreateUserResponseSchema) HasAccountType() bool
- func (o *CreateUserResponseSchema) HasActiveSessions() bool
- func (o *CreateUserResponseSchema) HasCompanyRole() bool
- func (o *CreateUserResponseSchema) HasCreatedAt() bool
- func (o *CreateUserResponseSchema) HasDeletedSessions() bool
- func (o *CreateUserResponseSchema) HasEmail() bool
- func (o *CreateUserResponseSchema) HasEmailSent() bool
- func (o *CreateUserResponseSchema) HasImageUrl() bool
- func (o *CreateUserResponseSchema) HasInviteLink() bool
- func (o *CreateUserResponseSchema) HasLoginAttempts() bool
- func (o *CreateUserResponseSchema) HasName() bool
- func (o *CreateUserResponseSchema) HasPermissions() bool
- func (o *CreateUserResponseSchema) HasProductUpdatesEmailConsent() bool
- func (o *CreateUserResponseSchema) HasRootRole() bool
- func (o *CreateUserResponseSchema) HasScimId() bool
- func (o *CreateUserResponseSchema) HasSeatType() bool
- func (o *CreateUserResponseSchema) HasSeenAt() bool
- func (o *CreateUserResponseSchema) HasUsername() bool
- func (o CreateUserResponseSchema) MarshalJSON() ([]byte, error)
- func (o *CreateUserResponseSchema) SetAccountType(v string)
- func (o *CreateUserResponseSchema) SetActiveSessions(v int32)
- func (o *CreateUserResponseSchema) SetActiveSessionsNil()
- func (o *CreateUserResponseSchema) SetCompanyRole(v string)
- func (o *CreateUserResponseSchema) SetCompanyRoleNil()
- func (o *CreateUserResponseSchema) SetCreatedAt(v time.Time)
- func (o *CreateUserResponseSchema) SetDeletedSessions(v float32)
- func (o *CreateUserResponseSchema) SetEmail(v string)
- func (o *CreateUserResponseSchema) SetEmailSent(v bool)
- func (o *CreateUserResponseSchema) SetId(v int32)
- func (o *CreateUserResponseSchema) SetImageUrl(v string)
- func (o *CreateUserResponseSchema) SetInviteLink(v string)
- func (o *CreateUserResponseSchema) SetLoginAttempts(v int32)
- func (o *CreateUserResponseSchema) SetName(v string)
- func (o *CreateUserResponseSchema) SetNameNil()
- func (o *CreateUserResponseSchema) SetPermissions(v []string)
- func (o *CreateUserResponseSchema) SetProductUpdatesEmailConsent(v bool)
- func (o *CreateUserResponseSchema) SetProductUpdatesEmailConsentNil()
- func (o *CreateUserResponseSchema) SetRootRole(v CreateUserResponseSchemaRootRole)
- func (o *CreateUserResponseSchema) SetScimId(v string)
- func (o *CreateUserResponseSchema) SetScimIdNil()
- func (o *CreateUserResponseSchema) SetSeatType(v string)
- func (o *CreateUserResponseSchema) SetSeatTypeNil()
- func (o *CreateUserResponseSchema) SetSeenAt(v time.Time)
- func (o *CreateUserResponseSchema) SetSeenAtNil()
- func (o *CreateUserResponseSchema) SetUsername(v string)
- func (o *CreateUserResponseSchema) SetUsernameNil()
- func (o CreateUserResponseSchema) ToMap() (map[string]interface{}, error)
- func (o *CreateUserResponseSchema) UnmarshalJSON(data []byte) (err error)
- func (o *CreateUserResponseSchema) UnsetActiveSessions()
- func (o *CreateUserResponseSchema) UnsetCompanyRole()
- func (o *CreateUserResponseSchema) UnsetName()
- func (o *CreateUserResponseSchema) UnsetProductUpdatesEmailConsent()
- func (o *CreateUserResponseSchema) UnsetScimId()
- func (o *CreateUserResponseSchema) UnsetSeatType()
- func (o *CreateUserResponseSchema) UnsetSeenAt()
- func (o *CreateUserResponseSchema) UnsetUsername()
- type CreateUserResponseSchemaRootRole
- type CreateUserSchema
- func (o *CreateUserSchema) GetEmail() string
- func (o *CreateUserSchema) GetEmailOk() (*string, bool)
- func (o *CreateUserSchema) GetName() string
- func (o *CreateUserSchema) GetNameOk() (*string, bool)
- func (o *CreateUserSchema) GetPassword() string
- func (o *CreateUserSchema) GetPasswordOk() (*string, bool)
- func (o *CreateUserSchema) GetRootRole() CreateUserSchemaRootRole
- func (o *CreateUserSchema) GetRootRoleOk() (*CreateUserSchemaRootRole, bool)
- func (o *CreateUserSchema) GetSendEmail() bool
- func (o *CreateUserSchema) GetSendEmailOk() (*bool, bool)
- func (o *CreateUserSchema) GetUsername() string
- func (o *CreateUserSchema) GetUsernameOk() (*string, bool)
- func (o *CreateUserSchema) HasEmail() bool
- func (o *CreateUserSchema) HasName() bool
- func (o *CreateUserSchema) HasPassword() bool
- func (o *CreateUserSchema) HasSendEmail() bool
- func (o *CreateUserSchema) HasUsername() bool
- func (o CreateUserSchema) MarshalJSON() ([]byte, error)
- func (o *CreateUserSchema) SetEmail(v string)
- func (o *CreateUserSchema) SetName(v string)
- func (o *CreateUserSchema) SetPassword(v string)
- func (o *CreateUserSchema) SetRootRole(v CreateUserSchemaRootRole)
- func (o *CreateUserSchema) SetSendEmail(v bool)
- func (o *CreateUserSchema) SetUsername(v string)
- func (o CreateUserSchema) ToMap() (map[string]interface{}, error)
- func (o *CreateUserSchema) UnmarshalJSON(data []byte) (err error)
- type CreateUserSchemaRootRole
- type EnvironmentProjectSchema
- func (o *EnvironmentProjectSchema) GetDefaultStrategy() FeatureStrategySchema
- func (o *EnvironmentProjectSchema) GetDefaultStrategyOk() (*FeatureStrategySchema, bool)
- func (o *EnvironmentProjectSchema) GetEnabled() bool
- func (o *EnvironmentProjectSchema) GetEnabledOk() (*bool, bool)
- func (o *EnvironmentProjectSchema) GetName() string
- func (o *EnvironmentProjectSchema) GetNameOk() (*string, bool)
- func (o *EnvironmentProjectSchema) GetProjectApiTokenCount() int32
- func (o *EnvironmentProjectSchema) GetProjectApiTokenCountOk() (*int32, bool)
- func (o *EnvironmentProjectSchema) GetProjectEnabledToggleCount() int32
- func (o *EnvironmentProjectSchema) GetProjectEnabledToggleCountOk() (*int32, bool)
- func (o *EnvironmentProjectSchema) GetProtected() bool
- func (o *EnvironmentProjectSchema) GetProtectedOk() (*bool, bool)
- func (o *EnvironmentProjectSchema) GetRequiredApprovals() int32
- func (o *EnvironmentProjectSchema) GetRequiredApprovalsOk() (*int32, bool)
- func (o *EnvironmentProjectSchema) GetSortOrder() int32
- func (o *EnvironmentProjectSchema) GetSortOrderOk() (*int32, bool)
- func (o *EnvironmentProjectSchema) GetType() string
- func (o *EnvironmentProjectSchema) GetTypeOk() (*string, bool)
- func (o *EnvironmentProjectSchema) GetVisible() bool
- func (o *EnvironmentProjectSchema) GetVisibleOk() (*bool, bool)
- func (o *EnvironmentProjectSchema) HasDefaultStrategy() bool
- func (o *EnvironmentProjectSchema) HasProjectApiTokenCount() bool
- func (o *EnvironmentProjectSchema) HasProjectEnabledToggleCount() bool
- func (o *EnvironmentProjectSchema) HasRequiredApprovals() bool
- func (o *EnvironmentProjectSchema) HasVisible() bool
- func (o EnvironmentProjectSchema) MarshalJSON() ([]byte, error)
- func (o *EnvironmentProjectSchema) SetDefaultStrategy(v FeatureStrategySchema)
- func (o *EnvironmentProjectSchema) SetEnabled(v bool)
- func (o *EnvironmentProjectSchema) SetName(v string)
- func (o *EnvironmentProjectSchema) SetProjectApiTokenCount(v int32)
- func (o *EnvironmentProjectSchema) SetProjectEnabledToggleCount(v int32)
- func (o *EnvironmentProjectSchema) SetProtected(v bool)
- func (o *EnvironmentProjectSchema) SetRequiredApprovals(v int32)
- func (o *EnvironmentProjectSchema) SetRequiredApprovalsNil()
- func (o *EnvironmentProjectSchema) SetSortOrder(v int32)
- func (o *EnvironmentProjectSchema) SetType(v string)
- func (o *EnvironmentProjectSchema) SetVisible(v bool)
- func (o EnvironmentProjectSchema) ToMap() (map[string]interface{}, error)
- func (o *EnvironmentProjectSchema) UnmarshalJSON(data []byte) (err error)
- func (o *EnvironmentProjectSchema) UnsetRequiredApprovals()
- type EnvironmentSchema
- func (o *EnvironmentSchema) GetApiTokenCount() int32
- func (o *EnvironmentSchema) GetApiTokenCountOk() (*int32, bool)
- func (o *EnvironmentSchema) GetEnabled() bool
- func (o *EnvironmentSchema) GetEnabledOk() (*bool, bool)
- func (o *EnvironmentSchema) GetEnabledToggleCount() int32
- func (o *EnvironmentSchema) GetEnabledToggleCountOk() (*int32, bool)
- func (o *EnvironmentSchema) GetName() string
- func (o *EnvironmentSchema) GetNameOk() (*string, bool)
- func (o *EnvironmentSchema) GetProjectCount() int32
- func (o *EnvironmentSchema) GetProjectCountOk() (*int32, bool)
- func (o *EnvironmentSchema) GetProtected() bool
- func (o *EnvironmentSchema) GetProtectedOk() (*bool, bool)
- func (o *EnvironmentSchema) GetRequiredApprovals() int32
- func (o *EnvironmentSchema) GetRequiredApprovalsOk() (*int32, bool)
- func (o *EnvironmentSchema) GetSortOrder() int32
- func (o *EnvironmentSchema) GetSortOrderOk() (*int32, bool)
- func (o *EnvironmentSchema) GetType() string
- func (o *EnvironmentSchema) GetTypeOk() (*string, bool)
- func (o *EnvironmentSchema) HasApiTokenCount() bool
- func (o *EnvironmentSchema) HasEnabledToggleCount() bool
- func (o *EnvironmentSchema) HasProjectCount() bool
- func (o *EnvironmentSchema) HasRequiredApprovals() bool
- func (o EnvironmentSchema) MarshalJSON() ([]byte, error)
- func (o *EnvironmentSchema) SetApiTokenCount(v int32)
- func (o *EnvironmentSchema) SetApiTokenCountNil()
- func (o *EnvironmentSchema) SetEnabled(v bool)
- func (o *EnvironmentSchema) SetEnabledToggleCount(v int32)
- func (o *EnvironmentSchema) SetEnabledToggleCountNil()
- func (o *EnvironmentSchema) SetName(v string)
- func (o *EnvironmentSchema) SetProjectCount(v int32)
- func (o *EnvironmentSchema) SetProjectCountNil()
- func (o *EnvironmentSchema) SetProtected(v bool)
- func (o *EnvironmentSchema) SetRequiredApprovals(v int32)
- func (o *EnvironmentSchema) SetRequiredApprovalsNil()
- func (o *EnvironmentSchema) SetSortOrder(v int32)
- func (o *EnvironmentSchema) SetType(v string)
- func (o EnvironmentSchema) ToMap() (map[string]interface{}, error)
- func (o *EnvironmentSchema) UnmarshalJSON(data []byte) (err error)
- func (o *EnvironmentSchema) UnsetApiTokenCount()
- func (o *EnvironmentSchema) UnsetEnabledToggleCount()
- func (o *EnvironmentSchema) UnsetProjectCount()
- func (o *EnvironmentSchema) UnsetRequiredApprovals()
- type EnvironmentsAPIService
- func (a *EnvironmentsAPIService) CreateEnvironment(ctx context.Context) ApiCreateEnvironmentRequest
- func (a *EnvironmentsAPIService) CreateEnvironmentExecute(r ApiCreateEnvironmentRequest) (*EnvironmentSchema, *http.Response, error)
- func (a *EnvironmentsAPIService) GetAllEnvironments(ctx context.Context) ApiGetAllEnvironmentsRequest
- func (a *EnvironmentsAPIService) GetAllEnvironmentsExecute(r ApiGetAllEnvironmentsRequest) (*EnvironmentsSchema, *http.Response, error)
- func (a *EnvironmentsAPIService) GetEnvironment(ctx context.Context, name string) ApiGetEnvironmentRequest
- func (a *EnvironmentsAPIService) GetEnvironmentExecute(r ApiGetEnvironmentRequest) (*EnvironmentSchema, *http.Response, error)
- func (a *EnvironmentsAPIService) GetProjectEnvironments(ctx context.Context, projectId string) ApiGetProjectEnvironmentsRequest
- func (a *EnvironmentsAPIService) GetProjectEnvironmentsExecute(r ApiGetProjectEnvironmentsRequest) (*EnvironmentsProjectSchema, *http.Response, error)
- func (a *EnvironmentsAPIService) RemoveEnvironment(ctx context.Context, name string) ApiRemoveEnvironmentRequest
- func (a *EnvironmentsAPIService) RemoveEnvironmentExecute(r ApiRemoveEnvironmentRequest) (*http.Response, error)
- func (a *EnvironmentsAPIService) UpdateEnvironment(ctx context.Context, name string) ApiUpdateEnvironmentRequest
- func (a *EnvironmentsAPIService) UpdateEnvironmentExecute(r ApiUpdateEnvironmentRequest) (*EnvironmentSchema, *http.Response, error)
- type EnvironmentsProjectSchema
- func (o *EnvironmentsProjectSchema) GetEnvironments() []EnvironmentProjectSchema
- func (o *EnvironmentsProjectSchema) GetEnvironmentsOk() ([]EnvironmentProjectSchema, bool)
- func (o *EnvironmentsProjectSchema) GetVersion() int32
- func (o *EnvironmentsProjectSchema) GetVersionOk() (*int32, bool)
- func (o EnvironmentsProjectSchema) MarshalJSON() ([]byte, error)
- func (o *EnvironmentsProjectSchema) SetEnvironments(v []EnvironmentProjectSchema)
- func (o *EnvironmentsProjectSchema) SetVersion(v int32)
- func (o EnvironmentsProjectSchema) ToMap() (map[string]interface{}, error)
- func (o *EnvironmentsProjectSchema) UnmarshalJSON(data []byte) (err error)
- type EnvironmentsSchema
- func (o *EnvironmentsSchema) GetEnvironments() []EnvironmentSchema
- func (o *EnvironmentsSchema) GetEnvironmentsOk() ([]EnvironmentSchema, bool)
- func (o *EnvironmentsSchema) GetVersion() int32
- func (o *EnvironmentsSchema) GetVersionOk() (*int32, bool)
- func (o EnvironmentsSchema) MarshalJSON() ([]byte, error)
- func (o *EnvironmentsSchema) SetEnvironments(v []EnvironmentSchema)
- func (o *EnvironmentsSchema) SetVersion(v int32)
- func (o EnvironmentsSchema) ToMap() (map[string]interface{}, error)
- func (o *EnvironmentsSchema) UnmarshalJSON(data []byte) (err error)
- type FeatureStrategySchema
- func (o *FeatureStrategySchema) GetConstraints() []ConstraintSchema
- func (o *FeatureStrategySchema) GetConstraintsOk() ([]ConstraintSchema, bool)
- func (o *FeatureStrategySchema) GetDisabled() bool
- func (o *FeatureStrategySchema) GetDisabledOk() (*bool, bool)
- func (o *FeatureStrategySchema) GetFeatureName() string
- func (o *FeatureStrategySchema) GetFeatureNameOk() (*string, bool)
- func (o *FeatureStrategySchema) GetId() string
- func (o *FeatureStrategySchema) GetIdOk() (*string, bool)
- func (o *FeatureStrategySchema) GetName() string
- func (o *FeatureStrategySchema) GetNameOk() (*string, bool)
- func (o *FeatureStrategySchema) GetParameters() map[string]string
- func (o *FeatureStrategySchema) GetParametersOk() (*map[string]string, bool)
- func (o *FeatureStrategySchema) GetSegments() []float32
- func (o *FeatureStrategySchema) GetSegmentsOk() ([]float32, bool)
- func (o *FeatureStrategySchema) GetSortOrder() float32
- func (o *FeatureStrategySchema) GetSortOrderOk() (*float32, bool)
- func (o *FeatureStrategySchema) GetTitle() string
- func (o *FeatureStrategySchema) GetTitleOk() (*string, bool)
- func (o *FeatureStrategySchema) GetVariants() []StrategyVariantSchema
- func (o *FeatureStrategySchema) GetVariantsOk() ([]StrategyVariantSchema, bool)
- func (o *FeatureStrategySchema) HasConstraints() bool
- func (o *FeatureStrategySchema) HasDisabled() bool
- func (o *FeatureStrategySchema) HasFeatureName() bool
- func (o *FeatureStrategySchema) HasId() bool
- func (o *FeatureStrategySchema) HasParameters() bool
- func (o *FeatureStrategySchema) HasSegments() bool
- func (o *FeatureStrategySchema) HasSortOrder() bool
- func (o *FeatureStrategySchema) HasTitle() bool
- func (o *FeatureStrategySchema) HasVariants() bool
- func (o FeatureStrategySchema) MarshalJSON() ([]byte, error)
- func (o *FeatureStrategySchema) SetConstraints(v []ConstraintSchema)
- func (o *FeatureStrategySchema) SetDisabled(v bool)
- func (o *FeatureStrategySchema) SetDisabledNil()
- func (o *FeatureStrategySchema) SetFeatureName(v string)
- func (o *FeatureStrategySchema) SetId(v string)
- func (o *FeatureStrategySchema) SetName(v string)
- func (o *FeatureStrategySchema) SetParameters(v map[string]string)
- func (o *FeatureStrategySchema) SetSegments(v []float32)
- func (o *FeatureStrategySchema) SetSortOrder(v float32)
- func (o *FeatureStrategySchema) SetTitle(v string)
- func (o *FeatureStrategySchema) SetTitleNil()
- func (o *FeatureStrategySchema) SetVariants(v []StrategyVariantSchema)
- func (o FeatureStrategySchema) ToMap() (map[string]interface{}, error)
- func (o *FeatureStrategySchema) UnmarshalJSON(data []byte) (err error)
- func (o *FeatureStrategySchema) UnsetDisabled()
- func (o *FeatureStrategySchema) UnsetTitle()
- type GenericOpenAPIError
- type GetProjects401Response
- func (o *GetProjects401Response) GetId() string
- func (o *GetProjects401Response) GetIdOk() (*string, bool)
- func (o *GetProjects401Response) GetMessage() string
- func (o *GetProjects401Response) GetMessageOk() (*string, bool)
- func (o *GetProjects401Response) GetName() string
- func (o *GetProjects401Response) GetNameOk() (*string, bool)
- func (o *GetProjects401Response) HasId() bool
- func (o *GetProjects401Response) HasMessage() bool
- func (o *GetProjects401Response) HasName() bool
- func (o GetProjects401Response) MarshalJSON() ([]byte, error)
- func (o *GetProjects401Response) SetId(v string)
- func (o *GetProjects401Response) SetMessage(v string)
- func (o *GetProjects401Response) SetName(v string)
- func (o GetProjects401Response) ToMap() (map[string]interface{}, error)
- func (o *GetProjects401Response) UnmarshalJSON(data []byte) (err error)
- type GetProjects403Response
- func (o *GetProjects403Response) GetId() string
- func (o *GetProjects403Response) GetIdOk() (*string, bool)
- func (o *GetProjects403Response) GetMessage() string
- func (o *GetProjects403Response) GetMessageOk() (*string, bool)
- func (o *GetProjects403Response) GetName() string
- func (o *GetProjects403Response) GetNameOk() (*string, bool)
- func (o *GetProjects403Response) HasId() bool
- func (o *GetProjects403Response) HasMessage() bool
- func (o *GetProjects403Response) HasName() bool
- func (o GetProjects403Response) MarshalJSON() ([]byte, error)
- func (o *GetProjects403Response) SetId(v string)
- func (o *GetProjects403Response) SetMessage(v string)
- func (o *GetProjects403Response) SetName(v string)
- func (o GetProjects403Response) ToMap() (map[string]interface{}, error)
- func (o *GetProjects403Response) UnmarshalJSON(data []byte) (err error)
- type GroupSchema
- func (o *GroupSchema) GetCreatedAt() time.Time
- func (o *GroupSchema) GetCreatedAtOk() (*time.Time, bool)
- func (o *GroupSchema) GetCreatedBy() string
- func (o *GroupSchema) GetCreatedByOk() (*string, bool)
- func (o *GroupSchema) GetDescription() string
- func (o *GroupSchema) GetDescriptionOk() (*string, bool)
- func (o *GroupSchema) GetId() int32
- func (o *GroupSchema) GetIdOk() (*int32, bool)
- func (o *GroupSchema) GetMappingsSSO() []string
- func (o *GroupSchema) GetMappingsSSOOk() ([]string, bool)
- func (o *GroupSchema) GetName() string
- func (o *GroupSchema) GetNameOk() (*string, bool)
- func (o *GroupSchema) GetProjects() []string
- func (o *GroupSchema) GetProjectsOk() ([]string, bool)
- func (o *GroupSchema) GetRootRole() float32
- func (o *GroupSchema) GetRootRoleOk() (*float32, bool)
- func (o *GroupSchema) GetScimId() string
- func (o *GroupSchema) GetScimIdOk() (*string, bool)
- func (o *GroupSchema) GetUserCount() int32
- func (o *GroupSchema) GetUserCountOk() (*int32, bool)
- func (o *GroupSchema) GetUsers() []GroupUserModelSchema
- func (o *GroupSchema) GetUsersOk() ([]GroupUserModelSchema, bool)
- func (o *GroupSchema) HasCreatedAt() bool
- func (o *GroupSchema) HasCreatedBy() bool
- func (o *GroupSchema) HasDescription() bool
- func (o *GroupSchema) HasId() bool
- func (o *GroupSchema) HasMappingsSSO() bool
- func (o *GroupSchema) HasProjects() bool
- func (o *GroupSchema) HasRootRole() bool
- func (o *GroupSchema) HasScimId() bool
- func (o *GroupSchema) HasUserCount() bool
- func (o *GroupSchema) HasUsers() bool
- func (o GroupSchema) MarshalJSON() ([]byte, error)
- func (o *GroupSchema) SetCreatedAt(v time.Time)
- func (o *GroupSchema) SetCreatedAtNil()
- func (o *GroupSchema) SetCreatedBy(v string)
- func (o *GroupSchema) SetCreatedByNil()
- func (o *GroupSchema) SetDescription(v string)
- func (o *GroupSchema) SetDescriptionNil()
- func (o *GroupSchema) SetId(v int32)
- func (o *GroupSchema) SetMappingsSSO(v []string)
- func (o *GroupSchema) SetName(v string)
- func (o *GroupSchema) SetProjects(v []string)
- func (o *GroupSchema) SetRootRole(v float32)
- func (o *GroupSchema) SetRootRoleNil()
- func (o *GroupSchema) SetScimId(v string)
- func (o *GroupSchema) SetScimIdNil()
- func (o *GroupSchema) SetUserCount(v int32)
- func (o *GroupSchema) SetUsers(v []GroupUserModelSchema)
- func (o GroupSchema) ToMap() (map[string]interface{}, error)
- func (o *GroupSchema) UnmarshalJSON(data []byte) (err error)
- func (o *GroupSchema) UnsetCreatedAt()
- func (o *GroupSchema) UnsetCreatedBy()
- func (o *GroupSchema) UnsetDescription()
- func (o *GroupSchema) UnsetRootRole()
- func (o *GroupSchema) UnsetScimId()
- type GroupUserModelSchema
- func (o *GroupUserModelSchema) GetCreatedBy() string
- func (o *GroupUserModelSchema) GetCreatedByOk() (*string, bool)
- func (o *GroupUserModelSchema) GetJoinedAt() time.Time
- func (o *GroupUserModelSchema) GetJoinedAtOk() (*time.Time, bool)
- func (o *GroupUserModelSchema) GetUser() UserSchema
- func (o *GroupUserModelSchema) GetUserOk() (*UserSchema, bool)
- func (o *GroupUserModelSchema) HasCreatedBy() bool
- func (o *GroupUserModelSchema) HasJoinedAt() bool
- func (o GroupUserModelSchema) MarshalJSON() ([]byte, error)
- func (o *GroupUserModelSchema) SetCreatedBy(v string)
- func (o *GroupUserModelSchema) SetCreatedByNil()
- func (o *GroupUserModelSchema) SetJoinedAt(v time.Time)
- func (o *GroupUserModelSchema) SetUser(v UserSchema)
- func (o GroupUserModelSchema) ToMap() (map[string]interface{}, error)
- func (o *GroupUserModelSchema) UnmarshalJSON(data []byte) (err error)
- func (o *GroupUserModelSchema) UnsetCreatedBy()
- type GroupWithProjectRoleSchema
- func (o *GroupWithProjectRoleSchema) GetAddedAt() time.Time
- func (o *GroupWithProjectRoleSchema) GetAddedAtOk() (*time.Time, bool)
- func (o *GroupWithProjectRoleSchema) GetCreatedAt() time.Time
- func (o *GroupWithProjectRoleSchema) GetCreatedAtOk() (*time.Time, bool)
- func (o *GroupWithProjectRoleSchema) GetCreatedBy() string
- func (o *GroupWithProjectRoleSchema) GetCreatedByOk() (*string, bool)
- func (o *GroupWithProjectRoleSchema) GetDescription() string
- func (o *GroupWithProjectRoleSchema) GetDescriptionOk() (*string, bool)
- func (o *GroupWithProjectRoleSchema) GetId() int32
- func (o *GroupWithProjectRoleSchema) GetIdOk() (*int32, bool)
- func (o *GroupWithProjectRoleSchema) GetMappingsSSO() []string
- func (o *GroupWithProjectRoleSchema) GetMappingsSSOOk() ([]string, bool)
- func (o *GroupWithProjectRoleSchema) GetName() string
- func (o *GroupWithProjectRoleSchema) GetNameOk() (*string, bool)
- func (o *GroupWithProjectRoleSchema) GetRoleId() int32
- func (o *GroupWithProjectRoleSchema) GetRoleIdOk() (*int32, bool)
- func (o *GroupWithProjectRoleSchema) GetRoles() []int32
- func (o *GroupWithProjectRoleSchema) GetRolesOk() ([]int32, bool)
- func (o *GroupWithProjectRoleSchema) GetRootRole() float32
- func (o *GroupWithProjectRoleSchema) GetRootRoleOk() (*float32, bool)
- func (o *GroupWithProjectRoleSchema) GetScimId() string
- func (o *GroupWithProjectRoleSchema) GetScimIdOk() (*string, bool)
- func (o *GroupWithProjectRoleSchema) GetUsers() []GroupUserModelSchema
- func (o *GroupWithProjectRoleSchema) GetUsersOk() ([]GroupUserModelSchema, bool)
- func (o *GroupWithProjectRoleSchema) HasAddedAt() bool
- func (o *GroupWithProjectRoleSchema) HasCreatedAt() bool
- func (o *GroupWithProjectRoleSchema) HasCreatedBy() bool
- func (o *GroupWithProjectRoleSchema) HasDescription() bool
- func (o *GroupWithProjectRoleSchema) HasMappingsSSO() bool
- func (o *GroupWithProjectRoleSchema) HasName() bool
- func (o *GroupWithProjectRoleSchema) HasRoleId() bool
- func (o *GroupWithProjectRoleSchema) HasRoles() bool
- func (o *GroupWithProjectRoleSchema) HasRootRole() bool
- func (o *GroupWithProjectRoleSchema) HasScimId() bool
- func (o *GroupWithProjectRoleSchema) HasUsers() bool
- func (o GroupWithProjectRoleSchema) MarshalJSON() ([]byte, error)
- func (o *GroupWithProjectRoleSchema) SetAddedAt(v time.Time)
- func (o *GroupWithProjectRoleSchema) SetCreatedAt(v time.Time)
- func (o *GroupWithProjectRoleSchema) SetCreatedAtNil()
- func (o *GroupWithProjectRoleSchema) SetCreatedBy(v string)
- func (o *GroupWithProjectRoleSchema) SetCreatedByNil()
- func (o *GroupWithProjectRoleSchema) SetDescription(v string)
- func (o *GroupWithProjectRoleSchema) SetDescriptionNil()
- func (o *GroupWithProjectRoleSchema) SetId(v int32)
- func (o *GroupWithProjectRoleSchema) SetMappingsSSO(v []string)
- func (o *GroupWithProjectRoleSchema) SetName(v string)
- func (o *GroupWithProjectRoleSchema) SetRoleId(v int32)
- func (o *GroupWithProjectRoleSchema) SetRoles(v []int32)
- func (o *GroupWithProjectRoleSchema) SetRootRole(v float32)
- func (o *GroupWithProjectRoleSchema) SetRootRoleNil()
- func (o *GroupWithProjectRoleSchema) SetScimId(v string)
- func (o *GroupWithProjectRoleSchema) SetScimIdNil()
- func (o *GroupWithProjectRoleSchema) SetUsers(v []GroupUserModelSchema)
- func (o GroupWithProjectRoleSchema) ToMap() (map[string]interface{}, error)
- func (o *GroupWithProjectRoleSchema) UnmarshalJSON(data []byte) (err error)
- func (o *GroupWithProjectRoleSchema) UnsetCreatedAt()
- func (o *GroupWithProjectRoleSchema) UnsetCreatedBy()
- func (o *GroupWithProjectRoleSchema) UnsetDescription()
- func (o *GroupWithProjectRoleSchema) UnsetRootRole()
- func (o *GroupWithProjectRoleSchema) UnsetScimId()
- type GroupsSchema
- func (o *GroupsSchema) GetGroups() []GroupSchema
- func (o *GroupsSchema) GetGroupsOk() ([]GroupSchema, bool)
- func (o *GroupsSchema) HasGroups() bool
- func (o GroupsSchema) MarshalJSON() ([]byte, error)
- func (o *GroupsSchema) SetGroups(v []GroupSchema)
- func (o GroupsSchema) ToMap() (map[string]interface{}, error)
- func (o *GroupsSchema) UnmarshalJSON(data []byte) (err error)
- type LegalValueSchema
- func (o *LegalValueSchema) GetDescription() string
- func (o *LegalValueSchema) GetDescriptionOk() (*string, bool)
- func (o *LegalValueSchema) GetValue() string
- func (o *LegalValueSchema) GetValueOk() (*string, bool)
- func (o *LegalValueSchema) HasDescription() bool
- func (o LegalValueSchema) MarshalJSON() ([]byte, error)
- func (o *LegalValueSchema) SetDescription(v string)
- func (o *LegalValueSchema) SetValue(v string)
- func (o LegalValueSchema) ToMap() (map[string]interface{}, error)
- func (o *LegalValueSchema) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableAdminPermissionSchema
- func (v NullableAdminPermissionSchema) Get() *AdminPermissionSchema
- func (v NullableAdminPermissionSchema) IsSet() bool
- func (v NullableAdminPermissionSchema) MarshalJSON() ([]byte, error)
- func (v *NullableAdminPermissionSchema) Set(val *AdminPermissionSchema)
- func (v *NullableAdminPermissionSchema) UnmarshalJSON(src []byte) error
- func (v *NullableAdminPermissionSchema) Unset()
- type NullableAdminPermissionsSchema
- func (v NullableAdminPermissionsSchema) Get() *AdminPermissionsSchema
- func (v NullableAdminPermissionsSchema) IsSet() bool
- func (v NullableAdminPermissionsSchema) MarshalJSON() ([]byte, error)
- func (v *NullableAdminPermissionsSchema) Set(val *AdminPermissionsSchema)
- func (v *NullableAdminPermissionsSchema) UnmarshalJSON(src []byte) error
- func (v *NullableAdminPermissionsSchema) Unset()
- type NullableAdminPermissionsSchemaPermissions
- func (v NullableAdminPermissionsSchemaPermissions) Get() *AdminPermissionsSchemaPermissions
- func (v NullableAdminPermissionsSchemaPermissions) IsSet() bool
- func (v NullableAdminPermissionsSchemaPermissions) MarshalJSON() ([]byte, error)
- func (v *NullableAdminPermissionsSchemaPermissions) Set(val *AdminPermissionsSchemaPermissions)
- func (v *NullableAdminPermissionsSchemaPermissions) UnmarshalJSON(src []byte) error
- func (v *NullableAdminPermissionsSchemaPermissions) Unset()
- type NullableAdminPermissionsSchemaPermissionsEnvironmentsInner
- func (v NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) Get() *AdminPermissionsSchemaPermissionsEnvironmentsInner
- func (v NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) IsSet() bool
- func (v NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) MarshalJSON() ([]byte, error)
- func (v *NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) Set(val *AdminPermissionsSchemaPermissionsEnvironmentsInner)
- func (v *NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) UnmarshalJSON(src []byte) error
- func (v *NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) Unset()
- type NullableApiTokenSchema
- func (v NullableApiTokenSchema) Get() *ApiTokenSchema
- func (v NullableApiTokenSchema) IsSet() bool
- func (v NullableApiTokenSchema) MarshalJSON() ([]byte, error)
- func (v *NullableApiTokenSchema) Set(val *ApiTokenSchema)
- func (v *NullableApiTokenSchema) UnmarshalJSON(src []byte) error
- func (v *NullableApiTokenSchema) Unset()
- type NullableApiTokensSchema
- func (v NullableApiTokensSchema) Get() *ApiTokensSchema
- func (v NullableApiTokensSchema) IsSet() bool
- func (v NullableApiTokensSchema) MarshalJSON() ([]byte, error)
- func (v *NullableApiTokensSchema) Set(val *ApiTokensSchema)
- func (v *NullableApiTokensSchema) UnmarshalJSON(src []byte) error
- func (v *NullableApiTokensSchema) Unset()
- type NullableBool
- type NullableChangeRequestEnvironmentConfigSchema
- func (v NullableChangeRequestEnvironmentConfigSchema) Get() *ChangeRequestEnvironmentConfigSchema
- func (v NullableChangeRequestEnvironmentConfigSchema) IsSet() bool
- func (v NullableChangeRequestEnvironmentConfigSchema) MarshalJSON() ([]byte, error)
- func (v *NullableChangeRequestEnvironmentConfigSchema) Set(val *ChangeRequestEnvironmentConfigSchema)
- func (v *NullableChangeRequestEnvironmentConfigSchema) UnmarshalJSON(src []byte) error
- func (v *NullableChangeRequestEnvironmentConfigSchema) Unset()
- type NullableConstraintSchema
- func (v NullableConstraintSchema) Get() *ConstraintSchema
- func (v NullableConstraintSchema) IsSet() bool
- func (v NullableConstraintSchema) MarshalJSON() ([]byte, error)
- func (v *NullableConstraintSchema) Set(val *ConstraintSchema)
- func (v *NullableConstraintSchema) UnmarshalJSON(src []byte) error
- func (v *NullableConstraintSchema) Unset()
- type NullableContextFieldSchema
- func (v NullableContextFieldSchema) Get() *ContextFieldSchema
- func (v NullableContextFieldSchema) IsSet() bool
- func (v NullableContextFieldSchema) MarshalJSON() ([]byte, error)
- func (v *NullableContextFieldSchema) Set(val *ContextFieldSchema)
- func (v *NullableContextFieldSchema) UnmarshalJSON(src []byte) error
- func (v *NullableContextFieldSchema) Unset()
- type NullableCreateApiTokenSchema
- func (v NullableCreateApiTokenSchema) Get() *CreateApiTokenSchema
- func (v NullableCreateApiTokenSchema) IsSet() bool
- func (v NullableCreateApiTokenSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateApiTokenSchema) Set(val *CreateApiTokenSchema)
- func (v *NullableCreateApiTokenSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateApiTokenSchema) Unset()
- type NullableCreateApiTokenSchemaOneOf
- func (v NullableCreateApiTokenSchemaOneOf) Get() *CreateApiTokenSchemaOneOf
- func (v NullableCreateApiTokenSchemaOneOf) IsSet() bool
- func (v NullableCreateApiTokenSchemaOneOf) MarshalJSON() ([]byte, error)
- func (v *NullableCreateApiTokenSchemaOneOf) Set(val *CreateApiTokenSchemaOneOf)
- func (v *NullableCreateApiTokenSchemaOneOf) UnmarshalJSON(src []byte) error
- func (v *NullableCreateApiTokenSchemaOneOf) Unset()
- type NullableCreateContextFieldSchema
- func (v NullableCreateContextFieldSchema) Get() *CreateContextFieldSchema
- func (v NullableCreateContextFieldSchema) IsSet() bool
- func (v NullableCreateContextFieldSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateContextFieldSchema) Set(val *CreateContextFieldSchema)
- func (v *NullableCreateContextFieldSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateContextFieldSchema) Unset()
- type NullableCreateEnvironmentSchema
- func (v NullableCreateEnvironmentSchema) Get() *CreateEnvironmentSchema
- func (v NullableCreateEnvironmentSchema) IsSet() bool
- func (v NullableCreateEnvironmentSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateEnvironmentSchema) Set(val *CreateEnvironmentSchema)
- func (v *NullableCreateEnvironmentSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateEnvironmentSchema) Unset()
- type NullableCreateFeatureNamingPatternSchema
- func (v NullableCreateFeatureNamingPatternSchema) Get() *CreateFeatureNamingPatternSchema
- func (v NullableCreateFeatureNamingPatternSchema) IsSet() bool
- func (v NullableCreateFeatureNamingPatternSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFeatureNamingPatternSchema) Set(val *CreateFeatureNamingPatternSchema)
- func (v *NullableCreateFeatureNamingPatternSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFeatureNamingPatternSchema) Unset()
- type NullableCreateFeatureStrategySchema
- func (v NullableCreateFeatureStrategySchema) Get() *CreateFeatureStrategySchema
- func (v NullableCreateFeatureStrategySchema) IsSet() bool
- func (v NullableCreateFeatureStrategySchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFeatureStrategySchema) Set(val *CreateFeatureStrategySchema)
- func (v *NullableCreateFeatureStrategySchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFeatureStrategySchema) Unset()
- type NullableCreateGroup409Response
- func (v NullableCreateGroup409Response) Get() *CreateGroup409Response
- func (v NullableCreateGroup409Response) IsSet() bool
- func (v NullableCreateGroup409Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGroup409Response) Set(val *CreateGroup409Response)
- func (v *NullableCreateGroup409Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGroup409Response) Unset()
- type NullableCreateGroupSchema
- func (v NullableCreateGroupSchema) Get() *CreateGroupSchema
- func (v NullableCreateGroupSchema) IsSet() bool
- func (v NullableCreateGroupSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGroupSchema) Set(val *CreateGroupSchema)
- func (v *NullableCreateGroupSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGroupSchema) Unset()
- type NullableCreateGroupSchemaUsersInner
- func (v NullableCreateGroupSchemaUsersInner) Get() *CreateGroupSchemaUsersInner
- func (v NullableCreateGroupSchemaUsersInner) IsSet() bool
- func (v NullableCreateGroupSchemaUsersInner) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGroupSchemaUsersInner) Set(val *CreateGroupSchemaUsersInner)
- func (v *NullableCreateGroupSchemaUsersInner) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGroupSchemaUsersInner) Unset()
- type NullableCreateGroupSchemaUsersInnerUser
- func (v NullableCreateGroupSchemaUsersInnerUser) Get() *CreateGroupSchemaUsersInnerUser
- func (v NullableCreateGroupSchemaUsersInnerUser) IsSet() bool
- func (v NullableCreateGroupSchemaUsersInnerUser) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGroupSchemaUsersInnerUser) Set(val *CreateGroupSchemaUsersInnerUser)
- func (v *NullableCreateGroupSchemaUsersInnerUser) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGroupSchemaUsersInnerUser) Unset()
- type NullableCreatePatSchema
- func (v NullableCreatePatSchema) Get() *CreatePatSchema
- func (v NullableCreatePatSchema) IsSet() bool
- func (v NullableCreatePatSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreatePatSchema) Set(val *CreatePatSchema)
- func (v *NullableCreatePatSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreatePatSchema) Unset()
- type NullableCreateProject400Response
- func (v NullableCreateProject400Response) Get() *CreateProject400Response
- func (v NullableCreateProject400Response) IsSet() bool
- func (v NullableCreateProject400Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateProject400Response) Set(val *CreateProject400Response)
- func (v *NullableCreateProject400Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateProject400Response) Unset()
- type NullableCreateProject415Response
- func (v NullableCreateProject415Response) Get() *CreateProject415Response
- func (v NullableCreateProject415Response) IsSet() bool
- func (v NullableCreateProject415Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateProject415Response) Set(val *CreateProject415Response)
- func (v *NullableCreateProject415Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateProject415Response) Unset()
- type NullableCreateProjectSchema
- func (v NullableCreateProjectSchema) Get() *CreateProjectSchema
- func (v NullableCreateProjectSchema) IsSet() bool
- func (v NullableCreateProjectSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateProjectSchema) Set(val *CreateProjectSchema)
- func (v *NullableCreateProjectSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateProjectSchema) Unset()
- type NullableCreateProjectSchemaChangeRequestEnvironmentsInner
- func (v NullableCreateProjectSchemaChangeRequestEnvironmentsInner) Get() *CreateProjectSchemaChangeRequestEnvironmentsInner
- func (v NullableCreateProjectSchemaChangeRequestEnvironmentsInner) IsSet() bool
- func (v NullableCreateProjectSchemaChangeRequestEnvironmentsInner) MarshalJSON() ([]byte, error)
- func (v *NullableCreateProjectSchemaChangeRequestEnvironmentsInner) Set(val *CreateProjectSchemaChangeRequestEnvironmentsInner)
- func (v *NullableCreateProjectSchemaChangeRequestEnvironmentsInner) UnmarshalJSON(src []byte) error
- func (v *NullableCreateProjectSchemaChangeRequestEnvironmentsInner) Unset()
- type NullableCreateRoleWithPermissionsSchema
- func (v NullableCreateRoleWithPermissionsSchema) Get() *CreateRoleWithPermissionsSchema
- func (v NullableCreateRoleWithPermissionsSchema) IsSet() bool
- func (v NullableCreateRoleWithPermissionsSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRoleWithPermissionsSchema) Set(val *CreateRoleWithPermissionsSchema)
- func (v *NullableCreateRoleWithPermissionsSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRoleWithPermissionsSchema) Unset()
- type NullableCreateRoleWithPermissionsSchemaAnyOf
- func (v NullableCreateRoleWithPermissionsSchemaAnyOf) Get() *CreateRoleWithPermissionsSchemaAnyOf
- func (v NullableCreateRoleWithPermissionsSchemaAnyOf) IsSet() bool
- func (v NullableCreateRoleWithPermissionsSchemaAnyOf) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOf) Set(val *CreateRoleWithPermissionsSchemaAnyOf)
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOf) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOf) Unset()
- type NullableCreateRoleWithPermissionsSchemaAnyOf1
- func (v NullableCreateRoleWithPermissionsSchemaAnyOf1) Get() *CreateRoleWithPermissionsSchemaAnyOf1
- func (v NullableCreateRoleWithPermissionsSchemaAnyOf1) IsSet() bool
- func (v NullableCreateRoleWithPermissionsSchemaAnyOf1) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1) Set(val *CreateRoleWithPermissionsSchemaAnyOf1)
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1) Unset()
- type NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner
- func (v NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) Get() *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner
- func (v NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) IsSet() bool
- func (v NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) Set(val *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner)
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) Unset()
- type NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner
- func (v NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) Get() *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner
- func (v NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) IsSet() bool
- func (v NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) Set(val *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner)
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) Unset()
- type NullableCreateServiceAccountSchema
- func (v NullableCreateServiceAccountSchema) Get() *CreateServiceAccountSchema
- func (v NullableCreateServiceAccountSchema) IsSet() bool
- func (v NullableCreateServiceAccountSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServiceAccountSchema) Set(val *CreateServiceAccountSchema)
- func (v *NullableCreateServiceAccountSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServiceAccountSchema) Unset()
- type NullableCreateStrategyVariantSchema
- func (v NullableCreateStrategyVariantSchema) Get() *CreateStrategyVariantSchema
- func (v NullableCreateStrategyVariantSchema) IsSet() bool
- func (v NullableCreateStrategyVariantSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateStrategyVariantSchema) Set(val *CreateStrategyVariantSchema)
- func (v *NullableCreateStrategyVariantSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateStrategyVariantSchema) Unset()
- type NullableCreateStrategyVariantSchemaPayload
- func (v NullableCreateStrategyVariantSchemaPayload) Get() *CreateStrategyVariantSchemaPayload
- func (v NullableCreateStrategyVariantSchemaPayload) IsSet() bool
- func (v NullableCreateStrategyVariantSchemaPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateStrategyVariantSchemaPayload) Set(val *CreateStrategyVariantSchemaPayload)
- func (v *NullableCreateStrategyVariantSchemaPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateStrategyVariantSchemaPayload) Unset()
- type NullableCreateUserResponseSchema
- func (v NullableCreateUserResponseSchema) Get() *CreateUserResponseSchema
- func (v NullableCreateUserResponseSchema) IsSet() bool
- func (v NullableCreateUserResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserResponseSchema) Set(val *CreateUserResponseSchema)
- func (v *NullableCreateUserResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserResponseSchema) Unset()
- type NullableCreateUserResponseSchemaRootRole
- func (v NullableCreateUserResponseSchemaRootRole) Get() *CreateUserResponseSchemaRootRole
- func (v NullableCreateUserResponseSchemaRootRole) IsSet() bool
- func (v NullableCreateUserResponseSchemaRootRole) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserResponseSchemaRootRole) Set(val *CreateUserResponseSchemaRootRole)
- func (v *NullableCreateUserResponseSchemaRootRole) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserResponseSchemaRootRole) Unset()
- type NullableCreateUserSchema
- func (v NullableCreateUserSchema) Get() *CreateUserSchema
- func (v NullableCreateUserSchema) IsSet() bool
- func (v NullableCreateUserSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserSchema) Set(val *CreateUserSchema)
- func (v *NullableCreateUserSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserSchema) Unset()
- type NullableCreateUserSchemaRootRole
- func (v NullableCreateUserSchemaRootRole) Get() *CreateUserSchemaRootRole
- func (v NullableCreateUserSchemaRootRole) IsSet() bool
- func (v NullableCreateUserSchemaRootRole) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserSchemaRootRole) Set(val *CreateUserSchemaRootRole)
- func (v *NullableCreateUserSchemaRootRole) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserSchemaRootRole) Unset()
- type NullableEnvironmentProjectSchema
- func (v NullableEnvironmentProjectSchema) Get() *EnvironmentProjectSchema
- func (v NullableEnvironmentProjectSchema) IsSet() bool
- func (v NullableEnvironmentProjectSchema) MarshalJSON() ([]byte, error)
- func (v *NullableEnvironmentProjectSchema) Set(val *EnvironmentProjectSchema)
- func (v *NullableEnvironmentProjectSchema) UnmarshalJSON(src []byte) error
- func (v *NullableEnvironmentProjectSchema) Unset()
- type NullableEnvironmentSchema
- func (v NullableEnvironmentSchema) Get() *EnvironmentSchema
- func (v NullableEnvironmentSchema) IsSet() bool
- func (v NullableEnvironmentSchema) MarshalJSON() ([]byte, error)
- func (v *NullableEnvironmentSchema) Set(val *EnvironmentSchema)
- func (v *NullableEnvironmentSchema) UnmarshalJSON(src []byte) error
- func (v *NullableEnvironmentSchema) Unset()
- type NullableEnvironmentsProjectSchema
- func (v NullableEnvironmentsProjectSchema) Get() *EnvironmentsProjectSchema
- func (v NullableEnvironmentsProjectSchema) IsSet() bool
- func (v NullableEnvironmentsProjectSchema) MarshalJSON() ([]byte, error)
- func (v *NullableEnvironmentsProjectSchema) Set(val *EnvironmentsProjectSchema)
- func (v *NullableEnvironmentsProjectSchema) UnmarshalJSON(src []byte) error
- func (v *NullableEnvironmentsProjectSchema) Unset()
- type NullableEnvironmentsSchema
- func (v NullableEnvironmentsSchema) Get() *EnvironmentsSchema
- func (v NullableEnvironmentsSchema) IsSet() bool
- func (v NullableEnvironmentsSchema) MarshalJSON() ([]byte, error)
- func (v *NullableEnvironmentsSchema) Set(val *EnvironmentsSchema)
- func (v *NullableEnvironmentsSchema) UnmarshalJSON(src []byte) error
- func (v *NullableEnvironmentsSchema) Unset()
- type NullableFeatureStrategySchema
- func (v NullableFeatureStrategySchema) Get() *FeatureStrategySchema
- func (v NullableFeatureStrategySchema) IsSet() bool
- func (v NullableFeatureStrategySchema) MarshalJSON() ([]byte, error)
- func (v *NullableFeatureStrategySchema) Set(val *FeatureStrategySchema)
- func (v *NullableFeatureStrategySchema) UnmarshalJSON(src []byte) error
- func (v *NullableFeatureStrategySchema) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetProjects401Response
- func (v NullableGetProjects401Response) Get() *GetProjects401Response
- func (v NullableGetProjects401Response) IsSet() bool
- func (v NullableGetProjects401Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetProjects401Response) Set(val *GetProjects401Response)
- func (v *NullableGetProjects401Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetProjects401Response) Unset()
- type NullableGetProjects403Response
- func (v NullableGetProjects403Response) Get() *GetProjects403Response
- func (v NullableGetProjects403Response) IsSet() bool
- func (v NullableGetProjects403Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetProjects403Response) Set(val *GetProjects403Response)
- func (v *NullableGetProjects403Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetProjects403Response) Unset()
- type NullableGroupSchema
- func (v NullableGroupSchema) Get() *GroupSchema
- func (v NullableGroupSchema) IsSet() bool
- func (v NullableGroupSchema) MarshalJSON() ([]byte, error)
- func (v *NullableGroupSchema) Set(val *GroupSchema)
- func (v *NullableGroupSchema) UnmarshalJSON(src []byte) error
- func (v *NullableGroupSchema) Unset()
- type NullableGroupUserModelSchema
- func (v NullableGroupUserModelSchema) Get() *GroupUserModelSchema
- func (v NullableGroupUserModelSchema) IsSet() bool
- func (v NullableGroupUserModelSchema) MarshalJSON() ([]byte, error)
- func (v *NullableGroupUserModelSchema) Set(val *GroupUserModelSchema)
- func (v *NullableGroupUserModelSchema) UnmarshalJSON(src []byte) error
- func (v *NullableGroupUserModelSchema) Unset()
- type NullableGroupWithProjectRoleSchema
- func (v NullableGroupWithProjectRoleSchema) Get() *GroupWithProjectRoleSchema
- func (v NullableGroupWithProjectRoleSchema) IsSet() bool
- func (v NullableGroupWithProjectRoleSchema) MarshalJSON() ([]byte, error)
- func (v *NullableGroupWithProjectRoleSchema) Set(val *GroupWithProjectRoleSchema)
- func (v *NullableGroupWithProjectRoleSchema) UnmarshalJSON(src []byte) error
- func (v *NullableGroupWithProjectRoleSchema) Unset()
- type NullableGroupsSchema
- func (v NullableGroupsSchema) Get() *GroupsSchema
- func (v NullableGroupsSchema) IsSet() bool
- func (v NullableGroupsSchema) MarshalJSON() ([]byte, error)
- func (v *NullableGroupsSchema) Set(val *GroupsSchema)
- func (v *NullableGroupsSchema) UnmarshalJSON(src []byte) error
- func (v *NullableGroupsSchema) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLegalValueSchema
- func (v NullableLegalValueSchema) Get() *LegalValueSchema
- func (v NullableLegalValueSchema) IsSet() bool
- func (v NullableLegalValueSchema) MarshalJSON() ([]byte, error)
- func (v *NullableLegalValueSchema) Set(val *LegalValueSchema)
- func (v *NullableLegalValueSchema) UnmarshalJSON(src []byte) error
- func (v *NullableLegalValueSchema) Unset()
- type NullableOidcSettingsResponseSchema
- func (v NullableOidcSettingsResponseSchema) Get() *OidcSettingsResponseSchema
- func (v NullableOidcSettingsResponseSchema) IsSet() bool
- func (v NullableOidcSettingsResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableOidcSettingsResponseSchema) Set(val *OidcSettingsResponseSchema)
- func (v *NullableOidcSettingsResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableOidcSettingsResponseSchema) Unset()
- type NullableOidcSettingsSchema
- func (v NullableOidcSettingsSchema) Get() *OidcSettingsSchema
- func (v NullableOidcSettingsSchema) IsSet() bool
- func (v NullableOidcSettingsSchema) MarshalJSON() ([]byte, error)
- func (v *NullableOidcSettingsSchema) Set(val *OidcSettingsSchema)
- func (v *NullableOidcSettingsSchema) UnmarshalJSON(src []byte) error
- func (v *NullableOidcSettingsSchema) Unset()
- type NullableOidcSettingsSchemaOneOf
- func (v NullableOidcSettingsSchemaOneOf) Get() *OidcSettingsSchemaOneOf
- func (v NullableOidcSettingsSchemaOneOf) IsSet() bool
- func (v NullableOidcSettingsSchemaOneOf) MarshalJSON() ([]byte, error)
- func (v *NullableOidcSettingsSchemaOneOf) Set(val *OidcSettingsSchemaOneOf)
- func (v *NullableOidcSettingsSchemaOneOf) UnmarshalJSON(src []byte) error
- func (v *NullableOidcSettingsSchemaOneOf) Unset()
- type NullableOidcSettingsSchemaOneOf1
- func (v NullableOidcSettingsSchemaOneOf1) Get() *OidcSettingsSchemaOneOf1
- func (v NullableOidcSettingsSchemaOneOf1) IsSet() bool
- func (v NullableOidcSettingsSchemaOneOf1) MarshalJSON() ([]byte, error)
- func (v *NullableOidcSettingsSchemaOneOf1) Set(val *OidcSettingsSchemaOneOf1)
- func (v *NullableOidcSettingsSchemaOneOf1) UnmarshalJSON(src []byte) error
- func (v *NullableOidcSettingsSchemaOneOf1) Unset()
- type NullablePasswordAuthSchema
- func (v NullablePasswordAuthSchema) Get() *PasswordAuthSchema
- func (v NullablePasswordAuthSchema) IsSet() bool
- func (v NullablePasswordAuthSchema) MarshalJSON() ([]byte, error)
- func (v *NullablePasswordAuthSchema) Set(val *PasswordAuthSchema)
- func (v *NullablePasswordAuthSchema) UnmarshalJSON(src []byte) error
- func (v *NullablePasswordAuthSchema) Unset()
- type NullablePatSchema
- type NullablePatsSchema
- type NullableProjectAccessConfigurationSchema
- func (v NullableProjectAccessConfigurationSchema) Get() *ProjectAccessConfigurationSchema
- func (v NullableProjectAccessConfigurationSchema) IsSet() bool
- func (v NullableProjectAccessConfigurationSchema) MarshalJSON() ([]byte, error)
- func (v *NullableProjectAccessConfigurationSchema) Set(val *ProjectAccessConfigurationSchema)
- func (v *NullableProjectAccessConfigurationSchema) UnmarshalJSON(src []byte) error
- func (v *NullableProjectAccessConfigurationSchema) Unset()
- type NullableProjectAccessConfigurationSchemaRolesInner
- func (v NullableProjectAccessConfigurationSchemaRolesInner) Get() *ProjectAccessConfigurationSchemaRolesInner
- func (v NullableProjectAccessConfigurationSchemaRolesInner) IsSet() bool
- func (v NullableProjectAccessConfigurationSchemaRolesInner) MarshalJSON() ([]byte, error)
- func (v *NullableProjectAccessConfigurationSchemaRolesInner) Set(val *ProjectAccessConfigurationSchemaRolesInner)
- func (v *NullableProjectAccessConfigurationSchemaRolesInner) UnmarshalJSON(src []byte) error
- func (v *NullableProjectAccessConfigurationSchemaRolesInner) Unset()
- type NullableProjectAccessSchema
- func (v NullableProjectAccessSchema) Get() *ProjectAccessSchema
- func (v NullableProjectAccessSchema) IsSet() bool
- func (v NullableProjectAccessSchema) MarshalJSON() ([]byte, error)
- func (v *NullableProjectAccessSchema) Set(val *ProjectAccessSchema)
- func (v *NullableProjectAccessSchema) UnmarshalJSON(src []byte) error
- func (v *NullableProjectAccessSchema) Unset()
- type NullableProjectCreatedSchema
- func (v NullableProjectCreatedSchema) Get() *ProjectCreatedSchema
- func (v NullableProjectCreatedSchema) IsSet() bool
- func (v NullableProjectCreatedSchema) MarshalJSON() ([]byte, error)
- func (v *NullableProjectCreatedSchema) Set(val *ProjectCreatedSchema)
- func (v *NullableProjectCreatedSchema) UnmarshalJSON(src []byte) error
- func (v *NullableProjectCreatedSchema) Unset()
- type NullableProjectCreatedSchemaChangeRequestEnvironmentsInner
- func (v NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) Get() *ProjectCreatedSchemaChangeRequestEnvironmentsInner
- func (v NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) IsSet() bool
- func (v NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) MarshalJSON() ([]byte, error)
- func (v *NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) Set(val *ProjectCreatedSchemaChangeRequestEnvironmentsInner)
- func (v *NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) UnmarshalJSON(src []byte) error
- func (v *NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) Unset()
- type NullableProjectEnvironmentSchema
- func (v NullableProjectEnvironmentSchema) Get() *ProjectEnvironmentSchema
- func (v NullableProjectEnvironmentSchema) IsSet() bool
- func (v NullableProjectEnvironmentSchema) MarshalJSON() ([]byte, error)
- func (v *NullableProjectEnvironmentSchema) Set(val *ProjectEnvironmentSchema)
- func (v *NullableProjectEnvironmentSchema) UnmarshalJSON(src []byte) error
- func (v *NullableProjectEnvironmentSchema) Unset()
- type NullableProjectLinkTemplateSchema
- func (v NullableProjectLinkTemplateSchema) Get() *ProjectLinkTemplateSchema
- func (v NullableProjectLinkTemplateSchema) IsSet() bool
- func (v NullableProjectLinkTemplateSchema) MarshalJSON() ([]byte, error)
- func (v *NullableProjectLinkTemplateSchema) Set(val *ProjectLinkTemplateSchema)
- func (v *NullableProjectLinkTemplateSchema) UnmarshalJSON(src []byte) error
- func (v *NullableProjectLinkTemplateSchema) Unset()
- type NullableProjectSchema
- func (v NullableProjectSchema) Get() *ProjectSchema
- func (v NullableProjectSchema) IsSet() bool
- func (v NullableProjectSchema) MarshalJSON() ([]byte, error)
- func (v *NullableProjectSchema) Set(val *ProjectSchema)
- func (v *NullableProjectSchema) UnmarshalJSON(src []byte) error
- func (v *NullableProjectSchema) Unset()
- type NullableProjectsSchema
- func (v NullableProjectsSchema) Get() *ProjectsSchema
- func (v NullableProjectsSchema) IsSet() bool
- func (v NullableProjectsSchema) MarshalJSON() ([]byte, error)
- func (v *NullableProjectsSchema) Set(val *ProjectsSchema)
- func (v *NullableProjectsSchema) UnmarshalJSON(src []byte) error
- func (v *NullableProjectsSchema) Unset()
- type NullableRoleSchema
- type NullableRoleWithPermissionsSchema
- func (v NullableRoleWithPermissionsSchema) Get() *RoleWithPermissionsSchema
- func (v NullableRoleWithPermissionsSchema) IsSet() bool
- func (v NullableRoleWithPermissionsSchema) MarshalJSON() ([]byte, error)
- func (v *NullableRoleWithPermissionsSchema) Set(val *RoleWithPermissionsSchema)
- func (v *NullableRoleWithPermissionsSchema) UnmarshalJSON(src []byte) error
- func (v *NullableRoleWithPermissionsSchema) Unset()
- type NullableRoleWithVersionSchema
- func (v NullableRoleWithVersionSchema) Get() *RoleWithVersionSchema
- func (v NullableRoleWithVersionSchema) IsSet() bool
- func (v NullableRoleWithVersionSchema) MarshalJSON() ([]byte, error)
- func (v *NullableRoleWithVersionSchema) Set(val *RoleWithVersionSchema)
- func (v *NullableRoleWithVersionSchema) UnmarshalJSON(src []byte) error
- func (v *NullableRoleWithVersionSchema) Unset()
- type NullableRolesWithVersionSchema
- func (v NullableRolesWithVersionSchema) Get() *RolesWithVersionSchema
- func (v NullableRolesWithVersionSchema) IsSet() bool
- func (v NullableRolesWithVersionSchema) MarshalJSON() ([]byte, error)
- func (v *NullableRolesWithVersionSchema) Set(val *RolesWithVersionSchema)
- func (v *NullableRolesWithVersionSchema) UnmarshalJSON(src []byte) error
- func (v *NullableRolesWithVersionSchema) Unset()
- type NullableSamlSettingsResponseSchema
- func (v NullableSamlSettingsResponseSchema) Get() *SamlSettingsResponseSchema
- func (v NullableSamlSettingsResponseSchema) IsSet() bool
- func (v NullableSamlSettingsResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableSamlSettingsResponseSchema) Set(val *SamlSettingsResponseSchema)
- func (v *NullableSamlSettingsResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableSamlSettingsResponseSchema) Unset()
- type NullableSamlSettingsSchema
- func (v NullableSamlSettingsSchema) Get() *SamlSettingsSchema
- func (v NullableSamlSettingsSchema) IsSet() bool
- func (v NullableSamlSettingsSchema) MarshalJSON() ([]byte, error)
- func (v *NullableSamlSettingsSchema) Set(val *SamlSettingsSchema)
- func (v *NullableSamlSettingsSchema) UnmarshalJSON(src []byte) error
- func (v *NullableSamlSettingsSchema) Unset()
- type NullableSamlSettingsSchemaOneOf
- func (v NullableSamlSettingsSchemaOneOf) Get() *SamlSettingsSchemaOneOf
- func (v NullableSamlSettingsSchemaOneOf) IsSet() bool
- func (v NullableSamlSettingsSchemaOneOf) MarshalJSON() ([]byte, error)
- func (v *NullableSamlSettingsSchemaOneOf) Set(val *SamlSettingsSchemaOneOf)
- func (v *NullableSamlSettingsSchemaOneOf) UnmarshalJSON(src []byte) error
- func (v *NullableSamlSettingsSchemaOneOf) Unset()
- type NullableSamlSettingsSchemaOneOf1
- func (v NullableSamlSettingsSchemaOneOf1) Get() *SamlSettingsSchemaOneOf1
- func (v NullableSamlSettingsSchemaOneOf1) IsSet() bool
- func (v NullableSamlSettingsSchemaOneOf1) MarshalJSON() ([]byte, error)
- func (v *NullableSamlSettingsSchemaOneOf1) Set(val *SamlSettingsSchemaOneOf1)
- func (v *NullableSamlSettingsSchemaOneOf1) UnmarshalJSON(src []byte) error
- func (v *NullableSamlSettingsSchemaOneOf1) Unset()
- type NullableServiceAccountSchema
- func (v NullableServiceAccountSchema) Get() *ServiceAccountSchema
- func (v NullableServiceAccountSchema) IsSet() bool
- func (v NullableServiceAccountSchema) MarshalJSON() ([]byte, error)
- func (v *NullableServiceAccountSchema) Set(val *ServiceAccountSchema)
- func (v *NullableServiceAccountSchema) UnmarshalJSON(src []byte) error
- func (v *NullableServiceAccountSchema) Unset()
- type NullableServiceAccountsSchema
- func (v NullableServiceAccountsSchema) Get() *ServiceAccountsSchema
- func (v NullableServiceAccountsSchema) IsSet() bool
- func (v NullableServiceAccountsSchema) MarshalJSON() ([]byte, error)
- func (v *NullableServiceAccountsSchema) Set(val *ServiceAccountsSchema)
- func (v *NullableServiceAccountsSchema) UnmarshalJSON(src []byte) error
- func (v *NullableServiceAccountsSchema) Unset()
- type NullableStrategyVariantSchema
- func (v NullableStrategyVariantSchema) Get() *StrategyVariantSchema
- func (v NullableStrategyVariantSchema) IsSet() bool
- func (v NullableStrategyVariantSchema) MarshalJSON() ([]byte, error)
- func (v *NullableStrategyVariantSchema) Set(val *StrategyVariantSchema)
- func (v *NullableStrategyVariantSchema) UnmarshalJSON(src []byte) error
- func (v *NullableStrategyVariantSchema) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateApiTokenSchema
- func (v NullableUpdateApiTokenSchema) Get() *UpdateApiTokenSchema
- func (v NullableUpdateApiTokenSchema) IsSet() bool
- func (v NullableUpdateApiTokenSchema) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateApiTokenSchema) Set(val *UpdateApiTokenSchema)
- func (v *NullableUpdateApiTokenSchema) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateApiTokenSchema) Unset()
- type NullableUpdateChangeRequestEnvironmentConfigSchema
- func (v NullableUpdateChangeRequestEnvironmentConfigSchema) Get() *UpdateChangeRequestEnvironmentConfigSchema
- func (v NullableUpdateChangeRequestEnvironmentConfigSchema) IsSet() bool
- func (v NullableUpdateChangeRequestEnvironmentConfigSchema) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateChangeRequestEnvironmentConfigSchema) Set(val *UpdateChangeRequestEnvironmentConfigSchema)
- func (v *NullableUpdateChangeRequestEnvironmentConfigSchema) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateChangeRequestEnvironmentConfigSchema) Unset()
- type NullableUpdateContextFieldSchema
- func (v NullableUpdateContextFieldSchema) Get() *UpdateContextFieldSchema
- func (v NullableUpdateContextFieldSchema) IsSet() bool
- func (v NullableUpdateContextFieldSchema) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateContextFieldSchema) Set(val *UpdateContextFieldSchema)
- func (v *NullableUpdateContextFieldSchema) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateContextFieldSchema) Unset()
- type NullableUpdateEnvironmentSchema
- func (v NullableUpdateEnvironmentSchema) Get() *UpdateEnvironmentSchema
- func (v NullableUpdateEnvironmentSchema) IsSet() bool
- func (v NullableUpdateEnvironmentSchema) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateEnvironmentSchema) Set(val *UpdateEnvironmentSchema)
- func (v *NullableUpdateEnvironmentSchema) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateEnvironmentSchema) Unset()
- type NullableUpdateProject404Response
- func (v NullableUpdateProject404Response) Get() *UpdateProject404Response
- func (v NullableUpdateProject404Response) IsSet() bool
- func (v NullableUpdateProject404Response) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateProject404Response) Set(val *UpdateProject404Response)
- func (v *NullableUpdateProject404Response) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateProject404Response) Unset()
- type NullableUpdateProjectEnterpriseSettingsSchema
- func (v NullableUpdateProjectEnterpriseSettingsSchema) Get() *UpdateProjectEnterpriseSettingsSchema
- func (v NullableUpdateProjectEnterpriseSettingsSchema) IsSet() bool
- func (v NullableUpdateProjectEnterpriseSettingsSchema) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateProjectEnterpriseSettingsSchema) Set(val *UpdateProjectEnterpriseSettingsSchema)
- func (v *NullableUpdateProjectEnterpriseSettingsSchema) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateProjectEnterpriseSettingsSchema) Unset()
- type NullableUpdateProjectSchema
- func (v NullableUpdateProjectSchema) Get() *UpdateProjectSchema
- func (v NullableUpdateProjectSchema) IsSet() bool
- func (v NullableUpdateProjectSchema) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateProjectSchema) Set(val *UpdateProjectSchema)
- func (v *NullableUpdateProjectSchema) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateProjectSchema) Unset()
- type NullableUpdateServiceAccountSchema
- func (v NullableUpdateServiceAccountSchema) Get() *UpdateServiceAccountSchema
- func (v NullableUpdateServiceAccountSchema) IsSet() bool
- func (v NullableUpdateServiceAccountSchema) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateServiceAccountSchema) Set(val *UpdateServiceAccountSchema)
- func (v *NullableUpdateServiceAccountSchema) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateServiceAccountSchema) Unset()
- type NullableUpdateUserSchema
- func (v NullableUpdateUserSchema) Get() *UpdateUserSchema
- func (v NullableUpdateUserSchema) IsSet() bool
- func (v NullableUpdateUserSchema) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUserSchema) Set(val *UpdateUserSchema)
- func (v *NullableUpdateUserSchema) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUserSchema) Unset()
- type NullableUserSchema
- type NullableUserWithProjectRoleSchema
- func (v NullableUserWithProjectRoleSchema) Get() *UserWithProjectRoleSchema
- func (v NullableUserWithProjectRoleSchema) IsSet() bool
- func (v NullableUserWithProjectRoleSchema) MarshalJSON() ([]byte, error)
- func (v *NullableUserWithProjectRoleSchema) Set(val *UserWithProjectRoleSchema)
- func (v *NullableUserWithProjectRoleSchema) UnmarshalJSON(src []byte) error
- func (v *NullableUserWithProjectRoleSchema) Unset()
- type OidcSettingsResponseSchema
- func (o *OidcSettingsResponseSchema) GetAcrValues() string
- func (o *OidcSettingsResponseSchema) GetAcrValuesOk() (*string, bool)
- func (o *OidcSettingsResponseSchema) GetAddGroupsScope() bool
- func (o *OidcSettingsResponseSchema) GetAddGroupsScopeOk() (*bool, bool)
- func (o *OidcSettingsResponseSchema) GetAutoCreate() bool
- func (o *OidcSettingsResponseSchema) GetAutoCreateOk() (*bool, bool)
- func (o *OidcSettingsResponseSchema) GetClientId() string
- func (o *OidcSettingsResponseSchema) GetClientIdOk() (*string, bool)
- func (o *OidcSettingsResponseSchema) GetDefaultRootRole() string
- func (o *OidcSettingsResponseSchema) GetDefaultRootRoleId() float32
- func (o *OidcSettingsResponseSchema) GetDefaultRootRoleIdOk() (*float32, bool)
- func (o *OidcSettingsResponseSchema) GetDefaultRootRoleOk() (*string, bool)
- func (o *OidcSettingsResponseSchema) GetDiscoverUrl() string
- func (o *OidcSettingsResponseSchema) GetDiscoverUrlOk() (*string, bool)
- func (o *OidcSettingsResponseSchema) GetEmailDomains() string
- func (o *OidcSettingsResponseSchema) GetEmailDomainsOk() (*string, bool)
- func (o *OidcSettingsResponseSchema) GetEnableGroupSyncing() bool
- func (o *OidcSettingsResponseSchema) GetEnableGroupSyncingOk() (*bool, bool)
- func (o *OidcSettingsResponseSchema) GetEnablePkce() bool
- func (o *OidcSettingsResponseSchema) GetEnablePkceOk() (*bool, bool)
- func (o *OidcSettingsResponseSchema) GetEnableSingleSignOut() bool
- func (o *OidcSettingsResponseSchema) GetEnableSingleSignOutOk() (*bool, bool)
- func (o *OidcSettingsResponseSchema) GetEnabled() bool
- func (o *OidcSettingsResponseSchema) GetEnabledOk() (*bool, bool)
- func (o *OidcSettingsResponseSchema) GetGroupJsonPath() string
- func (o *OidcSettingsResponseSchema) GetGroupJsonPathOk() (*string, bool)
- func (o *OidcSettingsResponseSchema) GetIdTokenSigningAlgorithm() string
- func (o *OidcSettingsResponseSchema) GetIdTokenSigningAlgorithmOk() (*string, bool)
- func (o *OidcSettingsResponseSchema) GetSecret() string
- func (o *OidcSettingsResponseSchema) GetSecretOk() (*string, bool)
- func (o *OidcSettingsResponseSchema) HasAcrValues() bool
- func (o *OidcSettingsResponseSchema) HasAddGroupsScope() bool
- func (o *OidcSettingsResponseSchema) HasAutoCreate() bool
- func (o *OidcSettingsResponseSchema) HasClientId() bool
- func (o *OidcSettingsResponseSchema) HasDefaultRootRole() bool
- func (o *OidcSettingsResponseSchema) HasDefaultRootRoleId() bool
- func (o *OidcSettingsResponseSchema) HasDiscoverUrl() bool
- func (o *OidcSettingsResponseSchema) HasEmailDomains() bool
- func (o *OidcSettingsResponseSchema) HasEnableGroupSyncing() bool
- func (o *OidcSettingsResponseSchema) HasEnablePkce() bool
- func (o *OidcSettingsResponseSchema) HasEnableSingleSignOut() bool
- func (o *OidcSettingsResponseSchema) HasEnabled() bool
- func (o *OidcSettingsResponseSchema) HasGroupJsonPath() bool
- func (o *OidcSettingsResponseSchema) HasIdTokenSigningAlgorithm() bool
- func (o *OidcSettingsResponseSchema) HasSecret() bool
- func (o OidcSettingsResponseSchema) MarshalJSON() ([]byte, error)
- func (o *OidcSettingsResponseSchema) SetAcrValues(v string)
- func (o *OidcSettingsResponseSchema) SetAddGroupsScope(v bool)
- func (o *OidcSettingsResponseSchema) SetAutoCreate(v bool)
- func (o *OidcSettingsResponseSchema) SetClientId(v string)
- func (o *OidcSettingsResponseSchema) SetDefaultRootRole(v string)
- func (o *OidcSettingsResponseSchema) SetDefaultRootRoleId(v float32)
- func (o *OidcSettingsResponseSchema) SetDiscoverUrl(v string)
- func (o *OidcSettingsResponseSchema) SetEmailDomains(v string)
- func (o *OidcSettingsResponseSchema) SetEnableGroupSyncing(v bool)
- func (o *OidcSettingsResponseSchema) SetEnablePkce(v bool)
- func (o *OidcSettingsResponseSchema) SetEnableSingleSignOut(v bool)
- func (o *OidcSettingsResponseSchema) SetEnabled(v bool)
- func (o *OidcSettingsResponseSchema) SetGroupJsonPath(v string)
- func (o *OidcSettingsResponseSchema) SetIdTokenSigningAlgorithm(v string)
- func (o *OidcSettingsResponseSchema) SetSecret(v string)
- func (o OidcSettingsResponseSchema) ToMap() (map[string]interface{}, error)
- func (o *OidcSettingsResponseSchema) UnmarshalJSON(data []byte) (err error)
- type OidcSettingsSchema
- type OidcSettingsSchemaOneOf
- func (o *OidcSettingsSchemaOneOf) GetAcrValues() string
- func (o *OidcSettingsSchemaOneOf) GetAcrValuesOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf) GetAddGroupsScope() bool
- func (o *OidcSettingsSchemaOneOf) GetAddGroupsScopeOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf) GetAutoCreate() bool
- func (o *OidcSettingsSchemaOneOf) GetAutoCreateOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf) GetClientId() string
- func (o *OidcSettingsSchemaOneOf) GetClientIdOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf) GetDefaultRootRole() string
- func (o *OidcSettingsSchemaOneOf) GetDefaultRootRoleId() float32
- func (o *OidcSettingsSchemaOneOf) GetDefaultRootRoleIdOk() (*float32, bool)
- func (o *OidcSettingsSchemaOneOf) GetDefaultRootRoleOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf) GetDiscoverUrl() string
- func (o *OidcSettingsSchemaOneOf) GetDiscoverUrlOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf) GetEmailDomains() string
- func (o *OidcSettingsSchemaOneOf) GetEmailDomainsOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf) GetEnableGroupSyncing() bool
- func (o *OidcSettingsSchemaOneOf) GetEnableGroupSyncingOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf) GetEnablePkce() bool
- func (o *OidcSettingsSchemaOneOf) GetEnablePkceOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf) GetEnableSingleSignOut() bool
- func (o *OidcSettingsSchemaOneOf) GetEnableSingleSignOutOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf) GetEnabled() bool
- func (o *OidcSettingsSchemaOneOf) GetEnabledOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf) GetGroupJsonPath() string
- func (o *OidcSettingsSchemaOneOf) GetGroupJsonPathOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf) GetIdTokenSigningAlgorithm() string
- func (o *OidcSettingsSchemaOneOf) GetIdTokenSigningAlgorithmOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf) GetSecret() string
- func (o *OidcSettingsSchemaOneOf) GetSecretOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf) HasAcrValues() bool
- func (o *OidcSettingsSchemaOneOf) HasAddGroupsScope() bool
- func (o *OidcSettingsSchemaOneOf) HasAutoCreate() bool
- func (o *OidcSettingsSchemaOneOf) HasDefaultRootRole() bool
- func (o *OidcSettingsSchemaOneOf) HasDefaultRootRoleId() bool
- func (o *OidcSettingsSchemaOneOf) HasDiscoverUrl() bool
- func (o *OidcSettingsSchemaOneOf) HasEmailDomains() bool
- func (o *OidcSettingsSchemaOneOf) HasEnableGroupSyncing() bool
- func (o *OidcSettingsSchemaOneOf) HasEnablePkce() bool
- func (o *OidcSettingsSchemaOneOf) HasEnableSingleSignOut() bool
- func (o *OidcSettingsSchemaOneOf) HasGroupJsonPath() bool
- func (o *OidcSettingsSchemaOneOf) HasIdTokenSigningAlgorithm() bool
- func (o OidcSettingsSchemaOneOf) MarshalJSON() ([]byte, error)
- func (o *OidcSettingsSchemaOneOf) SetAcrValues(v string)
- func (o *OidcSettingsSchemaOneOf) SetAddGroupsScope(v bool)
- func (o *OidcSettingsSchemaOneOf) SetAutoCreate(v bool)
- func (o *OidcSettingsSchemaOneOf) SetClientId(v string)
- func (o *OidcSettingsSchemaOneOf) SetDefaultRootRole(v string)
- func (o *OidcSettingsSchemaOneOf) SetDefaultRootRoleId(v float32)
- func (o *OidcSettingsSchemaOneOf) SetDiscoverUrl(v string)
- func (o *OidcSettingsSchemaOneOf) SetEmailDomains(v string)
- func (o *OidcSettingsSchemaOneOf) SetEnableGroupSyncing(v bool)
- func (o *OidcSettingsSchemaOneOf) SetEnablePkce(v bool)
- func (o *OidcSettingsSchemaOneOf) SetEnableSingleSignOut(v bool)
- func (o *OidcSettingsSchemaOneOf) SetEnabled(v bool)
- func (o *OidcSettingsSchemaOneOf) SetGroupJsonPath(v string)
- func (o *OidcSettingsSchemaOneOf) SetIdTokenSigningAlgorithm(v string)
- func (o *OidcSettingsSchemaOneOf) SetSecret(v string)
- func (o OidcSettingsSchemaOneOf) ToMap() (map[string]interface{}, error)
- func (o *OidcSettingsSchemaOneOf) UnmarshalJSON(data []byte) (err error)
- type OidcSettingsSchemaOneOf1
- func (o *OidcSettingsSchemaOneOf1) GetAcrValues() string
- func (o *OidcSettingsSchemaOneOf1) GetAcrValuesOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf1) GetAddGroupsScope() bool
- func (o *OidcSettingsSchemaOneOf1) GetAddGroupsScopeOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf1) GetAutoCreate() bool
- func (o *OidcSettingsSchemaOneOf1) GetAutoCreateOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf1) GetClientId() string
- func (o *OidcSettingsSchemaOneOf1) GetClientIdOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf1) GetDefaultRootRole() string
- func (o *OidcSettingsSchemaOneOf1) GetDefaultRootRoleId() float32
- func (o *OidcSettingsSchemaOneOf1) GetDefaultRootRoleIdOk() (*float32, bool)
- func (o *OidcSettingsSchemaOneOf1) GetDefaultRootRoleOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf1) GetDiscoverUrl() string
- func (o *OidcSettingsSchemaOneOf1) GetDiscoverUrlOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf1) GetEmailDomains() string
- func (o *OidcSettingsSchemaOneOf1) GetEmailDomainsOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf1) GetEnableGroupSyncing() bool
- func (o *OidcSettingsSchemaOneOf1) GetEnableGroupSyncingOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf1) GetEnablePkce() bool
- func (o *OidcSettingsSchemaOneOf1) GetEnablePkceOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf1) GetEnableSingleSignOut() bool
- func (o *OidcSettingsSchemaOneOf1) GetEnableSingleSignOutOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf1) GetEnabled() bool
- func (o *OidcSettingsSchemaOneOf1) GetEnabledOk() (*bool, bool)
- func (o *OidcSettingsSchemaOneOf1) GetGroupJsonPath() string
- func (o *OidcSettingsSchemaOneOf1) GetGroupJsonPathOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf1) GetIdTokenSigningAlgorithm() string
- func (o *OidcSettingsSchemaOneOf1) GetIdTokenSigningAlgorithmOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf1) GetSecret() string
- func (o *OidcSettingsSchemaOneOf1) GetSecretOk() (*string, bool)
- func (o *OidcSettingsSchemaOneOf1) HasAcrValues() bool
- func (o *OidcSettingsSchemaOneOf1) HasAddGroupsScope() bool
- func (o *OidcSettingsSchemaOneOf1) HasAutoCreate() bool
- func (o *OidcSettingsSchemaOneOf1) HasClientId() bool
- func (o *OidcSettingsSchemaOneOf1) HasDefaultRootRole() bool
- func (o *OidcSettingsSchemaOneOf1) HasDefaultRootRoleId() bool
- func (o *OidcSettingsSchemaOneOf1) HasDiscoverUrl() bool
- func (o *OidcSettingsSchemaOneOf1) HasEmailDomains() bool
- func (o *OidcSettingsSchemaOneOf1) HasEnableGroupSyncing() bool
- func (o *OidcSettingsSchemaOneOf1) HasEnablePkce() bool
- func (o *OidcSettingsSchemaOneOf1) HasEnableSingleSignOut() bool
- func (o *OidcSettingsSchemaOneOf1) HasEnabled() bool
- func (o *OidcSettingsSchemaOneOf1) HasGroupJsonPath() bool
- func (o *OidcSettingsSchemaOneOf1) HasIdTokenSigningAlgorithm() bool
- func (o *OidcSettingsSchemaOneOf1) HasSecret() bool
- func (o OidcSettingsSchemaOneOf1) MarshalJSON() ([]byte, error)
- func (o *OidcSettingsSchemaOneOf1) SetAcrValues(v string)
- func (o *OidcSettingsSchemaOneOf1) SetAddGroupsScope(v bool)
- func (o *OidcSettingsSchemaOneOf1) SetAutoCreate(v bool)
- func (o *OidcSettingsSchemaOneOf1) SetClientId(v string)
- func (o *OidcSettingsSchemaOneOf1) SetDefaultRootRole(v string)
- func (o *OidcSettingsSchemaOneOf1) SetDefaultRootRoleId(v float32)
- func (o *OidcSettingsSchemaOneOf1) SetDiscoverUrl(v string)
- func (o *OidcSettingsSchemaOneOf1) SetEmailDomains(v string)
- func (o *OidcSettingsSchemaOneOf1) SetEnableGroupSyncing(v bool)
- func (o *OidcSettingsSchemaOneOf1) SetEnablePkce(v bool)
- func (o *OidcSettingsSchemaOneOf1) SetEnableSingleSignOut(v bool)
- func (o *OidcSettingsSchemaOneOf1) SetEnabled(v bool)
- func (o *OidcSettingsSchemaOneOf1) SetGroupJsonPath(v string)
- func (o *OidcSettingsSchemaOneOf1) SetIdTokenSigningAlgorithm(v string)
- func (o *OidcSettingsSchemaOneOf1) SetSecret(v string)
- func (o OidcSettingsSchemaOneOf1) ToMap() (map[string]interface{}, error)
- func (o *OidcSettingsSchemaOneOf1) UnmarshalJSON(data []byte) (err error)
- type PasswordAuthSchema
- func (o *PasswordAuthSchema) GetDisabled() bool
- func (o *PasswordAuthSchema) GetDisabledOk() (*bool, bool)
- func (o *PasswordAuthSchema) HasDisabled() bool
- func (o PasswordAuthSchema) MarshalJSON() ([]byte, error)
- func (o *PasswordAuthSchema) SetDisabled(v bool)
- func (o PasswordAuthSchema) ToMap() (map[string]interface{}, error)
- func (o *PasswordAuthSchema) UnmarshalJSON(data []byte) (err error)
- type PatSchema
- func (o *PatSchema) GetCreatedAt() time.Time
- func (o *PatSchema) GetCreatedAtOk() (*time.Time, bool)
- func (o *PatSchema) GetDescription() string
- func (o *PatSchema) GetDescriptionOk() (*string, bool)
- func (o *PatSchema) GetExpiresAt() time.Time
- func (o *PatSchema) GetExpiresAtOk() (*time.Time, bool)
- func (o *PatSchema) GetId() int32
- func (o *PatSchema) GetIdOk() (*int32, bool)
- func (o *PatSchema) GetSecret() string
- func (o *PatSchema) GetSecretOk() (*string, bool)
- func (o *PatSchema) GetSeenAt() time.Time
- func (o *PatSchema) GetSeenAtOk() (*time.Time, bool)
- func (o *PatSchema) GetUserId() int32
- func (o *PatSchema) GetUserIdOk() (*int32, bool)
- func (o *PatSchema) HasSecret() bool
- func (o *PatSchema) HasSeenAt() bool
- func (o *PatSchema) HasUserId() bool
- func (o PatSchema) MarshalJSON() ([]byte, error)
- func (o *PatSchema) SetCreatedAt(v time.Time)
- func (o *PatSchema) SetDescription(v string)
- func (o *PatSchema) SetExpiresAt(v time.Time)
- func (o *PatSchema) SetId(v int32)
- func (o *PatSchema) SetSecret(v string)
- func (o *PatSchema) SetSeenAt(v time.Time)
- func (o *PatSchema) SetSeenAtNil()
- func (o *PatSchema) SetUserId(v int32)
- func (o PatSchema) ToMap() (map[string]interface{}, error)
- func (o *PatSchema) UnmarshalJSON(data []byte) (err error)
- func (o *PatSchema) UnsetSeenAt()
- type PatsSchema
- func (o *PatsSchema) GetPats() []PatSchema
- func (o *PatsSchema) GetPatsOk() ([]PatSchema, bool)
- func (o *PatsSchema) HasPats() bool
- func (o PatsSchema) MarshalJSON() ([]byte, error)
- func (o *PatsSchema) SetPats(v []PatSchema)
- func (o PatsSchema) ToMap() (map[string]interface{}, error)
- func (o *PatsSchema) UnmarshalJSON(data []byte) (err error)
- type ProjectAccessConfigurationSchema
- func (o *ProjectAccessConfigurationSchema) GetRoles() []ProjectAccessConfigurationSchemaRolesInner
- func (o *ProjectAccessConfigurationSchema) GetRolesOk() ([]ProjectAccessConfigurationSchemaRolesInner, bool)
- func (o ProjectAccessConfigurationSchema) MarshalJSON() ([]byte, error)
- func (o *ProjectAccessConfigurationSchema) SetRoles(v []ProjectAccessConfigurationSchemaRolesInner)
- func (o ProjectAccessConfigurationSchema) ToMap() (map[string]interface{}, error)
- func (o *ProjectAccessConfigurationSchema) UnmarshalJSON(data []byte) (err error)
- type ProjectAccessConfigurationSchemaRolesInner
- func (o *ProjectAccessConfigurationSchemaRolesInner) GetGroups() []int32
- func (o *ProjectAccessConfigurationSchemaRolesInner) GetGroupsOk() ([]int32, bool)
- func (o *ProjectAccessConfigurationSchemaRolesInner) GetId() int32
- func (o *ProjectAccessConfigurationSchemaRolesInner) GetIdOk() (*int32, bool)
- func (o *ProjectAccessConfigurationSchemaRolesInner) GetUsers() []int32
- func (o *ProjectAccessConfigurationSchemaRolesInner) GetUsersOk() ([]int32, bool)
- func (o *ProjectAccessConfigurationSchemaRolesInner) HasGroups() bool
- func (o *ProjectAccessConfigurationSchemaRolesInner) HasId() bool
- func (o *ProjectAccessConfigurationSchemaRolesInner) HasUsers() bool
- func (o ProjectAccessConfigurationSchemaRolesInner) MarshalJSON() ([]byte, error)
- func (o *ProjectAccessConfigurationSchemaRolesInner) SetGroups(v []int32)
- func (o *ProjectAccessConfigurationSchemaRolesInner) SetId(v int32)
- func (o *ProjectAccessConfigurationSchemaRolesInner) SetUsers(v []int32)
- func (o ProjectAccessConfigurationSchemaRolesInner) ToMap() (map[string]interface{}, error)
- func (o *ProjectAccessConfigurationSchemaRolesInner) UnmarshalJSON(data []byte) (err error)
- type ProjectAccessSchema
- func (o *ProjectAccessSchema) GetGroups() []GroupWithProjectRoleSchema
- func (o *ProjectAccessSchema) GetGroupsOk() ([]GroupWithProjectRoleSchema, bool)
- func (o *ProjectAccessSchema) GetRoles() []RoleSchema
- func (o *ProjectAccessSchema) GetRolesOk() ([]RoleSchema, bool)
- func (o *ProjectAccessSchema) GetUsers() []UserWithProjectRoleSchema
- func (o *ProjectAccessSchema) GetUsersOk() ([]UserWithProjectRoleSchema, bool)
- func (o ProjectAccessSchema) MarshalJSON() ([]byte, error)
- func (o *ProjectAccessSchema) SetGroups(v []GroupWithProjectRoleSchema)
- func (o *ProjectAccessSchema) SetRoles(v []RoleSchema)
- func (o *ProjectAccessSchema) SetUsers(v []UserWithProjectRoleSchema)
- func (o ProjectAccessSchema) ToMap() (map[string]interface{}, error)
- func (o *ProjectAccessSchema) UnmarshalJSON(data []byte) (err error)
- type ProjectCreatedSchema
- func (o *ProjectCreatedSchema) GetChangeRequestEnvironments() []ProjectCreatedSchemaChangeRequestEnvironmentsInner
- func (o *ProjectCreatedSchema) GetChangeRequestEnvironmentsOk() ([]ProjectCreatedSchemaChangeRequestEnvironmentsInner, bool)
- func (o *ProjectCreatedSchema) GetDefaultStickiness() string
- func (o *ProjectCreatedSchema) GetDefaultStickinessOk() (*string, bool)
- func (o *ProjectCreatedSchema) GetDescription() string
- func (o *ProjectCreatedSchema) GetDescriptionOk() (*string, bool)
- func (o *ProjectCreatedSchema) GetEnvironments() []string
- func (o *ProjectCreatedSchema) GetEnvironmentsOk() ([]string, bool)
- func (o *ProjectCreatedSchema) GetFeatureLimit() int32
- func (o *ProjectCreatedSchema) GetFeatureLimitOk() (*int32, bool)
- func (o *ProjectCreatedSchema) GetId() string
- func (o *ProjectCreatedSchema) GetIdOk() (*string, bool)
- func (o *ProjectCreatedSchema) GetMode() string
- func (o *ProjectCreatedSchema) GetModeOk() (*string, bool)
- func (o *ProjectCreatedSchema) GetName() string
- func (o *ProjectCreatedSchema) GetNameOk() (*string, bool)
- func (o *ProjectCreatedSchema) HasChangeRequestEnvironments() bool
- func (o *ProjectCreatedSchema) HasDefaultStickiness() bool
- func (o *ProjectCreatedSchema) HasDescription() bool
- func (o *ProjectCreatedSchema) HasEnvironments() bool
- func (o *ProjectCreatedSchema) HasFeatureLimit() bool
- func (o *ProjectCreatedSchema) HasMode() bool
- func (o ProjectCreatedSchema) MarshalJSON() ([]byte, error)
- func (o *ProjectCreatedSchema) SetChangeRequestEnvironments(v []ProjectCreatedSchemaChangeRequestEnvironmentsInner)
- func (o *ProjectCreatedSchema) SetDefaultStickiness(v string)
- func (o *ProjectCreatedSchema) SetDescription(v string)
- func (o *ProjectCreatedSchema) SetDescriptionNil()
- func (o *ProjectCreatedSchema) SetEnvironments(v []string)
- func (o *ProjectCreatedSchema) SetFeatureLimit(v int32)
- func (o *ProjectCreatedSchema) SetFeatureLimitNil()
- func (o *ProjectCreatedSchema) SetId(v string)
- func (o *ProjectCreatedSchema) SetMode(v string)
- func (o *ProjectCreatedSchema) SetName(v string)
- func (o ProjectCreatedSchema) ToMap() (map[string]interface{}, error)
- func (o *ProjectCreatedSchema) UnmarshalJSON(data []byte) (err error)
- func (o *ProjectCreatedSchema) UnsetDescription()
- func (o *ProjectCreatedSchema) UnsetFeatureLimit()
- type ProjectCreatedSchemaChangeRequestEnvironmentsInner
- func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetName() string
- func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetNameOk() (*string, bool)
- func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetRequiredApprovals() int32
- func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetRequiredApprovalsOk() (*int32, bool)
- func (o ProjectCreatedSchemaChangeRequestEnvironmentsInner) MarshalJSON() ([]byte, error)
- func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) SetName(v string)
- func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) SetRequiredApprovals(v int32)
- func (o ProjectCreatedSchemaChangeRequestEnvironmentsInner) ToMap() (map[string]interface{}, error)
- func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) UnmarshalJSON(data []byte) (err error)
- type ProjectEnvironmentSchema
- func (o *ProjectEnvironmentSchema) GetChangeRequestsEnabled() bool
- func (o *ProjectEnvironmentSchema) GetChangeRequestsEnabledOk() (*bool, bool)
- func (o *ProjectEnvironmentSchema) GetDefaultStrategy() CreateFeatureStrategySchema
- func (o *ProjectEnvironmentSchema) GetDefaultStrategyOk() (*CreateFeatureStrategySchema, bool)
- func (o *ProjectEnvironmentSchema) GetEnvironment() string
- func (o *ProjectEnvironmentSchema) GetEnvironmentOk() (*string, bool)
- func (o *ProjectEnvironmentSchema) HasChangeRequestsEnabled() bool
- func (o *ProjectEnvironmentSchema) HasDefaultStrategy() bool
- func (o ProjectEnvironmentSchema) MarshalJSON() ([]byte, error)
- func (o *ProjectEnvironmentSchema) SetChangeRequestsEnabled(v bool)
- func (o *ProjectEnvironmentSchema) SetDefaultStrategy(v CreateFeatureStrategySchema)
- func (o *ProjectEnvironmentSchema) SetEnvironment(v string)
- func (o ProjectEnvironmentSchema) ToMap() (map[string]interface{}, error)
- func (o *ProjectEnvironmentSchema) UnmarshalJSON(data []byte) (err error)
- type ProjectLinkTemplateSchema
- func (o *ProjectLinkTemplateSchema) GetTitle() string
- func (o *ProjectLinkTemplateSchema) GetTitleOk() (*string, bool)
- func (o *ProjectLinkTemplateSchema) GetUrlTemplate() string
- func (o *ProjectLinkTemplateSchema) GetUrlTemplateOk() (*string, bool)
- func (o *ProjectLinkTemplateSchema) HasTitle() bool
- func (o ProjectLinkTemplateSchema) MarshalJSON() ([]byte, error)
- func (o *ProjectLinkTemplateSchema) SetTitle(v string)
- func (o *ProjectLinkTemplateSchema) SetTitleNil()
- func (o *ProjectLinkTemplateSchema) SetUrlTemplate(v string)
- func (o ProjectLinkTemplateSchema) ToMap() (map[string]interface{}, error)
- func (o *ProjectLinkTemplateSchema) UnmarshalJSON(data []byte) (err error)
- func (o *ProjectLinkTemplateSchema) UnsetTitle()
- type ProjectSchema
- func (o *ProjectSchema) GetDescription() string
- func (o *ProjectSchema) GetDescriptionOk() (*string, bool)
- func (o *ProjectSchema) GetId() string
- func (o *ProjectSchema) GetIdOk() (*string, bool)
- func (o *ProjectSchema) GetMode() string
- func (o *ProjectSchema) GetModeOk() (*string, bool)
- func (o *ProjectSchema) GetName() string
- func (o *ProjectSchema) GetNameOk() (*string, bool)
- func (o *ProjectSchema) HasDescription() bool
- func (o *ProjectSchema) HasMode() bool
- func (o ProjectSchema) MarshalJSON() ([]byte, error)
- func (o *ProjectSchema) SetDescription(v string)
- func (o *ProjectSchema) SetDescriptionNil()
- func (o *ProjectSchema) SetId(v string)
- func (o *ProjectSchema) SetMode(v string)
- func (o *ProjectSchema) SetName(v string)
- func (o ProjectSchema) ToMap() (map[string]interface{}, error)
- func (o *ProjectSchema) UnmarshalJSON(data []byte) (err error)
- func (o *ProjectSchema) UnsetDescription()
- type ProjectsAPIService
- func (a *ProjectsAPIService) AddEnvironmentToProject(ctx context.Context, projectId string) ApiAddEnvironmentToProjectRequest
- func (a *ProjectsAPIService) AddEnvironmentToProjectExecute(r ApiAddEnvironmentToProjectRequest) (*http.Response, error)
- func (a *ProjectsAPIService) CreateProject(ctx context.Context) ApiCreateProjectRequest
- func (a *ProjectsAPIService) CreateProjectExecute(r ApiCreateProjectRequest) (*ProjectCreatedSchema, *http.Response, error)
- func (a *ProjectsAPIService) DeleteProject(ctx context.Context, projectId string) ApiDeleteProjectRequest
- func (a *ProjectsAPIService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)
- func (a *ProjectsAPIService) GetProjectAccess(ctx context.Context, projectId string) ApiGetProjectAccessRequest
- func (a *ProjectsAPIService) GetProjectAccessExecute(r ApiGetProjectAccessRequest) (*ProjectAccessSchema, *http.Response, error)
- func (a *ProjectsAPIService) GetProjects(ctx context.Context) ApiGetProjectsRequest
- func (a *ProjectsAPIService) GetProjectsExecute(r ApiGetProjectsRequest) (*ProjectsSchema, *http.Response, error)
- func (a *ProjectsAPIService) RemoveEnvironmentFromProject(ctx context.Context, projectId string, environment string) ApiRemoveEnvironmentFromProjectRequest
- func (a *ProjectsAPIService) RemoveEnvironmentFromProjectExecute(r ApiRemoveEnvironmentFromProjectRequest) (*http.Response, error)
- func (a *ProjectsAPIService) SetProjectAccess(ctx context.Context, projectId string) ApiSetProjectAccessRequest
- func (a *ProjectsAPIService) SetProjectAccessExecute(r ApiSetProjectAccessRequest) (*http.Response, error)
- func (a *ProjectsAPIService) UpdateProject(ctx context.Context, projectId string) ApiUpdateProjectRequest
- func (a *ProjectsAPIService) UpdateProjectEnterpriseSettings(ctx context.Context, projectId string) ApiUpdateProjectEnterpriseSettingsRequest
- func (a *ProjectsAPIService) UpdateProjectEnterpriseSettingsExecute(r ApiUpdateProjectEnterpriseSettingsRequest) (*http.Response, error)
- func (a *ProjectsAPIService) UpdateProjectExecute(r ApiUpdateProjectRequest) (*http.Response, error)
- type ProjectsSchema
- func (o *ProjectsSchema) GetProjects() []ProjectSchema
- func (o *ProjectsSchema) GetProjectsOk() ([]ProjectSchema, bool)
- func (o *ProjectsSchema) GetVersion() int32
- func (o *ProjectsSchema) GetVersionOk() (*int32, bool)
- func (o ProjectsSchema) MarshalJSON() ([]byte, error)
- func (o *ProjectsSchema) SetProjects(v []ProjectSchema)
- func (o *ProjectsSchema) SetVersion(v int32)
- func (o ProjectsSchema) ToMap() (map[string]interface{}, error)
- func (o *ProjectsSchema) UnmarshalJSON(data []byte) (err error)
- type RoleSchema
- func (o *RoleSchema) GetDescription() string
- func (o *RoleSchema) GetDescriptionOk() (*string, bool)
- func (o *RoleSchema) GetId() int32
- func (o *RoleSchema) GetIdOk() (*int32, bool)
- func (o *RoleSchema) GetName() string
- func (o *RoleSchema) GetNameOk() (*string, bool)
- func (o *RoleSchema) GetProject() string
- func (o *RoleSchema) GetProjectOk() (*string, bool)
- func (o *RoleSchema) GetType() string
- func (o *RoleSchema) GetTypeOk() (*string, bool)
- func (o *RoleSchema) HasDescription() bool
- func (o *RoleSchema) HasProject() bool
- func (o RoleSchema) MarshalJSON() ([]byte, error)
- func (o *RoleSchema) SetDescription(v string)
- func (o *RoleSchema) SetId(v int32)
- func (o *RoleSchema) SetName(v string)
- func (o *RoleSchema) SetProject(v string)
- func (o *RoleSchema) SetProjectNil()
- func (o *RoleSchema) SetType(v string)
- func (o RoleSchema) ToMap() (map[string]interface{}, error)
- func (o *RoleSchema) UnmarshalJSON(data []byte) (err error)
- func (o *RoleSchema) UnsetProject()
- type RoleWithPermissionsSchema
- func (o *RoleWithPermissionsSchema) GetDescription() string
- func (o *RoleWithPermissionsSchema) GetDescriptionOk() (*string, bool)
- func (o *RoleWithPermissionsSchema) GetId() float32
- func (o *RoleWithPermissionsSchema) GetIdOk() (*float32, bool)
- func (o *RoleWithPermissionsSchema) GetName() string
- func (o *RoleWithPermissionsSchema) GetNameOk() (*string, bool)
- func (o *RoleWithPermissionsSchema) GetPermissions() []AdminPermissionSchema
- func (o *RoleWithPermissionsSchema) GetPermissionsOk() ([]AdminPermissionSchema, bool)
- func (o *RoleWithPermissionsSchema) GetType() string
- func (o *RoleWithPermissionsSchema) GetTypeOk() (*string, bool)
- func (o *RoleWithPermissionsSchema) HasDescription() bool
- func (o RoleWithPermissionsSchema) MarshalJSON() ([]byte, error)
- func (o *RoleWithPermissionsSchema) SetDescription(v string)
- func (o *RoleWithPermissionsSchema) SetId(v float32)
- func (o *RoleWithPermissionsSchema) SetName(v string)
- func (o *RoleWithPermissionsSchema) SetPermissions(v []AdminPermissionSchema)
- func (o *RoleWithPermissionsSchema) SetType(v string)
- func (o RoleWithPermissionsSchema) ToMap() (map[string]interface{}, error)
- func (o *RoleWithPermissionsSchema) UnmarshalJSON(data []byte) (err error)
- type RoleWithVersionSchema
- func (o *RoleWithVersionSchema) GetRoles() RoleSchema
- func (o *RoleWithVersionSchema) GetRolesOk() (*RoleSchema, bool)
- func (o *RoleWithVersionSchema) GetVersion() int32
- func (o *RoleWithVersionSchema) GetVersionOk() (*int32, bool)
- func (o RoleWithVersionSchema) MarshalJSON() ([]byte, error)
- func (o *RoleWithVersionSchema) SetRoles(v RoleSchema)
- func (o *RoleWithVersionSchema) SetVersion(v int32)
- func (o RoleWithVersionSchema) ToMap() (map[string]interface{}, error)
- func (o *RoleWithVersionSchema) UnmarshalJSON(data []byte) (err error)
- type RolesWithVersionSchema
- func (o *RolesWithVersionSchema) GetRoles() []RoleSchema
- func (o *RolesWithVersionSchema) GetRolesOk() ([]RoleSchema, bool)
- func (o *RolesWithVersionSchema) GetVersion() int32
- func (o *RolesWithVersionSchema) GetVersionOk() (*int32, bool)
- func (o RolesWithVersionSchema) MarshalJSON() ([]byte, error)
- func (o *RolesWithVersionSchema) SetRoles(v []RoleSchema)
- func (o *RolesWithVersionSchema) SetVersion(v int32)
- func (o RolesWithVersionSchema) ToMap() (map[string]interface{}, error)
- func (o *RolesWithVersionSchema) UnmarshalJSON(data []byte) (err error)
- type SamlSettingsResponseSchema
- func (o *SamlSettingsResponseSchema) GetAutoCreate() bool
- func (o *SamlSettingsResponseSchema) GetAutoCreateOk() (*bool, bool)
- func (o *SamlSettingsResponseSchema) GetCertificate() string
- func (o *SamlSettingsResponseSchema) GetCertificateOk() (*string, bool)
- func (o *SamlSettingsResponseSchema) GetDefaultRootRole() string
- func (o *SamlSettingsResponseSchema) GetDefaultRootRoleId() float32
- func (o *SamlSettingsResponseSchema) GetDefaultRootRoleIdOk() (*float32, bool)
- func (o *SamlSettingsResponseSchema) GetDefaultRootRoleOk() (*string, bool)
- func (o *SamlSettingsResponseSchema) GetEmailDomains() string
- func (o *SamlSettingsResponseSchema) GetEmailDomainsOk() (*string, bool)
- func (o *SamlSettingsResponseSchema) GetEnableGroupSyncing() bool
- func (o *SamlSettingsResponseSchema) GetEnableGroupSyncingOk() (*bool, bool)
- func (o *SamlSettingsResponseSchema) GetEnabled() bool
- func (o *SamlSettingsResponseSchema) GetEnabledOk() (*bool, bool)
- func (o *SamlSettingsResponseSchema) GetEntityId() string
- func (o *SamlSettingsResponseSchema) GetEntityIdOk() (*string, bool)
- func (o *SamlSettingsResponseSchema) GetGroupJsonPath() string
- func (o *SamlSettingsResponseSchema) GetGroupJsonPathOk() (*string, bool)
- func (o *SamlSettingsResponseSchema) GetSignOnUrl() string
- func (o *SamlSettingsResponseSchema) GetSignOnUrlOk() (*string, bool)
- func (o *SamlSettingsResponseSchema) GetSignOutUrl() string
- func (o *SamlSettingsResponseSchema) GetSignOutUrlOk() (*string, bool)
- func (o *SamlSettingsResponseSchema) GetSpCertificate() string
- func (o *SamlSettingsResponseSchema) GetSpCertificateOk() (*string, bool)
- func (o *SamlSettingsResponseSchema) HasAutoCreate() bool
- func (o *SamlSettingsResponseSchema) HasCertificate() bool
- func (o *SamlSettingsResponseSchema) HasDefaultRootRole() bool
- func (o *SamlSettingsResponseSchema) HasDefaultRootRoleId() bool
- func (o *SamlSettingsResponseSchema) HasEmailDomains() bool
- func (o *SamlSettingsResponseSchema) HasEnableGroupSyncing() bool
- func (o *SamlSettingsResponseSchema) HasEnabled() bool
- func (o *SamlSettingsResponseSchema) HasEntityId() bool
- func (o *SamlSettingsResponseSchema) HasGroupJsonPath() bool
- func (o *SamlSettingsResponseSchema) HasSignOnUrl() bool
- func (o *SamlSettingsResponseSchema) HasSignOutUrl() bool
- func (o *SamlSettingsResponseSchema) HasSpCertificate() bool
- func (o SamlSettingsResponseSchema) MarshalJSON() ([]byte, error)
- func (o *SamlSettingsResponseSchema) SetAutoCreate(v bool)
- func (o *SamlSettingsResponseSchema) SetCertificate(v string)
- func (o *SamlSettingsResponseSchema) SetDefaultRootRole(v string)
- func (o *SamlSettingsResponseSchema) SetDefaultRootRoleId(v float32)
- func (o *SamlSettingsResponseSchema) SetEmailDomains(v string)
- func (o *SamlSettingsResponseSchema) SetEnableGroupSyncing(v bool)
- func (o *SamlSettingsResponseSchema) SetEnabled(v bool)
- func (o *SamlSettingsResponseSchema) SetEntityId(v string)
- func (o *SamlSettingsResponseSchema) SetGroupJsonPath(v string)
- func (o *SamlSettingsResponseSchema) SetSignOnUrl(v string)
- func (o *SamlSettingsResponseSchema) SetSignOutUrl(v string)
- func (o *SamlSettingsResponseSchema) SetSpCertificate(v string)
- func (o SamlSettingsResponseSchema) ToMap() (map[string]interface{}, error)
- func (o *SamlSettingsResponseSchema) UnmarshalJSON(data []byte) (err error)
- type SamlSettingsSchema
- type SamlSettingsSchemaOneOf
- func (o *SamlSettingsSchemaOneOf) GetAutoCreate() bool
- func (o *SamlSettingsSchemaOneOf) GetAutoCreateOk() (*bool, bool)
- func (o *SamlSettingsSchemaOneOf) GetCertificate() string
- func (o *SamlSettingsSchemaOneOf) GetCertificateOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf) GetDefaultRootRole() string
- func (o *SamlSettingsSchemaOneOf) GetDefaultRootRoleId() float32
- func (o *SamlSettingsSchemaOneOf) GetDefaultRootRoleIdOk() (*float32, bool)
- func (o *SamlSettingsSchemaOneOf) GetDefaultRootRoleOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf) GetEmailDomains() string
- func (o *SamlSettingsSchemaOneOf) GetEmailDomainsOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf) GetEnableGroupSyncing() bool
- func (o *SamlSettingsSchemaOneOf) GetEnableGroupSyncingOk() (*bool, bool)
- func (o *SamlSettingsSchemaOneOf) GetEnabled() bool
- func (o *SamlSettingsSchemaOneOf) GetEnabledOk() (*bool, bool)
- func (o *SamlSettingsSchemaOneOf) GetEntityId() string
- func (o *SamlSettingsSchemaOneOf) GetEntityIdOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf) GetGroupJsonPath() string
- func (o *SamlSettingsSchemaOneOf) GetGroupJsonPathOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf) GetSignOnUrl() string
- func (o *SamlSettingsSchemaOneOf) GetSignOnUrlOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf) GetSignOutUrl() string
- func (o *SamlSettingsSchemaOneOf) GetSignOutUrlOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf) GetSpCertificate() string
- func (o *SamlSettingsSchemaOneOf) GetSpCertificateOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf) HasAutoCreate() bool
- func (o *SamlSettingsSchemaOneOf) HasDefaultRootRole() bool
- func (o *SamlSettingsSchemaOneOf) HasDefaultRootRoleId() bool
- func (o *SamlSettingsSchemaOneOf) HasEmailDomains() bool
- func (o *SamlSettingsSchemaOneOf) HasEnableGroupSyncing() bool
- func (o *SamlSettingsSchemaOneOf) HasEnabled() bool
- func (o *SamlSettingsSchemaOneOf) HasGroupJsonPath() bool
- func (o *SamlSettingsSchemaOneOf) HasSignOutUrl() bool
- func (o *SamlSettingsSchemaOneOf) HasSpCertificate() bool
- func (o SamlSettingsSchemaOneOf) MarshalJSON() ([]byte, error)
- func (o *SamlSettingsSchemaOneOf) SetAutoCreate(v bool)
- func (o *SamlSettingsSchemaOneOf) SetCertificate(v string)
- func (o *SamlSettingsSchemaOneOf) SetDefaultRootRole(v string)
- func (o *SamlSettingsSchemaOneOf) SetDefaultRootRoleId(v float32)
- func (o *SamlSettingsSchemaOneOf) SetEmailDomains(v string)
- func (o *SamlSettingsSchemaOneOf) SetEnableGroupSyncing(v bool)
- func (o *SamlSettingsSchemaOneOf) SetEnabled(v bool)
- func (o *SamlSettingsSchemaOneOf) SetEntityId(v string)
- func (o *SamlSettingsSchemaOneOf) SetGroupJsonPath(v string)
- func (o *SamlSettingsSchemaOneOf) SetSignOnUrl(v string)
- func (o *SamlSettingsSchemaOneOf) SetSignOutUrl(v string)
- func (o *SamlSettingsSchemaOneOf) SetSpCertificate(v string)
- func (o SamlSettingsSchemaOneOf) ToMap() (map[string]interface{}, error)
- func (o *SamlSettingsSchemaOneOf) UnmarshalJSON(data []byte) (err error)
- type SamlSettingsSchemaOneOf1
- func (o *SamlSettingsSchemaOneOf1) GetAutoCreate() bool
- func (o *SamlSettingsSchemaOneOf1) GetAutoCreateOk() (*bool, bool)
- func (o *SamlSettingsSchemaOneOf1) GetCertificate() string
- func (o *SamlSettingsSchemaOneOf1) GetCertificateOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf1) GetDefaultRootRole() string
- func (o *SamlSettingsSchemaOneOf1) GetDefaultRootRoleId() float32
- func (o *SamlSettingsSchemaOneOf1) GetDefaultRootRoleIdOk() (*float32, bool)
- func (o *SamlSettingsSchemaOneOf1) GetDefaultRootRoleOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf1) GetEmailDomains() string
- func (o *SamlSettingsSchemaOneOf1) GetEmailDomainsOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf1) GetEnableGroupSyncing() bool
- func (o *SamlSettingsSchemaOneOf1) GetEnableGroupSyncingOk() (*bool, bool)
- func (o *SamlSettingsSchemaOneOf1) GetEnabled() bool
- func (o *SamlSettingsSchemaOneOf1) GetEnabledOk() (*bool, bool)
- func (o *SamlSettingsSchemaOneOf1) GetEntityId() string
- func (o *SamlSettingsSchemaOneOf1) GetEntityIdOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf1) GetGroupJsonPath() string
- func (o *SamlSettingsSchemaOneOf1) GetGroupJsonPathOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf1) GetSignOnUrl() string
- func (o *SamlSettingsSchemaOneOf1) GetSignOnUrlOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf1) GetSignOutUrl() string
- func (o *SamlSettingsSchemaOneOf1) GetSignOutUrlOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf1) GetSpCertificate() string
- func (o *SamlSettingsSchemaOneOf1) GetSpCertificateOk() (*string, bool)
- func (o *SamlSettingsSchemaOneOf1) HasAutoCreate() bool
- func (o *SamlSettingsSchemaOneOf1) HasCertificate() bool
- func (o *SamlSettingsSchemaOneOf1) HasDefaultRootRole() bool
- func (o *SamlSettingsSchemaOneOf1) HasDefaultRootRoleId() bool
- func (o *SamlSettingsSchemaOneOf1) HasEmailDomains() bool
- func (o *SamlSettingsSchemaOneOf1) HasEnableGroupSyncing() bool
- func (o *SamlSettingsSchemaOneOf1) HasEnabled() bool
- func (o *SamlSettingsSchemaOneOf1) HasEntityId() bool
- func (o *SamlSettingsSchemaOneOf1) HasGroupJsonPath() bool
- func (o *SamlSettingsSchemaOneOf1) HasSignOnUrl() bool
- func (o *SamlSettingsSchemaOneOf1) HasSignOutUrl() bool
- func (o *SamlSettingsSchemaOneOf1) HasSpCertificate() bool
- func (o SamlSettingsSchemaOneOf1) MarshalJSON() ([]byte, error)
- func (o *SamlSettingsSchemaOneOf1) SetAutoCreate(v bool)
- func (o *SamlSettingsSchemaOneOf1) SetCertificate(v string)
- func (o *SamlSettingsSchemaOneOf1) SetDefaultRootRole(v string)
- func (o *SamlSettingsSchemaOneOf1) SetDefaultRootRoleId(v float32)
- func (o *SamlSettingsSchemaOneOf1) SetEmailDomains(v string)
- func (o *SamlSettingsSchemaOneOf1) SetEnableGroupSyncing(v bool)
- func (o *SamlSettingsSchemaOneOf1) SetEnabled(v bool)
- func (o *SamlSettingsSchemaOneOf1) SetEntityId(v string)
- func (o *SamlSettingsSchemaOneOf1) SetGroupJsonPath(v string)
- func (o *SamlSettingsSchemaOneOf1) SetSignOnUrl(v string)
- func (o *SamlSettingsSchemaOneOf1) SetSignOutUrl(v string)
- func (o *SamlSettingsSchemaOneOf1) SetSpCertificate(v string)
- func (o SamlSettingsSchemaOneOf1) ToMap() (map[string]interface{}, error)
- func (o *SamlSettingsSchemaOneOf1) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ServiceAccountSchema
- func (o *ServiceAccountSchema) GetCreatedAt() time.Time
- func (o *ServiceAccountSchema) GetCreatedAtOk() (*time.Time, bool)
- func (o *ServiceAccountSchema) GetEmail() string
- func (o *ServiceAccountSchema) GetEmailOk() (*string, bool)
- func (o *ServiceAccountSchema) GetEmailSent() bool
- func (o *ServiceAccountSchema) GetEmailSentOk() (*bool, bool)
- func (o *ServiceAccountSchema) GetId() float32
- func (o *ServiceAccountSchema) GetIdOk() (*float32, bool)
- func (o *ServiceAccountSchema) GetImageUrl() string
- func (o *ServiceAccountSchema) GetImageUrlOk() (*string, bool)
- func (o *ServiceAccountSchema) GetInviteLink() string
- func (o *ServiceAccountSchema) GetInviteLinkOk() (*string, bool)
- func (o *ServiceAccountSchema) GetIsAPI() bool
- func (o *ServiceAccountSchema) GetIsAPIOk() (*bool, bool)
- func (o *ServiceAccountSchema) GetLoginAttempts() float32
- func (o *ServiceAccountSchema) GetLoginAttemptsOk() (*float32, bool)
- func (o *ServiceAccountSchema) GetName() string
- func (o *ServiceAccountSchema) GetNameOk() (*string, bool)
- func (o *ServiceAccountSchema) GetRootRole() int32
- func (o *ServiceAccountSchema) GetRootRoleOk() (*int32, bool)
- func (o *ServiceAccountSchema) GetSeenAt() time.Time
- func (o *ServiceAccountSchema) GetSeenAtOk() (*time.Time, bool)
- func (o *ServiceAccountSchema) GetTokens() []PatSchema
- func (o *ServiceAccountSchema) GetTokensOk() ([]PatSchema, bool)
- func (o *ServiceAccountSchema) GetUsername() string
- func (o *ServiceAccountSchema) GetUsernameOk() (*string, bool)
- func (o *ServiceAccountSchema) HasCreatedAt() bool
- func (o *ServiceAccountSchema) HasEmail() bool
- func (o *ServiceAccountSchema) HasEmailSent() bool
- func (o *ServiceAccountSchema) HasImageUrl() bool
- func (o *ServiceAccountSchema) HasInviteLink() bool
- func (o *ServiceAccountSchema) HasIsAPI() bool
- func (o *ServiceAccountSchema) HasLoginAttempts() bool
- func (o *ServiceAccountSchema) HasName() bool
- func (o *ServiceAccountSchema) HasRootRole() bool
- func (o *ServiceAccountSchema) HasSeenAt() bool
- func (o *ServiceAccountSchema) HasTokens() bool
- func (o *ServiceAccountSchema) HasUsername() bool
- func (o ServiceAccountSchema) MarshalJSON() ([]byte, error)
- func (o *ServiceAccountSchema) SetCreatedAt(v time.Time)
- func (o *ServiceAccountSchema) SetEmail(v string)
- func (o *ServiceAccountSchema) SetEmailSent(v bool)
- func (o *ServiceAccountSchema) SetId(v float32)
- func (o *ServiceAccountSchema) SetImageUrl(v string)
- func (o *ServiceAccountSchema) SetInviteLink(v string)
- func (o *ServiceAccountSchema) SetIsAPI(v bool)
- func (o *ServiceAccountSchema) SetLoginAttempts(v float32)
- func (o *ServiceAccountSchema) SetName(v string)
- func (o *ServiceAccountSchema) SetRootRole(v int32)
- func (o *ServiceAccountSchema) SetSeenAt(v time.Time)
- func (o *ServiceAccountSchema) SetSeenAtNil()
- func (o *ServiceAccountSchema) SetTokens(v []PatSchema)
- func (o *ServiceAccountSchema) SetUsername(v string)
- func (o ServiceAccountSchema) ToMap() (map[string]interface{}, error)
- func (o *ServiceAccountSchema) UnmarshalJSON(data []byte) (err error)
- func (o *ServiceAccountSchema) UnsetSeenAt()
- type ServiceAccountsAPIService
- func (a *ServiceAccountsAPIService) CreateServiceAccount(ctx context.Context) ApiCreateServiceAccountRequest
- func (a *ServiceAccountsAPIService) CreateServiceAccountExecute(r ApiCreateServiceAccountRequest) (*ServiceAccountSchema, *http.Response, error)
- func (a *ServiceAccountsAPIService) CreateServiceAccountToken(ctx context.Context, id string) ApiCreateServiceAccountTokenRequest
- func (a *ServiceAccountsAPIService) CreateServiceAccountTokenExecute(r ApiCreateServiceAccountTokenRequest) (*PatSchema, *http.Response, error)
- func (a *ServiceAccountsAPIService) DeleteServiceAccount(ctx context.Context, id string) ApiDeleteServiceAccountRequest
- func (a *ServiceAccountsAPIService) DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) (*http.Response, error)
- func (a *ServiceAccountsAPIService) DeleteServiceAccountToken(ctx context.Context, id string, tokenId string) ApiDeleteServiceAccountTokenRequest
- func (a *ServiceAccountsAPIService) DeleteServiceAccountTokenExecute(r ApiDeleteServiceAccountTokenRequest) (*http.Response, error)
- func (a *ServiceAccountsAPIService) GetServiceAccountTokens(ctx context.Context, id string) ApiGetServiceAccountTokensRequest
- func (a *ServiceAccountsAPIService) GetServiceAccountTokensExecute(r ApiGetServiceAccountTokensRequest) (*PatsSchema, *http.Response, error)
- func (a *ServiceAccountsAPIService) GetServiceAccounts(ctx context.Context) ApiGetServiceAccountsRequest
- func (a *ServiceAccountsAPIService) GetServiceAccountsExecute(r ApiGetServiceAccountsRequest) (*ServiceAccountsSchema, *http.Response, error)
- func (a *ServiceAccountsAPIService) UpdateServiceAccount(ctx context.Context, id string) ApiUpdateServiceAccountRequest
- func (a *ServiceAccountsAPIService) UpdateServiceAccountExecute(r ApiUpdateServiceAccountRequest) (*ServiceAccountSchema, *http.Response, error)
- type ServiceAccountsSchema
- func (o *ServiceAccountsSchema) GetRootRoles() []RoleSchema
- func (o *ServiceAccountsSchema) GetRootRolesOk() ([]RoleSchema, bool)
- func (o *ServiceAccountsSchema) GetServiceAccounts() []ServiceAccountSchema
- func (o *ServiceAccountsSchema) GetServiceAccountsOk() ([]ServiceAccountSchema, bool)
- func (o *ServiceAccountsSchema) HasRootRoles() bool
- func (o ServiceAccountsSchema) MarshalJSON() ([]byte, error)
- func (o *ServiceAccountsSchema) SetRootRoles(v []RoleSchema)
- func (o *ServiceAccountsSchema) SetServiceAccounts(v []ServiceAccountSchema)
- func (o ServiceAccountsSchema) ToMap() (map[string]interface{}, error)
- func (o *ServiceAccountsSchema) UnmarshalJSON(data []byte) (err error)
- type StrategyVariantSchema
- func (o *StrategyVariantSchema) GetName() string
- func (o *StrategyVariantSchema) GetNameOk() (*string, bool)
- func (o *StrategyVariantSchema) GetPayload() CreateStrategyVariantSchemaPayload
- func (o *StrategyVariantSchema) GetPayloadOk() (*CreateStrategyVariantSchemaPayload, bool)
- func (o *StrategyVariantSchema) GetStickiness() string
- func (o *StrategyVariantSchema) GetStickinessOk() (*string, bool)
- func (o *StrategyVariantSchema) GetWeight() int32
- func (o *StrategyVariantSchema) GetWeightOk() (*int32, bool)
- func (o *StrategyVariantSchema) GetWeightType() string
- func (o *StrategyVariantSchema) GetWeightTypeOk() (*string, bool)
- func (o *StrategyVariantSchema) HasPayload() bool
- func (o StrategyVariantSchema) MarshalJSON() ([]byte, error)
- func (o *StrategyVariantSchema) SetName(v string)
- func (o *StrategyVariantSchema) SetPayload(v CreateStrategyVariantSchemaPayload)
- func (o *StrategyVariantSchema) SetStickiness(v string)
- func (o *StrategyVariantSchema) SetWeight(v int32)
- func (o *StrategyVariantSchema) SetWeightType(v string)
- func (o StrategyVariantSchema) ToMap() (map[string]interface{}, error)
- func (o *StrategyVariantSchema) UnmarshalJSON(data []byte) (err error)
- type UpdateApiTokenSchema
- func (o *UpdateApiTokenSchema) GetExpiresAt() time.Time
- func (o *UpdateApiTokenSchema) GetExpiresAtOk() (*time.Time, bool)
- func (o UpdateApiTokenSchema) MarshalJSON() ([]byte, error)
- func (o *UpdateApiTokenSchema) SetExpiresAt(v time.Time)
- func (o UpdateApiTokenSchema) ToMap() (map[string]interface{}, error)
- func (o *UpdateApiTokenSchema) UnmarshalJSON(data []byte) (err error)
- type UpdateChangeRequestEnvironmentConfigSchema
- func (o *UpdateChangeRequestEnvironmentConfigSchema) GetChangeRequestsEnabled() bool
- func (o *UpdateChangeRequestEnvironmentConfigSchema) GetChangeRequestsEnabledOk() (*bool, bool)
- func (o *UpdateChangeRequestEnvironmentConfigSchema) GetRequiredApprovals() int32
- func (o *UpdateChangeRequestEnvironmentConfigSchema) GetRequiredApprovalsOk() (*int32, bool)
- func (o *UpdateChangeRequestEnvironmentConfigSchema) HasRequiredApprovals() bool
- func (o UpdateChangeRequestEnvironmentConfigSchema) MarshalJSON() ([]byte, error)
- func (o *UpdateChangeRequestEnvironmentConfigSchema) SetChangeRequestsEnabled(v bool)
- func (o *UpdateChangeRequestEnvironmentConfigSchema) SetRequiredApprovals(v int32)
- func (o UpdateChangeRequestEnvironmentConfigSchema) ToMap() (map[string]interface{}, error)
- func (o *UpdateChangeRequestEnvironmentConfigSchema) UnmarshalJSON(data []byte) (err error)
- type UpdateContextFieldSchema
- func (o *UpdateContextFieldSchema) GetDescription() string
- func (o *UpdateContextFieldSchema) GetDescriptionOk() (*string, bool)
- func (o *UpdateContextFieldSchema) GetLegalValues() []LegalValueSchema
- func (o *UpdateContextFieldSchema) GetLegalValuesOk() ([]LegalValueSchema, bool)
- func (o *UpdateContextFieldSchema) GetProject() string
- func (o *UpdateContextFieldSchema) GetProjectOk() (*string, bool)
- func (o *UpdateContextFieldSchema) GetSortOrder() int32
- func (o *UpdateContextFieldSchema) GetSortOrderOk() (*int32, bool)
- func (o *UpdateContextFieldSchema) GetStickiness() bool
- func (o *UpdateContextFieldSchema) GetStickinessOk() (*bool, bool)
- func (o *UpdateContextFieldSchema) HasDescription() bool
- func (o *UpdateContextFieldSchema) HasLegalValues() bool
- func (o *UpdateContextFieldSchema) HasProject() bool
- func (o *UpdateContextFieldSchema) HasSortOrder() bool
- func (o *UpdateContextFieldSchema) HasStickiness() bool
- func (o UpdateContextFieldSchema) MarshalJSON() ([]byte, error)
- func (o *UpdateContextFieldSchema) SetDescription(v string)
- func (o *UpdateContextFieldSchema) SetLegalValues(v []LegalValueSchema)
- func (o *UpdateContextFieldSchema) SetProject(v string)
- func (o *UpdateContextFieldSchema) SetSortOrder(v int32)
- func (o *UpdateContextFieldSchema) SetStickiness(v bool)
- func (o UpdateContextFieldSchema) ToMap() (map[string]interface{}, error)
- func (o *UpdateContextFieldSchema) UnmarshalJSON(data []byte) (err error)
- type UpdateEnvironmentSchema
- func (o *UpdateEnvironmentSchema) GetRequiredApprovals() int32
- func (o *UpdateEnvironmentSchema) GetRequiredApprovalsOk() (*int32, bool)
- func (o *UpdateEnvironmentSchema) GetSortOrder() int32
- func (o *UpdateEnvironmentSchema) GetSortOrderOk() (*int32, bool)
- func (o *UpdateEnvironmentSchema) GetType() string
- func (o *UpdateEnvironmentSchema) GetTypeOk() (*string, bool)
- func (o *UpdateEnvironmentSchema) HasRequiredApprovals() bool
- func (o *UpdateEnvironmentSchema) HasSortOrder() bool
- func (o *UpdateEnvironmentSchema) HasType() bool
- func (o UpdateEnvironmentSchema) MarshalJSON() ([]byte, error)
- func (o *UpdateEnvironmentSchema) SetRequiredApprovals(v int32)
- func (o *UpdateEnvironmentSchema) SetRequiredApprovalsNil()
- func (o *UpdateEnvironmentSchema) SetSortOrder(v int32)
- func (o *UpdateEnvironmentSchema) SetType(v string)
- func (o UpdateEnvironmentSchema) ToMap() (map[string]interface{}, error)
- func (o *UpdateEnvironmentSchema) UnmarshalJSON(data []byte) (err error)
- func (o *UpdateEnvironmentSchema) UnsetRequiredApprovals()
- type UpdateProject404Response
- func (o *UpdateProject404Response) GetId() string
- func (o *UpdateProject404Response) GetIdOk() (*string, bool)
- func (o *UpdateProject404Response) GetMessage() string
- func (o *UpdateProject404Response) GetMessageOk() (*string, bool)
- func (o *UpdateProject404Response) GetName() string
- func (o *UpdateProject404Response) GetNameOk() (*string, bool)
- func (o *UpdateProject404Response) HasId() bool
- func (o *UpdateProject404Response) HasMessage() bool
- func (o *UpdateProject404Response) HasName() bool
- func (o UpdateProject404Response) MarshalJSON() ([]byte, error)
- func (o *UpdateProject404Response) SetId(v string)
- func (o *UpdateProject404Response) SetMessage(v string)
- func (o *UpdateProject404Response) SetName(v string)
- func (o UpdateProject404Response) ToMap() (map[string]interface{}, error)
- func (o *UpdateProject404Response) UnmarshalJSON(data []byte) (err error)
- type UpdateProjectEnterpriseSettingsSchema
- func (o *UpdateProjectEnterpriseSettingsSchema) GetFeatureNaming() CreateFeatureNamingPatternSchema
- func (o *UpdateProjectEnterpriseSettingsSchema) GetFeatureNamingOk() (*CreateFeatureNamingPatternSchema, bool)
- func (o *UpdateProjectEnterpriseSettingsSchema) GetLinkTemplates() []ProjectLinkTemplateSchema
- func (o *UpdateProjectEnterpriseSettingsSchema) GetLinkTemplatesOk() ([]ProjectLinkTemplateSchema, bool)
- func (o *UpdateProjectEnterpriseSettingsSchema) GetMode() string
- func (o *UpdateProjectEnterpriseSettingsSchema) GetModeOk() (*string, bool)
- func (o *UpdateProjectEnterpriseSettingsSchema) HasFeatureNaming() bool
- func (o *UpdateProjectEnterpriseSettingsSchema) HasLinkTemplates() bool
- func (o *UpdateProjectEnterpriseSettingsSchema) HasMode() bool
- func (o UpdateProjectEnterpriseSettingsSchema) MarshalJSON() ([]byte, error)
- func (o *UpdateProjectEnterpriseSettingsSchema) SetFeatureNaming(v CreateFeatureNamingPatternSchema)
- func (o *UpdateProjectEnterpriseSettingsSchema) SetLinkTemplates(v []ProjectLinkTemplateSchema)
- func (o *UpdateProjectEnterpriseSettingsSchema) SetMode(v string)
- func (o UpdateProjectEnterpriseSettingsSchema) ToMap() (map[string]interface{}, error)
- func (o *UpdateProjectEnterpriseSettingsSchema) UnmarshalJSON(data []byte) (err error)
- type UpdateProjectSchema
- func (o *UpdateProjectSchema) GetDefaultStickiness() string
- func (o *UpdateProjectSchema) GetDefaultStickinessOk() (*string, bool)
- func (o *UpdateProjectSchema) GetDescription() string
- func (o *UpdateProjectSchema) GetDescriptionOk() (*string, bool)
- func (o *UpdateProjectSchema) GetMode() string
- func (o *UpdateProjectSchema) GetModeOk() (*string, bool)
- func (o *UpdateProjectSchema) GetName() string
- func (o *UpdateProjectSchema) GetNameOk() (*string, bool)
- func (o *UpdateProjectSchema) HasDefaultStickiness() bool
- func (o *UpdateProjectSchema) HasDescription() bool
- func (o *UpdateProjectSchema) HasMode() bool
- func (o UpdateProjectSchema) MarshalJSON() ([]byte, error)
- func (o *UpdateProjectSchema) SetDefaultStickiness(v string)
- func (o *UpdateProjectSchema) SetDescription(v string)
- func (o *UpdateProjectSchema) SetMode(v string)
- func (o *UpdateProjectSchema) SetName(v string)
- func (o UpdateProjectSchema) ToMap() (map[string]interface{}, error)
- func (o *UpdateProjectSchema) UnmarshalJSON(data []byte) (err error)
- type UpdateServiceAccountSchema
- func (o *UpdateServiceAccountSchema) GetName() string
- func (o *UpdateServiceAccountSchema) GetNameOk() (*string, bool)
- func (o *UpdateServiceAccountSchema) GetRootRole() int32
- func (o *UpdateServiceAccountSchema) GetRootRoleOk() (*int32, bool)
- func (o *UpdateServiceAccountSchema) HasName() bool
- func (o *UpdateServiceAccountSchema) HasRootRole() bool
- func (o UpdateServiceAccountSchema) MarshalJSON() ([]byte, error)
- func (o *UpdateServiceAccountSchema) SetName(v string)
- func (o *UpdateServiceAccountSchema) SetRootRole(v int32)
- func (o UpdateServiceAccountSchema) ToMap() (map[string]interface{}, error)
- func (o *UpdateServiceAccountSchema) UnmarshalJSON(data []byte) (err error)
- type UpdateUserSchema
- func (o *UpdateUserSchema) GetEmail() string
- func (o *UpdateUserSchema) GetEmailOk() (*string, bool)
- func (o *UpdateUserSchema) GetName() string
- func (o *UpdateUserSchema) GetNameOk() (*string, bool)
- func (o *UpdateUserSchema) GetRootRole() CreateUserSchemaRootRole
- func (o *UpdateUserSchema) GetRootRoleOk() (*CreateUserSchemaRootRole, bool)
- func (o *UpdateUserSchema) HasEmail() bool
- func (o *UpdateUserSchema) HasName() bool
- func (o *UpdateUserSchema) HasRootRole() bool
- func (o UpdateUserSchema) MarshalJSON() ([]byte, error)
- func (o *UpdateUserSchema) SetEmail(v string)
- func (o *UpdateUserSchema) SetName(v string)
- func (o *UpdateUserSchema) SetRootRole(v CreateUserSchemaRootRole)
- func (o UpdateUserSchema) ToMap() (map[string]interface{}, error)
- func (o *UpdateUserSchema) UnmarshalJSON(data []byte) (err error)
- type UserSchema
- func (o *UserSchema) GetAccountType() string
- func (o *UserSchema) GetAccountTypeOk() (*string, bool)
- func (o *UserSchema) GetActiveSessions() int32
- func (o *UserSchema) GetActiveSessionsOk() (*int32, bool)
- func (o *UserSchema) GetCompanyRole() string
- func (o *UserSchema) GetCompanyRoleOk() (*string, bool)
- func (o *UserSchema) GetCreatedAt() time.Time
- func (o *UserSchema) GetCreatedAtOk() (*time.Time, bool)
- func (o *UserSchema) GetDeletedSessions() float32
- func (o *UserSchema) GetDeletedSessionsOk() (*float32, bool)
- func (o *UserSchema) GetEmail() string
- func (o *UserSchema) GetEmailOk() (*string, bool)
- func (o *UserSchema) GetEmailSent() bool
- func (o *UserSchema) GetEmailSentOk() (*bool, bool)
- func (o *UserSchema) GetId() int32
- func (o *UserSchema) GetIdOk() (*int32, bool)
- func (o *UserSchema) GetImageUrl() string
- func (o *UserSchema) GetImageUrlOk() (*string, bool)
- func (o *UserSchema) GetInviteLink() string
- func (o *UserSchema) GetInviteLinkOk() (*string, bool)
- func (o *UserSchema) GetLoginAttempts() int32
- func (o *UserSchema) GetLoginAttemptsOk() (*int32, bool)
- func (o *UserSchema) GetName() string
- func (o *UserSchema) GetNameOk() (*string, bool)
- func (o *UserSchema) GetPermissions() []string
- func (o *UserSchema) GetPermissionsOk() ([]string, bool)
- func (o *UserSchema) GetProductUpdatesEmailConsent() bool
- func (o *UserSchema) GetProductUpdatesEmailConsentOk() (*bool, bool)
- func (o *UserSchema) GetRootRole() int32
- func (o *UserSchema) GetRootRoleOk() (*int32, bool)
- func (o *UserSchema) GetScimId() string
- func (o *UserSchema) GetScimIdOk() (*string, bool)
- func (o *UserSchema) GetSeatType() string
- func (o *UserSchema) GetSeatTypeOk() (*string, bool)
- func (o *UserSchema) GetSeenAt() time.Time
- func (o *UserSchema) GetSeenAtOk() (*time.Time, bool)
- func (o *UserSchema) GetUsername() string
- func (o *UserSchema) GetUsernameOk() (*string, bool)
- func (o *UserSchema) HasAccountType() bool
- func (o *UserSchema) HasActiveSessions() bool
- func (o *UserSchema) HasCompanyRole() bool
- func (o *UserSchema) HasCreatedAt() bool
- func (o *UserSchema) HasDeletedSessions() bool
- func (o *UserSchema) HasEmail() bool
- func (o *UserSchema) HasEmailSent() bool
- func (o *UserSchema) HasImageUrl() bool
- func (o *UserSchema) HasInviteLink() bool
- func (o *UserSchema) HasLoginAttempts() bool
- func (o *UserSchema) HasName() bool
- func (o *UserSchema) HasPermissions() bool
- func (o *UserSchema) HasProductUpdatesEmailConsent() bool
- func (o *UserSchema) HasRootRole() bool
- func (o *UserSchema) HasScimId() bool
- func (o *UserSchema) HasSeatType() bool
- func (o *UserSchema) HasSeenAt() bool
- func (o *UserSchema) HasUsername() bool
- func (o UserSchema) MarshalJSON() ([]byte, error)
- func (o *UserSchema) SetAccountType(v string)
- func (o *UserSchema) SetActiveSessions(v int32)
- func (o *UserSchema) SetActiveSessionsNil()
- func (o *UserSchema) SetCompanyRole(v string)
- func (o *UserSchema) SetCompanyRoleNil()
- func (o *UserSchema) SetCreatedAt(v time.Time)
- func (o *UserSchema) SetDeletedSessions(v float32)
- func (o *UserSchema) SetEmail(v string)
- func (o *UserSchema) SetEmailSent(v bool)
- func (o *UserSchema) SetId(v int32)
- func (o *UserSchema) SetImageUrl(v string)
- func (o *UserSchema) SetInviteLink(v string)
- func (o *UserSchema) SetLoginAttempts(v int32)
- func (o *UserSchema) SetName(v string)
- func (o *UserSchema) SetNameNil()
- func (o *UserSchema) SetPermissions(v []string)
- func (o *UserSchema) SetProductUpdatesEmailConsent(v bool)
- func (o *UserSchema) SetProductUpdatesEmailConsentNil()
- func (o *UserSchema) SetRootRole(v int32)
- func (o *UserSchema) SetScimId(v string)
- func (o *UserSchema) SetScimIdNil()
- func (o *UserSchema) SetSeatType(v string)
- func (o *UserSchema) SetSeatTypeNil()
- func (o *UserSchema) SetSeenAt(v time.Time)
- func (o *UserSchema) SetSeenAtNil()
- func (o *UserSchema) SetUsername(v string)
- func (o *UserSchema) SetUsernameNil()
- func (o UserSchema) ToMap() (map[string]interface{}, error)
- func (o *UserSchema) UnmarshalJSON(data []byte) (err error)
- func (o *UserSchema) UnsetActiveSessions()
- func (o *UserSchema) UnsetCompanyRole()
- func (o *UserSchema) UnsetName()
- func (o *UserSchema) UnsetProductUpdatesEmailConsent()
- func (o *UserSchema) UnsetScimId()
- func (o *UserSchema) UnsetSeatType()
- func (o *UserSchema) UnsetSeenAt()
- func (o *UserSchema) UnsetUsername()
- type UserWithProjectRoleSchema
- func (o *UserWithProjectRoleSchema) GetAddedAt() time.Time
- func (o *UserWithProjectRoleSchema) GetAddedAtOk() (*time.Time, bool)
- func (o *UserWithProjectRoleSchema) GetEmail() string
- func (o *UserWithProjectRoleSchema) GetEmailOk() (*string, bool)
- func (o *UserWithProjectRoleSchema) GetId() int32
- func (o *UserWithProjectRoleSchema) GetIdOk() (*int32, bool)
- func (o *UserWithProjectRoleSchema) GetImageUrl() string
- func (o *UserWithProjectRoleSchema) GetImageUrlOk() (*string, bool)
- func (o *UserWithProjectRoleSchema) GetIsAPI() bool
- func (o *UserWithProjectRoleSchema) GetIsAPIOk() (*bool, bool)
- func (o *UserWithProjectRoleSchema) GetName() string
- func (o *UserWithProjectRoleSchema) GetNameOk() (*string, bool)
- func (o *UserWithProjectRoleSchema) GetRoleId() int32
- func (o *UserWithProjectRoleSchema) GetRoleIdOk() (*int32, bool)
- func (o *UserWithProjectRoleSchema) GetRoles() []int32
- func (o *UserWithProjectRoleSchema) GetRolesOk() ([]int32, bool)
- func (o *UserWithProjectRoleSchema) HasAddedAt() bool
- func (o *UserWithProjectRoleSchema) HasEmail() bool
- func (o *UserWithProjectRoleSchema) HasImageUrl() bool
- func (o *UserWithProjectRoleSchema) HasIsAPI() bool
- func (o *UserWithProjectRoleSchema) HasName() bool
- func (o *UserWithProjectRoleSchema) HasRoleId() bool
- func (o *UserWithProjectRoleSchema) HasRoles() bool
- func (o UserWithProjectRoleSchema) MarshalJSON() ([]byte, error)
- func (o *UserWithProjectRoleSchema) SetAddedAt(v time.Time)
- func (o *UserWithProjectRoleSchema) SetEmail(v string)
- func (o *UserWithProjectRoleSchema) SetEmailNil()
- func (o *UserWithProjectRoleSchema) SetId(v int32)
- func (o *UserWithProjectRoleSchema) SetImageUrl(v string)
- func (o *UserWithProjectRoleSchema) SetImageUrlNil()
- func (o *UserWithProjectRoleSchema) SetIsAPI(v bool)
- func (o *UserWithProjectRoleSchema) SetName(v string)
- func (o *UserWithProjectRoleSchema) SetRoleId(v int32)
- func (o *UserWithProjectRoleSchema) SetRoles(v []int32)
- func (o UserWithProjectRoleSchema) ToMap() (map[string]interface{}, error)
- func (o *UserWithProjectRoleSchema) UnmarshalJSON(data []byte) (err error)
- func (o *UserWithProjectRoleSchema) UnsetEmail()
- func (o *UserWithProjectRoleSchema) UnsetImageUrl()
- type UsersAPIService
- func (a *UsersAPIService) CreateGroup(ctx context.Context) ApiCreateGroupRequest
- func (a *UsersAPIService) CreateGroupExecute(r ApiCreateGroupRequest) (*GroupSchema, *http.Response, error)
- func (a *UsersAPIService) CreateRole(ctx context.Context) ApiCreateRoleRequest
- func (a *UsersAPIService) CreateRoleExecute(r ApiCreateRoleRequest) (*RoleWithVersionSchema, *http.Response, error)
- func (a *UsersAPIService) CreateUser(ctx context.Context) ApiCreateUserRequest
- func (a *UsersAPIService) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponseSchema, *http.Response, error)
- func (a *UsersAPIService) DeleteGroup(ctx context.Context, groupId string) ApiDeleteGroupRequest
- func (a *UsersAPIService) DeleteGroupExecute(r ApiDeleteGroupRequest) (*http.Response, error)
- func (a *UsersAPIService) DeleteRole(ctx context.Context, roleId string) ApiDeleteRoleRequest
- func (a *UsersAPIService) DeleteRoleExecute(r ApiDeleteRoleRequest) (*http.Response, error)
- func (a *UsersAPIService) DeleteUser(ctx context.Context, id int32) ApiDeleteUserRequest
- func (a *UsersAPIService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)
- func (a *UsersAPIService) GetGroup(ctx context.Context, groupId string) ApiGetGroupRequest
- func (a *UsersAPIService) GetGroupExecute(r ApiGetGroupRequest) (*GroupSchema, *http.Response, error)
- func (a *UsersAPIService) GetGroups(ctx context.Context) ApiGetGroupsRequest
- func (a *UsersAPIService) GetGroupsExecute(r ApiGetGroupsRequest) (*GroupsSchema, *http.Response, error)
- func (a *UsersAPIService) GetRoleById(ctx context.Context, roleId string) ApiGetRoleByIdRequest
- func (a *UsersAPIService) GetRoleByIdExecute(r ApiGetRoleByIdRequest) (*RoleWithPermissionsSchema, *http.Response, error)
- func (a *UsersAPIService) GetRoles(ctx context.Context) ApiGetRolesRequest
- func (a *UsersAPIService) GetRolesExecute(r ApiGetRolesRequest) (*RolesWithVersionSchema, *http.Response, error)
- func (a *UsersAPIService) GetUser(ctx context.Context, id int32) ApiGetUserRequest
- func (a *UsersAPIService) GetUserExecute(r ApiGetUserRequest) (*UserSchema, *http.Response, error)
- func (a *UsersAPIService) SearchUsers(ctx context.Context) ApiSearchUsersRequest
- func (a *UsersAPIService) SearchUsersExecute(r ApiSearchUsersRequest) ([]UserSchema, *http.Response, error)
- func (a *UsersAPIService) UpdateGroup(ctx context.Context, groupId string) ApiUpdateGroupRequest
- func (a *UsersAPIService) UpdateGroupExecute(r ApiUpdateGroupRequest) (*GroupSchema, *http.Response, error)
- func (a *UsersAPIService) UpdateRole(ctx context.Context, roleId string) ApiUpdateRoleRequest
- func (a *UsersAPIService) UpdateRoleExecute(r ApiUpdateRoleRequest) (*RoleWithVersionSchema, *http.Response, error)
- func (a *UsersAPIService) UpdateUser(ctx context.Context, id int32) ApiUpdateUserRequest
- func (a *UsersAPIService) UpdateUserExecute(r ApiUpdateUserRequest) (*CreateUserResponseSchema, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
APITokensAPI *APITokensAPIService
AuthAPI *AuthAPIService
ChangeRequestsAPI *ChangeRequestsAPIService
ContextAPI *ContextAPIService
EnvironmentsAPI *EnvironmentsAPIService
ProjectsAPI *ProjectsAPIService
ServiceAccountsAPI *ServiceAccountsAPIService
UsersAPI *UsersAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the Unleash API API v7.5.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type APITokensAPIService ¶ added in v0.2.3
type APITokensAPIService service
APITokensAPIService APITokensAPI service
func (*APITokensAPIService) CreateApiToken ¶ added in v0.2.3
func (a *APITokensAPIService) CreateApiToken(ctx context.Context) ApiCreateApiTokenRequest
CreateApiToken Create API token
Create an API token of a specific type: one of client, admin, frontend, backend.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateApiTokenRequest
func (*APITokensAPIService) CreateApiTokenExecute ¶ added in v0.2.3
func (a *APITokensAPIService) CreateApiTokenExecute(r ApiCreateApiTokenRequest) (*ApiTokenSchema, *http.Response, error)
Execute executes the request
@return ApiTokenSchema
func (*APITokensAPIService) DeleteApiToken ¶ added in v0.2.3
func (a *APITokensAPIService) DeleteApiToken(ctx context.Context, token string) ApiDeleteApiTokenRequest
DeleteApiToken Delete API token
Deletes an existing API token. The `token` path parameter is the token's `secret`. If the token does not exist, this endpoint returns a 200 OK, but does nothing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param token @return ApiDeleteApiTokenRequest
func (*APITokensAPIService) DeleteApiTokenExecute ¶ added in v0.2.3
func (a *APITokensAPIService) DeleteApiTokenExecute(r ApiDeleteApiTokenRequest) (*http.Response, error)
Execute executes the request
func (*APITokensAPIService) GetAllApiTokens ¶ added in v0.2.3
func (a *APITokensAPIService) GetAllApiTokens(ctx context.Context) ApiGetAllApiTokensRequest
GetAllApiTokens Get API tokens
Retrieves all API tokens that exist in the Unleash instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAllApiTokensRequest
func (*APITokensAPIService) GetAllApiTokensExecute ¶ added in v0.2.3
func (a *APITokensAPIService) GetAllApiTokensExecute(r ApiGetAllApiTokensRequest) (*ApiTokensSchema, *http.Response, error)
Execute executes the request
@return ApiTokensSchema
func (*APITokensAPIService) GetApiTokensByName ¶ added in v0.2.3
func (a *APITokensAPIService) GetApiTokensByName(ctx context.Context, name string) ApiGetApiTokensByNameRequest
GetApiTokensByName Get API tokens by name
Retrieves all API tokens that match a given token name. Because token names are not unique, this endpoint will always return a list. If no tokens with the provided name exist, the list will be empty. Otherwise, it will contain all the tokens with the given name.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiGetApiTokensByNameRequest
func (*APITokensAPIService) GetApiTokensByNameExecute ¶ added in v0.2.3
func (a *APITokensAPIService) GetApiTokensByNameExecute(r ApiGetApiTokensByNameRequest) (*ApiTokensSchema, *http.Response, error)
Execute executes the request
@return ApiTokensSchema
func (*APITokensAPIService) UpdateApiToken ¶ added in v0.2.3
func (a *APITokensAPIService) UpdateApiToken(ctx context.Context, token string) ApiUpdateApiTokenRequest
UpdateApiToken Update API token
Updates an existing API token with a new expiry date. The `token` path parameter is the token's `secret`. If the token does not exist, this endpoint returns a 200 OK, but does nothing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param token @return ApiUpdateApiTokenRequest
func (*APITokensAPIService) UpdateApiTokenExecute ¶ added in v0.2.3
func (a *APITokensAPIService) UpdateApiTokenExecute(r ApiUpdateApiTokenRequest) (*http.Response, error)
Execute executes the request
type AdminPermissionSchema ¶
type AdminPermissionSchema struct {
// The identifier for this permission
Id int32 `json:"id"`
// The name of this permission
Name string `json:"name"`
// The name to display in listings of permissions
DisplayName string `json:"displayName"`
// What level this permission applies to. Either root, project or the name of the environment it applies to
Type string `json:"type"`
// Which environment this permission applies to
Environment NullableString `json:"environment,omitempty"`
AdditionalProperties map[string]interface{}
}
AdminPermissionSchema Describes a single permission
func NewAdminPermissionSchema ¶
func NewAdminPermissionSchema(id int32, name string, displayName string, type_ string) *AdminPermissionSchema
NewAdminPermissionSchema instantiates a new AdminPermissionSchema 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 NewAdminPermissionSchemaWithDefaults ¶
func NewAdminPermissionSchemaWithDefaults() *AdminPermissionSchema
NewAdminPermissionSchemaWithDefaults instantiates a new AdminPermissionSchema 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 (*AdminPermissionSchema) GetDisplayName ¶
func (o *AdminPermissionSchema) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*AdminPermissionSchema) GetDisplayNameOk ¶
func (o *AdminPermissionSchema) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*AdminPermissionSchema) GetEnvironment ¶
func (o *AdminPermissionSchema) GetEnvironment() string
GetEnvironment returns the Environment field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AdminPermissionSchema) GetEnvironmentOk ¶
func (o *AdminPermissionSchema) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AdminPermissionSchema) GetId ¶
func (o *AdminPermissionSchema) GetId() int32
GetId returns the Id field value
func (*AdminPermissionSchema) GetIdOk ¶
func (o *AdminPermissionSchema) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AdminPermissionSchema) GetName ¶
func (o *AdminPermissionSchema) GetName() string
GetName returns the Name field value
func (*AdminPermissionSchema) GetNameOk ¶
func (o *AdminPermissionSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AdminPermissionSchema) GetType ¶
func (o *AdminPermissionSchema) GetType() string
GetType returns the Type field value
func (*AdminPermissionSchema) GetTypeOk ¶
func (o *AdminPermissionSchema) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*AdminPermissionSchema) HasEnvironment ¶
func (o *AdminPermissionSchema) HasEnvironment() bool
HasEnvironment returns a boolean if a field has been set.
func (AdminPermissionSchema) MarshalJSON ¶
func (o AdminPermissionSchema) MarshalJSON() ([]byte, error)
func (*AdminPermissionSchema) SetDisplayName ¶
func (o *AdminPermissionSchema) SetDisplayName(v string)
SetDisplayName sets field value
func (*AdminPermissionSchema) SetEnvironment ¶
func (o *AdminPermissionSchema) SetEnvironment(v string)
SetEnvironment gets a reference to the given NullableString and assigns it to the Environment field.
func (*AdminPermissionSchema) SetEnvironmentNil ¶ added in v0.6.0
func (o *AdminPermissionSchema) SetEnvironmentNil()
SetEnvironmentNil sets the value for Environment to be an explicit nil
func (*AdminPermissionSchema) SetId ¶
func (o *AdminPermissionSchema) SetId(v int32)
SetId sets field value
func (*AdminPermissionSchema) SetName ¶
func (o *AdminPermissionSchema) SetName(v string)
SetName sets field value
func (*AdminPermissionSchema) SetType ¶
func (o *AdminPermissionSchema) SetType(v string)
SetType sets field value
func (AdminPermissionSchema) ToMap ¶
func (o AdminPermissionSchema) ToMap() (map[string]interface{}, error)
func (*AdminPermissionSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *AdminPermissionSchema) UnmarshalJSON(data []byte) (err error)
func (*AdminPermissionSchema) UnsetEnvironment ¶ added in v0.6.0
func (o *AdminPermissionSchema) UnsetEnvironment()
UnsetEnvironment ensures that no value is present for Environment, not even an explicit nil
type AdminPermissionsSchema ¶
type AdminPermissionsSchema struct {
Permissions AdminPermissionsSchemaPermissions `json:"permissions"`
// The api version of this response. A natural increasing number. Only increases if format changes
Version int32 `json:"version"`
AdditionalProperties map[string]interface{}
}
AdminPermissionsSchema What kind of permissions are available
func NewAdminPermissionsSchema ¶
func NewAdminPermissionsSchema(permissions AdminPermissionsSchemaPermissions, version int32) *AdminPermissionsSchema
NewAdminPermissionsSchema instantiates a new AdminPermissionsSchema 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 NewAdminPermissionsSchemaWithDefaults ¶
func NewAdminPermissionsSchemaWithDefaults() *AdminPermissionsSchema
NewAdminPermissionsSchemaWithDefaults instantiates a new AdminPermissionsSchema 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 (*AdminPermissionsSchema) GetPermissions ¶
func (o *AdminPermissionsSchema) GetPermissions() AdminPermissionsSchemaPermissions
GetPermissions returns the Permissions field value
func (*AdminPermissionsSchema) GetPermissionsOk ¶
func (o *AdminPermissionsSchema) GetPermissionsOk() (*AdminPermissionsSchemaPermissions, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*AdminPermissionsSchema) GetVersion ¶
func (o *AdminPermissionsSchema) GetVersion() int32
GetVersion returns the Version field value
func (*AdminPermissionsSchema) GetVersionOk ¶
func (o *AdminPermissionsSchema) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (AdminPermissionsSchema) MarshalJSON ¶
func (o AdminPermissionsSchema) MarshalJSON() ([]byte, error)
func (*AdminPermissionsSchema) SetPermissions ¶
func (o *AdminPermissionsSchema) SetPermissions(v AdminPermissionsSchemaPermissions)
SetPermissions sets field value
func (*AdminPermissionsSchema) SetVersion ¶
func (o *AdminPermissionsSchema) SetVersion(v int32)
SetVersion sets field value
func (AdminPermissionsSchema) ToMap ¶
func (o AdminPermissionsSchema) ToMap() (map[string]interface{}, error)
func (*AdminPermissionsSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *AdminPermissionsSchema) UnmarshalJSON(data []byte) (err error)
type AdminPermissionsSchemaPermissions ¶
type AdminPermissionsSchemaPermissions struct {
// Permissions available at the root level, i.e. not connected to any specific project or environment
Root []AdminPermissionSchema `json:"root,omitempty"`
// Permissions available at the project level
Project []AdminPermissionSchema `json:"project"`
// A list of environments with available permissions per environment
Environments []AdminPermissionsSchemaPermissionsEnvironmentsInner `json:"environments"`
AdditionalProperties map[string]interface{}
}
AdminPermissionsSchemaPermissions Returns permissions available at all three levels (root|project|environment)
func NewAdminPermissionsSchemaPermissions ¶
func NewAdminPermissionsSchemaPermissions(project []AdminPermissionSchema, environments []AdminPermissionsSchemaPermissionsEnvironmentsInner) *AdminPermissionsSchemaPermissions
NewAdminPermissionsSchemaPermissions instantiates a new AdminPermissionsSchemaPermissions 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 NewAdminPermissionsSchemaPermissionsWithDefaults ¶
func NewAdminPermissionsSchemaPermissionsWithDefaults() *AdminPermissionsSchemaPermissions
NewAdminPermissionsSchemaPermissionsWithDefaults instantiates a new AdminPermissionsSchemaPermissions 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 (*AdminPermissionsSchemaPermissions) GetEnvironments ¶
func (o *AdminPermissionsSchemaPermissions) GetEnvironments() []AdminPermissionsSchemaPermissionsEnvironmentsInner
GetEnvironments returns the Environments field value
func (*AdminPermissionsSchemaPermissions) GetEnvironmentsOk ¶
func (o *AdminPermissionsSchemaPermissions) GetEnvironmentsOk() ([]AdminPermissionsSchemaPermissionsEnvironmentsInner, bool)
GetEnvironmentsOk returns a tuple with the Environments field value and a boolean to check if the value has been set.
func (*AdminPermissionsSchemaPermissions) GetProject ¶
func (o *AdminPermissionsSchemaPermissions) GetProject() []AdminPermissionSchema
GetProject returns the Project field value
func (*AdminPermissionsSchemaPermissions) GetProjectOk ¶
func (o *AdminPermissionsSchemaPermissions) GetProjectOk() ([]AdminPermissionSchema, bool)
GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.
func (*AdminPermissionsSchemaPermissions) GetRoot ¶
func (o *AdminPermissionsSchemaPermissions) GetRoot() []AdminPermissionSchema
GetRoot returns the Root field value if set, zero value otherwise.
func (*AdminPermissionsSchemaPermissions) GetRootOk ¶
func (o *AdminPermissionsSchemaPermissions) GetRootOk() ([]AdminPermissionSchema, bool)
GetRootOk returns a tuple with the Root field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdminPermissionsSchemaPermissions) HasRoot ¶
func (o *AdminPermissionsSchemaPermissions) HasRoot() bool
HasRoot returns a boolean if a field has been set.
func (AdminPermissionsSchemaPermissions) MarshalJSON ¶
func (o AdminPermissionsSchemaPermissions) MarshalJSON() ([]byte, error)
func (*AdminPermissionsSchemaPermissions) SetEnvironments ¶
func (o *AdminPermissionsSchemaPermissions) SetEnvironments(v []AdminPermissionsSchemaPermissionsEnvironmentsInner)
SetEnvironments sets field value
func (*AdminPermissionsSchemaPermissions) SetProject ¶
func (o *AdminPermissionsSchemaPermissions) SetProject(v []AdminPermissionSchema)
SetProject sets field value
func (*AdminPermissionsSchemaPermissions) SetRoot ¶
func (o *AdminPermissionsSchemaPermissions) SetRoot(v []AdminPermissionSchema)
SetRoot gets a reference to the given []AdminPermissionSchema and assigns it to the Root field.
func (AdminPermissionsSchemaPermissions) ToMap ¶
func (o AdminPermissionsSchemaPermissions) ToMap() (map[string]interface{}, error)
func (*AdminPermissionsSchemaPermissions) UnmarshalJSON ¶ added in v0.3.0
func (o *AdminPermissionsSchemaPermissions) UnmarshalJSON(data []byte) (err error)
type AdminPermissionsSchemaPermissionsEnvironmentsInner ¶
type AdminPermissionsSchemaPermissionsEnvironmentsInner struct {
// The name of the environment
Name string `json:"name"`
// Permissions available for this environment
Permissions []AdminPermissionSchema `json:"permissions"`
AdditionalProperties map[string]interface{}
}
AdminPermissionsSchemaPermissionsEnvironmentsInner struct for AdminPermissionsSchemaPermissionsEnvironmentsInner
func NewAdminPermissionsSchemaPermissionsEnvironmentsInner ¶
func NewAdminPermissionsSchemaPermissionsEnvironmentsInner(name string, permissions []AdminPermissionSchema) *AdminPermissionsSchemaPermissionsEnvironmentsInner
NewAdminPermissionsSchemaPermissionsEnvironmentsInner instantiates a new AdminPermissionsSchemaPermissionsEnvironmentsInner 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 NewAdminPermissionsSchemaPermissionsEnvironmentsInnerWithDefaults ¶
func NewAdminPermissionsSchemaPermissionsEnvironmentsInnerWithDefaults() *AdminPermissionsSchemaPermissionsEnvironmentsInner
NewAdminPermissionsSchemaPermissionsEnvironmentsInnerWithDefaults instantiates a new AdminPermissionsSchemaPermissionsEnvironmentsInner 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 (*AdminPermissionsSchemaPermissionsEnvironmentsInner) GetName ¶
func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) GetName() string
GetName returns the Name field value
func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) GetNameOk ¶
func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) GetPermissions ¶
func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) GetPermissions() []AdminPermissionSchema
GetPermissions returns the Permissions field value
func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) GetPermissionsOk ¶
func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) GetPermissionsOk() ([]AdminPermissionSchema, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (AdminPermissionsSchemaPermissionsEnvironmentsInner) MarshalJSON ¶
func (o AdminPermissionsSchemaPermissionsEnvironmentsInner) MarshalJSON() ([]byte, error)
func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) SetName ¶
func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) SetName(v string)
SetName sets field value
func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) SetPermissions ¶
func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) SetPermissions(v []AdminPermissionSchema)
SetPermissions sets field value
func (AdminPermissionsSchemaPermissionsEnvironmentsInner) ToMap ¶
func (o AdminPermissionsSchemaPermissionsEnvironmentsInner) ToMap() (map[string]interface{}, error)
func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) UnmarshalJSON ¶ added in v0.3.0
func (o *AdminPermissionsSchemaPermissionsEnvironmentsInner) UnmarshalJSON(data []byte) (err error)
type ApiAddEnvironmentToProjectRequest ¶
type ApiAddEnvironmentToProjectRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiAddEnvironmentToProjectRequest) Execute ¶
func (r ApiAddEnvironmentToProjectRequest) Execute() (*http.Response, error)
func (ApiAddEnvironmentToProjectRequest) ProjectEnvironmentSchema ¶
func (r ApiAddEnvironmentToProjectRequest) ProjectEnvironmentSchema(projectEnvironmentSchema ProjectEnvironmentSchema) ApiAddEnvironmentToProjectRequest
projectEnvironmentSchema
type ApiCreateApiTokenRequest ¶
type ApiCreateApiTokenRequest struct {
ApiService *APITokensAPIService
// contains filtered or unexported fields
}
func (ApiCreateApiTokenRequest) CreateApiTokenSchema ¶
func (r ApiCreateApiTokenRequest) CreateApiTokenSchema(createApiTokenSchema CreateApiTokenSchema) ApiCreateApiTokenRequest
createApiTokenSchema
func (ApiCreateApiTokenRequest) Execute ¶
func (r ApiCreateApiTokenRequest) Execute() (*ApiTokenSchema, *http.Response, error)
type ApiCreateContextFieldRequest ¶
type ApiCreateContextFieldRequest struct {
ApiService *ContextAPIService
// contains filtered or unexported fields
}
func (ApiCreateContextFieldRequest) CreateContextFieldSchema ¶ added in v0.2.3
func (r ApiCreateContextFieldRequest) CreateContextFieldSchema(createContextFieldSchema CreateContextFieldSchema) ApiCreateContextFieldRequest
createContextFieldSchema
func (ApiCreateContextFieldRequest) Execute ¶
func (r ApiCreateContextFieldRequest) Execute() (*ContextFieldSchema, *http.Response, error)
type ApiCreateEnvironmentRequest ¶
type ApiCreateEnvironmentRequest struct {
ApiService *EnvironmentsAPIService
// contains filtered or unexported fields
}
func (ApiCreateEnvironmentRequest) CreateEnvironmentSchema ¶
func (r ApiCreateEnvironmentRequest) CreateEnvironmentSchema(createEnvironmentSchema CreateEnvironmentSchema) ApiCreateEnvironmentRequest
createEnvironmentSchema
func (ApiCreateEnvironmentRequest) Execute ¶
func (r ApiCreateEnvironmentRequest) Execute() (*EnvironmentSchema, *http.Response, error)
type ApiCreateGroupRequest ¶
type ApiCreateGroupRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiCreateGroupRequest) CreateGroupSchema ¶ added in v0.2.3
func (r ApiCreateGroupRequest) CreateGroupSchema(createGroupSchema CreateGroupSchema) ApiCreateGroupRequest
createGroupSchema
func (ApiCreateGroupRequest) Execute ¶
func (r ApiCreateGroupRequest) Execute() (*GroupSchema, *http.Response, error)
type ApiCreateProjectRequest ¶
type ApiCreateProjectRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiCreateProjectRequest) CreateProjectSchema ¶
func (r ApiCreateProjectRequest) CreateProjectSchema(createProjectSchema CreateProjectSchema) ApiCreateProjectRequest
createProjectSchema
func (ApiCreateProjectRequest) Execute ¶
func (r ApiCreateProjectRequest) Execute() (*ProjectCreatedSchema, *http.Response, error)
type ApiCreateRoleRequest ¶
type ApiCreateRoleRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiCreateRoleRequest) CreateRoleWithPermissionsSchema ¶
func (r ApiCreateRoleRequest) CreateRoleWithPermissionsSchema(createRoleWithPermissionsSchema CreateRoleWithPermissionsSchema) ApiCreateRoleRequest
createRoleWithPermissionsSchema
func (ApiCreateRoleRequest) Execute ¶
func (r ApiCreateRoleRequest) Execute() (*RoleWithVersionSchema, *http.Response, error)
type ApiCreateServiceAccountRequest ¶ added in v0.2.3
type ApiCreateServiceAccountRequest struct {
ApiService *ServiceAccountsAPIService
// contains filtered or unexported fields
}
func (ApiCreateServiceAccountRequest) CreateServiceAccountSchema ¶ added in v0.2.3
func (r ApiCreateServiceAccountRequest) CreateServiceAccountSchema(createServiceAccountSchema CreateServiceAccountSchema) ApiCreateServiceAccountRequest
#/components/schemas/createServiceAccountSchema
func (ApiCreateServiceAccountRequest) Execute ¶ added in v0.2.3
func (r ApiCreateServiceAccountRequest) Execute() (*ServiceAccountSchema, *http.Response, error)
type ApiCreateServiceAccountTokenRequest ¶
type ApiCreateServiceAccountTokenRequest struct {
ApiService *ServiceAccountsAPIService
// contains filtered or unexported fields
}
func (ApiCreateServiceAccountTokenRequest) CreatePatSchema ¶ added in v0.3.0
func (r ApiCreateServiceAccountTokenRequest) CreatePatSchema(createPatSchema CreatePatSchema) ApiCreateServiceAccountTokenRequest
#/components/schemas/createPatSchema
type ApiCreateUserRequest ¶
type ApiCreateUserRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiCreateUserRequest) CreateUserSchema ¶
func (r ApiCreateUserRequest) CreateUserSchema(createUserSchema CreateUserSchema) ApiCreateUserRequest
createUserSchema
func (ApiCreateUserRequest) Execute ¶
func (r ApiCreateUserRequest) Execute() (*CreateUserResponseSchema, *http.Response, error)
type ApiDeleteApiTokenRequest ¶
type ApiDeleteApiTokenRequest struct {
ApiService *APITokensAPIService
// contains filtered or unexported fields
}
type ApiDeleteContextFieldRequest ¶
type ApiDeleteContextFieldRequest struct {
ApiService *ContextAPIService
// contains filtered or unexported fields
}
type ApiDeleteGroupRequest ¶
type ApiDeleteGroupRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
type ApiDeleteProjectRequest ¶
type ApiDeleteProjectRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
type ApiDeleteRoleRequest ¶
type ApiDeleteRoleRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
type ApiDeleteServiceAccountRequest ¶
type ApiDeleteServiceAccountRequest struct {
ApiService *ServiceAccountsAPIService
// contains filtered or unexported fields
}
type ApiDeleteServiceAccountTokenRequest ¶
type ApiDeleteServiceAccountTokenRequest struct {
ApiService *ServiceAccountsAPIService
// contains filtered or unexported fields
}
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
type ApiGetAllApiTokensRequest ¶
type ApiGetAllApiTokensRequest struct {
ApiService *APITokensAPIService
// contains filtered or unexported fields
}
func (ApiGetAllApiTokensRequest) Execute ¶
func (r ApiGetAllApiTokensRequest) Execute() (*ApiTokensSchema, *http.Response, error)
type ApiGetAllEnvironmentsRequest ¶
type ApiGetAllEnvironmentsRequest struct {
ApiService *EnvironmentsAPIService
// contains filtered or unexported fields
}
func (ApiGetAllEnvironmentsRequest) Execute ¶
func (r ApiGetAllEnvironmentsRequest) Execute() (*EnvironmentsSchema, *http.Response, error)
type ApiGetApiTokensByNameRequest ¶ added in v0.2.3
type ApiGetApiTokensByNameRequest struct {
ApiService *APITokensAPIService
// contains filtered or unexported fields
}
func (ApiGetApiTokensByNameRequest) Execute ¶ added in v0.2.3
func (r ApiGetApiTokensByNameRequest) Execute() (*ApiTokensSchema, *http.Response, error)
type ApiGetContextFieldRequest ¶
type ApiGetContextFieldRequest struct {
ApiService *ContextAPIService
// contains filtered or unexported fields
}
func (ApiGetContextFieldRequest) Execute ¶
func (r ApiGetContextFieldRequest) Execute() (*ContextFieldSchema, *http.Response, error)
type ApiGetContextFieldsRequest ¶
type ApiGetContextFieldsRequest struct {
ApiService *ContextAPIService
// contains filtered or unexported fields
}
func (ApiGetContextFieldsRequest) Execute ¶
func (r ApiGetContextFieldsRequest) Execute() ([]ContextFieldSchema, *http.Response, error)
func (ApiGetContextFieldsRequest) Include ¶ added in v0.7.0
func (r ApiGetContextFieldsRequest) Include(include string) ApiGetContextFieldsRequest
Whether the response should include project-specific or root context fields in addition to the fields in the default response. When querying the root context API, `include=project` will yield a response that includes all project-specific context fields in addition to all root context fields. Conversely, when querying a project-specific context API, using `include=root` will yield a response that includes all root context fields in addition to the project-specific context fields. The other combinations have no effect, because the responses already include those fields. When including project-specific context fields via the root-level API, context fields in private projects the user does not have access to will be omitted.
type ApiGetEnvironmentRequest ¶
type ApiGetEnvironmentRequest struct {
ApiService *EnvironmentsAPIService
// contains filtered or unexported fields
}
func (ApiGetEnvironmentRequest) Execute ¶
func (r ApiGetEnvironmentRequest) Execute() (*EnvironmentSchema, *http.Response, error)
type ApiGetGroupRequest ¶
type ApiGetGroupRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiGetGroupRequest) Execute ¶
func (r ApiGetGroupRequest) Execute() (*GroupSchema, *http.Response, error)
type ApiGetGroupsRequest ¶
type ApiGetGroupsRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiGetGroupsRequest) Execute ¶
func (r ApiGetGroupsRequest) Execute() (*GroupsSchema, *http.Response, error)
type ApiGetOidcSettingsRequest ¶
type ApiGetOidcSettingsRequest struct {
ApiService *AuthAPIService
// contains filtered or unexported fields
}
func (ApiGetOidcSettingsRequest) Execute ¶
func (r ApiGetOidcSettingsRequest) Execute() (*OidcSettingsResponseSchema, *http.Response, error)
type ApiGetPermissionsRequest ¶
type ApiGetPermissionsRequest struct {
ApiService *AuthAPIService
// contains filtered or unexported fields
}
func (ApiGetPermissionsRequest) Execute ¶
func (r ApiGetPermissionsRequest) Execute() (*AdminPermissionsSchema, *http.Response, error)
type ApiGetProjectAccessRequest ¶
type ApiGetProjectAccessRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiGetProjectAccessRequest) Execute ¶
func (r ApiGetProjectAccessRequest) Execute() (*ProjectAccessSchema, *http.Response, error)
type ApiGetProjectChangeRequestConfigRequest ¶ added in v0.5.4
type ApiGetProjectChangeRequestConfigRequest struct {
ApiService *ChangeRequestsAPIService
// contains filtered or unexported fields
}
func (ApiGetProjectChangeRequestConfigRequest) Execute ¶ added in v0.5.4
func (r ApiGetProjectChangeRequestConfigRequest) Execute() ([]ChangeRequestEnvironmentConfigSchema, *http.Response, error)
type ApiGetProjectEnvironmentsRequest ¶
type ApiGetProjectEnvironmentsRequest struct {
ApiService *EnvironmentsAPIService
// contains filtered or unexported fields
}
func (ApiGetProjectEnvironmentsRequest) Execute ¶
func (r ApiGetProjectEnvironmentsRequest) Execute() (*EnvironmentsProjectSchema, *http.Response, error)
type ApiGetProjectsRequest ¶
type ApiGetProjectsRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiGetProjectsRequest) Archived ¶ added in v0.4.0
func (r ApiGetProjectsRequest) Archived(archived bool) ApiGetProjectsRequest
func (ApiGetProjectsRequest) Execute ¶
func (r ApiGetProjectsRequest) Execute() (*ProjectsSchema, *http.Response, error)
type ApiGetRoleByIdRequest ¶
type ApiGetRoleByIdRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiGetRoleByIdRequest) Execute ¶
func (r ApiGetRoleByIdRequest) Execute() (*RoleWithPermissionsSchema, *http.Response, error)
type ApiGetRolesRequest ¶
type ApiGetRolesRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiGetRolesRequest) Execute ¶
func (r ApiGetRolesRequest) Execute() (*RolesWithVersionSchema, *http.Response, error)
type ApiGetSamlSettingsRequest ¶
type ApiGetSamlSettingsRequest struct {
ApiService *AuthAPIService
// contains filtered or unexported fields
}
func (ApiGetSamlSettingsRequest) Execute ¶
func (r ApiGetSamlSettingsRequest) Execute() (*SamlSettingsResponseSchema, *http.Response, error)
type ApiGetServiceAccountTokensRequest ¶
type ApiGetServiceAccountTokensRequest struct {
ApiService *ServiceAccountsAPIService
// contains filtered or unexported fields
}
func (ApiGetServiceAccountTokensRequest) Execute ¶
func (r ApiGetServiceAccountTokensRequest) Execute() (*PatsSchema, *http.Response, error)
type ApiGetServiceAccountsRequest ¶ added in v0.2.3
type ApiGetServiceAccountsRequest struct {
ApiService *ServiceAccountsAPIService
// contains filtered or unexported fields
}
func (ApiGetServiceAccountsRequest) Execute ¶ added in v0.2.3
func (r ApiGetServiceAccountsRequest) Execute() (*ServiceAccountsSchema, *http.Response, error)
type ApiGetSimpleSettingsRequest ¶
type ApiGetSimpleSettingsRequest struct {
ApiService *AuthAPIService
// contains filtered or unexported fields
}
func (ApiGetSimpleSettingsRequest) Execute ¶
func (r ApiGetSimpleSettingsRequest) Execute() (*PasswordAuthSchema, *http.Response, error)
type ApiGetUserRequest ¶
type ApiGetUserRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiGetUserRequest) Execute ¶
func (r ApiGetUserRequest) Execute() (*UserSchema, *http.Response, error)
type ApiRemoveEnvironmentFromProjectRequest ¶
type ApiRemoveEnvironmentFromProjectRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
type ApiRemoveEnvironmentRequest ¶
type ApiRemoveEnvironmentRequest struct {
ApiService *EnvironmentsAPIService
// contains filtered or unexported fields
}
type ApiSearchUsersRequest ¶
type ApiSearchUsersRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiSearchUsersRequest) Execute ¶
func (r ApiSearchUsersRequest) Execute() ([]UserSchema, *http.Response, error)
func (ApiSearchUsersRequest) Q ¶
func (r ApiSearchUsersRequest) Q(q string) ApiSearchUsersRequest
The pattern to search in the username or email
type ApiSetOidcSettingsRequest ¶
type ApiSetOidcSettingsRequest struct {
ApiService *AuthAPIService
// contains filtered or unexported fields
}
func (ApiSetOidcSettingsRequest) Execute ¶
func (r ApiSetOidcSettingsRequest) Execute() (*OidcSettingsResponseSchema, *http.Response, error)
func (ApiSetOidcSettingsRequest) OidcSettingsSchema ¶
func (r ApiSetOidcSettingsRequest) OidcSettingsSchema(oidcSettingsSchema OidcSettingsSchema) ApiSetOidcSettingsRequest
oidcSettingsSchema
type ApiSetProjectAccessRequest ¶ added in v0.2.8
type ApiSetProjectAccessRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiSetProjectAccessRequest) Execute ¶ added in v0.2.8
func (r ApiSetProjectAccessRequest) Execute() (*http.Response, error)
func (ApiSetProjectAccessRequest) ProjectAccessConfigurationSchema ¶ added in v0.2.8
func (r ApiSetProjectAccessRequest) ProjectAccessConfigurationSchema(projectAccessConfigurationSchema ProjectAccessConfigurationSchema) ApiSetProjectAccessRequest
projectAccessConfigurationSchema
type ApiSetSamlSettingsRequest ¶
type ApiSetSamlSettingsRequest struct {
ApiService *AuthAPIService
// contains filtered or unexported fields
}
func (ApiSetSamlSettingsRequest) Execute ¶
func (r ApiSetSamlSettingsRequest) Execute() (*SamlSettingsResponseSchema, *http.Response, error)
func (ApiSetSamlSettingsRequest) SamlSettingsSchema ¶
func (r ApiSetSamlSettingsRequest) SamlSettingsSchema(samlSettingsSchema SamlSettingsSchema) ApiSetSamlSettingsRequest
samlSettingsSchema
type ApiSetSimpleSettingsRequest ¶
type ApiSetSimpleSettingsRequest struct {
ApiService *AuthAPIService
// contains filtered or unexported fields
}
func (ApiSetSimpleSettingsRequest) Execute ¶
func (r ApiSetSimpleSettingsRequest) Execute() (*PasswordAuthSchema, *http.Response, error)
func (ApiSetSimpleSettingsRequest) PasswordAuthSchema ¶
func (r ApiSetSimpleSettingsRequest) PasswordAuthSchema(passwordAuthSchema PasswordAuthSchema) ApiSetSimpleSettingsRequest
passwordAuthSchema
type ApiTokenSchema ¶
type ApiTokenSchema struct {
// The token used for authentication.
Secret string `json:"secret"`
// A unique name for this particular token
TokenName string `json:"tokenName"`
// The type of API token
Type string `json:"type"`
// The environment the token has access to.
Environment *string `json:"environment,omitempty"`
// The project this token belongs to.
Project *string `json:"project,omitempty"`
// The list of projects this token has access to. If the token has access to specific projects they will be listed here. If the token has access to all projects it will be represented as `[*]`
Projects []string `json:"projects"`
// The token's expiration date. NULL if the token doesn't have an expiration set.
ExpiresAt NullableTime `json:"expiresAt,omitempty"`
// When the token was created.
CreatedAt time.Time `json:"createdAt"`
// When the token was last seen/used to authenticate with. NULL if the token has not yet been used for authentication.
SeenAt NullableTime `json:"seenAt,omitempty"`
// Alias is no longer in active use and will often be NULL. It's kept around as a way of allowing old proxy tokens created with the old metadata format to keep working.
Alias NullableString `json:"alias,omitempty"`
AdditionalProperties map[string]interface{}
}
ApiTokenSchema An overview of an [Unleash API token](https://docs.getunleash.io/concepts/api-tokens-and-client-keys).
func NewApiTokenSchema ¶
func NewApiTokenSchema(secret string, tokenName string, type_ string, projects []string, createdAt time.Time) *ApiTokenSchema
NewApiTokenSchema instantiates a new ApiTokenSchema 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 NewApiTokenSchemaWithDefaults ¶
func NewApiTokenSchemaWithDefaults() *ApiTokenSchema
NewApiTokenSchemaWithDefaults instantiates a new ApiTokenSchema 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 (*ApiTokenSchema) GetAlias ¶
func (o *ApiTokenSchema) GetAlias() string
GetAlias returns the Alias field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiTokenSchema) GetAliasOk ¶
func (o *ApiTokenSchema) GetAliasOk() (*string, bool)
GetAliasOk returns a tuple with the Alias field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiTokenSchema) GetCreatedAt ¶
func (o *ApiTokenSchema) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ApiTokenSchema) GetCreatedAtOk ¶
func (o *ApiTokenSchema) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ApiTokenSchema) GetEnvironment ¶
func (o *ApiTokenSchema) GetEnvironment() string
GetEnvironment returns the Environment field value if set, zero value otherwise.
func (*ApiTokenSchema) GetEnvironmentOk ¶
func (o *ApiTokenSchema) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiTokenSchema) GetExpiresAt ¶
func (o *ApiTokenSchema) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiTokenSchema) GetExpiresAtOk ¶
func (o *ApiTokenSchema) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiTokenSchema) GetProject ¶
func (o *ApiTokenSchema) GetProject() string
GetProject returns the Project field value if set, zero value otherwise.
func (*ApiTokenSchema) GetProjectOk ¶
func (o *ApiTokenSchema) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiTokenSchema) GetProjects ¶
func (o *ApiTokenSchema) GetProjects() []string
GetProjects returns the Projects field value
func (*ApiTokenSchema) GetProjectsOk ¶
func (o *ApiTokenSchema) GetProjectsOk() ([]string, bool)
GetProjectsOk returns a tuple with the Projects field value and a boolean to check if the value has been set.
func (*ApiTokenSchema) GetSecret ¶
func (o *ApiTokenSchema) GetSecret() string
GetSecret returns the Secret field value
func (*ApiTokenSchema) GetSecretOk ¶
func (o *ApiTokenSchema) GetSecretOk() (*string, bool)
GetSecretOk returns a tuple with the Secret field value and a boolean to check if the value has been set.
func (*ApiTokenSchema) GetSeenAt ¶
func (o *ApiTokenSchema) GetSeenAt() time.Time
GetSeenAt returns the SeenAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiTokenSchema) GetSeenAtOk ¶
func (o *ApiTokenSchema) GetSeenAtOk() (*time.Time, bool)
GetSeenAtOk returns a tuple with the SeenAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiTokenSchema) GetTokenName ¶
func (o *ApiTokenSchema) GetTokenName() string
GetTokenName returns the TokenName field value
func (*ApiTokenSchema) GetTokenNameOk ¶
func (o *ApiTokenSchema) GetTokenNameOk() (*string, bool)
GetTokenNameOk returns a tuple with the TokenName field value and a boolean to check if the value has been set.
func (*ApiTokenSchema) GetType ¶
func (o *ApiTokenSchema) GetType() string
GetType returns the Type field value
func (*ApiTokenSchema) GetTypeOk ¶
func (o *ApiTokenSchema) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ApiTokenSchema) HasAlias ¶
func (o *ApiTokenSchema) HasAlias() bool
HasAlias returns a boolean if a field has been set.
func (*ApiTokenSchema) HasEnvironment ¶
func (o *ApiTokenSchema) HasEnvironment() bool
HasEnvironment returns a boolean if a field has been set.
func (*ApiTokenSchema) HasExpiresAt ¶
func (o *ApiTokenSchema) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*ApiTokenSchema) HasProject ¶ added in v0.2.5
func (o *ApiTokenSchema) HasProject() bool
HasProject returns a boolean if a field has been set.
func (*ApiTokenSchema) HasSeenAt ¶
func (o *ApiTokenSchema) HasSeenAt() bool
HasSeenAt returns a boolean if a field has been set.
func (ApiTokenSchema) MarshalJSON ¶
func (o ApiTokenSchema) MarshalJSON() ([]byte, error)
func (*ApiTokenSchema) SetAlias ¶
func (o *ApiTokenSchema) SetAlias(v string)
SetAlias gets a reference to the given NullableString and assigns it to the Alias field.
func (*ApiTokenSchema) SetAliasNil ¶
func (o *ApiTokenSchema) SetAliasNil()
SetAliasNil sets the value for Alias to be an explicit nil
func (*ApiTokenSchema) SetCreatedAt ¶
func (o *ApiTokenSchema) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ApiTokenSchema) SetEnvironment ¶
func (o *ApiTokenSchema) SetEnvironment(v string)
SetEnvironment gets a reference to the given string and assigns it to the Environment field.
func (*ApiTokenSchema) SetExpiresAt ¶
func (o *ApiTokenSchema) SetExpiresAt(v time.Time)
SetExpiresAt gets a reference to the given NullableTime and assigns it to the ExpiresAt field.
func (*ApiTokenSchema) SetExpiresAtNil ¶
func (o *ApiTokenSchema) SetExpiresAtNil()
SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil
func (*ApiTokenSchema) SetProject ¶
func (o *ApiTokenSchema) SetProject(v string)
SetProject gets a reference to the given string and assigns it to the Project field.
func (*ApiTokenSchema) SetProjects ¶
func (o *ApiTokenSchema) SetProjects(v []string)
SetProjects sets field value
func (*ApiTokenSchema) SetSecret ¶
func (o *ApiTokenSchema) SetSecret(v string)
SetSecret sets field value
func (*ApiTokenSchema) SetSeenAt ¶
func (o *ApiTokenSchema) SetSeenAt(v time.Time)
SetSeenAt gets a reference to the given NullableTime and assigns it to the SeenAt field.
func (*ApiTokenSchema) SetSeenAtNil ¶
func (o *ApiTokenSchema) SetSeenAtNil()
SetSeenAtNil sets the value for SeenAt to be an explicit nil
func (*ApiTokenSchema) SetTokenName ¶
func (o *ApiTokenSchema) SetTokenName(v string)
SetTokenName sets field value
func (*ApiTokenSchema) SetType ¶
func (o *ApiTokenSchema) SetType(v string)
SetType sets field value
func (ApiTokenSchema) ToMap ¶
func (o ApiTokenSchema) ToMap() (map[string]interface{}, error)
func (*ApiTokenSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *ApiTokenSchema) UnmarshalJSON(data []byte) (err error)
func (*ApiTokenSchema) UnsetAlias ¶
func (o *ApiTokenSchema) UnsetAlias()
UnsetAlias ensures that no value is present for Alias, not even an explicit nil
func (*ApiTokenSchema) UnsetExpiresAt ¶
func (o *ApiTokenSchema) UnsetExpiresAt()
UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil
func (*ApiTokenSchema) UnsetSeenAt ¶
func (o *ApiTokenSchema) UnsetSeenAt()
UnsetSeenAt ensures that no value is present for SeenAt, not even an explicit nil
type ApiTokensSchema ¶
type ApiTokensSchema struct {
// A list of Unleash API tokens.
Tokens []ApiTokenSchema `json:"tokens"`
AdditionalProperties map[string]interface{}
}
ApiTokensSchema An object with [Unleash API tokens](https://docs.getunleash.io/concepts/api-tokens-and-client-keys)
func NewApiTokensSchema ¶
func NewApiTokensSchema(tokens []ApiTokenSchema) *ApiTokensSchema
NewApiTokensSchema instantiates a new ApiTokensSchema 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 NewApiTokensSchemaWithDefaults ¶
func NewApiTokensSchemaWithDefaults() *ApiTokensSchema
NewApiTokensSchemaWithDefaults instantiates a new ApiTokensSchema 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 (*ApiTokensSchema) GetTokens ¶
func (o *ApiTokensSchema) GetTokens() []ApiTokenSchema
GetTokens returns the Tokens field value
func (*ApiTokensSchema) GetTokensOk ¶
func (o *ApiTokensSchema) GetTokensOk() ([]ApiTokenSchema, bool)
GetTokensOk returns a tuple with the Tokens field value and a boolean to check if the value has been set.
func (ApiTokensSchema) MarshalJSON ¶
func (o ApiTokensSchema) MarshalJSON() ([]byte, error)
func (*ApiTokensSchema) SetTokens ¶
func (o *ApiTokensSchema) SetTokens(v []ApiTokenSchema)
SetTokens sets field value
func (ApiTokensSchema) ToMap ¶
func (o ApiTokensSchema) ToMap() (map[string]interface{}, error)
func (*ApiTokensSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *ApiTokensSchema) UnmarshalJSON(data []byte) (err error)
type ApiUpdateApiTokenRequest ¶
type ApiUpdateApiTokenRequest struct {
ApiService *APITokensAPIService
// contains filtered or unexported fields
}
func (ApiUpdateApiTokenRequest) Execute ¶
func (r ApiUpdateApiTokenRequest) Execute() (*http.Response, error)
func (ApiUpdateApiTokenRequest) UpdateApiTokenSchema ¶
func (r ApiUpdateApiTokenRequest) UpdateApiTokenSchema(updateApiTokenSchema UpdateApiTokenSchema) ApiUpdateApiTokenRequest
updateApiTokenSchema
type ApiUpdateContextFieldRequest ¶
type ApiUpdateContextFieldRequest struct {
ApiService *ContextAPIService
// contains filtered or unexported fields
}
func (ApiUpdateContextFieldRequest) Execute ¶
func (r ApiUpdateContextFieldRequest) Execute() (*http.Response, error)
func (ApiUpdateContextFieldRequest) UpdateContextFieldSchema ¶ added in v0.2.3
func (r ApiUpdateContextFieldRequest) UpdateContextFieldSchema(updateContextFieldSchema UpdateContextFieldSchema) ApiUpdateContextFieldRequest
updateContextFieldSchema
type ApiUpdateEnvironmentRequest ¶
type ApiUpdateEnvironmentRequest struct {
ApiService *EnvironmentsAPIService
// contains filtered or unexported fields
}
func (ApiUpdateEnvironmentRequest) Execute ¶
func (r ApiUpdateEnvironmentRequest) Execute() (*EnvironmentSchema, *http.Response, error)
func (ApiUpdateEnvironmentRequest) UpdateEnvironmentSchema ¶
func (r ApiUpdateEnvironmentRequest) UpdateEnvironmentSchema(updateEnvironmentSchema UpdateEnvironmentSchema) ApiUpdateEnvironmentRequest
updateEnvironmentSchema
type ApiUpdateGroupRequest ¶
type ApiUpdateGroupRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiUpdateGroupRequest) CreateGroupSchema ¶ added in v0.2.3
func (r ApiUpdateGroupRequest) CreateGroupSchema(createGroupSchema CreateGroupSchema) ApiUpdateGroupRequest
createGroupSchema
func (ApiUpdateGroupRequest) Execute ¶
func (r ApiUpdateGroupRequest) Execute() (*GroupSchema, *http.Response, error)
type ApiUpdateProjectChangeRequestConfigRequest ¶ added in v0.5.4
type ApiUpdateProjectChangeRequestConfigRequest struct {
ApiService *ChangeRequestsAPIService
// contains filtered or unexported fields
}
func (ApiUpdateProjectChangeRequestConfigRequest) Execute ¶ added in v0.5.4
func (r ApiUpdateProjectChangeRequestConfigRequest) Execute() (*http.Response, error)
func (ApiUpdateProjectChangeRequestConfigRequest) UpdateChangeRequestEnvironmentConfigSchema ¶ added in v0.5.4
func (r ApiUpdateProjectChangeRequestConfigRequest) UpdateChangeRequestEnvironmentConfigSchema(updateChangeRequestEnvironmentConfigSchema UpdateChangeRequestEnvironmentConfigSchema) ApiUpdateProjectChangeRequestConfigRequest
updateChangeRequestEnvironmentConfigSchema
type ApiUpdateProjectEnterpriseSettingsRequest ¶ added in v0.5.1
type ApiUpdateProjectEnterpriseSettingsRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiUpdateProjectEnterpriseSettingsRequest) Execute ¶ added in v0.5.1
func (r ApiUpdateProjectEnterpriseSettingsRequest) Execute() (*http.Response, error)
func (ApiUpdateProjectEnterpriseSettingsRequest) UpdateProjectEnterpriseSettingsSchema ¶ added in v0.5.1
func (r ApiUpdateProjectEnterpriseSettingsRequest) UpdateProjectEnterpriseSettingsSchema(updateProjectEnterpriseSettingsSchema UpdateProjectEnterpriseSettingsSchema) ApiUpdateProjectEnterpriseSettingsRequest
updateProjectEnterpriseSettingsSchema
type ApiUpdateProjectRequest ¶
type ApiUpdateProjectRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiUpdateProjectRequest) Execute ¶
func (r ApiUpdateProjectRequest) Execute() (*http.Response, error)
func (ApiUpdateProjectRequest) UpdateProjectSchema ¶
func (r ApiUpdateProjectRequest) UpdateProjectSchema(updateProjectSchema UpdateProjectSchema) ApiUpdateProjectRequest
updateProjectSchema
type ApiUpdateRoleRequest ¶
type ApiUpdateRoleRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiUpdateRoleRequest) CreateRoleWithPermissionsSchema ¶
func (r ApiUpdateRoleRequest) CreateRoleWithPermissionsSchema(createRoleWithPermissionsSchema CreateRoleWithPermissionsSchema) ApiUpdateRoleRequest
createRoleWithPermissionsSchema
func (ApiUpdateRoleRequest) Execute ¶
func (r ApiUpdateRoleRequest) Execute() (*RoleWithVersionSchema, *http.Response, error)
type ApiUpdateServiceAccountRequest ¶
type ApiUpdateServiceAccountRequest struct {
ApiService *ServiceAccountsAPIService
// contains filtered or unexported fields
}
func (ApiUpdateServiceAccountRequest) Execute ¶
func (r ApiUpdateServiceAccountRequest) Execute() (*ServiceAccountSchema, *http.Response, error)
func (ApiUpdateServiceAccountRequest) UpdateServiceAccountSchema ¶ added in v0.3.0
func (r ApiUpdateServiceAccountRequest) UpdateServiceAccountSchema(updateServiceAccountSchema UpdateServiceAccountSchema) ApiUpdateServiceAccountRequest
#/components/schemas/updateServiceAccountSchema
type ApiUpdateUserRequest ¶
type ApiUpdateUserRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiUpdateUserRequest) Execute ¶
func (r ApiUpdateUserRequest) Execute() (*CreateUserResponseSchema, *http.Response, error)
func (ApiUpdateUserRequest) UpdateUserSchema ¶ added in v0.2.3
func (r ApiUpdateUserRequest) UpdateUserSchema(updateUserSchema UpdateUserSchema) ApiUpdateUserRequest
updateUserSchema
type AuthAPIService ¶ added in v0.2.3
type AuthAPIService service
AuthAPIService AuthAPI service
func (*AuthAPIService) GetOidcSettings ¶ added in v0.2.3
func (a *AuthAPIService) GetOidcSettings(ctx context.Context) ApiGetOidcSettingsRequest
GetOidcSettings Get OIDC auth settings
**Enterprise feature**
Returns the current settings for OIDC Authentication
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetOidcSettingsRequest
func (*AuthAPIService) GetOidcSettingsExecute ¶ added in v0.2.3
func (a *AuthAPIService) GetOidcSettingsExecute(r ApiGetOidcSettingsRequest) (*OidcSettingsResponseSchema, *http.Response, error)
Execute executes the request
@return OidcSettingsResponseSchema
func (*AuthAPIService) GetPermissions ¶ added in v0.2.3
func (a *AuthAPIService) GetPermissions(ctx context.Context) ApiGetPermissionsRequest
GetPermissions Gets available permissions
**Enterprise feature**
Returns a list of available permissions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetPermissionsRequest
func (*AuthAPIService) GetPermissionsExecute ¶ added in v0.2.3
func (a *AuthAPIService) GetPermissionsExecute(r ApiGetPermissionsRequest) (*AdminPermissionsSchema, *http.Response, error)
Execute executes the request
@return AdminPermissionsSchema
func (*AuthAPIService) GetSamlSettings ¶ added in v0.2.3
func (a *AuthAPIService) GetSamlSettings(ctx context.Context) ApiGetSamlSettingsRequest
GetSamlSettings Get SAML auth settings
**Enterprise feature**
Returns the current settings for SAML authentication
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetSamlSettingsRequest
func (*AuthAPIService) GetSamlSettingsExecute ¶ added in v0.2.3
func (a *AuthAPIService) GetSamlSettingsExecute(r ApiGetSamlSettingsRequest) (*SamlSettingsResponseSchema, *http.Response, error)
Execute executes the request
@return SamlSettingsResponseSchema
func (*AuthAPIService) GetSimpleSettings ¶ added in v0.2.3
func (a *AuthAPIService) GetSimpleSettings(ctx context.Context) ApiGetSimpleSettingsRequest
GetSimpleSettings Get Simple auth settings
**Enterprise feature**
Is simple authentication (username/password) enabled for this server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetSimpleSettingsRequest
func (*AuthAPIService) GetSimpleSettingsExecute ¶ added in v0.2.3
func (a *AuthAPIService) GetSimpleSettingsExecute(r ApiGetSimpleSettingsRequest) (*PasswordAuthSchema, *http.Response, error)
Execute executes the request
@return PasswordAuthSchema
func (*AuthAPIService) SetOidcSettings ¶ added in v0.2.3
func (a *AuthAPIService) SetOidcSettings(ctx context.Context) ApiSetOidcSettingsRequest
SetOidcSettings Set OIDC settings
**Enterprise feature**
Configure OpenID Connect as a login provider for Unleash.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSetOidcSettingsRequest
func (*AuthAPIService) SetOidcSettingsExecute ¶ added in v0.2.3
func (a *AuthAPIService) SetOidcSettingsExecute(r ApiSetOidcSettingsRequest) (*OidcSettingsResponseSchema, *http.Response, error)
Execute executes the request
@return OidcSettingsResponseSchema
func (*AuthAPIService) SetSamlSettings ¶ added in v0.2.3
func (a *AuthAPIService) SetSamlSettings(ctx context.Context) ApiSetSamlSettingsRequest
SetSamlSettings Update SAML auth settings
**Enterprise feature**
Updates the settings for SAML Authentication
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSetSamlSettingsRequest
func (*AuthAPIService) SetSamlSettingsExecute ¶ added in v0.2.3
func (a *AuthAPIService) SetSamlSettingsExecute(r ApiSetSamlSettingsRequest) (*SamlSettingsResponseSchema, *http.Response, error)
Execute executes the request
@return SamlSettingsResponseSchema
func (*AuthAPIService) SetSimpleSettings ¶ added in v0.2.3
func (a *AuthAPIService) SetSimpleSettings(ctx context.Context) ApiSetSimpleSettingsRequest
SetSimpleSettings Update Simple auth settings
**Enterprise feature**
Enable or disable simple authentication (username/password)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSetSimpleSettingsRequest
func (*AuthAPIService) SetSimpleSettingsExecute ¶ added in v0.2.3
func (a *AuthAPIService) SetSimpleSettingsExecute(r ApiSetSimpleSettingsRequest) (*PasswordAuthSchema, *http.Response, error)
Execute executes the request
@return PasswordAuthSchema
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type ChangeRequestEnvironmentConfigSchema ¶ added in v0.2.3
type ChangeRequestEnvironmentConfigSchema struct {
// The environment that this configuration applies to.
Environment string `json:"environment"`
// The [type of the environment](https://docs.getunleash.io/concepts/environments#environment-types) listed in `environment`.
Type string `json:"type"`
// `true` if this environment has change requests enabled, otherwise `false`.
ChangeRequestEnabled bool `json:"changeRequestEnabled"`
// The number of approvals that are required for a change request to be fully approved and ready to be applied in this environment.
RequiredApprovals NullableFloat32 `json:"requiredApprovals"`
AdditionalProperties map[string]interface{}
}
ChangeRequestEnvironmentConfigSchema The [change request](https://docs.getunleash.io/concepts/change-requests) configuration for a specific environment.
func NewChangeRequestEnvironmentConfigSchema ¶ added in v0.2.3
func NewChangeRequestEnvironmentConfigSchema(environment string, type_ string, changeRequestEnabled bool, requiredApprovals NullableFloat32) *ChangeRequestEnvironmentConfigSchema
NewChangeRequestEnvironmentConfigSchema instantiates a new ChangeRequestEnvironmentConfigSchema 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 NewChangeRequestEnvironmentConfigSchemaWithDefaults ¶ added in v0.2.3
func NewChangeRequestEnvironmentConfigSchemaWithDefaults() *ChangeRequestEnvironmentConfigSchema
NewChangeRequestEnvironmentConfigSchemaWithDefaults instantiates a new ChangeRequestEnvironmentConfigSchema 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 (*ChangeRequestEnvironmentConfigSchema) GetChangeRequestEnabled ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) GetChangeRequestEnabled() bool
GetChangeRequestEnabled returns the ChangeRequestEnabled field value
func (*ChangeRequestEnvironmentConfigSchema) GetChangeRequestEnabledOk ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) GetChangeRequestEnabledOk() (*bool, bool)
GetChangeRequestEnabledOk returns a tuple with the ChangeRequestEnabled field value and a boolean to check if the value has been set.
func (*ChangeRequestEnvironmentConfigSchema) GetEnvironment ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) GetEnvironment() string
GetEnvironment returns the Environment field value
func (*ChangeRequestEnvironmentConfigSchema) GetEnvironmentOk ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*ChangeRequestEnvironmentConfigSchema) GetRequiredApprovals ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) GetRequiredApprovals() float32
GetRequiredApprovals returns the RequiredApprovals field value If the value is explicit nil, the zero value for float32 will be returned
func (*ChangeRequestEnvironmentConfigSchema) GetRequiredApprovalsOk ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) GetRequiredApprovalsOk() (*float32, bool)
GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChangeRequestEnvironmentConfigSchema) GetType ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) GetType() string
GetType returns the Type field value
func (*ChangeRequestEnvironmentConfigSchema) GetTypeOk ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ChangeRequestEnvironmentConfigSchema) MarshalJSON ¶ added in v0.2.3
func (o ChangeRequestEnvironmentConfigSchema) MarshalJSON() ([]byte, error)
func (*ChangeRequestEnvironmentConfigSchema) SetChangeRequestEnabled ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) SetChangeRequestEnabled(v bool)
SetChangeRequestEnabled sets field value
func (*ChangeRequestEnvironmentConfigSchema) SetEnvironment ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) SetEnvironment(v string)
SetEnvironment sets field value
func (*ChangeRequestEnvironmentConfigSchema) SetRequiredApprovals ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) SetRequiredApprovals(v float32)
SetRequiredApprovals sets field value
func (*ChangeRequestEnvironmentConfigSchema) SetType ¶ added in v0.2.3
func (o *ChangeRequestEnvironmentConfigSchema) SetType(v string)
SetType sets field value
func (ChangeRequestEnvironmentConfigSchema) ToMap ¶ added in v0.2.3
func (o ChangeRequestEnvironmentConfigSchema) ToMap() (map[string]interface{}, error)
func (*ChangeRequestEnvironmentConfigSchema) UnmarshalJSON ¶ added in v0.5.4
func (o *ChangeRequestEnvironmentConfigSchema) UnmarshalJSON(data []byte) (err error)
type ChangeRequestsAPIService ¶ added in v0.5.4
type ChangeRequestsAPIService service
ChangeRequestsAPIService ChangeRequestsAPI service
func (*ChangeRequestsAPIService) GetProjectChangeRequestConfig ¶ added in v0.5.4
func (a *ChangeRequestsAPIService) GetProjectChangeRequestConfig(ctx context.Context, projectId string) ApiGetProjectChangeRequestConfigRequest
GetProjectChangeRequestConfig Retrieves change request configuration for a project
**Enterprise feature**
Given a projectId, this endpoint will retrieve change request configuration for the project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiGetProjectChangeRequestConfigRequest
func (*ChangeRequestsAPIService) GetProjectChangeRequestConfigExecute ¶ added in v0.5.4
func (a *ChangeRequestsAPIService) GetProjectChangeRequestConfigExecute(r ApiGetProjectChangeRequestConfigRequest) ([]ChangeRequestEnvironmentConfigSchema, *http.Response, error)
Execute executes the request
@return []ChangeRequestEnvironmentConfigSchema
func (*ChangeRequestsAPIService) UpdateProjectChangeRequestConfig ¶ added in v0.5.4
func (a *ChangeRequestsAPIService) UpdateProjectChangeRequestConfig(ctx context.Context, projectId string, environment string) ApiUpdateProjectChangeRequestConfigRequest
UpdateProjectChangeRequestConfig Updates change request configuration for an environment in the project
**Enterprise feature**
This endpoint will change the change request configuration for a given environment, set it to either on/off and optionally configure the number of approvals needed. The minimum number of approvals is 1 and the maximum number is 10. If you provide a number higher than 10 or lower than 1, Unleash will clamp it to the allowed range.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param environment @return ApiUpdateProjectChangeRequestConfigRequest
func (*ChangeRequestsAPIService) UpdateProjectChangeRequestConfigExecute ¶ added in v0.5.4
func (a *ChangeRequestsAPIService) UpdateProjectChangeRequestConfigExecute(r ApiUpdateProjectChangeRequestConfigRequest) (*http.Response, error)
Execute executes the request
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConstraintSchema ¶
type ConstraintSchema struct {
// The name of the context field that this constraint should apply to.
ContextName string `json:"contextName"`
// The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).
Operator string `json:"operator"`
// Whether the operator should be case sensitive or not. Defaults to `false` (being case sensitive).
CaseInsensitive *bool `json:"caseInsensitive,omitempty"`
// Whether the result should be negated or not. If `true`, will turn a `true` result into a `false` result and vice versa.
Inverted *bool `json:"inverted,omitempty"`
// The context values that should be used for constraint evaluation. Use this property instead of `value` for properties that accept multiple values.
Values []string `json:"values,omitempty"`
// The context value that should be used for constraint evaluation. Use this property instead of `values` for properties that only accept single values.
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]interface{}
}
ConstraintSchema A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)
func NewConstraintSchema ¶
func NewConstraintSchema(contextName string, operator string) *ConstraintSchema
NewConstraintSchema instantiates a new ConstraintSchema 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 NewConstraintSchemaWithDefaults ¶
func NewConstraintSchemaWithDefaults() *ConstraintSchema
NewConstraintSchemaWithDefaults instantiates a new ConstraintSchema 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 (*ConstraintSchema) GetCaseInsensitive ¶
func (o *ConstraintSchema) GetCaseInsensitive() bool
GetCaseInsensitive returns the CaseInsensitive field value if set, zero value otherwise.
func (*ConstraintSchema) GetCaseInsensitiveOk ¶
func (o *ConstraintSchema) GetCaseInsensitiveOk() (*bool, bool)
GetCaseInsensitiveOk returns a tuple with the CaseInsensitive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConstraintSchema) GetContextName ¶
func (o *ConstraintSchema) GetContextName() string
GetContextName returns the ContextName field value
func (*ConstraintSchema) GetContextNameOk ¶
func (o *ConstraintSchema) GetContextNameOk() (*string, bool)
GetContextNameOk returns a tuple with the ContextName field value and a boolean to check if the value has been set.
func (*ConstraintSchema) GetInverted ¶
func (o *ConstraintSchema) GetInverted() bool
GetInverted returns the Inverted field value if set, zero value otherwise.
func (*ConstraintSchema) GetInvertedOk ¶
func (o *ConstraintSchema) GetInvertedOk() (*bool, bool)
GetInvertedOk returns a tuple with the Inverted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConstraintSchema) GetOperator ¶
func (o *ConstraintSchema) GetOperator() string
GetOperator returns the Operator field value
func (*ConstraintSchema) GetOperatorOk ¶
func (o *ConstraintSchema) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field value and a boolean to check if the value has been set.
func (*ConstraintSchema) GetValue ¶
func (o *ConstraintSchema) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*ConstraintSchema) GetValueOk ¶
func (o *ConstraintSchema) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConstraintSchema) GetValues ¶
func (o *ConstraintSchema) GetValues() []string
GetValues returns the Values field value if set, zero value otherwise.
func (*ConstraintSchema) GetValuesOk ¶
func (o *ConstraintSchema) GetValuesOk() ([]string, bool)
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConstraintSchema) HasCaseInsensitive ¶
func (o *ConstraintSchema) HasCaseInsensitive() bool
HasCaseInsensitive returns a boolean if a field has been set.
func (*ConstraintSchema) HasInverted ¶
func (o *ConstraintSchema) HasInverted() bool
HasInverted returns a boolean if a field has been set.
func (*ConstraintSchema) HasValue ¶
func (o *ConstraintSchema) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*ConstraintSchema) HasValues ¶
func (o *ConstraintSchema) HasValues() bool
HasValues returns a boolean if a field has been set.
func (ConstraintSchema) MarshalJSON ¶
func (o ConstraintSchema) MarshalJSON() ([]byte, error)
func (*ConstraintSchema) SetCaseInsensitive ¶
func (o *ConstraintSchema) SetCaseInsensitive(v bool)
SetCaseInsensitive gets a reference to the given bool and assigns it to the CaseInsensitive field.
func (*ConstraintSchema) SetContextName ¶
func (o *ConstraintSchema) SetContextName(v string)
SetContextName sets field value
func (*ConstraintSchema) SetInverted ¶
func (o *ConstraintSchema) SetInverted(v bool)
SetInverted gets a reference to the given bool and assigns it to the Inverted field.
func (*ConstraintSchema) SetOperator ¶
func (o *ConstraintSchema) SetOperator(v string)
SetOperator sets field value
func (*ConstraintSchema) SetValue ¶
func (o *ConstraintSchema) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (*ConstraintSchema) SetValues ¶
func (o *ConstraintSchema) SetValues(v []string)
SetValues gets a reference to the given []string and assigns it to the Values field.
func (ConstraintSchema) ToMap ¶
func (o ConstraintSchema) ToMap() (map[string]interface{}, error)
func (*ConstraintSchema) UnmarshalJSON ¶ added in v0.5.4
func (o *ConstraintSchema) UnmarshalJSON(data []byte) (err error)
type ContextAPIService ¶ added in v0.2.3
type ContextAPIService service
ContextAPIService ContextAPI service
func (*ContextAPIService) CreateContextField ¶ added in v0.2.3
func (a *ContextAPIService) CreateContextField(ctx context.Context) ApiCreateContextFieldRequest
CreateContextField Create a context field
Endpoint that allows creation of [custom context fields](https://docs.getunleash.io/concepts/unleash-context#custom-context-fields)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateContextFieldRequest
func (*ContextAPIService) CreateContextFieldExecute ¶ added in v0.2.3
func (a *ContextAPIService) CreateContextFieldExecute(r ApiCreateContextFieldRequest) (*ContextFieldSchema, *http.Response, error)
Execute executes the request
@return ContextFieldSchema
func (*ContextAPIService) DeleteContextField ¶ added in v0.2.3
func (a *ContextAPIService) DeleteContextField(ctx context.Context, contextField string) ApiDeleteContextFieldRequest
DeleteContextField Delete an existing context field
Endpoint that allows deletion of a custom context field. Does not validate that context field is not in use, but since context field configuration is stored in a json blob for the strategy, existing strategies are safe.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param contextField @return ApiDeleteContextFieldRequest
func (*ContextAPIService) DeleteContextFieldExecute ¶ added in v0.2.3
func (a *ContextAPIService) DeleteContextFieldExecute(r ApiDeleteContextFieldRequest) (*http.Response, error)
Execute executes the request
func (*ContextAPIService) GetContextField ¶ added in v0.2.3
func (a *ContextAPIService) GetContextField(ctx context.Context, contextField string) ApiGetContextFieldRequest
GetContextField Gets context field
Returns specific [context field](https://docs.getunleash.io/concepts/unleash-context) identified by the name in the path
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param contextField @return ApiGetContextFieldRequest
func (*ContextAPIService) GetContextFieldExecute ¶ added in v0.2.3
func (a *ContextAPIService) GetContextFieldExecute(r ApiGetContextFieldRequest) (*ContextFieldSchema, *http.Response, error)
Execute executes the request
@return ContextFieldSchema
func (*ContextAPIService) GetContextFields ¶ added in v0.2.3
func (a *ContextAPIService) GetContextFields(ctx context.Context) ApiGetContextFieldsRequest
GetContextFields Gets configured context fields
Returns all configured [Context fields](https://docs.getunleash.io/concepts/unleash-context) that have been created.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetContextFieldsRequest
func (*ContextAPIService) GetContextFieldsExecute ¶ added in v0.2.3
func (a *ContextAPIService) GetContextFieldsExecute(r ApiGetContextFieldsRequest) ([]ContextFieldSchema, *http.Response, error)
Execute executes the request
@return []ContextFieldSchema
func (*ContextAPIService) UpdateContextField ¶ added in v0.2.3
func (a *ContextAPIService) UpdateContextField(ctx context.Context, contextField string) ApiUpdateContextFieldRequest
UpdateContextField Update an existing context field
Endpoint that allows updating a custom context field. Used to toggle stickiness and add/remove legal values for this context field
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param contextField @return ApiUpdateContextFieldRequest
func (*ContextAPIService) UpdateContextFieldExecute ¶ added in v0.2.3
func (a *ContextAPIService) UpdateContextFieldExecute(r ApiUpdateContextFieldRequest) (*http.Response, error)
Execute executes the request
type ContextFieldSchema ¶
type ContextFieldSchema struct {
// The name of the context field
Name string `json:"name"`
// The description of the context field.
Description NullableString `json:"description,omitempty"`
// Does this context field support being used for [stickiness](https://docs.getunleash.io/concepts/stickiness) calculations
Stickiness *bool `json:"stickiness,omitempty"`
// Used when sorting a list of context fields. Is also used as a tiebreaker if a list of context fields is sorted alphabetically.
SortOrder *int32 `json:"sortOrder,omitempty"`
// When this context field was created
CreatedAt NullableTime `json:"createdAt,omitempty"`
// Number of projects where this context field is used in
UsedInFeatures NullableInt32 `json:"usedInFeatures,omitempty"`
// Number of projects where this context field is used in
UsedInProjects NullableInt32 `json:"usedInProjects,omitempty"`
// Allowed values for this context field schema. Can be used to narrow down accepted input
LegalValues []LegalValueSchema `json:"legalValues,omitempty"`
// The project this context field belongs to (if it is project-specific)
Project *string `json:"project,omitempty"`
AdditionalProperties map[string]interface{}
}
ContextFieldSchema A representation of a [context field](https://docs.getunleash.io/concepts/unleash-context).
func NewContextFieldSchema ¶
func NewContextFieldSchema(name string) *ContextFieldSchema
NewContextFieldSchema instantiates a new ContextFieldSchema 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 NewContextFieldSchemaWithDefaults ¶
func NewContextFieldSchemaWithDefaults() *ContextFieldSchema
NewContextFieldSchemaWithDefaults instantiates a new ContextFieldSchema 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 (*ContextFieldSchema) GetCreatedAt ¶
func (o *ContextFieldSchema) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ContextFieldSchema) GetCreatedAtOk ¶
func (o *ContextFieldSchema) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ContextFieldSchema) GetDescription ¶
func (o *ContextFieldSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ContextFieldSchema) GetDescriptionOk ¶
func (o *ContextFieldSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ContextFieldSchema) GetLegalValues ¶
func (o *ContextFieldSchema) GetLegalValues() []LegalValueSchema
GetLegalValues returns the LegalValues field value if set, zero value otherwise.
func (*ContextFieldSchema) GetLegalValuesOk ¶
func (o *ContextFieldSchema) GetLegalValuesOk() ([]LegalValueSchema, bool)
GetLegalValuesOk returns a tuple with the LegalValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContextFieldSchema) GetName ¶
func (o *ContextFieldSchema) GetName() string
GetName returns the Name field value
func (*ContextFieldSchema) GetNameOk ¶
func (o *ContextFieldSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ContextFieldSchema) GetProject ¶ added in v0.7.0
func (o *ContextFieldSchema) GetProject() string
GetProject returns the Project field value if set, zero value otherwise.
func (*ContextFieldSchema) GetProjectOk ¶ added in v0.7.0
func (o *ContextFieldSchema) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContextFieldSchema) GetSortOrder ¶
func (o *ContextFieldSchema) GetSortOrder() int32
GetSortOrder returns the SortOrder field value if set, zero value otherwise.
func (*ContextFieldSchema) GetSortOrderOk ¶
func (o *ContextFieldSchema) GetSortOrderOk() (*int32, bool)
GetSortOrderOk returns a tuple with the SortOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContextFieldSchema) GetStickiness ¶
func (o *ContextFieldSchema) GetStickiness() bool
GetStickiness returns the Stickiness field value if set, zero value otherwise.
func (*ContextFieldSchema) GetStickinessOk ¶
func (o *ContextFieldSchema) GetStickinessOk() (*bool, bool)
GetStickinessOk returns a tuple with the Stickiness field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContextFieldSchema) GetUsedInFeatures ¶
func (o *ContextFieldSchema) GetUsedInFeatures() int32
GetUsedInFeatures returns the UsedInFeatures field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ContextFieldSchema) GetUsedInFeaturesOk ¶
func (o *ContextFieldSchema) GetUsedInFeaturesOk() (*int32, bool)
GetUsedInFeaturesOk returns a tuple with the UsedInFeatures field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ContextFieldSchema) GetUsedInProjects ¶
func (o *ContextFieldSchema) GetUsedInProjects() int32
GetUsedInProjects returns the UsedInProjects field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ContextFieldSchema) GetUsedInProjectsOk ¶
func (o *ContextFieldSchema) GetUsedInProjectsOk() (*int32, bool)
GetUsedInProjectsOk returns a tuple with the UsedInProjects field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ContextFieldSchema) HasCreatedAt ¶
func (o *ContextFieldSchema) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ContextFieldSchema) HasDescription ¶
func (o *ContextFieldSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ContextFieldSchema) HasLegalValues ¶
func (o *ContextFieldSchema) HasLegalValues() bool
HasLegalValues returns a boolean if a field has been set.
func (*ContextFieldSchema) HasProject ¶ added in v0.7.0
func (o *ContextFieldSchema) HasProject() bool
HasProject returns a boolean if a field has been set.
func (*ContextFieldSchema) HasSortOrder ¶
func (o *ContextFieldSchema) HasSortOrder() bool
HasSortOrder returns a boolean if a field has been set.
func (*ContextFieldSchema) HasStickiness ¶
func (o *ContextFieldSchema) HasStickiness() bool
HasStickiness returns a boolean if a field has been set.
func (*ContextFieldSchema) HasUsedInFeatures ¶
func (o *ContextFieldSchema) HasUsedInFeatures() bool
HasUsedInFeatures returns a boolean if a field has been set.
func (*ContextFieldSchema) HasUsedInProjects ¶
func (o *ContextFieldSchema) HasUsedInProjects() bool
HasUsedInProjects returns a boolean if a field has been set.
func (ContextFieldSchema) MarshalJSON ¶
func (o ContextFieldSchema) MarshalJSON() ([]byte, error)
func (*ContextFieldSchema) SetCreatedAt ¶
func (o *ContextFieldSchema) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given NullableTime and assigns it to the CreatedAt field.
func (*ContextFieldSchema) SetCreatedAtNil ¶
func (o *ContextFieldSchema) SetCreatedAtNil()
SetCreatedAtNil sets the value for CreatedAt to be an explicit nil
func (*ContextFieldSchema) SetDescription ¶
func (o *ContextFieldSchema) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*ContextFieldSchema) SetDescriptionNil ¶
func (o *ContextFieldSchema) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ContextFieldSchema) SetLegalValues ¶
func (o *ContextFieldSchema) SetLegalValues(v []LegalValueSchema)
SetLegalValues gets a reference to the given []LegalValueSchema and assigns it to the LegalValues field.
func (*ContextFieldSchema) SetName ¶
func (o *ContextFieldSchema) SetName(v string)
SetName sets field value
func (*ContextFieldSchema) SetProject ¶ added in v0.7.0
func (o *ContextFieldSchema) SetProject(v string)
SetProject gets a reference to the given string and assigns it to the Project field.
func (*ContextFieldSchema) SetSortOrder ¶
func (o *ContextFieldSchema) SetSortOrder(v int32)
SetSortOrder gets a reference to the given int32 and assigns it to the SortOrder field.
func (*ContextFieldSchema) SetStickiness ¶
func (o *ContextFieldSchema) SetStickiness(v bool)
SetStickiness gets a reference to the given bool and assigns it to the Stickiness field.
func (*ContextFieldSchema) SetUsedInFeatures ¶
func (o *ContextFieldSchema) SetUsedInFeatures(v int32)
SetUsedInFeatures gets a reference to the given NullableInt32 and assigns it to the UsedInFeatures field.
func (*ContextFieldSchema) SetUsedInFeaturesNil ¶
func (o *ContextFieldSchema) SetUsedInFeaturesNil()
SetUsedInFeaturesNil sets the value for UsedInFeatures to be an explicit nil
func (*ContextFieldSchema) SetUsedInProjects ¶
func (o *ContextFieldSchema) SetUsedInProjects(v int32)
SetUsedInProjects gets a reference to the given NullableInt32 and assigns it to the UsedInProjects field.
func (*ContextFieldSchema) SetUsedInProjectsNil ¶
func (o *ContextFieldSchema) SetUsedInProjectsNil()
SetUsedInProjectsNil sets the value for UsedInProjects to be an explicit nil
func (ContextFieldSchema) ToMap ¶
func (o ContextFieldSchema) ToMap() (map[string]interface{}, error)
func (*ContextFieldSchema) UnmarshalJSON ¶ added in v0.5.2
func (o *ContextFieldSchema) UnmarshalJSON(data []byte) (err error)
func (*ContextFieldSchema) UnsetCreatedAt ¶
func (o *ContextFieldSchema) UnsetCreatedAt()
UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil
func (*ContextFieldSchema) UnsetDescription ¶
func (o *ContextFieldSchema) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*ContextFieldSchema) UnsetUsedInFeatures ¶
func (o *ContextFieldSchema) UnsetUsedInFeatures()
UnsetUsedInFeatures ensures that no value is present for UsedInFeatures, not even an explicit nil
func (*ContextFieldSchema) UnsetUsedInProjects ¶
func (o *ContextFieldSchema) UnsetUsedInProjects()
UnsetUsedInProjects ensures that no value is present for UsedInProjects, not even an explicit nil
type CreateApiTokenSchema ¶
type CreateApiTokenSchema struct {
CreateApiTokenSchemaOneOf *CreateApiTokenSchemaOneOf
}
CreateApiTokenSchema - The data required to create an [Unleash API token](https://docs.getunleash.io/concepts/api-tokens-and-client-keys).
func CreateApiTokenSchemaOneOfAsCreateApiTokenSchema ¶ added in v0.2.3
func CreateApiTokenSchemaOneOfAsCreateApiTokenSchema(v *CreateApiTokenSchemaOneOf) CreateApiTokenSchema
CreateApiTokenSchemaOneOfAsCreateApiTokenSchema is a convenience function that returns CreateApiTokenSchemaOneOf wrapped in CreateApiTokenSchema
func (*CreateApiTokenSchema) GetActualInstance ¶ added in v0.2.3
func (obj *CreateApiTokenSchema) GetActualInstance() interface{}
Get the actual instance
func (CreateApiTokenSchema) MarshalJSON ¶
func (src CreateApiTokenSchema) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateApiTokenSchema) UnmarshalJSON ¶ added in v0.2.3
func (dst *CreateApiTokenSchema) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type CreateApiTokenSchemaOneOf ¶ added in v0.2.3
type CreateApiTokenSchemaOneOf struct {
// The time when this token should expire.
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// A client or frontend token. Must be one of the strings \"client\" (deprecated), \"backend\" (preferred over \"client\") or \"frontend\" (not case sensitive).
Type string `json:"type" validate:"regexp=^([Cc][Ll][Ii][Ee][Nn][Tt]|[Bb][Aa][Cc][Kk][Ee][Nn][Dd]|[Ff][Rr][Oo][Nn][Tt][Ee][Nn][Dd])$"`
// The environment that the token should be valid for. Defaults to \"default\"
Environment *string `json:"environment,omitempty"`
// The project that the token should be valid for. Defaults to \"*\" meaning every project. This property is mutually incompatible with the `projects` property. If you specify one, you cannot specify the other.
Project *string `json:"project,omitempty"`
// A list of projects that the token should be valid for. This property is mutually incompatible with the `project` property. If you specify one, you cannot specify the other.
Projects []string `json:"projects,omitempty"`
// The name of the token.
TokenName string `json:"tokenName"`
AdditionalProperties map[string]interface{}
}
CreateApiTokenSchemaOneOf struct for CreateApiTokenSchemaOneOf
func NewCreateApiTokenSchemaOneOf ¶ added in v0.2.3
func NewCreateApiTokenSchemaOneOf(type_ string, tokenName string) *CreateApiTokenSchemaOneOf
NewCreateApiTokenSchemaOneOf instantiates a new CreateApiTokenSchemaOneOf 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 NewCreateApiTokenSchemaOneOfWithDefaults ¶ added in v0.2.3
func NewCreateApiTokenSchemaOneOfWithDefaults() *CreateApiTokenSchemaOneOf
NewCreateApiTokenSchemaOneOfWithDefaults instantiates a new CreateApiTokenSchemaOneOf 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 (*CreateApiTokenSchemaOneOf) GetEnvironment ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) GetEnvironment() string
GetEnvironment returns the Environment field value if set, zero value otherwise.
func (*CreateApiTokenSchemaOneOf) GetEnvironmentOk ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateApiTokenSchemaOneOf) GetExpiresAt ¶ added in v0.2.3
func (o *CreateApiTokenSchemaOneOf) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*CreateApiTokenSchemaOneOf) GetExpiresAtOk ¶ added in v0.2.3
func (o *CreateApiTokenSchemaOneOf) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateApiTokenSchemaOneOf) GetProject ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) GetProject() string
GetProject returns the Project field value if set, zero value otherwise.
func (*CreateApiTokenSchemaOneOf) GetProjectOk ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateApiTokenSchemaOneOf) GetProjects ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) GetProjects() []string
GetProjects returns the Projects field value if set, zero value otherwise.
func (*CreateApiTokenSchemaOneOf) GetProjectsOk ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) GetProjectsOk() ([]string, bool)
GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateApiTokenSchemaOneOf) GetTokenName ¶ added in v0.2.3
func (o *CreateApiTokenSchemaOneOf) GetTokenName() string
GetTokenName returns the TokenName field value
func (*CreateApiTokenSchemaOneOf) GetTokenNameOk ¶ added in v0.2.3
func (o *CreateApiTokenSchemaOneOf) GetTokenNameOk() (*string, bool)
GetTokenNameOk returns a tuple with the TokenName field value and a boolean to check if the value has been set.
func (*CreateApiTokenSchemaOneOf) GetType ¶ added in v0.2.3
func (o *CreateApiTokenSchemaOneOf) GetType() string
GetType returns the Type field value
func (*CreateApiTokenSchemaOneOf) GetTypeOk ¶ added in v0.2.3
func (o *CreateApiTokenSchemaOneOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*CreateApiTokenSchemaOneOf) HasEnvironment ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) HasEnvironment() bool
HasEnvironment returns a boolean if a field has been set.
func (*CreateApiTokenSchemaOneOf) HasExpiresAt ¶ added in v0.2.3
func (o *CreateApiTokenSchemaOneOf) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*CreateApiTokenSchemaOneOf) HasProject ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) HasProject() bool
HasProject returns a boolean if a field has been set.
func (*CreateApiTokenSchemaOneOf) HasProjects ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) HasProjects() bool
HasProjects returns a boolean if a field has been set.
func (CreateApiTokenSchemaOneOf) MarshalJSON ¶ added in v0.2.3
func (o CreateApiTokenSchemaOneOf) MarshalJSON() ([]byte, error)
func (*CreateApiTokenSchemaOneOf) SetEnvironment ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) SetEnvironment(v string)
SetEnvironment gets a reference to the given string and assigns it to the Environment field.
func (*CreateApiTokenSchemaOneOf) SetExpiresAt ¶ added in v0.2.3
func (o *CreateApiTokenSchemaOneOf) SetExpiresAt(v time.Time)
SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.
func (*CreateApiTokenSchemaOneOf) SetProject ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) SetProject(v string)
SetProject gets a reference to the given string and assigns it to the Project field.
func (*CreateApiTokenSchemaOneOf) SetProjects ¶ added in v0.7.0
func (o *CreateApiTokenSchemaOneOf) SetProjects(v []string)
SetProjects gets a reference to the given []string and assigns it to the Projects field.
func (*CreateApiTokenSchemaOneOf) SetTokenName ¶ added in v0.2.3
func (o *CreateApiTokenSchemaOneOf) SetTokenName(v string)
SetTokenName sets field value
func (*CreateApiTokenSchemaOneOf) SetType ¶ added in v0.2.3
func (o *CreateApiTokenSchemaOneOf) SetType(v string)
SetType sets field value
func (CreateApiTokenSchemaOneOf) ToMap ¶ added in v0.2.3
func (o CreateApiTokenSchemaOneOf) ToMap() (map[string]interface{}, error)
func (*CreateApiTokenSchemaOneOf) UnmarshalJSON ¶ added in v0.3.0
func (o *CreateApiTokenSchemaOneOf) UnmarshalJSON(data []byte) (err error)
type CreateContextFieldSchema ¶ added in v0.2.3
type CreateContextFieldSchema struct {
// A description of the context field
Description *string `json:"description,omitempty"`
// `true` if this field should be available for use with [custom stickiness](https://docs.getunleash.io/concepts/stickiness#custom-stickiness), otherwise `false`
Stickiness *bool `json:"stickiness,omitempty"`
// How this context field should be sorted if no other sort order is selected
SortOrder *int32 `json:"sortOrder,omitempty"`
// A list of allowed values for this context field
LegalValues []LegalValueSchema `json:"legalValues,omitempty"`
// The project this context field belongs to (if it is project-specific)
Project *string `json:"project,omitempty"`
// The name of the context field.
Name string `json:"name"`
AdditionalProperties map[string]interface{}
}
CreateContextFieldSchema Data used to create a context field configuration.
func NewCreateContextFieldSchema ¶ added in v0.2.3
func NewCreateContextFieldSchema(name string) *CreateContextFieldSchema
NewCreateContextFieldSchema instantiates a new CreateContextFieldSchema 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 NewCreateContextFieldSchemaWithDefaults ¶ added in v0.2.3
func NewCreateContextFieldSchemaWithDefaults() *CreateContextFieldSchema
NewCreateContextFieldSchemaWithDefaults instantiates a new CreateContextFieldSchema 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 (*CreateContextFieldSchema) GetDescription ¶ added in v0.2.3
func (o *CreateContextFieldSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateContextFieldSchema) GetDescriptionOk ¶ added in v0.2.3
func (o *CreateContextFieldSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateContextFieldSchema) GetLegalValues ¶ added in v0.2.3
func (o *CreateContextFieldSchema) GetLegalValues() []LegalValueSchema
GetLegalValues returns the LegalValues field value if set, zero value otherwise.
func (*CreateContextFieldSchema) GetLegalValuesOk ¶ added in v0.2.3
func (o *CreateContextFieldSchema) GetLegalValuesOk() ([]LegalValueSchema, bool)
GetLegalValuesOk returns a tuple with the LegalValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateContextFieldSchema) GetName ¶ added in v0.2.3
func (o *CreateContextFieldSchema) GetName() string
GetName returns the Name field value
func (*CreateContextFieldSchema) GetNameOk ¶ added in v0.2.3
func (o *CreateContextFieldSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateContextFieldSchema) GetProject ¶ added in v0.7.0
func (o *CreateContextFieldSchema) GetProject() string
GetProject returns the Project field value if set, zero value otherwise.
func (*CreateContextFieldSchema) GetProjectOk ¶ added in v0.7.0
func (o *CreateContextFieldSchema) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateContextFieldSchema) GetSortOrder ¶ added in v0.2.3
func (o *CreateContextFieldSchema) GetSortOrder() int32
GetSortOrder returns the SortOrder field value if set, zero value otherwise.
func (*CreateContextFieldSchema) GetSortOrderOk ¶ added in v0.2.3
func (o *CreateContextFieldSchema) GetSortOrderOk() (*int32, bool)
GetSortOrderOk returns a tuple with the SortOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateContextFieldSchema) GetStickiness ¶ added in v0.2.3
func (o *CreateContextFieldSchema) GetStickiness() bool
GetStickiness returns the Stickiness field value if set, zero value otherwise.
func (*CreateContextFieldSchema) GetStickinessOk ¶ added in v0.2.3
func (o *CreateContextFieldSchema) GetStickinessOk() (*bool, bool)
GetStickinessOk returns a tuple with the Stickiness field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateContextFieldSchema) HasDescription ¶ added in v0.2.3
func (o *CreateContextFieldSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateContextFieldSchema) HasLegalValues ¶ added in v0.2.3
func (o *CreateContextFieldSchema) HasLegalValues() bool
HasLegalValues returns a boolean if a field has been set.
func (*CreateContextFieldSchema) HasProject ¶ added in v0.7.0
func (o *CreateContextFieldSchema) HasProject() bool
HasProject returns a boolean if a field has been set.
func (*CreateContextFieldSchema) HasSortOrder ¶ added in v0.2.3
func (o *CreateContextFieldSchema) HasSortOrder() bool
HasSortOrder returns a boolean if a field has been set.
func (*CreateContextFieldSchema) HasStickiness ¶ added in v0.2.3
func (o *CreateContextFieldSchema) HasStickiness() bool
HasStickiness returns a boolean if a field has been set.
func (CreateContextFieldSchema) MarshalJSON ¶ added in v0.2.3
func (o CreateContextFieldSchema) MarshalJSON() ([]byte, error)
func (*CreateContextFieldSchema) SetDescription ¶ added in v0.2.3
func (o *CreateContextFieldSchema) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateContextFieldSchema) SetLegalValues ¶ added in v0.2.3
func (o *CreateContextFieldSchema) SetLegalValues(v []LegalValueSchema)
SetLegalValues gets a reference to the given []LegalValueSchema and assigns it to the LegalValues field.
func (*CreateContextFieldSchema) SetName ¶ added in v0.2.3
func (o *CreateContextFieldSchema) SetName(v string)
SetName sets field value
func (*CreateContextFieldSchema) SetProject ¶ added in v0.7.0
func (o *CreateContextFieldSchema) SetProject(v string)
SetProject gets a reference to the given string and assigns it to the Project field.
func (*CreateContextFieldSchema) SetSortOrder ¶ added in v0.2.3
func (o *CreateContextFieldSchema) SetSortOrder(v int32)
SetSortOrder gets a reference to the given int32 and assigns it to the SortOrder field.
func (*CreateContextFieldSchema) SetStickiness ¶ added in v0.2.3
func (o *CreateContextFieldSchema) SetStickiness(v bool)
SetStickiness gets a reference to the given bool and assigns it to the Stickiness field.
func (CreateContextFieldSchema) ToMap ¶ added in v0.2.3
func (o CreateContextFieldSchema) ToMap() (map[string]interface{}, error)
func (*CreateContextFieldSchema) UnmarshalJSON ¶ added in v0.5.2
func (o *CreateContextFieldSchema) UnmarshalJSON(data []byte) (err error)
type CreateEnvironmentSchema ¶
type CreateEnvironmentSchema struct {
// The name of the environment. Must be a URL-friendly string according to [RFC 3968, section 2.3](https://www.rfc-editor.org/rfc/rfc3986#section-2.3)
Name string `json:"name" validate:"regexp=^[a-zA-Z0-9~_.-]+$"`
// The [type of environment](https://docs.getunleash.io/concepts/environments#environment-types) you would like to create. Unleash officially recognizes the following values: - `development` - `test` - `preproduction` - `production` If you pass a string that is not one of the recognized values, Unleash will accept it, but it will carry no special semantics.
Type string `json:"type"`
// Newly created environments are enabled by default. Set this property to `false` to create the environment in a disabled state.
Enabled *bool `json:"enabled,omitempty"`
// Defines where in the list of environments to place this environment. The list uses an ascending sort, so lower numbers are shown first. You can change this value later.
SortOrder *int32 `json:"sortOrder,omitempty"`
// Experimental field. The number of approvals required before a change request can be applied in this environment.
RequiredApprovals NullableInt32 `json:"requiredApprovals,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateEnvironmentSchema Data required to create a new [environment](https://docs.getunleash.io/concepts/environments)
func NewCreateEnvironmentSchema ¶
func NewCreateEnvironmentSchema(name string, type_ string) *CreateEnvironmentSchema
NewCreateEnvironmentSchema instantiates a new CreateEnvironmentSchema 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 NewCreateEnvironmentSchemaWithDefaults ¶
func NewCreateEnvironmentSchemaWithDefaults() *CreateEnvironmentSchema
NewCreateEnvironmentSchemaWithDefaults instantiates a new CreateEnvironmentSchema 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 (*CreateEnvironmentSchema) GetEnabled ¶
func (o *CreateEnvironmentSchema) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*CreateEnvironmentSchema) GetEnabledOk ¶
func (o *CreateEnvironmentSchema) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateEnvironmentSchema) GetName ¶
func (o *CreateEnvironmentSchema) GetName() string
GetName returns the Name field value
func (*CreateEnvironmentSchema) GetNameOk ¶
func (o *CreateEnvironmentSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateEnvironmentSchema) GetRequiredApprovals ¶ added in v0.6.0
func (o *CreateEnvironmentSchema) GetRequiredApprovals() int32
GetRequiredApprovals returns the RequiredApprovals field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateEnvironmentSchema) GetRequiredApprovalsOk ¶ added in v0.6.0
func (o *CreateEnvironmentSchema) GetRequiredApprovalsOk() (*int32, bool)
GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateEnvironmentSchema) GetSortOrder ¶
func (o *CreateEnvironmentSchema) GetSortOrder() int32
GetSortOrder returns the SortOrder field value if set, zero value otherwise.
func (*CreateEnvironmentSchema) GetSortOrderOk ¶
func (o *CreateEnvironmentSchema) GetSortOrderOk() (*int32, bool)
GetSortOrderOk returns a tuple with the SortOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateEnvironmentSchema) GetType ¶
func (o *CreateEnvironmentSchema) GetType() string
GetType returns the Type field value
func (*CreateEnvironmentSchema) GetTypeOk ¶
func (o *CreateEnvironmentSchema) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*CreateEnvironmentSchema) HasEnabled ¶
func (o *CreateEnvironmentSchema) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*CreateEnvironmentSchema) HasRequiredApprovals ¶ added in v0.6.0
func (o *CreateEnvironmentSchema) HasRequiredApprovals() bool
HasRequiredApprovals returns a boolean if a field has been set.
func (*CreateEnvironmentSchema) HasSortOrder ¶
func (o *CreateEnvironmentSchema) HasSortOrder() bool
HasSortOrder returns a boolean if a field has been set.
func (CreateEnvironmentSchema) MarshalJSON ¶
func (o CreateEnvironmentSchema) MarshalJSON() ([]byte, error)
func (*CreateEnvironmentSchema) SetEnabled ¶
func (o *CreateEnvironmentSchema) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*CreateEnvironmentSchema) SetName ¶
func (o *CreateEnvironmentSchema) SetName(v string)
SetName sets field value
func (*CreateEnvironmentSchema) SetRequiredApprovals ¶ added in v0.6.0
func (o *CreateEnvironmentSchema) SetRequiredApprovals(v int32)
SetRequiredApprovals gets a reference to the given NullableInt32 and assigns it to the RequiredApprovals field.
func (*CreateEnvironmentSchema) SetRequiredApprovalsNil ¶ added in v0.6.0
func (o *CreateEnvironmentSchema) SetRequiredApprovalsNil()
SetRequiredApprovalsNil sets the value for RequiredApprovals to be an explicit nil
func (*CreateEnvironmentSchema) SetSortOrder ¶
func (o *CreateEnvironmentSchema) SetSortOrder(v int32)
SetSortOrder gets a reference to the given int32 and assigns it to the SortOrder field.
func (*CreateEnvironmentSchema) SetType ¶
func (o *CreateEnvironmentSchema) SetType(v string)
SetType sets field value
func (CreateEnvironmentSchema) ToMap ¶
func (o CreateEnvironmentSchema) ToMap() (map[string]interface{}, error)
func (*CreateEnvironmentSchema) UnmarshalJSON ¶ added in v0.5.3
func (o *CreateEnvironmentSchema) UnmarshalJSON(data []byte) (err error)
func (*CreateEnvironmentSchema) UnsetRequiredApprovals ¶ added in v0.6.0
func (o *CreateEnvironmentSchema) UnsetRequiredApprovals()
UnsetRequiredApprovals ensures that no value is present for RequiredApprovals, not even an explicit nil
type CreateFeatureNamingPatternSchema ¶ added in v0.2.3
type CreateFeatureNamingPatternSchema struct {
// A JavaScript regular expression pattern, without the start and end delimiters. Optional flags are not allowed.
Pattern NullableString `json:"pattern"`
// An example of a feature name that matches the pattern. Must itself match the pattern supplied.
Example NullableString `json:"example,omitempty"`
// A description of the pattern in a human-readable format. Will be shown to users when they create a new feature flag.
Description NullableString `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateFeatureNamingPatternSchema Create a feature naming pattern
func NewCreateFeatureNamingPatternSchema ¶ added in v0.2.3
func NewCreateFeatureNamingPatternSchema(pattern NullableString) *CreateFeatureNamingPatternSchema
NewCreateFeatureNamingPatternSchema instantiates a new CreateFeatureNamingPatternSchema 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 NewCreateFeatureNamingPatternSchemaWithDefaults ¶ added in v0.2.3
func NewCreateFeatureNamingPatternSchemaWithDefaults() *CreateFeatureNamingPatternSchema
NewCreateFeatureNamingPatternSchemaWithDefaults instantiates a new CreateFeatureNamingPatternSchema 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 (*CreateFeatureNamingPatternSchema) GetDescription ¶ added in v0.5.1
func (o *CreateFeatureNamingPatternSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateFeatureNamingPatternSchema) GetDescriptionOk ¶ added in v0.5.1
func (o *CreateFeatureNamingPatternSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateFeatureNamingPatternSchema) GetExample ¶ added in v0.2.3
func (o *CreateFeatureNamingPatternSchema) GetExample() string
GetExample returns the Example field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateFeatureNamingPatternSchema) GetExampleOk ¶ added in v0.2.3
func (o *CreateFeatureNamingPatternSchema) GetExampleOk() (*string, bool)
GetExampleOk returns a tuple with the Example field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateFeatureNamingPatternSchema) GetPattern ¶ added in v0.2.3
func (o *CreateFeatureNamingPatternSchema) GetPattern() string
GetPattern returns the Pattern field value If the value is explicit nil, the zero value for string will be returned
func (*CreateFeatureNamingPatternSchema) GetPatternOk ¶ added in v0.2.3
func (o *CreateFeatureNamingPatternSchema) GetPatternOk() (*string, bool)
GetPatternOk returns a tuple with the Pattern field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateFeatureNamingPatternSchema) HasDescription ¶ added in v0.5.1
func (o *CreateFeatureNamingPatternSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateFeatureNamingPatternSchema) HasExample ¶ added in v0.2.3
func (o *CreateFeatureNamingPatternSchema) HasExample() bool
HasExample returns a boolean if a field has been set.
func (CreateFeatureNamingPatternSchema) MarshalJSON ¶ added in v0.2.3
func (o CreateFeatureNamingPatternSchema) MarshalJSON() ([]byte, error)
func (*CreateFeatureNamingPatternSchema) SetDescription ¶ added in v0.5.1
func (o *CreateFeatureNamingPatternSchema) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*CreateFeatureNamingPatternSchema) SetDescriptionNil ¶ added in v0.5.1
func (o *CreateFeatureNamingPatternSchema) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*CreateFeatureNamingPatternSchema) SetExample ¶ added in v0.2.3
func (o *CreateFeatureNamingPatternSchema) SetExample(v string)
SetExample gets a reference to the given NullableString and assigns it to the Example field.
func (*CreateFeatureNamingPatternSchema) SetExampleNil ¶ added in v0.2.3
func (o *CreateFeatureNamingPatternSchema) SetExampleNil()
SetExampleNil sets the value for Example to be an explicit nil
func (*CreateFeatureNamingPatternSchema) SetPattern ¶ added in v0.2.3
func (o *CreateFeatureNamingPatternSchema) SetPattern(v string)
SetPattern sets field value
func (CreateFeatureNamingPatternSchema) ToMap ¶ added in v0.2.3
func (o CreateFeatureNamingPatternSchema) ToMap() (map[string]interface{}, error)
func (*CreateFeatureNamingPatternSchema) UnmarshalJSON ¶ added in v0.5.1
func (o *CreateFeatureNamingPatternSchema) UnmarshalJSON(data []byte) (err error)
func (*CreateFeatureNamingPatternSchema) UnsetDescription ¶ added in v0.5.1
func (o *CreateFeatureNamingPatternSchema) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*CreateFeatureNamingPatternSchema) UnsetExample ¶ added in v0.2.3
func (o *CreateFeatureNamingPatternSchema) UnsetExample()
UnsetExample ensures that no value is present for Example, not even an explicit nil
type CreateFeatureStrategySchema ¶
type CreateFeatureStrategySchema struct {
// The name of the strategy type
Name string `json:"name"`
// A descriptive title for the strategy
Title NullableString `json:"title,omitempty"`
// A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs
Disabled NullableBool `json:"disabled,omitempty"`
// The order of the strategy in the list
SortOrder *float32 `json:"sortOrder,omitempty"`
// A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints
Constraints []ConstraintSchema `json:"constraints,omitempty"`
// Strategy level variants
Variants []CreateStrategyVariantSchema `json:"variants,omitempty"`
// A list of parameters for a strategy
Parameters *map[string]string `json:"parameters,omitempty"`
// Ids of segments to use for this strategy
Segments []float32 `json:"segments,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateFeatureStrategySchema Create a strategy configuration in a feature
func NewCreateFeatureStrategySchema ¶
func NewCreateFeatureStrategySchema(name string) *CreateFeatureStrategySchema
NewCreateFeatureStrategySchema instantiates a new CreateFeatureStrategySchema 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 NewCreateFeatureStrategySchemaWithDefaults ¶
func NewCreateFeatureStrategySchemaWithDefaults() *CreateFeatureStrategySchema
NewCreateFeatureStrategySchemaWithDefaults instantiates a new CreateFeatureStrategySchema 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 (*CreateFeatureStrategySchema) GetConstraints ¶
func (o *CreateFeatureStrategySchema) GetConstraints() []ConstraintSchema
GetConstraints returns the Constraints field value if set, zero value otherwise.
func (*CreateFeatureStrategySchema) GetConstraintsOk ¶
func (o *CreateFeatureStrategySchema) GetConstraintsOk() ([]ConstraintSchema, bool)
GetConstraintsOk returns a tuple with the Constraints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFeatureStrategySchema) GetDisabled ¶
func (o *CreateFeatureStrategySchema) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateFeatureStrategySchema) GetDisabledOk ¶
func (o *CreateFeatureStrategySchema) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateFeatureStrategySchema) GetName ¶
func (o *CreateFeatureStrategySchema) GetName() string
GetName returns the Name field value
func (*CreateFeatureStrategySchema) GetNameOk ¶
func (o *CreateFeatureStrategySchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateFeatureStrategySchema) GetParameters ¶
func (o *CreateFeatureStrategySchema) GetParameters() map[string]string
GetParameters returns the Parameters field value if set, zero value otherwise.
func (*CreateFeatureStrategySchema) GetParametersOk ¶
func (o *CreateFeatureStrategySchema) GetParametersOk() (*map[string]string, bool)
GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFeatureStrategySchema) GetSegments ¶
func (o *CreateFeatureStrategySchema) GetSegments() []float32
GetSegments returns the Segments field value if set, zero value otherwise.
func (*CreateFeatureStrategySchema) GetSegmentsOk ¶
func (o *CreateFeatureStrategySchema) GetSegmentsOk() ([]float32, bool)
GetSegmentsOk returns a tuple with the Segments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFeatureStrategySchema) GetSortOrder ¶
func (o *CreateFeatureStrategySchema) GetSortOrder() float32
GetSortOrder returns the SortOrder field value if set, zero value otherwise.
func (*CreateFeatureStrategySchema) GetSortOrderOk ¶
func (o *CreateFeatureStrategySchema) GetSortOrderOk() (*float32, bool)
GetSortOrderOk returns a tuple with the SortOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFeatureStrategySchema) GetTitle ¶
func (o *CreateFeatureStrategySchema) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateFeatureStrategySchema) GetTitleOk ¶
func (o *CreateFeatureStrategySchema) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateFeatureStrategySchema) GetVariants ¶
func (o *CreateFeatureStrategySchema) GetVariants() []CreateStrategyVariantSchema
GetVariants returns the Variants field value if set, zero value otherwise.
func (*CreateFeatureStrategySchema) GetVariantsOk ¶
func (o *CreateFeatureStrategySchema) GetVariantsOk() ([]CreateStrategyVariantSchema, bool)
GetVariantsOk returns a tuple with the Variants field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFeatureStrategySchema) HasConstraints ¶
func (o *CreateFeatureStrategySchema) HasConstraints() bool
HasConstraints returns a boolean if a field has been set.
func (*CreateFeatureStrategySchema) HasDisabled ¶
func (o *CreateFeatureStrategySchema) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*CreateFeatureStrategySchema) HasParameters ¶
func (o *CreateFeatureStrategySchema) HasParameters() bool
HasParameters returns a boolean if a field has been set.
func (*CreateFeatureStrategySchema) HasSegments ¶
func (o *CreateFeatureStrategySchema) HasSegments() bool
HasSegments returns a boolean if a field has been set.
func (*CreateFeatureStrategySchema) HasSortOrder ¶
func (o *CreateFeatureStrategySchema) HasSortOrder() bool
HasSortOrder returns a boolean if a field has been set.
func (*CreateFeatureStrategySchema) HasTitle ¶
func (o *CreateFeatureStrategySchema) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*CreateFeatureStrategySchema) HasVariants ¶
func (o *CreateFeatureStrategySchema) HasVariants() bool
HasVariants returns a boolean if a field has been set.
func (CreateFeatureStrategySchema) MarshalJSON ¶
func (o CreateFeatureStrategySchema) MarshalJSON() ([]byte, error)
func (*CreateFeatureStrategySchema) SetConstraints ¶
func (o *CreateFeatureStrategySchema) SetConstraints(v []ConstraintSchema)
SetConstraints gets a reference to the given []ConstraintSchema and assigns it to the Constraints field.
func (*CreateFeatureStrategySchema) SetDisabled ¶
func (o *CreateFeatureStrategySchema) SetDisabled(v bool)
SetDisabled gets a reference to the given NullableBool and assigns it to the Disabled field.
func (*CreateFeatureStrategySchema) SetDisabledNil ¶
func (o *CreateFeatureStrategySchema) SetDisabledNil()
SetDisabledNil sets the value for Disabled to be an explicit nil
func (*CreateFeatureStrategySchema) SetName ¶
func (o *CreateFeatureStrategySchema) SetName(v string)
SetName sets field value
func (*CreateFeatureStrategySchema) SetParameters ¶
func (o *CreateFeatureStrategySchema) SetParameters(v map[string]string)
SetParameters gets a reference to the given map[string]string and assigns it to the Parameters field.
func (*CreateFeatureStrategySchema) SetSegments ¶
func (o *CreateFeatureStrategySchema) SetSegments(v []float32)
SetSegments gets a reference to the given []float32 and assigns it to the Segments field.
func (*CreateFeatureStrategySchema) SetSortOrder ¶
func (o *CreateFeatureStrategySchema) SetSortOrder(v float32)
SetSortOrder gets a reference to the given float32 and assigns it to the SortOrder field.
func (*CreateFeatureStrategySchema) SetTitle ¶
func (o *CreateFeatureStrategySchema) SetTitle(v string)
SetTitle gets a reference to the given NullableString and assigns it to the Title field.
func (*CreateFeatureStrategySchema) SetTitleNil ¶
func (o *CreateFeatureStrategySchema) SetTitleNil()
SetTitleNil sets the value for Title to be an explicit nil
func (*CreateFeatureStrategySchema) SetVariants ¶
func (o *CreateFeatureStrategySchema) SetVariants(v []CreateStrategyVariantSchema)
SetVariants gets a reference to the given []CreateStrategyVariantSchema and assigns it to the Variants field.
func (CreateFeatureStrategySchema) ToMap ¶
func (o CreateFeatureStrategySchema) ToMap() (map[string]interface{}, error)
func (*CreateFeatureStrategySchema) UnmarshalJSON ¶ added in v0.5.4
func (o *CreateFeatureStrategySchema) UnmarshalJSON(data []byte) (err error)
func (*CreateFeatureStrategySchema) UnsetDisabled ¶
func (o *CreateFeatureStrategySchema) UnsetDisabled()
UnsetDisabled ensures that no value is present for Disabled, not even an explicit nil
func (*CreateFeatureStrategySchema) UnsetTitle ¶
func (o *CreateFeatureStrategySchema) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
type CreateGroup409Response ¶
type CreateGroup409Response struct {
// The ID of the error instance
Id *string `json:"id,omitempty"`
// The name of the error kind
Name *string `json:"name,omitempty"`
// A description of what went wrong.
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateGroup409Response struct for CreateGroup409Response
func NewCreateGroup409Response ¶
func NewCreateGroup409Response() *CreateGroup409Response
NewCreateGroup409Response instantiates a new CreateGroup409Response 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 NewCreateGroup409ResponseWithDefaults ¶
func NewCreateGroup409ResponseWithDefaults() *CreateGroup409Response
NewCreateGroup409ResponseWithDefaults instantiates a new CreateGroup409Response 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 (*CreateGroup409Response) GetId ¶
func (o *CreateGroup409Response) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateGroup409Response) GetIdOk ¶
func (o *CreateGroup409Response) GetIdOk() (*string, bool)
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 (*CreateGroup409Response) GetMessage ¶
func (o *CreateGroup409Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*CreateGroup409Response) GetMessageOk ¶
func (o *CreateGroup409Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroup409Response) GetName ¶
func (o *CreateGroup409Response) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateGroup409Response) GetNameOk ¶
func (o *CreateGroup409Response) GetNameOk() (*string, bool)
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 (*CreateGroup409Response) HasId ¶
func (o *CreateGroup409Response) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateGroup409Response) HasMessage ¶
func (o *CreateGroup409Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*CreateGroup409Response) HasName ¶
func (o *CreateGroup409Response) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateGroup409Response) MarshalJSON ¶
func (o CreateGroup409Response) MarshalJSON() ([]byte, error)
func (*CreateGroup409Response) SetId ¶
func (o *CreateGroup409Response) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateGroup409Response) SetMessage ¶
func (o *CreateGroup409Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*CreateGroup409Response) SetName ¶
func (o *CreateGroup409Response) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (CreateGroup409Response) ToMap ¶
func (o CreateGroup409Response) ToMap() (map[string]interface{}, error)
func (*CreateGroup409Response) UnmarshalJSON ¶ added in v0.7.0
func (o *CreateGroup409Response) UnmarshalJSON(data []byte) (err error)
type CreateGroupSchema ¶
type CreateGroupSchema struct {
// The name of the group
Name string `json:"name"`
// A custom description of the group
Description NullableString `json:"description,omitempty"`
// A list of SSO groups that should map to this Unleash group
MappingsSSO []string `json:"mappingsSSO,omitempty"`
// A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role.
RootRole NullableFloat32 `json:"rootRole,omitempty"`
// A list of users belonging to this group
Users []CreateGroupSchemaUsersInner `json:"users,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateGroupSchema A detailed information about a user group
func NewCreateGroupSchema ¶
func NewCreateGroupSchema(name string) *CreateGroupSchema
NewCreateGroupSchema instantiates a new CreateGroupSchema 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 NewCreateGroupSchemaWithDefaults ¶
func NewCreateGroupSchemaWithDefaults() *CreateGroupSchema
NewCreateGroupSchemaWithDefaults instantiates a new CreateGroupSchema 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 (*CreateGroupSchema) GetDescription ¶
func (o *CreateGroupSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateGroupSchema) GetDescriptionOk ¶
func (o *CreateGroupSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateGroupSchema) GetMappingsSSO ¶
func (o *CreateGroupSchema) GetMappingsSSO() []string
GetMappingsSSO returns the MappingsSSO field value if set, zero value otherwise.
func (*CreateGroupSchema) GetMappingsSSOOk ¶
func (o *CreateGroupSchema) GetMappingsSSOOk() ([]string, bool)
GetMappingsSSOOk returns a tuple with the MappingsSSO field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupSchema) GetName ¶
func (o *CreateGroupSchema) GetName() string
GetName returns the Name field value
func (*CreateGroupSchema) GetNameOk ¶
func (o *CreateGroupSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateGroupSchema) GetRootRole ¶
func (o *CreateGroupSchema) GetRootRole() float32
GetRootRole returns the RootRole field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateGroupSchema) GetRootRoleOk ¶
func (o *CreateGroupSchema) GetRootRoleOk() (*float32, bool)
GetRootRoleOk returns a tuple with the RootRole field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateGroupSchema) GetUsers ¶
func (o *CreateGroupSchema) GetUsers() []CreateGroupSchemaUsersInner
GetUsers returns the Users field value if set, zero value otherwise.
func (*CreateGroupSchema) GetUsersOk ¶
func (o *CreateGroupSchema) GetUsersOk() ([]CreateGroupSchemaUsersInner, bool)
GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupSchema) HasDescription ¶
func (o *CreateGroupSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateGroupSchema) HasMappingsSSO ¶
func (o *CreateGroupSchema) HasMappingsSSO() bool
HasMappingsSSO returns a boolean if a field has been set.
func (*CreateGroupSchema) HasRootRole ¶
func (o *CreateGroupSchema) HasRootRole() bool
HasRootRole returns a boolean if a field has been set.
func (*CreateGroupSchema) HasUsers ¶
func (o *CreateGroupSchema) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (CreateGroupSchema) MarshalJSON ¶
func (o CreateGroupSchema) MarshalJSON() ([]byte, error)
func (*CreateGroupSchema) SetDescription ¶
func (o *CreateGroupSchema) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*CreateGroupSchema) SetDescriptionNil ¶
func (o *CreateGroupSchema) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*CreateGroupSchema) SetMappingsSSO ¶
func (o *CreateGroupSchema) SetMappingsSSO(v []string)
SetMappingsSSO gets a reference to the given []string and assigns it to the MappingsSSO field.
func (*CreateGroupSchema) SetName ¶
func (o *CreateGroupSchema) SetName(v string)
SetName sets field value
func (*CreateGroupSchema) SetRootRole ¶
func (o *CreateGroupSchema) SetRootRole(v float32)
SetRootRole gets a reference to the given NullableFloat32 and assigns it to the RootRole field.
func (*CreateGroupSchema) SetRootRoleNil ¶
func (o *CreateGroupSchema) SetRootRoleNil()
SetRootRoleNil sets the value for RootRole to be an explicit nil
func (*CreateGroupSchema) SetUsers ¶
func (o *CreateGroupSchema) SetUsers(v []CreateGroupSchemaUsersInner)
SetUsers gets a reference to the given []CreateGroupSchemaUsersInner and assigns it to the Users field.
func (CreateGroupSchema) ToMap ¶
func (o CreateGroupSchema) ToMap() (map[string]interface{}, error)
func (*CreateGroupSchema) UnmarshalJSON ¶
func (o *CreateGroupSchema) UnmarshalJSON(data []byte) (err error)
func (*CreateGroupSchema) UnsetDescription ¶
func (o *CreateGroupSchema) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*CreateGroupSchema) UnsetRootRole ¶
func (o *CreateGroupSchema) UnsetRootRole()
UnsetRootRole ensures that no value is present for RootRole, not even an explicit nil
type CreateGroupSchemaUsersInner ¶
type CreateGroupSchemaUsersInner struct {
User CreateGroupSchemaUsersInnerUser `json:"user"`
AdditionalProperties map[string]interface{}
}
CreateGroupSchemaUsersInner A minimal user object
func NewCreateGroupSchemaUsersInner ¶
func NewCreateGroupSchemaUsersInner(user CreateGroupSchemaUsersInnerUser) *CreateGroupSchemaUsersInner
NewCreateGroupSchemaUsersInner instantiates a new CreateGroupSchemaUsersInner 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 NewCreateGroupSchemaUsersInnerWithDefaults ¶
func NewCreateGroupSchemaUsersInnerWithDefaults() *CreateGroupSchemaUsersInner
NewCreateGroupSchemaUsersInnerWithDefaults instantiates a new CreateGroupSchemaUsersInner 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 (*CreateGroupSchemaUsersInner) GetUser ¶
func (o *CreateGroupSchemaUsersInner) GetUser() CreateGroupSchemaUsersInnerUser
GetUser returns the User field value
func (*CreateGroupSchemaUsersInner) GetUserOk ¶
func (o *CreateGroupSchemaUsersInner) GetUserOk() (*CreateGroupSchemaUsersInnerUser, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (CreateGroupSchemaUsersInner) MarshalJSON ¶
func (o CreateGroupSchemaUsersInner) MarshalJSON() ([]byte, error)
func (*CreateGroupSchemaUsersInner) SetUser ¶
func (o *CreateGroupSchemaUsersInner) SetUser(v CreateGroupSchemaUsersInnerUser)
SetUser sets field value
func (CreateGroupSchemaUsersInner) ToMap ¶
func (o CreateGroupSchemaUsersInner) ToMap() (map[string]interface{}, error)
func (*CreateGroupSchemaUsersInner) UnmarshalJSON ¶ added in v0.7.0
func (o *CreateGroupSchemaUsersInner) UnmarshalJSON(data []byte) (err error)
type CreateGroupSchemaUsersInnerUser ¶
type CreateGroupSchemaUsersInnerUser struct {
// The user id
Id int32 `json:"id"`
AdditionalProperties map[string]interface{}
}
CreateGroupSchemaUsersInnerUser A minimal user object
func NewCreateGroupSchemaUsersInnerUser ¶
func NewCreateGroupSchemaUsersInnerUser(id int32) *CreateGroupSchemaUsersInnerUser
NewCreateGroupSchemaUsersInnerUser instantiates a new CreateGroupSchemaUsersInnerUser 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 NewCreateGroupSchemaUsersInnerUserWithDefaults ¶
func NewCreateGroupSchemaUsersInnerUserWithDefaults() *CreateGroupSchemaUsersInnerUser
NewCreateGroupSchemaUsersInnerUserWithDefaults instantiates a new CreateGroupSchemaUsersInnerUser 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 (*CreateGroupSchemaUsersInnerUser) GetId ¶
func (o *CreateGroupSchemaUsersInnerUser) GetId() int32
GetId returns the Id field value
func (*CreateGroupSchemaUsersInnerUser) GetIdOk ¶
func (o *CreateGroupSchemaUsersInnerUser) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (CreateGroupSchemaUsersInnerUser) MarshalJSON ¶
func (o CreateGroupSchemaUsersInnerUser) MarshalJSON() ([]byte, error)
func (*CreateGroupSchemaUsersInnerUser) SetId ¶
func (o *CreateGroupSchemaUsersInnerUser) SetId(v int32)
SetId sets field value
func (CreateGroupSchemaUsersInnerUser) ToMap ¶
func (o CreateGroupSchemaUsersInnerUser) ToMap() (map[string]interface{}, error)
func (*CreateGroupSchemaUsersInnerUser) UnmarshalJSON ¶ added in v0.7.0
func (o *CreateGroupSchemaUsersInnerUser) UnmarshalJSON(data []byte) (err error)
type CreatePatSchema ¶ added in v0.3.0
type CreatePatSchema struct {
// The PAT's description.
Description string `json:"description"`
// The PAT's expiration date.
ExpiresAt time.Time `json:"expiresAt"`
AdditionalProperties map[string]interface{}
}
CreatePatSchema Describes the properties required to create a [personal access token](https://docs.getunleash.io/concepts/api-tokens-and-client-keys#personal-access-tokens), or PAT. PATs are automatically scoped to the authenticated user.
func NewCreatePatSchema ¶ added in v0.3.0
func NewCreatePatSchema(description string, expiresAt time.Time) *CreatePatSchema
NewCreatePatSchema instantiates a new CreatePatSchema 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 NewCreatePatSchemaWithDefaults ¶ added in v0.3.0
func NewCreatePatSchemaWithDefaults() *CreatePatSchema
NewCreatePatSchemaWithDefaults instantiates a new CreatePatSchema 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 (*CreatePatSchema) GetDescription ¶ added in v0.3.0
func (o *CreatePatSchema) GetDescription() string
GetDescription returns the Description field value
func (*CreatePatSchema) GetDescriptionOk ¶ added in v0.3.0
func (o *CreatePatSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*CreatePatSchema) GetExpiresAt ¶ added in v0.3.0
func (o *CreatePatSchema) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value
func (*CreatePatSchema) GetExpiresAtOk ¶ added in v0.3.0
func (o *CreatePatSchema) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (CreatePatSchema) MarshalJSON ¶ added in v0.3.0
func (o CreatePatSchema) MarshalJSON() ([]byte, error)
func (*CreatePatSchema) SetDescription ¶ added in v0.3.0
func (o *CreatePatSchema) SetDescription(v string)
SetDescription sets field value
func (*CreatePatSchema) SetExpiresAt ¶ added in v0.3.0
func (o *CreatePatSchema) SetExpiresAt(v time.Time)
SetExpiresAt sets field value
func (CreatePatSchema) ToMap ¶ added in v0.3.0
func (o CreatePatSchema) ToMap() (map[string]interface{}, error)
func (*CreatePatSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *CreatePatSchema) UnmarshalJSON(data []byte) (err error)
type CreateProject400Response ¶ added in v0.2.4
type CreateProject400Response struct {
// The ID of the error instance
Id *string `json:"id,omitempty"`
// The name of the error kind
Name *string `json:"name,omitempty"`
// A description of what went wrong.
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateProject400Response struct for CreateProject400Response
func NewCreateProject400Response ¶ added in v0.2.4
func NewCreateProject400Response() *CreateProject400Response
NewCreateProject400Response instantiates a new CreateProject400Response 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 NewCreateProject400ResponseWithDefaults ¶ added in v0.2.4
func NewCreateProject400ResponseWithDefaults() *CreateProject400Response
NewCreateProject400ResponseWithDefaults instantiates a new CreateProject400Response 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 (*CreateProject400Response) GetId ¶ added in v0.2.4
func (o *CreateProject400Response) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateProject400Response) GetIdOk ¶ added in v0.2.4
func (o *CreateProject400Response) GetIdOk() (*string, bool)
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 (*CreateProject400Response) GetMessage ¶ added in v0.2.4
func (o *CreateProject400Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*CreateProject400Response) GetMessageOk ¶ added in v0.2.4
func (o *CreateProject400Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProject400Response) GetName ¶ added in v0.2.4
func (o *CreateProject400Response) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateProject400Response) GetNameOk ¶ added in v0.2.4
func (o *CreateProject400Response) GetNameOk() (*string, bool)
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 (*CreateProject400Response) HasId ¶ added in v0.2.4
func (o *CreateProject400Response) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateProject400Response) HasMessage ¶ added in v0.2.4
func (o *CreateProject400Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*CreateProject400Response) HasName ¶ added in v0.2.4
func (o *CreateProject400Response) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateProject400Response) MarshalJSON ¶ added in v0.2.4
func (o CreateProject400Response) MarshalJSON() ([]byte, error)
func (*CreateProject400Response) SetId ¶ added in v0.2.4
func (o *CreateProject400Response) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateProject400Response) SetMessage ¶ added in v0.2.4
func (o *CreateProject400Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*CreateProject400Response) SetName ¶ added in v0.2.4
func (o *CreateProject400Response) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (CreateProject400Response) ToMap ¶ added in v0.2.4
func (o CreateProject400Response) ToMap() (map[string]interface{}, error)
func (*CreateProject400Response) UnmarshalJSON ¶ added in v0.6.0
func (o *CreateProject400Response) UnmarshalJSON(data []byte) (err error)
type CreateProject415Response ¶ added in v0.2.4
type CreateProject415Response struct {
// The ID of the error instance
Id *string `json:"id,omitempty"`
// The name of the error kind
Name *string `json:"name,omitempty"`
// A description of what went wrong.
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateProject415Response struct for CreateProject415Response
func NewCreateProject415Response ¶ added in v0.2.4
func NewCreateProject415Response() *CreateProject415Response
NewCreateProject415Response instantiates a new CreateProject415Response 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 NewCreateProject415ResponseWithDefaults ¶ added in v0.2.4
func NewCreateProject415ResponseWithDefaults() *CreateProject415Response
NewCreateProject415ResponseWithDefaults instantiates a new CreateProject415Response 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 (*CreateProject415Response) GetId ¶ added in v0.2.4
func (o *CreateProject415Response) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateProject415Response) GetIdOk ¶ added in v0.2.4
func (o *CreateProject415Response) GetIdOk() (*string, bool)
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 (*CreateProject415Response) GetMessage ¶ added in v0.2.4
func (o *CreateProject415Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*CreateProject415Response) GetMessageOk ¶ added in v0.2.4
func (o *CreateProject415Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProject415Response) GetName ¶ added in v0.2.4
func (o *CreateProject415Response) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateProject415Response) GetNameOk ¶ added in v0.2.4
func (o *CreateProject415Response) GetNameOk() (*string, bool)
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 (*CreateProject415Response) HasId ¶ added in v0.2.4
func (o *CreateProject415Response) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateProject415Response) HasMessage ¶ added in v0.2.4
func (o *CreateProject415Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*CreateProject415Response) HasName ¶ added in v0.2.4
func (o *CreateProject415Response) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateProject415Response) MarshalJSON ¶ added in v0.2.4
func (o CreateProject415Response) MarshalJSON() ([]byte, error)
func (*CreateProject415Response) SetId ¶ added in v0.2.4
func (o *CreateProject415Response) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateProject415Response) SetMessage ¶ added in v0.2.4
func (o *CreateProject415Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*CreateProject415Response) SetName ¶ added in v0.2.4
func (o *CreateProject415Response) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (CreateProject415Response) ToMap ¶ added in v0.2.4
func (o CreateProject415Response) ToMap() (map[string]interface{}, error)
func (*CreateProject415Response) UnmarshalJSON ¶ added in v0.6.0
func (o *CreateProject415Response) UnmarshalJSON(data []byte) (err error)
type CreateProjectSchema ¶
type CreateProjectSchema struct {
// The project's identifier. If this property is not present or is an empty string, Unleash will generate the project id automatically. This property is deprecated.
// Deprecated
Id *string `json:"id,omitempty" validate:"regexp=[A-Za-z0-9_~.-]*"`
// The project's name. The name must contain at least one non-whitespace character.
Name string `json:"name" validate:"regexp=^(?!\\\\s*$).+"`
// The project's description.
Description NullableString `json:"description,omitempty"`
// A mode of the project affecting what actions are possible in this project
Mode *string `json:"mode,omitempty"`
// A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy
DefaultStickiness *string `json:"defaultStickiness,omitempty"`
// A list of environments that should be enabled for this project. If this property is missing, Unleash will default to enabling all non-deprecated environments for the project. An empty list will result in no environment enabled for the project.
Environments []string `json:"environments,omitempty"`
// A list of environments that should have change requests enabled. If the list includes environments not in the `environments` list, they will still have change requests enabled.
ChangeRequestEnvironments []CreateProjectSchemaChangeRequestEnvironmentsInner `json:"changeRequestEnvironments,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateProjectSchema Data used to create a new [project](https://docs.getunleash.io/concepts/projects).
func NewCreateProjectSchema ¶
func NewCreateProjectSchema(name string) *CreateProjectSchema
NewCreateProjectSchema instantiates a new CreateProjectSchema 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 NewCreateProjectSchemaWithDefaults ¶
func NewCreateProjectSchemaWithDefaults() *CreateProjectSchema
NewCreateProjectSchemaWithDefaults instantiates a new CreateProjectSchema 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 (*CreateProjectSchema) GetChangeRequestEnvironments ¶ added in v0.3.0
func (o *CreateProjectSchema) GetChangeRequestEnvironments() []CreateProjectSchemaChangeRequestEnvironmentsInner
GetChangeRequestEnvironments returns the ChangeRequestEnvironments field value if set, zero value otherwise.
func (*CreateProjectSchema) GetChangeRequestEnvironmentsOk ¶ added in v0.3.0
func (o *CreateProjectSchema) GetChangeRequestEnvironmentsOk() ([]CreateProjectSchemaChangeRequestEnvironmentsInner, bool)
GetChangeRequestEnvironmentsOk returns a tuple with the ChangeRequestEnvironments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProjectSchema) GetDefaultStickiness ¶
func (o *CreateProjectSchema) GetDefaultStickiness() string
GetDefaultStickiness returns the DefaultStickiness field value if set, zero value otherwise.
func (*CreateProjectSchema) GetDefaultStickinessOk ¶
func (o *CreateProjectSchema) GetDefaultStickinessOk() (*string, bool)
GetDefaultStickinessOk returns a tuple with the DefaultStickiness field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProjectSchema) GetDescription ¶
func (o *CreateProjectSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateProjectSchema) GetDescriptionOk ¶
func (o *CreateProjectSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateProjectSchema) GetEnvironments ¶ added in v0.3.0
func (o *CreateProjectSchema) GetEnvironments() []string
GetEnvironments returns the Environments field value if set, zero value otherwise.
func (*CreateProjectSchema) GetEnvironmentsOk ¶ added in v0.3.0
func (o *CreateProjectSchema) GetEnvironmentsOk() ([]string, bool)
GetEnvironmentsOk returns a tuple with the Environments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProjectSchema) GetId ¶
func (o *CreateProjectSchema) GetId() string
GetId returns the Id field value if set, zero value otherwise. Deprecated
func (*CreateProjectSchema) GetIdOk ¶
func (o *CreateProjectSchema) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*CreateProjectSchema) GetMode ¶
func (o *CreateProjectSchema) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*CreateProjectSchema) GetModeOk ¶
func (o *CreateProjectSchema) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProjectSchema) GetName ¶
func (o *CreateProjectSchema) GetName() string
GetName returns the Name field value
func (*CreateProjectSchema) GetNameOk ¶
func (o *CreateProjectSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateProjectSchema) HasChangeRequestEnvironments ¶ added in v0.3.0
func (o *CreateProjectSchema) HasChangeRequestEnvironments() bool
HasChangeRequestEnvironments returns a boolean if a field has been set.
func (*CreateProjectSchema) HasDefaultStickiness ¶
func (o *CreateProjectSchema) HasDefaultStickiness() bool
HasDefaultStickiness returns a boolean if a field has been set.
func (*CreateProjectSchema) HasDescription ¶
func (o *CreateProjectSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateProjectSchema) HasEnvironments ¶ added in v0.3.0
func (o *CreateProjectSchema) HasEnvironments() bool
HasEnvironments returns a boolean if a field has been set.
func (*CreateProjectSchema) HasId ¶ added in v0.3.0
func (o *CreateProjectSchema) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateProjectSchema) HasMode ¶
func (o *CreateProjectSchema) HasMode() bool
HasMode returns a boolean if a field has been set.
func (CreateProjectSchema) MarshalJSON ¶
func (o CreateProjectSchema) MarshalJSON() ([]byte, error)
func (*CreateProjectSchema) SetChangeRequestEnvironments ¶ added in v0.3.0
func (o *CreateProjectSchema) SetChangeRequestEnvironments(v []CreateProjectSchemaChangeRequestEnvironmentsInner)
SetChangeRequestEnvironments gets a reference to the given []CreateProjectSchemaChangeRequestEnvironmentsInner and assigns it to the ChangeRequestEnvironments field.
func (*CreateProjectSchema) SetDefaultStickiness ¶
func (o *CreateProjectSchema) SetDefaultStickiness(v string)
SetDefaultStickiness gets a reference to the given string and assigns it to the DefaultStickiness field.
func (*CreateProjectSchema) SetDescription ¶
func (o *CreateProjectSchema) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*CreateProjectSchema) SetDescriptionNil ¶
func (o *CreateProjectSchema) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*CreateProjectSchema) SetEnvironments ¶ added in v0.3.0
func (o *CreateProjectSchema) SetEnvironments(v []string)
SetEnvironments gets a reference to the given []string and assigns it to the Environments field.
func (*CreateProjectSchema) SetId ¶
func (o *CreateProjectSchema) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field. Deprecated
func (*CreateProjectSchema) SetMode ¶
func (o *CreateProjectSchema) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*CreateProjectSchema) SetName ¶
func (o *CreateProjectSchema) SetName(v string)
SetName sets field value
func (CreateProjectSchema) ToMap ¶
func (o CreateProjectSchema) ToMap() (map[string]interface{}, error)
func (*CreateProjectSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *CreateProjectSchema) UnmarshalJSON(data []byte) (err error)
func (*CreateProjectSchema) UnsetDescription ¶
func (o *CreateProjectSchema) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
type CreateProjectSchemaChangeRequestEnvironmentsInner ¶ added in v0.3.0
type CreateProjectSchemaChangeRequestEnvironmentsInner struct {
// The name of the environment to configure change requests for.
Name string `json:"name"`
// The number of approvals required for a change request to be fully approved and ready to applied in this environment. If no value is provided, it will be set to the default number, which is 1. Values will be clamped to between 1 and 10 inclusive.
RequiredApprovals *int32 `json:"requiredApprovals,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateProjectSchemaChangeRequestEnvironmentsInner struct for CreateProjectSchemaChangeRequestEnvironmentsInner
func NewCreateProjectSchemaChangeRequestEnvironmentsInner ¶ added in v0.3.0
func NewCreateProjectSchemaChangeRequestEnvironmentsInner(name string) *CreateProjectSchemaChangeRequestEnvironmentsInner
NewCreateProjectSchemaChangeRequestEnvironmentsInner instantiates a new CreateProjectSchemaChangeRequestEnvironmentsInner 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 NewCreateProjectSchemaChangeRequestEnvironmentsInnerWithDefaults ¶ added in v0.3.0
func NewCreateProjectSchemaChangeRequestEnvironmentsInnerWithDefaults() *CreateProjectSchemaChangeRequestEnvironmentsInner
NewCreateProjectSchemaChangeRequestEnvironmentsInnerWithDefaults instantiates a new CreateProjectSchemaChangeRequestEnvironmentsInner 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 (*CreateProjectSchemaChangeRequestEnvironmentsInner) GetName ¶ added in v0.3.0
func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) GetName() string
GetName returns the Name field value
func (*CreateProjectSchemaChangeRequestEnvironmentsInner) GetNameOk ¶ added in v0.3.0
func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateProjectSchemaChangeRequestEnvironmentsInner) GetRequiredApprovals ¶ added in v0.3.0
func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) GetRequiredApprovals() int32
GetRequiredApprovals returns the RequiredApprovals field value if set, zero value otherwise.
func (*CreateProjectSchemaChangeRequestEnvironmentsInner) GetRequiredApprovalsOk ¶ added in v0.3.0
func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) GetRequiredApprovalsOk() (*int32, bool)
GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProjectSchemaChangeRequestEnvironmentsInner) HasRequiredApprovals ¶ added in v0.3.0
func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) HasRequiredApprovals() bool
HasRequiredApprovals returns a boolean if a field has been set.
func (CreateProjectSchemaChangeRequestEnvironmentsInner) MarshalJSON ¶ added in v0.3.0
func (o CreateProjectSchemaChangeRequestEnvironmentsInner) MarshalJSON() ([]byte, error)
func (*CreateProjectSchemaChangeRequestEnvironmentsInner) SetName ¶ added in v0.3.0
func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) SetName(v string)
SetName sets field value
func (*CreateProjectSchemaChangeRequestEnvironmentsInner) SetRequiredApprovals ¶ added in v0.3.0
func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) SetRequiredApprovals(v int32)
SetRequiredApprovals gets a reference to the given int32 and assigns it to the RequiredApprovals field.
func (CreateProjectSchemaChangeRequestEnvironmentsInner) ToMap ¶ added in v0.3.0
func (o CreateProjectSchemaChangeRequestEnvironmentsInner) ToMap() (map[string]interface{}, error)
func (*CreateProjectSchemaChangeRequestEnvironmentsInner) UnmarshalJSON ¶ added in v0.3.0
func (o *CreateProjectSchemaChangeRequestEnvironmentsInner) UnmarshalJSON(data []byte) (err error)
type CreateRoleWithPermissionsSchema ¶
type CreateRoleWithPermissionsSchema struct {
CreateRoleWithPermissionsSchemaAnyOf *CreateRoleWithPermissionsSchemaAnyOf
CreateRoleWithPermissionsSchemaAnyOf1 *CreateRoleWithPermissionsSchemaAnyOf1
}
CreateRoleWithPermissionsSchema A write model for the custom role and permissions to allow Unleash to decide what actions a role holder is allowed to perform
func (*CreateRoleWithPermissionsSchema) MarshalJSON ¶
func (src *CreateRoleWithPermissionsSchema) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateRoleWithPermissionsSchema) UnmarshalJSON ¶ added in v0.2.6
func (dst *CreateRoleWithPermissionsSchema) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type CreateRoleWithPermissionsSchemaAnyOf ¶ added in v0.2.8
type CreateRoleWithPermissionsSchemaAnyOf struct {
// The name of the custom role
Name string `json:"name"`
// A more detailed description of the custom role and what use it's intended for
Description *string `json:"description,omitempty"`
// [Custom root roles](https://docs.getunleash.io/concepts/rbac#custom-root-roles) (type=root-custom) are root roles with a custom set of permissions. [Custom project roles](https://docs.getunleash.io/concepts/rbac#custom-project-roles) (type=custom) contain a specific set of permissions for project resources.
Type *string `json:"type,omitempty"`
// A list of permissions assigned to this role
Permissions []CreateRoleWithPermissionsSchemaAnyOfPermissionsInner `json:"permissions,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateRoleWithPermissionsSchemaAnyOf struct for CreateRoleWithPermissionsSchemaAnyOf
func NewCreateRoleWithPermissionsSchemaAnyOf ¶ added in v0.2.8
func NewCreateRoleWithPermissionsSchemaAnyOf(name string) *CreateRoleWithPermissionsSchemaAnyOf
NewCreateRoleWithPermissionsSchemaAnyOf instantiates a new CreateRoleWithPermissionsSchemaAnyOf 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 NewCreateRoleWithPermissionsSchemaAnyOfWithDefaults ¶ added in v0.2.8
func NewCreateRoleWithPermissionsSchemaAnyOfWithDefaults() *CreateRoleWithPermissionsSchemaAnyOf
NewCreateRoleWithPermissionsSchemaAnyOfWithDefaults instantiates a new CreateRoleWithPermissionsSchemaAnyOf 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 (*CreateRoleWithPermissionsSchemaAnyOf) GetDescription ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateRoleWithPermissionsSchemaAnyOf) GetDescriptionOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf) GetName ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) GetName() string
GetName returns the Name field value
func (*CreateRoleWithPermissionsSchemaAnyOf) GetNameOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf) GetPermissions ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) GetPermissions() []CreateRoleWithPermissionsSchemaAnyOfPermissionsInner
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*CreateRoleWithPermissionsSchemaAnyOf) GetPermissionsOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) GetPermissionsOk() ([]CreateRoleWithPermissionsSchemaAnyOfPermissionsInner, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf) GetType ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*CreateRoleWithPermissionsSchemaAnyOf) GetTypeOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) GetTypeOk() (*string, bool)
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 (*CreateRoleWithPermissionsSchemaAnyOf) HasDescription ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf) HasPermissions ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf) HasType ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) HasType() bool
HasType returns a boolean if a field has been set.
func (CreateRoleWithPermissionsSchemaAnyOf) MarshalJSON ¶ added in v0.2.8
func (o CreateRoleWithPermissionsSchemaAnyOf) MarshalJSON() ([]byte, error)
func (*CreateRoleWithPermissionsSchemaAnyOf) SetDescription ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateRoleWithPermissionsSchemaAnyOf) SetName ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) SetName(v string)
SetName sets field value
func (*CreateRoleWithPermissionsSchemaAnyOf) SetPermissions ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) SetPermissions(v []CreateRoleWithPermissionsSchemaAnyOfPermissionsInner)
SetPermissions gets a reference to the given []CreateRoleWithPermissionsSchemaAnyOfPermissionsInner and assigns it to the Permissions field.
func (*CreateRoleWithPermissionsSchemaAnyOf) SetType ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (CreateRoleWithPermissionsSchemaAnyOf) ToMap ¶ added in v0.2.8
func (o CreateRoleWithPermissionsSchemaAnyOf) ToMap() (map[string]interface{}, error)
func (*CreateRoleWithPermissionsSchemaAnyOf) UnmarshalJSON ¶ added in v0.3.0
func (o *CreateRoleWithPermissionsSchemaAnyOf) UnmarshalJSON(data []byte) (err error)
type CreateRoleWithPermissionsSchemaAnyOf1 ¶ added in v0.2.8
type CreateRoleWithPermissionsSchemaAnyOf1 struct {
// The name of the custom role
Name string `json:"name"`
// A more detailed description of the custom role and what use it's intended for
Description *string `json:"description,omitempty"`
// [Custom project roles](https://docs.getunleash.io/concepts/rbac#custom-project-roles) contain a specific set of permissions for project resources.
Type *string `json:"type,omitempty"`
// A list of permissions assigned to this role
Permissions []CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner `json:"permissions,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateRoleWithPermissionsSchemaAnyOf1 struct for CreateRoleWithPermissionsSchemaAnyOf1
func NewCreateRoleWithPermissionsSchemaAnyOf1 ¶ added in v0.2.8
func NewCreateRoleWithPermissionsSchemaAnyOf1(name string) *CreateRoleWithPermissionsSchemaAnyOf1
NewCreateRoleWithPermissionsSchemaAnyOf1 instantiates a new CreateRoleWithPermissionsSchemaAnyOf1 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 NewCreateRoleWithPermissionsSchemaAnyOf1WithDefaults ¶ added in v0.2.8
func NewCreateRoleWithPermissionsSchemaAnyOf1WithDefaults() *CreateRoleWithPermissionsSchemaAnyOf1
NewCreateRoleWithPermissionsSchemaAnyOf1WithDefaults instantiates a new CreateRoleWithPermissionsSchemaAnyOf1 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 (*CreateRoleWithPermissionsSchemaAnyOf1) GetDescription ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateRoleWithPermissionsSchemaAnyOf1) GetDescriptionOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf1) GetName ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetName() string
GetName returns the Name field value
func (*CreateRoleWithPermissionsSchemaAnyOf1) GetNameOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf1) GetPermissions ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetPermissions() []CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*CreateRoleWithPermissionsSchemaAnyOf1) GetPermissionsOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetPermissionsOk() ([]CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf1) GetType ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*CreateRoleWithPermissionsSchemaAnyOf1) GetTypeOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) GetTypeOk() (*string, bool)
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 (*CreateRoleWithPermissionsSchemaAnyOf1) HasDescription ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf1) HasPermissions ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf1) HasType ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) HasType() bool
HasType returns a boolean if a field has been set.
func (CreateRoleWithPermissionsSchemaAnyOf1) MarshalJSON ¶ added in v0.2.8
func (o CreateRoleWithPermissionsSchemaAnyOf1) MarshalJSON() ([]byte, error)
func (*CreateRoleWithPermissionsSchemaAnyOf1) SetDescription ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateRoleWithPermissionsSchemaAnyOf1) SetName ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) SetName(v string)
SetName sets field value
func (*CreateRoleWithPermissionsSchemaAnyOf1) SetPermissions ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) SetPermissions(v []CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner)
SetPermissions gets a reference to the given []CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner and assigns it to the Permissions field.
func (*CreateRoleWithPermissionsSchemaAnyOf1) SetType ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (CreateRoleWithPermissionsSchemaAnyOf1) ToMap ¶ added in v0.2.8
func (o CreateRoleWithPermissionsSchemaAnyOf1) ToMap() (map[string]interface{}, error)
func (*CreateRoleWithPermissionsSchemaAnyOf1) UnmarshalJSON ¶ added in v0.3.0
func (o *CreateRoleWithPermissionsSchemaAnyOf1) UnmarshalJSON(data []byte) (err error)
type CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner ¶ added in v0.2.8
type CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner struct {
// The id of the permission
Id float32 `json:"id"`
// The name of the permission
Name *string `json:"name,omitempty"`
// The environments of the permission if the permission is environment specific
Environment NullableString `json:"environment,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner struct for CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner
func NewCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner ¶ added in v0.2.8
func NewCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner(id float32) *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner
NewCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner instantiates a new CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner 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 NewCreateRoleWithPermissionsSchemaAnyOf1PermissionsInnerWithDefaults ¶ added in v0.2.8
func NewCreateRoleWithPermissionsSchemaAnyOf1PermissionsInnerWithDefaults() *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner
NewCreateRoleWithPermissionsSchemaAnyOf1PermissionsInnerWithDefaults instantiates a new CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner 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 (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetEnvironment ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetEnvironment() string
GetEnvironment returns the Environment field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetEnvironmentOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetId ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetId() float32
GetId returns the Id field value
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetIdOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetIdOk() (*float32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetName ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetNameOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetNameOk() (*string, bool)
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 (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) HasEnvironment ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) HasEnvironment() bool
HasEnvironment returns a boolean if a field has been set.
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) HasName ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) MarshalJSON ¶ added in v0.2.8
func (o CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) MarshalJSON() ([]byte, error)
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetEnvironment ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetEnvironment(v string)
SetEnvironment gets a reference to the given NullableString and assigns it to the Environment field.
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetEnvironmentNil ¶ added in v0.5.1
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetEnvironmentNil()
SetEnvironmentNil sets the value for Environment to be an explicit nil
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetId ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetId(v float32)
SetId sets field value
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetName ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) ToMap ¶ added in v0.2.8
func (o CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) ToMap() (map[string]interface{}, error)
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnmarshalJSON ¶ added in v0.3.0
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnmarshalJSON(data []byte) (err error)
func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnsetEnvironment ¶ added in v0.5.1
func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnsetEnvironment()
UnsetEnvironment ensures that no value is present for Environment, not even an explicit nil
type CreateRoleWithPermissionsSchemaAnyOfPermissionsInner ¶ added in v0.2.8
type CreateRoleWithPermissionsSchemaAnyOfPermissionsInner struct {
// The name of the permission
Name string `json:"name"`
// The environments of the permission if the permission is environment specific
Environment NullableString `json:"environment,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateRoleWithPermissionsSchemaAnyOfPermissionsInner struct for CreateRoleWithPermissionsSchemaAnyOfPermissionsInner
func NewCreateRoleWithPermissionsSchemaAnyOfPermissionsInner ¶ added in v0.2.8
func NewCreateRoleWithPermissionsSchemaAnyOfPermissionsInner(name string) *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner
NewCreateRoleWithPermissionsSchemaAnyOfPermissionsInner instantiates a new CreateRoleWithPermissionsSchemaAnyOfPermissionsInner 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 NewCreateRoleWithPermissionsSchemaAnyOfPermissionsInnerWithDefaults ¶ added in v0.2.8
func NewCreateRoleWithPermissionsSchemaAnyOfPermissionsInnerWithDefaults() *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner
NewCreateRoleWithPermissionsSchemaAnyOfPermissionsInnerWithDefaults instantiates a new CreateRoleWithPermissionsSchemaAnyOfPermissionsInner 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 (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetEnvironment ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetEnvironment() string
GetEnvironment returns the Environment field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetEnvironmentOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetName ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetName() string
GetName returns the Name field value
func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetNameOk ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) HasEnvironment ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) HasEnvironment() bool
HasEnvironment returns a boolean if a field has been set.
func (CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) MarshalJSON ¶ added in v0.2.8
func (o CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) MarshalJSON() ([]byte, error)
func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetEnvironment ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetEnvironment(v string)
SetEnvironment gets a reference to the given NullableString and assigns it to the Environment field.
func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetEnvironmentNil ¶ added in v0.5.1
func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetEnvironmentNil()
SetEnvironmentNil sets the value for Environment to be an explicit nil
func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetName ¶ added in v0.2.8
func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetName(v string)
SetName sets field value
func (CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) ToMap ¶ added in v0.2.8
func (o CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) ToMap() (map[string]interface{}, error)
func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnmarshalJSON ¶ added in v0.3.0
func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnmarshalJSON(data []byte) (err error)
func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnsetEnvironment ¶ added in v0.5.1
func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnsetEnvironment()
UnsetEnvironment ensures that no value is present for Environment, not even an explicit nil
type CreateServiceAccountSchema ¶
type CreateServiceAccountSchema struct {
// The username of the service account
Username string `json:"username"`
// The name of the service account
Name string `json:"name"`
// The id of the root role for the service account
RootRole int32 `json:"rootRole"`
AdditionalProperties map[string]interface{}
}
CreateServiceAccountSchema Describes the properties required to create a new service account
func NewCreateServiceAccountSchema ¶
func NewCreateServiceAccountSchema(username string, name string, rootRole int32) *CreateServiceAccountSchema
NewCreateServiceAccountSchema instantiates a new CreateServiceAccountSchema 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 NewCreateServiceAccountSchemaWithDefaults ¶
func NewCreateServiceAccountSchemaWithDefaults() *CreateServiceAccountSchema
NewCreateServiceAccountSchemaWithDefaults instantiates a new CreateServiceAccountSchema 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 (*CreateServiceAccountSchema) GetName ¶
func (o *CreateServiceAccountSchema) GetName() string
GetName returns the Name field value
func (*CreateServiceAccountSchema) GetNameOk ¶
func (o *CreateServiceAccountSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateServiceAccountSchema) GetRootRole ¶
func (o *CreateServiceAccountSchema) GetRootRole() int32
GetRootRole returns the RootRole field value
func (*CreateServiceAccountSchema) GetRootRoleOk ¶
func (o *CreateServiceAccountSchema) GetRootRoleOk() (*int32, bool)
GetRootRoleOk returns a tuple with the RootRole field value and a boolean to check if the value has been set.
func (*CreateServiceAccountSchema) GetUsername ¶
func (o *CreateServiceAccountSchema) GetUsername() string
GetUsername returns the Username field value
func (*CreateServiceAccountSchema) GetUsernameOk ¶
func (o *CreateServiceAccountSchema) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (CreateServiceAccountSchema) MarshalJSON ¶
func (o CreateServiceAccountSchema) MarshalJSON() ([]byte, error)
func (*CreateServiceAccountSchema) SetName ¶
func (o *CreateServiceAccountSchema) SetName(v string)
SetName sets field value
func (*CreateServiceAccountSchema) SetRootRole ¶
func (o *CreateServiceAccountSchema) SetRootRole(v int32)
SetRootRole sets field value
func (*CreateServiceAccountSchema) SetUsername ¶
func (o *CreateServiceAccountSchema) SetUsername(v string)
SetUsername sets field value
func (CreateServiceAccountSchema) ToMap ¶
func (o CreateServiceAccountSchema) ToMap() (map[string]interface{}, error)
func (*CreateServiceAccountSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *CreateServiceAccountSchema) UnmarshalJSON(data []byte) (err error)
type CreateStrategyVariantSchema ¶
type CreateStrategyVariantSchema struct {
// The variant name. Must be unique for this feature flag
Name string `json:"name"`
// The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information
Weight int32 `json:"weight"`
// Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).
WeightType string `json:"weightType"`
// The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time
Stickiness string `json:"stickiness"`
Payload *CreateStrategyVariantSchemaPayload `json:"payload,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateStrategyVariantSchema This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.
func NewCreateStrategyVariantSchema ¶
func NewCreateStrategyVariantSchema(name string, weight int32, weightType string, stickiness string) *CreateStrategyVariantSchema
NewCreateStrategyVariantSchema instantiates a new CreateStrategyVariantSchema 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 NewCreateStrategyVariantSchemaWithDefaults ¶
func NewCreateStrategyVariantSchemaWithDefaults() *CreateStrategyVariantSchema
NewCreateStrategyVariantSchemaWithDefaults instantiates a new CreateStrategyVariantSchema 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 (*CreateStrategyVariantSchema) GetName ¶
func (o *CreateStrategyVariantSchema) GetName() string
GetName returns the Name field value
func (*CreateStrategyVariantSchema) GetNameOk ¶
func (o *CreateStrategyVariantSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateStrategyVariantSchema) GetPayload ¶
func (o *CreateStrategyVariantSchema) GetPayload() CreateStrategyVariantSchemaPayload
GetPayload returns the Payload field value if set, zero value otherwise.
func (*CreateStrategyVariantSchema) GetPayloadOk ¶
func (o *CreateStrategyVariantSchema) GetPayloadOk() (*CreateStrategyVariantSchemaPayload, bool)
GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateStrategyVariantSchema) GetStickiness ¶
func (o *CreateStrategyVariantSchema) GetStickiness() string
GetStickiness returns the Stickiness field value
func (*CreateStrategyVariantSchema) GetStickinessOk ¶
func (o *CreateStrategyVariantSchema) GetStickinessOk() (*string, bool)
GetStickinessOk returns a tuple with the Stickiness field value and a boolean to check if the value has been set.
func (*CreateStrategyVariantSchema) GetWeight ¶
func (o *CreateStrategyVariantSchema) GetWeight() int32
GetWeight returns the Weight field value
func (*CreateStrategyVariantSchema) GetWeightOk ¶
func (o *CreateStrategyVariantSchema) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.
func (*CreateStrategyVariantSchema) GetWeightType ¶
func (o *CreateStrategyVariantSchema) GetWeightType() string
GetWeightType returns the WeightType field value
func (*CreateStrategyVariantSchema) GetWeightTypeOk ¶
func (o *CreateStrategyVariantSchema) GetWeightTypeOk() (*string, bool)
GetWeightTypeOk returns a tuple with the WeightType field value and a boolean to check if the value has been set.
func (*CreateStrategyVariantSchema) HasPayload ¶
func (o *CreateStrategyVariantSchema) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (CreateStrategyVariantSchema) MarshalJSON ¶
func (o CreateStrategyVariantSchema) MarshalJSON() ([]byte, error)
func (*CreateStrategyVariantSchema) SetName ¶
func (o *CreateStrategyVariantSchema) SetName(v string)
SetName sets field value
func (*CreateStrategyVariantSchema) SetPayload ¶
func (o *CreateStrategyVariantSchema) SetPayload(v CreateStrategyVariantSchemaPayload)
SetPayload gets a reference to the given CreateStrategyVariantSchemaPayload and assigns it to the Payload field.
func (*CreateStrategyVariantSchema) SetStickiness ¶
func (o *CreateStrategyVariantSchema) SetStickiness(v string)
SetStickiness sets field value
func (*CreateStrategyVariantSchema) SetWeight ¶
func (o *CreateStrategyVariantSchema) SetWeight(v int32)
SetWeight sets field value
func (*CreateStrategyVariantSchema) SetWeightType ¶
func (o *CreateStrategyVariantSchema) SetWeightType(v string)
SetWeightType sets field value
func (CreateStrategyVariantSchema) ToMap ¶
func (o CreateStrategyVariantSchema) ToMap() (map[string]interface{}, error)
func (*CreateStrategyVariantSchema) UnmarshalJSON ¶
func (o *CreateStrategyVariantSchema) UnmarshalJSON(data []byte) (err error)
type CreateStrategyVariantSchemaPayload ¶ added in v0.5.4
type CreateStrategyVariantSchemaPayload struct {
// The type of the value. Commonly used types are string, number, json and csv.
Type string `json:"type"`
// The actual value of payload
Value string `json:"value"`
AdditionalProperties map[string]interface{}
}
CreateStrategyVariantSchemaPayload Extra data configured for this variant
func NewCreateStrategyVariantSchemaPayload ¶ added in v0.5.4
func NewCreateStrategyVariantSchemaPayload(type_ string, value string) *CreateStrategyVariantSchemaPayload
NewCreateStrategyVariantSchemaPayload instantiates a new CreateStrategyVariantSchemaPayload 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 NewCreateStrategyVariantSchemaPayloadWithDefaults ¶ added in v0.5.4
func NewCreateStrategyVariantSchemaPayloadWithDefaults() *CreateStrategyVariantSchemaPayload
NewCreateStrategyVariantSchemaPayloadWithDefaults instantiates a new CreateStrategyVariantSchemaPayload 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 (*CreateStrategyVariantSchemaPayload) GetType ¶ added in v0.5.4
func (o *CreateStrategyVariantSchemaPayload) GetType() string
GetType returns the Type field value
func (*CreateStrategyVariantSchemaPayload) GetTypeOk ¶ added in v0.5.4
func (o *CreateStrategyVariantSchemaPayload) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*CreateStrategyVariantSchemaPayload) GetValue ¶ added in v0.5.4
func (o *CreateStrategyVariantSchemaPayload) GetValue() string
GetValue returns the Value field value
func (*CreateStrategyVariantSchemaPayload) GetValueOk ¶ added in v0.5.4
func (o *CreateStrategyVariantSchemaPayload) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (CreateStrategyVariantSchemaPayload) MarshalJSON ¶ added in v0.5.4
func (o CreateStrategyVariantSchemaPayload) MarshalJSON() ([]byte, error)
func (*CreateStrategyVariantSchemaPayload) SetType ¶ added in v0.5.4
func (o *CreateStrategyVariantSchemaPayload) SetType(v string)
SetType sets field value
func (*CreateStrategyVariantSchemaPayload) SetValue ¶ added in v0.5.4
func (o *CreateStrategyVariantSchemaPayload) SetValue(v string)
SetValue sets field value
func (CreateStrategyVariantSchemaPayload) ToMap ¶ added in v0.5.4
func (o CreateStrategyVariantSchemaPayload) ToMap() (map[string]interface{}, error)
func (*CreateStrategyVariantSchemaPayload) UnmarshalJSON ¶ added in v0.5.4
func (o *CreateStrategyVariantSchemaPayload) UnmarshalJSON(data []byte) (err error)
type CreateUserResponseSchema ¶
type CreateUserResponseSchema struct {
// The user id
Id int32 `json:"id"`
// Name of the user
Name NullableString `json:"name,omitempty"`
// Email of the user
Email *string `json:"email,omitempty"`
// A unique username for the user
Username NullableString `json:"username,omitempty"`
// URL used for the user profile image
ImageUrl *string `json:"imageUrl,omitempty"`
// If the user is actively inviting other users, this is the link that can be shared with other users
InviteLink *string `json:"inviteLink,omitempty"`
// How many unsuccessful attempts at logging in has the user made
LoginAttempts *int32 `json:"loginAttempts,omitempty"`
// Is the welcome email sent to the user or not
EmailSent *bool `json:"emailSent,omitempty"`
RootRole *CreateUserResponseSchemaRootRole `json:"rootRole,omitempty"`
// The last time this user logged in
SeenAt NullableTime `json:"seenAt,omitempty"`
// The user was created at this time
CreatedAt *time.Time `json:"createdAt,omitempty"`
// A user is either an actual User or a Service Account
AccountType *string `json:"accountType,omitempty"`
// Deprecated
Permissions []string `json:"permissions,omitempty"`
// The SCIM ID of the user, only present if managed by SCIM
ScimId NullableString `json:"scimId,omitempty"`
// The seat type of this user
SeatType NullableString `json:"seatType,omitempty"`
// The role of the user within the company.
CompanyRole NullableString `json:"companyRole,omitempty"`
// Whether the user has consented to receive product update emails.
ProductUpdatesEmailConsent NullableBool `json:"productUpdatesEmailConsent,omitempty"`
// Count of active browser sessions for this user
ActiveSessions NullableInt32 `json:"activeSessions,omitempty"`
// Experimental. The number of deleted browser sessions after last login
DeletedSessions *float32 `json:"deletedSessions,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateUserResponseSchema An Unleash user after creation
func NewCreateUserResponseSchema ¶
func NewCreateUserResponseSchema(id int32) *CreateUserResponseSchema
NewCreateUserResponseSchema instantiates a new CreateUserResponseSchema 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 NewCreateUserResponseSchemaWithDefaults ¶
func NewCreateUserResponseSchemaWithDefaults() *CreateUserResponseSchema
NewCreateUserResponseSchemaWithDefaults instantiates a new CreateUserResponseSchema 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 (*CreateUserResponseSchema) GetAccountType ¶
func (o *CreateUserResponseSchema) GetAccountType() string
GetAccountType returns the AccountType field value if set, zero value otherwise.
func (*CreateUserResponseSchema) GetAccountTypeOk ¶
func (o *CreateUserResponseSchema) GetAccountTypeOk() (*string, bool)
GetAccountTypeOk returns a tuple with the AccountType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserResponseSchema) GetActiveSessions ¶ added in v0.5.1
func (o *CreateUserResponseSchema) GetActiveSessions() int32
GetActiveSessions returns the ActiveSessions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateUserResponseSchema) GetActiveSessionsOk ¶ added in v0.5.1
func (o *CreateUserResponseSchema) GetActiveSessionsOk() (*int32, bool)
GetActiveSessionsOk returns a tuple with the ActiveSessions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateUserResponseSchema) GetCompanyRole ¶ added in v0.7.0
func (o *CreateUserResponseSchema) GetCompanyRole() string
GetCompanyRole returns the CompanyRole field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateUserResponseSchema) GetCompanyRoleOk ¶ added in v0.7.0
func (o *CreateUserResponseSchema) GetCompanyRoleOk() (*string, bool)
GetCompanyRoleOk returns a tuple with the CompanyRole field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateUserResponseSchema) GetCreatedAt ¶
func (o *CreateUserResponseSchema) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CreateUserResponseSchema) GetCreatedAtOk ¶
func (o *CreateUserResponseSchema) GetCreatedAtOk() (*time.Time, bool)
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 (*CreateUserResponseSchema) GetDeletedSessions ¶ added in v0.5.1
func (o *CreateUserResponseSchema) GetDeletedSessions() float32
GetDeletedSessions returns the DeletedSessions field value if set, zero value otherwise.
func (*CreateUserResponseSchema) GetDeletedSessionsOk ¶ added in v0.5.1
func (o *CreateUserResponseSchema) GetDeletedSessionsOk() (*float32, bool)
GetDeletedSessionsOk returns a tuple with the DeletedSessions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserResponseSchema) GetEmail ¶
func (o *CreateUserResponseSchema) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*CreateUserResponseSchema) GetEmailOk ¶
func (o *CreateUserResponseSchema) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserResponseSchema) GetEmailSent ¶
func (o *CreateUserResponseSchema) GetEmailSent() bool
GetEmailSent returns the EmailSent field value if set, zero value otherwise.
func (*CreateUserResponseSchema) GetEmailSentOk ¶
func (o *CreateUserResponseSchema) GetEmailSentOk() (*bool, bool)
GetEmailSentOk returns a tuple with the EmailSent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserResponseSchema) GetId ¶
func (o *CreateUserResponseSchema) GetId() int32
GetId returns the Id field value
func (*CreateUserResponseSchema) GetIdOk ¶
func (o *CreateUserResponseSchema) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CreateUserResponseSchema) GetImageUrl ¶
func (o *CreateUserResponseSchema) GetImageUrl() string
GetImageUrl returns the ImageUrl field value if set, zero value otherwise.
func (*CreateUserResponseSchema) GetImageUrlOk ¶
func (o *CreateUserResponseSchema) GetImageUrlOk() (*string, bool)
GetImageUrlOk returns a tuple with the ImageUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserResponseSchema) GetInviteLink ¶
func (o *CreateUserResponseSchema) GetInviteLink() string
GetInviteLink returns the InviteLink field value if set, zero value otherwise.
func (*CreateUserResponseSchema) GetInviteLinkOk ¶
func (o *CreateUserResponseSchema) GetInviteLinkOk() (*string, bool)
GetInviteLinkOk returns a tuple with the InviteLink field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserResponseSchema) GetLoginAttempts ¶
func (o *CreateUserResponseSchema) GetLoginAttempts() int32
GetLoginAttempts returns the LoginAttempts field value if set, zero value otherwise.
func (*CreateUserResponseSchema) GetLoginAttemptsOk ¶
func (o *CreateUserResponseSchema) GetLoginAttemptsOk() (*int32, bool)
GetLoginAttemptsOk returns a tuple with the LoginAttempts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserResponseSchema) GetName ¶
func (o *CreateUserResponseSchema) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateUserResponseSchema) GetNameOk ¶
func (o *CreateUserResponseSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateUserResponseSchema) GetPermissions ¶
func (o *CreateUserResponseSchema) GetPermissions() []string
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*CreateUserResponseSchema) GetPermissionsOk ¶
func (o *CreateUserResponseSchema) GetPermissionsOk() ([]string, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserResponseSchema) GetProductUpdatesEmailConsent ¶ added in v0.7.0
func (o *CreateUserResponseSchema) GetProductUpdatesEmailConsent() bool
GetProductUpdatesEmailConsent returns the ProductUpdatesEmailConsent field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateUserResponseSchema) GetProductUpdatesEmailConsentOk ¶ added in v0.7.0
func (o *CreateUserResponseSchema) GetProductUpdatesEmailConsentOk() (*bool, bool)
GetProductUpdatesEmailConsentOk returns a tuple with the ProductUpdatesEmailConsent field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateUserResponseSchema) GetRootRole ¶
func (o *CreateUserResponseSchema) GetRootRole() CreateUserResponseSchemaRootRole
GetRootRole returns the RootRole field value if set, zero value otherwise.
func (*CreateUserResponseSchema) GetRootRoleOk ¶
func (o *CreateUserResponseSchema) GetRootRoleOk() (*CreateUserResponseSchemaRootRole, bool)
GetRootRoleOk returns a tuple with the RootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserResponseSchema) GetScimId ¶ added in v0.3.0
func (o *CreateUserResponseSchema) GetScimId() string
GetScimId returns the ScimId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateUserResponseSchema) GetScimIdOk ¶ added in v0.3.0
func (o *CreateUserResponseSchema) GetScimIdOk() (*string, bool)
GetScimIdOk returns a tuple with the ScimId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateUserResponseSchema) GetSeatType ¶ added in v0.7.0
func (o *CreateUserResponseSchema) GetSeatType() string
GetSeatType returns the SeatType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateUserResponseSchema) GetSeatTypeOk ¶ added in v0.7.0
func (o *CreateUserResponseSchema) GetSeatTypeOk() (*string, bool)
GetSeatTypeOk returns a tuple with the SeatType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateUserResponseSchema) GetSeenAt ¶
func (o *CreateUserResponseSchema) GetSeenAt() time.Time
GetSeenAt returns the SeenAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateUserResponseSchema) GetSeenAtOk ¶
func (o *CreateUserResponseSchema) GetSeenAtOk() (*time.Time, bool)
GetSeenAtOk returns a tuple with the SeenAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateUserResponseSchema) GetUsername ¶
func (o *CreateUserResponseSchema) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateUserResponseSchema) GetUsernameOk ¶
func (o *CreateUserResponseSchema) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateUserResponseSchema) HasAccountType ¶
func (o *CreateUserResponseSchema) HasAccountType() bool
HasAccountType returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasActiveSessions ¶ added in v0.5.1
func (o *CreateUserResponseSchema) HasActiveSessions() bool
HasActiveSessions returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasCompanyRole ¶ added in v0.7.0
func (o *CreateUserResponseSchema) HasCompanyRole() bool
HasCompanyRole returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasCreatedAt ¶
func (o *CreateUserResponseSchema) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasDeletedSessions ¶ added in v0.5.1
func (o *CreateUserResponseSchema) HasDeletedSessions() bool
HasDeletedSessions returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasEmail ¶
func (o *CreateUserResponseSchema) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasEmailSent ¶
func (o *CreateUserResponseSchema) HasEmailSent() bool
HasEmailSent returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasImageUrl ¶
func (o *CreateUserResponseSchema) HasImageUrl() bool
HasImageUrl returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasInviteLink ¶
func (o *CreateUserResponseSchema) HasInviteLink() bool
HasInviteLink returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasLoginAttempts ¶
func (o *CreateUserResponseSchema) HasLoginAttempts() bool
HasLoginAttempts returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasName ¶
func (o *CreateUserResponseSchema) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasPermissions ¶
func (o *CreateUserResponseSchema) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasProductUpdatesEmailConsent ¶ added in v0.7.0
func (o *CreateUserResponseSchema) HasProductUpdatesEmailConsent() bool
HasProductUpdatesEmailConsent returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasRootRole ¶
func (o *CreateUserResponseSchema) HasRootRole() bool
HasRootRole returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasScimId ¶ added in v0.3.0
func (o *CreateUserResponseSchema) HasScimId() bool
HasScimId returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasSeatType ¶ added in v0.7.0
func (o *CreateUserResponseSchema) HasSeatType() bool
HasSeatType returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasSeenAt ¶
func (o *CreateUserResponseSchema) HasSeenAt() bool
HasSeenAt returns a boolean if a field has been set.
func (*CreateUserResponseSchema) HasUsername ¶
func (o *CreateUserResponseSchema) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (CreateUserResponseSchema) MarshalJSON ¶
func (o CreateUserResponseSchema) MarshalJSON() ([]byte, error)
func (*CreateUserResponseSchema) SetAccountType ¶
func (o *CreateUserResponseSchema) SetAccountType(v string)
SetAccountType gets a reference to the given string and assigns it to the AccountType field.
func (*CreateUserResponseSchema) SetActiveSessions ¶ added in v0.5.1
func (o *CreateUserResponseSchema) SetActiveSessions(v int32)
SetActiveSessions gets a reference to the given NullableInt32 and assigns it to the ActiveSessions field.
func (*CreateUserResponseSchema) SetActiveSessionsNil ¶ added in v0.5.1
func (o *CreateUserResponseSchema) SetActiveSessionsNil()
SetActiveSessionsNil sets the value for ActiveSessions to be an explicit nil
func (*CreateUserResponseSchema) SetCompanyRole ¶ added in v0.7.0
func (o *CreateUserResponseSchema) SetCompanyRole(v string)
SetCompanyRole gets a reference to the given NullableString and assigns it to the CompanyRole field.
func (*CreateUserResponseSchema) SetCompanyRoleNil ¶ added in v0.7.0
func (o *CreateUserResponseSchema) SetCompanyRoleNil()
SetCompanyRoleNil sets the value for CompanyRole to be an explicit nil
func (*CreateUserResponseSchema) SetCreatedAt ¶
func (o *CreateUserResponseSchema) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CreateUserResponseSchema) SetDeletedSessions ¶ added in v0.5.1
func (o *CreateUserResponseSchema) SetDeletedSessions(v float32)
SetDeletedSessions gets a reference to the given float32 and assigns it to the DeletedSessions field.
func (*CreateUserResponseSchema) SetEmail ¶
func (o *CreateUserResponseSchema) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*CreateUserResponseSchema) SetEmailSent ¶
func (o *CreateUserResponseSchema) SetEmailSent(v bool)
SetEmailSent gets a reference to the given bool and assigns it to the EmailSent field.
func (*CreateUserResponseSchema) SetId ¶
func (o *CreateUserResponseSchema) SetId(v int32)
SetId sets field value
func (*CreateUserResponseSchema) SetImageUrl ¶
func (o *CreateUserResponseSchema) SetImageUrl(v string)
SetImageUrl gets a reference to the given string and assigns it to the ImageUrl field.
func (*CreateUserResponseSchema) SetInviteLink ¶
func (o *CreateUserResponseSchema) SetInviteLink(v string)
SetInviteLink gets a reference to the given string and assigns it to the InviteLink field.
func (*CreateUserResponseSchema) SetLoginAttempts ¶
func (o *CreateUserResponseSchema) SetLoginAttempts(v int32)
SetLoginAttempts gets a reference to the given int32 and assigns it to the LoginAttempts field.
func (*CreateUserResponseSchema) SetName ¶
func (o *CreateUserResponseSchema) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*CreateUserResponseSchema) SetNameNil ¶ added in v0.2.3
func (o *CreateUserResponseSchema) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*CreateUserResponseSchema) SetPermissions ¶
func (o *CreateUserResponseSchema) SetPermissions(v []string)
SetPermissions gets a reference to the given []string and assigns it to the Permissions field.
func (*CreateUserResponseSchema) SetProductUpdatesEmailConsent ¶ added in v0.7.0
func (o *CreateUserResponseSchema) SetProductUpdatesEmailConsent(v bool)
SetProductUpdatesEmailConsent gets a reference to the given NullableBool and assigns it to the ProductUpdatesEmailConsent field.
func (*CreateUserResponseSchema) SetProductUpdatesEmailConsentNil ¶ added in v0.7.0
func (o *CreateUserResponseSchema) SetProductUpdatesEmailConsentNil()
SetProductUpdatesEmailConsentNil sets the value for ProductUpdatesEmailConsent to be an explicit nil
func (*CreateUserResponseSchema) SetRootRole ¶
func (o *CreateUserResponseSchema) SetRootRole(v CreateUserResponseSchemaRootRole)
SetRootRole gets a reference to the given CreateUserResponseSchemaRootRole and assigns it to the RootRole field.
func (*CreateUserResponseSchema) SetScimId ¶ added in v0.3.0
func (o *CreateUserResponseSchema) SetScimId(v string)
SetScimId gets a reference to the given NullableString and assigns it to the ScimId field.
func (*CreateUserResponseSchema) SetScimIdNil ¶ added in v0.3.0
func (o *CreateUserResponseSchema) SetScimIdNil()
SetScimIdNil sets the value for ScimId to be an explicit nil
func (*CreateUserResponseSchema) SetSeatType ¶ added in v0.7.0
func (o *CreateUserResponseSchema) SetSeatType(v string)
SetSeatType gets a reference to the given NullableString and assigns it to the SeatType field.
func (*CreateUserResponseSchema) SetSeatTypeNil ¶ added in v0.7.0
func (o *CreateUserResponseSchema) SetSeatTypeNil()
SetSeatTypeNil sets the value for SeatType to be an explicit nil
func (*CreateUserResponseSchema) SetSeenAt ¶
func (o *CreateUserResponseSchema) SetSeenAt(v time.Time)
SetSeenAt gets a reference to the given NullableTime and assigns it to the SeenAt field.
func (*CreateUserResponseSchema) SetSeenAtNil ¶
func (o *CreateUserResponseSchema) SetSeenAtNil()
SetSeenAtNil sets the value for SeenAt to be an explicit nil
func (*CreateUserResponseSchema) SetUsername ¶
func (o *CreateUserResponseSchema) SetUsername(v string)
SetUsername gets a reference to the given NullableString and assigns it to the Username field.
func (*CreateUserResponseSchema) SetUsernameNil ¶ added in v0.3.0
func (o *CreateUserResponseSchema) SetUsernameNil()
SetUsernameNil sets the value for Username to be an explicit nil
func (CreateUserResponseSchema) ToMap ¶
func (o CreateUserResponseSchema) ToMap() (map[string]interface{}, error)
func (*CreateUserResponseSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *CreateUserResponseSchema) UnmarshalJSON(data []byte) (err error)
func (*CreateUserResponseSchema) UnsetActiveSessions ¶ added in v0.5.1
func (o *CreateUserResponseSchema) UnsetActiveSessions()
UnsetActiveSessions ensures that no value is present for ActiveSessions, not even an explicit nil
func (*CreateUserResponseSchema) UnsetCompanyRole ¶ added in v0.7.0
func (o *CreateUserResponseSchema) UnsetCompanyRole()
UnsetCompanyRole ensures that no value is present for CompanyRole, not even an explicit nil
func (*CreateUserResponseSchema) UnsetName ¶ added in v0.2.3
func (o *CreateUserResponseSchema) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*CreateUserResponseSchema) UnsetProductUpdatesEmailConsent ¶ added in v0.7.0
func (o *CreateUserResponseSchema) UnsetProductUpdatesEmailConsent()
UnsetProductUpdatesEmailConsent ensures that no value is present for ProductUpdatesEmailConsent, not even an explicit nil
func (*CreateUserResponseSchema) UnsetScimId ¶ added in v0.3.0
func (o *CreateUserResponseSchema) UnsetScimId()
UnsetScimId ensures that no value is present for ScimId, not even an explicit nil
func (*CreateUserResponseSchema) UnsetSeatType ¶ added in v0.7.0
func (o *CreateUserResponseSchema) UnsetSeatType()
UnsetSeatType ensures that no value is present for SeatType, not even an explicit nil
func (*CreateUserResponseSchema) UnsetSeenAt ¶
func (o *CreateUserResponseSchema) UnsetSeenAt()
UnsetSeenAt ensures that no value is present for SeenAt, not even an explicit nil
func (*CreateUserResponseSchema) UnsetUsername ¶ added in v0.3.0
func (o *CreateUserResponseSchema) UnsetUsername()
UnsetUsername ensures that no value is present for Username, not even an explicit nil
type CreateUserResponseSchemaRootRole ¶
CreateUserResponseSchemaRootRole - Which [root role](https://docs.getunleash.io/concepts/rbac#predefined-roles) this user is assigned. Usually a numeric role ID, but can be a string when returning newly created user with an explicit string role.
func Int32AsCreateUserResponseSchemaRootRole ¶
func Int32AsCreateUserResponseSchemaRootRole(v *int32) CreateUserResponseSchemaRootRole
int32AsCreateUserResponseSchemaRootRole is a convenience function that returns int32 wrapped in CreateUserResponseSchemaRootRole
func StringAsCreateUserResponseSchemaRootRole ¶
func StringAsCreateUserResponseSchemaRootRole(v *string) CreateUserResponseSchemaRootRole
stringAsCreateUserResponseSchemaRootRole is a convenience function that returns string wrapped in CreateUserResponseSchemaRootRole
func (*CreateUserResponseSchemaRootRole) GetActualInstance ¶
func (obj *CreateUserResponseSchemaRootRole) GetActualInstance() interface{}
Get the actual instance
func (CreateUserResponseSchemaRootRole) MarshalJSON ¶
func (src CreateUserResponseSchemaRootRole) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateUserResponseSchemaRootRole) UnmarshalJSON ¶
func (dst *CreateUserResponseSchemaRootRole) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type CreateUserSchema ¶
type CreateUserSchema struct {
// The user's username. Must be provided if email is not provided.
Username *string `json:"username,omitempty"`
// The user's email address. Must be provided if username is not provided.
Email *string `json:"email,omitempty"`
// The user's name (not the user's username).
Name *string `json:"name,omitempty"`
// Password for the user
Password *string `json:"password,omitempty"`
RootRole CreateUserSchemaRootRole `json:"rootRole"`
// Whether to send a welcome email with a login link to the user or not. Defaults to `true`.
SendEmail *bool `json:"sendEmail,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateUserSchema The payload must contain at least one of the name and email properties, though which one is up to you. For the user to be able to log in to the system, the user must have an email.
func NewCreateUserSchema ¶
func NewCreateUserSchema(rootRole CreateUserSchemaRootRole) *CreateUserSchema
NewCreateUserSchema instantiates a new CreateUserSchema 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 NewCreateUserSchemaWithDefaults ¶
func NewCreateUserSchemaWithDefaults() *CreateUserSchema
NewCreateUserSchemaWithDefaults instantiates a new CreateUserSchema 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 (*CreateUserSchema) GetEmail ¶
func (o *CreateUserSchema) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*CreateUserSchema) GetEmailOk ¶
func (o *CreateUserSchema) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserSchema) GetName ¶
func (o *CreateUserSchema) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateUserSchema) GetNameOk ¶
func (o *CreateUserSchema) GetNameOk() (*string, bool)
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 (*CreateUserSchema) GetPassword ¶
func (o *CreateUserSchema) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*CreateUserSchema) GetPasswordOk ¶
func (o *CreateUserSchema) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserSchema) GetRootRole ¶
func (o *CreateUserSchema) GetRootRole() CreateUserSchemaRootRole
GetRootRole returns the RootRole field value
func (*CreateUserSchema) GetRootRoleOk ¶
func (o *CreateUserSchema) GetRootRoleOk() (*CreateUserSchemaRootRole, bool)
GetRootRoleOk returns a tuple with the RootRole field value and a boolean to check if the value has been set.
func (*CreateUserSchema) GetSendEmail ¶
func (o *CreateUserSchema) GetSendEmail() bool
GetSendEmail returns the SendEmail field value if set, zero value otherwise.
func (*CreateUserSchema) GetSendEmailOk ¶
func (o *CreateUserSchema) GetSendEmailOk() (*bool, bool)
GetSendEmailOk returns a tuple with the SendEmail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserSchema) GetUsername ¶
func (o *CreateUserSchema) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*CreateUserSchema) GetUsernameOk ¶
func (o *CreateUserSchema) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserSchema) HasEmail ¶
func (o *CreateUserSchema) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*CreateUserSchema) HasName ¶
func (o *CreateUserSchema) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateUserSchema) HasPassword ¶
func (o *CreateUserSchema) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*CreateUserSchema) HasSendEmail ¶
func (o *CreateUserSchema) HasSendEmail() bool
HasSendEmail returns a boolean if a field has been set.
func (*CreateUserSchema) HasUsername ¶
func (o *CreateUserSchema) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (CreateUserSchema) MarshalJSON ¶
func (o CreateUserSchema) MarshalJSON() ([]byte, error)
func (*CreateUserSchema) SetEmail ¶
func (o *CreateUserSchema) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*CreateUserSchema) SetName ¶
func (o *CreateUserSchema) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateUserSchema) SetPassword ¶
func (o *CreateUserSchema) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*CreateUserSchema) SetRootRole ¶
func (o *CreateUserSchema) SetRootRole(v CreateUserSchemaRootRole)
SetRootRole sets field value
func (*CreateUserSchema) SetSendEmail ¶
func (o *CreateUserSchema) SetSendEmail(v bool)
SetSendEmail gets a reference to the given bool and assigns it to the SendEmail field.
func (*CreateUserSchema) SetUsername ¶
func (o *CreateUserSchema) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (CreateUserSchema) ToMap ¶
func (o CreateUserSchema) ToMap() (map[string]interface{}, error)
func (*CreateUserSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *CreateUserSchema) UnmarshalJSON(data []byte) (err error)
type CreateUserSchemaRootRole ¶
CreateUserSchemaRootRole - The role to assign to the user. Can be either the role's ID or its unique name.
func Int32AsCreateUserSchemaRootRole ¶
func Int32AsCreateUserSchemaRootRole(v *int32) CreateUserSchemaRootRole
int32AsCreateUserSchemaRootRole is a convenience function that returns int32 wrapped in CreateUserSchemaRootRole
func StringAsCreateUserSchemaRootRole ¶
func StringAsCreateUserSchemaRootRole(v *string) CreateUserSchemaRootRole
stringAsCreateUserSchemaRootRole is a convenience function that returns string wrapped in CreateUserSchemaRootRole
func (*CreateUserSchemaRootRole) GetActualInstance ¶
func (obj *CreateUserSchemaRootRole) GetActualInstance() interface{}
Get the actual instance
func (CreateUserSchemaRootRole) MarshalJSON ¶
func (src CreateUserSchemaRootRole) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateUserSchemaRootRole) UnmarshalJSON ¶
func (dst *CreateUserSchemaRootRole) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type EnvironmentProjectSchema ¶
type EnvironmentProjectSchema struct {
// The name of the environment
Name string `json:"name"`
// The [type of environment](https://docs.getunleash.io/concepts/environments#environment-types).
Type string `json:"type"`
// `true` if the environment is enabled for the project, otherwise `false`
Enabled bool `json:"enabled"`
// `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted.
Protected bool `json:"protected"`
// Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear
SortOrder int32 `json:"sortOrder"`
// The number of client and front-end API tokens that have access to this project
ProjectApiTokenCount *int32 `json:"projectApiTokenCount,omitempty"`
// The number of features enabled in this environment for this project
ProjectEnabledToggleCount *int32 `json:"projectEnabledToggleCount,omitempty"`
DefaultStrategy *FeatureStrategySchema `json:"defaultStrategy,omitempty"`
// Indicates whether the environment can be enabled for feature flags in the project
Visible *bool `json:"visible,omitempty"`
// Experimental field. The number of approvals required before a change request can be applied in this environment.
RequiredApprovals NullableInt32 `json:"requiredApprovals,omitempty"`
AdditionalProperties map[string]interface{}
}
EnvironmentProjectSchema Describes a project's configuration in a given environment.
func NewEnvironmentProjectSchema ¶
func NewEnvironmentProjectSchema(name string, type_ string, enabled bool, protected bool, sortOrder int32) *EnvironmentProjectSchema
NewEnvironmentProjectSchema instantiates a new EnvironmentProjectSchema 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 NewEnvironmentProjectSchemaWithDefaults ¶
func NewEnvironmentProjectSchemaWithDefaults() *EnvironmentProjectSchema
NewEnvironmentProjectSchemaWithDefaults instantiates a new EnvironmentProjectSchema 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 (*EnvironmentProjectSchema) GetDefaultStrategy ¶
func (o *EnvironmentProjectSchema) GetDefaultStrategy() FeatureStrategySchema
GetDefaultStrategy returns the DefaultStrategy field value if set, zero value otherwise.
func (*EnvironmentProjectSchema) GetDefaultStrategyOk ¶
func (o *EnvironmentProjectSchema) GetDefaultStrategyOk() (*FeatureStrategySchema, bool)
GetDefaultStrategyOk returns a tuple with the DefaultStrategy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EnvironmentProjectSchema) GetEnabled ¶
func (o *EnvironmentProjectSchema) GetEnabled() bool
GetEnabled returns the Enabled field value
func (*EnvironmentProjectSchema) GetEnabledOk ¶
func (o *EnvironmentProjectSchema) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*EnvironmentProjectSchema) GetName ¶
func (o *EnvironmentProjectSchema) GetName() string
GetName returns the Name field value
func (*EnvironmentProjectSchema) GetNameOk ¶
func (o *EnvironmentProjectSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*EnvironmentProjectSchema) GetProjectApiTokenCount ¶
func (o *EnvironmentProjectSchema) GetProjectApiTokenCount() int32
GetProjectApiTokenCount returns the ProjectApiTokenCount field value if set, zero value otherwise.
func (*EnvironmentProjectSchema) GetProjectApiTokenCountOk ¶
func (o *EnvironmentProjectSchema) GetProjectApiTokenCountOk() (*int32, bool)
GetProjectApiTokenCountOk returns a tuple with the ProjectApiTokenCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EnvironmentProjectSchema) GetProjectEnabledToggleCount ¶
func (o *EnvironmentProjectSchema) GetProjectEnabledToggleCount() int32
GetProjectEnabledToggleCount returns the ProjectEnabledToggleCount field value if set, zero value otherwise.
func (*EnvironmentProjectSchema) GetProjectEnabledToggleCountOk ¶
func (o *EnvironmentProjectSchema) GetProjectEnabledToggleCountOk() (*int32, bool)
GetProjectEnabledToggleCountOk returns a tuple with the ProjectEnabledToggleCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EnvironmentProjectSchema) GetProtected ¶
func (o *EnvironmentProjectSchema) GetProtected() bool
GetProtected returns the Protected field value
func (*EnvironmentProjectSchema) GetProtectedOk ¶
func (o *EnvironmentProjectSchema) GetProtectedOk() (*bool, bool)
GetProtectedOk returns a tuple with the Protected field value and a boolean to check if the value has been set.
func (*EnvironmentProjectSchema) GetRequiredApprovals ¶ added in v0.6.0
func (o *EnvironmentProjectSchema) GetRequiredApprovals() int32
GetRequiredApprovals returns the RequiredApprovals field value if set, zero value otherwise (both if not set or set to explicit null).
func (*EnvironmentProjectSchema) GetRequiredApprovalsOk ¶ added in v0.6.0
func (o *EnvironmentProjectSchema) GetRequiredApprovalsOk() (*int32, bool)
GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*EnvironmentProjectSchema) GetSortOrder ¶
func (o *EnvironmentProjectSchema) GetSortOrder() int32
GetSortOrder returns the SortOrder field value
func (*EnvironmentProjectSchema) GetSortOrderOk ¶
func (o *EnvironmentProjectSchema) GetSortOrderOk() (*int32, bool)
GetSortOrderOk returns a tuple with the SortOrder field value and a boolean to check if the value has been set.
func (*EnvironmentProjectSchema) GetType ¶
func (o *EnvironmentProjectSchema) GetType() string
GetType returns the Type field value
func (*EnvironmentProjectSchema) GetTypeOk ¶
func (o *EnvironmentProjectSchema) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*EnvironmentProjectSchema) GetVisible ¶ added in v0.5.4
func (o *EnvironmentProjectSchema) GetVisible() bool
GetVisible returns the Visible field value if set, zero value otherwise.
func (*EnvironmentProjectSchema) GetVisibleOk ¶ added in v0.5.4
func (o *EnvironmentProjectSchema) GetVisibleOk() (*bool, bool)
GetVisibleOk returns a tuple with the Visible field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EnvironmentProjectSchema) HasDefaultStrategy ¶
func (o *EnvironmentProjectSchema) HasDefaultStrategy() bool
HasDefaultStrategy returns a boolean if a field has been set.
func (*EnvironmentProjectSchema) HasProjectApiTokenCount ¶
func (o *EnvironmentProjectSchema) HasProjectApiTokenCount() bool
HasProjectApiTokenCount returns a boolean if a field has been set.
func (*EnvironmentProjectSchema) HasProjectEnabledToggleCount ¶
func (o *EnvironmentProjectSchema) HasProjectEnabledToggleCount() bool
HasProjectEnabledToggleCount returns a boolean if a field has been set.
func (*EnvironmentProjectSchema) HasRequiredApprovals ¶ added in v0.6.0
func (o *EnvironmentProjectSchema) HasRequiredApprovals() bool
HasRequiredApprovals returns a boolean if a field has been set.
func (*EnvironmentProjectSchema) HasVisible ¶ added in v0.5.4
func (o *EnvironmentProjectSchema) HasVisible() bool
HasVisible returns a boolean if a field has been set.
func (EnvironmentProjectSchema) MarshalJSON ¶
func (o EnvironmentProjectSchema) MarshalJSON() ([]byte, error)
func (*EnvironmentProjectSchema) SetDefaultStrategy ¶
func (o *EnvironmentProjectSchema) SetDefaultStrategy(v FeatureStrategySchema)
SetDefaultStrategy gets a reference to the given FeatureStrategySchema and assigns it to the DefaultStrategy field.
func (*EnvironmentProjectSchema) SetEnabled ¶
func (o *EnvironmentProjectSchema) SetEnabled(v bool)
SetEnabled sets field value
func (*EnvironmentProjectSchema) SetName ¶
func (o *EnvironmentProjectSchema) SetName(v string)
SetName sets field value
func (*EnvironmentProjectSchema) SetProjectApiTokenCount ¶
func (o *EnvironmentProjectSchema) SetProjectApiTokenCount(v int32)
SetProjectApiTokenCount gets a reference to the given int32 and assigns it to the ProjectApiTokenCount field.
func (*EnvironmentProjectSchema) SetProjectEnabledToggleCount ¶
func (o *EnvironmentProjectSchema) SetProjectEnabledToggleCount(v int32)
SetProjectEnabledToggleCount gets a reference to the given int32 and assigns it to the ProjectEnabledToggleCount field.
func (*EnvironmentProjectSchema) SetProtected ¶
func (o *EnvironmentProjectSchema) SetProtected(v bool)
SetProtected sets field value
func (*EnvironmentProjectSchema) SetRequiredApprovals ¶ added in v0.6.0
func (o *EnvironmentProjectSchema) SetRequiredApprovals(v int32)
SetRequiredApprovals gets a reference to the given NullableInt32 and assigns it to the RequiredApprovals field.
func (*EnvironmentProjectSchema) SetRequiredApprovalsNil ¶ added in v0.6.0
func (o *EnvironmentProjectSchema) SetRequiredApprovalsNil()
SetRequiredApprovalsNil sets the value for RequiredApprovals to be an explicit nil
func (*EnvironmentProjectSchema) SetSortOrder ¶
func (o *EnvironmentProjectSchema) SetSortOrder(v int32)
SetSortOrder sets field value
func (*EnvironmentProjectSchema) SetType ¶
func (o *EnvironmentProjectSchema) SetType(v string)
SetType sets field value
func (*EnvironmentProjectSchema) SetVisible ¶ added in v0.5.4
func (o *EnvironmentProjectSchema) SetVisible(v bool)
SetVisible gets a reference to the given bool and assigns it to the Visible field.
func (EnvironmentProjectSchema) ToMap ¶
func (o EnvironmentProjectSchema) ToMap() (map[string]interface{}, error)
func (*EnvironmentProjectSchema) UnmarshalJSON ¶ added in v0.5.4
func (o *EnvironmentProjectSchema) UnmarshalJSON(data []byte) (err error)
func (*EnvironmentProjectSchema) UnsetRequiredApprovals ¶ added in v0.6.0
func (o *EnvironmentProjectSchema) UnsetRequiredApprovals()
UnsetRequiredApprovals ensures that no value is present for RequiredApprovals, not even an explicit nil
type EnvironmentSchema ¶
type EnvironmentSchema struct {
// The name of the environment
Name string `json:"name"`
// The [type of environment](https://docs.getunleash.io/concepts/environments#environment-types).
Type string `json:"type"`
// `true` if the environment is enabled for the project, otherwise `false`.
Enabled bool `json:"enabled"`
// `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted.
Protected bool `json:"protected"`
// Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear. Needs to be an integer
SortOrder int32 `json:"sortOrder"`
// The number of projects with this environment
ProjectCount NullableInt32 `json:"projectCount,omitempty"`
// The number of API tokens for the project environment
ApiTokenCount NullableInt32 `json:"apiTokenCount,omitempty"`
// The number of enabled toggles for the project environment
EnabledToggleCount NullableInt32 `json:"enabledToggleCount,omitempty"`
// Experimental field. The number of approvals required before a change request can be applied in this environment.
RequiredApprovals NullableInt32 `json:"requiredApprovals,omitempty"`
AdditionalProperties map[string]interface{}
}
EnvironmentSchema A definition of the project environment
func NewEnvironmentSchema ¶
func NewEnvironmentSchema(name string, type_ string, enabled bool, protected bool, sortOrder int32) *EnvironmentSchema
NewEnvironmentSchema instantiates a new EnvironmentSchema 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 NewEnvironmentSchemaWithDefaults ¶
func NewEnvironmentSchemaWithDefaults() *EnvironmentSchema
NewEnvironmentSchemaWithDefaults instantiates a new EnvironmentSchema 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 (*EnvironmentSchema) GetApiTokenCount ¶
func (o *EnvironmentSchema) GetApiTokenCount() int32
GetApiTokenCount returns the ApiTokenCount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*EnvironmentSchema) GetApiTokenCountOk ¶
func (o *EnvironmentSchema) GetApiTokenCountOk() (*int32, bool)
GetApiTokenCountOk returns a tuple with the ApiTokenCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*EnvironmentSchema) GetEnabled ¶
func (o *EnvironmentSchema) GetEnabled() bool
GetEnabled returns the Enabled field value
func (*EnvironmentSchema) GetEnabledOk ¶
func (o *EnvironmentSchema) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*EnvironmentSchema) GetEnabledToggleCount ¶
func (o *EnvironmentSchema) GetEnabledToggleCount() int32
GetEnabledToggleCount returns the EnabledToggleCount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*EnvironmentSchema) GetEnabledToggleCountOk ¶
func (o *EnvironmentSchema) GetEnabledToggleCountOk() (*int32, bool)
GetEnabledToggleCountOk returns a tuple with the EnabledToggleCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*EnvironmentSchema) GetName ¶
func (o *EnvironmentSchema) GetName() string
GetName returns the Name field value
func (*EnvironmentSchema) GetNameOk ¶
func (o *EnvironmentSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*EnvironmentSchema) GetProjectCount ¶
func (o *EnvironmentSchema) GetProjectCount() int32
GetProjectCount returns the ProjectCount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*EnvironmentSchema) GetProjectCountOk ¶
func (o *EnvironmentSchema) GetProjectCountOk() (*int32, bool)
GetProjectCountOk returns a tuple with the ProjectCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*EnvironmentSchema) GetProtected ¶
func (o *EnvironmentSchema) GetProtected() bool
GetProtected returns the Protected field value
func (*EnvironmentSchema) GetProtectedOk ¶
func (o *EnvironmentSchema) GetProtectedOk() (*bool, bool)
GetProtectedOk returns a tuple with the Protected field value and a boolean to check if the value has been set.
func (*EnvironmentSchema) GetRequiredApprovals ¶ added in v0.6.0
func (o *EnvironmentSchema) GetRequiredApprovals() int32
GetRequiredApprovals returns the RequiredApprovals field value if set, zero value otherwise (both if not set or set to explicit null).
func (*EnvironmentSchema) GetRequiredApprovalsOk ¶ added in v0.6.0
func (o *EnvironmentSchema) GetRequiredApprovalsOk() (*int32, bool)
GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*EnvironmentSchema) GetSortOrder ¶
func (o *EnvironmentSchema) GetSortOrder() int32
GetSortOrder returns the SortOrder field value
func (*EnvironmentSchema) GetSortOrderOk ¶
func (o *EnvironmentSchema) GetSortOrderOk() (*int32, bool)
GetSortOrderOk returns a tuple with the SortOrder field value and a boolean to check if the value has been set.
func (*EnvironmentSchema) GetType ¶
func (o *EnvironmentSchema) GetType() string
GetType returns the Type field value
func (*EnvironmentSchema) GetTypeOk ¶
func (o *EnvironmentSchema) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*EnvironmentSchema) HasApiTokenCount ¶
func (o *EnvironmentSchema) HasApiTokenCount() bool
HasApiTokenCount returns a boolean if a field has been set.
func (*EnvironmentSchema) HasEnabledToggleCount ¶
func (o *EnvironmentSchema) HasEnabledToggleCount() bool
HasEnabledToggleCount returns a boolean if a field has been set.
func (*EnvironmentSchema) HasProjectCount ¶
func (o *EnvironmentSchema) HasProjectCount() bool
HasProjectCount returns a boolean if a field has been set.
func (*EnvironmentSchema) HasRequiredApprovals ¶ added in v0.6.0
func (o *EnvironmentSchema) HasRequiredApprovals() bool
HasRequiredApprovals returns a boolean if a field has been set.
func (EnvironmentSchema) MarshalJSON ¶
func (o EnvironmentSchema) MarshalJSON() ([]byte, error)
func (*EnvironmentSchema) SetApiTokenCount ¶
func (o *EnvironmentSchema) SetApiTokenCount(v int32)
SetApiTokenCount gets a reference to the given NullableInt32 and assigns it to the ApiTokenCount field.
func (*EnvironmentSchema) SetApiTokenCountNil ¶
func (o *EnvironmentSchema) SetApiTokenCountNil()
SetApiTokenCountNil sets the value for ApiTokenCount to be an explicit nil
func (*EnvironmentSchema) SetEnabled ¶
func (o *EnvironmentSchema) SetEnabled(v bool)
SetEnabled sets field value
func (*EnvironmentSchema) SetEnabledToggleCount ¶
func (o *EnvironmentSchema) SetEnabledToggleCount(v int32)
SetEnabledToggleCount gets a reference to the given NullableInt32 and assigns it to the EnabledToggleCount field.
func (*EnvironmentSchema) SetEnabledToggleCountNil ¶
func (o *EnvironmentSchema) SetEnabledToggleCountNil()
SetEnabledToggleCountNil sets the value for EnabledToggleCount to be an explicit nil
func (*EnvironmentSchema) SetName ¶
func (o *EnvironmentSchema) SetName(v string)
SetName sets field value
func (*EnvironmentSchema) SetProjectCount ¶
func (o *EnvironmentSchema) SetProjectCount(v int32)
SetProjectCount gets a reference to the given NullableInt32 and assigns it to the ProjectCount field.
func (*EnvironmentSchema) SetProjectCountNil ¶
func (o *EnvironmentSchema) SetProjectCountNil()
SetProjectCountNil sets the value for ProjectCount to be an explicit nil
func (*EnvironmentSchema) SetProtected ¶
func (o *EnvironmentSchema) SetProtected(v bool)
SetProtected sets field value
func (*EnvironmentSchema) SetRequiredApprovals ¶ added in v0.6.0
func (o *EnvironmentSchema) SetRequiredApprovals(v int32)
SetRequiredApprovals gets a reference to the given NullableInt32 and assigns it to the RequiredApprovals field.
func (*EnvironmentSchema) SetRequiredApprovalsNil ¶ added in v0.6.0
func (o *EnvironmentSchema) SetRequiredApprovalsNil()
SetRequiredApprovalsNil sets the value for RequiredApprovals to be an explicit nil
func (*EnvironmentSchema) SetSortOrder ¶
func (o *EnvironmentSchema) SetSortOrder(v int32)
SetSortOrder sets field value
func (*EnvironmentSchema) SetType ¶
func (o *EnvironmentSchema) SetType(v string)
SetType sets field value
func (EnvironmentSchema) ToMap ¶
func (o EnvironmentSchema) ToMap() (map[string]interface{}, error)
func (*EnvironmentSchema) UnmarshalJSON ¶ added in v0.5.3
func (o *EnvironmentSchema) UnmarshalJSON(data []byte) (err error)
func (*EnvironmentSchema) UnsetApiTokenCount ¶
func (o *EnvironmentSchema) UnsetApiTokenCount()
UnsetApiTokenCount ensures that no value is present for ApiTokenCount, not even an explicit nil
func (*EnvironmentSchema) UnsetEnabledToggleCount ¶
func (o *EnvironmentSchema) UnsetEnabledToggleCount()
UnsetEnabledToggleCount ensures that no value is present for EnabledToggleCount, not even an explicit nil
func (*EnvironmentSchema) UnsetProjectCount ¶
func (o *EnvironmentSchema) UnsetProjectCount()
UnsetProjectCount ensures that no value is present for ProjectCount, not even an explicit nil
func (*EnvironmentSchema) UnsetRequiredApprovals ¶ added in v0.6.0
func (o *EnvironmentSchema) UnsetRequiredApprovals()
UnsetRequiredApprovals ensures that no value is present for RequiredApprovals, not even an explicit nil
type EnvironmentsAPIService ¶ added in v0.2.3
type EnvironmentsAPIService service
EnvironmentsAPIService EnvironmentsAPI service
func (*EnvironmentsAPIService) CreateEnvironment ¶ added in v0.2.3
func (a *EnvironmentsAPIService) CreateEnvironment(ctx context.Context) ApiCreateEnvironmentRequest
CreateEnvironment Creates a new environment
**Enterprise feature**
Uses the details provided in the payload to create a new environment
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateEnvironmentRequest
func (*EnvironmentsAPIService) CreateEnvironmentExecute ¶ added in v0.2.3
func (a *EnvironmentsAPIService) CreateEnvironmentExecute(r ApiCreateEnvironmentRequest) (*EnvironmentSchema, *http.Response, error)
Execute executes the request
@return EnvironmentSchema
func (*EnvironmentsAPIService) GetAllEnvironments ¶ added in v0.2.3
func (a *EnvironmentsAPIService) GetAllEnvironments(ctx context.Context) ApiGetAllEnvironmentsRequest
GetAllEnvironments Get all environments
Retrieves all environments that exist in this Unleash instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAllEnvironmentsRequest
func (*EnvironmentsAPIService) GetAllEnvironmentsExecute ¶ added in v0.2.3
func (a *EnvironmentsAPIService) GetAllEnvironmentsExecute(r ApiGetAllEnvironmentsRequest) (*EnvironmentsSchema, *http.Response, error)
Execute executes the request
@return EnvironmentsSchema
func (*EnvironmentsAPIService) GetEnvironment ¶ added in v0.2.3
func (a *EnvironmentsAPIService) GetEnvironment(ctx context.Context, name string) ApiGetEnvironmentRequest
GetEnvironment Get the environment with `name`
Retrieves the environment with `name` if it exists in this Unleash instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiGetEnvironmentRequest
func (*EnvironmentsAPIService) GetEnvironmentExecute ¶ added in v0.2.3
func (a *EnvironmentsAPIService) GetEnvironmentExecute(r ApiGetEnvironmentRequest) (*EnvironmentSchema, *http.Response, error)
Execute executes the request
@return EnvironmentSchema
func (*EnvironmentsAPIService) GetProjectEnvironments ¶ added in v0.2.3
func (a *EnvironmentsAPIService) GetProjectEnvironments(ctx context.Context, projectId string) ApiGetProjectEnvironmentsRequest
GetProjectEnvironments Get the environments available to a project
Gets the environments that are available for this project. An environment is available for a project if enabled in the [project configuration](https://docs.getunleash.io/concepts/environments#enable-an-environment)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiGetProjectEnvironmentsRequest
func (*EnvironmentsAPIService) GetProjectEnvironmentsExecute ¶ added in v0.2.3
func (a *EnvironmentsAPIService) GetProjectEnvironmentsExecute(r ApiGetProjectEnvironmentsRequest) (*EnvironmentsProjectSchema, *http.Response, error)
Execute executes the request
@return EnvironmentsProjectSchema
func (*EnvironmentsAPIService) RemoveEnvironment ¶ added in v0.2.3
func (a *EnvironmentsAPIService) RemoveEnvironment(ctx context.Context, name string) ApiRemoveEnvironmentRequest
RemoveEnvironment Deletes an environment by name
**Enterprise feature**
Given an existing environment by name, this endpoint will attempt to delete it
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiRemoveEnvironmentRequest
func (*EnvironmentsAPIService) RemoveEnvironmentExecute ¶ added in v0.2.3
func (a *EnvironmentsAPIService) RemoveEnvironmentExecute(r ApiRemoveEnvironmentRequest) (*http.Response, error)
Execute executes the request
func (*EnvironmentsAPIService) UpdateEnvironment ¶ added in v0.2.3
func (a *EnvironmentsAPIService) UpdateEnvironment(ctx context.Context, name string) ApiUpdateEnvironmentRequest
UpdateEnvironment Updates an environment by name
**Enterprise feature**
Given an environment by name updates the environment with the given payload. Note that `name`, `enabled` and `protected` cannot be changed by this API
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiUpdateEnvironmentRequest
func (*EnvironmentsAPIService) UpdateEnvironmentExecute ¶ added in v0.2.3
func (a *EnvironmentsAPIService) UpdateEnvironmentExecute(r ApiUpdateEnvironmentRequest) (*EnvironmentSchema, *http.Response, error)
Execute executes the request
@return EnvironmentSchema
type EnvironmentsProjectSchema ¶
type EnvironmentsProjectSchema struct {
// Version of the environments schema
Version int32 `json:"version"`
// List of environments
Environments []EnvironmentProjectSchema `json:"environments"`
AdditionalProperties map[string]interface{}
}
EnvironmentsProjectSchema Environments defined for a given project
func NewEnvironmentsProjectSchema ¶
func NewEnvironmentsProjectSchema(version int32, environments []EnvironmentProjectSchema) *EnvironmentsProjectSchema
NewEnvironmentsProjectSchema instantiates a new EnvironmentsProjectSchema 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 NewEnvironmentsProjectSchemaWithDefaults ¶
func NewEnvironmentsProjectSchemaWithDefaults() *EnvironmentsProjectSchema
NewEnvironmentsProjectSchemaWithDefaults instantiates a new EnvironmentsProjectSchema 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 (*EnvironmentsProjectSchema) GetEnvironments ¶
func (o *EnvironmentsProjectSchema) GetEnvironments() []EnvironmentProjectSchema
GetEnvironments returns the Environments field value
func (*EnvironmentsProjectSchema) GetEnvironmentsOk ¶
func (o *EnvironmentsProjectSchema) GetEnvironmentsOk() ([]EnvironmentProjectSchema, bool)
GetEnvironmentsOk returns a tuple with the Environments field value and a boolean to check if the value has been set.
func (*EnvironmentsProjectSchema) GetVersion ¶
func (o *EnvironmentsProjectSchema) GetVersion() int32
GetVersion returns the Version field value
func (*EnvironmentsProjectSchema) GetVersionOk ¶
func (o *EnvironmentsProjectSchema) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (EnvironmentsProjectSchema) MarshalJSON ¶
func (o EnvironmentsProjectSchema) MarshalJSON() ([]byte, error)
func (*EnvironmentsProjectSchema) SetEnvironments ¶
func (o *EnvironmentsProjectSchema) SetEnvironments(v []EnvironmentProjectSchema)
SetEnvironments sets field value
func (*EnvironmentsProjectSchema) SetVersion ¶
func (o *EnvironmentsProjectSchema) SetVersion(v int32)
SetVersion sets field value
func (EnvironmentsProjectSchema) ToMap ¶
func (o EnvironmentsProjectSchema) ToMap() (map[string]interface{}, error)
func (*EnvironmentsProjectSchema) UnmarshalJSON ¶ added in v0.5.4
func (o *EnvironmentsProjectSchema) UnmarshalJSON(data []byte) (err error)
type EnvironmentsSchema ¶
type EnvironmentsSchema struct {
// Version of the environments schema
Version int32 `json:"version"`
// List of environments
Environments []EnvironmentSchema `json:"environments"`
AdditionalProperties map[string]interface{}
}
EnvironmentsSchema A versioned list of environments
func NewEnvironmentsSchema ¶
func NewEnvironmentsSchema(version int32, environments []EnvironmentSchema) *EnvironmentsSchema
NewEnvironmentsSchema instantiates a new EnvironmentsSchema 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 NewEnvironmentsSchemaWithDefaults ¶
func NewEnvironmentsSchemaWithDefaults() *EnvironmentsSchema
NewEnvironmentsSchemaWithDefaults instantiates a new EnvironmentsSchema 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 (*EnvironmentsSchema) GetEnvironments ¶
func (o *EnvironmentsSchema) GetEnvironments() []EnvironmentSchema
GetEnvironments returns the Environments field value
func (*EnvironmentsSchema) GetEnvironmentsOk ¶
func (o *EnvironmentsSchema) GetEnvironmentsOk() ([]EnvironmentSchema, bool)
GetEnvironmentsOk returns a tuple with the Environments field value and a boolean to check if the value has been set.
func (*EnvironmentsSchema) GetVersion ¶
func (o *EnvironmentsSchema) GetVersion() int32
GetVersion returns the Version field value
func (*EnvironmentsSchema) GetVersionOk ¶
func (o *EnvironmentsSchema) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (EnvironmentsSchema) MarshalJSON ¶
func (o EnvironmentsSchema) MarshalJSON() ([]byte, error)
func (*EnvironmentsSchema) SetEnvironments ¶
func (o *EnvironmentsSchema) SetEnvironments(v []EnvironmentSchema)
SetEnvironments sets field value
func (*EnvironmentsSchema) SetVersion ¶
func (o *EnvironmentsSchema) SetVersion(v int32)
SetVersion sets field value
func (EnvironmentsSchema) ToMap ¶
func (o EnvironmentsSchema) ToMap() (map[string]interface{}, error)
func (*EnvironmentsSchema) UnmarshalJSON ¶ added in v0.5.3
func (o *EnvironmentsSchema) UnmarshalJSON(data []byte) (err error)
type FeatureStrategySchema ¶
type FeatureStrategySchema struct {
// A uuid for the feature strategy
Id *string `json:"id,omitempty"`
// The name or type of strategy
Name string `json:"name"`
// A descriptive title for the strategy
Title NullableString `json:"title,omitempty"`
// A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs
Disabled NullableBool `json:"disabled,omitempty"`
// The name or feature the strategy is attached to
FeatureName *string `json:"featureName,omitempty"`
// The order of the strategy in the list
SortOrder *float32 `json:"sortOrder,omitempty"`
// A list of segment ids attached to the strategy
Segments []float32 `json:"segments,omitempty"`
// A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints
Constraints []ConstraintSchema `json:"constraints,omitempty"`
// Strategy level variants
Variants []StrategyVariantSchema `json:"variants,omitempty"`
// A list of parameters for a strategy
Parameters *map[string]string `json:"parameters,omitempty"`
AdditionalProperties map[string]interface{}
}
FeatureStrategySchema A single activation strategy configuration schema for a feature
func NewFeatureStrategySchema ¶
func NewFeatureStrategySchema(name string) *FeatureStrategySchema
NewFeatureStrategySchema instantiates a new FeatureStrategySchema 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 NewFeatureStrategySchemaWithDefaults ¶
func NewFeatureStrategySchemaWithDefaults() *FeatureStrategySchema
NewFeatureStrategySchemaWithDefaults instantiates a new FeatureStrategySchema 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 (*FeatureStrategySchema) GetConstraints ¶
func (o *FeatureStrategySchema) GetConstraints() []ConstraintSchema
GetConstraints returns the Constraints field value if set, zero value otherwise.
func (*FeatureStrategySchema) GetConstraintsOk ¶
func (o *FeatureStrategySchema) GetConstraintsOk() ([]ConstraintSchema, bool)
GetConstraintsOk returns a tuple with the Constraints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeatureStrategySchema) GetDisabled ¶
func (o *FeatureStrategySchema) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FeatureStrategySchema) GetDisabledOk ¶
func (o *FeatureStrategySchema) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*FeatureStrategySchema) GetFeatureName ¶
func (o *FeatureStrategySchema) GetFeatureName() string
GetFeatureName returns the FeatureName field value if set, zero value otherwise.
func (*FeatureStrategySchema) GetFeatureNameOk ¶
func (o *FeatureStrategySchema) GetFeatureNameOk() (*string, bool)
GetFeatureNameOk returns a tuple with the FeatureName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeatureStrategySchema) GetId ¶
func (o *FeatureStrategySchema) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*FeatureStrategySchema) GetIdOk ¶
func (o *FeatureStrategySchema) GetIdOk() (*string, bool)
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 (*FeatureStrategySchema) GetName ¶
func (o *FeatureStrategySchema) GetName() string
GetName returns the Name field value
func (*FeatureStrategySchema) GetNameOk ¶
func (o *FeatureStrategySchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*FeatureStrategySchema) GetParameters ¶
func (o *FeatureStrategySchema) GetParameters() map[string]string
GetParameters returns the Parameters field value if set, zero value otherwise.
func (*FeatureStrategySchema) GetParametersOk ¶
func (o *FeatureStrategySchema) GetParametersOk() (*map[string]string, bool)
GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeatureStrategySchema) GetSegments ¶
func (o *FeatureStrategySchema) GetSegments() []float32
GetSegments returns the Segments field value if set, zero value otherwise.
func (*FeatureStrategySchema) GetSegmentsOk ¶
func (o *FeatureStrategySchema) GetSegmentsOk() ([]float32, bool)
GetSegmentsOk returns a tuple with the Segments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeatureStrategySchema) GetSortOrder ¶
func (o *FeatureStrategySchema) GetSortOrder() float32
GetSortOrder returns the SortOrder field value if set, zero value otherwise.
func (*FeatureStrategySchema) GetSortOrderOk ¶
func (o *FeatureStrategySchema) GetSortOrderOk() (*float32, bool)
GetSortOrderOk returns a tuple with the SortOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeatureStrategySchema) GetTitle ¶
func (o *FeatureStrategySchema) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FeatureStrategySchema) GetTitleOk ¶
func (o *FeatureStrategySchema) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*FeatureStrategySchema) GetVariants ¶
func (o *FeatureStrategySchema) GetVariants() []StrategyVariantSchema
GetVariants returns the Variants field value if set, zero value otherwise.
func (*FeatureStrategySchema) GetVariantsOk ¶
func (o *FeatureStrategySchema) GetVariantsOk() ([]StrategyVariantSchema, bool)
GetVariantsOk returns a tuple with the Variants field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeatureStrategySchema) HasConstraints ¶
func (o *FeatureStrategySchema) HasConstraints() bool
HasConstraints returns a boolean if a field has been set.
func (*FeatureStrategySchema) HasDisabled ¶
func (o *FeatureStrategySchema) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*FeatureStrategySchema) HasFeatureName ¶
func (o *FeatureStrategySchema) HasFeatureName() bool
HasFeatureName returns a boolean if a field has been set.
func (*FeatureStrategySchema) HasId ¶
func (o *FeatureStrategySchema) HasId() bool
HasId returns a boolean if a field has been set.
func (*FeatureStrategySchema) HasParameters ¶
func (o *FeatureStrategySchema) HasParameters() bool
HasParameters returns a boolean if a field has been set.
func (*FeatureStrategySchema) HasSegments ¶
func (o *FeatureStrategySchema) HasSegments() bool
HasSegments returns a boolean if a field has been set.
func (*FeatureStrategySchema) HasSortOrder ¶
func (o *FeatureStrategySchema) HasSortOrder() bool
HasSortOrder returns a boolean if a field has been set.
func (*FeatureStrategySchema) HasTitle ¶
func (o *FeatureStrategySchema) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*FeatureStrategySchema) HasVariants ¶
func (o *FeatureStrategySchema) HasVariants() bool
HasVariants returns a boolean if a field has been set.
func (FeatureStrategySchema) MarshalJSON ¶
func (o FeatureStrategySchema) MarshalJSON() ([]byte, error)
func (*FeatureStrategySchema) SetConstraints ¶
func (o *FeatureStrategySchema) SetConstraints(v []ConstraintSchema)
SetConstraints gets a reference to the given []ConstraintSchema and assigns it to the Constraints field.
func (*FeatureStrategySchema) SetDisabled ¶
func (o *FeatureStrategySchema) SetDisabled(v bool)
SetDisabled gets a reference to the given NullableBool and assigns it to the Disabled field.
func (*FeatureStrategySchema) SetDisabledNil ¶
func (o *FeatureStrategySchema) SetDisabledNil()
SetDisabledNil sets the value for Disabled to be an explicit nil
func (*FeatureStrategySchema) SetFeatureName ¶
func (o *FeatureStrategySchema) SetFeatureName(v string)
SetFeatureName gets a reference to the given string and assigns it to the FeatureName field.
func (*FeatureStrategySchema) SetId ¶
func (o *FeatureStrategySchema) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*FeatureStrategySchema) SetName ¶
func (o *FeatureStrategySchema) SetName(v string)
SetName sets field value
func (*FeatureStrategySchema) SetParameters ¶
func (o *FeatureStrategySchema) SetParameters(v map[string]string)
SetParameters gets a reference to the given map[string]string and assigns it to the Parameters field.
func (*FeatureStrategySchema) SetSegments ¶
func (o *FeatureStrategySchema) SetSegments(v []float32)
SetSegments gets a reference to the given []float32 and assigns it to the Segments field.
func (*FeatureStrategySchema) SetSortOrder ¶
func (o *FeatureStrategySchema) SetSortOrder(v float32)
SetSortOrder gets a reference to the given float32 and assigns it to the SortOrder field.
func (*FeatureStrategySchema) SetTitle ¶
func (o *FeatureStrategySchema) SetTitle(v string)
SetTitle gets a reference to the given NullableString and assigns it to the Title field.
func (*FeatureStrategySchema) SetTitleNil ¶
func (o *FeatureStrategySchema) SetTitleNil()
SetTitleNil sets the value for Title to be an explicit nil
func (*FeatureStrategySchema) SetVariants ¶
func (o *FeatureStrategySchema) SetVariants(v []StrategyVariantSchema)
SetVariants gets a reference to the given []StrategyVariantSchema and assigns it to the Variants field.
func (FeatureStrategySchema) ToMap ¶
func (o FeatureStrategySchema) ToMap() (map[string]interface{}, error)
func (*FeatureStrategySchema) UnmarshalJSON ¶ added in v0.6.0
func (o *FeatureStrategySchema) UnmarshalJSON(data []byte) (err error)
func (*FeatureStrategySchema) UnsetDisabled ¶
func (o *FeatureStrategySchema) UnsetDisabled()
UnsetDisabled ensures that no value is present for Disabled, not even an explicit nil
func (*FeatureStrategySchema) UnsetTitle ¶
func (o *FeatureStrategySchema) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetProjects401Response ¶ added in v0.2.4
type GetProjects401Response struct {
// The ID of the error instance
Id *string `json:"id,omitempty"`
// The name of the error kind
Name *string `json:"name,omitempty"`
// A description of what went wrong.
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
GetProjects401Response struct for GetProjects401Response
func NewGetProjects401Response ¶ added in v0.2.4
func NewGetProjects401Response() *GetProjects401Response
NewGetProjects401Response instantiates a new GetProjects401Response 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 NewGetProjects401ResponseWithDefaults ¶ added in v0.2.4
func NewGetProjects401ResponseWithDefaults() *GetProjects401Response
NewGetProjects401ResponseWithDefaults instantiates a new GetProjects401Response 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 (*GetProjects401Response) GetId ¶ added in v0.2.4
func (o *GetProjects401Response) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GetProjects401Response) GetIdOk ¶ added in v0.2.4
func (o *GetProjects401Response) GetIdOk() (*string, bool)
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 (*GetProjects401Response) GetMessage ¶ added in v0.2.4
func (o *GetProjects401Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetProjects401Response) GetMessageOk ¶ added in v0.2.4
func (o *GetProjects401Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetProjects401Response) GetName ¶ added in v0.2.4
func (o *GetProjects401Response) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetProjects401Response) GetNameOk ¶ added in v0.2.4
func (o *GetProjects401Response) GetNameOk() (*string, bool)
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 (*GetProjects401Response) HasId ¶ added in v0.2.4
func (o *GetProjects401Response) HasId() bool
HasId returns a boolean if a field has been set.
func (*GetProjects401Response) HasMessage ¶ added in v0.2.4
func (o *GetProjects401Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*GetProjects401Response) HasName ¶ added in v0.2.4
func (o *GetProjects401Response) HasName() bool
HasName returns a boolean if a field has been set.
func (GetProjects401Response) MarshalJSON ¶ added in v0.2.4
func (o GetProjects401Response) MarshalJSON() ([]byte, error)
func (*GetProjects401Response) SetId ¶ added in v0.2.4
func (o *GetProjects401Response) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GetProjects401Response) SetMessage ¶ added in v0.2.4
func (o *GetProjects401Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetProjects401Response) SetName ¶ added in v0.2.4
func (o *GetProjects401Response) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (GetProjects401Response) ToMap ¶ added in v0.2.4
func (o GetProjects401Response) ToMap() (map[string]interface{}, error)
func (*GetProjects401Response) UnmarshalJSON ¶ added in v0.6.0
func (o *GetProjects401Response) UnmarshalJSON(data []byte) (err error)
type GetProjects403Response ¶ added in v0.2.4
type GetProjects403Response struct {
// The ID of the error instance
Id *string `json:"id,omitempty"`
// The name of the error kind
Name *string `json:"name,omitempty"`
// A description of what went wrong.
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
GetProjects403Response struct for GetProjects403Response
func NewGetProjects403Response ¶ added in v0.2.4
func NewGetProjects403Response() *GetProjects403Response
NewGetProjects403Response instantiates a new GetProjects403Response 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 NewGetProjects403ResponseWithDefaults ¶ added in v0.2.4
func NewGetProjects403ResponseWithDefaults() *GetProjects403Response
NewGetProjects403ResponseWithDefaults instantiates a new GetProjects403Response 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 (*GetProjects403Response) GetId ¶ added in v0.2.4
func (o *GetProjects403Response) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GetProjects403Response) GetIdOk ¶ added in v0.2.4
func (o *GetProjects403Response) GetIdOk() (*string, bool)
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 (*GetProjects403Response) GetMessage ¶ added in v0.2.4
func (o *GetProjects403Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetProjects403Response) GetMessageOk ¶ added in v0.2.4
func (o *GetProjects403Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetProjects403Response) GetName ¶ added in v0.2.4
func (o *GetProjects403Response) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetProjects403Response) GetNameOk ¶ added in v0.2.4
func (o *GetProjects403Response) GetNameOk() (*string, bool)
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 (*GetProjects403Response) HasId ¶ added in v0.2.4
func (o *GetProjects403Response) HasId() bool
HasId returns a boolean if a field has been set.
func (*GetProjects403Response) HasMessage ¶ added in v0.2.4
func (o *GetProjects403Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*GetProjects403Response) HasName ¶ added in v0.2.4
func (o *GetProjects403Response) HasName() bool
HasName returns a boolean if a field has been set.
func (GetProjects403Response) MarshalJSON ¶ added in v0.2.4
func (o GetProjects403Response) MarshalJSON() ([]byte, error)
func (*GetProjects403Response) SetId ¶ added in v0.2.4
func (o *GetProjects403Response) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GetProjects403Response) SetMessage ¶ added in v0.2.4
func (o *GetProjects403Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetProjects403Response) SetName ¶ added in v0.2.4
func (o *GetProjects403Response) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (GetProjects403Response) ToMap ¶ added in v0.2.4
func (o GetProjects403Response) ToMap() (map[string]interface{}, error)
func (*GetProjects403Response) UnmarshalJSON ¶ added in v0.6.0
func (o *GetProjects403Response) UnmarshalJSON(data []byte) (err error)
type GroupSchema ¶
type GroupSchema struct {
// The group id
Id *int32 `json:"id,omitempty"`
// The name of the group
Name string `json:"name"`
// A custom description of the group
Description NullableString `json:"description,omitempty"`
// A list of SSO groups that should map to this Unleash group
MappingsSSO []string `json:"mappingsSSO,omitempty"`
// A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role.
RootRole NullableFloat32 `json:"rootRole,omitempty"`
// A user who created this group
CreatedBy NullableString `json:"createdBy,omitempty"`
// When was this group created
CreatedAt NullableTime `json:"createdAt,omitempty"`
// A list of users belonging to this group
Users []GroupUserModelSchema `json:"users,omitempty"`
// A list of projects where this group is used
Projects []string `json:"projects,omitempty"`
// The number of users that belong to this group
UserCount *int32 `json:"userCount,omitempty"`
// The SCIM ID of the group, only present if managed by SCIM
ScimId NullableString `json:"scimId,omitempty"`
AdditionalProperties map[string]interface{}
}
GroupSchema A detailed information about a user group
func NewGroupSchema ¶
func NewGroupSchema(name string) *GroupSchema
NewGroupSchema instantiates a new GroupSchema 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 NewGroupSchemaWithDefaults ¶
func NewGroupSchemaWithDefaults() *GroupSchema
NewGroupSchemaWithDefaults instantiates a new GroupSchema 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 (*GroupSchema) GetCreatedAt ¶
func (o *GroupSchema) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupSchema) GetCreatedAtOk ¶
func (o *GroupSchema) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupSchema) GetCreatedBy ¶
func (o *GroupSchema) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupSchema) GetCreatedByOk ¶
func (o *GroupSchema) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupSchema) GetDescription ¶
func (o *GroupSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupSchema) GetDescriptionOk ¶
func (o *GroupSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupSchema) GetId ¶
func (o *GroupSchema) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*GroupSchema) GetIdOk ¶
func (o *GroupSchema) GetIdOk() (*int32, bool)
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 (*GroupSchema) GetMappingsSSO ¶
func (o *GroupSchema) GetMappingsSSO() []string
GetMappingsSSO returns the MappingsSSO field value if set, zero value otherwise.
func (*GroupSchema) GetMappingsSSOOk ¶
func (o *GroupSchema) GetMappingsSSOOk() ([]string, bool)
GetMappingsSSOOk returns a tuple with the MappingsSSO field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupSchema) GetName ¶
func (o *GroupSchema) GetName() string
GetName returns the Name field value
func (*GroupSchema) GetNameOk ¶
func (o *GroupSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GroupSchema) GetProjects ¶
func (o *GroupSchema) GetProjects() []string
GetProjects returns the Projects field value if set, zero value otherwise.
func (*GroupSchema) GetProjectsOk ¶
func (o *GroupSchema) GetProjectsOk() ([]string, bool)
GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupSchema) GetRootRole ¶
func (o *GroupSchema) GetRootRole() float32
GetRootRole returns the RootRole field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupSchema) GetRootRoleOk ¶
func (o *GroupSchema) GetRootRoleOk() (*float32, bool)
GetRootRoleOk returns a tuple with the RootRole field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupSchema) GetScimId ¶ added in v0.7.0
func (o *GroupSchema) GetScimId() string
GetScimId returns the ScimId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupSchema) GetScimIdOk ¶ added in v0.7.0
func (o *GroupSchema) GetScimIdOk() (*string, bool)
GetScimIdOk returns a tuple with the ScimId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupSchema) GetUserCount ¶ added in v0.2.3
func (o *GroupSchema) GetUserCount() int32
GetUserCount returns the UserCount field value if set, zero value otherwise.
func (*GroupSchema) GetUserCountOk ¶ added in v0.2.3
func (o *GroupSchema) GetUserCountOk() (*int32, bool)
GetUserCountOk returns a tuple with the UserCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupSchema) GetUsers ¶
func (o *GroupSchema) GetUsers() []GroupUserModelSchema
GetUsers returns the Users field value if set, zero value otherwise.
func (*GroupSchema) GetUsersOk ¶
func (o *GroupSchema) GetUsersOk() ([]GroupUserModelSchema, bool)
GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupSchema) HasCreatedAt ¶
func (o *GroupSchema) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*GroupSchema) HasCreatedBy ¶
func (o *GroupSchema) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*GroupSchema) HasDescription ¶
func (o *GroupSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*GroupSchema) HasId ¶
func (o *GroupSchema) HasId() bool
HasId returns a boolean if a field has been set.
func (*GroupSchema) HasMappingsSSO ¶
func (o *GroupSchema) HasMappingsSSO() bool
HasMappingsSSO returns a boolean if a field has been set.
func (*GroupSchema) HasProjects ¶
func (o *GroupSchema) HasProjects() bool
HasProjects returns a boolean if a field has been set.
func (*GroupSchema) HasRootRole ¶
func (o *GroupSchema) HasRootRole() bool
HasRootRole returns a boolean if a field has been set.
func (*GroupSchema) HasScimId ¶ added in v0.7.0
func (o *GroupSchema) HasScimId() bool
HasScimId returns a boolean if a field has been set.
func (*GroupSchema) HasUserCount ¶ added in v0.2.3
func (o *GroupSchema) HasUserCount() bool
HasUserCount returns a boolean if a field has been set.
func (*GroupSchema) HasUsers ¶
func (o *GroupSchema) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (GroupSchema) MarshalJSON ¶
func (o GroupSchema) MarshalJSON() ([]byte, error)
func (*GroupSchema) SetCreatedAt ¶
func (o *GroupSchema) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given NullableTime and assigns it to the CreatedAt field.
func (*GroupSchema) SetCreatedAtNil ¶
func (o *GroupSchema) SetCreatedAtNil()
SetCreatedAtNil sets the value for CreatedAt to be an explicit nil
func (*GroupSchema) SetCreatedBy ¶
func (o *GroupSchema) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given NullableString and assigns it to the CreatedBy field.
func (*GroupSchema) SetCreatedByNil ¶
func (o *GroupSchema) SetCreatedByNil()
SetCreatedByNil sets the value for CreatedBy to be an explicit nil
func (*GroupSchema) SetDescription ¶
func (o *GroupSchema) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*GroupSchema) SetDescriptionNil ¶
func (o *GroupSchema) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*GroupSchema) SetId ¶
func (o *GroupSchema) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*GroupSchema) SetMappingsSSO ¶
func (o *GroupSchema) SetMappingsSSO(v []string)
SetMappingsSSO gets a reference to the given []string and assigns it to the MappingsSSO field.
func (*GroupSchema) SetProjects ¶
func (o *GroupSchema) SetProjects(v []string)
SetProjects gets a reference to the given []string and assigns it to the Projects field.
func (*GroupSchema) SetRootRole ¶
func (o *GroupSchema) SetRootRole(v float32)
SetRootRole gets a reference to the given NullableFloat32 and assigns it to the RootRole field.
func (*GroupSchema) SetRootRoleNil ¶
func (o *GroupSchema) SetRootRoleNil()
SetRootRoleNil sets the value for RootRole to be an explicit nil
func (*GroupSchema) SetScimId ¶ added in v0.7.0
func (o *GroupSchema) SetScimId(v string)
SetScimId gets a reference to the given NullableString and assigns it to the ScimId field.
func (*GroupSchema) SetScimIdNil ¶ added in v0.7.0
func (o *GroupSchema) SetScimIdNil()
SetScimIdNil sets the value for ScimId to be an explicit nil
func (*GroupSchema) SetUserCount ¶ added in v0.2.3
func (o *GroupSchema) SetUserCount(v int32)
SetUserCount gets a reference to the given int32 and assigns it to the UserCount field.
func (*GroupSchema) SetUsers ¶
func (o *GroupSchema) SetUsers(v []GroupUserModelSchema)
SetUsers gets a reference to the given []GroupUserModelSchema and assigns it to the Users field.
func (GroupSchema) ToMap ¶
func (o GroupSchema) ToMap() (map[string]interface{}, error)
func (*GroupSchema) UnmarshalJSON ¶ added in v0.7.0
func (o *GroupSchema) UnmarshalJSON(data []byte) (err error)
func (*GroupSchema) UnsetCreatedAt ¶
func (o *GroupSchema) UnsetCreatedAt()
UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil
func (*GroupSchema) UnsetCreatedBy ¶
func (o *GroupSchema) UnsetCreatedBy()
UnsetCreatedBy ensures that no value is present for CreatedBy, not even an explicit nil
func (*GroupSchema) UnsetDescription ¶
func (o *GroupSchema) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*GroupSchema) UnsetRootRole ¶
func (o *GroupSchema) UnsetRootRole()
UnsetRootRole ensures that no value is present for RootRole, not even an explicit nil
func (*GroupSchema) UnsetScimId ¶ added in v0.7.0
func (o *GroupSchema) UnsetScimId()
UnsetScimId ensures that no value is present for ScimId, not even an explicit nil
type GroupUserModelSchema ¶
type GroupUserModelSchema struct {
// The date when the user joined the group
JoinedAt *time.Time `json:"joinedAt,omitempty"`
// The username of the user who added this user to this group
CreatedBy NullableString `json:"createdBy,omitempty"`
User UserSchema `json:"user"`
AdditionalProperties map[string]interface{}
}
GroupUserModelSchema Details for a single user belonging to a group
func NewGroupUserModelSchema ¶
func NewGroupUserModelSchema(user UserSchema) *GroupUserModelSchema
NewGroupUserModelSchema instantiates a new GroupUserModelSchema 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 NewGroupUserModelSchemaWithDefaults ¶
func NewGroupUserModelSchemaWithDefaults() *GroupUserModelSchema
NewGroupUserModelSchemaWithDefaults instantiates a new GroupUserModelSchema 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 (*GroupUserModelSchema) GetCreatedBy ¶
func (o *GroupUserModelSchema) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupUserModelSchema) GetCreatedByOk ¶
func (o *GroupUserModelSchema) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupUserModelSchema) GetJoinedAt ¶
func (o *GroupUserModelSchema) GetJoinedAt() time.Time
GetJoinedAt returns the JoinedAt field value if set, zero value otherwise.
func (*GroupUserModelSchema) GetJoinedAtOk ¶
func (o *GroupUserModelSchema) GetJoinedAtOk() (*time.Time, bool)
GetJoinedAtOk returns a tuple with the JoinedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupUserModelSchema) GetUser ¶
func (o *GroupUserModelSchema) GetUser() UserSchema
GetUser returns the User field value
func (*GroupUserModelSchema) GetUserOk ¶
func (o *GroupUserModelSchema) GetUserOk() (*UserSchema, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (*GroupUserModelSchema) HasCreatedBy ¶
func (o *GroupUserModelSchema) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*GroupUserModelSchema) HasJoinedAt ¶
func (o *GroupUserModelSchema) HasJoinedAt() bool
HasJoinedAt returns a boolean if a field has been set.
func (GroupUserModelSchema) MarshalJSON ¶
func (o GroupUserModelSchema) MarshalJSON() ([]byte, error)
func (*GroupUserModelSchema) SetCreatedBy ¶
func (o *GroupUserModelSchema) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given NullableString and assigns it to the CreatedBy field.
func (*GroupUserModelSchema) SetCreatedByNil ¶
func (o *GroupUserModelSchema) SetCreatedByNil()
SetCreatedByNil sets the value for CreatedBy to be an explicit nil
func (*GroupUserModelSchema) SetJoinedAt ¶
func (o *GroupUserModelSchema) SetJoinedAt(v time.Time)
SetJoinedAt gets a reference to the given time.Time and assigns it to the JoinedAt field.
func (*GroupUserModelSchema) SetUser ¶
func (o *GroupUserModelSchema) SetUser(v UserSchema)
SetUser sets field value
func (GroupUserModelSchema) ToMap ¶
func (o GroupUserModelSchema) ToMap() (map[string]interface{}, error)
func (*GroupUserModelSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *GroupUserModelSchema) UnmarshalJSON(data []byte) (err error)
func (*GroupUserModelSchema) UnsetCreatedBy ¶
func (o *GroupUserModelSchema) UnsetCreatedBy()
UnsetCreatedBy ensures that no value is present for CreatedBy, not even an explicit nil
type GroupWithProjectRoleSchema ¶ added in v0.2.3
type GroupWithProjectRoleSchema struct {
// The name of the group
Name *string `json:"name,omitempty"`
// The group's ID in the Unleash system
Id int32 `json:"id"`
// When this group was added to the project
AddedAt *time.Time `json:"addedAt,omitempty"`
// The ID of the role this group has in the given project
RoleId *int32 `json:"roleId,omitempty"`
// A list of roles this user has in the given project
Roles []int32 `json:"roles,omitempty"`
// A custom description of the group
Description NullableString `json:"description,omitempty"`
// A list of SSO groups that should map to this Unleash group
MappingsSSO []string `json:"mappingsSSO,omitempty"`
// A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role.
RootRole NullableFloat32 `json:"rootRole,omitempty"`
// A user who created this group
CreatedBy NullableString `json:"createdBy,omitempty"`
// When was this group created
CreatedAt NullableTime `json:"createdAt,omitempty"`
// A list of users belonging to this group
Users []GroupUserModelSchema `json:"users,omitempty"`
// The SCIM ID of the group, only present if managed by SCIM
ScimId NullableString `json:"scimId,omitempty"`
AdditionalProperties map[string]interface{}
}
GroupWithProjectRoleSchema Data about a group including their project role
func NewGroupWithProjectRoleSchema ¶ added in v0.2.3
func NewGroupWithProjectRoleSchema(id int32) *GroupWithProjectRoleSchema
NewGroupWithProjectRoleSchema instantiates a new GroupWithProjectRoleSchema 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 NewGroupWithProjectRoleSchemaWithDefaults ¶ added in v0.2.3
func NewGroupWithProjectRoleSchemaWithDefaults() *GroupWithProjectRoleSchema
NewGroupWithProjectRoleSchemaWithDefaults instantiates a new GroupWithProjectRoleSchema 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 (*GroupWithProjectRoleSchema) GetAddedAt ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetAddedAt() time.Time
GetAddedAt returns the AddedAt field value if set, zero value otherwise.
func (*GroupWithProjectRoleSchema) GetAddedAtOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetAddedAtOk() (*time.Time, bool)
GetAddedAtOk returns a tuple with the AddedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupWithProjectRoleSchema) GetCreatedAt ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupWithProjectRoleSchema) GetCreatedAtOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupWithProjectRoleSchema) GetCreatedBy ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupWithProjectRoleSchema) GetCreatedByOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupWithProjectRoleSchema) GetDescription ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupWithProjectRoleSchema) GetDescriptionOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupWithProjectRoleSchema) GetId ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetId() int32
GetId returns the Id field value
func (*GroupWithProjectRoleSchema) GetIdOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GroupWithProjectRoleSchema) GetMappingsSSO ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetMappingsSSO() []string
GetMappingsSSO returns the MappingsSSO field value if set, zero value otherwise.
func (*GroupWithProjectRoleSchema) GetMappingsSSOOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetMappingsSSOOk() ([]string, bool)
GetMappingsSSOOk returns a tuple with the MappingsSSO field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupWithProjectRoleSchema) GetName ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GroupWithProjectRoleSchema) GetNameOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetNameOk() (*string, bool)
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 (*GroupWithProjectRoleSchema) GetRoleId ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetRoleId() int32
GetRoleId returns the RoleId field value if set, zero value otherwise.
func (*GroupWithProjectRoleSchema) GetRoleIdOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetRoleIdOk() (*int32, bool)
GetRoleIdOk returns a tuple with the RoleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupWithProjectRoleSchema) GetRoles ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetRoles() []int32
GetRoles returns the Roles field value if set, zero value otherwise.
func (*GroupWithProjectRoleSchema) GetRolesOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetRolesOk() ([]int32, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupWithProjectRoleSchema) GetRootRole ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetRootRole() float32
GetRootRole returns the RootRole field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupWithProjectRoleSchema) GetRootRoleOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetRootRoleOk() (*float32, bool)
GetRootRoleOk returns a tuple with the RootRole field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupWithProjectRoleSchema) GetScimId ¶ added in v0.3.0
func (o *GroupWithProjectRoleSchema) GetScimId() string
GetScimId returns the ScimId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GroupWithProjectRoleSchema) GetScimIdOk ¶ added in v0.3.0
func (o *GroupWithProjectRoleSchema) GetScimIdOk() (*string, bool)
GetScimIdOk returns a tuple with the ScimId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GroupWithProjectRoleSchema) GetUsers ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetUsers() []GroupUserModelSchema
GetUsers returns the Users field value if set, zero value otherwise.
func (*GroupWithProjectRoleSchema) GetUsersOk ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) GetUsersOk() ([]GroupUserModelSchema, bool)
GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupWithProjectRoleSchema) HasAddedAt ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) HasAddedAt() bool
HasAddedAt returns a boolean if a field has been set.
func (*GroupWithProjectRoleSchema) HasCreatedAt ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*GroupWithProjectRoleSchema) HasCreatedBy ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*GroupWithProjectRoleSchema) HasDescription ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*GroupWithProjectRoleSchema) HasMappingsSSO ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) HasMappingsSSO() bool
HasMappingsSSO returns a boolean if a field has been set.
func (*GroupWithProjectRoleSchema) HasName ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) HasName() bool
HasName returns a boolean if a field has been set.
func (*GroupWithProjectRoleSchema) HasRoleId ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) HasRoleId() bool
HasRoleId returns a boolean if a field has been set.
func (*GroupWithProjectRoleSchema) HasRoles ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (*GroupWithProjectRoleSchema) HasRootRole ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) HasRootRole() bool
HasRootRole returns a boolean if a field has been set.
func (*GroupWithProjectRoleSchema) HasScimId ¶ added in v0.3.0
func (o *GroupWithProjectRoleSchema) HasScimId() bool
HasScimId returns a boolean if a field has been set.
func (*GroupWithProjectRoleSchema) HasUsers ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (GroupWithProjectRoleSchema) MarshalJSON ¶ added in v0.2.3
func (o GroupWithProjectRoleSchema) MarshalJSON() ([]byte, error)
func (*GroupWithProjectRoleSchema) SetAddedAt ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetAddedAt(v time.Time)
SetAddedAt gets a reference to the given time.Time and assigns it to the AddedAt field.
func (*GroupWithProjectRoleSchema) SetCreatedAt ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given NullableTime and assigns it to the CreatedAt field.
func (*GroupWithProjectRoleSchema) SetCreatedAtNil ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetCreatedAtNil()
SetCreatedAtNil sets the value for CreatedAt to be an explicit nil
func (*GroupWithProjectRoleSchema) SetCreatedBy ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given NullableString and assigns it to the CreatedBy field.
func (*GroupWithProjectRoleSchema) SetCreatedByNil ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetCreatedByNil()
SetCreatedByNil sets the value for CreatedBy to be an explicit nil
func (*GroupWithProjectRoleSchema) SetDescription ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*GroupWithProjectRoleSchema) SetDescriptionNil ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*GroupWithProjectRoleSchema) SetId ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetId(v int32)
SetId sets field value
func (*GroupWithProjectRoleSchema) SetMappingsSSO ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetMappingsSSO(v []string)
SetMappingsSSO gets a reference to the given []string and assigns it to the MappingsSSO field.
func (*GroupWithProjectRoleSchema) SetName ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GroupWithProjectRoleSchema) SetRoleId ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetRoleId(v int32)
SetRoleId gets a reference to the given int32 and assigns it to the RoleId field.
func (*GroupWithProjectRoleSchema) SetRoles ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetRoles(v []int32)
SetRoles gets a reference to the given []int32 and assigns it to the Roles field.
func (*GroupWithProjectRoleSchema) SetRootRole ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetRootRole(v float32)
SetRootRole gets a reference to the given NullableFloat32 and assigns it to the RootRole field.
func (*GroupWithProjectRoleSchema) SetRootRoleNil ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetRootRoleNil()
SetRootRoleNil sets the value for RootRole to be an explicit nil
func (*GroupWithProjectRoleSchema) SetScimId ¶ added in v0.3.0
func (o *GroupWithProjectRoleSchema) SetScimId(v string)
SetScimId gets a reference to the given NullableString and assigns it to the ScimId field.
func (*GroupWithProjectRoleSchema) SetScimIdNil ¶ added in v0.3.0
func (o *GroupWithProjectRoleSchema) SetScimIdNil()
SetScimIdNil sets the value for ScimId to be an explicit nil
func (*GroupWithProjectRoleSchema) SetUsers ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) SetUsers(v []GroupUserModelSchema)
SetUsers gets a reference to the given []GroupUserModelSchema and assigns it to the Users field.
func (GroupWithProjectRoleSchema) ToMap ¶ added in v0.2.3
func (o GroupWithProjectRoleSchema) ToMap() (map[string]interface{}, error)
func (*GroupWithProjectRoleSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *GroupWithProjectRoleSchema) UnmarshalJSON(data []byte) (err error)
func (*GroupWithProjectRoleSchema) UnsetCreatedAt ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) UnsetCreatedAt()
UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil
func (*GroupWithProjectRoleSchema) UnsetCreatedBy ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) UnsetCreatedBy()
UnsetCreatedBy ensures that no value is present for CreatedBy, not even an explicit nil
func (*GroupWithProjectRoleSchema) UnsetDescription ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*GroupWithProjectRoleSchema) UnsetRootRole ¶ added in v0.2.3
func (o *GroupWithProjectRoleSchema) UnsetRootRole()
UnsetRootRole ensures that no value is present for RootRole, not even an explicit nil
func (*GroupWithProjectRoleSchema) UnsetScimId ¶ added in v0.3.0
func (o *GroupWithProjectRoleSchema) UnsetScimId()
UnsetScimId ensures that no value is present for ScimId, not even an explicit nil
type GroupsSchema ¶
type GroupsSchema struct {
// A list of groups
Groups []GroupSchema `json:"groups,omitempty"`
AdditionalProperties map[string]interface{}
}
GroupsSchema A list of [user groups](https://docs.getunleash.io/concepts/rbac#user-groups)
func NewGroupsSchema ¶
func NewGroupsSchema() *GroupsSchema
NewGroupsSchema instantiates a new GroupsSchema 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 NewGroupsSchemaWithDefaults ¶
func NewGroupsSchemaWithDefaults() *GroupsSchema
NewGroupsSchemaWithDefaults instantiates a new GroupsSchema 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 (*GroupsSchema) GetGroups ¶
func (o *GroupsSchema) GetGroups() []GroupSchema
GetGroups returns the Groups field value if set, zero value otherwise.
func (*GroupsSchema) GetGroupsOk ¶
func (o *GroupsSchema) GetGroupsOk() ([]GroupSchema, bool)
GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupsSchema) HasGroups ¶
func (o *GroupsSchema) HasGroups() bool
HasGroups returns a boolean if a field has been set.
func (GroupsSchema) MarshalJSON ¶
func (o GroupsSchema) MarshalJSON() ([]byte, error)
func (*GroupsSchema) SetGroups ¶
func (o *GroupsSchema) SetGroups(v []GroupSchema)
SetGroups gets a reference to the given []GroupSchema and assigns it to the Groups field.
func (GroupsSchema) ToMap ¶
func (o GroupsSchema) ToMap() (map[string]interface{}, error)
func (*GroupsSchema) UnmarshalJSON ¶ added in v0.7.0
func (o *GroupsSchema) UnmarshalJSON(data []byte) (err error)
type LegalValueSchema ¶
type LegalValueSchema struct {
// The valid value
Value string `json:"value"`
// Describes this specific legal value
Description *string `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
LegalValueSchema Describes a legal value. Typically used to limit possible values for contextFields or strategy properties
func NewLegalValueSchema ¶
func NewLegalValueSchema(value string) *LegalValueSchema
NewLegalValueSchema instantiates a new LegalValueSchema 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 NewLegalValueSchemaWithDefaults ¶
func NewLegalValueSchemaWithDefaults() *LegalValueSchema
NewLegalValueSchemaWithDefaults instantiates a new LegalValueSchema 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 (*LegalValueSchema) GetDescription ¶
func (o *LegalValueSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*LegalValueSchema) GetDescriptionOk ¶
func (o *LegalValueSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LegalValueSchema) GetValue ¶
func (o *LegalValueSchema) GetValue() string
GetValue returns the Value field value
func (*LegalValueSchema) GetValueOk ¶
func (o *LegalValueSchema) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*LegalValueSchema) HasDescription ¶
func (o *LegalValueSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (LegalValueSchema) MarshalJSON ¶
func (o LegalValueSchema) MarshalJSON() ([]byte, error)
func (*LegalValueSchema) SetDescription ¶
func (o *LegalValueSchema) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*LegalValueSchema) SetValue ¶
func (o *LegalValueSchema) SetValue(v string)
SetValue sets field value
func (LegalValueSchema) ToMap ¶
func (o LegalValueSchema) ToMap() (map[string]interface{}, error)
func (*LegalValueSchema) UnmarshalJSON ¶ added in v0.5.2
func (o *LegalValueSchema) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableAdminPermissionSchema ¶
type NullableAdminPermissionSchema struct {
// contains filtered or unexported fields
}
func NewNullableAdminPermissionSchema ¶
func NewNullableAdminPermissionSchema(val *AdminPermissionSchema) *NullableAdminPermissionSchema
func (NullableAdminPermissionSchema) Get ¶
func (v NullableAdminPermissionSchema) Get() *AdminPermissionSchema
func (NullableAdminPermissionSchema) IsSet ¶
func (v NullableAdminPermissionSchema) IsSet() bool
func (NullableAdminPermissionSchema) MarshalJSON ¶
func (v NullableAdminPermissionSchema) MarshalJSON() ([]byte, error)
func (*NullableAdminPermissionSchema) Set ¶
func (v *NullableAdminPermissionSchema) Set(val *AdminPermissionSchema)
func (*NullableAdminPermissionSchema) UnmarshalJSON ¶
func (v *NullableAdminPermissionSchema) UnmarshalJSON(src []byte) error
func (*NullableAdminPermissionSchema) Unset ¶
func (v *NullableAdminPermissionSchema) Unset()
type NullableAdminPermissionsSchema ¶
type NullableAdminPermissionsSchema struct {
// contains filtered or unexported fields
}
func NewNullableAdminPermissionsSchema ¶
func NewNullableAdminPermissionsSchema(val *AdminPermissionsSchema) *NullableAdminPermissionsSchema
func (NullableAdminPermissionsSchema) Get ¶
func (v NullableAdminPermissionsSchema) Get() *AdminPermissionsSchema
func (NullableAdminPermissionsSchema) IsSet ¶
func (v NullableAdminPermissionsSchema) IsSet() bool
func (NullableAdminPermissionsSchema) MarshalJSON ¶
func (v NullableAdminPermissionsSchema) MarshalJSON() ([]byte, error)
func (*NullableAdminPermissionsSchema) Set ¶
func (v *NullableAdminPermissionsSchema) Set(val *AdminPermissionsSchema)
func (*NullableAdminPermissionsSchema) UnmarshalJSON ¶
func (v *NullableAdminPermissionsSchema) UnmarshalJSON(src []byte) error
func (*NullableAdminPermissionsSchema) Unset ¶
func (v *NullableAdminPermissionsSchema) Unset()
type NullableAdminPermissionsSchemaPermissions ¶
type NullableAdminPermissionsSchemaPermissions struct {
// contains filtered or unexported fields
}
func NewNullableAdminPermissionsSchemaPermissions ¶
func NewNullableAdminPermissionsSchemaPermissions(val *AdminPermissionsSchemaPermissions) *NullableAdminPermissionsSchemaPermissions
func (NullableAdminPermissionsSchemaPermissions) IsSet ¶
func (v NullableAdminPermissionsSchemaPermissions) IsSet() bool
func (NullableAdminPermissionsSchemaPermissions) MarshalJSON ¶
func (v NullableAdminPermissionsSchemaPermissions) MarshalJSON() ([]byte, error)
func (*NullableAdminPermissionsSchemaPermissions) Set ¶
func (v *NullableAdminPermissionsSchemaPermissions) Set(val *AdminPermissionsSchemaPermissions)
func (*NullableAdminPermissionsSchemaPermissions) UnmarshalJSON ¶
func (v *NullableAdminPermissionsSchemaPermissions) UnmarshalJSON(src []byte) error
func (*NullableAdminPermissionsSchemaPermissions) Unset ¶
func (v *NullableAdminPermissionsSchemaPermissions) Unset()
type NullableAdminPermissionsSchemaPermissionsEnvironmentsInner ¶
type NullableAdminPermissionsSchemaPermissionsEnvironmentsInner struct {
// contains filtered or unexported fields
}
func NewNullableAdminPermissionsSchemaPermissionsEnvironmentsInner ¶
func NewNullableAdminPermissionsSchemaPermissionsEnvironmentsInner(val *AdminPermissionsSchemaPermissionsEnvironmentsInner) *NullableAdminPermissionsSchemaPermissionsEnvironmentsInner
func (NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) IsSet ¶
func (v NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) IsSet() bool
func (NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) MarshalJSON ¶
func (v NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) MarshalJSON() ([]byte, error)
func (*NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) UnmarshalJSON ¶
func (v *NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) UnmarshalJSON(src []byte) error
func (*NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) Unset ¶
func (v *NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) Unset()
type NullableApiTokenSchema ¶
type NullableApiTokenSchema struct {
// contains filtered or unexported fields
}
func NewNullableApiTokenSchema ¶
func NewNullableApiTokenSchema(val *ApiTokenSchema) *NullableApiTokenSchema
func (NullableApiTokenSchema) Get ¶
func (v NullableApiTokenSchema) Get() *ApiTokenSchema
func (NullableApiTokenSchema) IsSet ¶
func (v NullableApiTokenSchema) IsSet() bool
func (NullableApiTokenSchema) MarshalJSON ¶
func (v NullableApiTokenSchema) MarshalJSON() ([]byte, error)
func (*NullableApiTokenSchema) Set ¶
func (v *NullableApiTokenSchema) Set(val *ApiTokenSchema)
func (*NullableApiTokenSchema) UnmarshalJSON ¶
func (v *NullableApiTokenSchema) UnmarshalJSON(src []byte) error
func (*NullableApiTokenSchema) Unset ¶
func (v *NullableApiTokenSchema) Unset()
type NullableApiTokensSchema ¶
type NullableApiTokensSchema struct {
// contains filtered or unexported fields
}
func NewNullableApiTokensSchema ¶
func NewNullableApiTokensSchema(val *ApiTokensSchema) *NullableApiTokensSchema
func (NullableApiTokensSchema) Get ¶
func (v NullableApiTokensSchema) Get() *ApiTokensSchema
func (NullableApiTokensSchema) IsSet ¶
func (v NullableApiTokensSchema) IsSet() bool
func (NullableApiTokensSchema) MarshalJSON ¶
func (v NullableApiTokensSchema) MarshalJSON() ([]byte, error)
func (*NullableApiTokensSchema) Set ¶
func (v *NullableApiTokensSchema) Set(val *ApiTokensSchema)
func (*NullableApiTokensSchema) UnmarshalJSON ¶
func (v *NullableApiTokensSchema) UnmarshalJSON(src []byte) error
func (*NullableApiTokensSchema) Unset ¶
func (v *NullableApiTokensSchema) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableChangeRequestEnvironmentConfigSchema ¶ added in v0.2.3
type NullableChangeRequestEnvironmentConfigSchema struct {
// contains filtered or unexported fields
}
func NewNullableChangeRequestEnvironmentConfigSchema ¶ added in v0.2.3
func NewNullableChangeRequestEnvironmentConfigSchema(val *ChangeRequestEnvironmentConfigSchema) *NullableChangeRequestEnvironmentConfigSchema
func (NullableChangeRequestEnvironmentConfigSchema) IsSet ¶ added in v0.2.3
func (v NullableChangeRequestEnvironmentConfigSchema) IsSet() bool
func (NullableChangeRequestEnvironmentConfigSchema) MarshalJSON ¶ added in v0.2.3
func (v NullableChangeRequestEnvironmentConfigSchema) MarshalJSON() ([]byte, error)
func (*NullableChangeRequestEnvironmentConfigSchema) Set ¶ added in v0.2.3
func (v *NullableChangeRequestEnvironmentConfigSchema) Set(val *ChangeRequestEnvironmentConfigSchema)
func (*NullableChangeRequestEnvironmentConfigSchema) UnmarshalJSON ¶ added in v0.2.3
func (v *NullableChangeRequestEnvironmentConfigSchema) UnmarshalJSON(src []byte) error
func (*NullableChangeRequestEnvironmentConfigSchema) Unset ¶ added in v0.2.3
func (v *NullableChangeRequestEnvironmentConfigSchema) Unset()
type NullableConstraintSchema ¶
type NullableConstraintSchema struct {
// contains filtered or unexported fields
}
func NewNullableConstraintSchema ¶
func NewNullableConstraintSchema(val *ConstraintSchema) *NullableConstraintSchema
func (NullableConstraintSchema) Get ¶
func (v NullableConstraintSchema) Get() *ConstraintSchema
func (NullableConstraintSchema) IsSet ¶
func (v NullableConstraintSchema) IsSet() bool
func (NullableConstraintSchema) MarshalJSON ¶
func (v NullableConstraintSchema) MarshalJSON() ([]byte, error)
func (*NullableConstraintSchema) Set ¶
func (v *NullableConstraintSchema) Set(val *ConstraintSchema)
func (*NullableConstraintSchema) UnmarshalJSON ¶
func (v *NullableConstraintSchema) UnmarshalJSON(src []byte) error
func (*NullableConstraintSchema) Unset ¶
func (v *NullableConstraintSchema) Unset()
type NullableContextFieldSchema ¶
type NullableContextFieldSchema struct {
// contains filtered or unexported fields
}
func NewNullableContextFieldSchema ¶
func NewNullableContextFieldSchema(val *ContextFieldSchema) *NullableContextFieldSchema
func (NullableContextFieldSchema) Get ¶
func (v NullableContextFieldSchema) Get() *ContextFieldSchema
func (NullableContextFieldSchema) IsSet ¶
func (v NullableContextFieldSchema) IsSet() bool
func (NullableContextFieldSchema) MarshalJSON ¶
func (v NullableContextFieldSchema) MarshalJSON() ([]byte, error)
func (*NullableContextFieldSchema) Set ¶
func (v *NullableContextFieldSchema) Set(val *ContextFieldSchema)
func (*NullableContextFieldSchema) UnmarshalJSON ¶
func (v *NullableContextFieldSchema) UnmarshalJSON(src []byte) error
func (*NullableContextFieldSchema) Unset ¶
func (v *NullableContextFieldSchema) Unset()
type NullableCreateApiTokenSchema ¶
type NullableCreateApiTokenSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateApiTokenSchema ¶
func NewNullableCreateApiTokenSchema(val *CreateApiTokenSchema) *NullableCreateApiTokenSchema
func (NullableCreateApiTokenSchema) Get ¶
func (v NullableCreateApiTokenSchema) Get() *CreateApiTokenSchema
func (NullableCreateApiTokenSchema) IsSet ¶
func (v NullableCreateApiTokenSchema) IsSet() bool
func (NullableCreateApiTokenSchema) MarshalJSON ¶
func (v NullableCreateApiTokenSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateApiTokenSchema) Set ¶
func (v *NullableCreateApiTokenSchema) Set(val *CreateApiTokenSchema)
func (*NullableCreateApiTokenSchema) UnmarshalJSON ¶
func (v *NullableCreateApiTokenSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateApiTokenSchema) Unset ¶
func (v *NullableCreateApiTokenSchema) Unset()
type NullableCreateApiTokenSchemaOneOf ¶ added in v0.2.3
type NullableCreateApiTokenSchemaOneOf struct {
// contains filtered or unexported fields
}
func NewNullableCreateApiTokenSchemaOneOf ¶ added in v0.2.3
func NewNullableCreateApiTokenSchemaOneOf(val *CreateApiTokenSchemaOneOf) *NullableCreateApiTokenSchemaOneOf
func (NullableCreateApiTokenSchemaOneOf) Get ¶ added in v0.2.3
func (v NullableCreateApiTokenSchemaOneOf) Get() *CreateApiTokenSchemaOneOf
func (NullableCreateApiTokenSchemaOneOf) IsSet ¶ added in v0.2.3
func (v NullableCreateApiTokenSchemaOneOf) IsSet() bool
func (NullableCreateApiTokenSchemaOneOf) MarshalJSON ¶ added in v0.2.3
func (v NullableCreateApiTokenSchemaOneOf) MarshalJSON() ([]byte, error)
func (*NullableCreateApiTokenSchemaOneOf) Set ¶ added in v0.2.3
func (v *NullableCreateApiTokenSchemaOneOf) Set(val *CreateApiTokenSchemaOneOf)
func (*NullableCreateApiTokenSchemaOneOf) UnmarshalJSON ¶ added in v0.2.3
func (v *NullableCreateApiTokenSchemaOneOf) UnmarshalJSON(src []byte) error
func (*NullableCreateApiTokenSchemaOneOf) Unset ¶ added in v0.2.3
func (v *NullableCreateApiTokenSchemaOneOf) Unset()
type NullableCreateContextFieldSchema ¶ added in v0.2.3
type NullableCreateContextFieldSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateContextFieldSchema ¶ added in v0.2.3
func NewNullableCreateContextFieldSchema(val *CreateContextFieldSchema) *NullableCreateContextFieldSchema
func (NullableCreateContextFieldSchema) Get ¶ added in v0.2.3
func (v NullableCreateContextFieldSchema) Get() *CreateContextFieldSchema
func (NullableCreateContextFieldSchema) IsSet ¶ added in v0.2.3
func (v NullableCreateContextFieldSchema) IsSet() bool
func (NullableCreateContextFieldSchema) MarshalJSON ¶ added in v0.2.3
func (v NullableCreateContextFieldSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateContextFieldSchema) Set ¶ added in v0.2.3
func (v *NullableCreateContextFieldSchema) Set(val *CreateContextFieldSchema)
func (*NullableCreateContextFieldSchema) UnmarshalJSON ¶ added in v0.2.3
func (v *NullableCreateContextFieldSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateContextFieldSchema) Unset ¶ added in v0.2.3
func (v *NullableCreateContextFieldSchema) Unset()
type NullableCreateEnvironmentSchema ¶
type NullableCreateEnvironmentSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateEnvironmentSchema ¶
func NewNullableCreateEnvironmentSchema(val *CreateEnvironmentSchema) *NullableCreateEnvironmentSchema
func (NullableCreateEnvironmentSchema) Get ¶
func (v NullableCreateEnvironmentSchema) Get() *CreateEnvironmentSchema
func (NullableCreateEnvironmentSchema) IsSet ¶
func (v NullableCreateEnvironmentSchema) IsSet() bool
func (NullableCreateEnvironmentSchema) MarshalJSON ¶
func (v NullableCreateEnvironmentSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateEnvironmentSchema) Set ¶
func (v *NullableCreateEnvironmentSchema) Set(val *CreateEnvironmentSchema)
func (*NullableCreateEnvironmentSchema) UnmarshalJSON ¶
func (v *NullableCreateEnvironmentSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateEnvironmentSchema) Unset ¶
func (v *NullableCreateEnvironmentSchema) Unset()
type NullableCreateFeatureNamingPatternSchema ¶ added in v0.2.3
type NullableCreateFeatureNamingPatternSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateFeatureNamingPatternSchema ¶ added in v0.2.3
func NewNullableCreateFeatureNamingPatternSchema(val *CreateFeatureNamingPatternSchema) *NullableCreateFeatureNamingPatternSchema
func (NullableCreateFeatureNamingPatternSchema) IsSet ¶ added in v0.2.3
func (v NullableCreateFeatureNamingPatternSchema) IsSet() bool
func (NullableCreateFeatureNamingPatternSchema) MarshalJSON ¶ added in v0.2.3
func (v NullableCreateFeatureNamingPatternSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateFeatureNamingPatternSchema) Set ¶ added in v0.2.3
func (v *NullableCreateFeatureNamingPatternSchema) Set(val *CreateFeatureNamingPatternSchema)
func (*NullableCreateFeatureNamingPatternSchema) UnmarshalJSON ¶ added in v0.2.3
func (v *NullableCreateFeatureNamingPatternSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateFeatureNamingPatternSchema) Unset ¶ added in v0.2.3
func (v *NullableCreateFeatureNamingPatternSchema) Unset()
type NullableCreateFeatureStrategySchema ¶
type NullableCreateFeatureStrategySchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateFeatureStrategySchema ¶
func NewNullableCreateFeatureStrategySchema(val *CreateFeatureStrategySchema) *NullableCreateFeatureStrategySchema
func (NullableCreateFeatureStrategySchema) Get ¶
func (v NullableCreateFeatureStrategySchema) Get() *CreateFeatureStrategySchema
func (NullableCreateFeatureStrategySchema) IsSet ¶
func (v NullableCreateFeatureStrategySchema) IsSet() bool
func (NullableCreateFeatureStrategySchema) MarshalJSON ¶
func (v NullableCreateFeatureStrategySchema) MarshalJSON() ([]byte, error)
func (*NullableCreateFeatureStrategySchema) Set ¶
func (v *NullableCreateFeatureStrategySchema) Set(val *CreateFeatureStrategySchema)
func (*NullableCreateFeatureStrategySchema) UnmarshalJSON ¶
func (v *NullableCreateFeatureStrategySchema) UnmarshalJSON(src []byte) error
func (*NullableCreateFeatureStrategySchema) Unset ¶
func (v *NullableCreateFeatureStrategySchema) Unset()
type NullableCreateGroup409Response ¶
type NullableCreateGroup409Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateGroup409Response ¶
func NewNullableCreateGroup409Response(val *CreateGroup409Response) *NullableCreateGroup409Response
func (NullableCreateGroup409Response) Get ¶
func (v NullableCreateGroup409Response) Get() *CreateGroup409Response
func (NullableCreateGroup409Response) IsSet ¶
func (v NullableCreateGroup409Response) IsSet() bool
func (NullableCreateGroup409Response) MarshalJSON ¶
func (v NullableCreateGroup409Response) MarshalJSON() ([]byte, error)
func (*NullableCreateGroup409Response) Set ¶
func (v *NullableCreateGroup409Response) Set(val *CreateGroup409Response)
func (*NullableCreateGroup409Response) UnmarshalJSON ¶
func (v *NullableCreateGroup409Response) UnmarshalJSON(src []byte) error
func (*NullableCreateGroup409Response) Unset ¶
func (v *NullableCreateGroup409Response) Unset()
type NullableCreateGroupSchema ¶
type NullableCreateGroupSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateGroupSchema ¶
func NewNullableCreateGroupSchema(val *CreateGroupSchema) *NullableCreateGroupSchema
func (NullableCreateGroupSchema) Get ¶
func (v NullableCreateGroupSchema) Get() *CreateGroupSchema
func (NullableCreateGroupSchema) IsSet ¶
func (v NullableCreateGroupSchema) IsSet() bool
func (NullableCreateGroupSchema) MarshalJSON ¶
func (v NullableCreateGroupSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateGroupSchema) Set ¶
func (v *NullableCreateGroupSchema) Set(val *CreateGroupSchema)
func (*NullableCreateGroupSchema) UnmarshalJSON ¶
func (v *NullableCreateGroupSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateGroupSchema) Unset ¶
func (v *NullableCreateGroupSchema) Unset()
type NullableCreateGroupSchemaUsersInner ¶
type NullableCreateGroupSchemaUsersInner struct {
// contains filtered or unexported fields
}
func NewNullableCreateGroupSchemaUsersInner ¶
func NewNullableCreateGroupSchemaUsersInner(val *CreateGroupSchemaUsersInner) *NullableCreateGroupSchemaUsersInner
func (NullableCreateGroupSchemaUsersInner) Get ¶
func (v NullableCreateGroupSchemaUsersInner) Get() *CreateGroupSchemaUsersInner
func (NullableCreateGroupSchemaUsersInner) IsSet ¶
func (v NullableCreateGroupSchemaUsersInner) IsSet() bool
func (NullableCreateGroupSchemaUsersInner) MarshalJSON ¶
func (v NullableCreateGroupSchemaUsersInner) MarshalJSON() ([]byte, error)
func (*NullableCreateGroupSchemaUsersInner) Set ¶
func (v *NullableCreateGroupSchemaUsersInner) Set(val *CreateGroupSchemaUsersInner)
func (*NullableCreateGroupSchemaUsersInner) UnmarshalJSON ¶
func (v *NullableCreateGroupSchemaUsersInner) UnmarshalJSON(src []byte) error
func (*NullableCreateGroupSchemaUsersInner) Unset ¶
func (v *NullableCreateGroupSchemaUsersInner) Unset()
type NullableCreateGroupSchemaUsersInnerUser ¶
type NullableCreateGroupSchemaUsersInnerUser struct {
// contains filtered or unexported fields
}
func NewNullableCreateGroupSchemaUsersInnerUser ¶
func NewNullableCreateGroupSchemaUsersInnerUser(val *CreateGroupSchemaUsersInnerUser) *NullableCreateGroupSchemaUsersInnerUser
func (NullableCreateGroupSchemaUsersInnerUser) IsSet ¶
func (v NullableCreateGroupSchemaUsersInnerUser) IsSet() bool
func (NullableCreateGroupSchemaUsersInnerUser) MarshalJSON ¶
func (v NullableCreateGroupSchemaUsersInnerUser) MarshalJSON() ([]byte, error)
func (*NullableCreateGroupSchemaUsersInnerUser) Set ¶
func (v *NullableCreateGroupSchemaUsersInnerUser) Set(val *CreateGroupSchemaUsersInnerUser)
func (*NullableCreateGroupSchemaUsersInnerUser) UnmarshalJSON ¶
func (v *NullableCreateGroupSchemaUsersInnerUser) UnmarshalJSON(src []byte) error
func (*NullableCreateGroupSchemaUsersInnerUser) Unset ¶
func (v *NullableCreateGroupSchemaUsersInnerUser) Unset()
type NullableCreatePatSchema ¶ added in v0.3.0
type NullableCreatePatSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreatePatSchema ¶ added in v0.3.0
func NewNullableCreatePatSchema(val *CreatePatSchema) *NullableCreatePatSchema
func (NullableCreatePatSchema) Get ¶ added in v0.3.0
func (v NullableCreatePatSchema) Get() *CreatePatSchema
func (NullableCreatePatSchema) IsSet ¶ added in v0.3.0
func (v NullableCreatePatSchema) IsSet() bool
func (NullableCreatePatSchema) MarshalJSON ¶ added in v0.3.0
func (v NullableCreatePatSchema) MarshalJSON() ([]byte, error)
func (*NullableCreatePatSchema) Set ¶ added in v0.3.0
func (v *NullableCreatePatSchema) Set(val *CreatePatSchema)
func (*NullableCreatePatSchema) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableCreatePatSchema) UnmarshalJSON(src []byte) error
func (*NullableCreatePatSchema) Unset ¶ added in v0.3.0
func (v *NullableCreatePatSchema) Unset()
type NullableCreateProject400Response ¶ added in v0.2.4
type NullableCreateProject400Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateProject400Response ¶ added in v0.2.4
func NewNullableCreateProject400Response(val *CreateProject400Response) *NullableCreateProject400Response
func (NullableCreateProject400Response) Get ¶ added in v0.2.4
func (v NullableCreateProject400Response) Get() *CreateProject400Response
func (NullableCreateProject400Response) IsSet ¶ added in v0.2.4
func (v NullableCreateProject400Response) IsSet() bool
func (NullableCreateProject400Response) MarshalJSON ¶ added in v0.2.4
func (v NullableCreateProject400Response) MarshalJSON() ([]byte, error)
func (*NullableCreateProject400Response) Set ¶ added in v0.2.4
func (v *NullableCreateProject400Response) Set(val *CreateProject400Response)
func (*NullableCreateProject400Response) UnmarshalJSON ¶ added in v0.2.4
func (v *NullableCreateProject400Response) UnmarshalJSON(src []byte) error
func (*NullableCreateProject400Response) Unset ¶ added in v0.2.4
func (v *NullableCreateProject400Response) Unset()
type NullableCreateProject415Response ¶ added in v0.2.4
type NullableCreateProject415Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateProject415Response ¶ added in v0.2.4
func NewNullableCreateProject415Response(val *CreateProject415Response) *NullableCreateProject415Response
func (NullableCreateProject415Response) Get ¶ added in v0.2.4
func (v NullableCreateProject415Response) Get() *CreateProject415Response
func (NullableCreateProject415Response) IsSet ¶ added in v0.2.4
func (v NullableCreateProject415Response) IsSet() bool
func (NullableCreateProject415Response) MarshalJSON ¶ added in v0.2.4
func (v NullableCreateProject415Response) MarshalJSON() ([]byte, error)
func (*NullableCreateProject415Response) Set ¶ added in v0.2.4
func (v *NullableCreateProject415Response) Set(val *CreateProject415Response)
func (*NullableCreateProject415Response) UnmarshalJSON ¶ added in v0.2.4
func (v *NullableCreateProject415Response) UnmarshalJSON(src []byte) error
func (*NullableCreateProject415Response) Unset ¶ added in v0.2.4
func (v *NullableCreateProject415Response) Unset()
type NullableCreateProjectSchema ¶
type NullableCreateProjectSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateProjectSchema ¶
func NewNullableCreateProjectSchema(val *CreateProjectSchema) *NullableCreateProjectSchema
func (NullableCreateProjectSchema) Get ¶
func (v NullableCreateProjectSchema) Get() *CreateProjectSchema
func (NullableCreateProjectSchema) IsSet ¶
func (v NullableCreateProjectSchema) IsSet() bool
func (NullableCreateProjectSchema) MarshalJSON ¶
func (v NullableCreateProjectSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateProjectSchema) Set ¶
func (v *NullableCreateProjectSchema) Set(val *CreateProjectSchema)
func (*NullableCreateProjectSchema) UnmarshalJSON ¶
func (v *NullableCreateProjectSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateProjectSchema) Unset ¶
func (v *NullableCreateProjectSchema) Unset()
type NullableCreateProjectSchemaChangeRequestEnvironmentsInner ¶ added in v0.3.0
type NullableCreateProjectSchemaChangeRequestEnvironmentsInner struct {
// contains filtered or unexported fields
}
func NewNullableCreateProjectSchemaChangeRequestEnvironmentsInner ¶ added in v0.3.0
func NewNullableCreateProjectSchemaChangeRequestEnvironmentsInner(val *CreateProjectSchemaChangeRequestEnvironmentsInner) *NullableCreateProjectSchemaChangeRequestEnvironmentsInner
func (NullableCreateProjectSchemaChangeRequestEnvironmentsInner) IsSet ¶ added in v0.3.0
func (v NullableCreateProjectSchemaChangeRequestEnvironmentsInner) IsSet() bool
func (NullableCreateProjectSchemaChangeRequestEnvironmentsInner) MarshalJSON ¶ added in v0.3.0
func (v NullableCreateProjectSchemaChangeRequestEnvironmentsInner) MarshalJSON() ([]byte, error)
func (*NullableCreateProjectSchemaChangeRequestEnvironmentsInner) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableCreateProjectSchemaChangeRequestEnvironmentsInner) UnmarshalJSON(src []byte) error
func (*NullableCreateProjectSchemaChangeRequestEnvironmentsInner) Unset ¶ added in v0.3.0
func (v *NullableCreateProjectSchemaChangeRequestEnvironmentsInner) Unset()
type NullableCreateRoleWithPermissionsSchema ¶
type NullableCreateRoleWithPermissionsSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateRoleWithPermissionsSchema ¶
func NewNullableCreateRoleWithPermissionsSchema(val *CreateRoleWithPermissionsSchema) *NullableCreateRoleWithPermissionsSchema
func (NullableCreateRoleWithPermissionsSchema) IsSet ¶
func (v NullableCreateRoleWithPermissionsSchema) IsSet() bool
func (NullableCreateRoleWithPermissionsSchema) MarshalJSON ¶
func (v NullableCreateRoleWithPermissionsSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateRoleWithPermissionsSchema) Set ¶
func (v *NullableCreateRoleWithPermissionsSchema) Set(val *CreateRoleWithPermissionsSchema)
func (*NullableCreateRoleWithPermissionsSchema) UnmarshalJSON ¶
func (v *NullableCreateRoleWithPermissionsSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateRoleWithPermissionsSchema) Unset ¶
func (v *NullableCreateRoleWithPermissionsSchema) Unset()
type NullableCreateRoleWithPermissionsSchemaAnyOf ¶ added in v0.2.8
type NullableCreateRoleWithPermissionsSchemaAnyOf struct {
// contains filtered or unexported fields
}
func NewNullableCreateRoleWithPermissionsSchemaAnyOf ¶ added in v0.2.8
func NewNullableCreateRoleWithPermissionsSchemaAnyOf(val *CreateRoleWithPermissionsSchemaAnyOf) *NullableCreateRoleWithPermissionsSchemaAnyOf
func (NullableCreateRoleWithPermissionsSchemaAnyOf) IsSet ¶ added in v0.2.8
func (v NullableCreateRoleWithPermissionsSchemaAnyOf) IsSet() bool
func (NullableCreateRoleWithPermissionsSchemaAnyOf) MarshalJSON ¶ added in v0.2.8
func (v NullableCreateRoleWithPermissionsSchemaAnyOf) MarshalJSON() ([]byte, error)
func (*NullableCreateRoleWithPermissionsSchemaAnyOf) Set ¶ added in v0.2.8
func (v *NullableCreateRoleWithPermissionsSchemaAnyOf) Set(val *CreateRoleWithPermissionsSchemaAnyOf)
func (*NullableCreateRoleWithPermissionsSchemaAnyOf) UnmarshalJSON ¶ added in v0.2.8
func (v *NullableCreateRoleWithPermissionsSchemaAnyOf) UnmarshalJSON(src []byte) error
func (*NullableCreateRoleWithPermissionsSchemaAnyOf) Unset ¶ added in v0.2.8
func (v *NullableCreateRoleWithPermissionsSchemaAnyOf) Unset()
type NullableCreateRoleWithPermissionsSchemaAnyOf1 ¶ added in v0.2.8
type NullableCreateRoleWithPermissionsSchemaAnyOf1 struct {
// contains filtered or unexported fields
}
func NewNullableCreateRoleWithPermissionsSchemaAnyOf1 ¶ added in v0.2.8
func NewNullableCreateRoleWithPermissionsSchemaAnyOf1(val *CreateRoleWithPermissionsSchemaAnyOf1) *NullableCreateRoleWithPermissionsSchemaAnyOf1
func (NullableCreateRoleWithPermissionsSchemaAnyOf1) IsSet ¶ added in v0.2.8
func (v NullableCreateRoleWithPermissionsSchemaAnyOf1) IsSet() bool
func (NullableCreateRoleWithPermissionsSchemaAnyOf1) MarshalJSON ¶ added in v0.2.8
func (v NullableCreateRoleWithPermissionsSchemaAnyOf1) MarshalJSON() ([]byte, error)
func (*NullableCreateRoleWithPermissionsSchemaAnyOf1) Set ¶ added in v0.2.8
func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1) Set(val *CreateRoleWithPermissionsSchemaAnyOf1)
func (*NullableCreateRoleWithPermissionsSchemaAnyOf1) UnmarshalJSON ¶ added in v0.2.8
func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1) UnmarshalJSON(src []byte) error
func (*NullableCreateRoleWithPermissionsSchemaAnyOf1) Unset ¶ added in v0.2.8
func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1) Unset()
type NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner ¶ added in v0.2.8
type NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner struct {
// contains filtered or unexported fields
}
func NewNullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner ¶ added in v0.2.8
func NewNullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner(val *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) *NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner
func (NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) IsSet ¶ added in v0.2.8
func (v NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) IsSet() bool
func (NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) MarshalJSON ¶ added in v0.2.8
func (v NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) MarshalJSON() ([]byte, error)
func (*NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnmarshalJSON ¶ added in v0.2.8
func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnmarshalJSON(src []byte) error
func (*NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) Unset ¶ added in v0.2.8
func (v *NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) Unset()
type NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner ¶ added in v0.2.8
type NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner struct {
// contains filtered or unexported fields
}
func NewNullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner ¶ added in v0.2.8
func NewNullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner(val *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) *NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner
func (NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) IsSet ¶ added in v0.2.8
func (v NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) IsSet() bool
func (NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) MarshalJSON ¶ added in v0.2.8
func (v NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) MarshalJSON() ([]byte, error)
func (*NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnmarshalJSON ¶ added in v0.2.8
func (v *NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnmarshalJSON(src []byte) error
func (*NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) Unset ¶ added in v0.2.8
func (v *NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) Unset()
type NullableCreateServiceAccountSchema ¶
type NullableCreateServiceAccountSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateServiceAccountSchema ¶
func NewNullableCreateServiceAccountSchema(val *CreateServiceAccountSchema) *NullableCreateServiceAccountSchema
func (NullableCreateServiceAccountSchema) Get ¶
func (v NullableCreateServiceAccountSchema) Get() *CreateServiceAccountSchema
func (NullableCreateServiceAccountSchema) IsSet ¶
func (v NullableCreateServiceAccountSchema) IsSet() bool
func (NullableCreateServiceAccountSchema) MarshalJSON ¶
func (v NullableCreateServiceAccountSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateServiceAccountSchema) Set ¶
func (v *NullableCreateServiceAccountSchema) Set(val *CreateServiceAccountSchema)
func (*NullableCreateServiceAccountSchema) UnmarshalJSON ¶
func (v *NullableCreateServiceAccountSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateServiceAccountSchema) Unset ¶
func (v *NullableCreateServiceAccountSchema) Unset()
type NullableCreateStrategyVariantSchema ¶
type NullableCreateStrategyVariantSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateStrategyVariantSchema ¶
func NewNullableCreateStrategyVariantSchema(val *CreateStrategyVariantSchema) *NullableCreateStrategyVariantSchema
func (NullableCreateStrategyVariantSchema) Get ¶
func (v NullableCreateStrategyVariantSchema) Get() *CreateStrategyVariantSchema
func (NullableCreateStrategyVariantSchema) IsSet ¶
func (v NullableCreateStrategyVariantSchema) IsSet() bool
func (NullableCreateStrategyVariantSchema) MarshalJSON ¶
func (v NullableCreateStrategyVariantSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateStrategyVariantSchema) Set ¶
func (v *NullableCreateStrategyVariantSchema) Set(val *CreateStrategyVariantSchema)
func (*NullableCreateStrategyVariantSchema) UnmarshalJSON ¶
func (v *NullableCreateStrategyVariantSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateStrategyVariantSchema) Unset ¶
func (v *NullableCreateStrategyVariantSchema) Unset()
type NullableCreateStrategyVariantSchemaPayload ¶ added in v0.5.4
type NullableCreateStrategyVariantSchemaPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateStrategyVariantSchemaPayload ¶ added in v0.5.4
func NewNullableCreateStrategyVariantSchemaPayload(val *CreateStrategyVariantSchemaPayload) *NullableCreateStrategyVariantSchemaPayload
func (NullableCreateStrategyVariantSchemaPayload) IsSet ¶ added in v0.5.4
func (v NullableCreateStrategyVariantSchemaPayload) IsSet() bool
func (NullableCreateStrategyVariantSchemaPayload) MarshalJSON ¶ added in v0.5.4
func (v NullableCreateStrategyVariantSchemaPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateStrategyVariantSchemaPayload) Set ¶ added in v0.5.4
func (v *NullableCreateStrategyVariantSchemaPayload) Set(val *CreateStrategyVariantSchemaPayload)
func (*NullableCreateStrategyVariantSchemaPayload) UnmarshalJSON ¶ added in v0.5.4
func (v *NullableCreateStrategyVariantSchemaPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateStrategyVariantSchemaPayload) Unset ¶ added in v0.5.4
func (v *NullableCreateStrategyVariantSchemaPayload) Unset()
type NullableCreateUserResponseSchema ¶
type NullableCreateUserResponseSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserResponseSchema ¶
func NewNullableCreateUserResponseSchema(val *CreateUserResponseSchema) *NullableCreateUserResponseSchema
func (NullableCreateUserResponseSchema) Get ¶
func (v NullableCreateUserResponseSchema) Get() *CreateUserResponseSchema
func (NullableCreateUserResponseSchema) IsSet ¶
func (v NullableCreateUserResponseSchema) IsSet() bool
func (NullableCreateUserResponseSchema) MarshalJSON ¶
func (v NullableCreateUserResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateUserResponseSchema) Set ¶
func (v *NullableCreateUserResponseSchema) Set(val *CreateUserResponseSchema)
func (*NullableCreateUserResponseSchema) UnmarshalJSON ¶
func (v *NullableCreateUserResponseSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateUserResponseSchema) Unset ¶
func (v *NullableCreateUserResponseSchema) Unset()
type NullableCreateUserResponseSchemaRootRole ¶
type NullableCreateUserResponseSchemaRootRole struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserResponseSchemaRootRole ¶
func NewNullableCreateUserResponseSchemaRootRole(val *CreateUserResponseSchemaRootRole) *NullableCreateUserResponseSchemaRootRole
func (NullableCreateUserResponseSchemaRootRole) IsSet ¶
func (v NullableCreateUserResponseSchemaRootRole) IsSet() bool
func (NullableCreateUserResponseSchemaRootRole) MarshalJSON ¶
func (v NullableCreateUserResponseSchemaRootRole) MarshalJSON() ([]byte, error)
func (*NullableCreateUserResponseSchemaRootRole) Set ¶
func (v *NullableCreateUserResponseSchemaRootRole) Set(val *CreateUserResponseSchemaRootRole)
func (*NullableCreateUserResponseSchemaRootRole) UnmarshalJSON ¶
func (v *NullableCreateUserResponseSchemaRootRole) UnmarshalJSON(src []byte) error
func (*NullableCreateUserResponseSchemaRootRole) Unset ¶
func (v *NullableCreateUserResponseSchemaRootRole) Unset()
type NullableCreateUserSchema ¶
type NullableCreateUserSchema struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserSchema ¶
func NewNullableCreateUserSchema(val *CreateUserSchema) *NullableCreateUserSchema
func (NullableCreateUserSchema) Get ¶
func (v NullableCreateUserSchema) Get() *CreateUserSchema
func (NullableCreateUserSchema) IsSet ¶
func (v NullableCreateUserSchema) IsSet() bool
func (NullableCreateUserSchema) MarshalJSON ¶
func (v NullableCreateUserSchema) MarshalJSON() ([]byte, error)
func (*NullableCreateUserSchema) Set ¶
func (v *NullableCreateUserSchema) Set(val *CreateUserSchema)
func (*NullableCreateUserSchema) UnmarshalJSON ¶
func (v *NullableCreateUserSchema) UnmarshalJSON(src []byte) error
func (*NullableCreateUserSchema) Unset ¶
func (v *NullableCreateUserSchema) Unset()
type NullableCreateUserSchemaRootRole ¶
type NullableCreateUserSchemaRootRole struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserSchemaRootRole ¶
func NewNullableCreateUserSchemaRootRole(val *CreateUserSchemaRootRole) *NullableCreateUserSchemaRootRole
func (NullableCreateUserSchemaRootRole) Get ¶
func (v NullableCreateUserSchemaRootRole) Get() *CreateUserSchemaRootRole
func (NullableCreateUserSchemaRootRole) IsSet ¶
func (v NullableCreateUserSchemaRootRole) IsSet() bool
func (NullableCreateUserSchemaRootRole) MarshalJSON ¶
func (v NullableCreateUserSchemaRootRole) MarshalJSON() ([]byte, error)
func (*NullableCreateUserSchemaRootRole) Set ¶
func (v *NullableCreateUserSchemaRootRole) Set(val *CreateUserSchemaRootRole)
func (*NullableCreateUserSchemaRootRole) UnmarshalJSON ¶
func (v *NullableCreateUserSchemaRootRole) UnmarshalJSON(src []byte) error
func (*NullableCreateUserSchemaRootRole) Unset ¶
func (v *NullableCreateUserSchemaRootRole) Unset()
type NullableEnvironmentProjectSchema ¶
type NullableEnvironmentProjectSchema struct {
// contains filtered or unexported fields
}
func NewNullableEnvironmentProjectSchema ¶
func NewNullableEnvironmentProjectSchema(val *EnvironmentProjectSchema) *NullableEnvironmentProjectSchema
func (NullableEnvironmentProjectSchema) Get ¶
func (v NullableEnvironmentProjectSchema) Get() *EnvironmentProjectSchema
func (NullableEnvironmentProjectSchema) IsSet ¶
func (v NullableEnvironmentProjectSchema) IsSet() bool
func (NullableEnvironmentProjectSchema) MarshalJSON ¶
func (v NullableEnvironmentProjectSchema) MarshalJSON() ([]byte, error)
func (*NullableEnvironmentProjectSchema) Set ¶
func (v *NullableEnvironmentProjectSchema) Set(val *EnvironmentProjectSchema)
func (*NullableEnvironmentProjectSchema) UnmarshalJSON ¶
func (v *NullableEnvironmentProjectSchema) UnmarshalJSON(src []byte) error
func (*NullableEnvironmentProjectSchema) Unset ¶
func (v *NullableEnvironmentProjectSchema) Unset()
type NullableEnvironmentSchema ¶
type NullableEnvironmentSchema struct {
// contains filtered or unexported fields
}
func NewNullableEnvironmentSchema ¶
func NewNullableEnvironmentSchema(val *EnvironmentSchema) *NullableEnvironmentSchema
func (NullableEnvironmentSchema) Get ¶
func (v NullableEnvironmentSchema) Get() *EnvironmentSchema
func (NullableEnvironmentSchema) IsSet ¶
func (v NullableEnvironmentSchema) IsSet() bool
func (NullableEnvironmentSchema) MarshalJSON ¶
func (v NullableEnvironmentSchema) MarshalJSON() ([]byte, error)
func (*NullableEnvironmentSchema) Set ¶
func (v *NullableEnvironmentSchema) Set(val *EnvironmentSchema)
func (*NullableEnvironmentSchema) UnmarshalJSON ¶
func (v *NullableEnvironmentSchema) UnmarshalJSON(src []byte) error
func (*NullableEnvironmentSchema) Unset ¶
func (v *NullableEnvironmentSchema) Unset()
type NullableEnvironmentsProjectSchema ¶
type NullableEnvironmentsProjectSchema struct {
// contains filtered or unexported fields
}
func NewNullableEnvironmentsProjectSchema ¶
func NewNullableEnvironmentsProjectSchema(val *EnvironmentsProjectSchema) *NullableEnvironmentsProjectSchema
func (NullableEnvironmentsProjectSchema) Get ¶
func (v NullableEnvironmentsProjectSchema) Get() *EnvironmentsProjectSchema
func (NullableEnvironmentsProjectSchema) IsSet ¶
func (v NullableEnvironmentsProjectSchema) IsSet() bool
func (NullableEnvironmentsProjectSchema) MarshalJSON ¶
func (v NullableEnvironmentsProjectSchema) MarshalJSON() ([]byte, error)
func (*NullableEnvironmentsProjectSchema) Set ¶
func (v *NullableEnvironmentsProjectSchema) Set(val *EnvironmentsProjectSchema)
func (*NullableEnvironmentsProjectSchema) UnmarshalJSON ¶
func (v *NullableEnvironmentsProjectSchema) UnmarshalJSON(src []byte) error
func (*NullableEnvironmentsProjectSchema) Unset ¶
func (v *NullableEnvironmentsProjectSchema) Unset()
type NullableEnvironmentsSchema ¶
type NullableEnvironmentsSchema struct {
// contains filtered or unexported fields
}
func NewNullableEnvironmentsSchema ¶
func NewNullableEnvironmentsSchema(val *EnvironmentsSchema) *NullableEnvironmentsSchema
func (NullableEnvironmentsSchema) Get ¶
func (v NullableEnvironmentsSchema) Get() *EnvironmentsSchema
func (NullableEnvironmentsSchema) IsSet ¶
func (v NullableEnvironmentsSchema) IsSet() bool
func (NullableEnvironmentsSchema) MarshalJSON ¶
func (v NullableEnvironmentsSchema) MarshalJSON() ([]byte, error)
func (*NullableEnvironmentsSchema) Set ¶
func (v *NullableEnvironmentsSchema) Set(val *EnvironmentsSchema)
func (*NullableEnvironmentsSchema) UnmarshalJSON ¶
func (v *NullableEnvironmentsSchema) UnmarshalJSON(src []byte) error
func (*NullableEnvironmentsSchema) Unset ¶
func (v *NullableEnvironmentsSchema) Unset()
type NullableFeatureStrategySchema ¶
type NullableFeatureStrategySchema struct {
// contains filtered or unexported fields
}
func NewNullableFeatureStrategySchema ¶
func NewNullableFeatureStrategySchema(val *FeatureStrategySchema) *NullableFeatureStrategySchema
func (NullableFeatureStrategySchema) Get ¶
func (v NullableFeatureStrategySchema) Get() *FeatureStrategySchema
func (NullableFeatureStrategySchema) IsSet ¶
func (v NullableFeatureStrategySchema) IsSet() bool
func (NullableFeatureStrategySchema) MarshalJSON ¶
func (v NullableFeatureStrategySchema) MarshalJSON() ([]byte, error)
func (*NullableFeatureStrategySchema) Set ¶
func (v *NullableFeatureStrategySchema) Set(val *FeatureStrategySchema)
func (*NullableFeatureStrategySchema) UnmarshalJSON ¶
func (v *NullableFeatureStrategySchema) UnmarshalJSON(src []byte) error
func (*NullableFeatureStrategySchema) Unset ¶
func (v *NullableFeatureStrategySchema) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetProjects401Response ¶ added in v0.2.4
type NullableGetProjects401Response struct {
// contains filtered or unexported fields
}
func NewNullableGetProjects401Response ¶ added in v0.2.4
func NewNullableGetProjects401Response(val *GetProjects401Response) *NullableGetProjects401Response
func (NullableGetProjects401Response) Get ¶ added in v0.2.4
func (v NullableGetProjects401Response) Get() *GetProjects401Response
func (NullableGetProjects401Response) IsSet ¶ added in v0.2.4
func (v NullableGetProjects401Response) IsSet() bool
func (NullableGetProjects401Response) MarshalJSON ¶ added in v0.2.4
func (v NullableGetProjects401Response) MarshalJSON() ([]byte, error)
func (*NullableGetProjects401Response) Set ¶ added in v0.2.4
func (v *NullableGetProjects401Response) Set(val *GetProjects401Response)
func (*NullableGetProjects401Response) UnmarshalJSON ¶ added in v0.2.4
func (v *NullableGetProjects401Response) UnmarshalJSON(src []byte) error
func (*NullableGetProjects401Response) Unset ¶ added in v0.2.4
func (v *NullableGetProjects401Response) Unset()
type NullableGetProjects403Response ¶ added in v0.2.4
type NullableGetProjects403Response struct {
// contains filtered or unexported fields
}
func NewNullableGetProjects403Response ¶ added in v0.2.4
func NewNullableGetProjects403Response(val *GetProjects403Response) *NullableGetProjects403Response
func (NullableGetProjects403Response) Get ¶ added in v0.2.4
func (v NullableGetProjects403Response) Get() *GetProjects403Response
func (NullableGetProjects403Response) IsSet ¶ added in v0.2.4
func (v NullableGetProjects403Response) IsSet() bool
func (NullableGetProjects403Response) MarshalJSON ¶ added in v0.2.4
func (v NullableGetProjects403Response) MarshalJSON() ([]byte, error)
func (*NullableGetProjects403Response) Set ¶ added in v0.2.4
func (v *NullableGetProjects403Response) Set(val *GetProjects403Response)
func (*NullableGetProjects403Response) UnmarshalJSON ¶ added in v0.2.4
func (v *NullableGetProjects403Response) UnmarshalJSON(src []byte) error
func (*NullableGetProjects403Response) Unset ¶ added in v0.2.4
func (v *NullableGetProjects403Response) Unset()
type NullableGroupSchema ¶
type NullableGroupSchema struct {
// contains filtered or unexported fields
}
func NewNullableGroupSchema ¶
func NewNullableGroupSchema(val *GroupSchema) *NullableGroupSchema
func (NullableGroupSchema) Get ¶
func (v NullableGroupSchema) Get() *GroupSchema
func (NullableGroupSchema) IsSet ¶
func (v NullableGroupSchema) IsSet() bool
func (NullableGroupSchema) MarshalJSON ¶
func (v NullableGroupSchema) MarshalJSON() ([]byte, error)
func (*NullableGroupSchema) Set ¶
func (v *NullableGroupSchema) Set(val *GroupSchema)
func (*NullableGroupSchema) UnmarshalJSON ¶
func (v *NullableGroupSchema) UnmarshalJSON(src []byte) error
func (*NullableGroupSchema) Unset ¶
func (v *NullableGroupSchema) Unset()
type NullableGroupUserModelSchema ¶
type NullableGroupUserModelSchema struct {
// contains filtered or unexported fields
}
func NewNullableGroupUserModelSchema ¶
func NewNullableGroupUserModelSchema(val *GroupUserModelSchema) *NullableGroupUserModelSchema
func (NullableGroupUserModelSchema) Get ¶
func (v NullableGroupUserModelSchema) Get() *GroupUserModelSchema
func (NullableGroupUserModelSchema) IsSet ¶
func (v NullableGroupUserModelSchema) IsSet() bool
func (NullableGroupUserModelSchema) MarshalJSON ¶
func (v NullableGroupUserModelSchema) MarshalJSON() ([]byte, error)
func (*NullableGroupUserModelSchema) Set ¶
func (v *NullableGroupUserModelSchema) Set(val *GroupUserModelSchema)
func (*NullableGroupUserModelSchema) UnmarshalJSON ¶
func (v *NullableGroupUserModelSchema) UnmarshalJSON(src []byte) error
func (*NullableGroupUserModelSchema) Unset ¶
func (v *NullableGroupUserModelSchema) Unset()
type NullableGroupWithProjectRoleSchema ¶ added in v0.2.3
type NullableGroupWithProjectRoleSchema struct {
// contains filtered or unexported fields
}
func NewNullableGroupWithProjectRoleSchema ¶ added in v0.2.3
func NewNullableGroupWithProjectRoleSchema(val *GroupWithProjectRoleSchema) *NullableGroupWithProjectRoleSchema
func (NullableGroupWithProjectRoleSchema) Get ¶ added in v0.2.3
func (v NullableGroupWithProjectRoleSchema) Get() *GroupWithProjectRoleSchema
func (NullableGroupWithProjectRoleSchema) IsSet ¶ added in v0.2.3
func (v NullableGroupWithProjectRoleSchema) IsSet() bool
func (NullableGroupWithProjectRoleSchema) MarshalJSON ¶ added in v0.2.3
func (v NullableGroupWithProjectRoleSchema) MarshalJSON() ([]byte, error)
func (*NullableGroupWithProjectRoleSchema) Set ¶ added in v0.2.3
func (v *NullableGroupWithProjectRoleSchema) Set(val *GroupWithProjectRoleSchema)
func (*NullableGroupWithProjectRoleSchema) UnmarshalJSON ¶ added in v0.2.3
func (v *NullableGroupWithProjectRoleSchema) UnmarshalJSON(src []byte) error
func (*NullableGroupWithProjectRoleSchema) Unset ¶ added in v0.2.3
func (v *NullableGroupWithProjectRoleSchema) Unset()
type NullableGroupsSchema ¶
type NullableGroupsSchema struct {
// contains filtered or unexported fields
}
func NewNullableGroupsSchema ¶
func NewNullableGroupsSchema(val *GroupsSchema) *NullableGroupsSchema
func (NullableGroupsSchema) Get ¶
func (v NullableGroupsSchema) Get() *GroupsSchema
func (NullableGroupsSchema) IsSet ¶
func (v NullableGroupsSchema) IsSet() bool
func (NullableGroupsSchema) MarshalJSON ¶
func (v NullableGroupsSchema) MarshalJSON() ([]byte, error)
func (*NullableGroupsSchema) Set ¶
func (v *NullableGroupsSchema) Set(val *GroupsSchema)
func (*NullableGroupsSchema) UnmarshalJSON ¶
func (v *NullableGroupsSchema) UnmarshalJSON(src []byte) error
func (*NullableGroupsSchema) Unset ¶
func (v *NullableGroupsSchema) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLegalValueSchema ¶
type NullableLegalValueSchema struct {
// contains filtered or unexported fields
}
func NewNullableLegalValueSchema ¶
func NewNullableLegalValueSchema(val *LegalValueSchema) *NullableLegalValueSchema
func (NullableLegalValueSchema) Get ¶
func (v NullableLegalValueSchema) Get() *LegalValueSchema
func (NullableLegalValueSchema) IsSet ¶
func (v NullableLegalValueSchema) IsSet() bool
func (NullableLegalValueSchema) MarshalJSON ¶
func (v NullableLegalValueSchema) MarshalJSON() ([]byte, error)
func (*NullableLegalValueSchema) Set ¶
func (v *NullableLegalValueSchema) Set(val *LegalValueSchema)
func (*NullableLegalValueSchema) UnmarshalJSON ¶
func (v *NullableLegalValueSchema) UnmarshalJSON(src []byte) error
func (*NullableLegalValueSchema) Unset ¶
func (v *NullableLegalValueSchema) Unset()
type NullableOidcSettingsResponseSchema ¶ added in v0.5.0
type NullableOidcSettingsResponseSchema struct {
// contains filtered or unexported fields
}
func NewNullableOidcSettingsResponseSchema ¶ added in v0.5.0
func NewNullableOidcSettingsResponseSchema(val *OidcSettingsResponseSchema) *NullableOidcSettingsResponseSchema
func (NullableOidcSettingsResponseSchema) Get ¶ added in v0.5.0
func (v NullableOidcSettingsResponseSchema) Get() *OidcSettingsResponseSchema
func (NullableOidcSettingsResponseSchema) IsSet ¶ added in v0.5.0
func (v NullableOidcSettingsResponseSchema) IsSet() bool
func (NullableOidcSettingsResponseSchema) MarshalJSON ¶ added in v0.5.0
func (v NullableOidcSettingsResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableOidcSettingsResponseSchema) Set ¶ added in v0.5.0
func (v *NullableOidcSettingsResponseSchema) Set(val *OidcSettingsResponseSchema)
func (*NullableOidcSettingsResponseSchema) UnmarshalJSON ¶ added in v0.5.0
func (v *NullableOidcSettingsResponseSchema) UnmarshalJSON(src []byte) error
func (*NullableOidcSettingsResponseSchema) Unset ¶ added in v0.5.0
func (v *NullableOidcSettingsResponseSchema) Unset()
type NullableOidcSettingsSchema ¶
type NullableOidcSettingsSchema struct {
// contains filtered or unexported fields
}
func NewNullableOidcSettingsSchema ¶
func NewNullableOidcSettingsSchema(val *OidcSettingsSchema) *NullableOidcSettingsSchema
func (NullableOidcSettingsSchema) Get ¶
func (v NullableOidcSettingsSchema) Get() *OidcSettingsSchema
func (NullableOidcSettingsSchema) IsSet ¶
func (v NullableOidcSettingsSchema) IsSet() bool
func (NullableOidcSettingsSchema) MarshalJSON ¶
func (v NullableOidcSettingsSchema) MarshalJSON() ([]byte, error)
func (*NullableOidcSettingsSchema) Set ¶
func (v *NullableOidcSettingsSchema) Set(val *OidcSettingsSchema)
func (*NullableOidcSettingsSchema) UnmarshalJSON ¶
func (v *NullableOidcSettingsSchema) UnmarshalJSON(src []byte) error
func (*NullableOidcSettingsSchema) Unset ¶
func (v *NullableOidcSettingsSchema) Unset()
type NullableOidcSettingsSchemaOneOf ¶ added in v0.5.0
type NullableOidcSettingsSchemaOneOf struct {
// contains filtered or unexported fields
}
func NewNullableOidcSettingsSchemaOneOf ¶ added in v0.5.0
func NewNullableOidcSettingsSchemaOneOf(val *OidcSettingsSchemaOneOf) *NullableOidcSettingsSchemaOneOf
func (NullableOidcSettingsSchemaOneOf) Get ¶ added in v0.5.0
func (v NullableOidcSettingsSchemaOneOf) Get() *OidcSettingsSchemaOneOf
func (NullableOidcSettingsSchemaOneOf) IsSet ¶ added in v0.5.0
func (v NullableOidcSettingsSchemaOneOf) IsSet() bool
func (NullableOidcSettingsSchemaOneOf) MarshalJSON ¶ added in v0.5.0
func (v NullableOidcSettingsSchemaOneOf) MarshalJSON() ([]byte, error)
func (*NullableOidcSettingsSchemaOneOf) Set ¶ added in v0.5.0
func (v *NullableOidcSettingsSchemaOneOf) Set(val *OidcSettingsSchemaOneOf)
func (*NullableOidcSettingsSchemaOneOf) UnmarshalJSON ¶ added in v0.5.0
func (v *NullableOidcSettingsSchemaOneOf) UnmarshalJSON(src []byte) error
func (*NullableOidcSettingsSchemaOneOf) Unset ¶ added in v0.5.0
func (v *NullableOidcSettingsSchemaOneOf) Unset()
type NullableOidcSettingsSchemaOneOf1 ¶ added in v0.5.0
type NullableOidcSettingsSchemaOneOf1 struct {
// contains filtered or unexported fields
}
func NewNullableOidcSettingsSchemaOneOf1 ¶ added in v0.5.0
func NewNullableOidcSettingsSchemaOneOf1(val *OidcSettingsSchemaOneOf1) *NullableOidcSettingsSchemaOneOf1
func (NullableOidcSettingsSchemaOneOf1) Get ¶ added in v0.5.0
func (v NullableOidcSettingsSchemaOneOf1) Get() *OidcSettingsSchemaOneOf1
func (NullableOidcSettingsSchemaOneOf1) IsSet ¶ added in v0.5.0
func (v NullableOidcSettingsSchemaOneOf1) IsSet() bool
func (NullableOidcSettingsSchemaOneOf1) MarshalJSON ¶ added in v0.5.0
func (v NullableOidcSettingsSchemaOneOf1) MarshalJSON() ([]byte, error)
func (*NullableOidcSettingsSchemaOneOf1) Set ¶ added in v0.5.0
func (v *NullableOidcSettingsSchemaOneOf1) Set(val *OidcSettingsSchemaOneOf1)
func (*NullableOidcSettingsSchemaOneOf1) UnmarshalJSON ¶ added in v0.5.0
func (v *NullableOidcSettingsSchemaOneOf1) UnmarshalJSON(src []byte) error
func (*NullableOidcSettingsSchemaOneOf1) Unset ¶ added in v0.5.0
func (v *NullableOidcSettingsSchemaOneOf1) Unset()
type NullablePasswordAuthSchema ¶
type NullablePasswordAuthSchema struct {
// contains filtered or unexported fields
}
func NewNullablePasswordAuthSchema ¶
func NewNullablePasswordAuthSchema(val *PasswordAuthSchema) *NullablePasswordAuthSchema
func (NullablePasswordAuthSchema) Get ¶
func (v NullablePasswordAuthSchema) Get() *PasswordAuthSchema
func (NullablePasswordAuthSchema) IsSet ¶
func (v NullablePasswordAuthSchema) IsSet() bool
func (NullablePasswordAuthSchema) MarshalJSON ¶
func (v NullablePasswordAuthSchema) MarshalJSON() ([]byte, error)
func (*NullablePasswordAuthSchema) Set ¶
func (v *NullablePasswordAuthSchema) Set(val *PasswordAuthSchema)
func (*NullablePasswordAuthSchema) UnmarshalJSON ¶
func (v *NullablePasswordAuthSchema) UnmarshalJSON(src []byte) error
func (*NullablePasswordAuthSchema) Unset ¶
func (v *NullablePasswordAuthSchema) Unset()
type NullablePatSchema ¶
type NullablePatSchema struct {
// contains filtered or unexported fields
}
func NewNullablePatSchema ¶
func NewNullablePatSchema(val *PatSchema) *NullablePatSchema
func (NullablePatSchema) Get ¶
func (v NullablePatSchema) Get() *PatSchema
func (NullablePatSchema) IsSet ¶
func (v NullablePatSchema) IsSet() bool
func (NullablePatSchema) MarshalJSON ¶
func (v NullablePatSchema) MarshalJSON() ([]byte, error)
func (*NullablePatSchema) Set ¶
func (v *NullablePatSchema) Set(val *PatSchema)
func (*NullablePatSchema) UnmarshalJSON ¶
func (v *NullablePatSchema) UnmarshalJSON(src []byte) error
func (*NullablePatSchema) Unset ¶
func (v *NullablePatSchema) Unset()
type NullablePatsSchema ¶
type NullablePatsSchema struct {
// contains filtered or unexported fields
}
func NewNullablePatsSchema ¶
func NewNullablePatsSchema(val *PatsSchema) *NullablePatsSchema
func (NullablePatsSchema) Get ¶
func (v NullablePatsSchema) Get() *PatsSchema
func (NullablePatsSchema) IsSet ¶
func (v NullablePatsSchema) IsSet() bool
func (NullablePatsSchema) MarshalJSON ¶
func (v NullablePatsSchema) MarshalJSON() ([]byte, error)
func (*NullablePatsSchema) Set ¶
func (v *NullablePatsSchema) Set(val *PatsSchema)
func (*NullablePatsSchema) UnmarshalJSON ¶
func (v *NullablePatsSchema) UnmarshalJSON(src []byte) error
func (*NullablePatsSchema) Unset ¶
func (v *NullablePatsSchema) Unset()
type NullableProjectAccessConfigurationSchema ¶ added in v0.2.8
type NullableProjectAccessConfigurationSchema struct {
// contains filtered or unexported fields
}
func NewNullableProjectAccessConfigurationSchema ¶ added in v0.2.8
func NewNullableProjectAccessConfigurationSchema(val *ProjectAccessConfigurationSchema) *NullableProjectAccessConfigurationSchema
func (NullableProjectAccessConfigurationSchema) IsSet ¶ added in v0.2.8
func (v NullableProjectAccessConfigurationSchema) IsSet() bool
func (NullableProjectAccessConfigurationSchema) MarshalJSON ¶ added in v0.2.8
func (v NullableProjectAccessConfigurationSchema) MarshalJSON() ([]byte, error)
func (*NullableProjectAccessConfigurationSchema) Set ¶ added in v0.2.8
func (v *NullableProjectAccessConfigurationSchema) Set(val *ProjectAccessConfigurationSchema)
func (*NullableProjectAccessConfigurationSchema) UnmarshalJSON ¶ added in v0.2.8
func (v *NullableProjectAccessConfigurationSchema) UnmarshalJSON(src []byte) error
func (*NullableProjectAccessConfigurationSchema) Unset ¶ added in v0.2.8
func (v *NullableProjectAccessConfigurationSchema) Unset()
type NullableProjectAccessConfigurationSchemaRolesInner ¶ added in v0.2.8
type NullableProjectAccessConfigurationSchemaRolesInner struct {
// contains filtered or unexported fields
}
func NewNullableProjectAccessConfigurationSchemaRolesInner ¶ added in v0.2.8
func NewNullableProjectAccessConfigurationSchemaRolesInner(val *ProjectAccessConfigurationSchemaRolesInner) *NullableProjectAccessConfigurationSchemaRolesInner
func (NullableProjectAccessConfigurationSchemaRolesInner) IsSet ¶ added in v0.2.8
func (v NullableProjectAccessConfigurationSchemaRolesInner) IsSet() bool
func (NullableProjectAccessConfigurationSchemaRolesInner) MarshalJSON ¶ added in v0.2.8
func (v NullableProjectAccessConfigurationSchemaRolesInner) MarshalJSON() ([]byte, error)
func (*NullableProjectAccessConfigurationSchemaRolesInner) UnmarshalJSON ¶ added in v0.2.8
func (v *NullableProjectAccessConfigurationSchemaRolesInner) UnmarshalJSON(src []byte) error
func (*NullableProjectAccessConfigurationSchemaRolesInner) Unset ¶ added in v0.2.8
func (v *NullableProjectAccessConfigurationSchemaRolesInner) Unset()
type NullableProjectAccessSchema ¶
type NullableProjectAccessSchema struct {
// contains filtered or unexported fields
}
func NewNullableProjectAccessSchema ¶
func NewNullableProjectAccessSchema(val *ProjectAccessSchema) *NullableProjectAccessSchema
func (NullableProjectAccessSchema) Get ¶
func (v NullableProjectAccessSchema) Get() *ProjectAccessSchema
func (NullableProjectAccessSchema) IsSet ¶
func (v NullableProjectAccessSchema) IsSet() bool
func (NullableProjectAccessSchema) MarshalJSON ¶
func (v NullableProjectAccessSchema) MarshalJSON() ([]byte, error)
func (*NullableProjectAccessSchema) Set ¶
func (v *NullableProjectAccessSchema) Set(val *ProjectAccessSchema)
func (*NullableProjectAccessSchema) UnmarshalJSON ¶
func (v *NullableProjectAccessSchema) UnmarshalJSON(src []byte) error
func (*NullableProjectAccessSchema) Unset ¶
func (v *NullableProjectAccessSchema) Unset()
type NullableProjectCreatedSchema ¶
type NullableProjectCreatedSchema struct {
// contains filtered or unexported fields
}
func NewNullableProjectCreatedSchema ¶
func NewNullableProjectCreatedSchema(val *ProjectCreatedSchema) *NullableProjectCreatedSchema
func (NullableProjectCreatedSchema) Get ¶
func (v NullableProjectCreatedSchema) Get() *ProjectCreatedSchema
func (NullableProjectCreatedSchema) IsSet ¶
func (v NullableProjectCreatedSchema) IsSet() bool
func (NullableProjectCreatedSchema) MarshalJSON ¶
func (v NullableProjectCreatedSchema) MarshalJSON() ([]byte, error)
func (*NullableProjectCreatedSchema) Set ¶
func (v *NullableProjectCreatedSchema) Set(val *ProjectCreatedSchema)
func (*NullableProjectCreatedSchema) UnmarshalJSON ¶
func (v *NullableProjectCreatedSchema) UnmarshalJSON(src []byte) error
func (*NullableProjectCreatedSchema) Unset ¶
func (v *NullableProjectCreatedSchema) Unset()
type NullableProjectCreatedSchemaChangeRequestEnvironmentsInner ¶ added in v0.3.0
type NullableProjectCreatedSchemaChangeRequestEnvironmentsInner struct {
// contains filtered or unexported fields
}
func NewNullableProjectCreatedSchemaChangeRequestEnvironmentsInner ¶ added in v0.3.0
func NewNullableProjectCreatedSchemaChangeRequestEnvironmentsInner(val *ProjectCreatedSchemaChangeRequestEnvironmentsInner) *NullableProjectCreatedSchemaChangeRequestEnvironmentsInner
func (NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) IsSet ¶ added in v0.3.0
func (v NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) IsSet() bool
func (NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) MarshalJSON ¶ added in v0.3.0
func (v NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) MarshalJSON() ([]byte, error)
func (*NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) UnmarshalJSON(src []byte) error
func (*NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) Unset ¶ added in v0.3.0
func (v *NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) Unset()
type NullableProjectEnvironmentSchema ¶
type NullableProjectEnvironmentSchema struct {
// contains filtered or unexported fields
}
func NewNullableProjectEnvironmentSchema ¶
func NewNullableProjectEnvironmentSchema(val *ProjectEnvironmentSchema) *NullableProjectEnvironmentSchema
func (NullableProjectEnvironmentSchema) Get ¶
func (v NullableProjectEnvironmentSchema) Get() *ProjectEnvironmentSchema
func (NullableProjectEnvironmentSchema) IsSet ¶
func (v NullableProjectEnvironmentSchema) IsSet() bool
func (NullableProjectEnvironmentSchema) MarshalJSON ¶
func (v NullableProjectEnvironmentSchema) MarshalJSON() ([]byte, error)
func (*NullableProjectEnvironmentSchema) Set ¶
func (v *NullableProjectEnvironmentSchema) Set(val *ProjectEnvironmentSchema)
func (*NullableProjectEnvironmentSchema) UnmarshalJSON ¶
func (v *NullableProjectEnvironmentSchema) UnmarshalJSON(src []byte) error
func (*NullableProjectEnvironmentSchema) Unset ¶
func (v *NullableProjectEnvironmentSchema) Unset()
type NullableProjectLinkTemplateSchema ¶ added in v0.6.0
type NullableProjectLinkTemplateSchema struct {
// contains filtered or unexported fields
}
func NewNullableProjectLinkTemplateSchema ¶ added in v0.6.0
func NewNullableProjectLinkTemplateSchema(val *ProjectLinkTemplateSchema) *NullableProjectLinkTemplateSchema
func (NullableProjectLinkTemplateSchema) Get ¶ added in v0.6.0
func (v NullableProjectLinkTemplateSchema) Get() *ProjectLinkTemplateSchema
func (NullableProjectLinkTemplateSchema) IsSet ¶ added in v0.6.0
func (v NullableProjectLinkTemplateSchema) IsSet() bool
func (NullableProjectLinkTemplateSchema) MarshalJSON ¶ added in v0.6.0
func (v NullableProjectLinkTemplateSchema) MarshalJSON() ([]byte, error)
func (*NullableProjectLinkTemplateSchema) Set ¶ added in v0.6.0
func (v *NullableProjectLinkTemplateSchema) Set(val *ProjectLinkTemplateSchema)
func (*NullableProjectLinkTemplateSchema) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableProjectLinkTemplateSchema) UnmarshalJSON(src []byte) error
func (*NullableProjectLinkTemplateSchema) Unset ¶ added in v0.6.0
func (v *NullableProjectLinkTemplateSchema) Unset()
type NullableProjectSchema ¶
type NullableProjectSchema struct {
// contains filtered or unexported fields
}
func NewNullableProjectSchema ¶
func NewNullableProjectSchema(val *ProjectSchema) *NullableProjectSchema
func (NullableProjectSchema) Get ¶
func (v NullableProjectSchema) Get() *ProjectSchema
func (NullableProjectSchema) IsSet ¶
func (v NullableProjectSchema) IsSet() bool
func (NullableProjectSchema) MarshalJSON ¶
func (v NullableProjectSchema) MarshalJSON() ([]byte, error)
func (*NullableProjectSchema) Set ¶
func (v *NullableProjectSchema) Set(val *ProjectSchema)
func (*NullableProjectSchema) UnmarshalJSON ¶
func (v *NullableProjectSchema) UnmarshalJSON(src []byte) error
func (*NullableProjectSchema) Unset ¶
func (v *NullableProjectSchema) Unset()
type NullableProjectsSchema ¶
type NullableProjectsSchema struct {
// contains filtered or unexported fields
}
func NewNullableProjectsSchema ¶
func NewNullableProjectsSchema(val *ProjectsSchema) *NullableProjectsSchema
func (NullableProjectsSchema) Get ¶
func (v NullableProjectsSchema) Get() *ProjectsSchema
func (NullableProjectsSchema) IsSet ¶
func (v NullableProjectsSchema) IsSet() bool
func (NullableProjectsSchema) MarshalJSON ¶
func (v NullableProjectsSchema) MarshalJSON() ([]byte, error)
func (*NullableProjectsSchema) Set ¶
func (v *NullableProjectsSchema) Set(val *ProjectsSchema)
func (*NullableProjectsSchema) UnmarshalJSON ¶
func (v *NullableProjectsSchema) UnmarshalJSON(src []byte) error
func (*NullableProjectsSchema) Unset ¶
func (v *NullableProjectsSchema) Unset()
type NullableRoleSchema ¶
type NullableRoleSchema struct {
// contains filtered or unexported fields
}
func NewNullableRoleSchema ¶
func NewNullableRoleSchema(val *RoleSchema) *NullableRoleSchema
func (NullableRoleSchema) Get ¶
func (v NullableRoleSchema) Get() *RoleSchema
func (NullableRoleSchema) IsSet ¶
func (v NullableRoleSchema) IsSet() bool
func (NullableRoleSchema) MarshalJSON ¶
func (v NullableRoleSchema) MarshalJSON() ([]byte, error)
func (*NullableRoleSchema) Set ¶
func (v *NullableRoleSchema) Set(val *RoleSchema)
func (*NullableRoleSchema) UnmarshalJSON ¶
func (v *NullableRoleSchema) UnmarshalJSON(src []byte) error
func (*NullableRoleSchema) Unset ¶
func (v *NullableRoleSchema) Unset()
type NullableRoleWithPermissionsSchema ¶
type NullableRoleWithPermissionsSchema struct {
// contains filtered or unexported fields
}
func NewNullableRoleWithPermissionsSchema ¶
func NewNullableRoleWithPermissionsSchema(val *RoleWithPermissionsSchema) *NullableRoleWithPermissionsSchema
func (NullableRoleWithPermissionsSchema) Get ¶
func (v NullableRoleWithPermissionsSchema) Get() *RoleWithPermissionsSchema
func (NullableRoleWithPermissionsSchema) IsSet ¶
func (v NullableRoleWithPermissionsSchema) IsSet() bool
func (NullableRoleWithPermissionsSchema) MarshalJSON ¶
func (v NullableRoleWithPermissionsSchema) MarshalJSON() ([]byte, error)
func (*NullableRoleWithPermissionsSchema) Set ¶
func (v *NullableRoleWithPermissionsSchema) Set(val *RoleWithPermissionsSchema)
func (*NullableRoleWithPermissionsSchema) UnmarshalJSON ¶
func (v *NullableRoleWithPermissionsSchema) UnmarshalJSON(src []byte) error
func (*NullableRoleWithPermissionsSchema) Unset ¶
func (v *NullableRoleWithPermissionsSchema) Unset()
type NullableRoleWithVersionSchema ¶
type NullableRoleWithVersionSchema struct {
// contains filtered or unexported fields
}
func NewNullableRoleWithVersionSchema ¶
func NewNullableRoleWithVersionSchema(val *RoleWithVersionSchema) *NullableRoleWithVersionSchema
func (NullableRoleWithVersionSchema) Get ¶
func (v NullableRoleWithVersionSchema) Get() *RoleWithVersionSchema
func (NullableRoleWithVersionSchema) IsSet ¶
func (v NullableRoleWithVersionSchema) IsSet() bool
func (NullableRoleWithVersionSchema) MarshalJSON ¶
func (v NullableRoleWithVersionSchema) MarshalJSON() ([]byte, error)
func (*NullableRoleWithVersionSchema) Set ¶
func (v *NullableRoleWithVersionSchema) Set(val *RoleWithVersionSchema)
func (*NullableRoleWithVersionSchema) UnmarshalJSON ¶
func (v *NullableRoleWithVersionSchema) UnmarshalJSON(src []byte) error
func (*NullableRoleWithVersionSchema) Unset ¶
func (v *NullableRoleWithVersionSchema) Unset()
type NullableRolesWithVersionSchema ¶
type NullableRolesWithVersionSchema struct {
// contains filtered or unexported fields
}
func NewNullableRolesWithVersionSchema ¶
func NewNullableRolesWithVersionSchema(val *RolesWithVersionSchema) *NullableRolesWithVersionSchema
func (NullableRolesWithVersionSchema) Get ¶
func (v NullableRolesWithVersionSchema) Get() *RolesWithVersionSchema
func (NullableRolesWithVersionSchema) IsSet ¶
func (v NullableRolesWithVersionSchema) IsSet() bool
func (NullableRolesWithVersionSchema) MarshalJSON ¶
func (v NullableRolesWithVersionSchema) MarshalJSON() ([]byte, error)
func (*NullableRolesWithVersionSchema) Set ¶
func (v *NullableRolesWithVersionSchema) Set(val *RolesWithVersionSchema)
func (*NullableRolesWithVersionSchema) UnmarshalJSON ¶
func (v *NullableRolesWithVersionSchema) UnmarshalJSON(src []byte) error
func (*NullableRolesWithVersionSchema) Unset ¶
func (v *NullableRolesWithVersionSchema) Unset()
type NullableSamlSettingsResponseSchema ¶ added in v0.5.0
type NullableSamlSettingsResponseSchema struct {
// contains filtered or unexported fields
}
func NewNullableSamlSettingsResponseSchema ¶ added in v0.5.0
func NewNullableSamlSettingsResponseSchema(val *SamlSettingsResponseSchema) *NullableSamlSettingsResponseSchema
func (NullableSamlSettingsResponseSchema) Get ¶ added in v0.5.0
func (v NullableSamlSettingsResponseSchema) Get() *SamlSettingsResponseSchema
func (NullableSamlSettingsResponseSchema) IsSet ¶ added in v0.5.0
func (v NullableSamlSettingsResponseSchema) IsSet() bool
func (NullableSamlSettingsResponseSchema) MarshalJSON ¶ added in v0.5.0
func (v NullableSamlSettingsResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableSamlSettingsResponseSchema) Set ¶ added in v0.5.0
func (v *NullableSamlSettingsResponseSchema) Set(val *SamlSettingsResponseSchema)
func (*NullableSamlSettingsResponseSchema) UnmarshalJSON ¶ added in v0.5.0
func (v *NullableSamlSettingsResponseSchema) UnmarshalJSON(src []byte) error
func (*NullableSamlSettingsResponseSchema) Unset ¶ added in v0.5.0
func (v *NullableSamlSettingsResponseSchema) Unset()
type NullableSamlSettingsSchema ¶
type NullableSamlSettingsSchema struct {
// contains filtered or unexported fields
}
func NewNullableSamlSettingsSchema ¶
func NewNullableSamlSettingsSchema(val *SamlSettingsSchema) *NullableSamlSettingsSchema
func (NullableSamlSettingsSchema) Get ¶
func (v NullableSamlSettingsSchema) Get() *SamlSettingsSchema
func (NullableSamlSettingsSchema) IsSet ¶
func (v NullableSamlSettingsSchema) IsSet() bool
func (NullableSamlSettingsSchema) MarshalJSON ¶
func (v NullableSamlSettingsSchema) MarshalJSON() ([]byte, error)
func (*NullableSamlSettingsSchema) Set ¶
func (v *NullableSamlSettingsSchema) Set(val *SamlSettingsSchema)
func (*NullableSamlSettingsSchema) UnmarshalJSON ¶
func (v *NullableSamlSettingsSchema) UnmarshalJSON(src []byte) error
func (*NullableSamlSettingsSchema) Unset ¶
func (v *NullableSamlSettingsSchema) Unset()
type NullableSamlSettingsSchemaOneOf ¶ added in v0.5.0
type NullableSamlSettingsSchemaOneOf struct {
// contains filtered or unexported fields
}
func NewNullableSamlSettingsSchemaOneOf ¶ added in v0.5.0
func NewNullableSamlSettingsSchemaOneOf(val *SamlSettingsSchemaOneOf) *NullableSamlSettingsSchemaOneOf
func (NullableSamlSettingsSchemaOneOf) Get ¶ added in v0.5.0
func (v NullableSamlSettingsSchemaOneOf) Get() *SamlSettingsSchemaOneOf
func (NullableSamlSettingsSchemaOneOf) IsSet ¶ added in v0.5.0
func (v NullableSamlSettingsSchemaOneOf) IsSet() bool
func (NullableSamlSettingsSchemaOneOf) MarshalJSON ¶ added in v0.5.0
func (v NullableSamlSettingsSchemaOneOf) MarshalJSON() ([]byte, error)
func (*NullableSamlSettingsSchemaOneOf) Set ¶ added in v0.5.0
func (v *NullableSamlSettingsSchemaOneOf) Set(val *SamlSettingsSchemaOneOf)
func (*NullableSamlSettingsSchemaOneOf) UnmarshalJSON ¶ added in v0.5.0
func (v *NullableSamlSettingsSchemaOneOf) UnmarshalJSON(src []byte) error
func (*NullableSamlSettingsSchemaOneOf) Unset ¶ added in v0.5.0
func (v *NullableSamlSettingsSchemaOneOf) Unset()
type NullableSamlSettingsSchemaOneOf1 ¶ added in v0.5.0
type NullableSamlSettingsSchemaOneOf1 struct {
// contains filtered or unexported fields
}
func NewNullableSamlSettingsSchemaOneOf1 ¶ added in v0.5.0
func NewNullableSamlSettingsSchemaOneOf1(val *SamlSettingsSchemaOneOf1) *NullableSamlSettingsSchemaOneOf1
func (NullableSamlSettingsSchemaOneOf1) Get ¶ added in v0.5.0
func (v NullableSamlSettingsSchemaOneOf1) Get() *SamlSettingsSchemaOneOf1
func (NullableSamlSettingsSchemaOneOf1) IsSet ¶ added in v0.5.0
func (v NullableSamlSettingsSchemaOneOf1) IsSet() bool
func (NullableSamlSettingsSchemaOneOf1) MarshalJSON ¶ added in v0.5.0
func (v NullableSamlSettingsSchemaOneOf1) MarshalJSON() ([]byte, error)
func (*NullableSamlSettingsSchemaOneOf1) Set ¶ added in v0.5.0
func (v *NullableSamlSettingsSchemaOneOf1) Set(val *SamlSettingsSchemaOneOf1)
func (*NullableSamlSettingsSchemaOneOf1) UnmarshalJSON ¶ added in v0.5.0
func (v *NullableSamlSettingsSchemaOneOf1) UnmarshalJSON(src []byte) error
func (*NullableSamlSettingsSchemaOneOf1) Unset ¶ added in v0.5.0
func (v *NullableSamlSettingsSchemaOneOf1) Unset()
type NullableServiceAccountSchema ¶
type NullableServiceAccountSchema struct {
// contains filtered or unexported fields
}
func NewNullableServiceAccountSchema ¶
func NewNullableServiceAccountSchema(val *ServiceAccountSchema) *NullableServiceAccountSchema
func (NullableServiceAccountSchema) Get ¶
func (v NullableServiceAccountSchema) Get() *ServiceAccountSchema
func (NullableServiceAccountSchema) IsSet ¶
func (v NullableServiceAccountSchema) IsSet() bool
func (NullableServiceAccountSchema) MarshalJSON ¶
func (v NullableServiceAccountSchema) MarshalJSON() ([]byte, error)
func (*NullableServiceAccountSchema) Set ¶
func (v *NullableServiceAccountSchema) Set(val *ServiceAccountSchema)
func (*NullableServiceAccountSchema) UnmarshalJSON ¶
func (v *NullableServiceAccountSchema) UnmarshalJSON(src []byte) error
func (*NullableServiceAccountSchema) Unset ¶
func (v *NullableServiceAccountSchema) Unset()
type NullableServiceAccountsSchema ¶
type NullableServiceAccountsSchema struct {
// contains filtered or unexported fields
}
func NewNullableServiceAccountsSchema ¶
func NewNullableServiceAccountsSchema(val *ServiceAccountsSchema) *NullableServiceAccountsSchema
func (NullableServiceAccountsSchema) Get ¶
func (v NullableServiceAccountsSchema) Get() *ServiceAccountsSchema
func (NullableServiceAccountsSchema) IsSet ¶
func (v NullableServiceAccountsSchema) IsSet() bool
func (NullableServiceAccountsSchema) MarshalJSON ¶
func (v NullableServiceAccountsSchema) MarshalJSON() ([]byte, error)
func (*NullableServiceAccountsSchema) Set ¶
func (v *NullableServiceAccountsSchema) Set(val *ServiceAccountsSchema)
func (*NullableServiceAccountsSchema) UnmarshalJSON ¶
func (v *NullableServiceAccountsSchema) UnmarshalJSON(src []byte) error
func (*NullableServiceAccountsSchema) Unset ¶
func (v *NullableServiceAccountsSchema) Unset()
type NullableStrategyVariantSchema ¶
type NullableStrategyVariantSchema struct {
// contains filtered or unexported fields
}
func NewNullableStrategyVariantSchema ¶
func NewNullableStrategyVariantSchema(val *StrategyVariantSchema) *NullableStrategyVariantSchema
func (NullableStrategyVariantSchema) Get ¶
func (v NullableStrategyVariantSchema) Get() *StrategyVariantSchema
func (NullableStrategyVariantSchema) IsSet ¶
func (v NullableStrategyVariantSchema) IsSet() bool
func (NullableStrategyVariantSchema) MarshalJSON ¶
func (v NullableStrategyVariantSchema) MarshalJSON() ([]byte, error)
func (*NullableStrategyVariantSchema) Set ¶
func (v *NullableStrategyVariantSchema) Set(val *StrategyVariantSchema)
func (*NullableStrategyVariantSchema) UnmarshalJSON ¶
func (v *NullableStrategyVariantSchema) UnmarshalJSON(src []byte) error
func (*NullableStrategyVariantSchema) Unset ¶
func (v *NullableStrategyVariantSchema) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateApiTokenSchema ¶
type NullableUpdateApiTokenSchema struct {
// contains filtered or unexported fields
}
func NewNullableUpdateApiTokenSchema ¶
func NewNullableUpdateApiTokenSchema(val *UpdateApiTokenSchema) *NullableUpdateApiTokenSchema
func (NullableUpdateApiTokenSchema) Get ¶
func (v NullableUpdateApiTokenSchema) Get() *UpdateApiTokenSchema
func (NullableUpdateApiTokenSchema) IsSet ¶
func (v NullableUpdateApiTokenSchema) IsSet() bool
func (NullableUpdateApiTokenSchema) MarshalJSON ¶
func (v NullableUpdateApiTokenSchema) MarshalJSON() ([]byte, error)
func (*NullableUpdateApiTokenSchema) Set ¶
func (v *NullableUpdateApiTokenSchema) Set(val *UpdateApiTokenSchema)
func (*NullableUpdateApiTokenSchema) UnmarshalJSON ¶
func (v *NullableUpdateApiTokenSchema) UnmarshalJSON(src []byte) error
func (*NullableUpdateApiTokenSchema) Unset ¶
func (v *NullableUpdateApiTokenSchema) Unset()
type NullableUpdateChangeRequestEnvironmentConfigSchema ¶ added in v0.2.3
type NullableUpdateChangeRequestEnvironmentConfigSchema struct {
// contains filtered or unexported fields
}
func NewNullableUpdateChangeRequestEnvironmentConfigSchema ¶ added in v0.2.3
func NewNullableUpdateChangeRequestEnvironmentConfigSchema(val *UpdateChangeRequestEnvironmentConfigSchema) *NullableUpdateChangeRequestEnvironmentConfigSchema
func (NullableUpdateChangeRequestEnvironmentConfigSchema) IsSet ¶ added in v0.2.3
func (v NullableUpdateChangeRequestEnvironmentConfigSchema) IsSet() bool
func (NullableUpdateChangeRequestEnvironmentConfigSchema) MarshalJSON ¶ added in v0.2.3
func (v NullableUpdateChangeRequestEnvironmentConfigSchema) MarshalJSON() ([]byte, error)
func (*NullableUpdateChangeRequestEnvironmentConfigSchema) UnmarshalJSON ¶ added in v0.2.3
func (v *NullableUpdateChangeRequestEnvironmentConfigSchema) UnmarshalJSON(src []byte) error
func (*NullableUpdateChangeRequestEnvironmentConfigSchema) Unset ¶ added in v0.2.3
func (v *NullableUpdateChangeRequestEnvironmentConfigSchema) Unset()
type NullableUpdateContextFieldSchema ¶ added in v0.2.3
type NullableUpdateContextFieldSchema struct {
// contains filtered or unexported fields
}
func NewNullableUpdateContextFieldSchema ¶ added in v0.2.3
func NewNullableUpdateContextFieldSchema(val *UpdateContextFieldSchema) *NullableUpdateContextFieldSchema
func (NullableUpdateContextFieldSchema) Get ¶ added in v0.2.3
func (v NullableUpdateContextFieldSchema) Get() *UpdateContextFieldSchema
func (NullableUpdateContextFieldSchema) IsSet ¶ added in v0.2.3
func (v NullableUpdateContextFieldSchema) IsSet() bool
func (NullableUpdateContextFieldSchema) MarshalJSON ¶ added in v0.2.3
func (v NullableUpdateContextFieldSchema) MarshalJSON() ([]byte, error)
func (*NullableUpdateContextFieldSchema) Set ¶ added in v0.2.3
func (v *NullableUpdateContextFieldSchema) Set(val *UpdateContextFieldSchema)
func (*NullableUpdateContextFieldSchema) UnmarshalJSON ¶ added in v0.2.3
func (v *NullableUpdateContextFieldSchema) UnmarshalJSON(src []byte) error
func (*NullableUpdateContextFieldSchema) Unset ¶ added in v0.2.3
func (v *NullableUpdateContextFieldSchema) Unset()
type NullableUpdateEnvironmentSchema ¶
type NullableUpdateEnvironmentSchema struct {
// contains filtered or unexported fields
}
func NewNullableUpdateEnvironmentSchema ¶
func NewNullableUpdateEnvironmentSchema(val *UpdateEnvironmentSchema) *NullableUpdateEnvironmentSchema
func (NullableUpdateEnvironmentSchema) Get ¶
func (v NullableUpdateEnvironmentSchema) Get() *UpdateEnvironmentSchema
func (NullableUpdateEnvironmentSchema) IsSet ¶
func (v NullableUpdateEnvironmentSchema) IsSet() bool
func (NullableUpdateEnvironmentSchema) MarshalJSON ¶
func (v NullableUpdateEnvironmentSchema) MarshalJSON() ([]byte, error)
func (*NullableUpdateEnvironmentSchema) Set ¶
func (v *NullableUpdateEnvironmentSchema) Set(val *UpdateEnvironmentSchema)
func (*NullableUpdateEnvironmentSchema) UnmarshalJSON ¶
func (v *NullableUpdateEnvironmentSchema) UnmarshalJSON(src []byte) error
func (*NullableUpdateEnvironmentSchema) Unset ¶
func (v *NullableUpdateEnvironmentSchema) Unset()
type NullableUpdateProject404Response ¶ added in v0.2.4
type NullableUpdateProject404Response struct {
// contains filtered or unexported fields
}
func NewNullableUpdateProject404Response ¶ added in v0.2.4
func NewNullableUpdateProject404Response(val *UpdateProject404Response) *NullableUpdateProject404Response
func (NullableUpdateProject404Response) Get ¶ added in v0.2.4
func (v NullableUpdateProject404Response) Get() *UpdateProject404Response
func (NullableUpdateProject404Response) IsSet ¶ added in v0.2.4
func (v NullableUpdateProject404Response) IsSet() bool
func (NullableUpdateProject404Response) MarshalJSON ¶ added in v0.2.4
func (v NullableUpdateProject404Response) MarshalJSON() ([]byte, error)
func (*NullableUpdateProject404Response) Set ¶ added in v0.2.4
func (v *NullableUpdateProject404Response) Set(val *UpdateProject404Response)
func (*NullableUpdateProject404Response) UnmarshalJSON ¶ added in v0.2.4
func (v *NullableUpdateProject404Response) UnmarshalJSON(src []byte) error
func (*NullableUpdateProject404Response) Unset ¶ added in v0.2.4
func (v *NullableUpdateProject404Response) Unset()
type NullableUpdateProjectEnterpriseSettingsSchema ¶ added in v0.5.1
type NullableUpdateProjectEnterpriseSettingsSchema struct {
// contains filtered or unexported fields
}
func NewNullableUpdateProjectEnterpriseSettingsSchema ¶ added in v0.5.1
func NewNullableUpdateProjectEnterpriseSettingsSchema(val *UpdateProjectEnterpriseSettingsSchema) *NullableUpdateProjectEnterpriseSettingsSchema
func (NullableUpdateProjectEnterpriseSettingsSchema) IsSet ¶ added in v0.5.1
func (v NullableUpdateProjectEnterpriseSettingsSchema) IsSet() bool
func (NullableUpdateProjectEnterpriseSettingsSchema) MarshalJSON ¶ added in v0.5.1
func (v NullableUpdateProjectEnterpriseSettingsSchema) MarshalJSON() ([]byte, error)
func (*NullableUpdateProjectEnterpriseSettingsSchema) Set ¶ added in v0.5.1
func (v *NullableUpdateProjectEnterpriseSettingsSchema) Set(val *UpdateProjectEnterpriseSettingsSchema)
func (*NullableUpdateProjectEnterpriseSettingsSchema) UnmarshalJSON ¶ added in v0.5.1
func (v *NullableUpdateProjectEnterpriseSettingsSchema) UnmarshalJSON(src []byte) error
func (*NullableUpdateProjectEnterpriseSettingsSchema) Unset ¶ added in v0.5.1
func (v *NullableUpdateProjectEnterpriseSettingsSchema) Unset()
type NullableUpdateProjectSchema ¶
type NullableUpdateProjectSchema struct {
// contains filtered or unexported fields
}
func NewNullableUpdateProjectSchema ¶
func NewNullableUpdateProjectSchema(val *UpdateProjectSchema) *NullableUpdateProjectSchema
func (NullableUpdateProjectSchema) Get ¶
func (v NullableUpdateProjectSchema) Get() *UpdateProjectSchema
func (NullableUpdateProjectSchema) IsSet ¶
func (v NullableUpdateProjectSchema) IsSet() bool
func (NullableUpdateProjectSchema) MarshalJSON ¶
func (v NullableUpdateProjectSchema) MarshalJSON() ([]byte, error)
func (*NullableUpdateProjectSchema) Set ¶
func (v *NullableUpdateProjectSchema) Set(val *UpdateProjectSchema)
func (*NullableUpdateProjectSchema) UnmarshalJSON ¶
func (v *NullableUpdateProjectSchema) UnmarshalJSON(src []byte) error
func (*NullableUpdateProjectSchema) Unset ¶
func (v *NullableUpdateProjectSchema) Unset()
type NullableUpdateServiceAccountSchema ¶
type NullableUpdateServiceAccountSchema struct {
// contains filtered or unexported fields
}
func NewNullableUpdateServiceAccountSchema ¶
func NewNullableUpdateServiceAccountSchema(val *UpdateServiceAccountSchema) *NullableUpdateServiceAccountSchema
func (NullableUpdateServiceAccountSchema) Get ¶
func (v NullableUpdateServiceAccountSchema) Get() *UpdateServiceAccountSchema
func (NullableUpdateServiceAccountSchema) IsSet ¶
func (v NullableUpdateServiceAccountSchema) IsSet() bool
func (NullableUpdateServiceAccountSchema) MarshalJSON ¶
func (v NullableUpdateServiceAccountSchema) MarshalJSON() ([]byte, error)
func (*NullableUpdateServiceAccountSchema) Set ¶
func (v *NullableUpdateServiceAccountSchema) Set(val *UpdateServiceAccountSchema)
func (*NullableUpdateServiceAccountSchema) UnmarshalJSON ¶
func (v *NullableUpdateServiceAccountSchema) UnmarshalJSON(src []byte) error
func (*NullableUpdateServiceAccountSchema) Unset ¶
func (v *NullableUpdateServiceAccountSchema) Unset()
type NullableUpdateUserSchema ¶
type NullableUpdateUserSchema struct {
// contains filtered or unexported fields
}
func NewNullableUpdateUserSchema ¶
func NewNullableUpdateUserSchema(val *UpdateUserSchema) *NullableUpdateUserSchema
func (NullableUpdateUserSchema) Get ¶
func (v NullableUpdateUserSchema) Get() *UpdateUserSchema
func (NullableUpdateUserSchema) IsSet ¶
func (v NullableUpdateUserSchema) IsSet() bool
func (NullableUpdateUserSchema) MarshalJSON ¶
func (v NullableUpdateUserSchema) MarshalJSON() ([]byte, error)
func (*NullableUpdateUserSchema) Set ¶
func (v *NullableUpdateUserSchema) Set(val *UpdateUserSchema)
func (*NullableUpdateUserSchema) UnmarshalJSON ¶
func (v *NullableUpdateUserSchema) UnmarshalJSON(src []byte) error
func (*NullableUpdateUserSchema) Unset ¶
func (v *NullableUpdateUserSchema) Unset()
type NullableUserSchema ¶
type NullableUserSchema struct {
// contains filtered or unexported fields
}
func NewNullableUserSchema ¶
func NewNullableUserSchema(val *UserSchema) *NullableUserSchema
func (NullableUserSchema) Get ¶
func (v NullableUserSchema) Get() *UserSchema
func (NullableUserSchema) IsSet ¶
func (v NullableUserSchema) IsSet() bool
func (NullableUserSchema) MarshalJSON ¶
func (v NullableUserSchema) MarshalJSON() ([]byte, error)
func (*NullableUserSchema) Set ¶
func (v *NullableUserSchema) Set(val *UserSchema)
func (*NullableUserSchema) UnmarshalJSON ¶
func (v *NullableUserSchema) UnmarshalJSON(src []byte) error
func (*NullableUserSchema) Unset ¶
func (v *NullableUserSchema) Unset()
type NullableUserWithProjectRoleSchema ¶
type NullableUserWithProjectRoleSchema struct {
// contains filtered or unexported fields
}
func NewNullableUserWithProjectRoleSchema ¶
func NewNullableUserWithProjectRoleSchema(val *UserWithProjectRoleSchema) *NullableUserWithProjectRoleSchema
func (NullableUserWithProjectRoleSchema) Get ¶
func (v NullableUserWithProjectRoleSchema) Get() *UserWithProjectRoleSchema
func (NullableUserWithProjectRoleSchema) IsSet ¶
func (v NullableUserWithProjectRoleSchema) IsSet() bool
func (NullableUserWithProjectRoleSchema) MarshalJSON ¶
func (v NullableUserWithProjectRoleSchema) MarshalJSON() ([]byte, error)
func (*NullableUserWithProjectRoleSchema) Set ¶
func (v *NullableUserWithProjectRoleSchema) Set(val *UserWithProjectRoleSchema)
func (*NullableUserWithProjectRoleSchema) UnmarshalJSON ¶
func (v *NullableUserWithProjectRoleSchema) UnmarshalJSON(src []byte) error
func (*NullableUserWithProjectRoleSchema) Unset ¶
func (v *NullableUserWithProjectRoleSchema) Unset()
type OidcSettingsResponseSchema ¶ added in v0.5.0
type OidcSettingsResponseSchema struct {
// Whether to enable or disable OpenID Connect for this instance
Enabled *bool `json:"enabled,omitempty"`
// The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/)
DiscoverUrl *string `json:"discoverUrl,omitempty"`
// The OIDC client ID of this application.
ClientId *string `json:"clientId,omitempty"`
// Shared secret from OpenID server. Used to authenticate login requests
Secret *string `json:"secret,omitempty"`
// Auto create users based on email addresses from login tokens
AutoCreate *bool `json:"autoCreate,omitempty"`
// Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active
EnableSingleSignOut *bool `json:"enableSingleSignOut,omitempty"`
// [Default role](https://docs.getunleash.io/concepts/rbac#standard-roles) granted to users auto-created from email. Only relevant if autoCreate is `true`
DefaultRootRole *string `json:"defaultRootRole,omitempty"`
// Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`.
DefaultRootRoleId *float32 `json:"defaultRootRoleId,omitempty"`
// Comma separated list of email domains that are automatically approved for an account in the server. Only relevant if autoCreate is `true`
EmailDomains *string `json:"emailDomains,omitempty"`
// Authentication Context Class Reference, used to request extra values in the acr claim returned from the server. If multiple values are required, they should be space separated. Consult [the OIDC reference](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint) for more information
AcrValues *string `json:"acrValues,omitempty"`
// The signing algorithm used to sign our token. Refer to the [JWT signatures](https://jwt.io/introduction) documentation for more information.
IdTokenSigningAlgorithm *string `json:"idTokenSigningAlgorithm,omitempty"`
// Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/guides/how-to-set-up-group-sso-sync)
EnableGroupSyncing *bool `json:"enableGroupSyncing,omitempty"`
// Specifies the path in the OIDC token response to read which groups the user belongs to from.
GroupJsonPath *string `json:"groupJsonPath,omitempty"`
// When enabled Unleash will also request the 'groups' scope as part of the login request.
AddGroupsScope *bool `json:"addGroupsScope,omitempty"`
// Enable PKCE (Proof Key for Code Exchange) for enhanced security. Recommended for public clients and provides additional protection against authorization code interception attacks.
EnablePkce *bool `json:"enablePkce,omitempty"`
AdditionalProperties map[string]interface{}
}
OidcSettingsResponseSchema Response for OpenID Connect settings
func NewOidcSettingsResponseSchema ¶ added in v0.5.0
func NewOidcSettingsResponseSchema() *OidcSettingsResponseSchema
NewOidcSettingsResponseSchema instantiates a new OidcSettingsResponseSchema 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 NewOidcSettingsResponseSchemaWithDefaults ¶ added in v0.5.0
func NewOidcSettingsResponseSchemaWithDefaults() *OidcSettingsResponseSchema
NewOidcSettingsResponseSchemaWithDefaults instantiates a new OidcSettingsResponseSchema 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 (*OidcSettingsResponseSchema) GetAcrValues ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetAcrValues() string
GetAcrValues returns the AcrValues field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetAcrValuesOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetAcrValuesOk() (*string, bool)
GetAcrValuesOk returns a tuple with the AcrValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetAddGroupsScope ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetAddGroupsScope() bool
GetAddGroupsScope returns the AddGroupsScope field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetAddGroupsScopeOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetAddGroupsScopeOk() (*bool, bool)
GetAddGroupsScopeOk returns a tuple with the AddGroupsScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetAutoCreate ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetAutoCreate() bool
GetAutoCreate returns the AutoCreate field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetAutoCreateOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetAutoCreateOk() (*bool, bool)
GetAutoCreateOk returns a tuple with the AutoCreate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetClientId ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetClientId() string
GetClientId returns the ClientId field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetClientIdOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetClientIdOk() (*string, bool)
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 (*OidcSettingsResponseSchema) GetDefaultRootRole ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetDefaultRootRole() string
GetDefaultRootRole returns the DefaultRootRole field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetDefaultRootRoleId ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetDefaultRootRoleId() float32
GetDefaultRootRoleId returns the DefaultRootRoleId field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetDefaultRootRoleIdOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetDefaultRootRoleIdOk() (*float32, bool)
GetDefaultRootRoleIdOk returns a tuple with the DefaultRootRoleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetDefaultRootRoleOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetDefaultRootRoleOk() (*string, bool)
GetDefaultRootRoleOk returns a tuple with the DefaultRootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetDiscoverUrl ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetDiscoverUrl() string
GetDiscoverUrl returns the DiscoverUrl field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetDiscoverUrlOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetDiscoverUrlOk() (*string, bool)
GetDiscoverUrlOk returns a tuple with the DiscoverUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetEmailDomains ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetEmailDomains() string
GetEmailDomains returns the EmailDomains field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetEmailDomainsOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetEmailDomainsOk() (*string, bool)
GetEmailDomainsOk returns a tuple with the EmailDomains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetEnableGroupSyncing ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetEnableGroupSyncing() bool
GetEnableGroupSyncing returns the EnableGroupSyncing field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetEnableGroupSyncingOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetEnableGroupSyncingOk() (*bool, bool)
GetEnableGroupSyncingOk returns a tuple with the EnableGroupSyncing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetEnablePkce ¶ added in v0.7.0
func (o *OidcSettingsResponseSchema) GetEnablePkce() bool
GetEnablePkce returns the EnablePkce field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetEnablePkceOk ¶ added in v0.7.0
func (o *OidcSettingsResponseSchema) GetEnablePkceOk() (*bool, bool)
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 (*OidcSettingsResponseSchema) GetEnableSingleSignOut ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetEnableSingleSignOut() bool
GetEnableSingleSignOut returns the EnableSingleSignOut field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetEnableSingleSignOutOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetEnableSingleSignOutOk() (*bool, bool)
GetEnableSingleSignOutOk returns a tuple with the EnableSingleSignOut field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetEnabled ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetEnabledOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetGroupJsonPath ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetGroupJsonPath() string
GetGroupJsonPath returns the GroupJsonPath field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetGroupJsonPathOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetGroupJsonPathOk() (*string, bool)
GetGroupJsonPathOk returns a tuple with the GroupJsonPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetIdTokenSigningAlgorithm ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetIdTokenSigningAlgorithm() string
GetIdTokenSigningAlgorithm returns the IdTokenSigningAlgorithm field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetIdTokenSigningAlgorithmOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetIdTokenSigningAlgorithmOk() (*string, bool)
GetIdTokenSigningAlgorithmOk returns a tuple with the IdTokenSigningAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) GetSecret ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetSecret() string
GetSecret returns the Secret field value if set, zero value otherwise.
func (*OidcSettingsResponseSchema) GetSecretOk ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) GetSecretOk() (*string, bool)
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsResponseSchema) HasAcrValues ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasAcrValues() bool
HasAcrValues returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasAddGroupsScope ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasAddGroupsScope() bool
HasAddGroupsScope returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasAutoCreate ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasAutoCreate() bool
HasAutoCreate returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasClientId ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasDefaultRootRole ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasDefaultRootRole() bool
HasDefaultRootRole returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasDefaultRootRoleId ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasDefaultRootRoleId() bool
HasDefaultRootRoleId returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasDiscoverUrl ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasDiscoverUrl() bool
HasDiscoverUrl returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasEmailDomains ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasEmailDomains() bool
HasEmailDomains returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasEnableGroupSyncing ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasEnableGroupSyncing() bool
HasEnableGroupSyncing returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasEnablePkce ¶ added in v0.7.0
func (o *OidcSettingsResponseSchema) HasEnablePkce() bool
HasEnablePkce returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasEnableSingleSignOut ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasEnableSingleSignOut() bool
HasEnableSingleSignOut returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasEnabled ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasGroupJsonPath ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasGroupJsonPath() bool
HasGroupJsonPath returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasIdTokenSigningAlgorithm ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasIdTokenSigningAlgorithm() bool
HasIdTokenSigningAlgorithm returns a boolean if a field has been set.
func (*OidcSettingsResponseSchema) HasSecret ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (OidcSettingsResponseSchema) MarshalJSON ¶ added in v0.5.0
func (o OidcSettingsResponseSchema) MarshalJSON() ([]byte, error)
func (*OidcSettingsResponseSchema) SetAcrValues ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetAcrValues(v string)
SetAcrValues gets a reference to the given string and assigns it to the AcrValues field.
func (*OidcSettingsResponseSchema) SetAddGroupsScope ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetAddGroupsScope(v bool)
SetAddGroupsScope gets a reference to the given bool and assigns it to the AddGroupsScope field.
func (*OidcSettingsResponseSchema) SetAutoCreate ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetAutoCreate(v bool)
SetAutoCreate gets a reference to the given bool and assigns it to the AutoCreate field.
func (*OidcSettingsResponseSchema) SetClientId ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetClientId(v string)
SetClientId gets a reference to the given string and assigns it to the ClientId field.
func (*OidcSettingsResponseSchema) SetDefaultRootRole ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetDefaultRootRole(v string)
SetDefaultRootRole gets a reference to the given string and assigns it to the DefaultRootRole field.
func (*OidcSettingsResponseSchema) SetDefaultRootRoleId ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetDefaultRootRoleId(v float32)
SetDefaultRootRoleId gets a reference to the given float32 and assigns it to the DefaultRootRoleId field.
func (*OidcSettingsResponseSchema) SetDiscoverUrl ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetDiscoverUrl(v string)
SetDiscoverUrl gets a reference to the given string and assigns it to the DiscoverUrl field.
func (*OidcSettingsResponseSchema) SetEmailDomains ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetEmailDomains(v string)
SetEmailDomains gets a reference to the given string and assigns it to the EmailDomains field.
func (*OidcSettingsResponseSchema) SetEnableGroupSyncing ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetEnableGroupSyncing(v bool)
SetEnableGroupSyncing gets a reference to the given bool and assigns it to the EnableGroupSyncing field.
func (*OidcSettingsResponseSchema) SetEnablePkce ¶ added in v0.7.0
func (o *OidcSettingsResponseSchema) SetEnablePkce(v bool)
SetEnablePkce gets a reference to the given bool and assigns it to the EnablePkce field.
func (*OidcSettingsResponseSchema) SetEnableSingleSignOut ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetEnableSingleSignOut(v bool)
SetEnableSingleSignOut gets a reference to the given bool and assigns it to the EnableSingleSignOut field.
func (*OidcSettingsResponseSchema) SetEnabled ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*OidcSettingsResponseSchema) SetGroupJsonPath ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetGroupJsonPath(v string)
SetGroupJsonPath gets a reference to the given string and assigns it to the GroupJsonPath field.
func (*OidcSettingsResponseSchema) SetIdTokenSigningAlgorithm ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetIdTokenSigningAlgorithm(v string)
SetIdTokenSigningAlgorithm gets a reference to the given string and assigns it to the IdTokenSigningAlgorithm field.
func (*OidcSettingsResponseSchema) SetSecret ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) SetSecret(v string)
SetSecret gets a reference to the given string and assigns it to the Secret field.
func (OidcSettingsResponseSchema) ToMap ¶ added in v0.5.0
func (o OidcSettingsResponseSchema) ToMap() (map[string]interface{}, error)
func (*OidcSettingsResponseSchema) UnmarshalJSON ¶ added in v0.5.0
func (o *OidcSettingsResponseSchema) UnmarshalJSON(data []byte) (err error)
type OidcSettingsSchema ¶
type OidcSettingsSchema struct {
OidcSettingsSchemaOneOf *OidcSettingsSchemaOneOf
OidcSettingsSchemaOneOf1 *OidcSettingsSchemaOneOf1
}
OidcSettingsSchema - Settings for configuring OpenID Connect as a login provider for Unleash
func OidcSettingsSchemaOneOf1AsOidcSettingsSchema ¶ added in v0.5.0
func OidcSettingsSchemaOneOf1AsOidcSettingsSchema(v *OidcSettingsSchemaOneOf1) OidcSettingsSchema
OidcSettingsSchemaOneOf1AsOidcSettingsSchema is a convenience function that returns OidcSettingsSchemaOneOf1 wrapped in OidcSettingsSchema
func OidcSettingsSchemaOneOfAsOidcSettingsSchema ¶ added in v0.5.0
func OidcSettingsSchemaOneOfAsOidcSettingsSchema(v *OidcSettingsSchemaOneOf) OidcSettingsSchema
OidcSettingsSchemaOneOfAsOidcSettingsSchema is a convenience function that returns OidcSettingsSchemaOneOf wrapped in OidcSettingsSchema
func (*OidcSettingsSchema) GetActualInstance ¶ added in v0.5.0
func (obj *OidcSettingsSchema) GetActualInstance() interface{}
Get the actual instance
func (OidcSettingsSchema) MarshalJSON ¶
func (src OidcSettingsSchema) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*OidcSettingsSchema) UnmarshalJSON ¶ added in v0.5.0
func (dst *OidcSettingsSchema) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type OidcSettingsSchemaOneOf ¶ added in v0.5.0
type OidcSettingsSchemaOneOf struct {
// Whether to enable or disable OpenID Connect for this instance
Enabled bool `json:"enabled"`
// The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/)
DiscoverUrl *string `json:"discoverUrl,omitempty"`
// The OIDC client ID of this application.
ClientId string `json:"clientId"`
// Shared secret from OpenID server. Used to authenticate login requests
Secret string `json:"secret"`
// Auto create users based on email addresses from login tokens
AutoCreate *bool `json:"autoCreate,omitempty"`
// Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active
EnableSingleSignOut *bool `json:"enableSingleSignOut,omitempty"`
// [Default role](https://docs.getunleash.io/concepts/rbac#standard-roles) granted to users auto-created from email. Only relevant if autoCreate is `true`
DefaultRootRole *string `json:"defaultRootRole,omitempty"`
// Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`.
DefaultRootRoleId *float32 `json:"defaultRootRoleId,omitempty"`
// Comma separated list of email domains that are automatically approved for an account in the server. Only relevant if autoCreate is `true`
EmailDomains *string `json:"emailDomains,omitempty"`
// Authentication Context Class Reference, used to request extra values in the acr claim returned from the server. If multiple values are required, they should be space separated. Consult [the OIDC reference](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint) for more information
AcrValues *string `json:"acrValues,omitempty"`
// The signing algorithm used to sign our token. Refer to the [JWT signatures](https://jwt.io/introduction) documentation for more information.
IdTokenSigningAlgorithm *string `json:"idTokenSigningAlgorithm,omitempty"`
// Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/guides/how-to-set-up-group-sso-sync)
EnableGroupSyncing *bool `json:"enableGroupSyncing,omitempty"`
// Specifies the path in the OIDC token response to read which groups the user belongs to from.
GroupJsonPath *string `json:"groupJsonPath,omitempty"`
// When enabled Unleash will also request the 'groups' scope as part of the login request.
AddGroupsScope *bool `json:"addGroupsScope,omitempty"`
// Enable PKCE (Proof Key for Code Exchange) for enhanced security. Recommended for public clients and provides additional protection against authorization code interception attacks.
EnablePkce *bool `json:"enablePkce,omitempty"`
AdditionalProperties map[string]interface{}
}
OidcSettingsSchemaOneOf struct for OidcSettingsSchemaOneOf
func NewOidcSettingsSchemaOneOf ¶ added in v0.5.0
func NewOidcSettingsSchemaOneOf(enabled bool, clientId string, secret string) *OidcSettingsSchemaOneOf
NewOidcSettingsSchemaOneOf instantiates a new OidcSettingsSchemaOneOf 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 NewOidcSettingsSchemaOneOfWithDefaults ¶ added in v0.5.0
func NewOidcSettingsSchemaOneOfWithDefaults() *OidcSettingsSchemaOneOf
NewOidcSettingsSchemaOneOfWithDefaults instantiates a new OidcSettingsSchemaOneOf 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 (*OidcSettingsSchemaOneOf) GetAcrValues ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetAcrValues() string
GetAcrValues returns the AcrValues field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetAcrValuesOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetAcrValuesOk() (*string, bool)
GetAcrValuesOk returns a tuple with the AcrValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetAddGroupsScope ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetAddGroupsScope() bool
GetAddGroupsScope returns the AddGroupsScope field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetAddGroupsScopeOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetAddGroupsScopeOk() (*bool, bool)
GetAddGroupsScopeOk returns a tuple with the AddGroupsScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetAutoCreate ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetAutoCreate() bool
GetAutoCreate returns the AutoCreate field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetAutoCreateOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetAutoCreateOk() (*bool, bool)
GetAutoCreateOk returns a tuple with the AutoCreate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetClientId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetClientId() string
GetClientId returns the ClientId field value
func (*OidcSettingsSchemaOneOf) GetClientIdOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetDefaultRootRole ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetDefaultRootRole() string
GetDefaultRootRole returns the DefaultRootRole field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetDefaultRootRoleId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetDefaultRootRoleId() float32
GetDefaultRootRoleId returns the DefaultRootRoleId field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetDefaultRootRoleIdOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetDefaultRootRoleIdOk() (*float32, bool)
GetDefaultRootRoleIdOk returns a tuple with the DefaultRootRoleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetDefaultRootRoleOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetDefaultRootRoleOk() (*string, bool)
GetDefaultRootRoleOk returns a tuple with the DefaultRootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetDiscoverUrl ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetDiscoverUrl() string
GetDiscoverUrl returns the DiscoverUrl field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetDiscoverUrlOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetDiscoverUrlOk() (*string, bool)
GetDiscoverUrlOk returns a tuple with the DiscoverUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetEmailDomains ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetEmailDomains() string
GetEmailDomains returns the EmailDomains field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetEmailDomainsOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetEmailDomainsOk() (*string, bool)
GetEmailDomainsOk returns a tuple with the EmailDomains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetEnableGroupSyncing ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetEnableGroupSyncing() bool
GetEnableGroupSyncing returns the EnableGroupSyncing field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetEnableGroupSyncingOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetEnableGroupSyncingOk() (*bool, bool)
GetEnableGroupSyncingOk returns a tuple with the EnableGroupSyncing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetEnablePkce ¶ added in v0.7.0
func (o *OidcSettingsSchemaOneOf) GetEnablePkce() bool
GetEnablePkce returns the EnablePkce field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetEnablePkceOk ¶ added in v0.7.0
func (o *OidcSettingsSchemaOneOf) GetEnablePkceOk() (*bool, bool)
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 (*OidcSettingsSchemaOneOf) GetEnableSingleSignOut ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetEnableSingleSignOut() bool
GetEnableSingleSignOut returns the EnableSingleSignOut field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetEnableSingleSignOutOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetEnableSingleSignOutOk() (*bool, bool)
GetEnableSingleSignOutOk returns a tuple with the EnableSingleSignOut field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetEnabled ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetEnabled() bool
GetEnabled returns the Enabled field value
func (*OidcSettingsSchemaOneOf) GetEnabledOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetGroupJsonPath ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetGroupJsonPath() string
GetGroupJsonPath returns the GroupJsonPath field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetGroupJsonPathOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetGroupJsonPathOk() (*string, bool)
GetGroupJsonPathOk returns a tuple with the GroupJsonPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetIdTokenSigningAlgorithm ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetIdTokenSigningAlgorithm() string
GetIdTokenSigningAlgorithm returns the IdTokenSigningAlgorithm field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf) GetIdTokenSigningAlgorithmOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetIdTokenSigningAlgorithmOk() (*string, bool)
GetIdTokenSigningAlgorithmOk returns a tuple with the IdTokenSigningAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) GetSecret ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetSecret() string
GetSecret returns the Secret field value
func (*OidcSettingsSchemaOneOf) GetSecretOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) GetSecretOk() (*string, bool)
GetSecretOk returns a tuple with the Secret field value and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf) HasAcrValues ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasAcrValues() bool
HasAcrValues returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasAddGroupsScope ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasAddGroupsScope() bool
HasAddGroupsScope returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasAutoCreate ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasAutoCreate() bool
HasAutoCreate returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasDefaultRootRole ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasDefaultRootRole() bool
HasDefaultRootRole returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasDefaultRootRoleId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasDefaultRootRoleId() bool
HasDefaultRootRoleId returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasDiscoverUrl ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasDiscoverUrl() bool
HasDiscoverUrl returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasEmailDomains ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasEmailDomains() bool
HasEmailDomains returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasEnableGroupSyncing ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasEnableGroupSyncing() bool
HasEnableGroupSyncing returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasEnablePkce ¶ added in v0.7.0
func (o *OidcSettingsSchemaOneOf) HasEnablePkce() bool
HasEnablePkce returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasEnableSingleSignOut ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasEnableSingleSignOut() bool
HasEnableSingleSignOut returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasGroupJsonPath ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasGroupJsonPath() bool
HasGroupJsonPath returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf) HasIdTokenSigningAlgorithm ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) HasIdTokenSigningAlgorithm() bool
HasIdTokenSigningAlgorithm returns a boolean if a field has been set.
func (OidcSettingsSchemaOneOf) MarshalJSON ¶ added in v0.5.0
func (o OidcSettingsSchemaOneOf) MarshalJSON() ([]byte, error)
func (*OidcSettingsSchemaOneOf) SetAcrValues ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetAcrValues(v string)
SetAcrValues gets a reference to the given string and assigns it to the AcrValues field.
func (*OidcSettingsSchemaOneOf) SetAddGroupsScope ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetAddGroupsScope(v bool)
SetAddGroupsScope gets a reference to the given bool and assigns it to the AddGroupsScope field.
func (*OidcSettingsSchemaOneOf) SetAutoCreate ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetAutoCreate(v bool)
SetAutoCreate gets a reference to the given bool and assigns it to the AutoCreate field.
func (*OidcSettingsSchemaOneOf) SetClientId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetClientId(v string)
SetClientId sets field value
func (*OidcSettingsSchemaOneOf) SetDefaultRootRole ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetDefaultRootRole(v string)
SetDefaultRootRole gets a reference to the given string and assigns it to the DefaultRootRole field.
func (*OidcSettingsSchemaOneOf) SetDefaultRootRoleId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetDefaultRootRoleId(v float32)
SetDefaultRootRoleId gets a reference to the given float32 and assigns it to the DefaultRootRoleId field.
func (*OidcSettingsSchemaOneOf) SetDiscoverUrl ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetDiscoverUrl(v string)
SetDiscoverUrl gets a reference to the given string and assigns it to the DiscoverUrl field.
func (*OidcSettingsSchemaOneOf) SetEmailDomains ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetEmailDomains(v string)
SetEmailDomains gets a reference to the given string and assigns it to the EmailDomains field.
func (*OidcSettingsSchemaOneOf) SetEnableGroupSyncing ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetEnableGroupSyncing(v bool)
SetEnableGroupSyncing gets a reference to the given bool and assigns it to the EnableGroupSyncing field.
func (*OidcSettingsSchemaOneOf) SetEnablePkce ¶ added in v0.7.0
func (o *OidcSettingsSchemaOneOf) SetEnablePkce(v bool)
SetEnablePkce gets a reference to the given bool and assigns it to the EnablePkce field.
func (*OidcSettingsSchemaOneOf) SetEnableSingleSignOut ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetEnableSingleSignOut(v bool)
SetEnableSingleSignOut gets a reference to the given bool and assigns it to the EnableSingleSignOut field.
func (*OidcSettingsSchemaOneOf) SetEnabled ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetEnabled(v bool)
SetEnabled sets field value
func (*OidcSettingsSchemaOneOf) SetGroupJsonPath ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetGroupJsonPath(v string)
SetGroupJsonPath gets a reference to the given string and assigns it to the GroupJsonPath field.
func (*OidcSettingsSchemaOneOf) SetIdTokenSigningAlgorithm ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetIdTokenSigningAlgorithm(v string)
SetIdTokenSigningAlgorithm gets a reference to the given string and assigns it to the IdTokenSigningAlgorithm field.
func (*OidcSettingsSchemaOneOf) SetSecret ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) SetSecret(v string)
SetSecret sets field value
func (OidcSettingsSchemaOneOf) ToMap ¶ added in v0.5.0
func (o OidcSettingsSchemaOneOf) ToMap() (map[string]interface{}, error)
func (*OidcSettingsSchemaOneOf) UnmarshalJSON ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf) UnmarshalJSON(data []byte) (err error)
type OidcSettingsSchemaOneOf1 ¶ added in v0.5.0
type OidcSettingsSchemaOneOf1 struct {
// Whether to enable or disable OpenID Connect for this instance
Enabled *bool `json:"enabled,omitempty"`
// The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/)
DiscoverUrl *string `json:"discoverUrl,omitempty"`
// The OIDC client ID of this application.
ClientId *string `json:"clientId,omitempty"`
// Shared secret from OpenID server. Used to authenticate login requests
Secret *string `json:"secret,omitempty"`
// Auto create users based on email addresses from login tokens
AutoCreate *bool `json:"autoCreate,omitempty"`
// Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active
EnableSingleSignOut *bool `json:"enableSingleSignOut,omitempty"`
// [Default role](https://docs.getunleash.io/concepts/rbac#standard-roles) granted to users auto-created from email. Only relevant if autoCreate is `true`
DefaultRootRole *string `json:"defaultRootRole,omitempty"`
// Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`.
DefaultRootRoleId *float32 `json:"defaultRootRoleId,omitempty"`
// Comma separated list of email domains that are automatically approved for an account in the server. Only relevant if autoCreate is `true`
EmailDomains *string `json:"emailDomains,omitempty"`
// Authentication Context Class Reference, used to request extra values in the acr claim returned from the server. If multiple values are required, they should be space separated. Consult [the OIDC reference](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint) for more information
AcrValues *string `json:"acrValues,omitempty"`
// The signing algorithm used to sign our token. Refer to the [JWT signatures](https://jwt.io/introduction) documentation for more information.
IdTokenSigningAlgorithm *string `json:"idTokenSigningAlgorithm,omitempty"`
// Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/guides/how-to-set-up-group-sso-sync)
EnableGroupSyncing *bool `json:"enableGroupSyncing,omitempty"`
// Specifies the path in the OIDC token response to read which groups the user belongs to from.
GroupJsonPath *string `json:"groupJsonPath,omitempty"`
// When enabled Unleash will also request the 'groups' scope as part of the login request.
AddGroupsScope *bool `json:"addGroupsScope,omitempty"`
// Enable PKCE (Proof Key for Code Exchange) for enhanced security. Recommended for public clients and provides additional protection against authorization code interception attacks.
EnablePkce *bool `json:"enablePkce,omitempty"`
AdditionalProperties map[string]interface{}
}
OidcSettingsSchemaOneOf1 struct for OidcSettingsSchemaOneOf1
func NewOidcSettingsSchemaOneOf1 ¶ added in v0.5.0
func NewOidcSettingsSchemaOneOf1() *OidcSettingsSchemaOneOf1
NewOidcSettingsSchemaOneOf1 instantiates a new OidcSettingsSchemaOneOf1 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 NewOidcSettingsSchemaOneOf1WithDefaults ¶ added in v0.5.0
func NewOidcSettingsSchemaOneOf1WithDefaults() *OidcSettingsSchemaOneOf1
NewOidcSettingsSchemaOneOf1WithDefaults instantiates a new OidcSettingsSchemaOneOf1 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 (*OidcSettingsSchemaOneOf1) GetAcrValues ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetAcrValues() string
GetAcrValues returns the AcrValues field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetAcrValuesOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetAcrValuesOk() (*string, bool)
GetAcrValuesOk returns a tuple with the AcrValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetAddGroupsScope ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetAddGroupsScope() bool
GetAddGroupsScope returns the AddGroupsScope field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetAddGroupsScopeOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetAddGroupsScopeOk() (*bool, bool)
GetAddGroupsScopeOk returns a tuple with the AddGroupsScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetAutoCreate ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetAutoCreate() bool
GetAutoCreate returns the AutoCreate field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetAutoCreateOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetAutoCreateOk() (*bool, bool)
GetAutoCreateOk returns a tuple with the AutoCreate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetClientId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetClientId() string
GetClientId returns the ClientId field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetClientIdOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetClientIdOk() (*string, bool)
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 (*OidcSettingsSchemaOneOf1) GetDefaultRootRole ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetDefaultRootRole() string
GetDefaultRootRole returns the DefaultRootRole field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetDefaultRootRoleId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetDefaultRootRoleId() float32
GetDefaultRootRoleId returns the DefaultRootRoleId field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetDefaultRootRoleIdOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetDefaultRootRoleIdOk() (*float32, bool)
GetDefaultRootRoleIdOk returns a tuple with the DefaultRootRoleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetDefaultRootRoleOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetDefaultRootRoleOk() (*string, bool)
GetDefaultRootRoleOk returns a tuple with the DefaultRootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetDiscoverUrl ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetDiscoverUrl() string
GetDiscoverUrl returns the DiscoverUrl field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetDiscoverUrlOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetDiscoverUrlOk() (*string, bool)
GetDiscoverUrlOk returns a tuple with the DiscoverUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetEmailDomains ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetEmailDomains() string
GetEmailDomains returns the EmailDomains field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetEmailDomainsOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetEmailDomainsOk() (*string, bool)
GetEmailDomainsOk returns a tuple with the EmailDomains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetEnableGroupSyncing ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetEnableGroupSyncing() bool
GetEnableGroupSyncing returns the EnableGroupSyncing field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetEnableGroupSyncingOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetEnableGroupSyncingOk() (*bool, bool)
GetEnableGroupSyncingOk returns a tuple with the EnableGroupSyncing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetEnablePkce ¶ added in v0.7.0
func (o *OidcSettingsSchemaOneOf1) GetEnablePkce() bool
GetEnablePkce returns the EnablePkce field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetEnablePkceOk ¶ added in v0.7.0
func (o *OidcSettingsSchemaOneOf1) GetEnablePkceOk() (*bool, bool)
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 (*OidcSettingsSchemaOneOf1) GetEnableSingleSignOut ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetEnableSingleSignOut() bool
GetEnableSingleSignOut returns the EnableSingleSignOut field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetEnableSingleSignOutOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetEnableSingleSignOutOk() (*bool, bool)
GetEnableSingleSignOutOk returns a tuple with the EnableSingleSignOut field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetEnabled ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetEnabledOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetGroupJsonPath ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetGroupJsonPath() string
GetGroupJsonPath returns the GroupJsonPath field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetGroupJsonPathOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetGroupJsonPathOk() (*string, bool)
GetGroupJsonPathOk returns a tuple with the GroupJsonPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetIdTokenSigningAlgorithm ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetIdTokenSigningAlgorithm() string
GetIdTokenSigningAlgorithm returns the IdTokenSigningAlgorithm field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetIdTokenSigningAlgorithmOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetIdTokenSigningAlgorithmOk() (*string, bool)
GetIdTokenSigningAlgorithmOk returns a tuple with the IdTokenSigningAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) GetSecret ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetSecret() string
GetSecret returns the Secret field value if set, zero value otherwise.
func (*OidcSettingsSchemaOneOf1) GetSecretOk ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) GetSecretOk() (*string, bool)
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OidcSettingsSchemaOneOf1) HasAcrValues ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasAcrValues() bool
HasAcrValues returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasAddGroupsScope ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasAddGroupsScope() bool
HasAddGroupsScope returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasAutoCreate ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasAutoCreate() bool
HasAutoCreate returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasClientId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasDefaultRootRole ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasDefaultRootRole() bool
HasDefaultRootRole returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasDefaultRootRoleId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasDefaultRootRoleId() bool
HasDefaultRootRoleId returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasDiscoverUrl ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasDiscoverUrl() bool
HasDiscoverUrl returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasEmailDomains ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasEmailDomains() bool
HasEmailDomains returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasEnableGroupSyncing ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasEnableGroupSyncing() bool
HasEnableGroupSyncing returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasEnablePkce ¶ added in v0.7.0
func (o *OidcSettingsSchemaOneOf1) HasEnablePkce() bool
HasEnablePkce returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasEnableSingleSignOut ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasEnableSingleSignOut() bool
HasEnableSingleSignOut returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasEnabled ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasGroupJsonPath ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasGroupJsonPath() bool
HasGroupJsonPath returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasIdTokenSigningAlgorithm ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasIdTokenSigningAlgorithm() bool
HasIdTokenSigningAlgorithm returns a boolean if a field has been set.
func (*OidcSettingsSchemaOneOf1) HasSecret ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (OidcSettingsSchemaOneOf1) MarshalJSON ¶ added in v0.5.0
func (o OidcSettingsSchemaOneOf1) MarshalJSON() ([]byte, error)
func (*OidcSettingsSchemaOneOf1) SetAcrValues ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetAcrValues(v string)
SetAcrValues gets a reference to the given string and assigns it to the AcrValues field.
func (*OidcSettingsSchemaOneOf1) SetAddGroupsScope ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetAddGroupsScope(v bool)
SetAddGroupsScope gets a reference to the given bool and assigns it to the AddGroupsScope field.
func (*OidcSettingsSchemaOneOf1) SetAutoCreate ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetAutoCreate(v bool)
SetAutoCreate gets a reference to the given bool and assigns it to the AutoCreate field.
func (*OidcSettingsSchemaOneOf1) SetClientId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetClientId(v string)
SetClientId gets a reference to the given string and assigns it to the ClientId field.
func (*OidcSettingsSchemaOneOf1) SetDefaultRootRole ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetDefaultRootRole(v string)
SetDefaultRootRole gets a reference to the given string and assigns it to the DefaultRootRole field.
func (*OidcSettingsSchemaOneOf1) SetDefaultRootRoleId ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetDefaultRootRoleId(v float32)
SetDefaultRootRoleId gets a reference to the given float32 and assigns it to the DefaultRootRoleId field.
func (*OidcSettingsSchemaOneOf1) SetDiscoverUrl ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetDiscoverUrl(v string)
SetDiscoverUrl gets a reference to the given string and assigns it to the DiscoverUrl field.
func (*OidcSettingsSchemaOneOf1) SetEmailDomains ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetEmailDomains(v string)
SetEmailDomains gets a reference to the given string and assigns it to the EmailDomains field.
func (*OidcSettingsSchemaOneOf1) SetEnableGroupSyncing ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetEnableGroupSyncing(v bool)
SetEnableGroupSyncing gets a reference to the given bool and assigns it to the EnableGroupSyncing field.
func (*OidcSettingsSchemaOneOf1) SetEnablePkce ¶ added in v0.7.0
func (o *OidcSettingsSchemaOneOf1) SetEnablePkce(v bool)
SetEnablePkce gets a reference to the given bool and assigns it to the EnablePkce field.
func (*OidcSettingsSchemaOneOf1) SetEnableSingleSignOut ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetEnableSingleSignOut(v bool)
SetEnableSingleSignOut gets a reference to the given bool and assigns it to the EnableSingleSignOut field.
func (*OidcSettingsSchemaOneOf1) SetEnabled ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*OidcSettingsSchemaOneOf1) SetGroupJsonPath ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetGroupJsonPath(v string)
SetGroupJsonPath gets a reference to the given string and assigns it to the GroupJsonPath field.
func (*OidcSettingsSchemaOneOf1) SetIdTokenSigningAlgorithm ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetIdTokenSigningAlgorithm(v string)
SetIdTokenSigningAlgorithm gets a reference to the given string and assigns it to the IdTokenSigningAlgorithm field.
func (*OidcSettingsSchemaOneOf1) SetSecret ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) SetSecret(v string)
SetSecret gets a reference to the given string and assigns it to the Secret field.
func (OidcSettingsSchemaOneOf1) ToMap ¶ added in v0.5.0
func (o OidcSettingsSchemaOneOf1) ToMap() (map[string]interface{}, error)
func (*OidcSettingsSchemaOneOf1) UnmarshalJSON ¶ added in v0.5.0
func (o *OidcSettingsSchemaOneOf1) UnmarshalJSON(data []byte) (err error)
type PasswordAuthSchema ¶
type PasswordAuthSchema struct {
// Is username/password authentication disabled
Disabled *bool `json:"disabled,omitempty"`
AdditionalProperties map[string]interface{}
}
PasswordAuthSchema Does the server allow username/password authentication
func NewPasswordAuthSchema ¶
func NewPasswordAuthSchema() *PasswordAuthSchema
NewPasswordAuthSchema instantiates a new PasswordAuthSchema 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 NewPasswordAuthSchemaWithDefaults ¶
func NewPasswordAuthSchemaWithDefaults() *PasswordAuthSchema
NewPasswordAuthSchemaWithDefaults instantiates a new PasswordAuthSchema 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 (*PasswordAuthSchema) GetDisabled ¶ added in v0.5.0
func (o *PasswordAuthSchema) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*PasswordAuthSchema) GetDisabledOk ¶ added in v0.5.0
func (o *PasswordAuthSchema) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PasswordAuthSchema) HasDisabled ¶ added in v0.5.0
func (o *PasswordAuthSchema) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (PasswordAuthSchema) MarshalJSON ¶
func (o PasswordAuthSchema) MarshalJSON() ([]byte, error)
func (*PasswordAuthSchema) SetDisabled ¶ added in v0.5.0
func (o *PasswordAuthSchema) SetDisabled(v bool)
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (PasswordAuthSchema) ToMap ¶
func (o PasswordAuthSchema) ToMap() (map[string]interface{}, error)
func (*PasswordAuthSchema) UnmarshalJSON ¶ added in v0.5.0
func (o *PasswordAuthSchema) UnmarshalJSON(data []byte) (err error)
type PatSchema ¶
type PatSchema struct {
// The PAT's ID. PAT IDs are incrementing integers. In other words, a more recently created PAT will always have a higher ID than an older one.
Id int32 `json:"id"`
// The token used for authentication. It is automatically generated by Unleash when the PAT is created and that is the only time this property is returned.
Secret *string `json:"secret,omitempty"`
// The date and time of when the PAT was created.
CreatedAt time.Time `json:"createdAt"`
// When the PAT was last seen/used to authenticate with. `null` if it has not been used yet.
SeenAt NullableTime `json:"seenAt,omitempty"`
// The ID of the user this PAT belongs to.
UserId *int32 `json:"userId,omitempty"`
// The PAT's description.
Description string `json:"description"`
// The PAT's expiration date.
ExpiresAt time.Time `json:"expiresAt"`
AdditionalProperties map[string]interface{}
}
PatSchema Describes a [personal access token](https://docs.getunleash.io/concepts/api-tokens-and-client-keys#personal-access-tokens), or PAT. PATs are automatically scoped to the authenticated user.
func NewPatSchema ¶
func NewPatSchema(id int32, createdAt time.Time, description string, expiresAt time.Time) *PatSchema
NewPatSchema instantiates a new PatSchema 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 NewPatSchemaWithDefaults ¶
func NewPatSchemaWithDefaults() *PatSchema
NewPatSchemaWithDefaults instantiates a new PatSchema 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 (*PatSchema) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*PatSchema) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*PatSchema) GetDescription ¶ added in v0.3.0
GetDescription returns the Description field value
func (*PatSchema) GetDescriptionOk ¶ added in v0.3.0
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*PatSchema) GetExpiresAt ¶
GetExpiresAt returns the ExpiresAt field value
func (*PatSchema) GetExpiresAtOk ¶
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (*PatSchema) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*PatSchema) GetSecret ¶
GetSecret returns the Secret field value if set, zero value otherwise.
func (*PatSchema) GetSecretOk ¶
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatSchema) GetSeenAt ¶
GetSeenAt returns the SeenAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PatSchema) GetSeenAtOk ¶
GetSeenAtOk returns a tuple with the SeenAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatSchema) GetUserId ¶ added in v0.3.0
GetUserId returns the UserId field value if set, zero value otherwise.
func (*PatSchema) GetUserIdOk ¶ added in v0.3.0
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (PatSchema) MarshalJSON ¶
func (*PatSchema) SetCreatedAt ¶
SetCreatedAt sets field value
func (*PatSchema) SetDescription ¶ added in v0.3.0
SetDescription sets field value
func (*PatSchema) SetExpiresAt ¶
SetExpiresAt sets field value
func (*PatSchema) SetSecret ¶
SetSecret gets a reference to the given string and assigns it to the Secret field.
func (*PatSchema) SetSeenAt ¶
SetSeenAt gets a reference to the given NullableTime and assigns it to the SeenAt field.
func (*PatSchema) SetSeenAtNil ¶
func (o *PatSchema) SetSeenAtNil()
SetSeenAtNil sets the value for SeenAt to be an explicit nil
func (*PatSchema) SetUserId ¶ added in v0.3.0
SetUserId gets a reference to the given int32 and assigns it to the UserId field.
func (*PatSchema) UnmarshalJSON ¶ added in v0.3.0
func (*PatSchema) UnsetSeenAt ¶
func (o *PatSchema) UnsetSeenAt()
UnsetSeenAt ensures that no value is present for SeenAt, not even an explicit nil
type PatsSchema ¶
type PatsSchema struct {
// A collection of PATs.
Pats []PatSchema `json:"pats,omitempty"`
AdditionalProperties map[string]interface{}
}
PatsSchema Contains a collection of [personal access tokens](https://docs.getunleash.io/concepts/api-tokens-and-client-keys#personal-access-tokens), or PATs. PATs are automatically scoped to the authenticated user.
func NewPatsSchema ¶
func NewPatsSchema() *PatsSchema
NewPatsSchema instantiates a new PatsSchema 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 NewPatsSchemaWithDefaults ¶
func NewPatsSchemaWithDefaults() *PatsSchema
NewPatsSchemaWithDefaults instantiates a new PatsSchema 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 (*PatsSchema) GetPats ¶
func (o *PatsSchema) GetPats() []PatSchema
GetPats returns the Pats field value if set, zero value otherwise.
func (*PatsSchema) GetPatsOk ¶
func (o *PatsSchema) GetPatsOk() ([]PatSchema, bool)
GetPatsOk returns a tuple with the Pats field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatsSchema) HasPats ¶
func (o *PatsSchema) HasPats() bool
HasPats returns a boolean if a field has been set.
func (PatsSchema) MarshalJSON ¶
func (o PatsSchema) MarshalJSON() ([]byte, error)
func (*PatsSchema) SetPats ¶
func (o *PatsSchema) SetPats(v []PatSchema)
SetPats gets a reference to the given []PatSchema and assigns it to the Pats field.
func (PatsSchema) ToMap ¶
func (o PatsSchema) ToMap() (map[string]interface{}, error)
func (*PatsSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *PatsSchema) UnmarshalJSON(data []byte) (err error)
type ProjectAccessConfigurationSchema ¶ added in v0.2.8
type ProjectAccessConfigurationSchema struct {
// A list of roles that are available within this project.
Roles []ProjectAccessConfigurationSchemaRolesInner `json:"roles"`
AdditionalProperties map[string]interface{}
}
ProjectAccessConfigurationSchema An object describing roles for a project and what users and groups are part of that role.
func NewProjectAccessConfigurationSchema ¶ added in v0.2.8
func NewProjectAccessConfigurationSchema(roles []ProjectAccessConfigurationSchemaRolesInner) *ProjectAccessConfigurationSchema
NewProjectAccessConfigurationSchema instantiates a new ProjectAccessConfigurationSchema 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 NewProjectAccessConfigurationSchemaWithDefaults ¶ added in v0.2.8
func NewProjectAccessConfigurationSchemaWithDefaults() *ProjectAccessConfigurationSchema
NewProjectAccessConfigurationSchemaWithDefaults instantiates a new ProjectAccessConfigurationSchema 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 (*ProjectAccessConfigurationSchema) GetRoles ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchema) GetRoles() []ProjectAccessConfigurationSchemaRolesInner
GetRoles returns the Roles field value
func (*ProjectAccessConfigurationSchema) GetRolesOk ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchema) GetRolesOk() ([]ProjectAccessConfigurationSchemaRolesInner, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (ProjectAccessConfigurationSchema) MarshalJSON ¶ added in v0.2.8
func (o ProjectAccessConfigurationSchema) MarshalJSON() ([]byte, error)
func (*ProjectAccessConfigurationSchema) SetRoles ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchema) SetRoles(v []ProjectAccessConfigurationSchemaRolesInner)
SetRoles sets field value
func (ProjectAccessConfigurationSchema) ToMap ¶ added in v0.2.8
func (o ProjectAccessConfigurationSchema) ToMap() (map[string]interface{}, error)
func (*ProjectAccessConfigurationSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *ProjectAccessConfigurationSchema) UnmarshalJSON(data []byte) (err error)
type ProjectAccessConfigurationSchemaRolesInner ¶ added in v0.2.8
type ProjectAccessConfigurationSchemaRolesInner struct {
// The id of the role.
Id *int32 `json:"id,omitempty"`
// A list of group ids that will be assigned this role
Groups []int32 `json:"groups,omitempty"`
// A list of user ids that will be assigned this role
Users []int32 `json:"users,omitempty"`
AdditionalProperties map[string]interface{}
}
ProjectAccessConfigurationSchemaRolesInner struct for ProjectAccessConfigurationSchemaRolesInner
func NewProjectAccessConfigurationSchemaRolesInner ¶ added in v0.2.8
func NewProjectAccessConfigurationSchemaRolesInner() *ProjectAccessConfigurationSchemaRolesInner
NewProjectAccessConfigurationSchemaRolesInner instantiates a new ProjectAccessConfigurationSchemaRolesInner 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 NewProjectAccessConfigurationSchemaRolesInnerWithDefaults ¶ added in v0.2.8
func NewProjectAccessConfigurationSchemaRolesInnerWithDefaults() *ProjectAccessConfigurationSchemaRolesInner
NewProjectAccessConfigurationSchemaRolesInnerWithDefaults instantiates a new ProjectAccessConfigurationSchemaRolesInner 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 (*ProjectAccessConfigurationSchemaRolesInner) GetGroups ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) GetGroups() []int32
GetGroups returns the Groups field value if set, zero value otherwise.
func (*ProjectAccessConfigurationSchemaRolesInner) GetGroupsOk ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) GetGroupsOk() ([]int32, bool)
GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectAccessConfigurationSchemaRolesInner) GetId ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*ProjectAccessConfigurationSchemaRolesInner) GetIdOk ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) GetIdOk() (*int32, bool)
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 (*ProjectAccessConfigurationSchemaRolesInner) GetUsers ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) GetUsers() []int32
GetUsers returns the Users field value if set, zero value otherwise.
func (*ProjectAccessConfigurationSchemaRolesInner) GetUsersOk ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) GetUsersOk() ([]int32, bool)
GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectAccessConfigurationSchemaRolesInner) HasGroups ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) HasGroups() bool
HasGroups returns a boolean if a field has been set.
func (*ProjectAccessConfigurationSchemaRolesInner) HasId ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) HasId() bool
HasId returns a boolean if a field has been set.
func (*ProjectAccessConfigurationSchemaRolesInner) HasUsers ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (ProjectAccessConfigurationSchemaRolesInner) MarshalJSON ¶ added in v0.2.8
func (o ProjectAccessConfigurationSchemaRolesInner) MarshalJSON() ([]byte, error)
func (*ProjectAccessConfigurationSchemaRolesInner) SetGroups ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) SetGroups(v []int32)
SetGroups gets a reference to the given []int32 and assigns it to the Groups field.
func (*ProjectAccessConfigurationSchemaRolesInner) SetId ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*ProjectAccessConfigurationSchemaRolesInner) SetUsers ¶ added in v0.2.8
func (o *ProjectAccessConfigurationSchemaRolesInner) SetUsers(v []int32)
SetUsers gets a reference to the given []int32 and assigns it to the Users field.
func (ProjectAccessConfigurationSchemaRolesInner) ToMap ¶ added in v0.2.8
func (o ProjectAccessConfigurationSchemaRolesInner) ToMap() (map[string]interface{}, error)
func (*ProjectAccessConfigurationSchemaRolesInner) UnmarshalJSON ¶ added in v0.3.0
func (o *ProjectAccessConfigurationSchemaRolesInner) UnmarshalJSON(data []byte) (err error)
type ProjectAccessSchema ¶
type ProjectAccessSchema struct {
// A list of groups that have access to this project
Groups []GroupWithProjectRoleSchema `json:"groups"`
// A list of users and their roles within this project
Users []UserWithProjectRoleSchema `json:"users"`
// A list of roles that are available within this project.
Roles []RoleSchema `json:"roles"`
AdditionalProperties map[string]interface{}
}
ProjectAccessSchema An object describing access permissions for a given project.
func NewProjectAccessSchema ¶
func NewProjectAccessSchema(groups []GroupWithProjectRoleSchema, users []UserWithProjectRoleSchema, roles []RoleSchema) *ProjectAccessSchema
NewProjectAccessSchema instantiates a new ProjectAccessSchema 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 NewProjectAccessSchemaWithDefaults ¶
func NewProjectAccessSchemaWithDefaults() *ProjectAccessSchema
NewProjectAccessSchemaWithDefaults instantiates a new ProjectAccessSchema 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 (*ProjectAccessSchema) GetGroups ¶
func (o *ProjectAccessSchema) GetGroups() []GroupWithProjectRoleSchema
GetGroups returns the Groups field value
func (*ProjectAccessSchema) GetGroupsOk ¶
func (o *ProjectAccessSchema) GetGroupsOk() ([]GroupWithProjectRoleSchema, bool)
GetGroupsOk returns a tuple with the Groups field value and a boolean to check if the value has been set.
func (*ProjectAccessSchema) GetRoles ¶
func (o *ProjectAccessSchema) GetRoles() []RoleSchema
GetRoles returns the Roles field value
func (*ProjectAccessSchema) GetRolesOk ¶
func (o *ProjectAccessSchema) GetRolesOk() ([]RoleSchema, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*ProjectAccessSchema) GetUsers ¶
func (o *ProjectAccessSchema) GetUsers() []UserWithProjectRoleSchema
GetUsers returns the Users field value
func (*ProjectAccessSchema) GetUsersOk ¶
func (o *ProjectAccessSchema) GetUsersOk() ([]UserWithProjectRoleSchema, bool)
GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.
func (ProjectAccessSchema) MarshalJSON ¶
func (o ProjectAccessSchema) MarshalJSON() ([]byte, error)
func (*ProjectAccessSchema) SetGroups ¶
func (o *ProjectAccessSchema) SetGroups(v []GroupWithProjectRoleSchema)
SetGroups sets field value
func (*ProjectAccessSchema) SetRoles ¶
func (o *ProjectAccessSchema) SetRoles(v []RoleSchema)
SetRoles sets field value
func (*ProjectAccessSchema) SetUsers ¶
func (o *ProjectAccessSchema) SetUsers(v []UserWithProjectRoleSchema)
SetUsers sets field value
func (ProjectAccessSchema) ToMap ¶
func (o ProjectAccessSchema) ToMap() (map[string]interface{}, error)
func (*ProjectAccessSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *ProjectAccessSchema) UnmarshalJSON(data []byte) (err error)
type ProjectCreatedSchema ¶
type ProjectCreatedSchema struct {
// The project's identifier.
Id string `json:"id" validate:"regexp=[A-Za-z0-9_~.-]+"`
// The project's name.
Name string `json:"name"`
// The project's description.
Description NullableString `json:"description,omitempty"`
// A limit on the number of features allowed in the project. `null` if no limit.
FeatureLimit NullableInt32 `json:"featureLimit,omitempty"`
// A mode of the project affecting what actions are possible in this project
Mode *string `json:"mode,omitempty"`
// A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy
DefaultStickiness *string `json:"defaultStickiness,omitempty"`
// The environments enabled for the project.
Environments []string `json:"environments,omitempty"`
// The list of environments that have change requests enabled.
ChangeRequestEnvironments []ProjectCreatedSchemaChangeRequestEnvironmentsInner `json:"changeRequestEnvironments,omitempty"`
AdditionalProperties map[string]interface{}
}
ProjectCreatedSchema Details about the newly created project.
func NewProjectCreatedSchema ¶
func NewProjectCreatedSchema(id string, name string) *ProjectCreatedSchema
NewProjectCreatedSchema instantiates a new ProjectCreatedSchema 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 NewProjectCreatedSchemaWithDefaults ¶
func NewProjectCreatedSchemaWithDefaults() *ProjectCreatedSchema
NewProjectCreatedSchemaWithDefaults instantiates a new ProjectCreatedSchema 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 (*ProjectCreatedSchema) GetChangeRequestEnvironments ¶ added in v0.3.0
func (o *ProjectCreatedSchema) GetChangeRequestEnvironments() []ProjectCreatedSchemaChangeRequestEnvironmentsInner
GetChangeRequestEnvironments returns the ChangeRequestEnvironments field value if set, zero value otherwise.
func (*ProjectCreatedSchema) GetChangeRequestEnvironmentsOk ¶ added in v0.3.0
func (o *ProjectCreatedSchema) GetChangeRequestEnvironmentsOk() ([]ProjectCreatedSchemaChangeRequestEnvironmentsInner, bool)
GetChangeRequestEnvironmentsOk returns a tuple with the ChangeRequestEnvironments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectCreatedSchema) GetDefaultStickiness ¶
func (o *ProjectCreatedSchema) GetDefaultStickiness() string
GetDefaultStickiness returns the DefaultStickiness field value if set, zero value otherwise.
func (*ProjectCreatedSchema) GetDefaultStickinessOk ¶
func (o *ProjectCreatedSchema) GetDefaultStickinessOk() (*string, bool)
GetDefaultStickinessOk returns a tuple with the DefaultStickiness field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectCreatedSchema) GetDescription ¶
func (o *ProjectCreatedSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProjectCreatedSchema) GetDescriptionOk ¶
func (o *ProjectCreatedSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProjectCreatedSchema) GetEnvironments ¶ added in v0.3.0
func (o *ProjectCreatedSchema) GetEnvironments() []string
GetEnvironments returns the Environments field value if set, zero value otherwise.
func (*ProjectCreatedSchema) GetEnvironmentsOk ¶ added in v0.3.0
func (o *ProjectCreatedSchema) GetEnvironmentsOk() ([]string, bool)
GetEnvironmentsOk returns a tuple with the Environments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectCreatedSchema) GetFeatureLimit ¶
func (o *ProjectCreatedSchema) GetFeatureLimit() int32
GetFeatureLimit returns the FeatureLimit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProjectCreatedSchema) GetFeatureLimitOk ¶
func (o *ProjectCreatedSchema) GetFeatureLimitOk() (*int32, bool)
GetFeatureLimitOk returns a tuple with the FeatureLimit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProjectCreatedSchema) GetId ¶
func (o *ProjectCreatedSchema) GetId() string
GetId returns the Id field value
func (*ProjectCreatedSchema) GetIdOk ¶
func (o *ProjectCreatedSchema) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ProjectCreatedSchema) GetMode ¶
func (o *ProjectCreatedSchema) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*ProjectCreatedSchema) GetModeOk ¶
func (o *ProjectCreatedSchema) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectCreatedSchema) GetName ¶
func (o *ProjectCreatedSchema) GetName() string
GetName returns the Name field value
func (*ProjectCreatedSchema) GetNameOk ¶
func (o *ProjectCreatedSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ProjectCreatedSchema) HasChangeRequestEnvironments ¶ added in v0.3.0
func (o *ProjectCreatedSchema) HasChangeRequestEnvironments() bool
HasChangeRequestEnvironments returns a boolean if a field has been set.
func (*ProjectCreatedSchema) HasDefaultStickiness ¶
func (o *ProjectCreatedSchema) HasDefaultStickiness() bool
HasDefaultStickiness returns a boolean if a field has been set.
func (*ProjectCreatedSchema) HasDescription ¶
func (o *ProjectCreatedSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ProjectCreatedSchema) HasEnvironments ¶ added in v0.3.0
func (o *ProjectCreatedSchema) HasEnvironments() bool
HasEnvironments returns a boolean if a field has been set.
func (*ProjectCreatedSchema) HasFeatureLimit ¶
func (o *ProjectCreatedSchema) HasFeatureLimit() bool
HasFeatureLimit returns a boolean if a field has been set.
func (*ProjectCreatedSchema) HasMode ¶
func (o *ProjectCreatedSchema) HasMode() bool
HasMode returns a boolean if a field has been set.
func (ProjectCreatedSchema) MarshalJSON ¶
func (o ProjectCreatedSchema) MarshalJSON() ([]byte, error)
func (*ProjectCreatedSchema) SetChangeRequestEnvironments ¶ added in v0.3.0
func (o *ProjectCreatedSchema) SetChangeRequestEnvironments(v []ProjectCreatedSchemaChangeRequestEnvironmentsInner)
SetChangeRequestEnvironments gets a reference to the given []ProjectCreatedSchemaChangeRequestEnvironmentsInner and assigns it to the ChangeRequestEnvironments field.
func (*ProjectCreatedSchema) SetDefaultStickiness ¶
func (o *ProjectCreatedSchema) SetDefaultStickiness(v string)
SetDefaultStickiness gets a reference to the given string and assigns it to the DefaultStickiness field.
func (*ProjectCreatedSchema) SetDescription ¶
func (o *ProjectCreatedSchema) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*ProjectCreatedSchema) SetDescriptionNil ¶
func (o *ProjectCreatedSchema) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ProjectCreatedSchema) SetEnvironments ¶ added in v0.3.0
func (o *ProjectCreatedSchema) SetEnvironments(v []string)
SetEnvironments gets a reference to the given []string and assigns it to the Environments field.
func (*ProjectCreatedSchema) SetFeatureLimit ¶
func (o *ProjectCreatedSchema) SetFeatureLimit(v int32)
SetFeatureLimit gets a reference to the given NullableInt32 and assigns it to the FeatureLimit field.
func (*ProjectCreatedSchema) SetFeatureLimitNil ¶
func (o *ProjectCreatedSchema) SetFeatureLimitNil()
SetFeatureLimitNil sets the value for FeatureLimit to be an explicit nil
func (*ProjectCreatedSchema) SetId ¶
func (o *ProjectCreatedSchema) SetId(v string)
SetId sets field value
func (*ProjectCreatedSchema) SetMode ¶
func (o *ProjectCreatedSchema) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*ProjectCreatedSchema) SetName ¶
func (o *ProjectCreatedSchema) SetName(v string)
SetName sets field value
func (ProjectCreatedSchema) ToMap ¶
func (o ProjectCreatedSchema) ToMap() (map[string]interface{}, error)
func (*ProjectCreatedSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *ProjectCreatedSchema) UnmarshalJSON(data []byte) (err error)
func (*ProjectCreatedSchema) UnsetDescription ¶
func (o *ProjectCreatedSchema) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*ProjectCreatedSchema) UnsetFeatureLimit ¶
func (o *ProjectCreatedSchema) UnsetFeatureLimit()
UnsetFeatureLimit ensures that no value is present for FeatureLimit, not even an explicit nil
type ProjectCreatedSchemaChangeRequestEnvironmentsInner ¶ added in v0.3.0
type ProjectCreatedSchemaChangeRequestEnvironmentsInner struct {
// The name of the environment this change request configuration applies to.
Name string `json:"name"`
// The number of approvals required for a change request to be fully approved and ready to applied in this environment. If no value is provided, it will be set to the default number, which is 1. The value must be greater than or equal to 1.
RequiredApprovals int32 `json:"requiredApprovals"`
AdditionalProperties map[string]interface{}
}
ProjectCreatedSchemaChangeRequestEnvironmentsInner struct for ProjectCreatedSchemaChangeRequestEnvironmentsInner
func NewProjectCreatedSchemaChangeRequestEnvironmentsInner ¶ added in v0.3.0
func NewProjectCreatedSchemaChangeRequestEnvironmentsInner(name string, requiredApprovals int32) *ProjectCreatedSchemaChangeRequestEnvironmentsInner
NewProjectCreatedSchemaChangeRequestEnvironmentsInner instantiates a new ProjectCreatedSchemaChangeRequestEnvironmentsInner 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 NewProjectCreatedSchemaChangeRequestEnvironmentsInnerWithDefaults ¶ added in v0.3.0
func NewProjectCreatedSchemaChangeRequestEnvironmentsInnerWithDefaults() *ProjectCreatedSchemaChangeRequestEnvironmentsInner
NewProjectCreatedSchemaChangeRequestEnvironmentsInnerWithDefaults instantiates a new ProjectCreatedSchemaChangeRequestEnvironmentsInner 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 (*ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetName ¶ added in v0.3.0
func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetName() string
GetName returns the Name field value
func (*ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetNameOk ¶ added in v0.3.0
func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetRequiredApprovals ¶ added in v0.3.0
func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetRequiredApprovals() int32
GetRequiredApprovals returns the RequiredApprovals field value
func (*ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetRequiredApprovalsOk ¶ added in v0.3.0
func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetRequiredApprovalsOk() (*int32, bool)
GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value and a boolean to check if the value has been set.
func (ProjectCreatedSchemaChangeRequestEnvironmentsInner) MarshalJSON ¶ added in v0.3.0
func (o ProjectCreatedSchemaChangeRequestEnvironmentsInner) MarshalJSON() ([]byte, error)
func (*ProjectCreatedSchemaChangeRequestEnvironmentsInner) SetName ¶ added in v0.3.0
func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) SetName(v string)
SetName sets field value
func (*ProjectCreatedSchemaChangeRequestEnvironmentsInner) SetRequiredApprovals ¶ added in v0.3.0
func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) SetRequiredApprovals(v int32)
SetRequiredApprovals sets field value
func (ProjectCreatedSchemaChangeRequestEnvironmentsInner) ToMap ¶ added in v0.3.0
func (o ProjectCreatedSchemaChangeRequestEnvironmentsInner) ToMap() (map[string]interface{}, error)
func (*ProjectCreatedSchemaChangeRequestEnvironmentsInner) UnmarshalJSON ¶ added in v0.3.0
func (o *ProjectCreatedSchemaChangeRequestEnvironmentsInner) UnmarshalJSON(data []byte) (err error)
type ProjectEnvironmentSchema ¶
type ProjectEnvironmentSchema struct {
// The environment to add to the project
Environment string `json:"environment"`
// Whether change requests should be enabled or for this environment on the project or not
ChangeRequestsEnabled *bool `json:"changeRequestsEnabled,omitempty"`
DefaultStrategy *CreateFeatureStrategySchema `json:"defaultStrategy,omitempty"`
AdditionalProperties map[string]interface{}
}
ProjectEnvironmentSchema Add an environment to a project, optionally also sets if change requests are enabled for this environment on the project
func NewProjectEnvironmentSchema ¶
func NewProjectEnvironmentSchema(environment string) *ProjectEnvironmentSchema
NewProjectEnvironmentSchema instantiates a new ProjectEnvironmentSchema 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 NewProjectEnvironmentSchemaWithDefaults ¶
func NewProjectEnvironmentSchemaWithDefaults() *ProjectEnvironmentSchema
NewProjectEnvironmentSchemaWithDefaults instantiates a new ProjectEnvironmentSchema 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 (*ProjectEnvironmentSchema) GetChangeRequestsEnabled ¶
func (o *ProjectEnvironmentSchema) GetChangeRequestsEnabled() bool
GetChangeRequestsEnabled returns the ChangeRequestsEnabled field value if set, zero value otherwise.
func (*ProjectEnvironmentSchema) GetChangeRequestsEnabledOk ¶
func (o *ProjectEnvironmentSchema) GetChangeRequestsEnabledOk() (*bool, bool)
GetChangeRequestsEnabledOk returns a tuple with the ChangeRequestsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectEnvironmentSchema) GetDefaultStrategy ¶
func (o *ProjectEnvironmentSchema) GetDefaultStrategy() CreateFeatureStrategySchema
GetDefaultStrategy returns the DefaultStrategy field value if set, zero value otherwise.
func (*ProjectEnvironmentSchema) GetDefaultStrategyOk ¶
func (o *ProjectEnvironmentSchema) GetDefaultStrategyOk() (*CreateFeatureStrategySchema, bool)
GetDefaultStrategyOk returns a tuple with the DefaultStrategy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectEnvironmentSchema) GetEnvironment ¶
func (o *ProjectEnvironmentSchema) GetEnvironment() string
GetEnvironment returns the Environment field value
func (*ProjectEnvironmentSchema) GetEnvironmentOk ¶
func (o *ProjectEnvironmentSchema) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*ProjectEnvironmentSchema) HasChangeRequestsEnabled ¶
func (o *ProjectEnvironmentSchema) HasChangeRequestsEnabled() bool
HasChangeRequestsEnabled returns a boolean if a field has been set.
func (*ProjectEnvironmentSchema) HasDefaultStrategy ¶
func (o *ProjectEnvironmentSchema) HasDefaultStrategy() bool
HasDefaultStrategy returns a boolean if a field has been set.
func (ProjectEnvironmentSchema) MarshalJSON ¶
func (o ProjectEnvironmentSchema) MarshalJSON() ([]byte, error)
func (*ProjectEnvironmentSchema) SetChangeRequestsEnabled ¶
func (o *ProjectEnvironmentSchema) SetChangeRequestsEnabled(v bool)
SetChangeRequestsEnabled gets a reference to the given bool and assigns it to the ChangeRequestsEnabled field.
func (*ProjectEnvironmentSchema) SetDefaultStrategy ¶
func (o *ProjectEnvironmentSchema) SetDefaultStrategy(v CreateFeatureStrategySchema)
SetDefaultStrategy gets a reference to the given CreateFeatureStrategySchema and assigns it to the DefaultStrategy field.
func (*ProjectEnvironmentSchema) SetEnvironment ¶
func (o *ProjectEnvironmentSchema) SetEnvironment(v string)
SetEnvironment sets field value
func (ProjectEnvironmentSchema) ToMap ¶
func (o ProjectEnvironmentSchema) ToMap() (map[string]interface{}, error)
func (*ProjectEnvironmentSchema) UnmarshalJSON ¶ added in v0.5.4
func (o *ProjectEnvironmentSchema) UnmarshalJSON(data []byte) (err error)
type ProjectLinkTemplateSchema ¶ added in v0.6.0
type ProjectLinkTemplateSchema struct {
// The title of the link.
Title NullableString `json:"title,omitempty"`
// The URL to use as a template. Can contain {{project}} or {{feature}} as placeholders.
UrlTemplate string `json:"urlTemplate"`
AdditionalProperties map[string]interface{}
}
ProjectLinkTemplateSchema A template for a link that can be automatically added to new feature flags.
func NewProjectLinkTemplateSchema ¶ added in v0.6.0
func NewProjectLinkTemplateSchema(urlTemplate string) *ProjectLinkTemplateSchema
NewProjectLinkTemplateSchema instantiates a new ProjectLinkTemplateSchema 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 NewProjectLinkTemplateSchemaWithDefaults ¶ added in v0.6.0
func NewProjectLinkTemplateSchemaWithDefaults() *ProjectLinkTemplateSchema
NewProjectLinkTemplateSchemaWithDefaults instantiates a new ProjectLinkTemplateSchema 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 (*ProjectLinkTemplateSchema) GetTitle ¶ added in v0.6.0
func (o *ProjectLinkTemplateSchema) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProjectLinkTemplateSchema) GetTitleOk ¶ added in v0.6.0
func (o *ProjectLinkTemplateSchema) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProjectLinkTemplateSchema) GetUrlTemplate ¶ added in v0.6.0
func (o *ProjectLinkTemplateSchema) GetUrlTemplate() string
GetUrlTemplate returns the UrlTemplate field value
func (*ProjectLinkTemplateSchema) GetUrlTemplateOk ¶ added in v0.6.0
func (o *ProjectLinkTemplateSchema) GetUrlTemplateOk() (*string, bool)
GetUrlTemplateOk returns a tuple with the UrlTemplate field value and a boolean to check if the value has been set.
func (*ProjectLinkTemplateSchema) HasTitle ¶ added in v0.6.0
func (o *ProjectLinkTemplateSchema) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (ProjectLinkTemplateSchema) MarshalJSON ¶ added in v0.6.0
func (o ProjectLinkTemplateSchema) MarshalJSON() ([]byte, error)
func (*ProjectLinkTemplateSchema) SetTitle ¶ added in v0.6.0
func (o *ProjectLinkTemplateSchema) SetTitle(v string)
SetTitle gets a reference to the given NullableString and assigns it to the Title field.
func (*ProjectLinkTemplateSchema) SetTitleNil ¶ added in v0.6.0
func (o *ProjectLinkTemplateSchema) SetTitleNil()
SetTitleNil sets the value for Title to be an explicit nil
func (*ProjectLinkTemplateSchema) SetUrlTemplate ¶ added in v0.6.0
func (o *ProjectLinkTemplateSchema) SetUrlTemplate(v string)
SetUrlTemplate sets field value
func (ProjectLinkTemplateSchema) ToMap ¶ added in v0.6.0
func (o ProjectLinkTemplateSchema) ToMap() (map[string]interface{}, error)
func (*ProjectLinkTemplateSchema) UnmarshalJSON ¶ added in v0.6.0
func (o *ProjectLinkTemplateSchema) UnmarshalJSON(data []byte) (err error)
func (*ProjectLinkTemplateSchema) UnsetTitle ¶ added in v0.6.0
func (o *ProjectLinkTemplateSchema) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
type ProjectSchema ¶
type ProjectSchema struct {
// The id of this project
Id string `json:"id"`
// The name of this project
Name string `json:"name"`
// Additional information about the project
// Deprecated
Description NullableString `json:"description,omitempty"`
// The project's [collaboration mode](https://docs.getunleash.io/concepts/project-collaboration-mode). Determines whether non-project members can submit change requests or not.
Mode *string `json:"mode,omitempty"`
AdditionalProperties map[string]interface{}
}
ProjectSchema A definition of the project used for projects listing purposes
func NewProjectSchema ¶
func NewProjectSchema(id string, name string) *ProjectSchema
NewProjectSchema instantiates a new ProjectSchema 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 NewProjectSchemaWithDefaults ¶
func NewProjectSchemaWithDefaults() *ProjectSchema
NewProjectSchemaWithDefaults instantiates a new ProjectSchema 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 (*ProjectSchema) GetDescription ¶
func (o *ProjectSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*ProjectSchema) GetDescriptionOk ¶
func (o *ProjectSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*ProjectSchema) GetId ¶
func (o *ProjectSchema) GetId() string
GetId returns the Id field value
func (*ProjectSchema) GetIdOk ¶
func (o *ProjectSchema) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ProjectSchema) GetMode ¶
func (o *ProjectSchema) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*ProjectSchema) GetModeOk ¶
func (o *ProjectSchema) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectSchema) GetName ¶
func (o *ProjectSchema) GetName() string
GetName returns the Name field value
func (*ProjectSchema) GetNameOk ¶
func (o *ProjectSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ProjectSchema) HasDescription ¶
func (o *ProjectSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ProjectSchema) HasMode ¶
func (o *ProjectSchema) HasMode() bool
HasMode returns a boolean if a field has been set.
func (ProjectSchema) MarshalJSON ¶
func (o ProjectSchema) MarshalJSON() ([]byte, error)
func (*ProjectSchema) SetDescription ¶
func (o *ProjectSchema) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field. Deprecated
func (*ProjectSchema) SetDescriptionNil ¶
func (o *ProjectSchema) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ProjectSchema) SetMode ¶
func (o *ProjectSchema) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (ProjectSchema) ToMap ¶
func (o ProjectSchema) ToMap() (map[string]interface{}, error)
func (*ProjectSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *ProjectSchema) UnmarshalJSON(data []byte) (err error)
func (*ProjectSchema) UnsetDescription ¶
func (o *ProjectSchema) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
type ProjectsAPIService ¶ added in v0.2.3
type ProjectsAPIService service
ProjectsAPIService ProjectsAPI service
func (*ProjectsAPIService) AddEnvironmentToProject ¶ added in v0.2.3
func (a *ProjectsAPIService) AddEnvironmentToProject(ctx context.Context, projectId string) ApiAddEnvironmentToProjectRequest
AddEnvironmentToProject Add an environment to a project.
This endpoint adds the provided environment to the specified project, with optional support for enabling and disabling change requests for the environment and project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiAddEnvironmentToProjectRequest
func (*ProjectsAPIService) AddEnvironmentToProjectExecute ¶ added in v0.2.3
func (a *ProjectsAPIService) AddEnvironmentToProjectExecute(r ApiAddEnvironmentToProjectRequest) (*http.Response, error)
Execute executes the request
func (*ProjectsAPIService) CreateProject ¶ added in v0.2.3
func (a *ProjectsAPIService) CreateProject(ctx context.Context) ApiCreateProjectRequest
CreateProject Create project
**Enterprise feature**
Create a new [Unleash project](https://docs.getunleash.io/concepts/projects).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateProjectRequest
func (*ProjectsAPIService) CreateProjectExecute ¶ added in v0.2.3
func (a *ProjectsAPIService) CreateProjectExecute(r ApiCreateProjectRequest) (*ProjectCreatedSchema, *http.Response, error)
Execute executes the request
@return ProjectCreatedSchema
func (*ProjectsAPIService) DeleteProject ¶ added in v0.2.3
func (a *ProjectsAPIService) DeleteProject(ctx context.Context, projectId string) ApiDeleteProjectRequest
DeleteProject Delete project
**Enterprise feature**
Permanently delete the provided project. All feature flags in the project must be archived before you can delete it. This permanently deletes the project and its archived flags. It can not be undone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiDeleteProjectRequest
func (*ProjectsAPIService) DeleteProjectExecute ¶ added in v0.2.3
func (a *ProjectsAPIService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)
Execute executes the request
func (*ProjectsAPIService) GetProjectAccess ¶ added in v0.2.3
func (a *ProjectsAPIService) GetProjectAccess(ctx context.Context, projectId string) ApiGetProjectAccessRequest
GetProjectAccess Get users and groups in project
**Enterprise feature**
Get all groups, users and their roles, and available roles for the given project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiGetProjectAccessRequest
func (*ProjectsAPIService) GetProjectAccessExecute ¶ added in v0.2.3
func (a *ProjectsAPIService) GetProjectAccessExecute(r ApiGetProjectAccessRequest) (*ProjectAccessSchema, *http.Response, error)
Execute executes the request
@return ProjectAccessSchema
func (*ProjectsAPIService) GetProjects ¶ added in v0.2.3
func (a *ProjectsAPIService) GetProjects(ctx context.Context) ApiGetProjectsRequest
GetProjects Get a list of all projects.
This endpoint returns an list of all the projects in the Unleash instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetProjectsRequest
func (*ProjectsAPIService) GetProjectsExecute ¶ added in v0.2.3
func (a *ProjectsAPIService) GetProjectsExecute(r ApiGetProjectsRequest) (*ProjectsSchema, *http.Response, error)
Execute executes the request
@return ProjectsSchema
func (*ProjectsAPIService) RemoveEnvironmentFromProject ¶ added in v0.2.3
func (a *ProjectsAPIService) RemoveEnvironmentFromProject(ctx context.Context, projectId string, environment string) ApiRemoveEnvironmentFromProjectRequest
RemoveEnvironmentFromProject Remove an environment from a project.
This endpoint removes the specified environment from the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param environment @return ApiRemoveEnvironmentFromProjectRequest
func (*ProjectsAPIService) RemoveEnvironmentFromProjectExecute ¶ added in v0.2.3
func (a *ProjectsAPIService) RemoveEnvironmentFromProjectExecute(r ApiRemoveEnvironmentFromProjectRequest) (*http.Response, error)
Execute executes the request
func (*ProjectsAPIService) SetProjectAccess ¶ added in v0.2.8
func (a *ProjectsAPIService) SetProjectAccess(ctx context.Context, projectId string) ApiSetProjectAccessRequest
SetProjectAccess Set users and groups to roles in the current project
**Enterprise feature**
Sets all groups, users and their roles for the given project, overriding any existing configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiSetProjectAccessRequest
func (*ProjectsAPIService) SetProjectAccessExecute ¶ added in v0.2.8
func (a *ProjectsAPIService) SetProjectAccessExecute(r ApiSetProjectAccessRequest) (*http.Response, error)
Execute executes the request
func (*ProjectsAPIService) UpdateProject ¶ added in v0.2.3
func (a *ProjectsAPIService) UpdateProject(ctx context.Context, projectId string) ApiUpdateProjectRequest
UpdateProject Update project
**Enterprise feature**
Update a project with new configuration. Any fields not provided are ignored.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiUpdateProjectRequest
func (*ProjectsAPIService) UpdateProjectEnterpriseSettings ¶ added in v0.5.1
func (a *ProjectsAPIService) UpdateProjectEnterpriseSettings(ctx context.Context, projectId string) ApiUpdateProjectEnterpriseSettingsRequest
UpdateProjectEnterpriseSettings Update project enterprise settings
**Enterprise feature**
Update project enterprise settings with new values. Any fields not provided are ignored.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiUpdateProjectEnterpriseSettingsRequest
func (*ProjectsAPIService) UpdateProjectEnterpriseSettingsExecute ¶ added in v0.5.1
func (a *ProjectsAPIService) UpdateProjectEnterpriseSettingsExecute(r ApiUpdateProjectEnterpriseSettingsRequest) (*http.Response, error)
Execute executes the request
func (*ProjectsAPIService) UpdateProjectExecute ¶ added in v0.2.3
func (a *ProjectsAPIService) UpdateProjectExecute(r ApiUpdateProjectRequest) (*http.Response, error)
Execute executes the request
type ProjectsSchema ¶
type ProjectsSchema struct {
// The schema version used to represent the project data.
Version int32 `json:"version"`
// A list of projects in the Unleash instance
Projects []ProjectSchema `json:"projects"`
AdditionalProperties map[string]interface{}
}
ProjectsSchema An overview of all the projects in the Unleash instance
func NewProjectsSchema ¶
func NewProjectsSchema(version int32, projects []ProjectSchema) *ProjectsSchema
NewProjectsSchema instantiates a new ProjectsSchema 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 NewProjectsSchemaWithDefaults ¶
func NewProjectsSchemaWithDefaults() *ProjectsSchema
NewProjectsSchemaWithDefaults instantiates a new ProjectsSchema 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 (*ProjectsSchema) GetProjects ¶
func (o *ProjectsSchema) GetProjects() []ProjectSchema
GetProjects returns the Projects field value
func (*ProjectsSchema) GetProjectsOk ¶
func (o *ProjectsSchema) GetProjectsOk() ([]ProjectSchema, bool)
GetProjectsOk returns a tuple with the Projects field value and a boolean to check if the value has been set.
func (*ProjectsSchema) GetVersion ¶
func (o *ProjectsSchema) GetVersion() int32
GetVersion returns the Version field value
func (*ProjectsSchema) GetVersionOk ¶
func (o *ProjectsSchema) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (ProjectsSchema) MarshalJSON ¶
func (o ProjectsSchema) MarshalJSON() ([]byte, error)
func (*ProjectsSchema) SetProjects ¶
func (o *ProjectsSchema) SetProjects(v []ProjectSchema)
SetProjects sets field value
func (*ProjectsSchema) SetVersion ¶
func (o *ProjectsSchema) SetVersion(v int32)
SetVersion sets field value
func (ProjectsSchema) ToMap ¶
func (o ProjectsSchema) ToMap() (map[string]interface{}, error)
func (*ProjectsSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *ProjectsSchema) UnmarshalJSON(data []byte) (err error)
type RoleSchema ¶
type RoleSchema struct {
// The role id
Id int32 `json:"id"`
// A role can either be a global root role (applies to all projects) or a project role
Type string `json:"type"`
// The name of the role
Name string `json:"name"`
// A more detailed description of the role and what use it's intended for
Description *string `json:"description,omitempty"`
// What project the role belongs to
Project NullableString `json:"project,omitempty"`
AdditionalProperties map[string]interface{}
}
RoleSchema A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform
func NewRoleSchema ¶
func NewRoleSchema(id int32, type_ string, name string) *RoleSchema
NewRoleSchema instantiates a new RoleSchema 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 NewRoleSchemaWithDefaults ¶
func NewRoleSchemaWithDefaults() *RoleSchema
NewRoleSchemaWithDefaults instantiates a new RoleSchema 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 (*RoleSchema) GetDescription ¶
func (o *RoleSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*RoleSchema) GetDescriptionOk ¶
func (o *RoleSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleSchema) GetIdOk ¶
func (o *RoleSchema) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RoleSchema) GetName ¶
func (o *RoleSchema) GetName() string
GetName returns the Name field value
func (*RoleSchema) GetNameOk ¶
func (o *RoleSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RoleSchema) GetProject ¶ added in v0.3.0
func (o *RoleSchema) GetProject() string
GetProject returns the Project field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RoleSchema) GetProjectOk ¶ added in v0.3.0
func (o *RoleSchema) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RoleSchema) GetType ¶
func (o *RoleSchema) GetType() string
GetType returns the Type field value
func (*RoleSchema) GetTypeOk ¶
func (o *RoleSchema) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RoleSchema) HasDescription ¶
func (o *RoleSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*RoleSchema) HasProject ¶ added in v0.3.0
func (o *RoleSchema) HasProject() bool
HasProject returns a boolean if a field has been set.
func (RoleSchema) MarshalJSON ¶
func (o RoleSchema) MarshalJSON() ([]byte, error)
func (*RoleSchema) SetDescription ¶
func (o *RoleSchema) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*RoleSchema) SetProject ¶ added in v0.3.0
func (o *RoleSchema) SetProject(v string)
SetProject gets a reference to the given NullableString and assigns it to the Project field.
func (*RoleSchema) SetProjectNil ¶ added in v0.3.0
func (o *RoleSchema) SetProjectNil()
SetProjectNil sets the value for Project to be an explicit nil
func (RoleSchema) ToMap ¶
func (o RoleSchema) ToMap() (map[string]interface{}, error)
func (*RoleSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *RoleSchema) UnmarshalJSON(data []byte) (err error)
func (*RoleSchema) UnsetProject ¶ added in v0.3.0
func (o *RoleSchema) UnsetProject()
UnsetProject ensures that no value is present for Project, not even an explicit nil
type RoleWithPermissionsSchema ¶
type RoleWithPermissionsSchema struct {
// The role id
Id float32 `json:"id"`
// A role can either be a global `root` role, or a `project` role or a `custom` project role or a custom global `root-custom` role
Type string `json:"type"`
// The name of the role
Name string `json:"name"`
// A more detailed description of the role and what use it's intended for
Description *string `json:"description,omitempty"`
// A list of permissions assigned to this role
Permissions []AdminPermissionSchema `json:"permissions"`
AdditionalProperties map[string]interface{}
}
RoleWithPermissionsSchema A read model for the role and permissions to allow Unleash to decide what actions a role holder is allowed to perform
func NewRoleWithPermissionsSchema ¶
func NewRoleWithPermissionsSchema(id float32, type_ string, name string, permissions []AdminPermissionSchema) *RoleWithPermissionsSchema
NewRoleWithPermissionsSchema instantiates a new RoleWithPermissionsSchema 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 NewRoleWithPermissionsSchemaWithDefaults ¶
func NewRoleWithPermissionsSchemaWithDefaults() *RoleWithPermissionsSchema
NewRoleWithPermissionsSchemaWithDefaults instantiates a new RoleWithPermissionsSchema 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 (*RoleWithPermissionsSchema) GetDescription ¶
func (o *RoleWithPermissionsSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*RoleWithPermissionsSchema) GetDescriptionOk ¶
func (o *RoleWithPermissionsSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleWithPermissionsSchema) GetId ¶
func (o *RoleWithPermissionsSchema) GetId() float32
GetId returns the Id field value
func (*RoleWithPermissionsSchema) GetIdOk ¶
func (o *RoleWithPermissionsSchema) GetIdOk() (*float32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RoleWithPermissionsSchema) GetName ¶
func (o *RoleWithPermissionsSchema) GetName() string
GetName returns the Name field value
func (*RoleWithPermissionsSchema) GetNameOk ¶
func (o *RoleWithPermissionsSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RoleWithPermissionsSchema) GetPermissions ¶
func (o *RoleWithPermissionsSchema) GetPermissions() []AdminPermissionSchema
GetPermissions returns the Permissions field value
func (*RoleWithPermissionsSchema) GetPermissionsOk ¶
func (o *RoleWithPermissionsSchema) GetPermissionsOk() ([]AdminPermissionSchema, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*RoleWithPermissionsSchema) GetType ¶
func (o *RoleWithPermissionsSchema) GetType() string
GetType returns the Type field value
func (*RoleWithPermissionsSchema) GetTypeOk ¶
func (o *RoleWithPermissionsSchema) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RoleWithPermissionsSchema) HasDescription ¶
func (o *RoleWithPermissionsSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (RoleWithPermissionsSchema) MarshalJSON ¶
func (o RoleWithPermissionsSchema) MarshalJSON() ([]byte, error)
func (*RoleWithPermissionsSchema) SetDescription ¶
func (o *RoleWithPermissionsSchema) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*RoleWithPermissionsSchema) SetId ¶
func (o *RoleWithPermissionsSchema) SetId(v float32)
SetId sets field value
func (*RoleWithPermissionsSchema) SetName ¶
func (o *RoleWithPermissionsSchema) SetName(v string)
SetName sets field value
func (*RoleWithPermissionsSchema) SetPermissions ¶
func (o *RoleWithPermissionsSchema) SetPermissions(v []AdminPermissionSchema)
SetPermissions sets field value
func (*RoleWithPermissionsSchema) SetType ¶
func (o *RoleWithPermissionsSchema) SetType(v string)
SetType sets field value
func (RoleWithPermissionsSchema) ToMap ¶
func (o RoleWithPermissionsSchema) ToMap() (map[string]interface{}, error)
func (*RoleWithPermissionsSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *RoleWithPermissionsSchema) UnmarshalJSON(data []byte) (err error)
type RoleWithVersionSchema ¶
type RoleWithVersionSchema struct {
// The version of this schema
Version int32 `json:"version"`
Roles RoleSchema `json:"roles"`
AdditionalProperties map[string]interface{}
}
RoleWithVersionSchema A single user role received after creation or update of a role
func NewRoleWithVersionSchema ¶
func NewRoleWithVersionSchema(version int32, roles RoleSchema) *RoleWithVersionSchema
NewRoleWithVersionSchema instantiates a new RoleWithVersionSchema 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 NewRoleWithVersionSchemaWithDefaults ¶
func NewRoleWithVersionSchemaWithDefaults() *RoleWithVersionSchema
NewRoleWithVersionSchemaWithDefaults instantiates a new RoleWithVersionSchema 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 (*RoleWithVersionSchema) GetRoles ¶
func (o *RoleWithVersionSchema) GetRoles() RoleSchema
GetRoles returns the Roles field value
func (*RoleWithVersionSchema) GetRolesOk ¶
func (o *RoleWithVersionSchema) GetRolesOk() (*RoleSchema, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*RoleWithVersionSchema) GetVersion ¶
func (o *RoleWithVersionSchema) GetVersion() int32
GetVersion returns the Version field value
func (*RoleWithVersionSchema) GetVersionOk ¶
func (o *RoleWithVersionSchema) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (RoleWithVersionSchema) MarshalJSON ¶
func (o RoleWithVersionSchema) MarshalJSON() ([]byte, error)
func (*RoleWithVersionSchema) SetRoles ¶
func (o *RoleWithVersionSchema) SetRoles(v RoleSchema)
SetRoles sets field value
func (*RoleWithVersionSchema) SetVersion ¶
func (o *RoleWithVersionSchema) SetVersion(v int32)
SetVersion sets field value
func (RoleWithVersionSchema) ToMap ¶
func (o RoleWithVersionSchema) ToMap() (map[string]interface{}, error)
func (*RoleWithVersionSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *RoleWithVersionSchema) UnmarshalJSON(data []byte) (err error)
type RolesWithVersionSchema ¶
type RolesWithVersionSchema struct {
// The version of this schema
Version int32 `json:"version"`
// A list of roles
Roles []RoleSchema `json:"roles"`
AdditionalProperties map[string]interface{}
}
RolesWithVersionSchema A collection of user roles
func NewRolesWithVersionSchema ¶
func NewRolesWithVersionSchema(version int32, roles []RoleSchema) *RolesWithVersionSchema
NewRolesWithVersionSchema instantiates a new RolesWithVersionSchema 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 NewRolesWithVersionSchemaWithDefaults ¶
func NewRolesWithVersionSchemaWithDefaults() *RolesWithVersionSchema
NewRolesWithVersionSchemaWithDefaults instantiates a new RolesWithVersionSchema 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 (*RolesWithVersionSchema) GetRoles ¶
func (o *RolesWithVersionSchema) GetRoles() []RoleSchema
GetRoles returns the Roles field value
func (*RolesWithVersionSchema) GetRolesOk ¶
func (o *RolesWithVersionSchema) GetRolesOk() ([]RoleSchema, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*RolesWithVersionSchema) GetVersion ¶
func (o *RolesWithVersionSchema) GetVersion() int32
GetVersion returns the Version field value
func (*RolesWithVersionSchema) GetVersionOk ¶
func (o *RolesWithVersionSchema) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (RolesWithVersionSchema) MarshalJSON ¶
func (o RolesWithVersionSchema) MarshalJSON() ([]byte, error)
func (*RolesWithVersionSchema) SetRoles ¶
func (o *RolesWithVersionSchema) SetRoles(v []RoleSchema)
SetRoles sets field value
func (*RolesWithVersionSchema) SetVersion ¶
func (o *RolesWithVersionSchema) SetVersion(v int32)
SetVersion sets field value
func (RolesWithVersionSchema) ToMap ¶
func (o RolesWithVersionSchema) ToMap() (map[string]interface{}, error)
func (*RolesWithVersionSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *RolesWithVersionSchema) UnmarshalJSON(data []byte) (err error)
type SamlSettingsResponseSchema ¶ added in v0.5.0
type SamlSettingsResponseSchema struct {
// Whether to enable or disable SAML 2.0 for this instance
Enabled *bool `json:"enabled,omitempty"`
// The SAML 2.0 entity ID
EntityId *string `json:"entityId,omitempty"`
// Which URL to use for Single Sign On
SignOnUrl *string `json:"signOnUrl,omitempty"`
// The X509 certificate used to validate requests
Certificate *string `json:"certificate,omitempty"`
// Which URL to use for Single Sign Out
SignOutUrl *string `json:"signOutUrl,omitempty"`
// Signing certificate for sign out requests
SpCertificate *string `json:"spCertificate,omitempty"`
// Should Unleash create users based on the emails coming back in the authentication reply from the SAML server
AutoCreate *bool `json:"autoCreate,omitempty"`
// A comma separated list of email domains that Unleash will auto create user accounts for.
EmailDomains *string `json:"emailDomains,omitempty"`
// Assign this root role to auto created users
DefaultRootRole *string `json:"defaultRootRole,omitempty"`
// Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`.
DefaultRootRoleId *float32 `json:"defaultRootRoleId,omitempty"`
// Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/guides/how-to-set-up-group-sso-sync)
EnableGroupSyncing *bool `json:"enableGroupSyncing,omitempty"`
// Specifies the path in the SAML token response from which to read the groups the user belongs to.
GroupJsonPath *string `json:"groupJsonPath,omitempty"`
AdditionalProperties map[string]interface{}
}
SamlSettingsResponseSchema Response for SAML settings
func NewSamlSettingsResponseSchema ¶ added in v0.5.0
func NewSamlSettingsResponseSchema() *SamlSettingsResponseSchema
NewSamlSettingsResponseSchema instantiates a new SamlSettingsResponseSchema 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 NewSamlSettingsResponseSchemaWithDefaults ¶ added in v0.5.0
func NewSamlSettingsResponseSchemaWithDefaults() *SamlSettingsResponseSchema
NewSamlSettingsResponseSchemaWithDefaults instantiates a new SamlSettingsResponseSchema 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 (*SamlSettingsResponseSchema) GetAutoCreate ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetAutoCreate() bool
GetAutoCreate returns the AutoCreate field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetAutoCreateOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetAutoCreateOk() (*bool, bool)
GetAutoCreateOk returns a tuple with the AutoCreate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetCertificate ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetCertificate() string
GetCertificate returns the Certificate field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetCertificateOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetCertificateOk() (*string, bool)
GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetDefaultRootRole ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetDefaultRootRole() string
GetDefaultRootRole returns the DefaultRootRole field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetDefaultRootRoleId ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetDefaultRootRoleId() float32
GetDefaultRootRoleId returns the DefaultRootRoleId field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetDefaultRootRoleIdOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetDefaultRootRoleIdOk() (*float32, bool)
GetDefaultRootRoleIdOk returns a tuple with the DefaultRootRoleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetDefaultRootRoleOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetDefaultRootRoleOk() (*string, bool)
GetDefaultRootRoleOk returns a tuple with the DefaultRootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetEmailDomains ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetEmailDomains() string
GetEmailDomains returns the EmailDomains field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetEmailDomainsOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetEmailDomainsOk() (*string, bool)
GetEmailDomainsOk returns a tuple with the EmailDomains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetEnableGroupSyncing ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetEnableGroupSyncing() bool
GetEnableGroupSyncing returns the EnableGroupSyncing field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetEnableGroupSyncingOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetEnableGroupSyncingOk() (*bool, bool)
GetEnableGroupSyncingOk returns a tuple with the EnableGroupSyncing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetEnabled ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetEnabledOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetEntityId ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetEntityId() string
GetEntityId returns the EntityId field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetEntityIdOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetEntityIdOk() (*string, bool)
GetEntityIdOk returns a tuple with the EntityId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetGroupJsonPath ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetGroupJsonPath() string
GetGroupJsonPath returns the GroupJsonPath field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetGroupJsonPathOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetGroupJsonPathOk() (*string, bool)
GetGroupJsonPathOk returns a tuple with the GroupJsonPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetSignOnUrl ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetSignOnUrl() string
GetSignOnUrl returns the SignOnUrl field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetSignOnUrlOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetSignOnUrlOk() (*string, bool)
GetSignOnUrlOk returns a tuple with the SignOnUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetSignOutUrl ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetSignOutUrl() string
GetSignOutUrl returns the SignOutUrl field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetSignOutUrlOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetSignOutUrlOk() (*string, bool)
GetSignOutUrlOk returns a tuple with the SignOutUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) GetSpCertificate ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetSpCertificate() string
GetSpCertificate returns the SpCertificate field value if set, zero value otherwise.
func (*SamlSettingsResponseSchema) GetSpCertificateOk ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) GetSpCertificateOk() (*string, bool)
GetSpCertificateOk returns a tuple with the SpCertificate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsResponseSchema) HasAutoCreate ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasAutoCreate() bool
HasAutoCreate returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasCertificate ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasCertificate() bool
HasCertificate returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasDefaultRootRole ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasDefaultRootRole() bool
HasDefaultRootRole returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasDefaultRootRoleId ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasDefaultRootRoleId() bool
HasDefaultRootRoleId returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasEmailDomains ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasEmailDomains() bool
HasEmailDomains returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasEnableGroupSyncing ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasEnableGroupSyncing() bool
HasEnableGroupSyncing returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasEnabled ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasEntityId ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasEntityId() bool
HasEntityId returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasGroupJsonPath ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasGroupJsonPath() bool
HasGroupJsonPath returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasSignOnUrl ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasSignOnUrl() bool
HasSignOnUrl returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasSignOutUrl ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasSignOutUrl() bool
HasSignOutUrl returns a boolean if a field has been set.
func (*SamlSettingsResponseSchema) HasSpCertificate ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) HasSpCertificate() bool
HasSpCertificate returns a boolean if a field has been set.
func (SamlSettingsResponseSchema) MarshalJSON ¶ added in v0.5.0
func (o SamlSettingsResponseSchema) MarshalJSON() ([]byte, error)
func (*SamlSettingsResponseSchema) SetAutoCreate ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetAutoCreate(v bool)
SetAutoCreate gets a reference to the given bool and assigns it to the AutoCreate field.
func (*SamlSettingsResponseSchema) SetCertificate ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetCertificate(v string)
SetCertificate gets a reference to the given string and assigns it to the Certificate field.
func (*SamlSettingsResponseSchema) SetDefaultRootRole ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetDefaultRootRole(v string)
SetDefaultRootRole gets a reference to the given string and assigns it to the DefaultRootRole field.
func (*SamlSettingsResponseSchema) SetDefaultRootRoleId ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetDefaultRootRoleId(v float32)
SetDefaultRootRoleId gets a reference to the given float32 and assigns it to the DefaultRootRoleId field.
func (*SamlSettingsResponseSchema) SetEmailDomains ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetEmailDomains(v string)
SetEmailDomains gets a reference to the given string and assigns it to the EmailDomains field.
func (*SamlSettingsResponseSchema) SetEnableGroupSyncing ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetEnableGroupSyncing(v bool)
SetEnableGroupSyncing gets a reference to the given bool and assigns it to the EnableGroupSyncing field.
func (*SamlSettingsResponseSchema) SetEnabled ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*SamlSettingsResponseSchema) SetEntityId ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetEntityId(v string)
SetEntityId gets a reference to the given string and assigns it to the EntityId field.
func (*SamlSettingsResponseSchema) SetGroupJsonPath ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetGroupJsonPath(v string)
SetGroupJsonPath gets a reference to the given string and assigns it to the GroupJsonPath field.
func (*SamlSettingsResponseSchema) SetSignOnUrl ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetSignOnUrl(v string)
SetSignOnUrl gets a reference to the given string and assigns it to the SignOnUrl field.
func (*SamlSettingsResponseSchema) SetSignOutUrl ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetSignOutUrl(v string)
SetSignOutUrl gets a reference to the given string and assigns it to the SignOutUrl field.
func (*SamlSettingsResponseSchema) SetSpCertificate ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) SetSpCertificate(v string)
SetSpCertificate gets a reference to the given string and assigns it to the SpCertificate field.
func (SamlSettingsResponseSchema) ToMap ¶ added in v0.5.0
func (o SamlSettingsResponseSchema) ToMap() (map[string]interface{}, error)
func (*SamlSettingsResponseSchema) UnmarshalJSON ¶ added in v0.5.0
func (o *SamlSettingsResponseSchema) UnmarshalJSON(data []byte) (err error)
type SamlSettingsSchema ¶
type SamlSettingsSchema struct {
SamlSettingsSchemaOneOf *SamlSettingsSchemaOneOf
SamlSettingsSchemaOneOf1 *SamlSettingsSchemaOneOf1
}
SamlSettingsSchema - Settings used to authenticate via SAML
func SamlSettingsSchemaOneOf1AsSamlSettingsSchema ¶ added in v0.5.0
func SamlSettingsSchemaOneOf1AsSamlSettingsSchema(v *SamlSettingsSchemaOneOf1) SamlSettingsSchema
SamlSettingsSchemaOneOf1AsSamlSettingsSchema is a convenience function that returns SamlSettingsSchemaOneOf1 wrapped in SamlSettingsSchema
func SamlSettingsSchemaOneOfAsSamlSettingsSchema ¶ added in v0.5.0
func SamlSettingsSchemaOneOfAsSamlSettingsSchema(v *SamlSettingsSchemaOneOf) SamlSettingsSchema
SamlSettingsSchemaOneOfAsSamlSettingsSchema is a convenience function that returns SamlSettingsSchemaOneOf wrapped in SamlSettingsSchema
func (*SamlSettingsSchema) GetActualInstance ¶ added in v0.5.0
func (obj *SamlSettingsSchema) GetActualInstance() interface{}
Get the actual instance
func (SamlSettingsSchema) MarshalJSON ¶
func (src SamlSettingsSchema) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SamlSettingsSchema) UnmarshalJSON ¶ added in v0.5.0
func (dst *SamlSettingsSchema) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SamlSettingsSchemaOneOf ¶ added in v0.5.0
type SamlSettingsSchemaOneOf struct {
// Whether to enable or disable SAML 2.0 for this instance
Enabled *bool `json:"enabled,omitempty"`
// The SAML 2.0 entity ID
EntityId string `json:"entityId"`
// Which URL to use for Single Sign On
SignOnUrl string `json:"signOnUrl"`
// The X509 certificate used to validate requests
Certificate string `json:"certificate"`
// Which URL to use for Single Sign Out
SignOutUrl *string `json:"signOutUrl,omitempty"`
// Signing certificate for sign out requests
SpCertificate *string `json:"spCertificate,omitempty"`
// Should Unleash create users based on the emails coming back in the authentication reply from the SAML server
AutoCreate *bool `json:"autoCreate,omitempty"`
// A comma separated list of email domains that Unleash will auto create user accounts for.
EmailDomains *string `json:"emailDomains,omitempty"`
// Assign this root role to auto created users
DefaultRootRole *string `json:"defaultRootRole,omitempty"`
// Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`.
DefaultRootRoleId *float32 `json:"defaultRootRoleId,omitempty"`
// Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/guides/how-to-set-up-group-sso-sync)
EnableGroupSyncing *bool `json:"enableGroupSyncing,omitempty"`
// Specifies the path in the SAML token response from which to read the groups the user belongs to.
GroupJsonPath *string `json:"groupJsonPath,omitempty"`
AdditionalProperties map[string]interface{}
}
SamlSettingsSchemaOneOf struct for SamlSettingsSchemaOneOf
func NewSamlSettingsSchemaOneOf ¶ added in v0.5.0
func NewSamlSettingsSchemaOneOf(entityId string, signOnUrl string, certificate string) *SamlSettingsSchemaOneOf
NewSamlSettingsSchemaOneOf instantiates a new SamlSettingsSchemaOneOf 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 NewSamlSettingsSchemaOneOfWithDefaults ¶ added in v0.5.0
func NewSamlSettingsSchemaOneOfWithDefaults() *SamlSettingsSchemaOneOf
NewSamlSettingsSchemaOneOfWithDefaults instantiates a new SamlSettingsSchemaOneOf 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 (*SamlSettingsSchemaOneOf) GetAutoCreate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetAutoCreate() bool
GetAutoCreate returns the AutoCreate field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf) GetAutoCreateOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetAutoCreateOk() (*bool, bool)
GetAutoCreateOk returns a tuple with the AutoCreate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetCertificate() string
GetCertificate returns the Certificate field value
func (*SamlSettingsSchemaOneOf) GetCertificateOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetCertificateOk() (*string, bool)
GetCertificateOk returns a tuple with the Certificate field value and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetDefaultRootRole ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetDefaultRootRole() string
GetDefaultRootRole returns the DefaultRootRole field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf) GetDefaultRootRoleId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetDefaultRootRoleId() float32
GetDefaultRootRoleId returns the DefaultRootRoleId field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf) GetDefaultRootRoleIdOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetDefaultRootRoleIdOk() (*float32, bool)
GetDefaultRootRoleIdOk returns a tuple with the DefaultRootRoleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetDefaultRootRoleOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetDefaultRootRoleOk() (*string, bool)
GetDefaultRootRoleOk returns a tuple with the DefaultRootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetEmailDomains ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetEmailDomains() string
GetEmailDomains returns the EmailDomains field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf) GetEmailDomainsOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetEmailDomainsOk() (*string, bool)
GetEmailDomainsOk returns a tuple with the EmailDomains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetEnableGroupSyncing ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetEnableGroupSyncing() bool
GetEnableGroupSyncing returns the EnableGroupSyncing field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf) GetEnableGroupSyncingOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetEnableGroupSyncingOk() (*bool, bool)
GetEnableGroupSyncingOk returns a tuple with the EnableGroupSyncing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetEnabled ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf) GetEnabledOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetEntityId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetEntityId() string
GetEntityId returns the EntityId field value
func (*SamlSettingsSchemaOneOf) GetEntityIdOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetEntityIdOk() (*string, bool)
GetEntityIdOk returns a tuple with the EntityId field value and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetGroupJsonPath ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetGroupJsonPath() string
GetGroupJsonPath returns the GroupJsonPath field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf) GetGroupJsonPathOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetGroupJsonPathOk() (*string, bool)
GetGroupJsonPathOk returns a tuple with the GroupJsonPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetSignOnUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetSignOnUrl() string
GetSignOnUrl returns the SignOnUrl field value
func (*SamlSettingsSchemaOneOf) GetSignOnUrlOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetSignOnUrlOk() (*string, bool)
GetSignOnUrlOk returns a tuple with the SignOnUrl field value and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetSignOutUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetSignOutUrl() string
GetSignOutUrl returns the SignOutUrl field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf) GetSignOutUrlOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetSignOutUrlOk() (*string, bool)
GetSignOutUrlOk returns a tuple with the SignOutUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) GetSpCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetSpCertificate() string
GetSpCertificate returns the SpCertificate field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf) GetSpCertificateOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) GetSpCertificateOk() (*string, bool)
GetSpCertificateOk returns a tuple with the SpCertificate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf) HasAutoCreate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) HasAutoCreate() bool
HasAutoCreate returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf) HasDefaultRootRole ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) HasDefaultRootRole() bool
HasDefaultRootRole returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf) HasDefaultRootRoleId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) HasDefaultRootRoleId() bool
HasDefaultRootRoleId returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf) HasEmailDomains ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) HasEmailDomains() bool
HasEmailDomains returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf) HasEnableGroupSyncing ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) HasEnableGroupSyncing() bool
HasEnableGroupSyncing returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf) HasEnabled ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf) HasGroupJsonPath ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) HasGroupJsonPath() bool
HasGroupJsonPath returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf) HasSignOutUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) HasSignOutUrl() bool
HasSignOutUrl returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf) HasSpCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) HasSpCertificate() bool
HasSpCertificate returns a boolean if a field has been set.
func (SamlSettingsSchemaOneOf) MarshalJSON ¶ added in v0.5.0
func (o SamlSettingsSchemaOneOf) MarshalJSON() ([]byte, error)
func (*SamlSettingsSchemaOneOf) SetAutoCreate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetAutoCreate(v bool)
SetAutoCreate gets a reference to the given bool and assigns it to the AutoCreate field.
func (*SamlSettingsSchemaOneOf) SetCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetCertificate(v string)
SetCertificate sets field value
func (*SamlSettingsSchemaOneOf) SetDefaultRootRole ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetDefaultRootRole(v string)
SetDefaultRootRole gets a reference to the given string and assigns it to the DefaultRootRole field.
func (*SamlSettingsSchemaOneOf) SetDefaultRootRoleId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetDefaultRootRoleId(v float32)
SetDefaultRootRoleId gets a reference to the given float32 and assigns it to the DefaultRootRoleId field.
func (*SamlSettingsSchemaOneOf) SetEmailDomains ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetEmailDomains(v string)
SetEmailDomains gets a reference to the given string and assigns it to the EmailDomains field.
func (*SamlSettingsSchemaOneOf) SetEnableGroupSyncing ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetEnableGroupSyncing(v bool)
SetEnableGroupSyncing gets a reference to the given bool and assigns it to the EnableGroupSyncing field.
func (*SamlSettingsSchemaOneOf) SetEnabled ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*SamlSettingsSchemaOneOf) SetEntityId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetEntityId(v string)
SetEntityId sets field value
func (*SamlSettingsSchemaOneOf) SetGroupJsonPath ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetGroupJsonPath(v string)
SetGroupJsonPath gets a reference to the given string and assigns it to the GroupJsonPath field.
func (*SamlSettingsSchemaOneOf) SetSignOnUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetSignOnUrl(v string)
SetSignOnUrl sets field value
func (*SamlSettingsSchemaOneOf) SetSignOutUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetSignOutUrl(v string)
SetSignOutUrl gets a reference to the given string and assigns it to the SignOutUrl field.
func (*SamlSettingsSchemaOneOf) SetSpCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) SetSpCertificate(v string)
SetSpCertificate gets a reference to the given string and assigns it to the SpCertificate field.
func (SamlSettingsSchemaOneOf) ToMap ¶ added in v0.5.0
func (o SamlSettingsSchemaOneOf) ToMap() (map[string]interface{}, error)
func (*SamlSettingsSchemaOneOf) UnmarshalJSON ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf) UnmarshalJSON(data []byte) (err error)
type SamlSettingsSchemaOneOf1 ¶ added in v0.5.0
type SamlSettingsSchemaOneOf1 struct {
// Whether to enable or disable SAML 2.0 for this instance
Enabled *bool `json:"enabled,omitempty"`
// The SAML 2.0 entity ID
EntityId *string `json:"entityId,omitempty"`
// Which URL to use for Single Sign On
SignOnUrl *string `json:"signOnUrl,omitempty"`
// The X509 certificate used to validate requests
Certificate *string `json:"certificate,omitempty"`
// Which URL to use for Single Sign Out
SignOutUrl *string `json:"signOutUrl,omitempty"`
// Signing certificate for sign out requests
SpCertificate *string `json:"spCertificate,omitempty"`
// Should Unleash create users based on the emails coming back in the authentication reply from the SAML server
AutoCreate *bool `json:"autoCreate,omitempty"`
// A comma separated list of email domains that Unleash will auto create user accounts for.
EmailDomains *string `json:"emailDomains,omitempty"`
// Assign this root role to auto created users
DefaultRootRole *string `json:"defaultRootRole,omitempty"`
// Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`.
DefaultRootRoleId *float32 `json:"defaultRootRoleId,omitempty"`
// Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/guides/how-to-set-up-group-sso-sync)
EnableGroupSyncing *bool `json:"enableGroupSyncing,omitempty"`
// Specifies the path in the SAML token response from which to read the groups the user belongs to.
GroupJsonPath *string `json:"groupJsonPath,omitempty"`
AdditionalProperties map[string]interface{}
}
SamlSettingsSchemaOneOf1 struct for SamlSettingsSchemaOneOf1
func NewSamlSettingsSchemaOneOf1 ¶ added in v0.5.0
func NewSamlSettingsSchemaOneOf1() *SamlSettingsSchemaOneOf1
NewSamlSettingsSchemaOneOf1 instantiates a new SamlSettingsSchemaOneOf1 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 NewSamlSettingsSchemaOneOf1WithDefaults ¶ added in v0.5.0
func NewSamlSettingsSchemaOneOf1WithDefaults() *SamlSettingsSchemaOneOf1
NewSamlSettingsSchemaOneOf1WithDefaults instantiates a new SamlSettingsSchemaOneOf1 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 (*SamlSettingsSchemaOneOf1) GetAutoCreate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetAutoCreate() bool
GetAutoCreate returns the AutoCreate field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetAutoCreateOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetAutoCreateOk() (*bool, bool)
GetAutoCreateOk returns a tuple with the AutoCreate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetCertificate() string
GetCertificate returns the Certificate field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetCertificateOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetCertificateOk() (*string, bool)
GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetDefaultRootRole ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetDefaultRootRole() string
GetDefaultRootRole returns the DefaultRootRole field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetDefaultRootRoleId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetDefaultRootRoleId() float32
GetDefaultRootRoleId returns the DefaultRootRoleId field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetDefaultRootRoleIdOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetDefaultRootRoleIdOk() (*float32, bool)
GetDefaultRootRoleIdOk returns a tuple with the DefaultRootRoleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetDefaultRootRoleOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetDefaultRootRoleOk() (*string, bool)
GetDefaultRootRoleOk returns a tuple with the DefaultRootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetEmailDomains ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetEmailDomains() string
GetEmailDomains returns the EmailDomains field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetEmailDomainsOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetEmailDomainsOk() (*string, bool)
GetEmailDomainsOk returns a tuple with the EmailDomains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetEnableGroupSyncing ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetEnableGroupSyncing() bool
GetEnableGroupSyncing returns the EnableGroupSyncing field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetEnableGroupSyncingOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetEnableGroupSyncingOk() (*bool, bool)
GetEnableGroupSyncingOk returns a tuple with the EnableGroupSyncing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetEnabled ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetEnabledOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetEntityId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetEntityId() string
GetEntityId returns the EntityId field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetEntityIdOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetEntityIdOk() (*string, bool)
GetEntityIdOk returns a tuple with the EntityId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetGroupJsonPath ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetGroupJsonPath() string
GetGroupJsonPath returns the GroupJsonPath field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetGroupJsonPathOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetGroupJsonPathOk() (*string, bool)
GetGroupJsonPathOk returns a tuple with the GroupJsonPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetSignOnUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetSignOnUrl() string
GetSignOnUrl returns the SignOnUrl field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetSignOnUrlOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetSignOnUrlOk() (*string, bool)
GetSignOnUrlOk returns a tuple with the SignOnUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetSignOutUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetSignOutUrl() string
GetSignOutUrl returns the SignOutUrl field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetSignOutUrlOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetSignOutUrlOk() (*string, bool)
GetSignOutUrlOk returns a tuple with the SignOutUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) GetSpCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetSpCertificate() string
GetSpCertificate returns the SpCertificate field value if set, zero value otherwise.
func (*SamlSettingsSchemaOneOf1) GetSpCertificateOk ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) GetSpCertificateOk() (*string, bool)
GetSpCertificateOk returns a tuple with the SpCertificate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SamlSettingsSchemaOneOf1) HasAutoCreate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasAutoCreate() bool
HasAutoCreate returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasCertificate() bool
HasCertificate returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasDefaultRootRole ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasDefaultRootRole() bool
HasDefaultRootRole returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasDefaultRootRoleId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasDefaultRootRoleId() bool
HasDefaultRootRoleId returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasEmailDomains ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasEmailDomains() bool
HasEmailDomains returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasEnableGroupSyncing ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasEnableGroupSyncing() bool
HasEnableGroupSyncing returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasEnabled ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasEntityId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasEntityId() bool
HasEntityId returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasGroupJsonPath ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasGroupJsonPath() bool
HasGroupJsonPath returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasSignOnUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasSignOnUrl() bool
HasSignOnUrl returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasSignOutUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasSignOutUrl() bool
HasSignOutUrl returns a boolean if a field has been set.
func (*SamlSettingsSchemaOneOf1) HasSpCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) HasSpCertificate() bool
HasSpCertificate returns a boolean if a field has been set.
func (SamlSettingsSchemaOneOf1) MarshalJSON ¶ added in v0.5.0
func (o SamlSettingsSchemaOneOf1) MarshalJSON() ([]byte, error)
func (*SamlSettingsSchemaOneOf1) SetAutoCreate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetAutoCreate(v bool)
SetAutoCreate gets a reference to the given bool and assigns it to the AutoCreate field.
func (*SamlSettingsSchemaOneOf1) SetCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetCertificate(v string)
SetCertificate gets a reference to the given string and assigns it to the Certificate field.
func (*SamlSettingsSchemaOneOf1) SetDefaultRootRole ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetDefaultRootRole(v string)
SetDefaultRootRole gets a reference to the given string and assigns it to the DefaultRootRole field.
func (*SamlSettingsSchemaOneOf1) SetDefaultRootRoleId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetDefaultRootRoleId(v float32)
SetDefaultRootRoleId gets a reference to the given float32 and assigns it to the DefaultRootRoleId field.
func (*SamlSettingsSchemaOneOf1) SetEmailDomains ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetEmailDomains(v string)
SetEmailDomains gets a reference to the given string and assigns it to the EmailDomains field.
func (*SamlSettingsSchemaOneOf1) SetEnableGroupSyncing ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetEnableGroupSyncing(v bool)
SetEnableGroupSyncing gets a reference to the given bool and assigns it to the EnableGroupSyncing field.
func (*SamlSettingsSchemaOneOf1) SetEnabled ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*SamlSettingsSchemaOneOf1) SetEntityId ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetEntityId(v string)
SetEntityId gets a reference to the given string and assigns it to the EntityId field.
func (*SamlSettingsSchemaOneOf1) SetGroupJsonPath ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetGroupJsonPath(v string)
SetGroupJsonPath gets a reference to the given string and assigns it to the GroupJsonPath field.
func (*SamlSettingsSchemaOneOf1) SetSignOnUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetSignOnUrl(v string)
SetSignOnUrl gets a reference to the given string and assigns it to the SignOnUrl field.
func (*SamlSettingsSchemaOneOf1) SetSignOutUrl ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetSignOutUrl(v string)
SetSignOutUrl gets a reference to the given string and assigns it to the SignOutUrl field.
func (*SamlSettingsSchemaOneOf1) SetSpCertificate ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) SetSpCertificate(v string)
SetSpCertificate gets a reference to the given string and assigns it to the SpCertificate field.
func (SamlSettingsSchemaOneOf1) ToMap ¶ added in v0.5.0
func (o SamlSettingsSchemaOneOf1) ToMap() (map[string]interface{}, error)
func (*SamlSettingsSchemaOneOf1) UnmarshalJSON ¶ added in v0.5.0
func (o *SamlSettingsSchemaOneOf1) UnmarshalJSON(data []byte) (err error)
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ServiceAccountSchema ¶
type ServiceAccountSchema struct {
// The service account id
Id float32 `json:"id"`
// Deprecated: for internal use only, should not be exposed through the API
// Deprecated
IsAPI *bool `json:"isAPI,omitempty"`
// The name of the service account
Name *string `json:"name,omitempty"`
// Deprecated: service accounts don't have emails associated with them
// Deprecated
Email *string `json:"email,omitempty"`
// The service account username
Username *string `json:"username,omitempty"`
// The service account image url
ImageUrl *string `json:"imageUrl,omitempty"`
// Deprecated: service accounts cannot be invited via an invitation link
// Deprecated
InviteLink *string `json:"inviteLink,omitempty"`
// Deprecated: service accounts cannot log in to Unleash
// Deprecated
LoginAttempts *float32 `json:"loginAttempts,omitempty"`
// Deprecated: internal use only
// Deprecated
EmailSent *bool `json:"emailSent,omitempty"`
// The root role id associated with the service account
RootRole *int32 `json:"rootRole,omitempty"`
// Deprecated. This property is always `null`. To find out when a service account was last seen, check its `tokens` list and refer to each token's `lastSeen` property instead.
// Deprecated
SeenAt NullableTime `json:"seenAt,omitempty"`
// The service account creation date
CreatedAt *time.Time `json:"createdAt,omitempty"`
// The list of tokens associated with the service account
Tokens []PatSchema `json:"tokens,omitempty"`
AdditionalProperties map[string]interface{}
}
ServiceAccountSchema Represents a [service account](https://docs.getunleash.io/concepts/service-accounts). Service accounts are used to let systems interact with the Unleash API.
func NewServiceAccountSchema ¶
func NewServiceAccountSchema(id float32) *ServiceAccountSchema
NewServiceAccountSchema instantiates a new ServiceAccountSchema 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 NewServiceAccountSchemaWithDefaults ¶
func NewServiceAccountSchemaWithDefaults() *ServiceAccountSchema
NewServiceAccountSchemaWithDefaults instantiates a new ServiceAccountSchema 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 (*ServiceAccountSchema) GetCreatedAt ¶
func (o *ServiceAccountSchema) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ServiceAccountSchema) GetCreatedAtOk ¶
func (o *ServiceAccountSchema) GetCreatedAtOk() (*time.Time, bool)
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 (*ServiceAccountSchema) GetEmail ¶
func (o *ServiceAccountSchema) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise. Deprecated
func (*ServiceAccountSchema) GetEmailOk ¶
func (o *ServiceAccountSchema) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*ServiceAccountSchema) GetEmailSent ¶
func (o *ServiceAccountSchema) GetEmailSent() bool
GetEmailSent returns the EmailSent field value if set, zero value otherwise. Deprecated
func (*ServiceAccountSchema) GetEmailSentOk ¶
func (o *ServiceAccountSchema) GetEmailSentOk() (*bool, bool)
GetEmailSentOk returns a tuple with the EmailSent field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*ServiceAccountSchema) GetId ¶
func (o *ServiceAccountSchema) GetId() float32
GetId returns the Id field value
func (*ServiceAccountSchema) GetIdOk ¶
func (o *ServiceAccountSchema) GetIdOk() (*float32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ServiceAccountSchema) GetImageUrl ¶
func (o *ServiceAccountSchema) GetImageUrl() string
GetImageUrl returns the ImageUrl field value if set, zero value otherwise.
func (*ServiceAccountSchema) GetImageUrlOk ¶
func (o *ServiceAccountSchema) GetImageUrlOk() (*string, bool)
GetImageUrlOk returns a tuple with the ImageUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceAccountSchema) GetInviteLink ¶
func (o *ServiceAccountSchema) GetInviteLink() string
GetInviteLink returns the InviteLink field value if set, zero value otherwise. Deprecated
func (*ServiceAccountSchema) GetInviteLinkOk ¶
func (o *ServiceAccountSchema) GetInviteLinkOk() (*string, bool)
GetInviteLinkOk returns a tuple with the InviteLink field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*ServiceAccountSchema) GetIsAPI ¶
func (o *ServiceAccountSchema) GetIsAPI() bool
GetIsAPI returns the IsAPI field value if set, zero value otherwise. Deprecated
func (*ServiceAccountSchema) GetIsAPIOk ¶
func (o *ServiceAccountSchema) GetIsAPIOk() (*bool, bool)
GetIsAPIOk returns a tuple with the IsAPI field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*ServiceAccountSchema) GetLoginAttempts ¶
func (o *ServiceAccountSchema) GetLoginAttempts() float32
GetLoginAttempts returns the LoginAttempts field value if set, zero value otherwise. Deprecated
func (*ServiceAccountSchema) GetLoginAttemptsOk ¶
func (o *ServiceAccountSchema) GetLoginAttemptsOk() (*float32, bool)
GetLoginAttemptsOk returns a tuple with the LoginAttempts field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*ServiceAccountSchema) GetName ¶
func (o *ServiceAccountSchema) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ServiceAccountSchema) GetNameOk ¶
func (o *ServiceAccountSchema) GetNameOk() (*string, bool)
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 (*ServiceAccountSchema) GetRootRole ¶
func (o *ServiceAccountSchema) GetRootRole() int32
GetRootRole returns the RootRole field value if set, zero value otherwise.
func (*ServiceAccountSchema) GetRootRoleOk ¶
func (o *ServiceAccountSchema) GetRootRoleOk() (*int32, bool)
GetRootRoleOk returns a tuple with the RootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceAccountSchema) GetSeenAt ¶
func (o *ServiceAccountSchema) GetSeenAt() time.Time
GetSeenAt returns the SeenAt field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*ServiceAccountSchema) GetSeenAtOk ¶
func (o *ServiceAccountSchema) GetSeenAtOk() (*time.Time, bool)
GetSeenAtOk returns a tuple with the SeenAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*ServiceAccountSchema) GetTokens ¶
func (o *ServiceAccountSchema) GetTokens() []PatSchema
GetTokens returns the Tokens field value if set, zero value otherwise.
func (*ServiceAccountSchema) GetTokensOk ¶
func (o *ServiceAccountSchema) GetTokensOk() ([]PatSchema, bool)
GetTokensOk returns a tuple with the Tokens field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceAccountSchema) GetUsername ¶
func (o *ServiceAccountSchema) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*ServiceAccountSchema) GetUsernameOk ¶
func (o *ServiceAccountSchema) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceAccountSchema) HasCreatedAt ¶
func (o *ServiceAccountSchema) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasEmail ¶
func (o *ServiceAccountSchema) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasEmailSent ¶
func (o *ServiceAccountSchema) HasEmailSent() bool
HasEmailSent returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasImageUrl ¶
func (o *ServiceAccountSchema) HasImageUrl() bool
HasImageUrl returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasInviteLink ¶
func (o *ServiceAccountSchema) HasInviteLink() bool
HasInviteLink returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasIsAPI ¶
func (o *ServiceAccountSchema) HasIsAPI() bool
HasIsAPI returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasLoginAttempts ¶
func (o *ServiceAccountSchema) HasLoginAttempts() bool
HasLoginAttempts returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasName ¶
func (o *ServiceAccountSchema) HasName() bool
HasName returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasRootRole ¶
func (o *ServiceAccountSchema) HasRootRole() bool
HasRootRole returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasSeenAt ¶
func (o *ServiceAccountSchema) HasSeenAt() bool
HasSeenAt returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasTokens ¶
func (o *ServiceAccountSchema) HasTokens() bool
HasTokens returns a boolean if a field has been set.
func (*ServiceAccountSchema) HasUsername ¶
func (o *ServiceAccountSchema) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (ServiceAccountSchema) MarshalJSON ¶
func (o ServiceAccountSchema) MarshalJSON() ([]byte, error)
func (*ServiceAccountSchema) SetCreatedAt ¶
func (o *ServiceAccountSchema) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ServiceAccountSchema) SetEmail ¶
func (o *ServiceAccountSchema) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field. Deprecated
func (*ServiceAccountSchema) SetEmailSent ¶
func (o *ServiceAccountSchema) SetEmailSent(v bool)
SetEmailSent gets a reference to the given bool and assigns it to the EmailSent field. Deprecated
func (*ServiceAccountSchema) SetId ¶
func (o *ServiceAccountSchema) SetId(v float32)
SetId sets field value
func (*ServiceAccountSchema) SetImageUrl ¶
func (o *ServiceAccountSchema) SetImageUrl(v string)
SetImageUrl gets a reference to the given string and assigns it to the ImageUrl field.
func (*ServiceAccountSchema) SetInviteLink ¶
func (o *ServiceAccountSchema) SetInviteLink(v string)
SetInviteLink gets a reference to the given string and assigns it to the InviteLink field. Deprecated
func (*ServiceAccountSchema) SetIsAPI ¶
func (o *ServiceAccountSchema) SetIsAPI(v bool)
SetIsAPI gets a reference to the given bool and assigns it to the IsAPI field. Deprecated
func (*ServiceAccountSchema) SetLoginAttempts ¶
func (o *ServiceAccountSchema) SetLoginAttempts(v float32)
SetLoginAttempts gets a reference to the given float32 and assigns it to the LoginAttempts field. Deprecated
func (*ServiceAccountSchema) SetName ¶
func (o *ServiceAccountSchema) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ServiceAccountSchema) SetRootRole ¶
func (o *ServiceAccountSchema) SetRootRole(v int32)
SetRootRole gets a reference to the given int32 and assigns it to the RootRole field.
func (*ServiceAccountSchema) SetSeenAt ¶
func (o *ServiceAccountSchema) SetSeenAt(v time.Time)
SetSeenAt gets a reference to the given NullableTime and assigns it to the SeenAt field. Deprecated
func (*ServiceAccountSchema) SetSeenAtNil ¶
func (o *ServiceAccountSchema) SetSeenAtNil()
SetSeenAtNil sets the value for SeenAt to be an explicit nil
func (*ServiceAccountSchema) SetTokens ¶
func (o *ServiceAccountSchema) SetTokens(v []PatSchema)
SetTokens gets a reference to the given []PatSchema and assigns it to the Tokens field.
func (*ServiceAccountSchema) SetUsername ¶
func (o *ServiceAccountSchema) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (ServiceAccountSchema) ToMap ¶
func (o ServiceAccountSchema) ToMap() (map[string]interface{}, error)
func (*ServiceAccountSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *ServiceAccountSchema) UnmarshalJSON(data []byte) (err error)
func (*ServiceAccountSchema) UnsetSeenAt ¶
func (o *ServiceAccountSchema) UnsetSeenAt()
UnsetSeenAt ensures that no value is present for SeenAt, not even an explicit nil
type ServiceAccountsAPIService ¶ added in v0.2.3
type ServiceAccountsAPIService service
ServiceAccountsAPIService ServiceAccountsAPI service
func (*ServiceAccountsAPIService) CreateServiceAccount ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) CreateServiceAccount(ctx context.Context) ApiCreateServiceAccountRequest
CreateServiceAccount Create a service account.
**Enterprise feature**
Creates a new service account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateServiceAccountRequest
func (*ServiceAccountsAPIService) CreateServiceAccountExecute ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) CreateServiceAccountExecute(r ApiCreateServiceAccountRequest) (*ServiceAccountSchema, *http.Response, error)
Execute executes the request
@return ServiceAccountSchema
func (*ServiceAccountsAPIService) CreateServiceAccountToken ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) CreateServiceAccountToken(ctx context.Context, id string) ApiCreateServiceAccountTokenRequest
CreateServiceAccountToken Create a token for a service account.
**Enterprise feature**
Creates a new token for the service account identified by the id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiCreateServiceAccountTokenRequest
func (*ServiceAccountsAPIService) CreateServiceAccountTokenExecute ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) CreateServiceAccountTokenExecute(r ApiCreateServiceAccountTokenRequest) (*PatSchema, *http.Response, error)
Execute executes the request
@return PatSchema
func (*ServiceAccountsAPIService) DeleteServiceAccount ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) DeleteServiceAccount(ctx context.Context, id string) ApiDeleteServiceAccountRequest
DeleteServiceAccount Delete a service account.
**Enterprise feature**
Deletes an existing service account identified by its id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteServiceAccountRequest
func (*ServiceAccountsAPIService) DeleteServiceAccountExecute ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) (*http.Response, error)
Execute executes the request
func (*ServiceAccountsAPIService) DeleteServiceAccountToken ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) DeleteServiceAccountToken(ctx context.Context, id string, tokenId string) ApiDeleteServiceAccountTokenRequest
DeleteServiceAccountToken Delete a token for a service account.
**Enterprise feature**
Deletes a token for the service account identified both by the service account's id and the token's id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @param tokenId @return ApiDeleteServiceAccountTokenRequest
func (*ServiceAccountsAPIService) DeleteServiceAccountTokenExecute ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) DeleteServiceAccountTokenExecute(r ApiDeleteServiceAccountTokenRequest) (*http.Response, error)
Execute executes the request
func (*ServiceAccountsAPIService) GetServiceAccountTokens ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) GetServiceAccountTokens(ctx context.Context, id string) ApiGetServiceAccountTokensRequest
GetServiceAccountTokens List all tokens for a service account.
**Enterprise feature**
Returns the list of all tokens for a service account identified by the id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetServiceAccountTokensRequest
func (*ServiceAccountsAPIService) GetServiceAccountTokensExecute ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) GetServiceAccountTokensExecute(r ApiGetServiceAccountTokensRequest) (*PatsSchema, *http.Response, error)
Execute executes the request
@return PatsSchema
func (*ServiceAccountsAPIService) GetServiceAccounts ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) GetServiceAccounts(ctx context.Context) ApiGetServiceAccountsRequest
GetServiceAccounts List service accounts.
**Enterprise feature**
Returns the list of all service accounts.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetServiceAccountsRequest
func (*ServiceAccountsAPIService) GetServiceAccountsExecute ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) GetServiceAccountsExecute(r ApiGetServiceAccountsRequest) (*ServiceAccountsSchema, *http.Response, error)
Execute executes the request
@return ServiceAccountsSchema
func (*ServiceAccountsAPIService) UpdateServiceAccount ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) UpdateServiceAccount(ctx context.Context, id string) ApiUpdateServiceAccountRequest
UpdateServiceAccount Update a service account.
**Enterprise feature**
Updates an existing service account identified by its id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateServiceAccountRequest
func (*ServiceAccountsAPIService) UpdateServiceAccountExecute ¶ added in v0.2.3
func (a *ServiceAccountsAPIService) UpdateServiceAccountExecute(r ApiUpdateServiceAccountRequest) (*ServiceAccountSchema, *http.Response, error)
Execute executes the request
@return ServiceAccountSchema
type ServiceAccountsSchema ¶
type ServiceAccountsSchema struct {
// A list of service accounts
ServiceAccounts []ServiceAccountSchema `json:"serviceAccounts"`
// A list of root roles that are referenced from service account objects in the `serviceAccounts` list
RootRoles []RoleSchema `json:"rootRoles,omitempty"`
AdditionalProperties map[string]interface{}
}
ServiceAccountsSchema Represents a list of service accounts, and includes a list of root roles they reference
func NewServiceAccountsSchema ¶
func NewServiceAccountsSchema(serviceAccounts []ServiceAccountSchema) *ServiceAccountsSchema
NewServiceAccountsSchema instantiates a new ServiceAccountsSchema 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 NewServiceAccountsSchemaWithDefaults ¶
func NewServiceAccountsSchemaWithDefaults() *ServiceAccountsSchema
NewServiceAccountsSchemaWithDefaults instantiates a new ServiceAccountsSchema 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 (*ServiceAccountsSchema) GetRootRoles ¶
func (o *ServiceAccountsSchema) GetRootRoles() []RoleSchema
GetRootRoles returns the RootRoles field value if set, zero value otherwise.
func (*ServiceAccountsSchema) GetRootRolesOk ¶
func (o *ServiceAccountsSchema) GetRootRolesOk() ([]RoleSchema, bool)
GetRootRolesOk returns a tuple with the RootRoles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceAccountsSchema) GetServiceAccounts ¶
func (o *ServiceAccountsSchema) GetServiceAccounts() []ServiceAccountSchema
GetServiceAccounts returns the ServiceAccounts field value
func (*ServiceAccountsSchema) GetServiceAccountsOk ¶
func (o *ServiceAccountsSchema) GetServiceAccountsOk() ([]ServiceAccountSchema, bool)
GetServiceAccountsOk returns a tuple with the ServiceAccounts field value and a boolean to check if the value has been set.
func (*ServiceAccountsSchema) HasRootRoles ¶
func (o *ServiceAccountsSchema) HasRootRoles() bool
HasRootRoles returns a boolean if a field has been set.
func (ServiceAccountsSchema) MarshalJSON ¶
func (o ServiceAccountsSchema) MarshalJSON() ([]byte, error)
func (*ServiceAccountsSchema) SetRootRoles ¶
func (o *ServiceAccountsSchema) SetRootRoles(v []RoleSchema)
SetRootRoles gets a reference to the given []RoleSchema and assigns it to the RootRoles field.
func (*ServiceAccountsSchema) SetServiceAccounts ¶
func (o *ServiceAccountsSchema) SetServiceAccounts(v []ServiceAccountSchema)
SetServiceAccounts sets field value
func (ServiceAccountsSchema) ToMap ¶
func (o ServiceAccountsSchema) ToMap() (map[string]interface{}, error)
func (*ServiceAccountsSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *ServiceAccountsSchema) UnmarshalJSON(data []byte) (err error)
type StrategyVariantSchema ¶
type StrategyVariantSchema struct {
// The variant name. Must be unique for this feature flag
Name string `json:"name"`
// The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information
Weight int32 `json:"weight"`
// Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).
WeightType string `json:"weightType"`
// The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time
Stickiness string `json:"stickiness"`
Payload *CreateStrategyVariantSchemaPayload `json:"payload,omitempty"`
AdditionalProperties map[string]interface{}
}
StrategyVariantSchema This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.
func NewStrategyVariantSchema ¶
func NewStrategyVariantSchema(name string, weight int32, weightType string, stickiness string) *StrategyVariantSchema
NewStrategyVariantSchema instantiates a new StrategyVariantSchema 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 NewStrategyVariantSchemaWithDefaults ¶
func NewStrategyVariantSchemaWithDefaults() *StrategyVariantSchema
NewStrategyVariantSchemaWithDefaults instantiates a new StrategyVariantSchema 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 (*StrategyVariantSchema) GetName ¶
func (o *StrategyVariantSchema) GetName() string
GetName returns the Name field value
func (*StrategyVariantSchema) GetNameOk ¶
func (o *StrategyVariantSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*StrategyVariantSchema) GetPayload ¶
func (o *StrategyVariantSchema) GetPayload() CreateStrategyVariantSchemaPayload
GetPayload returns the Payload field value if set, zero value otherwise.
func (*StrategyVariantSchema) GetPayloadOk ¶
func (o *StrategyVariantSchema) GetPayloadOk() (*CreateStrategyVariantSchemaPayload, bool)
GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StrategyVariantSchema) GetStickiness ¶
func (o *StrategyVariantSchema) GetStickiness() string
GetStickiness returns the Stickiness field value
func (*StrategyVariantSchema) GetStickinessOk ¶
func (o *StrategyVariantSchema) GetStickinessOk() (*string, bool)
GetStickinessOk returns a tuple with the Stickiness field value and a boolean to check if the value has been set.
func (*StrategyVariantSchema) GetWeight ¶
func (o *StrategyVariantSchema) GetWeight() int32
GetWeight returns the Weight field value
func (*StrategyVariantSchema) GetWeightOk ¶
func (o *StrategyVariantSchema) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.
func (*StrategyVariantSchema) GetWeightType ¶
func (o *StrategyVariantSchema) GetWeightType() string
GetWeightType returns the WeightType field value
func (*StrategyVariantSchema) GetWeightTypeOk ¶
func (o *StrategyVariantSchema) GetWeightTypeOk() (*string, bool)
GetWeightTypeOk returns a tuple with the WeightType field value and a boolean to check if the value has been set.
func (*StrategyVariantSchema) HasPayload ¶
func (o *StrategyVariantSchema) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (StrategyVariantSchema) MarshalJSON ¶
func (o StrategyVariantSchema) MarshalJSON() ([]byte, error)
func (*StrategyVariantSchema) SetName ¶
func (o *StrategyVariantSchema) SetName(v string)
SetName sets field value
func (*StrategyVariantSchema) SetPayload ¶
func (o *StrategyVariantSchema) SetPayload(v CreateStrategyVariantSchemaPayload)
SetPayload gets a reference to the given CreateStrategyVariantSchemaPayload and assigns it to the Payload field.
func (*StrategyVariantSchema) SetStickiness ¶
func (o *StrategyVariantSchema) SetStickiness(v string)
SetStickiness sets field value
func (*StrategyVariantSchema) SetWeight ¶
func (o *StrategyVariantSchema) SetWeight(v int32)
SetWeight sets field value
func (*StrategyVariantSchema) SetWeightType ¶
func (o *StrategyVariantSchema) SetWeightType(v string)
SetWeightType sets field value
func (StrategyVariantSchema) ToMap ¶
func (o StrategyVariantSchema) ToMap() (map[string]interface{}, error)
func (*StrategyVariantSchema) UnmarshalJSON ¶ added in v0.6.0
func (o *StrategyVariantSchema) UnmarshalJSON(data []byte) (err error)
type UpdateApiTokenSchema ¶
type UpdateApiTokenSchema struct {
// The new time when this token should expire.
ExpiresAt time.Time `json:"expiresAt"`
AdditionalProperties map[string]interface{}
}
UpdateApiTokenSchema An object with fields to updated for a given API token.
func NewUpdateApiTokenSchema ¶
func NewUpdateApiTokenSchema(expiresAt time.Time) *UpdateApiTokenSchema
NewUpdateApiTokenSchema instantiates a new UpdateApiTokenSchema 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 NewUpdateApiTokenSchemaWithDefaults ¶
func NewUpdateApiTokenSchemaWithDefaults() *UpdateApiTokenSchema
NewUpdateApiTokenSchemaWithDefaults instantiates a new UpdateApiTokenSchema 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 (*UpdateApiTokenSchema) GetExpiresAt ¶
func (o *UpdateApiTokenSchema) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value
func (*UpdateApiTokenSchema) GetExpiresAtOk ¶
func (o *UpdateApiTokenSchema) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (UpdateApiTokenSchema) MarshalJSON ¶
func (o UpdateApiTokenSchema) MarshalJSON() ([]byte, error)
func (*UpdateApiTokenSchema) SetExpiresAt ¶
func (o *UpdateApiTokenSchema) SetExpiresAt(v time.Time)
SetExpiresAt sets field value
func (UpdateApiTokenSchema) ToMap ¶
func (o UpdateApiTokenSchema) ToMap() (map[string]interface{}, error)
func (*UpdateApiTokenSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *UpdateApiTokenSchema) UnmarshalJSON(data []byte) (err error)
type UpdateChangeRequestEnvironmentConfigSchema ¶ added in v0.2.3
type UpdateChangeRequestEnvironmentConfigSchema struct {
// `true` if change requests should be enabled, otherwise `false`.
ChangeRequestsEnabled bool `json:"changeRequestsEnabled"`
// The number of approvals required before a change request can be applied in this environment.
RequiredApprovals *int32 `json:"requiredApprovals,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateChangeRequestEnvironmentConfigSchema Data used to update change request in an environment
func NewUpdateChangeRequestEnvironmentConfigSchema ¶ added in v0.2.3
func NewUpdateChangeRequestEnvironmentConfigSchema(changeRequestsEnabled bool) *UpdateChangeRequestEnvironmentConfigSchema
NewUpdateChangeRequestEnvironmentConfigSchema instantiates a new UpdateChangeRequestEnvironmentConfigSchema 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 NewUpdateChangeRequestEnvironmentConfigSchemaWithDefaults ¶ added in v0.2.3
func NewUpdateChangeRequestEnvironmentConfigSchemaWithDefaults() *UpdateChangeRequestEnvironmentConfigSchema
NewUpdateChangeRequestEnvironmentConfigSchemaWithDefaults instantiates a new UpdateChangeRequestEnvironmentConfigSchema 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 (*UpdateChangeRequestEnvironmentConfigSchema) GetChangeRequestsEnabled ¶ added in v0.2.3
func (o *UpdateChangeRequestEnvironmentConfigSchema) GetChangeRequestsEnabled() bool
GetChangeRequestsEnabled returns the ChangeRequestsEnabled field value
func (*UpdateChangeRequestEnvironmentConfigSchema) GetChangeRequestsEnabledOk ¶ added in v0.2.3
func (o *UpdateChangeRequestEnvironmentConfigSchema) GetChangeRequestsEnabledOk() (*bool, bool)
GetChangeRequestsEnabledOk returns a tuple with the ChangeRequestsEnabled field value and a boolean to check if the value has been set.
func (*UpdateChangeRequestEnvironmentConfigSchema) GetRequiredApprovals ¶ added in v0.2.3
func (o *UpdateChangeRequestEnvironmentConfigSchema) GetRequiredApprovals() int32
GetRequiredApprovals returns the RequiredApprovals field value if set, zero value otherwise.
func (*UpdateChangeRequestEnvironmentConfigSchema) GetRequiredApprovalsOk ¶ added in v0.2.3
func (o *UpdateChangeRequestEnvironmentConfigSchema) GetRequiredApprovalsOk() (*int32, bool)
GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateChangeRequestEnvironmentConfigSchema) HasRequiredApprovals ¶ added in v0.2.3
func (o *UpdateChangeRequestEnvironmentConfigSchema) HasRequiredApprovals() bool
HasRequiredApprovals returns a boolean if a field has been set.
func (UpdateChangeRequestEnvironmentConfigSchema) MarshalJSON ¶ added in v0.2.3
func (o UpdateChangeRequestEnvironmentConfigSchema) MarshalJSON() ([]byte, error)
func (*UpdateChangeRequestEnvironmentConfigSchema) SetChangeRequestsEnabled ¶ added in v0.2.3
func (o *UpdateChangeRequestEnvironmentConfigSchema) SetChangeRequestsEnabled(v bool)
SetChangeRequestsEnabled sets field value
func (*UpdateChangeRequestEnvironmentConfigSchema) SetRequiredApprovals ¶ added in v0.2.3
func (o *UpdateChangeRequestEnvironmentConfigSchema) SetRequiredApprovals(v int32)
SetRequiredApprovals gets a reference to the given int32 and assigns it to the RequiredApprovals field.
func (UpdateChangeRequestEnvironmentConfigSchema) ToMap ¶ added in v0.2.3
func (o UpdateChangeRequestEnvironmentConfigSchema) ToMap() (map[string]interface{}, error)
func (*UpdateChangeRequestEnvironmentConfigSchema) UnmarshalJSON ¶ added in v0.5.4
func (o *UpdateChangeRequestEnvironmentConfigSchema) UnmarshalJSON(data []byte) (err error)
type UpdateContextFieldSchema ¶ added in v0.2.3
type UpdateContextFieldSchema struct {
// A description of the context field
Description *string `json:"description,omitempty"`
// `true` if this field should be available for use with [custom stickiness](https://docs.getunleash.io/concepts/stickiness#custom-stickiness), otherwise `false`
Stickiness *bool `json:"stickiness,omitempty"`
// How this context field should be sorted if no other sort order is selected
SortOrder *int32 `json:"sortOrder,omitempty"`
// A list of allowed values for this context field
LegalValues []LegalValueSchema `json:"legalValues,omitempty"`
// The project this context field belongs to (if it is project-specific)
Project *string `json:"project,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateContextFieldSchema Data to update an existing context field configuration.
func NewUpdateContextFieldSchema ¶ added in v0.2.3
func NewUpdateContextFieldSchema() *UpdateContextFieldSchema
NewUpdateContextFieldSchema instantiates a new UpdateContextFieldSchema 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 NewUpdateContextFieldSchemaWithDefaults ¶ added in v0.2.3
func NewUpdateContextFieldSchemaWithDefaults() *UpdateContextFieldSchema
NewUpdateContextFieldSchemaWithDefaults instantiates a new UpdateContextFieldSchema 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 (*UpdateContextFieldSchema) GetDescription ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateContextFieldSchema) GetDescriptionOk ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateContextFieldSchema) GetLegalValues ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) GetLegalValues() []LegalValueSchema
GetLegalValues returns the LegalValues field value if set, zero value otherwise.
func (*UpdateContextFieldSchema) GetLegalValuesOk ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) GetLegalValuesOk() ([]LegalValueSchema, bool)
GetLegalValuesOk returns a tuple with the LegalValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateContextFieldSchema) GetProject ¶ added in v0.7.0
func (o *UpdateContextFieldSchema) GetProject() string
GetProject returns the Project field value if set, zero value otherwise.
func (*UpdateContextFieldSchema) GetProjectOk ¶ added in v0.7.0
func (o *UpdateContextFieldSchema) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateContextFieldSchema) GetSortOrder ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) GetSortOrder() int32
GetSortOrder returns the SortOrder field value if set, zero value otherwise.
func (*UpdateContextFieldSchema) GetSortOrderOk ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) GetSortOrderOk() (*int32, bool)
GetSortOrderOk returns a tuple with the SortOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateContextFieldSchema) GetStickiness ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) GetStickiness() bool
GetStickiness returns the Stickiness field value if set, zero value otherwise.
func (*UpdateContextFieldSchema) GetStickinessOk ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) GetStickinessOk() (*bool, bool)
GetStickinessOk returns a tuple with the Stickiness field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateContextFieldSchema) HasDescription ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateContextFieldSchema) HasLegalValues ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) HasLegalValues() bool
HasLegalValues returns a boolean if a field has been set.
func (*UpdateContextFieldSchema) HasProject ¶ added in v0.7.0
func (o *UpdateContextFieldSchema) HasProject() bool
HasProject returns a boolean if a field has been set.
func (*UpdateContextFieldSchema) HasSortOrder ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) HasSortOrder() bool
HasSortOrder returns a boolean if a field has been set.
func (*UpdateContextFieldSchema) HasStickiness ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) HasStickiness() bool
HasStickiness returns a boolean if a field has been set.
func (UpdateContextFieldSchema) MarshalJSON ¶ added in v0.2.3
func (o UpdateContextFieldSchema) MarshalJSON() ([]byte, error)
func (*UpdateContextFieldSchema) SetDescription ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateContextFieldSchema) SetLegalValues ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) SetLegalValues(v []LegalValueSchema)
SetLegalValues gets a reference to the given []LegalValueSchema and assigns it to the LegalValues field.
func (*UpdateContextFieldSchema) SetProject ¶ added in v0.7.0
func (o *UpdateContextFieldSchema) SetProject(v string)
SetProject gets a reference to the given string and assigns it to the Project field.
func (*UpdateContextFieldSchema) SetSortOrder ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) SetSortOrder(v int32)
SetSortOrder gets a reference to the given int32 and assigns it to the SortOrder field.
func (*UpdateContextFieldSchema) SetStickiness ¶ added in v0.2.3
func (o *UpdateContextFieldSchema) SetStickiness(v bool)
SetStickiness gets a reference to the given bool and assigns it to the Stickiness field.
func (UpdateContextFieldSchema) ToMap ¶ added in v0.2.3
func (o UpdateContextFieldSchema) ToMap() (map[string]interface{}, error)
func (*UpdateContextFieldSchema) UnmarshalJSON ¶ added in v0.5.2
func (o *UpdateContextFieldSchema) UnmarshalJSON(data []byte) (err error)
type UpdateEnvironmentSchema ¶
type UpdateEnvironmentSchema struct {
// Updates the type of environment (i.e. development or production).
Type *string `json:"type,omitempty"`
// Changes the sort order of this environment.
SortOrder *int32 `json:"sortOrder,omitempty"`
// Experimental field. The number of approvals required before a change request can be applied in this environment.
RequiredApprovals NullableInt32 `json:"requiredApprovals,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateEnvironmentSchema Data used to update an [environment](https://docs.getunleash.io/concepts/environments).
func NewUpdateEnvironmentSchema ¶
func NewUpdateEnvironmentSchema() *UpdateEnvironmentSchema
NewUpdateEnvironmentSchema instantiates a new UpdateEnvironmentSchema 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 NewUpdateEnvironmentSchemaWithDefaults ¶
func NewUpdateEnvironmentSchemaWithDefaults() *UpdateEnvironmentSchema
NewUpdateEnvironmentSchemaWithDefaults instantiates a new UpdateEnvironmentSchema 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 (*UpdateEnvironmentSchema) GetRequiredApprovals ¶ added in v0.6.0
func (o *UpdateEnvironmentSchema) GetRequiredApprovals() int32
GetRequiredApprovals returns the RequiredApprovals field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateEnvironmentSchema) GetRequiredApprovalsOk ¶ added in v0.6.0
func (o *UpdateEnvironmentSchema) GetRequiredApprovalsOk() (*int32, bool)
GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateEnvironmentSchema) GetSortOrder ¶
func (o *UpdateEnvironmentSchema) GetSortOrder() int32
GetSortOrder returns the SortOrder field value if set, zero value otherwise.
func (*UpdateEnvironmentSchema) GetSortOrderOk ¶
func (o *UpdateEnvironmentSchema) GetSortOrderOk() (*int32, bool)
GetSortOrderOk returns a tuple with the SortOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateEnvironmentSchema) GetType ¶
func (o *UpdateEnvironmentSchema) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*UpdateEnvironmentSchema) GetTypeOk ¶
func (o *UpdateEnvironmentSchema) GetTypeOk() (*string, bool)
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 (*UpdateEnvironmentSchema) HasRequiredApprovals ¶ added in v0.6.0
func (o *UpdateEnvironmentSchema) HasRequiredApprovals() bool
HasRequiredApprovals returns a boolean if a field has been set.
func (*UpdateEnvironmentSchema) HasSortOrder ¶
func (o *UpdateEnvironmentSchema) HasSortOrder() bool
HasSortOrder returns a boolean if a field has been set.
func (*UpdateEnvironmentSchema) HasType ¶
func (o *UpdateEnvironmentSchema) HasType() bool
HasType returns a boolean if a field has been set.
func (UpdateEnvironmentSchema) MarshalJSON ¶
func (o UpdateEnvironmentSchema) MarshalJSON() ([]byte, error)
func (*UpdateEnvironmentSchema) SetRequiredApprovals ¶ added in v0.6.0
func (o *UpdateEnvironmentSchema) SetRequiredApprovals(v int32)
SetRequiredApprovals gets a reference to the given NullableInt32 and assigns it to the RequiredApprovals field.
func (*UpdateEnvironmentSchema) SetRequiredApprovalsNil ¶ added in v0.6.0
func (o *UpdateEnvironmentSchema) SetRequiredApprovalsNil()
SetRequiredApprovalsNil sets the value for RequiredApprovals to be an explicit nil
func (*UpdateEnvironmentSchema) SetSortOrder ¶
func (o *UpdateEnvironmentSchema) SetSortOrder(v int32)
SetSortOrder gets a reference to the given int32 and assigns it to the SortOrder field.
func (*UpdateEnvironmentSchema) SetType ¶
func (o *UpdateEnvironmentSchema) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (UpdateEnvironmentSchema) ToMap ¶
func (o UpdateEnvironmentSchema) ToMap() (map[string]interface{}, error)
func (*UpdateEnvironmentSchema) UnmarshalJSON ¶ added in v0.5.3
func (o *UpdateEnvironmentSchema) UnmarshalJSON(data []byte) (err error)
func (*UpdateEnvironmentSchema) UnsetRequiredApprovals ¶ added in v0.6.0
func (o *UpdateEnvironmentSchema) UnsetRequiredApprovals()
UnsetRequiredApprovals ensures that no value is present for RequiredApprovals, not even an explicit nil
type UpdateProject404Response ¶ added in v0.2.4
type UpdateProject404Response struct {
// The ID of the error instance
Id *string `json:"id,omitempty"`
// The name of the error kind
Name *string `json:"name,omitempty"`
// A description of what went wrong.
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateProject404Response struct for UpdateProject404Response
func NewUpdateProject404Response ¶ added in v0.2.4
func NewUpdateProject404Response() *UpdateProject404Response
NewUpdateProject404Response instantiates a new UpdateProject404Response 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 NewUpdateProject404ResponseWithDefaults ¶ added in v0.2.4
func NewUpdateProject404ResponseWithDefaults() *UpdateProject404Response
NewUpdateProject404ResponseWithDefaults instantiates a new UpdateProject404Response 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 (*UpdateProject404Response) GetId ¶ added in v0.2.4
func (o *UpdateProject404Response) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UpdateProject404Response) GetIdOk ¶ added in v0.2.4
func (o *UpdateProject404Response) GetIdOk() (*string, bool)
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 (*UpdateProject404Response) GetMessage ¶ added in v0.2.4
func (o *UpdateProject404Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*UpdateProject404Response) GetMessageOk ¶ added in v0.2.4
func (o *UpdateProject404Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProject404Response) GetName ¶ added in v0.2.4
func (o *UpdateProject404Response) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateProject404Response) GetNameOk ¶ added in v0.2.4
func (o *UpdateProject404Response) GetNameOk() (*string, bool)
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 (*UpdateProject404Response) HasId ¶ added in v0.2.4
func (o *UpdateProject404Response) HasId() bool
HasId returns a boolean if a field has been set.
func (*UpdateProject404Response) HasMessage ¶ added in v0.2.4
func (o *UpdateProject404Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*UpdateProject404Response) HasName ¶ added in v0.2.4
func (o *UpdateProject404Response) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateProject404Response) MarshalJSON ¶ added in v0.2.4
func (o UpdateProject404Response) MarshalJSON() ([]byte, error)
func (*UpdateProject404Response) SetId ¶ added in v0.2.4
func (o *UpdateProject404Response) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UpdateProject404Response) SetMessage ¶ added in v0.2.4
func (o *UpdateProject404Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*UpdateProject404Response) SetName ¶ added in v0.2.4
func (o *UpdateProject404Response) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (UpdateProject404Response) ToMap ¶ added in v0.2.4
func (o UpdateProject404Response) ToMap() (map[string]interface{}, error)
func (*UpdateProject404Response) UnmarshalJSON ¶ added in v0.6.0
func (o *UpdateProject404Response) UnmarshalJSON(data []byte) (err error)
type UpdateProjectEnterpriseSettingsSchema ¶ added in v0.5.1
type UpdateProjectEnterpriseSettingsSchema struct {
// A mode of the project affecting what actions are possible in this project
Mode *string `json:"mode,omitempty"`
FeatureNaming *CreateFeatureNamingPatternSchema `json:"featureNaming,omitempty"`
// A list of link templates that can be automatically added to new feature flags.
LinkTemplates []ProjectLinkTemplateSchema `json:"linkTemplates,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateProjectEnterpriseSettingsSchema Data used to update a [project](https://docs.getunleash.io/concepts/projects) settings
func NewUpdateProjectEnterpriseSettingsSchema ¶ added in v0.5.1
func NewUpdateProjectEnterpriseSettingsSchema() *UpdateProjectEnterpriseSettingsSchema
NewUpdateProjectEnterpriseSettingsSchema instantiates a new UpdateProjectEnterpriseSettingsSchema 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 NewUpdateProjectEnterpriseSettingsSchemaWithDefaults ¶ added in v0.5.1
func NewUpdateProjectEnterpriseSettingsSchemaWithDefaults() *UpdateProjectEnterpriseSettingsSchema
NewUpdateProjectEnterpriseSettingsSchemaWithDefaults instantiates a new UpdateProjectEnterpriseSettingsSchema 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 (*UpdateProjectEnterpriseSettingsSchema) GetFeatureNaming ¶ added in v0.5.1
func (o *UpdateProjectEnterpriseSettingsSchema) GetFeatureNaming() CreateFeatureNamingPatternSchema
GetFeatureNaming returns the FeatureNaming field value if set, zero value otherwise.
func (*UpdateProjectEnterpriseSettingsSchema) GetFeatureNamingOk ¶ added in v0.5.1
func (o *UpdateProjectEnterpriseSettingsSchema) GetFeatureNamingOk() (*CreateFeatureNamingPatternSchema, bool)
GetFeatureNamingOk returns a tuple with the FeatureNaming field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProjectEnterpriseSettingsSchema) GetLinkTemplates ¶ added in v0.6.0
func (o *UpdateProjectEnterpriseSettingsSchema) GetLinkTemplates() []ProjectLinkTemplateSchema
GetLinkTemplates returns the LinkTemplates field value if set, zero value otherwise.
func (*UpdateProjectEnterpriseSettingsSchema) GetLinkTemplatesOk ¶ added in v0.6.0
func (o *UpdateProjectEnterpriseSettingsSchema) GetLinkTemplatesOk() ([]ProjectLinkTemplateSchema, bool)
GetLinkTemplatesOk returns a tuple with the LinkTemplates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProjectEnterpriseSettingsSchema) GetMode ¶ added in v0.5.1
func (o *UpdateProjectEnterpriseSettingsSchema) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*UpdateProjectEnterpriseSettingsSchema) GetModeOk ¶ added in v0.5.1
func (o *UpdateProjectEnterpriseSettingsSchema) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProjectEnterpriseSettingsSchema) HasFeatureNaming ¶ added in v0.5.1
func (o *UpdateProjectEnterpriseSettingsSchema) HasFeatureNaming() bool
HasFeatureNaming returns a boolean if a field has been set.
func (*UpdateProjectEnterpriseSettingsSchema) HasLinkTemplates ¶ added in v0.6.0
func (o *UpdateProjectEnterpriseSettingsSchema) HasLinkTemplates() bool
HasLinkTemplates returns a boolean if a field has been set.
func (*UpdateProjectEnterpriseSettingsSchema) HasMode ¶ added in v0.5.1
func (o *UpdateProjectEnterpriseSettingsSchema) HasMode() bool
HasMode returns a boolean if a field has been set.
func (UpdateProjectEnterpriseSettingsSchema) MarshalJSON ¶ added in v0.5.1
func (o UpdateProjectEnterpriseSettingsSchema) MarshalJSON() ([]byte, error)
func (*UpdateProjectEnterpriseSettingsSchema) SetFeatureNaming ¶ added in v0.5.1
func (o *UpdateProjectEnterpriseSettingsSchema) SetFeatureNaming(v CreateFeatureNamingPatternSchema)
SetFeatureNaming gets a reference to the given CreateFeatureNamingPatternSchema and assigns it to the FeatureNaming field.
func (*UpdateProjectEnterpriseSettingsSchema) SetLinkTemplates ¶ added in v0.6.0
func (o *UpdateProjectEnterpriseSettingsSchema) SetLinkTemplates(v []ProjectLinkTemplateSchema)
SetLinkTemplates gets a reference to the given []ProjectLinkTemplateSchema and assigns it to the LinkTemplates field.
func (*UpdateProjectEnterpriseSettingsSchema) SetMode ¶ added in v0.5.1
func (o *UpdateProjectEnterpriseSettingsSchema) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (UpdateProjectEnterpriseSettingsSchema) ToMap ¶ added in v0.5.1
func (o UpdateProjectEnterpriseSettingsSchema) ToMap() (map[string]interface{}, error)
func (*UpdateProjectEnterpriseSettingsSchema) UnmarshalJSON ¶ added in v0.5.1
func (o *UpdateProjectEnterpriseSettingsSchema) UnmarshalJSON(data []byte) (err error)
type UpdateProjectSchema ¶
type UpdateProjectSchema struct {
// The new name of the project. The name must contain at least one non-whitespace character.
Name string `json:"name" validate:"regexp=^(?!\\\\s*$).+"`
// A new description for the project
Description *string `json:"description,omitempty"`
// A mode of the project affecting what actions are possible in this project
Mode *string `json:"mode,omitempty"`
// A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy
DefaultStickiness *string `json:"defaultStickiness,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateProjectSchema Data used to update a [project](https://docs.getunleash.io/concepts/projects)
func NewUpdateProjectSchema ¶
func NewUpdateProjectSchema(name string) *UpdateProjectSchema
NewUpdateProjectSchema instantiates a new UpdateProjectSchema 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 NewUpdateProjectSchemaWithDefaults ¶
func NewUpdateProjectSchemaWithDefaults() *UpdateProjectSchema
NewUpdateProjectSchemaWithDefaults instantiates a new UpdateProjectSchema 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 (*UpdateProjectSchema) GetDefaultStickiness ¶ added in v0.2.8
func (o *UpdateProjectSchema) GetDefaultStickiness() string
GetDefaultStickiness returns the DefaultStickiness field value if set, zero value otherwise.
func (*UpdateProjectSchema) GetDefaultStickinessOk ¶ added in v0.2.8
func (o *UpdateProjectSchema) GetDefaultStickinessOk() (*string, bool)
GetDefaultStickinessOk returns a tuple with the DefaultStickiness field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProjectSchema) GetDescription ¶
func (o *UpdateProjectSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateProjectSchema) GetDescriptionOk ¶
func (o *UpdateProjectSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProjectSchema) GetMode ¶ added in v0.2.8
func (o *UpdateProjectSchema) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*UpdateProjectSchema) GetModeOk ¶ added in v0.2.8
func (o *UpdateProjectSchema) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProjectSchema) GetName ¶
func (o *UpdateProjectSchema) GetName() string
GetName returns the Name field value
func (*UpdateProjectSchema) GetNameOk ¶
func (o *UpdateProjectSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateProjectSchema) HasDefaultStickiness ¶ added in v0.2.8
func (o *UpdateProjectSchema) HasDefaultStickiness() bool
HasDefaultStickiness returns a boolean if a field has been set.
func (*UpdateProjectSchema) HasDescription ¶
func (o *UpdateProjectSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateProjectSchema) HasMode ¶ added in v0.2.8
func (o *UpdateProjectSchema) HasMode() bool
HasMode returns a boolean if a field has been set.
func (UpdateProjectSchema) MarshalJSON ¶
func (o UpdateProjectSchema) MarshalJSON() ([]byte, error)
func (*UpdateProjectSchema) SetDefaultStickiness ¶ added in v0.2.8
func (o *UpdateProjectSchema) SetDefaultStickiness(v string)
SetDefaultStickiness gets a reference to the given string and assigns it to the DefaultStickiness field.
func (*UpdateProjectSchema) SetDescription ¶
func (o *UpdateProjectSchema) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateProjectSchema) SetMode ¶ added in v0.2.8
func (o *UpdateProjectSchema) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*UpdateProjectSchema) SetName ¶
func (o *UpdateProjectSchema) SetName(v string)
SetName sets field value
func (UpdateProjectSchema) ToMap ¶
func (o UpdateProjectSchema) ToMap() (map[string]interface{}, error)
func (*UpdateProjectSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *UpdateProjectSchema) UnmarshalJSON(data []byte) (err error)
type UpdateServiceAccountSchema ¶
type UpdateServiceAccountSchema struct {
// The name of the service account
Name *string `json:"name,omitempty"`
// The id of the root role for the service account
RootRole *int32 `json:"rootRole,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateServiceAccountSchema Describes the properties required to update a service account
func NewUpdateServiceAccountSchema ¶
func NewUpdateServiceAccountSchema() *UpdateServiceAccountSchema
NewUpdateServiceAccountSchema instantiates a new UpdateServiceAccountSchema 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 NewUpdateServiceAccountSchemaWithDefaults ¶
func NewUpdateServiceAccountSchemaWithDefaults() *UpdateServiceAccountSchema
NewUpdateServiceAccountSchemaWithDefaults instantiates a new UpdateServiceAccountSchema 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 (*UpdateServiceAccountSchema) GetName ¶
func (o *UpdateServiceAccountSchema) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateServiceAccountSchema) GetNameOk ¶
func (o *UpdateServiceAccountSchema) GetNameOk() (*string, bool)
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 (*UpdateServiceAccountSchema) GetRootRole ¶
func (o *UpdateServiceAccountSchema) GetRootRole() int32
GetRootRole returns the RootRole field value if set, zero value otherwise.
func (*UpdateServiceAccountSchema) GetRootRoleOk ¶
func (o *UpdateServiceAccountSchema) GetRootRoleOk() (*int32, bool)
GetRootRoleOk returns a tuple with the RootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateServiceAccountSchema) HasName ¶
func (o *UpdateServiceAccountSchema) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateServiceAccountSchema) HasRootRole ¶
func (o *UpdateServiceAccountSchema) HasRootRole() bool
HasRootRole returns a boolean if a field has been set.
func (UpdateServiceAccountSchema) MarshalJSON ¶
func (o UpdateServiceAccountSchema) MarshalJSON() ([]byte, error)
func (*UpdateServiceAccountSchema) SetName ¶
func (o *UpdateServiceAccountSchema) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateServiceAccountSchema) SetRootRole ¶
func (o *UpdateServiceAccountSchema) SetRootRole(v int32)
SetRootRole gets a reference to the given int32 and assigns it to the RootRole field.
func (UpdateServiceAccountSchema) ToMap ¶
func (o UpdateServiceAccountSchema) ToMap() (map[string]interface{}, error)
func (*UpdateServiceAccountSchema) UnmarshalJSON ¶
func (o *UpdateServiceAccountSchema) UnmarshalJSON(data []byte) (err error)
type UpdateUserSchema ¶
type UpdateUserSchema struct {
// The user's email address. Must be provided if username is not provided.
Email *string `json:"email,omitempty"`
// The user's name (not the user's username).
Name *string `json:"name,omitempty"`
RootRole *CreateUserSchemaRootRole `json:"rootRole,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateUserSchema All fields that can be directly changed for the user
func NewUpdateUserSchema ¶
func NewUpdateUserSchema() *UpdateUserSchema
NewUpdateUserSchema instantiates a new UpdateUserSchema 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 NewUpdateUserSchemaWithDefaults ¶
func NewUpdateUserSchemaWithDefaults() *UpdateUserSchema
NewUpdateUserSchemaWithDefaults instantiates a new UpdateUserSchema 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 (*UpdateUserSchema) GetEmail ¶
func (o *UpdateUserSchema) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*UpdateUserSchema) GetEmailOk ¶
func (o *UpdateUserSchema) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserSchema) GetName ¶
func (o *UpdateUserSchema) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateUserSchema) GetNameOk ¶
func (o *UpdateUserSchema) GetNameOk() (*string, bool)
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 (*UpdateUserSchema) GetRootRole ¶
func (o *UpdateUserSchema) GetRootRole() CreateUserSchemaRootRole
GetRootRole returns the RootRole field value if set, zero value otherwise.
func (*UpdateUserSchema) GetRootRoleOk ¶
func (o *UpdateUserSchema) GetRootRoleOk() (*CreateUserSchemaRootRole, bool)
GetRootRoleOk returns a tuple with the RootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserSchema) HasEmail ¶
func (o *UpdateUserSchema) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UpdateUserSchema) HasName ¶
func (o *UpdateUserSchema) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateUserSchema) HasRootRole ¶
func (o *UpdateUserSchema) HasRootRole() bool
HasRootRole returns a boolean if a field has been set.
func (UpdateUserSchema) MarshalJSON ¶
func (o UpdateUserSchema) MarshalJSON() ([]byte, error)
func (*UpdateUserSchema) SetEmail ¶
func (o *UpdateUserSchema) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*UpdateUserSchema) SetName ¶
func (o *UpdateUserSchema) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateUserSchema) SetRootRole ¶
func (o *UpdateUserSchema) SetRootRole(v CreateUserSchemaRootRole)
SetRootRole gets a reference to the given CreateUserSchemaRootRole and assigns it to the RootRole field.
func (UpdateUserSchema) ToMap ¶
func (o UpdateUserSchema) ToMap() (map[string]interface{}, error)
func (*UpdateUserSchema) UnmarshalJSON ¶
func (o *UpdateUserSchema) UnmarshalJSON(data []byte) (err error)
type UserSchema ¶
type UserSchema struct {
// The user id
Id int32 `json:"id"`
// Name of the user
Name NullableString `json:"name,omitempty"`
// Email of the user
Email *string `json:"email,omitempty"`
// A unique username for the user
Username NullableString `json:"username,omitempty"`
// URL used for the user profile image
ImageUrl *string `json:"imageUrl,omitempty"`
// If the user is actively inviting other users, this is the link that can be shared with other users
InviteLink *string `json:"inviteLink,omitempty"`
// How many unsuccessful attempts at logging in has the user made
LoginAttempts *int32 `json:"loginAttempts,omitempty"`
// Is the welcome email sent to the user or not
EmailSent *bool `json:"emailSent,omitempty"`
// Which [root role](https://docs.getunleash.io/concepts/rbac#predefined-roles) this user is assigned
RootRole *int32 `json:"rootRole,omitempty"`
// The last time this user logged in
SeenAt NullableTime `json:"seenAt,omitempty"`
// The user was created at this time
CreatedAt *time.Time `json:"createdAt,omitempty"`
// A user is either an actual User or a Service Account
AccountType *string `json:"accountType,omitempty"`
// Deprecated
Permissions []string `json:"permissions,omitempty"`
// The SCIM ID of the user, only present if managed by SCIM
ScimId NullableString `json:"scimId,omitempty"`
// The seat type of this user
SeatType NullableString `json:"seatType,omitempty"`
// The role of the user within the company.
CompanyRole NullableString `json:"companyRole,omitempty"`
// Whether the user has consented to receive product update emails.
ProductUpdatesEmailConsent NullableBool `json:"productUpdatesEmailConsent,omitempty"`
// Count of active browser sessions for this user
ActiveSessions NullableInt32 `json:"activeSessions,omitempty"`
// Experimental. The number of deleted browser sessions after last login
DeletedSessions *float32 `json:"deletedSessions,omitempty"`
AdditionalProperties map[string]interface{}
}
UserSchema An Unleash user
func NewUserSchema ¶
func NewUserSchema(id int32) *UserSchema
NewUserSchema instantiates a new UserSchema 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 NewUserSchemaWithDefaults ¶
func NewUserSchemaWithDefaults() *UserSchema
NewUserSchemaWithDefaults instantiates a new UserSchema 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 (*UserSchema) GetAccountType ¶
func (o *UserSchema) GetAccountType() string
GetAccountType returns the AccountType field value if set, zero value otherwise.
func (*UserSchema) GetAccountTypeOk ¶
func (o *UserSchema) GetAccountTypeOk() (*string, bool)
GetAccountTypeOk returns a tuple with the AccountType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSchema) GetActiveSessions ¶ added in v0.5.1
func (o *UserSchema) GetActiveSessions() int32
GetActiveSessions returns the ActiveSessions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserSchema) GetActiveSessionsOk ¶ added in v0.5.1
func (o *UserSchema) GetActiveSessionsOk() (*int32, bool)
GetActiveSessionsOk returns a tuple with the ActiveSessions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserSchema) GetCompanyRole ¶ added in v0.7.0
func (o *UserSchema) GetCompanyRole() string
GetCompanyRole returns the CompanyRole field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserSchema) GetCompanyRoleOk ¶ added in v0.7.0
func (o *UserSchema) GetCompanyRoleOk() (*string, bool)
GetCompanyRoleOk returns a tuple with the CompanyRole field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserSchema) GetCreatedAt ¶
func (o *UserSchema) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*UserSchema) GetCreatedAtOk ¶
func (o *UserSchema) GetCreatedAtOk() (*time.Time, bool)
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 (*UserSchema) GetDeletedSessions ¶ added in v0.5.1
func (o *UserSchema) GetDeletedSessions() float32
GetDeletedSessions returns the DeletedSessions field value if set, zero value otherwise.
func (*UserSchema) GetDeletedSessionsOk ¶ added in v0.5.1
func (o *UserSchema) GetDeletedSessionsOk() (*float32, bool)
GetDeletedSessionsOk returns a tuple with the DeletedSessions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSchema) GetEmail ¶
func (o *UserSchema) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*UserSchema) GetEmailOk ¶
func (o *UserSchema) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSchema) GetEmailSent ¶
func (o *UserSchema) GetEmailSent() bool
GetEmailSent returns the EmailSent field value if set, zero value otherwise.
func (*UserSchema) GetEmailSentOk ¶
func (o *UserSchema) GetEmailSentOk() (*bool, bool)
GetEmailSentOk returns a tuple with the EmailSent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSchema) GetIdOk ¶
func (o *UserSchema) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UserSchema) GetImageUrl ¶
func (o *UserSchema) GetImageUrl() string
GetImageUrl returns the ImageUrl field value if set, zero value otherwise.
func (*UserSchema) GetImageUrlOk ¶
func (o *UserSchema) GetImageUrlOk() (*string, bool)
GetImageUrlOk returns a tuple with the ImageUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSchema) GetInviteLink ¶
func (o *UserSchema) GetInviteLink() string
GetInviteLink returns the InviteLink field value if set, zero value otherwise.
func (*UserSchema) GetInviteLinkOk ¶
func (o *UserSchema) GetInviteLinkOk() (*string, bool)
GetInviteLinkOk returns a tuple with the InviteLink field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSchema) GetLoginAttempts ¶
func (o *UserSchema) GetLoginAttempts() int32
GetLoginAttempts returns the LoginAttempts field value if set, zero value otherwise.
func (*UserSchema) GetLoginAttemptsOk ¶
func (o *UserSchema) GetLoginAttemptsOk() (*int32, bool)
GetLoginAttemptsOk returns a tuple with the LoginAttempts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSchema) GetName ¶
func (o *UserSchema) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserSchema) GetNameOk ¶
func (o *UserSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserSchema) GetPermissions ¶
func (o *UserSchema) GetPermissions() []string
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*UserSchema) GetPermissionsOk ¶
func (o *UserSchema) GetPermissionsOk() ([]string, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSchema) GetProductUpdatesEmailConsent ¶ added in v0.7.0
func (o *UserSchema) GetProductUpdatesEmailConsent() bool
GetProductUpdatesEmailConsent returns the ProductUpdatesEmailConsent field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserSchema) GetProductUpdatesEmailConsentOk ¶ added in v0.7.0
func (o *UserSchema) GetProductUpdatesEmailConsentOk() (*bool, bool)
GetProductUpdatesEmailConsentOk returns a tuple with the ProductUpdatesEmailConsent field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserSchema) GetRootRole ¶
func (o *UserSchema) GetRootRole() int32
GetRootRole returns the RootRole field value if set, zero value otherwise.
func (*UserSchema) GetRootRoleOk ¶
func (o *UserSchema) GetRootRoleOk() (*int32, bool)
GetRootRoleOk returns a tuple with the RootRole field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSchema) GetScimId ¶ added in v0.3.0
func (o *UserSchema) GetScimId() string
GetScimId returns the ScimId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserSchema) GetScimIdOk ¶ added in v0.3.0
func (o *UserSchema) GetScimIdOk() (*string, bool)
GetScimIdOk returns a tuple with the ScimId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserSchema) GetSeatType ¶ added in v0.7.0
func (o *UserSchema) GetSeatType() string
GetSeatType returns the SeatType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserSchema) GetSeatTypeOk ¶ added in v0.7.0
func (o *UserSchema) GetSeatTypeOk() (*string, bool)
GetSeatTypeOk returns a tuple with the SeatType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserSchema) GetSeenAt ¶
func (o *UserSchema) GetSeenAt() time.Time
GetSeenAt returns the SeenAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserSchema) GetSeenAtOk ¶
func (o *UserSchema) GetSeenAtOk() (*time.Time, bool)
GetSeenAtOk returns a tuple with the SeenAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserSchema) GetUsername ¶
func (o *UserSchema) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserSchema) GetUsernameOk ¶
func (o *UserSchema) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserSchema) HasAccountType ¶
func (o *UserSchema) HasAccountType() bool
HasAccountType returns a boolean if a field has been set.
func (*UserSchema) HasActiveSessions ¶ added in v0.5.1
func (o *UserSchema) HasActiveSessions() bool
HasActiveSessions returns a boolean if a field has been set.
func (*UserSchema) HasCompanyRole ¶ added in v0.7.0
func (o *UserSchema) HasCompanyRole() bool
HasCompanyRole returns a boolean if a field has been set.
func (*UserSchema) HasCreatedAt ¶
func (o *UserSchema) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*UserSchema) HasDeletedSessions ¶ added in v0.5.1
func (o *UserSchema) HasDeletedSessions() bool
HasDeletedSessions returns a boolean if a field has been set.
func (*UserSchema) HasEmail ¶
func (o *UserSchema) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UserSchema) HasEmailSent ¶
func (o *UserSchema) HasEmailSent() bool
HasEmailSent returns a boolean if a field has been set.
func (*UserSchema) HasImageUrl ¶
func (o *UserSchema) HasImageUrl() bool
HasImageUrl returns a boolean if a field has been set.
func (*UserSchema) HasInviteLink ¶
func (o *UserSchema) HasInviteLink() bool
HasInviteLink returns a boolean if a field has been set.
func (*UserSchema) HasLoginAttempts ¶
func (o *UserSchema) HasLoginAttempts() bool
HasLoginAttempts returns a boolean if a field has been set.
func (*UserSchema) HasName ¶
func (o *UserSchema) HasName() bool
HasName returns a boolean if a field has been set.
func (*UserSchema) HasPermissions ¶
func (o *UserSchema) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (*UserSchema) HasProductUpdatesEmailConsent ¶ added in v0.7.0
func (o *UserSchema) HasProductUpdatesEmailConsent() bool
HasProductUpdatesEmailConsent returns a boolean if a field has been set.
func (*UserSchema) HasRootRole ¶
func (o *UserSchema) HasRootRole() bool
HasRootRole returns a boolean if a field has been set.
func (*UserSchema) HasScimId ¶ added in v0.3.0
func (o *UserSchema) HasScimId() bool
HasScimId returns a boolean if a field has been set.
func (*UserSchema) HasSeatType ¶ added in v0.7.0
func (o *UserSchema) HasSeatType() bool
HasSeatType returns a boolean if a field has been set.
func (*UserSchema) HasSeenAt ¶
func (o *UserSchema) HasSeenAt() bool
HasSeenAt returns a boolean if a field has been set.
func (*UserSchema) HasUsername ¶
func (o *UserSchema) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (UserSchema) MarshalJSON ¶
func (o UserSchema) MarshalJSON() ([]byte, error)
func (*UserSchema) SetAccountType ¶
func (o *UserSchema) SetAccountType(v string)
SetAccountType gets a reference to the given string and assigns it to the AccountType field.
func (*UserSchema) SetActiveSessions ¶ added in v0.5.1
func (o *UserSchema) SetActiveSessions(v int32)
SetActiveSessions gets a reference to the given NullableInt32 and assigns it to the ActiveSessions field.
func (*UserSchema) SetActiveSessionsNil ¶ added in v0.5.1
func (o *UserSchema) SetActiveSessionsNil()
SetActiveSessionsNil sets the value for ActiveSessions to be an explicit nil
func (*UserSchema) SetCompanyRole ¶ added in v0.7.0
func (o *UserSchema) SetCompanyRole(v string)
SetCompanyRole gets a reference to the given NullableString and assigns it to the CompanyRole field.
func (*UserSchema) SetCompanyRoleNil ¶ added in v0.7.0
func (o *UserSchema) SetCompanyRoleNil()
SetCompanyRoleNil sets the value for CompanyRole to be an explicit nil
func (*UserSchema) SetCreatedAt ¶
func (o *UserSchema) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*UserSchema) SetDeletedSessions ¶ added in v0.5.1
func (o *UserSchema) SetDeletedSessions(v float32)
SetDeletedSessions gets a reference to the given float32 and assigns it to the DeletedSessions field.
func (*UserSchema) SetEmail ¶
func (o *UserSchema) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*UserSchema) SetEmailSent ¶
func (o *UserSchema) SetEmailSent(v bool)
SetEmailSent gets a reference to the given bool and assigns it to the EmailSent field.
func (*UserSchema) SetImageUrl ¶
func (o *UserSchema) SetImageUrl(v string)
SetImageUrl gets a reference to the given string and assigns it to the ImageUrl field.
func (*UserSchema) SetInviteLink ¶
func (o *UserSchema) SetInviteLink(v string)
SetInviteLink gets a reference to the given string and assigns it to the InviteLink field.
func (*UserSchema) SetLoginAttempts ¶
func (o *UserSchema) SetLoginAttempts(v int32)
SetLoginAttempts gets a reference to the given int32 and assigns it to the LoginAttempts field.
func (*UserSchema) SetName ¶
func (o *UserSchema) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*UserSchema) SetNameNil ¶ added in v0.2.3
func (o *UserSchema) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*UserSchema) SetPermissions ¶
func (o *UserSchema) SetPermissions(v []string)
SetPermissions gets a reference to the given []string and assigns it to the Permissions field.
func (*UserSchema) SetProductUpdatesEmailConsent ¶ added in v0.7.0
func (o *UserSchema) SetProductUpdatesEmailConsent(v bool)
SetProductUpdatesEmailConsent gets a reference to the given NullableBool and assigns it to the ProductUpdatesEmailConsent field.
func (*UserSchema) SetProductUpdatesEmailConsentNil ¶ added in v0.7.0
func (o *UserSchema) SetProductUpdatesEmailConsentNil()
SetProductUpdatesEmailConsentNil sets the value for ProductUpdatesEmailConsent to be an explicit nil
func (*UserSchema) SetRootRole ¶
func (o *UserSchema) SetRootRole(v int32)
SetRootRole gets a reference to the given int32 and assigns it to the RootRole field.
func (*UserSchema) SetScimId ¶ added in v0.3.0
func (o *UserSchema) SetScimId(v string)
SetScimId gets a reference to the given NullableString and assigns it to the ScimId field.
func (*UserSchema) SetScimIdNil ¶ added in v0.3.0
func (o *UserSchema) SetScimIdNil()
SetScimIdNil sets the value for ScimId to be an explicit nil
func (*UserSchema) SetSeatType ¶ added in v0.7.0
func (o *UserSchema) SetSeatType(v string)
SetSeatType gets a reference to the given NullableString and assigns it to the SeatType field.
func (*UserSchema) SetSeatTypeNil ¶ added in v0.7.0
func (o *UserSchema) SetSeatTypeNil()
SetSeatTypeNil sets the value for SeatType to be an explicit nil
func (*UserSchema) SetSeenAt ¶
func (o *UserSchema) SetSeenAt(v time.Time)
SetSeenAt gets a reference to the given NullableTime and assigns it to the SeenAt field.
func (*UserSchema) SetSeenAtNil ¶
func (o *UserSchema) SetSeenAtNil()
SetSeenAtNil sets the value for SeenAt to be an explicit nil
func (*UserSchema) SetUsername ¶
func (o *UserSchema) SetUsername(v string)
SetUsername gets a reference to the given NullableString and assigns it to the Username field.
func (*UserSchema) SetUsernameNil ¶ added in v0.3.0
func (o *UserSchema) SetUsernameNil()
SetUsernameNil sets the value for Username to be an explicit nil
func (UserSchema) ToMap ¶
func (o UserSchema) ToMap() (map[string]interface{}, error)
func (*UserSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *UserSchema) UnmarshalJSON(data []byte) (err error)
func (*UserSchema) UnsetActiveSessions ¶ added in v0.5.1
func (o *UserSchema) UnsetActiveSessions()
UnsetActiveSessions ensures that no value is present for ActiveSessions, not even an explicit nil
func (*UserSchema) UnsetCompanyRole ¶ added in v0.7.0
func (o *UserSchema) UnsetCompanyRole()
UnsetCompanyRole ensures that no value is present for CompanyRole, not even an explicit nil
func (*UserSchema) UnsetName ¶ added in v0.2.3
func (o *UserSchema) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*UserSchema) UnsetProductUpdatesEmailConsent ¶ added in v0.7.0
func (o *UserSchema) UnsetProductUpdatesEmailConsent()
UnsetProductUpdatesEmailConsent ensures that no value is present for ProductUpdatesEmailConsent, not even an explicit nil
func (*UserSchema) UnsetScimId ¶ added in v0.3.0
func (o *UserSchema) UnsetScimId()
UnsetScimId ensures that no value is present for ScimId, not even an explicit nil
func (*UserSchema) UnsetSeatType ¶ added in v0.7.0
func (o *UserSchema) UnsetSeatType()
UnsetSeatType ensures that no value is present for SeatType, not even an explicit nil
func (*UserSchema) UnsetSeenAt ¶
func (o *UserSchema) UnsetSeenAt()
UnsetSeenAt ensures that no value is present for SeenAt, not even an explicit nil
func (*UserSchema) UnsetUsername ¶ added in v0.3.0
func (o *UserSchema) UnsetUsername()
UnsetUsername ensures that no value is present for Username, not even an explicit nil
type UserWithProjectRoleSchema ¶
type UserWithProjectRoleSchema struct {
// Whether this user is authenticated through Unleash tokens or logged in with a session
// Deprecated
IsAPI *bool `json:"isAPI,omitempty"`
// The name of the user
Name *string `json:"name,omitempty"`
// The user's email address
Email NullableString `json:"email,omitempty"`
// The user's ID in the Unleash system
Id int32 `json:"id"`
// A URL pointing to the user's image.
ImageUrl NullableString `json:"imageUrl,omitempty"`
// When this user was added to the project
AddedAt *time.Time `json:"addedAt,omitempty"`
// The ID of the role this user has in the given project
RoleId *int32 `json:"roleId,omitempty"`
// A list of roles this user has in the given project
Roles []int32 `json:"roles,omitempty"`
AdditionalProperties map[string]interface{}
}
UserWithProjectRoleSchema Data about a user including their project role
func NewUserWithProjectRoleSchema ¶
func NewUserWithProjectRoleSchema(id int32) *UserWithProjectRoleSchema
NewUserWithProjectRoleSchema instantiates a new UserWithProjectRoleSchema 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 NewUserWithProjectRoleSchemaWithDefaults ¶
func NewUserWithProjectRoleSchemaWithDefaults() *UserWithProjectRoleSchema
NewUserWithProjectRoleSchemaWithDefaults instantiates a new UserWithProjectRoleSchema 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 (*UserWithProjectRoleSchema) GetAddedAt ¶
func (o *UserWithProjectRoleSchema) GetAddedAt() time.Time
GetAddedAt returns the AddedAt field value if set, zero value otherwise.
func (*UserWithProjectRoleSchema) GetAddedAtOk ¶
func (o *UserWithProjectRoleSchema) GetAddedAtOk() (*time.Time, bool)
GetAddedAtOk returns a tuple with the AddedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserWithProjectRoleSchema) GetEmail ¶
func (o *UserWithProjectRoleSchema) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserWithProjectRoleSchema) GetEmailOk ¶
func (o *UserWithProjectRoleSchema) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserWithProjectRoleSchema) GetId ¶
func (o *UserWithProjectRoleSchema) GetId() int32
GetId returns the Id field value
func (*UserWithProjectRoleSchema) GetIdOk ¶
func (o *UserWithProjectRoleSchema) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UserWithProjectRoleSchema) GetImageUrl ¶
func (o *UserWithProjectRoleSchema) GetImageUrl() string
GetImageUrl returns the ImageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserWithProjectRoleSchema) GetImageUrlOk ¶
func (o *UserWithProjectRoleSchema) GetImageUrlOk() (*string, bool)
GetImageUrlOk returns a tuple with the ImageUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserWithProjectRoleSchema) GetIsAPI ¶
func (o *UserWithProjectRoleSchema) GetIsAPI() bool
GetIsAPI returns the IsAPI field value if set, zero value otherwise. Deprecated
func (*UserWithProjectRoleSchema) GetIsAPIOk ¶
func (o *UserWithProjectRoleSchema) GetIsAPIOk() (*bool, bool)
GetIsAPIOk returns a tuple with the IsAPI field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*UserWithProjectRoleSchema) GetName ¶
func (o *UserWithProjectRoleSchema) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UserWithProjectRoleSchema) GetNameOk ¶
func (o *UserWithProjectRoleSchema) GetNameOk() (*string, bool)
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 (*UserWithProjectRoleSchema) GetRoleId ¶
func (o *UserWithProjectRoleSchema) GetRoleId() int32
GetRoleId returns the RoleId field value if set, zero value otherwise.
func (*UserWithProjectRoleSchema) GetRoleIdOk ¶
func (o *UserWithProjectRoleSchema) GetRoleIdOk() (*int32, bool)
GetRoleIdOk returns a tuple with the RoleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserWithProjectRoleSchema) GetRoles ¶ added in v0.2.3
func (o *UserWithProjectRoleSchema) GetRoles() []int32
GetRoles returns the Roles field value if set, zero value otherwise.
func (*UserWithProjectRoleSchema) GetRolesOk ¶ added in v0.2.3
func (o *UserWithProjectRoleSchema) GetRolesOk() ([]int32, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserWithProjectRoleSchema) HasAddedAt ¶
func (o *UserWithProjectRoleSchema) HasAddedAt() bool
HasAddedAt returns a boolean if a field has been set.
func (*UserWithProjectRoleSchema) HasEmail ¶
func (o *UserWithProjectRoleSchema) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UserWithProjectRoleSchema) HasImageUrl ¶
func (o *UserWithProjectRoleSchema) HasImageUrl() bool
HasImageUrl returns a boolean if a field has been set.
func (*UserWithProjectRoleSchema) HasIsAPI ¶ added in v0.2.3
func (o *UserWithProjectRoleSchema) HasIsAPI() bool
HasIsAPI returns a boolean if a field has been set.
func (*UserWithProjectRoleSchema) HasName ¶
func (o *UserWithProjectRoleSchema) HasName() bool
HasName returns a boolean if a field has been set.
func (*UserWithProjectRoleSchema) HasRoleId ¶
func (o *UserWithProjectRoleSchema) HasRoleId() bool
HasRoleId returns a boolean if a field has been set.
func (*UserWithProjectRoleSchema) HasRoles ¶ added in v0.2.3
func (o *UserWithProjectRoleSchema) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (UserWithProjectRoleSchema) MarshalJSON ¶
func (o UserWithProjectRoleSchema) MarshalJSON() ([]byte, error)
func (*UserWithProjectRoleSchema) SetAddedAt ¶
func (o *UserWithProjectRoleSchema) SetAddedAt(v time.Time)
SetAddedAt gets a reference to the given time.Time and assigns it to the AddedAt field.
func (*UserWithProjectRoleSchema) SetEmail ¶
func (o *UserWithProjectRoleSchema) SetEmail(v string)
SetEmail gets a reference to the given NullableString and assigns it to the Email field.
func (*UserWithProjectRoleSchema) SetEmailNil ¶
func (o *UserWithProjectRoleSchema) SetEmailNil()
SetEmailNil sets the value for Email to be an explicit nil
func (*UserWithProjectRoleSchema) SetId ¶
func (o *UserWithProjectRoleSchema) SetId(v int32)
SetId sets field value
func (*UserWithProjectRoleSchema) SetImageUrl ¶
func (o *UserWithProjectRoleSchema) SetImageUrl(v string)
SetImageUrl gets a reference to the given NullableString and assigns it to the ImageUrl field.
func (*UserWithProjectRoleSchema) SetImageUrlNil ¶
func (o *UserWithProjectRoleSchema) SetImageUrlNil()
SetImageUrlNil sets the value for ImageUrl to be an explicit nil
func (*UserWithProjectRoleSchema) SetIsAPI ¶
func (o *UserWithProjectRoleSchema) SetIsAPI(v bool)
SetIsAPI gets a reference to the given bool and assigns it to the IsAPI field. Deprecated
func (*UserWithProjectRoleSchema) SetName ¶
func (o *UserWithProjectRoleSchema) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UserWithProjectRoleSchema) SetRoleId ¶
func (o *UserWithProjectRoleSchema) SetRoleId(v int32)
SetRoleId gets a reference to the given int32 and assigns it to the RoleId field.
func (*UserWithProjectRoleSchema) SetRoles ¶ added in v0.2.3
func (o *UserWithProjectRoleSchema) SetRoles(v []int32)
SetRoles gets a reference to the given []int32 and assigns it to the Roles field.
func (UserWithProjectRoleSchema) ToMap ¶
func (o UserWithProjectRoleSchema) ToMap() (map[string]interface{}, error)
func (*UserWithProjectRoleSchema) UnmarshalJSON ¶ added in v0.3.0
func (o *UserWithProjectRoleSchema) UnmarshalJSON(data []byte) (err error)
func (*UserWithProjectRoleSchema) UnsetEmail ¶
func (o *UserWithProjectRoleSchema) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
func (*UserWithProjectRoleSchema) UnsetImageUrl ¶
func (o *UserWithProjectRoleSchema) UnsetImageUrl()
UnsetImageUrl ensures that no value is present for ImageUrl, not even an explicit nil
type UsersAPIService ¶ added in v0.2.3
type UsersAPIService service
UsersAPIService UsersAPI service
func (*UsersAPIService) CreateGroup ¶ added in v0.2.3
func (a *UsersAPIService) CreateGroup(ctx context.Context) ApiCreateGroupRequest
CreateGroup Create a new group
**Enterprise feature**
Create a new user group for Role-Based Access Control
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateGroupRequest
func (*UsersAPIService) CreateGroupExecute ¶ added in v0.2.3
func (a *UsersAPIService) CreateGroupExecute(r ApiCreateGroupRequest) (*GroupSchema, *http.Response, error)
Execute executes the request
@return GroupSchema
func (*UsersAPIService) CreateRole ¶ added in v0.2.3
func (a *UsersAPIService) CreateRole(ctx context.Context) ApiCreateRoleRequest
CreateRole Create a new role
**Enterprise feature**
Create a new custom role for Role-Based Access Control
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateRoleRequest
func (*UsersAPIService) CreateRoleExecute ¶ added in v0.2.3
func (a *UsersAPIService) CreateRoleExecute(r ApiCreateRoleRequest) (*RoleWithVersionSchema, *http.Response, error)
Execute executes the request
@return RoleWithVersionSchema
func (*UsersAPIService) CreateUser ¶ added in v0.2.3
func (a *UsersAPIService) CreateUser(ctx context.Context) ApiCreateUserRequest
CreateUser Create a new user
Creates a new user with the given root role.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateUserRequest
func (*UsersAPIService) CreateUserExecute ¶ added in v0.2.3
func (a *UsersAPIService) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponseSchema, *http.Response, error)
Execute executes the request
@return CreateUserResponseSchema
func (*UsersAPIService) DeleteGroup ¶ added in v0.2.3
func (a *UsersAPIService) DeleteGroup(ctx context.Context, groupId string) ApiDeleteGroupRequest
DeleteGroup Delete a single group
**Enterprise feature**
Delete a single user group by group id
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId @return ApiDeleteGroupRequest
func (*UsersAPIService) DeleteGroupExecute ¶ added in v0.2.3
func (a *UsersAPIService) DeleteGroupExecute(r ApiDeleteGroupRequest) (*http.Response, error)
Execute executes the request
func (*UsersAPIService) DeleteRole ¶ added in v0.2.3
func (a *UsersAPIService) DeleteRole(ctx context.Context, roleId string) ApiDeleteRoleRequest
DeleteRole Delete a custom role
**Enterprise feature**
Delete a custom role by id. You cannot delete built-in roles or roles that are in use.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param roleId @return ApiDeleteRoleRequest
func (*UsersAPIService) DeleteRoleExecute ¶ added in v0.2.3
func (a *UsersAPIService) DeleteRoleExecute(r ApiDeleteRoleRequest) (*http.Response, error)
Execute executes the request
func (*UsersAPIService) DeleteUser ¶ added in v0.2.3
func (a *UsersAPIService) DeleteUser(ctx context.Context, id int32) ApiDeleteUserRequest
DeleteUser Delete a user
Deletes the user with the given userId
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id a user id @return ApiDeleteUserRequest
func (*UsersAPIService) DeleteUserExecute ¶ added in v0.2.3
func (a *UsersAPIService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)
Execute executes the request
func (*UsersAPIService) GetGroup ¶ added in v0.2.3
func (a *UsersAPIService) GetGroup(ctx context.Context, groupId string) ApiGetGroupRequest
GetGroup Get a single group
**Enterprise feature**
Get a single user group by group id
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId @return ApiGetGroupRequest
func (*UsersAPIService) GetGroupExecute ¶ added in v0.2.3
func (a *UsersAPIService) GetGroupExecute(r ApiGetGroupRequest) (*GroupSchema, *http.Response, error)
Execute executes the request
@return GroupSchema
func (*UsersAPIService) GetGroups ¶ added in v0.2.3
func (a *UsersAPIService) GetGroups(ctx context.Context) ApiGetGroupsRequest
GetGroups Get a list of groups
**Enterprise feature**
Get a list of user groups for Role-Based Access Control
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetGroupsRequest
func (*UsersAPIService) GetGroupsExecute ¶ added in v0.2.3
func (a *UsersAPIService) GetGroupsExecute(r ApiGetGroupsRequest) (*GroupsSchema, *http.Response, error)
Execute executes the request
@return GroupsSchema
func (*UsersAPIService) GetRoleById ¶ added in v0.2.3
func (a *UsersAPIService) GetRoleById(ctx context.Context, roleId string) ApiGetRoleByIdRequest
GetRoleById Get a single role
**Enterprise feature**
Get a single role by role id
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param roleId @return ApiGetRoleByIdRequest
func (*UsersAPIService) GetRoleByIdExecute ¶ added in v0.2.3
func (a *UsersAPIService) GetRoleByIdExecute(r ApiGetRoleByIdRequest) (*RoleWithPermissionsSchema, *http.Response, error)
Execute executes the request
@return RoleWithPermissionsSchema
func (*UsersAPIService) GetRoles ¶ added in v0.2.3
func (a *UsersAPIService) GetRoles(ctx context.Context) ApiGetRolesRequest
GetRoles Get a list of roles
**Enterprise feature**
Get a list of project, root and custom roles for Role-Based Access Control
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRolesRequest
func (*UsersAPIService) GetRolesExecute ¶ added in v0.2.3
func (a *UsersAPIService) GetRolesExecute(r ApiGetRolesRequest) (*RolesWithVersionSchema, *http.Response, error)
Execute executes the request
@return RolesWithVersionSchema
func (*UsersAPIService) GetUser ¶ added in v0.2.3
func (a *UsersAPIService) GetUser(ctx context.Context, id int32) ApiGetUserRequest
GetUser Get user
Will return a single user by id
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id a user id @return ApiGetUserRequest
func (*UsersAPIService) GetUserExecute ¶ added in v0.2.3
func (a *UsersAPIService) GetUserExecute(r ApiGetUserRequest) (*UserSchema, *http.Response, error)
Execute executes the request
@return UserSchema
func (*UsersAPIService) SearchUsers ¶ added in v0.2.3
func (a *UsersAPIService) SearchUsers(ctx context.Context) ApiSearchUsersRequest
SearchUsers Search users
It will preform a simple search based on name and email matching the given query. Requires minimum 2 characters @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSearchUsersRequest
func (*UsersAPIService) SearchUsersExecute ¶ added in v0.2.3
func (a *UsersAPIService) SearchUsersExecute(r ApiSearchUsersRequest) ([]UserSchema, *http.Response, error)
Execute executes the request
@return []UserSchema
func (*UsersAPIService) UpdateGroup ¶ added in v0.2.3
func (a *UsersAPIService) UpdateGroup(ctx context.Context, groupId string) ApiUpdateGroupRequest
UpdateGroup Update a group
**Enterprise feature**
Update existing user group by group id. It overrides previous group details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId @return ApiUpdateGroupRequest
func (*UsersAPIService) UpdateGroupExecute ¶ added in v0.2.3
func (a *UsersAPIService) UpdateGroupExecute(r ApiUpdateGroupRequest) (*GroupSchema, *http.Response, error)
Execute executes the request
@return GroupSchema
func (*UsersAPIService) UpdateRole ¶ added in v0.2.3
func (a *UsersAPIService) UpdateRole(ctx context.Context, roleId string) ApiUpdateRoleRequest
UpdateRole Update a role
**Enterprise feature**
Update a custom role by role id
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param roleId @return ApiUpdateRoleRequest
func (*UsersAPIService) UpdateRoleExecute ¶ added in v0.2.3
func (a *UsersAPIService) UpdateRoleExecute(r ApiUpdateRoleRequest) (*RoleWithVersionSchema, *http.Response, error)
Execute executes the request
@return RoleWithVersionSchema
func (*UsersAPIService) UpdateUser ¶ added in v0.2.3
func (a *UsersAPIService) UpdateUser(ctx context.Context, id int32) ApiUpdateUserRequest
UpdateUser Update a user
Only the explicitly specified fields get updated.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id a user id @return ApiUpdateUserRequest
func (*UsersAPIService) UpdateUserExecute ¶ added in v0.2.3
func (a *UsersAPIService) UpdateUserExecute(r ApiUpdateUserRequest) (*CreateUserResponseSchema, *http.Response, error)
Execute executes the request
@return CreateUserResponseSchema
Source Files
¶
- api_api_tokens.go
- api_auth.go
- api_change_requests.go
- api_context.go
- api_environments.go
- api_projects.go
- api_service_accounts.go
- api_users.go
- client.go
- configuration.go
- model_admin_permission_schema.go
- model_admin_permissions_schema.go
- model_admin_permissions_schema_permissions.go
- model_admin_permissions_schema_permissions_environments_inner.go
- model_api_token_schema.go
- model_api_tokens_schema.go
- model_change_request_environment_config_schema.go
- model_constraint_schema.go
- model_context_field_schema.go
- model_create_api_token_schema.go
- model_create_api_token_schema_one_of.go
- model_create_context_field_schema.go
- model_create_environment_schema.go
- model_create_feature_naming_pattern_schema.go
- model_create_feature_strategy_schema.go
- model_create_group_409_response.go
- model_create_group_schema.go
- model_create_group_schema_users_inner.go
- model_create_group_schema_users_inner_user.go
- model_create_pat_schema.go
- model_create_project_400_response.go
- model_create_project_415_response.go
- model_create_project_schema.go
- model_create_project_schema_change_request_environments_inner.go
- model_create_role_with_permissions_schema.go
- model_create_role_with_permissions_schema_any_of.go
- model_create_role_with_permissions_schema_any_of_1.go
- model_create_role_with_permissions_schema_any_of_1_permissions_inner.go
- model_create_role_with_permissions_schema_any_of_permissions_inner.go
- model_create_service_account_schema.go
- model_create_strategy_variant_schema.go
- model_create_strategy_variant_schema_payload.go
- model_create_user_response_schema.go
- model_create_user_response_schema_root_role.go
- model_create_user_schema.go
- model_create_user_schema_root_role.go
- model_environment_project_schema.go
- model_environment_schema.go
- model_environments_project_schema.go
- model_environments_schema.go
- model_feature_strategy_schema.go
- model_get_projects_401_response.go
- model_get_projects_403_response.go
- model_group_schema.go
- model_group_user_model_schema.go
- model_group_with_project_role_schema.go
- model_groups_schema.go
- model_legal_value_schema.go
- model_oidc_settings_response_schema.go
- model_oidc_settings_schema.go
- model_oidc_settings_schema_one_of.go
- model_oidc_settings_schema_one_of_1.go
- model_password_auth_schema.go
- model_pat_schema.go
- model_pats_schema.go
- model_project_access_configuration_schema.go
- model_project_access_configuration_schema_roles_inner.go
- model_project_access_schema.go
- model_project_created_schema.go
- model_project_created_schema_change_request_environments_inner.go
- model_project_environment_schema.go
- model_project_link_template_schema.go
- model_project_schema.go
- model_projects_schema.go
- model_role_schema.go
- model_role_with_permissions_schema.go
- model_role_with_version_schema.go
- model_roles_with_version_schema.go
- model_saml_settings_response_schema.go
- model_saml_settings_schema.go
- model_saml_settings_schema_one_of.go
- model_saml_settings_schema_one_of_1.go
- model_service_account_schema.go
- model_service_accounts_schema.go
- model_strategy_variant_schema.go
- model_update_api_token_schema.go
- model_update_change_request_environment_config_schema.go
- model_update_context_field_schema.go
- model_update_environment_schema.go
- model_update_project_404_response.go
- model_update_project_enterprise_settings_schema.go
- model_update_project_schema.go
- model_update_service_account_schema.go
- model_update_user_schema.go
- model_user_schema.go
- model_user_with_project_role_schema.go
- response.go
- utils.go