client

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 21 Imported by: 0

README

Go API client for client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 7.5.0
  • Package version: 1.0.0
  • Generator version: 7.7.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import client "github.com/Unleash/unleash-server-api-go"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value client.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), client.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value client.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), client.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using client.ContextOperationServerIndices and client.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), client.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), client.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://unleash.example.com

Class Method HTTP request Description
APITokensAPI CreateApiToken Post /api/admin/api-tokens Create API token
APITokensAPI DeleteApiToken Delete /api/admin/api-tokens/{token} Delete API token
APITokensAPI GetAllApiTokens Get /api/admin/api-tokens Get API tokens
APITokensAPI GetApiTokensByName Get /api/admin/api-tokens/{name} Get API tokens by name
APITokensAPI UpdateApiToken Put /api/admin/api-tokens/{token} Update API token
AuthAPI GetOidcSettings Get /api/admin/auth/oidc/settings Get OIDC auth settings
AuthAPI GetPermissions Get /api/admin/permissions Gets available permissions
AuthAPI GetSamlSettings Get /api/admin/auth/saml/settings Get SAML auth settings
AuthAPI GetSimpleSettings Get /api/admin/auth/simple/settings Get Simple auth settings
AuthAPI SetOidcSettings Post /api/admin/auth/oidc/settings Set OIDC settings
AuthAPI SetSamlSettings Post /api/admin/auth/saml/settings Update SAML auth settings
AuthAPI SetSimpleSettings Post /api/admin/auth/simple/settings Update Simple auth settings
ChangeRequestsAPI GetProjectChangeRequestConfig Get /api/admin/projects/{projectId}/change-requests/config Retrieves change request configuration for a project
ChangeRequestsAPI UpdateProjectChangeRequestConfig Put /api/admin/projects/{projectId}/environments/{environment}/change-requests/config Updates change request configuration for an environment in the project
ContextAPI CreateContextField Post /api/admin/context Create a context field
ContextAPI DeleteContextField Delete /api/admin/context/{contextField} Delete an existing context field
ContextAPI GetContextField Get /api/admin/context/{contextField} Gets context field
ContextAPI GetContextFields Get /api/admin/context Gets configured context fields
ContextAPI UpdateContextField Put /api/admin/context/{contextField} Update an existing context field
EnvironmentsAPI CreateEnvironment Post /api/admin/environments Creates a new environment
EnvironmentsAPI GetAllEnvironments Get /api/admin/environments Get all environments
EnvironmentsAPI GetEnvironment Get /api/admin/environments/{name} Get the environment with `name`
EnvironmentsAPI GetProjectEnvironments Get /api/admin/environments/project/{projectId} Get the environments available to a project
EnvironmentsAPI RemoveEnvironment Delete /api/admin/environments/{name} Deletes an environment by name
EnvironmentsAPI UpdateEnvironment Put /api/admin/environments/update/{name} Updates an environment by name
ProjectsAPI AddEnvironmentToProject Post /api/admin/projects/{projectId}/environments Add an environment to a project.
ProjectsAPI CreateProject Post /api/admin/projects Create project
ProjectsAPI DeleteProject Delete /api/admin/projects/{projectId} Delete project
ProjectsAPI GetProjectAccess Get /api/admin/projects/{projectId}/access Get users and groups in project
ProjectsAPI GetProjects Get /api/admin/projects Get a list of all projects.
ProjectsAPI RemoveEnvironmentFromProject Delete /api/admin/projects/{projectId}/environments/{environment} Remove an environment from a project.
ProjectsAPI SetProjectAccess Put /api/admin/projects/{projectId}/access Set users and groups to roles in the current project
ProjectsAPI UpdateProject Put /api/admin/projects/{projectId} Update project
ProjectsAPI UpdateProjectEnterpriseSettings Put /api/admin/projects/{projectId}/settings Update project enterprise settings
ServiceAccountsAPI CreateServiceAccount Post /api/admin/service-account Create a service account.
ServiceAccountsAPI CreateServiceAccountToken Post /api/admin/service-account/{id}/token Create a token for a service account.
ServiceAccountsAPI DeleteServiceAccount Delete /api/admin/service-account/{id} Delete a service account.
ServiceAccountsAPI DeleteServiceAccountToken Delete /api/admin/service-account/{id}/token/{tokenId} Delete a token for a service account.
ServiceAccountsAPI GetServiceAccountTokens Get /api/admin/service-account/{id}/token List all tokens for a service account.
ServiceAccountsAPI GetServiceAccounts Get /api/admin/service-account List service accounts.
ServiceAccountsAPI UpdateServiceAccount Put /api/admin/service-account/{id} Update a service account.
UsersAPI CreateGroup Post /api/admin/groups Create a new group
UsersAPI CreateRole Post /api/admin/roles Create a new role
UsersAPI CreateUser Post /api/admin/user-admin Create a new user
UsersAPI DeleteGroup Delete /api/admin/groups/{groupId} Delete a single group
UsersAPI DeleteRole Delete /api/admin/roles/{roleId} Delete a custom role
UsersAPI DeleteUser Delete /api/admin/user-admin/{id} Delete a user
UsersAPI GetGroup Get /api/admin/groups/{groupId} Get a single group
UsersAPI GetGroups Get /api/admin/groups Get a list of groups
UsersAPI GetRoleById Get /api/admin/roles/{roleId} Get a single role
UsersAPI GetRoles Get /api/admin/roles Get a list of roles
UsersAPI GetUser Get /api/admin/user-admin/{id} Get user
UsersAPI SearchUsers Get /api/admin/user-admin/search Search users
UsersAPI UpdateGroup Put /api/admin/groups/{groupId} Update a group
UsersAPI UpdateRole Put /api/admin/roles/{roleId} Update a role
UsersAPI UpdateUser Put /api/admin/user-admin/{id} Update a user

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

apiKey
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		client.ContextAPIKeys,
		map[string]client.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)
bearerToken
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), client.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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

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

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

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

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

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

GetPermissions returns the Permissions field value

func (*AdminPermissionsSchema) GetPermissionsOk

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

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

GetEnvironments returns the Environments field value

func (*AdminPermissionsSchemaPermissions) GetEnvironmentsOk

GetEnvironmentsOk returns a tuple with the Environments field value and a boolean to check if the value has been set.

func (*AdminPermissionsSchemaPermissions) GetProject

GetProject returns the Project field value

func (*AdminPermissionsSchemaPermissions) GetProjectOk

GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.

func (*AdminPermissionsSchemaPermissions) GetRoot

GetRoot returns the Root field value if set, zero value otherwise.

func (*AdminPermissionsSchemaPermissions) GetRootOk

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

HasRoot returns a boolean if a field has been set.

func (AdminPermissionsSchemaPermissions) MarshalJSON

func (o AdminPermissionsSchemaPermissions) MarshalJSON() ([]byte, error)

func (*AdminPermissionsSchemaPermissions) SetEnvironments

SetEnvironments sets field value

func (*AdminPermissionsSchemaPermissions) SetProject

SetProject sets field value

func (*AdminPermissionsSchemaPermissions) SetRoot

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

GetName returns the Name field value

func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) GetNameOk

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) GetPermissions

GetPermissions returns the Permissions field value

func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) GetPermissionsOk

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (AdminPermissionsSchemaPermissionsEnvironmentsInner) MarshalJSON

func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) SetName

SetName sets field value

func (*AdminPermissionsSchemaPermissionsEnvironmentsInner) SetPermissions

SetPermissions sets field value

func (AdminPermissionsSchemaPermissionsEnvironmentsInner) ToMap

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 (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

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

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

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

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

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

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

type ApiCreateServiceAccountTokenRequest

type ApiCreateServiceAccountTokenRequest struct {
	ApiService *ServiceAccountsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateServiceAccountTokenRequest) CreatePatSchema added in v0.3.0

#/components/schemas/createPatSchema

func (ApiCreateServiceAccountTokenRequest) Execute

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

type ApiDeleteApiTokenRequest

type ApiDeleteApiTokenRequest struct {
	ApiService *APITokensAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteApiTokenRequest) Execute

func (r ApiDeleteApiTokenRequest) Execute() (*http.Response, error)

type ApiDeleteContextFieldRequest

type ApiDeleteContextFieldRequest struct {
	ApiService *ContextAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteContextFieldRequest) Execute

type ApiDeleteGroupRequest

type ApiDeleteGroupRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteGroupRequest) Execute

func (r ApiDeleteGroupRequest) Execute() (*http.Response, error)

type ApiDeleteProjectRequest

type ApiDeleteProjectRequest struct {
	ApiService *ProjectsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteProjectRequest) Execute

func (r ApiDeleteProjectRequest) Execute() (*http.Response, error)

type ApiDeleteRoleRequest

type ApiDeleteRoleRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteRoleRequest) Execute

func (r ApiDeleteRoleRequest) Execute() (*http.Response, error)

type ApiDeleteServiceAccountRequest

type ApiDeleteServiceAccountRequest struct {
	ApiService *ServiceAccountsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteServiceAccountRequest) Execute

type ApiDeleteServiceAccountTokenRequest

type ApiDeleteServiceAccountTokenRequest struct {
	ApiService *ServiceAccountsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteServiceAccountTokenRequest) Execute

type ApiDeleteUserRequest

type ApiDeleteUserRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteUserRequest) Execute

func (r ApiDeleteUserRequest) Execute() (*http.Response, error)

type ApiGetAllApiTokensRequest

type ApiGetAllApiTokensRequest struct {
	ApiService *APITokensAPIService
	// contains filtered or unexported fields
}

func (ApiGetAllApiTokensRequest) Execute

type ApiGetAllEnvironmentsRequest

type ApiGetAllEnvironmentsRequest struct {
	ApiService *EnvironmentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAllEnvironmentsRequest) Execute

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

type ApiGetContextFieldRequest

type ApiGetContextFieldRequest struct {
	ApiService *ContextAPIService
	// contains filtered or unexported fields
}

func (ApiGetContextFieldRequest) Execute

type ApiGetContextFieldsRequest

type ApiGetContextFieldsRequest struct {
	ApiService *ContextAPIService
	// contains filtered or unexported fields
}

func (ApiGetContextFieldsRequest) Execute

func (ApiGetContextFieldsRequest) Include added in v0.7.0

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

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

type ApiGetOidcSettingsRequest

type ApiGetOidcSettingsRequest struct {
	ApiService *AuthAPIService
	// contains filtered or unexported fields
}

func (ApiGetOidcSettingsRequest) Execute

type ApiGetPermissionsRequest

type ApiGetPermissionsRequest struct {
	ApiService *AuthAPIService
	// contains filtered or unexported fields
}

func (ApiGetPermissionsRequest) Execute

type ApiGetProjectAccessRequest

type ApiGetProjectAccessRequest struct {
	ApiService *ProjectsAPIService
	// contains filtered or unexported fields
}

func (ApiGetProjectAccessRequest) Execute

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

type ApiGetProjectEnvironmentsRequest

type ApiGetProjectEnvironmentsRequest struct {
	ApiService *EnvironmentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetProjectEnvironmentsRequest) Execute

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

type ApiGetRoleByIdRequest

type ApiGetRoleByIdRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiGetRoleByIdRequest) Execute

type ApiGetRolesRequest

type ApiGetRolesRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiGetRolesRequest) Execute

type ApiGetSamlSettingsRequest

type ApiGetSamlSettingsRequest struct {
	ApiService *AuthAPIService
	// contains filtered or unexported fields
}

func (ApiGetSamlSettingsRequest) Execute

type ApiGetServiceAccountTokensRequest

type ApiGetServiceAccountTokensRequest struct {
	ApiService *ServiceAccountsAPIService
	// contains filtered or unexported fields
}

func (ApiGetServiceAccountTokensRequest) Execute

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

type ApiGetSimpleSettingsRequest

type ApiGetSimpleSettingsRequest struct {
	ApiService *AuthAPIService
	// contains filtered or unexported fields
}

func (ApiGetSimpleSettingsRequest) Execute

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
}

func (ApiRemoveEnvironmentFromProjectRequest) Execute

type ApiRemoveEnvironmentRequest

type ApiRemoveEnvironmentRequest struct {
	ApiService *EnvironmentsAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveEnvironmentRequest) Execute

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

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 (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 (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 (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 (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 (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 (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

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 (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 (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

type ApiUpdateServiceAccountRequest

type ApiUpdateServiceAccountRequest struct {
	ApiService *ServiceAccountsAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateServiceAccountRequest) Execute

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 (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

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

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

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

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

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

GetType returns the Type field value

func (*ChangeRequestEnvironmentConfigSchema) GetTypeOk added in v0.2.3

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

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

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

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

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

Execute executes the request

@return ContextFieldSchema

func (*ContextAPIService) GetContextFields added in v0.2.3

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

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

GetVariants returns the Variants field value if set, zero value otherwise.

func (*CreateFeatureStrategySchema) GetVariantsOk

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

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

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

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

GetUser returns the User field value

func (*CreateGroupSchemaUsersInner) GetUserOk

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

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

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

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

GetName returns the Name field value

func (*CreateProjectSchemaChangeRequestEnvironmentsInner) GetNameOk added in v0.3.0

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 (*CreateProjectSchemaChangeRequestEnvironmentsInner) SetName added in v0.3.0

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

GetName returns the Name field value

func (*CreateRoleWithPermissionsSchemaAnyOf) GetNameOk added in v0.2.8

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

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*CreateRoleWithPermissionsSchemaAnyOf) GetPermissionsOk added in v0.2.8

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

GetType returns the Type field value if set, zero value otherwise.

func (*CreateRoleWithPermissionsSchemaAnyOf) GetTypeOk added in v0.2.8

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

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

SetName sets field value

func (*CreateRoleWithPermissionsSchemaAnyOf) SetPermissions added in v0.2.8

SetPermissions gets a reference to the given []CreateRoleWithPermissionsSchemaAnyOfPermissionsInner and assigns it to the Permissions field.

func (*CreateRoleWithPermissionsSchemaAnyOf) SetType added in v0.2.8

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

GetName returns the Name field value

func (*CreateRoleWithPermissionsSchemaAnyOf1) GetNameOk added in v0.2.8

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

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*CreateRoleWithPermissionsSchemaAnyOf1) GetPermissionsOk added in v0.2.8

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

GetType returns the Type field value if set, zero value otherwise.

func (*CreateRoleWithPermissionsSchemaAnyOf1) GetTypeOk added in v0.2.8

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

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

SetName sets field value

func (*CreateRoleWithPermissionsSchemaAnyOf1) SetPermissions added in v0.2.8

SetPermissions gets a reference to the given []CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner and assigns it to the Permissions field.

func (*CreateRoleWithPermissionsSchemaAnyOf1) SetType added in v0.2.8

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

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

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

GetId returns the Id field value

func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetIdOk added in v0.2.8

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

GetName returns the Name field value if set, zero value otherwise.

func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) GetNameOk added in v0.2.8

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

HasEnvironment returns a boolean if a field has been set.

func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) HasName added in v0.2.8

HasName returns a boolean if a field has been set.

func (CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) MarshalJSON added in v0.2.8

func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetEnvironment added in v0.2.8

SetEnvironment gets a reference to the given NullableString and assigns it to the Environment field.

func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetEnvironmentNil added in v0.5.1

SetEnvironmentNil sets the value for Environment to be an explicit nil

func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetId added in v0.2.8

SetId sets field value

func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) SetName added in v0.2.8

SetName gets a reference to the given string and assigns it to the Name field.

func (CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) ToMap added in v0.2.8

func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnmarshalJSON added in v0.3.0

func (o *CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnmarshalJSON(data []byte) (err error)

func (*CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnsetEnvironment added in v0.5.1

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

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

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

GetName returns the Name field value

func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) GetNameOk added in v0.2.8

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

HasEnvironment returns a boolean if a field has been set.

func (CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) MarshalJSON added in v0.2.8

func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetEnvironment added in v0.2.8

SetEnvironment gets a reference to the given NullableString and assigns it to the Environment field.

func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetEnvironmentNil added in v0.5.1

SetEnvironmentNil sets the value for Environment to be an explicit nil

func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) SetName added in v0.2.8

SetName sets field value

func (CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) ToMap added in v0.2.8

func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnmarshalJSON added in v0.3.0

func (o *CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnmarshalJSON(data []byte) (err error)

func (*CreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnsetEnvironment added in v0.5.1

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

GetPayload returns the Payload field value if set, zero value otherwise.

func (*CreateStrategyVariantSchema) GetPayloadOk

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

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

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

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

SetType sets field value

func (*CreateStrategyVariantSchemaPayload) SetValue added in v0.5.4

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 (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

GetRootRole returns the RootRole field value if set, zero value otherwise.

func (*CreateUserResponseSchema) GetRootRoleOk

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 (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 (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

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

type CreateUserResponseSchemaRootRole struct {
	Int32  *int32
	String *string
}

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

type CreateUserSchemaRootRole struct {
	Int32  *int32
	String *string
}

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

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

Execute executes the request

@return EnvironmentSchema

func (*EnvironmentsAPIService) GetAllEnvironments added in v0.2.3

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

Execute executes the request

@return EnvironmentsSchema

func (*EnvironmentsAPIService) GetEnvironment added in v0.2.3

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

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

Execute executes the request

@return EnvironmentsProjectSchema

func (*EnvironmentsAPIService) RemoveEnvironment added in v0.2.3

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

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

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) SetName

func (o *GroupSchema) SetName(v string)

SetName sets field value

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

GetUsers returns the Users field value if set, zero value otherwise.

func (*GroupWithProjectRoleSchema) GetUsersOk added in v0.2.3

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

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableAdminPermissionSchema

type NullableAdminPermissionSchema struct {
	// contains filtered or unexported fields
}

func (NullableAdminPermissionSchema) Get

func (NullableAdminPermissionSchema) IsSet

func (NullableAdminPermissionSchema) MarshalJSON

func (v NullableAdminPermissionSchema) MarshalJSON() ([]byte, error)

func (*NullableAdminPermissionSchema) Set

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 (NullableAdminPermissionsSchema) Get

func (NullableAdminPermissionsSchema) IsSet

func (NullableAdminPermissionsSchema) MarshalJSON

func (v NullableAdminPermissionsSchema) MarshalJSON() ([]byte, error)

func (*NullableAdminPermissionsSchema) Set

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 (NullableAdminPermissionsSchemaPermissions) Get

func (NullableAdminPermissionsSchemaPermissions) IsSet

func (NullableAdminPermissionsSchemaPermissions) MarshalJSON

func (*NullableAdminPermissionsSchemaPermissions) Set

func (*NullableAdminPermissionsSchemaPermissions) UnmarshalJSON

func (v *NullableAdminPermissionsSchemaPermissions) UnmarshalJSON(src []byte) error

func (*NullableAdminPermissionsSchemaPermissions) Unset

type NullableAdminPermissionsSchemaPermissionsEnvironmentsInner

type NullableAdminPermissionsSchemaPermissionsEnvironmentsInner struct {
	// contains filtered or unexported fields
}

func (NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) Get

func (NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) IsSet

func (NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) MarshalJSON

func (*NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) Set

func (*NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) UnmarshalJSON

func (*NullableAdminPermissionsSchemaPermissionsEnvironmentsInner) Unset

type NullableApiTokenSchema

type NullableApiTokenSchema struct {
	// contains filtered or unexported fields
}

func NewNullableApiTokenSchema

func NewNullableApiTokenSchema(val *ApiTokenSchema) *NullableApiTokenSchema

func (NullableApiTokenSchema) Get

func (NullableApiTokenSchema) IsSet

func (v NullableApiTokenSchema) IsSet() bool

func (NullableApiTokenSchema) MarshalJSON

func (v NullableApiTokenSchema) MarshalJSON() ([]byte, error)

func (*NullableApiTokenSchema) Set

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 (NullableApiTokensSchema) IsSet

func (v NullableApiTokensSchema) IsSet() bool

func (NullableApiTokensSchema) MarshalJSON

func (v NullableApiTokensSchema) MarshalJSON() ([]byte, error)

func (*NullableApiTokensSchema) Set

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) Get added in v0.2.3

func (NullableChangeRequestEnvironmentConfigSchema) IsSet added in v0.2.3

func (NullableChangeRequestEnvironmentConfigSchema) MarshalJSON added in v0.2.3

func (*NullableChangeRequestEnvironmentConfigSchema) Set added in v0.2.3

func (*NullableChangeRequestEnvironmentConfigSchema) UnmarshalJSON added in v0.2.3

func (*NullableChangeRequestEnvironmentConfigSchema) Unset added in v0.2.3

type NullableConstraintSchema

type NullableConstraintSchema struct {
	// contains filtered or unexported fields
}

func NewNullableConstraintSchema

func NewNullableConstraintSchema(val *ConstraintSchema) *NullableConstraintSchema

func (NullableConstraintSchema) Get

func (NullableConstraintSchema) IsSet

func (v NullableConstraintSchema) IsSet() bool

func (NullableConstraintSchema) MarshalJSON

func (v NullableConstraintSchema) MarshalJSON() ([]byte, error)

func (*NullableConstraintSchema) Set

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 (NullableContextFieldSchema) IsSet

func (v NullableContextFieldSchema) IsSet() bool

func (NullableContextFieldSchema) MarshalJSON

func (v NullableContextFieldSchema) MarshalJSON() ([]byte, error)

func (*NullableContextFieldSchema) Set

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 (NullableCreateApiTokenSchema) IsSet

func (NullableCreateApiTokenSchema) MarshalJSON

func (v NullableCreateApiTokenSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateApiTokenSchema) Set

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 (NullableCreateApiTokenSchemaOneOf) IsSet added in v0.2.3

func (NullableCreateApiTokenSchemaOneOf) MarshalJSON added in v0.2.3

func (v NullableCreateApiTokenSchemaOneOf) MarshalJSON() ([]byte, error)

func (*NullableCreateApiTokenSchemaOneOf) Set added in v0.2.3

func (*NullableCreateApiTokenSchemaOneOf) UnmarshalJSON added in v0.2.3

func (v *NullableCreateApiTokenSchemaOneOf) UnmarshalJSON(src []byte) error

func (*NullableCreateApiTokenSchemaOneOf) Unset added in v0.2.3

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 (NullableCreateContextFieldSchema) IsSet added in v0.2.3

func (NullableCreateContextFieldSchema) MarshalJSON added in v0.2.3

func (v NullableCreateContextFieldSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateContextFieldSchema) Set added in v0.2.3

func (*NullableCreateContextFieldSchema) UnmarshalJSON added in v0.2.3

func (v *NullableCreateContextFieldSchema) UnmarshalJSON(src []byte) error

func (*NullableCreateContextFieldSchema) Unset added in v0.2.3

type NullableCreateEnvironmentSchema

type NullableCreateEnvironmentSchema struct {
	// contains filtered or unexported fields
}

func (NullableCreateEnvironmentSchema) Get

func (NullableCreateEnvironmentSchema) IsSet

func (NullableCreateEnvironmentSchema) MarshalJSON

func (v NullableCreateEnvironmentSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateEnvironmentSchema) Set

func (*NullableCreateEnvironmentSchema) UnmarshalJSON

func (v *NullableCreateEnvironmentSchema) UnmarshalJSON(src []byte) error

func (*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) Get added in v0.2.3

func (NullableCreateFeatureNamingPatternSchema) IsSet added in v0.2.3

func (NullableCreateFeatureNamingPatternSchema) MarshalJSON added in v0.2.3

func (*NullableCreateFeatureNamingPatternSchema) Set added in v0.2.3

func (*NullableCreateFeatureNamingPatternSchema) UnmarshalJSON added in v0.2.3

func (v *NullableCreateFeatureNamingPatternSchema) UnmarshalJSON(src []byte) error

func (*NullableCreateFeatureNamingPatternSchema) Unset added in v0.2.3

type NullableCreateFeatureStrategySchema

type NullableCreateFeatureStrategySchema struct {
	// contains filtered or unexported fields
}

func (NullableCreateFeatureStrategySchema) Get

func (NullableCreateFeatureStrategySchema) IsSet

func (NullableCreateFeatureStrategySchema) MarshalJSON

func (v NullableCreateFeatureStrategySchema) MarshalJSON() ([]byte, error)

func (*NullableCreateFeatureStrategySchema) Set

func (*NullableCreateFeatureStrategySchema) UnmarshalJSON

func (v *NullableCreateFeatureStrategySchema) UnmarshalJSON(src []byte) error

func (*NullableCreateFeatureStrategySchema) Unset

type NullableCreateGroup409Response

type NullableCreateGroup409Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateGroup409Response) Get

func (NullableCreateGroup409Response) IsSet

func (NullableCreateGroup409Response) MarshalJSON

func (v NullableCreateGroup409Response) MarshalJSON() ([]byte, error)

func (*NullableCreateGroup409Response) Set

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 (NullableCreateGroupSchema) IsSet

func (v NullableCreateGroupSchema) IsSet() bool

func (NullableCreateGroupSchema) MarshalJSON

func (v NullableCreateGroupSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateGroupSchema) Set

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 (NullableCreateGroupSchemaUsersInner) Get

func (NullableCreateGroupSchemaUsersInner) IsSet

func (NullableCreateGroupSchemaUsersInner) MarshalJSON

func (v NullableCreateGroupSchemaUsersInner) MarshalJSON() ([]byte, error)

func (*NullableCreateGroupSchemaUsersInner) Set

func (*NullableCreateGroupSchemaUsersInner) UnmarshalJSON

func (v *NullableCreateGroupSchemaUsersInner) UnmarshalJSON(src []byte) error

func (*NullableCreateGroupSchemaUsersInner) Unset

type NullableCreateGroupSchemaUsersInnerUser

type NullableCreateGroupSchemaUsersInnerUser struct {
	// contains filtered or unexported fields
}

func (NullableCreateGroupSchemaUsersInnerUser) Get

func (NullableCreateGroupSchemaUsersInnerUser) IsSet

func (NullableCreateGroupSchemaUsersInnerUser) MarshalJSON

func (v NullableCreateGroupSchemaUsersInnerUser) MarshalJSON() ([]byte, error)

func (*NullableCreateGroupSchemaUsersInnerUser) Set

func (*NullableCreateGroupSchemaUsersInnerUser) UnmarshalJSON

func (v *NullableCreateGroupSchemaUsersInnerUser) UnmarshalJSON(src []byte) error

func (*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 (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 (*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 (NullableCreateProject400Response) IsSet added in v0.2.4

func (NullableCreateProject400Response) MarshalJSON added in v0.2.4

func (v NullableCreateProject400Response) MarshalJSON() ([]byte, error)

func (*NullableCreateProject400Response) Set added in v0.2.4

func (*NullableCreateProject400Response) UnmarshalJSON added in v0.2.4

func (v *NullableCreateProject400Response) UnmarshalJSON(src []byte) error

func (*NullableCreateProject400Response) Unset added in v0.2.4

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 (NullableCreateProject415Response) IsSet added in v0.2.4

func (NullableCreateProject415Response) MarshalJSON added in v0.2.4

func (v NullableCreateProject415Response) MarshalJSON() ([]byte, error)

func (*NullableCreateProject415Response) Set added in v0.2.4

func (*NullableCreateProject415Response) UnmarshalJSON added in v0.2.4

func (v *NullableCreateProject415Response) UnmarshalJSON(src []byte) error

func (*NullableCreateProject415Response) Unset added in v0.2.4

type NullableCreateProjectSchema

type NullableCreateProjectSchema struct {
	// contains filtered or unexported fields
}

func NewNullableCreateProjectSchema

func NewNullableCreateProjectSchema(val *CreateProjectSchema) *NullableCreateProjectSchema

func (NullableCreateProjectSchema) Get

func (NullableCreateProjectSchema) IsSet

func (NullableCreateProjectSchema) MarshalJSON

func (v NullableCreateProjectSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateProjectSchema) Set

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 (NullableCreateProjectSchemaChangeRequestEnvironmentsInner) Get added in v0.3.0

func (NullableCreateProjectSchemaChangeRequestEnvironmentsInner) IsSet added in v0.3.0

func (NullableCreateProjectSchemaChangeRequestEnvironmentsInner) MarshalJSON added in v0.3.0

func (*NullableCreateProjectSchemaChangeRequestEnvironmentsInner) Set added in v0.3.0

func (*NullableCreateProjectSchemaChangeRequestEnvironmentsInner) UnmarshalJSON added in v0.3.0

func (*NullableCreateProjectSchemaChangeRequestEnvironmentsInner) Unset added in v0.3.0

type NullableCreateRoleWithPermissionsSchema

type NullableCreateRoleWithPermissionsSchema struct {
	// contains filtered or unexported fields
}

func (NullableCreateRoleWithPermissionsSchema) Get

func (NullableCreateRoleWithPermissionsSchema) IsSet

func (NullableCreateRoleWithPermissionsSchema) MarshalJSON

func (v NullableCreateRoleWithPermissionsSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateRoleWithPermissionsSchema) Set

func (*NullableCreateRoleWithPermissionsSchema) UnmarshalJSON

func (v *NullableCreateRoleWithPermissionsSchema) UnmarshalJSON(src []byte) error

func (*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) Get added in v0.2.8

func (NullableCreateRoleWithPermissionsSchemaAnyOf) IsSet added in v0.2.8

func (NullableCreateRoleWithPermissionsSchemaAnyOf) MarshalJSON added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOf) Set added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOf) UnmarshalJSON added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOf) Unset added in v0.2.8

type NullableCreateRoleWithPermissionsSchemaAnyOf1 added in v0.2.8

type NullableCreateRoleWithPermissionsSchemaAnyOf1 struct {
	// contains filtered or unexported fields
}

func (NullableCreateRoleWithPermissionsSchemaAnyOf1) Get added in v0.2.8

func (NullableCreateRoleWithPermissionsSchemaAnyOf1) IsSet added in v0.2.8

func (NullableCreateRoleWithPermissionsSchemaAnyOf1) MarshalJSON added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOf1) Set added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOf1) UnmarshalJSON added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOf1) Unset added in v0.2.8

type NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner added in v0.2.8

type NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner struct {
	// contains filtered or unexported fields
}

func (NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) Get added in v0.2.8

func (NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) IsSet added in v0.2.8

func (NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) MarshalJSON added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) Set added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) UnmarshalJSON added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOf1PermissionsInner) Unset added in v0.2.8

type NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner added in v0.2.8

type NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner struct {
	// contains filtered or unexported fields
}

func (NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) Get added in v0.2.8

func (NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) IsSet added in v0.2.8

func (NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) MarshalJSON added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) Set added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) UnmarshalJSON added in v0.2.8

func (*NullableCreateRoleWithPermissionsSchemaAnyOfPermissionsInner) Unset added in v0.2.8

type NullableCreateServiceAccountSchema

type NullableCreateServiceAccountSchema struct {
	// contains filtered or unexported fields
}

func (NullableCreateServiceAccountSchema) Get

func (NullableCreateServiceAccountSchema) IsSet

func (NullableCreateServiceAccountSchema) MarshalJSON

func (v NullableCreateServiceAccountSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateServiceAccountSchema) Set

func (*NullableCreateServiceAccountSchema) UnmarshalJSON

func (v *NullableCreateServiceAccountSchema) UnmarshalJSON(src []byte) error

func (*NullableCreateServiceAccountSchema) Unset

type NullableCreateStrategyVariantSchema

type NullableCreateStrategyVariantSchema struct {
	// contains filtered or unexported fields
}

func (NullableCreateStrategyVariantSchema) Get

func (NullableCreateStrategyVariantSchema) IsSet

func (NullableCreateStrategyVariantSchema) MarshalJSON

func (v NullableCreateStrategyVariantSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateStrategyVariantSchema) Set

func (*NullableCreateStrategyVariantSchema) UnmarshalJSON

func (v *NullableCreateStrategyVariantSchema) UnmarshalJSON(src []byte) error

func (*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) Get added in v0.5.4

func (NullableCreateStrategyVariantSchemaPayload) IsSet added in v0.5.4

func (NullableCreateStrategyVariantSchemaPayload) MarshalJSON added in v0.5.4

func (*NullableCreateStrategyVariantSchemaPayload) Set added in v0.5.4

func (*NullableCreateStrategyVariantSchemaPayload) UnmarshalJSON added in v0.5.4

func (v *NullableCreateStrategyVariantSchemaPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateStrategyVariantSchemaPayload) Unset added in v0.5.4

type NullableCreateUserResponseSchema

type NullableCreateUserResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullableCreateUserResponseSchema) Get

func (NullableCreateUserResponseSchema) IsSet

func (NullableCreateUserResponseSchema) MarshalJSON

func (v NullableCreateUserResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateUserResponseSchema) Set

func (*NullableCreateUserResponseSchema) UnmarshalJSON

func (v *NullableCreateUserResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableCreateUserResponseSchema) Unset

type NullableCreateUserResponseSchemaRootRole

type NullableCreateUserResponseSchemaRootRole struct {
	// contains filtered or unexported fields
}

func (NullableCreateUserResponseSchemaRootRole) Get

func (NullableCreateUserResponseSchemaRootRole) IsSet

func (NullableCreateUserResponseSchemaRootRole) MarshalJSON

func (*NullableCreateUserResponseSchemaRootRole) Set

func (*NullableCreateUserResponseSchemaRootRole) UnmarshalJSON

func (v *NullableCreateUserResponseSchemaRootRole) UnmarshalJSON(src []byte) error

func (*NullableCreateUserResponseSchemaRootRole) Unset

type NullableCreateUserSchema

type NullableCreateUserSchema struct {
	// contains filtered or unexported fields
}

func NewNullableCreateUserSchema

func NewNullableCreateUserSchema(val *CreateUserSchema) *NullableCreateUserSchema

func (NullableCreateUserSchema) Get

func (NullableCreateUserSchema) IsSet

func (v NullableCreateUserSchema) IsSet() bool

func (NullableCreateUserSchema) MarshalJSON

func (v NullableCreateUserSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateUserSchema) Set

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 (NullableCreateUserSchemaRootRole) Get

func (NullableCreateUserSchemaRootRole) IsSet

func (NullableCreateUserSchemaRootRole) MarshalJSON

func (v NullableCreateUserSchemaRootRole) MarshalJSON() ([]byte, error)

func (*NullableCreateUserSchemaRootRole) Set

func (*NullableCreateUserSchemaRootRole) UnmarshalJSON

func (v *NullableCreateUserSchemaRootRole) UnmarshalJSON(src []byte) error

func (*NullableCreateUserSchemaRootRole) Unset

type NullableEnvironmentProjectSchema

type NullableEnvironmentProjectSchema struct {
	// contains filtered or unexported fields
}

func (NullableEnvironmentProjectSchema) Get

func (NullableEnvironmentProjectSchema) IsSet

func (NullableEnvironmentProjectSchema) MarshalJSON

func (v NullableEnvironmentProjectSchema) MarshalJSON() ([]byte, error)

func (*NullableEnvironmentProjectSchema) Set

func (*NullableEnvironmentProjectSchema) UnmarshalJSON

func (v *NullableEnvironmentProjectSchema) UnmarshalJSON(src []byte) error

func (*NullableEnvironmentProjectSchema) Unset

type NullableEnvironmentSchema

type NullableEnvironmentSchema struct {
	// contains filtered or unexported fields
}

func NewNullableEnvironmentSchema

func NewNullableEnvironmentSchema(val *EnvironmentSchema) *NullableEnvironmentSchema

func (NullableEnvironmentSchema) Get

func (NullableEnvironmentSchema) IsSet

func (v NullableEnvironmentSchema) IsSet() bool

func (NullableEnvironmentSchema) MarshalJSON

func (v NullableEnvironmentSchema) MarshalJSON() ([]byte, error)

func (*NullableEnvironmentSchema) Set

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 (NullableEnvironmentsProjectSchema) Get

func (NullableEnvironmentsProjectSchema) IsSet

func (NullableEnvironmentsProjectSchema) MarshalJSON

func (v NullableEnvironmentsProjectSchema) MarshalJSON() ([]byte, error)

func (*NullableEnvironmentsProjectSchema) Set

func (*NullableEnvironmentsProjectSchema) UnmarshalJSON

func (v *NullableEnvironmentsProjectSchema) UnmarshalJSON(src []byte) error

func (*NullableEnvironmentsProjectSchema) Unset

type NullableEnvironmentsSchema

type NullableEnvironmentsSchema struct {
	// contains filtered or unexported fields
}

func NewNullableEnvironmentsSchema

func NewNullableEnvironmentsSchema(val *EnvironmentsSchema) *NullableEnvironmentsSchema

func (NullableEnvironmentsSchema) Get

func (NullableEnvironmentsSchema) IsSet

func (v NullableEnvironmentsSchema) IsSet() bool

func (NullableEnvironmentsSchema) MarshalJSON

func (v NullableEnvironmentsSchema) MarshalJSON() ([]byte, error)

func (*NullableEnvironmentsSchema) Set

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 (NullableFeatureStrategySchema) Get

func (NullableFeatureStrategySchema) IsSet

func (NullableFeatureStrategySchema) MarshalJSON

func (v NullableFeatureStrategySchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureStrategySchema) Set

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 (NullableGetProjects401Response) IsSet added in v0.2.4

func (NullableGetProjects401Response) MarshalJSON added in v0.2.4

func (v NullableGetProjects401Response) MarshalJSON() ([]byte, error)

func (*NullableGetProjects401Response) Set added in v0.2.4

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 (NullableGetProjects403Response) IsSet added in v0.2.4

func (NullableGetProjects403Response) MarshalJSON added in v0.2.4

func (v NullableGetProjects403Response) MarshalJSON() ([]byte, error)

func (*NullableGetProjects403Response) Set added in v0.2.4

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 (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 (NullableGroupUserModelSchema) IsSet

func (NullableGroupUserModelSchema) MarshalJSON

func (v NullableGroupUserModelSchema) MarshalJSON() ([]byte, error)

func (*NullableGroupUserModelSchema) Set

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 (NullableGroupWithProjectRoleSchema) IsSet added in v0.2.3

func (NullableGroupWithProjectRoleSchema) MarshalJSON added in v0.2.3

func (v NullableGroupWithProjectRoleSchema) MarshalJSON() ([]byte, error)

func (*NullableGroupWithProjectRoleSchema) Set added in v0.2.3

func (*NullableGroupWithProjectRoleSchema) UnmarshalJSON added in v0.2.3

func (v *NullableGroupWithProjectRoleSchema) UnmarshalJSON(src []byte) error

func (*NullableGroupWithProjectRoleSchema) Unset added in v0.2.3

type NullableGroupsSchema

type NullableGroupsSchema struct {
	// contains filtered or unexported fields
}

func NewNullableGroupsSchema

func NewNullableGroupsSchema(val *GroupsSchema) *NullableGroupsSchema

func (NullableGroupsSchema) Get

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 (NullableLegalValueSchema) IsSet

func (v NullableLegalValueSchema) IsSet() bool

func (NullableLegalValueSchema) MarshalJSON

func (v NullableLegalValueSchema) MarshalJSON() ([]byte, error)

func (*NullableLegalValueSchema) Set

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 (NullableOidcSettingsResponseSchema) IsSet added in v0.5.0

func (NullableOidcSettingsResponseSchema) MarshalJSON added in v0.5.0

func (v NullableOidcSettingsResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableOidcSettingsResponseSchema) Set added in v0.5.0

func (*NullableOidcSettingsResponseSchema) UnmarshalJSON added in v0.5.0

func (v *NullableOidcSettingsResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableOidcSettingsResponseSchema) Unset added in v0.5.0

type NullableOidcSettingsSchema

type NullableOidcSettingsSchema struct {
	// contains filtered or unexported fields
}

func NewNullableOidcSettingsSchema

func NewNullableOidcSettingsSchema(val *OidcSettingsSchema) *NullableOidcSettingsSchema

func (NullableOidcSettingsSchema) Get

func (NullableOidcSettingsSchema) IsSet

func (v NullableOidcSettingsSchema) IsSet() bool

func (NullableOidcSettingsSchema) MarshalJSON

func (v NullableOidcSettingsSchema) MarshalJSON() ([]byte, error)

func (*NullableOidcSettingsSchema) Set

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 (NullableOidcSettingsSchemaOneOf) IsSet added in v0.5.0

func (NullableOidcSettingsSchemaOneOf) MarshalJSON added in v0.5.0

func (v NullableOidcSettingsSchemaOneOf) MarshalJSON() ([]byte, error)

func (*NullableOidcSettingsSchemaOneOf) Set added in v0.5.0

func (*NullableOidcSettingsSchemaOneOf) UnmarshalJSON added in v0.5.0

func (v *NullableOidcSettingsSchemaOneOf) UnmarshalJSON(src []byte) error

func (*NullableOidcSettingsSchemaOneOf) Unset added in v0.5.0

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 (NullableOidcSettingsSchemaOneOf1) IsSet added in v0.5.0

func (NullableOidcSettingsSchemaOneOf1) MarshalJSON added in v0.5.0

func (v NullableOidcSettingsSchemaOneOf1) MarshalJSON() ([]byte, error)

func (*NullableOidcSettingsSchemaOneOf1) Set added in v0.5.0

func (*NullableOidcSettingsSchemaOneOf1) UnmarshalJSON added in v0.5.0

func (v *NullableOidcSettingsSchemaOneOf1) UnmarshalJSON(src []byte) error

func (*NullableOidcSettingsSchemaOneOf1) Unset added in v0.5.0

type NullablePasswordAuthSchema

type NullablePasswordAuthSchema struct {
	// contains filtered or unexported fields
}

func NewNullablePasswordAuthSchema

func NewNullablePasswordAuthSchema(val *PasswordAuthSchema) *NullablePasswordAuthSchema

func (NullablePasswordAuthSchema) Get

func (NullablePasswordAuthSchema) IsSet

func (v NullablePasswordAuthSchema) IsSet() bool

func (NullablePasswordAuthSchema) MarshalJSON

func (v NullablePasswordAuthSchema) MarshalJSON() ([]byte, error)

func (*NullablePasswordAuthSchema) Set

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) Get added in v0.2.8

func (NullableProjectAccessConfigurationSchema) IsSet added in v0.2.8

func (NullableProjectAccessConfigurationSchema) MarshalJSON added in v0.2.8

func (*NullableProjectAccessConfigurationSchema) Set added in v0.2.8

func (*NullableProjectAccessConfigurationSchema) UnmarshalJSON added in v0.2.8

func (v *NullableProjectAccessConfigurationSchema) UnmarshalJSON(src []byte) error

func (*NullableProjectAccessConfigurationSchema) Unset added in v0.2.8

type NullableProjectAccessConfigurationSchemaRolesInner added in v0.2.8

type NullableProjectAccessConfigurationSchemaRolesInner struct {
	// contains filtered or unexported fields
}

func (NullableProjectAccessConfigurationSchemaRolesInner) Get added in v0.2.8

func (NullableProjectAccessConfigurationSchemaRolesInner) IsSet added in v0.2.8

func (NullableProjectAccessConfigurationSchemaRolesInner) MarshalJSON added in v0.2.8

func (*NullableProjectAccessConfigurationSchemaRolesInner) Set added in v0.2.8

func (*NullableProjectAccessConfigurationSchemaRolesInner) UnmarshalJSON added in v0.2.8

func (*NullableProjectAccessConfigurationSchemaRolesInner) Unset added in v0.2.8

type NullableProjectAccessSchema

type NullableProjectAccessSchema struct {
	// contains filtered or unexported fields
}

func NewNullableProjectAccessSchema

func NewNullableProjectAccessSchema(val *ProjectAccessSchema) *NullableProjectAccessSchema

func (NullableProjectAccessSchema) Get

func (NullableProjectAccessSchema) IsSet

func (NullableProjectAccessSchema) MarshalJSON

func (v NullableProjectAccessSchema) MarshalJSON() ([]byte, error)

func (*NullableProjectAccessSchema) Set

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 (NullableProjectCreatedSchema) IsSet

func (NullableProjectCreatedSchema) MarshalJSON

func (v NullableProjectCreatedSchema) MarshalJSON() ([]byte, error)

func (*NullableProjectCreatedSchema) Set

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 (NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) Get added in v0.3.0

func (NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) IsSet added in v0.3.0

func (NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) MarshalJSON added in v0.3.0

func (*NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) Set added in v0.3.0

func (*NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) UnmarshalJSON added in v0.3.0

func (*NullableProjectCreatedSchemaChangeRequestEnvironmentsInner) Unset added in v0.3.0

type NullableProjectEnvironmentSchema

type NullableProjectEnvironmentSchema struct {
	// contains filtered or unexported fields
}

func (NullableProjectEnvironmentSchema) Get

func (NullableProjectEnvironmentSchema) IsSet

func (NullableProjectEnvironmentSchema) MarshalJSON

func (v NullableProjectEnvironmentSchema) MarshalJSON() ([]byte, error)

func (*NullableProjectEnvironmentSchema) Set

func (*NullableProjectEnvironmentSchema) UnmarshalJSON

func (v *NullableProjectEnvironmentSchema) UnmarshalJSON(src []byte) error

func (*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 (NullableProjectLinkTemplateSchema) IsSet added in v0.6.0

func (NullableProjectLinkTemplateSchema) MarshalJSON added in v0.6.0

func (v NullableProjectLinkTemplateSchema) MarshalJSON() ([]byte, error)

func (*NullableProjectLinkTemplateSchema) Set added in v0.6.0

func (*NullableProjectLinkTemplateSchema) UnmarshalJSON added in v0.6.0

func (v *NullableProjectLinkTemplateSchema) UnmarshalJSON(src []byte) error

func (*NullableProjectLinkTemplateSchema) Unset added in v0.6.0

type NullableProjectSchema

type NullableProjectSchema struct {
	// contains filtered or unexported fields
}

func NewNullableProjectSchema

func NewNullableProjectSchema(val *ProjectSchema) *NullableProjectSchema

func (NullableProjectSchema) Get

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 (NullableProjectsSchema) IsSet

func (v NullableProjectsSchema) IsSet() bool

func (NullableProjectsSchema) MarshalJSON

func (v NullableProjectsSchema) MarshalJSON() ([]byte, error)

func (*NullableProjectsSchema) Set

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 (NullableRoleWithPermissionsSchema) Get

func (NullableRoleWithPermissionsSchema) IsSet

func (NullableRoleWithPermissionsSchema) MarshalJSON

func (v NullableRoleWithPermissionsSchema) MarshalJSON() ([]byte, error)

func (*NullableRoleWithPermissionsSchema) Set

func (*NullableRoleWithPermissionsSchema) UnmarshalJSON

func (v *NullableRoleWithPermissionsSchema) UnmarshalJSON(src []byte) error

func (*NullableRoleWithPermissionsSchema) Unset

type NullableRoleWithVersionSchema

type NullableRoleWithVersionSchema struct {
	// contains filtered or unexported fields
}

func (NullableRoleWithVersionSchema) Get

func (NullableRoleWithVersionSchema) IsSet

func (NullableRoleWithVersionSchema) MarshalJSON

func (v NullableRoleWithVersionSchema) MarshalJSON() ([]byte, error)

func (*NullableRoleWithVersionSchema) Set

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 (NullableRolesWithVersionSchema) Get

func (NullableRolesWithVersionSchema) IsSet

func (NullableRolesWithVersionSchema) MarshalJSON

func (v NullableRolesWithVersionSchema) MarshalJSON() ([]byte, error)

func (*NullableRolesWithVersionSchema) Set

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 (NullableSamlSettingsResponseSchema) IsSet added in v0.5.0

func (NullableSamlSettingsResponseSchema) MarshalJSON added in v0.5.0

func (v NullableSamlSettingsResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableSamlSettingsResponseSchema) Set added in v0.5.0

func (*NullableSamlSettingsResponseSchema) UnmarshalJSON added in v0.5.0

func (v *NullableSamlSettingsResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableSamlSettingsResponseSchema) Unset added in v0.5.0

type NullableSamlSettingsSchema

type NullableSamlSettingsSchema struct {
	// contains filtered or unexported fields
}

func NewNullableSamlSettingsSchema

func NewNullableSamlSettingsSchema(val *SamlSettingsSchema) *NullableSamlSettingsSchema

func (NullableSamlSettingsSchema) Get

func (NullableSamlSettingsSchema) IsSet

func (v NullableSamlSettingsSchema) IsSet() bool

func (NullableSamlSettingsSchema) MarshalJSON

func (v NullableSamlSettingsSchema) MarshalJSON() ([]byte, error)

func (*NullableSamlSettingsSchema) Set

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 (NullableSamlSettingsSchemaOneOf) IsSet added in v0.5.0

func (NullableSamlSettingsSchemaOneOf) MarshalJSON added in v0.5.0

func (v NullableSamlSettingsSchemaOneOf) MarshalJSON() ([]byte, error)

func (*NullableSamlSettingsSchemaOneOf) Set added in v0.5.0

func (*NullableSamlSettingsSchemaOneOf) UnmarshalJSON added in v0.5.0

func (v *NullableSamlSettingsSchemaOneOf) UnmarshalJSON(src []byte) error

func (*NullableSamlSettingsSchemaOneOf) Unset added in v0.5.0

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 (NullableSamlSettingsSchemaOneOf1) IsSet added in v0.5.0

func (NullableSamlSettingsSchemaOneOf1) MarshalJSON added in v0.5.0

func (v NullableSamlSettingsSchemaOneOf1) MarshalJSON() ([]byte, error)

func (*NullableSamlSettingsSchemaOneOf1) Set added in v0.5.0

func (*NullableSamlSettingsSchemaOneOf1) UnmarshalJSON added in v0.5.0

func (v *NullableSamlSettingsSchemaOneOf1) UnmarshalJSON(src []byte) error

func (*NullableSamlSettingsSchemaOneOf1) Unset added in v0.5.0

type NullableServiceAccountSchema

type NullableServiceAccountSchema struct {
	// contains filtered or unexported fields
}

func NewNullableServiceAccountSchema

func NewNullableServiceAccountSchema(val *ServiceAccountSchema) *NullableServiceAccountSchema

func (NullableServiceAccountSchema) Get

func (NullableServiceAccountSchema) IsSet

func (NullableServiceAccountSchema) MarshalJSON

func (v NullableServiceAccountSchema) MarshalJSON() ([]byte, error)

func (*NullableServiceAccountSchema) Set

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 (NullableServiceAccountsSchema) Get

func (NullableServiceAccountsSchema) IsSet

func (NullableServiceAccountsSchema) MarshalJSON

func (v NullableServiceAccountsSchema) MarshalJSON() ([]byte, error)

func (*NullableServiceAccountsSchema) Set

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 (NullableStrategyVariantSchema) Get

func (NullableStrategyVariantSchema) IsSet

func (NullableStrategyVariantSchema) MarshalJSON

func (v NullableStrategyVariantSchema) MarshalJSON() ([]byte, error)

func (*NullableStrategyVariantSchema) Set

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 (NullableUpdateApiTokenSchema) IsSet

func (NullableUpdateApiTokenSchema) MarshalJSON

func (v NullableUpdateApiTokenSchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateApiTokenSchema) Set

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 (NullableUpdateChangeRequestEnvironmentConfigSchema) Get added in v0.2.3

func (NullableUpdateChangeRequestEnvironmentConfigSchema) IsSet added in v0.2.3

func (NullableUpdateChangeRequestEnvironmentConfigSchema) MarshalJSON added in v0.2.3

func (*NullableUpdateChangeRequestEnvironmentConfigSchema) Set added in v0.2.3

func (*NullableUpdateChangeRequestEnvironmentConfigSchema) UnmarshalJSON added in v0.2.3

func (*NullableUpdateChangeRequestEnvironmentConfigSchema) Unset added in v0.2.3

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 (NullableUpdateContextFieldSchema) IsSet added in v0.2.3

func (NullableUpdateContextFieldSchema) MarshalJSON added in v0.2.3

func (v NullableUpdateContextFieldSchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateContextFieldSchema) Set added in v0.2.3

func (*NullableUpdateContextFieldSchema) UnmarshalJSON added in v0.2.3

func (v *NullableUpdateContextFieldSchema) UnmarshalJSON(src []byte) error

func (*NullableUpdateContextFieldSchema) Unset added in v0.2.3

type NullableUpdateEnvironmentSchema

type NullableUpdateEnvironmentSchema struct {
	// contains filtered or unexported fields
}

func (NullableUpdateEnvironmentSchema) Get

func (NullableUpdateEnvironmentSchema) IsSet

func (NullableUpdateEnvironmentSchema) MarshalJSON

func (v NullableUpdateEnvironmentSchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateEnvironmentSchema) Set

func (*NullableUpdateEnvironmentSchema) UnmarshalJSON

func (v *NullableUpdateEnvironmentSchema) UnmarshalJSON(src []byte) error

func (*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 (NullableUpdateProject404Response) IsSet added in v0.2.4

func (NullableUpdateProject404Response) MarshalJSON added in v0.2.4

func (v NullableUpdateProject404Response) MarshalJSON() ([]byte, error)

func (*NullableUpdateProject404Response) Set added in v0.2.4

func (*NullableUpdateProject404Response) UnmarshalJSON added in v0.2.4

func (v *NullableUpdateProject404Response) UnmarshalJSON(src []byte) error

func (*NullableUpdateProject404Response) Unset added in v0.2.4

type NullableUpdateProjectEnterpriseSettingsSchema added in v0.5.1

type NullableUpdateProjectEnterpriseSettingsSchema struct {
	// contains filtered or unexported fields
}

func (NullableUpdateProjectEnterpriseSettingsSchema) Get added in v0.5.1

func (NullableUpdateProjectEnterpriseSettingsSchema) IsSet added in v0.5.1

func (NullableUpdateProjectEnterpriseSettingsSchema) MarshalJSON added in v0.5.1

func (*NullableUpdateProjectEnterpriseSettingsSchema) Set added in v0.5.1

func (*NullableUpdateProjectEnterpriseSettingsSchema) UnmarshalJSON added in v0.5.1

func (*NullableUpdateProjectEnterpriseSettingsSchema) Unset added in v0.5.1

type NullableUpdateProjectSchema

type NullableUpdateProjectSchema struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateProjectSchema

func NewNullableUpdateProjectSchema(val *UpdateProjectSchema) *NullableUpdateProjectSchema

func (NullableUpdateProjectSchema) Get

func (NullableUpdateProjectSchema) IsSet

func (NullableUpdateProjectSchema) MarshalJSON

func (v NullableUpdateProjectSchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateProjectSchema) Set

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 (NullableUpdateServiceAccountSchema) Get

func (NullableUpdateServiceAccountSchema) IsSet

func (NullableUpdateServiceAccountSchema) MarshalJSON

func (v NullableUpdateServiceAccountSchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateServiceAccountSchema) Set

func (*NullableUpdateServiceAccountSchema) UnmarshalJSON

func (v *NullableUpdateServiceAccountSchema) UnmarshalJSON(src []byte) error

func (*NullableUpdateServiceAccountSchema) Unset

type NullableUpdateUserSchema

type NullableUpdateUserSchema struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateUserSchema

func NewNullableUpdateUserSchema(val *UpdateUserSchema) *NullableUpdateUserSchema

func (NullableUpdateUserSchema) Get

func (NullableUpdateUserSchema) IsSet

func (v NullableUpdateUserSchema) IsSet() bool

func (NullableUpdateUserSchema) MarshalJSON

func (v NullableUpdateUserSchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateUserSchema) Set

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 (NullableUserWithProjectRoleSchema) Get

func (NullableUserWithProjectRoleSchema) IsSet

func (NullableUserWithProjectRoleSchema) MarshalJSON

func (v NullableUserWithProjectRoleSchema) MarshalJSON() ([]byte, error)

func (*NullableUserWithProjectRoleSchema) Set

func (*NullableUserWithProjectRoleSchema) UnmarshalJSON

func (v *NullableUserWithProjectRoleSchema) UnmarshalJSON(src []byte) error

func (*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

func (o *PatSchema) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*PatSchema) GetCreatedAtOk

func (o *PatSchema) 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 (*PatSchema) GetDescription added in v0.3.0

func (o *PatSchema) GetDescription() string

GetDescription returns the Description field value

func (*PatSchema) GetDescriptionOk added in v0.3.0

func (o *PatSchema) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*PatSchema) GetExpiresAt

func (o *PatSchema) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*PatSchema) GetExpiresAtOk

func (o *PatSchema) 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 (*PatSchema) GetId

func (o *PatSchema) GetId() int32

GetId returns the Id field value

func (*PatSchema) GetIdOk

func (o *PatSchema) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PatSchema) GetSecret

func (o *PatSchema) GetSecret() string

GetSecret returns the Secret field value if set, zero value otherwise.

func (*PatSchema) GetSecretOk

func (o *PatSchema) 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 (*PatSchema) GetSeenAt

func (o *PatSchema) GetSeenAt() time.Time

GetSeenAt returns the SeenAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatSchema) GetSeenAtOk

func (o *PatSchema) 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 (*PatSchema) GetUserId added in v0.3.0

func (o *PatSchema) GetUserId() int32

GetUserId returns the UserId field value if set, zero value otherwise.

func (*PatSchema) GetUserIdOk added in v0.3.0

func (o *PatSchema) GetUserIdOk() (*int32, bool)

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) HasSecret

func (o *PatSchema) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (*PatSchema) HasSeenAt

func (o *PatSchema) HasSeenAt() bool

HasSeenAt returns a boolean if a field has been set.

func (*PatSchema) HasUserId added in v0.3.0

func (o *PatSchema) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (PatSchema) MarshalJSON

func (o PatSchema) MarshalJSON() ([]byte, error)

func (*PatSchema) SetCreatedAt

func (o *PatSchema) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*PatSchema) SetDescription added in v0.3.0

func (o *PatSchema) SetDescription(v string)

SetDescription sets field value

func (*PatSchema) SetExpiresAt

func (o *PatSchema) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*PatSchema) SetId

func (o *PatSchema) SetId(v int32)

SetId sets field value

func (*PatSchema) SetSecret

func (o *PatSchema) SetSecret(v string)

SetSecret gets a reference to the given string and assigns it to the Secret field.

func (*PatSchema) SetSeenAt

func (o *PatSchema) SetSeenAt(v time.Time)

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

func (o *PatSchema) SetUserId(v int32)

SetUserId gets a reference to the given int32 and assigns it to the UserId field.

func (PatSchema) ToMap

func (o PatSchema) ToMap() (map[string]interface{}, error)

func (*PatSchema) UnmarshalJSON added in v0.3.0

func (o *PatSchema) UnmarshalJSON(data []byte) (err error)

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

GetRoles returns the Roles field value

func (*ProjectAccessConfigurationSchema) GetRolesOk added in v0.2.8

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

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

GetGroups returns the Groups field value if set, zero value otherwise.

func (*ProjectAccessConfigurationSchemaRolesInner) GetGroupsOk added in v0.2.8

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

GetId returns the Id field value if set, zero value otherwise.

func (*ProjectAccessConfigurationSchemaRolesInner) GetIdOk added in v0.2.8

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

GetUsers returns the Users field value if set, zero value otherwise.

func (*ProjectAccessConfigurationSchemaRolesInner) GetUsersOk added in v0.2.8

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

HasGroups returns a boolean if a field has been set.

func (*ProjectAccessConfigurationSchemaRolesInner) HasId added in v0.2.8

HasId returns a boolean if a field has been set.

func (*ProjectAccessConfigurationSchemaRolesInner) HasUsers added in v0.2.8

HasUsers returns a boolean if a field has been set.

func (ProjectAccessConfigurationSchemaRolesInner) MarshalJSON added in v0.2.8

func (*ProjectAccessConfigurationSchemaRolesInner) SetGroups added in v0.2.8

SetGroups gets a reference to the given []int32 and assigns it to the Groups field.

func (*ProjectAccessConfigurationSchemaRolesInner) SetId added in v0.2.8

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*ProjectAccessConfigurationSchemaRolesInner) SetUsers added in v0.2.8

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

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

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

SetGroups sets field value

func (*ProjectAccessSchema) SetRoles

func (o *ProjectAccessSchema) SetRoles(v []RoleSchema)

SetRoles sets field value

func (*ProjectAccessSchema) SetUsers

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

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

GetName returns the Name field value

func (*ProjectCreatedSchemaChangeRequestEnvironmentsInner) GetNameOk added in v0.3.0

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

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 (*ProjectCreatedSchemaChangeRequestEnvironmentsInner) SetName added in v0.3.0

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 (*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) SetId

func (o *ProjectSchema) SetId(v string)

SetId sets field value

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) SetName

func (o *ProjectSchema) SetName(v string)

SetName sets field value

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

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

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

Execute executes the request

@return ProjectAccessSchema

func (*ProjectsAPIService) GetProjects added in v0.2.3

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

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) GetId

func (o *RoleSchema) GetId() int32

GetId returns the Id field value

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) SetId

func (o *RoleSchema) SetId(v int32)

SetId sets field value

func (*RoleSchema) SetName

func (o *RoleSchema) SetName(v string)

SetName sets field value

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) SetType

func (o *RoleSchema) SetType(v string)

SetType sets field value

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

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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 (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 (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 (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

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

Execute executes the request

@return ServiceAccountSchema

func (*ServiceAccountsAPIService) CreateServiceAccountToken added in v0.2.3

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

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

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

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

Execute executes the request

@return ServiceAccountsSchema

func (*ServiceAccountsAPIService) UpdateServiceAccount added in v0.2.3

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

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

GetPayload returns the Payload field value if set, zero value otherwise.

func (*StrategyVariantSchema) GetPayloadOk

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

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 (*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

GetFeatureNaming returns the FeatureNaming field value if set, zero value otherwise.

func (*UpdateProjectEnterpriseSettingsSchema) GetFeatureNamingOk added in v0.5.1

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

GetLinkTemplates returns the LinkTemplates field value if set, zero value otherwise.

func (*UpdateProjectEnterpriseSettingsSchema) GetLinkTemplatesOk added in v0.6.0

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

GetMode returns the Mode field value if set, zero value otherwise.

func (*UpdateProjectEnterpriseSettingsSchema) GetModeOk added in v0.5.1

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

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

SetFeatureNaming gets a reference to the given CreateFeatureNamingPatternSchema and assigns it to the FeatureNaming field.

func (*UpdateProjectEnterpriseSettingsSchema) SetLinkTemplates added in v0.6.0

SetLinkTemplates gets a reference to the given []ProjectLinkTemplateSchema and assigns it to the LinkTemplates field.

func (*UpdateProjectEnterpriseSettingsSchema) SetMode added in v0.5.1

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) GetId

func (o *UserSchema) GetId() int32

GetId returns the Id field value

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 (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 (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) SetId

func (o *UserSchema) SetId(v int32)

SetId sets field value

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 (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

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

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

Execute executes the request

@return RoleWithVersionSchema

func (*UsersAPIService) CreateUser added in v0.2.3

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

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

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

Execute executes the request

@return RoleWithPermissionsSchema

func (*UsersAPIService) GetRoles added in v0.2.3

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

Execute executes the request

@return RolesWithVersionSchema

func (*UsersAPIService) GetUser added in v0.2.3

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

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

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

Execute executes the request

@return CreateUserResponseSchema

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL