client

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 20 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: 5.2.8
  • Package version: 1.0.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/client"

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 sw.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 sw.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 sw.ContextOperationServerIndices and sw.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 http://localhost

Class Method HTTP request Description
APITokensApi CreateApiToken Post /api/admin/api-tokens
APITokensApi DeleteApiToken Delete /api/admin/api-tokens/{token}
APITokensApi GetAllApiTokens Get /api/admin/api-tokens
APITokensApi UpdateApiToken Put /api/admin/api-tokens/{token}
AddonsApi CreateAddon Post /api/admin/addons Create a new addon
AddonsApi DeleteAddon Delete /api/admin/addons/{id} Delete an addon
AddonsApi GetAddon Get /api/admin/addons/{id} Get a specific addon
AddonsApi GetAddons Get /api/admin/addons Get all addons and providers
AddonsApi UpdateAddon Put /api/admin/addons/{id} Update an addon
AdminUIApi CreateFeedback Post /api/admin/feedback
AdminUIApi GetUiConfig Get /api/admin/ui-config
AdminUIApi SetUiConfig Post /api/admin/ui-config
AdminUIApi UpdateFeedback Put /api/admin/feedback/{id}
AdminUIApi UpdateSplashSettings Post /api/admin/splash/{id}
ArchiveApi DeleteFeature Delete /api/admin/archive/{featureName}
ArchiveApi DeleteFeatures Post /api/admin/projects/{projectId}/delete Deletes a list of features
ArchiveApi GetArchivedFeatures Get /api/admin/archive/features
ArchiveApi GetArchivedFeaturesByProjectId Get /api/admin/archive/features/{projectId}
ArchiveApi ReviveFeature Post /api/admin/archive/revive/{featureName}
ArchiveApi ReviveFeatures Post /api/admin/projects/{projectId}/revive Revives a list of features
AuthApi ChangePassword Post /auth/reset/password
AuthApi Login Post /auth/simple/login
AuthApi SendResetPasswordEmail Post /auth/reset/password-email
AuthApi ValidatePassword Post /auth/reset/validate-password
AuthApi ValidateToken Get /auth/reset/validate
ClientApi GetAllClientFeatures Get /api/client/features Get all toggles (SDK)
ClientApi GetClientFeature Get /api/client/features/{featureName} Get a single feature toggle
ClientApi RegisterClientApplication Post /api/client/register Register a client SDK
ClientApi RegisterClientMetrics Post /api/client/metrics Register client usage metrics
ContextApi CreateContextField Post /api/admin/context
ContextApi DeleteContextField Delete /api/admin/context/{contextField}
ContextApi GetContextField Get /api/admin/context/{contextField}
ContextApi GetContextFields Get /api/admin/context
ContextApi UpdateContextField Put /api/admin/context/{contextField}
ContextApi Validate Post /api/admin/context/validate
EdgeApi BulkMetrics Post /edge/metrics Send metrics from Edge
EdgeApi GetValidTokens Post /edge/validate Check which tokens are valid
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 ToggleEnvironmentOff Post /api/admin/environments/{name}/off Toggle the environment with `name` off
EnvironmentsApi ToggleEnvironmentOn Post /api/admin/environments/{name}/on Toggle the environment with `name` on
EnvironmentsApi UpdateSortOrder Put /api/admin/environments/sort-order Update environment sort orders
EventsApi GetEvents Get /api/admin/events Get the most recent events from the Unleash instance or all events related to a project.
EventsApi GetEventsForToggle Get /api/admin/events/{featureName} Get all events related to a specific feature toggle.
EventsApi SearchEvents Post /api/admin/events/search
FeaturesApi AddFavoriteFeature Post /api/admin/projects/{projectId}/features/{featureName}/favorites
FeaturesApi AddFavoriteProject Post /api/admin/projects/{projectId}/favorites
FeaturesApi AddFeatureStrategy Post /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies
FeaturesApi AddTag Post /api/admin/features/{featureName}/tags Adds a tag to a feature.
FeaturesApi ArchiveFeature Delete /api/admin/projects/{projectId}/features/{featureName} Archive a feature.
FeaturesApi ArchiveFeatures Post /api/admin/projects/{projectId}/archive Archives a list of features
FeaturesApi BulkToggleFeaturesEnvironmentOff Post /api/admin/projects/{projectId}/bulk_features/environments/{environment}/off Bulk disabled a list of features.
FeaturesApi BulkToggleFeaturesEnvironmentOn Post /api/admin/projects/{projectId}/bulk_features/environments/{environment}/on Bulk enable a list of features.
FeaturesApi CloneFeature Post /api/admin/projects/{projectId}/features/{featureName}/clone
FeaturesApi CreateFeature Post /api/admin/projects/{projectId}/features
FeaturesApi DeleteFeatureStrategy Delete /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies/{strategyId}
FeaturesApi GetAllFeatureTypes Get /api/admin/feature-types
FeaturesApi GetAllToggles Get /api/admin/features
FeaturesApi GetEnvironmentFeatureVariants Get /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/variants Get variants for a feature in an environment
FeaturesApi GetFeature Get /api/admin/projects/{projectId}/features/{featureName} Get a feature.
FeaturesApi GetFeatureEnvironment Get /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}
FeaturesApi GetFeatureStrategies Get /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies
FeaturesApi GetFeatureStrategy Get /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies/{strategyId}
FeaturesApi GetFeatureVariants Get /api/admin/projects/{projectId}/features/{featureName}/variants Retrieve variants for a feature (deprecated)
FeaturesApi GetFeatures Get /api/admin/projects/{projectId}/features
FeaturesApi ListTags Get /api/admin/features/{featureName}/tags Get all tags for a feature.
FeaturesApi OverwriteEnvironmentFeatureVariants Put /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/variants Create (overwrite) variants for a feature in an environment
FeaturesApi OverwriteFeatureVariants Put /api/admin/projects/{projectId}/features/{featureName}/variants Create (overwrite) variants for a feature toggle in all environments
FeaturesApi OverwriteFeatureVariantsOnEnvironments Put /api/admin/projects/{projectId}/features/{featureName}/variants-batch
FeaturesApi PatchEnvironmentsFeatureVariants Patch /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/variants Patch a feature's variants in an environment
FeaturesApi PatchFeature Patch /api/admin/projects/{projectId}/features/{featureName}
FeaturesApi PatchFeatureStrategy Patch /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies/{strategyId}
FeaturesApi PatchFeatureVariants Patch /api/admin/projects/{projectId}/features/{featureName}/variants Apply a patch to a feature's variants (in all environments).
FeaturesApi RemoveFavoriteFeature Delete /api/admin/projects/{projectId}/features/{featureName}/favorites
FeaturesApi RemoveFavoriteProject Delete /api/admin/projects/{projectId}/favorites
FeaturesApi RemoveTag Delete /api/admin/features/{featureName}/tags/{type}/{value} Removes a tag from a feature.
FeaturesApi SetStrategySortOrder Post /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies/set-sort-order
FeaturesApi StaleFeatures Post /api/admin/projects/{projectId}/stale Stales a list of features
FeaturesApi ToggleFeatureEnvironmentOff Post /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/off
FeaturesApi ToggleFeatureEnvironmentOn Post /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/on
FeaturesApi UpdateFeature Put /api/admin/projects/{projectId}/features/{featureName}
FeaturesApi UpdateFeatureStrategy Put /api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies/{strategyId}
FeaturesApi UpdateTags Put /api/admin/features/{featureName}/tags Updates multiple tags for a feature.
FeaturesApi ValidateConstraint Post /api/admin/constraints/validate
FeaturesApi ValidateFeature Post /api/admin/features/validate
ImportExportApi CallImport Post /api/admin/state/import Import state (deprecated)
ImportExportApi Export Get /api/admin/state/export Export state (deprecated)
InstanceAdminApi GetInstanceAdminStats Get /api/admin/instance-admin/statistics Instance usage statistics
InstanceAdminApi GetInstanceAdminStatsCsv Get /api/admin/instance-admin/statistics/csv Instance usage statistics
MaintenanceApi GetMaintenance Get /api/admin/maintenance Get maintenance mode status
MaintenanceApi ToggleMaintenance Post /api/admin/maintenance Enabled/disabled maintenance mode
MetricsApi CreateApplication Post /api/admin/metrics/applications/{appName} Create an application to connect reported metrics
MetricsApi DeleteApplication Delete /api/admin/metrics/applications/{appName} Delete an application
MetricsApi GetApplication Get /api/admin/metrics/applications/{appName} Get application data
MetricsApi GetApplications Get /api/admin/metrics/applications Get all applications
MetricsApi GetFeatureUsageSummary Get /api/admin/client-metrics/features/{name} Last hour of usage and a list of applications that have reported seeing this feature toggle
MetricsApi GetRawFeatureMetrics Get /api/admin/client-metrics/features/{name}/raw Feature usage metrics for the last 48 hours, grouped by hour
OperationalApi GetHealth Get /health Get instance operational status
PersonalAccessTokensApi CreatePat Post /api/admin/user/tokens Create a new Personal Access Token.
PersonalAccessTokensApi DeletePat Delete /api/admin/user/tokens/{id} Delete a Personal Access Token.
PersonalAccessTokensApi GetPats Get /api/admin/user/tokens Get all Personal Access Tokens for the current user.
PlaygroundApi GetPlayground Post /api/admin/playground Evaluate an Unleash context against a set of environments and projects.
ProjectsApi AddDefaultStrategyToProjectEnvironment Post /api/admin/projects/{projectId}/environments/{environment}/default-strategy
ProjectsApi AddEnvironmentToProject Post /api/admin/projects/{projectId}/environments Add an environment to a project.
ProjectsApi CreateProjectApiToken Post /api/admin/projects/{projectId}/api-tokens Create a project API token.
ProjectsApi DeleteProjectApiToken Delete /api/admin/projects/{projectId}/api-tokens/{token} Delete a project API token.
ProjectsApi GetProjectApiTokens Get /api/admin/projects/{projectId}/api-tokens Get api tokens for project.
ProjectsApi GetProjectHealthReport Get /api/admin/projects/{projectId}/health-report Get a health report for a project.
ProjectsApi GetProjectOverview Get /api/admin/projects/{projectId} Get an overview of a 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.
PublicSignupTokensApi AddPublicSignupTokenUser Post /invite/{token}/signup Add a user via a signup token
PublicSignupTokensApi CreatePublicSignupToken Post /api/admin/invite-link/tokens Create a public signup token
PublicSignupTokensApi GetAllPublicSignupTokens Get /api/admin/invite-link/tokens Retrieve all existing public signup tokens
PublicSignupTokensApi GetPublicSignupToken Get /api/admin/invite-link/tokens/{token} Retrieve a token
PublicSignupTokensApi UpdatePublicSignupToken Put /api/admin/invite-link/tokens/{token} Update a public signup token
PublicSignupTokensApi ValidatePublicSignupToken Get /invite/{token}/validate Check whether a public sign-up token exists, has not expired and is enabled
StrategiesApi CreateStrategy Post /api/admin/strategies
StrategiesApi DeprecateStrategy Post /api/admin/strategies/{strategyName}/deprecate
StrategiesApi GetAllStrategies Get /api/admin/strategies
StrategiesApi GetStrategiesByContextField Get /api/admin/context/{contextField}/strategies
StrategiesApi GetStrategy Get /api/admin/strategies/{name}
StrategiesApi ReactivateStrategy Post /api/admin/strategies/{strategyName}/reactivate
StrategiesApi RemoveStrategy Delete /api/admin/strategies/{name}
StrategiesApi UpdateStrategy Put /api/admin/strategies/{strategyName}
TagsApi AddTagToFeatures Put /api/admin/projects/{projectId}/tags
TagsApi CreateTag Post /api/admin/tags
TagsApi CreateTagType Post /api/admin/tag-types
TagsApi DeleteTag Delete /api/admin/tags/{type}/{value}
TagsApi DeleteTagType Delete /api/admin/tag-types/{name}
TagsApi GetTag Get /api/admin/tags/{type}/{value}
TagsApi GetTagType Get /api/admin/tag-types/{name}
TagsApi GetTagTypes Get /api/admin/tag-types
TagsApi GetTags Get /api/admin/tags
TagsApi GetTagsByType Get /api/admin/tags/{type}
TagsApi UpdateTagType Put /api/admin/tag-types/{name}
TagsApi ValidateTagType Post /api/admin/tag-types/validate
UnstableApi ExportFeatures Post /api/admin/features-batch/export
UnstableApi GetAdvancedPlayground Post /api/admin/playground/advanced Batch evaluate an Unleash context against a set of environments and projects.
UnstableApi ImportToggles Post /api/admin/features-batch/import Import feature toggles for an environment in the project
UnstableApi ValidateImport Post /api/admin/features-batch/validate Validate import of feature toggles for an environment in the project
UsersApi ChangeMyPassword Post /api/admin/user/change-password
UsersApi ChangeUserPassword Post /api/admin/user-admin/{id}/change-password
UsersApi CreateUser Post /api/admin/user-admin
UsersApi DeleteUser Delete /api/admin/user-admin/{id}
UsersApi GetAdminCount Get /api/admin/user-admin/admin-count
UsersApi GetBaseUsersAndGroups Get /api/admin/user-admin/access
UsersApi GetMe Get /api/admin/user
UsersApi GetProfile Get /api/admin/user/profile
UsersApi GetUser Get /api/admin/user-admin/{id}
UsersApi GetUsers Get /api/admin/user-admin
UsersApi ResetUserPassword Post /api/admin/user-admin/reset-password
UsersApi SearchUsers Get /api/admin/user-admin/search
UsersApi UpdateUser Put /api/admin/user-admin/{id}
UsersApi ValidateUserPassword Post /api/admin/user-admin/validate-password

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.

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

	AddonsApi *AddonsApiService

	AdminUIApi *AdminUIApiService

	ArchiveApi *ArchiveApiService

	AuthApi *AuthApiService

	ClientApi *ClientApiService

	ContextApi *ContextApiService

	EdgeApi *EdgeApiService

	EnvironmentsApi *EnvironmentsApiService

	EventsApi *EventsApiService

	FeaturesApi *FeaturesApiService

	ImportExportApi *ImportExportApiService

	InstanceAdminApi *InstanceAdminApiService

	MaintenanceApi *MaintenanceApiService

	MetricsApi *MetricsApiService

	OperationalApi *OperationalApiService

	PersonalAccessTokensApi *PersonalAccessTokensApiService

	PlaygroundApi *PlaygroundApiService

	ProjectsApi *ProjectsApiService

	PublicSignupTokensApi *PublicSignupTokensApiService

	StrategiesApi *StrategiesApiService

	TagsApi *TagsApiService

	UnstableApi *UnstableApiService

	UsersApi *UsersApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Unleash API API v5.2.8 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 ¶

type APITokensApiService service

APITokensApiService APITokensApi service

func (*APITokensApiService) CreateApiToken ¶

CreateApiToken Method for CreateApiToken

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateApiTokenRequest

func (*APITokensApiService) CreateApiTokenExecute ¶

Execute executes the request

@return ApiTokenSchema

func (*APITokensApiService) DeleteApiToken ¶

func (a *APITokensApiService) DeleteApiToken(ctx context.Context, token string) ApiDeleteApiTokenRequest

DeleteApiToken Method for DeleteApiToken

@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 ¶

func (a *APITokensApiService) DeleteApiTokenExecute(r ApiDeleteApiTokenRequest) (*http.Response, error)

Execute executes the request

func (*APITokensApiService) GetAllApiTokens ¶

GetAllApiTokens Method for GetAllApiTokens

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllApiTokensRequest

func (*APITokensApiService) GetAllApiTokensExecute ¶

Execute executes the request

@return ApiTokensSchema

func (*APITokensApiService) UpdateApiToken ¶

func (a *APITokensApiService) UpdateApiToken(ctx context.Context, token string) ApiUpdateApiTokenRequest

UpdateApiToken Method for UpdateApiToken

@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 ¶

func (a *APITokensApiService) UpdateApiTokenExecute(r ApiUpdateApiTokenRequest) (*http.Response, error)

Execute executes the request

type AddPublicSignupTokenUser409Response ¶

type AddPublicSignupTokenUser409Response 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"`
}

AddPublicSignupTokenUser409Response struct for AddPublicSignupTokenUser409Response

func NewAddPublicSignupTokenUser409Response ¶

func NewAddPublicSignupTokenUser409Response() *AddPublicSignupTokenUser409Response

NewAddPublicSignupTokenUser409Response instantiates a new AddPublicSignupTokenUser409Response 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 NewAddPublicSignupTokenUser409ResponseWithDefaults ¶

func NewAddPublicSignupTokenUser409ResponseWithDefaults() *AddPublicSignupTokenUser409Response

NewAddPublicSignupTokenUser409ResponseWithDefaults instantiates a new AddPublicSignupTokenUser409Response 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 (*AddPublicSignupTokenUser409Response) GetId ¶

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

func (*AddPublicSignupTokenUser409Response) GetIdOk ¶

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 (*AddPublicSignupTokenUser409Response) GetMessage ¶

GetMessage returns the Message field value if set, zero value otherwise.

func (*AddPublicSignupTokenUser409Response) GetMessageOk ¶

func (o *AddPublicSignupTokenUser409Response) 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 (*AddPublicSignupTokenUser409Response) GetName ¶

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

func (*AddPublicSignupTokenUser409Response) GetNameOk ¶

func (o *AddPublicSignupTokenUser409Response) 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 (*AddPublicSignupTokenUser409Response) HasId ¶

HasId returns a boolean if a field has been set.

func (*AddPublicSignupTokenUser409Response) HasMessage ¶

func (o *AddPublicSignupTokenUser409Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AddPublicSignupTokenUser409Response) HasName ¶

HasName returns a boolean if a field has been set.

func (AddPublicSignupTokenUser409Response) MarshalJSON ¶

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

func (*AddPublicSignupTokenUser409Response) SetId ¶

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

func (*AddPublicSignupTokenUser409Response) SetMessage ¶

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*AddPublicSignupTokenUser409Response) SetName ¶

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

func (AddPublicSignupTokenUser409Response) ToMap ¶

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

type AddonCreateUpdateSchema ¶

type AddonCreateUpdateSchema struct {
	// The addon provider, such as \"webhook\" or \"slack\". This string is **case sensitive** and maps to the provider's `name` property.  The list of all supported providers and their parameters for a specific Unleash instance can be found by making a GET request to the `api/admin/addons` endpoint: the `providers` property of that response will contain all available providers.  The default set of providers can be found in the [addons reference documentation](https://docs.getunleash.io/reference/addons). The default supported options are: - `datadog` for [Datadog](https://docs.getunleash.io/reference/addons/datadog) - `slack` for [Slack](https://docs.getunleash.io/reference/addons/slack) - `teams` for [Microsoft Teams](https://docs.getunleash.io/reference/addons/teams) - `webhook` for [webhooks](https://docs.getunleash.io/reference/addons/webhook)  The provider you choose for your addon dictates what properties the `parameters` object needs. Refer to the documentation for each provider for more information.
	Provider string `json:"provider"`
	// A description of the addon.
	Description *string `json:"description,omitempty"`
	// Whether the addon should be enabled or not.
	Enabled bool `json:"enabled"`
	// Parameters for the addon provider. This object has different required and optional properties depending on the provider you choose. Consult the documentation for details.
	Parameters map[string]interface{} `json:"parameters"`
	// The event types that will trigger this specific addon.
	Events []string `json:"events"`
	// The projects that this addon will listen to events from. An empty list means it will listen to events from **all** projects.
	Projects []string `json:"projects,omitempty"`
	// The list of environments that this addon will listen to events from. An empty list means it will listen to events from **all** environments.
	Environments []string `json:"environments,omitempty"`
}

AddonCreateUpdateSchema Data required to create or update an [Unleash addon](https://docs.getunleash.io/reference/addons) instance.

func NewAddonCreateUpdateSchema ¶

func NewAddonCreateUpdateSchema(provider string, enabled bool, parameters map[string]interface{}, events []string) *AddonCreateUpdateSchema

NewAddonCreateUpdateSchema instantiates a new AddonCreateUpdateSchema 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 NewAddonCreateUpdateSchemaWithDefaults ¶

func NewAddonCreateUpdateSchemaWithDefaults() *AddonCreateUpdateSchema

NewAddonCreateUpdateSchemaWithDefaults instantiates a new AddonCreateUpdateSchema 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 (*AddonCreateUpdateSchema) GetDescription ¶

func (o *AddonCreateUpdateSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*AddonCreateUpdateSchema) GetDescriptionOk ¶

func (o *AddonCreateUpdateSchema) 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 (*AddonCreateUpdateSchema) GetEnabled ¶

func (o *AddonCreateUpdateSchema) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*AddonCreateUpdateSchema) GetEnabledOk ¶

func (o *AddonCreateUpdateSchema) GetEnabledOk() (*bool, bool)

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

func (*AddonCreateUpdateSchema) GetEnvironments ¶

func (o *AddonCreateUpdateSchema) GetEnvironments() []string

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*AddonCreateUpdateSchema) GetEnvironmentsOk ¶

func (o *AddonCreateUpdateSchema) 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 (*AddonCreateUpdateSchema) GetEvents ¶

func (o *AddonCreateUpdateSchema) GetEvents() []string

GetEvents returns the Events field value

func (*AddonCreateUpdateSchema) GetEventsOk ¶

func (o *AddonCreateUpdateSchema) GetEventsOk() ([]string, bool)

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

func (*AddonCreateUpdateSchema) GetParameters ¶

func (o *AddonCreateUpdateSchema) GetParameters() map[string]interface{}

GetParameters returns the Parameters field value

func (*AddonCreateUpdateSchema) GetParametersOk ¶

func (o *AddonCreateUpdateSchema) GetParametersOk() (map[string]interface{}, bool)

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

func (*AddonCreateUpdateSchema) GetProjects ¶

func (o *AddonCreateUpdateSchema) GetProjects() []string

GetProjects returns the Projects field value if set, zero value otherwise.

func (*AddonCreateUpdateSchema) GetProjectsOk ¶

func (o *AddonCreateUpdateSchema) 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 (*AddonCreateUpdateSchema) GetProvider ¶

func (o *AddonCreateUpdateSchema) GetProvider() string

GetProvider returns the Provider field value

func (*AddonCreateUpdateSchema) GetProviderOk ¶

func (o *AddonCreateUpdateSchema) GetProviderOk() (*string, bool)

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

func (*AddonCreateUpdateSchema) HasDescription ¶

func (o *AddonCreateUpdateSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AddonCreateUpdateSchema) HasEnvironments ¶

func (o *AddonCreateUpdateSchema) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*AddonCreateUpdateSchema) HasProjects ¶

func (o *AddonCreateUpdateSchema) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (AddonCreateUpdateSchema) MarshalJSON ¶

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

func (*AddonCreateUpdateSchema) SetDescription ¶

func (o *AddonCreateUpdateSchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*AddonCreateUpdateSchema) SetEnabled ¶

func (o *AddonCreateUpdateSchema) SetEnabled(v bool)

SetEnabled sets field value

func (*AddonCreateUpdateSchema) SetEnvironments ¶

func (o *AddonCreateUpdateSchema) SetEnvironments(v []string)

SetEnvironments gets a reference to the given []string and assigns it to the Environments field.

func (*AddonCreateUpdateSchema) SetEvents ¶

func (o *AddonCreateUpdateSchema) SetEvents(v []string)

SetEvents sets field value

func (*AddonCreateUpdateSchema) SetParameters ¶

func (o *AddonCreateUpdateSchema) SetParameters(v map[string]interface{})

SetParameters sets field value

func (*AddonCreateUpdateSchema) SetProjects ¶

func (o *AddonCreateUpdateSchema) SetProjects(v []string)

SetProjects gets a reference to the given []string and assigns it to the Projects field.

func (*AddonCreateUpdateSchema) SetProvider ¶

func (o *AddonCreateUpdateSchema) SetProvider(v string)

SetProvider sets field value

func (AddonCreateUpdateSchema) ToMap ¶

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

type AddonParameterSchema ¶

type AddonParameterSchema struct {
	// The name of the parameter as it is used in code. References to this parameter should use this value.
	Name string `json:"name"`
	// The name of the parameter as it is shown to the end user in the Admin UI.
	DisplayName string `json:"displayName"`
	// The type of the parameter. Corresponds roughly to [HTML `input` field types](https://developer.mozilla.org/docs/Web/HTML/Element/Input#input_types). Multi-line inut fields are indicated as `textfield` (equivalent to the HTML `textarea` tag).
	Type string `json:"type"`
	// A description of the parameter. This should explain to the end user what the parameter is used for.
	Description *string `json:"description,omitempty"`
	// The default value for this parameter. This value is used if no other value is provided.
	Placeholder *string `json:"placeholder,omitempty"`
	// Whether this parameter is required or not. If a parameter is required, you must give it a value when you create the addon. If it is not required it can be left out. It may receive a default value in those cases.
	Required bool `json:"required"`
	// Indicates whether this parameter is **sensitive** or not. Unleash will not return sensitive parameters to API requests. It will instead use a number of asterisks to indicate that a value is set, e.g. \"******\". The number of asterisks does not correlate to the parameter's value.
	Sensitive bool `json:"sensitive"`
}

AddonParameterSchema An addon parameter definition.

func NewAddonParameterSchema ¶

func NewAddonParameterSchema(name string, displayName string, type_ string, required bool, sensitive bool) *AddonParameterSchema

NewAddonParameterSchema instantiates a new AddonParameterSchema 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 NewAddonParameterSchemaWithDefaults ¶

func NewAddonParameterSchemaWithDefaults() *AddonParameterSchema

NewAddonParameterSchemaWithDefaults instantiates a new AddonParameterSchema 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 (*AddonParameterSchema) GetDescription ¶

func (o *AddonParameterSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*AddonParameterSchema) GetDescriptionOk ¶

func (o *AddonParameterSchema) 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 (*AddonParameterSchema) GetDisplayName ¶

func (o *AddonParameterSchema) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*AddonParameterSchema) GetDisplayNameOk ¶

func (o *AddonParameterSchema) GetDisplayNameOk() (*string, bool)

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

func (*AddonParameterSchema) GetName ¶

func (o *AddonParameterSchema) GetName() string

GetName returns the Name field value

func (*AddonParameterSchema) GetNameOk ¶

func (o *AddonParameterSchema) GetNameOk() (*string, bool)

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

func (*AddonParameterSchema) GetPlaceholder ¶

func (o *AddonParameterSchema) GetPlaceholder() string

GetPlaceholder returns the Placeholder field value if set, zero value otherwise.

func (*AddonParameterSchema) GetPlaceholderOk ¶

func (o *AddonParameterSchema) GetPlaceholderOk() (*string, bool)

GetPlaceholderOk returns a tuple with the Placeholder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddonParameterSchema) GetRequired ¶

func (o *AddonParameterSchema) GetRequired() bool

GetRequired returns the Required field value

func (*AddonParameterSchema) GetRequiredOk ¶

func (o *AddonParameterSchema) GetRequiredOk() (*bool, bool)

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

func (*AddonParameterSchema) GetSensitive ¶

func (o *AddonParameterSchema) GetSensitive() bool

GetSensitive returns the Sensitive field value

func (*AddonParameterSchema) GetSensitiveOk ¶

func (o *AddonParameterSchema) GetSensitiveOk() (*bool, bool)

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

func (*AddonParameterSchema) GetType ¶

func (o *AddonParameterSchema) GetType() string

GetType returns the Type field value

func (*AddonParameterSchema) GetTypeOk ¶

func (o *AddonParameterSchema) GetTypeOk() (*string, bool)

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

func (*AddonParameterSchema) HasDescription ¶

func (o *AddonParameterSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AddonParameterSchema) HasPlaceholder ¶

func (o *AddonParameterSchema) HasPlaceholder() bool

HasPlaceholder returns a boolean if a field has been set.

func (AddonParameterSchema) MarshalJSON ¶

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

func (*AddonParameterSchema) SetDescription ¶

func (o *AddonParameterSchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*AddonParameterSchema) SetDisplayName ¶

func (o *AddonParameterSchema) SetDisplayName(v string)

SetDisplayName sets field value

func (*AddonParameterSchema) SetName ¶

func (o *AddonParameterSchema) SetName(v string)

SetName sets field value

func (*AddonParameterSchema) SetPlaceholder ¶

func (o *AddonParameterSchema) SetPlaceholder(v string)

SetPlaceholder gets a reference to the given string and assigns it to the Placeholder field.

func (*AddonParameterSchema) SetRequired ¶

func (o *AddonParameterSchema) SetRequired(v bool)

SetRequired sets field value

func (*AddonParameterSchema) SetSensitive ¶

func (o *AddonParameterSchema) SetSensitive(v bool)

SetSensitive sets field value

func (*AddonParameterSchema) SetType ¶

func (o *AddonParameterSchema) SetType(v string)

SetType sets field value

func (AddonParameterSchema) ToMap ¶

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

type AddonSchema ¶

type AddonSchema struct {
	// The addon's unique identifier.
	Id int32 `json:"id"`
	// The addon provider, such as \"webhook\" or \"slack\".
	Provider string `json:"provider"`
	// A description of the addon. `null` if no description exists.
	Description NullableString `json:"description"`
	// Whether the addon is enabled or not.
	Enabled bool `json:"enabled"`
	// Parameters for the addon provider. This object has different required and optional properties depending on the provider you choose.
	Parameters map[string]interface{} `json:"parameters"`
	// The event types that trigger this specific addon.
	Events []string `json:"events"`
	// The projects that this addon listens to events from. An empty list means it listens to events from **all** projects.
	Projects []string `json:"projects,omitempty"`
	// The list of environments that this addon listens to events from. An empty list means it listens to events from **all** environments.
	Environments []string `json:"environments,omitempty"`
}

AddonSchema An [addon](https://docs.getunleash.io/reference/addons) instance description. Contains data about what kind of provider it uses, whether it's enabled or not, what events it listens for, and more.

func NewAddonSchema ¶

func NewAddonSchema(id int32, provider string, description NullableString, enabled bool, parameters map[string]interface{}, events []string) *AddonSchema

NewAddonSchema instantiates a new AddonSchema 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 NewAddonSchemaWithDefaults ¶

func NewAddonSchemaWithDefaults() *AddonSchema

NewAddonSchemaWithDefaults instantiates a new AddonSchema 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 (*AddonSchema) GetDescription ¶

func (o *AddonSchema) GetDescription() string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*AddonSchema) GetDescriptionOk ¶

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

GetDescriptionOk returns a tuple with the Description 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 (*AddonSchema) GetEnabled ¶

func (o *AddonSchema) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*AddonSchema) GetEnabledOk ¶

func (o *AddonSchema) GetEnabledOk() (*bool, bool)

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

func (*AddonSchema) GetEnvironments ¶

func (o *AddonSchema) GetEnvironments() []string

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*AddonSchema) GetEnvironmentsOk ¶

func (o *AddonSchema) 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 (*AddonSchema) GetEvents ¶

func (o *AddonSchema) GetEvents() []string

GetEvents returns the Events field value

func (*AddonSchema) GetEventsOk ¶

func (o *AddonSchema) GetEventsOk() ([]string, bool)

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

func (*AddonSchema) GetId ¶

func (o *AddonSchema) GetId() int32

GetId returns the Id field value

func (*AddonSchema) GetIdOk ¶

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

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

func (*AddonSchema) GetParameters ¶

func (o *AddonSchema) GetParameters() map[string]interface{}

GetParameters returns the Parameters field value

func (*AddonSchema) GetParametersOk ¶

func (o *AddonSchema) GetParametersOk() (map[string]interface{}, bool)

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

func (*AddonSchema) GetProjects ¶

func (o *AddonSchema) GetProjects() []string

GetProjects returns the Projects field value if set, zero value otherwise.

func (*AddonSchema) GetProjectsOk ¶

func (o *AddonSchema) 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 (*AddonSchema) GetProvider ¶

func (o *AddonSchema) GetProvider() string

GetProvider returns the Provider field value

func (*AddonSchema) GetProviderOk ¶

func (o *AddonSchema) GetProviderOk() (*string, bool)

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

func (*AddonSchema) HasEnvironments ¶

func (o *AddonSchema) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*AddonSchema) HasProjects ¶

func (o *AddonSchema) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (AddonSchema) MarshalJSON ¶

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

func (*AddonSchema) SetDescription ¶

func (o *AddonSchema) SetDescription(v string)

SetDescription sets field value

func (*AddonSchema) SetEnabled ¶

func (o *AddonSchema) SetEnabled(v bool)

SetEnabled sets field value

func (*AddonSchema) SetEnvironments ¶

func (o *AddonSchema) SetEnvironments(v []string)

SetEnvironments gets a reference to the given []string and assigns it to the Environments field.

func (*AddonSchema) SetEvents ¶

func (o *AddonSchema) SetEvents(v []string)

SetEvents sets field value

func (*AddonSchema) SetId ¶

func (o *AddonSchema) SetId(v int32)

SetId sets field value

func (*AddonSchema) SetParameters ¶

func (o *AddonSchema) SetParameters(v map[string]interface{})

SetParameters sets field value

func (*AddonSchema) SetProjects ¶

func (o *AddonSchema) SetProjects(v []string)

SetProjects gets a reference to the given []string and assigns it to the Projects field.

func (*AddonSchema) SetProvider ¶

func (o *AddonSchema) SetProvider(v string)

SetProvider sets field value

func (AddonSchema) ToMap ¶

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

type AddonTypeSchema ¶

type AddonTypeSchema struct {
	// The name of the addon type. When creating new addons, this goes in the payload's `type` field.
	Name string `json:"name"`
	// The addon type's name as it should be displayed in the admin UI.
	DisplayName string `json:"displayName"`
	// A URL to where you can find more information about using this addon type.
	DocumentationUrl string `json:"documentationUrl"`
	// A description of the addon type.
	Description string `json:"description"`
	// A list of [Unleash tag types](https://docs.getunleash.io/reference/tags#tag-types) that this addon uses. These tags will be added to the Unleash instance when an addon of this type is created.
	TagTypes []TagTypeSchema `json:"tagTypes,omitempty"`
	// The addon provider's parameters. Use these to configure an addon of this provider type. Items with `required: true` must be provided.
	Parameters []AddonParameterSchema `json:"parameters,omitempty"`
	// All the [event types](https://docs.getunleash.io/reference/api/legacy/unleash/admin/events#feature-toggle-events) that are available for this addon provider.
	Events []string `json:"events,omitempty"`
}

AddonTypeSchema An addon provider. Defines a specific addon type and what the end user must configure when creating a new addon of that type.

func NewAddonTypeSchema ¶

func NewAddonTypeSchema(name string, displayName string, documentationUrl string, description string) *AddonTypeSchema

NewAddonTypeSchema instantiates a new AddonTypeSchema 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 NewAddonTypeSchemaWithDefaults ¶

func NewAddonTypeSchemaWithDefaults() *AddonTypeSchema

NewAddonTypeSchemaWithDefaults instantiates a new AddonTypeSchema 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 (*AddonTypeSchema) GetDescription ¶

func (o *AddonTypeSchema) GetDescription() string

GetDescription returns the Description field value

func (*AddonTypeSchema) GetDescriptionOk ¶

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

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

func (*AddonTypeSchema) GetDisplayName ¶

func (o *AddonTypeSchema) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*AddonTypeSchema) GetDisplayNameOk ¶

func (o *AddonTypeSchema) GetDisplayNameOk() (*string, bool)

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

func (*AddonTypeSchema) GetDocumentationUrl ¶

func (o *AddonTypeSchema) GetDocumentationUrl() string

GetDocumentationUrl returns the DocumentationUrl field value

func (*AddonTypeSchema) GetDocumentationUrlOk ¶

func (o *AddonTypeSchema) GetDocumentationUrlOk() (*string, bool)

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

func (*AddonTypeSchema) GetEvents ¶

func (o *AddonTypeSchema) GetEvents() []string

GetEvents returns the Events field value if set, zero value otherwise.

func (*AddonTypeSchema) GetEventsOk ¶

func (o *AddonTypeSchema) GetEventsOk() ([]string, bool)

GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddonTypeSchema) GetName ¶

func (o *AddonTypeSchema) GetName() string

GetName returns the Name field value

func (*AddonTypeSchema) GetNameOk ¶

func (o *AddonTypeSchema) GetNameOk() (*string, bool)

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

func (*AddonTypeSchema) GetParameters ¶

func (o *AddonTypeSchema) GetParameters() []AddonParameterSchema

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*AddonTypeSchema) GetParametersOk ¶

func (o *AddonTypeSchema) GetParametersOk() ([]AddonParameterSchema, 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 (*AddonTypeSchema) GetTagTypes ¶

func (o *AddonTypeSchema) GetTagTypes() []TagTypeSchema

GetTagTypes returns the TagTypes field value if set, zero value otherwise.

func (*AddonTypeSchema) GetTagTypesOk ¶

func (o *AddonTypeSchema) GetTagTypesOk() ([]TagTypeSchema, bool)

GetTagTypesOk returns a tuple with the TagTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddonTypeSchema) HasEvents ¶

func (o *AddonTypeSchema) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*AddonTypeSchema) HasParameters ¶

func (o *AddonTypeSchema) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (*AddonTypeSchema) HasTagTypes ¶

func (o *AddonTypeSchema) HasTagTypes() bool

HasTagTypes returns a boolean if a field has been set.

func (AddonTypeSchema) MarshalJSON ¶

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

func (*AddonTypeSchema) SetDescription ¶

func (o *AddonTypeSchema) SetDescription(v string)

SetDescription sets field value

func (*AddonTypeSchema) SetDisplayName ¶

func (o *AddonTypeSchema) SetDisplayName(v string)

SetDisplayName sets field value

func (*AddonTypeSchema) SetDocumentationUrl ¶

func (o *AddonTypeSchema) SetDocumentationUrl(v string)

SetDocumentationUrl sets field value

func (*AddonTypeSchema) SetEvents ¶

func (o *AddonTypeSchema) SetEvents(v []string)

SetEvents gets a reference to the given []string and assigns it to the Events field.

func (*AddonTypeSchema) SetName ¶

func (o *AddonTypeSchema) SetName(v string)

SetName sets field value

func (*AddonTypeSchema) SetParameters ¶

func (o *AddonTypeSchema) SetParameters(v []AddonParameterSchema)

SetParameters gets a reference to the given []AddonParameterSchema and assigns it to the Parameters field.

func (*AddonTypeSchema) SetTagTypes ¶

func (o *AddonTypeSchema) SetTagTypes(v []TagTypeSchema)

SetTagTypes gets a reference to the given []TagTypeSchema and assigns it to the TagTypes field.

func (AddonTypeSchema) ToMap ¶

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

type AddonTypeSchemaAlertsInner ¶

type AddonTypeSchemaAlertsInner struct {
	// The type of alert. This determines the color of the alert.
	Type string `json:"type"`
	// The text of the alert. This is what will be displayed to the user.
	Text string `json:"text"`
}

AddonTypeSchemaAlertsInner struct for AddonTypeSchemaAlertsInner

func NewAddonTypeSchemaAlertsInner ¶

func NewAddonTypeSchemaAlertsInner(type_ string, text string) *AddonTypeSchemaAlertsInner

NewAddonTypeSchemaAlertsInner instantiates a new AddonTypeSchemaAlertsInner 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 NewAddonTypeSchemaAlertsInnerWithDefaults ¶

func NewAddonTypeSchemaAlertsInnerWithDefaults() *AddonTypeSchemaAlertsInner

NewAddonTypeSchemaAlertsInnerWithDefaults instantiates a new AddonTypeSchemaAlertsInner 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 (*AddonTypeSchemaAlertsInner) GetText ¶

func (o *AddonTypeSchemaAlertsInner) GetText() string

GetText returns the Text field value

func (*AddonTypeSchemaAlertsInner) GetTextOk ¶

func (o *AddonTypeSchemaAlertsInner) GetTextOk() (*string, bool)

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

func (*AddonTypeSchemaAlertsInner) GetType ¶

func (o *AddonTypeSchemaAlertsInner) GetType() string

GetType returns the Type field value

func (*AddonTypeSchemaAlertsInner) GetTypeOk ¶

func (o *AddonTypeSchemaAlertsInner) GetTypeOk() (*string, bool)

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

func (AddonTypeSchemaAlertsInner) MarshalJSON ¶

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

func (*AddonTypeSchemaAlertsInner) SetText ¶

func (o *AddonTypeSchemaAlertsInner) SetText(v string)

SetText sets field value

func (*AddonTypeSchemaAlertsInner) SetType ¶

func (o *AddonTypeSchemaAlertsInner) SetType(v string)

SetType sets field value

func (AddonTypeSchemaAlertsInner) ToMap ¶

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

type AddonTypeSchemaInstallation ¶

type AddonTypeSchemaInstallation struct {
	// A URL to where the addon configuration should redirect to install addons of this type.
	Url string `json:"url"`
	// The title of the installation configuration. This will be displayed to the user when installing addons of this type.
	Title *string `json:"title,omitempty"`
	// The help text of the installation configuration. This will be displayed to the user when installing addons of this type.
	HelpText *string `json:"helpText,omitempty"`
}

AddonTypeSchemaInstallation The installation configuration for this addon type.

func NewAddonTypeSchemaInstallation ¶

func NewAddonTypeSchemaInstallation(url string) *AddonTypeSchemaInstallation

NewAddonTypeSchemaInstallation instantiates a new AddonTypeSchemaInstallation 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 NewAddonTypeSchemaInstallationWithDefaults ¶

func NewAddonTypeSchemaInstallationWithDefaults() *AddonTypeSchemaInstallation

NewAddonTypeSchemaInstallationWithDefaults instantiates a new AddonTypeSchemaInstallation 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 (*AddonTypeSchemaInstallation) GetHelpText ¶

func (o *AddonTypeSchemaInstallation) GetHelpText() string

GetHelpText returns the HelpText field value if set, zero value otherwise.

func (*AddonTypeSchemaInstallation) GetHelpTextOk ¶

func (o *AddonTypeSchemaInstallation) GetHelpTextOk() (*string, bool)

GetHelpTextOk returns a tuple with the HelpText field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddonTypeSchemaInstallation) GetTitle ¶

func (o *AddonTypeSchemaInstallation) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*AddonTypeSchemaInstallation) GetTitleOk ¶

func (o *AddonTypeSchemaInstallation) 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.

func (*AddonTypeSchemaInstallation) GetUrl ¶

func (o *AddonTypeSchemaInstallation) GetUrl() string

GetUrl returns the Url field value

func (*AddonTypeSchemaInstallation) GetUrlOk ¶

func (o *AddonTypeSchemaInstallation) GetUrlOk() (*string, bool)

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

func (*AddonTypeSchemaInstallation) HasHelpText ¶

func (o *AddonTypeSchemaInstallation) HasHelpText() bool

HasHelpText returns a boolean if a field has been set.

func (*AddonTypeSchemaInstallation) HasTitle ¶

func (o *AddonTypeSchemaInstallation) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (AddonTypeSchemaInstallation) MarshalJSON ¶

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

func (*AddonTypeSchemaInstallation) SetHelpText ¶

func (o *AddonTypeSchemaInstallation) SetHelpText(v string)

SetHelpText gets a reference to the given string and assigns it to the HelpText field.

func (*AddonTypeSchemaInstallation) SetTitle ¶

func (o *AddonTypeSchemaInstallation) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*AddonTypeSchemaInstallation) SetUrl ¶

func (o *AddonTypeSchemaInstallation) SetUrl(v string)

SetUrl sets field value

func (AddonTypeSchemaInstallation) ToMap ¶

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

type AddonsApiService ¶

type AddonsApiService service

AddonsApiService AddonsApi service

func (*AddonsApiService) CreateAddon ¶

CreateAddon Create a new addon

Create an addon instance. The addon must use one of the providers available on this Unleash instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateAddonRequest

func (*AddonsApiService) CreateAddonExecute ¶

func (a *AddonsApiService) CreateAddonExecute(r ApiCreateAddonRequest) (*AddonSchema, *http.Response, error)

Execute executes the request

@return AddonSchema

func (*AddonsApiService) DeleteAddon ¶

DeleteAddon Delete an addon

Delete the addon specified by the ID in the request path.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiDeleteAddonRequest

func (*AddonsApiService) DeleteAddonExecute ¶

func (a *AddonsApiService) DeleteAddonExecute(r ApiDeleteAddonRequest) (*http.Response, error)

Execute executes the request

func (*AddonsApiService) GetAddon ¶

GetAddon Get a specific addon

Retrieve information about the addon whose ID matches the ID in the request URL.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiGetAddonRequest

func (*AddonsApiService) GetAddonExecute ¶

func (a *AddonsApiService) GetAddonExecute(r ApiGetAddonRequest) (*AddonSchema, *http.Response, error)

Execute executes the request

@return AddonSchema

func (*AddonsApiService) GetAddons ¶

GetAddons Get all addons and providers

Retrieve all addons and providers that are defined on this Unleash instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAddonsRequest

func (*AddonsApiService) GetAddonsExecute ¶

func (a *AddonsApiService) GetAddonsExecute(r ApiGetAddonsRequest) (*AddonsSchema, *http.Response, error)

Execute executes the request

@return AddonsSchema

func (*AddonsApiService) UpdateAddon ¶

UpdateAddon Update an addon

Update the addon with a specific ID. Any fields in the update object will be updated. Properties that are not included in the update object will not be affected. To empty a property, pass `null` as that property's value.

Note: passing `null` as a value for the description property will set it to an empty string.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateAddonRequest

func (*AddonsApiService) UpdateAddonExecute ¶

func (a *AddonsApiService) UpdateAddonExecute(r ApiUpdateAddonRequest) (*AddonSchema, *http.Response, error)

Execute executes the request

@return AddonSchema

type AddonsSchema ¶

type AddonsSchema struct {
	// All the addons that exist on this instance of Unleash.
	Addons []AddonSchema `json:"addons"`
	// A list of  all available addon providers, along with their parameters and descriptions.
	Providers []AddonTypeSchema `json:"providers"`
}

AddonsSchema An object containing two things: 1. A list of all [addons](https://docs.getunleash.io/reference/addons) defined on this Unleash instance 2. A list of all addon providers defined on this instance

func NewAddonsSchema ¶

func NewAddonsSchema(addons []AddonSchema, providers []AddonTypeSchema) *AddonsSchema

NewAddonsSchema instantiates a new AddonsSchema 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 NewAddonsSchemaWithDefaults ¶

func NewAddonsSchemaWithDefaults() *AddonsSchema

NewAddonsSchemaWithDefaults instantiates a new AddonsSchema 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 (*AddonsSchema) GetAddons ¶

func (o *AddonsSchema) GetAddons() []AddonSchema

GetAddons returns the Addons field value

func (*AddonsSchema) GetAddonsOk ¶

func (o *AddonsSchema) GetAddonsOk() ([]AddonSchema, bool)

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

func (*AddonsSchema) GetProviders ¶

func (o *AddonsSchema) GetProviders() []AddonTypeSchema

GetProviders returns the Providers field value

func (*AddonsSchema) GetProvidersOk ¶

func (o *AddonsSchema) GetProvidersOk() ([]AddonTypeSchema, bool)

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

func (AddonsSchema) MarshalJSON ¶

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

func (*AddonsSchema) SetAddons ¶

func (o *AddonsSchema) SetAddons(v []AddonSchema)

SetAddons sets field value

func (*AddonsSchema) SetProviders ¶

func (o *AddonsSchema) SetProviders(v []AddonTypeSchema)

SetProviders sets field value

func (AddonsSchema) ToMap ¶

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

type AdminCountSchema ¶

type AdminCountSchema struct {
	// Total number of admins that have a password set.
	Password float32 `json:"password"`
	// Total number of admins that do not have a password set. May be SSO, but may also be users that did not set a password yet.
	NoPassword float32 `json:"noPassword"`
	// Total number of service accounts that have the admin root role.
	Service float32 `json:"service"`
}

AdminCountSchema Contains total admin counts for an Unleash instance.

func NewAdminCountSchema ¶

func NewAdminCountSchema(password float32, noPassword float32, service float32) *AdminCountSchema

NewAdminCountSchema instantiates a new AdminCountSchema 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 NewAdminCountSchemaWithDefaults ¶

func NewAdminCountSchemaWithDefaults() *AdminCountSchema

NewAdminCountSchemaWithDefaults instantiates a new AdminCountSchema 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 (*AdminCountSchema) GetNoPassword ¶

func (o *AdminCountSchema) GetNoPassword() float32

GetNoPassword returns the NoPassword field value

func (*AdminCountSchema) GetNoPasswordOk ¶

func (o *AdminCountSchema) GetNoPasswordOk() (*float32, bool)

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

func (*AdminCountSchema) GetPassword ¶

func (o *AdminCountSchema) GetPassword() float32

GetPassword returns the Password field value

func (*AdminCountSchema) GetPasswordOk ¶

func (o *AdminCountSchema) GetPasswordOk() (*float32, bool)

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

func (*AdminCountSchema) GetService ¶

func (o *AdminCountSchema) GetService() float32

GetService returns the Service field value

func (*AdminCountSchema) GetServiceOk ¶

func (o *AdminCountSchema) GetServiceOk() (*float32, bool)

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

func (AdminCountSchema) MarshalJSON ¶

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

func (*AdminCountSchema) SetNoPassword ¶

func (o *AdminCountSchema) SetNoPassword(v float32)

SetNoPassword sets field value

func (*AdminCountSchema) SetPassword ¶

func (o *AdminCountSchema) SetPassword(v float32)

SetPassword sets field value

func (*AdminCountSchema) SetService ¶

func (o *AdminCountSchema) SetService(v float32)

SetService sets field value

func (AdminCountSchema) ToMap ¶

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

type AdminFeaturesQuerySchema ¶

type AdminFeaturesQuerySchema struct {
	// Used to filter by tags. For each entry, a TAGTYPE:TAGVALUE is expected
	Tag []string `json:"tag,omitempty"`
	// A case-insensitive prefix filter for the names of feature toggles
	NamePrefix *string `json:"namePrefix,omitempty"`
}

AdminFeaturesQuerySchema struct for AdminFeaturesQuerySchema

func NewAdminFeaturesQuerySchema ¶

func NewAdminFeaturesQuerySchema() *AdminFeaturesQuerySchema

NewAdminFeaturesQuerySchema instantiates a new AdminFeaturesQuerySchema 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 NewAdminFeaturesQuerySchemaWithDefaults ¶

func NewAdminFeaturesQuerySchemaWithDefaults() *AdminFeaturesQuerySchema

NewAdminFeaturesQuerySchemaWithDefaults instantiates a new AdminFeaturesQuerySchema 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 (*AdminFeaturesQuerySchema) GetNamePrefix ¶

func (o *AdminFeaturesQuerySchema) GetNamePrefix() string

GetNamePrefix returns the NamePrefix field value if set, zero value otherwise.

func (*AdminFeaturesQuerySchema) GetNamePrefixOk ¶

func (o *AdminFeaturesQuerySchema) GetNamePrefixOk() (*string, bool)

GetNamePrefixOk returns a tuple with the NamePrefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdminFeaturesQuerySchema) GetTag ¶

func (o *AdminFeaturesQuerySchema) GetTag() []string

GetTag returns the Tag field value if set, zero value otherwise.

func (*AdminFeaturesQuerySchema) GetTagOk ¶

func (o *AdminFeaturesQuerySchema) GetTagOk() ([]string, bool)

GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdminFeaturesQuerySchema) HasNamePrefix ¶

func (o *AdminFeaturesQuerySchema) HasNamePrefix() bool

HasNamePrefix returns a boolean if a field has been set.

func (*AdminFeaturesQuerySchema) HasTag ¶

func (o *AdminFeaturesQuerySchema) HasTag() bool

HasTag returns a boolean if a field has been set.

func (AdminFeaturesQuerySchema) MarshalJSON ¶

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

func (*AdminFeaturesQuerySchema) SetNamePrefix ¶

func (o *AdminFeaturesQuerySchema) SetNamePrefix(v string)

SetNamePrefix gets a reference to the given string and assigns it to the NamePrefix field.

func (*AdminFeaturesQuerySchema) SetTag ¶

func (o *AdminFeaturesQuerySchema) SetTag(v []string)

SetTag gets a reference to the given []string and assigns it to the Tag field.

func (AdminFeaturesQuerySchema) ToMap ¶

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

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 *string `json:"environment,omitempty"`
}

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.

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.

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 string and assigns it to the Environment field.

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)

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"`
}

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)

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"`
}

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)

type AdminPermissionsSchemaPermissionsEnvironmentsInner ¶

type AdminPermissionsSchemaPermissionsEnvironmentsInner struct {
	// The name of the environment
	Name string `json:"name"`
	// Permissions available for this environment
	Permissions []AdminPermissionSchema `json:"permissions"`
}

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 ¶

type AdminSegmentSchema ¶

type AdminSegmentSchema struct {
	// The ID of this segment
	Id int32 `json:"id"`
	// The name of this segment
	Name string `json:"name"`
	// The description for this segment
	Description NullableString `json:"description,omitempty"`
	// The list of constraints that are used in this segment
	Constraints []ConstraintSchema `json:"constraints"`
	// The number of projects that use this segment
	UsedInFeatures NullableInt32 `json:"usedInFeatures,omitempty"`
	// The number of projects that use this segment
	UsedInProjects NullableInt32  `json:"usedInProjects,omitempty"`
	Project        NullableString `json:"project,omitempty"`
	// The creator's email or username
	CreatedBy *string `json:"createdBy,omitempty"`
	// When the segment was created
	CreatedAt time.Time `json:"createdAt"`
}

AdminSegmentSchema struct for AdminSegmentSchema

func NewAdminSegmentSchema ¶

func NewAdminSegmentSchema(id int32, name string, constraints []ConstraintSchema, createdAt time.Time) *AdminSegmentSchema

NewAdminSegmentSchema instantiates a new AdminSegmentSchema 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 NewAdminSegmentSchemaWithDefaults ¶

func NewAdminSegmentSchemaWithDefaults() *AdminSegmentSchema

NewAdminSegmentSchemaWithDefaults instantiates a new AdminSegmentSchema 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 (*AdminSegmentSchema) GetConstraints ¶

func (o *AdminSegmentSchema) GetConstraints() []ConstraintSchema

GetConstraints returns the Constraints field value

func (*AdminSegmentSchema) GetConstraintsOk ¶

func (o *AdminSegmentSchema) GetConstraintsOk() ([]ConstraintSchema, bool)

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

func (*AdminSegmentSchema) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value

func (*AdminSegmentSchema) GetCreatedAtOk ¶

func (o *AdminSegmentSchema) 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 (*AdminSegmentSchema) GetCreatedBy ¶

func (o *AdminSegmentSchema) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*AdminSegmentSchema) GetCreatedByOk ¶

func (o *AdminSegmentSchema) 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.

func (*AdminSegmentSchema) GetDescription ¶

func (o *AdminSegmentSchema) GetDescription() string

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

func (*AdminSegmentSchema) GetDescriptionOk ¶

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

func (o *AdminSegmentSchema) GetId() int32

GetId returns the Id field value

func (*AdminSegmentSchema) GetIdOk ¶

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

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

func (*AdminSegmentSchema) GetName ¶

func (o *AdminSegmentSchema) GetName() string

GetName returns the Name field value

func (*AdminSegmentSchema) GetNameOk ¶

func (o *AdminSegmentSchema) GetNameOk() (*string, bool)

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

func (*AdminSegmentSchema) GetProject ¶

func (o *AdminSegmentSchema) GetProject() string

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

func (*AdminSegmentSchema) GetProjectOk ¶

func (o *AdminSegmentSchema) 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 (*AdminSegmentSchema) GetUsedInFeatures ¶

func (o *AdminSegmentSchema) GetUsedInFeatures() int32

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

func (*AdminSegmentSchema) GetUsedInFeaturesOk ¶

func (o *AdminSegmentSchema) 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 (*AdminSegmentSchema) GetUsedInProjects ¶

func (o *AdminSegmentSchema) GetUsedInProjects() int32

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

func (*AdminSegmentSchema) GetUsedInProjectsOk ¶

func (o *AdminSegmentSchema) 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 (*AdminSegmentSchema) HasCreatedBy ¶

func (o *AdminSegmentSchema) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*AdminSegmentSchema) HasDescription ¶

func (o *AdminSegmentSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AdminSegmentSchema) HasProject ¶

func (o *AdminSegmentSchema) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*AdminSegmentSchema) HasUsedInFeatures ¶

func (o *AdminSegmentSchema) HasUsedInFeatures() bool

HasUsedInFeatures returns a boolean if a field has been set.

func (*AdminSegmentSchema) HasUsedInProjects ¶

func (o *AdminSegmentSchema) HasUsedInProjects() bool

HasUsedInProjects returns a boolean if a field has been set.

func (AdminSegmentSchema) MarshalJSON ¶

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

func (*AdminSegmentSchema) SetConstraints ¶

func (o *AdminSegmentSchema) SetConstraints(v []ConstraintSchema)

SetConstraints sets field value

func (*AdminSegmentSchema) SetCreatedAt ¶

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

SetCreatedAt sets field value

func (*AdminSegmentSchema) SetCreatedBy ¶

func (o *AdminSegmentSchema) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*AdminSegmentSchema) SetDescription ¶

func (o *AdminSegmentSchema) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*AdminSegmentSchema) SetDescriptionNil ¶

func (o *AdminSegmentSchema) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*AdminSegmentSchema) SetId ¶

func (o *AdminSegmentSchema) SetId(v int32)

SetId sets field value

func (*AdminSegmentSchema) SetName ¶

func (o *AdminSegmentSchema) SetName(v string)

SetName sets field value

func (*AdminSegmentSchema) SetProject ¶

func (o *AdminSegmentSchema) SetProject(v string)

SetProject gets a reference to the given NullableString and assigns it to the Project field.

func (*AdminSegmentSchema) SetProjectNil ¶

func (o *AdminSegmentSchema) SetProjectNil()

SetProjectNil sets the value for Project to be an explicit nil

func (*AdminSegmentSchema) SetUsedInFeatures ¶

func (o *AdminSegmentSchema) SetUsedInFeatures(v int32)

SetUsedInFeatures gets a reference to the given NullableInt32 and assigns it to the UsedInFeatures field.

func (*AdminSegmentSchema) SetUsedInFeaturesNil ¶

func (o *AdminSegmentSchema) SetUsedInFeaturesNil()

SetUsedInFeaturesNil sets the value for UsedInFeatures to be an explicit nil

func (*AdminSegmentSchema) SetUsedInProjects ¶

func (o *AdminSegmentSchema) SetUsedInProjects(v int32)

SetUsedInProjects gets a reference to the given NullableInt32 and assigns it to the UsedInProjects field.

func (*AdminSegmentSchema) SetUsedInProjectsNil ¶

func (o *AdminSegmentSchema) SetUsedInProjectsNil()

SetUsedInProjectsNil sets the value for UsedInProjects to be an explicit nil

func (AdminSegmentSchema) ToMap ¶

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

func (*AdminSegmentSchema) UnsetDescription ¶

func (o *AdminSegmentSchema) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*AdminSegmentSchema) UnsetProject ¶

func (o *AdminSegmentSchema) UnsetProject()

UnsetProject ensures that no value is present for Project, not even an explicit nil

func (*AdminSegmentSchema) UnsetUsedInFeatures ¶

func (o *AdminSegmentSchema) UnsetUsedInFeatures()

UnsetUsedInFeatures ensures that no value is present for UsedInFeatures, not even an explicit nil

func (*AdminSegmentSchema) UnsetUsedInProjects ¶

func (o *AdminSegmentSchema) UnsetUsedInProjects()

UnsetUsedInProjects ensures that no value is present for UsedInProjects, not even an explicit nil

type AdminStrategiesSchema ¶

type AdminStrategiesSchema struct {
	// The list of strategies
	Strategies []AdminStrategiesSchemaStrategiesInner `json:"strategies"`
}

AdminStrategiesSchema A collection of strategies belonging to a specified segment.

func NewAdminStrategiesSchema ¶

func NewAdminStrategiesSchema(strategies []AdminStrategiesSchemaStrategiesInner) *AdminStrategiesSchema

NewAdminStrategiesSchema instantiates a new AdminStrategiesSchema 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 NewAdminStrategiesSchemaWithDefaults ¶

func NewAdminStrategiesSchemaWithDefaults() *AdminStrategiesSchema

NewAdminStrategiesSchemaWithDefaults instantiates a new AdminStrategiesSchema 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 (*AdminStrategiesSchema) GetStrategies ¶

GetStrategies returns the Strategies field value

func (*AdminStrategiesSchema) GetStrategiesOk ¶

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

func (AdminStrategiesSchema) MarshalJSON ¶

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

func (*AdminStrategiesSchema) SetStrategies ¶

SetStrategies sets field value

func (AdminStrategiesSchema) ToMap ¶

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

type AdminStrategiesSchemaStrategiesInner ¶

type AdminStrategiesSchemaStrategiesInner struct {
	// The ID of the strategy
	Id string `json:"id"`
	// The ID of the strategy
	FeatureName string `json:"featureName"`
	// The ID of the project that the strategy belongs to.
	ProjectId string `json:"projectId"`
	// The ID of the environment that the strategy belongs to.
	Environment string `json:"environment"`
	// The name of the strategy's type.
	StrategyName string `json:"strategyName"`
}

AdminStrategiesSchemaStrategiesInner struct for AdminStrategiesSchemaStrategiesInner

func NewAdminStrategiesSchemaStrategiesInner ¶

func NewAdminStrategiesSchemaStrategiesInner(id string, featureName string, projectId string, environment string, strategyName string) *AdminStrategiesSchemaStrategiesInner

NewAdminStrategiesSchemaStrategiesInner instantiates a new AdminStrategiesSchemaStrategiesInner 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 NewAdminStrategiesSchemaStrategiesInnerWithDefaults ¶

func NewAdminStrategiesSchemaStrategiesInnerWithDefaults() *AdminStrategiesSchemaStrategiesInner

NewAdminStrategiesSchemaStrategiesInnerWithDefaults instantiates a new AdminStrategiesSchemaStrategiesInner 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 (*AdminStrategiesSchemaStrategiesInner) GetEnvironment ¶

func (o *AdminStrategiesSchemaStrategiesInner) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*AdminStrategiesSchemaStrategiesInner) GetEnvironmentOk ¶

func (o *AdminStrategiesSchemaStrategiesInner) GetEnvironmentOk() (*string, bool)

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

func (*AdminStrategiesSchemaStrategiesInner) GetFeatureName ¶

func (o *AdminStrategiesSchemaStrategiesInner) GetFeatureName() string

GetFeatureName returns the FeatureName field value

func (*AdminStrategiesSchemaStrategiesInner) GetFeatureNameOk ¶

func (o *AdminStrategiesSchemaStrategiesInner) GetFeatureNameOk() (*string, bool)

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

func (*AdminStrategiesSchemaStrategiesInner) GetId ¶

GetId returns the Id field value

func (*AdminStrategiesSchemaStrategiesInner) GetIdOk ¶

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

func (*AdminStrategiesSchemaStrategiesInner) GetProjectId ¶

func (o *AdminStrategiesSchemaStrategiesInner) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*AdminStrategiesSchemaStrategiesInner) GetProjectIdOk ¶

func (o *AdminStrategiesSchemaStrategiesInner) GetProjectIdOk() (*string, bool)

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

func (*AdminStrategiesSchemaStrategiesInner) GetStrategyName ¶

func (o *AdminStrategiesSchemaStrategiesInner) GetStrategyName() string

GetStrategyName returns the StrategyName field value

func (*AdminStrategiesSchemaStrategiesInner) GetStrategyNameOk ¶

func (o *AdminStrategiesSchemaStrategiesInner) GetStrategyNameOk() (*string, bool)

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

func (AdminStrategiesSchemaStrategiesInner) MarshalJSON ¶

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

func (*AdminStrategiesSchemaStrategiesInner) SetEnvironment ¶

func (o *AdminStrategiesSchemaStrategiesInner) SetEnvironment(v string)

SetEnvironment sets field value

func (*AdminStrategiesSchemaStrategiesInner) SetFeatureName ¶

func (o *AdminStrategiesSchemaStrategiesInner) SetFeatureName(v string)

SetFeatureName sets field value

func (*AdminStrategiesSchemaStrategiesInner) SetId ¶

SetId sets field value

func (*AdminStrategiesSchemaStrategiesInner) SetProjectId ¶

func (o *AdminStrategiesSchemaStrategiesInner) SetProjectId(v string)

SetProjectId sets field value

func (*AdminStrategiesSchemaStrategiesInner) SetStrategyName ¶

func (o *AdminStrategiesSchemaStrategiesInner) SetStrategyName(v string)

SetStrategyName sets field value

func (AdminStrategiesSchemaStrategiesInner) ToMap ¶

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

type AdminUIApiService ¶

type AdminUIApiService service

AdminUIApiService AdminUIApi service

func (*AdminUIApiService) CreateFeedback ¶

CreateFeedback Method for CreateFeedback

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateFeedbackRequest

func (*AdminUIApiService) CreateFeedbackExecute ¶

func (a *AdminUIApiService) CreateFeedbackExecute(r ApiCreateFeedbackRequest) (*FeedbackSchema, *http.Response, error)

Execute executes the request

@return FeedbackSchema

func (*AdminUIApiService) GetUiConfig ¶

GetUiConfig Method for GetUiConfig

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUiConfigRequest

func (*AdminUIApiService) GetUiConfigExecute ¶

Execute executes the request

@return UiConfigSchema

func (*AdminUIApiService) SetUiConfig ¶

SetUiConfig Method for SetUiConfig

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSetUiConfigRequest

func (*AdminUIApiService) SetUiConfigExecute ¶

func (a *AdminUIApiService) SetUiConfigExecute(r ApiSetUiConfigRequest) (*http.Response, error)

Execute executes the request

func (*AdminUIApiService) UpdateFeedback ¶

UpdateFeedback Method for UpdateFeedback

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateFeedbackRequest

func (*AdminUIApiService) UpdateFeedbackExecute ¶

func (a *AdminUIApiService) UpdateFeedbackExecute(r ApiUpdateFeedbackRequest) (*FeedbackSchema, *http.Response, error)

Execute executes the request

@return FeedbackSchema

func (*AdminUIApiService) UpdateSplashSettings ¶

func (a *AdminUIApiService) UpdateSplashSettings(ctx context.Context, id string) ApiUpdateSplashSettingsRequest

UpdateSplashSettings Method for UpdateSplashSettings

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateSplashSettingsRequest

func (*AdminUIApiService) UpdateSplashSettingsExecute ¶

func (a *AdminUIApiService) UpdateSplashSettingsExecute(r ApiUpdateSplashSettingsRequest) (*SplashSchema, *http.Response, error)

Execute executes the request

@return SplashSchema

type AdvancedPlaygroundEnvironmentFeatureSchema ¶

type AdvancedPlaygroundEnvironmentFeatureSchema struct {
	// The feature's name.
	Name string `json:"name"`
	// The feature's environment.
	Environment string           `json:"environment"`
	Context     SdkContextSchema `json:"context"`
	// The ID of the project that contains this feature.
	ProjectId  string                                               `json:"projectId"`
	Strategies AdvancedPlaygroundEnvironmentFeatureSchemaStrategies `json:"strategies"`
	// Whether the feature is active and would be evaluated in the provided environment in a normal SDK context.
	IsEnabledInCurrentEnvironment bool `json:"isEnabledInCurrentEnvironment"`
	// Whether this feature is enabled or not in the current environment.                           If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`),                           this will be `false` to align with how client SDKs treat unresolved feature states.
	IsEnabled bool                                                      `json:"isEnabled"`
	Variant   NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant `json:"variant"`
	// The feature variants.
	Variants []VariantSchema `json:"variants"`
}

AdvancedPlaygroundEnvironmentFeatureSchema A simplified feature toggle model intended for the Unleash playground.

func NewAdvancedPlaygroundEnvironmentFeatureSchema ¶

func NewAdvancedPlaygroundEnvironmentFeatureSchema(name string, environment string, context SdkContextSchema, projectId string, strategies AdvancedPlaygroundEnvironmentFeatureSchemaStrategies, isEnabledInCurrentEnvironment bool, isEnabled bool, variant NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant, variants []VariantSchema) *AdvancedPlaygroundEnvironmentFeatureSchema

NewAdvancedPlaygroundEnvironmentFeatureSchema instantiates a new AdvancedPlaygroundEnvironmentFeatureSchema 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 NewAdvancedPlaygroundEnvironmentFeatureSchemaWithDefaults ¶

func NewAdvancedPlaygroundEnvironmentFeatureSchemaWithDefaults() *AdvancedPlaygroundEnvironmentFeatureSchema

NewAdvancedPlaygroundEnvironmentFeatureSchemaWithDefaults instantiates a new AdvancedPlaygroundEnvironmentFeatureSchema 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 (*AdvancedPlaygroundEnvironmentFeatureSchema) GetContext ¶

GetContext returns the Context field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetContextOk ¶

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

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetEnvironment ¶

GetEnvironment returns the Environment field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetEnvironmentOk ¶

func (o *AdvancedPlaygroundEnvironmentFeatureSchema) GetEnvironmentOk() (*string, bool)

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

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetIsEnabled ¶

GetIsEnabled returns the IsEnabled field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetIsEnabledInCurrentEnvironment ¶

func (o *AdvancedPlaygroundEnvironmentFeatureSchema) GetIsEnabledInCurrentEnvironment() bool

GetIsEnabledInCurrentEnvironment returns the IsEnabledInCurrentEnvironment field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetIsEnabledInCurrentEnvironmentOk ¶

func (o *AdvancedPlaygroundEnvironmentFeatureSchema) GetIsEnabledInCurrentEnvironmentOk() (*bool, bool)

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

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetIsEnabledOk ¶

func (o *AdvancedPlaygroundEnvironmentFeatureSchema) GetIsEnabledOk() (*bool, bool)

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

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetName ¶

GetName returns the Name field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetNameOk ¶

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

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetProjectId ¶

GetProjectId returns the ProjectId field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetProjectIdOk ¶

func (o *AdvancedPlaygroundEnvironmentFeatureSchema) GetProjectIdOk() (*string, bool)

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

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetStrategies ¶

GetStrategies returns the Strategies field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetStrategiesOk ¶

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

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetVariant ¶

GetVariant returns the Variant field value If the value is explicit nil, the zero value for AdvancedPlaygroundEnvironmentFeatureSchemaVariant will be returned

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetVariantOk ¶

GetVariantOk returns a tuple with the Variant 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 (*AdvancedPlaygroundEnvironmentFeatureSchema) GetVariants ¶

GetVariants returns the Variants field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) GetVariantsOk ¶

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

func (AdvancedPlaygroundEnvironmentFeatureSchema) MarshalJSON ¶

func (*AdvancedPlaygroundEnvironmentFeatureSchema) SetContext ¶

SetContext sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) SetEnvironment ¶

SetEnvironment sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) SetIsEnabled ¶

SetIsEnabled sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) SetIsEnabledInCurrentEnvironment ¶

func (o *AdvancedPlaygroundEnvironmentFeatureSchema) SetIsEnabledInCurrentEnvironment(v bool)

SetIsEnabledInCurrentEnvironment sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) SetName ¶

SetName sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) SetProjectId ¶

SetProjectId sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) SetStrategies ¶

SetStrategies sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) SetVariant ¶

SetVariant sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchema) SetVariants ¶

SetVariants sets field value

func (AdvancedPlaygroundEnvironmentFeatureSchema) ToMap ¶

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

type AdvancedPlaygroundEnvironmentFeatureSchemaStrategies ¶

type AdvancedPlaygroundEnvironmentFeatureSchemaStrategies struct {
	Result AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult `json:"result"`
	// The strategies that apply to this feature.
	Data []PlaygroundStrategySchema `json:"data"`
}

AdvancedPlaygroundEnvironmentFeatureSchemaStrategies Feature's applicable strategies and cumulative results of the strategies

func NewAdvancedPlaygroundEnvironmentFeatureSchemaStrategies ¶

NewAdvancedPlaygroundEnvironmentFeatureSchemaStrategies instantiates a new AdvancedPlaygroundEnvironmentFeatureSchemaStrategies 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 NewAdvancedPlaygroundEnvironmentFeatureSchemaStrategiesWithDefaults ¶

func NewAdvancedPlaygroundEnvironmentFeatureSchemaStrategiesWithDefaults() *AdvancedPlaygroundEnvironmentFeatureSchemaStrategies

NewAdvancedPlaygroundEnvironmentFeatureSchemaStrategiesWithDefaults instantiates a new AdvancedPlaygroundEnvironmentFeatureSchemaStrategies 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 (*AdvancedPlaygroundEnvironmentFeatureSchemaStrategies) GetData ¶

GetData returns the Data field value

func (*AdvancedPlaygroundEnvironmentFeatureSchemaStrategies) GetDataOk ¶

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

func (*AdvancedPlaygroundEnvironmentFeatureSchemaStrategies) GetResult ¶

GetResult returns the Result field value

func (*AdvancedPlaygroundEnvironmentFeatureSchemaStrategies) GetResultOk ¶

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

func (AdvancedPlaygroundEnvironmentFeatureSchemaStrategies) MarshalJSON ¶

func (*AdvancedPlaygroundEnvironmentFeatureSchemaStrategies) SetData ¶

SetData sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchemaStrategies) SetResult ¶

SetResult sets field value

func (AdvancedPlaygroundEnvironmentFeatureSchemaStrategies) ToMap ¶

type AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult ¶

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

AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult The cumulative results of all the feature's strategies. Can be `true`, `false`, or `unknown`. This property will only be `unknown` if one or more of the strategies can't be fully evaluated and the rest of the strategies all resolve to `false`.

func (*AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult) MarshalJSON ¶

Marshal data from the first non-nil pointers in the struct to JSON

func (*AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult) UnmarshalJSON ¶

Unmarshal JSON data into any of the pointers in the struct

type AdvancedPlaygroundEnvironmentFeatureSchemaVariant ¶

type AdvancedPlaygroundEnvironmentFeatureSchemaVariant struct {
	// The variant's name. If there is no variant or if the toggle is disabled, this will be `disabled`
	Name string `json:"name"`
	// Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be `false`
	Enabled bool                                                      `json:"enabled"`
	Payload *AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload `json:"payload,omitempty"`
}

AdvancedPlaygroundEnvironmentFeatureSchemaVariant The feature variant you receive based on the provided context or the _disabled variant_. If a feature is disabled or doesn't have any variants, you would get the _disabled variant_. Otherwise, you'll get one of thefeature's defined variants.

func NewAdvancedPlaygroundEnvironmentFeatureSchemaVariant ¶

func NewAdvancedPlaygroundEnvironmentFeatureSchemaVariant(name string, enabled bool) *AdvancedPlaygroundEnvironmentFeatureSchemaVariant

NewAdvancedPlaygroundEnvironmentFeatureSchemaVariant instantiates a new AdvancedPlaygroundEnvironmentFeatureSchemaVariant 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 NewAdvancedPlaygroundEnvironmentFeatureSchemaVariantWithDefaults ¶

func NewAdvancedPlaygroundEnvironmentFeatureSchemaVariantWithDefaults() *AdvancedPlaygroundEnvironmentFeatureSchemaVariant

NewAdvancedPlaygroundEnvironmentFeatureSchemaVariantWithDefaults instantiates a new AdvancedPlaygroundEnvironmentFeatureSchemaVariant 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 (*AdvancedPlaygroundEnvironmentFeatureSchemaVariant) GetEnabled ¶

GetEnabled returns the Enabled field value

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariant) GetEnabledOk ¶

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

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariant) GetName ¶

GetName returns the Name field value

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariant) GetNameOk ¶

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

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariant) GetPayload ¶

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

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariant) 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 (*AdvancedPlaygroundEnvironmentFeatureSchemaVariant) HasPayload ¶

HasPayload returns a boolean if a field has been set.

func (AdvancedPlaygroundEnvironmentFeatureSchemaVariant) MarshalJSON ¶

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariant) SetEnabled ¶

SetEnabled sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariant) SetName ¶

SetName sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariant) SetPayload ¶

SetPayload gets a reference to the given AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload and assigns it to the Payload field.

func (AdvancedPlaygroundEnvironmentFeatureSchemaVariant) ToMap ¶

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

type AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload ¶

type AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload struct {
	// The format of the payload.
	Type string `json:"type"`
	// The payload value stringified.
	Value string `json:"value"`
}

AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload An optional payload attached to the variant.

func NewAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload ¶

func NewAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload(type_ string, value string) *AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload

NewAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload instantiates a new AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload 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 NewAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayloadWithDefaults ¶

func NewAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayloadWithDefaults() *AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload

NewAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayloadWithDefaults instantiates a new AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload 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 (*AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) GetType ¶

GetType returns the Type field value

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) GetTypeOk ¶

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

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) GetValue ¶

GetValue returns the Value field value

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) GetValueOk ¶

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

func (AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) MarshalJSON ¶

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) SetType ¶

SetType sets field value

func (*AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) SetValue ¶

SetValue sets field value

func (AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) ToMap ¶

type AdvancedPlaygroundFeatureSchema ¶

type AdvancedPlaygroundFeatureSchema struct {
	// The feature's name.
	Name string `json:"name"`
	// The ID of the project that contains this feature.
	ProjectId string `json:"projectId"`
	// The lists of features that have been evaluated grouped by environment.
	Environments map[string][]AdvancedPlaygroundEnvironmentFeatureSchema `json:"environments"`
}

AdvancedPlaygroundFeatureSchema A simplified feature toggle model intended for the Unleash playground.

func NewAdvancedPlaygroundFeatureSchema ¶

func NewAdvancedPlaygroundFeatureSchema(name string, projectId string, environments map[string][]AdvancedPlaygroundEnvironmentFeatureSchema) *AdvancedPlaygroundFeatureSchema

NewAdvancedPlaygroundFeatureSchema instantiates a new AdvancedPlaygroundFeatureSchema 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 NewAdvancedPlaygroundFeatureSchemaWithDefaults ¶

func NewAdvancedPlaygroundFeatureSchemaWithDefaults() *AdvancedPlaygroundFeatureSchema

NewAdvancedPlaygroundFeatureSchemaWithDefaults instantiates a new AdvancedPlaygroundFeatureSchema 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 (*AdvancedPlaygroundFeatureSchema) GetEnvironments ¶

GetEnvironments returns the Environments field value

func (*AdvancedPlaygroundFeatureSchema) GetEnvironmentsOk ¶

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

func (*AdvancedPlaygroundFeatureSchema) GetName ¶

GetName returns the Name field value

func (*AdvancedPlaygroundFeatureSchema) GetNameOk ¶

func (o *AdvancedPlaygroundFeatureSchema) GetNameOk() (*string, bool)

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

func (*AdvancedPlaygroundFeatureSchema) GetProjectId ¶

func (o *AdvancedPlaygroundFeatureSchema) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*AdvancedPlaygroundFeatureSchema) GetProjectIdOk ¶

func (o *AdvancedPlaygroundFeatureSchema) GetProjectIdOk() (*string, bool)

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

func (AdvancedPlaygroundFeatureSchema) MarshalJSON ¶

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

func (*AdvancedPlaygroundFeatureSchema) SetEnvironments ¶

SetEnvironments sets field value

func (*AdvancedPlaygroundFeatureSchema) SetName ¶

SetName sets field value

func (*AdvancedPlaygroundFeatureSchema) SetProjectId ¶

func (o *AdvancedPlaygroundFeatureSchema) SetProjectId(v string)

SetProjectId sets field value

func (AdvancedPlaygroundFeatureSchema) ToMap ¶

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

type AdvancedPlaygroundRequestSchema ¶

type AdvancedPlaygroundRequestSchema struct {
	// The environments to evaluate toggles in.
	Environments []string                                 `json:"environments"`
	Projects     *AdvancedPlaygroundRequestSchemaProjects `json:"projects,omitempty"`
	Context      SdkContextSchema                         `json:"context"`
}

AdvancedPlaygroundRequestSchema Data for the playground API to evaluate toggles in advanced mode with environment and context multi selection

func NewAdvancedPlaygroundRequestSchema ¶

func NewAdvancedPlaygroundRequestSchema(environments []string, context SdkContextSchema) *AdvancedPlaygroundRequestSchema

NewAdvancedPlaygroundRequestSchema instantiates a new AdvancedPlaygroundRequestSchema 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 NewAdvancedPlaygroundRequestSchemaWithDefaults ¶

func NewAdvancedPlaygroundRequestSchemaWithDefaults() *AdvancedPlaygroundRequestSchema

NewAdvancedPlaygroundRequestSchemaWithDefaults instantiates a new AdvancedPlaygroundRequestSchema 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 (*AdvancedPlaygroundRequestSchema) GetContext ¶

GetContext returns the Context field value

func (*AdvancedPlaygroundRequestSchema) GetContextOk ¶

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

func (*AdvancedPlaygroundRequestSchema) GetEnvironments ¶

func (o *AdvancedPlaygroundRequestSchema) GetEnvironments() []string

GetEnvironments returns the Environments field value

func (*AdvancedPlaygroundRequestSchema) GetEnvironmentsOk ¶

func (o *AdvancedPlaygroundRequestSchema) GetEnvironmentsOk() ([]string, bool)

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

func (*AdvancedPlaygroundRequestSchema) GetProjects ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*AdvancedPlaygroundRequestSchema) GetProjectsOk ¶

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 (*AdvancedPlaygroundRequestSchema) HasProjects ¶

func (o *AdvancedPlaygroundRequestSchema) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (AdvancedPlaygroundRequestSchema) MarshalJSON ¶

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

func (*AdvancedPlaygroundRequestSchema) SetContext ¶

SetContext sets field value

func (*AdvancedPlaygroundRequestSchema) SetEnvironments ¶

func (o *AdvancedPlaygroundRequestSchema) SetEnvironments(v []string)

SetEnvironments sets field value

func (*AdvancedPlaygroundRequestSchema) SetProjects ¶

SetProjects gets a reference to the given AdvancedPlaygroundRequestSchemaProjects and assigns it to the Projects field.

func (AdvancedPlaygroundRequestSchema) ToMap ¶

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

type AdvancedPlaygroundRequestSchemaProjects ¶

type AdvancedPlaygroundRequestSchemaProjects struct {
	ArrayOfString *[]string
	String        *string
}

AdvancedPlaygroundRequestSchemaProjects - A list of projects to check for toggles in.

func ArrayOfStringAsAdvancedPlaygroundRequestSchemaProjects ¶

func ArrayOfStringAsAdvancedPlaygroundRequestSchemaProjects(v *[]string) AdvancedPlaygroundRequestSchemaProjects

[]stringAsAdvancedPlaygroundRequestSchemaProjects is a convenience function that returns []string wrapped in AdvancedPlaygroundRequestSchemaProjects

func StringAsAdvancedPlaygroundRequestSchemaProjects ¶

func StringAsAdvancedPlaygroundRequestSchemaProjects(v *string) AdvancedPlaygroundRequestSchemaProjects

stringAsAdvancedPlaygroundRequestSchemaProjects is a convenience function that returns string wrapped in AdvancedPlaygroundRequestSchemaProjects

func (*AdvancedPlaygroundRequestSchemaProjects) GetActualInstance ¶

func (obj *AdvancedPlaygroundRequestSchemaProjects) GetActualInstance() interface{}

Get the actual instance

func (AdvancedPlaygroundRequestSchemaProjects) MarshalJSON ¶

func (src AdvancedPlaygroundRequestSchemaProjects) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*AdvancedPlaygroundRequestSchemaProjects) UnmarshalJSON ¶

func (dst *AdvancedPlaygroundRequestSchemaProjects) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type AdvancedPlaygroundResponseSchema ¶

type AdvancedPlaygroundResponseSchema struct {
	Input AdvancedPlaygroundRequestSchema `json:"input"`
	// The list of features that have been evaluated.
	Features []AdvancedPlaygroundFeatureSchema `json:"features"`
}

AdvancedPlaygroundResponseSchema The state of all features given the provided input.

func NewAdvancedPlaygroundResponseSchema ¶

func NewAdvancedPlaygroundResponseSchema(input AdvancedPlaygroundRequestSchema, features []AdvancedPlaygroundFeatureSchema) *AdvancedPlaygroundResponseSchema

NewAdvancedPlaygroundResponseSchema instantiates a new AdvancedPlaygroundResponseSchema 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 NewAdvancedPlaygroundResponseSchemaWithDefaults ¶

func NewAdvancedPlaygroundResponseSchemaWithDefaults() *AdvancedPlaygroundResponseSchema

NewAdvancedPlaygroundResponseSchemaWithDefaults instantiates a new AdvancedPlaygroundResponseSchema 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 (*AdvancedPlaygroundResponseSchema) GetFeatures ¶

GetFeatures returns the Features field value

func (*AdvancedPlaygroundResponseSchema) GetFeaturesOk ¶

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

func (*AdvancedPlaygroundResponseSchema) GetInput ¶

GetInput returns the Input field value

func (*AdvancedPlaygroundResponseSchema) GetInputOk ¶

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

func (AdvancedPlaygroundResponseSchema) MarshalJSON ¶

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

func (*AdvancedPlaygroundResponseSchema) SetFeatures ¶

SetFeatures sets field value

func (*AdvancedPlaygroundResponseSchema) SetInput ¶

SetInput sets field value

func (AdvancedPlaygroundResponseSchema) ToMap ¶

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

type ApiAddDefaultStrategyToProjectEnvironmentRequest ¶

type ApiAddDefaultStrategyToProjectEnvironmentRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiAddDefaultStrategyToProjectEnvironmentRequest) CreateFeatureStrategySchema ¶

createFeatureStrategySchema

func (ApiAddDefaultStrategyToProjectEnvironmentRequest) Execute ¶

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 ApiAddFavoriteFeatureRequest ¶

type ApiAddFavoriteFeatureRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiAddFavoriteFeatureRequest) Execute ¶

type ApiAddFavoriteProjectRequest ¶

type ApiAddFavoriteProjectRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiAddFavoriteProjectRequest) Execute ¶

type ApiAddFeatureStrategyRequest ¶

type ApiAddFeatureStrategyRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiAddFeatureStrategyRequest) CreateFeatureStrategySchema ¶

func (r ApiAddFeatureStrategyRequest) CreateFeatureStrategySchema(createFeatureStrategySchema CreateFeatureStrategySchema) ApiAddFeatureStrategyRequest

createFeatureStrategySchema

func (ApiAddFeatureStrategyRequest) Execute ¶

type ApiAddPublicSignupTokenUserRequest ¶

type ApiAddPublicSignupTokenUserRequest struct {
	ApiService *PublicSignupTokensApiService
	// contains filtered or unexported fields
}

func (ApiAddPublicSignupTokenUserRequest) CreateInvitedUserSchema ¶

func (r ApiAddPublicSignupTokenUserRequest) CreateInvitedUserSchema(createInvitedUserSchema CreateInvitedUserSchema) ApiAddPublicSignupTokenUserRequest

createInvitedUserSchema

func (ApiAddPublicSignupTokenUserRequest) Execute ¶

type ApiAddTagRequest ¶

type ApiAddTagRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiAddTagRequest) Execute ¶

func (r ApiAddTagRequest) Execute() (*TagSchema, *http.Response, error)

func (ApiAddTagRequest) TagSchema ¶

func (r ApiAddTagRequest) TagSchema(tagSchema TagSchema) ApiAddTagRequest

tagSchema

type ApiAddTagToFeaturesRequest ¶

type ApiAddTagToFeaturesRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiAddTagToFeaturesRequest) Execute ¶

func (ApiAddTagToFeaturesRequest) TagsBulkAddSchema ¶

func (r ApiAddTagToFeaturesRequest) TagsBulkAddSchema(tagsBulkAddSchema TagsBulkAddSchema) ApiAddTagToFeaturesRequest

tagsBulkAddSchema

type ApiArchiveFeatureRequest ¶

type ApiArchiveFeatureRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiArchiveFeatureRequest) Execute ¶

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

type ApiArchiveFeaturesRequest ¶

type ApiArchiveFeaturesRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiArchiveFeaturesRequest) BatchFeaturesSchema ¶

func (r ApiArchiveFeaturesRequest) BatchFeaturesSchema(batchFeaturesSchema BatchFeaturesSchema) ApiArchiveFeaturesRequest

batchFeaturesSchema

func (ApiArchiveFeaturesRequest) Execute ¶

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

type ApiBulkMetricsRequest ¶

type ApiBulkMetricsRequest struct {
	ApiService *EdgeApiService
	// contains filtered or unexported fields
}

func (ApiBulkMetricsRequest) BulkMetricsSchema ¶

func (r ApiBulkMetricsRequest) BulkMetricsSchema(bulkMetricsSchema BulkMetricsSchema) ApiBulkMetricsRequest

bulkMetricsSchema

func (ApiBulkMetricsRequest) Execute ¶

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

type ApiBulkToggleFeaturesEnvironmentOffRequest ¶

type ApiBulkToggleFeaturesEnvironmentOffRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiBulkToggleFeaturesEnvironmentOffRequest) BulkToggleFeaturesSchema ¶

bulkToggleFeaturesSchema

func (ApiBulkToggleFeaturesEnvironmentOffRequest) Execute ¶

type ApiBulkToggleFeaturesEnvironmentOnRequest ¶

type ApiBulkToggleFeaturesEnvironmentOnRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiBulkToggleFeaturesEnvironmentOnRequest) BulkToggleFeaturesSchema ¶

bulkToggleFeaturesSchema

func (ApiBulkToggleFeaturesEnvironmentOnRequest) Execute ¶

type ApiCallImportRequest ¶

type ApiCallImportRequest struct {
	ApiService *ImportExportApiService
	// contains filtered or unexported fields
}

func (ApiCallImportRequest) Execute ¶

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

func (ApiCallImportRequest) RequestBody ¶

func (r ApiCallImportRequest) RequestBody(requestBody map[string]interface{}) ApiCallImportRequest

stateSchema

type ApiChangeMyPasswordRequest ¶

type ApiChangeMyPasswordRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiChangeMyPasswordRequest) Execute ¶

func (ApiChangeMyPasswordRequest) PasswordSchema ¶

func (r ApiChangeMyPasswordRequest) PasswordSchema(passwordSchema PasswordSchema) ApiChangeMyPasswordRequest

passwordSchema

type ApiChangePasswordRequest ¶

type ApiChangePasswordRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiChangePasswordRequest) ChangePasswordSchema ¶

func (r ApiChangePasswordRequest) ChangePasswordSchema(changePasswordSchema ChangePasswordSchema) ApiChangePasswordRequest

changePasswordSchema

func (ApiChangePasswordRequest) Execute ¶

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

type ApiChangeUserPasswordRequest ¶

type ApiChangeUserPasswordRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiChangeUserPasswordRequest) Execute ¶

func (ApiChangeUserPasswordRequest) PasswordSchema ¶

passwordSchema

type ApiCloneFeatureRequest ¶

type ApiCloneFeatureRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiCloneFeatureRequest) CloneFeatureSchema ¶

func (r ApiCloneFeatureRequest) CloneFeatureSchema(cloneFeatureSchema CloneFeatureSchema) ApiCloneFeatureRequest

cloneFeatureSchema

func (ApiCloneFeatureRequest) Execute ¶

type ApiCreateAddonRequest ¶

type ApiCreateAddonRequest struct {
	ApiService *AddonsApiService
	// contains filtered or unexported fields
}

func (ApiCreateAddonRequest) AddonCreateUpdateSchema ¶

func (r ApiCreateAddonRequest) AddonCreateUpdateSchema(addonCreateUpdateSchema AddonCreateUpdateSchema) ApiCreateAddonRequest

addonCreateUpdateSchema

func (ApiCreateAddonRequest) Execute ¶

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 ApiCreateApplicationRequest ¶

type ApiCreateApplicationRequest struct {
	ApiService *MetricsApiService
	// contains filtered or unexported fields
}

func (ApiCreateApplicationRequest) Execute ¶

func (ApiCreateApplicationRequest) RequestBody ¶

func (r ApiCreateApplicationRequest) RequestBody(requestBody map[string]interface{}) ApiCreateApplicationRequest

createApplicationSchema

type ApiCreateContextFieldRequest ¶

type ApiCreateContextFieldRequest struct {
	ApiService *ContextApiService
	// contains filtered or unexported fields
}

func (ApiCreateContextFieldRequest) Execute ¶

func (ApiCreateContextFieldRequest) UpsertContextFieldSchema ¶

func (r ApiCreateContextFieldRequest) UpsertContextFieldSchema(upsertContextFieldSchema UpsertContextFieldSchema) ApiCreateContextFieldRequest

upsertContextFieldSchema

type ApiCreateFeatureRequest ¶

type ApiCreateFeatureRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiCreateFeatureRequest) CreateFeatureSchema ¶

func (r ApiCreateFeatureRequest) CreateFeatureSchema(createFeatureSchema CreateFeatureSchema) ApiCreateFeatureRequest

createFeatureSchema

func (ApiCreateFeatureRequest) Execute ¶

type ApiCreateFeedbackRequest ¶

type ApiCreateFeedbackRequest struct {
	ApiService *AdminUIApiService
	// contains filtered or unexported fields
}

func (ApiCreateFeedbackRequest) Execute ¶

func (ApiCreateFeedbackRequest) FeedbackSchema ¶

func (r ApiCreateFeedbackRequest) FeedbackSchema(feedbackSchema FeedbackSchema) ApiCreateFeedbackRequest

feedbackSchema

type ApiCreatePatRequest ¶

type ApiCreatePatRequest struct {
	ApiService *PersonalAccessTokensApiService
	// contains filtered or unexported fields
}

func (ApiCreatePatRequest) Execute ¶

func (r ApiCreatePatRequest) Execute() (*PatSchema, *http.Response, error)

func (ApiCreatePatRequest) PatSchema ¶

func (r ApiCreatePatRequest) PatSchema(patSchema PatSchema) ApiCreatePatRequest

patSchema

type ApiCreateProjectApiTokenRequest ¶

type ApiCreateProjectApiTokenRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiCreateProjectApiTokenRequest) CreateApiTokenSchema ¶

func (r ApiCreateProjectApiTokenRequest) CreateApiTokenSchema(createApiTokenSchema CreateApiTokenSchema) ApiCreateProjectApiTokenRequest

createApiTokenSchema

func (ApiCreateProjectApiTokenRequest) Execute ¶

type ApiCreatePublicSignupTokenRequest ¶

type ApiCreatePublicSignupTokenRequest struct {
	ApiService *PublicSignupTokensApiService
	// contains filtered or unexported fields
}

func (ApiCreatePublicSignupTokenRequest) Execute ¶

func (ApiCreatePublicSignupTokenRequest) PublicSignupTokenCreateSchema ¶

func (r ApiCreatePublicSignupTokenRequest) PublicSignupTokenCreateSchema(publicSignupTokenCreateSchema PublicSignupTokenCreateSchema) ApiCreatePublicSignupTokenRequest

publicSignupTokenCreateSchema

type ApiCreateSegmentRequest ¶

type ApiCreateSegmentRequest struct {
	ApiService *SegmentsApiService
	// contains filtered or unexported fields
}

func (ApiCreateSegmentRequest) Execute ¶

func (ApiCreateSegmentRequest) UpsertSegmentSchema ¶

func (r ApiCreateSegmentRequest) UpsertSegmentSchema(upsertSegmentSchema UpsertSegmentSchema) ApiCreateSegmentRequest

upsertSegmentSchema

type ApiCreateServiceAccountRequest ¶

type ApiCreateServiceAccountRequest struct {
	ApiService *ServiceAccountsApiService
	// contains filtered or unexported fields
}

func (ApiCreateServiceAccountRequest) CreateServiceAccountSchema ¶

func (r ApiCreateServiceAccountRequest) CreateServiceAccountSchema(createServiceAccountSchema CreateServiceAccountSchema) ApiCreateServiceAccountRequest

createServiceAccountSchema

func (ApiCreateServiceAccountRequest) Execute ¶

type ApiCreateServiceAccountTokenRequest ¶

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

func (ApiCreateServiceAccountTokenRequest) Execute ¶

func (ApiCreateServiceAccountTokenRequest) PatSchema ¶

patSchema

type ApiCreateStrategyRequest ¶

type ApiCreateStrategyRequest struct {
	ApiService *StrategiesApiService
	// contains filtered or unexported fields
}

func (ApiCreateStrategyRequest) Execute ¶

func (ApiCreateStrategyRequest) UpsertStrategySchema ¶

func (r ApiCreateStrategyRequest) UpsertStrategySchema(upsertStrategySchema UpsertStrategySchema) ApiCreateStrategyRequest

upsertStrategySchema

type ApiCreateTagRequest ¶

type ApiCreateTagRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiCreateTagRequest) Execute ¶

func (ApiCreateTagRequest) TagSchema ¶

func (r ApiCreateTagRequest) TagSchema(tagSchema TagSchema) ApiCreateTagRequest

tagSchema

type ApiCreateTagTypeRequest ¶

type ApiCreateTagTypeRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiCreateTagTypeRequest) Execute ¶

func (ApiCreateTagTypeRequest) TagTypeSchema ¶

func (r ApiCreateTagTypeRequest) TagTypeSchema(tagTypeSchema TagTypeSchema) ApiCreateTagTypeRequest

tagTypeSchema

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 ApiDeleteAddonRequest ¶

type ApiDeleteAddonRequest struct {
	ApiService *AddonsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteAddonRequest) Execute ¶

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

type ApiDeleteApiTokenRequest ¶

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

func (ApiDeleteApiTokenRequest) Execute ¶

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

type ApiDeleteApplicationRequest ¶

type ApiDeleteApplicationRequest struct {
	ApiService *MetricsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteApplicationRequest) Execute ¶

type ApiDeleteContextFieldRequest ¶

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

func (ApiDeleteContextFieldRequest) Execute ¶

type ApiDeleteFeatureRequest ¶

type ApiDeleteFeatureRequest struct {
	ApiService *ArchiveApiService
	// contains filtered or unexported fields
}

func (ApiDeleteFeatureRequest) Execute ¶

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

type ApiDeleteFeatureStrategyRequest ¶

type ApiDeleteFeatureStrategyRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteFeatureStrategyRequest) Execute ¶

type ApiDeleteFeaturesRequest ¶

type ApiDeleteFeaturesRequest struct {
	ApiService *ArchiveApiService
	// contains filtered or unexported fields
}

func (ApiDeleteFeaturesRequest) BatchFeaturesSchema ¶

func (r ApiDeleteFeaturesRequest) BatchFeaturesSchema(batchFeaturesSchema BatchFeaturesSchema) ApiDeleteFeaturesRequest

batchFeaturesSchema

func (ApiDeleteFeaturesRequest) Execute ¶

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

type ApiDeletePatRequest ¶

type ApiDeletePatRequest struct {
	ApiService *PersonalAccessTokensApiService
	// contains filtered or unexported fields
}

func (ApiDeletePatRequest) Execute ¶

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

type ApiDeleteProjectApiTokenRequest ¶

type ApiDeleteProjectApiTokenRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteProjectApiTokenRequest) Execute ¶

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 ApiDeleteTagRequest ¶

type ApiDeleteTagRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteTagRequest) Execute ¶

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

type ApiDeleteTagTypeRequest ¶

type ApiDeleteTagTypeRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteTagTypeRequest) Execute ¶

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

type ApiDeleteUserRequest ¶

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

func (ApiDeleteUserRequest) Execute ¶

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

type ApiDeprecateStrategyRequest ¶

type ApiDeprecateStrategyRequest struct {
	ApiService *StrategiesApiService
	// contains filtered or unexported fields
}

func (ApiDeprecateStrategyRequest) Execute ¶

type ApiExportFeaturesRequest ¶

type ApiExportFeaturesRequest struct {
	ApiService *UnstableApiService
	// contains filtered or unexported fields
}

func (ApiExportFeaturesRequest) Execute ¶

func (ApiExportFeaturesRequest) RequestBody ¶

func (r ApiExportFeaturesRequest) RequestBody(requestBody map[string]interface{}) ApiExportFeaturesRequest

exportQuerySchema

type ApiExportRequest ¶

type ApiExportRequest struct {
	ApiService *ImportExportApiService
	// contains filtered or unexported fields
}

func (ApiExportRequest) Download ¶

Whether exported data should be downloaded as a file.

func (ApiExportRequest) Environments ¶

func (r ApiExportRequest) Environments(environments ExportStrategiesParameter) ApiExportRequest

Whether environments should be included in the exported data.

func (ApiExportRequest) Execute ¶

func (r ApiExportRequest) Execute() (*StateSchema, *http.Response, error)

func (ApiExportRequest) FeatureToggles ¶

func (r ApiExportRequest) FeatureToggles(featureToggles ExportStrategiesParameter) ApiExportRequest

Whether feature toggles should be included in the exported data.

func (ApiExportRequest) Format ¶

func (r ApiExportRequest) Format(format string) ApiExportRequest

Desired export format. Must be either `json` or `yaml`.

func (ApiExportRequest) Projects ¶

Whether projects should be included in the exported data.

func (ApiExportRequest) Strategies ¶

Whether strategies should be included in the exported data.

func (ApiExportRequest) Tags ¶

Whether tag types, tags, and feature_tags should be included in the exported data.

type ApiGetAddonRequest ¶

type ApiGetAddonRequest struct {
	ApiService *AddonsApiService
	// contains filtered or unexported fields
}

func (ApiGetAddonRequest) Execute ¶

func (r ApiGetAddonRequest) Execute() (*AddonSchema, *http.Response, error)

type ApiGetAddonsRequest ¶

type ApiGetAddonsRequest struct {
	ApiService *AddonsApiService
	// contains filtered or unexported fields
}

func (ApiGetAddonsRequest) Execute ¶

type ApiGetAdminCountRequest ¶

type ApiGetAdminCountRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiGetAdminCountRequest) Execute ¶

type ApiGetAdvancedPlaygroundRequest ¶

type ApiGetAdvancedPlaygroundRequest struct {
	ApiService *UnstableApiService
	// contains filtered or unexported fields
}

func (ApiGetAdvancedPlaygroundRequest) AdvancedPlaygroundRequestSchema ¶

func (r ApiGetAdvancedPlaygroundRequest) AdvancedPlaygroundRequestSchema(advancedPlaygroundRequestSchema AdvancedPlaygroundRequestSchema) ApiGetAdvancedPlaygroundRequest

advancedPlaygroundRequestSchema

func (ApiGetAdvancedPlaygroundRequest) Execute ¶

type ApiGetAllApiTokensRequest ¶

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

func (ApiGetAllApiTokensRequest) Execute ¶

type ApiGetAllClientFeaturesRequest ¶

type ApiGetAllClientFeaturesRequest struct {
	ApiService *ClientApiService
	// contains filtered or unexported fields
}

func (ApiGetAllClientFeaturesRequest) Execute ¶

type ApiGetAllEnvironmentsRequest ¶

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

func (ApiGetAllEnvironmentsRequest) Execute ¶

type ApiGetAllFeatureTypesRequest ¶

type ApiGetAllFeatureTypesRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiGetAllFeatureTypesRequest) Execute ¶

type ApiGetAllPublicSignupTokensRequest ¶

type ApiGetAllPublicSignupTokensRequest struct {
	ApiService *PublicSignupTokensApiService
	// contains filtered or unexported fields
}

func (ApiGetAllPublicSignupTokensRequest) Execute ¶

type ApiGetAllStrategiesRequest ¶

type ApiGetAllStrategiesRequest struct {
	ApiService *StrategiesApiService
	// contains filtered or unexported fields
}

func (ApiGetAllStrategiesRequest) Execute ¶

type ApiGetAllTogglesRequest ¶

type ApiGetAllTogglesRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiGetAllTogglesRequest) Execute ¶

type ApiGetApplicationRequest ¶

type ApiGetApplicationRequest struct {
	ApiService *MetricsApiService
	// contains filtered or unexported fields
}

func (ApiGetApplicationRequest) Execute ¶

type ApiGetApplicationsRequest ¶

type ApiGetApplicationsRequest struct {
	ApiService *MetricsApiService
	// contains filtered or unexported fields
}

func (ApiGetApplicationsRequest) Execute ¶

type ApiGetArchivedFeaturesByProjectIdRequest ¶

type ApiGetArchivedFeaturesByProjectIdRequest struct {
	ApiService *ArchiveApiService
	// contains filtered or unexported fields
}

func (ApiGetArchivedFeaturesByProjectIdRequest) Execute ¶

type ApiGetArchivedFeaturesRequest ¶

type ApiGetArchivedFeaturesRequest struct {
	ApiService *ArchiveApiService
	// contains filtered or unexported fields
}

func (ApiGetArchivedFeaturesRequest) Execute ¶

type ApiGetBaseUsersAndGroupsRequest ¶

type ApiGetBaseUsersAndGroupsRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiGetBaseUsersAndGroupsRequest) Execute ¶

type ApiGetClientFeatureRequest ¶

type ApiGetClientFeatureRequest struct {
	ApiService *ClientApiService
	// contains filtered or unexported fields
}

func (ApiGetClientFeatureRequest) Execute ¶

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 ¶

type ApiGetEnvironmentFeatureVariantsRequest ¶

type ApiGetEnvironmentFeatureVariantsRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiGetEnvironmentFeatureVariantsRequest) Execute ¶

type ApiGetEnvironmentRequest ¶

type ApiGetEnvironmentRequest struct {
	ApiService *EnvironmentsApiService
	// contains filtered or unexported fields
}

func (ApiGetEnvironmentRequest) Execute ¶

type ApiGetEventsForToggleRequest ¶

type ApiGetEventsForToggleRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiGetEventsForToggleRequest) Execute ¶

type ApiGetEventsRequest ¶

type ApiGetEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiGetEventsRequest) Execute ¶

func (ApiGetEventsRequest) Project ¶

func (r ApiGetEventsRequest) Project(project string) ApiGetEventsRequest

The name of the project whose events you want to retrieve

type ApiGetFeatureEnvironmentRequest ¶

type ApiGetFeatureEnvironmentRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureEnvironmentRequest) Execute ¶

type ApiGetFeatureRequest ¶

type ApiGetFeatureRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureRequest) Execute ¶

type ApiGetFeatureStrategiesRequest ¶

type ApiGetFeatureStrategiesRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureStrategiesRequest) Execute ¶

type ApiGetFeatureStrategyRequest ¶

type ApiGetFeatureStrategyRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureStrategyRequest) Execute ¶

type ApiGetFeatureUsageSummaryRequest ¶

type ApiGetFeatureUsageSummaryRequest struct {
	ApiService *MetricsApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureUsageSummaryRequest) Execute ¶

type ApiGetFeatureVariantsRequest ¶

type ApiGetFeatureVariantsRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureVariantsRequest) Execute ¶

type ApiGetFeaturesRequest ¶

type ApiGetFeaturesRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiGetFeaturesRequest) Execute ¶

type ApiGetFrontendFeaturesRequest ¶

type ApiGetFrontendFeaturesRequest struct {
	ApiService *FrontendAPIApiService
	// contains filtered or unexported fields
}

func (ApiGetFrontendFeaturesRequest) Execute ¶

type ApiGetHealthRequest ¶

type ApiGetHealthRequest struct {
	ApiService *OperationalApiService
	// contains filtered or unexported fields
}

func (ApiGetHealthRequest) Execute ¶

type ApiGetInstanceAdminStatsCsvRequest ¶

type ApiGetInstanceAdminStatsCsvRequest struct {
	ApiService *InstanceAdminApiService
	// contains filtered or unexported fields
}

func (ApiGetInstanceAdminStatsCsvRequest) Execute ¶

type ApiGetInstanceAdminStatsRequest ¶

type ApiGetInstanceAdminStatsRequest struct {
	ApiService *InstanceAdminApiService
	// contains filtered or unexported fields
}

func (ApiGetInstanceAdminStatsRequest) Execute ¶

type ApiGetMaintenanceRequest ¶

type ApiGetMaintenanceRequest struct {
	ApiService *MaintenanceApiService
	// contains filtered or unexported fields
}

func (ApiGetMaintenanceRequest) Execute ¶

type ApiGetMeRequest ¶

type ApiGetMeRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiGetMeRequest) Execute ¶

func (r ApiGetMeRequest) Execute() (*MeSchema, *http.Response, error)

type ApiGetPatsRequest ¶

type ApiGetPatsRequest struct {
	ApiService *PersonalAccessTokensApiService
	// contains filtered or unexported fields
}

func (ApiGetPatsRequest) Execute ¶

func (r ApiGetPatsRequest) Execute() (*PatsSchema, *http.Response, error)

type ApiGetPlaygroundRequest ¶

type ApiGetPlaygroundRequest struct {
	ApiService *PlaygroundApiService
	// contains filtered or unexported fields
}

func (ApiGetPlaygroundRequest) Execute ¶

func (ApiGetPlaygroundRequest) PlaygroundRequestSchema ¶

func (r ApiGetPlaygroundRequest) PlaygroundRequestSchema(playgroundRequestSchema PlaygroundRequestSchema) ApiGetPlaygroundRequest

playgroundRequestSchema

type ApiGetProfileRequest ¶

type ApiGetProfileRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiGetProfileRequest) Execute ¶

type ApiGetProjectApiTokensRequest ¶

type ApiGetProjectApiTokensRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiGetProjectApiTokensRequest) Execute ¶

type ApiGetProjectEnvironmentsRequest ¶

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

func (ApiGetProjectEnvironmentsRequest) Execute ¶

type ApiGetProjectHealthReportRequest ¶

type ApiGetProjectHealthReportRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiGetProjectHealthReportRequest) Execute ¶

type ApiGetProjectOverviewRequest ¶

type ApiGetProjectOverviewRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiGetProjectOverviewRequest) Execute ¶

type ApiGetProjectsRequest ¶

type ApiGetProjectsRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiGetProjectsRequest) Execute ¶

type ApiGetPublicSignupTokenRequest ¶

type ApiGetPublicSignupTokenRequest struct {
	ApiService *PublicSignupTokensApiService
	// contains filtered or unexported fields
}

func (ApiGetPublicSignupTokenRequest) Execute ¶

type ApiGetRawFeatureMetricsRequest ¶

type ApiGetRawFeatureMetricsRequest struct {
	ApiService *MetricsApiService
	// contains filtered or unexported fields
}

func (ApiGetRawFeatureMetricsRequest) Execute ¶

type ApiGetSegmentRequest ¶

type ApiGetSegmentRequest struct {
	ApiService *SegmentsApiService
	// contains filtered or unexported fields
}

func (ApiGetSegmentRequest) Execute ¶

type ApiGetSegmentsByStrategyIdRequest ¶

type ApiGetSegmentsByStrategyIdRequest struct {
	ApiService *SegmentsApiService
	// contains filtered or unexported fields
}

func (ApiGetSegmentsByStrategyIdRequest) Execute ¶

type ApiGetSegmentsRequest ¶

type ApiGetSegmentsRequest struct {
	ApiService *SegmentsApiService
	// contains filtered or unexported fields
}

func (ApiGetSegmentsRequest) Execute ¶

type ApiGetServiceAccountTokensRequest ¶

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

func (ApiGetServiceAccountTokensRequest) Execute ¶

type ApiGetServiceAccountsRequest ¶

type ApiGetServiceAccountsRequest struct {
	ApiService *ServiceAccountsApiService
	// contains filtered or unexported fields
}

func (ApiGetServiceAccountsRequest) Execute ¶

type ApiGetStrategiesByContextFieldRequest ¶

type ApiGetStrategiesByContextFieldRequest struct {
	ApiService *StrategiesApiService
	// contains filtered or unexported fields
}

func (ApiGetStrategiesByContextFieldRequest) Execute ¶

type ApiGetStrategiesBySegmentIdRequest ¶

type ApiGetStrategiesBySegmentIdRequest struct {
	ApiService *SegmentsApiService
	// contains filtered or unexported fields
}

func (ApiGetStrategiesBySegmentIdRequest) Execute ¶

type ApiGetStrategyRequest ¶

type ApiGetStrategyRequest struct {
	ApiService *StrategiesApiService
	// contains filtered or unexported fields
}

func (ApiGetStrategyRequest) Execute ¶

type ApiGetTagRequest ¶

type ApiGetTagRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiGetTagRequest) Execute ¶

type ApiGetTagTypeRequest ¶

type ApiGetTagTypeRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiGetTagTypeRequest) Execute ¶

type ApiGetTagTypesRequest ¶

type ApiGetTagTypesRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiGetTagTypesRequest) Execute ¶

type ApiGetTagsByTypeRequest ¶

type ApiGetTagsByTypeRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiGetTagsByTypeRequest) Execute ¶

type ApiGetTagsRequest ¶

type ApiGetTagsRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiGetTagsRequest) Execute ¶

func (r ApiGetTagsRequest) Execute() (*TagsSchema, *http.Response, error)

type ApiGetTelemetrySettingsRequest ¶

type ApiGetTelemetrySettingsRequest struct {
	ApiService *TelemetryApiService
	// contains filtered or unexported fields
}

func (ApiGetTelemetrySettingsRequest) Execute ¶

type ApiGetUiConfigRequest ¶

type ApiGetUiConfigRequest struct {
	ApiService *AdminUIApiService
	// contains filtered or unexported fields
}

func (ApiGetUiConfigRequest) 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 ApiGetUsersRequest ¶

type ApiGetUsersRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiGetUsersRequest) Execute ¶

func (r ApiGetUsersRequest) Execute() (*UsersSchema, *http.Response, error)

type ApiGetValidTokensRequest ¶

type ApiGetValidTokensRequest struct {
	ApiService *EdgeApiService
	// contains filtered or unexported fields
}

func (ApiGetValidTokensRequest) Execute ¶

func (ApiGetValidTokensRequest) RequestBody ¶

func (r ApiGetValidTokensRequest) RequestBody(requestBody map[string]interface{}) ApiGetValidTokensRequest

tokenStringListSchema

type ApiImportTogglesRequest ¶

type ApiImportTogglesRequest struct {
	ApiService *UnstableApiService
	// contains filtered or unexported fields
}

func (ApiImportTogglesRequest) Execute ¶

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

func (ApiImportTogglesRequest) ImportTogglesSchema ¶

func (r ApiImportTogglesRequest) ImportTogglesSchema(importTogglesSchema ImportTogglesSchema) ApiImportTogglesRequest

importTogglesSchema

type ApiListTagsRequest ¶

type ApiListTagsRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiListTagsRequest) Execute ¶

func (r ApiListTagsRequest) Execute() (*TagsSchema, *http.Response, error)

type ApiLoginRequest ¶

type ApiLoginRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiLoginRequest) Execute ¶

func (r ApiLoginRequest) Execute() (*UserSchema, *http.Response, error)

func (ApiLoginRequest) LoginSchema ¶

func (r ApiLoginRequest) LoginSchema(loginSchema LoginSchema) ApiLoginRequest

loginSchema

type ApiOverwriteEnvironmentFeatureVariantsRequest ¶

type ApiOverwriteEnvironmentFeatureVariantsRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiOverwriteEnvironmentFeatureVariantsRequest) Execute ¶

func (ApiOverwriteEnvironmentFeatureVariantsRequest) VariantSchema ¶

variantsSchema

type ApiOverwriteFeatureVariantsOnEnvironmentsRequest ¶

type ApiOverwriteFeatureVariantsOnEnvironmentsRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiOverwriteFeatureVariantsOnEnvironmentsRequest) Execute ¶

func (ApiOverwriteFeatureVariantsOnEnvironmentsRequest) PushVariantsSchema ¶

pushVariantsSchema

type ApiOverwriteFeatureVariantsRequest ¶

type ApiOverwriteFeatureVariantsRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiOverwriteFeatureVariantsRequest) Execute ¶

func (ApiOverwriteFeatureVariantsRequest) VariantSchema ¶

variantsSchema

type ApiPatchEnvironmentsFeatureVariantsRequest ¶

type ApiPatchEnvironmentsFeatureVariantsRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiPatchEnvironmentsFeatureVariantsRequest) Execute ¶

func (ApiPatchEnvironmentsFeatureVariantsRequest) PatchSchema ¶

patchesSchema

type ApiPatchFeatureRequest ¶

type ApiPatchFeatureRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiPatchFeatureRequest) Execute ¶

func (ApiPatchFeatureRequest) PatchSchema ¶

func (r ApiPatchFeatureRequest) PatchSchema(patchSchema []PatchSchema) ApiPatchFeatureRequest

patchesSchema

type ApiPatchFeatureStrategyRequest ¶

type ApiPatchFeatureStrategyRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiPatchFeatureStrategyRequest) Execute ¶

func (ApiPatchFeatureStrategyRequest) PatchSchema ¶

patchesSchema

type ApiPatchFeatureVariantsRequest ¶

type ApiPatchFeatureVariantsRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiPatchFeatureVariantsRequest) Execute ¶

func (ApiPatchFeatureVariantsRequest) PatchSchema ¶

patchesSchema

type ApiReactivateStrategyRequest ¶

type ApiReactivateStrategyRequest struct {
	ApiService *StrategiesApiService
	// contains filtered or unexported fields
}

func (ApiReactivateStrategyRequest) Execute ¶

type ApiRegisterClientApplicationRequest ¶

type ApiRegisterClientApplicationRequest struct {
	ApiService *ClientApiService
	// contains filtered or unexported fields
}

func (ApiRegisterClientApplicationRequest) ClientApplicationSchema ¶

func (r ApiRegisterClientApplicationRequest) ClientApplicationSchema(clientApplicationSchema ClientApplicationSchema) ApiRegisterClientApplicationRequest

clientApplicationSchema

func (ApiRegisterClientApplicationRequest) Execute ¶

type ApiRegisterClientMetricsRequest ¶

type ApiRegisterClientMetricsRequest struct {
	ApiService *ClientApiService
	// contains filtered or unexported fields
}

func (ApiRegisterClientMetricsRequest) ClientMetricsSchema ¶

func (r ApiRegisterClientMetricsRequest) ClientMetricsSchema(clientMetricsSchema ClientMetricsSchema) ApiRegisterClientMetricsRequest

clientMetricsSchema

func (ApiRegisterClientMetricsRequest) Execute ¶

type ApiRegisterFrontendClientRequest ¶

type ApiRegisterFrontendClientRequest struct {
	ApiService *FrontendAPIApiService
	// contains filtered or unexported fields
}

func (ApiRegisterFrontendClientRequest) Execute ¶

func (ApiRegisterFrontendClientRequest) ProxyClientSchema ¶

proxyClientSchema

type ApiRegisterFrontendMetricsRequest ¶

type ApiRegisterFrontendMetricsRequest struct {
	ApiService *FrontendAPIApiService
	// contains filtered or unexported fields
}

func (ApiRegisterFrontendMetricsRequest) ClientMetricsSchema ¶

clientMetricsSchema

func (ApiRegisterFrontendMetricsRequest) Execute ¶

type ApiRemoveEnvironmentFromProjectRequest ¶

type ApiRemoveEnvironmentFromProjectRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiRemoveEnvironmentFromProjectRequest) Execute ¶

type ApiRemoveFavoriteFeatureRequest ¶

type ApiRemoveFavoriteFeatureRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiRemoveFavoriteFeatureRequest) Execute ¶

type ApiRemoveFavoriteProjectRequest ¶

type ApiRemoveFavoriteProjectRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiRemoveFavoriteProjectRequest) Execute ¶

type ApiRemoveSegmentRequest ¶

type ApiRemoveSegmentRequest struct {
	ApiService *SegmentsApiService
	// contains filtered or unexported fields
}

func (ApiRemoveSegmentRequest) Execute ¶

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

type ApiRemoveStrategyRequest ¶

type ApiRemoveStrategyRequest struct {
	ApiService *StrategiesApiService
	// contains filtered or unexported fields
}

func (ApiRemoveStrategyRequest) Execute ¶

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

type ApiRemoveTagRequest ¶

type ApiRemoveTagRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiRemoveTagRequest) Execute ¶

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

type ApiResetUserPasswordRequest ¶

type ApiResetUserPasswordRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiResetUserPasswordRequest) Execute ¶

func (ApiResetUserPasswordRequest) IdSchema ¶

idSchema

type ApiReviveFeatureRequest ¶

type ApiReviveFeatureRequest struct {
	ApiService *ArchiveApiService
	// contains filtered or unexported fields
}

func (ApiReviveFeatureRequest) Execute ¶

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

type ApiReviveFeaturesRequest ¶

type ApiReviveFeaturesRequest struct {
	ApiService *ArchiveApiService
	// contains filtered or unexported fields
}

func (ApiReviveFeaturesRequest) BatchFeaturesSchema ¶

func (r ApiReviveFeaturesRequest) BatchFeaturesSchema(batchFeaturesSchema BatchFeaturesSchema) ApiReviveFeaturesRequest

batchFeaturesSchema

func (ApiReviveFeaturesRequest) Execute ¶

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

type ApiSearchEventsRequest ¶

type ApiSearchEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiSearchEventsRequest) Execute ¶

func (ApiSearchEventsRequest) SearchEventsSchema ¶

func (r ApiSearchEventsRequest) SearchEventsSchema(searchEventsSchema SearchEventsSchema) ApiSearchEventsRequest

searchEventsSchema

type ApiSearchUsersRequest ¶

type ApiSearchUsersRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiSearchUsersRequest) Execute ¶

type ApiSendResetPasswordEmailRequest ¶

type ApiSendResetPasswordEmailRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiSendResetPasswordEmailRequest) EmailSchema ¶

emailSchema

func (ApiSendResetPasswordEmailRequest) Execute ¶

type ApiSetStrategySortOrderRequest ¶

type ApiSetStrategySortOrderRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiSetStrategySortOrderRequest) Execute ¶

func (ApiSetStrategySortOrderRequest) SetStrategySortOrderSchemaInner ¶

func (r ApiSetStrategySortOrderRequest) SetStrategySortOrderSchemaInner(setStrategySortOrderSchemaInner []SetStrategySortOrderSchemaInner) ApiSetStrategySortOrderRequest

setStrategySortOrderSchema

type ApiSetUiConfigRequest ¶

type ApiSetUiConfigRequest struct {
	ApiService *AdminUIApiService
	// contains filtered or unexported fields
}

func (ApiSetUiConfigRequest) Execute ¶

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

func (ApiSetUiConfigRequest) SetUiConfigSchema ¶

func (r ApiSetUiConfigRequest) SetUiConfigSchema(setUiConfigSchema SetUiConfigSchema) ApiSetUiConfigRequest

setUiConfigSchema

type ApiStaleFeaturesRequest ¶

type ApiStaleFeaturesRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiStaleFeaturesRequest) BatchStaleSchema ¶

func (r ApiStaleFeaturesRequest) BatchStaleSchema(batchStaleSchema BatchStaleSchema) ApiStaleFeaturesRequest

batchStaleSchema

func (ApiStaleFeaturesRequest) Execute ¶

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

type ApiToggleEnvironmentOffRequest ¶

type ApiToggleEnvironmentOffRequest struct {
	ApiService *EnvironmentsApiService
	// contains filtered or unexported fields
}

func (ApiToggleEnvironmentOffRequest) Execute ¶

type ApiToggleEnvironmentOnRequest ¶

type ApiToggleEnvironmentOnRequest struct {
	ApiService *EnvironmentsApiService
	// contains filtered or unexported fields
}

func (ApiToggleEnvironmentOnRequest) Execute ¶

type ApiToggleFeatureEnvironmentOffRequest ¶

type ApiToggleFeatureEnvironmentOffRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiToggleFeatureEnvironmentOffRequest) Execute ¶

type ApiToggleFeatureEnvironmentOnRequest ¶

type ApiToggleFeatureEnvironmentOnRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiToggleFeatureEnvironmentOnRequest) Execute ¶

type ApiToggleMaintenanceRequest ¶

type ApiToggleMaintenanceRequest struct {
	ApiService *MaintenanceApiService
	// contains filtered or unexported fields
}

func (ApiToggleMaintenanceRequest) Execute ¶

func (ApiToggleMaintenanceRequest) ToggleMaintenanceSchema ¶

func (r ApiToggleMaintenanceRequest) ToggleMaintenanceSchema(toggleMaintenanceSchema ToggleMaintenanceSchema) ApiToggleMaintenanceRequest

toggleMaintenanceSchema

type ApiTokenSchema ¶

type ApiTokenSchema struct {
	// The token used for authentication.
	Secret string `json:"secret"`
	// This property was deprecated in Unleash v5. Prefer the `tokenName` property instead.
	// Deprecated
	Username *string `json:"username,omitempty"`
	// 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. `*` if it has access to all environments.
	Environment *string `json:"environment,omitempty"`
	// The project this token belongs to.
	Project string `json:"project"`
	// 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"`
}

ApiTokenSchema An overview of an [Unleash API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys).

func NewApiTokenSchema ¶

func NewApiTokenSchema(secret string, tokenName string, type_ string, project 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

func (*ApiTokenSchema) GetProjectOk ¶

func (o *ApiTokenSchema) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field value 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) GetUsername ¶

func (o *ApiTokenSchema) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise. Deprecated

func (*ApiTokenSchema) GetUsernameOk ¶

func (o *ApiTokenSchema) 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. Deprecated

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) HasSeenAt ¶

func (o *ApiTokenSchema) HasSeenAt() bool

HasSeenAt returns a boolean if a field has been set.

func (*ApiTokenSchema) HasUsername ¶

func (o *ApiTokenSchema) HasUsername() bool

HasUsername 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 sets field value

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) SetUsername ¶

func (o *ApiTokenSchema) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field. Deprecated

func (ApiTokenSchema) ToMap ¶

func (o ApiTokenSchema) ToMap() (map[string]interface{}, 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 API tokens.
	Tokens []ApiTokenSchema `json:"tokens"`
}

ApiTokensSchema Contains a list of API tokens.

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)

type ApiUpdateAddonRequest ¶

type ApiUpdateAddonRequest struct {
	ApiService *AddonsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateAddonRequest) AddonCreateUpdateSchema ¶

func (r ApiUpdateAddonRequest) AddonCreateUpdateSchema(addonCreateUpdateSchema AddonCreateUpdateSchema) ApiUpdateAddonRequest

addonCreateUpdateSchema

func (ApiUpdateAddonRequest) Execute ¶

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) UpsertContextFieldSchema ¶

func (r ApiUpdateContextFieldRequest) UpsertContextFieldSchema(upsertContextFieldSchema UpsertContextFieldSchema) ApiUpdateContextFieldRequest

upsertContextFieldSchema

type ApiUpdateFeatureRequest ¶

type ApiUpdateFeatureRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateFeatureRequest) Execute ¶

func (ApiUpdateFeatureRequest) UpdateFeatureSchema ¶

func (r ApiUpdateFeatureRequest) UpdateFeatureSchema(updateFeatureSchema UpdateFeatureSchema) ApiUpdateFeatureRequest

updateFeatureSchema

type ApiUpdateFeatureStrategyRequest ¶

type ApiUpdateFeatureStrategyRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateFeatureStrategyRequest) Execute ¶

func (ApiUpdateFeatureStrategyRequest) UpdateFeatureStrategySchema ¶

func (r ApiUpdateFeatureStrategyRequest) UpdateFeatureStrategySchema(updateFeatureStrategySchema UpdateFeatureStrategySchema) ApiUpdateFeatureStrategyRequest

updateFeatureStrategySchema

type ApiUpdateFeedbackRequest ¶

type ApiUpdateFeedbackRequest struct {
	ApiService *AdminUIApiService
	// contains filtered or unexported fields
}

func (ApiUpdateFeedbackRequest) Execute ¶

func (ApiUpdateFeedbackRequest) FeedbackSchema ¶

func (r ApiUpdateFeedbackRequest) FeedbackSchema(feedbackSchema FeedbackSchema) ApiUpdateFeedbackRequest

feedbackSchema

type ApiUpdatePublicSignupTokenRequest ¶

type ApiUpdatePublicSignupTokenRequest struct {
	ApiService *PublicSignupTokensApiService
	// contains filtered or unexported fields
}

func (ApiUpdatePublicSignupTokenRequest) Execute ¶

func (ApiUpdatePublicSignupTokenRequest) PublicSignupTokenUpdateSchema ¶

func (r ApiUpdatePublicSignupTokenRequest) PublicSignupTokenUpdateSchema(publicSignupTokenUpdateSchema PublicSignupTokenUpdateSchema) ApiUpdatePublicSignupTokenRequest

publicSignupTokenUpdateSchema

type ApiUpdateSegmentRequest ¶

type ApiUpdateSegmentRequest struct {
	ApiService *SegmentsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateSegmentRequest) Execute ¶

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

type ApiUpdateServiceAccountRequest ¶

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

func (ApiUpdateServiceAccountRequest) Execute ¶

func (ApiUpdateServiceAccountRequest) RequestBody ¶

func (r ApiUpdateServiceAccountRequest) RequestBody(requestBody map[string]interface{}) ApiUpdateServiceAccountRequest

updateServiceAccountSchema

type ApiUpdateSortOrderRequest ¶

type ApiUpdateSortOrderRequest struct {
	ApiService *EnvironmentsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateSortOrderRequest) Execute ¶

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

func (ApiUpdateSortOrderRequest) RequestBody ¶

func (r ApiUpdateSortOrderRequest) RequestBody(requestBody map[string]float32) ApiUpdateSortOrderRequest

sortOrderSchema

type ApiUpdateSplashSettingsRequest ¶

type ApiUpdateSplashSettingsRequest struct {
	ApiService *AdminUIApiService
	// contains filtered or unexported fields
}

func (ApiUpdateSplashSettingsRequest) Execute ¶

type ApiUpdateStrategyRequest ¶

type ApiUpdateStrategyRequest struct {
	ApiService *StrategiesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateStrategyRequest) Execute ¶

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

func (ApiUpdateStrategyRequest) UpsertStrategySchema ¶

func (r ApiUpdateStrategyRequest) UpsertStrategySchema(upsertStrategySchema UpsertStrategySchema) ApiUpdateStrategyRequest

upsertStrategySchema

type ApiUpdateTagTypeRequest ¶

type ApiUpdateTagTypeRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateTagTypeRequest) Execute ¶

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

func (ApiUpdateTagTypeRequest) UpdateTagTypeSchema ¶

func (r ApiUpdateTagTypeRequest) UpdateTagTypeSchema(updateTagTypeSchema UpdateTagTypeSchema) ApiUpdateTagTypeRequest

updateTagTypeSchema

type ApiUpdateTagsRequest ¶

type ApiUpdateTagsRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateTagsRequest) Execute ¶

func (ApiUpdateTagsRequest) UpdateTagsSchema ¶

func (r ApiUpdateTagsRequest) UpdateTagsSchema(updateTagsSchema UpdateTagsSchema) ApiUpdateTagsRequest

updateTagsSchema

type ApiUpdateUserRequest ¶

type ApiUpdateUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiUpdateUserRequest) Execute ¶

func (ApiUpdateUserRequest) RequestBody ¶

func (r ApiUpdateUserRequest) RequestBody(requestBody map[string]interface{}) ApiUpdateUserRequest

updateUserSchema

type ApiValidateConstraintRequest ¶

type ApiValidateConstraintRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiValidateConstraintRequest) ConstraintSchema ¶

func (r ApiValidateConstraintRequest) ConstraintSchema(constraintSchema ConstraintSchema) ApiValidateConstraintRequest

constraintSchema

func (ApiValidateConstraintRequest) Execute ¶

type ApiValidateFeatureRequest ¶

type ApiValidateFeatureRequest struct {
	ApiService *FeaturesApiService
	// contains filtered or unexported fields
}

func (ApiValidateFeatureRequest) Execute ¶

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

type ApiValidateImportRequest ¶

type ApiValidateImportRequest struct {
	ApiService *UnstableApiService
	// contains filtered or unexported fields
}

func (ApiValidateImportRequest) Execute ¶

func (ApiValidateImportRequest) ImportTogglesSchema ¶

func (r ApiValidateImportRequest) ImportTogglesSchema(importTogglesSchema ImportTogglesSchema) ApiValidateImportRequest

importTogglesSchema

type ApiValidatePasswordRequest ¶

type ApiValidatePasswordRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiValidatePasswordRequest) Execute ¶

func (ApiValidatePasswordRequest) ValidatePasswordSchema ¶

func (r ApiValidatePasswordRequest) ValidatePasswordSchema(validatePasswordSchema ValidatePasswordSchema) ApiValidatePasswordRequest

validatePasswordSchema

type ApiValidatePublicSignupTokenRequest ¶

type ApiValidatePublicSignupTokenRequest struct {
	ApiService *PublicSignupTokensApiService
	// contains filtered or unexported fields
}

func (ApiValidatePublicSignupTokenRequest) Execute ¶

type ApiValidateRequest ¶

type ApiValidateRequest struct {
	ApiService *ContextApiService
	// contains filtered or unexported fields
}

func (ApiValidateRequest) Execute ¶

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

func (ApiValidateRequest) NameSchema ¶

func (r ApiValidateRequest) NameSchema(nameSchema NameSchema) ApiValidateRequest

nameSchema

type ApiValidateSegmentRequest ¶

type ApiValidateSegmentRequest struct {
	ApiService *SegmentsApiService
	// contains filtered or unexported fields
}

func (ApiValidateSegmentRequest) Execute ¶

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

func (ApiValidateSegmentRequest) NameSchema ¶

nameSchema

type ApiValidateTagTypeRequest ¶

type ApiValidateTagTypeRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiValidateTagTypeRequest) Execute ¶

func (ApiValidateTagTypeRequest) TagTypeSchema ¶

func (r ApiValidateTagTypeRequest) TagTypeSchema(tagTypeSchema TagTypeSchema) ApiValidateTagTypeRequest

tagTypeSchema

type ApiValidateTokenRequest ¶

type ApiValidateTokenRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiValidateTokenRequest) Execute ¶

type ApiValidateUserPasswordRequest ¶

type ApiValidateUserPasswordRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiValidateUserPasswordRequest) Execute ¶

func (ApiValidateUserPasswordRequest) PasswordSchema ¶

passwordSchema

type ApplicationSchema ¶

type ApplicationSchema struct {
	// Name of the application
	AppName string `json:"appName"`
	// Which SDK and version the application reporting uses. Typically represented as `<identifier>:<version>`
	SdkVersion *string `json:"sdkVersion,omitempty"`
	// Which [strategies](https://docs.getunleash.io/topics/the-anatomy-of-unleash#activation-strategies) the application has loaded. Useful when trying to figure out if your [custom strategy](https://docs.getunleash.io/reference/custom-activation-strategies) has been loaded in the SDK
	Strategies []string `json:"strategies,omitempty"`
	// Extra information added about the application reporting the metrics. Only present if added via the Unleash Admin interface
	Description *string `json:"description,omitempty"`
	// A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application
	Url *string `json:"url,omitempty"`
	// The CSS color that is used to color the application's entry in the application list
	Color *string `json:"color,omitempty"`
	// An URL to an icon file to be used for the applications's entry in the application list
	Icon *string `json:"icon,omitempty"`
}

ApplicationSchema struct for ApplicationSchema

func NewApplicationSchema ¶

func NewApplicationSchema(appName string) *ApplicationSchema

NewApplicationSchema instantiates a new ApplicationSchema 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 NewApplicationSchemaWithDefaults ¶

func NewApplicationSchemaWithDefaults() *ApplicationSchema

NewApplicationSchemaWithDefaults instantiates a new ApplicationSchema 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 (*ApplicationSchema) GetAppName ¶

func (o *ApplicationSchema) GetAppName() string

GetAppName returns the AppName field value

func (*ApplicationSchema) GetAppNameOk ¶

func (o *ApplicationSchema) GetAppNameOk() (*string, bool)

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

func (*ApplicationSchema) GetColor ¶

func (o *ApplicationSchema) GetColor() string

GetColor returns the Color field value if set, zero value otherwise.

func (*ApplicationSchema) GetColorOk ¶

func (o *ApplicationSchema) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationSchema) GetDescription ¶

func (o *ApplicationSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ApplicationSchema) GetDescriptionOk ¶

func (o *ApplicationSchema) 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 (*ApplicationSchema) GetIcon ¶

func (o *ApplicationSchema) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*ApplicationSchema) GetIconOk ¶

func (o *ApplicationSchema) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationSchema) GetSdkVersion ¶

func (o *ApplicationSchema) GetSdkVersion() string

GetSdkVersion returns the SdkVersion field value if set, zero value otherwise.

func (*ApplicationSchema) GetSdkVersionOk ¶

func (o *ApplicationSchema) GetSdkVersionOk() (*string, bool)

GetSdkVersionOk returns a tuple with the SdkVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationSchema) GetStrategies ¶

func (o *ApplicationSchema) GetStrategies() []string

GetStrategies returns the Strategies field value if set, zero value otherwise.

func (*ApplicationSchema) GetStrategiesOk ¶

func (o *ApplicationSchema) GetStrategiesOk() ([]string, bool)

GetStrategiesOk returns a tuple with the Strategies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationSchema) GetUrl ¶

func (o *ApplicationSchema) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*ApplicationSchema) GetUrlOk ¶

func (o *ApplicationSchema) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationSchema) HasColor ¶

func (o *ApplicationSchema) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*ApplicationSchema) HasDescription ¶

func (o *ApplicationSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ApplicationSchema) HasIcon ¶

func (o *ApplicationSchema) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*ApplicationSchema) HasSdkVersion ¶

func (o *ApplicationSchema) HasSdkVersion() bool

HasSdkVersion returns a boolean if a field has been set.

func (*ApplicationSchema) HasStrategies ¶

func (o *ApplicationSchema) HasStrategies() bool

HasStrategies returns a boolean if a field has been set.

func (*ApplicationSchema) HasUrl ¶

func (o *ApplicationSchema) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (ApplicationSchema) MarshalJSON ¶

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

func (*ApplicationSchema) SetAppName ¶

func (o *ApplicationSchema) SetAppName(v string)

SetAppName sets field value

func (*ApplicationSchema) SetColor ¶

func (o *ApplicationSchema) SetColor(v string)

SetColor gets a reference to the given string and assigns it to the Color field.

func (*ApplicationSchema) SetDescription ¶

func (o *ApplicationSchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ApplicationSchema) SetIcon ¶

func (o *ApplicationSchema) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*ApplicationSchema) SetSdkVersion ¶

func (o *ApplicationSchema) SetSdkVersion(v string)

SetSdkVersion gets a reference to the given string and assigns it to the SdkVersion field.

func (*ApplicationSchema) SetStrategies ¶

func (o *ApplicationSchema) SetStrategies(v []string)

SetStrategies gets a reference to the given []string and assigns it to the Strategies field.

func (*ApplicationSchema) SetUrl ¶

func (o *ApplicationSchema) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (ApplicationSchema) ToMap ¶

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

type ApplicationsSchema ¶

type ApplicationsSchema struct {
	// Contains a list of applications that have connected via an SDK
	Applications []ApplicationSchema `json:"applications,omitempty"`
}

ApplicationsSchema struct for ApplicationsSchema

func NewApplicationsSchema ¶

func NewApplicationsSchema() *ApplicationsSchema

NewApplicationsSchema instantiates a new ApplicationsSchema 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 NewApplicationsSchemaWithDefaults ¶

func NewApplicationsSchemaWithDefaults() *ApplicationsSchema

NewApplicationsSchemaWithDefaults instantiates a new ApplicationsSchema 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 (*ApplicationsSchema) GetApplications ¶

func (o *ApplicationsSchema) GetApplications() []ApplicationSchema

GetApplications returns the Applications field value if set, zero value otherwise.

func (*ApplicationsSchema) GetApplicationsOk ¶

func (o *ApplicationsSchema) GetApplicationsOk() ([]ApplicationSchema, bool)

GetApplicationsOk returns a tuple with the Applications field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationsSchema) HasApplications ¶

func (o *ApplicationsSchema) HasApplications() bool

HasApplications returns a boolean if a field has been set.

func (ApplicationsSchema) MarshalJSON ¶

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

func (*ApplicationsSchema) SetApplications ¶

func (o *ApplicationsSchema) SetApplications(v []ApplicationSchema)

SetApplications gets a reference to the given []ApplicationSchema and assigns it to the Applications field.

func (ApplicationsSchema) ToMap ¶

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

type ArchiveApiService ¶

type ArchiveApiService service

ArchiveApiService ArchiveApi service

func (*ArchiveApiService) DeleteFeature ¶

func (a *ArchiveApiService) DeleteFeature(ctx context.Context, featureName string) ApiDeleteFeatureRequest

DeleteFeature Method for DeleteFeature

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param featureName
@return ApiDeleteFeatureRequest

func (*ArchiveApiService) DeleteFeatureExecute ¶

func (a *ArchiveApiService) DeleteFeatureExecute(r ApiDeleteFeatureRequest) (*http.Response, error)

Execute executes the request

func (*ArchiveApiService) DeleteFeatures ¶

func (a *ArchiveApiService) DeleteFeatures(ctx context.Context, projectId string) ApiDeleteFeaturesRequest

DeleteFeatures Deletes a list of features

This endpoint deletes the specified features, that are in archive.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiDeleteFeaturesRequest

func (*ArchiveApiService) DeleteFeaturesExecute ¶

func (a *ArchiveApiService) DeleteFeaturesExecute(r ApiDeleteFeaturesRequest) (*http.Response, error)

Execute executes the request

func (*ArchiveApiService) GetArchivedFeatures ¶

func (a *ArchiveApiService) GetArchivedFeatures(ctx context.Context) ApiGetArchivedFeaturesRequest

GetArchivedFeatures Method for GetArchivedFeatures

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetArchivedFeaturesRequest

Deprecated

func (*ArchiveApiService) GetArchivedFeaturesByProjectId ¶

func (a *ArchiveApiService) GetArchivedFeaturesByProjectId(ctx context.Context, projectId string) ApiGetArchivedFeaturesByProjectIdRequest

GetArchivedFeaturesByProjectId Method for GetArchivedFeaturesByProjectId

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiGetArchivedFeaturesByProjectIdRequest

Deprecated

func (*ArchiveApiService) GetArchivedFeaturesByProjectIdExecute ¶

func (a *ArchiveApiService) GetArchivedFeaturesByProjectIdExecute(r ApiGetArchivedFeaturesByProjectIdRequest) (*FeaturesSchema, *http.Response, error)

Execute executes the request

@return FeaturesSchema

Deprecated

func (*ArchiveApiService) GetArchivedFeaturesExecute ¶

func (a *ArchiveApiService) GetArchivedFeaturesExecute(r ApiGetArchivedFeaturesRequest) (*FeaturesSchema, *http.Response, error)

Execute executes the request

@return FeaturesSchema

Deprecated

func (*ArchiveApiService) ReviveFeature ¶

func (a *ArchiveApiService) ReviveFeature(ctx context.Context, featureName string) ApiReviveFeatureRequest

ReviveFeature Method for ReviveFeature

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param featureName
@return ApiReviveFeatureRequest

func (*ArchiveApiService) ReviveFeatureExecute ¶

func (a *ArchiveApiService) ReviveFeatureExecute(r ApiReviveFeatureRequest) (*http.Response, error)

Execute executes the request

func (*ArchiveApiService) ReviveFeatures ¶

func (a *ArchiveApiService) ReviveFeatures(ctx context.Context, projectId string) ApiReviveFeaturesRequest

ReviveFeatures Revives a list of features

This endpoint revives the specified features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiReviveFeaturesRequest

func (*ArchiveApiService) ReviveFeaturesExecute ¶

func (a *ArchiveApiService) ReviveFeaturesExecute(r ApiReviveFeaturesRequest) (*http.Response, error)

Execute executes the request

type AuthApiService ¶

type AuthApiService service

AuthApiService AuthApi service

func (*AuthApiService) ChangePassword ¶

func (a *AuthApiService) ChangePassword(ctx context.Context) ApiChangePasswordRequest

ChangePassword Method for ChangePassword

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiChangePasswordRequest

func (*AuthApiService) ChangePasswordExecute ¶

func (a *AuthApiService) ChangePasswordExecute(r ApiChangePasswordRequest) (*http.Response, error)

Execute executes the request

func (*AuthApiService) Login ¶

Login Method for Login

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLoginRequest

func (*AuthApiService) LoginExecute ¶

func (a *AuthApiService) LoginExecute(r ApiLoginRequest) (*UserSchema, *http.Response, error)

Execute executes the request

@return UserSchema

func (*AuthApiService) SendResetPasswordEmail ¶

func (a *AuthApiService) SendResetPasswordEmail(ctx context.Context) ApiSendResetPasswordEmailRequest

SendResetPasswordEmail Method for SendResetPasswordEmail

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSendResetPasswordEmailRequest

func (*AuthApiService) SendResetPasswordEmailExecute ¶

func (a *AuthApiService) SendResetPasswordEmailExecute(r ApiSendResetPasswordEmailRequest) (*http.Response, error)

Execute executes the request

func (*AuthApiService) ValidatePassword ¶

func (a *AuthApiService) ValidatePassword(ctx context.Context) ApiValidatePasswordRequest

ValidatePassword Method for ValidatePassword

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiValidatePasswordRequest

func (*AuthApiService) ValidatePasswordExecute ¶

func (a *AuthApiService) ValidatePasswordExecute(r ApiValidatePasswordRequest) (*http.Response, error)

Execute executes the request

func (*AuthApiService) ValidateToken ¶

func (a *AuthApiService) ValidateToken(ctx context.Context) ApiValidateTokenRequest

ValidateToken Method for ValidateToken

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiValidateTokenRequest

func (*AuthApiService) ValidateTokenExecute ¶

func (a *AuthApiService) ValidateTokenExecute(r ApiValidateTokenRequest) (*TokenUserSchema, *http.Response, error)

Execute executes the request

@return TokenUserSchema

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 BatchFeaturesSchema ¶

type BatchFeaturesSchema struct {
	Features []string `json:"features"`
}

BatchFeaturesSchema struct for BatchFeaturesSchema

func NewBatchFeaturesSchema ¶

func NewBatchFeaturesSchema(features []string) *BatchFeaturesSchema

NewBatchFeaturesSchema instantiates a new BatchFeaturesSchema 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 NewBatchFeaturesSchemaWithDefaults ¶

func NewBatchFeaturesSchemaWithDefaults() *BatchFeaturesSchema

NewBatchFeaturesSchemaWithDefaults instantiates a new BatchFeaturesSchema 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 (*BatchFeaturesSchema) GetFeatures ¶

func (o *BatchFeaturesSchema) GetFeatures() []string

GetFeatures returns the Features field value

func (*BatchFeaturesSchema) GetFeaturesOk ¶

func (o *BatchFeaturesSchema) GetFeaturesOk() ([]string, bool)

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

func (BatchFeaturesSchema) MarshalJSON ¶

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

func (*BatchFeaturesSchema) SetFeatures ¶

func (o *BatchFeaturesSchema) SetFeatures(v []string)

SetFeatures sets field value

func (BatchFeaturesSchema) ToMap ¶

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

type BatchStaleSchema ¶

type BatchStaleSchema struct {
	Features []string `json:"features"`
	Stale    bool     `json:"stale"`
}

BatchStaleSchema struct for BatchStaleSchema

func NewBatchStaleSchema ¶

func NewBatchStaleSchema(features []string, stale bool) *BatchStaleSchema

NewBatchStaleSchema instantiates a new BatchStaleSchema 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 NewBatchStaleSchemaWithDefaults ¶

func NewBatchStaleSchemaWithDefaults() *BatchStaleSchema

NewBatchStaleSchemaWithDefaults instantiates a new BatchStaleSchema 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 (*BatchStaleSchema) GetFeatures ¶

func (o *BatchStaleSchema) GetFeatures() []string

GetFeatures returns the Features field value

func (*BatchStaleSchema) GetFeaturesOk ¶

func (o *BatchStaleSchema) GetFeaturesOk() ([]string, bool)

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

func (*BatchStaleSchema) GetStale ¶

func (o *BatchStaleSchema) GetStale() bool

GetStale returns the Stale field value

func (*BatchStaleSchema) GetStaleOk ¶

func (o *BatchStaleSchema) GetStaleOk() (*bool, bool)

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

func (BatchStaleSchema) MarshalJSON ¶

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

func (*BatchStaleSchema) SetFeatures ¶

func (o *BatchStaleSchema) SetFeatures(v []string)

SetFeatures sets field value

func (*BatchStaleSchema) SetStale ¶

func (o *BatchStaleSchema) SetStale(v bool)

SetStale sets field value

func (BatchStaleSchema) ToMap ¶

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

type BulkMetricsSchema ¶

type BulkMetricsSchema struct {
	// A list of applications registered by an Unleash SDK
	Applications []BulkRegistrationSchema `json:"applications"`
	// a list of client usage metrics registered by downstream providers. (Typically Unleash Edge)
	Metrics []ClientMetricsEnvSchema `json:"metrics"`
}

BulkMetricsSchema A batch of metrics accumulated by Edge (or other compatible applications). Includes both application registrations as well usage metrics from clients

func NewBulkMetricsSchema ¶

func NewBulkMetricsSchema(applications []BulkRegistrationSchema, metrics []ClientMetricsEnvSchema) *BulkMetricsSchema

NewBulkMetricsSchema instantiates a new BulkMetricsSchema 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 NewBulkMetricsSchemaWithDefaults ¶

func NewBulkMetricsSchemaWithDefaults() *BulkMetricsSchema

NewBulkMetricsSchemaWithDefaults instantiates a new BulkMetricsSchema 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 (*BulkMetricsSchema) GetApplications ¶

func (o *BulkMetricsSchema) GetApplications() []BulkRegistrationSchema

GetApplications returns the Applications field value

func (*BulkMetricsSchema) GetApplicationsOk ¶

func (o *BulkMetricsSchema) GetApplicationsOk() ([]BulkRegistrationSchema, bool)

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

func (*BulkMetricsSchema) GetMetrics ¶

func (o *BulkMetricsSchema) GetMetrics() []ClientMetricsEnvSchema

GetMetrics returns the Metrics field value

func (*BulkMetricsSchema) GetMetricsOk ¶

func (o *BulkMetricsSchema) GetMetricsOk() ([]ClientMetricsEnvSchema, bool)

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

func (BulkMetricsSchema) MarshalJSON ¶

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

func (*BulkMetricsSchema) SetApplications ¶

func (o *BulkMetricsSchema) SetApplications(v []BulkRegistrationSchema)

SetApplications sets field value

func (*BulkMetricsSchema) SetMetrics ¶

func (o *BulkMetricsSchema) SetMetrics(v []ClientMetricsEnvSchema)

SetMetrics sets field value

func (BulkMetricsSchema) ToMap ¶

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

type BulkRegistrationSchema ¶

type BulkRegistrationSchema struct {
	// A list of applications this app registration has been registered through. If connected directly to Unleash, this is an empty list.   This can be used in later visualizations to tell how many levels of proxy or Edge instances our SDKs have connected through
	ConnectVia []BulkRegistrationSchemaConnectViaInner `json:"connectVia,omitempty"`
	// The name of the application that is evaluating toggles
	AppName string `json:"appName"`
	// Which environment the application is running in
	Environment string `json:"environment"`
	// A [(somewhat) unique identifier](https://docs.getunleash.io/reference/sdks/node#advanced-usage) for the application
	InstanceId string `json:"instanceId"`
	// How often (in seconds) the application refreshes its features
	Interval *float32    `json:"interval,omitempty"`
	Started  *DateSchema `json:"started,omitempty"`
	// Enabled [strategies](https://docs.getunleash.io/reference/activation-strategies) in the application
	Strategies []string `json:"strategies,omitempty"`
	// The version the sdk is running. Typically <client>:<version>
	SdkVersion *string `json:"sdkVersion,omitempty"`
}

BulkRegistrationSchema An application registration. Defines the format POSTed by our server-side SDKs when they're starting up

func NewBulkRegistrationSchema ¶

func NewBulkRegistrationSchema(appName string, environment string, instanceId string) *BulkRegistrationSchema

NewBulkRegistrationSchema instantiates a new BulkRegistrationSchema 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 NewBulkRegistrationSchemaWithDefaults ¶

func NewBulkRegistrationSchemaWithDefaults() *BulkRegistrationSchema

NewBulkRegistrationSchemaWithDefaults instantiates a new BulkRegistrationSchema 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 (*BulkRegistrationSchema) GetAppName ¶

func (o *BulkRegistrationSchema) GetAppName() string

GetAppName returns the AppName field value

func (*BulkRegistrationSchema) GetAppNameOk ¶

func (o *BulkRegistrationSchema) GetAppNameOk() (*string, bool)

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

func (*BulkRegistrationSchema) GetConnectVia ¶

GetConnectVia returns the ConnectVia field value if set, zero value otherwise.

func (*BulkRegistrationSchema) GetConnectViaOk ¶

GetConnectViaOk returns a tuple with the ConnectVia field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkRegistrationSchema) GetEnvironment ¶

func (o *BulkRegistrationSchema) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*BulkRegistrationSchema) GetEnvironmentOk ¶

func (o *BulkRegistrationSchema) GetEnvironmentOk() (*string, bool)

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

func (*BulkRegistrationSchema) GetInstanceId ¶

func (o *BulkRegistrationSchema) GetInstanceId() string

GetInstanceId returns the InstanceId field value

func (*BulkRegistrationSchema) GetInstanceIdOk ¶

func (o *BulkRegistrationSchema) GetInstanceIdOk() (*string, bool)

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

func (*BulkRegistrationSchema) GetInterval ¶

func (o *BulkRegistrationSchema) GetInterval() float32

GetInterval returns the Interval field value if set, zero value otherwise.

func (*BulkRegistrationSchema) GetIntervalOk ¶

func (o *BulkRegistrationSchema) GetIntervalOk() (*float32, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkRegistrationSchema) GetSdkVersion ¶

func (o *BulkRegistrationSchema) GetSdkVersion() string

GetSdkVersion returns the SdkVersion field value if set, zero value otherwise.

func (*BulkRegistrationSchema) GetSdkVersionOk ¶

func (o *BulkRegistrationSchema) GetSdkVersionOk() (*string, bool)

GetSdkVersionOk returns a tuple with the SdkVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkRegistrationSchema) GetStarted ¶

func (o *BulkRegistrationSchema) GetStarted() DateSchema

GetStarted returns the Started field value if set, zero value otherwise.

func (*BulkRegistrationSchema) GetStartedOk ¶

func (o *BulkRegistrationSchema) GetStartedOk() (*DateSchema, bool)

GetStartedOk returns a tuple with the Started field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkRegistrationSchema) GetStrategies ¶

func (o *BulkRegistrationSchema) GetStrategies() []string

GetStrategies returns the Strategies field value if set, zero value otherwise.

func (*BulkRegistrationSchema) GetStrategiesOk ¶

func (o *BulkRegistrationSchema) GetStrategiesOk() ([]string, bool)

GetStrategiesOk returns a tuple with the Strategies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkRegistrationSchema) HasConnectVia ¶

func (o *BulkRegistrationSchema) HasConnectVia() bool

HasConnectVia returns a boolean if a field has been set.

func (*BulkRegistrationSchema) HasInterval ¶

func (o *BulkRegistrationSchema) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*BulkRegistrationSchema) HasSdkVersion ¶

func (o *BulkRegistrationSchema) HasSdkVersion() bool

HasSdkVersion returns a boolean if a field has been set.

func (*BulkRegistrationSchema) HasStarted ¶

func (o *BulkRegistrationSchema) HasStarted() bool

HasStarted returns a boolean if a field has been set.

func (*BulkRegistrationSchema) HasStrategies ¶

func (o *BulkRegistrationSchema) HasStrategies() bool

HasStrategies returns a boolean if a field has been set.

func (BulkRegistrationSchema) MarshalJSON ¶

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

func (*BulkRegistrationSchema) SetAppName ¶

func (o *BulkRegistrationSchema) SetAppName(v string)

SetAppName sets field value

func (*BulkRegistrationSchema) SetConnectVia ¶

SetConnectVia gets a reference to the given []BulkRegistrationSchemaConnectViaInner and assigns it to the ConnectVia field.

func (*BulkRegistrationSchema) SetEnvironment ¶

func (o *BulkRegistrationSchema) SetEnvironment(v string)

SetEnvironment sets field value

func (*BulkRegistrationSchema) SetInstanceId ¶

func (o *BulkRegistrationSchema) SetInstanceId(v string)

SetInstanceId sets field value

func (*BulkRegistrationSchema) SetInterval ¶

func (o *BulkRegistrationSchema) SetInterval(v float32)

SetInterval gets a reference to the given float32 and assigns it to the Interval field.

func (*BulkRegistrationSchema) SetSdkVersion ¶

func (o *BulkRegistrationSchema) SetSdkVersion(v string)

SetSdkVersion gets a reference to the given string and assigns it to the SdkVersion field.

func (*BulkRegistrationSchema) SetStarted ¶

func (o *BulkRegistrationSchema) SetStarted(v DateSchema)

SetStarted gets a reference to the given DateSchema and assigns it to the Started field.

func (*BulkRegistrationSchema) SetStrategies ¶

func (o *BulkRegistrationSchema) SetStrategies(v []string)

SetStrategies gets a reference to the given []string and assigns it to the Strategies field.

func (BulkRegistrationSchema) ToMap ¶

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

type BulkRegistrationSchemaConnectViaInner ¶

type BulkRegistrationSchemaConnectViaInner struct {
	AppName    string `json:"appName"`
	InstanceId string `json:"instanceId"`
}

BulkRegistrationSchemaConnectViaInner struct for BulkRegistrationSchemaConnectViaInner

func NewBulkRegistrationSchemaConnectViaInner ¶

func NewBulkRegistrationSchemaConnectViaInner(appName string, instanceId string) *BulkRegistrationSchemaConnectViaInner

NewBulkRegistrationSchemaConnectViaInner instantiates a new BulkRegistrationSchemaConnectViaInner 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 NewBulkRegistrationSchemaConnectViaInnerWithDefaults ¶

func NewBulkRegistrationSchemaConnectViaInnerWithDefaults() *BulkRegistrationSchemaConnectViaInner

NewBulkRegistrationSchemaConnectViaInnerWithDefaults instantiates a new BulkRegistrationSchemaConnectViaInner 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 (*BulkRegistrationSchemaConnectViaInner) GetAppName ¶

GetAppName returns the AppName field value

func (*BulkRegistrationSchemaConnectViaInner) GetAppNameOk ¶

func (o *BulkRegistrationSchemaConnectViaInner) GetAppNameOk() (*string, bool)

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

func (*BulkRegistrationSchemaConnectViaInner) GetInstanceId ¶

func (o *BulkRegistrationSchemaConnectViaInner) GetInstanceId() string

GetInstanceId returns the InstanceId field value

func (*BulkRegistrationSchemaConnectViaInner) GetInstanceIdOk ¶

func (o *BulkRegistrationSchemaConnectViaInner) GetInstanceIdOk() (*string, bool)

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

func (BulkRegistrationSchemaConnectViaInner) MarshalJSON ¶

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

func (*BulkRegistrationSchemaConnectViaInner) SetAppName ¶

SetAppName sets field value

func (*BulkRegistrationSchemaConnectViaInner) SetInstanceId ¶

func (o *BulkRegistrationSchemaConnectViaInner) SetInstanceId(v string)

SetInstanceId sets field value

func (BulkRegistrationSchemaConnectViaInner) ToMap ¶

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

type BulkToggleFeaturesSchema ¶

type BulkToggleFeaturesSchema struct {
	// The features that we want to bulk toggle
	Features []string `json:"features"`
}

BulkToggleFeaturesSchema The feature list used for bulk toggle operations

func NewBulkToggleFeaturesSchema ¶

func NewBulkToggleFeaturesSchema(features []string) *BulkToggleFeaturesSchema

NewBulkToggleFeaturesSchema instantiates a new BulkToggleFeaturesSchema 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 NewBulkToggleFeaturesSchemaWithDefaults ¶

func NewBulkToggleFeaturesSchemaWithDefaults() *BulkToggleFeaturesSchema

NewBulkToggleFeaturesSchemaWithDefaults instantiates a new BulkToggleFeaturesSchema 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 (*BulkToggleFeaturesSchema) GetFeatures ¶

func (o *BulkToggleFeaturesSchema) GetFeatures() []string

GetFeatures returns the Features field value

func (*BulkToggleFeaturesSchema) GetFeaturesOk ¶

func (o *BulkToggleFeaturesSchema) GetFeaturesOk() ([]string, bool)

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

func (BulkToggleFeaturesSchema) MarshalJSON ¶

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

func (*BulkToggleFeaturesSchema) SetFeatures ¶

func (o *BulkToggleFeaturesSchema) SetFeatures(v []string)

SetFeatures sets field value

func (BulkToggleFeaturesSchema) ToMap ¶

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

type ChangePasswordSchema ¶

type ChangePasswordSchema struct {
	Token    string `json:"token"`
	Password string `json:"password"`
}

ChangePasswordSchema struct for ChangePasswordSchema

func NewChangePasswordSchema ¶

func NewChangePasswordSchema(token string, password string) *ChangePasswordSchema

NewChangePasswordSchema instantiates a new ChangePasswordSchema 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 NewChangePasswordSchemaWithDefaults ¶

func NewChangePasswordSchemaWithDefaults() *ChangePasswordSchema

NewChangePasswordSchemaWithDefaults instantiates a new ChangePasswordSchema 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 (*ChangePasswordSchema) GetPassword ¶

func (o *ChangePasswordSchema) GetPassword() string

GetPassword returns the Password field value

func (*ChangePasswordSchema) GetPasswordOk ¶

func (o *ChangePasswordSchema) GetPasswordOk() (*string, bool)

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

func (*ChangePasswordSchema) GetToken ¶

func (o *ChangePasswordSchema) GetToken() string

GetToken returns the Token field value

func (*ChangePasswordSchema) GetTokenOk ¶

func (o *ChangePasswordSchema) GetTokenOk() (*string, bool)

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

func (ChangePasswordSchema) MarshalJSON ¶

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

func (*ChangePasswordSchema) SetPassword ¶

func (o *ChangePasswordSchema) SetPassword(v string)

SetPassword sets field value

func (*ChangePasswordSchema) SetToken ¶

func (o *ChangePasswordSchema) SetToken(v string)

SetToken sets field value

func (ChangePasswordSchema) ToMap ¶

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

type ChangeProjectSchema ¶

type ChangeProjectSchema struct {
	// The project to move the feature toggle to.
	NewProjectId string `json:"newProjectId"`
}

ChangeProjectSchema Data required to move a feature toggle to a project.

func NewChangeProjectSchema ¶

func NewChangeProjectSchema(newProjectId string) *ChangeProjectSchema

NewChangeProjectSchema instantiates a new ChangeProjectSchema 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 NewChangeProjectSchemaWithDefaults ¶

func NewChangeProjectSchemaWithDefaults() *ChangeProjectSchema

NewChangeProjectSchemaWithDefaults instantiates a new ChangeProjectSchema 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 (*ChangeProjectSchema) GetNewProjectId ¶

func (o *ChangeProjectSchema) GetNewProjectId() string

GetNewProjectId returns the NewProjectId field value

func (*ChangeProjectSchema) GetNewProjectIdOk ¶

func (o *ChangeProjectSchema) GetNewProjectIdOk() (*string, bool)

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

func (ChangeProjectSchema) MarshalJSON ¶

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

func (*ChangeProjectSchema) SetNewProjectId ¶

func (o *ChangeProjectSchema) SetNewProjectId(v string)

SetNewProjectId sets field value

func (ChangeProjectSchema) ToMap ¶

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

type ChangeRequestAddCommentSchema ¶

type ChangeRequestAddCommentSchema struct {
	Text string `json:"text"`
}

ChangeRequestAddCommentSchema struct for ChangeRequestAddCommentSchema

func NewChangeRequestAddCommentSchema ¶

func NewChangeRequestAddCommentSchema(text string) *ChangeRequestAddCommentSchema

NewChangeRequestAddCommentSchema instantiates a new ChangeRequestAddCommentSchema 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 NewChangeRequestAddCommentSchemaWithDefaults ¶

func NewChangeRequestAddCommentSchemaWithDefaults() *ChangeRequestAddCommentSchema

NewChangeRequestAddCommentSchemaWithDefaults instantiates a new ChangeRequestAddCommentSchema 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 (*ChangeRequestAddCommentSchema) GetText ¶

GetText returns the Text field value

func (*ChangeRequestAddCommentSchema) GetTextOk ¶

func (o *ChangeRequestAddCommentSchema) GetTextOk() (*string, bool)

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

func (ChangeRequestAddCommentSchema) MarshalJSON ¶

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

func (*ChangeRequestAddCommentSchema) SetText ¶

func (o *ChangeRequestAddCommentSchema) SetText(v string)

SetText sets field value

func (ChangeRequestAddCommentSchema) ToMap ¶

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

type ChangeRequestApprovalSchema ¶

type ChangeRequestApprovalSchema struct {
	CreatedBy ChangeRequestApprovalSchemaCreatedBy `json:"createdBy"`
	CreatedAt time.Time                            `json:"createdAt"`
}

ChangeRequestApprovalSchema struct for ChangeRequestApprovalSchema

func NewChangeRequestApprovalSchema ¶

func NewChangeRequestApprovalSchema(createdBy ChangeRequestApprovalSchemaCreatedBy, createdAt time.Time) *ChangeRequestApprovalSchema

NewChangeRequestApprovalSchema instantiates a new ChangeRequestApprovalSchema 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 NewChangeRequestApprovalSchemaWithDefaults ¶

func NewChangeRequestApprovalSchemaWithDefaults() *ChangeRequestApprovalSchema

NewChangeRequestApprovalSchemaWithDefaults instantiates a new ChangeRequestApprovalSchema 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 (*ChangeRequestApprovalSchema) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value

func (*ChangeRequestApprovalSchema) GetCreatedAtOk ¶

func (o *ChangeRequestApprovalSchema) 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 (*ChangeRequestApprovalSchema) GetCreatedBy ¶

GetCreatedBy returns the CreatedBy field value

func (*ChangeRequestApprovalSchema) GetCreatedByOk ¶

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

func (ChangeRequestApprovalSchema) MarshalJSON ¶

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

func (*ChangeRequestApprovalSchema) SetCreatedAt ¶

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

SetCreatedAt sets field value

func (*ChangeRequestApprovalSchema) SetCreatedBy ¶

SetCreatedBy sets field value

func (ChangeRequestApprovalSchema) ToMap ¶

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

type ChangeRequestApprovalSchemaCreatedBy ¶

type ChangeRequestApprovalSchemaCreatedBy struct {
	Id       *float32 `json:"id,omitempty"`
	Username *string  `json:"username,omitempty"`
	ImageUrl *string  `json:"imageUrl,omitempty"`
}

ChangeRequestApprovalSchemaCreatedBy struct for ChangeRequestApprovalSchemaCreatedBy

func NewChangeRequestApprovalSchemaCreatedBy ¶

func NewChangeRequestApprovalSchemaCreatedBy() *ChangeRequestApprovalSchemaCreatedBy

NewChangeRequestApprovalSchemaCreatedBy instantiates a new ChangeRequestApprovalSchemaCreatedBy 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 NewChangeRequestApprovalSchemaCreatedByWithDefaults ¶

func NewChangeRequestApprovalSchemaCreatedByWithDefaults() *ChangeRequestApprovalSchemaCreatedBy

NewChangeRequestApprovalSchemaCreatedByWithDefaults instantiates a new ChangeRequestApprovalSchemaCreatedBy 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 (*ChangeRequestApprovalSchemaCreatedBy) GetId ¶

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

func (*ChangeRequestApprovalSchemaCreatedBy) GetIdOk ¶

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 (*ChangeRequestApprovalSchemaCreatedBy) GetImageUrl ¶

GetImageUrl returns the ImageUrl field value if set, zero value otherwise.

func (*ChangeRequestApprovalSchemaCreatedBy) GetImageUrlOk ¶

func (o *ChangeRequestApprovalSchemaCreatedBy) 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 (*ChangeRequestApprovalSchemaCreatedBy) GetUsername ¶

GetUsername returns the Username field value if set, zero value otherwise.

func (*ChangeRequestApprovalSchemaCreatedBy) GetUsernameOk ¶

func (o *ChangeRequestApprovalSchemaCreatedBy) 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 (*ChangeRequestApprovalSchemaCreatedBy) HasId ¶

HasId returns a boolean if a field has been set.

func (*ChangeRequestApprovalSchemaCreatedBy) HasImageUrl ¶

func (o *ChangeRequestApprovalSchemaCreatedBy) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*ChangeRequestApprovalSchemaCreatedBy) HasUsername ¶

func (o *ChangeRequestApprovalSchemaCreatedBy) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (ChangeRequestApprovalSchemaCreatedBy) MarshalJSON ¶

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

func (*ChangeRequestApprovalSchemaCreatedBy) SetId ¶

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

func (*ChangeRequestApprovalSchemaCreatedBy) SetImageUrl ¶

func (o *ChangeRequestApprovalSchemaCreatedBy) SetImageUrl(v string)

SetImageUrl gets a reference to the given string and assigns it to the ImageUrl field.

func (*ChangeRequestApprovalSchemaCreatedBy) SetUsername ¶

func (o *ChangeRequestApprovalSchemaCreatedBy) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (ChangeRequestApprovalSchemaCreatedBy) ToMap ¶

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

type ChangeRequestCommentSchema ¶

type ChangeRequestCommentSchema struct {
	Id        *float32                            `json:"id,omitempty"`
	Text      string                              `json:"text"`
	CreatedBy ChangeRequestCommentSchemaCreatedBy `json:"createdBy"`
	CreatedAt time.Time                           `json:"createdAt"`
}

ChangeRequestCommentSchema struct for ChangeRequestCommentSchema

func NewChangeRequestCommentSchema ¶

func NewChangeRequestCommentSchema(text string, createdBy ChangeRequestCommentSchemaCreatedBy, createdAt time.Time) *ChangeRequestCommentSchema

NewChangeRequestCommentSchema instantiates a new ChangeRequestCommentSchema 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 NewChangeRequestCommentSchemaWithDefaults ¶

func NewChangeRequestCommentSchemaWithDefaults() *ChangeRequestCommentSchema

NewChangeRequestCommentSchemaWithDefaults instantiates a new ChangeRequestCommentSchema 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 (*ChangeRequestCommentSchema) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value

func (*ChangeRequestCommentSchema) GetCreatedAtOk ¶

func (o *ChangeRequestCommentSchema) 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 (*ChangeRequestCommentSchema) GetCreatedBy ¶

GetCreatedBy returns the CreatedBy field value

func (*ChangeRequestCommentSchema) GetCreatedByOk ¶

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

func (*ChangeRequestCommentSchema) GetId ¶

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

func (*ChangeRequestCommentSchema) GetIdOk ¶

func (o *ChangeRequestCommentSchema) GetIdOk() (*float32, 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 (*ChangeRequestCommentSchema) GetText ¶

func (o *ChangeRequestCommentSchema) GetText() string

GetText returns the Text field value

func (*ChangeRequestCommentSchema) GetTextOk ¶

func (o *ChangeRequestCommentSchema) GetTextOk() (*string, bool)

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

func (*ChangeRequestCommentSchema) HasId ¶

func (o *ChangeRequestCommentSchema) HasId() bool

HasId returns a boolean if a field has been set.

func (ChangeRequestCommentSchema) MarshalJSON ¶

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

func (*ChangeRequestCommentSchema) SetCreatedAt ¶

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

SetCreatedAt sets field value

func (*ChangeRequestCommentSchema) SetCreatedBy ¶

SetCreatedBy sets field value

func (*ChangeRequestCommentSchema) SetId ¶

func (o *ChangeRequestCommentSchema) SetId(v float32)

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

func (*ChangeRequestCommentSchema) SetText ¶

func (o *ChangeRequestCommentSchema) SetText(v string)

SetText sets field value

func (ChangeRequestCommentSchema) ToMap ¶

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

type ChangeRequestCommentSchemaCreatedBy ¶

type ChangeRequestCommentSchemaCreatedBy struct {
	Username NullableString `json:"username,omitempty"`
	ImageUrl NullableString `json:"imageUrl,omitempty"`
}

ChangeRequestCommentSchemaCreatedBy struct for ChangeRequestCommentSchemaCreatedBy

func NewChangeRequestCommentSchemaCreatedBy ¶

func NewChangeRequestCommentSchemaCreatedBy() *ChangeRequestCommentSchemaCreatedBy

NewChangeRequestCommentSchemaCreatedBy instantiates a new ChangeRequestCommentSchemaCreatedBy 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 NewChangeRequestCommentSchemaCreatedByWithDefaults ¶

func NewChangeRequestCommentSchemaCreatedByWithDefaults() *ChangeRequestCommentSchemaCreatedBy

NewChangeRequestCommentSchemaCreatedByWithDefaults instantiates a new ChangeRequestCommentSchemaCreatedBy 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 (*ChangeRequestCommentSchemaCreatedBy) GetImageUrl ¶

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

func (*ChangeRequestCommentSchemaCreatedBy) GetImageUrlOk ¶

func (o *ChangeRequestCommentSchemaCreatedBy) 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 (*ChangeRequestCommentSchemaCreatedBy) GetUsername ¶

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

func (*ChangeRequestCommentSchemaCreatedBy) GetUsernameOk ¶

func (o *ChangeRequestCommentSchemaCreatedBy) 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 (*ChangeRequestCommentSchemaCreatedBy) HasImageUrl ¶

func (o *ChangeRequestCommentSchemaCreatedBy) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*ChangeRequestCommentSchemaCreatedBy) HasUsername ¶

func (o *ChangeRequestCommentSchemaCreatedBy) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (ChangeRequestCommentSchemaCreatedBy) MarshalJSON ¶

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

func (*ChangeRequestCommentSchemaCreatedBy) SetImageUrl ¶

func (o *ChangeRequestCommentSchemaCreatedBy) SetImageUrl(v string)

SetImageUrl gets a reference to the given NullableString and assigns it to the ImageUrl field.

func (*ChangeRequestCommentSchemaCreatedBy) SetImageUrlNil ¶

func (o *ChangeRequestCommentSchemaCreatedBy) SetImageUrlNil()

SetImageUrlNil sets the value for ImageUrl to be an explicit nil

func (*ChangeRequestCommentSchemaCreatedBy) SetUsername ¶

func (o *ChangeRequestCommentSchemaCreatedBy) SetUsername(v string)

SetUsername gets a reference to the given NullableString and assigns it to the Username field.

func (*ChangeRequestCommentSchemaCreatedBy) SetUsernameNil ¶

func (o *ChangeRequestCommentSchemaCreatedBy) SetUsernameNil()

SetUsernameNil sets the value for Username to be an explicit nil

func (ChangeRequestCommentSchemaCreatedBy) ToMap ¶

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

func (*ChangeRequestCommentSchemaCreatedBy) UnsetImageUrl ¶

func (o *ChangeRequestCommentSchemaCreatedBy) UnsetImageUrl()

UnsetImageUrl ensures that no value is present for ImageUrl, not even an explicit nil

func (*ChangeRequestCommentSchemaCreatedBy) UnsetUsername ¶

func (o *ChangeRequestCommentSchemaCreatedBy) UnsetUsername()

UnsetUsername ensures that no value is present for Username, not even an explicit nil

type ChangeRequestCreateSchema ¶

type ChangeRequestCreateSchema struct {
	Feature string `json:"feature"`
}

ChangeRequestCreateSchema struct for ChangeRequestCreateSchema

func NewChangeRequestCreateSchema ¶

func NewChangeRequestCreateSchema(feature string) *ChangeRequestCreateSchema

NewChangeRequestCreateSchema instantiates a new ChangeRequestCreateSchema 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 NewChangeRequestCreateSchemaWithDefaults ¶

func NewChangeRequestCreateSchemaWithDefaults() *ChangeRequestCreateSchema

NewChangeRequestCreateSchemaWithDefaults instantiates a new ChangeRequestCreateSchema 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 (*ChangeRequestCreateSchema) GetFeature ¶

func (o *ChangeRequestCreateSchema) GetFeature() string

GetFeature returns the Feature field value

func (*ChangeRequestCreateSchema) GetFeatureOk ¶

func (o *ChangeRequestCreateSchema) GetFeatureOk() (*string, bool)

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

func (ChangeRequestCreateSchema) MarshalJSON ¶

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

func (*ChangeRequestCreateSchema) SetFeature ¶

func (o *ChangeRequestCreateSchema) SetFeature(v string)

SetFeature sets field value

func (ChangeRequestCreateSchema) ToMap ¶

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

type ChangeRequestDefaultEventSchema ¶

type ChangeRequestDefaultEventSchema struct {
	Action  string                 `json:"action"`
	Payload map[string]interface{} `json:"payload"`
}

ChangeRequestDefaultEventSchema struct for ChangeRequestDefaultEventSchema

func NewChangeRequestDefaultEventSchema ¶

func NewChangeRequestDefaultEventSchema(action string, payload map[string]interface{}) *ChangeRequestDefaultEventSchema

NewChangeRequestDefaultEventSchema instantiates a new ChangeRequestDefaultEventSchema 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 NewChangeRequestDefaultEventSchemaWithDefaults ¶

func NewChangeRequestDefaultEventSchemaWithDefaults() *ChangeRequestDefaultEventSchema

NewChangeRequestDefaultEventSchemaWithDefaults instantiates a new ChangeRequestDefaultEventSchema 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 (*ChangeRequestDefaultEventSchema) GetAction ¶

func (o *ChangeRequestDefaultEventSchema) GetAction() string

GetAction returns the Action field value

func (*ChangeRequestDefaultEventSchema) GetActionOk ¶

func (o *ChangeRequestDefaultEventSchema) GetActionOk() (*string, bool)

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

func (*ChangeRequestDefaultEventSchema) GetPayload ¶

func (o *ChangeRequestDefaultEventSchema) GetPayload() map[string]interface{}

GetPayload returns the Payload field value

func (*ChangeRequestDefaultEventSchema) GetPayloadOk ¶

func (o *ChangeRequestDefaultEventSchema) GetPayloadOk() (map[string]interface{}, bool)

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

func (ChangeRequestDefaultEventSchema) MarshalJSON ¶

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

func (*ChangeRequestDefaultEventSchema) SetAction ¶

func (o *ChangeRequestDefaultEventSchema) SetAction(v string)

SetAction sets field value

func (*ChangeRequestDefaultEventSchema) SetPayload ¶

func (o *ChangeRequestDefaultEventSchema) SetPayload(v map[string]interface{})

SetPayload sets field value

func (ChangeRequestDefaultEventSchema) ToMap ¶

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

type ChangeRequestEnvironmentConfigSchema ¶

type ChangeRequestEnvironmentConfigSchema struct {
	Environment          string          `json:"environment"`
	Type                 string          `json:"type"`
	ChangeRequestEnabled bool            `json:"changeRequestEnabled"`
	RequiredApprovals    NullableFloat32 `json:"requiredApprovals"`
}

ChangeRequestEnvironmentConfigSchema struct for ChangeRequestEnvironmentConfigSchema

func NewChangeRequestEnvironmentConfigSchema ¶

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 ¶

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 ¶

func (o *ChangeRequestEnvironmentConfigSchema) GetChangeRequestEnabled() bool

GetChangeRequestEnabled returns the ChangeRequestEnabled field value

func (*ChangeRequestEnvironmentConfigSchema) GetChangeRequestEnabledOk ¶

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 ¶

func (o *ChangeRequestEnvironmentConfigSchema) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*ChangeRequestEnvironmentConfigSchema) GetEnvironmentOk ¶

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 ¶

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 ¶

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 ¶

GetType returns the Type field value

func (*ChangeRequestEnvironmentConfigSchema) GetTypeOk ¶

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

func (ChangeRequestEnvironmentConfigSchema) MarshalJSON ¶

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

func (*ChangeRequestEnvironmentConfigSchema) SetChangeRequestEnabled ¶

func (o *ChangeRequestEnvironmentConfigSchema) SetChangeRequestEnabled(v bool)

SetChangeRequestEnabled sets field value

func (*ChangeRequestEnvironmentConfigSchema) SetEnvironment ¶

func (o *ChangeRequestEnvironmentConfigSchema) SetEnvironment(v string)

SetEnvironment sets field value

func (*ChangeRequestEnvironmentConfigSchema) SetRequiredApprovals ¶

func (o *ChangeRequestEnvironmentConfigSchema) SetRequiredApprovals(v float32)

SetRequiredApprovals sets field value

func (*ChangeRequestEnvironmentConfigSchema) SetType ¶

SetType sets field value

func (ChangeRequestEnvironmentConfigSchema) ToMap ¶

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

type ChangeRequestEventSchema ¶

type ChangeRequestEventSchema struct {
	Id        float32                            `json:"id"`
	Action    string                             `json:"action"`
	Conflict  *string                            `json:"conflict,omitempty"`
	Payload   ChangeRequestEventSchemaPayload    `json:"payload"`
	UpdatedBy *string                            `json:"updatedBy,omitempty"`
	CreatedBy *ChangeRequestEventSchemaCreatedBy `json:"createdBy,omitempty"`
	CreatedAt *time.Time                         `json:"createdAt,omitempty"`
}

ChangeRequestEventSchema struct for ChangeRequestEventSchema

func NewChangeRequestEventSchema ¶

func NewChangeRequestEventSchema(id float32, action string, payload ChangeRequestEventSchemaPayload) *ChangeRequestEventSchema

NewChangeRequestEventSchema instantiates a new ChangeRequestEventSchema 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 NewChangeRequestEventSchemaWithDefaults ¶

func NewChangeRequestEventSchemaWithDefaults() *ChangeRequestEventSchema

NewChangeRequestEventSchemaWithDefaults instantiates a new ChangeRequestEventSchema 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 (*ChangeRequestEventSchema) GetAction ¶

func (o *ChangeRequestEventSchema) GetAction() string

GetAction returns the Action field value

func (*ChangeRequestEventSchema) GetActionOk ¶

func (o *ChangeRequestEventSchema) GetActionOk() (*string, bool)

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

func (*ChangeRequestEventSchema) GetConflict ¶

func (o *ChangeRequestEventSchema) GetConflict() string

GetConflict returns the Conflict field value if set, zero value otherwise.

func (*ChangeRequestEventSchema) GetConflictOk ¶

func (o *ChangeRequestEventSchema) GetConflictOk() (*string, bool)

GetConflictOk returns a tuple with the Conflict field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChangeRequestEventSchema) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ChangeRequestEventSchema) GetCreatedAtOk ¶

func (o *ChangeRequestEventSchema) 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 (*ChangeRequestEventSchema) GetCreatedBy ¶

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*ChangeRequestEventSchema) GetCreatedByOk ¶

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChangeRequestEventSchema) GetId ¶

func (o *ChangeRequestEventSchema) GetId() float32

GetId returns the Id field value

func (*ChangeRequestEventSchema) GetIdOk ¶

func (o *ChangeRequestEventSchema) GetIdOk() (*float32, bool)

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

func (*ChangeRequestEventSchema) GetPayload ¶

GetPayload returns the Payload field value

func (*ChangeRequestEventSchema) GetPayloadOk ¶

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

func (*ChangeRequestEventSchema) GetUpdatedBy ¶

func (o *ChangeRequestEventSchema) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.

func (*ChangeRequestEventSchema) GetUpdatedByOk ¶

func (o *ChangeRequestEventSchema) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChangeRequestEventSchema) HasConflict ¶

func (o *ChangeRequestEventSchema) HasConflict() bool

HasConflict returns a boolean if a field has been set.

func (*ChangeRequestEventSchema) HasCreatedAt ¶

func (o *ChangeRequestEventSchema) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ChangeRequestEventSchema) HasCreatedBy ¶

func (o *ChangeRequestEventSchema) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*ChangeRequestEventSchema) HasUpdatedBy ¶

func (o *ChangeRequestEventSchema) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

func (ChangeRequestEventSchema) MarshalJSON ¶

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

func (*ChangeRequestEventSchema) SetAction ¶

func (o *ChangeRequestEventSchema) SetAction(v string)

SetAction sets field value

func (*ChangeRequestEventSchema) SetConflict ¶

func (o *ChangeRequestEventSchema) SetConflict(v string)

SetConflict gets a reference to the given string and assigns it to the Conflict field.

func (*ChangeRequestEventSchema) SetCreatedAt ¶

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ChangeRequestEventSchema) SetCreatedBy ¶

SetCreatedBy gets a reference to the given ChangeRequestEventSchemaCreatedBy and assigns it to the CreatedBy field.

func (*ChangeRequestEventSchema) SetId ¶

func (o *ChangeRequestEventSchema) SetId(v float32)

SetId sets field value

func (*ChangeRequestEventSchema) SetPayload ¶

SetPayload sets field value

func (*ChangeRequestEventSchema) SetUpdatedBy ¶

func (o *ChangeRequestEventSchema) SetUpdatedBy(v string)

SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.

func (ChangeRequestEventSchema) ToMap ¶

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

type ChangeRequestEventSchemaCreatedBy ¶

type ChangeRequestEventSchemaCreatedBy struct {
	Username NullableString `json:"username,omitempty"`
	ImageUrl NullableString `json:"imageUrl,omitempty"`
}

ChangeRequestEventSchemaCreatedBy struct for ChangeRequestEventSchemaCreatedBy

func NewChangeRequestEventSchemaCreatedBy ¶

func NewChangeRequestEventSchemaCreatedBy() *ChangeRequestEventSchemaCreatedBy

NewChangeRequestEventSchemaCreatedBy instantiates a new ChangeRequestEventSchemaCreatedBy 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 NewChangeRequestEventSchemaCreatedByWithDefaults ¶

func NewChangeRequestEventSchemaCreatedByWithDefaults() *ChangeRequestEventSchemaCreatedBy

NewChangeRequestEventSchemaCreatedByWithDefaults instantiates a new ChangeRequestEventSchemaCreatedBy 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 (*ChangeRequestEventSchemaCreatedBy) GetImageUrl ¶

func (o *ChangeRequestEventSchemaCreatedBy) GetImageUrl() string

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

func (*ChangeRequestEventSchemaCreatedBy) GetImageUrlOk ¶

func (o *ChangeRequestEventSchemaCreatedBy) 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 (*ChangeRequestEventSchemaCreatedBy) GetUsername ¶

func (o *ChangeRequestEventSchemaCreatedBy) GetUsername() string

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

func (*ChangeRequestEventSchemaCreatedBy) GetUsernameOk ¶

func (o *ChangeRequestEventSchemaCreatedBy) 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 (*ChangeRequestEventSchemaCreatedBy) HasImageUrl ¶

func (o *ChangeRequestEventSchemaCreatedBy) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*ChangeRequestEventSchemaCreatedBy) HasUsername ¶

func (o *ChangeRequestEventSchemaCreatedBy) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (ChangeRequestEventSchemaCreatedBy) MarshalJSON ¶

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

func (*ChangeRequestEventSchemaCreatedBy) SetImageUrl ¶

func (o *ChangeRequestEventSchemaCreatedBy) SetImageUrl(v string)

SetImageUrl gets a reference to the given NullableString and assigns it to the ImageUrl field.

func (*ChangeRequestEventSchemaCreatedBy) SetImageUrlNil ¶

func (o *ChangeRequestEventSchemaCreatedBy) SetImageUrlNil()

SetImageUrlNil sets the value for ImageUrl to be an explicit nil

func (*ChangeRequestEventSchemaCreatedBy) SetUsername ¶

func (o *ChangeRequestEventSchemaCreatedBy) SetUsername(v string)

SetUsername gets a reference to the given NullableString and assigns it to the Username field.

func (*ChangeRequestEventSchemaCreatedBy) SetUsernameNil ¶

func (o *ChangeRequestEventSchemaCreatedBy) SetUsernameNil()

SetUsernameNil sets the value for Username to be an explicit nil

func (ChangeRequestEventSchemaCreatedBy) ToMap ¶

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

func (*ChangeRequestEventSchemaCreatedBy) UnsetImageUrl ¶

func (o *ChangeRequestEventSchemaCreatedBy) UnsetImageUrl()

UnsetImageUrl ensures that no value is present for ImageUrl, not even an explicit nil

func (*ChangeRequestEventSchemaCreatedBy) UnsetUsername ¶

func (o *ChangeRequestEventSchemaCreatedBy) UnsetUsername()

UnsetUsername ensures that no value is present for Username, not even an explicit nil

type ChangeRequestEventSchemaPayload ¶

type ChangeRequestEventSchemaPayload struct {
	Bool    *bool
	Float32 *float32
	String  *string
}

ChangeRequestEventSchemaPayload - struct for ChangeRequestEventSchemaPayload

func BoolAsChangeRequestEventSchemaPayload ¶

func BoolAsChangeRequestEventSchemaPayload(v *bool) ChangeRequestEventSchemaPayload

boolAsChangeRequestEventSchemaPayload is a convenience function that returns bool wrapped in ChangeRequestEventSchemaPayload

func Float32AsChangeRequestEventSchemaPayload ¶

func Float32AsChangeRequestEventSchemaPayload(v *float32) ChangeRequestEventSchemaPayload

float32AsChangeRequestEventSchemaPayload is a convenience function that returns float32 wrapped in ChangeRequestEventSchemaPayload

func StringAsChangeRequestEventSchemaPayload ¶

func StringAsChangeRequestEventSchemaPayload(v *string) ChangeRequestEventSchemaPayload

stringAsChangeRequestEventSchemaPayload is a convenience function that returns string wrapped in ChangeRequestEventSchemaPayload

func (*ChangeRequestEventSchemaPayload) GetActualInstance ¶

func (obj *ChangeRequestEventSchemaPayload) GetActualInstance() interface{}

Get the actual instance

func (ChangeRequestEventSchemaPayload) MarshalJSON ¶

func (src ChangeRequestEventSchemaPayload) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ChangeRequestEventSchemaPayload) UnmarshalJSON ¶

func (dst *ChangeRequestEventSchemaPayload) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type ChangeRequestFeatureSchema ¶

type ChangeRequestFeatureSchema struct {
	Name     string  `json:"name"`
	Conflict *string `json:"conflict,omitempty"`
	// List of changes inside change request. This list may be empty when listing all change requests for a project.
	Changes       []ChangeRequestEventSchema       `json:"changes"`
	DefaultChange *ChangeRequestDefaultEventSchema `json:"defaultChange,omitempty"`
}

ChangeRequestFeatureSchema struct for ChangeRequestFeatureSchema

func NewChangeRequestFeatureSchema ¶

func NewChangeRequestFeatureSchema(name string, changes []ChangeRequestEventSchema) *ChangeRequestFeatureSchema

NewChangeRequestFeatureSchema instantiates a new ChangeRequestFeatureSchema 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 NewChangeRequestFeatureSchemaWithDefaults ¶

func NewChangeRequestFeatureSchemaWithDefaults() *ChangeRequestFeatureSchema

NewChangeRequestFeatureSchemaWithDefaults instantiates a new ChangeRequestFeatureSchema 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 (*ChangeRequestFeatureSchema) GetChanges ¶

GetChanges returns the Changes field value

func (*ChangeRequestFeatureSchema) GetChangesOk ¶

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

func (*ChangeRequestFeatureSchema) GetConflict ¶

func (o *ChangeRequestFeatureSchema) GetConflict() string

GetConflict returns the Conflict field value if set, zero value otherwise.

func (*ChangeRequestFeatureSchema) GetConflictOk ¶

func (o *ChangeRequestFeatureSchema) GetConflictOk() (*string, bool)

GetConflictOk returns a tuple with the Conflict field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChangeRequestFeatureSchema) GetDefaultChange ¶

GetDefaultChange returns the DefaultChange field value if set, zero value otherwise.

func (*ChangeRequestFeatureSchema) GetDefaultChangeOk ¶

GetDefaultChangeOk returns a tuple with the DefaultChange field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChangeRequestFeatureSchema) GetName ¶

func (o *ChangeRequestFeatureSchema) GetName() string

GetName returns the Name field value

func (*ChangeRequestFeatureSchema) GetNameOk ¶

func (o *ChangeRequestFeatureSchema) GetNameOk() (*string, bool)

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

func (*ChangeRequestFeatureSchema) HasConflict ¶

func (o *ChangeRequestFeatureSchema) HasConflict() bool

HasConflict returns a boolean if a field has been set.

func (*ChangeRequestFeatureSchema) HasDefaultChange ¶

func (o *ChangeRequestFeatureSchema) HasDefaultChange() bool

HasDefaultChange returns a boolean if a field has been set.

func (ChangeRequestFeatureSchema) MarshalJSON ¶

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

func (*ChangeRequestFeatureSchema) SetChanges ¶

SetChanges sets field value

func (*ChangeRequestFeatureSchema) SetConflict ¶

func (o *ChangeRequestFeatureSchema) SetConflict(v string)

SetConflict gets a reference to the given string and assigns it to the Conflict field.

func (*ChangeRequestFeatureSchema) SetDefaultChange ¶

SetDefaultChange gets a reference to the given ChangeRequestDefaultEventSchema and assigns it to the DefaultChange field.

func (*ChangeRequestFeatureSchema) SetName ¶

func (o *ChangeRequestFeatureSchema) SetName(v string)

SetName sets field value

func (ChangeRequestFeatureSchema) ToMap ¶

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

type ChangeRequestSchema ¶

type ChangeRequestSchema struct {
	Id           float32                           `json:"id"`
	Title        *string                           `json:"title,omitempty"`
	Environment  string                            `json:"environment"`
	State        string                            `json:"state"`
	MinApprovals float32                           `json:"minApprovals"`
	Project      string                            `json:"project"`
	Features     []ChangeRequestFeatureSchema      `json:"features"`
	Approvals    []ChangeRequestApprovalSchema     `json:"approvals,omitempty"`
	Comments     []ChangeRequestCommentSchema      `json:"comments,omitempty"`
	CreatedBy    ChangeRequestEventSchemaCreatedBy `json:"createdBy"`
	CreatedAt    time.Time                         `json:"createdAt"`
}

ChangeRequestSchema struct for ChangeRequestSchema

func NewChangeRequestSchema ¶

func NewChangeRequestSchema(id float32, environment string, state string, minApprovals float32, project string, features []ChangeRequestFeatureSchema, createdBy ChangeRequestEventSchemaCreatedBy, createdAt time.Time) *ChangeRequestSchema

NewChangeRequestSchema instantiates a new ChangeRequestSchema 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 NewChangeRequestSchemaWithDefaults ¶

func NewChangeRequestSchemaWithDefaults() *ChangeRequestSchema

NewChangeRequestSchemaWithDefaults instantiates a new ChangeRequestSchema 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 (*ChangeRequestSchema) GetApprovals ¶

GetApprovals returns the Approvals field value if set, zero value otherwise.

func (*ChangeRequestSchema) GetApprovalsOk ¶

func (o *ChangeRequestSchema) GetApprovalsOk() ([]ChangeRequestApprovalSchema, bool)

GetApprovalsOk returns a tuple with the Approvals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChangeRequestSchema) GetComments ¶

GetComments returns the Comments field value if set, zero value otherwise.

func (*ChangeRequestSchema) GetCommentsOk ¶

func (o *ChangeRequestSchema) GetCommentsOk() ([]ChangeRequestCommentSchema, bool)

GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChangeRequestSchema) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value

func (*ChangeRequestSchema) GetCreatedAtOk ¶

func (o *ChangeRequestSchema) 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 (*ChangeRequestSchema) GetCreatedBy ¶

GetCreatedBy returns the CreatedBy field value

func (*ChangeRequestSchema) GetCreatedByOk ¶

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

func (*ChangeRequestSchema) GetEnvironment ¶

func (o *ChangeRequestSchema) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*ChangeRequestSchema) GetEnvironmentOk ¶

func (o *ChangeRequestSchema) GetEnvironmentOk() (*string, bool)

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

func (*ChangeRequestSchema) GetFeatures ¶

GetFeatures returns the Features field value

func (*ChangeRequestSchema) GetFeaturesOk ¶

func (o *ChangeRequestSchema) GetFeaturesOk() ([]ChangeRequestFeatureSchema, bool)

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

func (*ChangeRequestSchema) GetId ¶

func (o *ChangeRequestSchema) GetId() float32

GetId returns the Id field value

func (*ChangeRequestSchema) GetIdOk ¶

func (o *ChangeRequestSchema) GetIdOk() (*float32, bool)

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

func (*ChangeRequestSchema) GetMinApprovals ¶

func (o *ChangeRequestSchema) GetMinApprovals() float32

GetMinApprovals returns the MinApprovals field value

func (*ChangeRequestSchema) GetMinApprovalsOk ¶

func (o *ChangeRequestSchema) GetMinApprovalsOk() (*float32, bool)

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

func (*ChangeRequestSchema) GetProject ¶

func (o *ChangeRequestSchema) GetProject() string

GetProject returns the Project field value

func (*ChangeRequestSchema) GetProjectOk ¶

func (o *ChangeRequestSchema) GetProjectOk() (*string, bool)

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

func (*ChangeRequestSchema) GetState ¶

func (o *ChangeRequestSchema) GetState() string

GetState returns the State field value

func (*ChangeRequestSchema) GetStateOk ¶

func (o *ChangeRequestSchema) GetStateOk() (*string, bool)

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

func (*ChangeRequestSchema) GetTitle ¶

func (o *ChangeRequestSchema) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ChangeRequestSchema) GetTitleOk ¶

func (o *ChangeRequestSchema) 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.

func (*ChangeRequestSchema) HasApprovals ¶

func (o *ChangeRequestSchema) HasApprovals() bool

HasApprovals returns a boolean if a field has been set.

func (*ChangeRequestSchema) HasComments ¶

func (o *ChangeRequestSchema) HasComments() bool

HasComments returns a boolean if a field has been set.

func (*ChangeRequestSchema) HasTitle ¶

func (o *ChangeRequestSchema) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (ChangeRequestSchema) MarshalJSON ¶

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

func (*ChangeRequestSchema) SetApprovals ¶

func (o *ChangeRequestSchema) SetApprovals(v []ChangeRequestApprovalSchema)

SetApprovals gets a reference to the given []ChangeRequestApprovalSchema and assigns it to the Approvals field.

func (*ChangeRequestSchema) SetComments ¶

func (o *ChangeRequestSchema) SetComments(v []ChangeRequestCommentSchema)

SetComments gets a reference to the given []ChangeRequestCommentSchema and assigns it to the Comments field.

func (*ChangeRequestSchema) SetCreatedAt ¶

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

SetCreatedAt sets field value

func (*ChangeRequestSchema) SetCreatedBy ¶

SetCreatedBy sets field value

func (*ChangeRequestSchema) SetEnvironment ¶

func (o *ChangeRequestSchema) SetEnvironment(v string)

SetEnvironment sets field value

func (*ChangeRequestSchema) SetFeatures ¶

func (o *ChangeRequestSchema) SetFeatures(v []ChangeRequestFeatureSchema)

SetFeatures sets field value

func (*ChangeRequestSchema) SetId ¶

func (o *ChangeRequestSchema) SetId(v float32)

SetId sets field value

func (*ChangeRequestSchema) SetMinApprovals ¶

func (o *ChangeRequestSchema) SetMinApprovals(v float32)

SetMinApprovals sets field value

func (*ChangeRequestSchema) SetProject ¶

func (o *ChangeRequestSchema) SetProject(v string)

SetProject sets field value

func (*ChangeRequestSchema) SetState ¶

func (o *ChangeRequestSchema) SetState(v string)

SetState sets field value

func (*ChangeRequestSchema) SetTitle ¶

func (o *ChangeRequestSchema) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (ChangeRequestSchema) ToMap ¶

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

type ChangeRequestStateSchema ¶

type ChangeRequestStateSchema struct {
	State   string  `json:"state"`
	Comment *string `json:"comment,omitempty"`
}

ChangeRequestStateSchema struct for ChangeRequestStateSchema

func NewChangeRequestStateSchema ¶

func NewChangeRequestStateSchema(state string) *ChangeRequestStateSchema

NewChangeRequestStateSchema instantiates a new ChangeRequestStateSchema 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 NewChangeRequestStateSchemaWithDefaults ¶

func NewChangeRequestStateSchemaWithDefaults() *ChangeRequestStateSchema

NewChangeRequestStateSchemaWithDefaults instantiates a new ChangeRequestStateSchema 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 (*ChangeRequestStateSchema) GetComment ¶

func (o *ChangeRequestStateSchema) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*ChangeRequestStateSchema) GetCommentOk ¶

func (o *ChangeRequestStateSchema) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChangeRequestStateSchema) GetState ¶

func (o *ChangeRequestStateSchema) GetState() string

GetState returns the State field value

func (*ChangeRequestStateSchema) GetStateOk ¶

func (o *ChangeRequestStateSchema) GetStateOk() (*string, bool)

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

func (*ChangeRequestStateSchema) HasComment ¶

func (o *ChangeRequestStateSchema) HasComment() bool

HasComment returns a boolean if a field has been set.

func (ChangeRequestStateSchema) MarshalJSON ¶

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

func (*ChangeRequestStateSchema) SetComment ¶

func (o *ChangeRequestStateSchema) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*ChangeRequestStateSchema) SetState ¶

func (o *ChangeRequestStateSchema) SetState(v string)

SetState sets field value

func (ChangeRequestStateSchema) ToMap ¶

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

type ChangeRequestUpdateTitleSchema ¶

type ChangeRequestUpdateTitleSchema struct {
	Title string `json:"title"`
}

ChangeRequestUpdateTitleSchema struct for ChangeRequestUpdateTitleSchema

func NewChangeRequestUpdateTitleSchema ¶

func NewChangeRequestUpdateTitleSchema(title string) *ChangeRequestUpdateTitleSchema

NewChangeRequestUpdateTitleSchema instantiates a new ChangeRequestUpdateTitleSchema 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 NewChangeRequestUpdateTitleSchemaWithDefaults ¶

func NewChangeRequestUpdateTitleSchemaWithDefaults() *ChangeRequestUpdateTitleSchema

NewChangeRequestUpdateTitleSchemaWithDefaults instantiates a new ChangeRequestUpdateTitleSchema 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 (*ChangeRequestUpdateTitleSchema) GetTitle ¶

func (o *ChangeRequestUpdateTitleSchema) GetTitle() string

GetTitle returns the Title field value

func (*ChangeRequestUpdateTitleSchema) GetTitleOk ¶

func (o *ChangeRequestUpdateTitleSchema) GetTitleOk() (*string, bool)

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

func (ChangeRequestUpdateTitleSchema) MarshalJSON ¶

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

func (*ChangeRequestUpdateTitleSchema) SetTitle ¶

func (o *ChangeRequestUpdateTitleSchema) SetTitle(v string)

SetTitle sets field value

func (ChangeRequestUpdateTitleSchema) ToMap ¶

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

type ClientApiService ¶

type ClientApiService service

ClientApiService ClientApi service

func (*ClientApiService) GetAllClientFeatures ¶

func (a *ClientApiService) GetAllClientFeatures(ctx context.Context) ApiGetAllClientFeaturesRequest

GetAllClientFeatures Get all toggles (SDK)

Returns the SDK configuration for all feature toggles that are available to the provided API key. Used by SDKs to configure local evaluation

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllClientFeaturesRequest

func (*ClientApiService) GetAllClientFeaturesExecute ¶

Execute executes the request

@return ClientFeaturesSchema

func (*ClientApiService) GetClientFeature ¶

func (a *ClientApiService) GetClientFeature(ctx context.Context, featureName string) ApiGetClientFeatureRequest

GetClientFeature Get a single feature toggle

Gets all the client data for a single toggle. Contains the exact same information about a toggle as the `/api/client/features` endpoint does, but only contains data about the specified toggle. All SDKs should use `/api/client/features`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param featureName
@return ApiGetClientFeatureRequest

func (*ClientApiService) GetClientFeatureExecute ¶

Execute executes the request

@return ClientFeatureSchema

func (*ClientApiService) RegisterClientApplication ¶

func (a *ClientApiService) RegisterClientApplication(ctx context.Context) ApiRegisterClientApplicationRequest

RegisterClientApplication Register a client SDK

Register a client SDK with Unleash. SDKs call this endpoint on startup to tell Unleash about their existence. Used to track custom strategies in use as well as SDK versions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRegisterClientApplicationRequest

func (*ClientApiService) RegisterClientApplicationExecute ¶

func (a *ClientApiService) RegisterClientApplicationExecute(r ApiRegisterClientApplicationRequest) (*http.Response, error)

Execute executes the request

func (*ClientApiService) RegisterClientMetrics ¶

func (a *ClientApiService) RegisterClientMetrics(ctx context.Context) ApiRegisterClientMetricsRequest

RegisterClientMetrics Register client usage metrics

Registers usage metrics. Stores information about how many times each toggle was evaluated to enabled and disabled within a time frame. If provided, this operation will also store data on how many times each feature toggle's variants were displayed to the end user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRegisterClientMetricsRequest

func (*ClientApiService) RegisterClientMetricsExecute ¶

func (a *ClientApiService) RegisterClientMetricsExecute(r ApiRegisterClientMetricsRequest) (*http.Response, error)

Execute executes the request

type ClientApplicationSchema ¶

type ClientApplicationSchema struct {
	// An identifier for the app that uses the sdk, should be static across SDK restarts
	AppName string `json:"appName"`
	// A unique identifier identifying the instance of the application running the SDK. Often changes based on execution environment. For instance: two pods in Kubernetes will have two different instanceIds
	InstanceId *string `json:"instanceId,omitempty"`
	// An SDK version identifier. Usually formatted as \"unleash-client-<language>:<version>\"
	SdkVersion *string `json:"sdkVersion,omitempty"`
	// The SDK's configured 'environment' property. Deprecated. This property  does **not** control which Unleash environment the SDK gets toggles for. To control Unleash environments, use the SDKs API key.
	// Deprecated
	Environment *string `json:"environment,omitempty"`
	// How often (in seconds) does the client refresh its toggles
	Interval float32                        `json:"interval"`
	Started  ClientApplicationSchemaStarted `json:"started"`
	// Which strategies the SDKs runtime knows about
	Strategies []string `json:"strategies"`
}

ClientApplicationSchema A client application is an instance of one of our SDKs

func NewClientApplicationSchema ¶

func NewClientApplicationSchema(appName string, interval float32, started ClientApplicationSchemaStarted, strategies []string) *ClientApplicationSchema

NewClientApplicationSchema instantiates a new ClientApplicationSchema 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 NewClientApplicationSchemaWithDefaults ¶

func NewClientApplicationSchemaWithDefaults() *ClientApplicationSchema

NewClientApplicationSchemaWithDefaults instantiates a new ClientApplicationSchema 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 (*ClientApplicationSchema) GetAppName ¶

func (o *ClientApplicationSchema) GetAppName() string

GetAppName returns the AppName field value

func (*ClientApplicationSchema) GetAppNameOk ¶

func (o *ClientApplicationSchema) GetAppNameOk() (*string, bool)

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

func (*ClientApplicationSchema) GetEnvironment ¶

func (o *ClientApplicationSchema) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise. Deprecated

func (*ClientApplicationSchema) GetEnvironmentOk ¶

func (o *ClientApplicationSchema) 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. Deprecated

func (*ClientApplicationSchema) GetInstanceId ¶

func (o *ClientApplicationSchema) GetInstanceId() string

GetInstanceId returns the InstanceId field value if set, zero value otherwise.

func (*ClientApplicationSchema) GetInstanceIdOk ¶

func (o *ClientApplicationSchema) GetInstanceIdOk() (*string, bool)

GetInstanceIdOk returns a tuple with the InstanceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientApplicationSchema) GetInterval ¶

func (o *ClientApplicationSchema) GetInterval() float32

GetInterval returns the Interval field value

func (*ClientApplicationSchema) GetIntervalOk ¶

func (o *ClientApplicationSchema) GetIntervalOk() (*float32, bool)

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

func (*ClientApplicationSchema) GetSdkVersion ¶

func (o *ClientApplicationSchema) GetSdkVersion() string

GetSdkVersion returns the SdkVersion field value if set, zero value otherwise.

func (*ClientApplicationSchema) GetSdkVersionOk ¶

func (o *ClientApplicationSchema) GetSdkVersionOk() (*string, bool)

GetSdkVersionOk returns a tuple with the SdkVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientApplicationSchema) GetStarted ¶

GetStarted returns the Started field value

func (*ClientApplicationSchema) GetStartedOk ¶

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

func (*ClientApplicationSchema) GetStrategies ¶

func (o *ClientApplicationSchema) GetStrategies() []string

GetStrategies returns the Strategies field value

func (*ClientApplicationSchema) GetStrategiesOk ¶

func (o *ClientApplicationSchema) GetStrategiesOk() ([]string, bool)

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

func (*ClientApplicationSchema) HasEnvironment ¶

func (o *ClientApplicationSchema) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*ClientApplicationSchema) HasInstanceId ¶

func (o *ClientApplicationSchema) HasInstanceId() bool

HasInstanceId returns a boolean if a field has been set.

func (*ClientApplicationSchema) HasSdkVersion ¶

func (o *ClientApplicationSchema) HasSdkVersion() bool

HasSdkVersion returns a boolean if a field has been set.

func (ClientApplicationSchema) MarshalJSON ¶

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

func (*ClientApplicationSchema) SetAppName ¶

func (o *ClientApplicationSchema) SetAppName(v string)

SetAppName sets field value

func (*ClientApplicationSchema) SetEnvironment ¶

func (o *ClientApplicationSchema) SetEnvironment(v string)

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

func (*ClientApplicationSchema) SetInstanceId ¶

func (o *ClientApplicationSchema) SetInstanceId(v string)

SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.

func (*ClientApplicationSchema) SetInterval ¶

func (o *ClientApplicationSchema) SetInterval(v float32)

SetInterval sets field value

func (*ClientApplicationSchema) SetSdkVersion ¶

func (o *ClientApplicationSchema) SetSdkVersion(v string)

SetSdkVersion gets a reference to the given string and assigns it to the SdkVersion field.

func (*ClientApplicationSchema) SetStarted ¶

SetStarted sets field value

func (*ClientApplicationSchema) SetStrategies ¶

func (o *ClientApplicationSchema) SetStrategies(v []string)

SetStrategies sets field value

func (ClientApplicationSchema) ToMap ¶

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

type ClientApplicationSchemaStarted ¶

type ClientApplicationSchemaStarted struct {
	Float32  *float32
	TimeTime *time.Time
}

ClientApplicationSchemaStarted - Either an RFC-3339 timestamp or a unix timestamp in seconds

func Float32AsClientApplicationSchemaStarted ¶

func Float32AsClientApplicationSchemaStarted(v *float32) ClientApplicationSchemaStarted

float32AsClientApplicationSchemaStarted is a convenience function that returns float32 wrapped in ClientApplicationSchemaStarted

func TimeTimeAsClientApplicationSchemaStarted ¶

func TimeTimeAsClientApplicationSchemaStarted(v *time.Time) ClientApplicationSchemaStarted

time.TimeAsClientApplicationSchemaStarted is a convenience function that returns time.Time wrapped in ClientApplicationSchemaStarted

func (*ClientApplicationSchemaStarted) GetActualInstance ¶

func (obj *ClientApplicationSchemaStarted) GetActualInstance() interface{}

Get the actual instance

func (ClientApplicationSchemaStarted) MarshalJSON ¶

func (src ClientApplicationSchemaStarted) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ClientApplicationSchemaStarted) UnmarshalJSON ¶

func (dst *ClientApplicationSchemaStarted) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type ClientFeatureSchema ¶

type ClientFeatureSchema struct {
	// The unique name of a feature toggle. Is validated to be URL safe on creation
	Name string `json:"name"`
	// What kind of feature flag is this. Refer to the documentation on [feature toggle types](https://docs.getunleash.io/reference/feature-toggle-types) for more information
	Type *string `json:"type,omitempty"`
	// A description of the toggle
	Description NullableString `json:"description,omitempty"`
	// Whether the feature flag is enabled for the current API key or not. This is ANDed with the evaluation results of the strategies list, so if this is false, the evaluation result will always be false
	Enabled bool `json:"enabled"`
	// If this is true Unleash believes this feature toggle has been active longer than Unleash expects a toggle of this type to be active
	Stale *bool `json:"stale,omitempty"`
	// Set to true if SDKs should trigger [impression events](https://docs.getunleash.io/reference/impression-data) when this toggle is evaluated
	ImpressionData NullableBool `json:"impressionData,omitempty"`
	// Which project this feature toggle belongs to
	Project *string `json:"project,omitempty"`
	// Evaluation strategies for this toggle. Each entry in this list will be evaluated and ORed together
	Strategies []FeatureStrategySchema `json:"strategies,omitempty"`
	// [Variants](https://docs.getunleash.io/reference/feature-toggle-variants#what-are-variants) configured for this toggle
	Variants []VariantSchema `json:"variants,omitempty"`
}

ClientFeatureSchema Feature toggle configuration used by SDKs to evaluate state of a toggle

func NewClientFeatureSchema ¶

func NewClientFeatureSchema(name string, enabled bool) *ClientFeatureSchema

NewClientFeatureSchema instantiates a new ClientFeatureSchema 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 NewClientFeatureSchemaWithDefaults ¶

func NewClientFeatureSchemaWithDefaults() *ClientFeatureSchema

NewClientFeatureSchemaWithDefaults instantiates a new ClientFeatureSchema 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 (*ClientFeatureSchema) GetDescription ¶

func (o *ClientFeatureSchema) GetDescription() string

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

func (*ClientFeatureSchema) GetDescriptionOk ¶

func (o *ClientFeatureSchema) 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 (*ClientFeatureSchema) GetEnabled ¶

func (o *ClientFeatureSchema) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*ClientFeatureSchema) GetEnabledOk ¶

func (o *ClientFeatureSchema) GetEnabledOk() (*bool, bool)

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

func (*ClientFeatureSchema) GetImpressionData ¶

func (o *ClientFeatureSchema) GetImpressionData() bool

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

func (*ClientFeatureSchema) GetImpressionDataOk ¶

func (o *ClientFeatureSchema) GetImpressionDataOk() (*bool, bool)

GetImpressionDataOk returns a tuple with the ImpressionData 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 (*ClientFeatureSchema) GetName ¶

func (o *ClientFeatureSchema) GetName() string

GetName returns the Name field value

func (*ClientFeatureSchema) GetNameOk ¶

func (o *ClientFeatureSchema) GetNameOk() (*string, bool)

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

func (*ClientFeatureSchema) GetProject ¶

func (o *ClientFeatureSchema) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*ClientFeatureSchema) GetProjectOk ¶

func (o *ClientFeatureSchema) 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 (*ClientFeatureSchema) GetStale ¶

func (o *ClientFeatureSchema) GetStale() bool

GetStale returns the Stale field value if set, zero value otherwise.

func (*ClientFeatureSchema) GetStaleOk ¶

func (o *ClientFeatureSchema) GetStaleOk() (*bool, bool)

GetStaleOk returns a tuple with the Stale field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientFeatureSchema) GetStrategies ¶

func (o *ClientFeatureSchema) GetStrategies() []FeatureStrategySchema

GetStrategies returns the Strategies field value if set, zero value otherwise.

func (*ClientFeatureSchema) GetStrategiesOk ¶

func (o *ClientFeatureSchema) GetStrategiesOk() ([]FeatureStrategySchema, bool)

GetStrategiesOk returns a tuple with the Strategies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientFeatureSchema) GetType ¶

func (o *ClientFeatureSchema) GetType() string

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

func (*ClientFeatureSchema) GetTypeOk ¶

func (o *ClientFeatureSchema) 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 (*ClientFeatureSchema) GetVariants ¶

func (o *ClientFeatureSchema) GetVariants() []VariantSchema

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

func (*ClientFeatureSchema) GetVariantsOk ¶

func (o *ClientFeatureSchema) GetVariantsOk() ([]VariantSchema, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClientFeatureSchema) HasDescription ¶

func (o *ClientFeatureSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ClientFeatureSchema) HasImpressionData ¶

func (o *ClientFeatureSchema) HasImpressionData() bool

HasImpressionData returns a boolean if a field has been set.

func (*ClientFeatureSchema) HasProject ¶

func (o *ClientFeatureSchema) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*ClientFeatureSchema) HasStale ¶

func (o *ClientFeatureSchema) HasStale() bool

HasStale returns a boolean if a field has been set.

func (*ClientFeatureSchema) HasStrategies ¶

func (o *ClientFeatureSchema) HasStrategies() bool

HasStrategies returns a boolean if a field has been set.

func (*ClientFeatureSchema) HasType ¶

func (o *ClientFeatureSchema) HasType() bool

HasType returns a boolean if a field has been set.

func (*ClientFeatureSchema) HasVariants ¶

func (o *ClientFeatureSchema) HasVariants() bool

HasVariants returns a boolean if a field has been set.

func (ClientFeatureSchema) MarshalJSON ¶

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

func (*ClientFeatureSchema) SetDescription ¶

func (o *ClientFeatureSchema) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*ClientFeatureSchema) SetDescriptionNil ¶

func (o *ClientFeatureSchema) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*ClientFeatureSchema) SetEnabled ¶

func (o *ClientFeatureSchema) SetEnabled(v bool)

SetEnabled sets field value

func (*ClientFeatureSchema) SetImpressionData ¶

func (o *ClientFeatureSchema) SetImpressionData(v bool)

SetImpressionData gets a reference to the given NullableBool and assigns it to the ImpressionData field.

func (*ClientFeatureSchema) SetImpressionDataNil ¶

func (o *ClientFeatureSchema) SetImpressionDataNil()

SetImpressionDataNil sets the value for ImpressionData to be an explicit nil

func (*ClientFeatureSchema) SetName ¶

func (o *ClientFeatureSchema) SetName(v string)

SetName sets field value

func (*ClientFeatureSchema) SetProject ¶

func (o *ClientFeatureSchema) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*ClientFeatureSchema) SetStale ¶

func (o *ClientFeatureSchema) SetStale(v bool)

SetStale gets a reference to the given bool and assigns it to the Stale field.

func (*ClientFeatureSchema) SetStrategies ¶

func (o *ClientFeatureSchema) SetStrategies(v []FeatureStrategySchema)

SetStrategies gets a reference to the given []FeatureStrategySchema and assigns it to the Strategies field.

func (*ClientFeatureSchema) SetType ¶

func (o *ClientFeatureSchema) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ClientFeatureSchema) SetVariants ¶

func (o *ClientFeatureSchema) SetVariants(v []VariantSchema)

SetVariants gets a reference to the given []VariantSchema and assigns it to the Variants field.

func (ClientFeatureSchema) ToMap ¶

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

func (*ClientFeatureSchema) UnsetDescription ¶

func (o *ClientFeatureSchema) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*ClientFeatureSchema) UnsetImpressionData ¶

func (o *ClientFeatureSchema) UnsetImpressionData()

UnsetImpressionData ensures that no value is present for ImpressionData, not even an explicit nil

type ClientFeaturesQuerySchema ¶

type ClientFeaturesQuerySchema struct {
	// Features tagged with one of these tags are included
	Tag [][]string `json:"tag,omitempty"`
	// Features that are part of these projects are included in this response. (DEPRECATED) - Handled by API tokens
	// Deprecated
	Project []string `json:"project,omitempty"`
	// Features are filtered to only include features whose name starts with this prefix
	NamePrefix *string `json:"namePrefix,omitempty"`
	// Strategies for the feature toggle configured for this environment are included. (DEPRECATED) - Handled by API tokens
	// Deprecated
	Environment *string `json:"environment,omitempty"`
	// Set to true if requesting client does not support Unleash-Client-Specification 4.2.2 or newer. Modern SDKs will have this set to false, since they will be able to merge constraints and segments themselves
	InlineSegmentConstraints *bool `json:"inlineSegmentConstraints,omitempty"`
}

ClientFeaturesQuerySchema Query parameters active for a client features request

func NewClientFeaturesQuerySchema ¶

func NewClientFeaturesQuerySchema() *ClientFeaturesQuerySchema

NewClientFeaturesQuerySchema instantiates a new ClientFeaturesQuerySchema 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 NewClientFeaturesQuerySchemaWithDefaults ¶

func NewClientFeaturesQuerySchemaWithDefaults() *ClientFeaturesQuerySchema

NewClientFeaturesQuerySchemaWithDefaults instantiates a new ClientFeaturesQuerySchema 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 (*ClientFeaturesQuerySchema) GetEnvironment ¶

func (o *ClientFeaturesQuerySchema) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise. Deprecated

func (*ClientFeaturesQuerySchema) GetEnvironmentOk ¶

func (o *ClientFeaturesQuerySchema) 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. Deprecated

func (*ClientFeaturesQuerySchema) GetInlineSegmentConstraints ¶

func (o *ClientFeaturesQuerySchema) GetInlineSegmentConstraints() bool

GetInlineSegmentConstraints returns the InlineSegmentConstraints field value if set, zero value otherwise.

func (*ClientFeaturesQuerySchema) GetInlineSegmentConstraintsOk ¶

func (o *ClientFeaturesQuerySchema) GetInlineSegmentConstraintsOk() (*bool, bool)

GetInlineSegmentConstraintsOk returns a tuple with the InlineSegmentConstraints field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientFeaturesQuerySchema) GetNamePrefix ¶

func (o *ClientFeaturesQuerySchema) GetNamePrefix() string

GetNamePrefix returns the NamePrefix field value if set, zero value otherwise.

func (*ClientFeaturesQuerySchema) GetNamePrefixOk ¶

func (o *ClientFeaturesQuerySchema) GetNamePrefixOk() (*string, bool)

GetNamePrefixOk returns a tuple with the NamePrefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientFeaturesQuerySchema) GetProject ¶

func (o *ClientFeaturesQuerySchema) GetProject() []string

GetProject returns the Project field value if set, zero value otherwise. Deprecated

func (*ClientFeaturesQuerySchema) GetProjectOk ¶

func (o *ClientFeaturesQuerySchema) 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. Deprecated

func (*ClientFeaturesQuerySchema) GetTag ¶

func (o *ClientFeaturesQuerySchema) GetTag() [][]string

GetTag returns the Tag field value if set, zero value otherwise.

func (*ClientFeaturesQuerySchema) GetTagOk ¶

func (o *ClientFeaturesQuerySchema) GetTagOk() ([][]string, bool)

GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientFeaturesQuerySchema) HasEnvironment ¶

func (o *ClientFeaturesQuerySchema) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*ClientFeaturesQuerySchema) HasInlineSegmentConstraints ¶

func (o *ClientFeaturesQuerySchema) HasInlineSegmentConstraints() bool

HasInlineSegmentConstraints returns a boolean if a field has been set.

func (*ClientFeaturesQuerySchema) HasNamePrefix ¶

func (o *ClientFeaturesQuerySchema) HasNamePrefix() bool

HasNamePrefix returns a boolean if a field has been set.

func (*ClientFeaturesQuerySchema) HasProject ¶

func (o *ClientFeaturesQuerySchema) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*ClientFeaturesQuerySchema) HasTag ¶

func (o *ClientFeaturesQuerySchema) HasTag() bool

HasTag returns a boolean if a field has been set.

func (ClientFeaturesQuerySchema) MarshalJSON ¶

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

func (*ClientFeaturesQuerySchema) SetEnvironment ¶

func (o *ClientFeaturesQuerySchema) SetEnvironment(v string)

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

func (*ClientFeaturesQuerySchema) SetInlineSegmentConstraints ¶

func (o *ClientFeaturesQuerySchema) SetInlineSegmentConstraints(v bool)

SetInlineSegmentConstraints gets a reference to the given bool and assigns it to the InlineSegmentConstraints field.

func (*ClientFeaturesQuerySchema) SetNamePrefix ¶

func (o *ClientFeaturesQuerySchema) SetNamePrefix(v string)

SetNamePrefix gets a reference to the given string and assigns it to the NamePrefix field.

func (*ClientFeaturesQuerySchema) SetProject ¶

func (o *ClientFeaturesQuerySchema) SetProject(v []string)

SetProject gets a reference to the given []string and assigns it to the Project field. Deprecated

func (*ClientFeaturesQuerySchema) SetTag ¶

func (o *ClientFeaturesQuerySchema) SetTag(v [][]string)

SetTag gets a reference to the given [][]string and assigns it to the Tag field.

func (ClientFeaturesQuerySchema) ToMap ¶

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

type ClientFeaturesSchema ¶

type ClientFeaturesSchema struct {
	// A version number for the format used in the response. Most Unleash instances now return version 2, which includes segments as a separate array
	Version float32 `json:"version"`
	// A list of feature toggles with their configuration
	Features []ClientFeatureSchema `json:"features"`
	// A list of [Segments](https://docs.getunleash.io/reference/segments) configured for this Unleash instance
	Segments []SegmentSchema            `json:"segments,omitempty"`
	Query    *ClientFeaturesQuerySchema `json:"query,omitempty"`
}

ClientFeaturesSchema Configuration data for server-side SDKs for evaluating feature flags.

func NewClientFeaturesSchema ¶

func NewClientFeaturesSchema(version float32, features []ClientFeatureSchema) *ClientFeaturesSchema

NewClientFeaturesSchema instantiates a new ClientFeaturesSchema 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 NewClientFeaturesSchemaWithDefaults ¶

func NewClientFeaturesSchemaWithDefaults() *ClientFeaturesSchema

NewClientFeaturesSchemaWithDefaults instantiates a new ClientFeaturesSchema 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 (*ClientFeaturesSchema) GetFeatures ¶

func (o *ClientFeaturesSchema) GetFeatures() []ClientFeatureSchema

GetFeatures returns the Features field value

func (*ClientFeaturesSchema) GetFeaturesOk ¶

func (o *ClientFeaturesSchema) GetFeaturesOk() ([]ClientFeatureSchema, bool)

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

func (*ClientFeaturesSchema) GetQuery ¶

GetQuery returns the Query field value if set, zero value otherwise.

func (*ClientFeaturesSchema) GetQueryOk ¶

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientFeaturesSchema) GetSegments ¶

func (o *ClientFeaturesSchema) GetSegments() []SegmentSchema

GetSegments returns the Segments field value if set, zero value otherwise.

func (*ClientFeaturesSchema) GetSegmentsOk ¶

func (o *ClientFeaturesSchema) GetSegmentsOk() ([]SegmentSchema, 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 (*ClientFeaturesSchema) GetVersion ¶

func (o *ClientFeaturesSchema) GetVersion() float32

GetVersion returns the Version field value

func (*ClientFeaturesSchema) GetVersionOk ¶

func (o *ClientFeaturesSchema) GetVersionOk() (*float32, bool)

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

func (*ClientFeaturesSchema) HasQuery ¶

func (o *ClientFeaturesSchema) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ClientFeaturesSchema) HasSegments ¶

func (o *ClientFeaturesSchema) HasSegments() bool

HasSegments returns a boolean if a field has been set.

func (ClientFeaturesSchema) MarshalJSON ¶

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

func (*ClientFeaturesSchema) SetFeatures ¶

func (o *ClientFeaturesSchema) SetFeatures(v []ClientFeatureSchema)

SetFeatures sets field value

func (*ClientFeaturesSchema) SetQuery ¶

SetQuery gets a reference to the given ClientFeaturesQuerySchema and assigns it to the Query field.

func (*ClientFeaturesSchema) SetSegments ¶

func (o *ClientFeaturesSchema) SetSegments(v []SegmentSchema)

SetSegments gets a reference to the given []SegmentSchema and assigns it to the Segments field.

func (*ClientFeaturesSchema) SetVersion ¶

func (o *ClientFeaturesSchema) SetVersion(v float32)

SetVersion sets field value

func (ClientFeaturesSchema) ToMap ¶

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

type ClientMetricsEnvSchema ¶

type ClientMetricsEnvSchema struct {
	// Name of the feature checked by the SDK
	FeatureName string `json:"featureName"`
	// The name of the application the SDK is being used in
	AppName string `json:"appName"`
	// Which environment the SDK is being used in
	Environment string      `json:"environment"`
	Timestamp   *DateSchema `json:"timestamp,omitempty"`
	// How many times the toggle evaluated to true
	Yes *int32 `json:"yes,omitempty"`
	// How many times the toggle evaluated to false
	No *int32 `json:"no,omitempty"`
	// How many times each variant was returned
	Variants             *map[string]int32 `json:"variants,omitempty"`
	AdditionalProperties map[string]interface{}
}

ClientMetricsEnvSchema Used for reporting feature evaluation results from SDKs

func NewClientMetricsEnvSchema ¶

func NewClientMetricsEnvSchema(featureName string, appName string, environment string) *ClientMetricsEnvSchema

NewClientMetricsEnvSchema instantiates a new ClientMetricsEnvSchema 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 NewClientMetricsEnvSchemaWithDefaults ¶

func NewClientMetricsEnvSchemaWithDefaults() *ClientMetricsEnvSchema

NewClientMetricsEnvSchemaWithDefaults instantiates a new ClientMetricsEnvSchema 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 (*ClientMetricsEnvSchema) GetAppName ¶

func (o *ClientMetricsEnvSchema) GetAppName() string

GetAppName returns the AppName field value

func (*ClientMetricsEnvSchema) GetAppNameOk ¶

func (o *ClientMetricsEnvSchema) GetAppNameOk() (*string, bool)

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

func (*ClientMetricsEnvSchema) GetEnvironment ¶

func (o *ClientMetricsEnvSchema) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*ClientMetricsEnvSchema) GetEnvironmentOk ¶

func (o *ClientMetricsEnvSchema) GetEnvironmentOk() (*string, bool)

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

func (*ClientMetricsEnvSchema) GetFeatureName ¶

func (o *ClientMetricsEnvSchema) GetFeatureName() string

GetFeatureName returns the FeatureName field value

func (*ClientMetricsEnvSchema) GetFeatureNameOk ¶

func (o *ClientMetricsEnvSchema) GetFeatureNameOk() (*string, bool)

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

func (*ClientMetricsEnvSchema) GetNo ¶

func (o *ClientMetricsEnvSchema) GetNo() int32

GetNo returns the No field value if set, zero value otherwise.

func (*ClientMetricsEnvSchema) GetNoOk ¶

func (o *ClientMetricsEnvSchema) GetNoOk() (*int32, bool)

GetNoOk returns a tuple with the No field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientMetricsEnvSchema) GetTimestamp ¶

func (o *ClientMetricsEnvSchema) GetTimestamp() DateSchema

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*ClientMetricsEnvSchema) GetTimestampOk ¶

func (o *ClientMetricsEnvSchema) GetTimestampOk() (*DateSchema, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientMetricsEnvSchema) GetVariants ¶

func (o *ClientMetricsEnvSchema) GetVariants() map[string]int32

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

func (*ClientMetricsEnvSchema) GetVariantsOk ¶

func (o *ClientMetricsEnvSchema) GetVariantsOk() (*map[string]int32, 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 (*ClientMetricsEnvSchema) GetYes ¶

func (o *ClientMetricsEnvSchema) GetYes() int32

GetYes returns the Yes field value if set, zero value otherwise.

func (*ClientMetricsEnvSchema) GetYesOk ¶

func (o *ClientMetricsEnvSchema) GetYesOk() (*int32, bool)

GetYesOk returns a tuple with the Yes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientMetricsEnvSchema) HasNo ¶

func (o *ClientMetricsEnvSchema) HasNo() bool

HasNo returns a boolean if a field has been set.

func (*ClientMetricsEnvSchema) HasTimestamp ¶

func (o *ClientMetricsEnvSchema) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*ClientMetricsEnvSchema) HasVariants ¶

func (o *ClientMetricsEnvSchema) HasVariants() bool

HasVariants returns a boolean if a field has been set.

func (*ClientMetricsEnvSchema) HasYes ¶

func (o *ClientMetricsEnvSchema) HasYes() bool

HasYes returns a boolean if a field has been set.

func (ClientMetricsEnvSchema) MarshalJSON ¶

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

func (*ClientMetricsEnvSchema) SetAppName ¶

func (o *ClientMetricsEnvSchema) SetAppName(v string)

SetAppName sets field value

func (*ClientMetricsEnvSchema) SetEnvironment ¶

func (o *ClientMetricsEnvSchema) SetEnvironment(v string)

SetEnvironment sets field value

func (*ClientMetricsEnvSchema) SetFeatureName ¶

func (o *ClientMetricsEnvSchema) SetFeatureName(v string)

SetFeatureName sets field value

func (*ClientMetricsEnvSchema) SetNo ¶

func (o *ClientMetricsEnvSchema) SetNo(v int32)

SetNo gets a reference to the given int32 and assigns it to the No field.

func (*ClientMetricsEnvSchema) SetTimestamp ¶

func (o *ClientMetricsEnvSchema) SetTimestamp(v DateSchema)

SetTimestamp gets a reference to the given DateSchema and assigns it to the Timestamp field.

func (*ClientMetricsEnvSchema) SetVariants ¶

func (o *ClientMetricsEnvSchema) SetVariants(v map[string]int32)

SetVariants gets a reference to the given map[string]int32 and assigns it to the Variants field.

func (*ClientMetricsEnvSchema) SetYes ¶

func (o *ClientMetricsEnvSchema) SetYes(v int32)

SetYes gets a reference to the given int32 and assigns it to the Yes field.

func (ClientMetricsEnvSchema) ToMap ¶

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

func (*ClientMetricsEnvSchema) UnmarshalJSON ¶

func (o *ClientMetricsEnvSchema) UnmarshalJSON(bytes []byte) (err error)

type ClientMetricsSchema ¶

type ClientMetricsSchema struct {
	// The name of the application that is evaluating toggles
	AppName string `json:"appName"`
	// A [(somewhat) unique identifier](https://docs.getunleash.io/reference/sdks/node#advanced-usage) for the application
	InstanceId *string `json:"instanceId,omitempty"`
	// Which environment the application is running in
	Environment *string                   `json:"environment,omitempty"`
	Bucket      ClientMetricsSchemaBucket `json:"bucket"`
}

ClientMetricsSchema Client usage metrics, accumulated in buckets of hour by hour by default

func NewClientMetricsSchema ¶

func NewClientMetricsSchema(appName string, bucket ClientMetricsSchemaBucket) *ClientMetricsSchema

NewClientMetricsSchema instantiates a new ClientMetricsSchema 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 NewClientMetricsSchemaWithDefaults ¶

func NewClientMetricsSchemaWithDefaults() *ClientMetricsSchema

NewClientMetricsSchemaWithDefaults instantiates a new ClientMetricsSchema 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 (*ClientMetricsSchema) GetAppName ¶

func (o *ClientMetricsSchema) GetAppName() string

GetAppName returns the AppName field value

func (*ClientMetricsSchema) GetAppNameOk ¶

func (o *ClientMetricsSchema) GetAppNameOk() (*string, bool)

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

func (*ClientMetricsSchema) GetBucket ¶

GetBucket returns the Bucket field value

func (*ClientMetricsSchema) GetBucketOk ¶

func (o *ClientMetricsSchema) GetBucketOk() (*ClientMetricsSchemaBucket, bool)

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

func (*ClientMetricsSchema) GetEnvironment ¶

func (o *ClientMetricsSchema) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*ClientMetricsSchema) GetEnvironmentOk ¶

func (o *ClientMetricsSchema) 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 (*ClientMetricsSchema) GetInstanceId ¶

func (o *ClientMetricsSchema) GetInstanceId() string

GetInstanceId returns the InstanceId field value if set, zero value otherwise.

func (*ClientMetricsSchema) GetInstanceIdOk ¶

func (o *ClientMetricsSchema) GetInstanceIdOk() (*string, bool)

GetInstanceIdOk returns a tuple with the InstanceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientMetricsSchema) HasEnvironment ¶

func (o *ClientMetricsSchema) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*ClientMetricsSchema) HasInstanceId ¶

func (o *ClientMetricsSchema) HasInstanceId() bool

HasInstanceId returns a boolean if a field has been set.

func (ClientMetricsSchema) MarshalJSON ¶

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

func (*ClientMetricsSchema) SetAppName ¶

func (o *ClientMetricsSchema) SetAppName(v string)

SetAppName sets field value

func (*ClientMetricsSchema) SetBucket ¶

SetBucket sets field value

func (*ClientMetricsSchema) SetEnvironment ¶

func (o *ClientMetricsSchema) SetEnvironment(v string)

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

func (*ClientMetricsSchema) SetInstanceId ¶

func (o *ClientMetricsSchema) SetInstanceId(v string)

SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.

func (ClientMetricsSchema) ToMap ¶

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

type ClientMetricsSchemaBucket ¶

type ClientMetricsSchemaBucket struct {
	Start DateSchema `json:"start"`
	Stop  DateSchema `json:"stop"`
	// an object containing feature names with yes/no plus variant usage
	Toggles map[string]ClientMetricsSchemaBucketTogglesValue `json:"toggles"`
}

ClientMetricsSchemaBucket Holds all metrics gathered over a window of time. Typically 1 hour wide

func NewClientMetricsSchemaBucket ¶

func NewClientMetricsSchemaBucket(start DateSchema, stop DateSchema, toggles map[string]ClientMetricsSchemaBucketTogglesValue) *ClientMetricsSchemaBucket

NewClientMetricsSchemaBucket instantiates a new ClientMetricsSchemaBucket 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 NewClientMetricsSchemaBucketWithDefaults ¶

func NewClientMetricsSchemaBucketWithDefaults() *ClientMetricsSchemaBucket

NewClientMetricsSchemaBucketWithDefaults instantiates a new ClientMetricsSchemaBucket 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 (*ClientMetricsSchemaBucket) GetStart ¶

func (o *ClientMetricsSchemaBucket) GetStart() DateSchema

GetStart returns the Start field value

func (*ClientMetricsSchemaBucket) GetStartOk ¶

func (o *ClientMetricsSchemaBucket) GetStartOk() (*DateSchema, bool)

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

func (*ClientMetricsSchemaBucket) GetStop ¶

GetStop returns the Stop field value

func (*ClientMetricsSchemaBucket) GetStopOk ¶

func (o *ClientMetricsSchemaBucket) GetStopOk() (*DateSchema, bool)

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

func (*ClientMetricsSchemaBucket) GetToggles ¶

GetToggles returns the Toggles field value

func (*ClientMetricsSchemaBucket) GetTogglesOk ¶

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

func (ClientMetricsSchemaBucket) MarshalJSON ¶

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

func (*ClientMetricsSchemaBucket) SetStart ¶

func (o *ClientMetricsSchemaBucket) SetStart(v DateSchema)

SetStart sets field value

func (*ClientMetricsSchemaBucket) SetStop ¶

func (o *ClientMetricsSchemaBucket) SetStop(v DateSchema)

SetStop sets field value

func (*ClientMetricsSchemaBucket) SetToggles ¶

SetToggles sets field value

func (ClientMetricsSchemaBucket) ToMap ¶

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

type ClientMetricsSchemaBucketTogglesValue ¶

type ClientMetricsSchemaBucketTogglesValue struct {
	// How many times the toggle evaluated to true
	Yes *float32 `json:"yes,omitempty"`
	// How many times the toggle evaluated to false
	No *int32 `json:"no,omitempty"`
	// An object describing how many times each variant was returned. Variant names are used as properties, and the number of times they were exposed is the corresponding value (i.e. `{ [variantName]: number }`).
	Variants *map[string]int32 `json:"variants,omitempty"`
}

ClientMetricsSchemaBucketTogglesValue struct for ClientMetricsSchemaBucketTogglesValue

func NewClientMetricsSchemaBucketTogglesValue ¶

func NewClientMetricsSchemaBucketTogglesValue() *ClientMetricsSchemaBucketTogglesValue

NewClientMetricsSchemaBucketTogglesValue instantiates a new ClientMetricsSchemaBucketTogglesValue 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 NewClientMetricsSchemaBucketTogglesValueWithDefaults ¶

func NewClientMetricsSchemaBucketTogglesValueWithDefaults() *ClientMetricsSchemaBucketTogglesValue

NewClientMetricsSchemaBucketTogglesValueWithDefaults instantiates a new ClientMetricsSchemaBucketTogglesValue 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 (*ClientMetricsSchemaBucketTogglesValue) GetNo ¶

GetNo returns the No field value if set, zero value otherwise.

func (*ClientMetricsSchemaBucketTogglesValue) GetNoOk ¶

GetNoOk returns a tuple with the No field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientMetricsSchemaBucketTogglesValue) GetVariants ¶

func (o *ClientMetricsSchemaBucketTogglesValue) GetVariants() map[string]int32

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

func (*ClientMetricsSchemaBucketTogglesValue) GetVariantsOk ¶

func (o *ClientMetricsSchemaBucketTogglesValue) GetVariantsOk() (*map[string]int32, 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 (*ClientMetricsSchemaBucketTogglesValue) GetYes ¶

GetYes returns the Yes field value if set, zero value otherwise.

func (*ClientMetricsSchemaBucketTogglesValue) GetYesOk ¶

GetYesOk returns a tuple with the Yes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClientMetricsSchemaBucketTogglesValue) HasNo ¶

HasNo returns a boolean if a field has been set.

func (*ClientMetricsSchemaBucketTogglesValue) HasVariants ¶

HasVariants returns a boolean if a field has been set.

func (*ClientMetricsSchemaBucketTogglesValue) HasYes ¶

HasYes returns a boolean if a field has been set.

func (ClientMetricsSchemaBucketTogglesValue) MarshalJSON ¶

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

func (*ClientMetricsSchemaBucketTogglesValue) SetNo ¶

SetNo gets a reference to the given int32 and assigns it to the No field.

func (*ClientMetricsSchemaBucketTogglesValue) SetVariants ¶

func (o *ClientMetricsSchemaBucketTogglesValue) SetVariants(v map[string]int32)

SetVariants gets a reference to the given map[string]int32 and assigns it to the Variants field.

func (*ClientMetricsSchemaBucketTogglesValue) SetYes ¶

SetYes gets a reference to the given float32 and assigns it to the Yes field.

func (ClientMetricsSchemaBucketTogglesValue) ToMap ¶

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

type ClientSegmentSchema ¶

type ClientSegmentSchema struct {
	// The segment's id.
	Id float32 `json:"id"`
	// The name of the segment.
	Name *string `json:"name,omitempty"`
	// List of constraints that determine which users are part of the segment
	Constraints []ConstraintSchema `json:"constraints"`
}

ClientSegmentSchema Represents a client API segment of users defined by a set of constraints.

func NewClientSegmentSchema ¶

func NewClientSegmentSchema(id float32, constraints []ConstraintSchema) *ClientSegmentSchema

NewClientSegmentSchema instantiates a new ClientSegmentSchema 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 NewClientSegmentSchemaWithDefaults ¶

func NewClientSegmentSchemaWithDefaults() *ClientSegmentSchema

NewClientSegmentSchemaWithDefaults instantiates a new ClientSegmentSchema 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 (*ClientSegmentSchema) GetConstraints ¶

func (o *ClientSegmentSchema) GetConstraints() []ConstraintSchema

GetConstraints returns the Constraints field value

func (*ClientSegmentSchema) GetConstraintsOk ¶

func (o *ClientSegmentSchema) GetConstraintsOk() ([]ConstraintSchema, bool)

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

func (*ClientSegmentSchema) GetId ¶

func (o *ClientSegmentSchema) GetId() float32

GetId returns the Id field value

func (*ClientSegmentSchema) GetIdOk ¶

func (o *ClientSegmentSchema) GetIdOk() (*float32, bool)

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

func (*ClientSegmentSchema) GetName ¶

func (o *ClientSegmentSchema) GetName() string

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

func (*ClientSegmentSchema) GetNameOk ¶

func (o *ClientSegmentSchema) 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 (*ClientSegmentSchema) HasName ¶

func (o *ClientSegmentSchema) HasName() bool

HasName returns a boolean if a field has been set.

func (ClientSegmentSchema) MarshalJSON ¶

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

func (*ClientSegmentSchema) SetConstraints ¶

func (o *ClientSegmentSchema) SetConstraints(v []ConstraintSchema)

SetConstraints sets field value

func (*ClientSegmentSchema) SetId ¶

func (o *ClientSegmentSchema) SetId(v float32)

SetId sets field value

func (*ClientSegmentSchema) SetName ¶

func (o *ClientSegmentSchema) SetName(v string)

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

func (ClientSegmentSchema) ToMap ¶

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

type CloneEnvironmentSchema ¶

type CloneEnvironmentSchema struct {
	// The name of the new cloned environment, this cannot be changed later
	Name string `json:"name"`
	// Updates the type of environment (i.e. development or production).
	Type string `json:"type"`
	// A list of projects that should be included in the cloned environment.
	Projects []string `json:"projects,omitempty"`
	// Copies the RBAC permissions from the source environment if true. Defaults to true
	ClonePermissions *bool `json:"clonePermissions,omitempty"`
}

CloneEnvironmentSchema struct for CloneEnvironmentSchema

func NewCloneEnvironmentSchema ¶

func NewCloneEnvironmentSchema(name string, type_ string) *CloneEnvironmentSchema

NewCloneEnvironmentSchema instantiates a new CloneEnvironmentSchema 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 NewCloneEnvironmentSchemaWithDefaults ¶

func NewCloneEnvironmentSchemaWithDefaults() *CloneEnvironmentSchema

NewCloneEnvironmentSchemaWithDefaults instantiates a new CloneEnvironmentSchema 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 (*CloneEnvironmentSchema) GetClonePermissions ¶

func (o *CloneEnvironmentSchema) GetClonePermissions() bool

GetClonePermissions returns the ClonePermissions field value if set, zero value otherwise.

func (*CloneEnvironmentSchema) GetClonePermissionsOk ¶

func (o *CloneEnvironmentSchema) GetClonePermissionsOk() (*bool, bool)

GetClonePermissionsOk returns a tuple with the ClonePermissions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloneEnvironmentSchema) GetName ¶

func (o *CloneEnvironmentSchema) GetName() string

GetName returns the Name field value

func (*CloneEnvironmentSchema) GetNameOk ¶

func (o *CloneEnvironmentSchema) GetNameOk() (*string, bool)

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

func (*CloneEnvironmentSchema) GetProjects ¶

func (o *CloneEnvironmentSchema) GetProjects() []string

GetProjects returns the Projects field value if set, zero value otherwise.

func (*CloneEnvironmentSchema) GetProjectsOk ¶

func (o *CloneEnvironmentSchema) 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 (*CloneEnvironmentSchema) GetType ¶

func (o *CloneEnvironmentSchema) GetType() string

GetType returns the Type field value

func (*CloneEnvironmentSchema) GetTypeOk ¶

func (o *CloneEnvironmentSchema) GetTypeOk() (*string, bool)

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

func (*CloneEnvironmentSchema) HasClonePermissions ¶

func (o *CloneEnvironmentSchema) HasClonePermissions() bool

HasClonePermissions returns a boolean if a field has been set.

func (*CloneEnvironmentSchema) HasProjects ¶

func (o *CloneEnvironmentSchema) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (CloneEnvironmentSchema) MarshalJSON ¶

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

func (*CloneEnvironmentSchema) SetClonePermissions ¶

func (o *CloneEnvironmentSchema) SetClonePermissions(v bool)

SetClonePermissions gets a reference to the given bool and assigns it to the ClonePermissions field.

func (*CloneEnvironmentSchema) SetName ¶

func (o *CloneEnvironmentSchema) SetName(v string)

SetName sets field value

func (*CloneEnvironmentSchema) SetProjects ¶

func (o *CloneEnvironmentSchema) SetProjects(v []string)

SetProjects gets a reference to the given []string and assigns it to the Projects field.

func (*CloneEnvironmentSchema) SetType ¶

func (o *CloneEnvironmentSchema) SetType(v string)

SetType sets field value

func (CloneEnvironmentSchema) ToMap ¶

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

type CloneFeatureSchema ¶

type CloneFeatureSchema struct {
	Name           string `json:"name"`
	ReplaceGroupId *bool  `json:"replaceGroupId,omitempty"`
}

CloneFeatureSchema struct for CloneFeatureSchema

func NewCloneFeatureSchema ¶

func NewCloneFeatureSchema(name string) *CloneFeatureSchema

NewCloneFeatureSchema instantiates a new CloneFeatureSchema 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 NewCloneFeatureSchemaWithDefaults ¶

func NewCloneFeatureSchemaWithDefaults() *CloneFeatureSchema

NewCloneFeatureSchemaWithDefaults instantiates a new CloneFeatureSchema 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 (*CloneFeatureSchema) GetName ¶

func (o *CloneFeatureSchema) GetName() string

GetName returns the Name field value

func (*CloneFeatureSchema) GetNameOk ¶

func (o *CloneFeatureSchema) GetNameOk() (*string, bool)

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

func (*CloneFeatureSchema) GetReplaceGroupId ¶

func (o *CloneFeatureSchema) GetReplaceGroupId() bool

GetReplaceGroupId returns the ReplaceGroupId field value if set, zero value otherwise.

func (*CloneFeatureSchema) GetReplaceGroupIdOk ¶

func (o *CloneFeatureSchema) GetReplaceGroupIdOk() (*bool, bool)

GetReplaceGroupIdOk returns a tuple with the ReplaceGroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloneFeatureSchema) HasReplaceGroupId ¶

func (o *CloneFeatureSchema) HasReplaceGroupId() bool

HasReplaceGroupId returns a boolean if a field has been set.

func (CloneFeatureSchema) MarshalJSON ¶

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

func (*CloneFeatureSchema) SetName ¶

func (o *CloneFeatureSchema) SetName(v string)

SetName sets field value

func (*CloneFeatureSchema) SetReplaceGroupId ¶

func (o *CloneFeatureSchema) SetReplaceGroupId(v bool)

SetReplaceGroupId gets a reference to the given bool and assigns it to the ReplaceGroupId field.

func (CloneFeatureSchema) ToMap ¶

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

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/reference/strategy-constraints#strategy-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"`
}

ConstraintSchema A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/reference/strategy-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)

type ContextApiService ¶

type ContextApiService service

ContextApiService ContextApi service

func (*ContextApiService) CreateContextField ¶

CreateContextField Method for CreateContextField

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateContextFieldRequest

func (*ContextApiService) CreateContextFieldExecute ¶

Execute executes the request

@return ContextFieldSchema

func (*ContextApiService) DeleteContextField ¶

func (a *ContextApiService) DeleteContextField(ctx context.Context, contextField string) ApiDeleteContextFieldRequest

DeleteContextField Method for DeleteContextField

@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 ¶

func (a *ContextApiService) DeleteContextFieldExecute(r ApiDeleteContextFieldRequest) (*http.Response, error)

Execute executes the request

func (*ContextApiService) GetContextField ¶

func (a *ContextApiService) GetContextField(ctx context.Context, contextField string) ApiGetContextFieldRequest

GetContextField Method for GetContextField

@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 ¶

Execute executes the request

@return ContextFieldSchema

func (*ContextApiService) GetContextFields ¶

GetContextFields Method for GetContextFields

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetContextFieldsRequest

func (*ContextApiService) GetContextFieldsExecute ¶

Execute executes the request

@return []ContextFieldSchema

func (*ContextApiService) UpdateContextField ¶

func (a *ContextApiService) UpdateContextField(ctx context.Context, contextField string) ApiUpdateContextFieldRequest

UpdateContextField Method for UpdateContextField

@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 ¶

func (a *ContextApiService) UpdateContextFieldExecute(r ApiUpdateContextFieldRequest) (*http.Response, error)

Execute executes the request

func (*ContextApiService) Validate ¶

Validate Method for Validate

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiValidateRequest

func (*ContextApiService) ValidateExecute ¶

func (a *ContextApiService) ValidateExecute(r ApiValidateRequest) (*http.Response, error)

Execute executes the request

type ContextFieldSchema ¶

type ContextFieldSchema struct {
	Name        string         `json:"name"`
	Description NullableString `json:"description,omitempty"`
	Stickiness  *bool          `json:"stickiness,omitempty"`
	SortOrder   *float32       `json:"sortOrder,omitempty"`
	CreatedAt   NullableTime   `json:"createdAt,omitempty"`
	// Number of projects where this context field is used in
	UsedInFeatures NullableFloat32 `json:"usedInFeatures,omitempty"`
	// Number of projects where this context field is used in
	UsedInProjects NullableFloat32    `json:"usedInProjects,omitempty"`
	LegalValues    []LegalValueSchema `json:"legalValues,omitempty"`
}

ContextFieldSchema struct for ContextFieldSchema

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) GetSortOrder ¶

func (o *ContextFieldSchema) GetSortOrder() float32

GetSortOrder returns the SortOrder field value if set, zero value otherwise.

func (*ContextFieldSchema) GetSortOrderOk ¶

func (o *ContextFieldSchema) 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 (*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() float32

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() (*float32, 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() float32

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() (*float32, 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) 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) SetSortOrder ¶

func (o *ContextFieldSchema) SetSortOrder(v float32)

SetSortOrder gets a reference to the given float32 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 float32)

SetUsedInFeatures gets a reference to the given NullableFloat32 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 float32)

SetUsedInProjects gets a reference to the given NullableFloat32 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) 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 ContextFieldStrategiesSchema ¶

type ContextFieldStrategiesSchema struct {
	// List of strategies using the context field
	Strategies []ContextFieldStrategiesSchemaStrategiesInner `json:"strategies"`
}

ContextFieldStrategiesSchema A wrapper object containing all for strategies using a specific context field

func NewContextFieldStrategiesSchema ¶

func NewContextFieldStrategiesSchema(strategies []ContextFieldStrategiesSchemaStrategiesInner) *ContextFieldStrategiesSchema

NewContextFieldStrategiesSchema instantiates a new ContextFieldStrategiesSchema 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 NewContextFieldStrategiesSchemaWithDefaults ¶

func NewContextFieldStrategiesSchemaWithDefaults() *ContextFieldStrategiesSchema

NewContextFieldStrategiesSchemaWithDefaults instantiates a new ContextFieldStrategiesSchema 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 (*ContextFieldStrategiesSchema) GetStrategies ¶

GetStrategies returns the Strategies field value

func (*ContextFieldStrategiesSchema) GetStrategiesOk ¶

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

func (ContextFieldStrategiesSchema) MarshalJSON ¶

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

func (*ContextFieldStrategiesSchema) SetStrategies ¶

SetStrategies sets field value

func (ContextFieldStrategiesSchema) ToMap ¶

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

type ContextFieldStrategiesSchemaStrategiesInner ¶

type ContextFieldStrategiesSchemaStrategiesInner struct {
	// The ID of the strategy.
	Id string `json:"id"`
	// The name of the feature that contains this strategy.
	FeatureName string `json:"featureName"`
	// The ID of the project that contains this feature.
	ProjectId string `json:"projectId"`
	// The ID of the environment where this strategy is in.
	Environment string `json:"environment"`
	// The name of the strategy.
	StrategyName string `json:"strategyName"`
}

ContextFieldStrategiesSchemaStrategiesInner struct for ContextFieldStrategiesSchemaStrategiesInner

func NewContextFieldStrategiesSchemaStrategiesInner ¶

func NewContextFieldStrategiesSchemaStrategiesInner(id string, featureName string, projectId string, environment string, strategyName string) *ContextFieldStrategiesSchemaStrategiesInner

NewContextFieldStrategiesSchemaStrategiesInner instantiates a new ContextFieldStrategiesSchemaStrategiesInner 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 NewContextFieldStrategiesSchemaStrategiesInnerWithDefaults ¶

func NewContextFieldStrategiesSchemaStrategiesInnerWithDefaults() *ContextFieldStrategiesSchemaStrategiesInner

NewContextFieldStrategiesSchemaStrategiesInnerWithDefaults instantiates a new ContextFieldStrategiesSchemaStrategiesInner 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 (*ContextFieldStrategiesSchemaStrategiesInner) GetEnvironment ¶

GetEnvironment returns the Environment field value

func (*ContextFieldStrategiesSchemaStrategiesInner) GetEnvironmentOk ¶

func (o *ContextFieldStrategiesSchemaStrategiesInner) GetEnvironmentOk() (*string, bool)

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

func (*ContextFieldStrategiesSchemaStrategiesInner) GetFeatureName ¶

GetFeatureName returns the FeatureName field value

func (*ContextFieldStrategiesSchemaStrategiesInner) GetFeatureNameOk ¶

func (o *ContextFieldStrategiesSchemaStrategiesInner) GetFeatureNameOk() (*string, bool)

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

func (*ContextFieldStrategiesSchemaStrategiesInner) GetId ¶

GetId returns the Id field value

func (*ContextFieldStrategiesSchemaStrategiesInner) GetIdOk ¶

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

func (*ContextFieldStrategiesSchemaStrategiesInner) GetProjectId ¶

GetProjectId returns the ProjectId field value

func (*ContextFieldStrategiesSchemaStrategiesInner) GetProjectIdOk ¶

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

func (*ContextFieldStrategiesSchemaStrategiesInner) GetStrategyName ¶

GetStrategyName returns the StrategyName field value

func (*ContextFieldStrategiesSchemaStrategiesInner) GetStrategyNameOk ¶

func (o *ContextFieldStrategiesSchemaStrategiesInner) GetStrategyNameOk() (*string, bool)

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

func (ContextFieldStrategiesSchemaStrategiesInner) MarshalJSON ¶

func (*ContextFieldStrategiesSchemaStrategiesInner) SetEnvironment ¶

SetEnvironment sets field value

func (*ContextFieldStrategiesSchemaStrategiesInner) SetFeatureName ¶

SetFeatureName sets field value

func (*ContextFieldStrategiesSchemaStrategiesInner) SetId ¶

SetId sets field value

func (*ContextFieldStrategiesSchemaStrategiesInner) SetProjectId ¶

SetProjectId sets field value

func (*ContextFieldStrategiesSchemaStrategiesInner) SetStrategyName ¶

SetStrategyName sets field value

func (ContextFieldStrategiesSchemaStrategiesInner) ToMap ¶

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

type CreateAddon413Response ¶

type CreateAddon413Response 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"`
}

CreateAddon413Response struct for CreateAddon413Response

func NewCreateAddon413Response ¶

func NewCreateAddon413Response() *CreateAddon413Response

NewCreateAddon413Response instantiates a new CreateAddon413Response 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 NewCreateAddon413ResponseWithDefaults ¶

func NewCreateAddon413ResponseWithDefaults() *CreateAddon413Response

NewCreateAddon413ResponseWithDefaults instantiates a new CreateAddon413Response 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 (*CreateAddon413Response) GetId ¶

func (o *CreateAddon413Response) GetId() string

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

func (*CreateAddon413Response) GetIdOk ¶

func (o *CreateAddon413Response) 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 (*CreateAddon413Response) GetMessage ¶

func (o *CreateAddon413Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreateAddon413Response) GetMessageOk ¶

func (o *CreateAddon413Response) 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 (*CreateAddon413Response) GetName ¶

func (o *CreateAddon413Response) GetName() string

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

func (*CreateAddon413Response) GetNameOk ¶

func (o *CreateAddon413Response) 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 (*CreateAddon413Response) HasId ¶

func (o *CreateAddon413Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateAddon413Response) HasMessage ¶

func (o *CreateAddon413Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*CreateAddon413Response) HasName ¶

func (o *CreateAddon413Response) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateAddon413Response) MarshalJSON ¶

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

func (*CreateAddon413Response) SetId ¶

func (o *CreateAddon413Response) SetId(v string)

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

func (*CreateAddon413Response) SetMessage ¶

func (o *CreateAddon413Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*CreateAddon413Response) SetName ¶

func (o *CreateAddon413Response) SetName(v string)

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

func (CreateAddon413Response) ToMap ¶

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

type CreateAddon415Response ¶

type CreateAddon415Response 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"`
}

CreateAddon415Response struct for CreateAddon415Response

func NewCreateAddon415Response ¶

func NewCreateAddon415Response() *CreateAddon415Response

NewCreateAddon415Response instantiates a new CreateAddon415Response 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 NewCreateAddon415ResponseWithDefaults ¶

func NewCreateAddon415ResponseWithDefaults() *CreateAddon415Response

NewCreateAddon415ResponseWithDefaults instantiates a new CreateAddon415Response 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 (*CreateAddon415Response) GetId ¶

func (o *CreateAddon415Response) GetId() string

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

func (*CreateAddon415Response) GetIdOk ¶

func (o *CreateAddon415Response) 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 (*CreateAddon415Response) GetMessage ¶

func (o *CreateAddon415Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreateAddon415Response) GetMessageOk ¶

func (o *CreateAddon415Response) 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 (*CreateAddon415Response) GetName ¶

func (o *CreateAddon415Response) GetName() string

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

func (*CreateAddon415Response) GetNameOk ¶

func (o *CreateAddon415Response) 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 (*CreateAddon415Response) HasId ¶

func (o *CreateAddon415Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateAddon415Response) HasMessage ¶

func (o *CreateAddon415Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*CreateAddon415Response) HasName ¶

func (o *CreateAddon415Response) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateAddon415Response) MarshalJSON ¶

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

func (*CreateAddon415Response) SetId ¶

func (o *CreateAddon415Response) SetId(v string)

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

func (*CreateAddon415Response) SetMessage ¶

func (o *CreateAddon415Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*CreateAddon415Response) SetName ¶

func (o *CreateAddon415Response) SetName(v string)

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

func (CreateAddon415Response) ToMap ¶

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

type CreateApiTokenSchema ¶

type CreateApiTokenSchema struct {
	Secret *string `json:"secret,omitempty"`
	// One of client, admin, frontend
	Type        string       `json:"type"`
	Environment *string      `json:"environment,omitempty"`
	Project     *string      `json:"project,omitempty"`
	Projects    []string     `json:"projects,omitempty"`
	ExpiresAt   NullableTime `json:"expiresAt,omitempty"`
}

CreateApiTokenSchema struct for CreateApiTokenSchema

func NewCreateApiTokenSchema ¶

func NewCreateApiTokenSchema(type_ string) *CreateApiTokenSchema

NewCreateApiTokenSchema instantiates a new CreateApiTokenSchema 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 NewCreateApiTokenSchemaWithDefaults ¶

func NewCreateApiTokenSchemaWithDefaults() *CreateApiTokenSchema

NewCreateApiTokenSchemaWithDefaults instantiates a new CreateApiTokenSchema 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 (*CreateApiTokenSchema) GetEnvironment ¶

func (o *CreateApiTokenSchema) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*CreateApiTokenSchema) GetEnvironmentOk ¶

func (o *CreateApiTokenSchema) 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 (*CreateApiTokenSchema) GetExpiresAt ¶

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

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

func (*CreateApiTokenSchema) GetExpiresAtOk ¶

func (o *CreateApiTokenSchema) 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 (*CreateApiTokenSchema) GetProject ¶

func (o *CreateApiTokenSchema) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*CreateApiTokenSchema) GetProjectOk ¶

func (o *CreateApiTokenSchema) 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 (*CreateApiTokenSchema) GetProjects ¶

func (o *CreateApiTokenSchema) GetProjects() []string

GetProjects returns the Projects field value if set, zero value otherwise.

func (*CreateApiTokenSchema) GetProjectsOk ¶

func (o *CreateApiTokenSchema) 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 (*CreateApiTokenSchema) GetSecret ¶

func (o *CreateApiTokenSchema) GetSecret() string

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

func (*CreateApiTokenSchema) GetSecretOk ¶

func (o *CreateApiTokenSchema) 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 (*CreateApiTokenSchema) GetType ¶

func (o *CreateApiTokenSchema) GetType() string

GetType returns the Type field value

func (*CreateApiTokenSchema) GetTypeOk ¶

func (o *CreateApiTokenSchema) GetTypeOk() (*string, bool)

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

func (*CreateApiTokenSchema) HasEnvironment ¶

func (o *CreateApiTokenSchema) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*CreateApiTokenSchema) HasExpiresAt ¶

func (o *CreateApiTokenSchema) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*CreateApiTokenSchema) HasProject ¶

func (o *CreateApiTokenSchema) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*CreateApiTokenSchema) HasProjects ¶

func (o *CreateApiTokenSchema) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*CreateApiTokenSchema) HasSecret ¶

func (o *CreateApiTokenSchema) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (CreateApiTokenSchema) MarshalJSON ¶

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

func (*CreateApiTokenSchema) SetEnvironment ¶

func (o *CreateApiTokenSchema) SetEnvironment(v string)

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

func (*CreateApiTokenSchema) SetExpiresAt ¶

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

SetExpiresAt gets a reference to the given NullableTime and assigns it to the ExpiresAt field.

func (*CreateApiTokenSchema) SetExpiresAtNil ¶

func (o *CreateApiTokenSchema) SetExpiresAtNil()

SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil

func (*CreateApiTokenSchema) SetProject ¶

func (o *CreateApiTokenSchema) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*CreateApiTokenSchema) SetProjects ¶

func (o *CreateApiTokenSchema) SetProjects(v []string)

SetProjects gets a reference to the given []string and assigns it to the Projects field.

func (*CreateApiTokenSchema) SetSecret ¶

func (o *CreateApiTokenSchema) SetSecret(v string)

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

func (*CreateApiTokenSchema) SetType ¶

func (o *CreateApiTokenSchema) SetType(v string)

SetType sets field value

func (CreateApiTokenSchema) ToMap ¶

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

func (*CreateApiTokenSchema) UnsetExpiresAt ¶

func (o *CreateApiTokenSchema) UnsetExpiresAt()

UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil

type CreateApplicationSchema ¶

type CreateApplicationSchema struct {
	// Name of the application
	AppName *string `json:"appName,omitempty"`
	// Which SDK and version the application reporting uses. Typically represented as `<identifier>:<version>`
	SdkVersion *string `json:"sdkVersion,omitempty"`
	// Which [strategies](https://docs.getunleash.io/topics/the-anatomy-of-unleash#activation-strategies) the application has loaded. Useful when trying to figure out if your [custom strategy](https://docs.getunleash.io/reference/custom-activation-strategies) has been loaded in the SDK
	Strategies []string `json:"strategies,omitempty"`
	// A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application
	Url *string `json:"url,omitempty"`
	// Css color to be used to color the application's entry in the application list
	Color *string `json:"color,omitempty"`
	// An URL to an icon file to be used for the applications's entry in the application list
	Icon                 *string `json:"icon,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateApplicationSchema Reported application information from Unleash SDKs

func NewCreateApplicationSchema ¶

func NewCreateApplicationSchema() *CreateApplicationSchema

NewCreateApplicationSchema instantiates a new CreateApplicationSchema 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 NewCreateApplicationSchemaWithDefaults ¶

func NewCreateApplicationSchemaWithDefaults() *CreateApplicationSchema

NewCreateApplicationSchemaWithDefaults instantiates a new CreateApplicationSchema 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 (*CreateApplicationSchema) GetAppName ¶

func (o *CreateApplicationSchema) GetAppName() string

GetAppName returns the AppName field value if set, zero value otherwise.

func (*CreateApplicationSchema) GetAppNameOk ¶

func (o *CreateApplicationSchema) GetAppNameOk() (*string, bool)

GetAppNameOk returns a tuple with the AppName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateApplicationSchema) GetColor ¶

func (o *CreateApplicationSchema) GetColor() string

GetColor returns the Color field value if set, zero value otherwise.

func (*CreateApplicationSchema) GetColorOk ¶

func (o *CreateApplicationSchema) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateApplicationSchema) GetIcon ¶

func (o *CreateApplicationSchema) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*CreateApplicationSchema) GetIconOk ¶

func (o *CreateApplicationSchema) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateApplicationSchema) GetSdkVersion ¶

func (o *CreateApplicationSchema) GetSdkVersion() string

GetSdkVersion returns the SdkVersion field value if set, zero value otherwise.

func (*CreateApplicationSchema) GetSdkVersionOk ¶

func (o *CreateApplicationSchema) GetSdkVersionOk() (*string, bool)

GetSdkVersionOk returns a tuple with the SdkVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateApplicationSchema) GetStrategies ¶

func (o *CreateApplicationSchema) GetStrategies() []string

GetStrategies returns the Strategies field value if set, zero value otherwise.

func (*CreateApplicationSchema) GetStrategiesOk ¶

func (o *CreateApplicationSchema) GetStrategiesOk() ([]string, bool)

GetStrategiesOk returns a tuple with the Strategies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateApplicationSchema) GetUrl ¶

func (o *CreateApplicationSchema) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*CreateApplicationSchema) GetUrlOk ¶

func (o *CreateApplicationSchema) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateApplicationSchema) HasAppName ¶

func (o *CreateApplicationSchema) HasAppName() bool

HasAppName returns a boolean if a field has been set.

func (*CreateApplicationSchema) HasColor ¶

func (o *CreateApplicationSchema) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*CreateApplicationSchema) HasIcon ¶

func (o *CreateApplicationSchema) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*CreateApplicationSchema) HasSdkVersion ¶

func (o *CreateApplicationSchema) HasSdkVersion() bool

HasSdkVersion returns a boolean if a field has been set.

func (*CreateApplicationSchema) HasStrategies ¶

func (o *CreateApplicationSchema) HasStrategies() bool

HasStrategies returns a boolean if a field has been set.

func (*CreateApplicationSchema) HasUrl ¶

func (o *CreateApplicationSchema) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (CreateApplicationSchema) MarshalJSON ¶

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

func (*CreateApplicationSchema) SetAppName ¶

func (o *CreateApplicationSchema) SetAppName(v string)

SetAppName gets a reference to the given string and assigns it to the AppName field.

func (*CreateApplicationSchema) SetColor ¶

func (o *CreateApplicationSchema) SetColor(v string)

SetColor gets a reference to the given string and assigns it to the Color field.

func (*CreateApplicationSchema) SetIcon ¶

func (o *CreateApplicationSchema) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*CreateApplicationSchema) SetSdkVersion ¶

func (o *CreateApplicationSchema) SetSdkVersion(v string)

SetSdkVersion gets a reference to the given string and assigns it to the SdkVersion field.

func (*CreateApplicationSchema) SetStrategies ¶

func (o *CreateApplicationSchema) SetStrategies(v []string)

SetStrategies gets a reference to the given []string and assigns it to the Strategies field.

func (*CreateApplicationSchema) SetUrl ¶

func (o *CreateApplicationSchema) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (CreateApplicationSchema) ToMap ¶

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

func (*CreateApplicationSchema) UnmarshalJSON ¶

func (o *CreateApplicationSchema) UnmarshalJSON(bytes []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"`
	// The [type of environment](https://docs.getunleash.io/reference/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"`
}

CreateEnvironmentSchema Data required to create a new [environment](https://docs.getunleash.io/reference/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) 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) 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) 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)

type CreateFeatureSchema ¶

type CreateFeatureSchema struct {
	Name           string  `json:"name"`
	Type           *string `json:"type,omitempty"`
	Description    *string `json:"description,omitempty"`
	ImpressionData *bool   `json:"impressionData,omitempty"`
}

CreateFeatureSchema struct for CreateFeatureSchema

func NewCreateFeatureSchema ¶

func NewCreateFeatureSchema(name string) *CreateFeatureSchema

NewCreateFeatureSchema instantiates a new CreateFeatureSchema 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 NewCreateFeatureSchemaWithDefaults ¶

func NewCreateFeatureSchemaWithDefaults() *CreateFeatureSchema

NewCreateFeatureSchemaWithDefaults instantiates a new CreateFeatureSchema 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 (*CreateFeatureSchema) GetDescription ¶

func (o *CreateFeatureSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateFeatureSchema) GetDescriptionOk ¶

func (o *CreateFeatureSchema) 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 (*CreateFeatureSchema) GetImpressionData ¶

func (o *CreateFeatureSchema) GetImpressionData() bool

GetImpressionData returns the ImpressionData field value if set, zero value otherwise.

func (*CreateFeatureSchema) GetImpressionDataOk ¶

func (o *CreateFeatureSchema) GetImpressionDataOk() (*bool, bool)

GetImpressionDataOk returns a tuple with the ImpressionData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateFeatureSchema) GetName ¶

func (o *CreateFeatureSchema) GetName() string

GetName returns the Name field value

func (*CreateFeatureSchema) GetNameOk ¶

func (o *CreateFeatureSchema) GetNameOk() (*string, bool)

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

func (*CreateFeatureSchema) GetType ¶

func (o *CreateFeatureSchema) GetType() string

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

func (*CreateFeatureSchema) GetTypeOk ¶

func (o *CreateFeatureSchema) 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 (*CreateFeatureSchema) HasDescription ¶

func (o *CreateFeatureSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateFeatureSchema) HasImpressionData ¶

func (o *CreateFeatureSchema) HasImpressionData() bool

HasImpressionData returns a boolean if a field has been set.

func (*CreateFeatureSchema) HasType ¶

func (o *CreateFeatureSchema) HasType() bool

HasType returns a boolean if a field has been set.

func (CreateFeatureSchema) MarshalJSON ¶

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

func (*CreateFeatureSchema) SetDescription ¶

func (o *CreateFeatureSchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateFeatureSchema) SetImpressionData ¶

func (o *CreateFeatureSchema) SetImpressionData(v bool)

SetImpressionData gets a reference to the given bool and assigns it to the ImpressionData field.

func (*CreateFeatureSchema) SetName ¶

func (o *CreateFeatureSchema) SetName(v string)

SetName sets field value

func (*CreateFeatureSchema) SetType ¶

func (o *CreateFeatureSchema) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (CreateFeatureSchema) ToMap ¶

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

type CreateFeatureStrategySchema ¶

type CreateFeatureStrategySchema struct {
	// 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 order of the strategy in the list
	SortOrder *float32 `json:"sortOrder,omitempty"`
	// A list of the constraints attached to the strategy
	Constraints []ConstraintSchema `json:"constraints,omitempty"`
	Parameters  *map[string]string `json:"parameters,omitempty"`
	// Ids of segments to use for this strategy
	Segments []float32 `json:"segments,omitempty"`
}

CreateFeatureStrategySchema struct for CreateFeatureStrategySchema

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) 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) 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) ToMap ¶

func (o CreateFeatureStrategySchema) ToMap() (map[string]interface{}, 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 CreateInvitedUserSchema ¶

type CreateInvitedUserSchema struct {
	Username *string `json:"username,omitempty"`
	Email    string  `json:"email"`
	Name     string  `json:"name"`
	Password string  `json:"password"`
}

CreateInvitedUserSchema struct for CreateInvitedUserSchema

func NewCreateInvitedUserSchema ¶

func NewCreateInvitedUserSchema(email string, name string, password string) *CreateInvitedUserSchema

NewCreateInvitedUserSchema instantiates a new CreateInvitedUserSchema 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 NewCreateInvitedUserSchemaWithDefaults ¶

func NewCreateInvitedUserSchemaWithDefaults() *CreateInvitedUserSchema

NewCreateInvitedUserSchemaWithDefaults instantiates a new CreateInvitedUserSchema 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 (*CreateInvitedUserSchema) GetEmail ¶

func (o *CreateInvitedUserSchema) GetEmail() string

GetEmail returns the Email field value

func (*CreateInvitedUserSchema) GetEmailOk ¶

func (o *CreateInvitedUserSchema) GetEmailOk() (*string, bool)

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

func (*CreateInvitedUserSchema) GetName ¶

func (o *CreateInvitedUserSchema) GetName() string

GetName returns the Name field value

func (*CreateInvitedUserSchema) GetNameOk ¶

func (o *CreateInvitedUserSchema) GetNameOk() (*string, bool)

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

func (*CreateInvitedUserSchema) GetPassword ¶

func (o *CreateInvitedUserSchema) GetPassword() string

GetPassword returns the Password field value

func (*CreateInvitedUserSchema) GetPasswordOk ¶

func (o *CreateInvitedUserSchema) GetPasswordOk() (*string, bool)

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

func (*CreateInvitedUserSchema) GetUsername ¶

func (o *CreateInvitedUserSchema) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*CreateInvitedUserSchema) GetUsernameOk ¶

func (o *CreateInvitedUserSchema) 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 (*CreateInvitedUserSchema) HasUsername ¶

func (o *CreateInvitedUserSchema) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (CreateInvitedUserSchema) MarshalJSON ¶

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

func (*CreateInvitedUserSchema) SetEmail ¶

func (o *CreateInvitedUserSchema) SetEmail(v string)

SetEmail sets field value

func (*CreateInvitedUserSchema) SetName ¶

func (o *CreateInvitedUserSchema) SetName(v string)

SetName sets field value

func (*CreateInvitedUserSchema) SetPassword ¶

func (o *CreateInvitedUserSchema) SetPassword(v string)

SetPassword sets field value

func (*CreateInvitedUserSchema) SetUsername ¶

func (o *CreateInvitedUserSchema) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (CreateInvitedUserSchema) ToMap ¶

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

type CreateProjectSchema ¶

type CreateProjectSchema struct {
	// The project's identifier.
	Id string `json:"id"`
	// 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"`
}

CreateProjectSchema struct for CreateProjectSchema

func NewCreateProjectSchema ¶

func NewCreateProjectSchema(id string, 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) 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) GetFeatureLimit ¶

func (o *CreateProjectSchema) GetFeatureLimit() int32

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

func (*CreateProjectSchema) GetFeatureLimitOk ¶

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

func (o *CreateProjectSchema) GetId() string

GetId returns the Id field value

func (*CreateProjectSchema) GetIdOk ¶

func (o *CreateProjectSchema) GetIdOk() (*string, bool)

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

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) 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) HasFeatureLimit ¶

func (o *CreateProjectSchema) HasFeatureLimit() bool

HasFeatureLimit 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) 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) SetFeatureLimit ¶

func (o *CreateProjectSchema) SetFeatureLimit(v int32)

SetFeatureLimit gets a reference to the given NullableInt32 and assigns it to the FeatureLimit field.

func (*CreateProjectSchema) SetFeatureLimitNil ¶

func (o *CreateProjectSchema) SetFeatureLimitNil()

SetFeatureLimitNil sets the value for FeatureLimit to be an explicit nil

func (*CreateProjectSchema) SetId ¶

func (o *CreateProjectSchema) SetId(v string)

SetId sets field value

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) UnsetDescription ¶

func (o *CreateProjectSchema) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*CreateProjectSchema) UnsetFeatureLimit ¶

func (o *CreateProjectSchema) UnsetFeatureLimit()

UnsetFeatureLimit ensures that no value is present for FeatureLimit, not even an explicit nil

type CreateRoleWithPermissionsSchema ¶

type CreateRoleWithPermissionsSchema struct {
	Name        string                                            `json:"name"`
	Description *string                                           `json:"description,omitempty"`
	Type        *string                                           `json:"type,omitempty"`
	Permissions []CreateRoleWithPermissionsSchemaPermissionsInner `json:"permissions,omitempty"`
}

CreateRoleWithPermissionsSchema struct for CreateRoleWithPermissionsSchema

func NewCreateRoleWithPermissionsSchema ¶

func NewCreateRoleWithPermissionsSchema(name string) *CreateRoleWithPermissionsSchema

NewCreateRoleWithPermissionsSchema instantiates a new CreateRoleWithPermissionsSchema 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 NewCreateRoleWithPermissionsSchemaWithDefaults ¶

func NewCreateRoleWithPermissionsSchemaWithDefaults() *CreateRoleWithPermissionsSchema

NewCreateRoleWithPermissionsSchemaWithDefaults instantiates a new CreateRoleWithPermissionsSchema 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 (*CreateRoleWithPermissionsSchema) GetDescription ¶

func (o *CreateRoleWithPermissionsSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateRoleWithPermissionsSchema) GetDescriptionOk ¶

func (o *CreateRoleWithPermissionsSchema) 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 (*CreateRoleWithPermissionsSchema) GetName ¶

GetName returns the Name field value

func (*CreateRoleWithPermissionsSchema) GetNameOk ¶

func (o *CreateRoleWithPermissionsSchema) GetNameOk() (*string, bool)

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

func (*CreateRoleWithPermissionsSchema) GetPermissions ¶

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

func (*CreateRoleWithPermissionsSchema) GetPermissionsOk ¶

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 (*CreateRoleWithPermissionsSchema) GetType ¶

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

func (*CreateRoleWithPermissionsSchema) GetTypeOk ¶

func (o *CreateRoleWithPermissionsSchema) 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 (*CreateRoleWithPermissionsSchema) HasDescription ¶

func (o *CreateRoleWithPermissionsSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateRoleWithPermissionsSchema) HasPermissions ¶

func (o *CreateRoleWithPermissionsSchema) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (*CreateRoleWithPermissionsSchema) HasType ¶

HasType returns a boolean if a field has been set.

func (CreateRoleWithPermissionsSchema) MarshalJSON ¶

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

func (*CreateRoleWithPermissionsSchema) SetDescription ¶

func (o *CreateRoleWithPermissionsSchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateRoleWithPermissionsSchema) SetName ¶

SetName sets field value

func (*CreateRoleWithPermissionsSchema) SetPermissions ¶

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

func (*CreateRoleWithPermissionsSchema) SetType ¶

SetType gets a reference to the given string and assigns it to the Type field.

func (CreateRoleWithPermissionsSchema) ToMap ¶

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

type CreateRoleWithPermissionsSchemaPermissionsInner ¶

type CreateRoleWithPermissionsSchemaPermissionsInner struct {
	Id          float32 `json:"id"`
	Environment *string `json:"environment,omitempty"`
}

CreateRoleWithPermissionsSchemaPermissionsInner struct for CreateRoleWithPermissionsSchemaPermissionsInner

func NewCreateRoleWithPermissionsSchemaPermissionsInner ¶

func NewCreateRoleWithPermissionsSchemaPermissionsInner(id float32) *CreateRoleWithPermissionsSchemaPermissionsInner

NewCreateRoleWithPermissionsSchemaPermissionsInner instantiates a new CreateRoleWithPermissionsSchemaPermissionsInner 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 NewCreateRoleWithPermissionsSchemaPermissionsInnerWithDefaults ¶

func NewCreateRoleWithPermissionsSchemaPermissionsInnerWithDefaults() *CreateRoleWithPermissionsSchemaPermissionsInner

NewCreateRoleWithPermissionsSchemaPermissionsInnerWithDefaults instantiates a new CreateRoleWithPermissionsSchemaPermissionsInner 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 (*CreateRoleWithPermissionsSchemaPermissionsInner) GetEnvironment ¶

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*CreateRoleWithPermissionsSchemaPermissionsInner) GetEnvironmentOk ¶

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 (*CreateRoleWithPermissionsSchemaPermissionsInner) GetId ¶

GetId returns the Id field value

func (*CreateRoleWithPermissionsSchemaPermissionsInner) GetIdOk ¶

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

func (*CreateRoleWithPermissionsSchemaPermissionsInner) HasEnvironment ¶

HasEnvironment returns a boolean if a field has been set.

func (CreateRoleWithPermissionsSchemaPermissionsInner) MarshalJSON ¶

func (*CreateRoleWithPermissionsSchemaPermissionsInner) SetEnvironment ¶

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

func (*CreateRoleWithPermissionsSchemaPermissionsInner) SetId ¶

SetId sets field value

func (CreateRoleWithPermissionsSchemaPermissionsInner) ToMap ¶

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

type CreateServiceAccountSchema ¶

type CreateServiceAccountSchema struct {
	// The username of the service account
	Username *string `json:"username,omitempty"`
	// 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"`
}

CreateServiceAccountSchema Describes the properties required to create a new service account

func NewCreateServiceAccountSchema ¶

func NewCreateServiceAccountSchema(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 if set, zero value otherwise.

func (*CreateServiceAccountSchema) GetNameOk ¶

func (o *CreateServiceAccountSchema) 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 (*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 if set, zero value otherwise.

func (*CreateServiceAccountSchema) GetUsernameOk ¶

func (o *CreateServiceAccountSchema) 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 (*CreateServiceAccountSchema) HasName ¶

func (o *CreateServiceAccountSchema) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateServiceAccountSchema) HasUsername ¶

func (o *CreateServiceAccountSchema) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (CreateServiceAccountSchema) MarshalJSON ¶

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

func (*CreateServiceAccountSchema) SetName ¶

func (o *CreateServiceAccountSchema) SetName(v string)

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

func (*CreateServiceAccountSchema) SetRootRole ¶

func (o *CreateServiceAccountSchema) SetRootRole(v int32)

SetRootRole sets field value

func (*CreateServiceAccountSchema) SetUsername ¶

func (o *CreateServiceAccountSchema) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (CreateServiceAccountSchema) ToMap ¶

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

type CreateStrategySchema ¶

type CreateStrategySchema struct {
	// The name of the strategy type. Must be unique.
	Name string `json:"name"`
	// A description of the strategy type.
	Description *string `json:"description,omitempty"`
	// The parameter list lets you pass arguments to your custom activation strategy. These will be made available to your custom strategy implementation.
	Parameters []CreateStrategySchemaParametersInner `json:"parameters"`
}

CreateStrategySchema The data required to create a strategy type. Refer to the docs on [custom strategy types](https://docs.getunleash.io/reference/custom-activation-strategies) for more information.

func NewCreateStrategySchema ¶

func NewCreateStrategySchema(name string, parameters []CreateStrategySchemaParametersInner) *CreateStrategySchema

NewCreateStrategySchema instantiates a new CreateStrategySchema 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 NewCreateStrategySchemaWithDefaults ¶

func NewCreateStrategySchemaWithDefaults() *CreateStrategySchema

NewCreateStrategySchemaWithDefaults instantiates a new CreateStrategySchema 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 (*CreateStrategySchema) GetDescription ¶

func (o *CreateStrategySchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateStrategySchema) GetDescriptionOk ¶

func (o *CreateStrategySchema) 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 (*CreateStrategySchema) GetName ¶

func (o *CreateStrategySchema) GetName() string

GetName returns the Name field value

func (*CreateStrategySchema) GetNameOk ¶

func (o *CreateStrategySchema) GetNameOk() (*string, bool)

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

func (*CreateStrategySchema) GetParameters ¶

GetParameters returns the Parameters field value

func (*CreateStrategySchema) GetParametersOk ¶

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

func (*CreateStrategySchema) HasDescription ¶

func (o *CreateStrategySchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateStrategySchema) MarshalJSON ¶

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

func (*CreateStrategySchema) SetDescription ¶

func (o *CreateStrategySchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateStrategySchema) SetName ¶

func (o *CreateStrategySchema) SetName(v string)

SetName sets field value

func (*CreateStrategySchema) SetParameters ¶

SetParameters sets field value

func (CreateStrategySchema) ToMap ¶

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

type CreateStrategySchemaParametersInner ¶

type CreateStrategySchemaParametersInner struct {
	// The name of the parameter
	Name string `json:"name"`
	// The [type of the parameter](https://docs.getunleash.io/reference/custom-activation-strategies#parameter-types)
	Type string `json:"type"`
	// A description of this strategy parameter. Use this to indicate to the users what the parameter does.
	Description *string `json:"description,omitempty"`
	// Whether this parameter must be configured when using the strategy. Defaults to `false`
	Required *bool `json:"required,omitempty"`
}

CreateStrategySchemaParametersInner struct for CreateStrategySchemaParametersInner

func NewCreateStrategySchemaParametersInner ¶

func NewCreateStrategySchemaParametersInner(name string, type_ string) *CreateStrategySchemaParametersInner

NewCreateStrategySchemaParametersInner instantiates a new CreateStrategySchemaParametersInner 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 NewCreateStrategySchemaParametersInnerWithDefaults ¶

func NewCreateStrategySchemaParametersInnerWithDefaults() *CreateStrategySchemaParametersInner

NewCreateStrategySchemaParametersInnerWithDefaults instantiates a new CreateStrategySchemaParametersInner 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 (*CreateStrategySchemaParametersInner) GetDescription ¶

func (o *CreateStrategySchemaParametersInner) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateStrategySchemaParametersInner) GetDescriptionOk ¶

func (o *CreateStrategySchemaParametersInner) 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 (*CreateStrategySchemaParametersInner) GetName ¶

GetName returns the Name field value

func (*CreateStrategySchemaParametersInner) GetNameOk ¶

func (o *CreateStrategySchemaParametersInner) GetNameOk() (*string, bool)

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

func (*CreateStrategySchemaParametersInner) GetRequired ¶

func (o *CreateStrategySchemaParametersInner) GetRequired() bool

GetRequired returns the Required field value if set, zero value otherwise.

func (*CreateStrategySchemaParametersInner) GetRequiredOk ¶

func (o *CreateStrategySchemaParametersInner) GetRequiredOk() (*bool, bool)

GetRequiredOk returns a tuple with the Required field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateStrategySchemaParametersInner) GetType ¶

GetType returns the Type field value

func (*CreateStrategySchemaParametersInner) GetTypeOk ¶

func (o *CreateStrategySchemaParametersInner) GetTypeOk() (*string, bool)

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

func (*CreateStrategySchemaParametersInner) HasDescription ¶

func (o *CreateStrategySchemaParametersInner) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateStrategySchemaParametersInner) HasRequired ¶

func (o *CreateStrategySchemaParametersInner) HasRequired() bool

HasRequired returns a boolean if a field has been set.

func (CreateStrategySchemaParametersInner) MarshalJSON ¶

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

func (*CreateStrategySchemaParametersInner) SetDescription ¶

func (o *CreateStrategySchemaParametersInner) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateStrategySchemaParametersInner) SetName ¶

SetName sets field value

func (*CreateStrategySchemaParametersInner) SetRequired ¶

func (o *CreateStrategySchemaParametersInner) SetRequired(v bool)

SetRequired gets a reference to the given bool and assigns it to the Required field.

func (*CreateStrategySchemaParametersInner) SetType ¶

SetType sets field value

func (CreateStrategySchemaParametersInner) ToMap ¶

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

type CreateStrategyVariantSchema ¶

type CreateStrategyVariantSchema struct {
	// The variant name. Must be unique for this feature toggle
	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/reference/feature-toggle-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/reference/feature-toggle-variants#variant-weight).
	WeightType string `json:"weightType"`
	// The [stickiness](https://docs.getunleash.io/reference/feature-toggle-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              *VariantSchemaPayload `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 VariantSchemaPayload 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(bytes []byte) (err error)

type CreateUserResponseSchema ¶

type CreateUserResponseSchema struct {
	// The user id
	Id int32 `json:"id"`
	// (Deprecated): Used internally to know which operations the user should be allowed to perform
	// Deprecated
	IsAPI *bool `json:"isAPI,omitempty"`
	// Name of the user
	Name *string `json:"name,omitempty"`
	// Email of the user
	Email *string `json:"email,omitempty"`
	// A unique username for the user
	Username *string `json:"username,omitempty"`
	// URL used for the userprofile 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"`
}

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) 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) 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) GetIsAPI ¶

func (o *CreateUserResponseSchema) GetIsAPI() bool

GetIsAPI returns the IsAPI field value if set, zero value otherwise. Deprecated

func (*CreateUserResponseSchema) GetIsAPIOk ¶

func (o *CreateUserResponseSchema) 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 (*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.

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.

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

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.

func (*CreateUserResponseSchema) HasAccountType ¶

func (o *CreateUserResponseSchema) HasAccountType() bool

HasAccountType 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) 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) HasIsAPI ¶

func (o *CreateUserResponseSchema) HasIsAPI() bool

HasIsAPI 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) HasRootRole ¶

func (o *CreateUserResponseSchema) HasRootRole() bool

HasRootRole 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) 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) 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) SetIsAPI ¶

func (o *CreateUserResponseSchema) SetIsAPI(v bool)

SetIsAPI gets a reference to the given bool and assigns it to the IsAPI field. Deprecated

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 string and assigns it to the Name field.

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) SetRootRole ¶

SetRootRole gets a reference to the given CreateUserResponseSchemaRootRole and assigns it to the RootRole field.

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 string and assigns it to the Username field.

func (CreateUserResponseSchema) ToMap ¶

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

func (*CreateUserResponseSchema) UnsetSeenAt ¶

func (o *CreateUserResponseSchema) UnsetSeenAt()

UnsetSeenAt ensures that no value is present for SeenAt, not even an explicit nil

type CreateUserResponseSchemaRootRole ¶

type CreateUserResponseSchemaRootRole struct {
	Int32  *int32
	String *string
}

CreateUserResponseSchemaRootRole - Which [root role](https://docs.getunleash.io/reference/rbac#standard-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 {
	Username  *string `json:"username,omitempty"`
	Email     *string `json:"email,omitempty"`
	Name      *string `json:"name,omitempty"`
	Password  *string `json:"password,omitempty"`
	RootRole  float32 `json:"rootRole"`
	SendEmail *bool   `json:"sendEmail,omitempty"`
}

CreateUserSchema struct for CreateUserSchema

func NewCreateUserSchema ¶

func NewCreateUserSchema(rootRole float32) *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() float32

GetRootRole returns the RootRole field value

func (*CreateUserSchema) GetRootRoleOk ¶

func (o *CreateUserSchema) GetRootRoleOk() (*float32, 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 float32)

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)

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 DateSchema ¶

type DateSchema struct {
	Float32  *float32
	TimeTime *time.Time
}

DateSchema - struct for DateSchema

func Float32AsDateSchema ¶

func Float32AsDateSchema(v *float32) DateSchema

float32AsDateSchema is a convenience function that returns float32 wrapped in DateSchema

func TimeTimeAsDateSchema ¶

func TimeTimeAsDateSchema(v *time.Time) DateSchema

time.TimeAsDateSchema is a convenience function that returns time.Time wrapped in DateSchema

func (*DateSchema) GetActualInstance ¶

func (obj *DateSchema) GetActualInstance() interface{}

Get the actual instance

func (DateSchema) MarshalJSON ¶

func (src DateSchema) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*DateSchema) UnmarshalJSON ¶

func (dst *DateSchema) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type DeleteRole409Response ¶

type DeleteRole409Response 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"`
}

DeleteRole409Response struct for DeleteRole409Response

func NewDeleteRole409Response ¶

func NewDeleteRole409Response() *DeleteRole409Response

NewDeleteRole409Response instantiates a new DeleteRole409Response 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 NewDeleteRole409ResponseWithDefaults ¶

func NewDeleteRole409ResponseWithDefaults() *DeleteRole409Response

NewDeleteRole409ResponseWithDefaults instantiates a new DeleteRole409Response 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 (*DeleteRole409Response) GetId ¶

func (o *DeleteRole409Response) GetId() string

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

func (*DeleteRole409Response) GetIdOk ¶

func (o *DeleteRole409Response) 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 (*DeleteRole409Response) GetMessage ¶

func (o *DeleteRole409Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*DeleteRole409Response) GetMessageOk ¶

func (o *DeleteRole409Response) 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 (*DeleteRole409Response) GetName ¶

func (o *DeleteRole409Response) GetName() string

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

func (*DeleteRole409Response) GetNameOk ¶

func (o *DeleteRole409Response) 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 (*DeleteRole409Response) HasId ¶

func (o *DeleteRole409Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*DeleteRole409Response) HasMessage ¶

func (o *DeleteRole409Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*DeleteRole409Response) HasName ¶

func (o *DeleteRole409Response) HasName() bool

HasName returns a boolean if a field has been set.

func (DeleteRole409Response) MarshalJSON ¶

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

func (*DeleteRole409Response) SetId ¶

func (o *DeleteRole409Response) SetId(v string)

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

func (*DeleteRole409Response) SetMessage ¶

func (o *DeleteRole409Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*DeleteRole409Response) SetName ¶

func (o *DeleteRole409Response) SetName(v string)

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

func (DeleteRole409Response) ToMap ¶

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

type EdgeApiService ¶

type EdgeApiService service

EdgeApiService EdgeApi service

func (*EdgeApiService) BulkMetrics ¶

BulkMetrics Send metrics from Edge

This operation accepts batched metrics from Edge. Metrics will be inserted into Unleash's metrics storage

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkMetricsRequest

func (*EdgeApiService) BulkMetricsExecute ¶

func (a *EdgeApiService) BulkMetricsExecute(r ApiBulkMetricsRequest) (*http.Response, error)

Execute executes the request

func (*EdgeApiService) GetValidTokens ¶

func (a *EdgeApiService) GetValidTokens(ctx context.Context) ApiGetValidTokensRequest

GetValidTokens Check which tokens are valid

This operation accepts a list of tokens to validate. Unleash will validate each token you provide. For each valid token you provide, Unleash will return the token along with its type and which projects it has access to.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetValidTokensRequest

func (*EdgeApiService) GetValidTokensExecute ¶

Execute executes the request

@return ValidatedEdgeTokensSchema

type EdgeTokenSchema ¶

type EdgeTokenSchema struct {
	// 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 [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys#api-tokens)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with
	Type string `json:"type"`
	// The actual token value. [Unleash API tokens](https://docs.getunleash.io/reference/api-tokens-and-client-keys) are comprised of three parts. <project(s)>:<environment>.randomcharacters
	Token string `json:"token"`
}

EdgeTokenSchema A representation of a client token, limiting access to [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens) (used by serverside SDKs) or [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens) (used by proxy SDKs)

func NewEdgeTokenSchema ¶

func NewEdgeTokenSchema(projects []string, type_ string, token string) *EdgeTokenSchema

NewEdgeTokenSchema instantiates a new EdgeTokenSchema 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 NewEdgeTokenSchemaWithDefaults ¶

func NewEdgeTokenSchemaWithDefaults() *EdgeTokenSchema

NewEdgeTokenSchemaWithDefaults instantiates a new EdgeTokenSchema 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 (*EdgeTokenSchema) GetProjects ¶

func (o *EdgeTokenSchema) GetProjects() []string

GetProjects returns the Projects field value

func (*EdgeTokenSchema) GetProjectsOk ¶

func (o *EdgeTokenSchema) GetProjectsOk() ([]string, bool)

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

func (*EdgeTokenSchema) GetToken ¶

func (o *EdgeTokenSchema) GetToken() string

GetToken returns the Token field value

func (*EdgeTokenSchema) GetTokenOk ¶

func (o *EdgeTokenSchema) GetTokenOk() (*string, bool)

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

func (*EdgeTokenSchema) GetType ¶

func (o *EdgeTokenSchema) GetType() string

GetType returns the Type field value

func (*EdgeTokenSchema) GetTypeOk ¶

func (o *EdgeTokenSchema) GetTypeOk() (*string, bool)

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

func (EdgeTokenSchema) MarshalJSON ¶

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

func (*EdgeTokenSchema) SetProjects ¶

func (o *EdgeTokenSchema) SetProjects(v []string)

SetProjects sets field value

func (*EdgeTokenSchema) SetToken ¶

func (o *EdgeTokenSchema) SetToken(v string)

SetToken sets field value

func (*EdgeTokenSchema) SetType ¶

func (o *EdgeTokenSchema) SetType(v string)

SetType sets field value

func (EdgeTokenSchema) ToMap ¶

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

type EmailSchema ¶

type EmailSchema struct {
	Email string `json:"email"`
}

EmailSchema struct for EmailSchema

func NewEmailSchema ¶

func NewEmailSchema(email string) *EmailSchema

NewEmailSchema instantiates a new EmailSchema 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 NewEmailSchemaWithDefaults ¶

func NewEmailSchemaWithDefaults() *EmailSchema

NewEmailSchemaWithDefaults instantiates a new EmailSchema 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 (*EmailSchema) GetEmail ¶

func (o *EmailSchema) GetEmail() string

GetEmail returns the Email field value

func (*EmailSchema) GetEmailOk ¶

func (o *EmailSchema) GetEmailOk() (*string, bool)

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

func (EmailSchema) MarshalJSON ¶

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

func (*EmailSchema) SetEmail ¶

func (o *EmailSchema) SetEmail(v string)

SetEmail sets field value

func (EmailSchema) ToMap ¶

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

type EnvironmentProjectSchema ¶

type EnvironmentProjectSchema struct {
	// The name of the environment
	Name string `json:"name"`
	// The [type of environment](https://docs.getunleash.io/reference/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           *CreateFeatureStrategySchema `json:"defaultStrategy,omitempty"`
}

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

GetDefaultStrategy returns the DefaultStrategy field value if set, zero value otherwise.

func (*EnvironmentProjectSchema) GetDefaultStrategyOk ¶

func (o *EnvironmentProjectSchema) 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 (*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) 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) 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) MarshalJSON ¶

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

func (*EnvironmentProjectSchema) SetDefaultStrategy ¶

func (o *EnvironmentProjectSchema) SetDefaultStrategy(v CreateFeatureStrategySchema)

SetDefaultStrategy gets a reference to the given CreateFeatureStrategySchema 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) 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) ToMap ¶

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

type EnvironmentSchema ¶

type EnvironmentSchema struct {
	// The name of the environment
	Name string `json:"name"`
	// The [type of environment](https://docs.getunleash.io/reference/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"`
}

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

type EnvironmentsApiService ¶

type EnvironmentsApiService service

EnvironmentsApiService EnvironmentsApi service

func (*EnvironmentsApiService) GetAllEnvironments ¶

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 ¶

Execute executes the request

@return EnvironmentsSchema

func (*EnvironmentsApiService) GetEnvironment ¶

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 ¶

Execute executes the request

@return EnvironmentSchema

func (*EnvironmentsApiService) GetProjectEnvironments ¶

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/reference/environments#step-1-enable-new-environments-for-your-project)

@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 ¶

Execute executes the request

@return EnvironmentsProjectSchema

func (*EnvironmentsApiService) ToggleEnvironmentOff ¶

func (a *EnvironmentsApiService) ToggleEnvironmentOff(ctx context.Context, name string) ApiToggleEnvironmentOffRequest

ToggleEnvironmentOff Toggle the environment with `name` off

Removes this environment from the list of available environments for projects to use

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiToggleEnvironmentOffRequest

func (*EnvironmentsApiService) ToggleEnvironmentOffExecute ¶

func (a *EnvironmentsApiService) ToggleEnvironmentOffExecute(r ApiToggleEnvironmentOffRequest) (*http.Response, error)

Execute executes the request

func (*EnvironmentsApiService) ToggleEnvironmentOn ¶

ToggleEnvironmentOn Toggle the environment with `name` on

Makes it possible to enable this environment for a project. An environment must first be globally enabled using this endpoint before it can be enabled for a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiToggleEnvironmentOnRequest

func (*EnvironmentsApiService) ToggleEnvironmentOnExecute ¶

func (a *EnvironmentsApiService) ToggleEnvironmentOnExecute(r ApiToggleEnvironmentOnRequest) (*http.Response, error)

Execute executes the request

func (*EnvironmentsApiService) UpdateSortOrder ¶

UpdateSortOrder Update environment sort orders

Updates sort orders for the named environments. Environments not specified are unaffected.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateSortOrderRequest

func (*EnvironmentsApiService) UpdateSortOrderExecute ¶

func (a *EnvironmentsApiService) UpdateSortOrderExecute(r ApiUpdateSortOrderRequest) (*http.Response, error)

Execute executes the request

type EnvironmentsProjectSchema ¶

type EnvironmentsProjectSchema struct {
	Version      int32                      `json:"version"`
	Environments []EnvironmentProjectSchema `json:"environments"`
}

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)

type EnvironmentsSchema ¶

type EnvironmentsSchema struct {
	Version      int32               `json:"version"`
	Environments []EnvironmentSchema `json:"environments"`
}

EnvironmentsSchema struct for EnvironmentsSchema

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)

type EventSchema ¶

type EventSchema struct {
	Id          int32                  `json:"id"`
	CreatedAt   time.Time              `json:"createdAt"`
	Type        string                 `json:"type"`
	CreatedBy   string                 `json:"createdBy"`
	Environment NullableString         `json:"environment,omitempty"`
	Project     NullableString         `json:"project,omitempty"`
	FeatureName NullableString         `json:"featureName,omitempty"`
	Data        map[string]interface{} `json:"data,omitempty"`
	PreData     map[string]interface{} `json:"preData,omitempty"`
	Tags        []TagSchema            `json:"tags,omitempty"`
}

EventSchema struct for EventSchema

func NewEventSchema ¶

func NewEventSchema(id int32, createdAt time.Time, type_ string, createdBy string) *EventSchema

NewEventSchema instantiates a new EventSchema 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 NewEventSchemaWithDefaults ¶

func NewEventSchemaWithDefaults() *EventSchema

NewEventSchemaWithDefaults instantiates a new EventSchema 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 (*EventSchema) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value

func (*EventSchema) GetCreatedAtOk ¶

func (o *EventSchema) 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 (*EventSchema) GetCreatedBy ¶

func (o *EventSchema) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*EventSchema) GetCreatedByOk ¶

func (o *EventSchema) GetCreatedByOk() (*string, bool)

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

func (*EventSchema) GetData ¶

func (o *EventSchema) GetData() map[string]interface{}

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

func (*EventSchema) GetDataOk ¶

func (o *EventSchema) GetDataOk() (map[string]interface{}, bool)

GetDataOk returns a tuple with the Data 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 (*EventSchema) GetEnvironment ¶

func (o *EventSchema) GetEnvironment() string

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

func (*EventSchema) GetEnvironmentOk ¶

func (o *EventSchema) 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 (*EventSchema) GetFeatureName ¶

func (o *EventSchema) GetFeatureName() string

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

func (*EventSchema) GetFeatureNameOk ¶

func (o *EventSchema) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EventSchema) GetId ¶

func (o *EventSchema) GetId() int32

GetId returns the Id field value

func (*EventSchema) GetIdOk ¶

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

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

func (*EventSchema) GetPreData ¶

func (o *EventSchema) GetPreData() map[string]interface{}

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

func (*EventSchema) GetPreDataOk ¶

func (o *EventSchema) GetPreDataOk() (map[string]interface{}, bool)

GetPreDataOk returns a tuple with the PreData 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 (*EventSchema) GetProject ¶

func (o *EventSchema) GetProject() string

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

func (*EventSchema) GetProjectOk ¶

func (o *EventSchema) 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 (*EventSchema) GetTags ¶

func (o *EventSchema) GetTags() []TagSchema

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

func (*EventSchema) GetTagsOk ¶

func (o *EventSchema) GetTagsOk() ([]TagSchema, bool)

GetTagsOk returns a tuple with the Tags 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 (*EventSchema) GetType ¶

func (o *EventSchema) GetType() string

GetType returns the Type field value

func (*EventSchema) GetTypeOk ¶

func (o *EventSchema) GetTypeOk() (*string, bool)

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

func (*EventSchema) HasData ¶

func (o *EventSchema) HasData() bool

HasData returns a boolean if a field has been set.

func (*EventSchema) HasEnvironment ¶

func (o *EventSchema) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*EventSchema) HasFeatureName ¶

func (o *EventSchema) HasFeatureName() bool

HasFeatureName returns a boolean if a field has been set.

func (*EventSchema) HasPreData ¶

func (o *EventSchema) HasPreData() bool

HasPreData returns a boolean if a field has been set.

func (*EventSchema) HasProject ¶

func (o *EventSchema) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*EventSchema) HasTags ¶

func (o *EventSchema) HasTags() bool

HasTags returns a boolean if a field has been set.

func (EventSchema) MarshalJSON ¶

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

func (*EventSchema) SetCreatedAt ¶

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

SetCreatedAt sets field value

func (*EventSchema) SetCreatedBy ¶

func (o *EventSchema) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*EventSchema) SetData ¶

func (o *EventSchema) SetData(v map[string]interface{})

SetData gets a reference to the given map[string]interface{} and assigns it to the Data field.

func (*EventSchema) SetEnvironment ¶

func (o *EventSchema) SetEnvironment(v string)

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

func (*EventSchema) SetEnvironmentNil ¶

func (o *EventSchema) SetEnvironmentNil()

SetEnvironmentNil sets the value for Environment to be an explicit nil

func (*EventSchema) SetFeatureName ¶

func (o *EventSchema) SetFeatureName(v string)

SetFeatureName gets a reference to the given NullableString and assigns it to the FeatureName field.

func (*EventSchema) SetFeatureNameNil ¶

func (o *EventSchema) SetFeatureNameNil()

SetFeatureNameNil sets the value for FeatureName to be an explicit nil

func (*EventSchema) SetId ¶

func (o *EventSchema) SetId(v int32)

SetId sets field value

func (*EventSchema) SetPreData ¶

func (o *EventSchema) SetPreData(v map[string]interface{})

SetPreData gets a reference to the given map[string]interface{} and assigns it to the PreData field.

func (*EventSchema) SetProject ¶

func (o *EventSchema) SetProject(v string)

SetProject gets a reference to the given NullableString and assigns it to the Project field.

func (*EventSchema) SetProjectNil ¶

func (o *EventSchema) SetProjectNil()

SetProjectNil sets the value for Project to be an explicit nil

func (*EventSchema) SetTags ¶

func (o *EventSchema) SetTags(v []TagSchema)

SetTags gets a reference to the given []TagSchema and assigns it to the Tags field.

func (*EventSchema) SetType ¶

func (o *EventSchema) SetType(v string)

SetType sets field value

func (EventSchema) ToMap ¶

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

func (*EventSchema) UnsetEnvironment ¶

func (o *EventSchema) UnsetEnvironment()

UnsetEnvironment ensures that no value is present for Environment, not even an explicit nil

func (*EventSchema) UnsetFeatureName ¶

func (o *EventSchema) UnsetFeatureName()

UnsetFeatureName ensures that no value is present for FeatureName, not even an explicit nil

func (*EventSchema) UnsetProject ¶

func (o *EventSchema) UnsetProject()

UnsetProject ensures that no value is present for Project, not even an explicit nil

type EventSchemaData ¶

type EventSchemaData struct {
	// Name of the feature toggle/strategy/environment that this event relates to
	Name *string `json:"name,omitempty"`
	// The description of the object this event relates to
	Description *string `json:"description,omitempty"`
	// If this event relates to a feature toggle, the type of feature toggle.
	Type *string `json:"type,omitempty"`
	// The project this event relates to
	Project *string `json:"project,omitempty"`
	// Is the feature toggle this event relates to stale
	Stale *bool `json:"stale,omitempty"`
	// Variants configured for this toggle
	Variants []VariantSchema `json:"variants,omitempty"`
	// The time the event happened as a RFC 3339-conformant timestamp.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The time the feature was last seen
	LastSeenAt NullableTime `json:"lastSeenAt,omitempty"`
	// Should [impression events](https://docs.getunleash.io/reference/impression-data) activate for this feature toggle
	ImpressionData       *bool `json:"impressionData,omitempty"`
	AdditionalProperties map[string]interface{}
}

EventSchemaData Extra associated data related to the event, such as feature toggle state, segment configuration, etc., if applicable.

func NewEventSchemaData ¶

func NewEventSchemaData() *EventSchemaData

NewEventSchemaData instantiates a new EventSchemaData 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 NewEventSchemaDataWithDefaults ¶

func NewEventSchemaDataWithDefaults() *EventSchemaData

NewEventSchemaDataWithDefaults instantiates a new EventSchemaData 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 (*EventSchemaData) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*EventSchemaData) GetCreatedAtOk ¶

func (o *EventSchemaData) 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 (*EventSchemaData) GetDescription ¶

func (o *EventSchemaData) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*EventSchemaData) GetDescriptionOk ¶

func (o *EventSchemaData) 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 (*EventSchemaData) GetImpressionData ¶

func (o *EventSchemaData) GetImpressionData() bool

GetImpressionData returns the ImpressionData field value if set, zero value otherwise.

func (*EventSchemaData) GetImpressionDataOk ¶

func (o *EventSchemaData) GetImpressionDataOk() (*bool, bool)

GetImpressionDataOk returns a tuple with the ImpressionData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventSchemaData) GetLastSeenAt ¶

func (o *EventSchemaData) GetLastSeenAt() time.Time

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

func (*EventSchemaData) GetLastSeenAtOk ¶

func (o *EventSchemaData) GetLastSeenAtOk() (*time.Time, bool)

GetLastSeenAtOk returns a tuple with the LastSeenAt 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 (*EventSchemaData) GetName ¶

func (o *EventSchemaData) GetName() string

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

func (*EventSchemaData) GetNameOk ¶

func (o *EventSchemaData) 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 (*EventSchemaData) GetProject ¶

func (o *EventSchemaData) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*EventSchemaData) GetProjectOk ¶

func (o *EventSchemaData) 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 (*EventSchemaData) GetStale ¶

func (o *EventSchemaData) GetStale() bool

GetStale returns the Stale field value if set, zero value otherwise.

func (*EventSchemaData) GetStaleOk ¶

func (o *EventSchemaData) GetStaleOk() (*bool, bool)

GetStaleOk returns a tuple with the Stale field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventSchemaData) GetType ¶

func (o *EventSchemaData) GetType() string

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

func (*EventSchemaData) GetTypeOk ¶

func (o *EventSchemaData) 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 (*EventSchemaData) GetVariants ¶

func (o *EventSchemaData) GetVariants() []VariantSchema

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

func (*EventSchemaData) GetVariantsOk ¶

func (o *EventSchemaData) GetVariantsOk() ([]VariantSchema, 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 (*EventSchemaData) HasCreatedAt ¶

func (o *EventSchemaData) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*EventSchemaData) HasDescription ¶

func (o *EventSchemaData) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*EventSchemaData) HasImpressionData ¶

func (o *EventSchemaData) HasImpressionData() bool

HasImpressionData returns a boolean if a field has been set.

func (*EventSchemaData) HasLastSeenAt ¶

func (o *EventSchemaData) HasLastSeenAt() bool

HasLastSeenAt returns a boolean if a field has been set.

func (*EventSchemaData) HasName ¶

func (o *EventSchemaData) HasName() bool

HasName returns a boolean if a field has been set.

func (*EventSchemaData) HasProject ¶

func (o *EventSchemaData) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*EventSchemaData) HasStale ¶

func (o *EventSchemaData) HasStale() bool

HasStale returns a boolean if a field has been set.

func (*EventSchemaData) HasType ¶

func (o *EventSchemaData) HasType() bool

HasType returns a boolean if a field has been set.

func (*EventSchemaData) HasVariants ¶

func (o *EventSchemaData) HasVariants() bool

HasVariants returns a boolean if a field has been set.

func (EventSchemaData) MarshalJSON ¶

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

func (*EventSchemaData) SetCreatedAt ¶

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*EventSchemaData) SetDescription ¶

func (o *EventSchemaData) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*EventSchemaData) SetImpressionData ¶

func (o *EventSchemaData) SetImpressionData(v bool)

SetImpressionData gets a reference to the given bool and assigns it to the ImpressionData field.

func (*EventSchemaData) SetLastSeenAt ¶

func (o *EventSchemaData) SetLastSeenAt(v time.Time)

SetLastSeenAt gets a reference to the given NullableTime and assigns it to the LastSeenAt field.

func (*EventSchemaData) SetLastSeenAtNil ¶

func (o *EventSchemaData) SetLastSeenAtNil()

SetLastSeenAtNil sets the value for LastSeenAt to be an explicit nil

func (*EventSchemaData) SetName ¶

func (o *EventSchemaData) SetName(v string)

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

func (*EventSchemaData) SetProject ¶

func (o *EventSchemaData) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*EventSchemaData) SetStale ¶

func (o *EventSchemaData) SetStale(v bool)

SetStale gets a reference to the given bool and assigns it to the Stale field.

func (*EventSchemaData) SetType ¶

func (o *EventSchemaData) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*EventSchemaData) SetVariants ¶

func (o *EventSchemaData) SetVariants(v []VariantSchema)

SetVariants gets a reference to the given []VariantSchema and assigns it to the Variants field.

func (EventSchemaData) ToMap ¶

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

func (*EventSchemaData) UnmarshalJSON ¶

func (o *EventSchemaData) UnmarshalJSON(bytes []byte) (err error)

func (*EventSchemaData) UnsetLastSeenAt ¶

func (o *EventSchemaData) UnsetLastSeenAt()

UnsetLastSeenAt ensures that no value is present for LastSeenAt, not even an explicit nil

type EventSchemaPreData ¶

type EventSchemaPreData struct {
	// Name of the feature toggle/strategy/environment that this event relates to
	Name *string `json:"name,omitempty"`
	// The description of the object this event relates to
	Description *string `json:"description,omitempty"`
	// If this event relates to a feature toggle, the type of feature toggle.
	Type *string `json:"type,omitempty"`
	// The project this event relates to
	Project *string `json:"project,omitempty"`
	// Is the feature toggle this event relates to stale
	Stale *bool `json:"stale,omitempty"`
	// Variants configured for this toggle
	Variants []VariantSchema `json:"variants,omitempty"`
	// The time the event happened as a RFC 3339-conformant timestamp.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The time the feature was last seen
	LastSeenAt NullableTime `json:"lastSeenAt,omitempty"`
	// Should [impression events](https://docs.getunleash.io/reference/impression-data) activate for this feature toggle
	ImpressionData       *bool `json:"impressionData,omitempty"`
	AdditionalProperties map[string]interface{}
}

EventSchemaPreData Data relating to the previous state of the event's subject.

func NewEventSchemaPreData ¶

func NewEventSchemaPreData() *EventSchemaPreData

NewEventSchemaPreData instantiates a new EventSchemaPreData 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 NewEventSchemaPreDataWithDefaults ¶

func NewEventSchemaPreDataWithDefaults() *EventSchemaPreData

NewEventSchemaPreDataWithDefaults instantiates a new EventSchemaPreData 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 (*EventSchemaPreData) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*EventSchemaPreData) GetCreatedAtOk ¶

func (o *EventSchemaPreData) 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 (*EventSchemaPreData) GetDescription ¶

func (o *EventSchemaPreData) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*EventSchemaPreData) GetDescriptionOk ¶

func (o *EventSchemaPreData) 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 (*EventSchemaPreData) GetImpressionData ¶

func (o *EventSchemaPreData) GetImpressionData() bool

GetImpressionData returns the ImpressionData field value if set, zero value otherwise.

func (*EventSchemaPreData) GetImpressionDataOk ¶

func (o *EventSchemaPreData) GetImpressionDataOk() (*bool, bool)

GetImpressionDataOk returns a tuple with the ImpressionData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventSchemaPreData) GetLastSeenAt ¶

func (o *EventSchemaPreData) GetLastSeenAt() time.Time

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

func (*EventSchemaPreData) GetLastSeenAtOk ¶

func (o *EventSchemaPreData) GetLastSeenAtOk() (*time.Time, bool)

GetLastSeenAtOk returns a tuple with the LastSeenAt 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 (*EventSchemaPreData) GetName ¶

func (o *EventSchemaPreData) GetName() string

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

func (*EventSchemaPreData) GetNameOk ¶

func (o *EventSchemaPreData) 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 (*EventSchemaPreData) GetProject ¶

func (o *EventSchemaPreData) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*EventSchemaPreData) GetProjectOk ¶

func (o *EventSchemaPreData) 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 (*EventSchemaPreData) GetStale ¶

func (o *EventSchemaPreData) GetStale() bool

GetStale returns the Stale field value if set, zero value otherwise.

func (*EventSchemaPreData) GetStaleOk ¶

func (o *EventSchemaPreData) GetStaleOk() (*bool, bool)

GetStaleOk returns a tuple with the Stale field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventSchemaPreData) GetType ¶

func (o *EventSchemaPreData) GetType() string

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

func (*EventSchemaPreData) GetTypeOk ¶

func (o *EventSchemaPreData) 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 (*EventSchemaPreData) GetVariants ¶

func (o *EventSchemaPreData) GetVariants() []VariantSchema

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

func (*EventSchemaPreData) GetVariantsOk ¶

func (o *EventSchemaPreData) GetVariantsOk() ([]VariantSchema, 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 (*EventSchemaPreData) HasCreatedAt ¶

func (o *EventSchemaPreData) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*EventSchemaPreData) HasDescription ¶

func (o *EventSchemaPreData) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*EventSchemaPreData) HasImpressionData ¶

func (o *EventSchemaPreData) HasImpressionData() bool

HasImpressionData returns a boolean if a field has been set.

func (*EventSchemaPreData) HasLastSeenAt ¶

func (o *EventSchemaPreData) HasLastSeenAt() bool

HasLastSeenAt returns a boolean if a field has been set.

func (*EventSchemaPreData) HasName ¶

func (o *EventSchemaPreData) HasName() bool

HasName returns a boolean if a field has been set.

func (*EventSchemaPreData) HasProject ¶

func (o *EventSchemaPreData) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*EventSchemaPreData) HasStale ¶

func (o *EventSchemaPreData) HasStale() bool

HasStale returns a boolean if a field has been set.

func (*EventSchemaPreData) HasType ¶

func (o *EventSchemaPreData) HasType() bool

HasType returns a boolean if a field has been set.

func (*EventSchemaPreData) HasVariants ¶

func (o *EventSchemaPreData) HasVariants() bool

HasVariants returns a boolean if a field has been set.

func (EventSchemaPreData) MarshalJSON ¶

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

func (*EventSchemaPreData) SetCreatedAt ¶

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*EventSchemaPreData) SetDescription ¶

func (o *EventSchemaPreData) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*EventSchemaPreData) SetImpressionData ¶

func (o *EventSchemaPreData) SetImpressionData(v bool)

SetImpressionData gets a reference to the given bool and assigns it to the ImpressionData field.

func (*EventSchemaPreData) SetLastSeenAt ¶

func (o *EventSchemaPreData) SetLastSeenAt(v time.Time)

SetLastSeenAt gets a reference to the given NullableTime and assigns it to the LastSeenAt field.

func (*EventSchemaPreData) SetLastSeenAtNil ¶

func (o *EventSchemaPreData) SetLastSeenAtNil()

SetLastSeenAtNil sets the value for LastSeenAt to be an explicit nil

func (*EventSchemaPreData) SetName ¶

func (o *EventSchemaPreData) SetName(v string)

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

func (*EventSchemaPreData) SetProject ¶

func (o *EventSchemaPreData) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*EventSchemaPreData) SetStale ¶

func (o *EventSchemaPreData) SetStale(v bool)

SetStale gets a reference to the given bool and assigns it to the Stale field.

func (*EventSchemaPreData) SetType ¶

func (o *EventSchemaPreData) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*EventSchemaPreData) SetVariants ¶

func (o *EventSchemaPreData) SetVariants(v []VariantSchema)

SetVariants gets a reference to the given []VariantSchema and assigns it to the Variants field.

func (EventSchemaPreData) ToMap ¶

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

func (*EventSchemaPreData) UnmarshalJSON ¶

func (o *EventSchemaPreData) UnmarshalJSON(bytes []byte) (err error)

func (*EventSchemaPreData) UnsetLastSeenAt ¶

func (o *EventSchemaPreData) UnsetLastSeenAt()

UnsetLastSeenAt ensures that no value is present for LastSeenAt, not even an explicit nil

type EventsApiService ¶

type EventsApiService service

EventsApiService EventsApi service

func (*EventsApiService) GetEvents ¶

GetEvents Get the most recent events from the Unleash instance or all events related to a project.

Returns **the last 100** events from the Unleash instance when called without a query parameter. When called with a `project` parameter, returns **all events** for the specified project.

If the provided project does not exist, the list of events will be empty.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetEventsRequest

func (*EventsApiService) GetEventsExecute ¶

func (a *EventsApiService) GetEventsExecute(r ApiGetEventsRequest) (*EventsSchema, *http.Response, error)

Execute executes the request

@return EventsSchema

func (*EventsApiService) GetEventsForToggle ¶

func (a *EventsApiService) GetEventsForToggle(ctx context.Context, featureName string) ApiGetEventsForToggleRequest

GetEventsForToggle Get all events related to a specific feature toggle.

Returns all events related to the specified feature toggle. If the feature toggle does not exist, the list of events will be empty.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param featureName
@return ApiGetEventsForToggleRequest

func (*EventsApiService) GetEventsForToggleExecute ¶

Execute executes the request

@return FeatureEventsSchema

func (*EventsApiService) SearchEvents ¶

SearchEvents Method for SearchEvents

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSearchEventsRequest

func (*EventsApiService) SearchEventsExecute ¶

func (a *EventsApiService) SearchEventsExecute(r ApiSearchEventsRequest) (*EventsSchema, *http.Response, error)

Execute executes the request

@return EventsSchema

type EventsSchema ¶

type EventsSchema struct {
	Version     int32         `json:"version"`
	Events      []EventSchema `json:"events"`
	TotalEvents *int32        `json:"totalEvents,omitempty"`
}

EventsSchema struct for EventsSchema

func NewEventsSchema ¶

func NewEventsSchema(version int32, events []EventSchema) *EventsSchema

NewEventsSchema instantiates a new EventsSchema 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 NewEventsSchemaWithDefaults ¶

func NewEventsSchemaWithDefaults() *EventsSchema

NewEventsSchemaWithDefaults instantiates a new EventsSchema 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 (*EventsSchema) GetEvents ¶

func (o *EventsSchema) GetEvents() []EventSchema

GetEvents returns the Events field value

func (*EventsSchema) GetEventsOk ¶

func (o *EventsSchema) GetEventsOk() ([]EventSchema, bool)

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

func (*EventsSchema) GetTotalEvents ¶

func (o *EventsSchema) GetTotalEvents() int32

GetTotalEvents returns the TotalEvents field value if set, zero value otherwise.

func (*EventsSchema) GetTotalEventsOk ¶

func (o *EventsSchema) GetTotalEventsOk() (*int32, bool)

GetTotalEventsOk returns a tuple with the TotalEvents field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventsSchema) GetVersion ¶

func (o *EventsSchema) GetVersion() int32

GetVersion returns the Version field value

func (*EventsSchema) GetVersionOk ¶

func (o *EventsSchema) GetVersionOk() (*int32, bool)

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

func (*EventsSchema) HasTotalEvents ¶

func (o *EventsSchema) HasTotalEvents() bool

HasTotalEvents returns a boolean if a field has been set.

func (EventsSchema) MarshalJSON ¶

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

func (*EventsSchema) SetEvents ¶

func (o *EventsSchema) SetEvents(v []EventSchema)

SetEvents sets field value

func (*EventsSchema) SetTotalEvents ¶

func (o *EventsSchema) SetTotalEvents(v int32)

SetTotalEvents gets a reference to the given int32 and assigns it to the TotalEvents field.

func (*EventsSchema) SetVersion ¶

func (o *EventsSchema) SetVersion(v int32)

SetVersion sets field value

func (EventsSchema) ToMap ¶

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

type ExportDownloadParameter ¶

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

ExportDownloadParameter struct for ExportDownloadParameter

func (*ExportDownloadParameter) MarshalJSON ¶

func (src *ExportDownloadParameter) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ExportDownloadParameter) UnmarshalJSON ¶

func (dst *ExportDownloadParameter) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type ExportQuerySchema ¶

type ExportQuerySchema struct {
	Environment          string `json:"environment"`
	DownloadFile         *bool  `json:"downloadFile,omitempty"`
	AdditionalProperties map[string]interface{}
}

ExportQuerySchema struct for ExportQuerySchema

func NewExportQuerySchema ¶

func NewExportQuerySchema(environment string) *ExportQuerySchema

NewExportQuerySchema instantiates a new ExportQuerySchema 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 NewExportQuerySchemaWithDefaults ¶

func NewExportQuerySchemaWithDefaults() *ExportQuerySchema

NewExportQuerySchemaWithDefaults instantiates a new ExportQuerySchema 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 (*ExportQuerySchema) GetDownloadFile ¶

func (o *ExportQuerySchema) GetDownloadFile() bool

GetDownloadFile returns the DownloadFile field value if set, zero value otherwise.

func (*ExportQuerySchema) GetDownloadFileOk ¶

func (o *ExportQuerySchema) GetDownloadFileOk() (*bool, bool)

GetDownloadFileOk returns a tuple with the DownloadFile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExportQuerySchema) GetEnvironment ¶

func (o *ExportQuerySchema) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*ExportQuerySchema) GetEnvironmentOk ¶

func (o *ExportQuerySchema) GetEnvironmentOk() (*string, bool)

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

func (*ExportQuerySchema) HasDownloadFile ¶

func (o *ExportQuerySchema) HasDownloadFile() bool

HasDownloadFile returns a boolean if a field has been set.

func (ExportQuerySchema) MarshalJSON ¶

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

func (*ExportQuerySchema) SetDownloadFile ¶

func (o *ExportQuerySchema) SetDownloadFile(v bool)

SetDownloadFile gets a reference to the given bool and assigns it to the DownloadFile field.

func (*ExportQuerySchema) SetEnvironment ¶

func (o *ExportQuerySchema) SetEnvironment(v string)

SetEnvironment sets field value

func (ExportQuerySchema) ToMap ¶

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

func (*ExportQuerySchema) UnmarshalJSON ¶

func (o *ExportQuerySchema) UnmarshalJSON(bytes []byte) (err error)

type ExportResultSchema ¶

type ExportResultSchema struct {
	Features            []FeatureSchema                   `json:"features"`
	FeatureStrategies   []FeatureStrategySchema           `json:"featureStrategies"`
	FeatureEnvironments []FeatureEnvironmentSchema        `json:"featureEnvironments,omitempty"`
	ContextFields       []ContextFieldSchema              `json:"contextFields,omitempty"`
	FeatureTags         []FeatureTagSchema                `json:"featureTags,omitempty"`
	Segments            []ExportResultSchemaSegmentsInner `json:"segments,omitempty"`
	TagTypes            []TagTypeSchema                   `json:"tagTypes"`
}

ExportResultSchema struct for ExportResultSchema

func NewExportResultSchema ¶

func NewExportResultSchema(features []FeatureSchema, featureStrategies []FeatureStrategySchema, tagTypes []TagTypeSchema) *ExportResultSchema

NewExportResultSchema instantiates a new ExportResultSchema 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 NewExportResultSchemaWithDefaults ¶

func NewExportResultSchemaWithDefaults() *ExportResultSchema

NewExportResultSchemaWithDefaults instantiates a new ExportResultSchema 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 (*ExportResultSchema) GetContextFields ¶

func (o *ExportResultSchema) GetContextFields() []ContextFieldSchema

GetContextFields returns the ContextFields field value if set, zero value otherwise.

func (*ExportResultSchema) GetContextFieldsOk ¶

func (o *ExportResultSchema) GetContextFieldsOk() ([]ContextFieldSchema, bool)

GetContextFieldsOk returns a tuple with the ContextFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExportResultSchema) GetFeatureEnvironments ¶

func (o *ExportResultSchema) GetFeatureEnvironments() []FeatureEnvironmentSchema

GetFeatureEnvironments returns the FeatureEnvironments field value if set, zero value otherwise.

func (*ExportResultSchema) GetFeatureEnvironmentsOk ¶

func (o *ExportResultSchema) GetFeatureEnvironmentsOk() ([]FeatureEnvironmentSchema, bool)

GetFeatureEnvironmentsOk returns a tuple with the FeatureEnvironments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExportResultSchema) GetFeatureStrategies ¶

func (o *ExportResultSchema) GetFeatureStrategies() []FeatureStrategySchema

GetFeatureStrategies returns the FeatureStrategies field value

func (*ExportResultSchema) GetFeatureStrategiesOk ¶

func (o *ExportResultSchema) GetFeatureStrategiesOk() ([]FeatureStrategySchema, bool)

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

func (*ExportResultSchema) GetFeatureTags ¶

func (o *ExportResultSchema) GetFeatureTags() []FeatureTagSchema

GetFeatureTags returns the FeatureTags field value if set, zero value otherwise.

func (*ExportResultSchema) GetFeatureTagsOk ¶

func (o *ExportResultSchema) GetFeatureTagsOk() ([]FeatureTagSchema, bool)

GetFeatureTagsOk returns a tuple with the FeatureTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExportResultSchema) GetFeatures ¶

func (o *ExportResultSchema) GetFeatures() []FeatureSchema

GetFeatures returns the Features field value

func (*ExportResultSchema) GetFeaturesOk ¶

func (o *ExportResultSchema) GetFeaturesOk() ([]FeatureSchema, bool)

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

func (*ExportResultSchema) GetSegments ¶

GetSegments returns the Segments field value if set, zero value otherwise.

func (*ExportResultSchema) GetSegmentsOk ¶

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 (*ExportResultSchema) GetTagTypes ¶

func (o *ExportResultSchema) GetTagTypes() []TagTypeSchema

GetTagTypes returns the TagTypes field value

func (*ExportResultSchema) GetTagTypesOk ¶

func (o *ExportResultSchema) GetTagTypesOk() ([]TagTypeSchema, bool)

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

func (*ExportResultSchema) HasContextFields ¶

func (o *ExportResultSchema) HasContextFields() bool

HasContextFields returns a boolean if a field has been set.

func (*ExportResultSchema) HasFeatureEnvironments ¶

func (o *ExportResultSchema) HasFeatureEnvironments() bool

HasFeatureEnvironments returns a boolean if a field has been set.

func (*ExportResultSchema) HasFeatureTags ¶

func (o *ExportResultSchema) HasFeatureTags() bool

HasFeatureTags returns a boolean if a field has been set.

func (*ExportResultSchema) HasSegments ¶

func (o *ExportResultSchema) HasSegments() bool

HasSegments returns a boolean if a field has been set.

func (ExportResultSchema) MarshalJSON ¶

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

func (*ExportResultSchema) SetContextFields ¶

func (o *ExportResultSchema) SetContextFields(v []ContextFieldSchema)

SetContextFields gets a reference to the given []ContextFieldSchema and assigns it to the ContextFields field.

func (*ExportResultSchema) SetFeatureEnvironments ¶

func (o *ExportResultSchema) SetFeatureEnvironments(v []FeatureEnvironmentSchema)

SetFeatureEnvironments gets a reference to the given []FeatureEnvironmentSchema and assigns it to the FeatureEnvironments field.

func (*ExportResultSchema) SetFeatureStrategies ¶

func (o *ExportResultSchema) SetFeatureStrategies(v []FeatureStrategySchema)

SetFeatureStrategies sets field value

func (*ExportResultSchema) SetFeatureTags ¶

func (o *ExportResultSchema) SetFeatureTags(v []FeatureTagSchema)

SetFeatureTags gets a reference to the given []FeatureTagSchema and assigns it to the FeatureTags field.

func (*ExportResultSchema) SetFeatures ¶

func (o *ExportResultSchema) SetFeatures(v []FeatureSchema)

SetFeatures sets field value

func (*ExportResultSchema) SetSegments ¶

SetSegments gets a reference to the given []ExportResultSchemaSegmentsInner and assigns it to the Segments field.

func (*ExportResultSchema) SetTagTypes ¶

func (o *ExportResultSchema) SetTagTypes(v []TagTypeSchema)

SetTagTypes sets field value

func (ExportResultSchema) ToMap ¶

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

type ExportResultSchemaSegmentsInner ¶

type ExportResultSchemaSegmentsInner struct {
	Id   float32 `json:"id"`
	Name *string `json:"name,omitempty"`
}

ExportResultSchemaSegmentsInner struct for ExportResultSchemaSegmentsInner

func NewExportResultSchemaSegmentsInner ¶

func NewExportResultSchemaSegmentsInner(id float32) *ExportResultSchemaSegmentsInner

NewExportResultSchemaSegmentsInner instantiates a new ExportResultSchemaSegmentsInner 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 NewExportResultSchemaSegmentsInnerWithDefaults ¶

func NewExportResultSchemaSegmentsInnerWithDefaults() *ExportResultSchemaSegmentsInner

NewExportResultSchemaSegmentsInnerWithDefaults instantiates a new ExportResultSchemaSegmentsInner 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 (*ExportResultSchemaSegmentsInner) GetId ¶

GetId returns the Id field value

func (*ExportResultSchemaSegmentsInner) GetIdOk ¶

func (o *ExportResultSchemaSegmentsInner) GetIdOk() (*float32, bool)

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

func (*ExportResultSchemaSegmentsInner) GetName ¶

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

func (*ExportResultSchemaSegmentsInner) GetNameOk ¶

func (o *ExportResultSchemaSegmentsInner) 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 (*ExportResultSchemaSegmentsInner) HasName ¶

HasName returns a boolean if a field has been set.

func (ExportResultSchemaSegmentsInner) MarshalJSON ¶

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

func (*ExportResultSchemaSegmentsInner) SetId ¶

SetId sets field value

func (*ExportResultSchemaSegmentsInner) SetName ¶

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

func (ExportResultSchemaSegmentsInner) ToMap ¶

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

type ExportStrategiesParameter ¶

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

ExportStrategiesParameter struct for ExportStrategiesParameter

func (*ExportStrategiesParameter) MarshalJSON ¶

func (src *ExportStrategiesParameter) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ExportStrategiesParameter) UnmarshalJSON ¶

func (dst *ExportStrategiesParameter) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type FeatureEnvironmentMetricsSchema ¶

type FeatureEnvironmentMetricsSchema struct {
	// The name of the feature
	FeatureName *string `json:"featureName,omitempty"`
	// The name of the application the SDK is being used in
	AppName *string `json:"appName,omitempty"`
	// Which environment the SDK is being used in
	Environment string     `json:"environment"`
	Timestamp   DateSchema `json:"timestamp"`
	// How many times the toggle evaluated to true
	Yes int32 `json:"yes"`
	// How many times the toggle evaluated to false
	No int32 `json:"no"`
	// How many times each variant was returned
	Variants *map[string]int32 `json:"variants,omitempty"`
}

FeatureEnvironmentMetricsSchema How many times `feautreName` was evaluated to `true` (yes) and `false` (no) for `appName` in `environmnet`

func NewFeatureEnvironmentMetricsSchema ¶

func NewFeatureEnvironmentMetricsSchema(environment string, timestamp DateSchema, yes int32, no int32) *FeatureEnvironmentMetricsSchema

NewFeatureEnvironmentMetricsSchema instantiates a new FeatureEnvironmentMetricsSchema 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 NewFeatureEnvironmentMetricsSchemaWithDefaults ¶

func NewFeatureEnvironmentMetricsSchemaWithDefaults() *FeatureEnvironmentMetricsSchema

NewFeatureEnvironmentMetricsSchemaWithDefaults instantiates a new FeatureEnvironmentMetricsSchema 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 (*FeatureEnvironmentMetricsSchema) GetAppName ¶

func (o *FeatureEnvironmentMetricsSchema) GetAppName() string

GetAppName returns the AppName field value if set, zero value otherwise.

func (*FeatureEnvironmentMetricsSchema) GetAppNameOk ¶

func (o *FeatureEnvironmentMetricsSchema) GetAppNameOk() (*string, bool)

GetAppNameOk returns a tuple with the AppName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureEnvironmentMetricsSchema) GetEnvironment ¶

func (o *FeatureEnvironmentMetricsSchema) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*FeatureEnvironmentMetricsSchema) GetEnvironmentOk ¶

func (o *FeatureEnvironmentMetricsSchema) GetEnvironmentOk() (*string, bool)

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

func (*FeatureEnvironmentMetricsSchema) GetFeatureName ¶

func (o *FeatureEnvironmentMetricsSchema) GetFeatureName() string

GetFeatureName returns the FeatureName field value if set, zero value otherwise.

func (*FeatureEnvironmentMetricsSchema) GetFeatureNameOk ¶

func (o *FeatureEnvironmentMetricsSchema) 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 (*FeatureEnvironmentMetricsSchema) GetNo ¶

GetNo returns the No field value

func (*FeatureEnvironmentMetricsSchema) GetNoOk ¶

func (o *FeatureEnvironmentMetricsSchema) GetNoOk() (*int32, bool)

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

func (*FeatureEnvironmentMetricsSchema) GetTimestamp ¶

func (o *FeatureEnvironmentMetricsSchema) GetTimestamp() DateSchema

GetTimestamp returns the Timestamp field value

func (*FeatureEnvironmentMetricsSchema) GetTimestampOk ¶

func (o *FeatureEnvironmentMetricsSchema) GetTimestampOk() (*DateSchema, bool)

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

func (*FeatureEnvironmentMetricsSchema) GetVariants ¶

func (o *FeatureEnvironmentMetricsSchema) GetVariants() map[string]int32

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

func (*FeatureEnvironmentMetricsSchema) GetVariantsOk ¶

func (o *FeatureEnvironmentMetricsSchema) GetVariantsOk() (*map[string]int32, 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 (*FeatureEnvironmentMetricsSchema) GetYes ¶

GetYes returns the Yes field value

func (*FeatureEnvironmentMetricsSchema) GetYesOk ¶

func (o *FeatureEnvironmentMetricsSchema) GetYesOk() (*int32, bool)

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

func (*FeatureEnvironmentMetricsSchema) HasAppName ¶

func (o *FeatureEnvironmentMetricsSchema) HasAppName() bool

HasAppName returns a boolean if a field has been set.

func (*FeatureEnvironmentMetricsSchema) HasFeatureName ¶

func (o *FeatureEnvironmentMetricsSchema) HasFeatureName() bool

HasFeatureName returns a boolean if a field has been set.

func (*FeatureEnvironmentMetricsSchema) HasVariants ¶

func (o *FeatureEnvironmentMetricsSchema) HasVariants() bool

HasVariants returns a boolean if a field has been set.

func (FeatureEnvironmentMetricsSchema) MarshalJSON ¶

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

func (*FeatureEnvironmentMetricsSchema) SetAppName ¶

func (o *FeatureEnvironmentMetricsSchema) SetAppName(v string)

SetAppName gets a reference to the given string and assigns it to the AppName field.

func (*FeatureEnvironmentMetricsSchema) SetEnvironment ¶

func (o *FeatureEnvironmentMetricsSchema) SetEnvironment(v string)

SetEnvironment sets field value

func (*FeatureEnvironmentMetricsSchema) SetFeatureName ¶

func (o *FeatureEnvironmentMetricsSchema) SetFeatureName(v string)

SetFeatureName gets a reference to the given string and assigns it to the FeatureName field.

func (*FeatureEnvironmentMetricsSchema) SetNo ¶

SetNo sets field value

func (*FeatureEnvironmentMetricsSchema) SetTimestamp ¶

func (o *FeatureEnvironmentMetricsSchema) SetTimestamp(v DateSchema)

SetTimestamp sets field value

func (*FeatureEnvironmentMetricsSchema) SetVariants ¶

func (o *FeatureEnvironmentMetricsSchema) SetVariants(v map[string]int32)

SetVariants gets a reference to the given map[string]int32 and assigns it to the Variants field.

func (*FeatureEnvironmentMetricsSchema) SetYes ¶

SetYes sets field value

func (FeatureEnvironmentMetricsSchema) ToMap ¶

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

type FeatureEnvironmentSchema ¶

type FeatureEnvironmentSchema struct {
	// The name of the environment
	Name        string  `json:"name"`
	FeatureName *string `json:"featureName,omitempty"`
	Environment *string `json:"environment,omitempty"`
	// The type of the environment
	Type *string `json:"type,omitempty"`
	// `true` if the feature is enabled for the environment, otherwise `false`.
	Enabled bool `json:"enabled"`
	// The sort order of the feature environment in the feature environments list
	SortOrder    *float32 `json:"sortOrder,omitempty"`
	VariantCount *float32 `json:"variantCount,omitempty"`
	// A list of activation strategies for the feature environment
	Strategies []FeatureStrategySchema `json:"strategies,omitempty"`
	// A list of variants for the feature environment
	Variants []VariantSchema `json:"variants,omitempty"`
}

FeatureEnvironmentSchema A detailed description of the feature environment

func NewFeatureEnvironmentSchema ¶

func NewFeatureEnvironmentSchema(name string, enabled bool) *FeatureEnvironmentSchema

NewFeatureEnvironmentSchema instantiates a new FeatureEnvironmentSchema 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 NewFeatureEnvironmentSchemaWithDefaults ¶

func NewFeatureEnvironmentSchemaWithDefaults() *FeatureEnvironmentSchema

NewFeatureEnvironmentSchemaWithDefaults instantiates a new FeatureEnvironmentSchema 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 (*FeatureEnvironmentSchema) GetEnabled ¶

func (o *FeatureEnvironmentSchema) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*FeatureEnvironmentSchema) GetEnabledOk ¶

func (o *FeatureEnvironmentSchema) GetEnabledOk() (*bool, bool)

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

func (*FeatureEnvironmentSchema) GetEnvironment ¶

func (o *FeatureEnvironmentSchema) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*FeatureEnvironmentSchema) GetEnvironmentOk ¶

func (o *FeatureEnvironmentSchema) 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 (*FeatureEnvironmentSchema) GetFeatureName ¶

func (o *FeatureEnvironmentSchema) GetFeatureName() string

GetFeatureName returns the FeatureName field value if set, zero value otherwise.

func (*FeatureEnvironmentSchema) GetFeatureNameOk ¶

func (o *FeatureEnvironmentSchema) 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 (*FeatureEnvironmentSchema) GetName ¶

func (o *FeatureEnvironmentSchema) GetName() string

GetName returns the Name field value

func (*FeatureEnvironmentSchema) GetNameOk ¶

func (o *FeatureEnvironmentSchema) GetNameOk() (*string, bool)

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

func (*FeatureEnvironmentSchema) GetSortOrder ¶

func (o *FeatureEnvironmentSchema) GetSortOrder() float32

GetSortOrder returns the SortOrder field value if set, zero value otherwise.

func (*FeatureEnvironmentSchema) GetSortOrderOk ¶

func (o *FeatureEnvironmentSchema) 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 (*FeatureEnvironmentSchema) GetStrategies ¶

func (o *FeatureEnvironmentSchema) GetStrategies() []FeatureStrategySchema

GetStrategies returns the Strategies field value if set, zero value otherwise.

func (*FeatureEnvironmentSchema) GetStrategiesOk ¶

func (o *FeatureEnvironmentSchema) GetStrategiesOk() ([]FeatureStrategySchema, bool)

GetStrategiesOk returns a tuple with the Strategies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureEnvironmentSchema) GetType ¶

func (o *FeatureEnvironmentSchema) GetType() string

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

func (*FeatureEnvironmentSchema) GetTypeOk ¶

func (o *FeatureEnvironmentSchema) 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 (*FeatureEnvironmentSchema) GetVariantCount ¶

func (o *FeatureEnvironmentSchema) GetVariantCount() float32

GetVariantCount returns the VariantCount field value if set, zero value otherwise.

func (*FeatureEnvironmentSchema) GetVariantCountOk ¶

func (o *FeatureEnvironmentSchema) GetVariantCountOk() (*float32, bool)

GetVariantCountOk returns a tuple with the VariantCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureEnvironmentSchema) GetVariants ¶

func (o *FeatureEnvironmentSchema) GetVariants() []VariantSchema

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

func (*FeatureEnvironmentSchema) GetVariantsOk ¶

func (o *FeatureEnvironmentSchema) GetVariantsOk() ([]VariantSchema, 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 (*FeatureEnvironmentSchema) HasEnvironment ¶

func (o *FeatureEnvironmentSchema) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*FeatureEnvironmentSchema) HasFeatureName ¶

func (o *FeatureEnvironmentSchema) HasFeatureName() bool

HasFeatureName returns a boolean if a field has been set.

func (*FeatureEnvironmentSchema) HasSortOrder ¶

func (o *FeatureEnvironmentSchema) HasSortOrder() bool

HasSortOrder returns a boolean if a field has been set.

func (*FeatureEnvironmentSchema) HasStrategies ¶

func (o *FeatureEnvironmentSchema) HasStrategies() bool

HasStrategies returns a boolean if a field has been set.

func (*FeatureEnvironmentSchema) HasType ¶

func (o *FeatureEnvironmentSchema) HasType() bool

HasType returns a boolean if a field has been set.

func (*FeatureEnvironmentSchema) HasVariantCount ¶

func (o *FeatureEnvironmentSchema) HasVariantCount() bool

HasVariantCount returns a boolean if a field has been set.

func (*FeatureEnvironmentSchema) HasVariants ¶

func (o *FeatureEnvironmentSchema) HasVariants() bool

HasVariants returns a boolean if a field has been set.

func (FeatureEnvironmentSchema) MarshalJSON ¶

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

func (*FeatureEnvironmentSchema) SetEnabled ¶

func (o *FeatureEnvironmentSchema) SetEnabled(v bool)

SetEnabled sets field value

func (*FeatureEnvironmentSchema) SetEnvironment ¶

func (o *FeatureEnvironmentSchema) SetEnvironment(v string)

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

func (*FeatureEnvironmentSchema) SetFeatureName ¶

func (o *FeatureEnvironmentSchema) SetFeatureName(v string)

SetFeatureName gets a reference to the given string and assigns it to the FeatureName field.

func (*FeatureEnvironmentSchema) SetName ¶

func (o *FeatureEnvironmentSchema) SetName(v string)

SetName sets field value

func (*FeatureEnvironmentSchema) SetSortOrder ¶

func (o *FeatureEnvironmentSchema) SetSortOrder(v float32)

SetSortOrder gets a reference to the given float32 and assigns it to the SortOrder field.

func (*FeatureEnvironmentSchema) SetStrategies ¶

func (o *FeatureEnvironmentSchema) SetStrategies(v []FeatureStrategySchema)

SetStrategies gets a reference to the given []FeatureStrategySchema and assigns it to the Strategies field.

func (*FeatureEnvironmentSchema) SetType ¶

func (o *FeatureEnvironmentSchema) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*FeatureEnvironmentSchema) SetVariantCount ¶

func (o *FeatureEnvironmentSchema) SetVariantCount(v float32)

SetVariantCount gets a reference to the given float32 and assigns it to the VariantCount field.

func (*FeatureEnvironmentSchema) SetVariants ¶

func (o *FeatureEnvironmentSchema) SetVariants(v []VariantSchema)

SetVariants gets a reference to the given []VariantSchema and assigns it to the Variants field.

func (FeatureEnvironmentSchema) ToMap ¶

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

type FeatureEventsSchema ¶

type FeatureEventsSchema struct {
	Version     *float32      `json:"version,omitempty"`
	ToggleName  *string       `json:"toggleName,omitempty"`
	Events      []EventSchema `json:"events"`
	TotalEvents *int32        `json:"totalEvents,omitempty"`
}

FeatureEventsSchema struct for FeatureEventsSchema

func NewFeatureEventsSchema ¶

func NewFeatureEventsSchema(events []EventSchema) *FeatureEventsSchema

NewFeatureEventsSchema instantiates a new FeatureEventsSchema 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 NewFeatureEventsSchemaWithDefaults ¶

func NewFeatureEventsSchemaWithDefaults() *FeatureEventsSchema

NewFeatureEventsSchemaWithDefaults instantiates a new FeatureEventsSchema 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 (*FeatureEventsSchema) GetEvents ¶

func (o *FeatureEventsSchema) GetEvents() []EventSchema

GetEvents returns the Events field value

func (*FeatureEventsSchema) GetEventsOk ¶

func (o *FeatureEventsSchema) GetEventsOk() ([]EventSchema, bool)

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

func (*FeatureEventsSchema) GetToggleName ¶

func (o *FeatureEventsSchema) GetToggleName() string

GetToggleName returns the ToggleName field value if set, zero value otherwise.

func (*FeatureEventsSchema) GetToggleNameOk ¶

func (o *FeatureEventsSchema) GetToggleNameOk() (*string, bool)

GetToggleNameOk returns a tuple with the ToggleName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureEventsSchema) GetTotalEvents ¶

func (o *FeatureEventsSchema) GetTotalEvents() int32

GetTotalEvents returns the TotalEvents field value if set, zero value otherwise.

func (*FeatureEventsSchema) GetTotalEventsOk ¶

func (o *FeatureEventsSchema) GetTotalEventsOk() (*int32, bool)

GetTotalEventsOk returns a tuple with the TotalEvents field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureEventsSchema) GetVersion ¶

func (o *FeatureEventsSchema) GetVersion() float32

GetVersion returns the Version field value if set, zero value otherwise.

func (*FeatureEventsSchema) GetVersionOk ¶

func (o *FeatureEventsSchema) GetVersionOk() (*float32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureEventsSchema) HasToggleName ¶

func (o *FeatureEventsSchema) HasToggleName() bool

HasToggleName returns a boolean if a field has been set.

func (*FeatureEventsSchema) HasTotalEvents ¶

func (o *FeatureEventsSchema) HasTotalEvents() bool

HasTotalEvents returns a boolean if a field has been set.

func (*FeatureEventsSchema) HasVersion ¶

func (o *FeatureEventsSchema) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (FeatureEventsSchema) MarshalJSON ¶

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

func (*FeatureEventsSchema) SetEvents ¶

func (o *FeatureEventsSchema) SetEvents(v []EventSchema)

SetEvents sets field value

func (*FeatureEventsSchema) SetToggleName ¶

func (o *FeatureEventsSchema) SetToggleName(v string)

SetToggleName gets a reference to the given string and assigns it to the ToggleName field.

func (*FeatureEventsSchema) SetTotalEvents ¶

func (o *FeatureEventsSchema) SetTotalEvents(v int32)

SetTotalEvents gets a reference to the given int32 and assigns it to the TotalEvents field.

func (*FeatureEventsSchema) SetVersion ¶

func (o *FeatureEventsSchema) SetVersion(v float32)

SetVersion gets a reference to the given float32 and assigns it to the Version field.

func (FeatureEventsSchema) ToMap ¶

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

type FeatureMetricsSchema ¶

type FeatureMetricsSchema struct {
	// The version of this schema
	Version int32 `json:"version"`
	// The maturity level of this API (alpha, beta, stable, deprecated)
	Maturity string `json:"maturity"`
	// Metrics gathered per environment
	Data []FeatureEnvironmentMetricsSchema `json:"data"`
}

FeatureMetricsSchema A batch of feature metrics

func NewFeatureMetricsSchema ¶

func NewFeatureMetricsSchema(version int32, maturity string, data []FeatureEnvironmentMetricsSchema) *FeatureMetricsSchema

NewFeatureMetricsSchema instantiates a new FeatureMetricsSchema 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 NewFeatureMetricsSchemaWithDefaults ¶

func NewFeatureMetricsSchemaWithDefaults() *FeatureMetricsSchema

NewFeatureMetricsSchemaWithDefaults instantiates a new FeatureMetricsSchema 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 (*FeatureMetricsSchema) GetData ¶

GetData returns the Data field value

func (*FeatureMetricsSchema) GetDataOk ¶

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

func (*FeatureMetricsSchema) GetMaturity ¶

func (o *FeatureMetricsSchema) GetMaturity() string

GetMaturity returns the Maturity field value

func (*FeatureMetricsSchema) GetMaturityOk ¶

func (o *FeatureMetricsSchema) GetMaturityOk() (*string, bool)

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

func (*FeatureMetricsSchema) GetVersion ¶

func (o *FeatureMetricsSchema) GetVersion() int32

GetVersion returns the Version field value

func (*FeatureMetricsSchema) GetVersionOk ¶

func (o *FeatureMetricsSchema) GetVersionOk() (*int32, bool)

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

func (FeatureMetricsSchema) MarshalJSON ¶

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

func (*FeatureMetricsSchema) SetData ¶

SetData sets field value

func (*FeatureMetricsSchema) SetMaturity ¶

func (o *FeatureMetricsSchema) SetMaturity(v string)

SetMaturity sets field value

func (*FeatureMetricsSchema) SetVersion ¶

func (o *FeatureMetricsSchema) SetVersion(v int32)

SetVersion sets field value

func (FeatureMetricsSchema) ToMap ¶

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

type FeatureSchema ¶

type FeatureSchema struct {
	// Unique feature name
	Name string `json:"name"`
	// Type of the toggle e.g. experiment, kill-switch, release, operational, permission
	Type *string `json:"type,omitempty"`
	// Detailed description of the feature
	Description NullableString `json:"description,omitempty"`
	// `true` if the feature is archived
	Archived *bool `json:"archived,omitempty"`
	// Name of the project the feature belongs to
	Project *string `json:"project,omitempty"`
	Enabled *bool   `json:"enabled,omitempty"`
	// `true` if the feature is stale based on the age and feature type, otherwise `false`.
	Stale *bool `json:"stale,omitempty"`
	// `true` if the feature was favorited, otherwise `false`.
	Favorite *bool `json:"favorite,omitempty"`
	// `true` if the impression data collection is enabled for the feature, otherwise `false`.
	ImpressionData *bool        `json:"impressionData,omitempty"`
	CreatedAt      NullableTime `json:"createdAt,omitempty"`
	ArchivedAt     NullableTime `json:"archivedAt,omitempty"`
	LastSeenAt     NullableTime `json:"lastSeenAt,omitempty"`
	// The list of environments where the feature can be used
	Environments []FeatureEnvironmentSchema `json:"environments,omitempty"`
	// The list of feature variants
	// Deprecated
	Variants []VariantSchema `json:"variants,omitempty"`
	// This is a legacy field that will be deprecated
	// Deprecated
	Strategies []map[string]interface{} `json:"strategies,omitempty"`
	// The list of feature tags
	Tags []TagSchema `json:"tags,omitempty"`
}

FeatureSchema struct for FeatureSchema

func NewFeatureSchema ¶

func NewFeatureSchema(name string) *FeatureSchema

NewFeatureSchema instantiates a new FeatureSchema 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 NewFeatureSchemaWithDefaults ¶

func NewFeatureSchemaWithDefaults() *FeatureSchema

NewFeatureSchemaWithDefaults instantiates a new FeatureSchema 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 (*FeatureSchema) GetArchived ¶

func (o *FeatureSchema) GetArchived() bool

GetArchived returns the Archived field value if set, zero value otherwise.

func (*FeatureSchema) GetArchivedAt ¶

func (o *FeatureSchema) GetArchivedAt() time.Time

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

func (*FeatureSchema) GetArchivedAtOk ¶

func (o *FeatureSchema) GetArchivedAtOk() (*time.Time, bool)

GetArchivedAtOk returns a tuple with the ArchivedAt 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 (*FeatureSchema) GetArchivedOk ¶

func (o *FeatureSchema) GetArchivedOk() (*bool, bool)

GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureSchema) GetCreatedAt ¶

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

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

func (*FeatureSchema) GetCreatedAtOk ¶

func (o *FeatureSchema) 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 (*FeatureSchema) GetDescription ¶

func (o *FeatureSchema) GetDescription() string

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

func (*FeatureSchema) GetDescriptionOk ¶

func (o *FeatureSchema) 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 (*FeatureSchema) GetEnabled ¶

func (o *FeatureSchema) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*FeatureSchema) GetEnabledOk ¶

func (o *FeatureSchema) 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 (*FeatureSchema) GetEnvironments ¶

func (o *FeatureSchema) GetEnvironments() []FeatureEnvironmentSchema

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*FeatureSchema) GetEnvironmentsOk ¶

func (o *FeatureSchema) GetEnvironmentsOk() ([]FeatureEnvironmentSchema, 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 (*FeatureSchema) GetFavorite ¶

func (o *FeatureSchema) GetFavorite() bool

GetFavorite returns the Favorite field value if set, zero value otherwise.

func (*FeatureSchema) GetFavoriteOk ¶

func (o *FeatureSchema) GetFavoriteOk() (*bool, bool)

GetFavoriteOk returns a tuple with the Favorite field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureSchema) GetImpressionData ¶

func (o *FeatureSchema) GetImpressionData() bool

GetImpressionData returns the ImpressionData field value if set, zero value otherwise.

func (*FeatureSchema) GetImpressionDataOk ¶

func (o *FeatureSchema) GetImpressionDataOk() (*bool, bool)

GetImpressionDataOk returns a tuple with the ImpressionData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureSchema) GetLastSeenAt ¶

func (o *FeatureSchema) GetLastSeenAt() time.Time

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

func (*FeatureSchema) GetLastSeenAtOk ¶

func (o *FeatureSchema) GetLastSeenAtOk() (*time.Time, bool)

GetLastSeenAtOk returns a tuple with the LastSeenAt 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 (*FeatureSchema) GetName ¶

func (o *FeatureSchema) GetName() string

GetName returns the Name field value

func (*FeatureSchema) GetNameOk ¶

func (o *FeatureSchema) GetNameOk() (*string, bool)

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

func (*FeatureSchema) GetProject ¶

func (o *FeatureSchema) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*FeatureSchema) GetProjectOk ¶

func (o *FeatureSchema) 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 (*FeatureSchema) GetStale ¶

func (o *FeatureSchema) GetStale() bool

GetStale returns the Stale field value if set, zero value otherwise.

func (*FeatureSchema) GetStaleOk ¶

func (o *FeatureSchema) GetStaleOk() (*bool, bool)

GetStaleOk returns a tuple with the Stale field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureSchema) GetStrategies ¶

func (o *FeatureSchema) GetStrategies() []map[string]interface{}

GetStrategies returns the Strategies field value if set, zero value otherwise. Deprecated

func (*FeatureSchema) GetStrategiesOk ¶

func (o *FeatureSchema) GetStrategiesOk() ([]map[string]interface{}, bool)

GetStrategiesOk returns a tuple with the Strategies field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*FeatureSchema) GetTags ¶

func (o *FeatureSchema) GetTags() []TagSchema

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

func (*FeatureSchema) GetTagsOk ¶

func (o *FeatureSchema) GetTagsOk() ([]TagSchema, bool)

GetTagsOk returns a tuple with the Tags 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 (*FeatureSchema) GetType ¶

func (o *FeatureSchema) GetType() string

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

func (*FeatureSchema) GetTypeOk ¶

func (o *FeatureSchema) 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 (*FeatureSchema) GetVariants ¶

func (o *FeatureSchema) GetVariants() []VariantSchema

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

func (*FeatureSchema) GetVariantsOk ¶

func (o *FeatureSchema) GetVariantsOk() ([]VariantSchema, 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. Deprecated

func (*FeatureSchema) HasArchived ¶

func (o *FeatureSchema) HasArchived() bool

HasArchived returns a boolean if a field has been set.

func (*FeatureSchema) HasArchivedAt ¶

func (o *FeatureSchema) HasArchivedAt() bool

HasArchivedAt returns a boolean if a field has been set.

func (*FeatureSchema) HasCreatedAt ¶

func (o *FeatureSchema) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FeatureSchema) HasDescription ¶

func (o *FeatureSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FeatureSchema) HasEnabled ¶

func (o *FeatureSchema) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*FeatureSchema) HasEnvironments ¶

func (o *FeatureSchema) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*FeatureSchema) HasFavorite ¶

func (o *FeatureSchema) HasFavorite() bool

HasFavorite returns a boolean if a field has been set.

func (*FeatureSchema) HasImpressionData ¶

func (o *FeatureSchema) HasImpressionData() bool

HasImpressionData returns a boolean if a field has been set.

func (*FeatureSchema) HasLastSeenAt ¶

func (o *FeatureSchema) HasLastSeenAt() bool

HasLastSeenAt returns a boolean if a field has been set.

func (*FeatureSchema) HasProject ¶

func (o *FeatureSchema) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*FeatureSchema) HasStale ¶

func (o *FeatureSchema) HasStale() bool

HasStale returns a boolean if a field has been set.

func (*FeatureSchema) HasStrategies ¶

func (o *FeatureSchema) HasStrategies() bool

HasStrategies returns a boolean if a field has been set.

func (*FeatureSchema) HasTags ¶

func (o *FeatureSchema) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*FeatureSchema) HasType ¶

func (o *FeatureSchema) HasType() bool

HasType returns a boolean if a field has been set.

func (*FeatureSchema) HasVariants ¶

func (o *FeatureSchema) HasVariants() bool

HasVariants returns a boolean if a field has been set.

func (FeatureSchema) MarshalJSON ¶

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

func (*FeatureSchema) SetArchived ¶

func (o *FeatureSchema) SetArchived(v bool)

SetArchived gets a reference to the given bool and assigns it to the Archived field.

func (*FeatureSchema) SetArchivedAt ¶

func (o *FeatureSchema) SetArchivedAt(v time.Time)

SetArchivedAt gets a reference to the given NullableTime and assigns it to the ArchivedAt field.

func (*FeatureSchema) SetArchivedAtNil ¶

func (o *FeatureSchema) SetArchivedAtNil()

SetArchivedAtNil sets the value for ArchivedAt to be an explicit nil

func (*FeatureSchema) SetCreatedAt ¶

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

SetCreatedAt gets a reference to the given NullableTime and assigns it to the CreatedAt field.

func (*FeatureSchema) SetCreatedAtNil ¶

func (o *FeatureSchema) SetCreatedAtNil()

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

func (*FeatureSchema) SetDescription ¶

func (o *FeatureSchema) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*FeatureSchema) SetDescriptionNil ¶

func (o *FeatureSchema) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*FeatureSchema) SetEnabled ¶

func (o *FeatureSchema) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*FeatureSchema) SetEnvironments ¶

func (o *FeatureSchema) SetEnvironments(v []FeatureEnvironmentSchema)

SetEnvironments gets a reference to the given []FeatureEnvironmentSchema and assigns it to the Environments field.

func (*FeatureSchema) SetFavorite ¶

func (o *FeatureSchema) SetFavorite(v bool)

SetFavorite gets a reference to the given bool and assigns it to the Favorite field.

func (*FeatureSchema) SetImpressionData ¶

func (o *FeatureSchema) SetImpressionData(v bool)

SetImpressionData gets a reference to the given bool and assigns it to the ImpressionData field.

func (*FeatureSchema) SetLastSeenAt ¶

func (o *FeatureSchema) SetLastSeenAt(v time.Time)

SetLastSeenAt gets a reference to the given NullableTime and assigns it to the LastSeenAt field.

func (*FeatureSchema) SetLastSeenAtNil ¶

func (o *FeatureSchema) SetLastSeenAtNil()

SetLastSeenAtNil sets the value for LastSeenAt to be an explicit nil

func (*FeatureSchema) SetName ¶

func (o *FeatureSchema) SetName(v string)

SetName sets field value

func (*FeatureSchema) SetProject ¶

func (o *FeatureSchema) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*FeatureSchema) SetStale ¶

func (o *FeatureSchema) SetStale(v bool)

SetStale gets a reference to the given bool and assigns it to the Stale field.

func (*FeatureSchema) SetStrategies ¶

func (o *FeatureSchema) SetStrategies(v []map[string]interface{})

SetStrategies gets a reference to the given []map[string]interface{} and assigns it to the Strategies field. Deprecated

func (*FeatureSchema) SetTags ¶

func (o *FeatureSchema) SetTags(v []TagSchema)

SetTags gets a reference to the given []TagSchema and assigns it to the Tags field.

func (*FeatureSchema) SetType ¶

func (o *FeatureSchema) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*FeatureSchema) SetVariants ¶

func (o *FeatureSchema) SetVariants(v []VariantSchema)

SetVariants gets a reference to the given []VariantSchema and assigns it to the Variants field. Deprecated

func (FeatureSchema) ToMap ¶

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

func (*FeatureSchema) UnsetArchivedAt ¶

func (o *FeatureSchema) UnsetArchivedAt()

UnsetArchivedAt ensures that no value is present for ArchivedAt, not even an explicit nil

func (*FeatureSchema) UnsetCreatedAt ¶

func (o *FeatureSchema) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

func (*FeatureSchema) UnsetDescription ¶

func (o *FeatureSchema) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*FeatureSchema) UnsetLastSeenAt ¶

func (o *FeatureSchema) UnsetLastSeenAt()

UnsetLastSeenAt ensures that no value is present for LastSeenAt, not even an explicit nil

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
	Constraints []ConstraintSchema `json:"constraints,omitempty"`
	Parameters  *map[string]string `json:"parameters,omitempty"`
}

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) 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) 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) ToMap ¶

func (o FeatureStrategySchema) ToMap() (map[string]interface{}, 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 FeatureStrategySegmentSchema ¶

type FeatureStrategySegmentSchema struct {
	SegmentId         int32  `json:"segmentId"`
	FeatureStrategyId string `json:"featureStrategyId"`
}

FeatureStrategySegmentSchema struct for FeatureStrategySegmentSchema

func NewFeatureStrategySegmentSchema ¶

func NewFeatureStrategySegmentSchema(segmentId int32, featureStrategyId string) *FeatureStrategySegmentSchema

NewFeatureStrategySegmentSchema instantiates a new FeatureStrategySegmentSchema 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 NewFeatureStrategySegmentSchemaWithDefaults ¶

func NewFeatureStrategySegmentSchemaWithDefaults() *FeatureStrategySegmentSchema

NewFeatureStrategySegmentSchemaWithDefaults instantiates a new FeatureStrategySegmentSchema 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 (*FeatureStrategySegmentSchema) GetFeatureStrategyId ¶

func (o *FeatureStrategySegmentSchema) GetFeatureStrategyId() string

GetFeatureStrategyId returns the FeatureStrategyId field value

func (*FeatureStrategySegmentSchema) GetFeatureStrategyIdOk ¶

func (o *FeatureStrategySegmentSchema) GetFeatureStrategyIdOk() (*string, bool)

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

func (*FeatureStrategySegmentSchema) GetSegmentId ¶

func (o *FeatureStrategySegmentSchema) GetSegmentId() int32

GetSegmentId returns the SegmentId field value

func (*FeatureStrategySegmentSchema) GetSegmentIdOk ¶

func (o *FeatureStrategySegmentSchema) GetSegmentIdOk() (*int32, bool)

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

func (FeatureStrategySegmentSchema) MarshalJSON ¶

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

func (*FeatureStrategySegmentSchema) SetFeatureStrategyId ¶

func (o *FeatureStrategySegmentSchema) SetFeatureStrategyId(v string)

SetFeatureStrategyId sets field value

func (*FeatureStrategySegmentSchema) SetSegmentId ¶

func (o *FeatureStrategySegmentSchema) SetSegmentId(v int32)

SetSegmentId sets field value

func (FeatureStrategySegmentSchema) ToMap ¶

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

type FeatureTagSchema ¶

type FeatureTagSchema struct {
	// The name of the feature this tag is applied to
	FeatureName string `json:"featureName"`
	// The [type](https://docs.getunleash.io/reference/tags#tag-types tag types) of the tag
	TagType *string `json:"tagType,omitempty"`
	// The value of the tag
	TagValue string `json:"tagValue"`
	// The [type](https://docs.getunleash.io/reference/tags#tag-types tag types) of the tag. This property is deprecated and will be removed in a future version of Unleash. Superseded by the `tagType` property.
	// Deprecated
	Type *string `json:"type,omitempty"`
	// The value of the tag. This property is deprecated and will be removed in a future version of Unleash. Superseded by the `tagValue` property.
	// Deprecated
	Value *string `json:"value,omitempty"`
}

FeatureTagSchema Describes a tag applied to a feature

func NewFeatureTagSchema ¶

func NewFeatureTagSchema(featureName string, tagValue string) *FeatureTagSchema

NewFeatureTagSchema instantiates a new FeatureTagSchema 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 NewFeatureTagSchemaWithDefaults ¶

func NewFeatureTagSchemaWithDefaults() *FeatureTagSchema

NewFeatureTagSchemaWithDefaults instantiates a new FeatureTagSchema 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 (*FeatureTagSchema) GetFeatureName ¶

func (o *FeatureTagSchema) GetFeatureName() string

GetFeatureName returns the FeatureName field value

func (*FeatureTagSchema) GetFeatureNameOk ¶

func (o *FeatureTagSchema) GetFeatureNameOk() (*string, bool)

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

func (*FeatureTagSchema) GetTagType ¶

func (o *FeatureTagSchema) GetTagType() string

GetTagType returns the TagType field value if set, zero value otherwise.

func (*FeatureTagSchema) GetTagTypeOk ¶

func (o *FeatureTagSchema) GetTagTypeOk() (*string, bool)

GetTagTypeOk returns a tuple with the TagType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureTagSchema) GetTagValue ¶

func (o *FeatureTagSchema) GetTagValue() string

GetTagValue returns the TagValue field value

func (*FeatureTagSchema) GetTagValueOk ¶

func (o *FeatureTagSchema) GetTagValueOk() (*string, bool)

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

func (*FeatureTagSchema) GetType ¶

func (o *FeatureTagSchema) GetType() string

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

func (*FeatureTagSchema) GetTypeOk ¶

func (o *FeatureTagSchema) 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. Deprecated

func (*FeatureTagSchema) GetValue ¶

func (o *FeatureTagSchema) GetValue() string

GetValue returns the Value field value if set, zero value otherwise. Deprecated

func (*FeatureTagSchema) GetValueOk ¶

func (o *FeatureTagSchema) 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. Deprecated

func (*FeatureTagSchema) HasTagType ¶

func (o *FeatureTagSchema) HasTagType() bool

HasTagType returns a boolean if a field has been set.

func (*FeatureTagSchema) HasType ¶

func (o *FeatureTagSchema) HasType() bool

HasType returns a boolean if a field has been set.

func (*FeatureTagSchema) HasValue ¶

func (o *FeatureTagSchema) HasValue() bool

HasValue returns a boolean if a field has been set.

func (FeatureTagSchema) MarshalJSON ¶

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

func (*FeatureTagSchema) SetFeatureName ¶

func (o *FeatureTagSchema) SetFeatureName(v string)

SetFeatureName sets field value

func (*FeatureTagSchema) SetTagType ¶

func (o *FeatureTagSchema) SetTagType(v string)

SetTagType gets a reference to the given string and assigns it to the TagType field.

func (*FeatureTagSchema) SetTagValue ¶

func (o *FeatureTagSchema) SetTagValue(v string)

SetTagValue sets field value

func (*FeatureTagSchema) SetType ¶

func (o *FeatureTagSchema) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field. Deprecated

func (*FeatureTagSchema) SetValue ¶

func (o *FeatureTagSchema) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field. Deprecated

func (FeatureTagSchema) ToMap ¶

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

type FeatureTypeSchema ¶

type FeatureTypeSchema struct {
	Id           string          `json:"id"`
	Name         string          `json:"name"`
	Description  string          `json:"description"`
	LifetimeDays NullableFloat32 `json:"lifetimeDays"`
}

FeatureTypeSchema struct for FeatureTypeSchema

func NewFeatureTypeSchema ¶

func NewFeatureTypeSchema(id string, name string, description string, lifetimeDays NullableFloat32) *FeatureTypeSchema

NewFeatureTypeSchema instantiates a new FeatureTypeSchema 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 NewFeatureTypeSchemaWithDefaults ¶

func NewFeatureTypeSchemaWithDefaults() *FeatureTypeSchema

NewFeatureTypeSchemaWithDefaults instantiates a new FeatureTypeSchema 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 (*FeatureTypeSchema) GetDescription ¶

func (o *FeatureTypeSchema) GetDescription() string

GetDescription returns the Description field value

func (*FeatureTypeSchema) GetDescriptionOk ¶

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

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

func (*FeatureTypeSchema) GetId ¶

func (o *FeatureTypeSchema) GetId() string

GetId returns the Id field value

func (*FeatureTypeSchema) GetIdOk ¶

func (o *FeatureTypeSchema) GetIdOk() (*string, bool)

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

func (*FeatureTypeSchema) GetLifetimeDays ¶

func (o *FeatureTypeSchema) GetLifetimeDays() float32

GetLifetimeDays returns the LifetimeDays field value If the value is explicit nil, the zero value for float32 will be returned

func (*FeatureTypeSchema) GetLifetimeDaysOk ¶

func (o *FeatureTypeSchema) GetLifetimeDaysOk() (*float32, bool)

GetLifetimeDaysOk returns a tuple with the LifetimeDays 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 (*FeatureTypeSchema) GetName ¶

func (o *FeatureTypeSchema) GetName() string

GetName returns the Name field value

func (*FeatureTypeSchema) GetNameOk ¶

func (o *FeatureTypeSchema) GetNameOk() (*string, bool)

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

func (FeatureTypeSchema) MarshalJSON ¶

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

func (*FeatureTypeSchema) SetDescription ¶

func (o *FeatureTypeSchema) SetDescription(v string)

SetDescription sets field value

func (*FeatureTypeSchema) SetId ¶

func (o *FeatureTypeSchema) SetId(v string)

SetId sets field value

func (*FeatureTypeSchema) SetLifetimeDays ¶

func (o *FeatureTypeSchema) SetLifetimeDays(v float32)

SetLifetimeDays sets field value

func (*FeatureTypeSchema) SetName ¶

func (o *FeatureTypeSchema) SetName(v string)

SetName sets field value

func (FeatureTypeSchema) ToMap ¶

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

type FeatureTypesSchema ¶

type FeatureTypesSchema struct {
	Version int32               `json:"version"`
	Types   []FeatureTypeSchema `json:"types"`
}

FeatureTypesSchema struct for FeatureTypesSchema

func NewFeatureTypesSchema ¶

func NewFeatureTypesSchema(version int32, types []FeatureTypeSchema) *FeatureTypesSchema

NewFeatureTypesSchema instantiates a new FeatureTypesSchema 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 NewFeatureTypesSchemaWithDefaults ¶

func NewFeatureTypesSchemaWithDefaults() *FeatureTypesSchema

NewFeatureTypesSchemaWithDefaults instantiates a new FeatureTypesSchema 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 (*FeatureTypesSchema) GetTypes ¶

func (o *FeatureTypesSchema) GetTypes() []FeatureTypeSchema

GetTypes returns the Types field value

func (*FeatureTypesSchema) GetTypesOk ¶

func (o *FeatureTypesSchema) GetTypesOk() ([]FeatureTypeSchema, bool)

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

func (*FeatureTypesSchema) GetVersion ¶

func (o *FeatureTypesSchema) GetVersion() int32

GetVersion returns the Version field value

func (*FeatureTypesSchema) GetVersionOk ¶

func (o *FeatureTypesSchema) GetVersionOk() (*int32, bool)

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

func (FeatureTypesSchema) MarshalJSON ¶

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

func (*FeatureTypesSchema) SetTypes ¶

func (o *FeatureTypesSchema) SetTypes(v []FeatureTypeSchema)

SetTypes sets field value

func (*FeatureTypesSchema) SetVersion ¶

func (o *FeatureTypesSchema) SetVersion(v int32)

SetVersion sets field value

func (FeatureTypesSchema) ToMap ¶

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

type FeatureUsageSchema ¶

type FeatureUsageSchema struct {
	// The version of this schema
	Version int32 `json:"version"`
	// The maturity level of this API (alpha, beta, stable, deprecated)
	Maturity string `json:"maturity"`
	// The name of the feature
	FeatureName string `json:"featureName"`
	// Last hour statistics. Accumulated per feature per environment. Contains counts for evaluations to true (yes) and to false (no)
	LastHourUsage []FeatureEnvironmentMetricsSchema `json:"lastHourUsage"`
	// A list of applications seen using this feature
	SeenApplications []string `json:"seenApplications"`
}

FeatureUsageSchema How many applications have seen this feature toggle, as well as how this feature was evaluated the last hour

func NewFeatureUsageSchema ¶

func NewFeatureUsageSchema(version int32, maturity string, featureName string, lastHourUsage []FeatureEnvironmentMetricsSchema, seenApplications []string) *FeatureUsageSchema

NewFeatureUsageSchema instantiates a new FeatureUsageSchema 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 NewFeatureUsageSchemaWithDefaults ¶

func NewFeatureUsageSchemaWithDefaults() *FeatureUsageSchema

NewFeatureUsageSchemaWithDefaults instantiates a new FeatureUsageSchema 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 (*FeatureUsageSchema) GetFeatureName ¶

func (o *FeatureUsageSchema) GetFeatureName() string

GetFeatureName returns the FeatureName field value

func (*FeatureUsageSchema) GetFeatureNameOk ¶

func (o *FeatureUsageSchema) GetFeatureNameOk() (*string, bool)

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

func (*FeatureUsageSchema) GetLastHourUsage ¶

func (o *FeatureUsageSchema) GetLastHourUsage() []FeatureEnvironmentMetricsSchema

GetLastHourUsage returns the LastHourUsage field value

func (*FeatureUsageSchema) GetLastHourUsageOk ¶

func (o *FeatureUsageSchema) GetLastHourUsageOk() ([]FeatureEnvironmentMetricsSchema, bool)

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

func (*FeatureUsageSchema) GetMaturity ¶

func (o *FeatureUsageSchema) GetMaturity() string

GetMaturity returns the Maturity field value

func (*FeatureUsageSchema) GetMaturityOk ¶

func (o *FeatureUsageSchema) GetMaturityOk() (*string, bool)

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

func (*FeatureUsageSchema) GetSeenApplications ¶

func (o *FeatureUsageSchema) GetSeenApplications() []string

GetSeenApplications returns the SeenApplications field value

func (*FeatureUsageSchema) GetSeenApplicationsOk ¶

func (o *FeatureUsageSchema) GetSeenApplicationsOk() ([]string, bool)

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

func (*FeatureUsageSchema) GetVersion ¶

func (o *FeatureUsageSchema) GetVersion() int32

GetVersion returns the Version field value

func (*FeatureUsageSchema) GetVersionOk ¶

func (o *FeatureUsageSchema) GetVersionOk() (*int32, bool)

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

func (FeatureUsageSchema) MarshalJSON ¶

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

func (*FeatureUsageSchema) SetFeatureName ¶

func (o *FeatureUsageSchema) SetFeatureName(v string)

SetFeatureName sets field value

func (*FeatureUsageSchema) SetLastHourUsage ¶

func (o *FeatureUsageSchema) SetLastHourUsage(v []FeatureEnvironmentMetricsSchema)

SetLastHourUsage sets field value

func (*FeatureUsageSchema) SetMaturity ¶

func (o *FeatureUsageSchema) SetMaturity(v string)

SetMaturity sets field value

func (*FeatureUsageSchema) SetSeenApplications ¶

func (o *FeatureUsageSchema) SetSeenApplications(v []string)

SetSeenApplications sets field value

func (*FeatureUsageSchema) SetVersion ¶

func (o *FeatureUsageSchema) SetVersion(v int32)

SetVersion sets field value

func (FeatureUsageSchema) ToMap ¶

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

type FeatureVariantsSchema ¶

type FeatureVariantsSchema struct {
	Version  int32           `json:"version"`
	Variants []VariantSchema `json:"variants"`
}

FeatureVariantsSchema struct for FeatureVariantsSchema

func NewFeatureVariantsSchema ¶

func NewFeatureVariantsSchema(version int32, variants []VariantSchema) *FeatureVariantsSchema

NewFeatureVariantsSchema instantiates a new FeatureVariantsSchema 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 NewFeatureVariantsSchemaWithDefaults ¶

func NewFeatureVariantsSchemaWithDefaults() *FeatureVariantsSchema

NewFeatureVariantsSchemaWithDefaults instantiates a new FeatureVariantsSchema 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 (*FeatureVariantsSchema) GetVariants ¶

func (o *FeatureVariantsSchema) GetVariants() []VariantSchema

GetVariants returns the Variants field value

func (*FeatureVariantsSchema) GetVariantsOk ¶

func (o *FeatureVariantsSchema) GetVariantsOk() ([]VariantSchema, bool)

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

func (*FeatureVariantsSchema) GetVersion ¶

func (o *FeatureVariantsSchema) GetVersion() int32

GetVersion returns the Version field value

func (*FeatureVariantsSchema) GetVersionOk ¶

func (o *FeatureVariantsSchema) GetVersionOk() (*int32, bool)

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

func (FeatureVariantsSchema) MarshalJSON ¶

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

func (*FeatureVariantsSchema) SetVariants ¶

func (o *FeatureVariantsSchema) SetVariants(v []VariantSchema)

SetVariants sets field value

func (*FeatureVariantsSchema) SetVersion ¶

func (o *FeatureVariantsSchema) SetVersion(v int32)

SetVersion sets field value

func (FeatureVariantsSchema) ToMap ¶

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

type FeaturesApiService ¶

type FeaturesApiService service

FeaturesApiService FeaturesApi service

func (*FeaturesApiService) AddFavoriteFeature ¶

func (a *FeaturesApiService) AddFavoriteFeature(ctx context.Context, projectId string, featureName string) ApiAddFavoriteFeatureRequest

AddFavoriteFeature Method for AddFavoriteFeature

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiAddFavoriteFeatureRequest

func (*FeaturesApiService) AddFavoriteFeatureExecute ¶

func (a *FeaturesApiService) AddFavoriteFeatureExecute(r ApiAddFavoriteFeatureRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) AddFavoriteProject ¶

func (a *FeaturesApiService) AddFavoriteProject(ctx context.Context, projectId string) ApiAddFavoriteProjectRequest

AddFavoriteProject Method for AddFavoriteProject

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiAddFavoriteProjectRequest

func (*FeaturesApiService) AddFavoriteProjectExecute ¶

func (a *FeaturesApiService) AddFavoriteProjectExecute(r ApiAddFavoriteProjectRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) AddFeatureStrategy ¶

func (a *FeaturesApiService) AddFeatureStrategy(ctx context.Context, projectId string, featureName string, environment string) ApiAddFeatureStrategyRequest

AddFeatureStrategy Method for AddFeatureStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@return ApiAddFeatureStrategyRequest

func (*FeaturesApiService) AddFeatureStrategyExecute ¶

Execute executes the request

@return FeatureStrategySchema

func (*FeaturesApiService) AddTag ¶

func (a *FeaturesApiService) AddTag(ctx context.Context, featureName string) ApiAddTagRequest

AddTag Adds a tag to a feature.

Adds a tag to a feature if the feature and tag type exist in the system. The operation is idempotent, so adding an existing tag will result in a successful response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param featureName
@return ApiAddTagRequest

func (*FeaturesApiService) AddTagExecute ¶

func (a *FeaturesApiService) AddTagExecute(r ApiAddTagRequest) (*TagSchema, *http.Response, error)

Execute executes the request

@return TagSchema

func (*FeaturesApiService) ArchiveFeature ¶

func (a *FeaturesApiService) ArchiveFeature(ctx context.Context, projectId string, featureName string) ApiArchiveFeatureRequest

ArchiveFeature Archive a feature.

This endpoint archives the specified feature if the feature belongs to the specified project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiArchiveFeatureRequest

func (*FeaturesApiService) ArchiveFeatureExecute ¶

func (a *FeaturesApiService) ArchiveFeatureExecute(r ApiArchiveFeatureRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) ArchiveFeatures ¶

func (a *FeaturesApiService) ArchiveFeatures(ctx context.Context, projectId string) ApiArchiveFeaturesRequest

ArchiveFeatures Archives a list of features

This endpoint archives the specified features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiArchiveFeaturesRequest

func (*FeaturesApiService) ArchiveFeaturesExecute ¶

func (a *FeaturesApiService) ArchiveFeaturesExecute(r ApiArchiveFeaturesRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) BulkToggleFeaturesEnvironmentOff ¶

func (a *FeaturesApiService) BulkToggleFeaturesEnvironmentOff(ctx context.Context, projectId string, environment string) ApiBulkToggleFeaturesEnvironmentOffRequest

BulkToggleFeaturesEnvironmentOff Bulk disabled a list of features.

This endpoint disables multiple feature toggles.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param environment
@return ApiBulkToggleFeaturesEnvironmentOffRequest

func (*FeaturesApiService) BulkToggleFeaturesEnvironmentOffExecute ¶

func (a *FeaturesApiService) BulkToggleFeaturesEnvironmentOffExecute(r ApiBulkToggleFeaturesEnvironmentOffRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) BulkToggleFeaturesEnvironmentOn ¶

func (a *FeaturesApiService) BulkToggleFeaturesEnvironmentOn(ctx context.Context, projectId string, environment string) ApiBulkToggleFeaturesEnvironmentOnRequest

BulkToggleFeaturesEnvironmentOn Bulk enable a list of features.

This endpoint enables multiple feature toggles.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param environment
@return ApiBulkToggleFeaturesEnvironmentOnRequest

func (*FeaturesApiService) BulkToggleFeaturesEnvironmentOnExecute ¶

func (a *FeaturesApiService) BulkToggleFeaturesEnvironmentOnExecute(r ApiBulkToggleFeaturesEnvironmentOnRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) CloneFeature ¶

func (a *FeaturesApiService) CloneFeature(ctx context.Context, projectId string, featureName string) ApiCloneFeatureRequest

CloneFeature Method for CloneFeature

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiCloneFeatureRequest

func (*FeaturesApiService) CloneFeatureExecute ¶

Execute executes the request

@return FeatureSchema

func (*FeaturesApiService) CreateFeature ¶

func (a *FeaturesApiService) CreateFeature(ctx context.Context, projectId string) ApiCreateFeatureRequest

CreateFeature Method for CreateFeature

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiCreateFeatureRequest

func (*FeaturesApiService) CreateFeatureExecute ¶

Execute executes the request

@return FeatureSchema

func (*FeaturesApiService) DeleteFeatureStrategy ¶

func (a *FeaturesApiService) DeleteFeatureStrategy(ctx context.Context, projectId string, featureName string, environment string, strategyId string) ApiDeleteFeatureStrategyRequest

DeleteFeatureStrategy Method for DeleteFeatureStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@param strategyId
@return ApiDeleteFeatureStrategyRequest

func (*FeaturesApiService) DeleteFeatureStrategyExecute ¶

func (a *FeaturesApiService) DeleteFeatureStrategyExecute(r ApiDeleteFeatureStrategyRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) GetAllFeatureTypes ¶

GetAllFeatureTypes Method for GetAllFeatureTypes

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllFeatureTypesRequest

func (*FeaturesApiService) GetAllFeatureTypesExecute ¶

Execute executes the request

@return FeatureTypesSchema

func (*FeaturesApiService) GetAllToggles ¶

GetAllToggles Method for GetAllToggles

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllTogglesRequest

Deprecated

func (*FeaturesApiService) GetAllTogglesExecute ¶

Execute executes the request

@return FeaturesSchema

Deprecated

func (*FeaturesApiService) GetEnvironmentFeatureVariants ¶

func (a *FeaturesApiService) GetEnvironmentFeatureVariants(ctx context.Context, projectId string, featureName string, environment string) ApiGetEnvironmentFeatureVariantsRequest

GetEnvironmentFeatureVariants Get variants for a feature in an environment

Returns the variants for a feature in a specific environment. If the feature has no variants it will return an empty array of variants

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@return ApiGetEnvironmentFeatureVariantsRequest

func (*FeaturesApiService) GetEnvironmentFeatureVariantsExecute ¶

Execute executes the request

@return FeatureVariantsSchema

func (*FeaturesApiService) GetFeature ¶

func (a *FeaturesApiService) GetFeature(ctx context.Context, projectId string, featureName string) ApiGetFeatureRequest

GetFeature Get a feature.

This endpoint returns the information about the requested feature if the feature belongs to the specified project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiGetFeatureRequest

func (*FeaturesApiService) GetFeatureEnvironment ¶

func (a *FeaturesApiService) GetFeatureEnvironment(ctx context.Context, projectId string, featureName string, environment string) ApiGetFeatureEnvironmentRequest

GetFeatureEnvironment Method for GetFeatureEnvironment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@return ApiGetFeatureEnvironmentRequest

func (*FeaturesApiService) GetFeatureEnvironmentExecute ¶

Execute executes the request

@return FeatureEnvironmentSchema

func (*FeaturesApiService) GetFeatureExecute ¶

Execute executes the request

@return FeatureSchema

func (*FeaturesApiService) GetFeatureStrategies ¶

func (a *FeaturesApiService) GetFeatureStrategies(ctx context.Context, projectId string, featureName string, environment string) ApiGetFeatureStrategiesRequest

GetFeatureStrategies Method for GetFeatureStrategies

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@return ApiGetFeatureStrategiesRequest

func (*FeaturesApiService) GetFeatureStrategiesExecute ¶

Execute executes the request

@return FeatureStrategySchema

func (*FeaturesApiService) GetFeatureStrategy ¶

func (a *FeaturesApiService) GetFeatureStrategy(ctx context.Context, projectId string, featureName string, environment string, strategyId string) ApiGetFeatureStrategyRequest

GetFeatureStrategy Method for GetFeatureStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@param strategyId
@return ApiGetFeatureStrategyRequest

func (*FeaturesApiService) GetFeatureStrategyExecute ¶

Execute executes the request

@return FeatureStrategySchema

func (*FeaturesApiService) GetFeatureVariants ¶

func (a *FeaturesApiService) GetFeatureVariants(ctx context.Context, projectId string, featureName string) ApiGetFeatureVariantsRequest

GetFeatureVariants Retrieve variants for a feature (deprecated)

(deprecated from 4.21) Retrieve the variants for the specified feature. From Unleash 4.21 onwards, this endpoint will attempt to choose a [production-type environment](https://docs.getunleash.io/reference/environments) as the source of truth. If more than one production environment is found, the first one will be used.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiGetFeatureVariantsRequest

Deprecated

func (*FeaturesApiService) GetFeatureVariantsExecute ¶

Execute executes the request

@return FeatureVariantsSchema

Deprecated

func (*FeaturesApiService) GetFeatures ¶

func (a *FeaturesApiService) GetFeatures(ctx context.Context, projectId string) ApiGetFeaturesRequest

GetFeatures Method for GetFeatures

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiGetFeaturesRequest

func (*FeaturesApiService) GetFeaturesExecute ¶

Execute executes the request

@return FeaturesSchema

func (*FeaturesApiService) ListTags ¶

func (a *FeaturesApiService) ListTags(ctx context.Context, featureName string) ApiListTagsRequest

ListTags Get all tags for a feature.

Retrieves all the tags for a feature name. If the feature does not exist it returns an empty list.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param featureName
@return ApiListTagsRequest

func (*FeaturesApiService) ListTagsExecute ¶

func (a *FeaturesApiService) ListTagsExecute(r ApiListTagsRequest) (*TagsSchema, *http.Response, error)

Execute executes the request

@return TagsSchema

func (*FeaturesApiService) OverwriteEnvironmentFeatureVariants ¶

func (a *FeaturesApiService) OverwriteEnvironmentFeatureVariants(ctx context.Context, projectId string, featureName string, environment string) ApiOverwriteEnvironmentFeatureVariantsRequest

OverwriteEnvironmentFeatureVariants Create (overwrite) variants for a feature in an environment

This overwrites the current variants for the feature toggle in the :featureName parameter for the :environment parameter.

                       The backend will validate the input for the following invariants:

                   * If there are variants, there needs to be at least one variant with `weightType: variable`
                   * The sum of the weights of variants with `weightType: fix` must be strictly less than 1000 (< 1000)

                   The backend will also distribute remaining weight up to 1000 after adding the variants with `weightType: fix` together amongst the variants of `weightType: variable`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@return ApiOverwriteEnvironmentFeatureVariantsRequest

func (*FeaturesApiService) OverwriteEnvironmentFeatureVariantsExecute ¶

func (a *FeaturesApiService) OverwriteEnvironmentFeatureVariantsExecute(r ApiOverwriteEnvironmentFeatureVariantsRequest) (*FeatureVariantsSchema, *http.Response, error)

Execute executes the request

@return FeatureVariantsSchema

func (*FeaturesApiService) OverwriteFeatureVariants ¶

func (a *FeaturesApiService) OverwriteFeatureVariants(ctx context.Context, projectId string, featureName string) ApiOverwriteFeatureVariantsRequest

OverwriteFeatureVariants Create (overwrite) variants for a feature toggle in all environments

This overwrites the current variants for the feature specified in the :featureName parameter in all environments.

                   The backend will validate the input for the following invariants

                   * If there are variants, there needs to be at least one variant with `weightType: variable`
                   * The sum of the weights of variants with `weightType: fix` must be strictly less than 1000 (< 1000)

                   The backend will also distribute remaining weight up to 1000 after adding the variants with `weightType: fix` together amongst the variants of `weightType: variable`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiOverwriteFeatureVariantsRequest

func (*FeaturesApiService) OverwriteFeatureVariantsExecute ¶

Execute executes the request

@return FeatureVariantsSchema

func (*FeaturesApiService) OverwriteFeatureVariantsOnEnvironments ¶

func (a *FeaturesApiService) OverwriteFeatureVariantsOnEnvironments(ctx context.Context, projectId string, featureName string) ApiOverwriteFeatureVariantsOnEnvironmentsRequest

OverwriteFeatureVariantsOnEnvironments Method for OverwriteFeatureVariantsOnEnvironments

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiOverwriteFeatureVariantsOnEnvironmentsRequest

func (*FeaturesApiService) OverwriteFeatureVariantsOnEnvironmentsExecute ¶

func (a *FeaturesApiService) OverwriteFeatureVariantsOnEnvironmentsExecute(r ApiOverwriteFeatureVariantsOnEnvironmentsRequest) (*FeatureVariantsSchema, *http.Response, error)

Execute executes the request

@return FeatureVariantsSchema

func (*FeaturesApiService) PatchEnvironmentsFeatureVariants ¶

func (a *FeaturesApiService) PatchEnvironmentsFeatureVariants(ctx context.Context, projectId string, featureName string, environment string) ApiPatchEnvironmentsFeatureVariantsRequest

PatchEnvironmentsFeatureVariants Patch a feature's variants in an environment

Apply a list of patches to the features environments in the specified environment. The patch objects should conform to the [JSON-patch format (RFC 6902)](https://www.rfc-editor.org/rfc/rfc6902).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@return ApiPatchEnvironmentsFeatureVariantsRequest

func (*FeaturesApiService) PatchEnvironmentsFeatureVariantsExecute ¶

func (a *FeaturesApiService) PatchEnvironmentsFeatureVariantsExecute(r ApiPatchEnvironmentsFeatureVariantsRequest) (*FeatureVariantsSchema, *http.Response, error)

Execute executes the request

@return FeatureVariantsSchema

func (*FeaturesApiService) PatchFeature ¶

func (a *FeaturesApiService) PatchFeature(ctx context.Context, projectId string, featureName string) ApiPatchFeatureRequest

PatchFeature Method for PatchFeature

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiPatchFeatureRequest

func (*FeaturesApiService) PatchFeatureExecute ¶

Execute executes the request

@return FeatureSchema

func (*FeaturesApiService) PatchFeatureStrategy ¶

func (a *FeaturesApiService) PatchFeatureStrategy(ctx context.Context, projectId string, featureName string, environment string, strategyId string) ApiPatchFeatureStrategyRequest

PatchFeatureStrategy Method for PatchFeatureStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@param strategyId
@return ApiPatchFeatureStrategyRequest

func (*FeaturesApiService) PatchFeatureStrategyExecute ¶

Execute executes the request

@return FeatureStrategySchema

func (*FeaturesApiService) PatchFeatureVariants ¶

func (a *FeaturesApiService) PatchFeatureVariants(ctx context.Context, projectId string, featureName string) ApiPatchFeatureVariantsRequest

PatchFeatureVariants Apply a patch to a feature's variants (in all environments).

Apply a list of patches patch to the specified feature's variants. The patch objects should conform to the [JSON-patch format (RFC 6902)](https://www.rfc-editor.org/rfc/rfc6902).

                       ⚠️ **Warning**: This method is not atomic. If something fails in the middle of applying the patch, you can be left with a half-applied patch. We recommend that you instead [patch variants on a per-environment basis](/docs/reference/api/unleash/patch-environments-feature-variants.api.mdx), which **is** an atomic operation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiPatchFeatureVariantsRequest

func (*FeaturesApiService) PatchFeatureVariantsExecute ¶

Execute executes the request

@return FeatureVariantsSchema

func (*FeaturesApiService) RemoveFavoriteFeature ¶

func (a *FeaturesApiService) RemoveFavoriteFeature(ctx context.Context, projectId string, featureName string) ApiRemoveFavoriteFeatureRequest

RemoveFavoriteFeature Method for RemoveFavoriteFeature

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiRemoveFavoriteFeatureRequest

func (*FeaturesApiService) RemoveFavoriteFeatureExecute ¶

func (a *FeaturesApiService) RemoveFavoriteFeatureExecute(r ApiRemoveFavoriteFeatureRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) RemoveFavoriteProject ¶

func (a *FeaturesApiService) RemoveFavoriteProject(ctx context.Context, projectId string) ApiRemoveFavoriteProjectRequest

RemoveFavoriteProject Method for RemoveFavoriteProject

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiRemoveFavoriteProjectRequest

func (*FeaturesApiService) RemoveFavoriteProjectExecute ¶

func (a *FeaturesApiService) RemoveFavoriteProjectExecute(r ApiRemoveFavoriteProjectRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) RemoveTag ¶

func (a *FeaturesApiService) RemoveTag(ctx context.Context, featureName string, type_ string, value string) ApiRemoveTagRequest

RemoveTag Removes a tag from a feature.

Removes a tag from a feature. If the feature exists but the tag does not, it returns a successful response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param featureName
@param type_
@param value
@return ApiRemoveTagRequest

func (*FeaturesApiService) RemoveTagExecute ¶

func (a *FeaturesApiService) RemoveTagExecute(r ApiRemoveTagRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) SetStrategySortOrder ¶

func (a *FeaturesApiService) SetStrategySortOrder(ctx context.Context, projectId string, featureName string, environment string) ApiSetStrategySortOrderRequest

SetStrategySortOrder Method for SetStrategySortOrder

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@return ApiSetStrategySortOrderRequest

func (*FeaturesApiService) SetStrategySortOrderExecute ¶

func (a *FeaturesApiService) SetStrategySortOrderExecute(r ApiSetStrategySortOrderRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) StaleFeatures ¶

func (a *FeaturesApiService) StaleFeatures(ctx context.Context, projectId string) ApiStaleFeaturesRequest

StaleFeatures Stales a list of features

This endpoint stales the specified features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiStaleFeaturesRequest

func (*FeaturesApiService) StaleFeaturesExecute ¶

func (a *FeaturesApiService) StaleFeaturesExecute(r ApiStaleFeaturesRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) ToggleFeatureEnvironmentOff ¶

func (a *FeaturesApiService) ToggleFeatureEnvironmentOff(ctx context.Context, projectId string, featureName string, environment string) ApiToggleFeatureEnvironmentOffRequest

ToggleFeatureEnvironmentOff Method for ToggleFeatureEnvironmentOff

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@return ApiToggleFeatureEnvironmentOffRequest

func (*FeaturesApiService) ToggleFeatureEnvironmentOffExecute ¶

func (a *FeaturesApiService) ToggleFeatureEnvironmentOffExecute(r ApiToggleFeatureEnvironmentOffRequest) (*FeatureSchema, *http.Response, error)

Execute executes the request

@return FeatureSchema

func (*FeaturesApiService) ToggleFeatureEnvironmentOn ¶

func (a *FeaturesApiService) ToggleFeatureEnvironmentOn(ctx context.Context, projectId string, featureName string, environment string) ApiToggleFeatureEnvironmentOnRequest

ToggleFeatureEnvironmentOn Method for ToggleFeatureEnvironmentOn

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@return ApiToggleFeatureEnvironmentOnRequest

func (*FeaturesApiService) ToggleFeatureEnvironmentOnExecute ¶

func (a *FeaturesApiService) ToggleFeatureEnvironmentOnExecute(r ApiToggleFeatureEnvironmentOnRequest) (*FeatureSchema, *http.Response, error)

Execute executes the request

@return FeatureSchema

func (*FeaturesApiService) UpdateFeature ¶

func (a *FeaturesApiService) UpdateFeature(ctx context.Context, projectId string, featureName string) ApiUpdateFeatureRequest

UpdateFeature Method for UpdateFeature

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@return ApiUpdateFeatureRequest

func (*FeaturesApiService) UpdateFeatureExecute ¶

Execute executes the request

@return FeatureSchema

func (*FeaturesApiService) UpdateFeatureStrategy ¶

func (a *FeaturesApiService) UpdateFeatureStrategy(ctx context.Context, projectId string, featureName string, environment string, strategyId string) ApiUpdateFeatureStrategyRequest

UpdateFeatureStrategy Method for UpdateFeatureStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param featureName
@param environment
@param strategyId
@return ApiUpdateFeatureStrategyRequest

func (*FeaturesApiService) UpdateFeatureStrategyExecute ¶

Execute executes the request

@return FeatureStrategySchema

func (*FeaturesApiService) UpdateTags ¶

func (a *FeaturesApiService) UpdateTags(ctx context.Context, featureName string) ApiUpdateTagsRequest

UpdateTags Updates multiple tags for a feature.

Receives a list of tags to add and a list of tags to remove that are mandatory but can be empty. All tags under addedTags are first added to the feature and then all tags under removedTags are removed from the feature.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param featureName
@return ApiUpdateTagsRequest

func (*FeaturesApiService) UpdateTagsExecute ¶

func (a *FeaturesApiService) UpdateTagsExecute(r ApiUpdateTagsRequest) (*TagsSchema, *http.Response, error)

Execute executes the request

@return TagsSchema

func (*FeaturesApiService) ValidateConstraint ¶

ValidateConstraint Method for ValidateConstraint

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiValidateConstraintRequest

func (*FeaturesApiService) ValidateConstraintExecute ¶

func (a *FeaturesApiService) ValidateConstraintExecute(r ApiValidateConstraintRequest) (*http.Response, error)

Execute executes the request

func (*FeaturesApiService) ValidateFeature ¶

ValidateFeature Method for ValidateFeature

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiValidateFeatureRequest

func (*FeaturesApiService) ValidateFeatureExecute ¶

func (a *FeaturesApiService) ValidateFeatureExecute(r ApiValidateFeatureRequest) (*http.Response, error)

Execute executes the request

type FeaturesSchema ¶

type FeaturesSchema struct {
	Version  int32           `json:"version"`
	Features []FeatureSchema `json:"features"`
}

FeaturesSchema struct for FeaturesSchema

func NewFeaturesSchema ¶

func NewFeaturesSchema(version int32, features []FeatureSchema) *FeaturesSchema

NewFeaturesSchema instantiates a new FeaturesSchema 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 NewFeaturesSchemaWithDefaults ¶

func NewFeaturesSchemaWithDefaults() *FeaturesSchema

NewFeaturesSchemaWithDefaults instantiates a new FeaturesSchema 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 (*FeaturesSchema) GetFeatures ¶

func (o *FeaturesSchema) GetFeatures() []FeatureSchema

GetFeatures returns the Features field value

func (*FeaturesSchema) GetFeaturesOk ¶

func (o *FeaturesSchema) GetFeaturesOk() ([]FeatureSchema, bool)

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

func (*FeaturesSchema) GetVersion ¶

func (o *FeaturesSchema) GetVersion() int32

GetVersion returns the Version field value

func (*FeaturesSchema) GetVersionOk ¶

func (o *FeaturesSchema) GetVersionOk() (*int32, bool)

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

func (FeaturesSchema) MarshalJSON ¶

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

func (*FeaturesSchema) SetFeatures ¶

func (o *FeaturesSchema) SetFeatures(v []FeatureSchema)

SetFeatures sets field value

func (*FeaturesSchema) SetVersion ¶

func (o *FeaturesSchema) SetVersion(v int32)

SetVersion sets field value

func (FeaturesSchema) ToMap ¶

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

type FeedbackCreateSchema ¶

type FeedbackCreateSchema struct {
	// `true` if the user has asked never to see this feedback questionnaire again. Defaults to `false`.
	NeverShow *bool `json:"neverShow,omitempty"`
	// The name of the feedback session
	FeedbackId string `json:"feedbackId"`
}

FeedbackCreateSchema User feedback information to be created.

func NewFeedbackCreateSchema ¶

func NewFeedbackCreateSchema(feedbackId string) *FeedbackCreateSchema

NewFeedbackCreateSchema instantiates a new FeedbackCreateSchema 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 NewFeedbackCreateSchemaWithDefaults ¶

func NewFeedbackCreateSchemaWithDefaults() *FeedbackCreateSchema

NewFeedbackCreateSchemaWithDefaults instantiates a new FeedbackCreateSchema 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 (*FeedbackCreateSchema) GetFeedbackId ¶

func (o *FeedbackCreateSchema) GetFeedbackId() string

GetFeedbackId returns the FeedbackId field value

func (*FeedbackCreateSchema) GetFeedbackIdOk ¶

func (o *FeedbackCreateSchema) GetFeedbackIdOk() (*string, bool)

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

func (*FeedbackCreateSchema) GetNeverShow ¶

func (o *FeedbackCreateSchema) GetNeverShow() bool

GetNeverShow returns the NeverShow field value if set, zero value otherwise.

func (*FeedbackCreateSchema) GetNeverShowOk ¶

func (o *FeedbackCreateSchema) GetNeverShowOk() (*bool, bool)

GetNeverShowOk returns a tuple with the NeverShow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeedbackCreateSchema) HasNeverShow ¶

func (o *FeedbackCreateSchema) HasNeverShow() bool

HasNeverShow returns a boolean if a field has been set.

func (FeedbackCreateSchema) MarshalJSON ¶

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

func (*FeedbackCreateSchema) SetFeedbackId ¶

func (o *FeedbackCreateSchema) SetFeedbackId(v string)

SetFeedbackId sets field value

func (*FeedbackCreateSchema) SetNeverShow ¶

func (o *FeedbackCreateSchema) SetNeverShow(v bool)

SetNeverShow gets a reference to the given bool and assigns it to the NeverShow field.

func (FeedbackCreateSchema) ToMap ¶

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

type FeedbackResponseSchema ¶

type FeedbackResponseSchema struct {
	// The ID of the user that gave the feedback.
	UserId *int32 `json:"userId,omitempty"`
	// `true` if the user has asked never to see this feedback questionnaire again.
	NeverShow *bool `json:"neverShow,omitempty"`
	// When this feedback was given
	Given NullableTime `json:"given,omitempty"`
	// The name of the feedback session
	FeedbackId *string `json:"feedbackId,omitempty"`
}

FeedbackResponseSchema User feedback information about a particular feedback item.

func NewFeedbackResponseSchema ¶

func NewFeedbackResponseSchema() *FeedbackResponseSchema

NewFeedbackResponseSchema instantiates a new FeedbackResponseSchema 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 NewFeedbackResponseSchemaWithDefaults ¶

func NewFeedbackResponseSchemaWithDefaults() *FeedbackResponseSchema

NewFeedbackResponseSchemaWithDefaults instantiates a new FeedbackResponseSchema 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 (*FeedbackResponseSchema) GetFeedbackId ¶

func (o *FeedbackResponseSchema) GetFeedbackId() string

GetFeedbackId returns the FeedbackId field value if set, zero value otherwise.

func (*FeedbackResponseSchema) GetFeedbackIdOk ¶

func (o *FeedbackResponseSchema) GetFeedbackIdOk() (*string, bool)

GetFeedbackIdOk returns a tuple with the FeedbackId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeedbackResponseSchema) GetGiven ¶

func (o *FeedbackResponseSchema) GetGiven() time.Time

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

func (*FeedbackResponseSchema) GetGivenOk ¶

func (o *FeedbackResponseSchema) GetGivenOk() (*time.Time, bool)

GetGivenOk returns a tuple with the Given 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 (*FeedbackResponseSchema) GetNeverShow ¶

func (o *FeedbackResponseSchema) GetNeverShow() bool

GetNeverShow returns the NeverShow field value if set, zero value otherwise.

func (*FeedbackResponseSchema) GetNeverShowOk ¶

func (o *FeedbackResponseSchema) GetNeverShowOk() (*bool, bool)

GetNeverShowOk returns a tuple with the NeverShow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeedbackResponseSchema) GetUserId ¶

func (o *FeedbackResponseSchema) GetUserId() int32

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

func (*FeedbackResponseSchema) GetUserIdOk ¶

func (o *FeedbackResponseSchema) 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 (*FeedbackResponseSchema) HasFeedbackId ¶

func (o *FeedbackResponseSchema) HasFeedbackId() bool

HasFeedbackId returns a boolean if a field has been set.

func (*FeedbackResponseSchema) HasGiven ¶

func (o *FeedbackResponseSchema) HasGiven() bool

HasGiven returns a boolean if a field has been set.

func (*FeedbackResponseSchema) HasNeverShow ¶

func (o *FeedbackResponseSchema) HasNeverShow() bool

HasNeverShow returns a boolean if a field has been set.

func (*FeedbackResponseSchema) HasUserId ¶

func (o *FeedbackResponseSchema) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (FeedbackResponseSchema) MarshalJSON ¶

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

func (*FeedbackResponseSchema) SetFeedbackId ¶

func (o *FeedbackResponseSchema) SetFeedbackId(v string)

SetFeedbackId gets a reference to the given string and assigns it to the FeedbackId field.

func (*FeedbackResponseSchema) SetGiven ¶

func (o *FeedbackResponseSchema) SetGiven(v time.Time)

SetGiven gets a reference to the given NullableTime and assigns it to the Given field.

func (*FeedbackResponseSchema) SetGivenNil ¶

func (o *FeedbackResponseSchema) SetGivenNil()

SetGivenNil sets the value for Given to be an explicit nil

func (*FeedbackResponseSchema) SetNeverShow ¶

func (o *FeedbackResponseSchema) SetNeverShow(v bool)

SetNeverShow gets a reference to the given bool and assigns it to the NeverShow field.

func (*FeedbackResponseSchema) SetUserId ¶

func (o *FeedbackResponseSchema) SetUserId(v int32)

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

func (FeedbackResponseSchema) ToMap ¶

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

func (*FeedbackResponseSchema) UnsetGiven ¶

func (o *FeedbackResponseSchema) UnsetGiven()

UnsetGiven ensures that no value is present for Given, not even an explicit nil

type FeedbackSchema ¶

type FeedbackSchema struct {
	UserId     *float32     `json:"userId,omitempty"`
	FeedbackId *string      `json:"feedbackId,omitempty"`
	NeverShow  *bool        `json:"neverShow,omitempty"`
	Given      NullableTime `json:"given,omitempty"`
}

FeedbackSchema struct for FeedbackSchema

func NewFeedbackSchema ¶

func NewFeedbackSchema() *FeedbackSchema

NewFeedbackSchema instantiates a new FeedbackSchema 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 NewFeedbackSchemaWithDefaults ¶

func NewFeedbackSchemaWithDefaults() *FeedbackSchema

NewFeedbackSchemaWithDefaults instantiates a new FeedbackSchema 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 (*FeedbackSchema) GetFeedbackId ¶

func (o *FeedbackSchema) GetFeedbackId() string

GetFeedbackId returns the FeedbackId field value if set, zero value otherwise.

func (*FeedbackSchema) GetFeedbackIdOk ¶

func (o *FeedbackSchema) GetFeedbackIdOk() (*string, bool)

GetFeedbackIdOk returns a tuple with the FeedbackId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeedbackSchema) GetGiven ¶

func (o *FeedbackSchema) GetGiven() time.Time

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

func (*FeedbackSchema) GetGivenOk ¶

func (o *FeedbackSchema) GetGivenOk() (*time.Time, bool)

GetGivenOk returns a tuple with the Given 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 (*FeedbackSchema) GetNeverShow ¶

func (o *FeedbackSchema) GetNeverShow() bool

GetNeverShow returns the NeverShow field value if set, zero value otherwise.

func (*FeedbackSchema) GetNeverShowOk ¶

func (o *FeedbackSchema) GetNeverShowOk() (*bool, bool)

GetNeverShowOk returns a tuple with the NeverShow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeedbackSchema) GetUserId ¶

func (o *FeedbackSchema) GetUserId() float32

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

func (*FeedbackSchema) GetUserIdOk ¶

func (o *FeedbackSchema) GetUserIdOk() (*float32, 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 (*FeedbackSchema) HasFeedbackId ¶

func (o *FeedbackSchema) HasFeedbackId() bool

HasFeedbackId returns a boolean if a field has been set.

func (*FeedbackSchema) HasGiven ¶

func (o *FeedbackSchema) HasGiven() bool

HasGiven returns a boolean if a field has been set.

func (*FeedbackSchema) HasNeverShow ¶

func (o *FeedbackSchema) HasNeverShow() bool

HasNeverShow returns a boolean if a field has been set.

func (*FeedbackSchema) HasUserId ¶

func (o *FeedbackSchema) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (FeedbackSchema) MarshalJSON ¶

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

func (*FeedbackSchema) SetFeedbackId ¶

func (o *FeedbackSchema) SetFeedbackId(v string)

SetFeedbackId gets a reference to the given string and assigns it to the FeedbackId field.

func (*FeedbackSchema) SetGiven ¶

func (o *FeedbackSchema) SetGiven(v time.Time)

SetGiven gets a reference to the given NullableTime and assigns it to the Given field.

func (*FeedbackSchema) SetGivenNil ¶

func (o *FeedbackSchema) SetGivenNil()

SetGivenNil sets the value for Given to be an explicit nil

func (*FeedbackSchema) SetNeverShow ¶

func (o *FeedbackSchema) SetNeverShow(v bool)

SetNeverShow gets a reference to the given bool and assigns it to the NeverShow field.

func (*FeedbackSchema) SetUserId ¶

func (o *FeedbackSchema) SetUserId(v float32)

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

func (FeedbackSchema) ToMap ¶

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

func (*FeedbackSchema) UnsetGiven ¶

func (o *FeedbackSchema) UnsetGiven()

UnsetGiven ensures that no value is present for Given, not even an explicit nil

type FeedbackUpdateSchema ¶

type FeedbackUpdateSchema struct {
	// The ID of the user that gave the feedback.
	UserId *int32 `json:"userId,omitempty"`
	// `true` if the user has asked never to see this feedback questionnaire again.
	NeverShow *bool `json:"neverShow,omitempty"`
	// When this feedback was given
	Given NullableTime `json:"given,omitempty"`
}

FeedbackUpdateSchema User feedback information to be updated.

func NewFeedbackUpdateSchema ¶

func NewFeedbackUpdateSchema() *FeedbackUpdateSchema

NewFeedbackUpdateSchema instantiates a new FeedbackUpdateSchema 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 NewFeedbackUpdateSchemaWithDefaults ¶

func NewFeedbackUpdateSchemaWithDefaults() *FeedbackUpdateSchema

NewFeedbackUpdateSchemaWithDefaults instantiates a new FeedbackUpdateSchema 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 (*FeedbackUpdateSchema) GetGiven ¶

func (o *FeedbackUpdateSchema) GetGiven() time.Time

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

func (*FeedbackUpdateSchema) GetGivenOk ¶

func (o *FeedbackUpdateSchema) GetGivenOk() (*time.Time, bool)

GetGivenOk returns a tuple with the Given 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 (*FeedbackUpdateSchema) GetNeverShow ¶

func (o *FeedbackUpdateSchema) GetNeverShow() bool

GetNeverShow returns the NeverShow field value if set, zero value otherwise.

func (*FeedbackUpdateSchema) GetNeverShowOk ¶

func (o *FeedbackUpdateSchema) GetNeverShowOk() (*bool, bool)

GetNeverShowOk returns a tuple with the NeverShow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeedbackUpdateSchema) GetUserId ¶

func (o *FeedbackUpdateSchema) GetUserId() int32

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

func (*FeedbackUpdateSchema) GetUserIdOk ¶

func (o *FeedbackUpdateSchema) 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 (*FeedbackUpdateSchema) HasGiven ¶

func (o *FeedbackUpdateSchema) HasGiven() bool

HasGiven returns a boolean if a field has been set.

func (*FeedbackUpdateSchema) HasNeverShow ¶

func (o *FeedbackUpdateSchema) HasNeverShow() bool

HasNeverShow returns a boolean if a field has been set.

func (*FeedbackUpdateSchema) HasUserId ¶

func (o *FeedbackUpdateSchema) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (FeedbackUpdateSchema) MarshalJSON ¶

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

func (*FeedbackUpdateSchema) SetGiven ¶

func (o *FeedbackUpdateSchema) SetGiven(v time.Time)

SetGiven gets a reference to the given NullableTime and assigns it to the Given field.

func (*FeedbackUpdateSchema) SetGivenNil ¶

func (o *FeedbackUpdateSchema) SetGivenNil()

SetGivenNil sets the value for Given to be an explicit nil

func (*FeedbackUpdateSchema) SetNeverShow ¶

func (o *FeedbackUpdateSchema) SetNeverShow(v bool)

SetNeverShow gets a reference to the given bool and assigns it to the NeverShow field.

func (*FeedbackUpdateSchema) SetUserId ¶

func (o *FeedbackUpdateSchema) SetUserId(v int32)

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

func (FeedbackUpdateSchema) ToMap ¶

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

func (*FeedbackUpdateSchema) UnsetGiven ¶

func (o *FeedbackUpdateSchema) UnsetGiven()

UnsetGiven ensures that no value is present for Given, not even an explicit nil

type FrontendAPIApiService ¶

type FrontendAPIApiService service

FrontendAPIApiService FrontendAPIApi service

func (*FrontendAPIApiService) GetFrontendFeatures ¶

GetFrontendFeatures Retrieve enabled feature toggles for the provided context.

This endpoint returns the list of feature toggles that the proxy evaluates to enabled for the given context. Context values are provided as query parameters. If the Frontend API is disabled 404 is returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetFrontendFeaturesRequest

func (*FrontendAPIApiService) GetFrontendFeaturesExecute ¶

Execute executes the request

@return ProxyFeaturesSchema

func (*FrontendAPIApiService) RegisterFrontendClient ¶

RegisterFrontendClient Register a client SDK

This is for future use. Currently Frontend client registration is not supported. Returning 200 for clients that expect this status code. If the Frontend API is disabled 404 is returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRegisterFrontendClientRequest

func (*FrontendAPIApiService) RegisterFrontendClientExecute ¶

func (a *FrontendAPIApiService) RegisterFrontendClientExecute(r ApiRegisterFrontendClientRequest) (*http.Response, error)

Execute executes the request

func (*FrontendAPIApiService) RegisterFrontendMetrics ¶

RegisterFrontendMetrics Register client usage metrics

Registers usage metrics. Stores information about how many times each toggle was evaluated to enabled and disabled within a time frame. If provided, this operation will also store data on how many times each feature toggle's variants were displayed to the end user. If the Frontend API is disabled 404 is returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRegisterFrontendMetricsRequest

func (*FrontendAPIApiService) RegisterFrontendMetricsExecute ¶

func (a *FrontendAPIApiService) RegisterFrontendMetricsExecute(r ApiRegisterFrontendMetricsRequest) (*http.Response, error)

Execute executes the request

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 GetEnvironment404Response ¶

type GetEnvironment404Response 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"`
}

GetEnvironment404Response struct for GetEnvironment404Response

func NewGetEnvironment404Response ¶

func NewGetEnvironment404Response() *GetEnvironment404Response

NewGetEnvironment404Response instantiates a new GetEnvironment404Response 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 NewGetEnvironment404ResponseWithDefaults ¶

func NewGetEnvironment404ResponseWithDefaults() *GetEnvironment404Response

NewGetEnvironment404ResponseWithDefaults instantiates a new GetEnvironment404Response 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 (*GetEnvironment404Response) GetId ¶

func (o *GetEnvironment404Response) GetId() string

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

func (*GetEnvironment404Response) GetIdOk ¶

func (o *GetEnvironment404Response) 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 (*GetEnvironment404Response) GetMessage ¶

func (o *GetEnvironment404Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetEnvironment404Response) GetMessageOk ¶

func (o *GetEnvironment404Response) 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 (*GetEnvironment404Response) GetName ¶

func (o *GetEnvironment404Response) GetName() string

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

func (*GetEnvironment404Response) GetNameOk ¶

func (o *GetEnvironment404Response) 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 (*GetEnvironment404Response) HasId ¶

func (o *GetEnvironment404Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*GetEnvironment404Response) HasMessage ¶

func (o *GetEnvironment404Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*GetEnvironment404Response) HasName ¶

func (o *GetEnvironment404Response) HasName() bool

HasName returns a boolean if a field has been set.

func (GetEnvironment404Response) MarshalJSON ¶

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

func (*GetEnvironment404Response) SetId ¶

func (o *GetEnvironment404Response) SetId(v string)

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

func (*GetEnvironment404Response) SetMessage ¶

func (o *GetEnvironment404Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*GetEnvironment404Response) SetName ¶

func (o *GetEnvironment404Response) SetName(v string)

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

func (GetEnvironment404Response) ToMap ¶

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

type GetGoogleSettings400Response ¶

type GetGoogleSettings400Response 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"`
}

GetGoogleSettings400Response struct for GetGoogleSettings400Response

func NewGetGoogleSettings400Response ¶

func NewGetGoogleSettings400Response() *GetGoogleSettings400Response

NewGetGoogleSettings400Response instantiates a new GetGoogleSettings400Response 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 NewGetGoogleSettings400ResponseWithDefaults ¶

func NewGetGoogleSettings400ResponseWithDefaults() *GetGoogleSettings400Response

NewGetGoogleSettings400ResponseWithDefaults instantiates a new GetGoogleSettings400Response 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 (*GetGoogleSettings400Response) GetId ¶

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

func (*GetGoogleSettings400Response) GetIdOk ¶

func (o *GetGoogleSettings400Response) 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 (*GetGoogleSettings400Response) GetMessage ¶

func (o *GetGoogleSettings400Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetGoogleSettings400Response) GetMessageOk ¶

func (o *GetGoogleSettings400Response) 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 (*GetGoogleSettings400Response) GetName ¶

func (o *GetGoogleSettings400Response) GetName() string

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

func (*GetGoogleSettings400Response) GetNameOk ¶

func (o *GetGoogleSettings400Response) 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 (*GetGoogleSettings400Response) HasId ¶

HasId returns a boolean if a field has been set.

func (*GetGoogleSettings400Response) HasMessage ¶

func (o *GetGoogleSettings400Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*GetGoogleSettings400Response) HasName ¶

func (o *GetGoogleSettings400Response) HasName() bool

HasName returns a boolean if a field has been set.

func (GetGoogleSettings400Response) MarshalJSON ¶

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

func (*GetGoogleSettings400Response) SetId ¶

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

func (*GetGoogleSettings400Response) SetMessage ¶

func (o *GetGoogleSettings400Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*GetGoogleSettings400Response) SetName ¶

func (o *GetGoogleSettings400Response) SetName(v string)

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

func (GetGoogleSettings400Response) ToMap ¶

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

type GetGoogleSettings403Response ¶

type GetGoogleSettings403Response 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"`
}

GetGoogleSettings403Response struct for GetGoogleSettings403Response

func NewGetGoogleSettings403Response ¶

func NewGetGoogleSettings403Response() *GetGoogleSettings403Response

NewGetGoogleSettings403Response instantiates a new GetGoogleSettings403Response 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 NewGetGoogleSettings403ResponseWithDefaults ¶

func NewGetGoogleSettings403ResponseWithDefaults() *GetGoogleSettings403Response

NewGetGoogleSettings403ResponseWithDefaults instantiates a new GetGoogleSettings403Response 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 (*GetGoogleSettings403Response) GetId ¶

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

func (*GetGoogleSettings403Response) GetIdOk ¶

func (o *GetGoogleSettings403Response) 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 (*GetGoogleSettings403Response) GetMessage ¶

func (o *GetGoogleSettings403Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetGoogleSettings403Response) GetMessageOk ¶

func (o *GetGoogleSettings403Response) 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 (*GetGoogleSettings403Response) GetName ¶

func (o *GetGoogleSettings403Response) GetName() string

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

func (*GetGoogleSettings403Response) GetNameOk ¶

func (o *GetGoogleSettings403Response) 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 (*GetGoogleSettings403Response) HasId ¶

HasId returns a boolean if a field has been set.

func (*GetGoogleSettings403Response) HasMessage ¶

func (o *GetGoogleSettings403Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*GetGoogleSettings403Response) HasName ¶

func (o *GetGoogleSettings403Response) HasName() bool

HasName returns a boolean if a field has been set.

func (GetGoogleSettings403Response) MarshalJSON ¶

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

func (*GetGoogleSettings403Response) SetId ¶

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

func (*GetGoogleSettings403Response) SetMessage ¶

func (o *GetGoogleSettings403Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*GetGoogleSettings403Response) SetName ¶

func (o *GetGoogleSettings403Response) SetName(v string)

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

func (GetGoogleSettings403Response) ToMap ¶

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

type GoogleSettingsSchema ¶

type GoogleSettingsSchema struct {
	// Is google OIDC enabled
	Enabled *bool `json:"enabled,omitempty"`
	// The google client id, used to authenticate against google
	ClientId string `json:"clientId"`
	// The client secret used to authenticate the OAuth session used to log the user in
	ClientSecret string `json:"clientSecret"`
	// Name of the host allowed to access the Google authentication flow
	UnleashHostname string `json:"unleashHostname"`
	// Should Unleash create users based on the emails coming back in the authentication reply from Google
	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"`
}

GoogleSettingsSchema Configuration for using Google Authentication

func NewGoogleSettingsSchema ¶

func NewGoogleSettingsSchema(clientId string, clientSecret string, unleashHostname string) *GoogleSettingsSchema

NewGoogleSettingsSchema instantiates a new GoogleSettingsSchema 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 NewGoogleSettingsSchemaWithDefaults ¶

func NewGoogleSettingsSchemaWithDefaults() *GoogleSettingsSchema

NewGoogleSettingsSchemaWithDefaults instantiates a new GoogleSettingsSchema 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 (*GoogleSettingsSchema) GetAutoCreate ¶

func (o *GoogleSettingsSchema) GetAutoCreate() bool

GetAutoCreate returns the AutoCreate field value if set, zero value otherwise.

func (*GoogleSettingsSchema) GetAutoCreateOk ¶

func (o *GoogleSettingsSchema) 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 (*GoogleSettingsSchema) GetClientId ¶

func (o *GoogleSettingsSchema) GetClientId() string

GetClientId returns the ClientId field value

func (*GoogleSettingsSchema) GetClientIdOk ¶

func (o *GoogleSettingsSchema) GetClientIdOk() (*string, bool)

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

func (*GoogleSettingsSchema) GetClientSecret ¶

func (o *GoogleSettingsSchema) GetClientSecret() string

GetClientSecret returns the ClientSecret field value

func (*GoogleSettingsSchema) GetClientSecretOk ¶

func (o *GoogleSettingsSchema) GetClientSecretOk() (*string, bool)

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

func (*GoogleSettingsSchema) GetEmailDomains ¶

func (o *GoogleSettingsSchema) GetEmailDomains() string

GetEmailDomains returns the EmailDomains field value if set, zero value otherwise.

func (*GoogleSettingsSchema) GetEmailDomainsOk ¶

func (o *GoogleSettingsSchema) 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 (*GoogleSettingsSchema) GetEnabled ¶

func (o *GoogleSettingsSchema) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*GoogleSettingsSchema) GetEnabledOk ¶

func (o *GoogleSettingsSchema) 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 (*GoogleSettingsSchema) GetUnleashHostname ¶

func (o *GoogleSettingsSchema) GetUnleashHostname() string

GetUnleashHostname returns the UnleashHostname field value

func (*GoogleSettingsSchema) GetUnleashHostnameOk ¶

func (o *GoogleSettingsSchema) GetUnleashHostnameOk() (*string, bool)

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

func (*GoogleSettingsSchema) HasAutoCreate ¶

func (o *GoogleSettingsSchema) HasAutoCreate() bool

HasAutoCreate returns a boolean if a field has been set.

func (*GoogleSettingsSchema) HasEmailDomains ¶

func (o *GoogleSettingsSchema) HasEmailDomains() bool

HasEmailDomains returns a boolean if a field has been set.

func (*GoogleSettingsSchema) HasEnabled ¶

func (o *GoogleSettingsSchema) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (GoogleSettingsSchema) MarshalJSON ¶

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

func (*GoogleSettingsSchema) SetAutoCreate ¶

func (o *GoogleSettingsSchema) SetAutoCreate(v bool)

SetAutoCreate gets a reference to the given bool and assigns it to the AutoCreate field.

func (*GoogleSettingsSchema) SetClientId ¶

func (o *GoogleSettingsSchema) SetClientId(v string)

SetClientId sets field value

func (*GoogleSettingsSchema) SetClientSecret ¶

func (o *GoogleSettingsSchema) SetClientSecret(v string)

SetClientSecret sets field value

func (*GoogleSettingsSchema) SetEmailDomains ¶

func (o *GoogleSettingsSchema) SetEmailDomains(v string)

SetEmailDomains gets a reference to the given string and assigns it to the EmailDomains field.

func (*GoogleSettingsSchema) SetEnabled ¶

func (o *GoogleSettingsSchema) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*GoogleSettingsSchema) SetUnleashHostname ¶

func (o *GoogleSettingsSchema) SetUnleashHostname(v string)

SetUnleashHostname sets field value

func (GoogleSettingsSchema) ToMap ¶

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

type GroupSchema ¶

type GroupSchema struct {
	Id          *float32       `json:"id,omitempty"`
	Name        string         `json:"name"`
	Description NullableString `json:"description,omitempty"`
	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 Editor or Admin role.
	RootRole             NullableFloat32        `json:"rootRole,omitempty"`
	CreatedBy            NullableString         `json:"createdBy,omitempty"`
	CreatedAt            NullableTime           `json:"createdAt,omitempty"`
	Users                []GroupUserModelSchema `json:"users,omitempty"`
	Projects             []string               `json:"projects,omitempty"`
	AdditionalProperties map[string]interface{}
}

GroupSchema struct for GroupSchema

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

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

func (*GroupSchema) GetIdOk ¶

func (o *GroupSchema) GetIdOk() (*float32, 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) 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) 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 float32)

SetId gets a reference to the given float32 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) 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 ¶

func (o *GroupSchema) UnmarshalJSON(bytes []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

type GroupUserModelSchema ¶

type GroupUserModelSchema struct {
	JoinedAt  *time.Time     `json:"joinedAt,omitempty"`
	CreatedBy NullableString `json:"createdBy,omitempty"`
	User      UserSchema     `json:"user"`
}

GroupUserModelSchema struct for GroupUserModelSchema

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) UnsetCreatedBy ¶

func (o *GroupUserModelSchema) UnsetCreatedBy()

UnsetCreatedBy ensures that no value is present for CreatedBy, not even an explicit nil

type GroupsSchema ¶

type GroupsSchema struct {
	Groups []GroupSchema `json:"groups,omitempty"`
}

GroupsSchema struct for GroupsSchema

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)

type HealthCheckSchema ¶

type HealthCheckSchema struct {
	// The state this Unleash instance is in. GOOD if everything is ok, BAD if the instance should be restarted
	Health string `json:"health"`
}

HealthCheckSchema Used by service orchestrators to decide whether this Unleash instance should be marked as healthy or unhealthy

func NewHealthCheckSchema ¶

func NewHealthCheckSchema(health string) *HealthCheckSchema

NewHealthCheckSchema instantiates a new HealthCheckSchema 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 NewHealthCheckSchemaWithDefaults ¶

func NewHealthCheckSchemaWithDefaults() *HealthCheckSchema

NewHealthCheckSchemaWithDefaults instantiates a new HealthCheckSchema 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 (*HealthCheckSchema) GetHealth ¶

func (o *HealthCheckSchema) GetHealth() string

GetHealth returns the Health field value

func (*HealthCheckSchema) GetHealthOk ¶

func (o *HealthCheckSchema) GetHealthOk() (*string, bool)

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

func (HealthCheckSchema) MarshalJSON ¶

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

func (*HealthCheckSchema) SetHealth ¶

func (o *HealthCheckSchema) SetHealth(v string)

SetHealth sets field value

func (HealthCheckSchema) ToMap ¶

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

type HealthOverviewSchema ¶

type HealthOverviewSchema struct {
	// The project overview version.
	Version int32 `json:"version"`
	// The project's name
	Name string `json:"name"`
	// The project's description
	Description NullableString `json:"description,omitempty"`
	// A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy
	DefaultStickiness string `json:"defaultStickiness"`
	// The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.
	Mode string `json:"mode"`
	// The number of users/members in the project.
	Members int32 `json:"members"`
	// The overall [health rating](https://docs.getunleash.io/reference/technical-debt#health-rating) of the project.
	Health int32 `json:"health"`
	// An array containing the names of all the environments configured for the project.
	Environments []ProjectEnvironmentSchema `json:"environments"`
	// An array containing an overview of all the features of the project and their individual status
	Features []FeatureSchema `json:"features"`
	// When the project was last updated.
	UpdatedAt NullableTime `json:"updatedAt,omitempty"`
	// When the project was last updated.
	CreatedAt NullableTime `json:"createdAt,omitempty"`
	// Indicates if the project has been marked as a favorite by the current user requesting the project health overview.
	Favorite *bool               `json:"favorite,omitempty"`
	Stats    *ProjectStatsSchema `json:"stats,omitempty"`
}

HealthOverviewSchema An overview of a project's stats and its health as described in the documentation on [technical debt](https://docs.getunleash.io/reference/technical-debt)

func NewHealthOverviewSchema ¶

func NewHealthOverviewSchema(version int32, name string, defaultStickiness string, mode string, members int32, health int32, environments []ProjectEnvironmentSchema, features []FeatureSchema) *HealthOverviewSchema

NewHealthOverviewSchema instantiates a new HealthOverviewSchema 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 NewHealthOverviewSchemaWithDefaults ¶

func NewHealthOverviewSchemaWithDefaults() *HealthOverviewSchema

NewHealthOverviewSchemaWithDefaults instantiates a new HealthOverviewSchema 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 (*HealthOverviewSchema) GetCreatedAt ¶

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

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

func (*HealthOverviewSchema) GetCreatedAtOk ¶

func (o *HealthOverviewSchema) 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 (*HealthOverviewSchema) GetDefaultStickiness ¶

func (o *HealthOverviewSchema) GetDefaultStickiness() string

GetDefaultStickiness returns the DefaultStickiness field value

func (*HealthOverviewSchema) GetDefaultStickinessOk ¶

func (o *HealthOverviewSchema) GetDefaultStickinessOk() (*string, bool)

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

func (*HealthOverviewSchema) GetDescription ¶

func (o *HealthOverviewSchema) GetDescription() string

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

func (*HealthOverviewSchema) GetDescriptionOk ¶

func (o *HealthOverviewSchema) 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 (*HealthOverviewSchema) GetEnvironments ¶

func (o *HealthOverviewSchema) GetEnvironments() []ProjectEnvironmentSchema

GetEnvironments returns the Environments field value

func (*HealthOverviewSchema) GetEnvironmentsOk ¶

func (o *HealthOverviewSchema) GetEnvironmentsOk() ([]ProjectEnvironmentSchema, bool)

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

func (*HealthOverviewSchema) GetFavorite ¶

func (o *HealthOverviewSchema) GetFavorite() bool

GetFavorite returns the Favorite field value if set, zero value otherwise.

func (*HealthOverviewSchema) GetFavoriteOk ¶

func (o *HealthOverviewSchema) GetFavoriteOk() (*bool, bool)

GetFavoriteOk returns a tuple with the Favorite field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HealthOverviewSchema) GetFeatures ¶

func (o *HealthOverviewSchema) GetFeatures() []FeatureSchema

GetFeatures returns the Features field value

func (*HealthOverviewSchema) GetFeaturesOk ¶

func (o *HealthOverviewSchema) GetFeaturesOk() ([]FeatureSchema, bool)

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

func (*HealthOverviewSchema) GetHealth ¶

func (o *HealthOverviewSchema) GetHealth() int32

GetHealth returns the Health field value

func (*HealthOverviewSchema) GetHealthOk ¶

func (o *HealthOverviewSchema) GetHealthOk() (*int32, bool)

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

func (*HealthOverviewSchema) GetMembers ¶

func (o *HealthOverviewSchema) GetMembers() int32

GetMembers returns the Members field value

func (*HealthOverviewSchema) GetMembersOk ¶

func (o *HealthOverviewSchema) GetMembersOk() (*int32, bool)

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

func (*HealthOverviewSchema) GetMode ¶

func (o *HealthOverviewSchema) GetMode() string

GetMode returns the Mode field value

func (*HealthOverviewSchema) GetModeOk ¶

func (o *HealthOverviewSchema) GetModeOk() (*string, bool)

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

func (*HealthOverviewSchema) GetName ¶

func (o *HealthOverviewSchema) GetName() string

GetName returns the Name field value

func (*HealthOverviewSchema) GetNameOk ¶

func (o *HealthOverviewSchema) GetNameOk() (*string, bool)

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

func (*HealthOverviewSchema) GetStats ¶

GetStats returns the Stats field value if set, zero value otherwise.

func (*HealthOverviewSchema) GetStatsOk ¶

func (o *HealthOverviewSchema) GetStatsOk() (*ProjectStatsSchema, bool)

GetStatsOk returns a tuple with the Stats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HealthOverviewSchema) GetUpdatedAt ¶

func (o *HealthOverviewSchema) GetUpdatedAt() time.Time

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

func (*HealthOverviewSchema) GetUpdatedAtOk ¶

func (o *HealthOverviewSchema) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt 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 (*HealthOverviewSchema) GetVersion ¶

func (o *HealthOverviewSchema) GetVersion() int32

GetVersion returns the Version field value

func (*HealthOverviewSchema) GetVersionOk ¶

func (o *HealthOverviewSchema) GetVersionOk() (*int32, bool)

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

func (*HealthOverviewSchema) HasCreatedAt ¶

func (o *HealthOverviewSchema) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*HealthOverviewSchema) HasDescription ¶

func (o *HealthOverviewSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*HealthOverviewSchema) HasFavorite ¶

func (o *HealthOverviewSchema) HasFavorite() bool

HasFavorite returns a boolean if a field has been set.

func (*HealthOverviewSchema) HasStats ¶

func (o *HealthOverviewSchema) HasStats() bool

HasStats returns a boolean if a field has been set.

func (*HealthOverviewSchema) HasUpdatedAt ¶

func (o *HealthOverviewSchema) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (HealthOverviewSchema) MarshalJSON ¶

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

func (*HealthOverviewSchema) SetCreatedAt ¶

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

SetCreatedAt gets a reference to the given NullableTime and assigns it to the CreatedAt field.

func (*HealthOverviewSchema) SetCreatedAtNil ¶

func (o *HealthOverviewSchema) SetCreatedAtNil()

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

func (*HealthOverviewSchema) SetDefaultStickiness ¶

func (o *HealthOverviewSchema) SetDefaultStickiness(v string)

SetDefaultStickiness sets field value

func (*HealthOverviewSchema) SetDescription ¶

func (o *HealthOverviewSchema) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*HealthOverviewSchema) SetDescriptionNil ¶

func (o *HealthOverviewSchema) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*HealthOverviewSchema) SetEnvironments ¶

func (o *HealthOverviewSchema) SetEnvironments(v []ProjectEnvironmentSchema)

SetEnvironments sets field value

func (*HealthOverviewSchema) SetFavorite ¶

func (o *HealthOverviewSchema) SetFavorite(v bool)

SetFavorite gets a reference to the given bool and assigns it to the Favorite field.

func (*HealthOverviewSchema) SetFeatures ¶

func (o *HealthOverviewSchema) SetFeatures(v []FeatureSchema)

SetFeatures sets field value

func (*HealthOverviewSchema) SetHealth ¶

func (o *HealthOverviewSchema) SetHealth(v int32)

SetHealth sets field value

func (*HealthOverviewSchema) SetMembers ¶

func (o *HealthOverviewSchema) SetMembers(v int32)

SetMembers sets field value

func (*HealthOverviewSchema) SetMode ¶

func (o *HealthOverviewSchema) SetMode(v string)

SetMode sets field value

func (*HealthOverviewSchema) SetName ¶

func (o *HealthOverviewSchema) SetName(v string)

SetName sets field value

func (*HealthOverviewSchema) SetStats ¶

SetStats gets a reference to the given ProjectStatsSchema and assigns it to the Stats field.

func (*HealthOverviewSchema) SetUpdatedAt ¶

func (o *HealthOverviewSchema) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given NullableTime and assigns it to the UpdatedAt field.

func (*HealthOverviewSchema) SetUpdatedAtNil ¶

func (o *HealthOverviewSchema) SetUpdatedAtNil()

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

func (*HealthOverviewSchema) SetVersion ¶

func (o *HealthOverviewSchema) SetVersion(v int32)

SetVersion sets field value

func (HealthOverviewSchema) ToMap ¶

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

func (*HealthOverviewSchema) UnsetCreatedAt ¶

func (o *HealthOverviewSchema) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

func (*HealthOverviewSchema) UnsetDescription ¶

func (o *HealthOverviewSchema) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*HealthOverviewSchema) UnsetUpdatedAt ¶

func (o *HealthOverviewSchema) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil

type HealthReportSchema ¶

type HealthReportSchema struct {
	// The project overview version.
	Version int32 `json:"version"`
	// The project's name
	Name string `json:"name"`
	// The project's description
	Description NullableString `json:"description,omitempty"`
	// A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy
	DefaultStickiness string `json:"defaultStickiness"`
	// The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.
	Mode string `json:"mode"`
	// The number of users/members in the project.
	Members int32 `json:"members"`
	// The overall [health rating](https://docs.getunleash.io/reference/technical-debt#health-rating) of the project.
	Health int32 `json:"health"`
	// An array containing the names of all the environments configured for the project.
	Environments []ProjectEnvironmentSchema `json:"environments"`
	// An array containing an overview of all the features of the project and their individual status
	Features []FeatureSchema `json:"features"`
	// When the project was last updated.
	UpdatedAt NullableTime `json:"updatedAt,omitempty"`
	// When the project was last updated.
	CreatedAt NullableTime `json:"createdAt,omitempty"`
	// Indicates if the project has been marked as a favorite by the current user requesting the project health overview.
	Favorite *bool               `json:"favorite,omitempty"`
	Stats    *ProjectStatsSchema `json:"stats,omitempty"`
	// The number of potentially stale feature toggles.
	PotentiallyStaleCount float32 `json:"potentiallyStaleCount"`
	// The number of active feature toggles.
	ActiveCount float32 `json:"activeCount"`
	// The number of stale feature toggles.
	StaleCount float32 `json:"staleCount"`
}

HealthReportSchema A report of the current health of the requested project, with datapoints like counters of currently active, stale, and potentially stale feature toggles.

func NewHealthReportSchema ¶

func NewHealthReportSchema(version int32, name string, defaultStickiness string, mode string, members int32, health int32, environments []ProjectEnvironmentSchema, features []FeatureSchema, potentiallyStaleCount float32, activeCount float32, staleCount float32) *HealthReportSchema

NewHealthReportSchema instantiates a new HealthReportSchema 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 NewHealthReportSchemaWithDefaults ¶

func NewHealthReportSchemaWithDefaults() *HealthReportSchema

NewHealthReportSchemaWithDefaults instantiates a new HealthReportSchema 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 (*HealthReportSchema) GetActiveCount ¶

func (o *HealthReportSchema) GetActiveCount() float32

GetActiveCount returns the ActiveCount field value

func (*HealthReportSchema) GetActiveCountOk ¶

func (o *HealthReportSchema) GetActiveCountOk() (*float32, bool)

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

func (*HealthReportSchema) GetCreatedAt ¶

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

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

func (*HealthReportSchema) GetCreatedAtOk ¶

func (o *HealthReportSchema) 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 (*HealthReportSchema) GetDefaultStickiness ¶

func (o *HealthReportSchema) GetDefaultStickiness() string

GetDefaultStickiness returns the DefaultStickiness field value

func (*HealthReportSchema) GetDefaultStickinessOk ¶

func (o *HealthReportSchema) GetDefaultStickinessOk() (*string, bool)

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

func (*HealthReportSchema) GetDescription ¶

func (o *HealthReportSchema) GetDescription() string

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

func (*HealthReportSchema) GetDescriptionOk ¶

func (o *HealthReportSchema) 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 (*HealthReportSchema) GetEnvironments ¶

func (o *HealthReportSchema) GetEnvironments() []ProjectEnvironmentSchema

GetEnvironments returns the Environments field value

func (*HealthReportSchema) GetEnvironmentsOk ¶

func (o *HealthReportSchema) GetEnvironmentsOk() ([]ProjectEnvironmentSchema, bool)

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

func (*HealthReportSchema) GetFavorite ¶

func (o *HealthReportSchema) GetFavorite() bool

GetFavorite returns the Favorite field value if set, zero value otherwise.

func (*HealthReportSchema) GetFavoriteOk ¶

func (o *HealthReportSchema) GetFavoriteOk() (*bool, bool)

GetFavoriteOk returns a tuple with the Favorite field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HealthReportSchema) GetFeatures ¶

func (o *HealthReportSchema) GetFeatures() []FeatureSchema

GetFeatures returns the Features field value

func (*HealthReportSchema) GetFeaturesOk ¶

func (o *HealthReportSchema) GetFeaturesOk() ([]FeatureSchema, bool)

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

func (*HealthReportSchema) GetHealth ¶

func (o *HealthReportSchema) GetHealth() int32

GetHealth returns the Health field value

func (*HealthReportSchema) GetHealthOk ¶

func (o *HealthReportSchema) GetHealthOk() (*int32, bool)

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

func (*HealthReportSchema) GetMembers ¶

func (o *HealthReportSchema) GetMembers() int32

GetMembers returns the Members field value

func (*HealthReportSchema) GetMembersOk ¶

func (o *HealthReportSchema) GetMembersOk() (*int32, bool)

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

func (*HealthReportSchema) GetMode ¶

func (o *HealthReportSchema) GetMode() string

GetMode returns the Mode field value

func (*HealthReportSchema) GetModeOk ¶

func (o *HealthReportSchema) GetModeOk() (*string, bool)

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

func (*HealthReportSchema) GetName ¶

func (o *HealthReportSchema) GetName() string

GetName returns the Name field value

func (*HealthReportSchema) GetNameOk ¶

func (o *HealthReportSchema) GetNameOk() (*string, bool)

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

func (*HealthReportSchema) GetPotentiallyStaleCount ¶

func (o *HealthReportSchema) GetPotentiallyStaleCount() float32

GetPotentiallyStaleCount returns the PotentiallyStaleCount field value

func (*HealthReportSchema) GetPotentiallyStaleCountOk ¶

func (o *HealthReportSchema) GetPotentiallyStaleCountOk() (*float32, bool)

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

func (*HealthReportSchema) GetStaleCount ¶

func (o *HealthReportSchema) GetStaleCount() float32

GetStaleCount returns the StaleCount field value

func (*HealthReportSchema) GetStaleCountOk ¶

func (o *HealthReportSchema) GetStaleCountOk() (*float32, bool)

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

func (*HealthReportSchema) GetStats ¶

func (o *HealthReportSchema) GetStats() ProjectStatsSchema

GetStats returns the Stats field value if set, zero value otherwise.

func (*HealthReportSchema) GetStatsOk ¶

func (o *HealthReportSchema) GetStatsOk() (*ProjectStatsSchema, bool)

GetStatsOk returns a tuple with the Stats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HealthReportSchema) GetUpdatedAt ¶

func (o *HealthReportSchema) GetUpdatedAt() time.Time

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

func (*HealthReportSchema) GetUpdatedAtOk ¶

func (o *HealthReportSchema) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt 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 (*HealthReportSchema) GetVersion ¶

func (o *HealthReportSchema) GetVersion() int32

GetVersion returns the Version field value

func (*HealthReportSchema) GetVersionOk ¶

func (o *HealthReportSchema) GetVersionOk() (*int32, bool)

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

func (*HealthReportSchema) HasCreatedAt ¶

func (o *HealthReportSchema) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*HealthReportSchema) HasDescription ¶

func (o *HealthReportSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*HealthReportSchema) HasFavorite ¶

func (o *HealthReportSchema) HasFavorite() bool

HasFavorite returns a boolean if a field has been set.

func (*HealthReportSchema) HasStats ¶

func (o *HealthReportSchema) HasStats() bool

HasStats returns a boolean if a field has been set.

func (*HealthReportSchema) HasUpdatedAt ¶

func (o *HealthReportSchema) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (HealthReportSchema) MarshalJSON ¶

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

func (*HealthReportSchema) SetActiveCount ¶

func (o *HealthReportSchema) SetActiveCount(v float32)

SetActiveCount sets field value

func (*HealthReportSchema) SetCreatedAt ¶

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

SetCreatedAt gets a reference to the given NullableTime and assigns it to the CreatedAt field.

func (*HealthReportSchema) SetCreatedAtNil ¶

func (o *HealthReportSchema) SetCreatedAtNil()

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

func (*HealthReportSchema) SetDefaultStickiness ¶

func (o *HealthReportSchema) SetDefaultStickiness(v string)

SetDefaultStickiness sets field value

func (*HealthReportSchema) SetDescription ¶

func (o *HealthReportSchema) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*HealthReportSchema) SetDescriptionNil ¶

func (o *HealthReportSchema) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*HealthReportSchema) SetEnvironments ¶

func (o *HealthReportSchema) SetEnvironments(v []ProjectEnvironmentSchema)

SetEnvironments sets field value

func (*HealthReportSchema) SetFavorite ¶

func (o *HealthReportSchema) SetFavorite(v bool)

SetFavorite gets a reference to the given bool and assigns it to the Favorite field.

func (*HealthReportSchema) SetFeatures ¶

func (o *HealthReportSchema) SetFeatures(v []FeatureSchema)

SetFeatures sets field value

func (*HealthReportSchema) SetHealth ¶

func (o *HealthReportSchema) SetHealth(v int32)

SetHealth sets field value

func (*HealthReportSchema) SetMembers ¶

func (o *HealthReportSchema) SetMembers(v int32)

SetMembers sets field value

func (*HealthReportSchema) SetMode ¶

func (o *HealthReportSchema) SetMode(v string)

SetMode sets field value

func (*HealthReportSchema) SetName ¶

func (o *HealthReportSchema) SetName(v string)

SetName sets field value

func (*HealthReportSchema) SetPotentiallyStaleCount ¶

func (o *HealthReportSchema) SetPotentiallyStaleCount(v float32)

SetPotentiallyStaleCount sets field value

func (*HealthReportSchema) SetStaleCount ¶

func (o *HealthReportSchema) SetStaleCount(v float32)

SetStaleCount sets field value

func (*HealthReportSchema) SetStats ¶

func (o *HealthReportSchema) SetStats(v ProjectStatsSchema)

SetStats gets a reference to the given ProjectStatsSchema and assigns it to the Stats field.

func (*HealthReportSchema) SetUpdatedAt ¶

func (o *HealthReportSchema) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given NullableTime and assigns it to the UpdatedAt field.

func (*HealthReportSchema) SetUpdatedAtNil ¶

func (o *HealthReportSchema) SetUpdatedAtNil()

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

func (*HealthReportSchema) SetVersion ¶

func (o *HealthReportSchema) SetVersion(v int32)

SetVersion sets field value

func (HealthReportSchema) ToMap ¶

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

func (*HealthReportSchema) UnsetCreatedAt ¶

func (o *HealthReportSchema) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

func (*HealthReportSchema) UnsetDescription ¶

func (o *HealthReportSchema) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*HealthReportSchema) UnsetUpdatedAt ¶

func (o *HealthReportSchema) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil

type IdSchema ¶

type IdSchema struct {
	Id string `json:"id"`
}

IdSchema struct for IdSchema

func NewIdSchema ¶

func NewIdSchema(id string) *IdSchema

NewIdSchema instantiates a new IdSchema 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 NewIdSchemaWithDefaults ¶

func NewIdSchemaWithDefaults() *IdSchema

NewIdSchemaWithDefaults instantiates a new IdSchema 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 (*IdSchema) GetId ¶

func (o *IdSchema) GetId() string

GetId returns the Id field value

func (*IdSchema) GetIdOk ¶

func (o *IdSchema) GetIdOk() (*string, bool)

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

func (IdSchema) MarshalJSON ¶

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

func (*IdSchema) SetId ¶

func (o *IdSchema) SetId(v string)

SetId sets field value

func (IdSchema) ToMap ¶

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

type ImportExportApiService ¶

type ImportExportApiService service

ImportExportApiService ImportExportApi service

func (*ImportExportApiService) CallImport ¶

CallImport Import state (deprecated)

Imports state into the system. Deprecated in favor of /api/admin/features-batch/import

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCallImportRequest

Deprecated

func (*ImportExportApiService) CallImportExecute ¶

func (a *ImportExportApiService) CallImportExecute(r ApiCallImportRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*ImportExportApiService) Export ¶

Export Export state (deprecated)

Exports the current state of the system. Deprecated in favor of /api/admin/features-batch/export

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiExportRequest

Deprecated

func (*ImportExportApiService) ExportExecute ¶

Execute executes the request

@return StateSchema

Deprecated

type ImportTogglesSchema ¶

type ImportTogglesSchema struct {
	Project     string             `json:"project"`
	Environment string             `json:"environment"`
	Data        ExportResultSchema `json:"data"`
}

ImportTogglesSchema struct for ImportTogglesSchema

func NewImportTogglesSchema ¶

func NewImportTogglesSchema(project string, environment string, data ExportResultSchema) *ImportTogglesSchema

NewImportTogglesSchema instantiates a new ImportTogglesSchema 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 NewImportTogglesSchemaWithDefaults ¶

func NewImportTogglesSchemaWithDefaults() *ImportTogglesSchema

NewImportTogglesSchemaWithDefaults instantiates a new ImportTogglesSchema 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 (*ImportTogglesSchema) GetData ¶

GetData returns the Data field value

func (*ImportTogglesSchema) GetDataOk ¶

func (o *ImportTogglesSchema) GetDataOk() (*ExportResultSchema, bool)

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

func (*ImportTogglesSchema) GetEnvironment ¶

func (o *ImportTogglesSchema) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*ImportTogglesSchema) GetEnvironmentOk ¶

func (o *ImportTogglesSchema) GetEnvironmentOk() (*string, bool)

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

func (*ImportTogglesSchema) GetProject ¶

func (o *ImportTogglesSchema) GetProject() string

GetProject returns the Project field value

func (*ImportTogglesSchema) GetProjectOk ¶

func (o *ImportTogglesSchema) GetProjectOk() (*string, bool)

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

func (ImportTogglesSchema) MarshalJSON ¶

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

func (*ImportTogglesSchema) SetData ¶

SetData sets field value

func (*ImportTogglesSchema) SetEnvironment ¶

func (o *ImportTogglesSchema) SetEnvironment(v string)

SetEnvironment sets field value

func (*ImportTogglesSchema) SetProject ¶

func (o *ImportTogglesSchema) SetProject(v string)

SetProject sets field value

func (ImportTogglesSchema) ToMap ¶

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

type ImportTogglesValidateItemSchema ¶

type ImportTogglesValidateItemSchema struct {
	Message       string   `json:"message"`
	AffectedItems []string `json:"affectedItems"`
}

ImportTogglesValidateItemSchema struct for ImportTogglesValidateItemSchema

func NewImportTogglesValidateItemSchema ¶

func NewImportTogglesValidateItemSchema(message string, affectedItems []string) *ImportTogglesValidateItemSchema

NewImportTogglesValidateItemSchema instantiates a new ImportTogglesValidateItemSchema 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 NewImportTogglesValidateItemSchemaWithDefaults ¶

func NewImportTogglesValidateItemSchemaWithDefaults() *ImportTogglesValidateItemSchema

NewImportTogglesValidateItemSchemaWithDefaults instantiates a new ImportTogglesValidateItemSchema 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 (*ImportTogglesValidateItemSchema) GetAffectedItems ¶

func (o *ImportTogglesValidateItemSchema) GetAffectedItems() []string

GetAffectedItems returns the AffectedItems field value

func (*ImportTogglesValidateItemSchema) GetAffectedItemsOk ¶

func (o *ImportTogglesValidateItemSchema) GetAffectedItemsOk() ([]string, bool)

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

func (*ImportTogglesValidateItemSchema) GetMessage ¶

func (o *ImportTogglesValidateItemSchema) GetMessage() string

GetMessage returns the Message field value

func (*ImportTogglesValidateItemSchema) GetMessageOk ¶

func (o *ImportTogglesValidateItemSchema) GetMessageOk() (*string, bool)

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

func (ImportTogglesValidateItemSchema) MarshalJSON ¶

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

func (*ImportTogglesValidateItemSchema) SetAffectedItems ¶

func (o *ImportTogglesValidateItemSchema) SetAffectedItems(v []string)

SetAffectedItems sets field value

func (*ImportTogglesValidateItemSchema) SetMessage ¶

func (o *ImportTogglesValidateItemSchema) SetMessage(v string)

SetMessage sets field value

func (ImportTogglesValidateItemSchema) ToMap ¶

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

type ImportTogglesValidateSchema ¶

type ImportTogglesValidateSchema struct {
	Errors      []ImportTogglesValidateItemSchema `json:"errors"`
	Warnings    []ImportTogglesValidateItemSchema `json:"warnings"`
	Permissions []ImportTogglesValidateItemSchema `json:"permissions,omitempty"`
}

ImportTogglesValidateSchema struct for ImportTogglesValidateSchema

func NewImportTogglesValidateSchema ¶

func NewImportTogglesValidateSchema(errors []ImportTogglesValidateItemSchema, warnings []ImportTogglesValidateItemSchema) *ImportTogglesValidateSchema

NewImportTogglesValidateSchema instantiates a new ImportTogglesValidateSchema 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 NewImportTogglesValidateSchemaWithDefaults ¶

func NewImportTogglesValidateSchemaWithDefaults() *ImportTogglesValidateSchema

NewImportTogglesValidateSchemaWithDefaults instantiates a new ImportTogglesValidateSchema 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 (*ImportTogglesValidateSchema) GetErrors ¶

GetErrors returns the Errors field value

func (*ImportTogglesValidateSchema) GetErrorsOk ¶

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

func (*ImportTogglesValidateSchema) GetPermissions ¶

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

func (*ImportTogglesValidateSchema) GetPermissionsOk ¶

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 (*ImportTogglesValidateSchema) GetWarnings ¶

GetWarnings returns the Warnings field value

func (*ImportTogglesValidateSchema) GetWarningsOk ¶

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

func (*ImportTogglesValidateSchema) HasPermissions ¶

func (o *ImportTogglesValidateSchema) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (ImportTogglesValidateSchema) MarshalJSON ¶

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

func (*ImportTogglesValidateSchema) SetErrors ¶

SetErrors sets field value

func (*ImportTogglesValidateSchema) SetPermissions ¶

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

func (*ImportTogglesValidateSchema) SetWarnings ¶

SetWarnings sets field value

func (ImportTogglesValidateSchema) ToMap ¶

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

type InstanceAdminApiService ¶

type InstanceAdminApiService service

InstanceAdminApiService InstanceAdminApi service

func (*InstanceAdminApiService) GetInstanceAdminStats ¶

GetInstanceAdminStats Instance usage statistics

Provides statistics about various features of Unleash to allow for reporting of usage for self-hosted customers. The response contains data such as the number of users, groups, features, strategies, versions, etc.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetInstanceAdminStatsRequest

Deprecated

func (*InstanceAdminApiService) GetInstanceAdminStatsCsv ¶

GetInstanceAdminStatsCsv Instance usage statistics

Provides statistics about various features of Unleash to allow for reporting of usage for self-hosted customers. The response contains data such as the number of users, groups, features, strategies, versions, etc.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetInstanceAdminStatsCsvRequest

func (*InstanceAdminApiService) GetInstanceAdminStatsCsvExecute ¶

func (a *InstanceAdminApiService) GetInstanceAdminStatsCsvExecute(r ApiGetInstanceAdminStatsCsvRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*InstanceAdminApiService) GetInstanceAdminStatsExecute ¶

Execute executes the request

@return InstanceAdminStatsSchema

Deprecated

type InstanceAdminStatsSchema ¶

type InstanceAdminStatsSchema struct {
	// A unique identifier for this instance. Generated by the database migration scripts at first run. Typically a UUID.
	InstanceId string `json:"instanceId"`
	// When these statistics were produced
	Timestamp NullableTime `json:"timestamp,omitempty"`
	// The version of Unleash OSS that is bundled in this instance
	VersionOSS *string `json:"versionOSS,omitempty"`
	// The version of Unleash Enterprise that is bundled in this instance
	VersionEnterprise *string `json:"versionEnterprise,omitempty"`
	// The number of users this instance has
	Users *float32 `json:"users,omitempty"`
	// The number of feature-toggles this instance has
	FeatureToggles *float32 `json:"featureToggles,omitempty"`
	// The number of projects defined in this instance.
	Projects *float32 `json:"projects,omitempty"`
	// The number of context fields defined in this instance.
	ContextFields *float32 `json:"contextFields,omitempty"`
	// The number of roles defined in this instance
	Roles *float32 `json:"roles,omitempty"`
	// The number of groups defined in this instance
	Groups *float32 `json:"groups,omitempty"`
	// The number of environments defined in this instance
	Environments *float32 `json:"environments,omitempty"`
	// The number of segments defined in this instance
	Segments *float32 `json:"segments,omitempty"`
	// The number of strategies defined in this instance
	Strategies *float32 `json:"strategies,omitempty"`
	// Whether or not SAML authentication is enabled for this instance
	SAMLenabled *bool `json:"SAMLenabled,omitempty"`
	// Whether or not OIDC authentication is enabled for this instance
	OIDCenabled *bool `json:"OIDCenabled,omitempty"`
	// A count of connected applications in the last week, last month and all time since last restart
	ClientApps []InstanceAdminStatsSchemaClientAppsInner `json:"clientApps,omitempty"`
	// A SHA-256 checksum of the instance statistics to be used to verify that the data in this object has not been tampered with
	Sum *string `json:"sum,omitempty"`
}

InstanceAdminStatsSchema Information about an instance and statistics about usage of various features of Unleash

func NewInstanceAdminStatsSchema ¶

func NewInstanceAdminStatsSchema(instanceId string) *InstanceAdminStatsSchema

NewInstanceAdminStatsSchema instantiates a new InstanceAdminStatsSchema 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 NewInstanceAdminStatsSchemaWithDefaults ¶

func NewInstanceAdminStatsSchemaWithDefaults() *InstanceAdminStatsSchema

NewInstanceAdminStatsSchemaWithDefaults instantiates a new InstanceAdminStatsSchema 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 (*InstanceAdminStatsSchema) GetClientApps ¶

GetClientApps returns the ClientApps field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetClientAppsOk ¶

GetClientAppsOk returns a tuple with the ClientApps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchema) GetContextFields ¶

func (o *InstanceAdminStatsSchema) GetContextFields() float32

GetContextFields returns the ContextFields field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetContextFieldsOk ¶

func (o *InstanceAdminStatsSchema) GetContextFieldsOk() (*float32, bool)

GetContextFieldsOk returns a tuple with the ContextFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchema) GetEnvironments ¶

func (o *InstanceAdminStatsSchema) GetEnvironments() float32

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetEnvironmentsOk ¶

func (o *InstanceAdminStatsSchema) GetEnvironmentsOk() (*float32, 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 (*InstanceAdminStatsSchema) GetFeatureToggles ¶

func (o *InstanceAdminStatsSchema) GetFeatureToggles() float32

GetFeatureToggles returns the FeatureToggles field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetFeatureTogglesOk ¶

func (o *InstanceAdminStatsSchema) GetFeatureTogglesOk() (*float32, bool)

GetFeatureTogglesOk returns a tuple with the FeatureToggles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchema) GetGroups ¶

func (o *InstanceAdminStatsSchema) GetGroups() float32

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

func (*InstanceAdminStatsSchema) GetGroupsOk ¶

func (o *InstanceAdminStatsSchema) GetGroupsOk() (*float32, 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 (*InstanceAdminStatsSchema) GetInstanceId ¶

func (o *InstanceAdminStatsSchema) GetInstanceId() string

GetInstanceId returns the InstanceId field value

func (*InstanceAdminStatsSchema) GetInstanceIdOk ¶

func (o *InstanceAdminStatsSchema) GetInstanceIdOk() (*string, bool)

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

func (*InstanceAdminStatsSchema) GetOIDCenabled ¶

func (o *InstanceAdminStatsSchema) GetOIDCenabled() bool

GetOIDCenabled returns the OIDCenabled field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetOIDCenabledOk ¶

func (o *InstanceAdminStatsSchema) GetOIDCenabledOk() (*bool, bool)

GetOIDCenabledOk returns a tuple with the OIDCenabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchema) GetProjects ¶

func (o *InstanceAdminStatsSchema) GetProjects() float32

GetProjects returns the Projects field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetProjectsOk ¶

func (o *InstanceAdminStatsSchema) GetProjectsOk() (*float32, 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 (*InstanceAdminStatsSchema) GetRoles ¶

func (o *InstanceAdminStatsSchema) GetRoles() float32

GetRoles returns the Roles field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetRolesOk ¶

func (o *InstanceAdminStatsSchema) GetRolesOk() (*float32, 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 (*InstanceAdminStatsSchema) GetSAMLenabled ¶

func (o *InstanceAdminStatsSchema) GetSAMLenabled() bool

GetSAMLenabled returns the SAMLenabled field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetSAMLenabledOk ¶

func (o *InstanceAdminStatsSchema) GetSAMLenabledOk() (*bool, bool)

GetSAMLenabledOk returns a tuple with the SAMLenabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchema) GetSegments ¶

func (o *InstanceAdminStatsSchema) GetSegments() float32

GetSegments returns the Segments field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetSegmentsOk ¶

func (o *InstanceAdminStatsSchema) 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 (*InstanceAdminStatsSchema) GetStrategies ¶

func (o *InstanceAdminStatsSchema) GetStrategies() float32

GetStrategies returns the Strategies field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetStrategiesOk ¶

func (o *InstanceAdminStatsSchema) GetStrategiesOk() (*float32, bool)

GetStrategiesOk returns a tuple with the Strategies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchema) GetSum ¶

func (o *InstanceAdminStatsSchema) GetSum() string

GetSum returns the Sum field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetSumOk ¶

func (o *InstanceAdminStatsSchema) GetSumOk() (*string, bool)

GetSumOk returns a tuple with the Sum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchema) GetTimestamp ¶

func (o *InstanceAdminStatsSchema) GetTimestamp() time.Time

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

func (*InstanceAdminStatsSchema) GetTimestampOk ¶

func (o *InstanceAdminStatsSchema) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp 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 (*InstanceAdminStatsSchema) GetUsers ¶

func (o *InstanceAdminStatsSchema) GetUsers() float32

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

func (*InstanceAdminStatsSchema) GetUsersOk ¶

func (o *InstanceAdminStatsSchema) GetUsersOk() (*float32, 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 (*InstanceAdminStatsSchema) GetVersionEnterprise ¶

func (o *InstanceAdminStatsSchema) GetVersionEnterprise() string

GetVersionEnterprise returns the VersionEnterprise field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetVersionEnterpriseOk ¶

func (o *InstanceAdminStatsSchema) GetVersionEnterpriseOk() (*string, bool)

GetVersionEnterpriseOk returns a tuple with the VersionEnterprise field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchema) GetVersionOSS ¶

func (o *InstanceAdminStatsSchema) GetVersionOSS() string

GetVersionOSS returns the VersionOSS field value if set, zero value otherwise.

func (*InstanceAdminStatsSchema) GetVersionOSSOk ¶

func (o *InstanceAdminStatsSchema) GetVersionOSSOk() (*string, bool)

GetVersionOSSOk returns a tuple with the VersionOSS field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchema) HasClientApps ¶

func (o *InstanceAdminStatsSchema) HasClientApps() bool

HasClientApps returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasContextFields ¶

func (o *InstanceAdminStatsSchema) HasContextFields() bool

HasContextFields returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasEnvironments ¶

func (o *InstanceAdminStatsSchema) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasFeatureToggles ¶

func (o *InstanceAdminStatsSchema) HasFeatureToggles() bool

HasFeatureToggles returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasGroups ¶

func (o *InstanceAdminStatsSchema) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasOIDCenabled ¶

func (o *InstanceAdminStatsSchema) HasOIDCenabled() bool

HasOIDCenabled returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasProjects ¶

func (o *InstanceAdminStatsSchema) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasRoles ¶

func (o *InstanceAdminStatsSchema) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasSAMLenabled ¶

func (o *InstanceAdminStatsSchema) HasSAMLenabled() bool

HasSAMLenabled returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasSegments ¶

func (o *InstanceAdminStatsSchema) HasSegments() bool

HasSegments returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasStrategies ¶

func (o *InstanceAdminStatsSchema) HasStrategies() bool

HasStrategies returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasSum ¶

func (o *InstanceAdminStatsSchema) HasSum() bool

HasSum returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasTimestamp ¶

func (o *InstanceAdminStatsSchema) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasUsers ¶

func (o *InstanceAdminStatsSchema) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasVersionEnterprise ¶

func (o *InstanceAdminStatsSchema) HasVersionEnterprise() bool

HasVersionEnterprise returns a boolean if a field has been set.

func (*InstanceAdminStatsSchema) HasVersionOSS ¶

func (o *InstanceAdminStatsSchema) HasVersionOSS() bool

HasVersionOSS returns a boolean if a field has been set.

func (InstanceAdminStatsSchema) MarshalJSON ¶

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

func (*InstanceAdminStatsSchema) SetClientApps ¶

SetClientApps gets a reference to the given []InstanceAdminStatsSchemaClientAppsInner and assigns it to the ClientApps field.

func (*InstanceAdminStatsSchema) SetContextFields ¶

func (o *InstanceAdminStatsSchema) SetContextFields(v float32)

SetContextFields gets a reference to the given float32 and assigns it to the ContextFields field.

func (*InstanceAdminStatsSchema) SetEnvironments ¶

func (o *InstanceAdminStatsSchema) SetEnvironments(v float32)

SetEnvironments gets a reference to the given float32 and assigns it to the Environments field.

func (*InstanceAdminStatsSchema) SetFeatureToggles ¶

func (o *InstanceAdminStatsSchema) SetFeatureToggles(v float32)

SetFeatureToggles gets a reference to the given float32 and assigns it to the FeatureToggles field.

func (*InstanceAdminStatsSchema) SetGroups ¶

func (o *InstanceAdminStatsSchema) SetGroups(v float32)

SetGroups gets a reference to the given float32 and assigns it to the Groups field.

func (*InstanceAdminStatsSchema) SetInstanceId ¶

func (o *InstanceAdminStatsSchema) SetInstanceId(v string)

SetInstanceId sets field value

func (*InstanceAdminStatsSchema) SetOIDCenabled ¶

func (o *InstanceAdminStatsSchema) SetOIDCenabled(v bool)

SetOIDCenabled gets a reference to the given bool and assigns it to the OIDCenabled field.

func (*InstanceAdminStatsSchema) SetProjects ¶

func (o *InstanceAdminStatsSchema) SetProjects(v float32)

SetProjects gets a reference to the given float32 and assigns it to the Projects field.

func (*InstanceAdminStatsSchema) SetRoles ¶

func (o *InstanceAdminStatsSchema) SetRoles(v float32)

SetRoles gets a reference to the given float32 and assigns it to the Roles field.

func (*InstanceAdminStatsSchema) SetSAMLenabled ¶

func (o *InstanceAdminStatsSchema) SetSAMLenabled(v bool)

SetSAMLenabled gets a reference to the given bool and assigns it to the SAMLenabled field.

func (*InstanceAdminStatsSchema) SetSegments ¶

func (o *InstanceAdminStatsSchema) SetSegments(v float32)

SetSegments gets a reference to the given float32 and assigns it to the Segments field.

func (*InstanceAdminStatsSchema) SetStrategies ¶

func (o *InstanceAdminStatsSchema) SetStrategies(v float32)

SetStrategies gets a reference to the given float32 and assigns it to the Strategies field.

func (*InstanceAdminStatsSchema) SetSum ¶

func (o *InstanceAdminStatsSchema) SetSum(v string)

SetSum gets a reference to the given string and assigns it to the Sum field.

func (*InstanceAdminStatsSchema) SetTimestamp ¶

func (o *InstanceAdminStatsSchema) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given NullableTime and assigns it to the Timestamp field.

func (*InstanceAdminStatsSchema) SetTimestampNil ¶

func (o *InstanceAdminStatsSchema) SetTimestampNil()

SetTimestampNil sets the value for Timestamp to be an explicit nil

func (*InstanceAdminStatsSchema) SetUsers ¶

func (o *InstanceAdminStatsSchema) SetUsers(v float32)

SetUsers gets a reference to the given float32 and assigns it to the Users field.

func (*InstanceAdminStatsSchema) SetVersionEnterprise ¶

func (o *InstanceAdminStatsSchema) SetVersionEnterprise(v string)

SetVersionEnterprise gets a reference to the given string and assigns it to the VersionEnterprise field.

func (*InstanceAdminStatsSchema) SetVersionOSS ¶

func (o *InstanceAdminStatsSchema) SetVersionOSS(v string)

SetVersionOSS gets a reference to the given string and assigns it to the VersionOSS field.

func (InstanceAdminStatsSchema) ToMap ¶

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

func (*InstanceAdminStatsSchema) UnsetTimestamp ¶

func (o *InstanceAdminStatsSchema) UnsetTimestamp()

UnsetTimestamp ensures that no value is present for Timestamp, not even an explicit nil

type InstanceAdminStatsSchemaClientAppsInner ¶

type InstanceAdminStatsSchemaClientAppsInner struct {
	// A description of a time range
	Range *string `json:"range,omitempty"`
	// The number of client applications that have been observed in this period
	Count *float32 `json:"count,omitempty"`
}

InstanceAdminStatsSchemaClientAppsInner An entry describing how many client applications has been observed over the defined range

func NewInstanceAdminStatsSchemaClientAppsInner ¶

func NewInstanceAdminStatsSchemaClientAppsInner() *InstanceAdminStatsSchemaClientAppsInner

NewInstanceAdminStatsSchemaClientAppsInner instantiates a new InstanceAdminStatsSchemaClientAppsInner 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 NewInstanceAdminStatsSchemaClientAppsInnerWithDefaults ¶

func NewInstanceAdminStatsSchemaClientAppsInnerWithDefaults() *InstanceAdminStatsSchemaClientAppsInner

NewInstanceAdminStatsSchemaClientAppsInnerWithDefaults instantiates a new InstanceAdminStatsSchemaClientAppsInner 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 (*InstanceAdminStatsSchemaClientAppsInner) GetCount ¶

GetCount returns the Count field value if set, zero value otherwise.

func (*InstanceAdminStatsSchemaClientAppsInner) GetCountOk ¶

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchemaClientAppsInner) GetRange ¶

GetRange returns the Range field value if set, zero value otherwise.

func (*InstanceAdminStatsSchemaClientAppsInner) GetRangeOk ¶

GetRangeOk returns a tuple with the Range field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceAdminStatsSchemaClientAppsInner) HasCount ¶

HasCount returns a boolean if a field has been set.

func (*InstanceAdminStatsSchemaClientAppsInner) HasRange ¶

HasRange returns a boolean if a field has been set.

func (InstanceAdminStatsSchemaClientAppsInner) MarshalJSON ¶

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

func (*InstanceAdminStatsSchemaClientAppsInner) SetCount ¶

SetCount gets a reference to the given float32 and assigns it to the Count field.

func (*InstanceAdminStatsSchemaClientAppsInner) SetRange ¶

SetRange gets a reference to the given string and assigns it to the Range field.

func (InstanceAdminStatsSchemaClientAppsInner) ToMap ¶

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

type InvoicesSchemaInner ¶

type InvoicesSchemaInner struct {
	AmountFormatted string  `json:"amountFormatted"`
	Paid            bool    `json:"paid"`
	Status          string  `json:"status"`
	DueDate         *string `json:"dueDate,omitempty"`
	InvoiceURL      string  `json:"invoiceURL"`
	InvoicePDF      string  `json:"invoicePDF"`
}

InvoicesSchemaInner struct for InvoicesSchemaInner

func NewInvoicesSchemaInner ¶

func NewInvoicesSchemaInner(amountFormatted string, paid bool, status string, invoiceURL string, invoicePDF string) *InvoicesSchemaInner

NewInvoicesSchemaInner instantiates a new InvoicesSchemaInner 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 NewInvoicesSchemaInnerWithDefaults ¶

func NewInvoicesSchemaInnerWithDefaults() *InvoicesSchemaInner

NewInvoicesSchemaInnerWithDefaults instantiates a new InvoicesSchemaInner 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 (*InvoicesSchemaInner) GetAmountFormatted ¶

func (o *InvoicesSchemaInner) GetAmountFormatted() string

GetAmountFormatted returns the AmountFormatted field value

func (*InvoicesSchemaInner) GetAmountFormattedOk ¶

func (o *InvoicesSchemaInner) GetAmountFormattedOk() (*string, bool)

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

func (*InvoicesSchemaInner) GetDueDate ¶

func (o *InvoicesSchemaInner) GetDueDate() string

GetDueDate returns the DueDate field value if set, zero value otherwise.

func (*InvoicesSchemaInner) GetDueDateOk ¶

func (o *InvoicesSchemaInner) GetDueDateOk() (*string, bool)

GetDueDateOk returns a tuple with the DueDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InvoicesSchemaInner) GetInvoicePDF ¶

func (o *InvoicesSchemaInner) GetInvoicePDF() string

GetInvoicePDF returns the InvoicePDF field value

func (*InvoicesSchemaInner) GetInvoicePDFOk ¶

func (o *InvoicesSchemaInner) GetInvoicePDFOk() (*string, bool)

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

func (*InvoicesSchemaInner) GetInvoiceURL ¶

func (o *InvoicesSchemaInner) GetInvoiceURL() string

GetInvoiceURL returns the InvoiceURL field value

func (*InvoicesSchemaInner) GetInvoiceURLOk ¶

func (o *InvoicesSchemaInner) GetInvoiceURLOk() (*string, bool)

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

func (*InvoicesSchemaInner) GetPaid ¶

func (o *InvoicesSchemaInner) GetPaid() bool

GetPaid returns the Paid field value

func (*InvoicesSchemaInner) GetPaidOk ¶

func (o *InvoicesSchemaInner) GetPaidOk() (*bool, bool)

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

func (*InvoicesSchemaInner) GetStatus ¶

func (o *InvoicesSchemaInner) GetStatus() string

GetStatus returns the Status field value

func (*InvoicesSchemaInner) GetStatusOk ¶

func (o *InvoicesSchemaInner) GetStatusOk() (*string, bool)

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

func (*InvoicesSchemaInner) HasDueDate ¶

func (o *InvoicesSchemaInner) HasDueDate() bool

HasDueDate returns a boolean if a field has been set.

func (InvoicesSchemaInner) MarshalJSON ¶

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

func (*InvoicesSchemaInner) SetAmountFormatted ¶

func (o *InvoicesSchemaInner) SetAmountFormatted(v string)

SetAmountFormatted sets field value

func (*InvoicesSchemaInner) SetDueDate ¶

func (o *InvoicesSchemaInner) SetDueDate(v string)

SetDueDate gets a reference to the given string and assigns it to the DueDate field.

func (*InvoicesSchemaInner) SetInvoicePDF ¶

func (o *InvoicesSchemaInner) SetInvoicePDF(v string)

SetInvoicePDF sets field value

func (*InvoicesSchemaInner) SetInvoiceURL ¶

func (o *InvoicesSchemaInner) SetInvoiceURL(v string)

SetInvoiceURL sets field value

func (*InvoicesSchemaInner) SetPaid ¶

func (o *InvoicesSchemaInner) SetPaid(v bool)

SetPaid sets field value

func (*InvoicesSchemaInner) SetStatus ¶

func (o *InvoicesSchemaInner) SetStatus(v string)

SetStatus sets field value

func (InvoicesSchemaInner) ToMap ¶

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

type LegalValueSchema ¶

type LegalValueSchema struct {
	Value       string  `json:"value"`
	Description *string `json:"description,omitempty"`
}

LegalValueSchema struct for LegalValueSchema

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)

type ListTags401Response ¶

type ListTags401Response 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"`
}

ListTags401Response struct for ListTags401Response

func NewListTags401Response ¶

func NewListTags401Response() *ListTags401Response

NewListTags401Response instantiates a new ListTags401Response 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 NewListTags401ResponseWithDefaults ¶

func NewListTags401ResponseWithDefaults() *ListTags401Response

NewListTags401ResponseWithDefaults instantiates a new ListTags401Response 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 (*ListTags401Response) GetId ¶

func (o *ListTags401Response) GetId() string

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

func (*ListTags401Response) GetIdOk ¶

func (o *ListTags401Response) 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 (*ListTags401Response) GetMessage ¶

func (o *ListTags401Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListTags401Response) GetMessageOk ¶

func (o *ListTags401Response) 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 (*ListTags401Response) GetName ¶

func (o *ListTags401Response) GetName() string

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

func (*ListTags401Response) GetNameOk ¶

func (o *ListTags401Response) 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 (*ListTags401Response) HasId ¶

func (o *ListTags401Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*ListTags401Response) HasMessage ¶

func (o *ListTags401Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ListTags401Response) HasName ¶

func (o *ListTags401Response) HasName() bool

HasName returns a boolean if a field has been set.

func (ListTags401Response) MarshalJSON ¶

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

func (*ListTags401Response) SetId ¶

func (o *ListTags401Response) SetId(v string)

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

func (*ListTags401Response) SetMessage ¶

func (o *ListTags401Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListTags401Response) SetName ¶

func (o *ListTags401Response) SetName(v string)

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

func (ListTags401Response) ToMap ¶

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

type ListTags403Response ¶

type ListTags403Response 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"`
}

ListTags403Response struct for ListTags403Response

func NewListTags403Response ¶

func NewListTags403Response() *ListTags403Response

NewListTags403Response instantiates a new ListTags403Response 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 NewListTags403ResponseWithDefaults ¶

func NewListTags403ResponseWithDefaults() *ListTags403Response

NewListTags403ResponseWithDefaults instantiates a new ListTags403Response 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 (*ListTags403Response) GetId ¶

func (o *ListTags403Response) GetId() string

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

func (*ListTags403Response) GetIdOk ¶

func (o *ListTags403Response) 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 (*ListTags403Response) GetMessage ¶

func (o *ListTags403Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListTags403Response) GetMessageOk ¶

func (o *ListTags403Response) 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 (*ListTags403Response) GetName ¶

func (o *ListTags403Response) GetName() string

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

func (*ListTags403Response) GetNameOk ¶

func (o *ListTags403Response) 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 (*ListTags403Response) HasId ¶

func (o *ListTags403Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*ListTags403Response) HasMessage ¶

func (o *ListTags403Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ListTags403Response) HasName ¶

func (o *ListTags403Response) HasName() bool

HasName returns a boolean if a field has been set.

func (ListTags403Response) MarshalJSON ¶

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

func (*ListTags403Response) SetId ¶

func (o *ListTags403Response) SetId(v string)

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

func (*ListTags403Response) SetMessage ¶

func (o *ListTags403Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListTags403Response) SetName ¶

func (o *ListTags403Response) SetName(v string)

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

func (ListTags403Response) ToMap ¶

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

type ListTags404Response ¶

type ListTags404Response 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"`
}

ListTags404Response struct for ListTags404Response

func NewListTags404Response ¶

func NewListTags404Response() *ListTags404Response

NewListTags404Response instantiates a new ListTags404Response 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 NewListTags404ResponseWithDefaults ¶

func NewListTags404ResponseWithDefaults() *ListTags404Response

NewListTags404ResponseWithDefaults instantiates a new ListTags404Response 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 (*ListTags404Response) GetId ¶

func (o *ListTags404Response) GetId() string

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

func (*ListTags404Response) GetIdOk ¶

func (o *ListTags404Response) 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 (*ListTags404Response) GetMessage ¶

func (o *ListTags404Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListTags404Response) GetMessageOk ¶

func (o *ListTags404Response) 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 (*ListTags404Response) GetName ¶

func (o *ListTags404Response) GetName() string

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

func (*ListTags404Response) GetNameOk ¶

func (o *ListTags404Response) 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 (*ListTags404Response) HasId ¶

func (o *ListTags404Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*ListTags404Response) HasMessage ¶

func (o *ListTags404Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ListTags404Response) HasName ¶

func (o *ListTags404Response) HasName() bool

HasName returns a boolean if a field has been set.

func (ListTags404Response) MarshalJSON ¶

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

func (*ListTags404Response) SetId ¶

func (o *ListTags404Response) SetId(v string)

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

func (*ListTags404Response) SetMessage ¶

func (o *ListTags404Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListTags404Response) SetName ¶

func (o *ListTags404Response) SetName(v string)

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

func (ListTags404Response) ToMap ¶

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

type Login401Response ¶

type Login401Response 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"`
}

Login401Response struct for Login401Response

func NewLogin401Response ¶

func NewLogin401Response() *Login401Response

NewLogin401Response instantiates a new Login401Response 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 NewLogin401ResponseWithDefaults ¶

func NewLogin401ResponseWithDefaults() *Login401Response

NewLogin401ResponseWithDefaults instantiates a new Login401Response 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 (*Login401Response) GetId ¶

func (o *Login401Response) GetId() string

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

func (*Login401Response) GetIdOk ¶

func (o *Login401Response) 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 (*Login401Response) GetMessage ¶

func (o *Login401Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Login401Response) GetMessageOk ¶

func (o *Login401Response) 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 (*Login401Response) GetName ¶

func (o *Login401Response) GetName() string

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

func (*Login401Response) GetNameOk ¶

func (o *Login401Response) 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 (*Login401Response) HasId ¶

func (o *Login401Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*Login401Response) HasMessage ¶

func (o *Login401Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Login401Response) HasName ¶

func (o *Login401Response) HasName() bool

HasName returns a boolean if a field has been set.

func (Login401Response) MarshalJSON ¶

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

func (*Login401Response) SetId ¶

func (o *Login401Response) SetId(v string)

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

func (*Login401Response) SetMessage ¶

func (o *Login401Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Login401Response) SetName ¶

func (o *Login401Response) SetName(v string)

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

func (Login401Response) ToMap ¶

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

type LoginEventSchema ¶

type LoginEventSchema struct {
	// The event's ID. Event IDs are incrementing integers. In other words, a more recent event will always have a higher ID than an older event.
	Id int32 `json:"id"`
	// The username of the user that attempted to log in. Will return \"Incorrectly configured provider\" when attempting to log in using a misconfigured provider.
	Username *string `json:"username,omitempty"`
	// The authentication type used to log in.
	AuthType *string `json:"auth_type,omitempty"`
	// The date and time of when the login was attempted.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Whether the login was successful or not.
	Successful *bool `json:"successful,omitempty"`
	// The IP address of the client that attempted to log in.
	Ip NullableString `json:"ip,omitempty"`
	// The reason for the login failure. This property is only present if the login was unsuccessful.
	FailureReason NullableString `json:"failure_reason,omitempty"`
}

LoginEventSchema A model representing a single login event.

func NewLoginEventSchema ¶

func NewLoginEventSchema(id int32) *LoginEventSchema

NewLoginEventSchema instantiates a new LoginEventSchema 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 NewLoginEventSchemaWithDefaults ¶

func NewLoginEventSchemaWithDefaults() *LoginEventSchema

NewLoginEventSchemaWithDefaults instantiates a new LoginEventSchema 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 (*LoginEventSchema) GetAuthType ¶

func (o *LoginEventSchema) GetAuthType() string

GetAuthType returns the AuthType field value if set, zero value otherwise.

func (*LoginEventSchema) GetAuthTypeOk ¶

func (o *LoginEventSchema) GetAuthTypeOk() (*string, bool)

GetAuthTypeOk returns a tuple with the AuthType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginEventSchema) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*LoginEventSchema) GetCreatedAtOk ¶

func (o *LoginEventSchema) 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 (*LoginEventSchema) GetFailureReason ¶

func (o *LoginEventSchema) GetFailureReason() string

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

func (*LoginEventSchema) GetFailureReasonOk ¶

func (o *LoginEventSchema) GetFailureReasonOk() (*string, bool)

GetFailureReasonOk returns a tuple with the FailureReason 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 (*LoginEventSchema) GetId ¶

func (o *LoginEventSchema) GetId() int32

GetId returns the Id field value

func (*LoginEventSchema) GetIdOk ¶

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

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

func (*LoginEventSchema) GetIp ¶

func (o *LoginEventSchema) GetIp() string

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

func (*LoginEventSchema) GetIpOk ¶

func (o *LoginEventSchema) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip 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 (*LoginEventSchema) GetSuccessful ¶

func (o *LoginEventSchema) GetSuccessful() bool

GetSuccessful returns the Successful field value if set, zero value otherwise.

func (*LoginEventSchema) GetSuccessfulOk ¶

func (o *LoginEventSchema) GetSuccessfulOk() (*bool, bool)

GetSuccessfulOk returns a tuple with the Successful field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginEventSchema) GetUsername ¶

func (o *LoginEventSchema) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*LoginEventSchema) GetUsernameOk ¶

func (o *LoginEventSchema) 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 (*LoginEventSchema) HasAuthType ¶

func (o *LoginEventSchema) HasAuthType() bool

HasAuthType returns a boolean if a field has been set.

func (*LoginEventSchema) HasCreatedAt ¶

func (o *LoginEventSchema) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*LoginEventSchema) HasFailureReason ¶

func (o *LoginEventSchema) HasFailureReason() bool

HasFailureReason returns a boolean if a field has been set.

func (*LoginEventSchema) HasIp ¶

func (o *LoginEventSchema) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*LoginEventSchema) HasSuccessful ¶

func (o *LoginEventSchema) HasSuccessful() bool

HasSuccessful returns a boolean if a field has been set.

func (*LoginEventSchema) HasUsername ¶

func (o *LoginEventSchema) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (LoginEventSchema) MarshalJSON ¶

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

func (*LoginEventSchema) SetAuthType ¶

func (o *LoginEventSchema) SetAuthType(v string)

SetAuthType gets a reference to the given string and assigns it to the AuthType field.

func (*LoginEventSchema) SetCreatedAt ¶

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*LoginEventSchema) SetFailureReason ¶

func (o *LoginEventSchema) SetFailureReason(v string)

SetFailureReason gets a reference to the given NullableString and assigns it to the FailureReason field.

func (*LoginEventSchema) SetFailureReasonNil ¶

func (o *LoginEventSchema) SetFailureReasonNil()

SetFailureReasonNil sets the value for FailureReason to be an explicit nil

func (*LoginEventSchema) SetId ¶

func (o *LoginEventSchema) SetId(v int32)

SetId sets field value

func (*LoginEventSchema) SetIp ¶

func (o *LoginEventSchema) SetIp(v string)

SetIp gets a reference to the given NullableString and assigns it to the Ip field.

func (*LoginEventSchema) SetIpNil ¶

func (o *LoginEventSchema) SetIpNil()

SetIpNil sets the value for Ip to be an explicit nil

func (*LoginEventSchema) SetSuccessful ¶

func (o *LoginEventSchema) SetSuccessful(v bool)

SetSuccessful gets a reference to the given bool and assigns it to the Successful field.

func (*LoginEventSchema) SetUsername ¶

func (o *LoginEventSchema) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (LoginEventSchema) ToMap ¶

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

func (*LoginEventSchema) UnsetFailureReason ¶

func (o *LoginEventSchema) UnsetFailureReason()

UnsetFailureReason ensures that no value is present for FailureReason, not even an explicit nil

func (*LoginEventSchema) UnsetIp ¶

func (o *LoginEventSchema) UnsetIp()

UnsetIp ensures that no value is present for Ip, not even an explicit nil

type LoginHistorySchema ¶

type LoginHistorySchema struct {
	Events []LoginEventSchema `json:"events"`
}

LoginHistorySchema A response model with a list of login events.

func NewLoginHistorySchema ¶

func NewLoginHistorySchema(events []LoginEventSchema) *LoginHistorySchema

NewLoginHistorySchema instantiates a new LoginHistorySchema 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 NewLoginHistorySchemaWithDefaults ¶

func NewLoginHistorySchemaWithDefaults() *LoginHistorySchema

NewLoginHistorySchemaWithDefaults instantiates a new LoginHistorySchema 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 (*LoginHistorySchema) GetEvents ¶

func (o *LoginHistorySchema) GetEvents() []LoginEventSchema

GetEvents returns the Events field value

func (*LoginHistorySchema) GetEventsOk ¶

func (o *LoginHistorySchema) GetEventsOk() ([]LoginEventSchema, bool)

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

func (LoginHistorySchema) MarshalJSON ¶

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

func (*LoginHistorySchema) SetEvents ¶

func (o *LoginHistorySchema) SetEvents(v []LoginEventSchema)

SetEvents sets field value

func (LoginHistorySchema) ToMap ¶

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

type LoginSchema ¶

type LoginSchema struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

LoginSchema struct for LoginSchema

func NewLoginSchema ¶

func NewLoginSchema(username string, password string) *LoginSchema

NewLoginSchema instantiates a new LoginSchema 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 NewLoginSchemaWithDefaults ¶

func NewLoginSchemaWithDefaults() *LoginSchema

NewLoginSchemaWithDefaults instantiates a new LoginSchema 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 (*LoginSchema) GetPassword ¶

func (o *LoginSchema) GetPassword() string

GetPassword returns the Password field value

func (*LoginSchema) GetPasswordOk ¶

func (o *LoginSchema) GetPasswordOk() (*string, bool)

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

func (*LoginSchema) GetUsername ¶

func (o *LoginSchema) GetUsername() string

GetUsername returns the Username field value

func (*LoginSchema) GetUsernameOk ¶

func (o *LoginSchema) GetUsernameOk() (*string, bool)

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

func (LoginSchema) MarshalJSON ¶

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

func (*LoginSchema) SetPassword ¶

func (o *LoginSchema) SetPassword(v string)

SetPassword sets field value

func (*LoginSchema) SetUsername ¶

func (o *LoginSchema) SetUsername(v string)

SetUsername sets field value

func (LoginSchema) ToMap ¶

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

type MaintenanceApiService ¶

type MaintenanceApiService service

MaintenanceApiService MaintenanceApi service

func (*MaintenanceApiService) GetMaintenance ¶

GetMaintenance Get maintenance mode status

Tells you whether maintenance mode is enabled or disabled

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetMaintenanceRequest

func (*MaintenanceApiService) GetMaintenanceExecute ¶

Execute executes the request

@return MaintenanceSchema

func (*MaintenanceApiService) ToggleMaintenance ¶

ToggleMaintenance Enabled/disabled maintenance mode

Lets administrators put Unleash into a mostly read-only mode. While Unleash is in maintenance mode, users can not change any configuration settings

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiToggleMaintenanceRequest

func (*MaintenanceApiService) ToggleMaintenanceExecute ¶

func (a *MaintenanceApiService) ToggleMaintenanceExecute(r ApiToggleMaintenanceRequest) (*http.Response, error)

Execute executes the request

type MaintenanceSchema ¶

type MaintenanceSchema struct {
	Enabled bool `json:"enabled"`
}

MaintenanceSchema struct for MaintenanceSchema

func NewMaintenanceSchema ¶

func NewMaintenanceSchema(enabled bool) *MaintenanceSchema

NewMaintenanceSchema instantiates a new MaintenanceSchema 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 NewMaintenanceSchemaWithDefaults ¶

func NewMaintenanceSchemaWithDefaults() *MaintenanceSchema

NewMaintenanceSchemaWithDefaults instantiates a new MaintenanceSchema 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 (*MaintenanceSchema) GetEnabled ¶

func (o *MaintenanceSchema) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*MaintenanceSchema) GetEnabledOk ¶

func (o *MaintenanceSchema) GetEnabledOk() (*bool, bool)

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

func (MaintenanceSchema) MarshalJSON ¶

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

func (*MaintenanceSchema) SetEnabled ¶

func (o *MaintenanceSchema) SetEnabled(v bool)

SetEnabled sets field value

func (MaintenanceSchema) ToMap ¶

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

type MappedNullable ¶

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MarkNotificationsAsReadSchema ¶

type MarkNotificationsAsReadSchema struct {
	Notifications        []float32 `json:"notifications"`
	AdditionalProperties map[string]interface{}
}

MarkNotificationsAsReadSchema struct for MarkNotificationsAsReadSchema

func NewMarkNotificationsAsReadSchema ¶

func NewMarkNotificationsAsReadSchema(notifications []float32) *MarkNotificationsAsReadSchema

NewMarkNotificationsAsReadSchema instantiates a new MarkNotificationsAsReadSchema 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 NewMarkNotificationsAsReadSchemaWithDefaults ¶

func NewMarkNotificationsAsReadSchemaWithDefaults() *MarkNotificationsAsReadSchema

NewMarkNotificationsAsReadSchemaWithDefaults instantiates a new MarkNotificationsAsReadSchema 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 (*MarkNotificationsAsReadSchema) GetNotifications ¶

func (o *MarkNotificationsAsReadSchema) GetNotifications() []float32

GetNotifications returns the Notifications field value

func (*MarkNotificationsAsReadSchema) GetNotificationsOk ¶

func (o *MarkNotificationsAsReadSchema) GetNotificationsOk() ([]float32, bool)

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

func (MarkNotificationsAsReadSchema) MarshalJSON ¶

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

func (*MarkNotificationsAsReadSchema) SetNotifications ¶

func (o *MarkNotificationsAsReadSchema) SetNotifications(v []float32)

SetNotifications sets field value

func (MarkNotificationsAsReadSchema) ToMap ¶

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

func (*MarkNotificationsAsReadSchema) UnmarshalJSON ¶

func (o *MarkNotificationsAsReadSchema) UnmarshalJSON(bytes []byte) (err error)

type MeSchema ¶

type MeSchema struct {
	User        UserSchema         `json:"user"`
	Permissions []PermissionSchema `json:"permissions"`
	Feedback    []FeedbackSchema   `json:"feedback"`
	Splash      map[string]bool    `json:"splash"`
}

MeSchema struct for MeSchema

func NewMeSchema ¶

func NewMeSchema(user UserSchema, permissions []PermissionSchema, feedback []FeedbackSchema, splash map[string]bool) *MeSchema

NewMeSchema instantiates a new MeSchema 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 NewMeSchemaWithDefaults ¶

func NewMeSchemaWithDefaults() *MeSchema

NewMeSchemaWithDefaults instantiates a new MeSchema 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 (*MeSchema) GetFeedback ¶

func (o *MeSchema) GetFeedback() []FeedbackSchema

GetFeedback returns the Feedback field value

func (*MeSchema) GetFeedbackOk ¶

func (o *MeSchema) GetFeedbackOk() ([]FeedbackSchema, bool)

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

func (*MeSchema) GetPermissions ¶

func (o *MeSchema) GetPermissions() []PermissionSchema

GetPermissions returns the Permissions field value

func (*MeSchema) GetPermissionsOk ¶

func (o *MeSchema) GetPermissionsOk() ([]PermissionSchema, bool)

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

func (*MeSchema) GetSplash ¶

func (o *MeSchema) GetSplash() map[string]bool

GetSplash returns the Splash field value

func (*MeSchema) GetSplashOk ¶

func (o *MeSchema) GetSplashOk() (*map[string]bool, bool)

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

func (*MeSchema) GetUser ¶

func (o *MeSchema) GetUser() UserSchema

GetUser returns the User field value

func (*MeSchema) GetUserOk ¶

func (o *MeSchema) GetUserOk() (*UserSchema, bool)

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

func (MeSchema) MarshalJSON ¶

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

func (*MeSchema) SetFeedback ¶

func (o *MeSchema) SetFeedback(v []FeedbackSchema)

SetFeedback sets field value

func (*MeSchema) SetPermissions ¶

func (o *MeSchema) SetPermissions(v []PermissionSchema)

SetPermissions sets field value

func (*MeSchema) SetSplash ¶

func (o *MeSchema) SetSplash(v map[string]bool)

SetSplash sets field value

func (*MeSchema) SetUser ¶

func (o *MeSchema) SetUser(v UserSchema)

SetUser sets field value

func (MeSchema) ToMap ¶

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

type MetricsApiService ¶

type MetricsApiService service

MetricsApiService MetricsApi service

func (*MetricsApiService) CreateApplication ¶

func (a *MetricsApiService) CreateApplication(ctx context.Context, appName string) ApiCreateApplicationRequest

CreateApplication Create an application to connect reported metrics

Is used to report usage as well which sdk the application uses

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName
@return ApiCreateApplicationRequest

func (*MetricsApiService) CreateApplicationExecute ¶

func (a *MetricsApiService) CreateApplicationExecute(r ApiCreateApplicationRequest) (*http.Response, error)

Execute executes the request

func (*MetricsApiService) DeleteApplication ¶

func (a *MetricsApiService) DeleteApplication(ctx context.Context, appName string) ApiDeleteApplicationRequest

DeleteApplication Delete an application

Delete the application specified in the request URL. Returns 200 OK if the application was successfully deleted or if it didn't exist

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName
@return ApiDeleteApplicationRequest

func (*MetricsApiService) DeleteApplicationExecute ¶

func (a *MetricsApiService) DeleteApplicationExecute(r ApiDeleteApplicationRequest) (*http.Response, error)

Execute executes the request

func (*MetricsApiService) GetApplication ¶

func (a *MetricsApiService) GetApplication(ctx context.Context, appName string) ApiGetApplicationRequest

GetApplication Get application data

Returns data about the specified application (`appName`). The data contains information on the name of the application, sdkVersion (which sdk reported these metrics, typically `unleash-client-node:3.4.1` or `unleash-client-java:7.1.0`), as well as data about how to display this application in a list.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName
@return ApiGetApplicationRequest

func (*MetricsApiService) GetApplicationExecute ¶

Execute executes the request

@return ApplicationSchema

func (*MetricsApiService) GetApplications ¶

GetApplications Get all applications

Returns all applications registered with Unleash. Applications can be created via metrics reporting or manual creation

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetApplicationsRequest

func (*MetricsApiService) GetApplicationsExecute ¶

Execute executes the request

@return ApplicationsSchema

func (*MetricsApiService) GetFeatureUsageSummary ¶

func (a *MetricsApiService) GetFeatureUsageSummary(ctx context.Context, name string) ApiGetFeatureUsageSummaryRequest

GetFeatureUsageSummary Last hour of usage and a list of applications that have reported seeing this feature toggle

Separate counts for yes (enabled), no (disabled), as well as how many times each variant was selected during the last hour

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiGetFeatureUsageSummaryRequest

func (*MetricsApiService) GetFeatureUsageSummaryExecute ¶

func (a *MetricsApiService) GetFeatureUsageSummaryExecute(r ApiGetFeatureUsageSummaryRequest) (*FeatureUsageSchema, *http.Response, error)

Execute executes the request

@return FeatureUsageSchema

func (*MetricsApiService) GetRawFeatureMetrics ¶

func (a *MetricsApiService) GetRawFeatureMetrics(ctx context.Context, name string) ApiGetRawFeatureMetricsRequest

GetRawFeatureMetrics Feature usage metrics for the last 48 hours, grouped by hour

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiGetRawFeatureMetricsRequest

func (*MetricsApiService) GetRawFeatureMetricsExecute ¶

Execute executes the request

@return FeatureMetricsSchema

type NameSchema ¶

type NameSchema struct {
	Name string `json:"name"`
}

NameSchema struct for NameSchema

func NewNameSchema ¶

func NewNameSchema(name string) *NameSchema

NewNameSchema instantiates a new NameSchema 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 NewNameSchemaWithDefaults ¶

func NewNameSchemaWithDefaults() *NameSchema

NewNameSchemaWithDefaults instantiates a new NameSchema 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 (*NameSchema) GetName ¶

func (o *NameSchema) GetName() string

GetName returns the Name field value

func (*NameSchema) GetNameOk ¶

func (o *NameSchema) GetNameOk() (*string, bool)

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

func (NameSchema) MarshalJSON ¶

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

func (*NameSchema) SetName ¶

func (o *NameSchema) SetName(v string)

SetName sets field value

func (NameSchema) ToMap ¶

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

type NotificationsSchemaInner ¶

type NotificationsSchemaInner struct {
	// The id of this notification
	Id float32 `json:"id"`
	// The actual notification message
	Message string `json:"message"`
	// The link to change request or feature toggle the notification refers to
	Link string `json:"link"`
	// The type of the notification used e.g. for the graphical hints
	NotificationType string                            `json:"notificationType"`
	CreatedBy        NotificationsSchemaInnerCreatedBy `json:"createdBy"`
	// The date and time when the notification was created
	CreatedAt time.Time `json:"createdAt"`
	// The date and time when the notification was read or marked as read, otherwise `null`
	ReadAt NullableTime `json:"readAt"`
}

NotificationsSchemaInner struct for NotificationsSchemaInner

func NewNotificationsSchemaInner ¶

func NewNotificationsSchemaInner(id float32, message string, link string, notificationType string, createdBy NotificationsSchemaInnerCreatedBy, createdAt time.Time, readAt NullableTime) *NotificationsSchemaInner

NewNotificationsSchemaInner instantiates a new NotificationsSchemaInner 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 NewNotificationsSchemaInnerWithDefaults ¶

func NewNotificationsSchemaInnerWithDefaults() *NotificationsSchemaInner

NewNotificationsSchemaInnerWithDefaults instantiates a new NotificationsSchemaInner 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 (*NotificationsSchemaInner) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value

func (*NotificationsSchemaInner) GetCreatedAtOk ¶

func (o *NotificationsSchemaInner) 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 (*NotificationsSchemaInner) GetCreatedBy ¶

GetCreatedBy returns the CreatedBy field value

func (*NotificationsSchemaInner) GetCreatedByOk ¶

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

func (*NotificationsSchemaInner) GetId ¶

func (o *NotificationsSchemaInner) GetId() float32

GetId returns the Id field value

func (*NotificationsSchemaInner) GetIdOk ¶

func (o *NotificationsSchemaInner) GetIdOk() (*float32, bool)

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

func (o *NotificationsSchemaInner) GetLink() string

GetLink returns the Link field value

func (*NotificationsSchemaInner) GetLinkOk ¶

func (o *NotificationsSchemaInner) GetLinkOk() (*string, bool)

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

func (*NotificationsSchemaInner) GetMessage ¶

func (o *NotificationsSchemaInner) GetMessage() string

GetMessage returns the Message field value

func (*NotificationsSchemaInner) GetMessageOk ¶

func (o *NotificationsSchemaInner) GetMessageOk() (*string, bool)

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

func (*NotificationsSchemaInner) GetNotificationType ¶

func (o *NotificationsSchemaInner) GetNotificationType() string

GetNotificationType returns the NotificationType field value

func (*NotificationsSchemaInner) GetNotificationTypeOk ¶

func (o *NotificationsSchemaInner) GetNotificationTypeOk() (*string, bool)

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

func (*NotificationsSchemaInner) GetReadAt ¶

func (o *NotificationsSchemaInner) GetReadAt() time.Time

GetReadAt returns the ReadAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*NotificationsSchemaInner) GetReadAtOk ¶

func (o *NotificationsSchemaInner) GetReadAtOk() (*time.Time, bool)

GetReadAtOk returns a tuple with the ReadAt 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 (NotificationsSchemaInner) MarshalJSON ¶

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

func (*NotificationsSchemaInner) SetCreatedAt ¶

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

SetCreatedAt sets field value

func (*NotificationsSchemaInner) SetCreatedBy ¶

SetCreatedBy sets field value

func (*NotificationsSchemaInner) SetId ¶

func (o *NotificationsSchemaInner) SetId(v float32)

SetId sets field value

func (o *NotificationsSchemaInner) SetLink(v string)

SetLink sets field value

func (*NotificationsSchemaInner) SetMessage ¶

func (o *NotificationsSchemaInner) SetMessage(v string)

SetMessage sets field value

func (*NotificationsSchemaInner) SetNotificationType ¶

func (o *NotificationsSchemaInner) SetNotificationType(v string)

SetNotificationType sets field value

func (*NotificationsSchemaInner) SetReadAt ¶

func (o *NotificationsSchemaInner) SetReadAt(v time.Time)

SetReadAt sets field value

func (NotificationsSchemaInner) ToMap ¶

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

type NotificationsSchemaInnerCreatedBy ¶

type NotificationsSchemaInnerCreatedBy struct {
	// The name of the user who triggered the notification
	Username NullableString `json:"username,omitempty"`
	// The avatar url of the user who triggered the notification
	ImageUrl NullableString `json:"imageUrl,omitempty"`
}

NotificationsSchemaInnerCreatedBy struct for NotificationsSchemaInnerCreatedBy

func NewNotificationsSchemaInnerCreatedBy ¶

func NewNotificationsSchemaInnerCreatedBy() *NotificationsSchemaInnerCreatedBy

NewNotificationsSchemaInnerCreatedBy instantiates a new NotificationsSchemaInnerCreatedBy 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 NewNotificationsSchemaInnerCreatedByWithDefaults ¶

func NewNotificationsSchemaInnerCreatedByWithDefaults() *NotificationsSchemaInnerCreatedBy

NewNotificationsSchemaInnerCreatedByWithDefaults instantiates a new NotificationsSchemaInnerCreatedBy 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 (*NotificationsSchemaInnerCreatedBy) GetImageUrl ¶

func (o *NotificationsSchemaInnerCreatedBy) GetImageUrl() string

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

func (*NotificationsSchemaInnerCreatedBy) GetImageUrlOk ¶

func (o *NotificationsSchemaInnerCreatedBy) 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 (*NotificationsSchemaInnerCreatedBy) GetUsername ¶

func (o *NotificationsSchemaInnerCreatedBy) GetUsername() string

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

func (*NotificationsSchemaInnerCreatedBy) GetUsernameOk ¶

func (o *NotificationsSchemaInnerCreatedBy) 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 (*NotificationsSchemaInnerCreatedBy) HasImageUrl ¶

func (o *NotificationsSchemaInnerCreatedBy) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*NotificationsSchemaInnerCreatedBy) HasUsername ¶

func (o *NotificationsSchemaInnerCreatedBy) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (NotificationsSchemaInnerCreatedBy) MarshalJSON ¶

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

func (*NotificationsSchemaInnerCreatedBy) SetImageUrl ¶

func (o *NotificationsSchemaInnerCreatedBy) SetImageUrl(v string)

SetImageUrl gets a reference to the given NullableString and assigns it to the ImageUrl field.

func (*NotificationsSchemaInnerCreatedBy) SetImageUrlNil ¶

func (o *NotificationsSchemaInnerCreatedBy) SetImageUrlNil()

SetImageUrlNil sets the value for ImageUrl to be an explicit nil

func (*NotificationsSchemaInnerCreatedBy) SetUsername ¶

func (o *NotificationsSchemaInnerCreatedBy) SetUsername(v string)

SetUsername gets a reference to the given NullableString and assigns it to the Username field.

func (*NotificationsSchemaInnerCreatedBy) SetUsernameNil ¶

func (o *NotificationsSchemaInnerCreatedBy) SetUsernameNil()

SetUsernameNil sets the value for Username to be an explicit nil

func (NotificationsSchemaInnerCreatedBy) ToMap ¶

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

func (*NotificationsSchemaInnerCreatedBy) UnsetImageUrl ¶

func (o *NotificationsSchemaInnerCreatedBy) UnsetImageUrl()

UnsetImageUrl ensures that no value is present for ImageUrl, not even an explicit nil

func (*NotificationsSchemaInnerCreatedBy) UnsetUsername ¶

func (o *NotificationsSchemaInnerCreatedBy) UnsetUsername()

UnsetUsername ensures that no value is present for Username, not even an explicit nil

type NullableAddPublicSignupTokenUser409Response ¶

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

func (NullableAddPublicSignupTokenUser409Response) Get ¶

func (NullableAddPublicSignupTokenUser409Response) IsSet ¶

func (NullableAddPublicSignupTokenUser409Response) MarshalJSON ¶

func (*NullableAddPublicSignupTokenUser409Response) Set ¶

func (*NullableAddPublicSignupTokenUser409Response) UnmarshalJSON ¶

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

func (*NullableAddPublicSignupTokenUser409Response) Unset ¶

type NullableAddonCreateUpdateSchema ¶

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

func (NullableAddonCreateUpdateSchema) Get ¶

func (NullableAddonCreateUpdateSchema) IsSet ¶

func (NullableAddonCreateUpdateSchema) MarshalJSON ¶

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

func (*NullableAddonCreateUpdateSchema) Set ¶

func (*NullableAddonCreateUpdateSchema) UnmarshalJSON ¶

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

func (*NullableAddonCreateUpdateSchema) Unset ¶

type NullableAddonParameterSchema ¶

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

func (NullableAddonParameterSchema) Get ¶

func (NullableAddonParameterSchema) IsSet ¶

func (NullableAddonParameterSchema) MarshalJSON ¶

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

func (*NullableAddonParameterSchema) Set ¶

func (*NullableAddonParameterSchema) UnmarshalJSON ¶

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

func (*NullableAddonParameterSchema) Unset ¶

func (v *NullableAddonParameterSchema) Unset()

type NullableAddonSchema ¶

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

func NewNullableAddonSchema ¶

func NewNullableAddonSchema(val *AddonSchema) *NullableAddonSchema

func (NullableAddonSchema) Get ¶

func (NullableAddonSchema) IsSet ¶

func (v NullableAddonSchema) IsSet() bool

func (NullableAddonSchema) MarshalJSON ¶

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

func (*NullableAddonSchema) Set ¶

func (v *NullableAddonSchema) Set(val *AddonSchema)

func (*NullableAddonSchema) UnmarshalJSON ¶

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

func (*NullableAddonSchema) Unset ¶

func (v *NullableAddonSchema) Unset()

type NullableAddonTypeSchema ¶

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

func NewNullableAddonTypeSchema ¶

func NewNullableAddonTypeSchema(val *AddonTypeSchema) *NullableAddonTypeSchema

func (NullableAddonTypeSchema) Get ¶

func (NullableAddonTypeSchema) IsSet ¶

func (v NullableAddonTypeSchema) IsSet() bool

func (NullableAddonTypeSchema) MarshalJSON ¶

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

func (*NullableAddonTypeSchema) Set ¶

func (*NullableAddonTypeSchema) UnmarshalJSON ¶

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

func (*NullableAddonTypeSchema) Unset ¶

func (v *NullableAddonTypeSchema) Unset()

type NullableAddonTypeSchemaAlertsInner ¶

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

func (NullableAddonTypeSchemaAlertsInner) Get ¶

func (NullableAddonTypeSchemaAlertsInner) IsSet ¶

func (NullableAddonTypeSchemaAlertsInner) MarshalJSON ¶

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

func (*NullableAddonTypeSchemaAlertsInner) Set ¶

func (*NullableAddonTypeSchemaAlertsInner) UnmarshalJSON ¶

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

func (*NullableAddonTypeSchemaAlertsInner) Unset ¶

type NullableAddonTypeSchemaInstallation ¶

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

func (NullableAddonTypeSchemaInstallation) Get ¶

func (NullableAddonTypeSchemaInstallation) IsSet ¶

func (NullableAddonTypeSchemaInstallation) MarshalJSON ¶

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

func (*NullableAddonTypeSchemaInstallation) Set ¶

func (*NullableAddonTypeSchemaInstallation) UnmarshalJSON ¶

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

func (*NullableAddonTypeSchemaInstallation) Unset ¶

type NullableAddonsSchema ¶

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

func NewNullableAddonsSchema ¶

func NewNullableAddonsSchema(val *AddonsSchema) *NullableAddonsSchema

func (NullableAddonsSchema) Get ¶

func (NullableAddonsSchema) IsSet ¶

func (v NullableAddonsSchema) IsSet() bool

func (NullableAddonsSchema) MarshalJSON ¶

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

func (*NullableAddonsSchema) Set ¶

func (v *NullableAddonsSchema) Set(val *AddonsSchema)

func (*NullableAddonsSchema) UnmarshalJSON ¶

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

func (*NullableAddonsSchema) Unset ¶

func (v *NullableAddonsSchema) Unset()

type NullableAdminCountSchema ¶

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

func NewNullableAdminCountSchema ¶

func NewNullableAdminCountSchema(val *AdminCountSchema) *NullableAdminCountSchema

func (NullableAdminCountSchema) Get ¶

func (NullableAdminCountSchema) IsSet ¶

func (v NullableAdminCountSchema) IsSet() bool

func (NullableAdminCountSchema) MarshalJSON ¶

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

func (*NullableAdminCountSchema) Set ¶

func (*NullableAdminCountSchema) UnmarshalJSON ¶

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

func (*NullableAdminCountSchema) Unset ¶

func (v *NullableAdminCountSchema) Unset()

type NullableAdminFeaturesQuerySchema ¶

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

func (NullableAdminFeaturesQuerySchema) Get ¶

func (NullableAdminFeaturesQuerySchema) IsSet ¶

func (NullableAdminFeaturesQuerySchema) MarshalJSON ¶

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

func (*NullableAdminFeaturesQuerySchema) Set ¶

func (*NullableAdminFeaturesQuerySchema) UnmarshalJSON ¶

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

func (*NullableAdminFeaturesQuerySchema) Unset ¶

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 NullableAdminSegmentSchema ¶

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

func NewNullableAdminSegmentSchema ¶

func NewNullableAdminSegmentSchema(val *AdminSegmentSchema) *NullableAdminSegmentSchema

func (NullableAdminSegmentSchema) Get ¶

func (NullableAdminSegmentSchema) IsSet ¶

func (v NullableAdminSegmentSchema) IsSet() bool

func (NullableAdminSegmentSchema) MarshalJSON ¶

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

func (*NullableAdminSegmentSchema) Set ¶

func (*NullableAdminSegmentSchema) UnmarshalJSON ¶

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

func (*NullableAdminSegmentSchema) Unset ¶

func (v *NullableAdminSegmentSchema) Unset()

type NullableAdminStrategiesSchema ¶

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

func (NullableAdminStrategiesSchema) Get ¶

func (NullableAdminStrategiesSchema) IsSet ¶

func (NullableAdminStrategiesSchema) MarshalJSON ¶

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

func (*NullableAdminStrategiesSchema) Set ¶

func (*NullableAdminStrategiesSchema) UnmarshalJSON ¶

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

func (*NullableAdminStrategiesSchema) Unset ¶

func (v *NullableAdminStrategiesSchema) Unset()

type NullableAdminStrategiesSchemaStrategiesInner ¶

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

func (NullableAdminStrategiesSchemaStrategiesInner) Get ¶

func (NullableAdminStrategiesSchemaStrategiesInner) IsSet ¶

func (NullableAdminStrategiesSchemaStrategiesInner) MarshalJSON ¶

func (*NullableAdminStrategiesSchemaStrategiesInner) Set ¶

func (*NullableAdminStrategiesSchemaStrategiesInner) UnmarshalJSON ¶

func (*NullableAdminStrategiesSchemaStrategiesInner) Unset ¶

type NullableAdvancedPlaygroundEnvironmentFeatureSchema ¶

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

func (NullableAdvancedPlaygroundEnvironmentFeatureSchema) Get ¶

func (NullableAdvancedPlaygroundEnvironmentFeatureSchema) IsSet ¶

func (NullableAdvancedPlaygroundEnvironmentFeatureSchema) MarshalJSON ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchema) Set ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchema) UnmarshalJSON ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchema) Unset ¶

type NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategies ¶

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

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategies) Get ¶

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategies) IsSet ¶

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategies) MarshalJSON ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategies) Set ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategies) UnmarshalJSON ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategies) Unset ¶

type NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult ¶

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

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult) Get ¶

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult) IsSet ¶

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult) MarshalJSON ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult) Set ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult) UnmarshalJSON ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult) Unset ¶

type NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant ¶

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

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant) Get ¶

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant) IsSet ¶

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant) MarshalJSON ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant) Set ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant) UnmarshalJSON ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant) Unset ¶

type NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload ¶

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

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) Get ¶

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) IsSet ¶

func (NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) MarshalJSON ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) Set ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) UnmarshalJSON ¶

func (*NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload) Unset ¶

type NullableAdvancedPlaygroundFeatureSchema ¶

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

func (NullableAdvancedPlaygroundFeatureSchema) Get ¶

func (NullableAdvancedPlaygroundFeatureSchema) IsSet ¶

func (NullableAdvancedPlaygroundFeatureSchema) MarshalJSON ¶

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

func (*NullableAdvancedPlaygroundFeatureSchema) Set ¶

func (*NullableAdvancedPlaygroundFeatureSchema) UnmarshalJSON ¶

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

func (*NullableAdvancedPlaygroundFeatureSchema) Unset ¶

type NullableAdvancedPlaygroundRequestSchema ¶

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

func (NullableAdvancedPlaygroundRequestSchema) Get ¶

func (NullableAdvancedPlaygroundRequestSchema) IsSet ¶

func (NullableAdvancedPlaygroundRequestSchema) MarshalJSON ¶

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

func (*NullableAdvancedPlaygroundRequestSchema) Set ¶

func (*NullableAdvancedPlaygroundRequestSchema) UnmarshalJSON ¶

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

func (*NullableAdvancedPlaygroundRequestSchema) Unset ¶

type NullableAdvancedPlaygroundRequestSchemaProjects ¶

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

func (NullableAdvancedPlaygroundRequestSchemaProjects) Get ¶

func (NullableAdvancedPlaygroundRequestSchemaProjects) IsSet ¶

func (NullableAdvancedPlaygroundRequestSchemaProjects) MarshalJSON ¶

func (*NullableAdvancedPlaygroundRequestSchemaProjects) Set ¶

func (*NullableAdvancedPlaygroundRequestSchemaProjects) UnmarshalJSON ¶

func (*NullableAdvancedPlaygroundRequestSchemaProjects) Unset ¶

type NullableAdvancedPlaygroundResponseSchema ¶

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

func (NullableAdvancedPlaygroundResponseSchema) Get ¶

func (NullableAdvancedPlaygroundResponseSchema) IsSet ¶

func (NullableAdvancedPlaygroundResponseSchema) MarshalJSON ¶

func (*NullableAdvancedPlaygroundResponseSchema) Set ¶

func (*NullableAdvancedPlaygroundResponseSchema) UnmarshalJSON ¶

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

func (*NullableAdvancedPlaygroundResponseSchema) 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 NullableApplicationSchema ¶

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

func NewNullableApplicationSchema ¶

func NewNullableApplicationSchema(val *ApplicationSchema) *NullableApplicationSchema

func (NullableApplicationSchema) Get ¶

func (NullableApplicationSchema) IsSet ¶

func (v NullableApplicationSchema) IsSet() bool

func (NullableApplicationSchema) MarshalJSON ¶

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

func (*NullableApplicationSchema) Set ¶

func (*NullableApplicationSchema) UnmarshalJSON ¶

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

func (*NullableApplicationSchema) Unset ¶

func (v *NullableApplicationSchema) Unset()

type NullableApplicationsSchema ¶

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

func NewNullableApplicationsSchema ¶

func NewNullableApplicationsSchema(val *ApplicationsSchema) *NullableApplicationsSchema

func (NullableApplicationsSchema) Get ¶

func (NullableApplicationsSchema) IsSet ¶

func (v NullableApplicationsSchema) IsSet() bool

func (NullableApplicationsSchema) MarshalJSON ¶

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

func (*NullableApplicationsSchema) Set ¶

func (*NullableApplicationsSchema) UnmarshalJSON ¶

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

func (*NullableApplicationsSchema) Unset ¶

func (v *NullableApplicationsSchema) Unset()

type NullableBatchFeaturesSchema ¶

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

func (NullableBatchFeaturesSchema) Get ¶

func (NullableBatchFeaturesSchema) IsSet ¶

func (NullableBatchFeaturesSchema) MarshalJSON ¶

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

func (*NullableBatchFeaturesSchema) Set ¶

func (*NullableBatchFeaturesSchema) UnmarshalJSON ¶

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

func (*NullableBatchFeaturesSchema) Unset ¶

func (v *NullableBatchFeaturesSchema) Unset()

type NullableBatchStaleSchema ¶

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

func NewNullableBatchStaleSchema ¶

func NewNullableBatchStaleSchema(val *BatchStaleSchema) *NullableBatchStaleSchema

func (NullableBatchStaleSchema) Get ¶

func (NullableBatchStaleSchema) IsSet ¶

func (v NullableBatchStaleSchema) IsSet() bool

func (NullableBatchStaleSchema) MarshalJSON ¶

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

func (*NullableBatchStaleSchema) Set ¶

func (*NullableBatchStaleSchema) UnmarshalJSON ¶

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

func (*NullableBatchStaleSchema) Unset ¶

func (v *NullableBatchStaleSchema) 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 NullableBulkMetricsSchema ¶

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

func NewNullableBulkMetricsSchema ¶

func NewNullableBulkMetricsSchema(val *BulkMetricsSchema) *NullableBulkMetricsSchema

func (NullableBulkMetricsSchema) Get ¶

func (NullableBulkMetricsSchema) IsSet ¶

func (v NullableBulkMetricsSchema) IsSet() bool

func (NullableBulkMetricsSchema) MarshalJSON ¶

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

func (*NullableBulkMetricsSchema) Set ¶

func (*NullableBulkMetricsSchema) UnmarshalJSON ¶

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

func (*NullableBulkMetricsSchema) Unset ¶

func (v *NullableBulkMetricsSchema) Unset()

type NullableBulkRegistrationSchema ¶

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

func (NullableBulkRegistrationSchema) Get ¶

func (NullableBulkRegistrationSchema) IsSet ¶

func (NullableBulkRegistrationSchema) MarshalJSON ¶

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

func (*NullableBulkRegistrationSchema) Set ¶

func (*NullableBulkRegistrationSchema) UnmarshalJSON ¶

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

func (*NullableBulkRegistrationSchema) Unset ¶

func (v *NullableBulkRegistrationSchema) Unset()

type NullableBulkRegistrationSchemaConnectViaInner ¶

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

func (NullableBulkRegistrationSchemaConnectViaInner) Get ¶

func (NullableBulkRegistrationSchemaConnectViaInner) IsSet ¶

func (NullableBulkRegistrationSchemaConnectViaInner) MarshalJSON ¶

func (*NullableBulkRegistrationSchemaConnectViaInner) Set ¶

func (*NullableBulkRegistrationSchemaConnectViaInner) UnmarshalJSON ¶

func (*NullableBulkRegistrationSchemaConnectViaInner) Unset ¶

type NullableBulkToggleFeaturesSchema ¶

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

func (NullableBulkToggleFeaturesSchema) Get ¶

func (NullableBulkToggleFeaturesSchema) IsSet ¶

func (NullableBulkToggleFeaturesSchema) MarshalJSON ¶

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

func (*NullableBulkToggleFeaturesSchema) Set ¶

func (*NullableBulkToggleFeaturesSchema) UnmarshalJSON ¶

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

func (*NullableBulkToggleFeaturesSchema) Unset ¶

type NullableChangePasswordSchema ¶

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

func (NullableChangePasswordSchema) Get ¶

func (NullableChangePasswordSchema) IsSet ¶

func (NullableChangePasswordSchema) MarshalJSON ¶

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

func (*NullableChangePasswordSchema) Set ¶

func (*NullableChangePasswordSchema) UnmarshalJSON ¶

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

func (*NullableChangePasswordSchema) Unset ¶

func (v *NullableChangePasswordSchema) Unset()

type NullableChangeProjectSchema ¶

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

func (NullableChangeProjectSchema) Get ¶

func (NullableChangeProjectSchema) IsSet ¶

func (NullableChangeProjectSchema) MarshalJSON ¶

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

func (*NullableChangeProjectSchema) Set ¶

func (*NullableChangeProjectSchema) UnmarshalJSON ¶

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

func (*NullableChangeProjectSchema) Unset ¶

func (v *NullableChangeProjectSchema) Unset()

type NullableChangeRequestAddCommentSchema ¶

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

func (NullableChangeRequestAddCommentSchema) Get ¶

func (NullableChangeRequestAddCommentSchema) IsSet ¶

func (NullableChangeRequestAddCommentSchema) MarshalJSON ¶

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

func (*NullableChangeRequestAddCommentSchema) Set ¶

func (*NullableChangeRequestAddCommentSchema) UnmarshalJSON ¶

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

func (*NullableChangeRequestAddCommentSchema) Unset ¶

type NullableChangeRequestApprovalSchema ¶

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

func (NullableChangeRequestApprovalSchema) Get ¶

func (NullableChangeRequestApprovalSchema) IsSet ¶

func (NullableChangeRequestApprovalSchema) MarshalJSON ¶

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

func (*NullableChangeRequestApprovalSchema) Set ¶

func (*NullableChangeRequestApprovalSchema) UnmarshalJSON ¶

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

func (*NullableChangeRequestApprovalSchema) Unset ¶

type NullableChangeRequestApprovalSchemaCreatedBy ¶

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

func (NullableChangeRequestApprovalSchemaCreatedBy) Get ¶

func (NullableChangeRequestApprovalSchemaCreatedBy) IsSet ¶

func (NullableChangeRequestApprovalSchemaCreatedBy) MarshalJSON ¶

func (*NullableChangeRequestApprovalSchemaCreatedBy) Set ¶

func (*NullableChangeRequestApprovalSchemaCreatedBy) UnmarshalJSON ¶

func (*NullableChangeRequestApprovalSchemaCreatedBy) Unset ¶

type NullableChangeRequestCommentSchema ¶

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

func (NullableChangeRequestCommentSchema) Get ¶

func (NullableChangeRequestCommentSchema) IsSet ¶

func (NullableChangeRequestCommentSchema) MarshalJSON ¶

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

func (*NullableChangeRequestCommentSchema) Set ¶

func (*NullableChangeRequestCommentSchema) UnmarshalJSON ¶

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

func (*NullableChangeRequestCommentSchema) Unset ¶

type NullableChangeRequestCommentSchemaCreatedBy ¶

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

func (NullableChangeRequestCommentSchemaCreatedBy) Get ¶

func (NullableChangeRequestCommentSchemaCreatedBy) IsSet ¶

func (NullableChangeRequestCommentSchemaCreatedBy) MarshalJSON ¶

func (*NullableChangeRequestCommentSchemaCreatedBy) Set ¶

func (*NullableChangeRequestCommentSchemaCreatedBy) UnmarshalJSON ¶

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

func (*NullableChangeRequestCommentSchemaCreatedBy) Unset ¶

type NullableChangeRequestCreateSchema ¶

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

func (NullableChangeRequestCreateSchema) Get ¶

func (NullableChangeRequestCreateSchema) IsSet ¶

func (NullableChangeRequestCreateSchema) MarshalJSON ¶

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

func (*NullableChangeRequestCreateSchema) Set ¶

func (*NullableChangeRequestCreateSchema) UnmarshalJSON ¶

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

func (*NullableChangeRequestCreateSchema) Unset ¶

type NullableChangeRequestDefaultEventSchema ¶

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

func (NullableChangeRequestDefaultEventSchema) Get ¶

func (NullableChangeRequestDefaultEventSchema) IsSet ¶

func (NullableChangeRequestDefaultEventSchema) MarshalJSON ¶

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

func (*NullableChangeRequestDefaultEventSchema) Set ¶

func (*NullableChangeRequestDefaultEventSchema) UnmarshalJSON ¶

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

func (*NullableChangeRequestDefaultEventSchema) Unset ¶

type NullableChangeRequestEnvironmentConfigSchema ¶

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

func (NullableChangeRequestEnvironmentConfigSchema) Get ¶

func (NullableChangeRequestEnvironmentConfigSchema) IsSet ¶

func (NullableChangeRequestEnvironmentConfigSchema) MarshalJSON ¶

func (*NullableChangeRequestEnvironmentConfigSchema) Set ¶

func (*NullableChangeRequestEnvironmentConfigSchema) UnmarshalJSON ¶

func (*NullableChangeRequestEnvironmentConfigSchema) Unset ¶

type NullableChangeRequestEventSchema ¶

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

func (NullableChangeRequestEventSchema) Get ¶

func (NullableChangeRequestEventSchema) IsSet ¶

func (NullableChangeRequestEventSchema) MarshalJSON ¶

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

func (*NullableChangeRequestEventSchema) Set ¶

func (*NullableChangeRequestEventSchema) UnmarshalJSON ¶

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

func (*NullableChangeRequestEventSchema) Unset ¶

type NullableChangeRequestEventSchemaCreatedBy ¶

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

func (NullableChangeRequestEventSchemaCreatedBy) Get ¶

func (NullableChangeRequestEventSchemaCreatedBy) IsSet ¶

func (NullableChangeRequestEventSchemaCreatedBy) MarshalJSON ¶

func (*NullableChangeRequestEventSchemaCreatedBy) Set ¶

func (*NullableChangeRequestEventSchemaCreatedBy) UnmarshalJSON ¶

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

func (*NullableChangeRequestEventSchemaCreatedBy) Unset ¶

type NullableChangeRequestEventSchemaPayload ¶

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

func (NullableChangeRequestEventSchemaPayload) Get ¶

func (NullableChangeRequestEventSchemaPayload) IsSet ¶

func (NullableChangeRequestEventSchemaPayload) MarshalJSON ¶

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

func (*NullableChangeRequestEventSchemaPayload) Set ¶

func (*NullableChangeRequestEventSchemaPayload) UnmarshalJSON ¶

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

func (*NullableChangeRequestEventSchemaPayload) Unset ¶

type NullableChangeRequestFeatureSchema ¶

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

func (NullableChangeRequestFeatureSchema) Get ¶

func (NullableChangeRequestFeatureSchema) IsSet ¶

func (NullableChangeRequestFeatureSchema) MarshalJSON ¶

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

func (*NullableChangeRequestFeatureSchema) Set ¶

func (*NullableChangeRequestFeatureSchema) UnmarshalJSON ¶

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

func (*NullableChangeRequestFeatureSchema) Unset ¶

type NullableChangeRequestSchema ¶

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

func (NullableChangeRequestSchema) Get ¶

func (NullableChangeRequestSchema) IsSet ¶

func (NullableChangeRequestSchema) MarshalJSON ¶

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

func (*NullableChangeRequestSchema) Set ¶

func (*NullableChangeRequestSchema) UnmarshalJSON ¶

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

func (*NullableChangeRequestSchema) Unset ¶

func (v *NullableChangeRequestSchema) Unset()

type NullableChangeRequestStateSchema ¶

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

func (NullableChangeRequestStateSchema) Get ¶

func (NullableChangeRequestStateSchema) IsSet ¶

func (NullableChangeRequestStateSchema) MarshalJSON ¶

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

func (*NullableChangeRequestStateSchema) Set ¶

func (*NullableChangeRequestStateSchema) UnmarshalJSON ¶

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

func (*NullableChangeRequestStateSchema) Unset ¶

type NullableChangeRequestUpdateTitleSchema ¶

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

func (NullableChangeRequestUpdateTitleSchema) Get ¶

func (NullableChangeRequestUpdateTitleSchema) IsSet ¶

func (NullableChangeRequestUpdateTitleSchema) MarshalJSON ¶

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

func (*NullableChangeRequestUpdateTitleSchema) Set ¶

func (*NullableChangeRequestUpdateTitleSchema) UnmarshalJSON ¶

func (v *NullableChangeRequestUpdateTitleSchema) UnmarshalJSON(src []byte) error

func (*NullableChangeRequestUpdateTitleSchema) Unset ¶

type NullableClientApplicationSchema ¶

type NullableClientApplicationSchema struct {
	// contains filtered or unexported fields
}

func (NullableClientApplicationSchema) Get ¶

func (NullableClientApplicationSchema) IsSet ¶

func (NullableClientApplicationSchema) MarshalJSON ¶

func (v NullableClientApplicationSchema) MarshalJSON() ([]byte, error)

func (*NullableClientApplicationSchema) Set ¶

func (*NullableClientApplicationSchema) UnmarshalJSON ¶

func (v *NullableClientApplicationSchema) UnmarshalJSON(src []byte) error

func (*NullableClientApplicationSchema) Unset ¶

type NullableClientApplicationSchemaStarted ¶

type NullableClientApplicationSchemaStarted struct {
	// contains filtered or unexported fields
}

func (NullableClientApplicationSchemaStarted) Get ¶

func (NullableClientApplicationSchemaStarted) IsSet ¶

func (NullableClientApplicationSchemaStarted) MarshalJSON ¶

func (v NullableClientApplicationSchemaStarted) MarshalJSON() ([]byte, error)

func (*NullableClientApplicationSchemaStarted) Set ¶

func (*NullableClientApplicationSchemaStarted) UnmarshalJSON ¶

func (v *NullableClientApplicationSchemaStarted) UnmarshalJSON(src []byte) error

func (*NullableClientApplicationSchemaStarted) Unset ¶

type NullableClientFeatureSchema ¶

type NullableClientFeatureSchema struct {
	// contains filtered or unexported fields
}

func (NullableClientFeatureSchema) Get ¶

func (NullableClientFeatureSchema) IsSet ¶

func (NullableClientFeatureSchema) MarshalJSON ¶

func (v NullableClientFeatureSchema) MarshalJSON() ([]byte, error)

func (*NullableClientFeatureSchema) Set ¶

func (*NullableClientFeatureSchema) UnmarshalJSON ¶

func (v *NullableClientFeatureSchema) UnmarshalJSON(src []byte) error

func (*NullableClientFeatureSchema) Unset ¶

func (v *NullableClientFeatureSchema) Unset()

type NullableClientFeaturesQuerySchema ¶

type NullableClientFeaturesQuerySchema struct {
	// contains filtered or unexported fields
}

func (NullableClientFeaturesQuerySchema) Get ¶

func (NullableClientFeaturesQuerySchema) IsSet ¶

func (NullableClientFeaturesQuerySchema) MarshalJSON ¶

func (v NullableClientFeaturesQuerySchema) MarshalJSON() ([]byte, error)

func (*NullableClientFeaturesQuerySchema) Set ¶

func (*NullableClientFeaturesQuerySchema) UnmarshalJSON ¶

func (v *NullableClientFeaturesQuerySchema) UnmarshalJSON(src []byte) error

func (*NullableClientFeaturesQuerySchema) Unset ¶

type NullableClientFeaturesSchema ¶

type NullableClientFeaturesSchema struct {
	// contains filtered or unexported fields
}

func (NullableClientFeaturesSchema) Get ¶

func (NullableClientFeaturesSchema) IsSet ¶

func (NullableClientFeaturesSchema) MarshalJSON ¶

func (v NullableClientFeaturesSchema) MarshalJSON() ([]byte, error)

func (*NullableClientFeaturesSchema) Set ¶

func (*NullableClientFeaturesSchema) UnmarshalJSON ¶

func (v *NullableClientFeaturesSchema) UnmarshalJSON(src []byte) error

func (*NullableClientFeaturesSchema) Unset ¶

func (v *NullableClientFeaturesSchema) Unset()

type NullableClientMetricsEnvSchema ¶

type NullableClientMetricsEnvSchema struct {
	// contains filtered or unexported fields
}

func (NullableClientMetricsEnvSchema) Get ¶

func (NullableClientMetricsEnvSchema) IsSet ¶

func (NullableClientMetricsEnvSchema) MarshalJSON ¶

func (v NullableClientMetricsEnvSchema) MarshalJSON() ([]byte, error)

func (*NullableClientMetricsEnvSchema) Set ¶

func (*NullableClientMetricsEnvSchema) UnmarshalJSON ¶

func (v *NullableClientMetricsEnvSchema) UnmarshalJSON(src []byte) error

func (*NullableClientMetricsEnvSchema) Unset ¶

func (v *NullableClientMetricsEnvSchema) Unset()

type NullableClientMetricsSchema ¶

type NullableClientMetricsSchema struct {
	// contains filtered or unexported fields
}

func (NullableClientMetricsSchema) Get ¶

func (NullableClientMetricsSchema) IsSet ¶

func (NullableClientMetricsSchema) MarshalJSON ¶

func (v NullableClientMetricsSchema) MarshalJSON() ([]byte, error)

func (*NullableClientMetricsSchema) Set ¶

func (*NullableClientMetricsSchema) UnmarshalJSON ¶

func (v *NullableClientMetricsSchema) UnmarshalJSON(src []byte) error

func (*NullableClientMetricsSchema) Unset ¶

func (v *NullableClientMetricsSchema) Unset()

type NullableClientMetricsSchemaBucket ¶

type NullableClientMetricsSchemaBucket struct {
	// contains filtered or unexported fields
}

func (NullableClientMetricsSchemaBucket) Get ¶

func (NullableClientMetricsSchemaBucket) IsSet ¶

func (NullableClientMetricsSchemaBucket) MarshalJSON ¶

func (v NullableClientMetricsSchemaBucket) MarshalJSON() ([]byte, error)

func (*NullableClientMetricsSchemaBucket) Set ¶

func (*NullableClientMetricsSchemaBucket) UnmarshalJSON ¶

func (v *NullableClientMetricsSchemaBucket) UnmarshalJSON(src []byte) error

func (*NullableClientMetricsSchemaBucket) Unset ¶

type NullableClientMetricsSchemaBucketTogglesValue ¶

type NullableClientMetricsSchemaBucketTogglesValue struct {
	// contains filtered or unexported fields
}

func (NullableClientMetricsSchemaBucketTogglesValue) Get ¶

func (NullableClientMetricsSchemaBucketTogglesValue) IsSet ¶

func (NullableClientMetricsSchemaBucketTogglesValue) MarshalJSON ¶

func (*NullableClientMetricsSchemaBucketTogglesValue) Set ¶

func (*NullableClientMetricsSchemaBucketTogglesValue) UnmarshalJSON ¶

func (*NullableClientMetricsSchemaBucketTogglesValue) Unset ¶

type NullableClientSegmentSchema ¶

type NullableClientSegmentSchema struct {
	// contains filtered or unexported fields
}

func (NullableClientSegmentSchema) Get ¶

func (NullableClientSegmentSchema) IsSet ¶

func (NullableClientSegmentSchema) MarshalJSON ¶

func (v NullableClientSegmentSchema) MarshalJSON() ([]byte, error)

func (*NullableClientSegmentSchema) Set ¶

func (*NullableClientSegmentSchema) UnmarshalJSON ¶

func (v *NullableClientSegmentSchema) UnmarshalJSON(src []byte) error

func (*NullableClientSegmentSchema) Unset ¶

func (v *NullableClientSegmentSchema) Unset()

type NullableCloneEnvironmentSchema ¶

type NullableCloneEnvironmentSchema struct {
	// contains filtered or unexported fields
}

func (NullableCloneEnvironmentSchema) Get ¶

func (NullableCloneEnvironmentSchema) IsSet ¶

func (NullableCloneEnvironmentSchema) MarshalJSON ¶

func (v NullableCloneEnvironmentSchema) MarshalJSON() ([]byte, error)

func (*NullableCloneEnvironmentSchema) Set ¶

func (*NullableCloneEnvironmentSchema) UnmarshalJSON ¶

func (v *NullableCloneEnvironmentSchema) UnmarshalJSON(src []byte) error

func (*NullableCloneEnvironmentSchema) Unset ¶

func (v *NullableCloneEnvironmentSchema) Unset()

type NullableCloneFeatureSchema ¶

type NullableCloneFeatureSchema struct {
	// contains filtered or unexported fields
}

func NewNullableCloneFeatureSchema ¶

func NewNullableCloneFeatureSchema(val *CloneFeatureSchema) *NullableCloneFeatureSchema

func (NullableCloneFeatureSchema) Get ¶

func (NullableCloneFeatureSchema) IsSet ¶

func (v NullableCloneFeatureSchema) IsSet() bool

func (NullableCloneFeatureSchema) MarshalJSON ¶

func (v NullableCloneFeatureSchema) MarshalJSON() ([]byte, error)

func (*NullableCloneFeatureSchema) Set ¶

func (*NullableCloneFeatureSchema) UnmarshalJSON ¶

func (v *NullableCloneFeatureSchema) UnmarshalJSON(src []byte) error

func (*NullableCloneFeatureSchema) Unset ¶

func (v *NullableCloneFeatureSchema) Unset()

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 NullableContextFieldStrategiesSchema ¶

type NullableContextFieldStrategiesSchema struct {
	// contains filtered or unexported fields
}

func (NullableContextFieldStrategiesSchema) Get ¶

func (NullableContextFieldStrategiesSchema) IsSet ¶

func (NullableContextFieldStrategiesSchema) MarshalJSON ¶

func (v NullableContextFieldStrategiesSchema) MarshalJSON() ([]byte, error)

func (*NullableContextFieldStrategiesSchema) Set ¶

func (*NullableContextFieldStrategiesSchema) UnmarshalJSON ¶

func (v *NullableContextFieldStrategiesSchema) UnmarshalJSON(src []byte) error

func (*NullableContextFieldStrategiesSchema) Unset ¶

type NullableContextFieldStrategiesSchemaStrategiesInner ¶

type NullableContextFieldStrategiesSchemaStrategiesInner struct {
	// contains filtered or unexported fields
}

func (NullableContextFieldStrategiesSchemaStrategiesInner) Get ¶

func (NullableContextFieldStrategiesSchemaStrategiesInner) IsSet ¶

func (NullableContextFieldStrategiesSchemaStrategiesInner) MarshalJSON ¶

func (*NullableContextFieldStrategiesSchemaStrategiesInner) Set ¶

func (*NullableContextFieldStrategiesSchemaStrategiesInner) UnmarshalJSON ¶

func (*NullableContextFieldStrategiesSchemaStrategiesInner) Unset ¶

type NullableCreateAddon413Response ¶

type NullableCreateAddon413Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateAddon413Response) Get ¶

func (NullableCreateAddon413Response) IsSet ¶

func (NullableCreateAddon413Response) MarshalJSON ¶

func (v NullableCreateAddon413Response) MarshalJSON() ([]byte, error)

func (*NullableCreateAddon413Response) Set ¶

func (*NullableCreateAddon413Response) UnmarshalJSON ¶

func (v *NullableCreateAddon413Response) UnmarshalJSON(src []byte) error

func (*NullableCreateAddon413Response) Unset ¶

func (v *NullableCreateAddon413Response) Unset()

type NullableCreateAddon415Response ¶

type NullableCreateAddon415Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateAddon415Response) Get ¶

func (NullableCreateAddon415Response) IsSet ¶

func (NullableCreateAddon415Response) MarshalJSON ¶

func (v NullableCreateAddon415Response) MarshalJSON() ([]byte, error)

func (*NullableCreateAddon415Response) Set ¶

func (*NullableCreateAddon415Response) UnmarshalJSON ¶

func (v *NullableCreateAddon415Response) UnmarshalJSON(src []byte) error

func (*NullableCreateAddon415Response) Unset ¶

func (v *NullableCreateAddon415Response) Unset()

type NullableCreateApiTokenSchema ¶

type NullableCreateApiTokenSchema struct {
	// contains filtered or unexported fields
}

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 NullableCreateApplicationSchema ¶

type NullableCreateApplicationSchema struct {
	// contains filtered or unexported fields
}

func (NullableCreateApplicationSchema) Get ¶

func (NullableCreateApplicationSchema) IsSet ¶

func (NullableCreateApplicationSchema) MarshalJSON ¶

func (v NullableCreateApplicationSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateApplicationSchema) Set ¶

func (*NullableCreateApplicationSchema) UnmarshalJSON ¶

func (v *NullableCreateApplicationSchema) UnmarshalJSON(src []byte) error

func (*NullableCreateApplicationSchema) Unset ¶

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 NullableCreateFeatureSchema ¶

type NullableCreateFeatureSchema struct {
	// contains filtered or unexported fields
}

func (NullableCreateFeatureSchema) Get ¶

func (NullableCreateFeatureSchema) IsSet ¶

func (NullableCreateFeatureSchema) MarshalJSON ¶

func (v NullableCreateFeatureSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateFeatureSchema) Set ¶

func (*NullableCreateFeatureSchema) UnmarshalJSON ¶

func (v *NullableCreateFeatureSchema) UnmarshalJSON(src []byte) error

func (*NullableCreateFeatureSchema) Unset ¶

func (v *NullableCreateFeatureSchema) Unset()

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 NullableCreateInvitedUserSchema ¶

type NullableCreateInvitedUserSchema struct {
	// contains filtered or unexported fields
}

func (NullableCreateInvitedUserSchema) Get ¶

func (NullableCreateInvitedUserSchema) IsSet ¶

func (NullableCreateInvitedUserSchema) MarshalJSON ¶

func (v NullableCreateInvitedUserSchema) MarshalJSON() ([]byte, error)

func (*NullableCreateInvitedUserSchema) Set ¶

func (*NullableCreateInvitedUserSchema) UnmarshalJSON ¶

func (v *NullableCreateInvitedUserSchema) UnmarshalJSON(src []byte) error

func (*NullableCreateInvitedUserSchema) Unset ¶

type NullableCreateProjectSchema ¶

type NullableCreateProjectSchema struct {
	// contains filtered or unexported fields
}

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 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 NullableCreateRoleWithPermissionsSchemaPermissionsInner ¶

type NullableCreateRoleWithPermissionsSchemaPermissionsInner struct {
	// contains filtered or unexported fields
}

func (NullableCreateRoleWithPermissionsSchemaPermissionsInner) Get ¶

func (NullableCreateRoleWithPermissionsSchemaPermissionsInner) IsSet ¶

func (NullableCreateRoleWithPermissionsSchemaPermissionsInner) MarshalJSON ¶

func (*NullableCreateRoleWithPermissionsSchemaPermissionsInner) Set ¶

func (*NullableCreateRoleWithPermissionsSchemaPermissionsInner) UnmarshalJSON ¶

func (*NullableCreateRoleWithPermissionsSchemaPermissionsInner) Unset ¶

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 NullableCreateStrategySchema ¶

type NullableCreateStrategySchema struct {
	// contains filtered or unexported fields
}

func (NullableCreateStrategySchema) Get ¶

func (NullableCreateStrategySchema) IsSet ¶

func (NullableCreateStrategySchema) MarshalJSON ¶

func (v NullableCreateStrategySchema) MarshalJSON() ([]byte, error)

func (*NullableCreateStrategySchema) Set ¶

func (*NullableCreateStrategySchema) UnmarshalJSON ¶

func (v *NullableCreateStrategySchema) UnmarshalJSON(src []byte) error

func (*NullableCreateStrategySchema) Unset ¶

func (v *NullableCreateStrategySchema) Unset()

type NullableCreateStrategySchemaParametersInner ¶

type NullableCreateStrategySchemaParametersInner struct {
	// contains filtered or unexported fields
}

func (NullableCreateStrategySchemaParametersInner) Get ¶

func (NullableCreateStrategySchemaParametersInner) IsSet ¶

func (NullableCreateStrategySchemaParametersInner) MarshalJSON ¶

func (*NullableCreateStrategySchemaParametersInner) Set ¶

func (*NullableCreateStrategySchemaParametersInner) UnmarshalJSON ¶

func (v *NullableCreateStrategySchemaParametersInner) UnmarshalJSON(src []byte) error

func (*NullableCreateStrategySchemaParametersInner) 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 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 NullableDateSchema ¶

type NullableDateSchema struct {
	// contains filtered or unexported fields
}

func NewNullableDateSchema ¶

func NewNullableDateSchema(val *DateSchema) *NullableDateSchema

func (NullableDateSchema) Get ¶

func (v NullableDateSchema) Get() *DateSchema

func (NullableDateSchema) IsSet ¶

func (v NullableDateSchema) IsSet() bool

func (NullableDateSchema) MarshalJSON ¶

func (v NullableDateSchema) MarshalJSON() ([]byte, error)

func (*NullableDateSchema) Set ¶

func (v *NullableDateSchema) Set(val *DateSchema)

func (*NullableDateSchema) UnmarshalJSON ¶

func (v *NullableDateSchema) UnmarshalJSON(src []byte) error

func (*NullableDateSchema) Unset ¶

func (v *NullableDateSchema) Unset()

type NullableDeleteRole409Response ¶

type NullableDeleteRole409Response struct {
	// contains filtered or unexported fields
}

func (NullableDeleteRole409Response) Get ¶

func (NullableDeleteRole409Response) IsSet ¶

func (NullableDeleteRole409Response) MarshalJSON ¶

func (v NullableDeleteRole409Response) MarshalJSON() ([]byte, error)

func (*NullableDeleteRole409Response) Set ¶

func (*NullableDeleteRole409Response) UnmarshalJSON ¶

func (v *NullableDeleteRole409Response) UnmarshalJSON(src []byte) error

func (*NullableDeleteRole409Response) Unset ¶

func (v *NullableDeleteRole409Response) Unset()

type NullableEdgeTokenSchema ¶

type NullableEdgeTokenSchema struct {
	// contains filtered or unexported fields
}

func NewNullableEdgeTokenSchema ¶

func NewNullableEdgeTokenSchema(val *EdgeTokenSchema) *NullableEdgeTokenSchema

func (NullableEdgeTokenSchema) Get ¶

func (NullableEdgeTokenSchema) IsSet ¶

func (v NullableEdgeTokenSchema) IsSet() bool

func (NullableEdgeTokenSchema) MarshalJSON ¶

func (v NullableEdgeTokenSchema) MarshalJSON() ([]byte, error)

func (*NullableEdgeTokenSchema) Set ¶

func (*NullableEdgeTokenSchema) UnmarshalJSON ¶

func (v *NullableEdgeTokenSchema) UnmarshalJSON(src []byte) error

func (*NullableEdgeTokenSchema) Unset ¶

func (v *NullableEdgeTokenSchema) Unset()

type NullableEmailSchema ¶

type NullableEmailSchema struct {
	// contains filtered or unexported fields
}

func NewNullableEmailSchema ¶

func NewNullableEmailSchema(val *EmailSchema) *NullableEmailSchema

func (NullableEmailSchema) Get ¶

func (NullableEmailSchema) IsSet ¶

func (v NullableEmailSchema) IsSet() bool

func (NullableEmailSchema) MarshalJSON ¶

func (v NullableEmailSchema) MarshalJSON() ([]byte, error)

func (*NullableEmailSchema) Set ¶

func (v *NullableEmailSchema) Set(val *EmailSchema)

func (*NullableEmailSchema) UnmarshalJSON ¶

func (v *NullableEmailSchema) UnmarshalJSON(src []byte) error

func (*NullableEmailSchema) Unset ¶

func (v *NullableEmailSchema) 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 NullableEventSchema ¶

type NullableEventSchema struct {
	// contains filtered or unexported fields
}

func NewNullableEventSchema ¶

func NewNullableEventSchema(val *EventSchema) *NullableEventSchema

func (NullableEventSchema) Get ¶

func (NullableEventSchema) IsSet ¶

func (v NullableEventSchema) IsSet() bool

func (NullableEventSchema) MarshalJSON ¶

func (v NullableEventSchema) MarshalJSON() ([]byte, error)

func (*NullableEventSchema) Set ¶

func (v *NullableEventSchema) Set(val *EventSchema)

func (*NullableEventSchema) UnmarshalJSON ¶

func (v *NullableEventSchema) UnmarshalJSON(src []byte) error

func (*NullableEventSchema) Unset ¶

func (v *NullableEventSchema) Unset()

type NullableEventSchemaData ¶

type NullableEventSchemaData struct {
	// contains filtered or unexported fields
}

func NewNullableEventSchemaData ¶

func NewNullableEventSchemaData(val *EventSchemaData) *NullableEventSchemaData

func (NullableEventSchemaData) Get ¶

func (NullableEventSchemaData) IsSet ¶

func (v NullableEventSchemaData) IsSet() bool

func (NullableEventSchemaData) MarshalJSON ¶

func (v NullableEventSchemaData) MarshalJSON() ([]byte, error)

func (*NullableEventSchemaData) Set ¶

func (*NullableEventSchemaData) UnmarshalJSON ¶

func (v *NullableEventSchemaData) UnmarshalJSON(src []byte) error

func (*NullableEventSchemaData) Unset ¶

func (v *NullableEventSchemaData) Unset()

type NullableEventSchemaPreData ¶

type NullableEventSchemaPreData struct {
	// contains filtered or unexported fields
}

func NewNullableEventSchemaPreData ¶

func NewNullableEventSchemaPreData(val *EventSchemaPreData) *NullableEventSchemaPreData

func (NullableEventSchemaPreData) Get ¶

func (NullableEventSchemaPreData) IsSet ¶

func (v NullableEventSchemaPreData) IsSet() bool

func (NullableEventSchemaPreData) MarshalJSON ¶

func (v NullableEventSchemaPreData) MarshalJSON() ([]byte, error)

func (*NullableEventSchemaPreData) Set ¶

func (*NullableEventSchemaPreData) UnmarshalJSON ¶

func (v *NullableEventSchemaPreData) UnmarshalJSON(src []byte) error

func (*NullableEventSchemaPreData) Unset ¶

func (v *NullableEventSchemaPreData) Unset()

type NullableEventsSchema ¶

type NullableEventsSchema struct {
	// contains filtered or unexported fields
}

func NewNullableEventsSchema ¶

func NewNullableEventsSchema(val *EventsSchema) *NullableEventsSchema

func (NullableEventsSchema) Get ¶

func (NullableEventsSchema) IsSet ¶

func (v NullableEventsSchema) IsSet() bool

func (NullableEventsSchema) MarshalJSON ¶

func (v NullableEventsSchema) MarshalJSON() ([]byte, error)

func (*NullableEventsSchema) Set ¶

func (v *NullableEventsSchema) Set(val *EventsSchema)

func (*NullableEventsSchema) UnmarshalJSON ¶

func (v *NullableEventsSchema) UnmarshalJSON(src []byte) error

func (*NullableEventsSchema) Unset ¶

func (v *NullableEventsSchema) Unset()

type NullableExportDownloadParameter ¶

type NullableExportDownloadParameter struct {
	// contains filtered or unexported fields
}

func (NullableExportDownloadParameter) Get ¶

func (NullableExportDownloadParameter) IsSet ¶

func (NullableExportDownloadParameter) MarshalJSON ¶

func (v NullableExportDownloadParameter) MarshalJSON() ([]byte, error)

func (*NullableExportDownloadParameter) Set ¶

func (*NullableExportDownloadParameter) UnmarshalJSON ¶

func (v *NullableExportDownloadParameter) UnmarshalJSON(src []byte) error

func (*NullableExportDownloadParameter) Unset ¶

type NullableExportQuerySchema ¶

type NullableExportQuerySchema struct {
	// contains filtered or unexported fields
}

func NewNullableExportQuerySchema ¶

func NewNullableExportQuerySchema(val *ExportQuerySchema) *NullableExportQuerySchema

func (NullableExportQuerySchema) Get ¶

func (NullableExportQuerySchema) IsSet ¶

func (v NullableExportQuerySchema) IsSet() bool

func (NullableExportQuerySchema) MarshalJSON ¶

func (v NullableExportQuerySchema) MarshalJSON() ([]byte, error)

func (*NullableExportQuerySchema) Set ¶

func (*NullableExportQuerySchema) UnmarshalJSON ¶

func (v *NullableExportQuerySchema) UnmarshalJSON(src []byte) error

func (*NullableExportQuerySchema) Unset ¶

func (v *NullableExportQuerySchema) Unset()

type NullableExportResultSchema ¶

type NullableExportResultSchema struct {
	// contains filtered or unexported fields
}

func NewNullableExportResultSchema ¶

func NewNullableExportResultSchema(val *ExportResultSchema) *NullableExportResultSchema

func (NullableExportResultSchema) Get ¶

func (NullableExportResultSchema) IsSet ¶

func (v NullableExportResultSchema) IsSet() bool

func (NullableExportResultSchema) MarshalJSON ¶

func (v NullableExportResultSchema) MarshalJSON() ([]byte, error)

func (*NullableExportResultSchema) Set ¶

func (*NullableExportResultSchema) UnmarshalJSON ¶

func (v *NullableExportResultSchema) UnmarshalJSON(src []byte) error

func (*NullableExportResultSchema) Unset ¶

func (v *NullableExportResultSchema) Unset()

type NullableExportResultSchemaSegmentsInner ¶

type NullableExportResultSchemaSegmentsInner struct {
	// contains filtered or unexported fields
}

func (NullableExportResultSchemaSegmentsInner) Get ¶

func (NullableExportResultSchemaSegmentsInner) IsSet ¶

func (NullableExportResultSchemaSegmentsInner) MarshalJSON ¶

func (v NullableExportResultSchemaSegmentsInner) MarshalJSON() ([]byte, error)

func (*NullableExportResultSchemaSegmentsInner) Set ¶

func (*NullableExportResultSchemaSegmentsInner) UnmarshalJSON ¶

func (v *NullableExportResultSchemaSegmentsInner) UnmarshalJSON(src []byte) error

func (*NullableExportResultSchemaSegmentsInner) Unset ¶

type NullableExportStrategiesParameter ¶

type NullableExportStrategiesParameter struct {
	// contains filtered or unexported fields
}

func (NullableExportStrategiesParameter) Get ¶

func (NullableExportStrategiesParameter) IsSet ¶

func (NullableExportStrategiesParameter) MarshalJSON ¶

func (v NullableExportStrategiesParameter) MarshalJSON() ([]byte, error)

func (*NullableExportStrategiesParameter) Set ¶

func (*NullableExportStrategiesParameter) UnmarshalJSON ¶

func (v *NullableExportStrategiesParameter) UnmarshalJSON(src []byte) error

func (*NullableExportStrategiesParameter) Unset ¶

type NullableFeatureEnvironmentMetricsSchema ¶

type NullableFeatureEnvironmentMetricsSchema struct {
	// contains filtered or unexported fields
}

func (NullableFeatureEnvironmentMetricsSchema) Get ¶

func (NullableFeatureEnvironmentMetricsSchema) IsSet ¶

func (NullableFeatureEnvironmentMetricsSchema) MarshalJSON ¶

func (v NullableFeatureEnvironmentMetricsSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureEnvironmentMetricsSchema) Set ¶

func (*NullableFeatureEnvironmentMetricsSchema) UnmarshalJSON ¶

func (v *NullableFeatureEnvironmentMetricsSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureEnvironmentMetricsSchema) Unset ¶

type NullableFeatureEnvironmentSchema ¶

type NullableFeatureEnvironmentSchema struct {
	// contains filtered or unexported fields
}

func (NullableFeatureEnvironmentSchema) Get ¶

func (NullableFeatureEnvironmentSchema) IsSet ¶

func (NullableFeatureEnvironmentSchema) MarshalJSON ¶

func (v NullableFeatureEnvironmentSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureEnvironmentSchema) Set ¶

func (*NullableFeatureEnvironmentSchema) UnmarshalJSON ¶

func (v *NullableFeatureEnvironmentSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureEnvironmentSchema) Unset ¶

type NullableFeatureEventsSchema ¶

type NullableFeatureEventsSchema struct {
	// contains filtered or unexported fields
}

func (NullableFeatureEventsSchema) Get ¶

func (NullableFeatureEventsSchema) IsSet ¶

func (NullableFeatureEventsSchema) MarshalJSON ¶

func (v NullableFeatureEventsSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureEventsSchema) Set ¶

func (*NullableFeatureEventsSchema) UnmarshalJSON ¶

func (v *NullableFeatureEventsSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureEventsSchema) Unset ¶

func (v *NullableFeatureEventsSchema) Unset()

type NullableFeatureMetricsSchema ¶

type NullableFeatureMetricsSchema struct {
	// contains filtered or unexported fields
}

func (NullableFeatureMetricsSchema) Get ¶

func (NullableFeatureMetricsSchema) IsSet ¶

func (NullableFeatureMetricsSchema) MarshalJSON ¶

func (v NullableFeatureMetricsSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureMetricsSchema) Set ¶

func (*NullableFeatureMetricsSchema) UnmarshalJSON ¶

func (v *NullableFeatureMetricsSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureMetricsSchema) Unset ¶

func (v *NullableFeatureMetricsSchema) Unset()

type NullableFeatureSchema ¶

type NullableFeatureSchema struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureSchema ¶

func NewNullableFeatureSchema(val *FeatureSchema) *NullableFeatureSchema

func (NullableFeatureSchema) Get ¶

func (NullableFeatureSchema) IsSet ¶

func (v NullableFeatureSchema) IsSet() bool

func (NullableFeatureSchema) MarshalJSON ¶

func (v NullableFeatureSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureSchema) Set ¶

func (v *NullableFeatureSchema) Set(val *FeatureSchema)

func (*NullableFeatureSchema) UnmarshalJSON ¶

func (v *NullableFeatureSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureSchema) Unset ¶

func (v *NullableFeatureSchema) 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 NullableFeatureStrategySegmentSchema ¶

type NullableFeatureStrategySegmentSchema struct {
	// contains filtered or unexported fields
}

func (NullableFeatureStrategySegmentSchema) Get ¶

func (NullableFeatureStrategySegmentSchema) IsSet ¶

func (NullableFeatureStrategySegmentSchema) MarshalJSON ¶

func (v NullableFeatureStrategySegmentSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureStrategySegmentSchema) Set ¶

func (*NullableFeatureStrategySegmentSchema) UnmarshalJSON ¶

func (v *NullableFeatureStrategySegmentSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureStrategySegmentSchema) Unset ¶

type NullableFeatureTagSchema ¶

type NullableFeatureTagSchema struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureTagSchema ¶

func NewNullableFeatureTagSchema(val *FeatureTagSchema) *NullableFeatureTagSchema

func (NullableFeatureTagSchema) Get ¶

func (NullableFeatureTagSchema) IsSet ¶

func (v NullableFeatureTagSchema) IsSet() bool

func (NullableFeatureTagSchema) MarshalJSON ¶

func (v NullableFeatureTagSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureTagSchema) Set ¶

func (*NullableFeatureTagSchema) UnmarshalJSON ¶

func (v *NullableFeatureTagSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureTagSchema) Unset ¶

func (v *NullableFeatureTagSchema) Unset()

type NullableFeatureTypeSchema ¶

type NullableFeatureTypeSchema struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureTypeSchema ¶

func NewNullableFeatureTypeSchema(val *FeatureTypeSchema) *NullableFeatureTypeSchema

func (NullableFeatureTypeSchema) Get ¶

func (NullableFeatureTypeSchema) IsSet ¶

func (v NullableFeatureTypeSchema) IsSet() bool

func (NullableFeatureTypeSchema) MarshalJSON ¶

func (v NullableFeatureTypeSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureTypeSchema) Set ¶

func (*NullableFeatureTypeSchema) UnmarshalJSON ¶

func (v *NullableFeatureTypeSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureTypeSchema) Unset ¶

func (v *NullableFeatureTypeSchema) Unset()

type NullableFeatureTypesSchema ¶

type NullableFeatureTypesSchema struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureTypesSchema ¶

func NewNullableFeatureTypesSchema(val *FeatureTypesSchema) *NullableFeatureTypesSchema

func (NullableFeatureTypesSchema) Get ¶

func (NullableFeatureTypesSchema) IsSet ¶

func (v NullableFeatureTypesSchema) IsSet() bool

func (NullableFeatureTypesSchema) MarshalJSON ¶

func (v NullableFeatureTypesSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureTypesSchema) Set ¶

func (*NullableFeatureTypesSchema) UnmarshalJSON ¶

func (v *NullableFeatureTypesSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureTypesSchema) Unset ¶

func (v *NullableFeatureTypesSchema) Unset()

type NullableFeatureUsageSchema ¶

type NullableFeatureUsageSchema struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureUsageSchema ¶

func NewNullableFeatureUsageSchema(val *FeatureUsageSchema) *NullableFeatureUsageSchema

func (NullableFeatureUsageSchema) Get ¶

func (NullableFeatureUsageSchema) IsSet ¶

func (v NullableFeatureUsageSchema) IsSet() bool

func (NullableFeatureUsageSchema) MarshalJSON ¶

func (v NullableFeatureUsageSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureUsageSchema) Set ¶

func (*NullableFeatureUsageSchema) UnmarshalJSON ¶

func (v *NullableFeatureUsageSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureUsageSchema) Unset ¶

func (v *NullableFeatureUsageSchema) Unset()

type NullableFeatureVariantsSchema ¶

type NullableFeatureVariantsSchema struct {
	// contains filtered or unexported fields
}

func (NullableFeatureVariantsSchema) Get ¶

func (NullableFeatureVariantsSchema) IsSet ¶

func (NullableFeatureVariantsSchema) MarshalJSON ¶

func (v NullableFeatureVariantsSchema) MarshalJSON() ([]byte, error)

func (*NullableFeatureVariantsSchema) Set ¶

func (*NullableFeatureVariantsSchema) UnmarshalJSON ¶

func (v *NullableFeatureVariantsSchema) UnmarshalJSON(src []byte) error

func (*NullableFeatureVariantsSchema) Unset ¶

func (v *NullableFeatureVariantsSchema) Unset()

type NullableFeaturesSchema ¶

type NullableFeaturesSchema struct {
	// contains filtered or unexported fields
}

func NewNullableFeaturesSchema ¶

func NewNullableFeaturesSchema(val *FeaturesSchema) *NullableFeaturesSchema

func (NullableFeaturesSchema) Get ¶

func (NullableFeaturesSchema) IsSet ¶

func (v NullableFeaturesSchema) IsSet() bool

func (NullableFeaturesSchema) MarshalJSON ¶

func (v NullableFeaturesSchema) MarshalJSON() ([]byte, error)

func (*NullableFeaturesSchema) Set ¶

func (*NullableFeaturesSchema) UnmarshalJSON ¶

func (v *NullableFeaturesSchema) UnmarshalJSON(src []byte) error

func (*NullableFeaturesSchema) Unset ¶

func (v *NullableFeaturesSchema) Unset()

type NullableFeedbackCreateSchema ¶

type NullableFeedbackCreateSchema struct {
	// contains filtered or unexported fields
}

func (NullableFeedbackCreateSchema) Get ¶

func (NullableFeedbackCreateSchema) IsSet ¶

func (NullableFeedbackCreateSchema) MarshalJSON ¶

func (v NullableFeedbackCreateSchema) MarshalJSON() ([]byte, error)

func (*NullableFeedbackCreateSchema) Set ¶

func (*NullableFeedbackCreateSchema) UnmarshalJSON ¶

func (v *NullableFeedbackCreateSchema) UnmarshalJSON(src []byte) error

func (*NullableFeedbackCreateSchema) Unset ¶

func (v *NullableFeedbackCreateSchema) Unset()

type NullableFeedbackResponseSchema ¶

type NullableFeedbackResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullableFeedbackResponseSchema) Get ¶

func (NullableFeedbackResponseSchema) IsSet ¶

func (NullableFeedbackResponseSchema) MarshalJSON ¶

func (v NullableFeedbackResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableFeedbackResponseSchema) Set ¶

func (*NullableFeedbackResponseSchema) UnmarshalJSON ¶

func (v *NullableFeedbackResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableFeedbackResponseSchema) Unset ¶

func (v *NullableFeedbackResponseSchema) Unset()

type NullableFeedbackSchema ¶

type NullableFeedbackSchema struct {
	// contains filtered or unexported fields
}

func NewNullableFeedbackSchema ¶

func NewNullableFeedbackSchema(val *FeedbackSchema) *NullableFeedbackSchema

func (NullableFeedbackSchema) Get ¶

func (NullableFeedbackSchema) IsSet ¶

func (v NullableFeedbackSchema) IsSet() bool

func (NullableFeedbackSchema) MarshalJSON ¶

func (v NullableFeedbackSchema) MarshalJSON() ([]byte, error)

func (*NullableFeedbackSchema) Set ¶

func (*NullableFeedbackSchema) UnmarshalJSON ¶

func (v *NullableFeedbackSchema) UnmarshalJSON(src []byte) error

func (*NullableFeedbackSchema) Unset ¶

func (v *NullableFeedbackSchema) Unset()

type NullableFeedbackUpdateSchema ¶

type NullableFeedbackUpdateSchema struct {
	// contains filtered or unexported fields
}

func (NullableFeedbackUpdateSchema) Get ¶

func (NullableFeedbackUpdateSchema) IsSet ¶

func (NullableFeedbackUpdateSchema) MarshalJSON ¶

func (v NullableFeedbackUpdateSchema) MarshalJSON() ([]byte, error)

func (*NullableFeedbackUpdateSchema) Set ¶

func (*NullableFeedbackUpdateSchema) UnmarshalJSON ¶

func (v *NullableFeedbackUpdateSchema) UnmarshalJSON(src []byte) error

func (*NullableFeedbackUpdateSchema) Unset ¶

func (v *NullableFeedbackUpdateSchema) 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 NullableGetEnvironment404Response ¶

type NullableGetEnvironment404Response struct {
	// contains filtered or unexported fields
}

func (NullableGetEnvironment404Response) Get ¶

func (NullableGetEnvironment404Response) IsSet ¶

func (NullableGetEnvironment404Response) MarshalJSON ¶

func (v NullableGetEnvironment404Response) MarshalJSON() ([]byte, error)

func (*NullableGetEnvironment404Response) Set ¶

func (*NullableGetEnvironment404Response) UnmarshalJSON ¶

func (v *NullableGetEnvironment404Response) UnmarshalJSON(src []byte) error

func (*NullableGetEnvironment404Response) Unset ¶

type NullableGetGoogleSettings400Response ¶

type NullableGetGoogleSettings400Response struct {
	// contains filtered or unexported fields
}

func (NullableGetGoogleSettings400Response) Get ¶

func (NullableGetGoogleSettings400Response) IsSet ¶

func (NullableGetGoogleSettings400Response) MarshalJSON ¶

func (v NullableGetGoogleSettings400Response) MarshalJSON() ([]byte, error)

func (*NullableGetGoogleSettings400Response) Set ¶

func (*NullableGetGoogleSettings400Response) UnmarshalJSON ¶

func (v *NullableGetGoogleSettings400Response) UnmarshalJSON(src []byte) error

func (*NullableGetGoogleSettings400Response) Unset ¶

type NullableGetGoogleSettings403Response ¶

type NullableGetGoogleSettings403Response struct {
	// contains filtered or unexported fields
}

func (NullableGetGoogleSettings403Response) Get ¶

func (NullableGetGoogleSettings403Response) IsSet ¶

func (NullableGetGoogleSettings403Response) MarshalJSON ¶

func (v NullableGetGoogleSettings403Response) MarshalJSON() ([]byte, error)

func (*NullableGetGoogleSettings403Response) Set ¶

func (*NullableGetGoogleSettings403Response) UnmarshalJSON ¶

func (v *NullableGetGoogleSettings403Response) UnmarshalJSON(src []byte) error

func (*NullableGetGoogleSettings403Response) Unset ¶

type NullableGoogleSettingsSchema ¶

type NullableGoogleSettingsSchema struct {
	// contains filtered or unexported fields
}

func (NullableGoogleSettingsSchema) Get ¶

func (NullableGoogleSettingsSchema) IsSet ¶

func (NullableGoogleSettingsSchema) MarshalJSON ¶

func (v NullableGoogleSettingsSchema) MarshalJSON() ([]byte, error)

func (*NullableGoogleSettingsSchema) Set ¶

func (*NullableGoogleSettingsSchema) UnmarshalJSON ¶

func (v *NullableGoogleSettingsSchema) UnmarshalJSON(src []byte) error

func (*NullableGoogleSettingsSchema) Unset ¶

func (v *NullableGoogleSettingsSchema) 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 (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 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 NullableHealthCheckSchema ¶

type NullableHealthCheckSchema struct {
	// contains filtered or unexported fields
}

func NewNullableHealthCheckSchema ¶

func NewNullableHealthCheckSchema(val *HealthCheckSchema) *NullableHealthCheckSchema

func (NullableHealthCheckSchema) Get ¶

func (NullableHealthCheckSchema) IsSet ¶

func (v NullableHealthCheckSchema) IsSet() bool

func (NullableHealthCheckSchema) MarshalJSON ¶

func (v NullableHealthCheckSchema) MarshalJSON() ([]byte, error)

func (*NullableHealthCheckSchema) Set ¶

func (*NullableHealthCheckSchema) UnmarshalJSON ¶

func (v *NullableHealthCheckSchema) UnmarshalJSON(src []byte) error

func (*NullableHealthCheckSchema) Unset ¶

func (v *NullableHealthCheckSchema) Unset()

type NullableHealthOverviewSchema ¶

type NullableHealthOverviewSchema struct {
	// contains filtered or unexported fields
}

func (NullableHealthOverviewSchema) Get ¶

func (NullableHealthOverviewSchema) IsSet ¶

func (NullableHealthOverviewSchema) MarshalJSON ¶

func (v NullableHealthOverviewSchema) MarshalJSON() ([]byte, error)

func (*NullableHealthOverviewSchema) Set ¶

func (*NullableHealthOverviewSchema) UnmarshalJSON ¶

func (v *NullableHealthOverviewSchema) UnmarshalJSON(src []byte) error

func (*NullableHealthOverviewSchema) Unset ¶

func (v *NullableHealthOverviewSchema) Unset()

type NullableHealthReportSchema ¶

type NullableHealthReportSchema struct {
	// contains filtered or unexported fields
}

func NewNullableHealthReportSchema ¶

func NewNullableHealthReportSchema(val *HealthReportSchema) *NullableHealthReportSchema

func (NullableHealthReportSchema) Get ¶

func (NullableHealthReportSchema) IsSet ¶

func (v NullableHealthReportSchema) IsSet() bool

func (NullableHealthReportSchema) MarshalJSON ¶

func (v NullableHealthReportSchema) MarshalJSON() ([]byte, error)

func (*NullableHealthReportSchema) Set ¶

func (*NullableHealthReportSchema) UnmarshalJSON ¶

func (v *NullableHealthReportSchema) UnmarshalJSON(src []byte) error

func (*NullableHealthReportSchema) Unset ¶

func (v *NullableHealthReportSchema) Unset()

type NullableIdSchema ¶

type NullableIdSchema struct {
	// contains filtered or unexported fields
}

func NewNullableIdSchema ¶

func NewNullableIdSchema(val *IdSchema) *NullableIdSchema

func (NullableIdSchema) Get ¶

func (v NullableIdSchema) Get() *IdSchema

func (NullableIdSchema) IsSet ¶

func (v NullableIdSchema) IsSet() bool

func (NullableIdSchema) MarshalJSON ¶

func (v NullableIdSchema) MarshalJSON() ([]byte, error)

func (*NullableIdSchema) Set ¶

func (v *NullableIdSchema) Set(val *IdSchema)

func (*NullableIdSchema) UnmarshalJSON ¶

func (v *NullableIdSchema) UnmarshalJSON(src []byte) error

func (*NullableIdSchema) Unset ¶

func (v *NullableIdSchema) Unset()

type NullableImportTogglesSchema ¶

type NullableImportTogglesSchema struct {
	// contains filtered or unexported fields
}

func (NullableImportTogglesSchema) Get ¶

func (NullableImportTogglesSchema) IsSet ¶

func (NullableImportTogglesSchema) MarshalJSON ¶

func (v NullableImportTogglesSchema) MarshalJSON() ([]byte, error)

func (*NullableImportTogglesSchema) Set ¶

func (*NullableImportTogglesSchema) UnmarshalJSON ¶

func (v *NullableImportTogglesSchema) UnmarshalJSON(src []byte) error

func (*NullableImportTogglesSchema) Unset ¶

func (v *NullableImportTogglesSchema) Unset()

type NullableImportTogglesValidateItemSchema ¶

type NullableImportTogglesValidateItemSchema struct {
	// contains filtered or unexported fields
}

func (NullableImportTogglesValidateItemSchema) Get ¶

func (NullableImportTogglesValidateItemSchema) IsSet ¶

func (NullableImportTogglesValidateItemSchema) MarshalJSON ¶

func (v NullableImportTogglesValidateItemSchema) MarshalJSON() ([]byte, error)

func (*NullableImportTogglesValidateItemSchema) Set ¶

func (*NullableImportTogglesValidateItemSchema) UnmarshalJSON ¶

func (v *NullableImportTogglesValidateItemSchema) UnmarshalJSON(src []byte) error

func (*NullableImportTogglesValidateItemSchema) Unset ¶

type NullableImportTogglesValidateSchema ¶

type NullableImportTogglesValidateSchema struct {
	// contains filtered or unexported fields
}

func (NullableImportTogglesValidateSchema) Get ¶

func (NullableImportTogglesValidateSchema) IsSet ¶

func (NullableImportTogglesValidateSchema) MarshalJSON ¶

func (v NullableImportTogglesValidateSchema) MarshalJSON() ([]byte, error)

func (*NullableImportTogglesValidateSchema) Set ¶

func (*NullableImportTogglesValidateSchema) UnmarshalJSON ¶

func (v *NullableImportTogglesValidateSchema) UnmarshalJSON(src []byte) error

func (*NullableImportTogglesValidateSchema) Unset ¶

type NullableInstanceAdminStatsSchema ¶

type NullableInstanceAdminStatsSchema struct {
	// contains filtered or unexported fields
}

func (NullableInstanceAdminStatsSchema) Get ¶

func (NullableInstanceAdminStatsSchema) IsSet ¶

func (NullableInstanceAdminStatsSchema) MarshalJSON ¶

func (v NullableInstanceAdminStatsSchema) MarshalJSON() ([]byte, error)

func (*NullableInstanceAdminStatsSchema) Set ¶

func (*NullableInstanceAdminStatsSchema) UnmarshalJSON ¶

func (v *NullableInstanceAdminStatsSchema) UnmarshalJSON(src []byte) error

func (*NullableInstanceAdminStatsSchema) Unset ¶

type NullableInstanceAdminStatsSchemaClientAppsInner ¶

type NullableInstanceAdminStatsSchemaClientAppsInner struct {
	// contains filtered or unexported fields
}

func (NullableInstanceAdminStatsSchemaClientAppsInner) Get ¶

func (NullableInstanceAdminStatsSchemaClientAppsInner) IsSet ¶

func (NullableInstanceAdminStatsSchemaClientAppsInner) MarshalJSON ¶

func (*NullableInstanceAdminStatsSchemaClientAppsInner) Set ¶

func (*NullableInstanceAdminStatsSchemaClientAppsInner) UnmarshalJSON ¶

func (*NullableInstanceAdminStatsSchemaClientAppsInner) 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 NullableInvoicesSchemaInner ¶

type NullableInvoicesSchemaInner struct {
	// contains filtered or unexported fields
}

func (NullableInvoicesSchemaInner) Get ¶

func (NullableInvoicesSchemaInner) IsSet ¶

func (NullableInvoicesSchemaInner) MarshalJSON ¶

func (v NullableInvoicesSchemaInner) MarshalJSON() ([]byte, error)

func (*NullableInvoicesSchemaInner) Set ¶

func (*NullableInvoicesSchemaInner) UnmarshalJSON ¶

func (v *NullableInvoicesSchemaInner) UnmarshalJSON(src []byte) error

func (*NullableInvoicesSchemaInner) Unset ¶

func (v *NullableInvoicesSchemaInner) 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 NullableListTags401Response ¶

type NullableListTags401Response struct {
	// contains filtered or unexported fields
}

func (NullableListTags401Response) Get ¶

func (NullableListTags401Response) IsSet ¶

func (NullableListTags401Response) MarshalJSON ¶

func (v NullableListTags401Response) MarshalJSON() ([]byte, error)

func (*NullableListTags401Response) Set ¶

func (*NullableListTags401Response) UnmarshalJSON ¶

func (v *NullableListTags401Response) UnmarshalJSON(src []byte) error

func (*NullableListTags401Response) Unset ¶

func (v *NullableListTags401Response) Unset()

type NullableListTags403Response ¶

type NullableListTags403Response struct {
	// contains filtered or unexported fields
}

func (NullableListTags403Response) Get ¶

func (NullableListTags403Response) IsSet ¶

func (NullableListTags403Response) MarshalJSON ¶

func (v NullableListTags403Response) MarshalJSON() ([]byte, error)

func (*NullableListTags403Response) Set ¶

func (*NullableListTags403Response) UnmarshalJSON ¶

func (v *NullableListTags403Response) UnmarshalJSON(src []byte) error

func (*NullableListTags403Response) Unset ¶

func (v *NullableListTags403Response) Unset()

type NullableListTags404Response ¶

type NullableListTags404Response struct {
	// contains filtered or unexported fields
}

func (NullableListTags404Response) Get ¶

func (NullableListTags404Response) IsSet ¶

func (NullableListTags404Response) MarshalJSON ¶

func (v NullableListTags404Response) MarshalJSON() ([]byte, error)

func (*NullableListTags404Response) Set ¶

func (*NullableListTags404Response) UnmarshalJSON ¶

func (v *NullableListTags404Response) UnmarshalJSON(src []byte) error

func (*NullableListTags404Response) Unset ¶

func (v *NullableListTags404Response) Unset()

type NullableLogin401Response ¶

type NullableLogin401Response struct {
	// contains filtered or unexported fields
}

func NewNullableLogin401Response ¶

func NewNullableLogin401Response(val *Login401Response) *NullableLogin401Response

func (NullableLogin401Response) Get ¶

func (NullableLogin401Response) IsSet ¶

func (v NullableLogin401Response) IsSet() bool

func (NullableLogin401Response) MarshalJSON ¶

func (v NullableLogin401Response) MarshalJSON() ([]byte, error)

func (*NullableLogin401Response) Set ¶

func (*NullableLogin401Response) UnmarshalJSON ¶

func (v *NullableLogin401Response) UnmarshalJSON(src []byte) error

func (*NullableLogin401Response) Unset ¶

func (v *NullableLogin401Response) Unset()

type NullableLoginEventSchema ¶

type NullableLoginEventSchema struct {
	// contains filtered or unexported fields
}

func NewNullableLoginEventSchema ¶

func NewNullableLoginEventSchema(val *LoginEventSchema) *NullableLoginEventSchema

func (NullableLoginEventSchema) Get ¶

func (NullableLoginEventSchema) IsSet ¶

func (v NullableLoginEventSchema) IsSet() bool

func (NullableLoginEventSchema) MarshalJSON ¶

func (v NullableLoginEventSchema) MarshalJSON() ([]byte, error)

func (*NullableLoginEventSchema) Set ¶

func (*NullableLoginEventSchema) UnmarshalJSON ¶

func (v *NullableLoginEventSchema) UnmarshalJSON(src []byte) error

func (*NullableLoginEventSchema) Unset ¶

func (v *NullableLoginEventSchema) Unset()

type NullableLoginHistorySchema ¶

type NullableLoginHistorySchema struct {
	// contains filtered or unexported fields
}

func NewNullableLoginHistorySchema ¶

func NewNullableLoginHistorySchema(val *LoginHistorySchema) *NullableLoginHistorySchema

func (NullableLoginHistorySchema) Get ¶

func (NullableLoginHistorySchema) IsSet ¶

func (v NullableLoginHistorySchema) IsSet() bool

func (NullableLoginHistorySchema) MarshalJSON ¶

func (v NullableLoginHistorySchema) MarshalJSON() ([]byte, error)

func (*NullableLoginHistorySchema) Set ¶

func (*NullableLoginHistorySchema) UnmarshalJSON ¶

func (v *NullableLoginHistorySchema) UnmarshalJSON(src []byte) error

func (*NullableLoginHistorySchema) Unset ¶

func (v *NullableLoginHistorySchema) Unset()

type NullableLoginSchema ¶

type NullableLoginSchema struct {
	// contains filtered or unexported fields
}

func NewNullableLoginSchema ¶

func NewNullableLoginSchema(val *LoginSchema) *NullableLoginSchema

func (NullableLoginSchema) Get ¶

func (NullableLoginSchema) IsSet ¶

func (v NullableLoginSchema) IsSet() bool

func (NullableLoginSchema) MarshalJSON ¶

func (v NullableLoginSchema) MarshalJSON() ([]byte, error)

func (*NullableLoginSchema) Set ¶

func (v *NullableLoginSchema) Set(val *LoginSchema)

func (*NullableLoginSchema) UnmarshalJSON ¶

func (v *NullableLoginSchema) UnmarshalJSON(src []byte) error

func (*NullableLoginSchema) Unset ¶

func (v *NullableLoginSchema) Unset()

type NullableMaintenanceSchema ¶

type NullableMaintenanceSchema struct {
	// contains filtered or unexported fields
}

func NewNullableMaintenanceSchema ¶

func NewNullableMaintenanceSchema(val *MaintenanceSchema) *NullableMaintenanceSchema

func (NullableMaintenanceSchema) Get ¶

func (NullableMaintenanceSchema) IsSet ¶

func (v NullableMaintenanceSchema) IsSet() bool

func (NullableMaintenanceSchema) MarshalJSON ¶

func (v NullableMaintenanceSchema) MarshalJSON() ([]byte, error)

func (*NullableMaintenanceSchema) Set ¶

func (*NullableMaintenanceSchema) UnmarshalJSON ¶

func (v *NullableMaintenanceSchema) UnmarshalJSON(src []byte) error

func (*NullableMaintenanceSchema) Unset ¶

func (v *NullableMaintenanceSchema) Unset()

type NullableMarkNotificationsAsReadSchema ¶

type NullableMarkNotificationsAsReadSchema struct {
	// contains filtered or unexported fields
}

func (NullableMarkNotificationsAsReadSchema) Get ¶

func (NullableMarkNotificationsAsReadSchema) IsSet ¶

func (NullableMarkNotificationsAsReadSchema) MarshalJSON ¶

func (v NullableMarkNotificationsAsReadSchema) MarshalJSON() ([]byte, error)

func (*NullableMarkNotificationsAsReadSchema) Set ¶

func (*NullableMarkNotificationsAsReadSchema) UnmarshalJSON ¶

func (v *NullableMarkNotificationsAsReadSchema) UnmarshalJSON(src []byte) error

func (*NullableMarkNotificationsAsReadSchema) Unset ¶

type NullableMeSchema ¶

type NullableMeSchema struct {
	// contains filtered or unexported fields
}

func NewNullableMeSchema ¶

func NewNullableMeSchema(val *MeSchema) *NullableMeSchema

func (NullableMeSchema) Get ¶

func (v NullableMeSchema) Get() *MeSchema

func (NullableMeSchema) IsSet ¶

func (v NullableMeSchema) IsSet() bool

func (NullableMeSchema) MarshalJSON ¶

func (v NullableMeSchema) MarshalJSON() ([]byte, error)

func (*NullableMeSchema) Set ¶

func (v *NullableMeSchema) Set(val *MeSchema)

func (*NullableMeSchema) UnmarshalJSON ¶

func (v *NullableMeSchema) UnmarshalJSON(src []byte) error

func (*NullableMeSchema) Unset ¶

func (v *NullableMeSchema) Unset()

type NullableNameSchema ¶

type NullableNameSchema struct {
	// contains filtered or unexported fields
}

func NewNullableNameSchema ¶

func NewNullableNameSchema(val *NameSchema) *NullableNameSchema

func (NullableNameSchema) Get ¶

func (v NullableNameSchema) Get() *NameSchema

func (NullableNameSchema) IsSet ¶

func (v NullableNameSchema) IsSet() bool

func (NullableNameSchema) MarshalJSON ¶

func (v NullableNameSchema) MarshalJSON() ([]byte, error)

func (*NullableNameSchema) Set ¶

func (v *NullableNameSchema) Set(val *NameSchema)

func (*NullableNameSchema) UnmarshalJSON ¶

func (v *NullableNameSchema) UnmarshalJSON(src []byte) error

func (*NullableNameSchema) Unset ¶

func (v *NullableNameSchema) Unset()

type NullableNotificationsSchemaInner ¶

type NullableNotificationsSchemaInner struct {
	// contains filtered or unexported fields
}

func (NullableNotificationsSchemaInner) Get ¶

func (NullableNotificationsSchemaInner) IsSet ¶

func (NullableNotificationsSchemaInner) MarshalJSON ¶

func (v NullableNotificationsSchemaInner) MarshalJSON() ([]byte, error)

func (*NullableNotificationsSchemaInner) Set ¶

func (*NullableNotificationsSchemaInner) UnmarshalJSON ¶

func (v *NullableNotificationsSchemaInner) UnmarshalJSON(src []byte) error

func (*NullableNotificationsSchemaInner) Unset ¶

type NullableNotificationsSchemaInnerCreatedBy ¶

type NullableNotificationsSchemaInnerCreatedBy struct {
	// contains filtered or unexported fields
}

func (NullableNotificationsSchemaInnerCreatedBy) Get ¶

func (NullableNotificationsSchemaInnerCreatedBy) IsSet ¶

func (NullableNotificationsSchemaInnerCreatedBy) MarshalJSON ¶

func (*NullableNotificationsSchemaInnerCreatedBy) Set ¶

func (*NullableNotificationsSchemaInnerCreatedBy) UnmarshalJSON ¶

func (v *NullableNotificationsSchemaInnerCreatedBy) UnmarshalJSON(src []byte) error

func (*NullableNotificationsSchemaInnerCreatedBy) Unset ¶

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 NullableOverrideSchema ¶

type NullableOverrideSchema struct {
	// contains filtered or unexported fields
}

func NewNullableOverrideSchema ¶

func NewNullableOverrideSchema(val *OverrideSchema) *NullableOverrideSchema

func (NullableOverrideSchema) Get ¶

func (NullableOverrideSchema) IsSet ¶

func (v NullableOverrideSchema) IsSet() bool

func (NullableOverrideSchema) MarshalJSON ¶

func (v NullableOverrideSchema) MarshalJSON() ([]byte, error)

func (*NullableOverrideSchema) Set ¶

func (*NullableOverrideSchema) UnmarshalJSON ¶

func (v *NullableOverrideSchema) UnmarshalJSON(src []byte) error

func (*NullableOverrideSchema) Unset ¶

func (v *NullableOverrideSchema) Unset()

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 NullablePasswordSchema ¶

type NullablePasswordSchema struct {
	// contains filtered or unexported fields
}

func NewNullablePasswordSchema ¶

func NewNullablePasswordSchema(val *PasswordSchema) *NullablePasswordSchema

func (NullablePasswordSchema) Get ¶

func (NullablePasswordSchema) IsSet ¶

func (v NullablePasswordSchema) IsSet() bool

func (NullablePasswordSchema) MarshalJSON ¶

func (v NullablePasswordSchema) MarshalJSON() ([]byte, error)

func (*NullablePasswordSchema) Set ¶

func (*NullablePasswordSchema) UnmarshalJSON ¶

func (v *NullablePasswordSchema) UnmarshalJSON(src []byte) error

func (*NullablePasswordSchema) Unset ¶

func (v *NullablePasswordSchema) 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 NullablePatchSchema ¶

type NullablePatchSchema struct {
	// contains filtered or unexported fields
}

func NewNullablePatchSchema ¶

func NewNullablePatchSchema(val *PatchSchema) *NullablePatchSchema

func (NullablePatchSchema) Get ¶

func (NullablePatchSchema) IsSet ¶

func (v NullablePatchSchema) IsSet() bool

func (NullablePatchSchema) MarshalJSON ¶

func (v NullablePatchSchema) MarshalJSON() ([]byte, error)

func (*NullablePatchSchema) Set ¶

func (v *NullablePatchSchema) Set(val *PatchSchema)

func (*NullablePatchSchema) UnmarshalJSON ¶

func (v *NullablePatchSchema) UnmarshalJSON(src []byte) error

func (*NullablePatchSchema) Unset ¶

func (v *NullablePatchSchema) 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 NullablePermissionSchema ¶

type NullablePermissionSchema struct {
	// contains filtered or unexported fields
}

func NewNullablePermissionSchema ¶

func NewNullablePermissionSchema(val *PermissionSchema) *NullablePermissionSchema

func (NullablePermissionSchema) Get ¶

func (NullablePermissionSchema) IsSet ¶

func (v NullablePermissionSchema) IsSet() bool

func (NullablePermissionSchema) MarshalJSON ¶

func (v NullablePermissionSchema) MarshalJSON() ([]byte, error)

func (*NullablePermissionSchema) Set ¶

func (*NullablePermissionSchema) UnmarshalJSON ¶

func (v *NullablePermissionSchema) UnmarshalJSON(src []byte) error

func (*NullablePermissionSchema) Unset ¶

func (v *NullablePermissionSchema) Unset()

type NullablePlaygroundConstraintSchema ¶

type NullablePlaygroundConstraintSchema struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundConstraintSchema) Get ¶

func (NullablePlaygroundConstraintSchema) IsSet ¶

func (NullablePlaygroundConstraintSchema) MarshalJSON ¶

func (v NullablePlaygroundConstraintSchema) MarshalJSON() ([]byte, error)

func (*NullablePlaygroundConstraintSchema) Set ¶

func (*NullablePlaygroundConstraintSchema) UnmarshalJSON ¶

func (v *NullablePlaygroundConstraintSchema) UnmarshalJSON(src []byte) error

func (*NullablePlaygroundConstraintSchema) Unset ¶

type NullablePlaygroundFeatureSchema ¶

type NullablePlaygroundFeatureSchema struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundFeatureSchema) Get ¶

func (NullablePlaygroundFeatureSchema) IsSet ¶

func (NullablePlaygroundFeatureSchema) MarshalJSON ¶

func (v NullablePlaygroundFeatureSchema) MarshalJSON() ([]byte, error)

func (*NullablePlaygroundFeatureSchema) Set ¶

func (*NullablePlaygroundFeatureSchema) UnmarshalJSON ¶

func (v *NullablePlaygroundFeatureSchema) UnmarshalJSON(src []byte) error

func (*NullablePlaygroundFeatureSchema) Unset ¶

type NullablePlaygroundFeatureSchemaStrategies ¶

type NullablePlaygroundFeatureSchemaStrategies struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundFeatureSchemaStrategies) Get ¶

func (NullablePlaygroundFeatureSchemaStrategies) IsSet ¶

func (NullablePlaygroundFeatureSchemaStrategies) MarshalJSON ¶

func (*NullablePlaygroundFeatureSchemaStrategies) Set ¶

func (*NullablePlaygroundFeatureSchemaStrategies) UnmarshalJSON ¶

func (v *NullablePlaygroundFeatureSchemaStrategies) UnmarshalJSON(src []byte) error

func (*NullablePlaygroundFeatureSchemaStrategies) Unset ¶

type NullablePlaygroundRequestSchema ¶

type NullablePlaygroundRequestSchema struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundRequestSchema) Get ¶

func (NullablePlaygroundRequestSchema) IsSet ¶

func (NullablePlaygroundRequestSchema) MarshalJSON ¶

func (v NullablePlaygroundRequestSchema) MarshalJSON() ([]byte, error)

func (*NullablePlaygroundRequestSchema) Set ¶

func (*NullablePlaygroundRequestSchema) UnmarshalJSON ¶

func (v *NullablePlaygroundRequestSchema) UnmarshalJSON(src []byte) error

func (*NullablePlaygroundRequestSchema) Unset ¶

type NullablePlaygroundResponseSchema ¶

type NullablePlaygroundResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundResponseSchema) Get ¶

func (NullablePlaygroundResponseSchema) IsSet ¶

func (NullablePlaygroundResponseSchema) MarshalJSON ¶

func (v NullablePlaygroundResponseSchema) MarshalJSON() ([]byte, error)

func (*NullablePlaygroundResponseSchema) Set ¶

func (*NullablePlaygroundResponseSchema) UnmarshalJSON ¶

func (v *NullablePlaygroundResponseSchema) UnmarshalJSON(src []byte) error

func (*NullablePlaygroundResponseSchema) Unset ¶

type NullablePlaygroundSegmentSchema ¶

type NullablePlaygroundSegmentSchema struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundSegmentSchema) Get ¶

func (NullablePlaygroundSegmentSchema) IsSet ¶

func (NullablePlaygroundSegmentSchema) MarshalJSON ¶

func (v NullablePlaygroundSegmentSchema) MarshalJSON() ([]byte, error)

func (*NullablePlaygroundSegmentSchema) Set ¶

func (*NullablePlaygroundSegmentSchema) UnmarshalJSON ¶

func (v *NullablePlaygroundSegmentSchema) UnmarshalJSON(src []byte) error

func (*NullablePlaygroundSegmentSchema) Unset ¶

type NullablePlaygroundStrategySchema ¶

type NullablePlaygroundStrategySchema struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundStrategySchema) Get ¶

func (NullablePlaygroundStrategySchema) IsSet ¶

func (NullablePlaygroundStrategySchema) MarshalJSON ¶

func (v NullablePlaygroundStrategySchema) MarshalJSON() ([]byte, error)

func (*NullablePlaygroundStrategySchema) Set ¶

func (*NullablePlaygroundStrategySchema) UnmarshalJSON ¶

func (v *NullablePlaygroundStrategySchema) UnmarshalJSON(src []byte) error

func (*NullablePlaygroundStrategySchema) Unset ¶

type NullablePlaygroundStrategySchemaLinks struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundStrategySchemaLinks) Get ¶

func (NullablePlaygroundStrategySchemaLinks) IsSet ¶

func (NullablePlaygroundStrategySchemaLinks) MarshalJSON ¶

func (v NullablePlaygroundStrategySchemaLinks) MarshalJSON() ([]byte, error)

func (*NullablePlaygroundStrategySchemaLinks) Set ¶

func (*NullablePlaygroundStrategySchemaLinks) UnmarshalJSON ¶

func (v *NullablePlaygroundStrategySchemaLinks) UnmarshalJSON(src []byte) error

func (*NullablePlaygroundStrategySchemaLinks) Unset ¶

type NullablePlaygroundStrategySchemaResult ¶

type NullablePlaygroundStrategySchemaResult struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundStrategySchemaResult) Get ¶

func (NullablePlaygroundStrategySchemaResult) IsSet ¶

func (NullablePlaygroundStrategySchemaResult) MarshalJSON ¶

func (v NullablePlaygroundStrategySchemaResult) MarshalJSON() ([]byte, error)

func (*NullablePlaygroundStrategySchemaResult) Set ¶

func (*NullablePlaygroundStrategySchemaResult) UnmarshalJSON ¶

func (v *NullablePlaygroundStrategySchemaResult) UnmarshalJSON(src []byte) error

func (*NullablePlaygroundStrategySchemaResult) Unset ¶

type NullablePlaygroundStrategySchemaResultAnyOf ¶

type NullablePlaygroundStrategySchemaResultAnyOf struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundStrategySchemaResultAnyOf) Get ¶

func (NullablePlaygroundStrategySchemaResultAnyOf) IsSet ¶

func (NullablePlaygroundStrategySchemaResultAnyOf) MarshalJSON ¶

func (*NullablePlaygroundStrategySchemaResultAnyOf) Set ¶

func (*NullablePlaygroundStrategySchemaResultAnyOf) UnmarshalJSON ¶

func (v *NullablePlaygroundStrategySchemaResultAnyOf) UnmarshalJSON(src []byte) error

func (*NullablePlaygroundStrategySchemaResultAnyOf) Unset ¶

type NullablePlaygroundStrategySchemaResultAnyOf1 ¶

type NullablePlaygroundStrategySchemaResultAnyOf1 struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundStrategySchemaResultAnyOf1) Get ¶

func (NullablePlaygroundStrategySchemaResultAnyOf1) IsSet ¶

func (NullablePlaygroundStrategySchemaResultAnyOf1) MarshalJSON ¶

func (*NullablePlaygroundStrategySchemaResultAnyOf1) Set ¶

func (*NullablePlaygroundStrategySchemaResultAnyOf1) UnmarshalJSON ¶

func (*NullablePlaygroundStrategySchemaResultAnyOf1) Unset ¶

type NullablePlaygroundStrategySchemaResultAnyOfEnabled ¶

type NullablePlaygroundStrategySchemaResultAnyOfEnabled struct {
	// contains filtered or unexported fields
}

func (NullablePlaygroundStrategySchemaResultAnyOfEnabled) Get ¶

func (NullablePlaygroundStrategySchemaResultAnyOfEnabled) IsSet ¶

func (NullablePlaygroundStrategySchemaResultAnyOfEnabled) MarshalJSON ¶

func (*NullablePlaygroundStrategySchemaResultAnyOfEnabled) Set ¶

func (*NullablePlaygroundStrategySchemaResultAnyOfEnabled) UnmarshalJSON ¶

func (*NullablePlaygroundStrategySchemaResultAnyOfEnabled) Unset ¶

type NullableProfileSchema ¶

type NullableProfileSchema struct {
	// contains filtered or unexported fields
}

func NewNullableProfileSchema ¶

func NewNullableProfileSchema(val *ProfileSchema) *NullableProfileSchema

func (NullableProfileSchema) Get ¶

func (NullableProfileSchema) IsSet ¶

func (v NullableProfileSchema) IsSet() bool

func (NullableProfileSchema) MarshalJSON ¶

func (v NullableProfileSchema) MarshalJSON() ([]byte, error)

func (*NullableProfileSchema) Set ¶

func (v *NullableProfileSchema) Set(val *ProfileSchema)

func (*NullableProfileSchema) UnmarshalJSON ¶

func (v *NullableProfileSchema) UnmarshalJSON(src []byte) error

func (*NullableProfileSchema) Unset ¶

func (v *NullableProfileSchema) Unset()

type NullableProjectAccessSchema ¶

type NullableProjectAccessSchema struct {
	// contains filtered or unexported fields
}

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 (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 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 NullableProjectOverviewSchema ¶

type NullableProjectOverviewSchema struct {
	// contains filtered or unexported fields
}

func (NullableProjectOverviewSchema) Get ¶

func (NullableProjectOverviewSchema) IsSet ¶

func (NullableProjectOverviewSchema) MarshalJSON ¶

func (v NullableProjectOverviewSchema) MarshalJSON() ([]byte, error)

func (*NullableProjectOverviewSchema) Set ¶

func (*NullableProjectOverviewSchema) UnmarshalJSON ¶

func (v *NullableProjectOverviewSchema) UnmarshalJSON(src []byte) error

func (*NullableProjectOverviewSchema) Unset ¶

func (v *NullableProjectOverviewSchema) Unset()

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 NullableProjectSettingsSchema ¶

type NullableProjectSettingsSchema struct {
	// contains filtered or unexported fields
}

func (NullableProjectSettingsSchema) Get ¶

func (NullableProjectSettingsSchema) IsSet ¶

func (NullableProjectSettingsSchema) MarshalJSON ¶

func (v NullableProjectSettingsSchema) MarshalJSON() ([]byte, error)

func (*NullableProjectSettingsSchema) Set ¶

func (*NullableProjectSettingsSchema) UnmarshalJSON ¶

func (v *NullableProjectSettingsSchema) UnmarshalJSON(src []byte) error

func (*NullableProjectSettingsSchema) Unset ¶

func (v *NullableProjectSettingsSchema) Unset()

type NullableProjectStatsSchema ¶

type NullableProjectStatsSchema struct {
	// contains filtered or unexported fields
}

func NewNullableProjectStatsSchema ¶

func NewNullableProjectStatsSchema(val *ProjectStatsSchema) *NullableProjectStatsSchema

func (NullableProjectStatsSchema) Get ¶

func (NullableProjectStatsSchema) IsSet ¶

func (v NullableProjectStatsSchema) IsSet() bool

func (NullableProjectStatsSchema) MarshalJSON ¶

func (v NullableProjectStatsSchema) MarshalJSON() ([]byte, error)

func (*NullableProjectStatsSchema) Set ¶

func (*NullableProjectStatsSchema) UnmarshalJSON ¶

func (v *NullableProjectStatsSchema) UnmarshalJSON(src []byte) error

func (*NullableProjectStatsSchema) Unset ¶

func (v *NullableProjectStatsSchema) Unset()

type NullableProjectUsersSchema ¶

type NullableProjectUsersSchema struct {
	// contains filtered or unexported fields
}

func NewNullableProjectUsersSchema ¶

func NewNullableProjectUsersSchema(val *ProjectUsersSchema) *NullableProjectUsersSchema

func (NullableProjectUsersSchema) Get ¶

func (NullableProjectUsersSchema) IsSet ¶

func (v NullableProjectUsersSchema) IsSet() bool

func (NullableProjectUsersSchema) MarshalJSON ¶

func (v NullableProjectUsersSchema) MarshalJSON() ([]byte, error)

func (*NullableProjectUsersSchema) Set ¶

func (*NullableProjectUsersSchema) UnmarshalJSON ¶

func (v *NullableProjectUsersSchema) UnmarshalJSON(src []byte) error

func (*NullableProjectUsersSchema) Unset ¶

func (v *NullableProjectUsersSchema) Unset()

type NullableProjectsOverviewSchema ¶

type NullableProjectsOverviewSchema struct {
	// contains filtered or unexported fields
}

func (NullableProjectsOverviewSchema) Get ¶

func (NullableProjectsOverviewSchema) IsSet ¶

func (NullableProjectsOverviewSchema) MarshalJSON ¶

func (v NullableProjectsOverviewSchema) MarshalJSON() ([]byte, error)

func (*NullableProjectsOverviewSchema) Set ¶

func (*NullableProjectsOverviewSchema) UnmarshalJSON ¶

func (v *NullableProjectsOverviewSchema) UnmarshalJSON(src []byte) error

func (*NullableProjectsOverviewSchema) Unset ¶

func (v *NullableProjectsOverviewSchema) 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 NullableProxyClientSchema ¶

type NullableProxyClientSchema struct {
	// contains filtered or unexported fields
}

func NewNullableProxyClientSchema ¶

func NewNullableProxyClientSchema(val *ProxyClientSchema) *NullableProxyClientSchema

func (NullableProxyClientSchema) Get ¶

func (NullableProxyClientSchema) IsSet ¶

func (v NullableProxyClientSchema) IsSet() bool

func (NullableProxyClientSchema) MarshalJSON ¶

func (v NullableProxyClientSchema) MarshalJSON() ([]byte, error)

func (*NullableProxyClientSchema) Set ¶

func (*NullableProxyClientSchema) UnmarshalJSON ¶

func (v *NullableProxyClientSchema) UnmarshalJSON(src []byte) error

func (*NullableProxyClientSchema) Unset ¶

func (v *NullableProxyClientSchema) Unset()

type NullableProxyClientSchemaStarted ¶

type NullableProxyClientSchemaStarted struct {
	// contains filtered or unexported fields
}

func (NullableProxyClientSchemaStarted) Get ¶

func (NullableProxyClientSchemaStarted) IsSet ¶

func (NullableProxyClientSchemaStarted) MarshalJSON ¶

func (v NullableProxyClientSchemaStarted) MarshalJSON() ([]byte, error)

func (*NullableProxyClientSchemaStarted) Set ¶

func (*NullableProxyClientSchemaStarted) UnmarshalJSON ¶

func (v *NullableProxyClientSchemaStarted) UnmarshalJSON(src []byte) error

func (*NullableProxyClientSchemaStarted) Unset ¶

type NullableProxyFeatureSchema ¶

type NullableProxyFeatureSchema struct {
	// contains filtered or unexported fields
}

func NewNullableProxyFeatureSchema ¶

func NewNullableProxyFeatureSchema(val *ProxyFeatureSchema) *NullableProxyFeatureSchema

func (NullableProxyFeatureSchema) Get ¶

func (NullableProxyFeatureSchema) IsSet ¶

func (v NullableProxyFeatureSchema) IsSet() bool

func (NullableProxyFeatureSchema) MarshalJSON ¶

func (v NullableProxyFeatureSchema) MarshalJSON() ([]byte, error)

func (*NullableProxyFeatureSchema) Set ¶

func (*NullableProxyFeatureSchema) UnmarshalJSON ¶

func (v *NullableProxyFeatureSchema) UnmarshalJSON(src []byte) error

func (*NullableProxyFeatureSchema) Unset ¶

func (v *NullableProxyFeatureSchema) Unset()

type NullableProxyFeatureSchemaVariant ¶

type NullableProxyFeatureSchemaVariant struct {
	// contains filtered or unexported fields
}

func (NullableProxyFeatureSchemaVariant) Get ¶

func (NullableProxyFeatureSchemaVariant) IsSet ¶

func (NullableProxyFeatureSchemaVariant) MarshalJSON ¶

func (v NullableProxyFeatureSchemaVariant) MarshalJSON() ([]byte, error)

func (*NullableProxyFeatureSchemaVariant) Set ¶

func (*NullableProxyFeatureSchemaVariant) UnmarshalJSON ¶

func (v *NullableProxyFeatureSchemaVariant) UnmarshalJSON(src []byte) error

func (*NullableProxyFeatureSchemaVariant) Unset ¶

type NullableProxyFeatureSchemaVariantPayload ¶

type NullableProxyFeatureSchemaVariantPayload struct {
	// contains filtered or unexported fields
}

func (NullableProxyFeatureSchemaVariantPayload) Get ¶

func (NullableProxyFeatureSchemaVariantPayload) IsSet ¶

func (NullableProxyFeatureSchemaVariantPayload) MarshalJSON ¶

func (*NullableProxyFeatureSchemaVariantPayload) Set ¶

func (*NullableProxyFeatureSchemaVariantPayload) UnmarshalJSON ¶

func (v *NullableProxyFeatureSchemaVariantPayload) UnmarshalJSON(src []byte) error

func (*NullableProxyFeatureSchemaVariantPayload) Unset ¶

type NullableProxyFeaturesSchema ¶

type NullableProxyFeaturesSchema struct {
	// contains filtered or unexported fields
}

func (NullableProxyFeaturesSchema) Get ¶

func (NullableProxyFeaturesSchema) IsSet ¶

func (NullableProxyFeaturesSchema) MarshalJSON ¶

func (v NullableProxyFeaturesSchema) MarshalJSON() ([]byte, error)

func (*NullableProxyFeaturesSchema) Set ¶

func (*NullableProxyFeaturesSchema) UnmarshalJSON ¶

func (v *NullableProxyFeaturesSchema) UnmarshalJSON(src []byte) error

func (*NullableProxyFeaturesSchema) Unset ¶

func (v *NullableProxyFeaturesSchema) Unset()

type NullablePublicSignupTokenCreateSchema ¶

type NullablePublicSignupTokenCreateSchema struct {
	// contains filtered or unexported fields
}

func (NullablePublicSignupTokenCreateSchema) Get ¶

func (NullablePublicSignupTokenCreateSchema) IsSet ¶

func (NullablePublicSignupTokenCreateSchema) MarshalJSON ¶

func (v NullablePublicSignupTokenCreateSchema) MarshalJSON() ([]byte, error)

func (*NullablePublicSignupTokenCreateSchema) Set ¶

func (*NullablePublicSignupTokenCreateSchema) UnmarshalJSON ¶

func (v *NullablePublicSignupTokenCreateSchema) UnmarshalJSON(src []byte) error

func (*NullablePublicSignupTokenCreateSchema) Unset ¶

type NullablePublicSignupTokenSchema ¶

type NullablePublicSignupTokenSchema struct {
	// contains filtered or unexported fields
}

func (NullablePublicSignupTokenSchema) Get ¶

func (NullablePublicSignupTokenSchema) IsSet ¶

func (NullablePublicSignupTokenSchema) MarshalJSON ¶

func (v NullablePublicSignupTokenSchema) MarshalJSON() ([]byte, error)

func (*NullablePublicSignupTokenSchema) Set ¶

func (*NullablePublicSignupTokenSchema) UnmarshalJSON ¶

func (v *NullablePublicSignupTokenSchema) UnmarshalJSON(src []byte) error

func (*NullablePublicSignupTokenSchema) Unset ¶

type NullablePublicSignupTokenUpdateSchema ¶

type NullablePublicSignupTokenUpdateSchema struct {
	// contains filtered or unexported fields
}

func (NullablePublicSignupTokenUpdateSchema) Get ¶

func (NullablePublicSignupTokenUpdateSchema) IsSet ¶

func (NullablePublicSignupTokenUpdateSchema) MarshalJSON ¶

func (v NullablePublicSignupTokenUpdateSchema) MarshalJSON() ([]byte, error)

func (*NullablePublicSignupTokenUpdateSchema) Set ¶

func (*NullablePublicSignupTokenUpdateSchema) UnmarshalJSON ¶

func (v *NullablePublicSignupTokenUpdateSchema) UnmarshalJSON(src []byte) error

func (*NullablePublicSignupTokenUpdateSchema) Unset ¶

type NullablePublicSignupTokensSchema ¶

type NullablePublicSignupTokensSchema struct {
	// contains filtered or unexported fields
}

func (NullablePublicSignupTokensSchema) Get ¶

func (NullablePublicSignupTokensSchema) IsSet ¶

func (NullablePublicSignupTokensSchema) MarshalJSON ¶

func (v NullablePublicSignupTokensSchema) MarshalJSON() ([]byte, error)

func (*NullablePublicSignupTokensSchema) Set ¶

func (*NullablePublicSignupTokensSchema) UnmarshalJSON ¶

func (v *NullablePublicSignupTokensSchema) UnmarshalJSON(src []byte) error

func (*NullablePublicSignupTokensSchema) Unset ¶

type NullablePushVariantsSchema ¶

type NullablePushVariantsSchema struct {
	// contains filtered or unexported fields
}

func NewNullablePushVariantsSchema ¶

func NewNullablePushVariantsSchema(val *PushVariantsSchema) *NullablePushVariantsSchema

func (NullablePushVariantsSchema) Get ¶

func (NullablePushVariantsSchema) IsSet ¶

func (v NullablePushVariantsSchema) IsSet() bool

func (NullablePushVariantsSchema) MarshalJSON ¶

func (v NullablePushVariantsSchema) MarshalJSON() ([]byte, error)

func (*NullablePushVariantsSchema) Set ¶

func (*NullablePushVariantsSchema) UnmarshalJSON ¶

func (v *NullablePushVariantsSchema) UnmarshalJSON(src []byte) error

func (*NullablePushVariantsSchema) Unset ¶

func (v *NullablePushVariantsSchema) Unset()

type NullableRequestsPerSecondSchema ¶

type NullableRequestsPerSecondSchema struct {
	// contains filtered or unexported fields
}

func (NullableRequestsPerSecondSchema) Get ¶

func (NullableRequestsPerSecondSchema) IsSet ¶

func (NullableRequestsPerSecondSchema) MarshalJSON ¶

func (v NullableRequestsPerSecondSchema) MarshalJSON() ([]byte, error)

func (*NullableRequestsPerSecondSchema) Set ¶

func (*NullableRequestsPerSecondSchema) UnmarshalJSON ¶

func (v *NullableRequestsPerSecondSchema) UnmarshalJSON(src []byte) error

func (*NullableRequestsPerSecondSchema) Unset ¶

type NullableRequestsPerSecondSchemaData ¶

type NullableRequestsPerSecondSchemaData struct {
	// contains filtered or unexported fields
}

func (NullableRequestsPerSecondSchemaData) Get ¶

func (NullableRequestsPerSecondSchemaData) IsSet ¶

func (NullableRequestsPerSecondSchemaData) MarshalJSON ¶

func (v NullableRequestsPerSecondSchemaData) MarshalJSON() ([]byte, error)

func (*NullableRequestsPerSecondSchemaData) Set ¶

func (*NullableRequestsPerSecondSchemaData) UnmarshalJSON ¶

func (v *NullableRequestsPerSecondSchemaData) UnmarshalJSON(src []byte) error

func (*NullableRequestsPerSecondSchemaData) Unset ¶

type NullableRequestsPerSecondSchemaDataResultInner ¶

type NullableRequestsPerSecondSchemaDataResultInner struct {
	// contains filtered or unexported fields
}

func (NullableRequestsPerSecondSchemaDataResultInner) Get ¶

func (NullableRequestsPerSecondSchemaDataResultInner) IsSet ¶

func (NullableRequestsPerSecondSchemaDataResultInner) MarshalJSON ¶

func (*NullableRequestsPerSecondSchemaDataResultInner) Set ¶

func (*NullableRequestsPerSecondSchemaDataResultInner) UnmarshalJSON ¶

func (*NullableRequestsPerSecondSchemaDataResultInner) Unset ¶

type NullableRequestsPerSecondSchemaDataResultInnerMetric ¶

type NullableRequestsPerSecondSchemaDataResultInnerMetric struct {
	// contains filtered or unexported fields
}

func (NullableRequestsPerSecondSchemaDataResultInnerMetric) Get ¶

func (NullableRequestsPerSecondSchemaDataResultInnerMetric) IsSet ¶

func (NullableRequestsPerSecondSchemaDataResultInnerMetric) MarshalJSON ¶

func (*NullableRequestsPerSecondSchemaDataResultInnerMetric) Set ¶

func (*NullableRequestsPerSecondSchemaDataResultInnerMetric) UnmarshalJSON ¶

func (*NullableRequestsPerSecondSchemaDataResultInnerMetric) Unset ¶

type NullableRequestsPerSecondSchemaDataResultInnerValuesInnerInner ¶

type NullableRequestsPerSecondSchemaDataResultInnerValuesInnerInner struct {
	// contains filtered or unexported fields
}

func (NullableRequestsPerSecondSchemaDataResultInnerValuesInnerInner) Get ¶

func (NullableRequestsPerSecondSchemaDataResultInnerValuesInnerInner) IsSet ¶

func (NullableRequestsPerSecondSchemaDataResultInnerValuesInnerInner) MarshalJSON ¶

func (*NullableRequestsPerSecondSchemaDataResultInnerValuesInnerInner) Set ¶

func (*NullableRequestsPerSecondSchemaDataResultInnerValuesInnerInner) UnmarshalJSON ¶

func (*NullableRequestsPerSecondSchemaDataResultInnerValuesInnerInner) Unset ¶

type NullableRequestsPerSecondSegmentedSchema ¶

type NullableRequestsPerSecondSegmentedSchema struct {
	// contains filtered or unexported fields
}

func (NullableRequestsPerSecondSegmentedSchema) Get ¶

func (NullableRequestsPerSecondSegmentedSchema) IsSet ¶

func (NullableRequestsPerSecondSegmentedSchema) MarshalJSON ¶

func (*NullableRequestsPerSecondSegmentedSchema) Set ¶

func (*NullableRequestsPerSecondSegmentedSchema) UnmarshalJSON ¶

func (v *NullableRequestsPerSecondSegmentedSchema) UnmarshalJSON(src []byte) error

func (*NullableRequestsPerSecondSegmentedSchema) Unset ¶

type NullableResetPasswordSchema ¶

type NullableResetPasswordSchema struct {
	// contains filtered or unexported fields
}

func (NullableResetPasswordSchema) Get ¶

func (NullableResetPasswordSchema) IsSet ¶

func (NullableResetPasswordSchema) MarshalJSON ¶

func (v NullableResetPasswordSchema) MarshalJSON() ([]byte, error)

func (*NullableResetPasswordSchema) Set ¶

func (*NullableResetPasswordSchema) UnmarshalJSON ¶

func (v *NullableResetPasswordSchema) UnmarshalJSON(src []byte) error

func (*NullableResetPasswordSchema) Unset ¶

func (v *NullableResetPasswordSchema) 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 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 NullableSdkContextSchema ¶

type NullableSdkContextSchema struct {
	// contains filtered or unexported fields
}

func NewNullableSdkContextSchema ¶

func NewNullableSdkContextSchema(val *SdkContextSchema) *NullableSdkContextSchema

func (NullableSdkContextSchema) Get ¶

func (NullableSdkContextSchema) IsSet ¶

func (v NullableSdkContextSchema) IsSet() bool

func (NullableSdkContextSchema) MarshalJSON ¶

func (v NullableSdkContextSchema) MarshalJSON() ([]byte, error)

func (*NullableSdkContextSchema) Set ¶

func (*NullableSdkContextSchema) UnmarshalJSON ¶

func (v *NullableSdkContextSchema) UnmarshalJSON(src []byte) error

func (*NullableSdkContextSchema) Unset ¶

func (v *NullableSdkContextSchema) Unset()

type NullableSearchEventsSchema ¶

type NullableSearchEventsSchema struct {
	// contains filtered or unexported fields
}

func NewNullableSearchEventsSchema ¶

func NewNullableSearchEventsSchema(val *SearchEventsSchema) *NullableSearchEventsSchema

func (NullableSearchEventsSchema) Get ¶

func (NullableSearchEventsSchema) IsSet ¶

func (v NullableSearchEventsSchema) IsSet() bool

func (NullableSearchEventsSchema) MarshalJSON ¶

func (v NullableSearchEventsSchema) MarshalJSON() ([]byte, error)

func (*NullableSearchEventsSchema) Set ¶

func (*NullableSearchEventsSchema) UnmarshalJSON ¶

func (v *NullableSearchEventsSchema) UnmarshalJSON(src []byte) error

func (*NullableSearchEventsSchema) Unset ¶

func (v *NullableSearchEventsSchema) Unset()

type NullableSegmentSchema ¶

type NullableSegmentSchema struct {
	// contains filtered or unexported fields
}

func NewNullableSegmentSchema ¶

func NewNullableSegmentSchema(val *SegmentSchema) *NullableSegmentSchema

func (NullableSegmentSchema) Get ¶

func (NullableSegmentSchema) IsSet ¶

func (v NullableSegmentSchema) IsSet() bool

func (NullableSegmentSchema) MarshalJSON ¶

func (v NullableSegmentSchema) MarshalJSON() ([]byte, error)

func (*NullableSegmentSchema) Set ¶

func (v *NullableSegmentSchema) Set(val *SegmentSchema)

func (*NullableSegmentSchema) UnmarshalJSON ¶

func (v *NullableSegmentSchema) UnmarshalJSON(src []byte) error

func (*NullableSegmentSchema) Unset ¶

func (v *NullableSegmentSchema) Unset()

type NullableSegmentsSchema ¶

type NullableSegmentsSchema struct {
	// contains filtered or unexported fields
}

func NewNullableSegmentsSchema ¶

func NewNullableSegmentsSchema(val *SegmentsSchema) *NullableSegmentsSchema

func (NullableSegmentsSchema) Get ¶

func (NullableSegmentsSchema) IsSet ¶

func (v NullableSegmentsSchema) IsSet() bool

func (NullableSegmentsSchema) MarshalJSON ¶

func (v NullableSegmentsSchema) MarshalJSON() ([]byte, error)

func (*NullableSegmentsSchema) Set ¶

func (*NullableSegmentsSchema) UnmarshalJSON ¶

func (v *NullableSegmentsSchema) UnmarshalJSON(src []byte) error

func (*NullableSegmentsSchema) Unset ¶

func (v *NullableSegmentsSchema) Unset()

type NullableServiceAccountSchema ¶

type NullableServiceAccountSchema struct {
	// contains filtered or unexported fields
}

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 NullableSetGoogleSettings415Response ¶

type NullableSetGoogleSettings415Response struct {
	// contains filtered or unexported fields
}

func (NullableSetGoogleSettings415Response) Get ¶

func (NullableSetGoogleSettings415Response) IsSet ¶

func (NullableSetGoogleSettings415Response) MarshalJSON ¶

func (v NullableSetGoogleSettings415Response) MarshalJSON() ([]byte, error)

func (*NullableSetGoogleSettings415Response) Set ¶

func (*NullableSetGoogleSettings415Response) UnmarshalJSON ¶

func (v *NullableSetGoogleSettings415Response) UnmarshalJSON(src []byte) error

func (*NullableSetGoogleSettings415Response) Unset ¶

type NullableSetStrategySortOrderSchemaInner ¶

type NullableSetStrategySortOrderSchemaInner struct {
	// contains filtered or unexported fields
}

func (NullableSetStrategySortOrderSchemaInner) Get ¶

func (NullableSetStrategySortOrderSchemaInner) IsSet ¶

func (NullableSetStrategySortOrderSchemaInner) MarshalJSON ¶

func (v NullableSetStrategySortOrderSchemaInner) MarshalJSON() ([]byte, error)

func (*NullableSetStrategySortOrderSchemaInner) Set ¶

func (*NullableSetStrategySortOrderSchemaInner) UnmarshalJSON ¶

func (v *NullableSetStrategySortOrderSchemaInner) UnmarshalJSON(src []byte) error

func (*NullableSetStrategySortOrderSchemaInner) Unset ¶

type NullableSetUiConfigSchema ¶

type NullableSetUiConfigSchema struct {
	// contains filtered or unexported fields
}

func NewNullableSetUiConfigSchema ¶

func NewNullableSetUiConfigSchema(val *SetUiConfigSchema) *NullableSetUiConfigSchema

func (NullableSetUiConfigSchema) Get ¶

func (NullableSetUiConfigSchema) IsSet ¶

func (v NullableSetUiConfigSchema) IsSet() bool

func (NullableSetUiConfigSchema) MarshalJSON ¶

func (v NullableSetUiConfigSchema) MarshalJSON() ([]byte, error)

func (*NullableSetUiConfigSchema) Set ¶

func (*NullableSetUiConfigSchema) UnmarshalJSON ¶

func (v *NullableSetUiConfigSchema) UnmarshalJSON(src []byte) error

func (*NullableSetUiConfigSchema) Unset ¶

func (v *NullableSetUiConfigSchema) Unset()

type NullableSetUiConfigSchemaFrontendSettings ¶

type NullableSetUiConfigSchemaFrontendSettings struct {
	// contains filtered or unexported fields
}

func (NullableSetUiConfigSchemaFrontendSettings) Get ¶

func (NullableSetUiConfigSchemaFrontendSettings) IsSet ¶

func (NullableSetUiConfigSchemaFrontendSettings) MarshalJSON ¶

func (*NullableSetUiConfigSchemaFrontendSettings) Set ¶

func (*NullableSetUiConfigSchemaFrontendSettings) UnmarshalJSON ¶

func (v *NullableSetUiConfigSchemaFrontendSettings) UnmarshalJSON(src []byte) error

func (*NullableSetUiConfigSchemaFrontendSettings) Unset ¶

type NullableSplashRequestSchema ¶

type NullableSplashRequestSchema struct {
	// contains filtered or unexported fields
}

func (NullableSplashRequestSchema) Get ¶

func (NullableSplashRequestSchema) IsSet ¶

func (NullableSplashRequestSchema) MarshalJSON ¶

func (v NullableSplashRequestSchema) MarshalJSON() ([]byte, error)

func (*NullableSplashRequestSchema) Set ¶

func (*NullableSplashRequestSchema) UnmarshalJSON ¶

func (v *NullableSplashRequestSchema) UnmarshalJSON(src []byte) error

func (*NullableSplashRequestSchema) Unset ¶

func (v *NullableSplashRequestSchema) Unset()

type NullableSplashResponseSchema ¶

type NullableSplashResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullableSplashResponseSchema) Get ¶

func (NullableSplashResponseSchema) IsSet ¶

func (NullableSplashResponseSchema) MarshalJSON ¶

func (v NullableSplashResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableSplashResponseSchema) Set ¶

func (*NullableSplashResponseSchema) UnmarshalJSON ¶

func (v *NullableSplashResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableSplashResponseSchema) Unset ¶

func (v *NullableSplashResponseSchema) Unset()

type NullableSplashSchema ¶

type NullableSplashSchema struct {
	// contains filtered or unexported fields
}

func NewNullableSplashSchema ¶

func NewNullableSplashSchema(val *SplashSchema) *NullableSplashSchema

func (NullableSplashSchema) Get ¶

func (NullableSplashSchema) IsSet ¶

func (v NullableSplashSchema) IsSet() bool

func (NullableSplashSchema) MarshalJSON ¶

func (v NullableSplashSchema) MarshalJSON() ([]byte, error)

func (*NullableSplashSchema) Set ¶

func (v *NullableSplashSchema) Set(val *SplashSchema)

func (*NullableSplashSchema) UnmarshalJSON ¶

func (v *NullableSplashSchema) UnmarshalJSON(src []byte) error

func (*NullableSplashSchema) Unset ¶

func (v *NullableSplashSchema) Unset()

type NullableStateSchema ¶

type NullableStateSchema struct {
	// contains filtered or unexported fields
}

func NewNullableStateSchema ¶

func NewNullableStateSchema(val *StateSchema) *NullableStateSchema

func (NullableStateSchema) Get ¶

func (NullableStateSchema) IsSet ¶

func (v NullableStateSchema) IsSet() bool

func (NullableStateSchema) MarshalJSON ¶

func (v NullableStateSchema) MarshalJSON() ([]byte, error)

func (*NullableStateSchema) Set ¶

func (v *NullableStateSchema) Set(val *StateSchema)

func (*NullableStateSchema) UnmarshalJSON ¶

func (v *NullableStateSchema) UnmarshalJSON(src []byte) error

func (*NullableStateSchema) Unset ¶

func (v *NullableStateSchema) Unset()

type NullableStrategiesSchema ¶

type NullableStrategiesSchema struct {
	// contains filtered or unexported fields
}

func NewNullableStrategiesSchema ¶

func NewNullableStrategiesSchema(val *StrategiesSchema) *NullableStrategiesSchema

func (NullableStrategiesSchema) Get ¶

func (NullableStrategiesSchema) IsSet ¶

func (v NullableStrategiesSchema) IsSet() bool

func (NullableStrategiesSchema) MarshalJSON ¶

func (v NullableStrategiesSchema) MarshalJSON() ([]byte, error)

func (*NullableStrategiesSchema) Set ¶

func (*NullableStrategiesSchema) UnmarshalJSON ¶

func (v *NullableStrategiesSchema) UnmarshalJSON(src []byte) error

func (*NullableStrategiesSchema) Unset ¶

func (v *NullableStrategiesSchema) Unset()

type NullableStrategySchema ¶

type NullableStrategySchema struct {
	// contains filtered or unexported fields
}

func NewNullableStrategySchema ¶

func NewNullableStrategySchema(val *StrategySchema) *NullableStrategySchema

func (NullableStrategySchema) Get ¶

func (NullableStrategySchema) IsSet ¶

func (v NullableStrategySchema) IsSet() bool

func (NullableStrategySchema) MarshalJSON ¶

func (v NullableStrategySchema) MarshalJSON() ([]byte, error)

func (*NullableStrategySchema) Set ¶

func (*NullableStrategySchema) UnmarshalJSON ¶

func (v *NullableStrategySchema) UnmarshalJSON(src []byte) error

func (*NullableStrategySchema) Unset ¶

func (v *NullableStrategySchema) Unset()

type NullableStrategySchemaParametersInner ¶

type NullableStrategySchemaParametersInner struct {
	// contains filtered or unexported fields
}

func (NullableStrategySchemaParametersInner) Get ¶

func (NullableStrategySchemaParametersInner) IsSet ¶

func (NullableStrategySchemaParametersInner) MarshalJSON ¶

func (v NullableStrategySchemaParametersInner) MarshalJSON() ([]byte, error)

func (*NullableStrategySchemaParametersInner) Set ¶

func (*NullableStrategySchemaParametersInner) UnmarshalJSON ¶

func (v *NullableStrategySchemaParametersInner) UnmarshalJSON(src []byte) error

func (*NullableStrategySchemaParametersInner) 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 NullableTagSchema ¶

type NullableTagSchema struct {
	// contains filtered or unexported fields
}

func NewNullableTagSchema ¶

func NewNullableTagSchema(val *TagSchema) *NullableTagSchema

func (NullableTagSchema) Get ¶

func (v NullableTagSchema) Get() *TagSchema

func (NullableTagSchema) IsSet ¶

func (v NullableTagSchema) IsSet() bool

func (NullableTagSchema) MarshalJSON ¶

func (v NullableTagSchema) MarshalJSON() ([]byte, error)

func (*NullableTagSchema) Set ¶

func (v *NullableTagSchema) Set(val *TagSchema)

func (*NullableTagSchema) UnmarshalJSON ¶

func (v *NullableTagSchema) UnmarshalJSON(src []byte) error

func (*NullableTagSchema) Unset ¶

func (v *NullableTagSchema) Unset()

type NullableTagTypeSchema ¶

type NullableTagTypeSchema struct {
	// contains filtered or unexported fields
}

func NewNullableTagTypeSchema ¶

func NewNullableTagTypeSchema(val *TagTypeSchema) *NullableTagTypeSchema

func (NullableTagTypeSchema) Get ¶

func (NullableTagTypeSchema) IsSet ¶

func (v NullableTagTypeSchema) IsSet() bool

func (NullableTagTypeSchema) MarshalJSON ¶

func (v NullableTagTypeSchema) MarshalJSON() ([]byte, error)

func (*NullableTagTypeSchema) Set ¶

func (v *NullableTagTypeSchema) Set(val *TagTypeSchema)

func (*NullableTagTypeSchema) UnmarshalJSON ¶

func (v *NullableTagTypeSchema) UnmarshalJSON(src []byte) error

func (*NullableTagTypeSchema) Unset ¶

func (v *NullableTagTypeSchema) Unset()

type NullableTagTypesSchema ¶

type NullableTagTypesSchema struct {
	// contains filtered or unexported fields
}

func NewNullableTagTypesSchema ¶

func NewNullableTagTypesSchema(val *TagTypesSchema) *NullableTagTypesSchema

func (NullableTagTypesSchema) Get ¶

func (NullableTagTypesSchema) IsSet ¶

func (v NullableTagTypesSchema) IsSet() bool

func (NullableTagTypesSchema) MarshalJSON ¶

func (v NullableTagTypesSchema) MarshalJSON() ([]byte, error)

func (*NullableTagTypesSchema) Set ¶

func (*NullableTagTypesSchema) UnmarshalJSON ¶

func (v *NullableTagTypesSchema) UnmarshalJSON(src []byte) error

func (*NullableTagTypesSchema) Unset ¶

func (v *NullableTagTypesSchema) Unset()

type NullableTagWithVersionSchema ¶

type NullableTagWithVersionSchema struct {
	// contains filtered or unexported fields
}

func (NullableTagWithVersionSchema) Get ¶

func (NullableTagWithVersionSchema) IsSet ¶

func (NullableTagWithVersionSchema) MarshalJSON ¶

func (v NullableTagWithVersionSchema) MarshalJSON() ([]byte, error)

func (*NullableTagWithVersionSchema) Set ¶

func (*NullableTagWithVersionSchema) UnmarshalJSON ¶

func (v *NullableTagWithVersionSchema) UnmarshalJSON(src []byte) error

func (*NullableTagWithVersionSchema) Unset ¶

func (v *NullableTagWithVersionSchema) Unset()

type NullableTagsBulkAddSchema ¶

type NullableTagsBulkAddSchema struct {
	// contains filtered or unexported fields
}

func NewNullableTagsBulkAddSchema ¶

func NewNullableTagsBulkAddSchema(val *TagsBulkAddSchema) *NullableTagsBulkAddSchema

func (NullableTagsBulkAddSchema) Get ¶

func (NullableTagsBulkAddSchema) IsSet ¶

func (v NullableTagsBulkAddSchema) IsSet() bool

func (NullableTagsBulkAddSchema) MarshalJSON ¶

func (v NullableTagsBulkAddSchema) MarshalJSON() ([]byte, error)

func (*NullableTagsBulkAddSchema) Set ¶

func (*NullableTagsBulkAddSchema) UnmarshalJSON ¶

func (v *NullableTagsBulkAddSchema) UnmarshalJSON(src []byte) error

func (*NullableTagsBulkAddSchema) Unset ¶

func (v *NullableTagsBulkAddSchema) Unset()

type NullableTagsSchema ¶

type NullableTagsSchema struct {
	// contains filtered or unexported fields
}

func NewNullableTagsSchema ¶

func NewNullableTagsSchema(val *TagsSchema) *NullableTagsSchema

func (NullableTagsSchema) Get ¶

func (v NullableTagsSchema) Get() *TagsSchema

func (NullableTagsSchema) IsSet ¶

func (v NullableTagsSchema) IsSet() bool

func (NullableTagsSchema) MarshalJSON ¶

func (v NullableTagsSchema) MarshalJSON() ([]byte, error)

func (*NullableTagsSchema) Set ¶

func (v *NullableTagsSchema) Set(val *TagsSchema)

func (*NullableTagsSchema) UnmarshalJSON ¶

func (v *NullableTagsSchema) UnmarshalJSON(src []byte) error

func (*NullableTagsSchema) Unset ¶

func (v *NullableTagsSchema) Unset()

type NullableTelemetrySettingsSchema ¶

type NullableTelemetrySettingsSchema struct {
	// contains filtered or unexported fields
}

func (NullableTelemetrySettingsSchema) Get ¶

func (NullableTelemetrySettingsSchema) IsSet ¶

func (NullableTelemetrySettingsSchema) MarshalJSON ¶

func (v NullableTelemetrySettingsSchema) MarshalJSON() ([]byte, error)

func (*NullableTelemetrySettingsSchema) Set ¶

func (*NullableTelemetrySettingsSchema) UnmarshalJSON ¶

func (v *NullableTelemetrySettingsSchema) UnmarshalJSON(src []byte) error

func (*NullableTelemetrySettingsSchema) 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 NullableToggleMaintenanceSchema ¶

type NullableToggleMaintenanceSchema struct {
	// contains filtered or unexported fields
}

func (NullableToggleMaintenanceSchema) Get ¶

func (NullableToggleMaintenanceSchema) IsSet ¶

func (NullableToggleMaintenanceSchema) MarshalJSON ¶

func (v NullableToggleMaintenanceSchema) MarshalJSON() ([]byte, error)

func (*NullableToggleMaintenanceSchema) Set ¶

func (*NullableToggleMaintenanceSchema) UnmarshalJSON ¶

func (v *NullableToggleMaintenanceSchema) UnmarshalJSON(src []byte) error

func (*NullableToggleMaintenanceSchema) Unset ¶

type NullableTokenStringListSchema ¶

type NullableTokenStringListSchema struct {
	// contains filtered or unexported fields
}

func (NullableTokenStringListSchema) Get ¶

func (NullableTokenStringListSchema) IsSet ¶

func (NullableTokenStringListSchema) MarshalJSON ¶

func (v NullableTokenStringListSchema) MarshalJSON() ([]byte, error)

func (*NullableTokenStringListSchema) Set ¶

func (*NullableTokenStringListSchema) UnmarshalJSON ¶

func (v *NullableTokenStringListSchema) UnmarshalJSON(src []byte) error

func (*NullableTokenStringListSchema) Unset ¶

func (v *NullableTokenStringListSchema) Unset()

type NullableTokenUserSchema ¶

type NullableTokenUserSchema struct {
	// contains filtered or unexported fields
}

func NewNullableTokenUserSchema ¶

func NewNullableTokenUserSchema(val *TokenUserSchema) *NullableTokenUserSchema

func (NullableTokenUserSchema) Get ¶

func (NullableTokenUserSchema) IsSet ¶

func (v NullableTokenUserSchema) IsSet() bool

func (NullableTokenUserSchema) MarshalJSON ¶

func (v NullableTokenUserSchema) MarshalJSON() ([]byte, error)

func (*NullableTokenUserSchema) Set ¶

func (*NullableTokenUserSchema) UnmarshalJSON ¶

func (v *NullableTokenUserSchema) UnmarshalJSON(src []byte) error

func (*NullableTokenUserSchema) Unset ¶

func (v *NullableTokenUserSchema) Unset()

type NullableUiConfigSchema ¶

type NullableUiConfigSchema struct {
	// contains filtered or unexported fields
}

func NewNullableUiConfigSchema ¶

func NewNullableUiConfigSchema(val *UiConfigSchema) *NullableUiConfigSchema

func (NullableUiConfigSchema) Get ¶

func (NullableUiConfigSchema) IsSet ¶

func (v NullableUiConfigSchema) IsSet() bool

func (NullableUiConfigSchema) MarshalJSON ¶

func (v NullableUiConfigSchema) MarshalJSON() ([]byte, error)

func (*NullableUiConfigSchema) Set ¶

func (*NullableUiConfigSchema) UnmarshalJSON ¶

func (v *NullableUiConfigSchema) UnmarshalJSON(src []byte) error

func (*NullableUiConfigSchema) Unset ¶

func (v *NullableUiConfigSchema) Unset()

type NullableUiConfigSchemaFlagsValue ¶

type NullableUiConfigSchemaFlagsValue struct {
	// contains filtered or unexported fields
}

func (NullableUiConfigSchemaFlagsValue) Get ¶

func (NullableUiConfigSchemaFlagsValue) IsSet ¶

func (NullableUiConfigSchemaFlagsValue) MarshalJSON ¶

func (v NullableUiConfigSchemaFlagsValue) MarshalJSON() ([]byte, error)

func (*NullableUiConfigSchemaFlagsValue) Set ¶

func (*NullableUiConfigSchemaFlagsValue) UnmarshalJSON ¶

func (v *NullableUiConfigSchemaFlagsValue) UnmarshalJSON(src []byte) error

func (*NullableUiConfigSchemaFlagsValue) Unset ¶

type NullableUpdateApiTokenSchema ¶

type NullableUpdateApiTokenSchema struct {
	// contains filtered or unexported fields
}

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 ¶

type NullableUpdateChangeRequestEnvironmentConfigSchema struct {
	// contains filtered or unexported fields
}

func (NullableUpdateChangeRequestEnvironmentConfigSchema) Get ¶

func (NullableUpdateChangeRequestEnvironmentConfigSchema) IsSet ¶

func (NullableUpdateChangeRequestEnvironmentConfigSchema) MarshalJSON ¶

func (*NullableUpdateChangeRequestEnvironmentConfigSchema) Set ¶

func (*NullableUpdateChangeRequestEnvironmentConfigSchema) UnmarshalJSON ¶

func (*NullableUpdateChangeRequestEnvironmentConfigSchema) Unset ¶

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 NullableUpdateFeatureSchema ¶

type NullableUpdateFeatureSchema struct {
	// contains filtered or unexported fields
}

func (NullableUpdateFeatureSchema) Get ¶

func (NullableUpdateFeatureSchema) IsSet ¶

func (NullableUpdateFeatureSchema) MarshalJSON ¶

func (v NullableUpdateFeatureSchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateFeatureSchema) Set ¶

func (*NullableUpdateFeatureSchema) UnmarshalJSON ¶

func (v *NullableUpdateFeatureSchema) UnmarshalJSON(src []byte) error

func (*NullableUpdateFeatureSchema) Unset ¶

func (v *NullableUpdateFeatureSchema) Unset()

type NullableUpdateFeatureStrategySchema ¶

type NullableUpdateFeatureStrategySchema struct {
	// contains filtered or unexported fields
}

func (NullableUpdateFeatureStrategySchema) Get ¶

func (NullableUpdateFeatureStrategySchema) IsSet ¶

func (NullableUpdateFeatureStrategySchema) MarshalJSON ¶

func (v NullableUpdateFeatureStrategySchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateFeatureStrategySchema) Set ¶

func (*NullableUpdateFeatureStrategySchema) UnmarshalJSON ¶

func (v *NullableUpdateFeatureStrategySchema) UnmarshalJSON(src []byte) error

func (*NullableUpdateFeatureStrategySchema) Unset ¶

type NullableUpdateFeatureStrategySegmentsSchema ¶

type NullableUpdateFeatureStrategySegmentsSchema struct {
	// contains filtered or unexported fields
}

func (NullableUpdateFeatureStrategySegmentsSchema) Get ¶

func (NullableUpdateFeatureStrategySegmentsSchema) IsSet ¶

func (NullableUpdateFeatureStrategySegmentsSchema) MarshalJSON ¶

func (*NullableUpdateFeatureStrategySegmentsSchema) Set ¶

func (*NullableUpdateFeatureStrategySegmentsSchema) UnmarshalJSON ¶

func (v *NullableUpdateFeatureStrategySegmentsSchema) UnmarshalJSON(src []byte) error

func (*NullableUpdateFeatureStrategySegmentsSchema) Unset ¶

type NullableUpdateProjectSchema ¶

type NullableUpdateProjectSchema struct {
	// contains filtered or unexported fields
}

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 NullableUpdateStrategySchema ¶

type NullableUpdateStrategySchema struct {
	// contains filtered or unexported fields
}

func (NullableUpdateStrategySchema) Get ¶

func (NullableUpdateStrategySchema) IsSet ¶

func (NullableUpdateStrategySchema) MarshalJSON ¶

func (v NullableUpdateStrategySchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateStrategySchema) Set ¶

func (*NullableUpdateStrategySchema) UnmarshalJSON ¶

func (v *NullableUpdateStrategySchema) UnmarshalJSON(src []byte) error

func (*NullableUpdateStrategySchema) Unset ¶

func (v *NullableUpdateStrategySchema) Unset()

type NullableUpdateTagTypeSchema ¶

type NullableUpdateTagTypeSchema struct {
	// contains filtered or unexported fields
}

func (NullableUpdateTagTypeSchema) Get ¶

func (NullableUpdateTagTypeSchema) IsSet ¶

func (NullableUpdateTagTypeSchema) MarshalJSON ¶

func (v NullableUpdateTagTypeSchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateTagTypeSchema) Set ¶

func (*NullableUpdateTagTypeSchema) UnmarshalJSON ¶

func (v *NullableUpdateTagTypeSchema) UnmarshalJSON(src []byte) error

func (*NullableUpdateTagTypeSchema) Unset ¶

func (v *NullableUpdateTagTypeSchema) Unset()

type NullableUpdateTagsSchema ¶

type NullableUpdateTagsSchema struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateTagsSchema ¶

func NewNullableUpdateTagsSchema(val *UpdateTagsSchema) *NullableUpdateTagsSchema

func (NullableUpdateTagsSchema) Get ¶

func (NullableUpdateTagsSchema) IsSet ¶

func (v NullableUpdateTagsSchema) IsSet() bool

func (NullableUpdateTagsSchema) MarshalJSON ¶

func (v NullableUpdateTagsSchema) MarshalJSON() ([]byte, error)

func (*NullableUpdateTagsSchema) Set ¶

func (*NullableUpdateTagsSchema) UnmarshalJSON ¶

func (v *NullableUpdateTagsSchema) UnmarshalJSON(src []byte) error

func (*NullableUpdateTagsSchema) Unset ¶

func (v *NullableUpdateTagsSchema) 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 NullableUpsertContextFieldSchema ¶

type NullableUpsertContextFieldSchema struct {
	// contains filtered or unexported fields
}

func (NullableUpsertContextFieldSchema) Get ¶

func (NullableUpsertContextFieldSchema) IsSet ¶

func (NullableUpsertContextFieldSchema) MarshalJSON ¶

func (v NullableUpsertContextFieldSchema) MarshalJSON() ([]byte, error)

func (*NullableUpsertContextFieldSchema) Set ¶

func (*NullableUpsertContextFieldSchema) UnmarshalJSON ¶

func (v *NullableUpsertContextFieldSchema) UnmarshalJSON(src []byte) error

func (*NullableUpsertContextFieldSchema) Unset ¶

type NullableUpsertSegmentSchema ¶

type NullableUpsertSegmentSchema struct {
	// contains filtered or unexported fields
}

func (NullableUpsertSegmentSchema) Get ¶

func (NullableUpsertSegmentSchema) IsSet ¶

func (NullableUpsertSegmentSchema) MarshalJSON ¶

func (v NullableUpsertSegmentSchema) MarshalJSON() ([]byte, error)

func (*NullableUpsertSegmentSchema) Set ¶

func (*NullableUpsertSegmentSchema) UnmarshalJSON ¶

func (v *NullableUpsertSegmentSchema) UnmarshalJSON(src []byte) error

func (*NullableUpsertSegmentSchema) Unset ¶

func (v *NullableUpsertSegmentSchema) Unset()

type NullableUpsertStrategySchema ¶

type NullableUpsertStrategySchema struct {
	// contains filtered or unexported fields
}

func (NullableUpsertStrategySchema) Get ¶

func (NullableUpsertStrategySchema) IsSet ¶

func (NullableUpsertStrategySchema) MarshalJSON ¶

func (v NullableUpsertStrategySchema) MarshalJSON() ([]byte, error)

func (*NullableUpsertStrategySchema) Set ¶

func (*NullableUpsertStrategySchema) UnmarshalJSON ¶

func (v *NullableUpsertStrategySchema) UnmarshalJSON(src []byte) error

func (*NullableUpsertStrategySchema) Unset ¶

func (v *NullableUpsertStrategySchema) Unset()

type NullableUpsertStrategySchemaParametersInner ¶

type NullableUpsertStrategySchemaParametersInner struct {
	// contains filtered or unexported fields
}

func (NullableUpsertStrategySchemaParametersInner) Get ¶

func (NullableUpsertStrategySchemaParametersInner) IsSet ¶

func (NullableUpsertStrategySchemaParametersInner) MarshalJSON ¶

func (*NullableUpsertStrategySchemaParametersInner) Set ¶

func (*NullableUpsertStrategySchemaParametersInner) UnmarshalJSON ¶

func (v *NullableUpsertStrategySchemaParametersInner) UnmarshalJSON(src []byte) error

func (*NullableUpsertStrategySchemaParametersInner) 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 NullableUsersGroupsBaseSchema ¶

type NullableUsersGroupsBaseSchema struct {
	// contains filtered or unexported fields
}

func (NullableUsersGroupsBaseSchema) Get ¶

func (NullableUsersGroupsBaseSchema) IsSet ¶

func (NullableUsersGroupsBaseSchema) MarshalJSON ¶

func (v NullableUsersGroupsBaseSchema) MarshalJSON() ([]byte, error)

func (*NullableUsersGroupsBaseSchema) Set ¶

func (*NullableUsersGroupsBaseSchema) UnmarshalJSON ¶

func (v *NullableUsersGroupsBaseSchema) UnmarshalJSON(src []byte) error

func (*NullableUsersGroupsBaseSchema) Unset ¶

func (v *NullableUsersGroupsBaseSchema) Unset()

type NullableUsersSchema ¶

type NullableUsersSchema struct {
	// contains filtered or unexported fields
}

func NewNullableUsersSchema ¶

func NewNullableUsersSchema(val *UsersSchema) *NullableUsersSchema

func (NullableUsersSchema) Get ¶

func (NullableUsersSchema) IsSet ¶

func (v NullableUsersSchema) IsSet() bool

func (NullableUsersSchema) MarshalJSON ¶

func (v NullableUsersSchema) MarshalJSON() ([]byte, error)

func (*NullableUsersSchema) Set ¶

func (v *NullableUsersSchema) Set(val *UsersSchema)

func (*NullableUsersSchema) UnmarshalJSON ¶

func (v *NullableUsersSchema) UnmarshalJSON(src []byte) error

func (*NullableUsersSchema) Unset ¶

func (v *NullableUsersSchema) Unset()

type NullableValidateFeatureSchema ¶

type NullableValidateFeatureSchema struct {
	// contains filtered or unexported fields
}

func (NullableValidateFeatureSchema) Get ¶

func (NullableValidateFeatureSchema) IsSet ¶

func (NullableValidateFeatureSchema) MarshalJSON ¶

func (v NullableValidateFeatureSchema) MarshalJSON() ([]byte, error)

func (*NullableValidateFeatureSchema) Set ¶

func (*NullableValidateFeatureSchema) UnmarshalJSON ¶

func (v *NullableValidateFeatureSchema) UnmarshalJSON(src []byte) error

func (*NullableValidateFeatureSchema) Unset ¶

func (v *NullableValidateFeatureSchema) Unset()

type NullableValidatePasswordSchema ¶

type NullableValidatePasswordSchema struct {
	// contains filtered or unexported fields
}

func (NullableValidatePasswordSchema) Get ¶

func (NullableValidatePasswordSchema) IsSet ¶

func (NullableValidatePasswordSchema) MarshalJSON ¶

func (v NullableValidatePasswordSchema) MarshalJSON() ([]byte, error)

func (*NullableValidatePasswordSchema) Set ¶

func (*NullableValidatePasswordSchema) UnmarshalJSON ¶

func (v *NullableValidatePasswordSchema) UnmarshalJSON(src []byte) error

func (*NullableValidatePasswordSchema) Unset ¶

func (v *NullableValidatePasswordSchema) Unset()

type NullableValidateProjectSchema ¶

type NullableValidateProjectSchema struct {
	// contains filtered or unexported fields
}

func (NullableValidateProjectSchema) Get ¶

func (NullableValidateProjectSchema) IsSet ¶

func (NullableValidateProjectSchema) MarshalJSON ¶

func (v NullableValidateProjectSchema) MarshalJSON() ([]byte, error)

func (*NullableValidateProjectSchema) Set ¶

func (*NullableValidateProjectSchema) UnmarshalJSON ¶

func (v *NullableValidateProjectSchema) UnmarshalJSON(src []byte) error

func (*NullableValidateProjectSchema) Unset ¶

func (v *NullableValidateProjectSchema) Unset()

type NullableValidatePublicSignupToken400Response ¶

type NullableValidatePublicSignupToken400Response struct {
	// contains filtered or unexported fields
}

func (NullableValidatePublicSignupToken400Response) Get ¶

func (NullableValidatePublicSignupToken400Response) IsSet ¶

func (NullableValidatePublicSignupToken400Response) MarshalJSON ¶

func (*NullableValidatePublicSignupToken400Response) Set ¶

func (*NullableValidatePublicSignupToken400Response) UnmarshalJSON ¶

func (*NullableValidatePublicSignupToken400Response) Unset ¶

type NullableValidateTagTypeSchema ¶

type NullableValidateTagTypeSchema struct {
	// contains filtered or unexported fields
}

func (NullableValidateTagTypeSchema) Get ¶

func (NullableValidateTagTypeSchema) IsSet ¶

func (NullableValidateTagTypeSchema) MarshalJSON ¶

func (v NullableValidateTagTypeSchema) MarshalJSON() ([]byte, error)

func (*NullableValidateTagTypeSchema) Set ¶

func (*NullableValidateTagTypeSchema) UnmarshalJSON ¶

func (v *NullableValidateTagTypeSchema) UnmarshalJSON(src []byte) error

func (*NullableValidateTagTypeSchema) Unset ¶

func (v *NullableValidateTagTypeSchema) Unset()

type NullableValidatedEdgeTokensSchema ¶

type NullableValidatedEdgeTokensSchema struct {
	// contains filtered or unexported fields
}

func (NullableValidatedEdgeTokensSchema) Get ¶

func (NullableValidatedEdgeTokensSchema) IsSet ¶

func (NullableValidatedEdgeTokensSchema) MarshalJSON ¶

func (v NullableValidatedEdgeTokensSchema) MarshalJSON() ([]byte, error)

func (*NullableValidatedEdgeTokensSchema) Set ¶

func (*NullableValidatedEdgeTokensSchema) UnmarshalJSON ¶

func (v *NullableValidatedEdgeTokensSchema) UnmarshalJSON(src []byte) error

func (*NullableValidatedEdgeTokensSchema) Unset ¶

type NullableVariantFlagSchema ¶

type NullableVariantFlagSchema struct {
	// contains filtered or unexported fields
}

func NewNullableVariantFlagSchema ¶

func NewNullableVariantFlagSchema(val *VariantFlagSchema) *NullableVariantFlagSchema

func (NullableVariantFlagSchema) Get ¶

func (NullableVariantFlagSchema) IsSet ¶

func (v NullableVariantFlagSchema) IsSet() bool

func (NullableVariantFlagSchema) MarshalJSON ¶

func (v NullableVariantFlagSchema) MarshalJSON() ([]byte, error)

func (*NullableVariantFlagSchema) Set ¶

func (*NullableVariantFlagSchema) UnmarshalJSON ¶

func (v *NullableVariantFlagSchema) UnmarshalJSON(src []byte) error

func (*NullableVariantFlagSchema) Unset ¶

func (v *NullableVariantFlagSchema) Unset()

type NullableVariantFlagSchemaPayload ¶

type NullableVariantFlagSchemaPayload struct {
	// contains filtered or unexported fields
}

func (NullableVariantFlagSchemaPayload) Get ¶

func (NullableVariantFlagSchemaPayload) IsSet ¶

func (NullableVariantFlagSchemaPayload) MarshalJSON ¶

func (v NullableVariantFlagSchemaPayload) MarshalJSON() ([]byte, error)

func (*NullableVariantFlagSchemaPayload) Set ¶

func (*NullableVariantFlagSchemaPayload) UnmarshalJSON ¶

func (v *NullableVariantFlagSchemaPayload) UnmarshalJSON(src []byte) error

func (*NullableVariantFlagSchemaPayload) Unset ¶

type NullableVariantSchema ¶

type NullableVariantSchema struct {
	// contains filtered or unexported fields
}

func NewNullableVariantSchema ¶

func NewNullableVariantSchema(val *VariantSchema) *NullableVariantSchema

func (NullableVariantSchema) Get ¶

func (NullableVariantSchema) IsSet ¶

func (v NullableVariantSchema) IsSet() bool

func (NullableVariantSchema) MarshalJSON ¶

func (v NullableVariantSchema) MarshalJSON() ([]byte, error)

func (*NullableVariantSchema) Set ¶

func (v *NullableVariantSchema) Set(val *VariantSchema)

func (*NullableVariantSchema) UnmarshalJSON ¶

func (v *NullableVariantSchema) UnmarshalJSON(src []byte) error

func (*NullableVariantSchema) Unset ¶

func (v *NullableVariantSchema) Unset()

type NullableVariantSchemaPayload ¶

type NullableVariantSchemaPayload struct {
	// contains filtered or unexported fields
}

func (NullableVariantSchemaPayload) Get ¶

func (NullableVariantSchemaPayload) IsSet ¶

func (NullableVariantSchemaPayload) MarshalJSON ¶

func (v NullableVariantSchemaPayload) MarshalJSON() ([]byte, error)

func (*NullableVariantSchemaPayload) Set ¶

func (*NullableVariantSchemaPayload) UnmarshalJSON ¶

func (v *NullableVariantSchemaPayload) UnmarshalJSON(src []byte) error

func (*NullableVariantSchemaPayload) Unset ¶

func (v *NullableVariantSchemaPayload) Unset()

type NullableVersionSchema ¶

type NullableVersionSchema struct {
	// contains filtered or unexported fields
}

func NewNullableVersionSchema ¶

func NewNullableVersionSchema(val *VersionSchema) *NullableVersionSchema

func (NullableVersionSchema) Get ¶

func (NullableVersionSchema) IsSet ¶

func (v NullableVersionSchema) IsSet() bool

func (NullableVersionSchema) MarshalJSON ¶

func (v NullableVersionSchema) MarshalJSON() ([]byte, error)

func (*NullableVersionSchema) Set ¶

func (v *NullableVersionSchema) Set(val *VersionSchema)

func (*NullableVersionSchema) UnmarshalJSON ¶

func (v *NullableVersionSchema) UnmarshalJSON(src []byte) error

func (*NullableVersionSchema) Unset ¶

func (v *NullableVersionSchema) Unset()

type NullableVersionSchemaCurrent ¶

type NullableVersionSchemaCurrent struct {
	// contains filtered or unexported fields
}

func (NullableVersionSchemaCurrent) Get ¶

func (NullableVersionSchemaCurrent) IsSet ¶

func (NullableVersionSchemaCurrent) MarshalJSON ¶

func (v NullableVersionSchemaCurrent) MarshalJSON() ([]byte, error)

func (*NullableVersionSchemaCurrent) Set ¶

func (*NullableVersionSchemaCurrent) UnmarshalJSON ¶

func (v *NullableVersionSchemaCurrent) UnmarshalJSON(src []byte) error

func (*NullableVersionSchemaCurrent) Unset ¶

func (v *NullableVersionSchemaCurrent) Unset()

type OidcSettingsSchema ¶

type OidcSettingsSchema struct {
	// `true` if OpenID connect is turned on for this instance, otherwise `false`
	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"`
	// 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/reference/rbac#standard-roles) granted to users auto-created from email. Only relevant if autoCreate is `true`
	DefaultRootRole *string `json:"defaultRootRole,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"`
}

OidcSettingsSchema Settings for configuring OpenID Connect as a login provider for Unleash

func NewOidcSettingsSchema ¶

func NewOidcSettingsSchema(clientId string, secret string) *OidcSettingsSchema

NewOidcSettingsSchema instantiates a new OidcSettingsSchema 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 NewOidcSettingsSchemaWithDefaults ¶

func NewOidcSettingsSchemaWithDefaults() *OidcSettingsSchema

NewOidcSettingsSchemaWithDefaults instantiates a new OidcSettingsSchema 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 (*OidcSettingsSchema) GetAcrValues ¶

func (o *OidcSettingsSchema) GetAcrValues() string

GetAcrValues returns the AcrValues field value if set, zero value otherwise.

func (*OidcSettingsSchema) GetAcrValuesOk ¶

func (o *OidcSettingsSchema) 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 (*OidcSettingsSchema) GetAutoCreate ¶

func (o *OidcSettingsSchema) GetAutoCreate() bool

GetAutoCreate returns the AutoCreate field value if set, zero value otherwise.

func (*OidcSettingsSchema) GetAutoCreateOk ¶

func (o *OidcSettingsSchema) 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 (*OidcSettingsSchema) GetClientId ¶

func (o *OidcSettingsSchema) GetClientId() string

GetClientId returns the ClientId field value

func (*OidcSettingsSchema) GetClientIdOk ¶

func (o *OidcSettingsSchema) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.

func (*OidcSettingsSchema) GetDefaultRootRole ¶

func (o *OidcSettingsSchema) GetDefaultRootRole() string

GetDefaultRootRole returns the DefaultRootRole field value if set, zero value otherwise.

func (*OidcSettingsSchema) GetDefaultRootRoleOk ¶

func (o *OidcSettingsSchema) 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 (*OidcSettingsSchema) GetDiscoverUrl ¶

func (o *OidcSettingsSchema) GetDiscoverUrl() string

GetDiscoverUrl returns the DiscoverUrl field value if set, zero value otherwise.

func (*OidcSettingsSchema) GetDiscoverUrlOk ¶

func (o *OidcSettingsSchema) 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 (*OidcSettingsSchema) GetEmailDomains ¶

func (o *OidcSettingsSchema) GetEmailDomains() string

GetEmailDomains returns the EmailDomains field value if set, zero value otherwise.

func (*OidcSettingsSchema) GetEmailDomainsOk ¶

func (o *OidcSettingsSchema) 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 (*OidcSettingsSchema) GetEnableSingleSignOut ¶

func (o *OidcSettingsSchema) GetEnableSingleSignOut() bool

GetEnableSingleSignOut returns the EnableSingleSignOut field value if set, zero value otherwise.

func (*OidcSettingsSchema) GetEnableSingleSignOutOk ¶

func (o *OidcSettingsSchema) 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 (*OidcSettingsSchema) GetEnabled ¶

func (o *OidcSettingsSchema) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*OidcSettingsSchema) GetEnabledOk ¶

func (o *OidcSettingsSchema) 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 (*OidcSettingsSchema) GetIdTokenSigningAlgorithm ¶

func (o *OidcSettingsSchema) GetIdTokenSigningAlgorithm() string

GetIdTokenSigningAlgorithm returns the IdTokenSigningAlgorithm field value if set, zero value otherwise.

func (*OidcSettingsSchema) GetIdTokenSigningAlgorithmOk ¶

func (o *OidcSettingsSchema) 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 (*OidcSettingsSchema) GetSecret ¶

func (o *OidcSettingsSchema) GetSecret() string

GetSecret returns the Secret field value

func (*OidcSettingsSchema) GetSecretOk ¶

func (o *OidcSettingsSchema) GetSecretOk() (*string, bool)

GetSecretOk returns a tuple with the Secret field value and a boolean to check if the value has been set.

func (*OidcSettingsSchema) HasAcrValues ¶

func (o *OidcSettingsSchema) HasAcrValues() bool

HasAcrValues returns a boolean if a field has been set.

func (*OidcSettingsSchema) HasAutoCreate ¶

func (o *OidcSettingsSchema) HasAutoCreate() bool

HasAutoCreate returns a boolean if a field has been set.

func (*OidcSettingsSchema) HasDefaultRootRole ¶

func (o *OidcSettingsSchema) HasDefaultRootRole() bool

HasDefaultRootRole returns a boolean if a field has been set.

func (*OidcSettingsSchema) HasDiscoverUrl ¶

func (o *OidcSettingsSchema) HasDiscoverUrl() bool

HasDiscoverUrl returns a boolean if a field has been set.

func (*OidcSettingsSchema) HasEmailDomains ¶

func (o *OidcSettingsSchema) HasEmailDomains() bool

HasEmailDomains returns a boolean if a field has been set.

func (*OidcSettingsSchema) HasEnableSingleSignOut ¶

func (o *OidcSettingsSchema) HasEnableSingleSignOut() bool

HasEnableSingleSignOut returns a boolean if a field has been set.

func (*OidcSettingsSchema) HasEnabled ¶

func (o *OidcSettingsSchema) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*OidcSettingsSchema) HasIdTokenSigningAlgorithm ¶

func (o *OidcSettingsSchema) HasIdTokenSigningAlgorithm() bool

HasIdTokenSigningAlgorithm returns a boolean if a field has been set.

func (OidcSettingsSchema) MarshalJSON ¶

func (o OidcSettingsSchema) MarshalJSON() ([]byte, error)

func (*OidcSettingsSchema) SetAcrValues ¶

func (o *OidcSettingsSchema) SetAcrValues(v string)

SetAcrValues gets a reference to the given string and assigns it to the AcrValues field.

func (*OidcSettingsSchema) SetAutoCreate ¶

func (o *OidcSettingsSchema) SetAutoCreate(v bool)

SetAutoCreate gets a reference to the given bool and assigns it to the AutoCreate field.

func (*OidcSettingsSchema) SetClientId ¶

func (o *OidcSettingsSchema) SetClientId(v string)

SetClientId sets field value

func (*OidcSettingsSchema) SetDefaultRootRole ¶

func (o *OidcSettingsSchema) SetDefaultRootRole(v string)

SetDefaultRootRole gets a reference to the given string and assigns it to the DefaultRootRole field.

func (*OidcSettingsSchema) SetDiscoverUrl ¶

func (o *OidcSettingsSchema) SetDiscoverUrl(v string)

SetDiscoverUrl gets a reference to the given string and assigns it to the DiscoverUrl field.

func (*OidcSettingsSchema) SetEmailDomains ¶

func (o *OidcSettingsSchema) SetEmailDomains(v string)

SetEmailDomains gets a reference to the given string and assigns it to the EmailDomains field.

func (*OidcSettingsSchema) SetEnableSingleSignOut ¶

func (o *OidcSettingsSchema) SetEnableSingleSignOut(v bool)

SetEnableSingleSignOut gets a reference to the given bool and assigns it to the EnableSingleSignOut field.

func (*OidcSettingsSchema) SetEnabled ¶

func (o *OidcSettingsSchema) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*OidcSettingsSchema) SetIdTokenSigningAlgorithm ¶

func (o *OidcSettingsSchema) SetIdTokenSigningAlgorithm(v string)

SetIdTokenSigningAlgorithm gets a reference to the given string and assigns it to the IdTokenSigningAlgorithm field.

func (*OidcSettingsSchema) SetSecret ¶

func (o *OidcSettingsSchema) SetSecret(v string)

SetSecret sets field value

func (OidcSettingsSchema) ToMap ¶

func (o OidcSettingsSchema) ToMap() (map[string]interface{}, error)

type OperationalApiService ¶

type OperationalApiService service

OperationalApiService OperationalApi service

func (*OperationalApiService) GetHealth ¶

GetHealth Get instance operational status

This operation returns information about whether this Unleash instance is healthy and ready to serve requests or not. Typically used by your deployment orchestrator (e.g. Kubernetes, Docker Swarm, Mesos, et al.).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetHealthRequest

func (*OperationalApiService) GetHealthExecute ¶

Execute executes the request

@return HealthCheckSchema

type OverrideSchema ¶

type OverrideSchema struct {
	// The name of the context field used to determine overrides
	ContextName string `json:"contextName"`
	// Which values that should be overriden
	Values []string `json:"values"`
}

OverrideSchema An override for deciding which variant should be assigned to a user based on the context name

func NewOverrideSchema ¶

func NewOverrideSchema(contextName string, values []string) *OverrideSchema

NewOverrideSchema instantiates a new OverrideSchema 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 NewOverrideSchemaWithDefaults ¶

func NewOverrideSchemaWithDefaults() *OverrideSchema

NewOverrideSchemaWithDefaults instantiates a new OverrideSchema 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 (*OverrideSchema) GetContextName ¶

func (o *OverrideSchema) GetContextName() string

GetContextName returns the ContextName field value

func (*OverrideSchema) GetContextNameOk ¶

func (o *OverrideSchema) GetContextNameOk() (*string, bool)

GetContextNameOk returns a tuple with the ContextName field value and a boolean to check if the value has been set.

func (*OverrideSchema) GetValues ¶

func (o *OverrideSchema) GetValues() []string

GetValues returns the Values field value

func (*OverrideSchema) GetValuesOk ¶

func (o *OverrideSchema) GetValuesOk() ([]string, bool)

GetValuesOk returns a tuple with the Values field value and a boolean to check if the value has been set.

func (OverrideSchema) MarshalJSON ¶

func (o OverrideSchema) MarshalJSON() ([]byte, error)

func (*OverrideSchema) SetContextName ¶

func (o *OverrideSchema) SetContextName(v string)

SetContextName sets field value

func (*OverrideSchema) SetValues ¶

func (o *OverrideSchema) SetValues(v []string)

SetValues sets field value

func (OverrideSchema) ToMap ¶

func (o OverrideSchema) ToMap() (map[string]interface{}, error)

type PasswordAuthSchema ¶

type PasswordAuthSchema struct {
	// Is username/password authentication enabled
	Enabled *bool `json:"enabled,omitempty"`
}

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) GetEnabled ¶

func (o *PasswordAuthSchema) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*PasswordAuthSchema) GetEnabledOk ¶

func (o *PasswordAuthSchema) 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 (*PasswordAuthSchema) HasEnabled ¶

func (o *PasswordAuthSchema) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (PasswordAuthSchema) MarshalJSON ¶

func (o PasswordAuthSchema) MarshalJSON() ([]byte, error)

func (*PasswordAuthSchema) SetEnabled ¶

func (o *PasswordAuthSchema) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (PasswordAuthSchema) ToMap ¶

func (o PasswordAuthSchema) ToMap() (map[string]interface{}, error)

type PasswordSchema ¶

type PasswordSchema struct {
	Password        string  `json:"password"`
	OldPassword     *string `json:"oldPassword,omitempty"`
	ConfirmPassword *string `json:"confirmPassword,omitempty"`
}

PasswordSchema struct for PasswordSchema

func NewPasswordSchema ¶

func NewPasswordSchema(password string) *PasswordSchema

NewPasswordSchema instantiates a new PasswordSchema 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 NewPasswordSchemaWithDefaults ¶

func NewPasswordSchemaWithDefaults() *PasswordSchema

NewPasswordSchemaWithDefaults instantiates a new PasswordSchema 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 (*PasswordSchema) GetConfirmPassword ¶

func (o *PasswordSchema) GetConfirmPassword() string

GetConfirmPassword returns the ConfirmPassword field value if set, zero value otherwise.

func (*PasswordSchema) GetConfirmPasswordOk ¶

func (o *PasswordSchema) GetConfirmPasswordOk() (*string, bool)

GetConfirmPasswordOk returns a tuple with the ConfirmPassword field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PasswordSchema) GetOldPassword ¶

func (o *PasswordSchema) GetOldPassword() string

GetOldPassword returns the OldPassword field value if set, zero value otherwise.

func (*PasswordSchema) GetOldPasswordOk ¶

func (o *PasswordSchema) GetOldPasswordOk() (*string, bool)

GetOldPasswordOk returns a tuple with the OldPassword field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PasswordSchema) GetPassword ¶

func (o *PasswordSchema) GetPassword() string

GetPassword returns the Password field value

func (*PasswordSchema) GetPasswordOk ¶

func (o *PasswordSchema) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*PasswordSchema) HasConfirmPassword ¶

func (o *PasswordSchema) HasConfirmPassword() bool

HasConfirmPassword returns a boolean if a field has been set.

func (*PasswordSchema) HasOldPassword ¶

func (o *PasswordSchema) HasOldPassword() bool

HasOldPassword returns a boolean if a field has been set.

func (PasswordSchema) MarshalJSON ¶

func (o PasswordSchema) MarshalJSON() ([]byte, error)

func (*PasswordSchema) SetConfirmPassword ¶

func (o *PasswordSchema) SetConfirmPassword(v string)

SetConfirmPassword gets a reference to the given string and assigns it to the ConfirmPassword field.

func (*PasswordSchema) SetOldPassword ¶

func (o *PasswordSchema) SetOldPassword(v string)

SetOldPassword gets a reference to the given string and assigns it to the OldPassword field.

func (*PasswordSchema) SetPassword ¶

func (o *PasswordSchema) SetPassword(v string)

SetPassword sets field value

func (PasswordSchema) ToMap ¶

func (o PasswordSchema) ToMap() (map[string]interface{}, error)

type PatSchema ¶

type PatSchema struct {
	// The unique identification number for this Personal Access Token. (This property is set by Unleash when the token is created and cannot be set manually: if you provide a value when creating a PAT, Unleash will ignore it.)
	Id *int32 `json:"id,omitempty"`
	// The token used for authentication. (This property is set by Unleash when the token is created and cannot be set manually: if you provide a value when creating a PAT, Unleash will ignore it.)
	Secret *string `json:"secret,omitempty"`
	// The token's expiration date.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	// When the token was created. (This property is set by Unleash when the token is created and cannot be set manually: if you provide a value when creating a PAT, Unleash will ignore it.)
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// When the token was last seen/used to authenticate with. `null` if it has not been used yet. (This property is set by Unleash when the token is created and cannot be set manually: if you provide a value when creating a PAT, Unleash will ignore it.)
	SeenAt NullableTime `json:"seenAt,omitempty"`
}

PatSchema An overview of a [Personal Access Token](https://docs.getunleash.io/how-to/how-to-create-personal-access-tokens).

func NewPatSchema ¶

func NewPatSchema() *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 if set, zero value otherwise.

func (*PatSchema) GetCreatedAtOk ¶

func (o *PatSchema) 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 (*PatSchema) GetExpiresAt ¶

func (o *PatSchema) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*PatSchema) GetExpiresAtOk ¶

func (o *PatSchema) 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 (*PatSchema) GetId ¶

func (o *PatSchema) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*PatSchema) GetIdOk ¶

func (o *PatSchema) 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 (*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) HasCreatedAt ¶

func (o *PatSchema) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PatSchema) HasExpiresAt ¶

func (o *PatSchema) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*PatSchema) HasId ¶

func (o *PatSchema) HasId() bool

HasId returns a boolean if a field 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) MarshalJSON ¶

func (o PatSchema) MarshalJSON() ([]byte, error)

func (*PatSchema) SetCreatedAt ¶

func (o *PatSchema) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PatSchema) SetExpiresAt ¶

func (o *PatSchema) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*PatSchema) SetId ¶

func (o *PatSchema) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

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) ToMap ¶

func (o PatSchema) ToMap() (map[string]interface{}, error)

func (*PatSchema) UnsetSeenAt ¶

func (o *PatSchema) UnsetSeenAt()

UnsetSeenAt ensures that no value is present for SeenAt, not even an explicit nil

type PatchSchema ¶

type PatchSchema struct {
	Path  string      `json:"path"`
	Op    string      `json:"op"`
	From  *string     `json:"from,omitempty"`
	Value interface{} `json:"value,omitempty"`
}

PatchSchema struct for PatchSchema

func NewPatchSchema ¶

func NewPatchSchema(path string, op string) *PatchSchema

NewPatchSchema instantiates a new PatchSchema 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 NewPatchSchemaWithDefaults ¶

func NewPatchSchemaWithDefaults() *PatchSchema

NewPatchSchemaWithDefaults instantiates a new PatchSchema 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 (*PatchSchema) GetFrom ¶

func (o *PatchSchema) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*PatchSchema) GetFromOk ¶

func (o *PatchSchema) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchSchema) GetOp ¶

func (o *PatchSchema) GetOp() string

GetOp returns the Op field value

func (*PatchSchema) GetOpOk ¶

func (o *PatchSchema) GetOpOk() (*string, bool)

GetOpOk returns a tuple with the Op field value and a boolean to check if the value has been set.

func (*PatchSchema) GetPath ¶

func (o *PatchSchema) GetPath() string

GetPath returns the Path field value

func (*PatchSchema) GetPathOk ¶

func (o *PatchSchema) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*PatchSchema) GetValue ¶

func (o *PatchSchema) GetValue() interface{}

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchSchema) GetValueOk ¶

func (o *PatchSchema) GetValueOk() (*interface{}, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchSchema) HasFrom ¶

func (o *PatchSchema) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*PatchSchema) HasValue ¶

func (o *PatchSchema) HasValue() bool

HasValue returns a boolean if a field has been set.

func (PatchSchema) MarshalJSON ¶

func (o PatchSchema) MarshalJSON() ([]byte, error)

func (*PatchSchema) SetFrom ¶

func (o *PatchSchema) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*PatchSchema) SetOp ¶

func (o *PatchSchema) SetOp(v string)

SetOp sets field value

func (*PatchSchema) SetPath ¶

func (o *PatchSchema) SetPath(v string)

SetPath sets field value

func (*PatchSchema) SetValue ¶

func (o *PatchSchema) SetValue(v interface{})

SetValue gets a reference to the given interface{} and assigns it to the Value field.

func (PatchSchema) ToMap ¶

func (o PatchSchema) ToMap() (map[string]interface{}, error)

type PatsSchema ¶

type PatsSchema struct {
	// A collection of Personal Access Tokens
	Pats []PatSchema `json:"pats,omitempty"`
}

PatsSchema Contains a collection of [Personal Access Tokens](https://docs.getunleash.io/how-to/how-to-create-personal-access-tokens).

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)

type PermissionSchema ¶

type PermissionSchema struct {
	Permission  string  `json:"permission"`
	Project     *string `json:"project,omitempty"`
	Environment *string `json:"environment,omitempty"`
}

PermissionSchema struct for PermissionSchema

func NewPermissionSchema ¶

func NewPermissionSchema(permission string) *PermissionSchema

NewPermissionSchema instantiates a new PermissionSchema 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 NewPermissionSchemaWithDefaults ¶

func NewPermissionSchemaWithDefaults() *PermissionSchema

NewPermissionSchemaWithDefaults instantiates a new PermissionSchema 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 (*PermissionSchema) GetEnvironment ¶

func (o *PermissionSchema) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*PermissionSchema) GetEnvironmentOk ¶

func (o *PermissionSchema) 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 (*PermissionSchema) GetPermission ¶

func (o *PermissionSchema) GetPermission() string

GetPermission returns the Permission field value

func (*PermissionSchema) GetPermissionOk ¶

func (o *PermissionSchema) GetPermissionOk() (*string, bool)

GetPermissionOk returns a tuple with the Permission field value and a boolean to check if the value has been set.

func (*PermissionSchema) GetProject ¶

func (o *PermissionSchema) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*PermissionSchema) GetProjectOk ¶

func (o *PermissionSchema) 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 (*PermissionSchema) HasEnvironment ¶

func (o *PermissionSchema) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*PermissionSchema) HasProject ¶

func (o *PermissionSchema) HasProject() bool

HasProject returns a boolean if a field has been set.

func (PermissionSchema) MarshalJSON ¶

func (o PermissionSchema) MarshalJSON() ([]byte, error)

func (*PermissionSchema) SetEnvironment ¶

func (o *PermissionSchema) SetEnvironment(v string)

SetEnvironment gets a reference to the given string and assigns it to the Environment field.

func (*PermissionSchema) SetPermission ¶

func (o *PermissionSchema) SetPermission(v string)

SetPermission sets field value

func (*PermissionSchema) SetProject ¶

func (o *PermissionSchema) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (PermissionSchema) ToMap ¶

func (o PermissionSchema) ToMap() (map[string]interface{}, error)

type PersonalAccessTokensApiService ¶

type PersonalAccessTokensApiService service

PersonalAccessTokensApiService PersonalAccessTokensApi service

func (*PersonalAccessTokensApiService) CreatePat ¶

CreatePat Create a new Personal Access Token.

Creates a new [Personal Access Token](https://docs.getunleash.io/how-to/how-to-create-personal-access-tokens) for the current user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreatePatRequest

func (*PersonalAccessTokensApiService) CreatePatExecute ¶

Execute executes the request

@return PatSchema

func (*PersonalAccessTokensApiService) DeletePat ¶

DeletePat Delete a Personal Access Token.

This endpoint allows for deleting a [Personal Access Token](https://docs.getunleash.io/how-to/how-to-create-personal-access-tokens) belonging to the current user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiDeletePatRequest

func (*PersonalAccessTokensApiService) DeletePatExecute ¶

Execute executes the request

func (*PersonalAccessTokensApiService) GetPats ¶

GetPats Get all Personal Access Tokens for the current user.

Returns all of the [Personal Access Tokens](https://docs.getunleash.io/how-to/how-to-create-personal-access-tokens) belonging to the current user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetPatsRequest

func (*PersonalAccessTokensApiService) GetPatsExecute ¶

Execute executes the request

@return PatsSchema

type PlaygroundApiService ¶

type PlaygroundApiService service

PlaygroundApiService PlaygroundApi service

func (*PlaygroundApiService) GetPlayground ¶

GetPlayground Evaluate an Unleash context against a set of environments and projects.

Use the provided `context`, `environment`, and `projects` to evaluate toggles on this Unleash instance. Returns a list of all toggles that match the parameters and what they evaluate to. The response also contains the input parameters that were provided.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetPlaygroundRequest

func (*PlaygroundApiService) GetPlaygroundExecute ¶

Execute executes the request

@return PlaygroundResponseSchema

type PlaygroundConstraintSchema ¶

type PlaygroundConstraintSchema 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/reference/strategy-constraints#strategy-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"`
	// Whether this was evaluated as true or false.
	Result bool `json:"result"`
}

PlaygroundConstraintSchema A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/reference/strategy-constraints)

func NewPlaygroundConstraintSchema ¶

func NewPlaygroundConstraintSchema(contextName string, operator string, result bool) *PlaygroundConstraintSchema

NewPlaygroundConstraintSchema instantiates a new PlaygroundConstraintSchema 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 NewPlaygroundConstraintSchemaWithDefaults ¶

func NewPlaygroundConstraintSchemaWithDefaults() *PlaygroundConstraintSchema

NewPlaygroundConstraintSchemaWithDefaults instantiates a new PlaygroundConstraintSchema 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 (*PlaygroundConstraintSchema) GetCaseInsensitive ¶

func (o *PlaygroundConstraintSchema) GetCaseInsensitive() bool

GetCaseInsensitive returns the CaseInsensitive field value if set, zero value otherwise.

func (*PlaygroundConstraintSchema) GetCaseInsensitiveOk ¶

func (o *PlaygroundConstraintSchema) 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 (*PlaygroundConstraintSchema) GetContextName ¶

func (o *PlaygroundConstraintSchema) GetContextName() string

GetContextName returns the ContextName field value

func (*PlaygroundConstraintSchema) GetContextNameOk ¶

func (o *PlaygroundConstraintSchema) GetContextNameOk() (*string, bool)

GetContextNameOk returns a tuple with the ContextName field value and a boolean to check if the value has been set.

func (*PlaygroundConstraintSchema) GetInverted ¶

func (o *PlaygroundConstraintSchema) GetInverted() bool

GetInverted returns the Inverted field value if set, zero value otherwise.

func (*PlaygroundConstraintSchema) GetInvertedOk ¶

func (o *PlaygroundConstraintSchema) 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 (*PlaygroundConstraintSchema) GetOperator ¶

func (o *PlaygroundConstraintSchema) GetOperator() string

GetOperator returns the Operator field value

func (*PlaygroundConstraintSchema) GetOperatorOk ¶

func (o *PlaygroundConstraintSchema) GetOperatorOk() (*string, bool)

GetOperatorOk returns a tuple with the Operator field value and a boolean to check if the value has been set.

func (*PlaygroundConstraintSchema) GetResult ¶

func (o *PlaygroundConstraintSchema) GetResult() bool

GetResult returns the Result field value

func (*PlaygroundConstraintSchema) GetResultOk ¶

func (o *PlaygroundConstraintSchema) GetResultOk() (*bool, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (*PlaygroundConstraintSchema) GetValue ¶

func (o *PlaygroundConstraintSchema) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*PlaygroundConstraintSchema) GetValueOk ¶

func (o *PlaygroundConstraintSchema) 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 (*PlaygroundConstraintSchema) GetValues ¶

func (o *PlaygroundConstraintSchema) GetValues() []string

GetValues returns the Values field value if set, zero value otherwise.

func (*PlaygroundConstraintSchema) GetValuesOk ¶

func (o *PlaygroundConstraintSchema) 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 (*PlaygroundConstraintSchema) HasCaseInsensitive ¶

func (o *PlaygroundConstraintSchema) HasCaseInsensitive() bool

HasCaseInsensitive returns a boolean if a field has been set.

func (*PlaygroundConstraintSchema) HasInverted ¶

func (o *PlaygroundConstraintSchema) HasInverted() bool

HasInverted returns a boolean if a field has been set.

func (*PlaygroundConstraintSchema) HasValue ¶

func (o *PlaygroundConstraintSchema) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*PlaygroundConstraintSchema) HasValues ¶

func (o *PlaygroundConstraintSchema) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PlaygroundConstraintSchema) MarshalJSON ¶

func (o PlaygroundConstraintSchema) MarshalJSON() ([]byte, error)

func (*PlaygroundConstraintSchema) SetCaseInsensitive ¶

func (o *PlaygroundConstraintSchema) SetCaseInsensitive(v bool)

SetCaseInsensitive gets a reference to the given bool and assigns it to the CaseInsensitive field.

func (*PlaygroundConstraintSchema) SetContextName ¶

func (o *PlaygroundConstraintSchema) SetContextName(v string)

SetContextName sets field value

func (*PlaygroundConstraintSchema) SetInverted ¶

func (o *PlaygroundConstraintSchema) SetInverted(v bool)

SetInverted gets a reference to the given bool and assigns it to the Inverted field.

func (*PlaygroundConstraintSchema) SetOperator ¶

func (o *PlaygroundConstraintSchema) SetOperator(v string)

SetOperator sets field value

func (*PlaygroundConstraintSchema) SetResult ¶

func (o *PlaygroundConstraintSchema) SetResult(v bool)

SetResult sets field value

func (*PlaygroundConstraintSchema) SetValue ¶

func (o *PlaygroundConstraintSchema) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (*PlaygroundConstraintSchema) SetValues ¶

func (o *PlaygroundConstraintSchema) SetValues(v []string)

SetValues gets a reference to the given []string and assigns it to the Values field.

func (PlaygroundConstraintSchema) ToMap ¶

func (o PlaygroundConstraintSchema) ToMap() (map[string]interface{}, error)

type PlaygroundFeatureSchema ¶

type PlaygroundFeatureSchema struct {
	// The feature's name.
	Name string `json:"name"`
	// The ID of the project that contains this feature.
	ProjectId  string                            `json:"projectId"`
	Strategies PlaygroundFeatureSchemaStrategies `json:"strategies"`
	// Whether the feature is active and would be evaluated in the provided environment in a normal SDK context.
	IsEnabledInCurrentEnvironment bool `json:"isEnabledInCurrentEnvironment"`
	// Whether this feature is enabled or not in the current environment.                           If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`),                           this will be `false` to align with how client SDKs treat unresolved feature states.
	IsEnabled bool                                                      `json:"isEnabled"`
	Variant   NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant `json:"variant"`
	// The feature variants.
	Variants []VariantSchema `json:"variants"`
}

PlaygroundFeatureSchema A simplified feature toggle model intended for the Unleash playground.

func NewPlaygroundFeatureSchema ¶

func NewPlaygroundFeatureSchema(name string, projectId string, strategies PlaygroundFeatureSchemaStrategies, isEnabledInCurrentEnvironment bool, isEnabled bool, variant NullableAdvancedPlaygroundEnvironmentFeatureSchemaVariant, variants []VariantSchema) *PlaygroundFeatureSchema

NewPlaygroundFeatureSchema instantiates a new PlaygroundFeatureSchema 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 NewPlaygroundFeatureSchemaWithDefaults ¶

func NewPlaygroundFeatureSchemaWithDefaults() *PlaygroundFeatureSchema

NewPlaygroundFeatureSchemaWithDefaults instantiates a new PlaygroundFeatureSchema 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 (*PlaygroundFeatureSchema) GetIsEnabled ¶

func (o *PlaygroundFeatureSchema) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value

func (*PlaygroundFeatureSchema) GetIsEnabledInCurrentEnvironment ¶

func (o *PlaygroundFeatureSchema) GetIsEnabledInCurrentEnvironment() bool

GetIsEnabledInCurrentEnvironment returns the IsEnabledInCurrentEnvironment field value

func (*PlaygroundFeatureSchema) GetIsEnabledInCurrentEnvironmentOk ¶

func (o *PlaygroundFeatureSchema) GetIsEnabledInCurrentEnvironmentOk() (*bool, bool)

GetIsEnabledInCurrentEnvironmentOk returns a tuple with the IsEnabledInCurrentEnvironment field value and a boolean to check if the value has been set.

func (*PlaygroundFeatureSchema) GetIsEnabledOk ¶

func (o *PlaygroundFeatureSchema) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value and a boolean to check if the value has been set.

func (*PlaygroundFeatureSchema) GetName ¶

func (o *PlaygroundFeatureSchema) GetName() string

GetName returns the Name field value

func (*PlaygroundFeatureSchema) GetNameOk ¶

func (o *PlaygroundFeatureSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PlaygroundFeatureSchema) GetProjectId ¶

func (o *PlaygroundFeatureSchema) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*PlaygroundFeatureSchema) GetProjectIdOk ¶

func (o *PlaygroundFeatureSchema) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*PlaygroundFeatureSchema) GetStrategies ¶

GetStrategies returns the Strategies field value

func (*PlaygroundFeatureSchema) GetStrategiesOk ¶

GetStrategiesOk returns a tuple with the Strategies field value and a boolean to check if the value has been set.

func (*PlaygroundFeatureSchema) GetVariant ¶

GetVariant returns the Variant field value If the value is explicit nil, the zero value for AdvancedPlaygroundEnvironmentFeatureSchemaVariant will be returned

func (*PlaygroundFeatureSchema) GetVariantOk ¶

GetVariantOk returns a tuple with the Variant 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 (*PlaygroundFeatureSchema) GetVariants ¶

func (o *PlaygroundFeatureSchema) GetVariants() []VariantSchema

GetVariants returns the Variants field value

func (*PlaygroundFeatureSchema) GetVariantsOk ¶

func (o *PlaygroundFeatureSchema) GetVariantsOk() ([]VariantSchema, bool)

GetVariantsOk returns a tuple with the Variants field value and a boolean to check if the value has been set.

func (PlaygroundFeatureSchema) MarshalJSON ¶

func (o PlaygroundFeatureSchema) MarshalJSON() ([]byte, error)

func (*PlaygroundFeatureSchema) SetIsEnabled ¶

func (o *PlaygroundFeatureSchema) SetIsEnabled(v bool)

SetIsEnabled sets field value

func (*PlaygroundFeatureSchema) SetIsEnabledInCurrentEnvironment ¶

func (o *PlaygroundFeatureSchema) SetIsEnabledInCurrentEnvironment(v bool)

SetIsEnabledInCurrentEnvironment sets field value

func (*PlaygroundFeatureSchema) SetName ¶

func (o *PlaygroundFeatureSchema) SetName(v string)

SetName sets field value

func (*PlaygroundFeatureSchema) SetProjectId ¶

func (o *PlaygroundFeatureSchema) SetProjectId(v string)

SetProjectId sets field value

func (*PlaygroundFeatureSchema) SetStrategies ¶

SetStrategies sets field value

func (*PlaygroundFeatureSchema) SetVariant ¶

SetVariant sets field value

func (*PlaygroundFeatureSchema) SetVariants ¶

func (o *PlaygroundFeatureSchema) SetVariants(v []VariantSchema)

SetVariants sets field value

func (PlaygroundFeatureSchema) ToMap ¶

func (o PlaygroundFeatureSchema) ToMap() (map[string]interface{}, error)

type PlaygroundFeatureSchemaStrategies ¶

type PlaygroundFeatureSchemaStrategies struct {
	Result AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult `json:"result"`
	// The strategies that apply to this feature.
	Data []PlaygroundStrategySchema `json:"data"`
}

PlaygroundFeatureSchemaStrategies The feature's applicable strategies and cumulative results of the strategies

func NewPlaygroundFeatureSchemaStrategies ¶

NewPlaygroundFeatureSchemaStrategies instantiates a new PlaygroundFeatureSchemaStrategies 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 NewPlaygroundFeatureSchemaStrategiesWithDefaults ¶

func NewPlaygroundFeatureSchemaStrategiesWithDefaults() *PlaygroundFeatureSchemaStrategies

NewPlaygroundFeatureSchemaStrategiesWithDefaults instantiates a new PlaygroundFeatureSchemaStrategies 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 (*PlaygroundFeatureSchemaStrategies) GetData ¶

GetData returns the Data field value

func (*PlaygroundFeatureSchemaStrategies) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*PlaygroundFeatureSchemaStrategies) GetResult ¶

GetResult returns the Result field value

func (*PlaygroundFeatureSchemaStrategies) GetResultOk ¶

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (PlaygroundFeatureSchemaStrategies) MarshalJSON ¶

func (o PlaygroundFeatureSchemaStrategies) MarshalJSON() ([]byte, error)

func (*PlaygroundFeatureSchemaStrategies) SetData ¶

SetData sets field value

func (*PlaygroundFeatureSchemaStrategies) SetResult ¶

SetResult sets field value

func (PlaygroundFeatureSchemaStrategies) ToMap ¶

func (o PlaygroundFeatureSchemaStrategies) ToMap() (map[string]interface{}, error)

type PlaygroundRequestSchema ¶

type PlaygroundRequestSchema struct {
	// The environment to evaluate toggles in.
	Environment string                                   `json:"environment"`
	Projects    *AdvancedPlaygroundRequestSchemaProjects `json:"projects,omitempty"`
	Context     SdkContextSchema                         `json:"context"`
}

PlaygroundRequestSchema Data for the playground API to evaluate toggles

func NewPlaygroundRequestSchema ¶

func NewPlaygroundRequestSchema(environment string, context SdkContextSchema) *PlaygroundRequestSchema

NewPlaygroundRequestSchema instantiates a new PlaygroundRequestSchema 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 NewPlaygroundRequestSchemaWithDefaults ¶

func NewPlaygroundRequestSchemaWithDefaults() *PlaygroundRequestSchema

NewPlaygroundRequestSchemaWithDefaults instantiates a new PlaygroundRequestSchema 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 (*PlaygroundRequestSchema) GetContext ¶

func (o *PlaygroundRequestSchema) GetContext() SdkContextSchema

GetContext returns the Context field value

func (*PlaygroundRequestSchema) GetContextOk ¶

func (o *PlaygroundRequestSchema) GetContextOk() (*SdkContextSchema, bool)

GetContextOk returns a tuple with the Context field value and a boolean to check if the value has been set.

func (*PlaygroundRequestSchema) GetEnvironment ¶

func (o *PlaygroundRequestSchema) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*PlaygroundRequestSchema) GetEnvironmentOk ¶

func (o *PlaygroundRequestSchema) GetEnvironmentOk() (*string, bool)

GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.

func (*PlaygroundRequestSchema) GetProjects ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*PlaygroundRequestSchema) GetProjectsOk ¶

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 (*PlaygroundRequestSchema) HasProjects ¶

func (o *PlaygroundRequestSchema) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (PlaygroundRequestSchema) MarshalJSON ¶

func (o PlaygroundRequestSchema) MarshalJSON() ([]byte, error)

func (*PlaygroundRequestSchema) SetContext ¶

func (o *PlaygroundRequestSchema) SetContext(v SdkContextSchema)

SetContext sets field value

func (*PlaygroundRequestSchema) SetEnvironment ¶

func (o *PlaygroundRequestSchema) SetEnvironment(v string)

SetEnvironment sets field value

func (*PlaygroundRequestSchema) SetProjects ¶

SetProjects gets a reference to the given AdvancedPlaygroundRequestSchemaProjects and assigns it to the Projects field.

func (PlaygroundRequestSchema) ToMap ¶

func (o PlaygroundRequestSchema) ToMap() (map[string]interface{}, error)

type PlaygroundResponseSchema ¶

type PlaygroundResponseSchema struct {
	Input PlaygroundRequestSchema `json:"input"`
	// The list of features that have been evaluated.
	Features []PlaygroundFeatureSchema `json:"features"`
}

PlaygroundResponseSchema The state of all features given the provided input.

func NewPlaygroundResponseSchema ¶

func NewPlaygroundResponseSchema(input PlaygroundRequestSchema, features []PlaygroundFeatureSchema) *PlaygroundResponseSchema

NewPlaygroundResponseSchema instantiates a new PlaygroundResponseSchema 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 NewPlaygroundResponseSchemaWithDefaults ¶

func NewPlaygroundResponseSchemaWithDefaults() *PlaygroundResponseSchema

NewPlaygroundResponseSchemaWithDefaults instantiates a new PlaygroundResponseSchema 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 (*PlaygroundResponseSchema) GetFeatures ¶

GetFeatures returns the Features field value

func (*PlaygroundResponseSchema) GetFeaturesOk ¶

func (o *PlaygroundResponseSchema) GetFeaturesOk() ([]PlaygroundFeatureSchema, bool)

GetFeaturesOk returns a tuple with the Features field value and a boolean to check if the value has been set.

func (*PlaygroundResponseSchema) GetInput ¶

GetInput returns the Input field value

func (*PlaygroundResponseSchema) GetInputOk ¶

GetInputOk returns a tuple with the Input field value and a boolean to check if the value has been set.

func (PlaygroundResponseSchema) MarshalJSON ¶

func (o PlaygroundResponseSchema) MarshalJSON() ([]byte, error)

func (*PlaygroundResponseSchema) SetFeatures ¶

SetFeatures sets field value

func (*PlaygroundResponseSchema) SetInput ¶

SetInput sets field value

func (PlaygroundResponseSchema) ToMap ¶

func (o PlaygroundResponseSchema) ToMap() (map[string]interface{}, error)

type PlaygroundSegmentSchema ¶

type PlaygroundSegmentSchema struct {
	// The segment's id.
	Id int32 `json:"id"`
	// The name of the segment.
	Name string `json:"name"`
	// Whether this was evaluated as true or false.
	Result bool `json:"result"`
	// The list of constraints in this segment.
	Constraints []PlaygroundConstraintSchema `json:"constraints"`
}

PlaygroundSegmentSchema struct for PlaygroundSegmentSchema

func NewPlaygroundSegmentSchema ¶

func NewPlaygroundSegmentSchema(id int32, name string, result bool, constraints []PlaygroundConstraintSchema) *PlaygroundSegmentSchema

NewPlaygroundSegmentSchema instantiates a new PlaygroundSegmentSchema 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 NewPlaygroundSegmentSchemaWithDefaults ¶

func NewPlaygroundSegmentSchemaWithDefaults() *PlaygroundSegmentSchema

NewPlaygroundSegmentSchemaWithDefaults instantiates a new PlaygroundSegmentSchema 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 (*PlaygroundSegmentSchema) GetConstraints ¶

GetConstraints returns the Constraints field value

func (*PlaygroundSegmentSchema) GetConstraintsOk ¶

func (o *PlaygroundSegmentSchema) GetConstraintsOk() ([]PlaygroundConstraintSchema, bool)

GetConstraintsOk returns a tuple with the Constraints field value and a boolean to check if the value has been set.

func (*PlaygroundSegmentSchema) GetId ¶

func (o *PlaygroundSegmentSchema) GetId() int32

GetId returns the Id field value

func (*PlaygroundSegmentSchema) GetIdOk ¶

func (o *PlaygroundSegmentSchema) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PlaygroundSegmentSchema) GetName ¶

func (o *PlaygroundSegmentSchema) GetName() string

GetName returns the Name field value

func (*PlaygroundSegmentSchema) GetNameOk ¶

func (o *PlaygroundSegmentSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PlaygroundSegmentSchema) GetResult ¶

func (o *PlaygroundSegmentSchema) GetResult() bool

GetResult returns the Result field value

func (*PlaygroundSegmentSchema) GetResultOk ¶

func (o *PlaygroundSegmentSchema) GetResultOk() (*bool, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (PlaygroundSegmentSchema) MarshalJSON ¶

func (o PlaygroundSegmentSchema) MarshalJSON() ([]byte, error)

func (*PlaygroundSegmentSchema) SetConstraints ¶

func (o *PlaygroundSegmentSchema) SetConstraints(v []PlaygroundConstraintSchema)

SetConstraints sets field value

func (*PlaygroundSegmentSchema) SetId ¶

func (o *PlaygroundSegmentSchema) SetId(v int32)

SetId sets field value

func (*PlaygroundSegmentSchema) SetName ¶

func (o *PlaygroundSegmentSchema) SetName(v string)

SetName sets field value

func (*PlaygroundSegmentSchema) SetResult ¶

func (o *PlaygroundSegmentSchema) SetResult(v bool)

SetResult sets field value

func (PlaygroundSegmentSchema) ToMap ¶

func (o PlaygroundSegmentSchema) ToMap() (map[string]interface{}, error)

type PlaygroundStrategySchema ¶

type PlaygroundStrategySchema struct {
	// The strategy's name.
	Name string `json:"name"`
	// Description of the feature's purpose.
	Title *string `json:"title,omitempty"`
	// The strategy's id.
	Id     string                         `json:"id"`
	Result PlaygroundStrategySchemaResult `json:"result"`
	// The strategy's status. Disabled strategies are not evaluated
	Disabled NullableBool `json:"disabled"`
	// The strategy's segments and their evaluation results.
	Segments []PlaygroundSegmentSchema `json:"segments"`
	// The strategy's constraints and their evaluation results.
	Constraints []PlaygroundConstraintSchema  `json:"constraints"`
	Parameters  map[string]string             `json:"parameters"`
	Links       PlaygroundStrategySchemaLinks `json:"links"`
}

PlaygroundStrategySchema struct for PlaygroundStrategySchema

func NewPlaygroundStrategySchema ¶

func NewPlaygroundStrategySchema(name string, id string, result PlaygroundStrategySchemaResult, disabled NullableBool, segments []PlaygroundSegmentSchema, constraints []PlaygroundConstraintSchema, parameters map[string]string, links PlaygroundStrategySchemaLinks) *PlaygroundStrategySchema

NewPlaygroundStrategySchema instantiates a new PlaygroundStrategySchema 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 NewPlaygroundStrategySchemaWithDefaults ¶

func NewPlaygroundStrategySchemaWithDefaults() *PlaygroundStrategySchema

NewPlaygroundStrategySchemaWithDefaults instantiates a new PlaygroundStrategySchema 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 (*PlaygroundStrategySchema) GetConstraints ¶

GetConstraints returns the Constraints field value

func (*PlaygroundStrategySchema) GetConstraintsOk ¶

func (o *PlaygroundStrategySchema) GetConstraintsOk() ([]PlaygroundConstraintSchema, bool)

GetConstraintsOk returns a tuple with the Constraints field value and a boolean to check if the value has been set.

func (*PlaygroundStrategySchema) GetDisabled ¶

func (o *PlaygroundStrategySchema) GetDisabled() bool

GetDisabled returns the Disabled field value If the value is explicit nil, the zero value for bool will be returned

func (*PlaygroundStrategySchema) GetDisabledOk ¶

func (o *PlaygroundStrategySchema) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled 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 (*PlaygroundStrategySchema) GetId ¶

func (o *PlaygroundStrategySchema) GetId() string

GetId returns the Id field value

func (*PlaygroundStrategySchema) GetIdOk ¶

func (o *PlaygroundStrategySchema) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*PlaygroundStrategySchema) GetLinksOk ¶

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*PlaygroundStrategySchema) GetName ¶

func (o *PlaygroundStrategySchema) GetName() string

GetName returns the Name field value

func (*PlaygroundStrategySchema) GetNameOk ¶

func (o *PlaygroundStrategySchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PlaygroundStrategySchema) GetParameters ¶

func (o *PlaygroundStrategySchema) GetParameters() map[string]string

GetParameters returns the Parameters field value

func (*PlaygroundStrategySchema) GetParametersOk ¶

func (o *PlaygroundStrategySchema) GetParametersOk() (*map[string]string, bool)

GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.

func (*PlaygroundStrategySchema) GetResult ¶

GetResult returns the Result field value

func (*PlaygroundStrategySchema) GetResultOk ¶

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (*PlaygroundStrategySchema) GetSegments ¶

GetSegments returns the Segments field value

func (*PlaygroundStrategySchema) GetSegmentsOk ¶

func (o *PlaygroundStrategySchema) GetSegmentsOk() ([]PlaygroundSegmentSchema, bool)

GetSegmentsOk returns a tuple with the Segments field value and a boolean to check if the value has been set.

func (*PlaygroundStrategySchema) GetTitle ¶

func (o *PlaygroundStrategySchema) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*PlaygroundStrategySchema) GetTitleOk ¶

func (o *PlaygroundStrategySchema) 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.

func (*PlaygroundStrategySchema) HasTitle ¶

func (o *PlaygroundStrategySchema) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (PlaygroundStrategySchema) MarshalJSON ¶

func (o PlaygroundStrategySchema) MarshalJSON() ([]byte, error)

func (*PlaygroundStrategySchema) SetConstraints ¶

SetConstraints sets field value

func (*PlaygroundStrategySchema) SetDisabled ¶

func (o *PlaygroundStrategySchema) SetDisabled(v bool)

SetDisabled sets field value

func (*PlaygroundStrategySchema) SetId ¶

func (o *PlaygroundStrategySchema) SetId(v string)

SetId sets field value

SetLinks sets field value

func (*PlaygroundStrategySchema) SetName ¶

func (o *PlaygroundStrategySchema) SetName(v string)

SetName sets field value

func (*PlaygroundStrategySchema) SetParameters ¶

func (o *PlaygroundStrategySchema) SetParameters(v map[string]string)

SetParameters sets field value

func (*PlaygroundStrategySchema) SetResult ¶

SetResult sets field value

func (*PlaygroundStrategySchema) SetSegments ¶

SetSegments sets field value

func (*PlaygroundStrategySchema) SetTitle ¶

func (o *PlaygroundStrategySchema) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (PlaygroundStrategySchema) ToMap ¶

func (o PlaygroundStrategySchema) ToMap() (map[string]interface{}, error)
type PlaygroundStrategySchemaLinks struct {
	Edit string `json:"edit"`
}

PlaygroundStrategySchemaLinks A set of links to actions you can perform on this strategy

func NewPlaygroundStrategySchemaLinks(edit string) *PlaygroundStrategySchemaLinks

NewPlaygroundStrategySchemaLinks instantiates a new PlaygroundStrategySchemaLinks 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 NewPlaygroundStrategySchemaLinksWithDefaults ¶

func NewPlaygroundStrategySchemaLinksWithDefaults() *PlaygroundStrategySchemaLinks

NewPlaygroundStrategySchemaLinksWithDefaults instantiates a new PlaygroundStrategySchemaLinks 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 (*PlaygroundStrategySchemaLinks) GetEdit ¶

GetEdit returns the Edit field value

func (*PlaygroundStrategySchemaLinks) GetEditOk ¶

func (o *PlaygroundStrategySchemaLinks) GetEditOk() (*string, bool)

GetEditOk returns a tuple with the Edit field value and a boolean to check if the value has been set.

func (PlaygroundStrategySchemaLinks) MarshalJSON ¶

func (o PlaygroundStrategySchemaLinks) MarshalJSON() ([]byte, error)

func (*PlaygroundStrategySchemaLinks) SetEdit ¶

func (o *PlaygroundStrategySchemaLinks) SetEdit(v string)

SetEdit sets field value

func (PlaygroundStrategySchemaLinks) ToMap ¶

func (o PlaygroundStrategySchemaLinks) ToMap() (map[string]interface{}, error)

type PlaygroundStrategySchemaResult ¶

type PlaygroundStrategySchemaResult struct {
	PlaygroundStrategySchemaResultAnyOf  *PlaygroundStrategySchemaResultAnyOf
	PlaygroundStrategySchemaResultAnyOf1 *PlaygroundStrategySchemaResultAnyOf1
}

PlaygroundStrategySchemaResult The strategy's evaluation result. If the strategy is a custom strategy that Unleash can't evaluate, `evaluationStatus` will be `unknown`. Otherwise, it will be `true` or `false`

func (*PlaygroundStrategySchemaResult) MarshalJSON ¶

func (src *PlaygroundStrategySchemaResult) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*PlaygroundStrategySchemaResult) UnmarshalJSON ¶

func (dst *PlaygroundStrategySchemaResult) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type PlaygroundStrategySchemaResultAnyOf ¶

type PlaygroundStrategySchemaResultAnyOf struct {
	// Signals that this strategy could not be evaluated. This is most likely because you're using a custom strategy that Unleash doesn't know about.
	EvaluationStatus string                                     `json:"evaluationStatus"`
	Enabled          PlaygroundStrategySchemaResultAnyOfEnabled `json:"enabled"`
}

PlaygroundStrategySchemaResultAnyOf struct for PlaygroundStrategySchemaResultAnyOf

func NewPlaygroundStrategySchemaResultAnyOf ¶

func NewPlaygroundStrategySchemaResultAnyOf(evaluationStatus string, enabled PlaygroundStrategySchemaResultAnyOfEnabled) *PlaygroundStrategySchemaResultAnyOf

NewPlaygroundStrategySchemaResultAnyOf instantiates a new PlaygroundStrategySchemaResultAnyOf 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 NewPlaygroundStrategySchemaResultAnyOfWithDefaults ¶

func NewPlaygroundStrategySchemaResultAnyOfWithDefaults() *PlaygroundStrategySchemaResultAnyOf

NewPlaygroundStrategySchemaResultAnyOfWithDefaults instantiates a new PlaygroundStrategySchemaResultAnyOf 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 (*PlaygroundStrategySchemaResultAnyOf) GetEnabled ¶

GetEnabled returns the Enabled field value

func (*PlaygroundStrategySchemaResultAnyOf) GetEnabledOk ¶

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*PlaygroundStrategySchemaResultAnyOf) GetEvaluationStatus ¶

func (o *PlaygroundStrategySchemaResultAnyOf) GetEvaluationStatus() string

GetEvaluationStatus returns the EvaluationStatus field value

func (*PlaygroundStrategySchemaResultAnyOf) GetEvaluationStatusOk ¶

func (o *PlaygroundStrategySchemaResultAnyOf) GetEvaluationStatusOk() (*string, bool)

GetEvaluationStatusOk returns a tuple with the EvaluationStatus field value and a boolean to check if the value has been set.

func (PlaygroundStrategySchemaResultAnyOf) MarshalJSON ¶

func (o PlaygroundStrategySchemaResultAnyOf) MarshalJSON() ([]byte, error)

func (*PlaygroundStrategySchemaResultAnyOf) SetEnabled ¶

SetEnabled sets field value

func (*PlaygroundStrategySchemaResultAnyOf) SetEvaluationStatus ¶

func (o *PlaygroundStrategySchemaResultAnyOf) SetEvaluationStatus(v string)

SetEvaluationStatus sets field value

func (PlaygroundStrategySchemaResultAnyOf) ToMap ¶

func (o PlaygroundStrategySchemaResultAnyOf) ToMap() (map[string]interface{}, error)

type PlaygroundStrategySchemaResultAnyOf1 ¶

type PlaygroundStrategySchemaResultAnyOf1 struct {
	// Signals that this strategy was evaluated successfully.
	EvaluationStatus string `json:"evaluationStatus"`
	// Whether this strategy evaluates to true or not.
	Enabled bool `json:"enabled"`
}

PlaygroundStrategySchemaResultAnyOf1 struct for PlaygroundStrategySchemaResultAnyOf1

func NewPlaygroundStrategySchemaResultAnyOf1 ¶

func NewPlaygroundStrategySchemaResultAnyOf1(evaluationStatus string, enabled bool) *PlaygroundStrategySchemaResultAnyOf1

NewPlaygroundStrategySchemaResultAnyOf1 instantiates a new PlaygroundStrategySchemaResultAnyOf1 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 NewPlaygroundStrategySchemaResultAnyOf1WithDefaults ¶

func NewPlaygroundStrategySchemaResultAnyOf1WithDefaults() *PlaygroundStrategySchemaResultAnyOf1

NewPlaygroundStrategySchemaResultAnyOf1WithDefaults instantiates a new PlaygroundStrategySchemaResultAnyOf1 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 (*PlaygroundStrategySchemaResultAnyOf1) GetEnabled ¶

GetEnabled returns the Enabled field value

func (*PlaygroundStrategySchemaResultAnyOf1) GetEnabledOk ¶

func (o *PlaygroundStrategySchemaResultAnyOf1) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*PlaygroundStrategySchemaResultAnyOf1) GetEvaluationStatus ¶

func (o *PlaygroundStrategySchemaResultAnyOf1) GetEvaluationStatus() string

GetEvaluationStatus returns the EvaluationStatus field value

func (*PlaygroundStrategySchemaResultAnyOf1) GetEvaluationStatusOk ¶

func (o *PlaygroundStrategySchemaResultAnyOf1) GetEvaluationStatusOk() (*string, bool)

GetEvaluationStatusOk returns a tuple with the EvaluationStatus field value and a boolean to check if the value has been set.

func (PlaygroundStrategySchemaResultAnyOf1) MarshalJSON ¶

func (o PlaygroundStrategySchemaResultAnyOf1) MarshalJSON() ([]byte, error)

func (*PlaygroundStrategySchemaResultAnyOf1) SetEnabled ¶

func (o *PlaygroundStrategySchemaResultAnyOf1) SetEnabled(v bool)

SetEnabled sets field value

func (*PlaygroundStrategySchemaResultAnyOf1) SetEvaluationStatus ¶

func (o *PlaygroundStrategySchemaResultAnyOf1) SetEvaluationStatus(v string)

SetEvaluationStatus sets field value

func (PlaygroundStrategySchemaResultAnyOf1) ToMap ¶

func (o PlaygroundStrategySchemaResultAnyOf1) ToMap() (map[string]interface{}, error)

type PlaygroundStrategySchemaResultAnyOfEnabled ¶

type PlaygroundStrategySchemaResultAnyOfEnabled struct {
	// contains filtered or unexported fields
}

PlaygroundStrategySchemaResultAnyOfEnabled Whether this strategy resolves to `false` or if it might resolve to `true`. Because Unleash can't evaluate the strategy, it can't say for certain whether it will be `true`, but if you have failing constraints or segments, it _can_ determine that your strategy would be `false`.

func (*PlaygroundStrategySchemaResultAnyOfEnabled) MarshalJSON ¶

func (src *PlaygroundStrategySchemaResultAnyOfEnabled) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*PlaygroundStrategySchemaResultAnyOfEnabled) UnmarshalJSON ¶

func (dst *PlaygroundStrategySchemaResultAnyOfEnabled) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type ProfileSchema ¶

type ProfileSchema struct {
	RootRole RoleSchema      `json:"rootRole"`
	Projects []string        `json:"projects"`
	Features []FeatureSchema `json:"features"`
}

ProfileSchema struct for ProfileSchema

func NewProfileSchema ¶

func NewProfileSchema(rootRole RoleSchema, projects []string, features []FeatureSchema) *ProfileSchema

NewProfileSchema instantiates a new ProfileSchema 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 NewProfileSchemaWithDefaults ¶

func NewProfileSchemaWithDefaults() *ProfileSchema

NewProfileSchemaWithDefaults instantiates a new ProfileSchema 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 (*ProfileSchema) GetFeatures ¶

func (o *ProfileSchema) GetFeatures() []FeatureSchema

GetFeatures returns the Features field value

func (*ProfileSchema) GetFeaturesOk ¶

func (o *ProfileSchema) GetFeaturesOk() ([]FeatureSchema, bool)

GetFeaturesOk returns a tuple with the Features field value and a boolean to check if the value has been set.

func (*ProfileSchema) GetProjects ¶

func (o *ProfileSchema) GetProjects() []string

GetProjects returns the Projects field value

func (*ProfileSchema) GetProjectsOk ¶

func (o *ProfileSchema) GetProjectsOk() ([]string, bool)

GetProjectsOk returns a tuple with the Projects field value and a boolean to check if the value has been set.

func (*ProfileSchema) GetRootRole ¶

func (o *ProfileSchema) GetRootRole() RoleSchema

GetRootRole returns the RootRole field value

func (*ProfileSchema) GetRootRoleOk ¶

func (o *ProfileSchema) GetRootRoleOk() (*RoleSchema, bool)

GetRootRoleOk returns a tuple with the RootRole field value and a boolean to check if the value has been set.

func (ProfileSchema) MarshalJSON ¶

func (o ProfileSchema) MarshalJSON() ([]byte, error)

func (*ProfileSchema) SetFeatures ¶

func (o *ProfileSchema) SetFeatures(v []FeatureSchema)

SetFeatures sets field value

func (*ProfileSchema) SetProjects ¶

func (o *ProfileSchema) SetProjects(v []string)

SetProjects sets field value

func (*ProfileSchema) SetRootRole ¶

func (o *ProfileSchema) SetRootRole(v RoleSchema)

SetRootRole sets field value

func (ProfileSchema) ToMap ¶

func (o ProfileSchema) ToMap() (map[string]interface{}, error)

type ProjectAccessSchema ¶

type ProjectAccessSchema struct {
	Groups []GroupSchema               `json:"groups"`
	Users  []UserWithProjectRoleSchema `json:"users"`
	Roles  []RoleSchema                `json:"roles"`
}

ProjectAccessSchema struct for ProjectAccessSchema

func NewProjectAccessSchema ¶

func NewProjectAccessSchema(groups []GroupSchema, users []UserWithProjectRoleSchema, roles []RoleSchema) *ProjectAccessSchema

NewProjectAccessSchema instantiates a new ProjectAccessSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectAccessSchemaWithDefaults ¶

func NewProjectAccessSchemaWithDefaults() *ProjectAccessSchema

NewProjectAccessSchemaWithDefaults instantiates a new ProjectAccessSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectAccessSchema) GetGroups ¶

func (o *ProjectAccessSchema) GetGroups() []GroupSchema

GetGroups returns the Groups field value

func (*ProjectAccessSchema) GetGroupsOk ¶

func (o *ProjectAccessSchema) GetGroupsOk() ([]GroupSchema, 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 ¶

func (o *ProjectAccessSchema) SetGroups(v []GroupSchema)

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)

type ProjectCreatedSchema ¶

type ProjectCreatedSchema struct {
	// The project's identifier.
	Id string `json:"id"`
	// 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"`
}

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) 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) 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) 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) 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) 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) 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) 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 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"`
}

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)

type ProjectOverviewSchema ¶

type ProjectOverviewSchema struct {
	Stats   *ProjectStatsSchema `json:"stats,omitempty"`
	Version float32             `json:"version"`
	// The name of this project
	Name string `json:"name"`
	// Additional information about the project
	Description NullableString `json:"description,omitempty"`
	// A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy
	DefaultStickiness *string `json:"defaultStickiness,omitempty"`
	// The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.
	Mode *string `json:"mode,omitempty"`
	// The number of members this project has
	Members *float32 `json:"members,omitempty"`
	// An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100
	Health *float32 `json:"health,omitempty"`
	// The environments that are enabled for this project
	Environments []ProjectEnvironmentSchema `json:"environments,omitempty"`
	// The full list of features in this project (excluding archived features)
	Features  []FeatureSchema `json:"features,omitempty"`
	UpdatedAt NullableTime    `json:"updatedAt,omitempty"`
	CreatedAt NullableTime    `json:"createdAt,omitempty"`
	// `true` if the project was favorited, otherwise `false`.
	Favorite *bool `json:"favorite,omitempty"`
}

ProjectOverviewSchema A high-level overview of a project. It contains information such as project statistics, the name of the project, what members and what features it contains, etc.

func NewProjectOverviewSchema ¶

func NewProjectOverviewSchema(version float32, name string) *ProjectOverviewSchema

NewProjectOverviewSchema instantiates a new ProjectOverviewSchema 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 NewProjectOverviewSchemaWithDefaults ¶

func NewProjectOverviewSchemaWithDefaults() *ProjectOverviewSchema

NewProjectOverviewSchemaWithDefaults instantiates a new ProjectOverviewSchema 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 (*ProjectOverviewSchema) GetCreatedAt ¶

func (o *ProjectOverviewSchema) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ProjectOverviewSchema) GetCreatedAtOk ¶

func (o *ProjectOverviewSchema) 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 (*ProjectOverviewSchema) GetDefaultStickiness ¶

func (o *ProjectOverviewSchema) GetDefaultStickiness() string

GetDefaultStickiness returns the DefaultStickiness field value if set, zero value otherwise.

func (*ProjectOverviewSchema) GetDefaultStickinessOk ¶

func (o *ProjectOverviewSchema) 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 (*ProjectOverviewSchema) GetDescription ¶

func (o *ProjectOverviewSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ProjectOverviewSchema) GetDescriptionOk ¶

func (o *ProjectOverviewSchema) 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 (*ProjectOverviewSchema) GetEnvironments ¶

func (o *ProjectOverviewSchema) GetEnvironments() []ProjectEnvironmentSchema

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*ProjectOverviewSchema) GetEnvironmentsOk ¶

func (o *ProjectOverviewSchema) GetEnvironmentsOk() ([]ProjectEnvironmentSchema, 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 (*ProjectOverviewSchema) GetFavorite ¶

func (o *ProjectOverviewSchema) GetFavorite() bool

GetFavorite returns the Favorite field value if set, zero value otherwise.

func (*ProjectOverviewSchema) GetFavoriteOk ¶

func (o *ProjectOverviewSchema) GetFavoriteOk() (*bool, bool)

GetFavoriteOk returns a tuple with the Favorite field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectOverviewSchema) GetFeatures ¶

func (o *ProjectOverviewSchema) GetFeatures() []FeatureSchema

GetFeatures returns the Features field value if set, zero value otherwise.

func (*ProjectOverviewSchema) GetFeaturesOk ¶

func (o *ProjectOverviewSchema) GetFeaturesOk() ([]FeatureSchema, bool)

GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectOverviewSchema) GetHealth ¶

func (o *ProjectOverviewSchema) GetHealth() float32

GetHealth returns the Health field value if set, zero value otherwise.

func (*ProjectOverviewSchema) GetHealthOk ¶

func (o *ProjectOverviewSchema) GetHealthOk() (*float32, bool)

GetHealthOk returns a tuple with the Health field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectOverviewSchema) GetMembers ¶

func (o *ProjectOverviewSchema) GetMembers() float32

GetMembers returns the Members field value if set, zero value otherwise.

func (*ProjectOverviewSchema) GetMembersOk ¶

func (o *ProjectOverviewSchema) GetMembersOk() (*float32, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectOverviewSchema) GetMode ¶

func (o *ProjectOverviewSchema) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*ProjectOverviewSchema) GetModeOk ¶

func (o *ProjectOverviewSchema) 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 (*ProjectOverviewSchema) GetName ¶

func (o *ProjectOverviewSchema) GetName() string

GetName returns the Name field value

func (*ProjectOverviewSchema) GetNameOk ¶

func (o *ProjectOverviewSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ProjectOverviewSchema) GetStats ¶

GetStats returns the Stats field value if set, zero value otherwise.

func (*ProjectOverviewSchema) GetStatsOk ¶

func (o *ProjectOverviewSchema) GetStatsOk() (*ProjectStatsSchema, bool)

GetStatsOk returns a tuple with the Stats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectOverviewSchema) GetUpdatedAt ¶

func (o *ProjectOverviewSchema) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ProjectOverviewSchema) GetUpdatedAtOk ¶

func (o *ProjectOverviewSchema) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt 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 (*ProjectOverviewSchema) GetVersion ¶

func (o *ProjectOverviewSchema) GetVersion() float32

GetVersion returns the Version field value

func (*ProjectOverviewSchema) GetVersionOk ¶

func (o *ProjectOverviewSchema) GetVersionOk() (*float32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*ProjectOverviewSchema) HasCreatedAt ¶

func (o *ProjectOverviewSchema) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ProjectOverviewSchema) HasDefaultStickiness ¶

func (o *ProjectOverviewSchema) HasDefaultStickiness() bool

HasDefaultStickiness returns a boolean if a field has been set.

func (*ProjectOverviewSchema) HasDescription ¶

func (o *ProjectOverviewSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ProjectOverviewSchema) HasEnvironments ¶

func (o *ProjectOverviewSchema) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*ProjectOverviewSchema) HasFavorite ¶

func (o *ProjectOverviewSchema) HasFavorite() bool

HasFavorite returns a boolean if a field has been set.

func (*ProjectOverviewSchema) HasFeatures ¶

func (o *ProjectOverviewSchema) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*ProjectOverviewSchema) HasHealth ¶

func (o *ProjectOverviewSchema) HasHealth() bool

HasHealth returns a boolean if a field has been set.

func (*ProjectOverviewSchema) HasMembers ¶

func (o *ProjectOverviewSchema) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*ProjectOverviewSchema) HasMode ¶

func (o *ProjectOverviewSchema) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*ProjectOverviewSchema) HasStats ¶

func (o *ProjectOverviewSchema) HasStats() bool

HasStats returns a boolean if a field has been set.

func (*ProjectOverviewSchema) HasUpdatedAt ¶

func (o *ProjectOverviewSchema) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ProjectOverviewSchema) MarshalJSON ¶

func (o ProjectOverviewSchema) MarshalJSON() ([]byte, error)

func (*ProjectOverviewSchema) SetCreatedAt ¶

func (o *ProjectOverviewSchema) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given NullableTime and assigns it to the CreatedAt field.

func (*ProjectOverviewSchema) SetCreatedAtNil ¶

func (o *ProjectOverviewSchema) SetCreatedAtNil()

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

func (*ProjectOverviewSchema) SetDefaultStickiness ¶

func (o *ProjectOverviewSchema) SetDefaultStickiness(v string)

SetDefaultStickiness gets a reference to the given string and assigns it to the DefaultStickiness field.

func (*ProjectOverviewSchema) SetDescription ¶

func (o *ProjectOverviewSchema) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*ProjectOverviewSchema) SetDescriptionNil ¶

func (o *ProjectOverviewSchema) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*ProjectOverviewSchema) SetEnvironments ¶

func (o *ProjectOverviewSchema) SetEnvironments(v []ProjectEnvironmentSchema)

SetEnvironments gets a reference to the given []ProjectEnvironmentSchema and assigns it to the Environments field.

func (*ProjectOverviewSchema) SetFavorite ¶

func (o *ProjectOverviewSchema) SetFavorite(v bool)

SetFavorite gets a reference to the given bool and assigns it to the Favorite field.

func (*ProjectOverviewSchema) SetFeatures ¶

func (o *ProjectOverviewSchema) SetFeatures(v []FeatureSchema)

SetFeatures gets a reference to the given []FeatureSchema and assigns it to the Features field.

func (*ProjectOverviewSchema) SetHealth ¶

func (o *ProjectOverviewSchema) SetHealth(v float32)

SetHealth gets a reference to the given float32 and assigns it to the Health field.

func (*ProjectOverviewSchema) SetMembers ¶

func (o *ProjectOverviewSchema) SetMembers(v float32)

SetMembers gets a reference to the given float32 and assigns it to the Members field.

func (*ProjectOverviewSchema) SetMode ¶

func (o *ProjectOverviewSchema) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*ProjectOverviewSchema) SetName ¶

func (o *ProjectOverviewSchema) SetName(v string)

SetName sets field value

func (*ProjectOverviewSchema) SetStats ¶

SetStats gets a reference to the given ProjectStatsSchema and assigns it to the Stats field.

func (*ProjectOverviewSchema) SetUpdatedAt ¶

func (o *ProjectOverviewSchema) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given NullableTime and assigns it to the UpdatedAt field.

func (*ProjectOverviewSchema) SetUpdatedAtNil ¶

func (o *ProjectOverviewSchema) SetUpdatedAtNil()

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

func (*ProjectOverviewSchema) SetVersion ¶

func (o *ProjectOverviewSchema) SetVersion(v float32)

SetVersion sets field value

func (ProjectOverviewSchema) ToMap ¶

func (o ProjectOverviewSchema) ToMap() (map[string]interface{}, error)

func (*ProjectOverviewSchema) UnsetCreatedAt ¶

func (o *ProjectOverviewSchema) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

func (*ProjectOverviewSchema) UnsetDescription ¶

func (o *ProjectOverviewSchema) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*ProjectOverviewSchema) UnsetUpdatedAt ¶

func (o *ProjectOverviewSchema) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, 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
	Description NullableString `json:"description,omitempty"`
	// An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100
	Health *float32 `json:"health,omitempty"`
	// The number of features this project has
	FeatureCount *float32 `json:"featureCount,omitempty"`
	// The number of members this project has
	MemberCount *float32     `json:"memberCount,omitempty"`
	CreatedAt   *time.Time   `json:"createdAt,omitempty"`
	UpdatedAt   NullableTime `json:"updatedAt,omitempty"`
	// `true` if the project was favorited, otherwise `false`.
	Favorite *bool `json:"favorite,omitempty"`
	// The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not.
	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"`
}

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) GetCreatedAt ¶

func (o *ProjectSchema) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ProjectSchema) GetCreatedAtOk ¶

func (o *ProjectSchema) 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 (*ProjectSchema) GetDefaultStickiness ¶

func (o *ProjectSchema) GetDefaultStickiness() string

GetDefaultStickiness returns the DefaultStickiness field value if set, zero value otherwise.

func (*ProjectSchema) GetDefaultStickinessOk ¶

func (o *ProjectSchema) 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 (*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).

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

func (*ProjectSchema) GetFavorite ¶

func (o *ProjectSchema) GetFavorite() bool

GetFavorite returns the Favorite field value if set, zero value otherwise.

func (*ProjectSchema) GetFavoriteOk ¶

func (o *ProjectSchema) GetFavoriteOk() (*bool, bool)

GetFavoriteOk returns a tuple with the Favorite field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectSchema) GetFeatureCount ¶

func (o *ProjectSchema) GetFeatureCount() float32

GetFeatureCount returns the FeatureCount field value if set, zero value otherwise.

func (*ProjectSchema) GetFeatureCountOk ¶

func (o *ProjectSchema) GetFeatureCountOk() (*float32, bool)

GetFeatureCountOk returns a tuple with the FeatureCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectSchema) GetHealth ¶

func (o *ProjectSchema) GetHealth() float32

GetHealth returns the Health field value if set, zero value otherwise.

func (*ProjectSchema) GetHealthOk ¶

func (o *ProjectSchema) GetHealthOk() (*float32, bool)

GetHealthOk returns a tuple with the Health field value if set, nil otherwise and a boolean to check if the value has been set.

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) GetMemberCount ¶

func (o *ProjectSchema) GetMemberCount() float32

GetMemberCount returns the MemberCount field value if set, zero value otherwise.

func (*ProjectSchema) GetMemberCountOk ¶

func (o *ProjectSchema) GetMemberCountOk() (*float32, bool)

GetMemberCountOk returns a tuple with the MemberCount field value if set, nil otherwise 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) GetUpdatedAt ¶

func (o *ProjectSchema) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ProjectSchema) GetUpdatedAtOk ¶

func (o *ProjectSchema) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt 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 (*ProjectSchema) HasCreatedAt ¶

func (o *ProjectSchema) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ProjectSchema) HasDefaultStickiness ¶

func (o *ProjectSchema) HasDefaultStickiness() bool

HasDefaultStickiness returns a boolean if a field has been set.

func (*ProjectSchema) HasDescription ¶

func (o *ProjectSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ProjectSchema) HasFavorite ¶

func (o *ProjectSchema) HasFavorite() bool

HasFavorite returns a boolean if a field has been set.

func (*ProjectSchema) HasFeatureCount ¶

func (o *ProjectSchema) HasFeatureCount() bool

HasFeatureCount returns a boolean if a field has been set.

func (*ProjectSchema) HasHealth ¶

func (o *ProjectSchema) HasHealth() bool

HasHealth returns a boolean if a field has been set.

func (*ProjectSchema) HasMemberCount ¶

func (o *ProjectSchema) HasMemberCount() bool

HasMemberCount 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) HasUpdatedAt ¶

func (o *ProjectSchema) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ProjectSchema) MarshalJSON ¶

func (o ProjectSchema) MarshalJSON() ([]byte, error)

func (*ProjectSchema) SetCreatedAt ¶

func (o *ProjectSchema) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ProjectSchema) SetDefaultStickiness ¶

func (o *ProjectSchema) SetDefaultStickiness(v string)

SetDefaultStickiness gets a reference to the given string and assigns it to the DefaultStickiness field.

func (*ProjectSchema) SetDescription ¶

func (o *ProjectSchema) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*ProjectSchema) SetDescriptionNil ¶

func (o *ProjectSchema) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*ProjectSchema) SetFavorite ¶

func (o *ProjectSchema) SetFavorite(v bool)

SetFavorite gets a reference to the given bool and assigns it to the Favorite field.

func (*ProjectSchema) SetFeatureCount ¶

func (o *ProjectSchema) SetFeatureCount(v float32)

SetFeatureCount gets a reference to the given float32 and assigns it to the FeatureCount field.

func (*ProjectSchema) SetHealth ¶

func (o *ProjectSchema) SetHealth(v float32)

SetHealth gets a reference to the given float32 and assigns it to the Health field.

func (*ProjectSchema) SetId ¶

func (o *ProjectSchema) SetId(v string)

SetId sets field value

func (*ProjectSchema) SetMemberCount ¶

func (o *ProjectSchema) SetMemberCount(v float32)

SetMemberCount gets a reference to the given float32 and assigns it to the MemberCount field.

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) SetUpdatedAt ¶

func (o *ProjectSchema) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given NullableTime and assigns it to the UpdatedAt field.

func (*ProjectSchema) SetUpdatedAtNil ¶

func (o *ProjectSchema) SetUpdatedAtNil()

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

func (ProjectSchema) ToMap ¶

func (o ProjectSchema) ToMap() (map[string]interface{}, error)

func (*ProjectSchema) UnsetDescription ¶

func (o *ProjectSchema) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*ProjectSchema) UnsetUpdatedAt ¶

func (o *ProjectSchema) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil

type ProjectSettingsSchema ¶

type ProjectSettingsSchema struct {
	// Default stickiness for project
	DefaultStickiness NullableString `json:"defaultStickiness"`
	Mode              NullableString `json:"mode"`
}

ProjectSettingsSchema struct for ProjectSettingsSchema

func NewProjectSettingsSchema ¶

func NewProjectSettingsSchema(defaultStickiness NullableString, mode NullableString) *ProjectSettingsSchema

NewProjectSettingsSchema instantiates a new ProjectSettingsSchema 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 NewProjectSettingsSchemaWithDefaults ¶

func NewProjectSettingsSchemaWithDefaults() *ProjectSettingsSchema

NewProjectSettingsSchemaWithDefaults instantiates a new ProjectSettingsSchema 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 (*ProjectSettingsSchema) GetDefaultStickiness ¶

func (o *ProjectSettingsSchema) GetDefaultStickiness() string

GetDefaultStickiness returns the DefaultStickiness field value If the value is explicit nil, the zero value for string will be returned

func (*ProjectSettingsSchema) GetDefaultStickinessOk ¶

func (o *ProjectSettingsSchema) GetDefaultStickinessOk() (*string, bool)

GetDefaultStickinessOk returns a tuple with the DefaultStickiness 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 (*ProjectSettingsSchema) GetMode ¶

func (o *ProjectSettingsSchema) GetMode() string

GetMode returns the Mode field value If the value is explicit nil, the zero value for string will be returned

func (*ProjectSettingsSchema) GetModeOk ¶

func (o *ProjectSettingsSchema) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode 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 (ProjectSettingsSchema) MarshalJSON ¶

func (o ProjectSettingsSchema) MarshalJSON() ([]byte, error)

func (*ProjectSettingsSchema) SetDefaultStickiness ¶

func (o *ProjectSettingsSchema) SetDefaultStickiness(v string)

SetDefaultStickiness sets field value

func (*ProjectSettingsSchema) SetMode ¶

func (o *ProjectSettingsSchema) SetMode(v string)

SetMode sets field value

func (ProjectSettingsSchema) ToMap ¶

func (o ProjectSettingsSchema) ToMap() (map[string]interface{}, error)

type ProjectStatsSchema ¶

type ProjectStatsSchema struct {
	// The average time from when a feature was created to when it was enabled in the \"production\" environment during the current window
	AvgTimeToProdCurrentWindow float32 `json:"avgTimeToProdCurrentWindow"`
	// The number of feature toggles created during the current window
	CreatedCurrentWindow float32 `json:"createdCurrentWindow"`
	// The number of feature toggles created during the previous window
	CreatedPastWindow float32 `json:"createdPastWindow"`
	// The number of feature toggles that were archived during the current window
	ArchivedCurrentWindow float32 `json:"archivedCurrentWindow"`
	// The number of feature toggles that were archived during the previous window
	ArchivedPastWindow float32 `json:"archivedPastWindow"`
	// The number of project events that occurred during the current window
	ProjectActivityCurrentWindow float32 `json:"projectActivityCurrentWindow"`
	// The number of project events that occurred during the previous window
	ProjectActivityPastWindow float32 `json:"projectActivityPastWindow"`
	// The number of members that were added to the project during the current window
	ProjectMembersAddedCurrentWindow float32 `json:"projectMembersAddedCurrentWindow"`
}

ProjectStatsSchema Statistics for a project, including the average time to production, number of features created, the project activity and more. Stats are divided into current and previous **windows**. - The **current window** is the past 30 days. - The **previous window** is the 30 days **before** the current window (from 60 to 30 days ago)

func NewProjectStatsSchema ¶

func NewProjectStatsSchema(avgTimeToProdCurrentWindow float32, createdCurrentWindow float32, createdPastWindow float32, archivedCurrentWindow float32, archivedPastWindow float32, projectActivityCurrentWindow float32, projectActivityPastWindow float32, projectMembersAddedCurrentWindow float32) *ProjectStatsSchema

NewProjectStatsSchema instantiates a new ProjectStatsSchema 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 NewProjectStatsSchemaWithDefaults ¶

func NewProjectStatsSchemaWithDefaults() *ProjectStatsSchema

NewProjectStatsSchemaWithDefaults instantiates a new ProjectStatsSchema 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 (*ProjectStatsSchema) GetArchivedCurrentWindow ¶

func (o *ProjectStatsSchema) GetArchivedCurrentWindow() float32

GetArchivedCurrentWindow returns the ArchivedCurrentWindow field value

func (*ProjectStatsSchema) GetArchivedCurrentWindowOk ¶

func (o *ProjectStatsSchema) GetArchivedCurrentWindowOk() (*float32, bool)

GetArchivedCurrentWindowOk returns a tuple with the ArchivedCurrentWindow field value and a boolean to check if the value has been set.

func (*ProjectStatsSchema) GetArchivedPastWindow ¶

func (o *ProjectStatsSchema) GetArchivedPastWindow() float32

GetArchivedPastWindow returns the ArchivedPastWindow field value

func (*ProjectStatsSchema) GetArchivedPastWindowOk ¶

func (o *ProjectStatsSchema) GetArchivedPastWindowOk() (*float32, bool)

GetArchivedPastWindowOk returns a tuple with the ArchivedPastWindow field value and a boolean to check if the value has been set.

func (*ProjectStatsSchema) GetAvgTimeToProdCurrentWindow ¶

func (o *ProjectStatsSchema) GetAvgTimeToProdCurrentWindow() float32

GetAvgTimeToProdCurrentWindow returns the AvgTimeToProdCurrentWindow field value

func (*ProjectStatsSchema) GetAvgTimeToProdCurrentWindowOk ¶

func (o *ProjectStatsSchema) GetAvgTimeToProdCurrentWindowOk() (*float32, bool)

GetAvgTimeToProdCurrentWindowOk returns a tuple with the AvgTimeToProdCurrentWindow field value and a boolean to check if the value has been set.

func (*ProjectStatsSchema) GetCreatedCurrentWindow ¶

func (o *ProjectStatsSchema) GetCreatedCurrentWindow() float32

GetCreatedCurrentWindow returns the CreatedCurrentWindow field value

func (*ProjectStatsSchema) GetCreatedCurrentWindowOk ¶

func (o *ProjectStatsSchema) GetCreatedCurrentWindowOk() (*float32, bool)

GetCreatedCurrentWindowOk returns a tuple with the CreatedCurrentWindow field value and a boolean to check if the value has been set.

func (*ProjectStatsSchema) GetCreatedPastWindow ¶

func (o *ProjectStatsSchema) GetCreatedPastWindow() float32

GetCreatedPastWindow returns the CreatedPastWindow field value

func (*ProjectStatsSchema) GetCreatedPastWindowOk ¶

func (o *ProjectStatsSchema) GetCreatedPastWindowOk() (*float32, bool)

GetCreatedPastWindowOk returns a tuple with the CreatedPastWindow field value and a boolean to check if the value has been set.

func (*ProjectStatsSchema) GetProjectActivityCurrentWindow ¶

func (o *ProjectStatsSchema) GetProjectActivityCurrentWindow() float32

GetProjectActivityCurrentWindow returns the ProjectActivityCurrentWindow field value

func (*ProjectStatsSchema) GetProjectActivityCurrentWindowOk ¶

func (o *ProjectStatsSchema) GetProjectActivityCurrentWindowOk() (*float32, bool)

GetProjectActivityCurrentWindowOk returns a tuple with the ProjectActivityCurrentWindow field value and a boolean to check if the value has been set.

func (*ProjectStatsSchema) GetProjectActivityPastWindow ¶

func (o *ProjectStatsSchema) GetProjectActivityPastWindow() float32

GetProjectActivityPastWindow returns the ProjectActivityPastWindow field value

func (*ProjectStatsSchema) GetProjectActivityPastWindowOk ¶

func (o *ProjectStatsSchema) GetProjectActivityPastWindowOk() (*float32, bool)

GetProjectActivityPastWindowOk returns a tuple with the ProjectActivityPastWindow field value and a boolean to check if the value has been set.

func (*ProjectStatsSchema) GetProjectMembersAddedCurrentWindow ¶

func (o *ProjectStatsSchema) GetProjectMembersAddedCurrentWindow() float32

GetProjectMembersAddedCurrentWindow returns the ProjectMembersAddedCurrentWindow field value

func (*ProjectStatsSchema) GetProjectMembersAddedCurrentWindowOk ¶

func (o *ProjectStatsSchema) GetProjectMembersAddedCurrentWindowOk() (*float32, bool)

GetProjectMembersAddedCurrentWindowOk returns a tuple with the ProjectMembersAddedCurrentWindow field value and a boolean to check if the value has been set.

func (ProjectStatsSchema) MarshalJSON ¶

func (o ProjectStatsSchema) MarshalJSON() ([]byte, error)

func (*ProjectStatsSchema) SetArchivedCurrentWindow ¶

func (o *ProjectStatsSchema) SetArchivedCurrentWindow(v float32)

SetArchivedCurrentWindow sets field value

func (*ProjectStatsSchema) SetArchivedPastWindow ¶

func (o *ProjectStatsSchema) SetArchivedPastWindow(v float32)

SetArchivedPastWindow sets field value

func (*ProjectStatsSchema) SetAvgTimeToProdCurrentWindow ¶

func (o *ProjectStatsSchema) SetAvgTimeToProdCurrentWindow(v float32)

SetAvgTimeToProdCurrentWindow sets field value

func (*ProjectStatsSchema) SetCreatedCurrentWindow ¶

func (o *ProjectStatsSchema) SetCreatedCurrentWindow(v float32)

SetCreatedCurrentWindow sets field value

func (*ProjectStatsSchema) SetCreatedPastWindow ¶

func (o *ProjectStatsSchema) SetCreatedPastWindow(v float32)

SetCreatedPastWindow sets field value

func (*ProjectStatsSchema) SetProjectActivityCurrentWindow ¶

func (o *ProjectStatsSchema) SetProjectActivityCurrentWindow(v float32)

SetProjectActivityCurrentWindow sets field value

func (*ProjectStatsSchema) SetProjectActivityPastWindow ¶

func (o *ProjectStatsSchema) SetProjectActivityPastWindow(v float32)

SetProjectActivityPastWindow sets field value

func (*ProjectStatsSchema) SetProjectMembersAddedCurrentWindow ¶

func (o *ProjectStatsSchema) SetProjectMembersAddedCurrentWindow(v float32)

SetProjectMembersAddedCurrentWindow sets field value

func (ProjectStatsSchema) ToMap ¶

func (o ProjectStatsSchema) ToMap() (map[string]interface{}, error)

type ProjectUsersSchema ¶

type ProjectUsersSchema struct {
	Users []UserWithProjectRoleSchema `json:"users"`
	Roles []RoleSchema                `json:"roles"`
}

ProjectUsersSchema struct for ProjectUsersSchema

func NewProjectUsersSchema ¶

func NewProjectUsersSchema(users []UserWithProjectRoleSchema, roles []RoleSchema) *ProjectUsersSchema

NewProjectUsersSchema instantiates a new ProjectUsersSchema 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 NewProjectUsersSchemaWithDefaults ¶

func NewProjectUsersSchemaWithDefaults() *ProjectUsersSchema

NewProjectUsersSchemaWithDefaults instantiates a new ProjectUsersSchema 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 (*ProjectUsersSchema) GetRoles ¶

func (o *ProjectUsersSchema) GetRoles() []RoleSchema

GetRoles returns the Roles field value

func (*ProjectUsersSchema) GetRolesOk ¶

func (o *ProjectUsersSchema) GetRolesOk() ([]RoleSchema, bool)

GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.

func (*ProjectUsersSchema) GetUsers ¶

GetUsers returns the Users field value

func (*ProjectUsersSchema) GetUsersOk ¶

func (o *ProjectUsersSchema) GetUsersOk() ([]UserWithProjectRoleSchema, bool)

GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.

func (ProjectUsersSchema) MarshalJSON ¶

func (o ProjectUsersSchema) MarshalJSON() ([]byte, error)

func (*ProjectUsersSchema) SetRoles ¶

func (o *ProjectUsersSchema) SetRoles(v []RoleSchema)

SetRoles sets field value

func (*ProjectUsersSchema) SetUsers ¶

SetUsers sets field value

func (ProjectUsersSchema) ToMap ¶

func (o ProjectUsersSchema) ToMap() (map[string]interface{}, error)

type ProjectsApiService ¶

type ProjectsApiService service

ProjectsApiService ProjectsApi service

func (*ProjectsApiService) AddDefaultStrategyToProjectEnvironment ¶

func (a *ProjectsApiService) AddDefaultStrategyToProjectEnvironment(ctx context.Context, projectId string, environment string) ApiAddDefaultStrategyToProjectEnvironmentRequest

AddDefaultStrategyToProjectEnvironment Method for AddDefaultStrategyToProjectEnvironment

Adds a default strategy for this environment. Unleash will use this strategy by default when enabling a toggle. Use the wild card "*" for `:environment` to add to all environments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param environment
@return ApiAddDefaultStrategyToProjectEnvironmentRequest

func (*ProjectsApiService) AddDefaultStrategyToProjectEnvironmentExecute ¶

Execute executes the request

@return CreateFeatureStrategySchema

func (*ProjectsApiService) AddEnvironmentToProject ¶

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 ¶

func (a *ProjectsApiService) AddEnvironmentToProjectExecute(r ApiAddEnvironmentToProjectRequest) (*http.Response, error)

Execute executes the request

func (*ProjectsApiService) CreateProjectApiToken ¶

func (a *ProjectsApiService) CreateProjectApiToken(ctx context.Context, projectId string) ApiCreateProjectApiTokenRequest

CreateProjectApiToken Create a project API token.

Endpoint that allows creation of [project API tokens](https://docs.getunleash.io/reference/api-tokens-and-client-keys#api-token-visibility) for the specified project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiCreateProjectApiTokenRequest

func (*ProjectsApiService) CreateProjectApiTokenExecute ¶

func (a *ProjectsApiService) CreateProjectApiTokenExecute(r ApiCreateProjectApiTokenRequest) (*ApiTokenSchema, *http.Response, error)

Execute executes the request

@return ApiTokenSchema

func (*ProjectsApiService) DeleteProjectApiToken ¶

func (a *ProjectsApiService) DeleteProjectApiToken(ctx context.Context, projectId string, token string) ApiDeleteProjectApiTokenRequest

DeleteProjectApiToken Delete a project API token.

This operation deletes the API token specified in the request URL. If the token doesn't exist, returns an OK response (status code 200).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param token
@return ApiDeleteProjectApiTokenRequest

func (*ProjectsApiService) DeleteProjectApiTokenExecute ¶

func (a *ProjectsApiService) DeleteProjectApiTokenExecute(r ApiDeleteProjectApiTokenRequest) (*http.Response, error)

Execute executes the request

func (*ProjectsApiService) GetProjectApiTokens ¶

func (a *ProjectsApiService) GetProjectApiTokens(ctx context.Context, projectId string) ApiGetProjectApiTokensRequest

GetProjectApiTokens Get api tokens for project.

Returns the [project API tokens](https://docs.getunleash.io/how-to/how-to-create-project-api-tokens) that have been created for this project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiGetProjectApiTokensRequest

func (*ProjectsApiService) GetProjectApiTokensExecute ¶

func (a *ProjectsApiService) GetProjectApiTokensExecute(r ApiGetProjectApiTokensRequest) (*ApiTokensSchema, *http.Response, error)

Execute executes the request

@return ApiTokensSchema

func (*ProjectsApiService) GetProjectHealthReport ¶

func (a *ProjectsApiService) GetProjectHealthReport(ctx context.Context, projectId string) ApiGetProjectHealthReportRequest

GetProjectHealthReport Get a health report for a project.

This endpoint returns a health report for the specified project. This data is used for [the technical debt dashboard](https://docs.getunleash.io/reference/technical-debt#the-technical-debt-dashboard)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiGetProjectHealthReportRequest

func (*ProjectsApiService) GetProjectHealthReportExecute ¶

Execute executes the request

@return HealthReportSchema

func (*ProjectsApiService) GetProjectOverview ¶

func (a *ProjectsApiService) GetProjectOverview(ctx context.Context, projectId string) ApiGetProjectOverviewRequest

GetProjectOverview Get an overview of a project.

This endpoint returns an overview of the specified projects stats, project health, number of members, which environments are configured, and the features in the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiGetProjectOverviewRequest

func (*ProjectsApiService) GetProjectOverviewExecute ¶

Execute executes the request

@return ProjectOverviewSchema

func (*ProjectsApiService) GetProjects ¶

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 ¶

Execute executes the request

@return ProjectsSchema

func (*ProjectsApiService) RemoveEnvironmentFromProject ¶

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 ¶

func (a *ProjectsApiService) RemoveEnvironmentFromProjectExecute(r ApiRemoveEnvironmentFromProjectRequest) (*http.Response, error)

Execute executes the request

type ProjectsOverviewSchema ¶

type ProjectsOverviewSchema struct {
	FeatureCount float32         `json:"featureCount"`
	MemberCount  float32         `json:"memberCount"`
	Projects     []ProjectSchema `json:"projects"`
}

ProjectsOverviewSchema struct for ProjectsOverviewSchema

func NewProjectsOverviewSchema ¶

func NewProjectsOverviewSchema(featureCount float32, memberCount float32, projects []ProjectSchema) *ProjectsOverviewSchema

NewProjectsOverviewSchema instantiates a new ProjectsOverviewSchema 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 NewProjectsOverviewSchemaWithDefaults ¶

func NewProjectsOverviewSchemaWithDefaults() *ProjectsOverviewSchema

NewProjectsOverviewSchemaWithDefaults instantiates a new ProjectsOverviewSchema 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 (*ProjectsOverviewSchema) GetFeatureCount ¶

func (o *ProjectsOverviewSchema) GetFeatureCount() float32

GetFeatureCount returns the FeatureCount field value

func (*ProjectsOverviewSchema) GetFeatureCountOk ¶

func (o *ProjectsOverviewSchema) GetFeatureCountOk() (*float32, bool)

GetFeatureCountOk returns a tuple with the FeatureCount field value and a boolean to check if the value has been set.

func (*ProjectsOverviewSchema) GetMemberCount ¶

func (o *ProjectsOverviewSchema) GetMemberCount() float32

GetMemberCount returns the MemberCount field value

func (*ProjectsOverviewSchema) GetMemberCountOk ¶

func (o *ProjectsOverviewSchema) GetMemberCountOk() (*float32, bool)

GetMemberCountOk returns a tuple with the MemberCount field value and a boolean to check if the value has been set.

func (*ProjectsOverviewSchema) GetProjects ¶

func (o *ProjectsOverviewSchema) GetProjects() []ProjectSchema

GetProjects returns the Projects field value

func (*ProjectsOverviewSchema) GetProjectsOk ¶

func (o *ProjectsOverviewSchema) GetProjectsOk() ([]ProjectSchema, bool)

GetProjectsOk returns a tuple with the Projects field value and a boolean to check if the value has been set.

func (ProjectsOverviewSchema) MarshalJSON ¶

func (o ProjectsOverviewSchema) MarshalJSON() ([]byte, error)

func (*ProjectsOverviewSchema) SetFeatureCount ¶

func (o *ProjectsOverviewSchema) SetFeatureCount(v float32)

SetFeatureCount sets field value

func (*ProjectsOverviewSchema) SetMemberCount ¶

func (o *ProjectsOverviewSchema) SetMemberCount(v float32)

SetMemberCount sets field value

func (*ProjectsOverviewSchema) SetProjects ¶

func (o *ProjectsOverviewSchema) SetProjects(v []ProjectSchema)

SetProjects sets field value

func (ProjectsOverviewSchema) ToMap ¶

func (o ProjectsOverviewSchema) ToMap() (map[string]interface{}, error)

type ProjectsSchema ¶

type ProjectsSchema struct {
	Version int32 `json:"version"`
	// A list of projects in the Unleash instance
	Projects []ProjectSchema `json:"projects"`
}

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)

type ProxyClientSchema ¶

type ProxyClientSchema struct {
	// Name of the application using Unleash
	AppName string `json:"appName"`
	// Instance id for this application (typically hostname, podId or similar)
	InstanceId *string `json:"instanceId,omitempty"`
	// Optional field that describes the sdk version (name:version)
	SdkVersion *string `json:"sdkVersion,omitempty"`
	// Deprecated
	Environment *string `json:"environment,omitempty"`
	// At which interval, in milliseconds, will this client be expected to send metrics
	Interval float32                  `json:"interval"`
	Started  ProxyClientSchemaStarted `json:"started"`
	// List of strategies implemented by this application
	Strategies []string `json:"strategies"`
}

ProxyClientSchema struct for ProxyClientSchema

func NewProxyClientSchema ¶

func NewProxyClientSchema(appName string, interval float32, started ProxyClientSchemaStarted, strategies []string) *ProxyClientSchema

NewProxyClientSchema instantiates a new ProxyClientSchema 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 NewProxyClientSchemaWithDefaults ¶

func NewProxyClientSchemaWithDefaults() *ProxyClientSchema

NewProxyClientSchemaWithDefaults instantiates a new ProxyClientSchema 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 (*ProxyClientSchema) GetAppName ¶

func (o *ProxyClientSchema) GetAppName() string

GetAppName returns the AppName field value

func (*ProxyClientSchema) GetAppNameOk ¶

func (o *ProxyClientSchema) GetAppNameOk() (*string, bool)

GetAppNameOk returns a tuple with the AppName field value and a boolean to check if the value has been set.

func (*ProxyClientSchema) GetEnvironment ¶

func (o *ProxyClientSchema) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise. Deprecated

func (*ProxyClientSchema) GetEnvironmentOk ¶

func (o *ProxyClientSchema) 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. Deprecated

func (*ProxyClientSchema) GetInstanceId ¶

func (o *ProxyClientSchema) GetInstanceId() string

GetInstanceId returns the InstanceId field value if set, zero value otherwise.

func (*ProxyClientSchema) GetInstanceIdOk ¶

func (o *ProxyClientSchema) GetInstanceIdOk() (*string, bool)

GetInstanceIdOk returns a tuple with the InstanceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProxyClientSchema) GetInterval ¶

func (o *ProxyClientSchema) GetInterval() float32

GetInterval returns the Interval field value

func (*ProxyClientSchema) GetIntervalOk ¶

func (o *ProxyClientSchema) GetIntervalOk() (*float32, bool)

GetIntervalOk returns a tuple with the Interval field value and a boolean to check if the value has been set.

func (*ProxyClientSchema) GetSdkVersion ¶

func (o *ProxyClientSchema) GetSdkVersion() string

GetSdkVersion returns the SdkVersion field value if set, zero value otherwise.

func (*ProxyClientSchema) GetSdkVersionOk ¶

func (o *ProxyClientSchema) GetSdkVersionOk() (*string, bool)

GetSdkVersionOk returns a tuple with the SdkVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProxyClientSchema) GetStarted ¶

GetStarted returns the Started field value

func (*ProxyClientSchema) GetStartedOk ¶

func (o *ProxyClientSchema) GetStartedOk() (*ProxyClientSchemaStarted, bool)

GetStartedOk returns a tuple with the Started field value and a boolean to check if the value has been set.

func (*ProxyClientSchema) GetStrategies ¶

func (o *ProxyClientSchema) GetStrategies() []string

GetStrategies returns the Strategies field value

func (*ProxyClientSchema) GetStrategiesOk ¶

func (o *ProxyClientSchema) GetStrategiesOk() ([]string, bool)

GetStrategiesOk returns a tuple with the Strategies field value and a boolean to check if the value has been set.

func (*ProxyClientSchema) HasEnvironment ¶

func (o *ProxyClientSchema) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*ProxyClientSchema) HasInstanceId ¶

func (o *ProxyClientSchema) HasInstanceId() bool

HasInstanceId returns a boolean if a field has been set.

func (*ProxyClientSchema) HasSdkVersion ¶

func (o *ProxyClientSchema) HasSdkVersion() bool

HasSdkVersion returns a boolean if a field has been set.

func (ProxyClientSchema) MarshalJSON ¶

func (o ProxyClientSchema) MarshalJSON() ([]byte, error)

func (*ProxyClientSchema) SetAppName ¶

func (o *ProxyClientSchema) SetAppName(v string)

SetAppName sets field value

func (*ProxyClientSchema) SetEnvironment ¶

func (o *ProxyClientSchema) SetEnvironment(v string)

SetEnvironment gets a reference to the given string and assigns it to the Environment field. Deprecated

func (*ProxyClientSchema) SetInstanceId ¶

func (o *ProxyClientSchema) SetInstanceId(v string)

SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.

func (*ProxyClientSchema) SetInterval ¶

func (o *ProxyClientSchema) SetInterval(v float32)

SetInterval sets field value

func (*ProxyClientSchema) SetSdkVersion ¶

func (o *ProxyClientSchema) SetSdkVersion(v string)

SetSdkVersion gets a reference to the given string and assigns it to the SdkVersion field.

func (*ProxyClientSchema) SetStarted ¶

SetStarted sets field value

func (*ProxyClientSchema) SetStrategies ¶

func (o *ProxyClientSchema) SetStrategies(v []string)

SetStrategies sets field value

func (ProxyClientSchema) ToMap ¶

func (o ProxyClientSchema) ToMap() (map[string]interface{}, error)

type ProxyClientSchemaStarted ¶

type ProxyClientSchemaStarted struct {
	Float32  *float32
	TimeTime *time.Time
}

ProxyClientSchemaStarted - When this client started. Should be reported as ISO8601 time.

func Float32AsProxyClientSchemaStarted ¶

func Float32AsProxyClientSchemaStarted(v *float32) ProxyClientSchemaStarted

float32AsProxyClientSchemaStarted is a convenience function that returns float32 wrapped in ProxyClientSchemaStarted

func TimeTimeAsProxyClientSchemaStarted ¶

func TimeTimeAsProxyClientSchemaStarted(v *time.Time) ProxyClientSchemaStarted

time.TimeAsProxyClientSchemaStarted is a convenience function that returns time.Time wrapped in ProxyClientSchemaStarted

func (*ProxyClientSchemaStarted) GetActualInstance ¶

func (obj *ProxyClientSchemaStarted) GetActualInstance() interface{}

Get the actual instance

func (ProxyClientSchemaStarted) MarshalJSON ¶

func (src ProxyClientSchemaStarted) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ProxyClientSchemaStarted) UnmarshalJSON ¶

func (dst *ProxyClientSchemaStarted) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type ProxyFeatureSchema ¶

type ProxyFeatureSchema struct {
	Name           string                     `json:"name"`
	Enabled        bool                       `json:"enabled"`
	ImpressionData bool                       `json:"impressionData"`
	Variant        *ProxyFeatureSchemaVariant `json:"variant,omitempty"`
}

ProxyFeatureSchema struct for ProxyFeatureSchema

func NewProxyFeatureSchema ¶

func NewProxyFeatureSchema(name string, enabled bool, impressionData bool) *ProxyFeatureSchema

NewProxyFeatureSchema instantiates a new ProxyFeatureSchema 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 NewProxyFeatureSchemaWithDefaults ¶

func NewProxyFeatureSchemaWithDefaults() *ProxyFeatureSchema

NewProxyFeatureSchemaWithDefaults instantiates a new ProxyFeatureSchema 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 (*ProxyFeatureSchema) GetEnabled ¶

func (o *ProxyFeatureSchema) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*ProxyFeatureSchema) GetEnabledOk ¶

func (o *ProxyFeatureSchema) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*ProxyFeatureSchema) GetImpressionData ¶

func (o *ProxyFeatureSchema) GetImpressionData() bool

GetImpressionData returns the ImpressionData field value

func (*ProxyFeatureSchema) GetImpressionDataOk ¶

func (o *ProxyFeatureSchema) GetImpressionDataOk() (*bool, bool)

GetImpressionDataOk returns a tuple with the ImpressionData field value and a boolean to check if the value has been set.

func (*ProxyFeatureSchema) GetName ¶

func (o *ProxyFeatureSchema) GetName() string

GetName returns the Name field value

func (*ProxyFeatureSchema) GetNameOk ¶

func (o *ProxyFeatureSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ProxyFeatureSchema) GetVariant ¶

GetVariant returns the Variant field value if set, zero value otherwise.

func (*ProxyFeatureSchema) GetVariantOk ¶

func (o *ProxyFeatureSchema) GetVariantOk() (*ProxyFeatureSchemaVariant, bool)

GetVariantOk returns a tuple with the Variant field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProxyFeatureSchema) HasVariant ¶

func (o *ProxyFeatureSchema) HasVariant() bool

HasVariant returns a boolean if a field has been set.

func (ProxyFeatureSchema) MarshalJSON ¶

func (o ProxyFeatureSchema) MarshalJSON() ([]byte, error)

func (*ProxyFeatureSchema) SetEnabled ¶

func (o *ProxyFeatureSchema) SetEnabled(v bool)

SetEnabled sets field value

func (*ProxyFeatureSchema) SetImpressionData ¶

func (o *ProxyFeatureSchema) SetImpressionData(v bool)

SetImpressionData sets field value

func (*ProxyFeatureSchema) SetName ¶

func (o *ProxyFeatureSchema) SetName(v string)

SetName sets field value

func (*ProxyFeatureSchema) SetVariant ¶

SetVariant gets a reference to the given ProxyFeatureSchemaVariant and assigns it to the Variant field.

func (ProxyFeatureSchema) ToMap ¶

func (o ProxyFeatureSchema) ToMap() (map[string]interface{}, error)

type ProxyFeatureSchemaVariant ¶

type ProxyFeatureSchemaVariant struct {
	Name    string                            `json:"name"`
	Enabled bool                              `json:"enabled"`
	Payload *ProxyFeatureSchemaVariantPayload `json:"payload,omitempty"`
}

ProxyFeatureSchemaVariant struct for ProxyFeatureSchemaVariant

func NewProxyFeatureSchemaVariant ¶

func NewProxyFeatureSchemaVariant(name string, enabled bool) *ProxyFeatureSchemaVariant

NewProxyFeatureSchemaVariant instantiates a new ProxyFeatureSchemaVariant 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 NewProxyFeatureSchemaVariantWithDefaults ¶

func NewProxyFeatureSchemaVariantWithDefaults() *ProxyFeatureSchemaVariant

NewProxyFeatureSchemaVariantWithDefaults instantiates a new ProxyFeatureSchemaVariant 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 (*ProxyFeatureSchemaVariant) GetEnabled ¶

func (o *ProxyFeatureSchemaVariant) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*ProxyFeatureSchemaVariant) GetEnabledOk ¶

func (o *ProxyFeatureSchemaVariant) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*ProxyFeatureSchemaVariant) GetName ¶

func (o *ProxyFeatureSchemaVariant) GetName() string

GetName returns the Name field value

func (*ProxyFeatureSchemaVariant) GetNameOk ¶

func (o *ProxyFeatureSchemaVariant) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ProxyFeatureSchemaVariant) GetPayload ¶

GetPayload returns the Payload field value if set, zero value otherwise.

func (*ProxyFeatureSchemaVariant) 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 (*ProxyFeatureSchemaVariant) HasPayload ¶

func (o *ProxyFeatureSchemaVariant) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (ProxyFeatureSchemaVariant) MarshalJSON ¶

func (o ProxyFeatureSchemaVariant) MarshalJSON() ([]byte, error)

func (*ProxyFeatureSchemaVariant) SetEnabled ¶

func (o *ProxyFeatureSchemaVariant) SetEnabled(v bool)

SetEnabled sets field value

func (*ProxyFeatureSchemaVariant) SetName ¶

func (o *ProxyFeatureSchemaVariant) SetName(v string)

SetName sets field value

func (*ProxyFeatureSchemaVariant) SetPayload ¶

SetPayload gets a reference to the given ProxyFeatureSchemaVariantPayload and assigns it to the Payload field.

func (ProxyFeatureSchemaVariant) ToMap ¶

func (o ProxyFeatureSchemaVariant) ToMap() (map[string]interface{}, error)

type ProxyFeatureSchemaVariantPayload ¶

type ProxyFeatureSchemaVariantPayload struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

ProxyFeatureSchemaVariantPayload struct for ProxyFeatureSchemaVariantPayload

func NewProxyFeatureSchemaVariantPayload ¶

func NewProxyFeatureSchemaVariantPayload(type_ string, value string) *ProxyFeatureSchemaVariantPayload

NewProxyFeatureSchemaVariantPayload instantiates a new ProxyFeatureSchemaVariantPayload 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 NewProxyFeatureSchemaVariantPayloadWithDefaults ¶

func NewProxyFeatureSchemaVariantPayloadWithDefaults() *ProxyFeatureSchemaVariantPayload

NewProxyFeatureSchemaVariantPayloadWithDefaults instantiates a new ProxyFeatureSchemaVariantPayload 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 (*ProxyFeatureSchemaVariantPayload) GetType ¶

GetType returns the Type field value

func (*ProxyFeatureSchemaVariantPayload) GetTypeOk ¶

func (o *ProxyFeatureSchemaVariantPayload) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ProxyFeatureSchemaVariantPayload) GetValue ¶

GetValue returns the Value field value

func (*ProxyFeatureSchemaVariantPayload) GetValueOk ¶

func (o *ProxyFeatureSchemaVariantPayload) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (ProxyFeatureSchemaVariantPayload) MarshalJSON ¶

func (o ProxyFeatureSchemaVariantPayload) MarshalJSON() ([]byte, error)

func (*ProxyFeatureSchemaVariantPayload) SetType ¶

SetType sets field value

func (*ProxyFeatureSchemaVariantPayload) SetValue ¶

SetValue sets field value

func (ProxyFeatureSchemaVariantPayload) ToMap ¶

func (o ProxyFeatureSchemaVariantPayload) ToMap() (map[string]interface{}, error)

type ProxyFeaturesSchema ¶

type ProxyFeaturesSchema struct {
	Toggles []ProxyFeatureSchema `json:"toggles"`
}

ProxyFeaturesSchema struct for ProxyFeaturesSchema

func NewProxyFeaturesSchema ¶

func NewProxyFeaturesSchema(toggles []ProxyFeatureSchema) *ProxyFeaturesSchema

NewProxyFeaturesSchema instantiates a new ProxyFeaturesSchema 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 NewProxyFeaturesSchemaWithDefaults ¶

func NewProxyFeaturesSchemaWithDefaults() *ProxyFeaturesSchema

NewProxyFeaturesSchemaWithDefaults instantiates a new ProxyFeaturesSchema 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 (*ProxyFeaturesSchema) GetToggles ¶

func (o *ProxyFeaturesSchema) GetToggles() []ProxyFeatureSchema

GetToggles returns the Toggles field value

func (*ProxyFeaturesSchema) GetTogglesOk ¶

func (o *ProxyFeaturesSchema) GetTogglesOk() ([]ProxyFeatureSchema, bool)

GetTogglesOk returns a tuple with the Toggles field value and a boolean to check if the value has been set.

func (ProxyFeaturesSchema) MarshalJSON ¶

func (o ProxyFeaturesSchema) MarshalJSON() ([]byte, error)

func (*ProxyFeaturesSchema) SetToggles ¶

func (o *ProxyFeaturesSchema) SetToggles(v []ProxyFeatureSchema)

SetToggles sets field value

func (ProxyFeaturesSchema) ToMap ¶

func (o ProxyFeaturesSchema) ToMap() (map[string]interface{}, error)

type PublicSignupTokenCreateSchema ¶

type PublicSignupTokenCreateSchema struct {
	// The token's name.
	Name string `json:"name"`
	// The token's expiration date.
	ExpiresAt time.Time `json:"expiresAt"`
}

PublicSignupTokenCreateSchema Used for creating a [public invite link](https://docs.getunleash.io/reference/public-signup#public-sign-up-tokens)

func NewPublicSignupTokenCreateSchema ¶

func NewPublicSignupTokenCreateSchema(name string, expiresAt time.Time) *PublicSignupTokenCreateSchema

NewPublicSignupTokenCreateSchema instantiates a new PublicSignupTokenCreateSchema 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 NewPublicSignupTokenCreateSchemaWithDefaults ¶

func NewPublicSignupTokenCreateSchemaWithDefaults() *PublicSignupTokenCreateSchema

NewPublicSignupTokenCreateSchemaWithDefaults instantiates a new PublicSignupTokenCreateSchema 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 (*PublicSignupTokenCreateSchema) GetExpiresAt ¶

func (o *PublicSignupTokenCreateSchema) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*PublicSignupTokenCreateSchema) GetExpiresAtOk ¶

func (o *PublicSignupTokenCreateSchema) 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 (*PublicSignupTokenCreateSchema) GetName ¶

GetName returns the Name field value

func (*PublicSignupTokenCreateSchema) GetNameOk ¶

func (o *PublicSignupTokenCreateSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (PublicSignupTokenCreateSchema) MarshalJSON ¶

func (o PublicSignupTokenCreateSchema) MarshalJSON() ([]byte, error)

func (*PublicSignupTokenCreateSchema) SetExpiresAt ¶

func (o *PublicSignupTokenCreateSchema) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*PublicSignupTokenCreateSchema) SetName ¶

func (o *PublicSignupTokenCreateSchema) SetName(v string)

SetName sets field value

func (PublicSignupTokenCreateSchema) ToMap ¶

func (o PublicSignupTokenCreateSchema) ToMap() (map[string]interface{}, error)

type PublicSignupTokenSchema ¶

type PublicSignupTokenSchema struct {
	// The actual value of the token. This is the part that is used by Unleash to create an invite link
	Secret string `json:"secret"`
	// The public signup link for the token. Users who follow this link will be taken to a signup page where they can create an Unleash user.
	Url string `json:"url"`
	// The token's name. Only for displaying in the UI
	Name string `json:"name"`
	// Whether the token is active. This property will always be `false` for a token that has expired.
	Enabled bool `json:"enabled"`
	// The time when the token will expire.
	ExpiresAt time.Time `json:"expiresAt"`
	// When the token was created.
	CreatedAt time.Time `json:"createdAt"`
	// The creator's email or username
	CreatedBy NullableString `json:"createdBy"`
	// Array of users that have signed up using the token.
	Users []UserSchema `json:"users,omitempty"`
	Role  RoleSchema   `json:"role"`
}

PublicSignupTokenSchema Used for transporting a [public invite link](https://docs.getunleash.io/reference/public-signup#public-sign-up-tokens)

func NewPublicSignupTokenSchema ¶

func NewPublicSignupTokenSchema(secret string, url string, name string, enabled bool, expiresAt time.Time, createdAt time.Time, createdBy NullableString, role RoleSchema) *PublicSignupTokenSchema

NewPublicSignupTokenSchema instantiates a new PublicSignupTokenSchema 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 NewPublicSignupTokenSchemaWithDefaults ¶

func NewPublicSignupTokenSchemaWithDefaults() *PublicSignupTokenSchema

NewPublicSignupTokenSchemaWithDefaults instantiates a new PublicSignupTokenSchema 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 (*PublicSignupTokenSchema) GetCreatedAt ¶

func (o *PublicSignupTokenSchema) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*PublicSignupTokenSchema) GetCreatedAtOk ¶

func (o *PublicSignupTokenSchema) 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 (*PublicSignupTokenSchema) GetCreatedBy ¶

func (o *PublicSignupTokenSchema) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*PublicSignupTokenSchema) GetCreatedByOk ¶

func (o *PublicSignupTokenSchema) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy 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 (*PublicSignupTokenSchema) GetEnabled ¶

func (o *PublicSignupTokenSchema) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*PublicSignupTokenSchema) GetEnabledOk ¶

func (o *PublicSignupTokenSchema) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*PublicSignupTokenSchema) GetExpiresAt ¶

func (o *PublicSignupTokenSchema) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*PublicSignupTokenSchema) GetExpiresAtOk ¶

func (o *PublicSignupTokenSchema) 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 (*PublicSignupTokenSchema) GetName ¶

func (o *PublicSignupTokenSchema) GetName() string

GetName returns the Name field value

func (*PublicSignupTokenSchema) GetNameOk ¶

func (o *PublicSignupTokenSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PublicSignupTokenSchema) GetRole ¶

func (o *PublicSignupTokenSchema) GetRole() RoleSchema

GetRole returns the Role field value

func (*PublicSignupTokenSchema) GetRoleOk ¶

func (o *PublicSignupTokenSchema) GetRoleOk() (*RoleSchema, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*PublicSignupTokenSchema) GetSecret ¶

func (o *PublicSignupTokenSchema) GetSecret() string

GetSecret returns the Secret field value

func (*PublicSignupTokenSchema) GetSecretOk ¶

func (o *PublicSignupTokenSchema) GetSecretOk() (*string, bool)

GetSecretOk returns a tuple with the Secret field value and a boolean to check if the value has been set.

func (*PublicSignupTokenSchema) GetUrl ¶

func (o *PublicSignupTokenSchema) GetUrl() string

GetUrl returns the Url field value

func (*PublicSignupTokenSchema) GetUrlOk ¶

func (o *PublicSignupTokenSchema) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*PublicSignupTokenSchema) GetUsers ¶

func (o *PublicSignupTokenSchema) GetUsers() []UserSchema

GetUsers returns the Users field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PublicSignupTokenSchema) GetUsersOk ¶

func (o *PublicSignupTokenSchema) GetUsersOk() ([]UserSchema, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PublicSignupTokenSchema) HasUsers ¶

func (o *PublicSignupTokenSchema) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (PublicSignupTokenSchema) MarshalJSON ¶

func (o PublicSignupTokenSchema) MarshalJSON() ([]byte, error)

func (*PublicSignupTokenSchema) SetCreatedAt ¶

func (o *PublicSignupTokenSchema) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*PublicSignupTokenSchema) SetCreatedBy ¶

func (o *PublicSignupTokenSchema) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*PublicSignupTokenSchema) SetEnabled ¶

func (o *PublicSignupTokenSchema) SetEnabled(v bool)

SetEnabled sets field value

func (*PublicSignupTokenSchema) SetExpiresAt ¶

func (o *PublicSignupTokenSchema) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*PublicSignupTokenSchema) SetName ¶

func (o *PublicSignupTokenSchema) SetName(v string)

SetName sets field value

func (*PublicSignupTokenSchema) SetRole ¶

func (o *PublicSignupTokenSchema) SetRole(v RoleSchema)

SetRole sets field value

func (*PublicSignupTokenSchema) SetSecret ¶

func (o *PublicSignupTokenSchema) SetSecret(v string)

SetSecret sets field value

func (*PublicSignupTokenSchema) SetUrl ¶

func (o *PublicSignupTokenSchema) SetUrl(v string)

SetUrl sets field value

func (*PublicSignupTokenSchema) SetUsers ¶

func (o *PublicSignupTokenSchema) SetUsers(v []UserSchema)

SetUsers gets a reference to the given []UserSchema and assigns it to the Users field.

func (PublicSignupTokenSchema) ToMap ¶

func (o PublicSignupTokenSchema) ToMap() (map[string]interface{}, error)

type PublicSignupTokenUpdateSchema ¶

type PublicSignupTokenUpdateSchema struct {
	// The token's expiration date.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	// Whether the token is active or not.
	Enabled *bool `json:"enabled,omitempty"`
}

PublicSignupTokenUpdateSchema Used by Unleash for updating a token's expiration date or, when deleting the invite link, it's status

func NewPublicSignupTokenUpdateSchema ¶

func NewPublicSignupTokenUpdateSchema() *PublicSignupTokenUpdateSchema

NewPublicSignupTokenUpdateSchema instantiates a new PublicSignupTokenUpdateSchema 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 NewPublicSignupTokenUpdateSchemaWithDefaults ¶

func NewPublicSignupTokenUpdateSchemaWithDefaults() *PublicSignupTokenUpdateSchema

NewPublicSignupTokenUpdateSchemaWithDefaults instantiates a new PublicSignupTokenUpdateSchema 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 (*PublicSignupTokenUpdateSchema) GetEnabled ¶

func (o *PublicSignupTokenUpdateSchema) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*PublicSignupTokenUpdateSchema) GetEnabledOk ¶

func (o *PublicSignupTokenUpdateSchema) 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 (*PublicSignupTokenUpdateSchema) GetExpiresAt ¶

func (o *PublicSignupTokenUpdateSchema) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*PublicSignupTokenUpdateSchema) GetExpiresAtOk ¶

func (o *PublicSignupTokenUpdateSchema) 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 (*PublicSignupTokenUpdateSchema) HasEnabled ¶

func (o *PublicSignupTokenUpdateSchema) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*PublicSignupTokenUpdateSchema) HasExpiresAt ¶

func (o *PublicSignupTokenUpdateSchema) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (PublicSignupTokenUpdateSchema) MarshalJSON ¶

func (o PublicSignupTokenUpdateSchema) MarshalJSON() ([]byte, error)

func (*PublicSignupTokenUpdateSchema) SetEnabled ¶

func (o *PublicSignupTokenUpdateSchema) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*PublicSignupTokenUpdateSchema) SetExpiresAt ¶

func (o *PublicSignupTokenUpdateSchema) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (PublicSignupTokenUpdateSchema) ToMap ¶

func (o PublicSignupTokenUpdateSchema) ToMap() (map[string]interface{}, error)

type PublicSignupTokensApiService ¶

type PublicSignupTokensApiService service

PublicSignupTokensApiService PublicSignupTokensApi service

func (*PublicSignupTokensApiService) AddPublicSignupTokenUser ¶

AddPublicSignupTokenUser Add a user via a signup token

Create a user with the viewer root role and link them to the provided signup token

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param token
@return ApiAddPublicSignupTokenUserRequest

func (*PublicSignupTokensApiService) AddPublicSignupTokenUserExecute ¶

Execute executes the request

@return UserSchema

func (*PublicSignupTokensApiService) CreatePublicSignupToken ¶

CreatePublicSignupToken Create a public signup token

Lets administrators create a invite link to share with colleagues. People that join using the public invite are assigned the `Viewer` role

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreatePublicSignupTokenRequest

func (*PublicSignupTokensApiService) CreatePublicSignupTokenExecute ¶

Execute executes the request

@return PublicSignupTokenSchema

func (*PublicSignupTokensApiService) GetAllPublicSignupTokens ¶

GetAllPublicSignupTokens Retrieve all existing public signup tokens

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllPublicSignupTokensRequest

func (*PublicSignupTokensApiService) GetAllPublicSignupTokensExecute ¶

Execute executes the request

@return PublicSignupTokensSchema

func (*PublicSignupTokensApiService) GetPublicSignupToken ¶

GetPublicSignupToken Retrieve a token

Get information about a specific token. The `:token` part of the URL should be the token's secret.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param token
@return ApiGetPublicSignupTokenRequest

func (*PublicSignupTokensApiService) GetPublicSignupTokenExecute ¶

Execute executes the request

@return PublicSignupTokenSchema

func (*PublicSignupTokensApiService) UpdatePublicSignupToken ¶

UpdatePublicSignupToken Update a public signup token

Update information about a specific token. The `:token` part of the URL should be the token's secret.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param token
@return ApiUpdatePublicSignupTokenRequest

func (*PublicSignupTokensApiService) UpdatePublicSignupTokenExecute ¶

Execute executes the request

@return PublicSignupTokenSchema

func (*PublicSignupTokensApiService) ValidatePublicSignupToken ¶

ValidatePublicSignupToken Check whether a public sign-up token exists, has not expired and is enabled

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param token
@return ApiValidatePublicSignupTokenRequest

func (*PublicSignupTokensApiService) ValidatePublicSignupTokenExecute ¶

func (a *PublicSignupTokensApiService) ValidatePublicSignupTokenExecute(r ApiValidatePublicSignupTokenRequest) (*http.Response, error)

Execute executes the request

type PublicSignupTokensSchema ¶

type PublicSignupTokensSchema struct {
	// An array of all the public signup tokens
	Tokens []PublicSignupTokenSchema `json:"tokens"`
}

PublicSignupTokensSchema A wrapper object containing all the public signup tokens

func NewPublicSignupTokensSchema ¶

func NewPublicSignupTokensSchema(tokens []PublicSignupTokenSchema) *PublicSignupTokensSchema

NewPublicSignupTokensSchema instantiates a new PublicSignupTokensSchema 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 NewPublicSignupTokensSchemaWithDefaults ¶

func NewPublicSignupTokensSchemaWithDefaults() *PublicSignupTokensSchema

NewPublicSignupTokensSchemaWithDefaults instantiates a new PublicSignupTokensSchema 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 (*PublicSignupTokensSchema) GetTokens ¶

GetTokens returns the Tokens field value

func (*PublicSignupTokensSchema) GetTokensOk ¶

GetTokensOk returns a tuple with the Tokens field value and a boolean to check if the value has been set.

func (PublicSignupTokensSchema) MarshalJSON ¶

func (o PublicSignupTokensSchema) MarshalJSON() ([]byte, error)

func (*PublicSignupTokensSchema) SetTokens ¶

SetTokens sets field value

func (PublicSignupTokensSchema) ToMap ¶

func (o PublicSignupTokensSchema) ToMap() (map[string]interface{}, error)

type PushVariantsSchema ¶

type PushVariantsSchema struct {
	Variants     []VariantSchema `json:"variants,omitempty"`
	Environments []string        `json:"environments,omitempty"`
}

PushVariantsSchema struct for PushVariantsSchema

func NewPushVariantsSchema ¶

func NewPushVariantsSchema() *PushVariantsSchema

NewPushVariantsSchema instantiates a new PushVariantsSchema 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 NewPushVariantsSchemaWithDefaults ¶

func NewPushVariantsSchemaWithDefaults() *PushVariantsSchema

NewPushVariantsSchemaWithDefaults instantiates a new PushVariantsSchema 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 (*PushVariantsSchema) GetEnvironments ¶

func (o *PushVariantsSchema) GetEnvironments() []string

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*PushVariantsSchema) GetEnvironmentsOk ¶

func (o *PushVariantsSchema) 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 (*PushVariantsSchema) GetVariants ¶

func (o *PushVariantsSchema) GetVariants() []VariantSchema

GetVariants returns the Variants field value if set, zero value otherwise.

func (*PushVariantsSchema) GetVariantsOk ¶

func (o *PushVariantsSchema) GetVariantsOk() ([]VariantSchema, 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 (*PushVariantsSchema) HasEnvironments ¶

func (o *PushVariantsSchema) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*PushVariantsSchema) HasVariants ¶

func (o *PushVariantsSchema) HasVariants() bool

HasVariants returns a boolean if a field has been set.

func (PushVariantsSchema) MarshalJSON ¶

func (o PushVariantsSchema) MarshalJSON() ([]byte, error)

func (*PushVariantsSchema) SetEnvironments ¶

func (o *PushVariantsSchema) SetEnvironments(v []string)

SetEnvironments gets a reference to the given []string and assigns it to the Environments field.

func (*PushVariantsSchema) SetVariants ¶

func (o *PushVariantsSchema) SetVariants(v []VariantSchema)

SetVariants gets a reference to the given []VariantSchema and assigns it to the Variants field.

func (PushVariantsSchema) ToMap ¶

func (o PushVariantsSchema) ToMap() (map[string]interface{}, error)

type RequestsPerSecondSchema ¶

type RequestsPerSecondSchema struct {
	Status *string                      `json:"status,omitempty"`
	Data   *RequestsPerSecondSchemaData `json:"data,omitempty"`
}

RequestsPerSecondSchema struct for RequestsPerSecondSchema

func NewRequestsPerSecondSchema ¶

func NewRequestsPerSecondSchema() *RequestsPerSecondSchema

NewRequestsPerSecondSchema instantiates a new RequestsPerSecondSchema 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 NewRequestsPerSecondSchemaWithDefaults ¶

func NewRequestsPerSecondSchemaWithDefaults() *RequestsPerSecondSchema

NewRequestsPerSecondSchemaWithDefaults instantiates a new RequestsPerSecondSchema 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 (*RequestsPerSecondSchema) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*RequestsPerSecondSchema) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestsPerSecondSchema) GetStatus ¶

func (o *RequestsPerSecondSchema) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*RequestsPerSecondSchema) GetStatusOk ¶

func (o *RequestsPerSecondSchema) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestsPerSecondSchema) HasData ¶

func (o *RequestsPerSecondSchema) HasData() bool

HasData returns a boolean if a field has been set.

func (*RequestsPerSecondSchema) HasStatus ¶

func (o *RequestsPerSecondSchema) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (RequestsPerSecondSchema) MarshalJSON ¶

func (o RequestsPerSecondSchema) MarshalJSON() ([]byte, error)

func (*RequestsPerSecondSchema) SetData ¶

SetData gets a reference to the given RequestsPerSecondSchemaData and assigns it to the Data field.

func (*RequestsPerSecondSchema) SetStatus ¶

func (o *RequestsPerSecondSchema) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (RequestsPerSecondSchema) ToMap ¶

func (o RequestsPerSecondSchema) ToMap() (map[string]interface{}, error)

type RequestsPerSecondSchemaData ¶

type RequestsPerSecondSchemaData struct {
	ResultType *string `json:"resultType,omitempty"`
	// An array of values per metric. Each one represents a line in the graph labeled by its metric name
	Result []RequestsPerSecondSchemaDataResultInner `json:"result,omitempty"`
}

RequestsPerSecondSchemaData struct for RequestsPerSecondSchemaData

func NewRequestsPerSecondSchemaData ¶

func NewRequestsPerSecondSchemaData() *RequestsPerSecondSchemaData

NewRequestsPerSecondSchemaData instantiates a new RequestsPerSecondSchemaData 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 NewRequestsPerSecondSchemaDataWithDefaults ¶

func NewRequestsPerSecondSchemaDataWithDefaults() *RequestsPerSecondSchemaData

NewRequestsPerSecondSchemaDataWithDefaults instantiates a new RequestsPerSecondSchemaData 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 (*RequestsPerSecondSchemaData) GetResult ¶

GetResult returns the Result field value if set, zero value otherwise.

func (*RequestsPerSecondSchemaData) GetResultOk ¶

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestsPerSecondSchemaData) GetResultType ¶

func (o *RequestsPerSecondSchemaData) GetResultType() string

GetResultType returns the ResultType field value if set, zero value otherwise.

func (*RequestsPerSecondSchemaData) GetResultTypeOk ¶

func (o *RequestsPerSecondSchemaData) GetResultTypeOk() (*string, bool)

GetResultTypeOk returns a tuple with the ResultType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestsPerSecondSchemaData) HasResult ¶

func (o *RequestsPerSecondSchemaData) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*RequestsPerSecondSchemaData) HasResultType ¶

func (o *RequestsPerSecondSchemaData) HasResultType() bool

HasResultType returns a boolean if a field has been set.

func (RequestsPerSecondSchemaData) MarshalJSON ¶

func (o RequestsPerSecondSchemaData) MarshalJSON() ([]byte, error)

func (*RequestsPerSecondSchemaData) SetResult ¶

SetResult gets a reference to the given []RequestsPerSecondSchemaDataResultInner and assigns it to the Result field.

func (*RequestsPerSecondSchemaData) SetResultType ¶

func (o *RequestsPerSecondSchemaData) SetResultType(v string)

SetResultType gets a reference to the given string and assigns it to the ResultType field.

func (RequestsPerSecondSchemaData) ToMap ¶

func (o RequestsPerSecondSchemaData) ToMap() (map[string]interface{}, error)

type RequestsPerSecondSchemaDataResultInner ¶

type RequestsPerSecondSchemaDataResultInner struct {
	Metric *RequestsPerSecondSchemaDataResultInnerMetric `json:"metric,omitempty"`
	// An array of arrays. Each element of the array is an array of size 2 consisting of the 2 axis for the graph: in position zero the x axis represented as a number and position one the y axis represented as string
	Values [][]RequestsPerSecondSchemaDataResultInnerValuesInnerInner `json:"values,omitempty"`
}

RequestsPerSecondSchemaDataResultInner struct for RequestsPerSecondSchemaDataResultInner

func NewRequestsPerSecondSchemaDataResultInner ¶

func NewRequestsPerSecondSchemaDataResultInner() *RequestsPerSecondSchemaDataResultInner

NewRequestsPerSecondSchemaDataResultInner instantiates a new RequestsPerSecondSchemaDataResultInner 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 NewRequestsPerSecondSchemaDataResultInnerWithDefaults ¶

func NewRequestsPerSecondSchemaDataResultInnerWithDefaults() *RequestsPerSecondSchemaDataResultInner

NewRequestsPerSecondSchemaDataResultInnerWithDefaults instantiates a new RequestsPerSecondSchemaDataResultInner 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 (*RequestsPerSecondSchemaDataResultInner) GetMetric ¶

GetMetric returns the Metric field value if set, zero value otherwise.

func (*RequestsPerSecondSchemaDataResultInner) GetMetricOk ¶

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestsPerSecondSchemaDataResultInner) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*RequestsPerSecondSchemaDataResultInner) GetValuesOk ¶

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 (*RequestsPerSecondSchemaDataResultInner) HasMetric ¶

HasMetric returns a boolean if a field has been set.

func (*RequestsPerSecondSchemaDataResultInner) HasValues ¶

HasValues returns a boolean if a field has been set.

func (RequestsPerSecondSchemaDataResultInner) MarshalJSON ¶

func (o RequestsPerSecondSchemaDataResultInner) MarshalJSON() ([]byte, error)

func (*RequestsPerSecondSchemaDataResultInner) SetMetric ¶

SetMetric gets a reference to the given RequestsPerSecondSchemaDataResultInnerMetric and assigns it to the Metric field.

func (*RequestsPerSecondSchemaDataResultInner) SetValues ¶

SetValues gets a reference to the given [][]RequestsPerSecondSchemaDataResultInnerValuesInnerInner and assigns it to the Values field.

func (RequestsPerSecondSchemaDataResultInner) ToMap ¶

func (o RequestsPerSecondSchemaDataResultInner) ToMap() (map[string]interface{}, error)

type RequestsPerSecondSchemaDataResultInnerMetric ¶

type RequestsPerSecondSchemaDataResultInnerMetric struct {
	AppName  *string `json:"appName,omitempty"`
	Endpoint *string `json:"endpoint,omitempty"`
}

RequestsPerSecondSchemaDataResultInnerMetric A key value set representing the metric

func NewRequestsPerSecondSchemaDataResultInnerMetric ¶

func NewRequestsPerSecondSchemaDataResultInnerMetric() *RequestsPerSecondSchemaDataResultInnerMetric

NewRequestsPerSecondSchemaDataResultInnerMetric instantiates a new RequestsPerSecondSchemaDataResultInnerMetric 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 NewRequestsPerSecondSchemaDataResultInnerMetricWithDefaults ¶

func NewRequestsPerSecondSchemaDataResultInnerMetricWithDefaults() *RequestsPerSecondSchemaDataResultInnerMetric

NewRequestsPerSecondSchemaDataResultInnerMetricWithDefaults instantiates a new RequestsPerSecondSchemaDataResultInnerMetric 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 (*RequestsPerSecondSchemaDataResultInnerMetric) GetAppName ¶

GetAppName returns the AppName field value if set, zero value otherwise.

func (*RequestsPerSecondSchemaDataResultInnerMetric) GetAppNameOk ¶

GetAppNameOk returns a tuple with the AppName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestsPerSecondSchemaDataResultInnerMetric) GetEndpoint ¶

GetEndpoint returns the Endpoint field value if set, zero value otherwise.

func (*RequestsPerSecondSchemaDataResultInnerMetric) GetEndpointOk ¶

GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestsPerSecondSchemaDataResultInnerMetric) HasAppName ¶

HasAppName returns a boolean if a field has been set.

func (*RequestsPerSecondSchemaDataResultInnerMetric) HasEndpoint ¶

HasEndpoint returns a boolean if a field has been set.

func (RequestsPerSecondSchemaDataResultInnerMetric) MarshalJSON ¶

func (*RequestsPerSecondSchemaDataResultInnerMetric) SetAppName ¶

SetAppName gets a reference to the given string and assigns it to the AppName field.

func (*RequestsPerSecondSchemaDataResultInnerMetric) SetEndpoint ¶

SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.

func (RequestsPerSecondSchemaDataResultInnerMetric) ToMap ¶

func (o RequestsPerSecondSchemaDataResultInnerMetric) ToMap() (map[string]interface{}, error)

type RequestsPerSecondSchemaDataResultInnerValuesInnerInner ¶

type RequestsPerSecondSchemaDataResultInnerValuesInnerInner struct {
	// contains filtered or unexported fields
}

RequestsPerSecondSchemaDataResultInnerValuesInnerInner struct for RequestsPerSecondSchemaDataResultInnerValuesInnerInner

func (*RequestsPerSecondSchemaDataResultInnerValuesInnerInner) MarshalJSON ¶

Marshal data from the first non-nil pointers in the struct to JSON

func (*RequestsPerSecondSchemaDataResultInnerValuesInnerInner) UnmarshalJSON ¶

Unmarshal JSON data into any of the pointers in the struct

type RequestsPerSecondSegmentedSchema ¶

type RequestsPerSecondSegmentedSchema struct {
	ClientMetrics *RequestsPerSecondSchema `json:"clientMetrics,omitempty"`
	AdminMetrics  *RequestsPerSecondSchema `json:"adminMetrics,omitempty"`
}

RequestsPerSecondSegmentedSchema struct for RequestsPerSecondSegmentedSchema

func NewRequestsPerSecondSegmentedSchema ¶

func NewRequestsPerSecondSegmentedSchema() *RequestsPerSecondSegmentedSchema

NewRequestsPerSecondSegmentedSchema instantiates a new RequestsPerSecondSegmentedSchema 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 NewRequestsPerSecondSegmentedSchemaWithDefaults ¶

func NewRequestsPerSecondSegmentedSchemaWithDefaults() *RequestsPerSecondSegmentedSchema

NewRequestsPerSecondSegmentedSchemaWithDefaults instantiates a new RequestsPerSecondSegmentedSchema 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 (*RequestsPerSecondSegmentedSchema) GetAdminMetrics ¶

GetAdminMetrics returns the AdminMetrics field value if set, zero value otherwise.

func (*RequestsPerSecondSegmentedSchema) GetAdminMetricsOk ¶

GetAdminMetricsOk returns a tuple with the AdminMetrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestsPerSecondSegmentedSchema) GetClientMetrics ¶

GetClientMetrics returns the ClientMetrics field value if set, zero value otherwise.

func (*RequestsPerSecondSegmentedSchema) GetClientMetricsOk ¶

GetClientMetricsOk returns a tuple with the ClientMetrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestsPerSecondSegmentedSchema) HasAdminMetrics ¶

func (o *RequestsPerSecondSegmentedSchema) HasAdminMetrics() bool

HasAdminMetrics returns a boolean if a field has been set.

func (*RequestsPerSecondSegmentedSchema) HasClientMetrics ¶

func (o *RequestsPerSecondSegmentedSchema) HasClientMetrics() bool

HasClientMetrics returns a boolean if a field has been set.

func (RequestsPerSecondSegmentedSchema) MarshalJSON ¶

func (o RequestsPerSecondSegmentedSchema) MarshalJSON() ([]byte, error)

func (*RequestsPerSecondSegmentedSchema) SetAdminMetrics ¶

SetAdminMetrics gets a reference to the given RequestsPerSecondSchema and assigns it to the AdminMetrics field.

func (*RequestsPerSecondSegmentedSchema) SetClientMetrics ¶

SetClientMetrics gets a reference to the given RequestsPerSecondSchema and assigns it to the ClientMetrics field.

func (RequestsPerSecondSegmentedSchema) ToMap ¶

func (o RequestsPerSecondSegmentedSchema) ToMap() (map[string]interface{}, error)

type ResetPasswordSchema ¶

type ResetPasswordSchema struct {
	ResetPasswordUrl string `json:"resetPasswordUrl"`
}

ResetPasswordSchema struct for ResetPasswordSchema

func NewResetPasswordSchema ¶

func NewResetPasswordSchema(resetPasswordUrl string) *ResetPasswordSchema

NewResetPasswordSchema instantiates a new ResetPasswordSchema 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 NewResetPasswordSchemaWithDefaults ¶

func NewResetPasswordSchemaWithDefaults() *ResetPasswordSchema

NewResetPasswordSchemaWithDefaults instantiates a new ResetPasswordSchema 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 (*ResetPasswordSchema) GetResetPasswordUrl ¶

func (o *ResetPasswordSchema) GetResetPasswordUrl() string

GetResetPasswordUrl returns the ResetPasswordUrl field value

func (*ResetPasswordSchema) GetResetPasswordUrlOk ¶

func (o *ResetPasswordSchema) GetResetPasswordUrlOk() (*string, bool)

GetResetPasswordUrlOk returns a tuple with the ResetPasswordUrl field value and a boolean to check if the value has been set.

func (ResetPasswordSchema) MarshalJSON ¶

func (o ResetPasswordSchema) MarshalJSON() ([]byte, error)

func (*ResetPasswordSchema) SetResetPasswordUrl ¶

func (o *ResetPasswordSchema) SetResetPasswordUrl(v string)

SetResetPasswordUrl sets field value

func (ResetPasswordSchema) ToMap ¶

func (o ResetPasswordSchema) ToMap() (map[string]interface{}, error)

type RoleSchema ¶

type RoleSchema struct {
	Id          float32 `json:"id"`
	Type        string  `json:"type"`
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
}

RoleSchema struct for RoleSchema

func NewRoleSchema ¶

func NewRoleSchema(id float32, 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() float32

GetId returns the Id field value

func (*RoleSchema) GetIdOk ¶

func (o *RoleSchema) GetIdOk() (*float32, 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) 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) 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 float32)

SetId sets field value

func (*RoleSchema) SetName ¶

func (o *RoleSchema) SetName(v string)

SetName sets field value

func (*RoleSchema) SetType ¶

func (o *RoleSchema) SetType(v string)

SetType sets field value

func (RoleSchema) ToMap ¶

func (o RoleSchema) ToMap() (map[string]interface{}, error)

type RoleWithPermissionsSchema ¶

type RoleWithPermissionsSchema struct {
	Id          float32                 `json:"id"`
	Type        string                  `json:"type"`
	Name        string                  `json:"name"`
	Description *string                 `json:"description,omitempty"`
	Permissions []AdminPermissionSchema `json:"permissions"`
}

RoleWithPermissionsSchema struct for RoleWithPermissionsSchema

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)

type RoleWithVersionSchema ¶

type RoleWithVersionSchema struct {
	Version float32    `json:"version"`
	Roles   RoleSchema `json:"roles"`
}

RoleWithVersionSchema struct for RoleWithVersionSchema

func NewRoleWithVersionSchema ¶

func NewRoleWithVersionSchema(version float32, 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() float32

GetVersion returns the Version field value

func (*RoleWithVersionSchema) GetVersionOk ¶

func (o *RoleWithVersionSchema) GetVersionOk() (*float32, 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 float32)

SetVersion sets field value

func (RoleWithVersionSchema) ToMap ¶

func (o RoleWithVersionSchema) ToMap() (map[string]interface{}, error)

type RolesWithVersionSchema ¶

type RolesWithVersionSchema struct {
	Version float32      `json:"version"`
	Roles   []RoleSchema `json:"roles"`
}

RolesWithVersionSchema struct for RolesWithVersionSchema

func NewRolesWithVersionSchema ¶

func NewRolesWithVersionSchema(version float32, 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() float32

GetVersion returns the Version field value

func (*RolesWithVersionSchema) GetVersionOk ¶

func (o *RolesWithVersionSchema) GetVersionOk() (*float32, 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 float32)

SetVersion sets field value

func (RolesWithVersionSchema) ToMap ¶

func (o RolesWithVersionSchema) ToMap() (map[string]interface{}, error)

type SamlSettingsSchema ¶

type SamlSettingsSchema struct {
	// Is SAML authentication enabled
	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"`
}

SamlSettingsSchema Settings used to authenticate via SAML

func NewSamlSettingsSchema ¶

func NewSamlSettingsSchema(entityId string, signOnUrl string, certificate string) *SamlSettingsSchema

NewSamlSettingsSchema instantiates a new SamlSettingsSchema 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 NewSamlSettingsSchemaWithDefaults ¶

func NewSamlSettingsSchemaWithDefaults() *SamlSettingsSchema

NewSamlSettingsSchemaWithDefaults instantiates a new SamlSettingsSchema 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 (*SamlSettingsSchema) GetAutoCreate ¶

func (o *SamlSettingsSchema) GetAutoCreate() bool

GetAutoCreate returns the AutoCreate field value if set, zero value otherwise.

func (*SamlSettingsSchema) GetAutoCreateOk ¶

func (o *SamlSettingsSchema) 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 (*SamlSettingsSchema) GetCertificate ¶

func (o *SamlSettingsSchema) GetCertificate() string

GetCertificate returns the Certificate field value

func (*SamlSettingsSchema) GetCertificateOk ¶

func (o *SamlSettingsSchema) GetCertificateOk() (*string, bool)

GetCertificateOk returns a tuple with the Certificate field value and a boolean to check if the value has been set.

func (*SamlSettingsSchema) GetDefaultRootRole ¶

func (o *SamlSettingsSchema) GetDefaultRootRole() string

GetDefaultRootRole returns the DefaultRootRole field value if set, zero value otherwise.

func (*SamlSettingsSchema) GetDefaultRootRoleOk ¶

func (o *SamlSettingsSchema) 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 (*SamlSettingsSchema) GetEmailDomains ¶

func (o *SamlSettingsSchema) GetEmailDomains() string

GetEmailDomains returns the EmailDomains field value if set, zero value otherwise.

func (*SamlSettingsSchema) GetEmailDomainsOk ¶

func (o *SamlSettingsSchema) 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 (*SamlSettingsSchema) GetEnabled ¶

func (o *SamlSettingsSchema) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*SamlSettingsSchema) GetEnabledOk ¶

func (o *SamlSettingsSchema) 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 (*SamlSettingsSchema) GetEntityId ¶

func (o *SamlSettingsSchema) GetEntityId() string

GetEntityId returns the EntityId field value

func (*SamlSettingsSchema) GetEntityIdOk ¶

func (o *SamlSettingsSchema) GetEntityIdOk() (*string, bool)

GetEntityIdOk returns a tuple with the EntityId field value and a boolean to check if the value has been set.

func (*SamlSettingsSchema) GetSignOnUrl ¶

func (o *SamlSettingsSchema) GetSignOnUrl() string

GetSignOnUrl returns the SignOnUrl field value

func (*SamlSettingsSchema) GetSignOnUrlOk ¶

func (o *SamlSettingsSchema) GetSignOnUrlOk() (*string, bool)

GetSignOnUrlOk returns a tuple with the SignOnUrl field value and a boolean to check if the value has been set.

func (*SamlSettingsSchema) GetSignOutUrl ¶

func (o *SamlSettingsSchema) GetSignOutUrl() string

GetSignOutUrl returns the SignOutUrl field value if set, zero value otherwise.

func (*SamlSettingsSchema) GetSignOutUrlOk ¶

func (o *SamlSettingsSchema) 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 (*SamlSettingsSchema) GetSpCertificate ¶

func (o *SamlSettingsSchema) GetSpCertificate() string

GetSpCertificate returns the SpCertificate field value if set, zero value otherwise.

func (*SamlSettingsSchema) GetSpCertificateOk ¶

func (o *SamlSettingsSchema) 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 (*SamlSettingsSchema) HasAutoCreate ¶

func (o *SamlSettingsSchema) HasAutoCreate() bool

HasAutoCreate returns a boolean if a field has been set.

func (*SamlSettingsSchema) HasDefaultRootRole ¶

func (o *SamlSettingsSchema) HasDefaultRootRole() bool

HasDefaultRootRole returns a boolean if a field has been set.

func (*SamlSettingsSchema) HasEmailDomains ¶

func (o *SamlSettingsSchema) HasEmailDomains() bool

HasEmailDomains returns a boolean if a field has been set.

func (*SamlSettingsSchema) HasEnabled ¶

func (o *SamlSettingsSchema) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*SamlSettingsSchema) HasSignOutUrl ¶

func (o *SamlSettingsSchema) HasSignOutUrl() bool

HasSignOutUrl returns a boolean if a field has been set.

func (*SamlSettingsSchema) HasSpCertificate ¶

func (o *SamlSettingsSchema) HasSpCertificate() bool

HasSpCertificate returns a boolean if a field has been set.

func (SamlSettingsSchema) MarshalJSON ¶

func (o SamlSettingsSchema) MarshalJSON() ([]byte, error)

func (*SamlSettingsSchema) SetAutoCreate ¶

func (o *SamlSettingsSchema) SetAutoCreate(v bool)

SetAutoCreate gets a reference to the given bool and assigns it to the AutoCreate field.

func (*SamlSettingsSchema) SetCertificate ¶

func (o *SamlSettingsSchema) SetCertificate(v string)

SetCertificate sets field value

func (*SamlSettingsSchema) SetDefaultRootRole ¶

func (o *SamlSettingsSchema) SetDefaultRootRole(v string)

SetDefaultRootRole gets a reference to the given string and assigns it to the DefaultRootRole field.

func (*SamlSettingsSchema) SetEmailDomains ¶

func (o *SamlSettingsSchema) SetEmailDomains(v string)

SetEmailDomains gets a reference to the given string and assigns it to the EmailDomains field.

func (*SamlSettingsSchema) SetEnabled ¶

func (o *SamlSettingsSchema) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*SamlSettingsSchema) SetEntityId ¶

func (o *SamlSettingsSchema) SetEntityId(v string)

SetEntityId sets field value

func (*SamlSettingsSchema) SetSignOnUrl ¶

func (o *SamlSettingsSchema) SetSignOnUrl(v string)

SetSignOnUrl sets field value

func (*SamlSettingsSchema) SetSignOutUrl ¶

func (o *SamlSettingsSchema) SetSignOutUrl(v string)

SetSignOutUrl gets a reference to the given string and assigns it to the SignOutUrl field.

func (*SamlSettingsSchema) SetSpCertificate ¶

func (o *SamlSettingsSchema) SetSpCertificate(v string)

SetSpCertificate gets a reference to the given string and assigns it to the SpCertificate field.

func (SamlSettingsSchema) ToMap ¶

func (o SamlSettingsSchema) ToMap() (map[string]interface{}, error)

type SdkContextSchema ¶

type SdkContextSchema struct {
	// The name of the application.
	AppName string `json:"appName"`
	// A DateTime (or similar) data class instance or a string in an RFC3339-compatible format. Defaults to the current time if not set by the user.
	CurrentTime *time.Time `json:"currentTime,omitempty"`
	// The environment the app is running in.
	// Deprecated
	Environment *string            `json:"environment,omitempty"`
	Properties  *map[string]string `json:"properties,omitempty"`
	// The app's IP address
	RemoteAddress *string `json:"remoteAddress,omitempty"`
	// An identifier for the current session
	SessionId *string `json:"sessionId,omitempty"`
	// An identifier for the current user
	UserId               *string `json:"userId,omitempty"`
	AdditionalProperties map[string]interface{}
}

SdkContextSchema The Unleash context as modeled in client SDKs

func NewSdkContextSchema ¶

func NewSdkContextSchema(appName string) *SdkContextSchema

NewSdkContextSchema instantiates a new SdkContextSchema 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 NewSdkContextSchemaWithDefaults ¶

func NewSdkContextSchemaWithDefaults() *SdkContextSchema

NewSdkContextSchemaWithDefaults instantiates a new SdkContextSchema 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 (*SdkContextSchema) GetAppName ¶

func (o *SdkContextSchema) GetAppName() string

GetAppName returns the AppName field value

func (*SdkContextSchema) GetAppNameOk ¶

func (o *SdkContextSchema) GetAppNameOk() (*string, bool)

GetAppNameOk returns a tuple with the AppName field value and a boolean to check if the value has been set.

func (*SdkContextSchema) GetCurrentTime ¶

func (o *SdkContextSchema) GetCurrentTime() time.Time

GetCurrentTime returns the CurrentTime field value if set, zero value otherwise.

func (*SdkContextSchema) GetCurrentTimeOk ¶

func (o *SdkContextSchema) GetCurrentTimeOk() (*time.Time, bool)

GetCurrentTimeOk returns a tuple with the CurrentTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SdkContextSchema) GetEnvironment ¶

func (o *SdkContextSchema) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise. Deprecated

func (*SdkContextSchema) GetEnvironmentOk ¶

func (o *SdkContextSchema) 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. Deprecated

func (*SdkContextSchema) GetProperties ¶

func (o *SdkContextSchema) GetProperties() map[string]string

GetProperties returns the Properties field value if set, zero value otherwise.

func (*SdkContextSchema) GetPropertiesOk ¶

func (o *SdkContextSchema) GetPropertiesOk() (*map[string]string, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SdkContextSchema) GetRemoteAddress ¶

func (o *SdkContextSchema) GetRemoteAddress() string

GetRemoteAddress returns the RemoteAddress field value if set, zero value otherwise.

func (*SdkContextSchema) GetRemoteAddressOk ¶

func (o *SdkContextSchema) GetRemoteAddressOk() (*string, bool)

GetRemoteAddressOk returns a tuple with the RemoteAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SdkContextSchema) GetSessionId ¶

func (o *SdkContextSchema) GetSessionId() string

GetSessionId returns the SessionId field value if set, zero value otherwise.

func (*SdkContextSchema) GetSessionIdOk ¶

func (o *SdkContextSchema) GetSessionIdOk() (*string, bool)

GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SdkContextSchema) GetUserId ¶

func (o *SdkContextSchema) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*SdkContextSchema) GetUserIdOk ¶

func (o *SdkContextSchema) GetUserIdOk() (*string, 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 (*SdkContextSchema) HasCurrentTime ¶

func (o *SdkContextSchema) HasCurrentTime() bool

HasCurrentTime returns a boolean if a field has been set.

func (*SdkContextSchema) HasEnvironment ¶

func (o *SdkContextSchema) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*SdkContextSchema) HasProperties ¶

func (o *SdkContextSchema) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*SdkContextSchema) HasRemoteAddress ¶

func (o *SdkContextSchema) HasRemoteAddress() bool

HasRemoteAddress returns a boolean if a field has been set.

func (*SdkContextSchema) HasSessionId ¶

func (o *SdkContextSchema) HasSessionId() bool

HasSessionId returns a boolean if a field has been set.

func (*SdkContextSchema) HasUserId ¶

func (o *SdkContextSchema) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (SdkContextSchema) MarshalJSON ¶

func (o SdkContextSchema) MarshalJSON() ([]byte, error)

func (*SdkContextSchema) SetAppName ¶

func (o *SdkContextSchema) SetAppName(v string)

SetAppName sets field value

func (*SdkContextSchema) SetCurrentTime ¶

func (o *SdkContextSchema) SetCurrentTime(v time.Time)

SetCurrentTime gets a reference to the given time.Time and assigns it to the CurrentTime field.

func (*SdkContextSchema) SetEnvironment ¶

func (o *SdkContextSchema) SetEnvironment(v string)

SetEnvironment gets a reference to the given string and assigns it to the Environment field. Deprecated

func (*SdkContextSchema) SetProperties ¶

func (o *SdkContextSchema) SetProperties(v map[string]string)

SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.

func (*SdkContextSchema) SetRemoteAddress ¶

func (o *SdkContextSchema) SetRemoteAddress(v string)

SetRemoteAddress gets a reference to the given string and assigns it to the RemoteAddress field.

func (*SdkContextSchema) SetSessionId ¶

func (o *SdkContextSchema) SetSessionId(v string)

SetSessionId gets a reference to the given string and assigns it to the SessionId field.

func (*SdkContextSchema) SetUserId ¶

func (o *SdkContextSchema) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (SdkContextSchema) ToMap ¶

func (o SdkContextSchema) ToMap() (map[string]interface{}, error)

func (*SdkContextSchema) UnmarshalJSON ¶

func (o *SdkContextSchema) UnmarshalJSON(bytes []byte) (err error)

type SearchEventsSchema ¶

type SearchEventsSchema struct {
	// Find events by event type (case-sensitive).
	Type *string `json:"type,omitempty"`
	// Find events by project ID (case-sensitive).
	Project *string `json:"project,omitempty"`
	// Find events by feature toggle name (case-sensitive).
	Feature *string `json:"feature,omitempty"`
	//                  Find events by a free-text search query.                 The query will be matched against the event type,                 the username or email that created the event (if any),                 and the event data payload (if any).
	Query  *string `json:"query,omitempty"`
	Limit  *int32  `json:"limit,omitempty"`
	Offset *int32  `json:"offset,omitempty"`
}

SearchEventsSchema Search for events by type, project, feature, free-text query, or a combination thereof. Pass an empty object to fetch all events.

func NewSearchEventsSchema ¶

func NewSearchEventsSchema() *SearchEventsSchema

NewSearchEventsSchema instantiates a new SearchEventsSchema 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 NewSearchEventsSchemaWithDefaults ¶

func NewSearchEventsSchemaWithDefaults() *SearchEventsSchema

NewSearchEventsSchemaWithDefaults instantiates a new SearchEventsSchema 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 (*SearchEventsSchema) GetFeature ¶

func (o *SearchEventsSchema) GetFeature() string

GetFeature returns the Feature field value if set, zero value otherwise.

func (*SearchEventsSchema) GetFeatureOk ¶

func (o *SearchEventsSchema) GetFeatureOk() (*string, bool)

GetFeatureOk returns a tuple with the Feature field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchEventsSchema) GetLimit ¶

func (o *SearchEventsSchema) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*SearchEventsSchema) GetLimitOk ¶

func (o *SearchEventsSchema) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchEventsSchema) GetOffset ¶

func (o *SearchEventsSchema) GetOffset() int32

GetOffset returns the Offset field value if set, zero value otherwise.

func (*SearchEventsSchema) GetOffsetOk ¶

func (o *SearchEventsSchema) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchEventsSchema) GetProject ¶

func (o *SearchEventsSchema) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*SearchEventsSchema) GetProjectOk ¶

func (o *SearchEventsSchema) 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 (*SearchEventsSchema) GetQuery ¶

func (o *SearchEventsSchema) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*SearchEventsSchema) GetQueryOk ¶

func (o *SearchEventsSchema) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchEventsSchema) GetType ¶

func (o *SearchEventsSchema) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*SearchEventsSchema) GetTypeOk ¶

func (o *SearchEventsSchema) 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 (*SearchEventsSchema) HasFeature ¶

func (o *SearchEventsSchema) HasFeature() bool

HasFeature returns a boolean if a field has been set.

func (*SearchEventsSchema) HasLimit ¶

func (o *SearchEventsSchema) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*SearchEventsSchema) HasOffset ¶

func (o *SearchEventsSchema) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*SearchEventsSchema) HasProject ¶

func (o *SearchEventsSchema) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*SearchEventsSchema) HasQuery ¶

func (o *SearchEventsSchema) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*SearchEventsSchema) HasType ¶

func (o *SearchEventsSchema) HasType() bool

HasType returns a boolean if a field has been set.

func (SearchEventsSchema) MarshalJSON ¶

func (o SearchEventsSchema) MarshalJSON() ([]byte, error)

func (*SearchEventsSchema) SetFeature ¶

func (o *SearchEventsSchema) SetFeature(v string)

SetFeature gets a reference to the given string and assigns it to the Feature field.

func (*SearchEventsSchema) SetLimit ¶

func (o *SearchEventsSchema) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*SearchEventsSchema) SetOffset ¶

func (o *SearchEventsSchema) SetOffset(v int32)

SetOffset gets a reference to the given int32 and assigns it to the Offset field.

func (*SearchEventsSchema) SetProject ¶

func (o *SearchEventsSchema) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*SearchEventsSchema) SetQuery ¶

func (o *SearchEventsSchema) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SearchEventsSchema) SetType ¶

func (o *SearchEventsSchema) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (SearchEventsSchema) ToMap ¶

func (o SearchEventsSchema) ToMap() (map[string]interface{}, error)

type SegmentSchema ¶

type SegmentSchema struct {
	// The segment's id.
	Id float32 `json:"id"`
	// The name of the segment.
	Name *string `json:"name,omitempty"`
	// The description of the segment.
	Description NullableString `json:"description,omitempty"`
	// List of constraints that determine which users are part of the segment
	Constraints []ConstraintSchema `json:"constraints"`
}

SegmentSchema Represents a segment of users defined by a set of constraints.

func NewSegmentSchema ¶

func NewSegmentSchema(id float32, constraints []ConstraintSchema) *SegmentSchema

NewSegmentSchema instantiates a new SegmentSchema 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 NewSegmentSchemaWithDefaults ¶

func NewSegmentSchemaWithDefaults() *SegmentSchema

NewSegmentSchemaWithDefaults instantiates a new SegmentSchema 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 (*SegmentSchema) GetConstraints ¶

func (o *SegmentSchema) GetConstraints() []ConstraintSchema

GetConstraints returns the Constraints field value

func (*SegmentSchema) GetConstraintsOk ¶

func (o *SegmentSchema) GetConstraintsOk() ([]ConstraintSchema, bool)

GetConstraintsOk returns a tuple with the Constraints field value and a boolean to check if the value has been set.

func (*SegmentSchema) GetDescription ¶

func (o *SegmentSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SegmentSchema) GetDescriptionOk ¶

func (o *SegmentSchema) 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 (*SegmentSchema) GetId ¶

func (o *SegmentSchema) GetId() float32

GetId returns the Id field value

func (*SegmentSchema) GetIdOk ¶

func (o *SegmentSchema) GetIdOk() (*float32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SegmentSchema) GetName ¶

func (o *SegmentSchema) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SegmentSchema) GetNameOk ¶

func (o *SegmentSchema) 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 (*SegmentSchema) HasDescription ¶

func (o *SegmentSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SegmentSchema) HasName ¶

func (o *SegmentSchema) HasName() bool

HasName returns a boolean if a field has been set.

func (SegmentSchema) MarshalJSON ¶

func (o SegmentSchema) MarshalJSON() ([]byte, error)

func (*SegmentSchema) SetConstraints ¶

func (o *SegmentSchema) SetConstraints(v []ConstraintSchema)

SetConstraints sets field value

func (*SegmentSchema) SetDescription ¶

func (o *SegmentSchema) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*SegmentSchema) SetDescriptionNil ¶

func (o *SegmentSchema) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*SegmentSchema) SetId ¶

func (o *SegmentSchema) SetId(v float32)

SetId sets field value

func (*SegmentSchema) SetName ¶

func (o *SegmentSchema) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (SegmentSchema) ToMap ¶

func (o SegmentSchema) ToMap() (map[string]interface{}, error)

func (*SegmentSchema) UnsetDescription ¶

func (o *SegmentSchema) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type SegmentsApiService ¶

type SegmentsApiService service

SegmentsApiService SegmentsApi service

func (*SegmentsApiService) CreateSegment ¶

CreateSegment Create a new segment

Creates a new segment using the payload provided

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateSegmentRequest

func (*SegmentsApiService) CreateSegmentExecute ¶

Execute executes the request

@return AdminSegmentSchema

func (*SegmentsApiService) GetSegment ¶

GetSegment Get a segment

Retrieves a segment based on its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiGetSegmentRequest

func (*SegmentsApiService) GetSegmentExecute ¶

Execute executes the request

@return AdminSegmentSchema

func (*SegmentsApiService) GetSegments ¶

GetSegments Get all segments

Retrieves all segments 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 ApiGetSegmentsRequest

func (*SegmentsApiService) GetSegmentsByStrategyId ¶

func (a *SegmentsApiService) GetSegmentsByStrategyId(ctx context.Context, strategyId string) ApiGetSegmentsByStrategyIdRequest

GetSegmentsByStrategyId Get strategy segments

Retrieve all segments that are referenced by the specified strategy. Returns an empty list of segments if the strategy ID doesn't exist.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param strategyId
@return ApiGetSegmentsByStrategyIdRequest

func (*SegmentsApiService) GetSegmentsByStrategyIdExecute ¶

func (a *SegmentsApiService) GetSegmentsByStrategyIdExecute(r ApiGetSegmentsByStrategyIdRequest) (*SegmentsSchema, *http.Response, error)

Execute executes the request

@return SegmentsSchema

func (*SegmentsApiService) GetSegmentsExecute ¶

Execute executes the request

@return SegmentsSchema

func (*SegmentsApiService) GetStrategiesBySegmentId ¶

func (a *SegmentsApiService) GetStrategiesBySegmentId(ctx context.Context, id string) ApiGetStrategiesBySegmentIdRequest

GetStrategiesBySegmentId Get strategies that reference segment

Retrieve all strategies that reference the specified segment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiGetStrategiesBySegmentIdRequest

func (*SegmentsApiService) GetStrategiesBySegmentIdExecute ¶

Execute executes the request

@return AdminStrategiesSchema

func (*SegmentsApiService) RemoveSegment ¶

RemoveSegment Deletes a segment by id

Deletes a segment by its id, if not found returns a 409 error

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiRemoveSegmentRequest

func (*SegmentsApiService) RemoveSegmentExecute ¶

func (a *SegmentsApiService) RemoveSegmentExecute(r ApiRemoveSegmentRequest) (*http.Response, error)

Execute executes the request

func (*SegmentsApiService) UpdateSegment ¶

UpdateSegment Update segment by id

Updates the content of the segment with the provided payload. Any fields not specified will be left untouched.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateSegmentRequest

func (*SegmentsApiService) UpdateSegmentExecute ¶

func (a *SegmentsApiService) UpdateSegmentExecute(r ApiUpdateSegmentRequest) (*http.Response, error)

Execute executes the request

func (*SegmentsApiService) ValidateSegment ¶

ValidateSegment Validates if a segment name exists

Uses the name provided in the body of the request to validate if the given name exists or not

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiValidateSegmentRequest

func (*SegmentsApiService) ValidateSegmentExecute ¶

func (a *SegmentsApiService) ValidateSegmentExecute(r ApiValidateSegmentRequest) (*http.Response, error)

Execute executes the request

type SegmentsSchema ¶

type SegmentsSchema struct {
	Segments []AdminSegmentSchema `json:"segments,omitempty"`
}

SegmentsSchema struct for SegmentsSchema

func NewSegmentsSchema ¶

func NewSegmentsSchema() *SegmentsSchema

NewSegmentsSchema instantiates a new SegmentsSchema 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 NewSegmentsSchemaWithDefaults ¶

func NewSegmentsSchemaWithDefaults() *SegmentsSchema

NewSegmentsSchemaWithDefaults instantiates a new SegmentsSchema 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 (*SegmentsSchema) GetSegments ¶

func (o *SegmentsSchema) GetSegments() []AdminSegmentSchema

GetSegments returns the Segments field value if set, zero value otherwise.

func (*SegmentsSchema) GetSegmentsOk ¶

func (o *SegmentsSchema) GetSegmentsOk() ([]AdminSegmentSchema, 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 (*SegmentsSchema) HasSegments ¶

func (o *SegmentsSchema) HasSegments() bool

HasSegments returns a boolean if a field has been set.

func (SegmentsSchema) MarshalJSON ¶

func (o SegmentsSchema) MarshalJSON() ([]byte, error)

func (*SegmentsSchema) SetSegments ¶

func (o *SegmentsSchema) SetSegments(v []AdminSegmentSchema)

SetSegments gets a reference to the given []AdminSegmentSchema and assigns it to the Segments field.

func (SegmentsSchema) ToMap ¶

func (o SegmentsSchema) ToMap() (map[string]interface{}, 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"`
}

ServiceAccountSchema Represents a [service account](https://docs.getunleash.io/reference/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) UnsetSeenAt ¶

func (o *ServiceAccountSchema) UnsetSeenAt()

UnsetSeenAt ensures that no value is present for SeenAt, not even an explicit nil

type ServiceAccountsApiService ¶

type ServiceAccountsApiService service

ServiceAccountsApiService ServiceAccountsApi service

func (*ServiceAccountsApiService) CreateServiceAccount ¶

CreateServiceAccount Create a service account.

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 ¶

Execute executes the request

@return ServiceAccountSchema

func (*ServiceAccountsApiService) CreateServiceAccountToken ¶

CreateServiceAccountToken Create a token for a service account.

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 ¶

func (a *ServiceAccountsApiService) CreateServiceAccountTokenExecute(r ApiCreateServiceAccountTokenRequest) (*PatSchema, *http.Response, error)

Execute executes the request

@return PatSchema

func (*ServiceAccountsApiService) DeleteServiceAccount ¶

DeleteServiceAccount Delete a service account.

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 ¶

func (a *ServiceAccountsApiService) DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) (*http.Response, error)

Execute executes the request

func (*ServiceAccountsApiService) DeleteServiceAccountToken ¶

func (a *ServiceAccountsApiService) DeleteServiceAccountToken(ctx context.Context, id string, tokenId string) ApiDeleteServiceAccountTokenRequest

DeleteServiceAccountToken Delete a token for a service account.

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 ¶

func (a *ServiceAccountsApiService) DeleteServiceAccountTokenExecute(r ApiDeleteServiceAccountTokenRequest) (*http.Response, error)

Execute executes the request

func (*ServiceAccountsApiService) GetServiceAccountTokens ¶

GetServiceAccountTokens List all tokens for a service account.

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 ¶

func (a *ServiceAccountsApiService) GetServiceAccountTokensExecute(r ApiGetServiceAccountTokensRequest) (*PatsSchema, *http.Response, error)

Execute executes the request

@return PatsSchema

func (*ServiceAccountsApiService) GetServiceAccounts ¶

GetServiceAccounts List service accounts.

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 ¶

Execute executes the request

@return ServiceAccountsSchema

func (*ServiceAccountsApiService) UpdateServiceAccount ¶

UpdateServiceAccount Update a service account.

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 ¶

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"`
}

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)

type SetGoogleSettings415Response ¶

type SetGoogleSettings415Response 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"`
}

SetGoogleSettings415Response struct for SetGoogleSettings415Response

func NewSetGoogleSettings415Response ¶

func NewSetGoogleSettings415Response() *SetGoogleSettings415Response

NewSetGoogleSettings415Response instantiates a new SetGoogleSettings415Response 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 NewSetGoogleSettings415ResponseWithDefaults ¶

func NewSetGoogleSettings415ResponseWithDefaults() *SetGoogleSettings415Response

NewSetGoogleSettings415ResponseWithDefaults instantiates a new SetGoogleSettings415Response 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 (*SetGoogleSettings415Response) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*SetGoogleSettings415Response) GetIdOk ¶

func (o *SetGoogleSettings415Response) 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 (*SetGoogleSettings415Response) GetMessage ¶

func (o *SetGoogleSettings415Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*SetGoogleSettings415Response) GetMessageOk ¶

func (o *SetGoogleSettings415Response) 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 (*SetGoogleSettings415Response) GetName ¶

func (o *SetGoogleSettings415Response) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SetGoogleSettings415Response) GetNameOk ¶

func (o *SetGoogleSettings415Response) 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 (*SetGoogleSettings415Response) HasId ¶

HasId returns a boolean if a field has been set.

func (*SetGoogleSettings415Response) HasMessage ¶

func (o *SetGoogleSettings415Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SetGoogleSettings415Response) HasName ¶

func (o *SetGoogleSettings415Response) HasName() bool

HasName returns a boolean if a field has been set.

func (SetGoogleSettings415Response) MarshalJSON ¶

func (o SetGoogleSettings415Response) MarshalJSON() ([]byte, error)

func (*SetGoogleSettings415Response) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*SetGoogleSettings415Response) SetMessage ¶

func (o *SetGoogleSettings415Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SetGoogleSettings415Response) SetName ¶

func (o *SetGoogleSettings415Response) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (SetGoogleSettings415Response) ToMap ¶

func (o SetGoogleSettings415Response) ToMap() (map[string]interface{}, error)

type SetStrategySortOrderSchemaInner ¶

type SetStrategySortOrderSchemaInner struct {
	Id        string  `json:"id"`
	SortOrder float32 `json:"sortOrder"`
}

SetStrategySortOrderSchemaInner struct for SetStrategySortOrderSchemaInner

func NewSetStrategySortOrderSchemaInner ¶

func NewSetStrategySortOrderSchemaInner(id string, sortOrder float32) *SetStrategySortOrderSchemaInner

NewSetStrategySortOrderSchemaInner instantiates a new SetStrategySortOrderSchemaInner 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 NewSetStrategySortOrderSchemaInnerWithDefaults ¶

func NewSetStrategySortOrderSchemaInnerWithDefaults() *SetStrategySortOrderSchemaInner

NewSetStrategySortOrderSchemaInnerWithDefaults instantiates a new SetStrategySortOrderSchemaInner 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 (*SetStrategySortOrderSchemaInner) GetId ¶

GetId returns the Id field value

func (*SetStrategySortOrderSchemaInner) GetIdOk ¶

func (o *SetStrategySortOrderSchemaInner) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SetStrategySortOrderSchemaInner) GetSortOrder ¶

func (o *SetStrategySortOrderSchemaInner) GetSortOrder() float32

GetSortOrder returns the SortOrder field value

func (*SetStrategySortOrderSchemaInner) GetSortOrderOk ¶

func (o *SetStrategySortOrderSchemaInner) GetSortOrderOk() (*float32, bool)

GetSortOrderOk returns a tuple with the SortOrder field value and a boolean to check if the value has been set.

func (SetStrategySortOrderSchemaInner) MarshalJSON ¶

func (o SetStrategySortOrderSchemaInner) MarshalJSON() ([]byte, error)

func (*SetStrategySortOrderSchemaInner) SetId ¶

SetId sets field value

func (*SetStrategySortOrderSchemaInner) SetSortOrder ¶

func (o *SetStrategySortOrderSchemaInner) SetSortOrder(v float32)

SetSortOrder sets field value

func (SetStrategySortOrderSchemaInner) ToMap ¶

func (o SetStrategySortOrderSchemaInner) ToMap() (map[string]interface{}, error)

type SetUiConfigSchema ¶

type SetUiConfigSchema struct {
	FrontendSettings *SetUiConfigSchemaFrontendSettings `json:"frontendSettings,omitempty"`
}

SetUiConfigSchema struct for SetUiConfigSchema

func NewSetUiConfigSchema ¶

func NewSetUiConfigSchema() *SetUiConfigSchema

NewSetUiConfigSchema instantiates a new SetUiConfigSchema 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 NewSetUiConfigSchemaWithDefaults ¶

func NewSetUiConfigSchemaWithDefaults() *SetUiConfigSchema

NewSetUiConfigSchemaWithDefaults instantiates a new SetUiConfigSchema 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 (*SetUiConfigSchema) GetFrontendSettings ¶

func (o *SetUiConfigSchema) GetFrontendSettings() SetUiConfigSchemaFrontendSettings

GetFrontendSettings returns the FrontendSettings field value if set, zero value otherwise.

func (*SetUiConfigSchema) GetFrontendSettingsOk ¶

func (o *SetUiConfigSchema) GetFrontendSettingsOk() (*SetUiConfigSchemaFrontendSettings, bool)

GetFrontendSettingsOk returns a tuple with the FrontendSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetUiConfigSchema) HasFrontendSettings ¶

func (o *SetUiConfigSchema) HasFrontendSettings() bool

HasFrontendSettings returns a boolean if a field has been set.

func (SetUiConfigSchema) MarshalJSON ¶

func (o SetUiConfigSchema) MarshalJSON() ([]byte, error)

func (*SetUiConfigSchema) SetFrontendSettings ¶

func (o *SetUiConfigSchema) SetFrontendSettings(v SetUiConfigSchemaFrontendSettings)

SetFrontendSettings gets a reference to the given SetUiConfigSchemaFrontendSettings and assigns it to the FrontendSettings field.

func (SetUiConfigSchema) ToMap ¶

func (o SetUiConfigSchema) ToMap() (map[string]interface{}, error)

type SetUiConfigSchemaFrontendSettings ¶

type SetUiConfigSchemaFrontendSettings struct {
	FrontendApiOrigins []string `json:"frontendApiOrigins"`
}

SetUiConfigSchemaFrontendSettings struct for SetUiConfigSchemaFrontendSettings

func NewSetUiConfigSchemaFrontendSettings ¶

func NewSetUiConfigSchemaFrontendSettings(frontendApiOrigins []string) *SetUiConfigSchemaFrontendSettings

NewSetUiConfigSchemaFrontendSettings instantiates a new SetUiConfigSchemaFrontendSettings 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 NewSetUiConfigSchemaFrontendSettingsWithDefaults ¶

func NewSetUiConfigSchemaFrontendSettingsWithDefaults() *SetUiConfigSchemaFrontendSettings

NewSetUiConfigSchemaFrontendSettingsWithDefaults instantiates a new SetUiConfigSchemaFrontendSettings 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 (*SetUiConfigSchemaFrontendSettings) GetFrontendApiOrigins ¶

func (o *SetUiConfigSchemaFrontendSettings) GetFrontendApiOrigins() []string

GetFrontendApiOrigins returns the FrontendApiOrigins field value

func (*SetUiConfigSchemaFrontendSettings) GetFrontendApiOriginsOk ¶

func (o *SetUiConfigSchemaFrontendSettings) GetFrontendApiOriginsOk() ([]string, bool)

GetFrontendApiOriginsOk returns a tuple with the FrontendApiOrigins field value and a boolean to check if the value has been set.

func (SetUiConfigSchemaFrontendSettings) MarshalJSON ¶

func (o SetUiConfigSchemaFrontendSettings) MarshalJSON() ([]byte, error)

func (*SetUiConfigSchemaFrontendSettings) SetFrontendApiOrigins ¶

func (o *SetUiConfigSchemaFrontendSettings) SetFrontendApiOrigins(v []string)

SetFrontendApiOrigins sets field value

func (SetUiConfigSchemaFrontendSettings) ToMap ¶

func (o SetUiConfigSchemaFrontendSettings) ToMap() (map[string]interface{}, error)

type SplashRequestSchema ¶

type SplashRequestSchema struct {
	// The ID of the user that was shown the splash screen.
	UserId int32 `json:"userId"`
	// The ID of the splash screen that was shown.
	SplashId string `json:"splashId"`
}

SplashRequestSchema Data related to a user having seen a splash screen.

func NewSplashRequestSchema ¶

func NewSplashRequestSchema(userId int32, splashId string) *SplashRequestSchema

NewSplashRequestSchema instantiates a new SplashRequestSchema 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 NewSplashRequestSchemaWithDefaults ¶

func NewSplashRequestSchemaWithDefaults() *SplashRequestSchema

NewSplashRequestSchemaWithDefaults instantiates a new SplashRequestSchema 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 (*SplashRequestSchema) GetSplashId ¶

func (o *SplashRequestSchema) GetSplashId() string

GetSplashId returns the SplashId field value

func (*SplashRequestSchema) GetSplashIdOk ¶

func (o *SplashRequestSchema) GetSplashIdOk() (*string, bool)

GetSplashIdOk returns a tuple with the SplashId field value and a boolean to check if the value has been set.

func (*SplashRequestSchema) GetUserId ¶

func (o *SplashRequestSchema) GetUserId() int32

GetUserId returns the UserId field value

func (*SplashRequestSchema) GetUserIdOk ¶

func (o *SplashRequestSchema) GetUserIdOk() (*int32, bool)

GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.

func (SplashRequestSchema) MarshalJSON ¶

func (o SplashRequestSchema) MarshalJSON() ([]byte, error)

func (*SplashRequestSchema) SetSplashId ¶

func (o *SplashRequestSchema) SetSplashId(v string)

SetSplashId sets field value

func (*SplashRequestSchema) SetUserId ¶

func (o *SplashRequestSchema) SetUserId(v int32)

SetUserId sets field value

func (SplashRequestSchema) ToMap ¶

func (o SplashRequestSchema) ToMap() (map[string]interface{}, error)

type SplashResponseSchema ¶

type SplashResponseSchema struct {
	// The ID of the user that was shown the splash screen.
	UserId int32 `json:"userId"`
	// The ID of the splash screen that was shown.
	SplashId string `json:"splashId"`
	// Indicates whether the user has seen the splash screen or not.
	Seen bool `json:"seen"`
}

SplashResponseSchema Data related to a user having seen a splash screen.

func NewSplashResponseSchema ¶

func NewSplashResponseSchema(userId int32, splashId string, seen bool) *SplashResponseSchema

NewSplashResponseSchema instantiates a new SplashResponseSchema 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 NewSplashResponseSchemaWithDefaults ¶

func NewSplashResponseSchemaWithDefaults() *SplashResponseSchema

NewSplashResponseSchemaWithDefaults instantiates a new SplashResponseSchema 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 (*SplashResponseSchema) GetSeen ¶

func (o *SplashResponseSchema) GetSeen() bool

GetSeen returns the Seen field value

func (*SplashResponseSchema) GetSeenOk ¶

func (o *SplashResponseSchema) GetSeenOk() (*bool, bool)

GetSeenOk returns a tuple with the Seen field value and a boolean to check if the value has been set.

func (*SplashResponseSchema) GetSplashId ¶

func (o *SplashResponseSchema) GetSplashId() string

GetSplashId returns the SplashId field value

func (*SplashResponseSchema) GetSplashIdOk ¶

func (o *SplashResponseSchema) GetSplashIdOk() (*string, bool)

GetSplashIdOk returns a tuple with the SplashId field value and a boolean to check if the value has been set.

func (*SplashResponseSchema) GetUserId ¶

func (o *SplashResponseSchema) GetUserId() int32

GetUserId returns the UserId field value

func (*SplashResponseSchema) GetUserIdOk ¶

func (o *SplashResponseSchema) GetUserIdOk() (*int32, bool)

GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.

func (SplashResponseSchema) MarshalJSON ¶

func (o SplashResponseSchema) MarshalJSON() ([]byte, error)

func (*SplashResponseSchema) SetSeen ¶

func (o *SplashResponseSchema) SetSeen(v bool)

SetSeen sets field value

func (*SplashResponseSchema) SetSplashId ¶

func (o *SplashResponseSchema) SetSplashId(v string)

SetSplashId sets field value

func (*SplashResponseSchema) SetUserId ¶

func (o *SplashResponseSchema) SetUserId(v int32)

SetUserId sets field value

func (SplashResponseSchema) ToMap ¶

func (o SplashResponseSchema) ToMap() (map[string]interface{}, error)

type SplashSchema ¶

type SplashSchema struct {
	UserId   float32 `json:"userId"`
	SplashId string  `json:"splashId"`
	Seen     bool    `json:"seen"`
}

SplashSchema struct for SplashSchema

func NewSplashSchema ¶

func NewSplashSchema(userId float32, splashId string, seen bool) *SplashSchema

NewSplashSchema instantiates a new SplashSchema 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 NewSplashSchemaWithDefaults ¶

func NewSplashSchemaWithDefaults() *SplashSchema

NewSplashSchemaWithDefaults instantiates a new SplashSchema 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 (*SplashSchema) GetSeen ¶

func (o *SplashSchema) GetSeen() bool

GetSeen returns the Seen field value

func (*SplashSchema) GetSeenOk ¶

func (o *SplashSchema) GetSeenOk() (*bool, bool)

GetSeenOk returns a tuple with the Seen field value and a boolean to check if the value has been set.

func (*SplashSchema) GetSplashId ¶

func (o *SplashSchema) GetSplashId() string

GetSplashId returns the SplashId field value

func (*SplashSchema) GetSplashIdOk ¶

func (o *SplashSchema) GetSplashIdOk() (*string, bool)

GetSplashIdOk returns a tuple with the SplashId field value and a boolean to check if the value has been set.

func (*SplashSchema) GetUserId ¶

func (o *SplashSchema) GetUserId() float32

GetUserId returns the UserId field value

func (*SplashSchema) GetUserIdOk ¶

func (o *SplashSchema) GetUserIdOk() (*float32, bool)

GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.

func (SplashSchema) MarshalJSON ¶

func (o SplashSchema) MarshalJSON() ([]byte, error)

func (*SplashSchema) SetSeen ¶

func (o *SplashSchema) SetSeen(v bool)

SetSeen sets field value

func (*SplashSchema) SetSplashId ¶

func (o *SplashSchema) SetSplashId(v string)

SetSplashId sets field value

func (*SplashSchema) SetUserId ¶

func (o *SplashSchema) SetUserId(v float32)

SetUserId sets field value

func (SplashSchema) ToMap ¶

func (o SplashSchema) ToMap() (map[string]interface{}, error)

type StateSchema ¶

type StateSchema struct {
	Version                 int32                          `json:"version"`
	Features                []FeatureSchema                `json:"features,omitempty"`
	Strategies              []StrategySchema               `json:"strategies,omitempty"`
	Tags                    []TagSchema                    `json:"tags,omitempty"`
	TagTypes                []TagTypeSchema                `json:"tagTypes,omitempty"`
	FeatureTags             []FeatureTagSchema             `json:"featureTags,omitempty"`
	Projects                []ProjectSchema                `json:"projects,omitempty"`
	FeatureStrategies       []FeatureStrategySchema        `json:"featureStrategies,omitempty"`
	FeatureEnvironments     []FeatureEnvironmentSchema     `json:"featureEnvironments,omitempty"`
	Environments            []EnvironmentSchema            `json:"environments,omitempty"`
	Segments                []SegmentSchema                `json:"segments,omitempty"`
	FeatureStrategySegments []FeatureStrategySegmentSchema `json:"featureStrategySegments,omitempty"`
	AdditionalProperties    map[string]interface{}
}

StateSchema The state of the application used by export/import APIs which are deprecated in favor of the more fine grained /api/admin/export and /api/admin/import APIs

func NewStateSchema ¶

func NewStateSchema(version int32) *StateSchema

NewStateSchema instantiates a new StateSchema 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 NewStateSchemaWithDefaults ¶

func NewStateSchemaWithDefaults() *StateSchema

NewStateSchemaWithDefaults instantiates a new StateSchema 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 (*StateSchema) GetEnvironments ¶

func (o *StateSchema) GetEnvironments() []EnvironmentSchema

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*StateSchema) GetEnvironmentsOk ¶

func (o *StateSchema) GetEnvironmentsOk() ([]EnvironmentSchema, 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 (*StateSchema) GetFeatureEnvironments ¶

func (o *StateSchema) GetFeatureEnvironments() []FeatureEnvironmentSchema

GetFeatureEnvironments returns the FeatureEnvironments field value if set, zero value otherwise.

func (*StateSchema) GetFeatureEnvironmentsOk ¶

func (o *StateSchema) GetFeatureEnvironmentsOk() ([]FeatureEnvironmentSchema, bool)

GetFeatureEnvironmentsOk returns a tuple with the FeatureEnvironments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StateSchema) GetFeatureStrategies ¶

func (o *StateSchema) GetFeatureStrategies() []FeatureStrategySchema

GetFeatureStrategies returns the FeatureStrategies field value if set, zero value otherwise.

func (*StateSchema) GetFeatureStrategiesOk ¶

func (o *StateSchema) GetFeatureStrategiesOk() ([]FeatureStrategySchema, bool)

GetFeatureStrategiesOk returns a tuple with the FeatureStrategies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StateSchema) GetFeatureStrategySegments ¶

func (o *StateSchema) GetFeatureStrategySegments() []FeatureStrategySegmentSchema

GetFeatureStrategySegments returns the FeatureStrategySegments field value if set, zero value otherwise.

func (*StateSchema) GetFeatureStrategySegmentsOk ¶

func (o *StateSchema) GetFeatureStrategySegmentsOk() ([]FeatureStrategySegmentSchema, bool)

GetFeatureStrategySegmentsOk returns a tuple with the FeatureStrategySegments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StateSchema) GetFeatureTags ¶

func (o *StateSchema) GetFeatureTags() []FeatureTagSchema

GetFeatureTags returns the FeatureTags field value if set, zero value otherwise.

func (*StateSchema) GetFeatureTagsOk ¶

func (o *StateSchema) GetFeatureTagsOk() ([]FeatureTagSchema, bool)

GetFeatureTagsOk returns a tuple with the FeatureTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StateSchema) GetFeatures ¶

func (o *StateSchema) GetFeatures() []FeatureSchema

GetFeatures returns the Features field value if set, zero value otherwise.

func (*StateSchema) GetFeaturesOk ¶

func (o *StateSchema) GetFeaturesOk() ([]FeatureSchema, bool)

GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StateSchema) GetProjects ¶

func (o *StateSchema) GetProjects() []ProjectSchema

GetProjects returns the Projects field value if set, zero value otherwise.

func (*StateSchema) GetProjectsOk ¶

func (o *StateSchema) GetProjectsOk() ([]ProjectSchema, 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 (*StateSchema) GetSegments ¶

func (o *StateSchema) GetSegments() []SegmentSchema

GetSegments returns the Segments field value if set, zero value otherwise.

func (*StateSchema) GetSegmentsOk ¶

func (o *StateSchema) GetSegmentsOk() ([]SegmentSchema, 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 (*StateSchema) GetStrategies ¶

func (o *StateSchema) GetStrategies() []StrategySchema

GetStrategies returns the Strategies field value if set, zero value otherwise.

func (*StateSchema) GetStrategiesOk ¶

func (o *StateSchema) GetStrategiesOk() ([]StrategySchema, bool)

GetStrategiesOk returns a tuple with the Strategies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StateSchema) GetTagTypes ¶

func (o *StateSchema) GetTagTypes() []TagTypeSchema

GetTagTypes returns the TagTypes field value if set, zero value otherwise.

func (*StateSchema) GetTagTypesOk ¶

func (o *StateSchema) GetTagTypesOk() ([]TagTypeSchema, bool)

GetTagTypesOk returns a tuple with the TagTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StateSchema) GetTags ¶

func (o *StateSchema) GetTags() []TagSchema

GetTags returns the Tags field value if set, zero value otherwise.

func (*StateSchema) GetTagsOk ¶

func (o *StateSchema) GetTagsOk() ([]TagSchema, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StateSchema) GetVersion ¶

func (o *StateSchema) GetVersion() int32

GetVersion returns the Version field value

func (*StateSchema) GetVersionOk ¶

func (o *StateSchema) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*StateSchema) HasEnvironments ¶

func (o *StateSchema) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*StateSchema) HasFeatureEnvironments ¶

func (o *StateSchema) HasFeatureEnvironments() bool

HasFeatureEnvironments returns a boolean if a field has been set.

func (*StateSchema) HasFeatureStrategies ¶

func (o *StateSchema) HasFeatureStrategies() bool

HasFeatureStrategies returns a boolean if a field has been set.

func (*StateSchema) HasFeatureStrategySegments ¶

func (o *StateSchema) HasFeatureStrategySegments() bool

HasFeatureStrategySegments returns a boolean if a field has been set.

func (*StateSchema) HasFeatureTags ¶

func (o *StateSchema) HasFeatureTags() bool

HasFeatureTags returns a boolean if a field has been set.

func (*StateSchema) HasFeatures ¶

func (o *StateSchema) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*StateSchema) HasProjects ¶

func (o *StateSchema) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*StateSchema) HasSegments ¶

func (o *StateSchema) HasSegments() bool

HasSegments returns a boolean if a field has been set.

func (*StateSchema) HasStrategies ¶

func (o *StateSchema) HasStrategies() bool

HasStrategies returns a boolean if a field has been set.

func (*StateSchema) HasTagTypes ¶

func (o *StateSchema) HasTagTypes() bool

HasTagTypes returns a boolean if a field has been set.

func (*StateSchema) HasTags ¶

func (o *StateSchema) HasTags() bool

HasTags returns a boolean if a field has been set.

func (StateSchema) MarshalJSON ¶

func (o StateSchema) MarshalJSON() ([]byte, error)

func (*StateSchema) SetEnvironments ¶

func (o *StateSchema) SetEnvironments(v []EnvironmentSchema)

SetEnvironments gets a reference to the given []EnvironmentSchema and assigns it to the Environments field.

func (*StateSchema) SetFeatureEnvironments ¶

func (o *StateSchema) SetFeatureEnvironments(v []FeatureEnvironmentSchema)

SetFeatureEnvironments gets a reference to the given []FeatureEnvironmentSchema and assigns it to the FeatureEnvironments field.

func (*StateSchema) SetFeatureStrategies ¶

func (o *StateSchema) SetFeatureStrategies(v []FeatureStrategySchema)

SetFeatureStrategies gets a reference to the given []FeatureStrategySchema and assigns it to the FeatureStrategies field.

func (*StateSchema) SetFeatureStrategySegments ¶

func (o *StateSchema) SetFeatureStrategySegments(v []FeatureStrategySegmentSchema)

SetFeatureStrategySegments gets a reference to the given []FeatureStrategySegmentSchema and assigns it to the FeatureStrategySegments field.

func (*StateSchema) SetFeatureTags ¶

func (o *StateSchema) SetFeatureTags(v []FeatureTagSchema)

SetFeatureTags gets a reference to the given []FeatureTagSchema and assigns it to the FeatureTags field.

func (*StateSchema) SetFeatures ¶

func (o *StateSchema) SetFeatures(v []FeatureSchema)

SetFeatures gets a reference to the given []FeatureSchema and assigns it to the Features field.

func (*StateSchema) SetProjects ¶

func (o *StateSchema) SetProjects(v []ProjectSchema)

SetProjects gets a reference to the given []ProjectSchema and assigns it to the Projects field.

func (*StateSchema) SetSegments ¶

func (o *StateSchema) SetSegments(v []SegmentSchema)

SetSegments gets a reference to the given []SegmentSchema and assigns it to the Segments field.

func (*StateSchema) SetStrategies ¶

func (o *StateSchema) SetStrategies(v []StrategySchema)

SetStrategies gets a reference to the given []StrategySchema and assigns it to the Strategies field.

func (*StateSchema) SetTagTypes ¶

func (o *StateSchema) SetTagTypes(v []TagTypeSchema)

SetTagTypes gets a reference to the given []TagTypeSchema and assigns it to the TagTypes field.

func (*StateSchema) SetTags ¶

func (o *StateSchema) SetTags(v []TagSchema)

SetTags gets a reference to the given []TagSchema and assigns it to the Tags field.

func (*StateSchema) SetVersion ¶

func (o *StateSchema) SetVersion(v int32)

SetVersion sets field value

func (StateSchema) ToMap ¶

func (o StateSchema) ToMap() (map[string]interface{}, error)

func (*StateSchema) UnmarshalJSON ¶

func (o *StateSchema) UnmarshalJSON(bytes []byte) (err error)

type StrategiesApiService ¶

type StrategiesApiService service

StrategiesApiService StrategiesApi service

func (*StrategiesApiService) CreateStrategy ¶

CreateStrategy Method for CreateStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateStrategyRequest

func (*StrategiesApiService) CreateStrategyExecute ¶

Execute executes the request

@return StrategySchema

func (*StrategiesApiService) DeprecateStrategy ¶

func (a *StrategiesApiService) DeprecateStrategy(ctx context.Context, strategyName string) ApiDeprecateStrategyRequest

DeprecateStrategy Method for DeprecateStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param strategyName
@return ApiDeprecateStrategyRequest

func (*StrategiesApiService) DeprecateStrategyExecute ¶

func (a *StrategiesApiService) DeprecateStrategyExecute(r ApiDeprecateStrategyRequest) (*http.Response, error)

Execute executes the request

func (*StrategiesApiService) GetAllStrategies ¶

GetAllStrategies Method for GetAllStrategies

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllStrategiesRequest

func (*StrategiesApiService) GetAllStrategiesExecute ¶

Execute executes the request

@return StrategiesSchema

func (*StrategiesApiService) GetStrategiesByContextField ¶

func (a *StrategiesApiService) GetStrategiesByContextField(ctx context.Context, contextField string) ApiGetStrategiesByContextFieldRequest

GetStrategiesByContextField Method for GetStrategiesByContextField

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param contextField
@return ApiGetStrategiesByContextFieldRequest

func (*StrategiesApiService) GetStrategiesByContextFieldExecute ¶

Execute executes the request

@return ContextFieldStrategiesSchema

func (*StrategiesApiService) GetStrategy ¶

GetStrategy Method for GetStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiGetStrategyRequest

func (*StrategiesApiService) GetStrategyExecute ¶

Execute executes the request

@return StrategySchema

func (*StrategiesApiService) ReactivateStrategy ¶

func (a *StrategiesApiService) ReactivateStrategy(ctx context.Context, strategyName string) ApiReactivateStrategyRequest

ReactivateStrategy Method for ReactivateStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param strategyName
@return ApiReactivateStrategyRequest

func (*StrategiesApiService) ReactivateStrategyExecute ¶

func (a *StrategiesApiService) ReactivateStrategyExecute(r ApiReactivateStrategyRequest) (*http.Response, error)

Execute executes the request

func (*StrategiesApiService) RemoveStrategy ¶

RemoveStrategy Method for RemoveStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiRemoveStrategyRequest

func (*StrategiesApiService) RemoveStrategyExecute ¶

func (a *StrategiesApiService) RemoveStrategyExecute(r ApiRemoveStrategyRequest) (*http.Response, error)

Execute executes the request

func (*StrategiesApiService) UpdateStrategy ¶

func (a *StrategiesApiService) UpdateStrategy(ctx context.Context, strategyName string) ApiUpdateStrategyRequest

UpdateStrategy Method for UpdateStrategy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param strategyName
@return ApiUpdateStrategyRequest

func (*StrategiesApiService) UpdateStrategyExecute ¶

func (a *StrategiesApiService) UpdateStrategyExecute(r ApiUpdateStrategyRequest) (*http.Response, error)

Execute executes the request

type StrategiesSchema ¶

type StrategiesSchema struct {
	Version    int32            `json:"version"`
	Strategies []StrategySchema `json:"strategies"`
}

StrategiesSchema struct for StrategiesSchema

func NewStrategiesSchema ¶

func NewStrategiesSchema(version int32, strategies []StrategySchema) *StrategiesSchema

NewStrategiesSchema instantiates a new StrategiesSchema 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 NewStrategiesSchemaWithDefaults ¶

func NewStrategiesSchemaWithDefaults() *StrategiesSchema

NewStrategiesSchemaWithDefaults instantiates a new StrategiesSchema 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 (*StrategiesSchema) GetStrategies ¶

func (o *StrategiesSchema) GetStrategies() []StrategySchema

GetStrategies returns the Strategies field value

func (*StrategiesSchema) GetStrategiesOk ¶

func (o *StrategiesSchema) GetStrategiesOk() ([]StrategySchema, bool)

GetStrategiesOk returns a tuple with the Strategies field value and a boolean to check if the value has been set.

func (*StrategiesSchema) GetVersion ¶

func (o *StrategiesSchema) GetVersion() int32

GetVersion returns the Version field value

func (*StrategiesSchema) GetVersionOk ¶

func (o *StrategiesSchema) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (StrategiesSchema) MarshalJSON ¶

func (o StrategiesSchema) MarshalJSON() ([]byte, error)

func (*StrategiesSchema) SetStrategies ¶

func (o *StrategiesSchema) SetStrategies(v []StrategySchema)

SetStrategies sets field value

func (*StrategiesSchema) SetVersion ¶

func (o *StrategiesSchema) SetVersion(v int32)

SetVersion sets field value

func (StrategiesSchema) ToMap ¶

func (o StrategiesSchema) ToMap() (map[string]interface{}, error)

type StrategySchema ¶

type StrategySchema struct {
	// An optional title for the strategy
	Title NullableString `json:"title,omitempty"`
	// The name or type of the strategy
	Name string `json:"name"`
	// A human friendly name for the strategy
	DisplayName NullableString `json:"displayName"`
	// A short description for the strategy
	Description string `json:"description"`
	// Determines whether the strategy allows for editing
	Editable bool `json:"editable"`
	//
	Deprecated bool `json:"deprecated"`
	// A list of relevant parameters for each strategy
	Parameters []StrategySchemaParametersInner `json:"parameters"`
}

StrategySchema The [activation strategy](https://docs.getunleash.io/reference/activation-strategies) schema

func NewStrategySchema ¶

func NewStrategySchema(name string, displayName NullableString, description string, editable bool, deprecated bool, parameters []StrategySchemaParametersInner) *StrategySchema

NewStrategySchema instantiates a new StrategySchema 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 NewStrategySchemaWithDefaults ¶

func NewStrategySchemaWithDefaults() *StrategySchema

NewStrategySchemaWithDefaults instantiates a new StrategySchema 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 (*StrategySchema) GetDeprecated ¶

func (o *StrategySchema) GetDeprecated() bool

GetDeprecated returns the Deprecated field value

func (*StrategySchema) GetDeprecatedOk ¶

func (o *StrategySchema) GetDeprecatedOk() (*bool, bool)

GetDeprecatedOk returns a tuple with the Deprecated field value and a boolean to check if the value has been set.

func (*StrategySchema) GetDescription ¶

func (o *StrategySchema) GetDescription() string

GetDescription returns the Description field value

func (*StrategySchema) GetDescriptionOk ¶

func (o *StrategySchema) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*StrategySchema) GetDisplayName ¶

func (o *StrategySchema) GetDisplayName() string

GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned

func (*StrategySchema) GetDisplayNameOk ¶

func (o *StrategySchema) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName 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 (*StrategySchema) GetEditable ¶

func (o *StrategySchema) GetEditable() bool

GetEditable returns the Editable field value

func (*StrategySchema) GetEditableOk ¶

func (o *StrategySchema) GetEditableOk() (*bool, bool)

GetEditableOk returns a tuple with the Editable field value and a boolean to check if the value has been set.

func (*StrategySchema) GetName ¶

func (o *StrategySchema) GetName() string

GetName returns the Name field value

func (*StrategySchema) GetNameOk ¶

func (o *StrategySchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*StrategySchema) GetParameters ¶

func (o *StrategySchema) GetParameters() []StrategySchemaParametersInner

GetParameters returns the Parameters field value

func (*StrategySchema) GetParametersOk ¶

func (o *StrategySchema) GetParametersOk() ([]StrategySchemaParametersInner, bool)

GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.

func (*StrategySchema) GetTitle ¶

func (o *StrategySchema) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).

func (*StrategySchema) GetTitleOk ¶

func (o *StrategySchema) 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 (*StrategySchema) HasTitle ¶

func (o *StrategySchema) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (StrategySchema) MarshalJSON ¶

func (o StrategySchema) MarshalJSON() ([]byte, error)

func (*StrategySchema) SetDeprecated ¶

func (o *StrategySchema) SetDeprecated(v bool)

SetDeprecated sets field value

func (*StrategySchema) SetDescription ¶

func (o *StrategySchema) SetDescription(v string)

SetDescription sets field value

func (*StrategySchema) SetDisplayName ¶

func (o *StrategySchema) SetDisplayName(v string)

SetDisplayName sets field value

func (*StrategySchema) SetEditable ¶

func (o *StrategySchema) SetEditable(v bool)

SetEditable sets field value

func (*StrategySchema) SetName ¶

func (o *StrategySchema) SetName(v string)

SetName sets field value

func (*StrategySchema) SetParameters ¶

func (o *StrategySchema) SetParameters(v []StrategySchemaParametersInner)

SetParameters sets field value

func (*StrategySchema) SetTitle ¶

func (o *StrategySchema) SetTitle(v string)

SetTitle gets a reference to the given NullableString and assigns it to the Title field.

func (*StrategySchema) SetTitleNil ¶

func (o *StrategySchema) SetTitleNil()

SetTitleNil sets the value for Title to be an explicit nil

func (StrategySchema) ToMap ¶

func (o StrategySchema) ToMap() (map[string]interface{}, error)

func (*StrategySchema) UnsetTitle ¶

func (o *StrategySchema) UnsetTitle()

UnsetTitle ensures that no value is present for Title, not even an explicit nil

type StrategySchemaParametersInner ¶

type StrategySchemaParametersInner struct {
	Name        *string `json:"name,omitempty"`
	Type        *string `json:"type,omitempty"`
	Description *string `json:"description,omitempty"`
	Required    *bool   `json:"required,omitempty"`
}

StrategySchemaParametersInner struct for StrategySchemaParametersInner

func NewStrategySchemaParametersInner ¶

func NewStrategySchemaParametersInner() *StrategySchemaParametersInner

NewStrategySchemaParametersInner instantiates a new StrategySchemaParametersInner 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 NewStrategySchemaParametersInnerWithDefaults ¶

func NewStrategySchemaParametersInnerWithDefaults() *StrategySchemaParametersInner

NewStrategySchemaParametersInnerWithDefaults instantiates a new StrategySchemaParametersInner 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 (*StrategySchemaParametersInner) GetDescription ¶

func (o *StrategySchemaParametersInner) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*StrategySchemaParametersInner) GetDescriptionOk ¶

func (o *StrategySchemaParametersInner) 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 (*StrategySchemaParametersInner) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*StrategySchemaParametersInner) GetNameOk ¶

func (o *StrategySchemaParametersInner) 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 (*StrategySchemaParametersInner) GetRequired ¶

func (o *StrategySchemaParametersInner) GetRequired() bool

GetRequired returns the Required field value if set, zero value otherwise.

func (*StrategySchemaParametersInner) GetRequiredOk ¶

func (o *StrategySchemaParametersInner) GetRequiredOk() (*bool, bool)

GetRequiredOk returns a tuple with the Required field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StrategySchemaParametersInner) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*StrategySchemaParametersInner) GetTypeOk ¶

func (o *StrategySchemaParametersInner) 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 (*StrategySchemaParametersInner) HasDescription ¶

func (o *StrategySchemaParametersInner) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StrategySchemaParametersInner) HasName ¶

func (o *StrategySchemaParametersInner) HasName() bool

HasName returns a boolean if a field has been set.

func (*StrategySchemaParametersInner) HasRequired ¶

func (o *StrategySchemaParametersInner) HasRequired() bool

HasRequired returns a boolean if a field has been set.

func (*StrategySchemaParametersInner) HasType ¶

func (o *StrategySchemaParametersInner) HasType() bool

HasType returns a boolean if a field has been set.

func (StrategySchemaParametersInner) MarshalJSON ¶

func (o StrategySchemaParametersInner) MarshalJSON() ([]byte, error)

func (*StrategySchemaParametersInner) SetDescription ¶

func (o *StrategySchemaParametersInner) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*StrategySchemaParametersInner) SetName ¶

func (o *StrategySchemaParametersInner) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*StrategySchemaParametersInner) SetRequired ¶

func (o *StrategySchemaParametersInner) SetRequired(v bool)

SetRequired gets a reference to the given bool and assigns it to the Required field.

func (*StrategySchemaParametersInner) SetType ¶

func (o *StrategySchemaParametersInner) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (StrategySchemaParametersInner) ToMap ¶

func (o StrategySchemaParametersInner) ToMap() (map[string]interface{}, error)

type StrategyVariantSchema ¶

type StrategyVariantSchema struct {
	// The variant name. Must be unique for this feature toggle
	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/reference/feature-toggle-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/reference/feature-toggle-variants#variant-weight).
	WeightType string `json:"weightType"`
	// The [stickiness](https://docs.getunleash.io/reference/feature-toggle-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    *VariantSchemaPayload `json:"payload,omitempty"`
}

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 ¶

func (o *StrategyVariantSchema) GetPayloadOk() (*VariantSchemaPayload, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StrategyVariantSchema) GetStickiness ¶

func (o *StrategyVariantSchema) GetStickiness() string

GetStickiness returns the Stickiness field value

func (*StrategyVariantSchema) GetStickinessOk ¶

func (o *StrategyVariantSchema) GetStickinessOk() (*string, bool)

GetStickinessOk returns a tuple with the Stickiness field value and a boolean to check if the value has been set.

func (*StrategyVariantSchema) GetWeight ¶

func (o *StrategyVariantSchema) GetWeight() int32

GetWeight returns the Weight field value

func (*StrategyVariantSchema) GetWeightOk ¶

func (o *StrategyVariantSchema) GetWeightOk() (*int32, bool)

GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.

func (*StrategyVariantSchema) GetWeightType ¶

func (o *StrategyVariantSchema) GetWeightType() string

GetWeightType returns the WeightType field value

func (*StrategyVariantSchema) GetWeightTypeOk ¶

func (o *StrategyVariantSchema) GetWeightTypeOk() (*string, bool)

GetWeightTypeOk returns a tuple with the WeightType field value and a boolean to check if the value has been set.

func (*StrategyVariantSchema) HasPayload ¶

func (o *StrategyVariantSchema) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (StrategyVariantSchema) MarshalJSON ¶

func (o StrategyVariantSchema) MarshalJSON() ([]byte, error)

func (*StrategyVariantSchema) SetName ¶

func (o *StrategyVariantSchema) SetName(v string)

SetName sets field value

func (*StrategyVariantSchema) SetPayload ¶

SetPayload gets a reference to the given VariantSchemaPayload 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)

type TagSchema ¶

type TagSchema struct {
	// The value of the tag
	Value string `json:"value"`
	// The [type](https://docs.getunleash.io/reference/tags#tag-types) of the tag
	Type string `json:"type"`
}

TagSchema Representation of a [tag](https://docs.getunleash.io/reference/tags)

func NewTagSchema ¶

func NewTagSchema(value string, type_ string) *TagSchema

NewTagSchema instantiates a new TagSchema 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 NewTagSchemaWithDefaults ¶

func NewTagSchemaWithDefaults() *TagSchema

NewTagSchemaWithDefaults instantiates a new TagSchema 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 (*TagSchema) GetType ¶

func (o *TagSchema) GetType() string

GetType returns the Type field value

func (*TagSchema) GetTypeOk ¶

func (o *TagSchema) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*TagSchema) GetValue ¶

func (o *TagSchema) GetValue() string

GetValue returns the Value field value

func (*TagSchema) GetValueOk ¶

func (o *TagSchema) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (TagSchema) MarshalJSON ¶

func (o TagSchema) MarshalJSON() ([]byte, error)

func (*TagSchema) SetType ¶

func (o *TagSchema) SetType(v string)

SetType sets field value

func (*TagSchema) SetValue ¶

func (o *TagSchema) SetValue(v string)

SetValue sets field value

func (TagSchema) ToMap ¶

func (o TagSchema) ToMap() (map[string]interface{}, error)

type TagTypeSchema ¶

type TagTypeSchema struct {
	Name        string         `json:"name"`
	Description *string        `json:"description,omitempty"`
	Icon        NullableString `json:"icon,omitempty"`
}

TagTypeSchema struct for TagTypeSchema

func NewTagTypeSchema ¶

func NewTagTypeSchema(name string) *TagTypeSchema

NewTagTypeSchema instantiates a new TagTypeSchema 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 NewTagTypeSchemaWithDefaults ¶

func NewTagTypeSchemaWithDefaults() *TagTypeSchema

NewTagTypeSchemaWithDefaults instantiates a new TagTypeSchema 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 (*TagTypeSchema) GetDescription ¶

func (o *TagTypeSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*TagTypeSchema) GetDescriptionOk ¶

func (o *TagTypeSchema) 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 (*TagTypeSchema) GetIcon ¶

func (o *TagTypeSchema) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TagTypeSchema) GetIconOk ¶

func (o *TagTypeSchema) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon 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 (*TagTypeSchema) GetName ¶

func (o *TagTypeSchema) GetName() string

GetName returns the Name field value

func (*TagTypeSchema) GetNameOk ¶

func (o *TagTypeSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TagTypeSchema) HasDescription ¶

func (o *TagTypeSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TagTypeSchema) HasIcon ¶

func (o *TagTypeSchema) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (TagTypeSchema) MarshalJSON ¶

func (o TagTypeSchema) MarshalJSON() ([]byte, error)

func (*TagTypeSchema) SetDescription ¶

func (o *TagTypeSchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*TagTypeSchema) SetIcon ¶

func (o *TagTypeSchema) SetIcon(v string)

SetIcon gets a reference to the given NullableString and assigns it to the Icon field.

func (*TagTypeSchema) SetIconNil ¶

func (o *TagTypeSchema) SetIconNil()

SetIconNil sets the value for Icon to be an explicit nil

func (*TagTypeSchema) SetName ¶

func (o *TagTypeSchema) SetName(v string)

SetName sets field value

func (TagTypeSchema) ToMap ¶

func (o TagTypeSchema) ToMap() (map[string]interface{}, error)

func (*TagTypeSchema) UnsetIcon ¶

func (o *TagTypeSchema) UnsetIcon()

UnsetIcon ensures that no value is present for Icon, not even an explicit nil

type TagTypesSchema ¶

type TagTypesSchema struct {
	Version  int32           `json:"version"`
	TagTypes []TagTypeSchema `json:"tagTypes"`
}

TagTypesSchema struct for TagTypesSchema

func NewTagTypesSchema ¶

func NewTagTypesSchema(version int32, tagTypes []TagTypeSchema) *TagTypesSchema

NewTagTypesSchema instantiates a new TagTypesSchema 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 NewTagTypesSchemaWithDefaults ¶

func NewTagTypesSchemaWithDefaults() *TagTypesSchema

NewTagTypesSchemaWithDefaults instantiates a new TagTypesSchema 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 (*TagTypesSchema) GetTagTypes ¶

func (o *TagTypesSchema) GetTagTypes() []TagTypeSchema

GetTagTypes returns the TagTypes field value

func (*TagTypesSchema) GetTagTypesOk ¶

func (o *TagTypesSchema) GetTagTypesOk() ([]TagTypeSchema, bool)

GetTagTypesOk returns a tuple with the TagTypes field value and a boolean to check if the value has been set.

func (*TagTypesSchema) GetVersion ¶

func (o *TagTypesSchema) GetVersion() int32

GetVersion returns the Version field value

func (*TagTypesSchema) GetVersionOk ¶

func (o *TagTypesSchema) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (TagTypesSchema) MarshalJSON ¶

func (o TagTypesSchema) MarshalJSON() ([]byte, error)

func (*TagTypesSchema) SetTagTypes ¶

func (o *TagTypesSchema) SetTagTypes(v []TagTypeSchema)

SetTagTypes sets field value

func (*TagTypesSchema) SetVersion ¶

func (o *TagTypesSchema) SetVersion(v int32)

SetVersion sets field value

func (TagTypesSchema) ToMap ¶

func (o TagTypesSchema) ToMap() (map[string]interface{}, error)

type TagWithVersionSchema ¶

type TagWithVersionSchema struct {
	Version int32     `json:"version"`
	Tag     TagSchema `json:"tag"`
}

TagWithVersionSchema struct for TagWithVersionSchema

func NewTagWithVersionSchema ¶

func NewTagWithVersionSchema(version int32, tag TagSchema) *TagWithVersionSchema

NewTagWithVersionSchema instantiates a new TagWithVersionSchema 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 NewTagWithVersionSchemaWithDefaults ¶

func NewTagWithVersionSchemaWithDefaults() *TagWithVersionSchema

NewTagWithVersionSchemaWithDefaults instantiates a new TagWithVersionSchema 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 (*TagWithVersionSchema) GetTag ¶

func (o *TagWithVersionSchema) GetTag() TagSchema

GetTag returns the Tag field value

func (*TagWithVersionSchema) GetTagOk ¶

func (o *TagWithVersionSchema) GetTagOk() (*TagSchema, bool)

GetTagOk returns a tuple with the Tag field value and a boolean to check if the value has been set.

func (*TagWithVersionSchema) GetVersion ¶

func (o *TagWithVersionSchema) GetVersion() int32

GetVersion returns the Version field value

func (*TagWithVersionSchema) GetVersionOk ¶

func (o *TagWithVersionSchema) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (TagWithVersionSchema) MarshalJSON ¶

func (o TagWithVersionSchema) MarshalJSON() ([]byte, error)

func (*TagWithVersionSchema) SetTag ¶

func (o *TagWithVersionSchema) SetTag(v TagSchema)

SetTag sets field value

func (*TagWithVersionSchema) SetVersion ¶

func (o *TagWithVersionSchema) SetVersion(v int32)

SetVersion sets field value

func (TagWithVersionSchema) ToMap ¶

func (o TagWithVersionSchema) ToMap() (map[string]interface{}, error)

type TagsApiService ¶

type TagsApiService service

TagsApiService TagsApi service

func (*TagsApiService) AddTagToFeatures ¶

func (a *TagsApiService) AddTagToFeatures(ctx context.Context, projectId string) ApiAddTagToFeaturesRequest

AddTagToFeatures Method for AddTagToFeatures

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiAddTagToFeaturesRequest

func (*TagsApiService) AddTagToFeaturesExecute ¶

func (a *TagsApiService) AddTagToFeaturesExecute(r ApiAddTagToFeaturesRequest) (*http.Response, error)

Execute executes the request

func (*TagsApiService) CreateTag ¶

CreateTag Method for CreateTag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateTagRequest

func (*TagsApiService) CreateTagExecute ¶

Execute executes the request

@return TagWithVersionSchema

func (*TagsApiService) CreateTagType ¶

func (a *TagsApiService) CreateTagType(ctx context.Context) ApiCreateTagTypeRequest

CreateTagType Method for CreateTagType

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateTagTypeRequest

func (*TagsApiService) CreateTagTypeExecute ¶

func (a *TagsApiService) CreateTagTypeExecute(r ApiCreateTagTypeRequest) (*TagTypeSchema, *http.Response, error)

Execute executes the request

@return TagTypeSchema

func (*TagsApiService) DeleteTag ¶

func (a *TagsApiService) DeleteTag(ctx context.Context, type_ string, value string) ApiDeleteTagRequest

DeleteTag Method for DeleteTag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param type_
@param value
@return ApiDeleteTagRequest

func (*TagsApiService) DeleteTagExecute ¶

func (a *TagsApiService) DeleteTagExecute(r ApiDeleteTagRequest) (*http.Response, error)

Execute executes the request

func (*TagsApiService) DeleteTagType ¶

func (a *TagsApiService) DeleteTagType(ctx context.Context, name string) ApiDeleteTagTypeRequest

DeleteTagType Method for DeleteTagType

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiDeleteTagTypeRequest

func (*TagsApiService) DeleteTagTypeExecute ¶

func (a *TagsApiService) DeleteTagTypeExecute(r ApiDeleteTagTypeRequest) (*http.Response, error)

Execute executes the request

func (*TagsApiService) GetTag ¶

func (a *TagsApiService) GetTag(ctx context.Context, type_ string, value string) ApiGetTagRequest

GetTag Method for GetTag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param type_
@param value
@return ApiGetTagRequest

func (*TagsApiService) GetTagExecute ¶

Execute executes the request

@return TagWithVersionSchema

func (*TagsApiService) GetTagType ¶

func (a *TagsApiService) GetTagType(ctx context.Context, name string) ApiGetTagTypeRequest

GetTagType Method for GetTagType

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiGetTagTypeRequest

func (*TagsApiService) GetTagTypeExecute ¶

func (a *TagsApiService) GetTagTypeExecute(r ApiGetTagTypeRequest) (*TagTypeSchema, *http.Response, error)

Execute executes the request

@return TagTypeSchema

func (*TagsApiService) GetTagTypes ¶

GetTagTypes Method for GetTagTypes

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTagTypesRequest

func (*TagsApiService) GetTagTypesExecute ¶

func (a *TagsApiService) GetTagTypesExecute(r ApiGetTagTypesRequest) (*TagTypesSchema, *http.Response, error)

Execute executes the request

@return TagTypesSchema

func (*TagsApiService) GetTags ¶

GetTags Method for GetTags

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTagsRequest

func (*TagsApiService) GetTagsByType ¶

func (a *TagsApiService) GetTagsByType(ctx context.Context, type_ string) ApiGetTagsByTypeRequest

GetTagsByType Method for GetTagsByType

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param type_
@return ApiGetTagsByTypeRequest

func (*TagsApiService) GetTagsByTypeExecute ¶

func (a *TagsApiService) GetTagsByTypeExecute(r ApiGetTagsByTypeRequest) (*TagsSchema, *http.Response, error)

Execute executes the request

@return TagsSchema

func (*TagsApiService) GetTagsExecute ¶

func (a *TagsApiService) GetTagsExecute(r ApiGetTagsRequest) (*TagsSchema, *http.Response, error)

Execute executes the request

@return TagsSchema

func (*TagsApiService) UpdateTagType ¶

func (a *TagsApiService) UpdateTagType(ctx context.Context, name string) ApiUpdateTagTypeRequest

UpdateTagType Method for UpdateTagType

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name
@return ApiUpdateTagTypeRequest

func (*TagsApiService) UpdateTagTypeExecute ¶

func (a *TagsApiService) UpdateTagTypeExecute(r ApiUpdateTagTypeRequest) (*http.Response, error)

Execute executes the request

func (*TagsApiService) ValidateTagType ¶

func (a *TagsApiService) ValidateTagType(ctx context.Context) ApiValidateTagTypeRequest

ValidateTagType Method for ValidateTagType

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiValidateTagTypeRequest

func (*TagsApiService) ValidateTagTypeExecute ¶

Execute executes the request

@return ValidateTagTypeSchema

type TagsBulkAddSchema ¶

type TagsBulkAddSchema struct {
	// The list of features that will be affected by the tag changes.
	Features []string         `json:"features"`
	Tags     UpdateTagsSchema `json:"tags"`
}

TagsBulkAddSchema Represents tag changes to be applied to a list of features.

func NewTagsBulkAddSchema ¶

func NewTagsBulkAddSchema(features []string, tags UpdateTagsSchema) *TagsBulkAddSchema

NewTagsBulkAddSchema instantiates a new TagsBulkAddSchema 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 NewTagsBulkAddSchemaWithDefaults ¶

func NewTagsBulkAddSchemaWithDefaults() *TagsBulkAddSchema

NewTagsBulkAddSchemaWithDefaults instantiates a new TagsBulkAddSchema 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 (*TagsBulkAddSchema) GetFeatures ¶

func (o *TagsBulkAddSchema) GetFeatures() []string

GetFeatures returns the Features field value

func (*TagsBulkAddSchema) GetFeaturesOk ¶

func (o *TagsBulkAddSchema) GetFeaturesOk() ([]string, bool)

GetFeaturesOk returns a tuple with the Features field value and a boolean to check if the value has been set.

func (*TagsBulkAddSchema) GetTags ¶

func (o *TagsBulkAddSchema) GetTags() UpdateTagsSchema

GetTags returns the Tags field value

func (*TagsBulkAddSchema) GetTagsOk ¶

func (o *TagsBulkAddSchema) GetTagsOk() (*UpdateTagsSchema, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (TagsBulkAddSchema) MarshalJSON ¶

func (o TagsBulkAddSchema) MarshalJSON() ([]byte, error)

func (*TagsBulkAddSchema) SetFeatures ¶

func (o *TagsBulkAddSchema) SetFeatures(v []string)

SetFeatures sets field value

func (*TagsBulkAddSchema) SetTags ¶

func (o *TagsBulkAddSchema) SetTags(v UpdateTagsSchema)

SetTags sets field value

func (TagsBulkAddSchema) ToMap ¶

func (o TagsBulkAddSchema) ToMap() (map[string]interface{}, error)

type TagsSchema ¶

type TagsSchema struct {
	// The version of the schema used to model the tags.
	Version int32 `json:"version"`
	// A list of tags.
	Tags []TagSchema `json:"tags"`
}

TagsSchema A list of tags with a version number

func NewTagsSchema ¶

func NewTagsSchema(version int32, tags []TagSchema) *TagsSchema

NewTagsSchema instantiates a new TagsSchema 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 NewTagsSchemaWithDefaults ¶

func NewTagsSchemaWithDefaults() *TagsSchema

NewTagsSchemaWithDefaults instantiates a new TagsSchema 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 (*TagsSchema) GetTags ¶

func (o *TagsSchema) GetTags() []TagSchema

GetTags returns the Tags field value

func (*TagsSchema) GetTagsOk ¶

func (o *TagsSchema) GetTagsOk() ([]TagSchema, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*TagsSchema) GetVersion ¶

func (o *TagsSchema) GetVersion() int32

GetVersion returns the Version field value

func (*TagsSchema) GetVersionOk ¶

func (o *TagsSchema) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (TagsSchema) MarshalJSON ¶

func (o TagsSchema) MarshalJSON() ([]byte, error)

func (*TagsSchema) SetTags ¶

func (o *TagsSchema) SetTags(v []TagSchema)

SetTags sets field value

func (*TagsSchema) SetVersion ¶

func (o *TagsSchema) SetVersion(v int32)

SetVersion sets field value

func (TagsSchema) ToMap ¶

func (o TagsSchema) ToMap() (map[string]interface{}, error)

type TelemetryApiService ¶

type TelemetryApiService service

TelemetryApiService TelemetryApi service

func (*TelemetryApiService) GetTelemetrySettings ¶

GetTelemetrySettings Get telemetry settings

Provides the configured settings for [telemetry information collection](https://docs.getunleash.io/topics/data-collection)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTelemetrySettingsRequest

func (*TelemetryApiService) GetTelemetrySettingsExecute ¶

Execute executes the request

@return TelemetrySettingsSchema

type TelemetrySettingsSchema ¶

type TelemetrySettingsSchema struct {
	// Whether collection of version info is enabled/active.
	VersionInfoCollectionEnabled bool `json:"versionInfoCollectionEnabled"`
	// Whether collection of feature usage metrics is enabled/active.
	FeatureInfoCollectionEnabled bool `json:"featureInfoCollectionEnabled"`
}

TelemetrySettingsSchema Contains information about which settings are configured for version info collection and feature usage collection.

func NewTelemetrySettingsSchema ¶

func NewTelemetrySettingsSchema(versionInfoCollectionEnabled bool, featureInfoCollectionEnabled bool) *TelemetrySettingsSchema

NewTelemetrySettingsSchema instantiates a new TelemetrySettingsSchema 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 NewTelemetrySettingsSchemaWithDefaults ¶

func NewTelemetrySettingsSchemaWithDefaults() *TelemetrySettingsSchema

NewTelemetrySettingsSchemaWithDefaults instantiates a new TelemetrySettingsSchema 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 (*TelemetrySettingsSchema) GetFeatureInfoCollectionEnabled ¶

func (o *TelemetrySettingsSchema) GetFeatureInfoCollectionEnabled() bool

GetFeatureInfoCollectionEnabled returns the FeatureInfoCollectionEnabled field value

func (*TelemetrySettingsSchema) GetFeatureInfoCollectionEnabledOk ¶

func (o *TelemetrySettingsSchema) GetFeatureInfoCollectionEnabledOk() (*bool, bool)

GetFeatureInfoCollectionEnabledOk returns a tuple with the FeatureInfoCollectionEnabled field value and a boolean to check if the value has been set.

func (*TelemetrySettingsSchema) GetVersionInfoCollectionEnabled ¶

func (o *TelemetrySettingsSchema) GetVersionInfoCollectionEnabled() bool

GetVersionInfoCollectionEnabled returns the VersionInfoCollectionEnabled field value

func (*TelemetrySettingsSchema) GetVersionInfoCollectionEnabledOk ¶

func (o *TelemetrySettingsSchema) GetVersionInfoCollectionEnabledOk() (*bool, bool)

GetVersionInfoCollectionEnabledOk returns a tuple with the VersionInfoCollectionEnabled field value and a boolean to check if the value has been set.

func (TelemetrySettingsSchema) MarshalJSON ¶

func (o TelemetrySettingsSchema) MarshalJSON() ([]byte, error)

func (*TelemetrySettingsSchema) SetFeatureInfoCollectionEnabled ¶

func (o *TelemetrySettingsSchema) SetFeatureInfoCollectionEnabled(v bool)

SetFeatureInfoCollectionEnabled sets field value

func (*TelemetrySettingsSchema) SetVersionInfoCollectionEnabled ¶

func (o *TelemetrySettingsSchema) SetVersionInfoCollectionEnabled(v bool)

SetVersionInfoCollectionEnabled sets field value

func (TelemetrySettingsSchema) ToMap ¶

func (o TelemetrySettingsSchema) ToMap() (map[string]interface{}, error)

type ToggleMaintenanceSchema ¶

type ToggleMaintenanceSchema struct {
	Enabled bool `json:"enabled"`
}

ToggleMaintenanceSchema struct for ToggleMaintenanceSchema

func NewToggleMaintenanceSchema ¶

func NewToggleMaintenanceSchema(enabled bool) *ToggleMaintenanceSchema

NewToggleMaintenanceSchema instantiates a new ToggleMaintenanceSchema 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 NewToggleMaintenanceSchemaWithDefaults ¶

func NewToggleMaintenanceSchemaWithDefaults() *ToggleMaintenanceSchema

NewToggleMaintenanceSchemaWithDefaults instantiates a new ToggleMaintenanceSchema 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 (*ToggleMaintenanceSchema) GetEnabled ¶

func (o *ToggleMaintenanceSchema) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*ToggleMaintenanceSchema) GetEnabledOk ¶

func (o *ToggleMaintenanceSchema) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (ToggleMaintenanceSchema) MarshalJSON ¶

func (o ToggleMaintenanceSchema) MarshalJSON() ([]byte, error)

func (*ToggleMaintenanceSchema) SetEnabled ¶

func (o *ToggleMaintenanceSchema) SetEnabled(v bool)

SetEnabled sets field value

func (ToggleMaintenanceSchema) ToMap ¶

func (o ToggleMaintenanceSchema) ToMap() (map[string]interface{}, error)

type TokenStringListSchema ¶

type TokenStringListSchema struct {
	// Tokens that we want to get access information about
	Tokens               []string `json:"tokens"`
	AdditionalProperties map[string]interface{}
}

TokenStringListSchema A list of unleash tokens to validate against known tokens

func NewTokenStringListSchema ¶

func NewTokenStringListSchema(tokens []string) *TokenStringListSchema

NewTokenStringListSchema instantiates a new TokenStringListSchema 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 NewTokenStringListSchemaWithDefaults ¶

func NewTokenStringListSchemaWithDefaults() *TokenStringListSchema

NewTokenStringListSchemaWithDefaults instantiates a new TokenStringListSchema 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 (*TokenStringListSchema) GetTokens ¶

func (o *TokenStringListSchema) GetTokens() []string

GetTokens returns the Tokens field value

func (*TokenStringListSchema) GetTokensOk ¶

func (o *TokenStringListSchema) GetTokensOk() ([]string, bool)

GetTokensOk returns a tuple with the Tokens field value and a boolean to check if the value has been set.

func (TokenStringListSchema) MarshalJSON ¶

func (o TokenStringListSchema) MarshalJSON() ([]byte, error)

func (*TokenStringListSchema) SetTokens ¶

func (o *TokenStringListSchema) SetTokens(v []string)

SetTokens sets field value

func (TokenStringListSchema) ToMap ¶

func (o TokenStringListSchema) ToMap() (map[string]interface{}, error)

func (*TokenStringListSchema) UnmarshalJSON ¶

func (o *TokenStringListSchema) UnmarshalJSON(bytes []byte) (err error)

type TokenUserSchema ¶

type TokenUserSchema struct {
	Id        float32        `json:"id"`
	Name      string         `json:"name"`
	Email     string         `json:"email"`
	Token     string         `json:"token"`
	CreatedBy NullableString `json:"createdBy"`
	Role      RoleSchema     `json:"role"`
}

TokenUserSchema struct for TokenUserSchema

func NewTokenUserSchema ¶

func NewTokenUserSchema(id float32, name string, email string, token string, createdBy NullableString, role RoleSchema) *TokenUserSchema

NewTokenUserSchema instantiates a new TokenUserSchema 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 NewTokenUserSchemaWithDefaults ¶

func NewTokenUserSchemaWithDefaults() *TokenUserSchema

NewTokenUserSchemaWithDefaults instantiates a new TokenUserSchema 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 (*TokenUserSchema) GetCreatedBy ¶

func (o *TokenUserSchema) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*TokenUserSchema) GetCreatedByOk ¶

func (o *TokenUserSchema) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy 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 (*TokenUserSchema) GetEmail ¶

func (o *TokenUserSchema) GetEmail() string

GetEmail returns the Email field value

func (*TokenUserSchema) GetEmailOk ¶

func (o *TokenUserSchema) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*TokenUserSchema) GetId ¶

func (o *TokenUserSchema) GetId() float32

GetId returns the Id field value

func (*TokenUserSchema) GetIdOk ¶

func (o *TokenUserSchema) GetIdOk() (*float32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TokenUserSchema) GetName ¶

func (o *TokenUserSchema) GetName() string

GetName returns the Name field value

func (*TokenUserSchema) GetNameOk ¶

func (o *TokenUserSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TokenUserSchema) GetRole ¶

func (o *TokenUserSchema) GetRole() RoleSchema

GetRole returns the Role field value

func (*TokenUserSchema) GetRoleOk ¶

func (o *TokenUserSchema) GetRoleOk() (*RoleSchema, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*TokenUserSchema) GetToken ¶

func (o *TokenUserSchema) GetToken() string

GetToken returns the Token field value

func (*TokenUserSchema) GetTokenOk ¶

func (o *TokenUserSchema) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (TokenUserSchema) MarshalJSON ¶

func (o TokenUserSchema) MarshalJSON() ([]byte, error)

func (*TokenUserSchema) SetCreatedBy ¶

func (o *TokenUserSchema) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*TokenUserSchema) SetEmail ¶

func (o *TokenUserSchema) SetEmail(v string)

SetEmail sets field value

func (*TokenUserSchema) SetId ¶

func (o *TokenUserSchema) SetId(v float32)

SetId sets field value

func (*TokenUserSchema) SetName ¶

func (o *TokenUserSchema) SetName(v string)

SetName sets field value

func (*TokenUserSchema) SetRole ¶

func (o *TokenUserSchema) SetRole(v RoleSchema)

SetRole sets field value

func (*TokenUserSchema) SetToken ¶

func (o *TokenUserSchema) SetToken(v string)

SetToken sets field value

func (TokenUserSchema) ToMap ¶

func (o TokenUserSchema) ToMap() (map[string]interface{}, error)

type UiConfigSchema ¶

type UiConfigSchema struct {
	Slogan                *string                              `json:"slogan,omitempty"`
	Name                  *string                              `json:"name,omitempty"`
	Version               string                               `json:"version"`
	Environment           *string                              `json:"environment,omitempty"`
	UnleashUrl            string                               `json:"unleashUrl"`
	BaseUriPath           string                               `json:"baseUriPath"`
	DisablePasswordAuth   *bool                                `json:"disablePasswordAuth,omitempty"`
	EmailEnabled          *bool                                `json:"emailEnabled,omitempty"`
	MaintenanceMode       *bool                                `json:"maintenanceMode,omitempty"`
	SegmentValuesLimit    *float32                             `json:"segmentValuesLimit,omitempty"`
	StrategySegmentsLimit *float32                             `json:"strategySegmentsLimit,omitempty"`
	NetworkViewEnabled    *bool                                `json:"networkViewEnabled,omitempty"`
	FrontendApiOrigins    []string                             `json:"frontendApiOrigins,omitempty"`
	Flags                 *map[string]UiConfigSchemaFlagsValue `json:"flags,omitempty"`
	Links                 []map[string]interface{}             `json:"links,omitempty"`
	AuthenticationType    *string                              `json:"authenticationType,omitempty"`
	VersionInfo           VersionSchema                        `json:"versionInfo"`
}

UiConfigSchema struct for UiConfigSchema

func NewUiConfigSchema ¶

func NewUiConfigSchema(version string, unleashUrl string, baseUriPath string, versionInfo VersionSchema) *UiConfigSchema

NewUiConfigSchema instantiates a new UiConfigSchema 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 NewUiConfigSchemaWithDefaults ¶

func NewUiConfigSchemaWithDefaults() *UiConfigSchema

NewUiConfigSchemaWithDefaults instantiates a new UiConfigSchema 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 (*UiConfigSchema) GetAuthenticationType ¶

func (o *UiConfigSchema) GetAuthenticationType() string

GetAuthenticationType returns the AuthenticationType field value if set, zero value otherwise.

func (*UiConfigSchema) GetAuthenticationTypeOk ¶

func (o *UiConfigSchema) GetAuthenticationTypeOk() (*string, bool)

GetAuthenticationTypeOk returns a tuple with the AuthenticationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiConfigSchema) GetBaseUriPath ¶

func (o *UiConfigSchema) GetBaseUriPath() string

GetBaseUriPath returns the BaseUriPath field value

func (*UiConfigSchema) GetBaseUriPathOk ¶

func (o *UiConfigSchema) GetBaseUriPathOk() (*string, bool)

GetBaseUriPathOk returns a tuple with the BaseUriPath field value and a boolean to check if the value has been set.

func (*UiConfigSchema) GetDisablePasswordAuth ¶

func (o *UiConfigSchema) GetDisablePasswordAuth() bool

GetDisablePasswordAuth returns the DisablePasswordAuth field value if set, zero value otherwise.

func (*UiConfigSchema) GetDisablePasswordAuthOk ¶

func (o *UiConfigSchema) GetDisablePasswordAuthOk() (*bool, bool)

GetDisablePasswordAuthOk returns a tuple with the DisablePasswordAuth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiConfigSchema) GetEmailEnabled ¶

func (o *UiConfigSchema) GetEmailEnabled() bool

GetEmailEnabled returns the EmailEnabled field value if set, zero value otherwise.

func (*UiConfigSchema) GetEmailEnabledOk ¶

func (o *UiConfigSchema) GetEmailEnabledOk() (*bool, bool)

GetEmailEnabledOk returns a tuple with the EmailEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiConfigSchema) GetEnvironment ¶

func (o *UiConfigSchema) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*UiConfigSchema) GetEnvironmentOk ¶

func (o *UiConfigSchema) 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 (*UiConfigSchema) GetFlags ¶

GetFlags returns the Flags field value if set, zero value otherwise.

func (*UiConfigSchema) GetFlagsOk ¶

func (o *UiConfigSchema) GetFlagsOk() (*map[string]UiConfigSchemaFlagsValue, bool)

GetFlagsOk returns a tuple with the Flags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiConfigSchema) GetFrontendApiOrigins ¶

func (o *UiConfigSchema) GetFrontendApiOrigins() []string

GetFrontendApiOrigins returns the FrontendApiOrigins field value if set, zero value otherwise.

func (*UiConfigSchema) GetFrontendApiOriginsOk ¶

func (o *UiConfigSchema) GetFrontendApiOriginsOk() ([]string, bool)

GetFrontendApiOriginsOk returns a tuple with the FrontendApiOrigins field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *UiConfigSchema) GetLinks() []map[string]interface{}

GetLinks returns the Links field value if set, zero value otherwise.

func (*UiConfigSchema) GetLinksOk ¶

func (o *UiConfigSchema) GetLinksOk() ([]map[string]interface{}, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiConfigSchema) GetMaintenanceMode ¶

func (o *UiConfigSchema) GetMaintenanceMode() bool

GetMaintenanceMode returns the MaintenanceMode field value if set, zero value otherwise.

func (*UiConfigSchema) GetMaintenanceModeOk ¶

func (o *UiConfigSchema) GetMaintenanceModeOk() (*bool, bool)

GetMaintenanceModeOk returns a tuple with the MaintenanceMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiConfigSchema) GetName ¶

func (o *UiConfigSchema) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UiConfigSchema) GetNameOk ¶

func (o *UiConfigSchema) 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 (*UiConfigSchema) GetNetworkViewEnabled ¶

func (o *UiConfigSchema) GetNetworkViewEnabled() bool

GetNetworkViewEnabled returns the NetworkViewEnabled field value if set, zero value otherwise.

func (*UiConfigSchema) GetNetworkViewEnabledOk ¶

func (o *UiConfigSchema) GetNetworkViewEnabledOk() (*bool, bool)

GetNetworkViewEnabledOk returns a tuple with the NetworkViewEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiConfigSchema) GetSegmentValuesLimit ¶

func (o *UiConfigSchema) GetSegmentValuesLimit() float32

GetSegmentValuesLimit returns the SegmentValuesLimit field value if set, zero value otherwise.

func (*UiConfigSchema) GetSegmentValuesLimitOk ¶

func (o *UiConfigSchema) GetSegmentValuesLimitOk() (*float32, bool)

GetSegmentValuesLimitOk returns a tuple with the SegmentValuesLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiConfigSchema) GetSlogan ¶

func (o *UiConfigSchema) GetSlogan() string

GetSlogan returns the Slogan field value if set, zero value otherwise.

func (*UiConfigSchema) GetSloganOk ¶

func (o *UiConfigSchema) GetSloganOk() (*string, bool)

GetSloganOk returns a tuple with the Slogan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiConfigSchema) GetStrategySegmentsLimit ¶

func (o *UiConfigSchema) GetStrategySegmentsLimit() float32

GetStrategySegmentsLimit returns the StrategySegmentsLimit field value if set, zero value otherwise.

func (*UiConfigSchema) GetStrategySegmentsLimitOk ¶

func (o *UiConfigSchema) GetStrategySegmentsLimitOk() (*float32, bool)

GetStrategySegmentsLimitOk returns a tuple with the StrategySegmentsLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiConfigSchema) GetUnleashUrl ¶

func (o *UiConfigSchema) GetUnleashUrl() string

GetUnleashUrl returns the UnleashUrl field value

func (*UiConfigSchema) GetUnleashUrlOk ¶

func (o *UiConfigSchema) GetUnleashUrlOk() (*string, bool)

GetUnleashUrlOk returns a tuple with the UnleashUrl field value and a boolean to check if the value has been set.

func (*UiConfigSchema) GetVersion ¶

func (o *UiConfigSchema) GetVersion() string

GetVersion returns the Version field value

func (*UiConfigSchema) GetVersionInfo ¶

func (o *UiConfigSchema) GetVersionInfo() VersionSchema

GetVersionInfo returns the VersionInfo field value

func (*UiConfigSchema) GetVersionInfoOk ¶

func (o *UiConfigSchema) GetVersionInfoOk() (*VersionSchema, bool)

GetVersionInfoOk returns a tuple with the VersionInfo field value and a boolean to check if the value has been set.

func (*UiConfigSchema) GetVersionOk ¶

func (o *UiConfigSchema) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*UiConfigSchema) HasAuthenticationType ¶

func (o *UiConfigSchema) HasAuthenticationType() bool

HasAuthenticationType returns a boolean if a field has been set.

func (*UiConfigSchema) HasDisablePasswordAuth ¶

func (o *UiConfigSchema) HasDisablePasswordAuth() bool

HasDisablePasswordAuth returns a boolean if a field has been set.

func (*UiConfigSchema) HasEmailEnabled ¶

func (o *UiConfigSchema) HasEmailEnabled() bool

HasEmailEnabled returns a boolean if a field has been set.

func (*UiConfigSchema) HasEnvironment ¶

func (o *UiConfigSchema) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*UiConfigSchema) HasFlags ¶

func (o *UiConfigSchema) HasFlags() bool

HasFlags returns a boolean if a field has been set.

func (*UiConfigSchema) HasFrontendApiOrigins ¶

func (o *UiConfigSchema) HasFrontendApiOrigins() bool

HasFrontendApiOrigins returns a boolean if a field has been set.

func (o *UiConfigSchema) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*UiConfigSchema) HasMaintenanceMode ¶

func (o *UiConfigSchema) HasMaintenanceMode() bool

HasMaintenanceMode returns a boolean if a field has been set.

func (*UiConfigSchema) HasName ¶

func (o *UiConfigSchema) HasName() bool

HasName returns a boolean if a field has been set.

func (*UiConfigSchema) HasNetworkViewEnabled ¶

func (o *UiConfigSchema) HasNetworkViewEnabled() bool

HasNetworkViewEnabled returns a boolean if a field has been set.

func (*UiConfigSchema) HasSegmentValuesLimit ¶

func (o *UiConfigSchema) HasSegmentValuesLimit() bool

HasSegmentValuesLimit returns a boolean if a field has been set.

func (*UiConfigSchema) HasSlogan ¶

func (o *UiConfigSchema) HasSlogan() bool

HasSlogan returns a boolean if a field has been set.

func (*UiConfigSchema) HasStrategySegmentsLimit ¶

func (o *UiConfigSchema) HasStrategySegmentsLimit() bool

HasStrategySegmentsLimit returns a boolean if a field has been set.

func (UiConfigSchema) MarshalJSON ¶

func (o UiConfigSchema) MarshalJSON() ([]byte, error)

func (*UiConfigSchema) SetAuthenticationType ¶

func (o *UiConfigSchema) SetAuthenticationType(v string)

SetAuthenticationType gets a reference to the given string and assigns it to the AuthenticationType field.

func (*UiConfigSchema) SetBaseUriPath ¶

func (o *UiConfigSchema) SetBaseUriPath(v string)

SetBaseUriPath sets field value

func (*UiConfigSchema) SetDisablePasswordAuth ¶

func (o *UiConfigSchema) SetDisablePasswordAuth(v bool)

SetDisablePasswordAuth gets a reference to the given bool and assigns it to the DisablePasswordAuth field.

func (*UiConfigSchema) SetEmailEnabled ¶

func (o *UiConfigSchema) SetEmailEnabled(v bool)

SetEmailEnabled gets a reference to the given bool and assigns it to the EmailEnabled field.

func (*UiConfigSchema) SetEnvironment ¶

func (o *UiConfigSchema) SetEnvironment(v string)

SetEnvironment gets a reference to the given string and assigns it to the Environment field.

func (*UiConfigSchema) SetFlags ¶

func (o *UiConfigSchema) SetFlags(v map[string]UiConfigSchemaFlagsValue)

SetFlags gets a reference to the given map[string]UiConfigSchemaFlagsValue and assigns it to the Flags field.

func (*UiConfigSchema) SetFrontendApiOrigins ¶

func (o *UiConfigSchema) SetFrontendApiOrigins(v []string)

SetFrontendApiOrigins gets a reference to the given []string and assigns it to the FrontendApiOrigins field.

func (o *UiConfigSchema) SetLinks(v []map[string]interface{})

SetLinks gets a reference to the given []map[string]interface{} and assigns it to the Links field.

func (*UiConfigSchema) SetMaintenanceMode ¶

func (o *UiConfigSchema) SetMaintenanceMode(v bool)

SetMaintenanceMode gets a reference to the given bool and assigns it to the MaintenanceMode field.

func (*UiConfigSchema) SetName ¶

func (o *UiConfigSchema) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UiConfigSchema) SetNetworkViewEnabled ¶

func (o *UiConfigSchema) SetNetworkViewEnabled(v bool)

SetNetworkViewEnabled gets a reference to the given bool and assigns it to the NetworkViewEnabled field.

func (*UiConfigSchema) SetSegmentValuesLimit ¶

func (o *UiConfigSchema) SetSegmentValuesLimit(v float32)

SetSegmentValuesLimit gets a reference to the given float32 and assigns it to the SegmentValuesLimit field.

func (*UiConfigSchema) SetSlogan ¶

func (o *UiConfigSchema) SetSlogan(v string)

SetSlogan gets a reference to the given string and assigns it to the Slogan field.

func (*UiConfigSchema) SetStrategySegmentsLimit ¶

func (o *UiConfigSchema) SetStrategySegmentsLimit(v float32)

SetStrategySegmentsLimit gets a reference to the given float32 and assigns it to the StrategySegmentsLimit field.

func (*UiConfigSchema) SetUnleashUrl ¶

func (o *UiConfigSchema) SetUnleashUrl(v string)

SetUnleashUrl sets field value

func (*UiConfigSchema) SetVersion ¶

func (o *UiConfigSchema) SetVersion(v string)

SetVersion sets field value

func (*UiConfigSchema) SetVersionInfo ¶

func (o *UiConfigSchema) SetVersionInfo(v VersionSchema)

SetVersionInfo sets field value

func (UiConfigSchema) ToMap ¶

func (o UiConfigSchema) ToMap() (map[string]interface{}, error)

type UiConfigSchemaFlagsValue ¶

type UiConfigSchemaFlagsValue struct {
	VariantFlagSchema *VariantFlagSchema
	// contains filtered or unexported fields
}

UiConfigSchemaFlagsValue struct for UiConfigSchemaFlagsValue

func (*UiConfigSchemaFlagsValue) MarshalJSON ¶

func (src *UiConfigSchemaFlagsValue) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UiConfigSchemaFlagsValue) UnmarshalJSON ¶

func (dst *UiConfigSchemaFlagsValue) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type UnstableApiService ¶

type UnstableApiService service

UnstableApiService UnstableApi service

func (*UnstableApiService) ExportFeatures ¶

ExportFeatures Method for ExportFeatures

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiExportFeaturesRequest

func (*UnstableApiService) ExportFeaturesExecute ¶

Execute executes the request

@return ExportResultSchema

func (*UnstableApiService) GetAdvancedPlayground ¶

func (a *UnstableApiService) GetAdvancedPlayground(ctx context.Context) ApiGetAdvancedPlaygroundRequest

GetAdvancedPlayground Batch evaluate an Unleash context against a set of environments and projects.

Use the provided `context`, `environments`, and `projects` to evaluate toggles on this Unleash instance. You can use comma-separated values to provide multiple values to each context field. Returns a combinatorial list of all toggles that match the parameters and what they evaluate to. The response also contains the input parameters that were provided.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAdvancedPlaygroundRequest

func (*UnstableApiService) GetAdvancedPlaygroundExecute ¶

Execute executes the request

@return AdvancedPlaygroundResponseSchema

func (*UnstableApiService) ImportToggles ¶

ImportToggles Import feature toggles for an environment in the project

Unleash toggles exported from a different instance can be imported into a new project and environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiImportTogglesRequest

func (*UnstableApiService) ImportTogglesExecute ¶

func (a *UnstableApiService) ImportTogglesExecute(r ApiImportTogglesRequest) (*http.Response, error)

Execute executes the request

func (*UnstableApiService) ValidateImport ¶

ValidateImport Validate import of feature toggles for an environment in the project

Unleash toggles exported from a different instance can be imported into a new project and environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiValidateImportRequest

func (*UnstableApiService) ValidateImportExecute ¶

Execute executes the request

@return ImportTogglesValidateSchema

type UpdateApiTokenSchema ¶

type UpdateApiTokenSchema struct {
	ExpiresAt time.Time `json:"expiresAt"`
}

UpdateApiTokenSchema struct for UpdateApiTokenSchema

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)

type UpdateChangeRequestEnvironmentConfigSchema ¶

type UpdateChangeRequestEnvironmentConfigSchema struct {
	ChangeRequestsEnabled bool     `json:"changeRequestsEnabled"`
	RequiredApprovals     *float32 `json:"requiredApprovals,omitempty"`
}

UpdateChangeRequestEnvironmentConfigSchema struct for UpdateChangeRequestEnvironmentConfigSchema

func NewUpdateChangeRequestEnvironmentConfigSchema ¶

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 ¶

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 ¶

func (o *UpdateChangeRequestEnvironmentConfigSchema) GetChangeRequestsEnabled() bool

GetChangeRequestsEnabled returns the ChangeRequestsEnabled field value

func (*UpdateChangeRequestEnvironmentConfigSchema) GetChangeRequestsEnabledOk ¶

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 ¶

func (o *UpdateChangeRequestEnvironmentConfigSchema) GetRequiredApprovals() float32

GetRequiredApprovals returns the RequiredApprovals field value if set, zero value otherwise.

func (*UpdateChangeRequestEnvironmentConfigSchema) GetRequiredApprovalsOk ¶

func (o *UpdateChangeRequestEnvironmentConfigSchema) GetRequiredApprovalsOk() (*float32, 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 ¶

func (o *UpdateChangeRequestEnvironmentConfigSchema) HasRequiredApprovals() bool

HasRequiredApprovals returns a boolean if a field has been set.

func (UpdateChangeRequestEnvironmentConfigSchema) MarshalJSON ¶

func (*UpdateChangeRequestEnvironmentConfigSchema) SetChangeRequestsEnabled ¶

func (o *UpdateChangeRequestEnvironmentConfigSchema) SetChangeRequestsEnabled(v bool)

SetChangeRequestsEnabled sets field value

func (*UpdateChangeRequestEnvironmentConfigSchema) SetRequiredApprovals ¶

func (o *UpdateChangeRequestEnvironmentConfigSchema) SetRequiredApprovals(v float32)

SetRequiredApprovals gets a reference to the given float32 and assigns it to the RequiredApprovals field.

func (UpdateChangeRequestEnvironmentConfigSchema) ToMap ¶

func (o UpdateChangeRequestEnvironmentConfigSchema) ToMap() (map[string]interface{}, 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"`
}

UpdateEnvironmentSchema struct for UpdateEnvironmentSchema

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) 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) 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) 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)

type UpdateFeatureSchema ¶

type UpdateFeatureSchema struct {
	Name           string             `json:"name"`
	Description    *string            `json:"description,omitempty"`
	Type           *string            `json:"type,omitempty"`
	Stale          *bool              `json:"stale,omitempty"`
	Archived       *bool              `json:"archived,omitempty"`
	CreatedAt      *time.Time         `json:"createdAt,omitempty"`
	ImpressionData *bool              `json:"impressionData,omitempty"`
	Constraints    []ConstraintSchema `json:"constraints,omitempty"`
}

UpdateFeatureSchema struct for UpdateFeatureSchema

func NewUpdateFeatureSchema ¶

func NewUpdateFeatureSchema(name string) *UpdateFeatureSchema

NewUpdateFeatureSchema instantiates a new UpdateFeatureSchema 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 NewUpdateFeatureSchemaWithDefaults ¶

func NewUpdateFeatureSchemaWithDefaults() *UpdateFeatureSchema

NewUpdateFeatureSchemaWithDefaults instantiates a new UpdateFeatureSchema 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 (*UpdateFeatureSchema) GetArchived ¶

func (o *UpdateFeatureSchema) GetArchived() bool

GetArchived returns the Archived field value if set, zero value otherwise.

func (*UpdateFeatureSchema) GetArchivedOk ¶

func (o *UpdateFeatureSchema) GetArchivedOk() (*bool, bool)

GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateFeatureSchema) GetConstraints ¶

func (o *UpdateFeatureSchema) GetConstraints() []ConstraintSchema

GetConstraints returns the Constraints field value if set, zero value otherwise.

func (*UpdateFeatureSchema) GetConstraintsOk ¶

func (o *UpdateFeatureSchema) 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 (*UpdateFeatureSchema) GetCreatedAt ¶

func (o *UpdateFeatureSchema) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*UpdateFeatureSchema) GetCreatedAtOk ¶

func (o *UpdateFeatureSchema) 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 (*UpdateFeatureSchema) GetDescription ¶

func (o *UpdateFeatureSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateFeatureSchema) GetDescriptionOk ¶

func (o *UpdateFeatureSchema) 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 (*UpdateFeatureSchema) GetImpressionData ¶

func (o *UpdateFeatureSchema) GetImpressionData() bool

GetImpressionData returns the ImpressionData field value if set, zero value otherwise.

func (*UpdateFeatureSchema) GetImpressionDataOk ¶

func (o *UpdateFeatureSchema) GetImpressionDataOk() (*bool, bool)

GetImpressionDataOk returns a tuple with the ImpressionData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateFeatureSchema) GetName ¶

func (o *UpdateFeatureSchema) GetName() string

GetName returns the Name field value

func (*UpdateFeatureSchema) GetNameOk ¶

func (o *UpdateFeatureSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpdateFeatureSchema) GetStale ¶

func (o *UpdateFeatureSchema) GetStale() bool

GetStale returns the Stale field value if set, zero value otherwise.

func (*UpdateFeatureSchema) GetStaleOk ¶

func (o *UpdateFeatureSchema) GetStaleOk() (*bool, bool)

GetStaleOk returns a tuple with the Stale field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateFeatureSchema) GetType ¶

func (o *UpdateFeatureSchema) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*UpdateFeatureSchema) GetTypeOk ¶

func (o *UpdateFeatureSchema) 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 (*UpdateFeatureSchema) HasArchived ¶

func (o *UpdateFeatureSchema) HasArchived() bool

HasArchived returns a boolean if a field has been set.

func (*UpdateFeatureSchema) HasConstraints ¶

func (o *UpdateFeatureSchema) HasConstraints() bool

HasConstraints returns a boolean if a field has been set.

func (*UpdateFeatureSchema) HasCreatedAt ¶

func (o *UpdateFeatureSchema) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*UpdateFeatureSchema) HasDescription ¶

func (o *UpdateFeatureSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateFeatureSchema) HasImpressionData ¶

func (o *UpdateFeatureSchema) HasImpressionData() bool

HasImpressionData returns a boolean if a field has been set.

func (*UpdateFeatureSchema) HasStale ¶

func (o *UpdateFeatureSchema) HasStale() bool

HasStale returns a boolean if a field has been set.

func (*UpdateFeatureSchema) HasType ¶

func (o *UpdateFeatureSchema) HasType() bool

HasType returns a boolean if a field has been set.

func (UpdateFeatureSchema) MarshalJSON ¶

func (o UpdateFeatureSchema) MarshalJSON() ([]byte, error)

func (*UpdateFeatureSchema) SetArchived ¶

func (o *UpdateFeatureSchema) SetArchived(v bool)

SetArchived gets a reference to the given bool and assigns it to the Archived field.

func (*UpdateFeatureSchema) SetConstraints ¶

func (o *UpdateFeatureSchema) SetConstraints(v []ConstraintSchema)

SetConstraints gets a reference to the given []ConstraintSchema and assigns it to the Constraints field.

func (*UpdateFeatureSchema) SetCreatedAt ¶

func (o *UpdateFeatureSchema) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*UpdateFeatureSchema) SetDescription ¶

func (o *UpdateFeatureSchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateFeatureSchema) SetImpressionData ¶

func (o *UpdateFeatureSchema) SetImpressionData(v bool)

SetImpressionData gets a reference to the given bool and assigns it to the ImpressionData field.

func (*UpdateFeatureSchema) SetName ¶

func (o *UpdateFeatureSchema) SetName(v string)

SetName sets field value

func (*UpdateFeatureSchema) SetStale ¶

func (o *UpdateFeatureSchema) SetStale(v bool)

SetStale gets a reference to the given bool and assigns it to the Stale field.

func (*UpdateFeatureSchema) SetType ¶

func (o *UpdateFeatureSchema) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (UpdateFeatureSchema) ToMap ¶

func (o UpdateFeatureSchema) ToMap() (map[string]interface{}, error)

type UpdateFeatureStrategySchema ¶

type UpdateFeatureStrategySchema struct {
	Name        *string            `json:"name,omitempty"`
	SortOrder   *float32           `json:"sortOrder,omitempty"`
	Constraints []ConstraintSchema `json:"constraints,omitempty"`
	// A descriptive title for the strategy
	Title NullableString `json:"title,omitempty"`
	// A toggle to disable the strategy. defaults to true. Disabled strategies are not evaluated or returned to the SDKs
	Disabled   NullableBool       `json:"disabled,omitempty"`
	Parameters *map[string]string `json:"parameters,omitempty"`
}

UpdateFeatureStrategySchema struct for UpdateFeatureStrategySchema

func NewUpdateFeatureStrategySchema ¶

func NewUpdateFeatureStrategySchema() *UpdateFeatureStrategySchema

NewUpdateFeatureStrategySchema instantiates a new UpdateFeatureStrategySchema 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 NewUpdateFeatureStrategySchemaWithDefaults ¶

func NewUpdateFeatureStrategySchemaWithDefaults() *UpdateFeatureStrategySchema

NewUpdateFeatureStrategySchemaWithDefaults instantiates a new UpdateFeatureStrategySchema 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 (*UpdateFeatureStrategySchema) GetConstraints ¶

func (o *UpdateFeatureStrategySchema) GetConstraints() []ConstraintSchema

GetConstraints returns the Constraints field value if set, zero value otherwise.

func (*UpdateFeatureStrategySchema) GetConstraintsOk ¶

func (o *UpdateFeatureStrategySchema) 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 (*UpdateFeatureStrategySchema) GetDisabled ¶

func (o *UpdateFeatureStrategySchema) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateFeatureStrategySchema) GetDisabledOk ¶

func (o *UpdateFeatureStrategySchema) 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 (*UpdateFeatureStrategySchema) GetName ¶

func (o *UpdateFeatureStrategySchema) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateFeatureStrategySchema) GetNameOk ¶

func (o *UpdateFeatureStrategySchema) 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 (*UpdateFeatureStrategySchema) GetParameters ¶

func (o *UpdateFeatureStrategySchema) GetParameters() map[string]string

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*UpdateFeatureStrategySchema) GetParametersOk ¶

func (o *UpdateFeatureStrategySchema) 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 (*UpdateFeatureStrategySchema) GetSortOrder ¶

func (o *UpdateFeatureStrategySchema) GetSortOrder() float32

GetSortOrder returns the SortOrder field value if set, zero value otherwise.

func (*UpdateFeatureStrategySchema) GetSortOrderOk ¶

func (o *UpdateFeatureStrategySchema) 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 (*UpdateFeatureStrategySchema) GetTitle ¶

func (o *UpdateFeatureStrategySchema) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateFeatureStrategySchema) GetTitleOk ¶

func (o *UpdateFeatureStrategySchema) 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 (*UpdateFeatureStrategySchema) HasConstraints ¶

func (o *UpdateFeatureStrategySchema) HasConstraints() bool

HasConstraints returns a boolean if a field has been set.

func (*UpdateFeatureStrategySchema) HasDisabled ¶

func (o *UpdateFeatureStrategySchema) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*UpdateFeatureStrategySchema) HasName ¶

func (o *UpdateFeatureStrategySchema) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateFeatureStrategySchema) HasParameters ¶

func (o *UpdateFeatureStrategySchema) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (*UpdateFeatureStrategySchema) HasSortOrder ¶

func (o *UpdateFeatureStrategySchema) HasSortOrder() bool

HasSortOrder returns a boolean if a field has been set.

func (*UpdateFeatureStrategySchema) HasTitle ¶

func (o *UpdateFeatureStrategySchema) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (UpdateFeatureStrategySchema) MarshalJSON ¶

func (o UpdateFeatureStrategySchema) MarshalJSON() ([]byte, error)

func (*UpdateFeatureStrategySchema) SetConstraints ¶

func (o *UpdateFeatureStrategySchema) SetConstraints(v []ConstraintSchema)

SetConstraints gets a reference to the given []ConstraintSchema and assigns it to the Constraints field.

func (*UpdateFeatureStrategySchema) SetDisabled ¶

func (o *UpdateFeatureStrategySchema) SetDisabled(v bool)

SetDisabled gets a reference to the given NullableBool and assigns it to the Disabled field.

func (*UpdateFeatureStrategySchema) SetDisabledNil ¶

func (o *UpdateFeatureStrategySchema) SetDisabledNil()

SetDisabledNil sets the value for Disabled to be an explicit nil

func (*UpdateFeatureStrategySchema) SetName ¶

func (o *UpdateFeatureStrategySchema) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateFeatureStrategySchema) SetParameters ¶

func (o *UpdateFeatureStrategySchema) SetParameters(v map[string]string)

SetParameters gets a reference to the given map[string]string and assigns it to the Parameters field.

func (*UpdateFeatureStrategySchema) SetSortOrder ¶

func (o *UpdateFeatureStrategySchema) SetSortOrder(v float32)

SetSortOrder gets a reference to the given float32 and assigns it to the SortOrder field.

func (*UpdateFeatureStrategySchema) SetTitle ¶

func (o *UpdateFeatureStrategySchema) SetTitle(v string)

SetTitle gets a reference to the given NullableString and assigns it to the Title field.

func (*UpdateFeatureStrategySchema) SetTitleNil ¶

func (o *UpdateFeatureStrategySchema) SetTitleNil()

SetTitleNil sets the value for Title to be an explicit nil

func (UpdateFeatureStrategySchema) ToMap ¶

func (o UpdateFeatureStrategySchema) ToMap() (map[string]interface{}, error)

func (*UpdateFeatureStrategySchema) UnsetDisabled ¶

func (o *UpdateFeatureStrategySchema) UnsetDisabled()

UnsetDisabled ensures that no value is present for Disabled, not even an explicit nil

func (*UpdateFeatureStrategySchema) UnsetTitle ¶

func (o *UpdateFeatureStrategySchema) UnsetTitle()

UnsetTitle ensures that no value is present for Title, not even an explicit nil

type UpdateFeatureStrategySegmentsSchema ¶

type UpdateFeatureStrategySegmentsSchema struct {
	// The ID of the project that the strategy belongs to.
	ProjectId string `json:"projectId"`
	// The ID of the strategy to update segments for.
	StrategyId string `json:"strategyId"`
	// The ID of the strategy environment.
	EnvironmentId string `json:"environmentId"`
	// The new list of segments (IDs) to use for this strategy. Any segments not in this list will be removed from the strategy.
	SegmentIds []int32 `json:"segmentIds"`
}

UpdateFeatureStrategySegmentsSchema Data required to update segments for a strategy.

func NewUpdateFeatureStrategySegmentsSchema ¶

func NewUpdateFeatureStrategySegmentsSchema(projectId string, strategyId string, environmentId string, segmentIds []int32) *UpdateFeatureStrategySegmentsSchema

NewUpdateFeatureStrategySegmentsSchema instantiates a new UpdateFeatureStrategySegmentsSchema 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 NewUpdateFeatureStrategySegmentsSchemaWithDefaults ¶

func NewUpdateFeatureStrategySegmentsSchemaWithDefaults() *UpdateFeatureStrategySegmentsSchema

NewUpdateFeatureStrategySegmentsSchemaWithDefaults instantiates a new UpdateFeatureStrategySegmentsSchema 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 (*UpdateFeatureStrategySegmentsSchema) GetEnvironmentId ¶

func (o *UpdateFeatureStrategySegmentsSchema) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*UpdateFeatureStrategySegmentsSchema) GetEnvironmentIdOk ¶

func (o *UpdateFeatureStrategySegmentsSchema) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*UpdateFeatureStrategySegmentsSchema) GetProjectId ¶

func (o *UpdateFeatureStrategySegmentsSchema) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*UpdateFeatureStrategySegmentsSchema) GetProjectIdOk ¶

func (o *UpdateFeatureStrategySegmentsSchema) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*UpdateFeatureStrategySegmentsSchema) GetSegmentIds ¶

func (o *UpdateFeatureStrategySegmentsSchema) GetSegmentIds() []int32

GetSegmentIds returns the SegmentIds field value

func (*UpdateFeatureStrategySegmentsSchema) GetSegmentIdsOk ¶

func (o *UpdateFeatureStrategySegmentsSchema) GetSegmentIdsOk() ([]int32, bool)

GetSegmentIdsOk returns a tuple with the SegmentIds field value and a boolean to check if the value has been set.

func (*UpdateFeatureStrategySegmentsSchema) GetStrategyId ¶

func (o *UpdateFeatureStrategySegmentsSchema) GetStrategyId() string

GetStrategyId returns the StrategyId field value

func (*UpdateFeatureStrategySegmentsSchema) GetStrategyIdOk ¶

func (o *UpdateFeatureStrategySegmentsSchema) GetStrategyIdOk() (*string, bool)

GetStrategyIdOk returns a tuple with the StrategyId field value and a boolean to check if the value has been set.

func (UpdateFeatureStrategySegmentsSchema) MarshalJSON ¶

func (o UpdateFeatureStrategySegmentsSchema) MarshalJSON() ([]byte, error)

func (*UpdateFeatureStrategySegmentsSchema) SetEnvironmentId ¶

func (o *UpdateFeatureStrategySegmentsSchema) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*UpdateFeatureStrategySegmentsSchema) SetProjectId ¶

func (o *UpdateFeatureStrategySegmentsSchema) SetProjectId(v string)

SetProjectId sets field value

func (*UpdateFeatureStrategySegmentsSchema) SetSegmentIds ¶

func (o *UpdateFeatureStrategySegmentsSchema) SetSegmentIds(v []int32)

SetSegmentIds sets field value

func (*UpdateFeatureStrategySegmentsSchema) SetStrategyId ¶

func (o *UpdateFeatureStrategySegmentsSchema) SetStrategyId(v string)

SetStrategyId sets field value

func (UpdateFeatureStrategySegmentsSchema) ToMap ¶

func (o UpdateFeatureStrategySegmentsSchema) ToMap() (map[string]interface{}, error)

type UpdateProjectSchema ¶

type UpdateProjectSchema struct {
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
}

UpdateProjectSchema struct for UpdateProjectSchema

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) 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) 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) HasDescription ¶

func (o *UpdateProjectSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (UpdateProjectSchema) MarshalJSON ¶

func (o UpdateProjectSchema) MarshalJSON() ([]byte, error)

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) SetName ¶

func (o *UpdateProjectSchema) SetName(v string)

SetName sets field value

func (UpdateProjectSchema) ToMap ¶

func (o UpdateProjectSchema) ToMap() (map[string]interface{}, 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(bytes []byte) (err error)

type UpdateStrategySchema ¶

type UpdateStrategySchema struct {
	// A description of the strategy type.
	Description *string `json:"description,omitempty"`
	// The parameter list lets you pass arguments to your custom activation strategy. These will be made available to your custom strategy implementation.
	Parameters []CreateStrategySchemaParametersInner `json:"parameters"`
}

UpdateStrategySchema The data required to update a strategy type.

func NewUpdateStrategySchema ¶

func NewUpdateStrategySchema(parameters []CreateStrategySchemaParametersInner) *UpdateStrategySchema

NewUpdateStrategySchema instantiates a new UpdateStrategySchema 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 NewUpdateStrategySchemaWithDefaults ¶

func NewUpdateStrategySchemaWithDefaults() *UpdateStrategySchema

NewUpdateStrategySchemaWithDefaults instantiates a new UpdateStrategySchema 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 (*UpdateStrategySchema) GetDescription ¶

func (o *UpdateStrategySchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateStrategySchema) GetDescriptionOk ¶

func (o *UpdateStrategySchema) 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 (*UpdateStrategySchema) GetParameters ¶

GetParameters returns the Parameters field value

func (*UpdateStrategySchema) GetParametersOk ¶

GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.

func (*UpdateStrategySchema) HasDescription ¶

func (o *UpdateStrategySchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (UpdateStrategySchema) MarshalJSON ¶

func (o UpdateStrategySchema) MarshalJSON() ([]byte, error)

func (*UpdateStrategySchema) SetDescription ¶

func (o *UpdateStrategySchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateStrategySchema) SetParameters ¶

SetParameters sets field value

func (UpdateStrategySchema) ToMap ¶

func (o UpdateStrategySchema) ToMap() (map[string]interface{}, error)

type UpdateTagTypeSchema ¶

type UpdateTagTypeSchema struct {
	Description *string `json:"description,omitempty"`
	Icon        *string `json:"icon,omitempty"`
}

UpdateTagTypeSchema struct for UpdateTagTypeSchema

func NewUpdateTagTypeSchema ¶

func NewUpdateTagTypeSchema() *UpdateTagTypeSchema

NewUpdateTagTypeSchema instantiates a new UpdateTagTypeSchema 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 NewUpdateTagTypeSchemaWithDefaults ¶

func NewUpdateTagTypeSchemaWithDefaults() *UpdateTagTypeSchema

NewUpdateTagTypeSchemaWithDefaults instantiates a new UpdateTagTypeSchema 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 (*UpdateTagTypeSchema) GetDescription ¶

func (o *UpdateTagTypeSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateTagTypeSchema) GetDescriptionOk ¶

func (o *UpdateTagTypeSchema) 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 (*UpdateTagTypeSchema) GetIcon ¶

func (o *UpdateTagTypeSchema) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*UpdateTagTypeSchema) GetIconOk ¶

func (o *UpdateTagTypeSchema) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateTagTypeSchema) HasDescription ¶

func (o *UpdateTagTypeSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateTagTypeSchema) HasIcon ¶

func (o *UpdateTagTypeSchema) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (UpdateTagTypeSchema) MarshalJSON ¶

func (o UpdateTagTypeSchema) MarshalJSON() ([]byte, error)

func (*UpdateTagTypeSchema) SetDescription ¶

func (o *UpdateTagTypeSchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateTagTypeSchema) SetIcon ¶

func (o *UpdateTagTypeSchema) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (UpdateTagTypeSchema) ToMap ¶

func (o UpdateTagTypeSchema) ToMap() (map[string]interface{}, error)

type UpdateTagsSchema ¶

type UpdateTagsSchema struct {
	// Tags to add to the feature.
	AddedTags []TagSchema `json:"addedTags"`
	// Tags to remove from the feature.
	RemovedTags []TagSchema `json:"removedTags"`
}

UpdateTagsSchema Represents a set of changes to a feature's tags, such as adding or removing tags.

func NewUpdateTagsSchema ¶

func NewUpdateTagsSchema(addedTags []TagSchema, removedTags []TagSchema) *UpdateTagsSchema

NewUpdateTagsSchema instantiates a new UpdateTagsSchema 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 NewUpdateTagsSchemaWithDefaults ¶

func NewUpdateTagsSchemaWithDefaults() *UpdateTagsSchema

NewUpdateTagsSchemaWithDefaults instantiates a new UpdateTagsSchema 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 (*UpdateTagsSchema) GetAddedTags ¶

func (o *UpdateTagsSchema) GetAddedTags() []TagSchema

GetAddedTags returns the AddedTags field value

func (*UpdateTagsSchema) GetAddedTagsOk ¶

func (o *UpdateTagsSchema) GetAddedTagsOk() ([]TagSchema, bool)

GetAddedTagsOk returns a tuple with the AddedTags field value and a boolean to check if the value has been set.

func (*UpdateTagsSchema) GetRemovedTags ¶

func (o *UpdateTagsSchema) GetRemovedTags() []TagSchema

GetRemovedTags returns the RemovedTags field value

func (*UpdateTagsSchema) GetRemovedTagsOk ¶

func (o *UpdateTagsSchema) GetRemovedTagsOk() ([]TagSchema, bool)

GetRemovedTagsOk returns a tuple with the RemovedTags field value and a boolean to check if the value has been set.

func (UpdateTagsSchema) MarshalJSON ¶

func (o UpdateTagsSchema) MarshalJSON() ([]byte, error)

func (*UpdateTagsSchema) SetAddedTags ¶

func (o *UpdateTagsSchema) SetAddedTags(v []TagSchema)

SetAddedTags sets field value

func (*UpdateTagsSchema) SetRemovedTags ¶

func (o *UpdateTagsSchema) SetRemovedTags(v []TagSchema)

SetRemovedTags sets field value

func (UpdateTagsSchema) ToMap ¶

func (o UpdateTagsSchema) ToMap() (map[string]interface{}, error)

type UpdateUserSchema ¶

type UpdateUserSchema struct {
	Email                *string  `json:"email,omitempty"`
	Name                 *string  `json:"name,omitempty"`
	RootRole             *float32 `json:"rootRole,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateUserSchema struct for UpdateUserSchema

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() float32

GetRootRole returns the RootRole field value if set, zero value otherwise.

func (*UpdateUserSchema) GetRootRoleOk ¶

func (o *UpdateUserSchema) 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.

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 float32)

SetRootRole gets a reference to the given float32 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(bytes []byte) (err error)

type UpsertContextFieldSchema ¶

type UpsertContextFieldSchema struct {
	Name        string             `json:"name"`
	Description *string            `json:"description,omitempty"`
	Stickiness  *bool              `json:"stickiness,omitempty"`
	SortOrder   *float32           `json:"sortOrder,omitempty"`
	LegalValues []LegalValueSchema `json:"legalValues,omitempty"`
}

UpsertContextFieldSchema struct for UpsertContextFieldSchema

func NewUpsertContextFieldSchema ¶

func NewUpsertContextFieldSchema(name string) *UpsertContextFieldSchema

NewUpsertContextFieldSchema instantiates a new UpsertContextFieldSchema 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 NewUpsertContextFieldSchemaWithDefaults ¶

func NewUpsertContextFieldSchemaWithDefaults() *UpsertContextFieldSchema

NewUpsertContextFieldSchemaWithDefaults instantiates a new UpsertContextFieldSchema 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 (*UpsertContextFieldSchema) GetDescription ¶

func (o *UpsertContextFieldSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpsertContextFieldSchema) GetDescriptionOk ¶

func (o *UpsertContextFieldSchema) 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 (*UpsertContextFieldSchema) GetLegalValues ¶

func (o *UpsertContextFieldSchema) GetLegalValues() []LegalValueSchema

GetLegalValues returns the LegalValues field value if set, zero value otherwise.

func (*UpsertContextFieldSchema) GetLegalValuesOk ¶

func (o *UpsertContextFieldSchema) 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 (*UpsertContextFieldSchema) GetName ¶

func (o *UpsertContextFieldSchema) GetName() string

GetName returns the Name field value

func (*UpsertContextFieldSchema) GetNameOk ¶

func (o *UpsertContextFieldSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpsertContextFieldSchema) GetSortOrder ¶

func (o *UpsertContextFieldSchema) GetSortOrder() float32

GetSortOrder returns the SortOrder field value if set, zero value otherwise.

func (*UpsertContextFieldSchema) GetSortOrderOk ¶

func (o *UpsertContextFieldSchema) 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 (*UpsertContextFieldSchema) GetStickiness ¶

func (o *UpsertContextFieldSchema) GetStickiness() bool

GetStickiness returns the Stickiness field value if set, zero value otherwise.

func (*UpsertContextFieldSchema) GetStickinessOk ¶

func (o *UpsertContextFieldSchema) 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 (*UpsertContextFieldSchema) HasDescription ¶

func (o *UpsertContextFieldSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpsertContextFieldSchema) HasLegalValues ¶

func (o *UpsertContextFieldSchema) HasLegalValues() bool

HasLegalValues returns a boolean if a field has been set.

func (*UpsertContextFieldSchema) HasSortOrder ¶

func (o *UpsertContextFieldSchema) HasSortOrder() bool

HasSortOrder returns a boolean if a field has been set.

func (*UpsertContextFieldSchema) HasStickiness ¶

func (o *UpsertContextFieldSchema) HasStickiness() bool

HasStickiness returns a boolean if a field has been set.

func (UpsertContextFieldSchema) MarshalJSON ¶

func (o UpsertContextFieldSchema) MarshalJSON() ([]byte, error)

func (*UpsertContextFieldSchema) SetDescription ¶

func (o *UpsertContextFieldSchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpsertContextFieldSchema) SetLegalValues ¶

func (o *UpsertContextFieldSchema) SetLegalValues(v []LegalValueSchema)

SetLegalValues gets a reference to the given []LegalValueSchema and assigns it to the LegalValues field.

func (*UpsertContextFieldSchema) SetName ¶

func (o *UpsertContextFieldSchema) SetName(v string)

SetName sets field value

func (*UpsertContextFieldSchema) SetSortOrder ¶

func (o *UpsertContextFieldSchema) SetSortOrder(v float32)

SetSortOrder gets a reference to the given float32 and assigns it to the SortOrder field.

func (*UpsertContextFieldSchema) SetStickiness ¶

func (o *UpsertContextFieldSchema) SetStickiness(v bool)

SetStickiness gets a reference to the given bool and assigns it to the Stickiness field.

func (UpsertContextFieldSchema) ToMap ¶

func (o UpsertContextFieldSchema) ToMap() (map[string]interface{}, error)

type UpsertSegmentSchema ¶

type UpsertSegmentSchema struct {
	// The name of the segment.
	Name string `json:"name"`
	// The description of the segment.
	Description NullableString `json:"description,omitempty"`
	// Project from where this segment will be accessible. If none is defined the segment will be global (i.e. accessible from any project).
	Project NullableString `json:"project,omitempty"`
	// List of constraints that determine which users will be part of the segment
	Constraints []ConstraintSchema `json:"constraints"`
}

UpsertSegmentSchema Represents a segment of users defined by a set of constraints.

func NewUpsertSegmentSchema ¶

func NewUpsertSegmentSchema(name string, constraints []ConstraintSchema) *UpsertSegmentSchema

NewUpsertSegmentSchema instantiates a new UpsertSegmentSchema 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 NewUpsertSegmentSchemaWithDefaults ¶

func NewUpsertSegmentSchemaWithDefaults() *UpsertSegmentSchema

NewUpsertSegmentSchemaWithDefaults instantiates a new UpsertSegmentSchema 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 (*UpsertSegmentSchema) GetConstraints ¶

func (o *UpsertSegmentSchema) GetConstraints() []ConstraintSchema

GetConstraints returns the Constraints field value

func (*UpsertSegmentSchema) GetConstraintsOk ¶

func (o *UpsertSegmentSchema) GetConstraintsOk() ([]ConstraintSchema, bool)

GetConstraintsOk returns a tuple with the Constraints field value and a boolean to check if the value has been set.

func (*UpsertSegmentSchema) GetDescription ¶

func (o *UpsertSegmentSchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpsertSegmentSchema) GetDescriptionOk ¶

func (o *UpsertSegmentSchema) 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 (*UpsertSegmentSchema) GetName ¶

func (o *UpsertSegmentSchema) GetName() string

GetName returns the Name field value

func (*UpsertSegmentSchema) GetNameOk ¶

func (o *UpsertSegmentSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpsertSegmentSchema) GetProject ¶

func (o *UpsertSegmentSchema) GetProject() string

GetProject returns the Project field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpsertSegmentSchema) GetProjectOk ¶

func (o *UpsertSegmentSchema) 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 (*UpsertSegmentSchema) HasDescription ¶

func (o *UpsertSegmentSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpsertSegmentSchema) HasProject ¶

func (o *UpsertSegmentSchema) HasProject() bool

HasProject returns a boolean if a field has been set.

func (UpsertSegmentSchema) MarshalJSON ¶

func (o UpsertSegmentSchema) MarshalJSON() ([]byte, error)

func (*UpsertSegmentSchema) SetConstraints ¶

func (o *UpsertSegmentSchema) SetConstraints(v []ConstraintSchema)

SetConstraints sets field value

func (*UpsertSegmentSchema) SetDescription ¶

func (o *UpsertSegmentSchema) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*UpsertSegmentSchema) SetDescriptionNil ¶

func (o *UpsertSegmentSchema) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*UpsertSegmentSchema) SetName ¶

func (o *UpsertSegmentSchema) SetName(v string)

SetName sets field value

func (*UpsertSegmentSchema) SetProject ¶

func (o *UpsertSegmentSchema) SetProject(v string)

SetProject gets a reference to the given NullableString and assigns it to the Project field.

func (*UpsertSegmentSchema) SetProjectNil ¶

func (o *UpsertSegmentSchema) SetProjectNil()

SetProjectNil sets the value for Project to be an explicit nil

func (UpsertSegmentSchema) ToMap ¶

func (o UpsertSegmentSchema) ToMap() (map[string]interface{}, error)

func (*UpsertSegmentSchema) UnsetDescription ¶

func (o *UpsertSegmentSchema) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*UpsertSegmentSchema) UnsetProject ¶

func (o *UpsertSegmentSchema) UnsetProject()

UnsetProject ensures that no value is present for Project, not even an explicit nil

type UpsertStrategySchema ¶

type UpsertStrategySchema struct {
	Name        string                                `json:"name"`
	Description *string                               `json:"description,omitempty"`
	Editable    *bool                                 `json:"editable,omitempty"`
	Parameters  []UpsertStrategySchemaParametersInner `json:"parameters,omitempty"`
}

UpsertStrategySchema struct for UpsertStrategySchema

func NewUpsertStrategySchema ¶

func NewUpsertStrategySchema(name string) *UpsertStrategySchema

NewUpsertStrategySchema instantiates a new UpsertStrategySchema 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 NewUpsertStrategySchemaWithDefaults ¶

func NewUpsertStrategySchemaWithDefaults() *UpsertStrategySchema

NewUpsertStrategySchemaWithDefaults instantiates a new UpsertStrategySchema 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 (*UpsertStrategySchema) GetDescription ¶

func (o *UpsertStrategySchema) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpsertStrategySchema) GetDescriptionOk ¶

func (o *UpsertStrategySchema) 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 (*UpsertStrategySchema) GetEditable ¶

func (o *UpsertStrategySchema) GetEditable() bool

GetEditable returns the Editable field value if set, zero value otherwise.

func (*UpsertStrategySchema) GetEditableOk ¶

func (o *UpsertStrategySchema) GetEditableOk() (*bool, bool)

GetEditableOk returns a tuple with the Editable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpsertStrategySchema) GetName ¶

func (o *UpsertStrategySchema) GetName() string

GetName returns the Name field value

func (*UpsertStrategySchema) GetNameOk ¶

func (o *UpsertStrategySchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpsertStrategySchema) GetParameters ¶

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*UpsertStrategySchema) GetParametersOk ¶

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 (*UpsertStrategySchema) HasDescription ¶

func (o *UpsertStrategySchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpsertStrategySchema) HasEditable ¶

func (o *UpsertStrategySchema) HasEditable() bool

HasEditable returns a boolean if a field has been set.

func (*UpsertStrategySchema) HasParameters ¶

func (o *UpsertStrategySchema) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (UpsertStrategySchema) MarshalJSON ¶

func (o UpsertStrategySchema) MarshalJSON() ([]byte, error)

func (*UpsertStrategySchema) SetDescription ¶

func (o *UpsertStrategySchema) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpsertStrategySchema) SetEditable ¶

func (o *UpsertStrategySchema) SetEditable(v bool)

SetEditable gets a reference to the given bool and assigns it to the Editable field.

func (*UpsertStrategySchema) SetName ¶

func (o *UpsertStrategySchema) SetName(v string)

SetName sets field value

func (*UpsertStrategySchema) SetParameters ¶

SetParameters gets a reference to the given []UpsertStrategySchemaParametersInner and assigns it to the Parameters field.

func (UpsertStrategySchema) ToMap ¶

func (o UpsertStrategySchema) ToMap() (map[string]interface{}, error)

type UpsertStrategySchemaParametersInner ¶

type UpsertStrategySchemaParametersInner struct {
	Name        *string `json:"name,omitempty"`
	Type        *string `json:"type,omitempty"`
	Description *string `json:"description,omitempty"`
	Required    *bool   `json:"required,omitempty"`
}

UpsertStrategySchemaParametersInner struct for UpsertStrategySchemaParametersInner

func NewUpsertStrategySchemaParametersInner ¶

func NewUpsertStrategySchemaParametersInner() *UpsertStrategySchemaParametersInner

NewUpsertStrategySchemaParametersInner instantiates a new UpsertStrategySchemaParametersInner 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 NewUpsertStrategySchemaParametersInnerWithDefaults ¶

func NewUpsertStrategySchemaParametersInnerWithDefaults() *UpsertStrategySchemaParametersInner

NewUpsertStrategySchemaParametersInnerWithDefaults instantiates a new UpsertStrategySchemaParametersInner 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 (*UpsertStrategySchemaParametersInner) GetDescription ¶

func (o *UpsertStrategySchemaParametersInner) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpsertStrategySchemaParametersInner) GetDescriptionOk ¶

func (o *UpsertStrategySchemaParametersInner) 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 (*UpsertStrategySchemaParametersInner) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*UpsertStrategySchemaParametersInner) GetNameOk ¶

func (o *UpsertStrategySchemaParametersInner) 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 (*UpsertStrategySchemaParametersInner) GetRequired ¶

func (o *UpsertStrategySchemaParametersInner) GetRequired() bool

GetRequired returns the Required field value if set, zero value otherwise.

func (*UpsertStrategySchemaParametersInner) GetRequiredOk ¶

func (o *UpsertStrategySchemaParametersInner) GetRequiredOk() (*bool, bool)

GetRequiredOk returns a tuple with the Required field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpsertStrategySchemaParametersInner) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*UpsertStrategySchemaParametersInner) GetTypeOk ¶

func (o *UpsertStrategySchemaParametersInner) 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 (*UpsertStrategySchemaParametersInner) HasDescription ¶

func (o *UpsertStrategySchemaParametersInner) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpsertStrategySchemaParametersInner) HasName ¶

HasName returns a boolean if a field has been set.

func (*UpsertStrategySchemaParametersInner) HasRequired ¶

func (o *UpsertStrategySchemaParametersInner) HasRequired() bool

HasRequired returns a boolean if a field has been set.

func (*UpsertStrategySchemaParametersInner) HasType ¶

HasType returns a boolean if a field has been set.

func (UpsertStrategySchemaParametersInner) MarshalJSON ¶

func (o UpsertStrategySchemaParametersInner) MarshalJSON() ([]byte, error)

func (*UpsertStrategySchemaParametersInner) SetDescription ¶

func (o *UpsertStrategySchemaParametersInner) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpsertStrategySchemaParametersInner) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpsertStrategySchemaParametersInner) SetRequired ¶

func (o *UpsertStrategySchemaParametersInner) SetRequired(v bool)

SetRequired gets a reference to the given bool and assigns it to the Required field.

func (*UpsertStrategySchemaParametersInner) SetType ¶

SetType gets a reference to the given string and assigns it to the Type field.

func (UpsertStrategySchemaParametersInner) ToMap ¶

func (o UpsertStrategySchemaParametersInner) ToMap() (map[string]interface{}, error)

type UserSchema ¶

type UserSchema struct {
	Id            float32      `json:"id"`
	IsAPI         *bool        `json:"isAPI,omitempty"`
	Name          *string      `json:"name,omitempty"`
	Email         *string      `json:"email,omitempty"`
	Username      *string      `json:"username,omitempty"`
	ImageUrl      *string      `json:"imageUrl,omitempty"`
	InviteLink    *string      `json:"inviteLink,omitempty"`
	LoginAttempts *float32     `json:"loginAttempts,omitempty"`
	EmailSent     *bool        `json:"emailSent,omitempty"`
	RootRole      *float32     `json:"rootRole,omitempty"`
	SeenAt        NullableTime `json:"seenAt,omitempty"`
	CreatedAt     *time.Time   `json:"createdAt,omitempty"`
	AccountType   *string      `json:"accountType,omitempty"`
}

UserSchema struct for UserSchema

func NewUserSchema ¶

func NewUserSchema(id float32) *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) 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) 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() float32

GetId returns the Id field value

func (*UserSchema) GetIdOk ¶

func (o *UserSchema) GetIdOk() (*float32, 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) GetIsAPI ¶

func (o *UserSchema) GetIsAPI() bool

GetIsAPI returns the IsAPI field value if set, zero value otherwise.

func (*UserSchema) GetIsAPIOk ¶

func (o *UserSchema) 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.

func (*UserSchema) GetLoginAttempts ¶

func (o *UserSchema) GetLoginAttempts() float32

GetLoginAttempts returns the LoginAttempts field value if set, zero value otherwise.

func (*UserSchema) GetLoginAttemptsOk ¶

func (o *UserSchema) 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.

func (*UserSchema) GetName ¶

func (o *UserSchema) GetName() string

GetName returns the Name field value if set, zero value otherwise.

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.

func (*UserSchema) GetRootRole ¶

func (o *UserSchema) GetRootRole() float32

GetRootRole returns the RootRole field value if set, zero value otherwise.

func (*UserSchema) GetRootRoleOk ¶

func (o *UserSchema) 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.

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.

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.

func (*UserSchema) HasAccountType ¶

func (o *UserSchema) HasAccountType() bool

HasAccountType 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) 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) HasIsAPI ¶

func (o *UserSchema) HasIsAPI() bool

HasIsAPI 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) HasRootRole ¶

func (o *UserSchema) HasRootRole() bool

HasRootRole 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) 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) 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 float32)

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) SetIsAPI ¶

func (o *UserSchema) SetIsAPI(v bool)

SetIsAPI gets a reference to the given bool and assigns it to the IsAPI field.

func (*UserSchema) SetLoginAttempts ¶

func (o *UserSchema) SetLoginAttempts(v float32)

SetLoginAttempts gets a reference to the given float32 and assigns it to the LoginAttempts field.

func (*UserSchema) SetName ¶

func (o *UserSchema) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserSchema) SetRootRole ¶

func (o *UserSchema) SetRootRole(v float32)

SetRootRole gets a reference to the given float32 and assigns it to the RootRole field.

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 string and assigns it to the Username field.

func (UserSchema) ToMap ¶

func (o UserSchema) ToMap() (map[string]interface{}, error)

func (*UserSchema) UnsetSeenAt ¶

func (o *UserSchema) UnsetSeenAt()

UnsetSeenAt ensures that no value is present for SeenAt, not even an explicit nil

type UserWithProjectRoleSchema ¶

type UserWithProjectRoleSchema struct {
	IsAPI    bool           `json:"isAPI"`
	Name     *string        `json:"name,omitempty"`
	Email    NullableString `json:"email,omitempty"`
	Id       float32        `json:"id"`
	ImageUrl NullableString `json:"imageUrl,omitempty"`
	AddedAt  *time.Time     `json:"addedAt,omitempty"`
	RoleId   *float32       `json:"roleId,omitempty"`
}

UserWithProjectRoleSchema struct for UserWithProjectRoleSchema

func NewUserWithProjectRoleSchema ¶

func NewUserWithProjectRoleSchema(isAPI bool, id float32) *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 ¶

GetId returns the Id field value

func (*UserWithProjectRoleSchema) GetIdOk ¶

func (o *UserWithProjectRoleSchema) GetIdOk() (*float32, 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

func (*UserWithProjectRoleSchema) GetIsAPIOk ¶

func (o *UserWithProjectRoleSchema) GetIsAPIOk() (*bool, bool)

GetIsAPIOk returns a tuple with the IsAPI field value and a boolean to check if the value has been set.

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() float32

GetRoleId returns the RoleId field value if set, zero value otherwise.

func (*UserWithProjectRoleSchema) GetRoleIdOk ¶

func (o *UserWithProjectRoleSchema) GetRoleIdOk() (*float32, 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) 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) 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) 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 float32)

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 sets field value

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 float32)

SetRoleId gets a reference to the given float32 and assigns it to the RoleId field.

func (UserWithProjectRoleSchema) ToMap ¶

func (o UserWithProjectRoleSchema) ToMap() (map[string]interface{}, 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 ¶

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) ChangeMyPassword ¶

func (a *UsersApiService) ChangeMyPassword(ctx context.Context) ApiChangeMyPasswordRequest

ChangeMyPassword Method for ChangeMyPassword

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiChangeMyPasswordRequest

func (*UsersApiService) ChangeMyPasswordExecute ¶

func (a *UsersApiService) ChangeMyPasswordExecute(r ApiChangeMyPasswordRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) ChangeUserPassword ¶

func (a *UsersApiService) ChangeUserPassword(ctx context.Context, id string) ApiChangeUserPasswordRequest

ChangeUserPassword Method for ChangeUserPassword

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiChangeUserPasswordRequest

func (*UsersApiService) ChangeUserPasswordExecute ¶

func (a *UsersApiService) ChangeUserPasswordExecute(r ApiChangeUserPasswordRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) CreateUser ¶

CreateUser Method for CreateUser

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateUserRequest

func (*UsersApiService) CreateUserExecute ¶

func (a *UsersApiService) CreateUserExecute(r ApiCreateUserRequest) (*UserSchema, *http.Response, error)

Execute executes the request

@return UserSchema

func (*UsersApiService) DeleteUser ¶

DeleteUser Method for DeleteUser

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiDeleteUserRequest

func (*UsersApiService) DeleteUserExecute ¶

func (a *UsersApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) GetAdminCount ¶

GetAdminCount Method for GetAdminCount

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAdminCountRequest

func (*UsersApiService) GetAdminCountExecute ¶

Execute executes the request

@return AdminCountSchema

func (*UsersApiService) GetBaseUsersAndGroups ¶

func (a *UsersApiService) GetBaseUsersAndGroups(ctx context.Context) ApiGetBaseUsersAndGroupsRequest

GetBaseUsersAndGroups Method for GetBaseUsersAndGroups

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetBaseUsersAndGroupsRequest

func (*UsersApiService) GetBaseUsersAndGroupsExecute ¶

Execute executes the request

@return UsersGroupsBaseSchema

func (*UsersApiService) GetMe ¶

GetMe Method for GetMe

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetMeRequest

func (*UsersApiService) GetMeExecute ¶

func (a *UsersApiService) GetMeExecute(r ApiGetMeRequest) (*MeSchema, *http.Response, error)

Execute executes the request

@return MeSchema

func (*UsersApiService) GetProfile ¶

GetProfile Method for GetProfile

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetProfileRequest

func (*UsersApiService) GetProfileExecute ¶

func (a *UsersApiService) GetProfileExecute(r ApiGetProfileRequest) (*ProfileSchema, *http.Response, error)

Execute executes the request

@return ProfileSchema

func (*UsersApiService) GetUser ¶

GetUser Method for GetUser

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiGetUserRequest

func (*UsersApiService) GetUserExecute ¶

func (a *UsersApiService) GetUserExecute(r ApiGetUserRequest) (*UserSchema, *http.Response, error)

Execute executes the request

@return UserSchema

func (*UsersApiService) GetUsers ¶

GetUsers Method for GetUsers

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUsersRequest

func (*UsersApiService) GetUsersExecute ¶

func (a *UsersApiService) GetUsersExecute(r ApiGetUsersRequest) (*UsersSchema, *http.Response, error)

Execute executes the request

@return UsersSchema

func (*UsersApiService) ResetUserPassword ¶

func (a *UsersApiService) ResetUserPassword(ctx context.Context) ApiResetUserPasswordRequest

ResetUserPassword Method for ResetUserPassword

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiResetUserPasswordRequest

func (*UsersApiService) ResetUserPasswordExecute ¶

Execute executes the request

@return ResetPasswordSchema

func (*UsersApiService) SearchUsers ¶

SearchUsers Method for SearchUsers

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSearchUsersRequest

func (*UsersApiService) SearchUsersExecute ¶

func (a *UsersApiService) SearchUsersExecute(r ApiSearchUsersRequest) (*UsersSchema, *http.Response, error)

Execute executes the request

@return UsersSchema

func (*UsersApiService) UpdateUser ¶

UpdateUser Method for UpdateUser

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiUpdateUserRequest

func (*UsersApiService) UpdateUserExecute ¶

func (a *UsersApiService) UpdateUserExecute(r ApiUpdateUserRequest) (*UserSchema, *http.Response, error)

Execute executes the request

@return UserSchema

func (*UsersApiService) ValidateUserPassword ¶

func (a *UsersApiService) ValidateUserPassword(ctx context.Context) ApiValidateUserPasswordRequest

ValidateUserPassword Method for ValidateUserPassword

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiValidateUserPasswordRequest

func (*UsersApiService) ValidateUserPasswordExecute ¶

func (a *UsersApiService) ValidateUserPasswordExecute(r ApiValidateUserPasswordRequest) (*http.Response, error)

Execute executes the request

type UsersGroupsBaseSchema ¶

type UsersGroupsBaseSchema struct {
	Groups []GroupSchema `json:"groups,omitempty"`
	Users  []UserSchema  `json:"users,omitempty"`
}

UsersGroupsBaseSchema struct for UsersGroupsBaseSchema

func NewUsersGroupsBaseSchema ¶

func NewUsersGroupsBaseSchema() *UsersGroupsBaseSchema

NewUsersGroupsBaseSchema instantiates a new UsersGroupsBaseSchema 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 NewUsersGroupsBaseSchemaWithDefaults ¶

func NewUsersGroupsBaseSchemaWithDefaults() *UsersGroupsBaseSchema

NewUsersGroupsBaseSchemaWithDefaults instantiates a new UsersGroupsBaseSchema 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 (*UsersGroupsBaseSchema) GetGroups ¶

func (o *UsersGroupsBaseSchema) GetGroups() []GroupSchema

GetGroups returns the Groups field value if set, zero value otherwise.

func (*UsersGroupsBaseSchema) GetGroupsOk ¶

func (o *UsersGroupsBaseSchema) 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 (*UsersGroupsBaseSchema) GetUsers ¶

func (o *UsersGroupsBaseSchema) GetUsers() []UserSchema

GetUsers returns the Users field value if set, zero value otherwise.

func (*UsersGroupsBaseSchema) GetUsersOk ¶

func (o *UsersGroupsBaseSchema) GetUsersOk() ([]UserSchema, 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 (*UsersGroupsBaseSchema) HasGroups ¶

func (o *UsersGroupsBaseSchema) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*UsersGroupsBaseSchema) HasUsers ¶

func (o *UsersGroupsBaseSchema) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (UsersGroupsBaseSchema) MarshalJSON ¶

func (o UsersGroupsBaseSchema) MarshalJSON() ([]byte, error)

func (*UsersGroupsBaseSchema) SetGroups ¶

func (o *UsersGroupsBaseSchema) SetGroups(v []GroupSchema)

SetGroups gets a reference to the given []GroupSchema and assigns it to the Groups field.

func (*UsersGroupsBaseSchema) SetUsers ¶

func (o *UsersGroupsBaseSchema) SetUsers(v []UserSchema)

SetUsers gets a reference to the given []UserSchema and assigns it to the Users field.

func (UsersGroupsBaseSchema) ToMap ¶

func (o UsersGroupsBaseSchema) ToMap() (map[string]interface{}, error)

type UsersSchema ¶

type UsersSchema struct {
	Users     []UserSchema `json:"users"`
	RootRoles []RoleSchema `json:"rootRoles,omitempty"`
}

UsersSchema struct for UsersSchema

func NewUsersSchema ¶

func NewUsersSchema(users []UserSchema) *UsersSchema

NewUsersSchema instantiates a new UsersSchema 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 NewUsersSchemaWithDefaults ¶

func NewUsersSchemaWithDefaults() *UsersSchema

NewUsersSchemaWithDefaults instantiates a new UsersSchema 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 (*UsersSchema) GetRootRoles ¶

func (o *UsersSchema) GetRootRoles() []RoleSchema

GetRootRoles returns the RootRoles field value if set, zero value otherwise.

func (*UsersSchema) GetRootRolesOk ¶

func (o *UsersSchema) 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 (*UsersSchema) GetUsers ¶

func (o *UsersSchema) GetUsers() []UserSchema

GetUsers returns the Users field value

func (*UsersSchema) GetUsersOk ¶

func (o *UsersSchema) GetUsersOk() ([]UserSchema, bool)

GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.

func (*UsersSchema) HasRootRoles ¶

func (o *UsersSchema) HasRootRoles() bool

HasRootRoles returns a boolean if a field has been set.

func (UsersSchema) MarshalJSON ¶

func (o UsersSchema) MarshalJSON() ([]byte, error)

func (*UsersSchema) SetRootRoles ¶

func (o *UsersSchema) SetRootRoles(v []RoleSchema)

SetRootRoles gets a reference to the given []RoleSchema and assigns it to the RootRoles field.

func (*UsersSchema) SetUsers ¶

func (o *UsersSchema) SetUsers(v []UserSchema)

SetUsers sets field value

func (UsersSchema) ToMap ¶

func (o UsersSchema) ToMap() (map[string]interface{}, error)

type ValidateFeatureSchema ¶

type ValidateFeatureSchema struct {
	// The feature name to validate.
	Name string `json:"name"`
}

ValidateFeatureSchema Data used to validate a feature toggle's name.

func NewValidateFeatureSchema ¶

func NewValidateFeatureSchema(name string) *ValidateFeatureSchema

NewValidateFeatureSchema instantiates a new ValidateFeatureSchema 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 NewValidateFeatureSchemaWithDefaults ¶

func NewValidateFeatureSchemaWithDefaults() *ValidateFeatureSchema

NewValidateFeatureSchemaWithDefaults instantiates a new ValidateFeatureSchema 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 (*ValidateFeatureSchema) GetName ¶

func (o *ValidateFeatureSchema) GetName() string

GetName returns the Name field value

func (*ValidateFeatureSchema) GetNameOk ¶

func (o *ValidateFeatureSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (ValidateFeatureSchema) MarshalJSON ¶

func (o ValidateFeatureSchema) MarshalJSON() ([]byte, error)

func (*ValidateFeatureSchema) SetName ¶

func (o *ValidateFeatureSchema) SetName(v string)

SetName sets field value

func (ValidateFeatureSchema) ToMap ¶

func (o ValidateFeatureSchema) ToMap() (map[string]interface{}, error)

type ValidatePasswordSchema ¶

type ValidatePasswordSchema struct {
	Password string `json:"password"`
}

ValidatePasswordSchema struct for ValidatePasswordSchema

func NewValidatePasswordSchema ¶

func NewValidatePasswordSchema(password string) *ValidatePasswordSchema

NewValidatePasswordSchema instantiates a new ValidatePasswordSchema 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 NewValidatePasswordSchemaWithDefaults ¶

func NewValidatePasswordSchemaWithDefaults() *ValidatePasswordSchema

NewValidatePasswordSchemaWithDefaults instantiates a new ValidatePasswordSchema 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 (*ValidatePasswordSchema) GetPassword ¶

func (o *ValidatePasswordSchema) GetPassword() string

GetPassword returns the Password field value

func (*ValidatePasswordSchema) GetPasswordOk ¶

func (o *ValidatePasswordSchema) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (ValidatePasswordSchema) MarshalJSON ¶

func (o ValidatePasswordSchema) MarshalJSON() ([]byte, error)

func (*ValidatePasswordSchema) SetPassword ¶

func (o *ValidatePasswordSchema) SetPassword(v string)

SetPassword sets field value

func (ValidatePasswordSchema) ToMap ¶

func (o ValidatePasswordSchema) ToMap() (map[string]interface{}, error)

type ValidateProjectSchema ¶

type ValidateProjectSchema struct {
	Id string `json:"id"`
}

ValidateProjectSchema struct for ValidateProjectSchema

func NewValidateProjectSchema ¶

func NewValidateProjectSchema(id string) *ValidateProjectSchema

NewValidateProjectSchema instantiates a new ValidateProjectSchema 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 NewValidateProjectSchemaWithDefaults ¶

func NewValidateProjectSchemaWithDefaults() *ValidateProjectSchema

NewValidateProjectSchemaWithDefaults instantiates a new ValidateProjectSchema 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 (*ValidateProjectSchema) GetId ¶

func (o *ValidateProjectSchema) GetId() string

GetId returns the Id field value

func (*ValidateProjectSchema) GetIdOk ¶

func (o *ValidateProjectSchema) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (ValidateProjectSchema) MarshalJSON ¶

func (o ValidateProjectSchema) MarshalJSON() ([]byte, error)

func (*ValidateProjectSchema) SetId ¶

func (o *ValidateProjectSchema) SetId(v string)

SetId sets field value

func (ValidateProjectSchema) ToMap ¶

func (o ValidateProjectSchema) ToMap() (map[string]interface{}, error)

type ValidatePublicSignupToken400Response ¶

type ValidatePublicSignupToken400Response 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"`
}

ValidatePublicSignupToken400Response struct for ValidatePublicSignupToken400Response

func NewValidatePublicSignupToken400Response ¶

func NewValidatePublicSignupToken400Response() *ValidatePublicSignupToken400Response

NewValidatePublicSignupToken400Response instantiates a new ValidatePublicSignupToken400Response 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 NewValidatePublicSignupToken400ResponseWithDefaults ¶

func NewValidatePublicSignupToken400ResponseWithDefaults() *ValidatePublicSignupToken400Response

NewValidatePublicSignupToken400ResponseWithDefaults instantiates a new ValidatePublicSignupToken400Response 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 (*ValidatePublicSignupToken400Response) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*ValidatePublicSignupToken400Response) GetIdOk ¶

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 (*ValidatePublicSignupToken400Response) GetMessage ¶

GetMessage returns the Message field value if set, zero value otherwise.

func (*ValidatePublicSignupToken400Response) GetMessageOk ¶

func (o *ValidatePublicSignupToken400Response) 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 (*ValidatePublicSignupToken400Response) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*ValidatePublicSignupToken400Response) GetNameOk ¶

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 (*ValidatePublicSignupToken400Response) HasId ¶

HasId returns a boolean if a field has been set.

func (*ValidatePublicSignupToken400Response) HasMessage ¶

HasMessage returns a boolean if a field has been set.

func (*ValidatePublicSignupToken400Response) HasName ¶

HasName returns a boolean if a field has been set.

func (ValidatePublicSignupToken400Response) MarshalJSON ¶

func (o ValidatePublicSignupToken400Response) MarshalJSON() ([]byte, error)

func (*ValidatePublicSignupToken400Response) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*ValidatePublicSignupToken400Response) SetMessage ¶

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ValidatePublicSignupToken400Response) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (ValidatePublicSignupToken400Response) ToMap ¶

func (o ValidatePublicSignupToken400Response) ToMap() (map[string]interface{}, error)

type ValidateTagTypeSchema ¶

type ValidateTagTypeSchema struct {
	Valid   bool          `json:"valid"`
	TagType TagTypeSchema `json:"tagType"`
}

ValidateTagTypeSchema struct for ValidateTagTypeSchema

func NewValidateTagTypeSchema ¶

func NewValidateTagTypeSchema(valid bool, tagType TagTypeSchema) *ValidateTagTypeSchema

NewValidateTagTypeSchema instantiates a new ValidateTagTypeSchema 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 NewValidateTagTypeSchemaWithDefaults ¶

func NewValidateTagTypeSchemaWithDefaults() *ValidateTagTypeSchema

NewValidateTagTypeSchemaWithDefaults instantiates a new ValidateTagTypeSchema 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 (*ValidateTagTypeSchema) GetTagType ¶

func (o *ValidateTagTypeSchema) GetTagType() TagTypeSchema

GetTagType returns the TagType field value

func (*ValidateTagTypeSchema) GetTagTypeOk ¶

func (o *ValidateTagTypeSchema) GetTagTypeOk() (*TagTypeSchema, bool)

GetTagTypeOk returns a tuple with the TagType field value and a boolean to check if the value has been set.

func (*ValidateTagTypeSchema) GetValid ¶

func (o *ValidateTagTypeSchema) GetValid() bool

GetValid returns the Valid field value

func (*ValidateTagTypeSchema) GetValidOk ¶

func (o *ValidateTagTypeSchema) GetValidOk() (*bool, bool)

GetValidOk returns a tuple with the Valid field value and a boolean to check if the value has been set.

func (ValidateTagTypeSchema) MarshalJSON ¶

func (o ValidateTagTypeSchema) MarshalJSON() ([]byte, error)

func (*ValidateTagTypeSchema) SetTagType ¶

func (o *ValidateTagTypeSchema) SetTagType(v TagTypeSchema)

SetTagType sets field value

func (*ValidateTagTypeSchema) SetValid ¶

func (o *ValidateTagTypeSchema) SetValid(v bool)

SetValid sets field value

func (ValidateTagTypeSchema) ToMap ¶

func (o ValidateTagTypeSchema) ToMap() (map[string]interface{}, error)

type ValidatedEdgeTokensSchema ¶

type ValidatedEdgeTokensSchema struct {
	// The list of Unleash token objects. Each object contains the token itself and some additional metadata.
	Tokens []EdgeTokenSchema `json:"tokens"`
}

ValidatedEdgeTokensSchema A object containing a list of valid Unleash tokens.

func NewValidatedEdgeTokensSchema ¶

func NewValidatedEdgeTokensSchema(tokens []EdgeTokenSchema) *ValidatedEdgeTokensSchema

NewValidatedEdgeTokensSchema instantiates a new ValidatedEdgeTokensSchema 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 NewValidatedEdgeTokensSchemaWithDefaults ¶

func NewValidatedEdgeTokensSchemaWithDefaults() *ValidatedEdgeTokensSchema

NewValidatedEdgeTokensSchemaWithDefaults instantiates a new ValidatedEdgeTokensSchema 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 (*ValidatedEdgeTokensSchema) GetTokens ¶

func (o *ValidatedEdgeTokensSchema) GetTokens() []EdgeTokenSchema

GetTokens returns the Tokens field value

func (*ValidatedEdgeTokensSchema) GetTokensOk ¶

func (o *ValidatedEdgeTokensSchema) GetTokensOk() ([]EdgeTokenSchema, bool)

GetTokensOk returns a tuple with the Tokens field value and a boolean to check if the value has been set.

func (ValidatedEdgeTokensSchema) MarshalJSON ¶

func (o ValidatedEdgeTokensSchema) MarshalJSON() ([]byte, error)

func (*ValidatedEdgeTokensSchema) SetTokens ¶

func (o *ValidatedEdgeTokensSchema) SetTokens(v []EdgeTokenSchema)

SetTokens sets field value

func (ValidatedEdgeTokensSchema) ToMap ¶

func (o ValidatedEdgeTokensSchema) ToMap() (map[string]interface{}, error)

type VariantFlagSchema ¶

type VariantFlagSchema struct {
	Name    *string                   `json:"name,omitempty"`
	Enabled *bool                     `json:"enabled,omitempty"`
	Payload *VariantFlagSchemaPayload `json:"payload,omitempty"`
}

VariantFlagSchema struct for VariantFlagSchema

func NewVariantFlagSchema ¶

func NewVariantFlagSchema() *VariantFlagSchema

NewVariantFlagSchema instantiates a new VariantFlagSchema 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 NewVariantFlagSchemaWithDefaults ¶

func NewVariantFlagSchemaWithDefaults() *VariantFlagSchema

NewVariantFlagSchemaWithDefaults instantiates a new VariantFlagSchema 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 (*VariantFlagSchema) GetEnabled ¶

func (o *VariantFlagSchema) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*VariantFlagSchema) GetEnabledOk ¶

func (o *VariantFlagSchema) 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 (*VariantFlagSchema) GetName ¶

func (o *VariantFlagSchema) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*VariantFlagSchema) GetNameOk ¶

func (o *VariantFlagSchema) 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 (*VariantFlagSchema) GetPayload ¶

GetPayload returns the Payload field value if set, zero value otherwise.

func (*VariantFlagSchema) GetPayloadOk ¶

func (o *VariantFlagSchema) GetPayloadOk() (*VariantFlagSchemaPayload, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariantFlagSchema) HasEnabled ¶

func (o *VariantFlagSchema) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*VariantFlagSchema) HasName ¶

func (o *VariantFlagSchema) HasName() bool

HasName returns a boolean if a field has been set.

func (*VariantFlagSchema) HasPayload ¶

func (o *VariantFlagSchema) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (VariantFlagSchema) MarshalJSON ¶

func (o VariantFlagSchema) MarshalJSON() ([]byte, error)

func (*VariantFlagSchema) SetEnabled ¶

func (o *VariantFlagSchema) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*VariantFlagSchema) SetName ¶

func (o *VariantFlagSchema) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VariantFlagSchema) SetPayload ¶

SetPayload gets a reference to the given VariantFlagSchemaPayload and assigns it to the Payload field.

func (VariantFlagSchema) ToMap ¶

func (o VariantFlagSchema) ToMap() (map[string]interface{}, error)

type VariantFlagSchemaPayload ¶

type VariantFlagSchemaPayload struct {
	Type  *string `json:"type,omitempty"`
	Value *string `json:"value,omitempty"`
}

VariantFlagSchemaPayload struct for VariantFlagSchemaPayload

func NewVariantFlagSchemaPayload ¶

func NewVariantFlagSchemaPayload() *VariantFlagSchemaPayload

NewVariantFlagSchemaPayload instantiates a new VariantFlagSchemaPayload 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 NewVariantFlagSchemaPayloadWithDefaults ¶

func NewVariantFlagSchemaPayloadWithDefaults() *VariantFlagSchemaPayload

NewVariantFlagSchemaPayloadWithDefaults instantiates a new VariantFlagSchemaPayload 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 (*VariantFlagSchemaPayload) GetType ¶

func (o *VariantFlagSchemaPayload) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*VariantFlagSchemaPayload) GetTypeOk ¶

func (o *VariantFlagSchemaPayload) 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 (*VariantFlagSchemaPayload) GetValue ¶

func (o *VariantFlagSchemaPayload) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*VariantFlagSchemaPayload) GetValueOk ¶

func (o *VariantFlagSchemaPayload) 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 (*VariantFlagSchemaPayload) HasType ¶

func (o *VariantFlagSchemaPayload) HasType() bool

HasType returns a boolean if a field has been set.

func (*VariantFlagSchemaPayload) HasValue ¶

func (o *VariantFlagSchemaPayload) HasValue() bool

HasValue returns a boolean if a field has been set.

func (VariantFlagSchemaPayload) MarshalJSON ¶

func (o VariantFlagSchemaPayload) MarshalJSON() ([]byte, error)

func (*VariantFlagSchemaPayload) SetType ¶

func (o *VariantFlagSchemaPayload) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*VariantFlagSchemaPayload) SetValue ¶

func (o *VariantFlagSchemaPayload) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (VariantFlagSchemaPayload) ToMap ¶

func (o VariantFlagSchemaPayload) ToMap() (map[string]interface{}, error)

type VariantSchema ¶

type VariantSchema struct {
	// The variants name. Is unique for this feature toggle
	Name string `json:"name"`
	// The weight is the likelihood of any one user getting this variant. It is a number between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight) for more information
	Weight float32 `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
	WeightType *string `json:"weightType,omitempty"`
	// [Stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) is how Unleash guarantees that the same user gets the same variant every time
	Stickiness *string               `json:"stickiness,omitempty"`
	Payload    *VariantSchemaPayload `json:"payload,omitempty"`
	// Overrides assigning specific variants to specific users. The weighting system automatically assigns users to specific groups for you, but any overrides in this list will take precedence.
	Overrides []OverrideSchema `json:"overrides,omitempty"`
}

VariantSchema A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/reference/feature-toggle-variants#what-are-variants) for a more detailed description

func NewVariantSchema ¶

func NewVariantSchema(name string, weight float32) *VariantSchema

NewVariantSchema instantiates a new VariantSchema 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 NewVariantSchemaWithDefaults ¶

func NewVariantSchemaWithDefaults() *VariantSchema

NewVariantSchemaWithDefaults instantiates a new VariantSchema 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 (*VariantSchema) GetName ¶

func (o *VariantSchema) GetName() string

GetName returns the Name field value

func (*VariantSchema) GetNameOk ¶

func (o *VariantSchema) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*VariantSchema) GetOverrides ¶

func (o *VariantSchema) GetOverrides() []OverrideSchema

GetOverrides returns the Overrides field value if set, zero value otherwise.

func (*VariantSchema) GetOverridesOk ¶

func (o *VariantSchema) GetOverridesOk() ([]OverrideSchema, bool)

GetOverridesOk returns a tuple with the Overrides field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariantSchema) GetPayload ¶

func (o *VariantSchema) GetPayload() VariantSchemaPayload

GetPayload returns the Payload field value if set, zero value otherwise.

func (*VariantSchema) GetPayloadOk ¶

func (o *VariantSchema) GetPayloadOk() (*VariantSchemaPayload, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariantSchema) GetStickiness ¶

func (o *VariantSchema) GetStickiness() string

GetStickiness returns the Stickiness field value if set, zero value otherwise.

func (*VariantSchema) GetStickinessOk ¶

func (o *VariantSchema) GetStickinessOk() (*string, 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 (*VariantSchema) GetWeight ¶

func (o *VariantSchema) GetWeight() float32

GetWeight returns the Weight field value

func (*VariantSchema) GetWeightOk ¶

func (o *VariantSchema) GetWeightOk() (*float32, bool)

GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.

func (*VariantSchema) GetWeightType ¶

func (o *VariantSchema) GetWeightType() string

GetWeightType returns the WeightType field value if set, zero value otherwise.

func (*VariantSchema) GetWeightTypeOk ¶

func (o *VariantSchema) GetWeightTypeOk() (*string, bool)

GetWeightTypeOk returns a tuple with the WeightType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariantSchema) HasOverrides ¶

func (o *VariantSchema) HasOverrides() bool

HasOverrides returns a boolean if a field has been set.

func (*VariantSchema) HasPayload ¶

func (o *VariantSchema) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*VariantSchema) HasStickiness ¶

func (o *VariantSchema) HasStickiness() bool

HasStickiness returns a boolean if a field has been set.

func (*VariantSchema) HasWeightType ¶

func (o *VariantSchema) HasWeightType() bool

HasWeightType returns a boolean if a field has been set.

func (VariantSchema) MarshalJSON ¶

func (o VariantSchema) MarshalJSON() ([]byte, error)

func (*VariantSchema) SetName ¶

func (o *VariantSchema) SetName(v string)

SetName sets field value

func (*VariantSchema) SetOverrides ¶

func (o *VariantSchema) SetOverrides(v []OverrideSchema)

SetOverrides gets a reference to the given []OverrideSchema and assigns it to the Overrides field.

func (*VariantSchema) SetPayload ¶

func (o *VariantSchema) SetPayload(v VariantSchemaPayload)

SetPayload gets a reference to the given VariantSchemaPayload and assigns it to the Payload field.

func (*VariantSchema) SetStickiness ¶

func (o *VariantSchema) SetStickiness(v string)

SetStickiness gets a reference to the given string and assigns it to the Stickiness field.

func (*VariantSchema) SetWeight ¶

func (o *VariantSchema) SetWeight(v float32)

SetWeight sets field value

func (*VariantSchema) SetWeightType ¶

func (o *VariantSchema) SetWeightType(v string)

SetWeightType gets a reference to the given string and assigns it to the WeightType field.

func (VariantSchema) ToMap ¶

func (o VariantSchema) ToMap() (map[string]interface{}, error)

type VariantSchemaPayload ¶

type VariantSchemaPayload struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

VariantSchemaPayload Extra data configured for this variant

func NewVariantSchemaPayload ¶

func NewVariantSchemaPayload(type_ string, value string) *VariantSchemaPayload

NewVariantSchemaPayload instantiates a new VariantSchemaPayload 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 NewVariantSchemaPayloadWithDefaults ¶

func NewVariantSchemaPayloadWithDefaults() *VariantSchemaPayload

NewVariantSchemaPayloadWithDefaults instantiates a new VariantSchemaPayload 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 (*VariantSchemaPayload) GetType ¶

func (o *VariantSchemaPayload) GetType() string

GetType returns the Type field value

func (*VariantSchemaPayload) GetTypeOk ¶

func (o *VariantSchemaPayload) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*VariantSchemaPayload) GetValue ¶

func (o *VariantSchemaPayload) GetValue() string

GetValue returns the Value field value

func (*VariantSchemaPayload) GetValueOk ¶

func (o *VariantSchemaPayload) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (VariantSchemaPayload) MarshalJSON ¶

func (o VariantSchemaPayload) MarshalJSON() ([]byte, error)

func (*VariantSchemaPayload) SetType ¶

func (o *VariantSchemaPayload) SetType(v string)

SetType sets field value

func (*VariantSchemaPayload) SetValue ¶

func (o *VariantSchemaPayload) SetValue(v string)

SetValue sets field value

func (VariantSchemaPayload) ToMap ¶

func (o VariantSchemaPayload) ToMap() (map[string]interface{}, error)

type VersionSchema ¶

type VersionSchema struct {
	Current    VersionSchemaCurrent `json:"current"`
	Latest     VersionSchemaCurrent `json:"latest"`
	IsLatest   bool                 `json:"isLatest"`
	InstanceId string               `json:"instanceId"`
}

VersionSchema struct for VersionSchema

func NewVersionSchema ¶

func NewVersionSchema(current VersionSchemaCurrent, latest VersionSchemaCurrent, isLatest bool, instanceId string) *VersionSchema

NewVersionSchema instantiates a new VersionSchema 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 NewVersionSchemaWithDefaults ¶

func NewVersionSchemaWithDefaults() *VersionSchema

NewVersionSchemaWithDefaults instantiates a new VersionSchema 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 (*VersionSchema) GetCurrent ¶

func (o *VersionSchema) GetCurrent() VersionSchemaCurrent

GetCurrent returns the Current field value

func (*VersionSchema) GetCurrentOk ¶

func (o *VersionSchema) GetCurrentOk() (*VersionSchemaCurrent, bool)

GetCurrentOk returns a tuple with the Current field value and a boolean to check if the value has been set.

func (*VersionSchema) GetInstanceId ¶

func (o *VersionSchema) GetInstanceId() string

GetInstanceId returns the InstanceId field value

func (*VersionSchema) GetInstanceIdOk ¶

func (o *VersionSchema) GetInstanceIdOk() (*string, bool)

GetInstanceIdOk returns a tuple with the InstanceId field value and a boolean to check if the value has been set.

func (*VersionSchema) GetIsLatest ¶

func (o *VersionSchema) GetIsLatest() bool

GetIsLatest returns the IsLatest field value

func (*VersionSchema) GetIsLatestOk ¶

func (o *VersionSchema) GetIsLatestOk() (*bool, bool)

GetIsLatestOk returns a tuple with the IsLatest field value and a boolean to check if the value has been set.

func (*VersionSchema) GetLatest ¶

func (o *VersionSchema) GetLatest() VersionSchemaCurrent

GetLatest returns the Latest field value

func (*VersionSchema) GetLatestOk ¶

func (o *VersionSchema) GetLatestOk() (*VersionSchemaCurrent, bool)

GetLatestOk returns a tuple with the Latest field value and a boolean to check if the value has been set.

func (VersionSchema) MarshalJSON ¶

func (o VersionSchema) MarshalJSON() ([]byte, error)

func (*VersionSchema) SetCurrent ¶

func (o *VersionSchema) SetCurrent(v VersionSchemaCurrent)

SetCurrent sets field value

func (*VersionSchema) SetInstanceId ¶

func (o *VersionSchema) SetInstanceId(v string)

SetInstanceId sets field value

func (*VersionSchema) SetIsLatest ¶

func (o *VersionSchema) SetIsLatest(v bool)

SetIsLatest sets field value

func (*VersionSchema) SetLatest ¶

func (o *VersionSchema) SetLatest(v VersionSchemaCurrent)

SetLatest sets field value

func (VersionSchema) ToMap ¶

func (o VersionSchema) ToMap() (map[string]interface{}, error)

type VersionSchemaCurrent ¶

type VersionSchemaCurrent struct {
	Oss        *string `json:"oss,omitempty"`
	Enterprise *string `json:"enterprise,omitempty"`
}

VersionSchemaCurrent struct for VersionSchemaCurrent

func NewVersionSchemaCurrent ¶

func NewVersionSchemaCurrent() *VersionSchemaCurrent

NewVersionSchemaCurrent instantiates a new VersionSchemaCurrent 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 NewVersionSchemaCurrentWithDefaults ¶

func NewVersionSchemaCurrentWithDefaults() *VersionSchemaCurrent

NewVersionSchemaCurrentWithDefaults instantiates a new VersionSchemaCurrent 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 (*VersionSchemaCurrent) GetEnterprise ¶

func (o *VersionSchemaCurrent) GetEnterprise() string

GetEnterprise returns the Enterprise field value if set, zero value otherwise.

func (*VersionSchemaCurrent) GetEnterpriseOk ¶

func (o *VersionSchemaCurrent) GetEnterpriseOk() (*string, bool)

GetEnterpriseOk returns a tuple with the Enterprise field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionSchemaCurrent) GetOss ¶

func (o *VersionSchemaCurrent) GetOss() string

GetOss returns the Oss field value if set, zero value otherwise.

func (*VersionSchemaCurrent) GetOssOk ¶

func (o *VersionSchemaCurrent) GetOssOk() (*string, bool)

GetOssOk returns a tuple with the Oss field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionSchemaCurrent) HasEnterprise ¶

func (o *VersionSchemaCurrent) HasEnterprise() bool

HasEnterprise returns a boolean if a field has been set.

func (*VersionSchemaCurrent) HasOss ¶

func (o *VersionSchemaCurrent) HasOss() bool

HasOss returns a boolean if a field has been set.

func (VersionSchemaCurrent) MarshalJSON ¶

func (o VersionSchemaCurrent) MarshalJSON() ([]byte, error)

func (*VersionSchemaCurrent) SetEnterprise ¶

func (o *VersionSchemaCurrent) SetEnterprise(v string)

SetEnterprise gets a reference to the given string and assigns it to the Enterprise field.

func (*VersionSchemaCurrent) SetOss ¶

func (o *VersionSchemaCurrent) SetOss(v string)

SetOss gets a reference to the given string and assigns it to the Oss field.

func (VersionSchemaCurrent) ToMap ¶

func (o VersionSchemaCurrent) ToMap() (map[string]interface{}, error)

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL