admin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package admin provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.11.0 DO NOT EDIT.

Package admin provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.11.0 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyScopes     = "ApiKey.Scopes"
	ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
	BearerAuthScopes = "BearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewAddAPIKeyRequest

func NewAddAPIKeyRequest(server string, params *AddAPIKeyParams, body AddAPIKeyJSONRequestBody) (*http.Request, error)

NewAddAPIKeyRequest calls the generic AddAPIKey builder with application/json body

func NewAddAPIKeyRequestWithBody

func NewAddAPIKeyRequestWithBody(server string, params *AddAPIKeyParams, contentType string, body io.Reader) (*http.Request, error)

NewAddAPIKeyRequestWithBody generates requests for AddAPIKey with any type of body

func NewCreateEnvironmentRequest

func NewCreateEnvironmentRequest(server string, params *CreateEnvironmentParams, body CreateEnvironmentJSONRequestBody) (*http.Request, error)

NewCreateEnvironmentRequest calls the generic CreateEnvironment builder with application/json body

func NewCreateEnvironmentRequestWithBody

func NewCreateEnvironmentRequestWithBody(server string, params *CreateEnvironmentParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateEnvironmentRequestWithBody generates requests for CreateEnvironment with any type of body

func NewCreateFeatureFlagRequest

func NewCreateFeatureFlagRequest(server string, params *CreateFeatureFlagParams, body CreateFeatureFlagJSONRequestBody) (*http.Request, error)

NewCreateFeatureFlagRequest calls the generic CreateFeatureFlag builder with application/json body

func NewCreateFeatureFlagRequestWithBody

func NewCreateFeatureFlagRequestWithBody(server string, params *CreateFeatureFlagParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateFeatureFlagRequestWithBody generates requests for CreateFeatureFlag with any type of body

func NewCreateFlagPipelineRequest

func NewCreateFlagPipelineRequest(server string, identifier Identifier, params *CreateFlagPipelineParams, body CreateFlagPipelineJSONRequestBody) (*http.Request, error)

NewCreateFlagPipelineRequest calls the generic CreateFlagPipeline builder with application/json body

func NewCreateFlagPipelineRequestWithBody

func NewCreateFlagPipelineRequestWithBody(server string, identifier Identifier, params *CreateFlagPipelineParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateFlagPipelineRequestWithBody generates requests for CreateFlagPipeline with any type of body

func NewCreateGitRepoRequest

func NewCreateGitRepoRequest(server string, identifier Identifier, params *CreateGitRepoParams, body CreateGitRepoJSONRequestBody) (*http.Request, error)

NewCreateGitRepoRequest calls the generic CreateGitRepo builder with application/json body

func NewCreateGitRepoRequestWithBody

func NewCreateGitRepoRequestWithBody(server string, identifier Identifier, params *CreateGitRepoParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateGitRepoRequestWithBody generates requests for CreateGitRepo with any type of body

func NewCreateProjectRequest

func NewCreateProjectRequest(server string, params *CreateProjectParams, body CreateProjectJSONRequestBody) (*http.Request, error)

NewCreateProjectRequest calls the generic CreateProject builder with application/json body

func NewCreateProjectRequestWithBody

func NewCreateProjectRequestWithBody(server string, params *CreateProjectParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateProjectRequestWithBody generates requests for CreateProject with any type of body

func NewCreateSegmentRequest

func NewCreateSegmentRequest(server string, params *CreateSegmentParams, body CreateSegmentJSONRequestBody) (*http.Request, error)

NewCreateSegmentRequest calls the generic CreateSegment builder with application/json body

func NewCreateSegmentRequestWithBody

func NewCreateSegmentRequestWithBody(server string, params *CreateSegmentParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateSegmentRequestWithBody generates requests for CreateSegment with any type of body

func NewCreateTargetRequest

func NewCreateTargetRequest(server string, params *CreateTargetParams, body CreateTargetJSONRequestBody) (*http.Request, error)

NewCreateTargetRequest calls the generic CreateTarget builder with application/json body

func NewCreateTargetRequestWithBody

func NewCreateTargetRequestWithBody(server string, params *CreateTargetParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateTargetRequestWithBody generates requests for CreateTarget with any type of body

func NewDeleteAPIKeyRequest

func NewDeleteAPIKeyRequest(server string, identifier Identifier, params *DeleteAPIKeyParams) (*http.Request, error)

NewDeleteAPIKeyRequest generates requests for DeleteAPIKey

func NewDeleteEnvironmentRequest

func NewDeleteEnvironmentRequest(server string, identifier Identifier, params *DeleteEnvironmentParams) (*http.Request, error)

NewDeleteEnvironmentRequest generates requests for DeleteEnvironment

func NewDeleteFeatureFlagRequest

func NewDeleteFeatureFlagRequest(server string, identifier Identifier, params *DeleteFeatureFlagParams) (*http.Request, error)

NewDeleteFeatureFlagRequest generates requests for DeleteFeatureFlag

func NewDeleteFeaturePipelineRequest

func NewDeleteFeaturePipelineRequest(server string, identifier Identifier, params *DeleteFeaturePipelineParams) (*http.Request, error)

NewDeleteFeaturePipelineRequest generates requests for DeleteFeaturePipeline

func NewDeleteGitRepoRequest

func NewDeleteGitRepoRequest(server string, identifier Identifier, params *DeleteGitRepoParams) (*http.Request, error)

NewDeleteGitRepoRequest generates requests for DeleteGitRepo

func NewDeleteProjectRequest

func NewDeleteProjectRequest(server string, identifier Identifier, params *DeleteProjectParams) (*http.Request, error)

NewDeleteProjectRequest generates requests for DeleteProject

func NewDeleteSegmentRequest

func NewDeleteSegmentRequest(server string, identifier Identifier, params *DeleteSegmentParams) (*http.Request, error)

NewDeleteSegmentRequest generates requests for DeleteSegment

func NewDeleteTargetRequest

func NewDeleteTargetRequest(server string, identifier Identifier, params *DeleteTargetParams) (*http.Request, error)

NewDeleteTargetRequest generates requests for DeleteTarget

func NewGetAPIKeyRequest

func NewGetAPIKeyRequest(server string, identifier Identifier, params *GetAPIKeyParams) (*http.Request, error)

NewGetAPIKeyRequest generates requests for GetAPIKey

func NewGetAllAPIKeysRequest

func NewGetAllAPIKeysRequest(server string, params *GetAllAPIKeysParams) (*http.Request, error)

NewGetAllAPIKeysRequest generates requests for GetAllAPIKeys

func NewGetAllEnvironmentsRequest

func NewGetAllEnvironmentsRequest(server string, params *GetAllEnvironmentsParams) (*http.Request, error)

NewGetAllEnvironmentsRequest generates requests for GetAllEnvironments

func NewGetAllFeaturesRequest

func NewGetAllFeaturesRequest(server string, params *GetAllFeaturesParams) (*http.Request, error)

NewGetAllFeaturesRequest generates requests for GetAllFeatures

func NewGetAllProjectsRequest

func NewGetAllProjectsRequest(server string, params *GetAllProjectsParams) (*http.Request, error)

NewGetAllProjectsRequest generates requests for GetAllProjects

func NewGetAllSegmentsRequest

func NewGetAllSegmentsRequest(server string, params *GetAllSegmentsParams) (*http.Request, error)

NewGetAllSegmentsRequest generates requests for GetAllSegments

func NewGetAllTargetAttributesRequest

func NewGetAllTargetAttributesRequest(server string, params *GetAllTargetAttributesParams) (*http.Request, error)

NewGetAllTargetAttributesRequest generates requests for GetAllTargetAttributes

func NewGetAllTargetsRequest

func NewGetAllTargetsRequest(server string, params *GetAllTargetsParams) (*http.Request, error)

NewGetAllTargetsRequest generates requests for GetAllTargets

func NewGetAuditByParamsRequest

func NewGetAuditByParamsRequest(server string, params *GetAuditByParamsParams) (*http.Request, error)

NewGetAuditByParamsRequest generates requests for GetAuditByParams

func NewGetAvailableFeaturePipelinesRequest

func NewGetAvailableFeaturePipelinesRequest(server string, params *GetAvailableFeaturePipelinesParams) (*http.Request, error)

NewGetAvailableFeaturePipelinesRequest generates requests for GetAvailableFeaturePipelines

func NewGetAvailableFlagsForSegmentRequest

func NewGetAvailableFlagsForSegmentRequest(server string, identifier Identifier, params *GetAvailableFlagsForSegmentParams) (*http.Request, error)

NewGetAvailableFlagsForSegmentRequest generates requests for GetAvailableFlagsForSegment

func NewGetEnvironmentRequest

func NewGetEnvironmentRequest(server string, identifier Identifier, params *GetEnvironmentParams) (*http.Request, error)

NewGetEnvironmentRequest generates requests for GetEnvironment

func NewGetFeatureEvaluationsRequest

func NewGetFeatureEvaluationsRequest(server string, identifier Identifier, params *GetFeatureEvaluationsParams) (*http.Request, error)

NewGetFeatureEvaluationsRequest generates requests for GetFeatureEvaluations

func NewGetFeatureFlagRequest

func NewGetFeatureFlagRequest(server string, identifier Identifier, params *GetFeatureFlagParams) (*http.Request, error)

NewGetFeatureFlagRequest generates requests for GetFeatureFlag

func NewGetFeatureMetricsRequest

func NewGetFeatureMetricsRequest(server string, params *GetFeatureMetricsParams) (*http.Request, error)

NewGetFeatureMetricsRequest generates requests for GetFeatureMetrics

func NewGetFeaturePipelineRequest

func NewGetFeaturePipelineRequest(server string, identifier Identifier, params *GetFeaturePipelineParams) (*http.Request, error)

NewGetFeaturePipelineRequest generates requests for GetFeaturePipeline

func NewGetFlagsYamlRequest

func NewGetFlagsYamlRequest(server string, params *GetFlagsYamlParams) (*http.Request, error)

NewGetFlagsYamlRequest generates requests for GetFlagsYaml

func NewGetGitRepoRequest

func NewGetGitRepoRequest(server string, identifier Identifier, params *GetGitRepoParams) (*http.Request, error)

NewGetGitRepoRequest generates requests for GetGitRepo

func NewGetJiraIssuesRequest

func NewGetJiraIssuesRequest(server string, params *GetJiraIssuesParams) (*http.Request, error)

NewGetJiraIssuesRequest generates requests for GetJiraIssues

func NewGetLicenseUsageRequest

func NewGetLicenseUsageRequest(server string, params *GetLicenseUsageParams) (*http.Request, error)

NewGetLicenseUsageRequest generates requests for GetLicenseUsage

func NewGetOSByIDRequest

func NewGetOSByIDRequest(server string, identifiers Identifiers) (*http.Request, error)

NewGetOSByIDRequest generates requests for GetOSByID

func NewGetProjectFlagsRequest

func NewGetProjectFlagsRequest(server string, identifier Identifier, params *GetProjectFlagsParams) (*http.Request, error)

NewGetProjectFlagsRequest generates requests for GetProjectFlags

func NewGetProjectRequest

func NewGetProjectRequest(server string, identifier Identifier, params *GetProjectParams) (*http.Request, error)

NewGetProjectRequest generates requests for GetProject

func NewGetSegmentFlagsRequest

func NewGetSegmentFlagsRequest(server string, identifier Identifier, params *GetSegmentFlagsParams) (*http.Request, error)

NewGetSegmentFlagsRequest generates requests for GetSegmentFlags

func NewGetSegmentRequest

func NewGetSegmentRequest(server string, identifier Identifier, params *GetSegmentParams) (*http.Request, error)

NewGetSegmentRequest generates requests for GetSegment

func NewGetTargetAvailableSegmentsRequest

func NewGetTargetAvailableSegmentsRequest(server string, identifier Identifier, params *GetTargetAvailableSegmentsParams) (*http.Request, error)

NewGetTargetAvailableSegmentsRequest generates requests for GetTargetAvailableSegments

func NewGetTargetRequest

func NewGetTargetRequest(server string, identifier Identifier, params *GetTargetParams) (*http.Request, error)

NewGetTargetRequest generates requests for GetTarget

func NewGetTargetSegmentsRequest

func NewGetTargetSegmentsRequest(server string, identifier Identifier, params *GetTargetSegmentsParams) (*http.Request, error)

NewGetTargetSegmentsRequest generates requests for GetTargetSegments

func NewGetTargetsAndSegmentsInfoRequest

func NewGetTargetsAndSegmentsInfoRequest(server string, params *GetTargetsAndSegmentsInfoParams) (*http.Request, error)

NewGetTargetsAndSegmentsInfoRequest generates requests for GetTargetsAndSegmentsInfo

func NewGetTargetsAndSegmentsRequest

func NewGetTargetsAndSegmentsRequest(server string, params *GetTargetsAndSegmentsParams) (*http.Request, error)

NewGetTargetsAndSegmentsRequest generates requests for GetTargetsAndSegments

func NewGetUserFlagOverviewRequest

func NewGetUserFlagOverviewRequest(server string, params *GetUserFlagOverviewParams) (*http.Request, error)

NewGetUserFlagOverviewRequest generates requests for GetUserFlagOverview

func NewModifyEnvironmentRequest

func NewModifyEnvironmentRequest(server string, identifier Identifier, params *ModifyEnvironmentParams, body ModifyEnvironmentJSONRequestBody) (*http.Request, error)

NewModifyEnvironmentRequest calls the generic ModifyEnvironment builder with application/json body

func NewModifyEnvironmentRequestWithBody

func NewModifyEnvironmentRequestWithBody(server string, identifier Identifier, params *ModifyEnvironmentParams, contentType string, body io.Reader) (*http.Request, error)

NewModifyEnvironmentRequestWithBody generates requests for ModifyEnvironment with any type of body

func NewModifyProjectRequest

func NewModifyProjectRequest(server string, identifier Identifier, params *ModifyProjectParams, body ModifyProjectJSONRequestBody) (*http.Request, error)

NewModifyProjectRequest calls the generic ModifyProject builder with application/json body

func NewModifyProjectRequestWithBody

func NewModifyProjectRequestWithBody(server string, identifier Identifier, params *ModifyProjectParams, contentType string, body io.Reader) (*http.Request, error)

NewModifyProjectRequestWithBody generates requests for ModifyProject with any type of body

func NewModifyTargetRequest

func NewModifyTargetRequest(server string, identifier Identifier, params *ModifyTargetParams, body ModifyTargetJSONRequestBody) (*http.Request, error)

NewModifyTargetRequest calls the generic ModifyTarget builder with application/json body

func NewModifyTargetRequestWithBody

func NewModifyTargetRequestWithBody(server string, identifier Identifier, params *ModifyTargetParams, contentType string, body io.Reader) (*http.Request, error)

NewModifyTargetRequestWithBody generates requests for ModifyTarget with any type of body

func NewPatchFeaturePipelineRequest

func NewPatchFeaturePipelineRequest(server string, identifier Identifier, params *PatchFeaturePipelineParams, body PatchFeaturePipelineJSONRequestBody) (*http.Request, error)

NewPatchFeaturePipelineRequest calls the generic PatchFeaturePipeline builder with application/json body

func NewPatchFeaturePipelineRequestWithBody

func NewPatchFeaturePipelineRequestWithBody(server string, identifier Identifier, params *PatchFeaturePipelineParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchFeaturePipelineRequestWithBody generates requests for PatchFeaturePipeline with any type of body

func NewPatchFeatureRequest

func NewPatchFeatureRequest(server string, identifier Identifier, params *PatchFeatureParams, body PatchFeatureJSONRequestBody) (*http.Request, error)

NewPatchFeatureRequest calls the generic PatchFeature builder with application/json body

func NewPatchFeatureRequestWithBody

func NewPatchFeatureRequestWithBody(server string, identifier Identifier, params *PatchFeatureParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchFeatureRequestWithBody generates requests for PatchFeature with any type of body

func NewPatchGitRepoRequest

func NewPatchGitRepoRequest(server string, identifier Identifier, params *PatchGitRepoParams, body PatchGitRepoJSONRequestBody) (*http.Request, error)

NewPatchGitRepoRequest calls the generic PatchGitRepo builder with application/json body

func NewPatchGitRepoRequestWithBody

func NewPatchGitRepoRequestWithBody(server string, identifier Identifier, params *PatchGitRepoParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchGitRepoRequestWithBody generates requests for PatchGitRepo with any type of body

func NewPatchSegmentRequest

func NewPatchSegmentRequest(server string, identifier Identifier, params *PatchSegmentParams, body PatchSegmentJSONRequestBody) (*http.Request, error)

NewPatchSegmentRequest calls the generic PatchSegment builder with application/json body

func NewPatchSegmentRequestWithBody

func NewPatchSegmentRequestWithBody(server string, identifier Identifier, params *PatchSegmentParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchSegmentRequestWithBody generates requests for PatchSegment with any type of body

func NewPatchTargetRequest

func NewPatchTargetRequest(server string, identifier Identifier, params *PatchTargetParams, body PatchTargetJSONRequestBody) (*http.Request, error)

NewPatchTargetRequest calls the generic PatchTarget builder with application/json body

func NewPatchTargetRequestWithBody

func NewPatchTargetRequestWithBody(server string, identifier Identifier, params *PatchTargetParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchTargetRequestWithBody generates requests for PatchTarget with any type of body

func NewUpdateAPIKeyRequest

func NewUpdateAPIKeyRequest(server string, identifier Identifier, params *UpdateAPIKeyParams, body UpdateAPIKeyJSONRequestBody) (*http.Request, error)

NewUpdateAPIKeyRequest calls the generic UpdateAPIKey builder with application/json body

func NewUpdateAPIKeyRequestWithBody

func NewUpdateAPIKeyRequestWithBody(server string, identifier Identifier, params *UpdateAPIKeyParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateAPIKeyRequestWithBody generates requests for UpdateAPIKey with any type of body

func NewUpdateFlagsYamlRequest

func NewUpdateFlagsYamlRequest(server string, params *UpdateFlagsYamlParams, body UpdateFlagsYamlJSONRequestBody) (*http.Request, error)

NewUpdateFlagsYamlRequest calls the generic UpdateFlagsYaml builder with application/json body

func NewUpdateFlagsYamlRequestWithBody

func NewUpdateFlagsYamlRequestWithBody(server string, params *UpdateFlagsYamlParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateFlagsYamlRequestWithBody generates requests for UpdateFlagsYaml with any type of body

func NewUploadTargetsRequestWithBody

func NewUploadTargetsRequestWithBody(server string, params *UploadTargetsParams, contentType string, body io.Reader) (*http.Request, error)

NewUploadTargetsRequestWithBody generates requests for UploadTargets with any type of body

Types

type APIKeyRequest

type APIKeyRequest struct {
	Description *string `json:"description,omitempty"`
	ExpiredAt   *int    `json:"expiredAt,omitempty"`
	Identifier  string  `json:"identifier"`
	Name        string  `json:"name"`

	// The type of key depending on the SDK that is being used.
	Type ApiKeyRequestType `json:"type"`
}

APIKeyRequest defines model for APIKeyRequest.

type APIKeyResponse

type APIKeyResponse = ApiKey

The API key is used by SDKs to connect to Harness Feature Flags

type APIKeyUpdateRequest

type APIKeyUpdateRequest struct {
	Description *string `json:"description,omitempty"`
	ExpiredAt   *int    `json:"expiredAt,omitempty"`
	Name        *string `json:"name,omitempty"`
}

APIKeyUpdateRequest defines model for APIKeyUpdateRequest.

type APIKeysResponse

type APIKeysResponse = ApiKeys

A list of API Keys

type AccountQueryParam

type AccountQueryParam = string

AccountQueryParam defines model for accountQueryParam.

type ActionQueryParam

type ActionQueryParam = []string

ActionQueryParam defines model for actionQueryParam.

type ActorQueryParam

type ActorQueryParam = string

ActorQueryParam defines model for actorQueryParam.

type AddAPIKeyJSONRequestBody

type AddAPIKeyJSONRequestBody APIKeyRequest

AddAPIKeyJSONRequestBody defines body for AddAPIKey for application/json ContentType.

type AddAPIKeyParams

type AddAPIKeyParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`
}

AddAPIKeyParams defines parameters for AddAPIKey.

type AddAPIKeyResponse

type AddAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ApiKey
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseAddAPIKeyResponse

func ParseAddAPIKeyResponse(rsp *http.Response) (*AddAPIKeyResponse, error)

ParseAddAPIKeyResponse parses an HTTP response from a AddAPIKeyWithResponse call

func (AddAPIKeyResponse) Status

func (r AddAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (AddAPIKeyResponse) StatusCode

func (r AddAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ApiKey

type ApiKey struct {
	// The Key will be shown only on create. On subsequent GET calls, only the masked APIKeys will be returned
	ApiKey string `json:"apiKey"`

	// The environment that this key was created in
	Identifier string `json:"identifier"`

	// A hash of API key
	Key *string `json:"key,omitempty"`

	// The user friendly identifier for the API Key
	Name string `json:"name"`

	// The type of key depending on the SDK that is being used.
	Type ApiKeyType `json:"type"`
}

The API key is used by SDKs to connect to Harness Feature Flags

type ApiKeyRequestType

type ApiKeyRequestType string

The type of key depending on the SDK that is being used.

const (
	ApiKeyRequestTypeClient ApiKeyRequestType = "Client"
	ApiKeyRequestTypeServer ApiKeyRequestType = "Server"
)

Defines values for ApiKeyRequestType.

type ApiKeyType

type ApiKeyType string

The type of key depending on the SDK that is being used.

const (
	ApiKeyTypeClient ApiKeyType = "client"
	ApiKeyTypeServer ApiKeyType = "server"
)

Defines values for ApiKeyType.

type ApiKeys

type ApiKeys struct {
	ApiKeys *[]ApiKey `json:"apiKeys,omitempty"`

	// The total number of items
	ItemCount int `json:"itemCount"`

	// The total number of pages
	PageCount int `json:"pageCount"`

	// The current page
	PageIndex int `json:"pageIndex"`

	// The number of items per page
	PageSize int `json:"pageSize"`

	// The version of this object.  The version will be incremented each time the object is modified
	Version *int `json:"version,omitempty"`
}

ApiKeys defines model for ApiKeys.

type ArchivedQueryParam

type ArchivedQueryParam = bool

ArchivedQueryParam defines model for archivedQueryParam.

type AuditSortByField

type AuditSortByField string

AuditSortByField defines model for auditSortByField.

const (
	Action     AuditSortByField = "action"
	Actor      AuditSortByField = "actor"
	ExecutedOn AuditSortByField = "executed_on"
)

Defines values for AuditSortByField.

type AuditSortOrder

type AuditSortOrder string

AuditSortOrder defines model for auditSortOrder.

const (
	AuditSortOrderASC  AuditSortOrder = "ASC"
	AuditSortOrderDESC AuditSortOrder = "DESC"
)

Defines values for AuditSortOrder.

type AuditTrail

type AuditTrail struct {
	// The action which triggered the event such as Created or Patched
	Action string `json:"action"`

	// The user that performed the event
	Actor string `json:"actor"`

	// A user specified comment when performing the action
	Comment string `json:"comment"`

	// The environment identifier
	Environment string `json:"environment"`

	// The date in milliseconds the event was performed
	ExecutedOn int `json:"executedOn"`

	// JSON payload representing the instruction that triggered the audit event
	InstructionSet []map[string]interface{} `json:"instructionSet"`
	ObjectAfter    string                   `json:"objectAfter"`
	ObjectBefore   string                   `json:"objectBefore"`

	// The objects identifier
	ObjectIdentifier string `json:"objectIdentifier"`

	// The type of the object such as Target, FeatureConfig
	ObjectType string `json:"objectType"`

	// The project identifier
	Project string `json:"project"`

	// The status of the event indicating if it was successful or not
	Status string `json:"status"`
}

The audit trail shows events that have occured for a given object

type AuditTrailResponse

type AuditTrailResponse struct {
	CorrelationId *string `json:"correlationId,omitempty"`

	// A list of Audit Trail events
	Data     *AuditTrails            `json:"data,omitempty"`
	MetaData *map[string]interface{} `json:"metaData,omitempty"`

	// Indicates if the request was successful or not
	Status *Status `json:"status,omitempty"`
}

AuditTrailResponse defines model for AuditTrailResponse.

type AuditTrails

type AuditTrails struct {
	AuditTrails *[]AuditTrail `json:"auditTrails,omitempty"`

	// The total number of items
	ItemCount int `json:"itemCount"`

	// The total number of pages
	PageCount int `json:"pageCount"`

	// The current page
	PageIndex int `json:"pageIndex"`

	// The number of items per page
	PageSize int `json:"pageSize"`

	// The version of this object.  The version will be incremented each time the object is modified
	Version *int `json:"version,omitempty"`
}

AuditTrails defines model for AuditTrails.

type AvailableFlagResponse

type AvailableFlagResponse = FlagBasicInfos

A list of Flags

type BadRequest

type BadRequest = Error

BadRequest defines model for BadRequest.

type CFLicenseUsageDTO

type CFLicenseUsageDTO struct {
	// The account ID to get usage details for
	AccountIdnetifier      *string       `json:"accountIdnetifier,omitempty"`
	ActiveClientMAUs       *UsageDataDTO `json:"activeClientMAUs,omitempty"`
	ActiveFeatureFlagUsers *UsageDataDTO `json:"activeFeatureFlagUsers,omitempty"`

	// The module type
	Module *string `json:"module,omitempty"`

	// The time that this data was generated
	Timestamp *int64 `json:"timestamp,omitempty"`
}

License Usage details for the feature flag account

type Clause

type Clause struct {
	// The attribute to use in the clause.  This can be any target attribute
	Attribute string `json:"attribute"`

	// The unique ID for the clause
	Id *string `json:"id,omitempty"`

	// Is the operation negated?
	Negate bool `json:"negate"`

	// The type of operation such as equals, starts_with, contains
	Op string `json:"op"`

	// The values that are compared against the operator
	Values []string `json:"values"`
}

A clause describes what conditions are used to evaluate a flag

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddAPIKey

func (c *Client) AddAPIKey(ctx context.Context, params *AddAPIKeyParams, body AddAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddAPIKeyWithBody

func (c *Client) AddAPIKeyWithBody(ctx context.Context, params *AddAPIKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateEnvironment

func (c *Client) CreateEnvironment(ctx context.Context, params *CreateEnvironmentParams, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateEnvironmentWithBody

func (c *Client) CreateEnvironmentWithBody(ctx context.Context, params *CreateEnvironmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateFeatureFlag

func (c *Client) CreateFeatureFlag(ctx context.Context, params *CreateFeatureFlagParams, body CreateFeatureFlagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateFeatureFlagWithBody

func (c *Client) CreateFeatureFlagWithBody(ctx context.Context, params *CreateFeatureFlagParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateFlagPipeline

func (c *Client) CreateFlagPipeline(ctx context.Context, identifier Identifier, params *CreateFlagPipelineParams, body CreateFlagPipelineJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateFlagPipelineWithBody

func (c *Client) CreateFlagPipelineWithBody(ctx context.Context, identifier Identifier, params *CreateFlagPipelineParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGitRepo

func (c *Client) CreateGitRepo(ctx context.Context, identifier Identifier, params *CreateGitRepoParams, body CreateGitRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGitRepoWithBody

func (c *Client) CreateGitRepoWithBody(ctx context.Context, identifier Identifier, params *CreateGitRepoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProject

func (c *Client) CreateProject(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProjectWithBody

func (c *Client) CreateProjectWithBody(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSegment

func (c *Client) CreateSegment(ctx context.Context, params *CreateSegmentParams, body CreateSegmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSegmentWithBody

func (c *Client) CreateSegmentWithBody(ctx context.Context, params *CreateSegmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTarget

func (c *Client) CreateTarget(ctx context.Context, params *CreateTargetParams, body CreateTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTargetWithBody

func (c *Client) CreateTargetWithBody(ctx context.Context, params *CreateTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAPIKey

func (c *Client) DeleteAPIKey(ctx context.Context, identifier Identifier, params *DeleteAPIKeyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteEnvironment

func (c *Client) DeleteEnvironment(ctx context.Context, identifier Identifier, params *DeleteEnvironmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFeatureFlag

func (c *Client) DeleteFeatureFlag(ctx context.Context, identifier Identifier, params *DeleteFeatureFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFeaturePipeline

func (c *Client) DeleteFeaturePipeline(ctx context.Context, identifier Identifier, params *DeleteFeaturePipelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGitRepo

func (c *Client) DeleteGitRepo(ctx context.Context, identifier Identifier, params *DeleteGitRepoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteProject

func (c *Client) DeleteProject(ctx context.Context, identifier Identifier, params *DeleteProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSegment

func (c *Client) DeleteSegment(ctx context.Context, identifier Identifier, params *DeleteSegmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTarget

func (c *Client) DeleteTarget(ctx context.Context, identifier Identifier, params *DeleteTargetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAPIKey

func (c *Client) GetAPIKey(ctx context.Context, identifier Identifier, params *GetAPIKeyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllAPIKeys

func (c *Client) GetAllAPIKeys(ctx context.Context, params *GetAllAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllEnvironments

func (c *Client) GetAllEnvironments(ctx context.Context, params *GetAllEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllFeatures

func (c *Client) GetAllFeatures(ctx context.Context, params *GetAllFeaturesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllProjects

func (c *Client) GetAllProjects(ctx context.Context, params *GetAllProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllSegments

func (c *Client) GetAllSegments(ctx context.Context, params *GetAllSegmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllTargetAttributes

func (c *Client) GetAllTargetAttributes(ctx context.Context, params *GetAllTargetAttributesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllTargets

func (c *Client) GetAllTargets(ctx context.Context, params *GetAllTargetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAuditByParams

func (c *Client) GetAuditByParams(ctx context.Context, params *GetAuditByParamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAvailableFeaturePipelines

func (c *Client) GetAvailableFeaturePipelines(ctx context.Context, params *GetAvailableFeaturePipelinesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAvailableFlagsForSegment

func (c *Client) GetAvailableFlagsForSegment(ctx context.Context, identifier Identifier, params *GetAvailableFlagsForSegmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEnvironment

func (c *Client) GetEnvironment(ctx context.Context, identifier Identifier, params *GetEnvironmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFeatureEvaluations

func (c *Client) GetFeatureEvaluations(ctx context.Context, identifier Identifier, params *GetFeatureEvaluationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFeatureFlag

func (c *Client) GetFeatureFlag(ctx context.Context, identifier Identifier, params *GetFeatureFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFeatureMetrics

func (c *Client) GetFeatureMetrics(ctx context.Context, params *GetFeatureMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFeaturePipeline

func (c *Client) GetFeaturePipeline(ctx context.Context, identifier Identifier, params *GetFeaturePipelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFlagsYaml

func (c *Client) GetFlagsYaml(ctx context.Context, params *GetFlagsYamlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGitRepo

func (c *Client) GetGitRepo(ctx context.Context, identifier Identifier, params *GetGitRepoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetJiraIssues

func (c *Client) GetJiraIssues(ctx context.Context, params *GetJiraIssuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLicenseUsage

func (c *Client) GetLicenseUsage(ctx context.Context, params *GetLicenseUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOSByID

func (c *Client) GetOSByID(ctx context.Context, identifiers Identifiers, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProject

func (c *Client) GetProject(ctx context.Context, identifier Identifier, params *GetProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProjectFlags

func (c *Client) GetProjectFlags(ctx context.Context, identifier Identifier, params *GetProjectFlagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSegment

func (c *Client) GetSegment(ctx context.Context, identifier Identifier, params *GetSegmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSegmentFlags

func (c *Client) GetSegmentFlags(ctx context.Context, identifier Identifier, params *GetSegmentFlagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTarget

func (c *Client) GetTarget(ctx context.Context, identifier Identifier, params *GetTargetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTargetAvailableSegments

func (c *Client) GetTargetAvailableSegments(ctx context.Context, identifier Identifier, params *GetTargetAvailableSegmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTargetSegments

func (c *Client) GetTargetSegments(ctx context.Context, identifier Identifier, params *GetTargetSegmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTargetsAndSegments

func (c *Client) GetTargetsAndSegments(ctx context.Context, params *GetTargetsAndSegmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTargetsAndSegmentsInfo

func (c *Client) GetTargetsAndSegmentsInfo(ctx context.Context, params *GetTargetsAndSegmentsInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUserFlagOverview

func (c *Client) GetUserFlagOverview(ctx context.Context, params *GetUserFlagOverviewParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ModifyEnvironment

func (c *Client) ModifyEnvironment(ctx context.Context, identifier Identifier, params *ModifyEnvironmentParams, body ModifyEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ModifyEnvironmentWithBody

func (c *Client) ModifyEnvironmentWithBody(ctx context.Context, identifier Identifier, params *ModifyEnvironmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ModifyProject

func (c *Client) ModifyProject(ctx context.Context, identifier Identifier, params *ModifyProjectParams, body ModifyProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ModifyProjectWithBody

func (c *Client) ModifyProjectWithBody(ctx context.Context, identifier Identifier, params *ModifyProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ModifyTarget

func (c *Client) ModifyTarget(ctx context.Context, identifier Identifier, params *ModifyTargetParams, body ModifyTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ModifyTargetWithBody

func (c *Client) ModifyTargetWithBody(ctx context.Context, identifier Identifier, params *ModifyTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchFeature

func (c *Client) PatchFeature(ctx context.Context, identifier Identifier, params *PatchFeatureParams, body PatchFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchFeaturePipeline

func (c *Client) PatchFeaturePipeline(ctx context.Context, identifier Identifier, params *PatchFeaturePipelineParams, body PatchFeaturePipelineJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchFeaturePipelineWithBody

func (c *Client) PatchFeaturePipelineWithBody(ctx context.Context, identifier Identifier, params *PatchFeaturePipelineParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchFeatureWithBody

func (c *Client) PatchFeatureWithBody(ctx context.Context, identifier Identifier, params *PatchFeatureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchGitRepo

func (c *Client) PatchGitRepo(ctx context.Context, identifier Identifier, params *PatchGitRepoParams, body PatchGitRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchGitRepoWithBody

func (c *Client) PatchGitRepoWithBody(ctx context.Context, identifier Identifier, params *PatchGitRepoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchSegment

func (c *Client) PatchSegment(ctx context.Context, identifier Identifier, params *PatchSegmentParams, body PatchSegmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchSegmentWithBody

func (c *Client) PatchSegmentWithBody(ctx context.Context, identifier Identifier, params *PatchSegmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchTarget

func (c *Client) PatchTarget(ctx context.Context, identifier Identifier, params *PatchTargetParams, body PatchTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchTargetWithBody

func (c *Client) PatchTargetWithBody(ctx context.Context, identifier Identifier, params *PatchTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateAPIKey

func (c *Client) UpdateAPIKey(ctx context.Context, identifier Identifier, params *UpdateAPIKeyParams, body UpdateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateAPIKeyWithBody

func (c *Client) UpdateAPIKeyWithBody(ctx context.Context, identifier Identifier, params *UpdateAPIKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateFlagsYaml

func (c *Client) UpdateFlagsYaml(ctx context.Context, params *UpdateFlagsYamlParams, body UpdateFlagsYamlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateFlagsYamlWithBody

func (c *Client) UpdateFlagsYamlWithBody(ctx context.Context, params *UpdateFlagsYamlParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadTargetsWithBody

func (c *Client) UploadTargetsWithBody(ctx context.Context, params *UploadTargetsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetAllAPIKeys request
	GetAllAPIKeys(ctx context.Context, params *GetAllAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddAPIKey request with any body
	AddAPIKeyWithBody(ctx context.Context, params *AddAPIKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddAPIKey(ctx context.Context, params *AddAPIKeyParams, body AddAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAPIKey request
	DeleteAPIKey(ctx context.Context, identifier Identifier, params *DeleteAPIKeyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAPIKey request
	GetAPIKey(ctx context.Context, identifier Identifier, params *GetAPIKeyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateAPIKey request with any body
	UpdateAPIKeyWithBody(ctx context.Context, identifier Identifier, params *UpdateAPIKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateAPIKey(ctx context.Context, identifier Identifier, params *UpdateAPIKeyParams, body UpdateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAuditByParams request
	GetAuditByParams(ctx context.Context, params *GetAuditByParamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllEnvironments request
	GetAllEnvironments(ctx context.Context, params *GetAllEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEnvironment request with any body
	CreateEnvironmentWithBody(ctx context.Context, params *CreateEnvironmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateEnvironment(ctx context.Context, params *CreateEnvironmentParams, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteEnvironment request
	DeleteEnvironment(ctx context.Context, identifier Identifier, params *DeleteEnvironmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEnvironment request
	GetEnvironment(ctx context.Context, identifier Identifier, params *GetEnvironmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyEnvironment request with any body
	ModifyEnvironmentWithBody(ctx context.Context, identifier Identifier, params *ModifyEnvironmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ModifyEnvironment(ctx context.Context, identifier Identifier, params *ModifyEnvironmentParams, body ModifyEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllFeatures request
	GetAllFeatures(ctx context.Context, params *GetAllFeaturesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateFeatureFlag request with any body
	CreateFeatureFlagWithBody(ctx context.Context, params *CreateFeatureFlagParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateFeatureFlag(ctx context.Context, params *CreateFeatureFlagParams, body CreateFeatureFlagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAvailableFeaturePipelines request
	GetAvailableFeaturePipelines(ctx context.Context, params *GetAvailableFeaturePipelinesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFeatureMetrics request
	GetFeatureMetrics(ctx context.Context, params *GetFeatureMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFlagsYaml request
	GetFlagsYaml(ctx context.Context, params *GetFlagsYamlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateFlagsYaml request with any body
	UpdateFlagsYamlWithBody(ctx context.Context, params *UpdateFlagsYamlParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateFlagsYaml(ctx context.Context, params *UpdateFlagsYamlParams, body UpdateFlagsYamlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFeatureFlag request
	DeleteFeatureFlag(ctx context.Context, identifier Identifier, params *DeleteFeatureFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFeatureFlag request
	GetFeatureFlag(ctx context.Context, identifier Identifier, params *GetFeatureFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchFeature request with any body
	PatchFeatureWithBody(ctx context.Context, identifier Identifier, params *PatchFeatureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchFeature(ctx context.Context, identifier Identifier, params *PatchFeatureParams, body PatchFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFeatureEvaluations request
	GetFeatureEvaluations(ctx context.Context, identifier Identifier, params *GetFeatureEvaluationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFeaturePipeline request
	DeleteFeaturePipeline(ctx context.Context, identifier Identifier, params *DeleteFeaturePipelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFeaturePipeline request
	GetFeaturePipeline(ctx context.Context, identifier Identifier, params *GetFeaturePipelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchFeaturePipeline request with any body
	PatchFeaturePipelineWithBody(ctx context.Context, identifier Identifier, params *PatchFeaturePipelineParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchFeaturePipeline(ctx context.Context, identifier Identifier, params *PatchFeaturePipelineParams, body PatchFeaturePipelineJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateFlagPipeline request with any body
	CreateFlagPipelineWithBody(ctx context.Context, identifier Identifier, params *CreateFlagPipelineParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateFlagPipeline(ctx context.Context, identifier Identifier, params *CreateFlagPipelineParams, body CreateFlagPipelineJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJiraIssues request
	GetJiraIssues(ctx context.Context, params *GetJiraIssuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOSByID request
	GetOSByID(ctx context.Context, identifiers Identifiers, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserFlagOverview request
	GetUserFlagOverview(ctx context.Context, params *GetUserFlagOverviewParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllProjects request
	GetAllProjects(ctx context.Context, params *GetAllProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProject request with any body
	CreateProjectWithBody(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateProject(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProject request
	DeleteProject(ctx context.Context, identifier Identifier, params *DeleteProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProject request
	GetProject(ctx context.Context, identifier Identifier, params *GetProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyProject request with any body
	ModifyProjectWithBody(ctx context.Context, identifier Identifier, params *ModifyProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ModifyProject(ctx context.Context, identifier Identifier, params *ModifyProjectParams, body ModifyProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectFlags request
	GetProjectFlags(ctx context.Context, identifier Identifier, params *GetProjectFlagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGitRepo request
	DeleteGitRepo(ctx context.Context, identifier Identifier, params *DeleteGitRepoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGitRepo request
	GetGitRepo(ctx context.Context, identifier Identifier, params *GetGitRepoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchGitRepo request with any body
	PatchGitRepoWithBody(ctx context.Context, identifier Identifier, params *PatchGitRepoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchGitRepo(ctx context.Context, identifier Identifier, params *PatchGitRepoParams, body PatchGitRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGitRepo request with any body
	CreateGitRepoWithBody(ctx context.Context, identifier Identifier, params *CreateGitRepoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGitRepo(ctx context.Context, identifier Identifier, params *CreateGitRepoParams, body CreateGitRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllSegments request
	GetAllSegments(ctx context.Context, params *GetAllSegmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSegment request with any body
	CreateSegmentWithBody(ctx context.Context, params *CreateSegmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateSegment(ctx context.Context, params *CreateSegmentParams, body CreateSegmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSegment request
	DeleteSegment(ctx context.Context, identifier Identifier, params *DeleteSegmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSegment request
	GetSegment(ctx context.Context, identifier Identifier, params *GetSegmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchSegment request with any body
	PatchSegmentWithBody(ctx context.Context, identifier Identifier, params *PatchSegmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchSegment(ctx context.Context, identifier Identifier, params *PatchSegmentParams, body PatchSegmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAvailableFlagsForSegment request
	GetAvailableFlagsForSegment(ctx context.Context, identifier Identifier, params *GetAvailableFlagsForSegmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSegmentFlags request
	GetSegmentFlags(ctx context.Context, identifier Identifier, params *GetSegmentFlagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllTargets request
	GetAllTargets(ctx context.Context, params *GetAllTargetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTarget request with any body
	CreateTargetWithBody(ctx context.Context, params *CreateTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateTarget(ctx context.Context, params *CreateTargetParams, body CreateTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTargetsAndSegmentsInfo request
	GetTargetsAndSegmentsInfo(ctx context.Context, params *GetTargetsAndSegmentsInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTargetsAndSegments request
	GetTargetsAndSegments(ctx context.Context, params *GetTargetsAndSegmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllTargetAttributes request
	GetAllTargetAttributes(ctx context.Context, params *GetAllTargetAttributesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadTargets request with any body
	UploadTargetsWithBody(ctx context.Context, params *UploadTargetsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTarget request
	DeleteTarget(ctx context.Context, identifier Identifier, params *DeleteTargetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTarget request
	GetTarget(ctx context.Context, identifier Identifier, params *GetTargetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTarget request with any body
	PatchTargetWithBody(ctx context.Context, identifier Identifier, params *PatchTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchTarget(ctx context.Context, identifier Identifier, params *PatchTargetParams, body PatchTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyTarget request with any body
	ModifyTargetWithBody(ctx context.Context, identifier Identifier, params *ModifyTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ModifyTarget(ctx context.Context, identifier Identifier, params *ModifyTargetParams, body ModifyTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTargetAvailableSegments request
	GetTargetAvailableSegments(ctx context.Context, identifier Identifier, params *GetTargetAvailableSegmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTargetSegments request
	GetTargetSegments(ctx context.Context, identifier Identifier, params *GetTargetSegmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLicenseUsage request
	GetLicenseUsage(ctx context.Context, params *GetLicenseUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddAPIKeyWithBodyWithResponse

func (c *ClientWithResponses) AddAPIKeyWithBodyWithResponse(ctx context.Context, params *AddAPIKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAPIKeyResponse, error)

AddAPIKeyWithBodyWithResponse request with arbitrary body returning *AddAPIKeyResponse

func (*ClientWithResponses) AddAPIKeyWithResponse

func (c *ClientWithResponses) AddAPIKeyWithResponse(ctx context.Context, params *AddAPIKeyParams, body AddAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*AddAPIKeyResponse, error)

func (*ClientWithResponses) CreateEnvironmentWithBodyWithResponse

func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, params *CreateEnvironmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)

CreateEnvironmentWithBodyWithResponse request with arbitrary body returning *CreateEnvironmentResponse

func (*ClientWithResponses) CreateEnvironmentWithResponse

func (*ClientWithResponses) CreateFeatureFlagWithBodyWithResponse

func (c *ClientWithResponses) CreateFeatureFlagWithBodyWithResponse(ctx context.Context, params *CreateFeatureFlagParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFeatureFlagResponse, error)

CreateFeatureFlagWithBodyWithResponse request with arbitrary body returning *CreateFeatureFlagResponse

func (*ClientWithResponses) CreateFeatureFlagWithResponse

func (*ClientWithResponses) CreateFlagPipelineWithBodyWithResponse

func (c *ClientWithResponses) CreateFlagPipelineWithBodyWithResponse(ctx context.Context, identifier Identifier, params *CreateFlagPipelineParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFlagPipelineResponse, error)

CreateFlagPipelineWithBodyWithResponse request with arbitrary body returning *CreateFlagPipelineResponse

func (*ClientWithResponses) CreateFlagPipelineWithResponse

func (c *ClientWithResponses) CreateFlagPipelineWithResponse(ctx context.Context, identifier Identifier, params *CreateFlagPipelineParams, body CreateFlagPipelineJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFlagPipelineResponse, error)

func (*ClientWithResponses) CreateGitRepoWithBodyWithResponse

func (c *ClientWithResponses) CreateGitRepoWithBodyWithResponse(ctx context.Context, identifier Identifier, params *CreateGitRepoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitRepoResponse, error)

CreateGitRepoWithBodyWithResponse request with arbitrary body returning *CreateGitRepoResponse

func (*ClientWithResponses) CreateGitRepoWithResponse

func (c *ClientWithResponses) CreateGitRepoWithResponse(ctx context.Context, identifier Identifier, params *CreateGitRepoParams, body CreateGitRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitRepoResponse, error)

func (*ClientWithResponses) CreateProjectWithBodyWithResponse

func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

CreateProjectWithBodyWithResponse request with arbitrary body returning *CreateProjectResponse

func (*ClientWithResponses) CreateProjectWithResponse

func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

func (*ClientWithResponses) CreateSegmentWithBodyWithResponse

func (c *ClientWithResponses) CreateSegmentWithBodyWithResponse(ctx context.Context, params *CreateSegmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSegmentResponse, error)

CreateSegmentWithBodyWithResponse request with arbitrary body returning *CreateSegmentResponse

func (*ClientWithResponses) CreateSegmentWithResponse

func (c *ClientWithResponses) CreateSegmentWithResponse(ctx context.Context, params *CreateSegmentParams, body CreateSegmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSegmentResponse, error)

func (*ClientWithResponses) CreateTargetWithBodyWithResponse

func (c *ClientWithResponses) CreateTargetWithBodyWithResponse(ctx context.Context, params *CreateTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTargetResponse, error)

CreateTargetWithBodyWithResponse request with arbitrary body returning *CreateTargetResponse

func (*ClientWithResponses) CreateTargetWithResponse

func (c *ClientWithResponses) CreateTargetWithResponse(ctx context.Context, params *CreateTargetParams, body CreateTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTargetResponse, error)

func (*ClientWithResponses) DeleteAPIKeyWithResponse

func (c *ClientWithResponses) DeleteAPIKeyWithResponse(ctx context.Context, identifier Identifier, params *DeleteAPIKeyParams, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)

DeleteAPIKeyWithResponse request returning *DeleteAPIKeyResponse

func (*ClientWithResponses) DeleteEnvironmentWithResponse

func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, identifier Identifier, params *DeleteEnvironmentParams, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)

DeleteEnvironmentWithResponse request returning *DeleteEnvironmentResponse

func (*ClientWithResponses) DeleteFeatureFlagWithResponse

func (c *ClientWithResponses) DeleteFeatureFlagWithResponse(ctx context.Context, identifier Identifier, params *DeleteFeatureFlagParams, reqEditors ...RequestEditorFn) (*DeleteFeatureFlagResponse, error)

DeleteFeatureFlagWithResponse request returning *DeleteFeatureFlagResponse

func (*ClientWithResponses) DeleteFeaturePipelineWithResponse

func (c *ClientWithResponses) DeleteFeaturePipelineWithResponse(ctx context.Context, identifier Identifier, params *DeleteFeaturePipelineParams, reqEditors ...RequestEditorFn) (*DeleteFeaturePipelineResponse, error)

DeleteFeaturePipelineWithResponse request returning *DeleteFeaturePipelineResponse

func (*ClientWithResponses) DeleteGitRepoWithResponse

func (c *ClientWithResponses) DeleteGitRepoWithResponse(ctx context.Context, identifier Identifier, params *DeleteGitRepoParams, reqEditors ...RequestEditorFn) (*DeleteGitRepoResponse, error)

DeleteGitRepoWithResponse request returning *DeleteGitRepoResponse

func (*ClientWithResponses) DeleteProjectWithResponse

func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, identifier Identifier, params *DeleteProjectParams, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

DeleteProjectWithResponse request returning *DeleteProjectResponse

func (*ClientWithResponses) DeleteSegmentWithResponse

func (c *ClientWithResponses) DeleteSegmentWithResponse(ctx context.Context, identifier Identifier, params *DeleteSegmentParams, reqEditors ...RequestEditorFn) (*DeleteSegmentResponse, error)

DeleteSegmentWithResponse request returning *DeleteSegmentResponse

func (*ClientWithResponses) DeleteTargetWithResponse

func (c *ClientWithResponses) DeleteTargetWithResponse(ctx context.Context, identifier Identifier, params *DeleteTargetParams, reqEditors ...RequestEditorFn) (*DeleteTargetResponse, error)

DeleteTargetWithResponse request returning *DeleteTargetResponse

func (*ClientWithResponses) GetAPIKeyWithResponse

func (c *ClientWithResponses) GetAPIKeyWithResponse(ctx context.Context, identifier Identifier, params *GetAPIKeyParams, reqEditors ...RequestEditorFn) (*GetAPIKeyResponse, error)

GetAPIKeyWithResponse request returning *GetAPIKeyResponse

func (*ClientWithResponses) GetAllAPIKeysWithResponse

func (c *ClientWithResponses) GetAllAPIKeysWithResponse(ctx context.Context, params *GetAllAPIKeysParams, reqEditors ...RequestEditorFn) (*GetAllAPIKeysResponse, error)

GetAllAPIKeysWithResponse request returning *GetAllAPIKeysResponse

func (*ClientWithResponses) GetAllEnvironmentsWithResponse

func (c *ClientWithResponses) GetAllEnvironmentsWithResponse(ctx context.Context, params *GetAllEnvironmentsParams, reqEditors ...RequestEditorFn) (*GetAllEnvironmentsResponse, error)

GetAllEnvironmentsWithResponse request returning *GetAllEnvironmentsResponse

func (*ClientWithResponses) GetAllFeaturesWithResponse

func (c *ClientWithResponses) GetAllFeaturesWithResponse(ctx context.Context, params *GetAllFeaturesParams, reqEditors ...RequestEditorFn) (*GetAllFeaturesResponse, error)

GetAllFeaturesWithResponse request returning *GetAllFeaturesResponse

func (*ClientWithResponses) GetAllProjectsWithResponse

func (c *ClientWithResponses) GetAllProjectsWithResponse(ctx context.Context, params *GetAllProjectsParams, reqEditors ...RequestEditorFn) (*GetAllProjectsResponse, error)

GetAllProjectsWithResponse request returning *GetAllProjectsResponse

func (*ClientWithResponses) GetAllSegmentsWithResponse

func (c *ClientWithResponses) GetAllSegmentsWithResponse(ctx context.Context, params *GetAllSegmentsParams, reqEditors ...RequestEditorFn) (*GetAllSegmentsResponse, error)

GetAllSegmentsWithResponse request returning *GetAllSegmentsResponse

func (*ClientWithResponses) GetAllTargetAttributesWithResponse

func (c *ClientWithResponses) GetAllTargetAttributesWithResponse(ctx context.Context, params *GetAllTargetAttributesParams, reqEditors ...RequestEditorFn) (*GetAllTargetAttributesResponse, error)

GetAllTargetAttributesWithResponse request returning *GetAllTargetAttributesResponse

func (*ClientWithResponses) GetAllTargetsWithResponse

func (c *ClientWithResponses) GetAllTargetsWithResponse(ctx context.Context, params *GetAllTargetsParams, reqEditors ...RequestEditorFn) (*GetAllTargetsResponse, error)

GetAllTargetsWithResponse request returning *GetAllTargetsResponse

func (*ClientWithResponses) GetAuditByParamsWithResponse

func (c *ClientWithResponses) GetAuditByParamsWithResponse(ctx context.Context, params *GetAuditByParamsParams, reqEditors ...RequestEditorFn) (*GetAuditByParamsResponse, error)

GetAuditByParamsWithResponse request returning *GetAuditByParamsResponse

func (*ClientWithResponses) GetAvailableFeaturePipelinesWithResponse

func (c *ClientWithResponses) GetAvailableFeaturePipelinesWithResponse(ctx context.Context, params *GetAvailableFeaturePipelinesParams, reqEditors ...RequestEditorFn) (*GetAvailableFeaturePipelinesResponse, error)

GetAvailableFeaturePipelinesWithResponse request returning *GetAvailableFeaturePipelinesResponse

func (*ClientWithResponses) GetAvailableFlagsForSegmentWithResponse

func (c *ClientWithResponses) GetAvailableFlagsForSegmentWithResponse(ctx context.Context, identifier Identifier, params *GetAvailableFlagsForSegmentParams, reqEditors ...RequestEditorFn) (*GetAvailableFlagsForSegmentResponse, error)

GetAvailableFlagsForSegmentWithResponse request returning *GetAvailableFlagsForSegmentResponse

func (*ClientWithResponses) GetEnvironmentWithResponse

func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, identifier Identifier, params *GetEnvironmentParams, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)

GetEnvironmentWithResponse request returning *GetEnvironmentResponse

func (*ClientWithResponses) GetFeatureEvaluationsWithResponse

func (c *ClientWithResponses) GetFeatureEvaluationsWithResponse(ctx context.Context, identifier Identifier, params *GetFeatureEvaluationsParams, reqEditors ...RequestEditorFn) (*GetFeatureEvaluationsResponse, error)

GetFeatureEvaluationsWithResponse request returning *GetFeatureEvaluationsResponse

func (*ClientWithResponses) GetFeatureFlagWithResponse

func (c *ClientWithResponses) GetFeatureFlagWithResponse(ctx context.Context, identifier Identifier, params *GetFeatureFlagParams, reqEditors ...RequestEditorFn) (*GetFeatureFlagResponse, error)

GetFeatureFlagWithResponse request returning *GetFeatureFlagResponse

func (*ClientWithResponses) GetFeatureMetricsWithResponse

func (c *ClientWithResponses) GetFeatureMetricsWithResponse(ctx context.Context, params *GetFeatureMetricsParams, reqEditors ...RequestEditorFn) (*GetFeatureMetricsResponse, error)

GetFeatureMetricsWithResponse request returning *GetFeatureMetricsResponse

func (*ClientWithResponses) GetFeaturePipelineWithResponse

func (c *ClientWithResponses) GetFeaturePipelineWithResponse(ctx context.Context, identifier Identifier, params *GetFeaturePipelineParams, reqEditors ...RequestEditorFn) (*GetFeaturePipelineResponse, error)

GetFeaturePipelineWithResponse request returning *GetFeaturePipelineResponse

func (*ClientWithResponses) GetFlagsYamlWithResponse

func (c *ClientWithResponses) GetFlagsYamlWithResponse(ctx context.Context, params *GetFlagsYamlParams, reqEditors ...RequestEditorFn) (*GetFlagsYamlResponse, error)

GetFlagsYamlWithResponse request returning *GetFlagsYamlResponse

func (*ClientWithResponses) GetGitRepoWithResponse

func (c *ClientWithResponses) GetGitRepoWithResponse(ctx context.Context, identifier Identifier, params *GetGitRepoParams, reqEditors ...RequestEditorFn) (*GetGitRepoResponse, error)

GetGitRepoWithResponse request returning *GetGitRepoResponse

func (*ClientWithResponses) GetJiraIssuesWithResponse

func (c *ClientWithResponses) GetJiraIssuesWithResponse(ctx context.Context, params *GetJiraIssuesParams, reqEditors ...RequestEditorFn) (*GetJiraIssuesResponse, error)

GetJiraIssuesWithResponse request returning *GetJiraIssuesResponse

func (*ClientWithResponses) GetLicenseUsageWithResponse

func (c *ClientWithResponses) GetLicenseUsageWithResponse(ctx context.Context, params *GetLicenseUsageParams, reqEditors ...RequestEditorFn) (*GetLicenseUsageResponse, error)

GetLicenseUsageWithResponse request returning *GetLicenseUsageResponse

func (*ClientWithResponses) GetOSByIDWithResponse

func (c *ClientWithResponses) GetOSByIDWithResponse(ctx context.Context, identifiers Identifiers, reqEditors ...RequestEditorFn) (*GetOSByIDResponse, error)

GetOSByIDWithResponse request returning *GetOSByIDResponse

func (*ClientWithResponses) GetProjectFlagsWithResponse

func (c *ClientWithResponses) GetProjectFlagsWithResponse(ctx context.Context, identifier Identifier, params *GetProjectFlagsParams, reqEditors ...RequestEditorFn) (*GetProjectFlagsResponse, error)

GetProjectFlagsWithResponse request returning *GetProjectFlagsResponse

func (*ClientWithResponses) GetProjectWithResponse

func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, identifier Identifier, params *GetProjectParams, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

GetProjectWithResponse request returning *GetProjectResponse

func (*ClientWithResponses) GetSegmentFlagsWithResponse

func (c *ClientWithResponses) GetSegmentFlagsWithResponse(ctx context.Context, identifier Identifier, params *GetSegmentFlagsParams, reqEditors ...RequestEditorFn) (*GetSegmentFlagsResponse, error)

GetSegmentFlagsWithResponse request returning *GetSegmentFlagsResponse

func (*ClientWithResponses) GetSegmentWithResponse

func (c *ClientWithResponses) GetSegmentWithResponse(ctx context.Context, identifier Identifier, params *GetSegmentParams, reqEditors ...RequestEditorFn) (*GetSegmentResponse, error)

GetSegmentWithResponse request returning *GetSegmentResponse

func (*ClientWithResponses) GetTargetAvailableSegmentsWithResponse

func (c *ClientWithResponses) GetTargetAvailableSegmentsWithResponse(ctx context.Context, identifier Identifier, params *GetTargetAvailableSegmentsParams, reqEditors ...RequestEditorFn) (*GetTargetAvailableSegmentsResponse, error)

GetTargetAvailableSegmentsWithResponse request returning *GetTargetAvailableSegmentsResponse

func (*ClientWithResponses) GetTargetSegmentsWithResponse

func (c *ClientWithResponses) GetTargetSegmentsWithResponse(ctx context.Context, identifier Identifier, params *GetTargetSegmentsParams, reqEditors ...RequestEditorFn) (*GetTargetSegmentsResponse, error)

GetTargetSegmentsWithResponse request returning *GetTargetSegmentsResponse

func (*ClientWithResponses) GetTargetWithResponse

func (c *ClientWithResponses) GetTargetWithResponse(ctx context.Context, identifier Identifier, params *GetTargetParams, reqEditors ...RequestEditorFn) (*GetTargetResponse, error)

GetTargetWithResponse request returning *GetTargetResponse

func (*ClientWithResponses) GetTargetsAndSegmentsInfoWithResponse

func (c *ClientWithResponses) GetTargetsAndSegmentsInfoWithResponse(ctx context.Context, params *GetTargetsAndSegmentsInfoParams, reqEditors ...RequestEditorFn) (*GetTargetsAndSegmentsInfoResponse, error)

GetTargetsAndSegmentsInfoWithResponse request returning *GetTargetsAndSegmentsInfoResponse

func (*ClientWithResponses) GetTargetsAndSegmentsWithResponse

func (c *ClientWithResponses) GetTargetsAndSegmentsWithResponse(ctx context.Context, params *GetTargetsAndSegmentsParams, reqEditors ...RequestEditorFn) (*GetTargetsAndSegmentsResponse, error)

GetTargetsAndSegmentsWithResponse request returning *GetTargetsAndSegmentsResponse

func (*ClientWithResponses) GetUserFlagOverviewWithResponse

func (c *ClientWithResponses) GetUserFlagOverviewWithResponse(ctx context.Context, params *GetUserFlagOverviewParams, reqEditors ...RequestEditorFn) (*GetUserFlagOverviewResponse, error)

GetUserFlagOverviewWithResponse request returning *GetUserFlagOverviewResponse

func (*ClientWithResponses) ModifyEnvironmentWithBodyWithResponse

func (c *ClientWithResponses) ModifyEnvironmentWithBodyWithResponse(ctx context.Context, identifier Identifier, params *ModifyEnvironmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyEnvironmentResponse, error)

ModifyEnvironmentWithBodyWithResponse request with arbitrary body returning *ModifyEnvironmentResponse

func (*ClientWithResponses) ModifyEnvironmentWithResponse

func (c *ClientWithResponses) ModifyEnvironmentWithResponse(ctx context.Context, identifier Identifier, params *ModifyEnvironmentParams, body ModifyEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyEnvironmentResponse, error)

func (*ClientWithResponses) ModifyProjectWithBodyWithResponse

func (c *ClientWithResponses) ModifyProjectWithBodyWithResponse(ctx context.Context, identifier Identifier, params *ModifyProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyProjectResponse, error)

ModifyProjectWithBodyWithResponse request with arbitrary body returning *ModifyProjectResponse

func (*ClientWithResponses) ModifyProjectWithResponse

func (c *ClientWithResponses) ModifyProjectWithResponse(ctx context.Context, identifier Identifier, params *ModifyProjectParams, body ModifyProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyProjectResponse, error)

func (*ClientWithResponses) ModifyTargetWithBodyWithResponse

func (c *ClientWithResponses) ModifyTargetWithBodyWithResponse(ctx context.Context, identifier Identifier, params *ModifyTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyTargetResponse, error)

ModifyTargetWithBodyWithResponse request with arbitrary body returning *ModifyTargetResponse

func (*ClientWithResponses) ModifyTargetWithResponse

func (c *ClientWithResponses) ModifyTargetWithResponse(ctx context.Context, identifier Identifier, params *ModifyTargetParams, body ModifyTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyTargetResponse, error)

func (*ClientWithResponses) PatchFeaturePipelineWithBodyWithResponse

func (c *ClientWithResponses) PatchFeaturePipelineWithBodyWithResponse(ctx context.Context, identifier Identifier, params *PatchFeaturePipelineParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFeaturePipelineResponse, error)

PatchFeaturePipelineWithBodyWithResponse request with arbitrary body returning *PatchFeaturePipelineResponse

func (*ClientWithResponses) PatchFeaturePipelineWithResponse

func (c *ClientWithResponses) PatchFeaturePipelineWithResponse(ctx context.Context, identifier Identifier, params *PatchFeaturePipelineParams, body PatchFeaturePipelineJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFeaturePipelineResponse, error)

func (*ClientWithResponses) PatchFeatureWithBodyWithResponse

func (c *ClientWithResponses) PatchFeatureWithBodyWithResponse(ctx context.Context, identifier Identifier, params *PatchFeatureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFeatureResponse, error)

PatchFeatureWithBodyWithResponse request with arbitrary body returning *PatchFeatureResponse

func (*ClientWithResponses) PatchFeatureWithResponse

func (c *ClientWithResponses) PatchFeatureWithResponse(ctx context.Context, identifier Identifier, params *PatchFeatureParams, body PatchFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFeatureResponse, error)

func (*ClientWithResponses) PatchGitRepoWithBodyWithResponse

func (c *ClientWithResponses) PatchGitRepoWithBodyWithResponse(ctx context.Context, identifier Identifier, params *PatchGitRepoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchGitRepoResponse, error)

PatchGitRepoWithBodyWithResponse request with arbitrary body returning *PatchGitRepoResponse

func (*ClientWithResponses) PatchGitRepoWithResponse

func (c *ClientWithResponses) PatchGitRepoWithResponse(ctx context.Context, identifier Identifier, params *PatchGitRepoParams, body PatchGitRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchGitRepoResponse, error)

func (*ClientWithResponses) PatchSegmentWithBodyWithResponse

func (c *ClientWithResponses) PatchSegmentWithBodyWithResponse(ctx context.Context, identifier Identifier, params *PatchSegmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSegmentResponse, error)

PatchSegmentWithBodyWithResponse request with arbitrary body returning *PatchSegmentResponse

func (*ClientWithResponses) PatchSegmentWithResponse

func (c *ClientWithResponses) PatchSegmentWithResponse(ctx context.Context, identifier Identifier, params *PatchSegmentParams, body PatchSegmentJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSegmentResponse, error)

func (*ClientWithResponses) PatchTargetWithBodyWithResponse

func (c *ClientWithResponses) PatchTargetWithBodyWithResponse(ctx context.Context, identifier Identifier, params *PatchTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTargetResponse, error)

PatchTargetWithBodyWithResponse request with arbitrary body returning *PatchTargetResponse

func (*ClientWithResponses) PatchTargetWithResponse

func (c *ClientWithResponses) PatchTargetWithResponse(ctx context.Context, identifier Identifier, params *PatchTargetParams, body PatchTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTargetResponse, error)

func (*ClientWithResponses) UpdateAPIKeyWithBodyWithResponse

func (c *ClientWithResponses) UpdateAPIKeyWithBodyWithResponse(ctx context.Context, identifier Identifier, params *UpdateAPIKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAPIKeyResponse, error)

UpdateAPIKeyWithBodyWithResponse request with arbitrary body returning *UpdateAPIKeyResponse

func (*ClientWithResponses) UpdateAPIKeyWithResponse

func (c *ClientWithResponses) UpdateAPIKeyWithResponse(ctx context.Context, identifier Identifier, params *UpdateAPIKeyParams, body UpdateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAPIKeyResponse, error)

func (*ClientWithResponses) UpdateFlagsYamlWithBodyWithResponse

func (c *ClientWithResponses) UpdateFlagsYamlWithBodyWithResponse(ctx context.Context, params *UpdateFlagsYamlParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFlagsYamlResponse, error)

UpdateFlagsYamlWithBodyWithResponse request with arbitrary body returning *UpdateFlagsYamlResponse

func (*ClientWithResponses) UpdateFlagsYamlWithResponse

func (c *ClientWithResponses) UpdateFlagsYamlWithResponse(ctx context.Context, params *UpdateFlagsYamlParams, body UpdateFlagsYamlJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFlagsYamlResponse, error)

func (*ClientWithResponses) UploadTargetsWithBodyWithResponse

func (c *ClientWithResponses) UploadTargetsWithBodyWithResponse(ctx context.Context, params *UploadTargetsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadTargetsResponse, error)

UploadTargetsWithBodyWithResponse request with arbitrary body returning *UploadTargetsResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetAllAPIKeys request
	GetAllAPIKeysWithResponse(ctx context.Context, params *GetAllAPIKeysParams, reqEditors ...RequestEditorFn) (*GetAllAPIKeysResponse, error)

	// AddAPIKey request with any body
	AddAPIKeyWithBodyWithResponse(ctx context.Context, params *AddAPIKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAPIKeyResponse, error)

	AddAPIKeyWithResponse(ctx context.Context, params *AddAPIKeyParams, body AddAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*AddAPIKeyResponse, error)

	// DeleteAPIKey request
	DeleteAPIKeyWithResponse(ctx context.Context, identifier Identifier, params *DeleteAPIKeyParams, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)

	// GetAPIKey request
	GetAPIKeyWithResponse(ctx context.Context, identifier Identifier, params *GetAPIKeyParams, reqEditors ...RequestEditorFn) (*GetAPIKeyResponse, error)

	// UpdateAPIKey request with any body
	UpdateAPIKeyWithBodyWithResponse(ctx context.Context, identifier Identifier, params *UpdateAPIKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAPIKeyResponse, error)

	UpdateAPIKeyWithResponse(ctx context.Context, identifier Identifier, params *UpdateAPIKeyParams, body UpdateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAPIKeyResponse, error)

	// GetAuditByParams request
	GetAuditByParamsWithResponse(ctx context.Context, params *GetAuditByParamsParams, reqEditors ...RequestEditorFn) (*GetAuditByParamsResponse, error)

	// GetAllEnvironments request
	GetAllEnvironmentsWithResponse(ctx context.Context, params *GetAllEnvironmentsParams, reqEditors ...RequestEditorFn) (*GetAllEnvironmentsResponse, error)

	// CreateEnvironment request with any body
	CreateEnvironmentWithBodyWithResponse(ctx context.Context, params *CreateEnvironmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)

	CreateEnvironmentWithResponse(ctx context.Context, params *CreateEnvironmentParams, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)

	// DeleteEnvironment request
	DeleteEnvironmentWithResponse(ctx context.Context, identifier Identifier, params *DeleteEnvironmentParams, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)

	// GetEnvironment request
	GetEnvironmentWithResponse(ctx context.Context, identifier Identifier, params *GetEnvironmentParams, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)

	// ModifyEnvironment request with any body
	ModifyEnvironmentWithBodyWithResponse(ctx context.Context, identifier Identifier, params *ModifyEnvironmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyEnvironmentResponse, error)

	ModifyEnvironmentWithResponse(ctx context.Context, identifier Identifier, params *ModifyEnvironmentParams, body ModifyEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyEnvironmentResponse, error)

	// GetAllFeatures request
	GetAllFeaturesWithResponse(ctx context.Context, params *GetAllFeaturesParams, reqEditors ...RequestEditorFn) (*GetAllFeaturesResponse, error)

	// CreateFeatureFlag request with any body
	CreateFeatureFlagWithBodyWithResponse(ctx context.Context, params *CreateFeatureFlagParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFeatureFlagResponse, error)

	CreateFeatureFlagWithResponse(ctx context.Context, params *CreateFeatureFlagParams, body CreateFeatureFlagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFeatureFlagResponse, error)

	// GetAvailableFeaturePipelines request
	GetAvailableFeaturePipelinesWithResponse(ctx context.Context, params *GetAvailableFeaturePipelinesParams, reqEditors ...RequestEditorFn) (*GetAvailableFeaturePipelinesResponse, error)

	// GetFeatureMetrics request
	GetFeatureMetricsWithResponse(ctx context.Context, params *GetFeatureMetricsParams, reqEditors ...RequestEditorFn) (*GetFeatureMetricsResponse, error)

	// GetFlagsYaml request
	GetFlagsYamlWithResponse(ctx context.Context, params *GetFlagsYamlParams, reqEditors ...RequestEditorFn) (*GetFlagsYamlResponse, error)

	// UpdateFlagsYaml request with any body
	UpdateFlagsYamlWithBodyWithResponse(ctx context.Context, params *UpdateFlagsYamlParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFlagsYamlResponse, error)

	UpdateFlagsYamlWithResponse(ctx context.Context, params *UpdateFlagsYamlParams, body UpdateFlagsYamlJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFlagsYamlResponse, error)

	// DeleteFeatureFlag request
	DeleteFeatureFlagWithResponse(ctx context.Context, identifier Identifier, params *DeleteFeatureFlagParams, reqEditors ...RequestEditorFn) (*DeleteFeatureFlagResponse, error)

	// GetFeatureFlag request
	GetFeatureFlagWithResponse(ctx context.Context, identifier Identifier, params *GetFeatureFlagParams, reqEditors ...RequestEditorFn) (*GetFeatureFlagResponse, error)

	// PatchFeature request with any body
	PatchFeatureWithBodyWithResponse(ctx context.Context, identifier Identifier, params *PatchFeatureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFeatureResponse, error)

	PatchFeatureWithResponse(ctx context.Context, identifier Identifier, params *PatchFeatureParams, body PatchFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFeatureResponse, error)

	// GetFeatureEvaluations request
	GetFeatureEvaluationsWithResponse(ctx context.Context, identifier Identifier, params *GetFeatureEvaluationsParams, reqEditors ...RequestEditorFn) (*GetFeatureEvaluationsResponse, error)

	// DeleteFeaturePipeline request
	DeleteFeaturePipelineWithResponse(ctx context.Context, identifier Identifier, params *DeleteFeaturePipelineParams, reqEditors ...RequestEditorFn) (*DeleteFeaturePipelineResponse, error)

	// GetFeaturePipeline request
	GetFeaturePipelineWithResponse(ctx context.Context, identifier Identifier, params *GetFeaturePipelineParams, reqEditors ...RequestEditorFn) (*GetFeaturePipelineResponse, error)

	// PatchFeaturePipeline request with any body
	PatchFeaturePipelineWithBodyWithResponse(ctx context.Context, identifier Identifier, params *PatchFeaturePipelineParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFeaturePipelineResponse, error)

	PatchFeaturePipelineWithResponse(ctx context.Context, identifier Identifier, params *PatchFeaturePipelineParams, body PatchFeaturePipelineJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFeaturePipelineResponse, error)

	// CreateFlagPipeline request with any body
	CreateFlagPipelineWithBodyWithResponse(ctx context.Context, identifier Identifier, params *CreateFlagPipelineParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFlagPipelineResponse, error)

	CreateFlagPipelineWithResponse(ctx context.Context, identifier Identifier, params *CreateFlagPipelineParams, body CreateFlagPipelineJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFlagPipelineResponse, error)

	// GetJiraIssues request
	GetJiraIssuesWithResponse(ctx context.Context, params *GetJiraIssuesParams, reqEditors ...RequestEditorFn) (*GetJiraIssuesResponse, error)

	// GetOSByID request
	GetOSByIDWithResponse(ctx context.Context, identifiers Identifiers, reqEditors ...RequestEditorFn) (*GetOSByIDResponse, error)

	// GetUserFlagOverview request
	GetUserFlagOverviewWithResponse(ctx context.Context, params *GetUserFlagOverviewParams, reqEditors ...RequestEditorFn) (*GetUserFlagOverviewResponse, error)

	// GetAllProjects request
	GetAllProjectsWithResponse(ctx context.Context, params *GetAllProjectsParams, reqEditors ...RequestEditorFn) (*GetAllProjectsResponse, error)

	// CreateProject request with any body
	CreateProjectWithBodyWithResponse(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	CreateProjectWithResponse(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	// DeleteProject request
	DeleteProjectWithResponse(ctx context.Context, identifier Identifier, params *DeleteProjectParams, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

	// GetProject request
	GetProjectWithResponse(ctx context.Context, identifier Identifier, params *GetProjectParams, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

	// ModifyProject request with any body
	ModifyProjectWithBodyWithResponse(ctx context.Context, identifier Identifier, params *ModifyProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyProjectResponse, error)

	ModifyProjectWithResponse(ctx context.Context, identifier Identifier, params *ModifyProjectParams, body ModifyProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyProjectResponse, error)

	// GetProjectFlags request
	GetProjectFlagsWithResponse(ctx context.Context, identifier Identifier, params *GetProjectFlagsParams, reqEditors ...RequestEditorFn) (*GetProjectFlagsResponse, error)

	// DeleteGitRepo request
	DeleteGitRepoWithResponse(ctx context.Context, identifier Identifier, params *DeleteGitRepoParams, reqEditors ...RequestEditorFn) (*DeleteGitRepoResponse, error)

	// GetGitRepo request
	GetGitRepoWithResponse(ctx context.Context, identifier Identifier, params *GetGitRepoParams, reqEditors ...RequestEditorFn) (*GetGitRepoResponse, error)

	// PatchGitRepo request with any body
	PatchGitRepoWithBodyWithResponse(ctx context.Context, identifier Identifier, params *PatchGitRepoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchGitRepoResponse, error)

	PatchGitRepoWithResponse(ctx context.Context, identifier Identifier, params *PatchGitRepoParams, body PatchGitRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchGitRepoResponse, error)

	// CreateGitRepo request with any body
	CreateGitRepoWithBodyWithResponse(ctx context.Context, identifier Identifier, params *CreateGitRepoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitRepoResponse, error)

	CreateGitRepoWithResponse(ctx context.Context, identifier Identifier, params *CreateGitRepoParams, body CreateGitRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitRepoResponse, error)

	// GetAllSegments request
	GetAllSegmentsWithResponse(ctx context.Context, params *GetAllSegmentsParams, reqEditors ...RequestEditorFn) (*GetAllSegmentsResponse, error)

	// CreateSegment request with any body
	CreateSegmentWithBodyWithResponse(ctx context.Context, params *CreateSegmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSegmentResponse, error)

	CreateSegmentWithResponse(ctx context.Context, params *CreateSegmentParams, body CreateSegmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSegmentResponse, error)

	// DeleteSegment request
	DeleteSegmentWithResponse(ctx context.Context, identifier Identifier, params *DeleteSegmentParams, reqEditors ...RequestEditorFn) (*DeleteSegmentResponse, error)

	// GetSegment request
	GetSegmentWithResponse(ctx context.Context, identifier Identifier, params *GetSegmentParams, reqEditors ...RequestEditorFn) (*GetSegmentResponse, error)

	// PatchSegment request with any body
	PatchSegmentWithBodyWithResponse(ctx context.Context, identifier Identifier, params *PatchSegmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSegmentResponse, error)

	PatchSegmentWithResponse(ctx context.Context, identifier Identifier, params *PatchSegmentParams, body PatchSegmentJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSegmentResponse, error)

	// GetAvailableFlagsForSegment request
	GetAvailableFlagsForSegmentWithResponse(ctx context.Context, identifier Identifier, params *GetAvailableFlagsForSegmentParams, reqEditors ...RequestEditorFn) (*GetAvailableFlagsForSegmentResponse, error)

	// GetSegmentFlags request
	GetSegmentFlagsWithResponse(ctx context.Context, identifier Identifier, params *GetSegmentFlagsParams, reqEditors ...RequestEditorFn) (*GetSegmentFlagsResponse, error)

	// GetAllTargets request
	GetAllTargetsWithResponse(ctx context.Context, params *GetAllTargetsParams, reqEditors ...RequestEditorFn) (*GetAllTargetsResponse, error)

	// CreateTarget request with any body
	CreateTargetWithBodyWithResponse(ctx context.Context, params *CreateTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTargetResponse, error)

	CreateTargetWithResponse(ctx context.Context, params *CreateTargetParams, body CreateTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTargetResponse, error)

	// GetTargetsAndSegmentsInfo request
	GetTargetsAndSegmentsInfoWithResponse(ctx context.Context, params *GetTargetsAndSegmentsInfoParams, reqEditors ...RequestEditorFn) (*GetTargetsAndSegmentsInfoResponse, error)

	// GetTargetsAndSegments request
	GetTargetsAndSegmentsWithResponse(ctx context.Context, params *GetTargetsAndSegmentsParams, reqEditors ...RequestEditorFn) (*GetTargetsAndSegmentsResponse, error)

	// GetAllTargetAttributes request
	GetAllTargetAttributesWithResponse(ctx context.Context, params *GetAllTargetAttributesParams, reqEditors ...RequestEditorFn) (*GetAllTargetAttributesResponse, error)

	// UploadTargets request with any body
	UploadTargetsWithBodyWithResponse(ctx context.Context, params *UploadTargetsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadTargetsResponse, error)

	// DeleteTarget request
	DeleteTargetWithResponse(ctx context.Context, identifier Identifier, params *DeleteTargetParams, reqEditors ...RequestEditorFn) (*DeleteTargetResponse, error)

	// GetTarget request
	GetTargetWithResponse(ctx context.Context, identifier Identifier, params *GetTargetParams, reqEditors ...RequestEditorFn) (*GetTargetResponse, error)

	// PatchTarget request with any body
	PatchTargetWithBodyWithResponse(ctx context.Context, identifier Identifier, params *PatchTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTargetResponse, error)

	PatchTargetWithResponse(ctx context.Context, identifier Identifier, params *PatchTargetParams, body PatchTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTargetResponse, error)

	// ModifyTarget request with any body
	ModifyTargetWithBodyWithResponse(ctx context.Context, identifier Identifier, params *ModifyTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyTargetResponse, error)

	ModifyTargetWithResponse(ctx context.Context, identifier Identifier, params *ModifyTargetParams, body ModifyTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyTargetResponse, error)

	// GetTargetAvailableSegments request
	GetTargetAvailableSegmentsWithResponse(ctx context.Context, identifier Identifier, params *GetTargetAvailableSegmentsParams, reqEditors ...RequestEditorFn) (*GetTargetAvailableSegmentsResponse, error)

	// GetTargetSegments request
	GetTargetSegmentsWithResponse(ctx context.Context, identifier Identifier, params *GetTargetSegmentsParams, reqEditors ...RequestEditorFn) (*GetTargetSegmentsResponse, error)

	// GetLicenseUsage request
	GetLicenseUsageWithResponse(ctx context.Context, params *GetLicenseUsageParams, reqEditors ...RequestEditorFn) (*GetLicenseUsageResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CommitMsgQueryParam

type CommitMsgQueryParam = string

CommitMsgQueryParam defines model for commitMsgQueryParam.

type Conflict

type Conflict = Error

Conflict defines model for Conflict.

type CreateEnvironmentJSONRequestBody

type CreateEnvironmentJSONRequestBody EnvironmentRequest

CreateEnvironmentJSONRequestBody defines body for CreateEnvironment for application/json ContentType.

type CreateEnvironmentParams

type CreateEnvironmentParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

CreateEnvironmentParams defines parameters for CreateEnvironment.

type CreateEnvironmentResponse

type CreateEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseCreateEnvironmentResponse

func ParseCreateEnvironmentResponse(rsp *http.Response) (*CreateEnvironmentResponse, error)

ParseCreateEnvironmentResponse parses an HTTP response from a CreateEnvironmentWithResponse call

func (CreateEnvironmentResponse) Status

func (r CreateEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (CreateEnvironmentResponse) StatusCode

func (r CreateEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateFeatureFlagJSONRequestBody

type CreateFeatureFlagJSONRequestBody FeatureFlagRequest

CreateFeatureFlagJSONRequestBody defines body for CreateFeatureFlag for application/json ContentType.

type CreateFeatureFlagParams

type CreateFeatureFlagParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

CreateFeatureFlagParams defines parameters for CreateFeatureFlag.

type CreateFeatureFlagResponse

type CreateFeatureFlagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *FeatureResponseMetadata
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON424      *Error
	JSON500      *Error
}

func ParseCreateFeatureFlagResponse

func ParseCreateFeatureFlagResponse(rsp *http.Response) (*CreateFeatureFlagResponse, error)

ParseCreateFeatureFlagResponse parses an HTTP response from a CreateFeatureFlagWithResponse call

func (CreateFeatureFlagResponse) Status

func (r CreateFeatureFlagResponse) Status() string

Status returns HTTPResponse.Status

func (CreateFeatureFlagResponse) StatusCode

func (r CreateFeatureFlagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateFlagPipelineJSONRequestBody

type CreateFlagPipelineJSONRequestBody FeaturePipelineRequest

CreateFlagPipelineJSONRequestBody defines body for CreateFlagPipeline for application/json ContentType.

type CreateFlagPipelineParams

type CreateFlagPipelineParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

CreateFlagPipelineParams defines parameters for CreateFlagPipeline.

type CreateFlagPipelineResponse

type CreateFlagPipelineResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseCreateFlagPipelineResponse

func ParseCreateFlagPipelineResponse(rsp *http.Response) (*CreateFlagPipelineResponse, error)

ParseCreateFlagPipelineResponse parses an HTTP response from a CreateFlagPipelineWithResponse call

func (CreateFlagPipelineResponse) Status

Status returns HTTPResponse.Status

func (CreateFlagPipelineResponse) StatusCode

func (r CreateFlagPipelineResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGitRepoJSONRequestBody

type CreateGitRepoJSONRequestBody GitRepoRequest

CreateGitRepoJSONRequestBody defines body for CreateGitRepo for application/json ContentType.

type CreateGitRepoParams

type CreateGitRepoParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

CreateGitRepoParams defines parameters for CreateGitRepo.

type CreateGitRepoResponse

type CreateGitRepoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseCreateGitRepoResponse

func ParseCreateGitRepoResponse(rsp *http.Response) (*CreateGitRepoResponse, error)

ParseCreateGitRepoResponse parses an HTTP response from a CreateGitRepoWithResponse call

func (CreateGitRepoResponse) Status

func (r CreateGitRepoResponse) Status() string

Status returns HTTPResponse.Status

func (CreateGitRepoResponse) StatusCode

func (r CreateGitRepoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProjectJSONRequestBody

type CreateProjectJSONRequestBody ProjectRequest

CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.

type CreateProjectParams

type CreateProjectParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

CreateProjectParams defines parameters for CreateProject.

type CreateProjectResponse

type CreateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseCreateProjectResponse

func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)

ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call

func (CreateProjectResponse) Status

func (r CreateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (CreateProjectResponse) StatusCode

func (r CreateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSegmentJSONRequestBody

type CreateSegmentJSONRequestBody SegmentRequest

CreateSegmentJSONRequestBody defines body for CreateSegment for application/json ContentType.

type CreateSegmentParams

type CreateSegmentParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

CreateSegmentParams defines parameters for CreateSegment.

type CreateSegmentResponse

type CreateSegmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseCreateSegmentResponse

func ParseCreateSegmentResponse(rsp *http.Response) (*CreateSegmentResponse, error)

ParseCreateSegmentResponse parses an HTTP response from a CreateSegmentWithResponse call

func (CreateSegmentResponse) Status

func (r CreateSegmentResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSegmentResponse) StatusCode

func (r CreateSegmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTargetJSONRequestBody

type CreateTargetJSONRequestBody = TargetRequest

CreateTargetJSONRequestBody defines body for CreateTarget for application/json ContentType.

type CreateTargetParams

type CreateTargetParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

CreateTargetParams defines parameters for CreateTarget.

type CreateTargetResponse

type CreateTargetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseCreateTargetResponse

func ParseCreateTargetResponse(rsp *http.Response) (*CreateTargetResponse, error)

ParseCreateTargetResponse parses an HTTP response from a CreateTargetWithResponse call

func (CreateTargetResponse) Status

func (r CreateTargetResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTargetResponse) StatusCode

func (r CreateTargetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAPIKeyParams

type DeleteAPIKeyParams struct {
	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

DeleteAPIKeyParams defines parameters for DeleteAPIKey.

type DeleteAPIKeyResponse

type DeleteAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseDeleteAPIKeyResponse

func ParseDeleteAPIKeyResponse(rsp *http.Response) (*DeleteAPIKeyResponse, error)

ParseDeleteAPIKeyResponse parses an HTTP response from a DeleteAPIKeyWithResponse call

func (DeleteAPIKeyResponse) Status

func (r DeleteAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAPIKeyResponse) StatusCode

func (r DeleteAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteEnvironmentParams

type DeleteEnvironmentParams struct {
	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

DeleteEnvironmentParams defines parameters for DeleteEnvironment.

type DeleteEnvironmentResponse

type DeleteEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseDeleteEnvironmentResponse

func ParseDeleteEnvironmentResponse(rsp *http.Response) (*DeleteEnvironmentResponse, error)

ParseDeleteEnvironmentResponse parses an HTTP response from a DeleteEnvironmentWithResponse call

func (DeleteEnvironmentResponse) Status

func (r DeleteEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteEnvironmentResponse) StatusCode

func (r DeleteEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFeatureFlagParams

type DeleteFeatureFlagParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Git commit message
	CommitMsg *CommitMsgQueryParam `form:"commitMsg,omitempty" json:"commitMsg,omitempty"`

	// Permanently deletes the the feature flag
	ForceDelete *ForceDeleteQueryParam `form:"forceDelete,omitempty" json:"forceDelete,omitempty"`
}

DeleteFeatureFlagParams defines parameters for DeleteFeatureFlag.

type DeleteFeatureFlagResponse

type DeleteFeatureFlagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON424      *Error
	JSON500      *Error
}

func ParseDeleteFeatureFlagResponse

func ParseDeleteFeatureFlagResponse(rsp *http.Response) (*DeleteFeatureFlagResponse, error)

ParseDeleteFeatureFlagResponse parses an HTTP response from a DeleteFeatureFlagWithResponse call

func (DeleteFeatureFlagResponse) Status

func (r DeleteFeatureFlagResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteFeatureFlagResponse) StatusCode

func (r DeleteFeatureFlagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFeaturePipelineParams

type DeleteFeaturePipelineParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

DeleteFeaturePipelineParams defines parameters for DeleteFeaturePipeline.

type DeleteFeaturePipelineResponse

type DeleteFeaturePipelineResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseDeleteFeaturePipelineResponse

func ParseDeleteFeaturePipelineResponse(rsp *http.Response) (*DeleteFeaturePipelineResponse, error)

ParseDeleteFeaturePipelineResponse parses an HTTP response from a DeleteFeaturePipelineWithResponse call

func (DeleteFeaturePipelineResponse) Status

Status returns HTTPResponse.Status

func (DeleteFeaturePipelineResponse) StatusCode

func (r DeleteFeaturePipelineResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGitRepoParams

type DeleteGitRepoParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

DeleteGitRepoParams defines parameters for DeleteGitRepo.

type DeleteGitRepoResponse

type DeleteGitRepoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseDeleteGitRepoResponse

func ParseDeleteGitRepoResponse(rsp *http.Response) (*DeleteGitRepoResponse, error)

ParseDeleteGitRepoResponse parses an HTTP response from a DeleteGitRepoWithResponse call

func (DeleteGitRepoResponse) Status

func (r DeleteGitRepoResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteGitRepoResponse) StatusCode

func (r DeleteGitRepoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectParams

type DeleteProjectParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

DeleteProjectParams defines parameters for DeleteProject.

type DeleteProjectResponse

type DeleteProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseDeleteProjectResponse

func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)

ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call

func (DeleteProjectResponse) Status

func (r DeleteProjectResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteProjectResponse) StatusCode

func (r DeleteProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSegmentParams

type DeleteSegmentParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

DeleteSegmentParams defines parameters for DeleteSegment.

type DeleteSegmentResponse

type DeleteSegmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseDeleteSegmentResponse

func ParseDeleteSegmentResponse(rsp *http.Response) (*DeleteSegmentResponse, error)

ParseDeleteSegmentResponse parses an HTTP response from a DeleteSegmentWithResponse call

func (DeleteSegmentResponse) Status

func (r DeleteSegmentResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSegmentResponse) StatusCode

func (r DeleteSegmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTargetParams

type DeleteTargetParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

DeleteTargetParams defines parameters for DeleteTarget.

type DeleteTargetResponse

type DeleteTargetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseDeleteTargetResponse

func ParseDeleteTargetResponse(rsp *http.Response) (*DeleteTargetResponse, error)

ParseDeleteTargetResponse parses an HTTP response from a DeleteTargetWithResponse call

func (DeleteTargetResponse) Status

func (r DeleteTargetResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTargetResponse) StatusCode

func (r DeleteTargetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Distribution

type Distribution struct {
	// The attribute to use when distributing targets across buckets
	BucketBy string `json:"bucketBy"`

	// A list of variations and the weight that should be given to each
	Variations []WeightedVariation `json:"variations"`
}

Describes a distribution rule

type EndTimeQueryParam

type EndTimeQueryParam = int

EndTimeQueryParam defines model for endTimeQueryParam.

type Environment

type Environment struct {
	// A list of API Keys
	ApiKeys ApiKeys `json:"apiKeys"`

	// A description for this Environment
	Description *string `json:"description,omitempty"`

	// The Environment internal ID
	Id *string `json:"id,omitempty"`

	// The Environment identifier
	Identifier string `json:"identifier"`

	// The user friendly name of the Environment
	Name string `json:"name"`

	// The project for this Environment
	Project string `json:"project"`
	Tags    *[]Tag `json:"tags,omitempty"`
}

Environment Response

type EnvironmentOptionalQueryParam

type EnvironmentOptionalQueryParam = string

EnvironmentOptionalQueryParam defines model for environmentOptionalQueryParam.

type EnvironmentQueryParam

type EnvironmentQueryParam = string

EnvironmentQueryParam defines model for environmentQueryParam.

type EnvironmentRequest

type EnvironmentRequest struct {
	Description *string `json:"description,omitempty"`
	Identifier  string  `json:"identifier"`
	Name        string  `json:"name"`
	Project     string  `json:"project"`
	Tags        *[]Tag  `json:"tags,omitempty"`
}

EnvironmentRequest defines model for EnvironmentRequest.

type EnvironmentResponse

type EnvironmentResponse struct {
	CorrelationId *string `json:"correlationId,omitempty"`

	// Environment Response
	Data     *Environment            `json:"data,omitempty"`
	MetaData *map[string]interface{} `json:"metaData,omitempty"`

	// Indicates if the request was successful or not
	Status *Status `json:"status,omitempty"`
}

EnvironmentResponse defines model for EnvironmentResponse.

type Environments

type Environments struct {
	Environments *[]Environment `json:"environments,omitempty"`
}

A list of Environments

type EnvironmentsResponse

type EnvironmentsResponse struct {
	CorrelationId string `json:"correlationId"`

	// A list of Environments
	Data     Environments            `json:"data"`
	MetaData *map[string]interface{} `json:"metaData,omitempty"`

	// Indicates if the request was successful or not
	Status Status `json:"status"`
}

EnvironmentsResponse defines model for EnvironmentsResponse.

type Error

type Error struct {
	// The http error code
	Code string `json:"code"`

	// Additional details about the error
	Details *map[string]interface{} `json:"details,omitempty"`

	// The reason the request failed
	Message string `json:"message"`
}

Error defines model for Error.

type ExcludedFeaturesOptionalParam

type ExcludedFeaturesOptionalParam = string

ExcludedFeaturesOptionalParam defines model for excludedFeaturesOptionalParam.

type Feature

type Feature struct {
	// Indicates if the flag has been archived and is no longer used
	Archived *bool `json:"archived,omitempty"`

	// The date the flag was created in milliseconds
	CreatedAt int64 `json:"createdAt"`

	// The default value returned when a flag is off
	DefaultOffVariation string `json:"defaultOffVariation"`

	// The default value returned when a flag is on
	DefaultOnVariation string `json:"defaultOnVariation"`

	// A description for this flag
	Description *string `json:"description,omitempty"`

	// The Feature Flag rules for a given environment
	EnvProperties *struct {
		// Describe the distribution rule and the variation that should be served to the target
		DefaultServe Serve `json:"defaultServe"`

		// The environment identifier
		Environment string `json:"environment"`

		// Indicates whether jira functionality is enabled for the given account, project, org, and environment
		JiraEnabled *bool `json:"jiraEnabled,omitempty"`

		// An array of Jira Issues linked to this Feature. Returns empty if none exist
		JiraIssues *[]JiraIssue `json:"jiraIssues,omitempty"`

		// The last time the flag was modified in this environment
		ModifiedAt *int64 `json:"modifiedAt,omitempty"`

		// The variation to serve for this flag in this environment when the flag is off
		OffVariation       string `json:"offVariation"`
		PipelineConfigured bool   `json:"pipelineConfigured"`

		// A pipeline configured to update a feature
		PipelineDetails     *FeaturePipeline `json:"pipelineDetails,omitempty"`
		PipelineErrorReason *string          `json:"pipelineErrorReason,omitempty"`
		PipelineErrorState  *bool            `json:"pipelineErrorState,omitempty"`

		// A list of rules to use when evaluating this flag in this environment
		Rules *[]ServingRule `json:"rules,omitempty"`

		// The state of a flag either off or on
		State FeatureState `json:"state"`

		// A list of the variations that will be served to specific targets or target groups in an environment.
		VariationMap *[]VariationMap `json:"variationMap,omitempty"`

		// The version of the flag.  This is incremented each time it is changed
		Version *int64 `json:"version,omitempty"`
	} `json:"envProperties,omitempty"`

	// The value that the flag will return for the current user
	Evaluation *string `json:"evaluation,omitempty"`

	// The identifier for the returned evaluation
	EvaluationIdentifier *string `json:"evaluationIdentifier,omitempty"`

	// The Feature Flag identifier
	Identifier string `json:"identifier"`

	// The type of Feature flag
	Kind FeatureKind `json:"kind"`

	// The date the flag was last modified in milliseconds
	ModifiedAt *int64 `json:"modifiedAt,omitempty"`

	// The name of the Feature Flag
	Name string `json:"name"`

	// The user who created the flag
	Owner *[]string `json:"owner,omitempty"`

	// Indicates if this is a permanent flag, or one that should expire
	Permanent     *bool           `json:"permanent,omitempty"`
	Prerequisites *[]Prerequisite `json:"prerequisites,omitempty"`

	// The project this Feature belongs to
	Project string `json:"project"`

	// The results shows which variations have been evaluated, and how many times each of these have been evaluated.
	Results *[]Results `json:"results,omitempty"`

	// A list of services linked to this Feature Flag
	Services *[]Service `json:"services,omitempty"`

	// Indicates when the flag was last evaluated
	Status *FeatureStatus `json:"status,omitempty"`

	// A list of tags for this Feature Flag
	Tags *[]Tag `json:"tags,omitempty"`

	// The variations that can be returned for this flag
	Variations []Variation `json:"variations"`
}

A Feature Flag response

type FeatureAvailablePipeline

type FeatureAvailablePipeline struct {
	// creation date in milliseconds
	CreatedAt *int `json:"createdAt,omitempty"`

	// The description of the pipeline
	Description *string `json:"description,omitempty"`

	// The identifier of the pipeline
	Identifier string `json:"identifier"`

	// last updated date in milliseconds
	LastUpdatedAt *int `json:"lastUpdatedAt,omitempty"`

	// The name of the pipeline
	Name string `json:"name"`
}

A Feature Flag pipeline is a pipeline that is able to perform a flag update

type FeatureAvailablePipelines

type FeatureAvailablePipelines struct {
	AvailablePipelines []FeatureAvailablePipeline `json:"availablePipelines"`

	// The total number of items
	ItemCount int `json:"itemCount"`

	// The total number of pages
	PageCount int `json:"pageCount"`

	// The current page
	PageIndex int `json:"pageIndex"`

	// The number of items per page
	PageSize int `json:"pageSize"`

	// The version of this object.  The version will be incremented each time the object is modified
	Version *int `json:"version,omitempty"`
}

FeatureAvailablePipelines defines model for FeatureAvailablePipelines.

type FeatureAvailablePipelinesResponse

type FeatureAvailablePipelinesResponse = FeatureAvailablePipelines

A list of Available Pipelines

type FeatureCounts

type FeatureCounts struct {
	// The total number of flags with a active status in a project/environment
	TotalActive *int `json:"totalActive,omitempty"`

	// The total number of flags that are turned on in a project/environment
	TotalEnabled *int `json:"totalEnabled,omitempty"`

	// The total number of flags in the project/environment
	TotalFeatures *int `json:"totalFeatures,omitempty"`

	// The total number of permanent flags in a project/environment
	TotalPermanent *int `json:"totalPermanent,omitempty"`

	// The total number of flags with a potentially-stale status in a project/environment
	TotalPotentiallyStale *int `json:"totalPotentiallyStale,omitempty"`

	// The total number of flags with a recently-accessed status in a project/environment
	TotalRecentlyAccessed *int `json:"totalRecentlyAccessed,omitempty"`
}

FeatureCounts defines model for FeatureCounts.

type FeatureEditResponse

type FeatureEditResponse = FeatureResponseMetadata

FeatureEditResponse defines model for FeatureEditResponse.

type FeatureEvaluation

type FeatureEvaluation struct {
	// The number of times this variation has been evaluated
	Count *int `json:"count,omitempty"`

	// The date in milliseconds
	Date *int `json:"date,omitempty"`

	// The variation identifier
	VariationIdentifier *string `json:"variationIdentifier,omitempty"`

	// The user friendly name for this variation
	VariationName *string `json:"variationName,omitempty"`
}

A Feature Flag evaluation describes a variation for the flag and the number of times it was evaluated

type FeatureEvaluations

type FeatureEvaluations struct {
	Evaluations *[]FeatureEvaluation `json:"evaluations,omitempty"`
}

A list of Feature Evaluations

type FeatureEvaluationsResponse

type FeatureEvaluationsResponse = FeatureEvaluations

A list of Feature Evaluations

type FeatureFlagRequest

type FeatureFlagRequest struct {
	Archived            *bool   `json:"archived,omitempty"`
	DefaultOffVariation string  `json:"defaultOffVariation"`
	DefaultOnVariation  string  `json:"defaultOnVariation"`
	Description         *string `json:"description,omitempty"`

	// The commit message to use as part of a gitsync operation
	GitDetails    *GitDetails            `json:"gitDetails,omitempty"`
	Identifier    string                 `json:"identifier"`
	Kind          FeatureFlagRequestKind `json:"kind"`
	Name          string                 `json:"name"`
	Owner         *string                `json:"owner,omitempty"`
	Permanent     bool                   `json:"permanent"`
	Prerequisites *[]Prerequisite        `json:"prerequisites,omitempty"`
	Project       string                 `json:"project"`
	Services      *[]Service             `json:"services,omitempty"`
	Tags          *[]Tag                 `json:"tags,omitempty"`
	Variations    []Variation            `json:"variations"`
}

FeatureFlagRequest defines model for FeatureFlagRequest.

type FeatureFlagRequestKind

type FeatureFlagRequestKind string

FeatureFlagRequestKind defines model for FeatureFlagRequestKind.

const (
	FeatureFlagRequestKindBoolean FeatureFlagRequestKind = "boolean"
	FeatureFlagRequestKindInt     FeatureFlagRequestKind = "int"
	FeatureFlagRequestKindJson    FeatureFlagRequestKind = "json"
	FeatureFlagRequestKindString  FeatureFlagRequestKind = "string"
)

Defines values for FeatureFlagRequestKind.

type FeatureFlagsYaml

type FeatureFlagsYaml struct {
	// The yaml payload describing the feature flags configuration
	Yaml string `json:"yaml"`
}

Feature flags yaml for a project

type FeatureIDs

type FeatureIDs = []string

FeatureIDs defines model for featureIDs.

type FeatureKind

type FeatureKind string

The type of Feature flag

const (
	FeatureKindBoolean FeatureKind = "boolean"
	FeatureKindInt     FeatureKind = "int"
	FeatureKindJson    FeatureKind = "json"
	FeatureKindString  FeatureKind = "string"
)

Defines values for FeatureKind.

type FeatureMetric

type FeatureMetric struct {
	// The feature flag identifier
	Identifier *string `json:"identifier,omitempty"`

	// The name of the feature flag
	Name    *string    `json:"name,omitempty"`
	Results *[]Results `json:"results,omitempty"`

	// Indicates when the flag was last evaluated
	Status *FeatureStatus `json:"status,omitempty"`
}

FeatureMetric defines model for FeatureMetric.

type FeatureMetrics

type FeatureMetrics = []FeatureMetric

A list of FeatureMetrics

type FeatureMetricsResponse

type FeatureMetricsResponse = FeatureMetrics

A list of FeatureMetrics

type FeaturePatchRequest

type FeaturePatchRequest = GitSyncPatchOperation

FeaturePatchRequest defines model for FeaturePatchRequest.

type FeaturePipeline

type FeaturePipeline struct {
	// creation date in milliseconds
	CreatedAt *int `json:"createdAt,omitempty"`

	// The description of the pipeline
	Description *string `json:"description,omitempty"`

	// The identifier of the pipeline
	Identifier string `json:"identifier"`

	// last updated date in milliseconds
	LastUpdatedAt *int `json:"lastUpdatedAt,omitempty"`

	// The name of the pipeline
	Name string `json:"name"`
}

A pipeline configured to update a feature

type FeaturePipelineExecution

type FeaturePipelineExecution struct {
	// created date in milliseconds
	CreatedAt int `json:"createdAt"`

	// timestamp of the end of the pipeline execution in milliseconds
	EndTs *int `json:"endTs,omitempty"`

	// The environment of the pipeline execution
	Environment string `json:"environment"`

	// The error info of the pipeline execution
	ExecutionErrorInfo *string `json:"executionErrorInfo,omitempty"`

	// The id of the pipeline execution
	ExecutionId string `json:"executionId"`

	// The number of failed stages in the pipeline execution
	FailedStagesCount *int `json:"failedStagesCount,omitempty"`

	// The id of the pipeline sequence
	RunSequence *int `json:"runSequence,omitempty"`

	// The number of running stages in the pipeline execution
	RunningStagesCount *int `json:"runningStagesCount,omitempty"`

	// timestamp of the start of the pipeline execution in milliseconds
	StartTs *int `json:"startTs,omitempty"`

	// The status of the pipeline execution
	Status string `json:"status"`

	// The number of succeeded stages in the pipeline execution
	SucceededStagesCount *int `json:"succeededStagesCount,omitempty"`

	// The number of stages in the pipeline execution
	TotalStagesCount *int `json:"totalStagesCount,omitempty"`

	// The trigger details of the pipeline execution
	TriggerDetails struct {
		// Describe the distribution rule and the variation that should be served to the target
		DefaultOffVariation *Serve `json:"defaultOffVariation,omitempty"`

		// Describe the distribution rule and the variation that should be served to the target
		DefaultServe *Serve `json:"defaultServe,omitempty"`

		// A list of rules to use when evaluating this flag in this environment
		Rules *[]ServingRule `json:"rules,omitempty"`

		// The state of a flag either off or on
		State *FeatureState `json:"state,omitempty"`

		// A list of the variations that will be served to specific targets or target groups in an environment.
		VariationMap *[]VariationMap `json:"variationMap,omitempty"`
	} `json:"triggerDetails"`

	// The user who triggered the pipeline execution
	TriggeredBy *string `json:"triggeredBy,omitempty"`
}

A pipeline execution to edit a feature

type FeaturePipelineRequest

type FeaturePipelineRequest struct {
	PipelineIdentifier string `json:"pipelineIdentifier"`
	PipelineName       string `json:"pipelineName"`
}

FeaturePipelineRequest defines model for FeaturePipelineRequest.

type FeaturePipelineResp

type FeaturePipelineResp struct {
	ExecutionHistory   *[]FeaturePipelineExecution `json:"executionHistory,omitempty"`
	PipelineConfigured bool                        `json:"pipelineConfigured"`

	// A pipeline configured to update a feature
	PipelineDetails     *FeaturePipeline `json:"pipelineDetails,omitempty"`
	PipelineErrorReason *string          `json:"pipelineErrorReason,omitempty"`
	PipelineErrorState  *bool            `json:"pipelineErrorState,omitempty"`
}

FeaturePipelineResp defines model for FeaturePipelineResp.

type FeaturePipelineResponse

type FeaturePipelineResponse = FeaturePipelineResp

FeaturePipelineResponse defines model for FeaturePipelineResponse.

type FeatureResponse

type FeatureResponse = Feature

A Feature Flag response

type FeatureResponseMetadata

type FeatureResponseMetadata struct {
	// Additional metadata about the request
	Details *struct {
		// Summary of governance checks including any warnings
		GovernanceMetadata *map[string]interface{} `json:"governanceMetadata,omitempty"`

		// Info about the pipeline whether a pipeline was triggered
		PipelineMetadata *struct {
			// The ID of the pipeline execution
			PipelineExecutionId *string `json:"pipelineExecutionId,omitempty"`

			// Whether a pipeline was triggered
			PipelineTriggered *bool `json:"pipelineTriggered,omitempty"`
		} `json:"pipelineMetadata,omitempty"`
	} `json:"details,omitempty"`
}

FeatureResponseMetadata defines model for FeatureResponseMetadata.

type FeatureState

type FeatureState string

The state of a flag either off or on

const (
	Off FeatureState = "off"
	On  FeatureState = "on"
)

Defines values for FeatureState.

type FeatureStatus

type FeatureStatus struct {
	LastAccess int                 `json:"lastAccess"`
	Status     FeatureStatusStatus `json:"status"`
}

Indicates when the flag was last evaluated

type FeatureStatusStatus

type FeatureStatusStatus string

FeatureStatusStatus defines model for FeatureStatus.Status.

const (
	Active         FeatureStatusStatus = "active"
	Inactive       FeatureStatusStatus = "inactive"
	NeverRequested FeatureStatusStatus = "never-requested"
)

Defines values for FeatureStatusStatus.

type FeatureYamlRequest

type FeatureYamlRequest = FeatureFlagsYaml

Feature flags yaml for a project

type FeatureYamlResponse

type FeatureYamlResponse = FeatureFlagsYaml

Feature flags yaml for a project

type Features

type Features struct {
	FeatureCounts *FeatureCounts `json:"featureCounts,omitempty"`
	Features      *[]Feature     `json:"features,omitempty"`

	// The total number of items
	ItemCount int `json:"itemCount"`

	// The total number of pages
	PageCount int `json:"pageCount"`

	// The current page
	PageIndex int `json:"pageIndex"`

	// The number of items per page
	PageSize int `json:"pageSize"`

	// The version of this object.  The version will be incremented each time the object is modified
	Version *int `json:"version,omitempty"`
}

Features defines model for Features.

type FeaturesOptionalParam

type FeaturesOptionalParam = string

FeaturesOptionalParam defines model for featuresOptionalParam.

type FeaturesResponse

type FeaturesResponse = Features

A list of Feature Flags

type FlagBasicInfo

type FlagBasicInfo struct {
	// The flag identifier
	Identifier string `json:"identifier"`

	// The user friendly flag name
	Name string `json:"name"`
}

A flag Identifier and name

type FlagBasicInfos

type FlagBasicInfos struct {
	FeatureFlags *[]FlagBasicInfo `json:"featureFlags,omitempty"`

	// The total number of items
	ItemCount int `json:"itemCount"`

	// The total number of pages
	PageCount int `json:"pageCount"`

	// The current page
	PageIndex int `json:"pageIndex"`

	// The number of items per page
	PageSize int `json:"pageSize"`

	// The version of this object.  The version will be incremented each time the object is modified
	Version *int `json:"version,omitempty"`
}

FlagBasicInfos defines model for FlagBasicInfos.

type FlagCounts

type FlagCounts = bool

FlagCounts defines model for flagCounts.

type FlagEnabled

type FlagEnabled = bool

FlagEnabled defines model for flagEnabled.

type FlagEnvironment

type FlagEnvironment struct {
	// The name of the environment
	Name string `json:"name"`
}

FlagEnvironment defines model for FlagEnvironment.

type FlagEnvironmentState

type FlagEnvironmentState struct {
	// Boolean representing whether a flag is enabled in the environment
	Enabled bool `json:"enabled"`
}

FlagEnvironmentState defines model for FlagEnvironmentState.

type FlagLifetime

type FlagLifetime = string

FlagLifetime defines model for flagLifetime.

type FlagNameQueryParam

type FlagNameQueryParam = string

FlagNameQueryParam defines model for flagNameQueryParam.

type FlagState

type FlagState struct {
	// The date the flag was created in milliseconds
	CreatedAt int64 `json:"createdAt"`

	// The flags description
	Description  string                 `json:"description"`
	Environments FlagState_Environments `json:"environments"`

	// The flags identifier
	Identifier string `json:"identifier"`

	// The flags name
	Name string `json:"name"`
}

Flag object with its state in each environment

type FlagState_Environments

type FlagState_Environments struct {
	AdditionalProperties map[string]FlagEnvironmentState `json:"-"`
}

FlagState_Environments defines model for FlagState.Environments.

func (FlagState_Environments) Get

func (a FlagState_Environments) Get(fieldName string) (value FlagEnvironmentState, found bool)

Getter for additional properties for FlagState_Environments. Returns the specified element and whether it was found

func (FlagState_Environments) MarshalJSON

func (a FlagState_Environments) MarshalJSON() ([]byte, error)

Override default JSON handling for FlagState_Environments to handle AdditionalProperties

func (*FlagState_Environments) Set

func (a *FlagState_Environments) Set(fieldName string, value FlagEnvironmentState)

Setter for additional properties for FlagState_Environments

func (*FlagState_Environments) UnmarshalJSON

func (a *FlagState_Environments) UnmarshalJSON(b []byte) error

Override default JSON handling for FlagState_Environments to handle AdditionalProperties

type FlagStatus

type FlagStatus = string

FlagStatus defines model for flagStatus.

type FlagSummary

type FlagSummary = bool

FlagSummary defines model for flagSummary.

type ForceDeleteQueryParam

type ForceDeleteQueryParam = bool

ForceDeleteQueryParam defines model for forceDeleteQueryParam.

type GetAPIKeyParams

type GetAPIKeyParams struct {
	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

GetAPIKeyParams defines parameters for GetAPIKey.

type GetAPIKeyResponse

type GetAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKey
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetAPIKeyResponse

func ParseGetAPIKeyResponse(rsp *http.Response) (*GetAPIKeyResponse, error)

ParseGetAPIKeyResponse parses an HTTP response from a GetAPIKeyWithResponse call

func (GetAPIKeyResponse) Status

func (r GetAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetAPIKeyResponse) StatusCode

func (r GetAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllAPIKeysParams

type GetAllAPIKeysParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetAllAPIKeysParams defines parameters for GetAllAPIKeys.

type GetAllAPIKeysResponse

type GetAllAPIKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKeys
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetAllAPIKeysResponse

func ParseGetAllAPIKeysResponse(rsp *http.Response) (*GetAllAPIKeysResponse, error)

ParseGetAllAPIKeysResponse parses an HTTP response from a GetAllAPIKeysWithResponse call

func (GetAllAPIKeysResponse) Status

func (r GetAllAPIKeysResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllAPIKeysResponse) StatusCode

func (r GetAllAPIKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllEnvironmentsParams

type GetAllEnvironmentsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// SortOrder
	SortOrder *GetAllEnvironmentsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortByField
	SortByField *GetAllEnvironmentsParamsSortByField `form:"sortByField,omitempty" json:"sortByField,omitempty"`
}

GetAllEnvironmentsParams defines parameters for GetAllEnvironments.

type GetAllEnvironmentsParamsSortByField

type GetAllEnvironmentsParamsSortByField string

GetAllEnvironmentsParamsSortByField defines parameters for GetAllEnvironments.

type GetAllEnvironmentsParamsSortOrder

type GetAllEnvironmentsParamsSortOrder string

GetAllEnvironmentsParamsSortOrder defines parameters for GetAllEnvironments.

type GetAllEnvironmentsResponse

type GetAllEnvironmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CorrelationId string `json:"correlationId"`

		// A list of Environments
		Data     Environments            `json:"data"`
		MetaData *map[string]interface{} `json:"metaData,omitempty"`

		// Indicates if the request was successful or not
		Status Status `json:"status"`
	}
	JSON401 *Error
	JSON403 *Error
	JSON404 *Error
	JSON500 *Error
}

func ParseGetAllEnvironmentsResponse

func ParseGetAllEnvironmentsResponse(rsp *http.Response) (*GetAllEnvironmentsResponse, error)

ParseGetAllEnvironmentsResponse parses an HTTP response from a GetAllEnvironmentsWithResponse call

func (GetAllEnvironmentsResponse) Status

Status returns HTTPResponse.Status

func (GetAllEnvironmentsResponse) StatusCode

func (r GetAllEnvironmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllFeaturesParams

type GetAllFeaturesParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment
	EnvironmentIdentifier *EnvironmentOptionalQueryParam `form:"environmentIdentifier,omitempty" json:"environmentIdentifier,omitempty"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// SortOrder
	SortOrder *GetAllFeaturesParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortByField
	SortByField *GetAllFeaturesParamsSortByField `form:"sortByField,omitempty" json:"sortByField,omitempty"`

	// Name of the field
	Name *NameQueryParam `form:"name,omitempty" json:"name,omitempty"`

	// Identifier of the field
	Identifier *IdentifierQueryParam `form:"identifier,omitempty" json:"identifier,omitempty"`

	// Status of the feature flag
	Archived *ArchivedQueryParam `form:"archived,omitempty" json:"archived,omitempty"`

	// Kind of the feature flag
	Kind *GetAllFeaturesParamsKind `form:"kind,omitempty" json:"kind,omitempty"`

	// Identifier of a target
	TargetIdentifier *TargetOptionalParam `form:"targetIdentifier,omitempty" json:"targetIdentifier,omitempty"`

	// Identifier of the target to filter on
	TargetIdentifierFilter *TargetFilterOptionalParam `form:"targetIdentifierFilter,omitempty" json:"targetIdentifierFilter,omitempty"`

	// Parameter to indicate if metrics data is requested in response
	Metrics *MetricsOptionalParam `form:"metrics,omitempty" json:"metrics,omitempty"`

	// Comma separated identifiers for multiple Features
	FeatureIdentifiers *FeaturesOptionalParam `form:"featureIdentifiers,omitempty" json:"featureIdentifiers,omitempty"`

	// Comma separated identifiers to exclude from the response
	ExcludedFeatures *ExcludedFeaturesOptionalParam `form:"excludedFeatures,omitempty" json:"excludedFeatures,omitempty"`

	// Filter for flags based on their status (active,never-requested,recently-accessed,potentially-stale)
	Status *FlagStatus `form:"status,omitempty" json:"status,omitempty"`

	// Filter for flags based on their lifetime (permanent/temporary)
	Lifetime *FlagLifetime `form:"lifetime,omitempty" json:"lifetime,omitempty"`

	// Filter for flags based on if they are enabled or disabled
	Enabled *FlagEnabled `form:"enabled,omitempty" json:"enabled,omitempty"`

	// Returns counts for the different types of flags e.g num active, potentially-stale, recently-accessed etc
	FlagCounts *FlagCounts `form:"flagCounts,omitempty" json:"flagCounts,omitempty"`

	// Returns summary info on flags if set to true
	Summary *FlagSummary `form:"summary,omitempty" json:"summary,omitempty"`
}

GetAllFeaturesParams defines parameters for GetAllFeatures.

type GetAllFeaturesParamsKind

type GetAllFeaturesParamsKind string

GetAllFeaturesParamsKind defines parameters for GetAllFeatures.

type GetAllFeaturesParamsSortByField

type GetAllFeaturesParamsSortByField string

GetAllFeaturesParamsSortByField defines parameters for GetAllFeatures.

type GetAllFeaturesParamsSortOrder

type GetAllFeaturesParamsSortOrder string

GetAllFeaturesParamsSortOrder defines parameters for GetAllFeatures.

type GetAllFeaturesResponse

type GetAllFeaturesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Features
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetAllFeaturesResponse

func ParseGetAllFeaturesResponse(rsp *http.Response) (*GetAllFeaturesResponse, error)

ParseGetAllFeaturesResponse parses an HTTP response from a GetAllFeaturesWithResponse call

func (GetAllFeaturesResponse) Status

func (r GetAllFeaturesResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllFeaturesResponse) StatusCode

func (r GetAllFeaturesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllProjectsParams

type GetAllProjectsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// SortOrder
	SortOrder *GetAllProjectsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortByField
	SortByField *GetAllProjectsParamsSortByField `form:"sortByField,omitempty" json:"sortByField,omitempty"`
}

GetAllProjectsParams defines parameters for GetAllProjects.

type GetAllProjectsParamsSortByField

type GetAllProjectsParamsSortByField string

GetAllProjectsParamsSortByField defines parameters for GetAllProjects.

type GetAllProjectsParamsSortOrder

type GetAllProjectsParamsSortOrder string

GetAllProjectsParamsSortOrder defines parameters for GetAllProjects.

type GetAllProjectsResponse

type GetAllProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CorrelationId *string `json:"correlationId,omitempty"`

		// A list of projects
		Data     *Projects               `json:"data,omitempty"`
		MetaData *map[string]interface{} `json:"metaData,omitempty"`

		// Indicates if the request was successful or not
		Status *Status `json:"status,omitempty"`
	}
	JSON401 *Error
	JSON403 *Error
	JSON404 *Error
	JSON500 *Error
}

func ParseGetAllProjectsResponse

func ParseGetAllProjectsResponse(rsp *http.Response) (*GetAllProjectsResponse, error)

ParseGetAllProjectsResponse parses an HTTP response from a GetAllProjectsWithResponse call

func (GetAllProjectsResponse) Status

func (r GetAllProjectsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllProjectsResponse) StatusCode

func (r GetAllProjectsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllSegmentsParams

type GetAllSegmentsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// SortOrder
	SortOrder *GetAllSegmentsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortByField
	SortByField *GetAllSegmentsParamsSortByField `form:"sortByField,omitempty" json:"sortByField,omitempty"`

	// Name of the field
	Name *NameQueryParam `form:"name,omitempty" json:"name,omitempty"`

	// Identifier of the field
	Identifier *IdentifierQueryParam `form:"identifier,omitempty" json:"identifier,omitempty"`
}

GetAllSegmentsParams defines parameters for GetAllSegments.

type GetAllSegmentsParamsSortByField

type GetAllSegmentsParamsSortByField string

GetAllSegmentsParamsSortByField defines parameters for GetAllSegments.

type GetAllSegmentsParamsSortOrder

type GetAllSegmentsParamsSortOrder string

GetAllSegmentsParamsSortOrder defines parameters for GetAllSegments.

type GetAllSegmentsResponse

type GetAllSegmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Segments
	JSON401      *Error
	JSON403      *Error
	JSON500      *Error
}

func ParseGetAllSegmentsResponse

func ParseGetAllSegmentsResponse(rsp *http.Response) (*GetAllSegmentsResponse, error)

ParseGetAllSegmentsResponse parses an HTTP response from a GetAllSegmentsWithResponse call

func (GetAllSegmentsResponse) Status

func (r GetAllSegmentsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllSegmentsResponse) StatusCode

func (r GetAllSegmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllTargetAttributesParams

type GetAllTargetAttributesParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

GetAllTargetAttributesParams defines parameters for GetAllTargetAttributes.

type GetAllTargetAttributesResponse

type GetAllTargetAttributesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]string
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetAllTargetAttributesResponse

func ParseGetAllTargetAttributesResponse(rsp *http.Response) (*GetAllTargetAttributesResponse, error)

ParseGetAllTargetAttributesResponse parses an HTTP response from a GetAllTargetAttributesWithResponse call

func (GetAllTargetAttributesResponse) Status

Status returns HTTPResponse.Status

func (GetAllTargetAttributesResponse) StatusCode

func (r GetAllTargetAttributesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllTargetsParams

type GetAllTargetsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// SortOrder
	SortOrder *GetAllTargetsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortByField
	SortByField *GetAllTargetsParamsSortByField `form:"sortByField,omitempty" json:"sortByField,omitempty"`

	// Name of the target
	TargetName *TargetNameQueryParam `form:"targetName,omitempty" json:"targetName,omitempty"`

	// Identifier of the target
	TargetIdentifier *TargetIdentifierQueryParam `form:"targetIdentifier,omitempty" json:"targetIdentifier,omitempty"`
}

GetAllTargetsParams defines parameters for GetAllTargets.

type GetAllTargetsParamsSortByField

type GetAllTargetsParamsSortByField string

GetAllTargetsParamsSortByField defines parameters for GetAllTargets.

type GetAllTargetsParamsSortOrder

type GetAllTargetsParamsSortOrder string

GetAllTargetsParamsSortOrder defines parameters for GetAllTargets.

type GetAllTargetsResponse

type GetAllTargetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Targets
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetAllTargetsResponse

func ParseGetAllTargetsResponse(rsp *http.Response) (*GetAllTargetsResponse, error)

ParseGetAllTargetsResponse parses an HTTP response from a GetAllTargetsWithResponse call

func (GetAllTargetsResponse) Status

func (r GetAllTargetsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllTargetsResponse) StatusCode

func (r GetAllTargetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAuditByParamsParams

type GetAuditByParamsParams struct {
	// Environment
	EnvironmentIdentifier *EnvironmentOptionalQueryParam `form:"environmentIdentifier,omitempty" json:"environmentIdentifier,omitempty"`

	// Project
	ProjectIdentifier *ProjectOptionalQueryParam `form:"projectIdentifier,omitempty" json:"projectIdentifier,omitempty"`

	// Object Type (FeatureActivation Or Segment)
	ObjectType GetAuditByParamsParamsObjectType `form:"objectType" json:"objectType"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Start Time
	StartTime *StartTimeQueryParam `form:"startTime,omitempty" json:"startTime,omitempty"`

	// End Time
	EndTime *EndTimeQueryParam `form:"endTime,omitempty" json:"endTime,omitempty"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// Actor
	Actor *ActorQueryParam `form:"actor,omitempty" json:"actor,omitempty"`

	// Action
	Action *ActionQueryParam `form:"action,omitempty" json:"action,omitempty"`

	// Identifier of the entity
	Identifier *IdentifierOptionalQueryParam `form:"identifier,omitempty" json:"identifier,omitempty"`

	// SortOrder
	SortOrder *GetAuditByParamsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortByField
	SortByField *GetAuditByParamsParamsSortByField `form:"sortByField,omitempty" json:"sortByField,omitempty"`
}

GetAuditByParamsParams defines parameters for GetAuditByParams.

type GetAuditByParamsParamsAction

type GetAuditByParamsParamsAction string

GetAuditByParamsParamsAction defines parameters for GetAuditByParams.

type GetAuditByParamsParamsObjectType

type GetAuditByParamsParamsObjectType string

GetAuditByParamsParamsObjectType defines parameters for GetAuditByParams.

type GetAuditByParamsParamsSortByField

type GetAuditByParamsParamsSortByField string

GetAuditByParamsParamsSortByField defines parameters for GetAuditByParams.

type GetAuditByParamsParamsSortOrder

type GetAuditByParamsParamsSortOrder string

GetAuditByParamsParamsSortOrder defines parameters for GetAuditByParams.

type GetAuditByParamsResponse

type GetAuditByParamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CorrelationId *string `json:"correlationId,omitempty"`

		// A list of Audit Trail events
		Data     *AuditTrails            `json:"data,omitempty"`
		MetaData *map[string]interface{} `json:"metaData,omitempty"`

		// Indicates if the request was successful or not
		Status *Status `json:"status,omitempty"`
	}
	JSON401 *Error
	JSON403 *Error
	JSON500 *Error
}

func ParseGetAuditByParamsResponse

func ParseGetAuditByParamsResponse(rsp *http.Response) (*GetAuditByParamsResponse, error)

ParseGetAuditByParamsResponse parses an HTTP response from a GetAuditByParamsWithResponse call

func (GetAuditByParamsResponse) Status

func (r GetAuditByParamsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAuditByParamsResponse) StatusCode

func (r GetAuditByParamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAvailableFeaturePipelinesParams

type GetAvailableFeaturePipelinesParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Filter for pipelines with specific name
	PipelineName *PipelineNameQueryParam `form:"pipelineName,omitempty" json:"pipelineName,omitempty"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetAvailableFeaturePipelinesParams defines parameters for GetAvailableFeaturePipelines.

type GetAvailableFeaturePipelinesResponse

type GetAvailableFeaturePipelinesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FeatureAvailablePipelines
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetAvailableFeaturePipelinesResponse

func ParseGetAvailableFeaturePipelinesResponse(rsp *http.Response) (*GetAvailableFeaturePipelinesResponse, error)

ParseGetAvailableFeaturePipelinesResponse parses an HTTP response from a GetAvailableFeaturePipelinesWithResponse call

func (GetAvailableFeaturePipelinesResponse) Status

Status returns HTTPResponse.Status

func (GetAvailableFeaturePipelinesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAvailableFlagsForSegmentParams

type GetAvailableFlagsForSegmentParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// SortOrder
	SortOrder *GetAvailableFlagsForSegmentParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortByField
	SortByField *GetAvailableFlagsForSegmentParamsSortByField `form:"sortByField,omitempty" json:"sortByField,omitempty"`

	// Identifier of the feature flag
	FlagNameIdentifier *FlagNameQueryParam `form:"flagNameIdentifier,omitempty" json:"flagNameIdentifier,omitempty"`
}

GetAvailableFlagsForSegmentParams defines parameters for GetAvailableFlagsForSegment.

type GetAvailableFlagsForSegmentParamsSortByField

type GetAvailableFlagsForSegmentParamsSortByField string

GetAvailableFlagsForSegmentParamsSortByField defines parameters for GetAvailableFlagsForSegment.

type GetAvailableFlagsForSegmentParamsSortOrder

type GetAvailableFlagsForSegmentParamsSortOrder string

GetAvailableFlagsForSegmentParamsSortOrder defines parameters for GetAvailableFlagsForSegment.

type GetAvailableFlagsForSegmentResponse

type GetAvailableFlagsForSegmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FlagBasicInfos
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetAvailableFlagsForSegmentResponse

func ParseGetAvailableFlagsForSegmentResponse(rsp *http.Response) (*GetAvailableFlagsForSegmentResponse, error)

ParseGetAvailableFlagsForSegmentResponse parses an HTTP response from a GetAvailableFlagsForSegmentWithResponse call

func (GetAvailableFlagsForSegmentResponse) Status

Status returns HTTPResponse.Status

func (GetAvailableFlagsForSegmentResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetEnvironmentParams

type GetEnvironmentParams struct {
	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

GetEnvironmentParams defines parameters for GetEnvironment.

type GetEnvironmentResponse

type GetEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CorrelationId *string `json:"correlationId,omitempty"`

		// Environment Response
		Data     *Environment            `json:"data,omitempty"`
		MetaData *map[string]interface{} `json:"metaData,omitempty"`

		// Indicates if the request was successful or not
		Status *Status `json:"status,omitempty"`
	}
	JSON401 *Error
	JSON403 *Error
	JSON404 *Error
	JSON500 *Error
}

func ParseGetEnvironmentResponse

func ParseGetEnvironmentResponse(rsp *http.Response) (*GetEnvironmentResponse, error)

ParseGetEnvironmentResponse parses an HTTP response from a GetEnvironmentWithResponse call

func (GetEnvironmentResponse) Status

func (r GetEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (GetEnvironmentResponse) StatusCode

func (r GetEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFeatureEvaluationsParams

type GetFeatureEvaluationsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment
	EnvironmentIdentifier *EnvironmentOptionalQueryParam `form:"environmentIdentifier,omitempty" json:"environmentIdentifier,omitempty"`

	// Start Time
	StartTime *StartTimeQueryParam `form:"startTime,omitempty" json:"startTime,omitempty"`

	// End Time
	EndTime *EndTimeQueryParam `form:"endTime,omitempty" json:"endTime,omitempty"`
}

GetFeatureEvaluationsParams defines parameters for GetFeatureEvaluations.

type GetFeatureEvaluationsResponse

type GetFeatureEvaluationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FeatureEvaluations
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetFeatureEvaluationsResponse

func ParseGetFeatureEvaluationsResponse(rsp *http.Response) (*GetFeatureEvaluationsResponse, error)

ParseGetFeatureEvaluationsResponse parses an HTTP response from a GetFeatureEvaluationsWithResponse call

func (GetFeatureEvaluationsResponse) Status

Status returns HTTPResponse.Status

func (GetFeatureEvaluationsResponse) StatusCode

func (r GetFeatureEvaluationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFeatureFlagParams

type GetFeatureFlagParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment
	EnvironmentIdentifier *EnvironmentOptionalQueryParam `form:"environmentIdentifier,omitempty" json:"environmentIdentifier,omitempty"`

	// Parameter to indicate if metrics data is requested in response
	Metrics *MetricsOptionalParam `form:"metrics,omitempty" json:"metrics,omitempty"`
}

GetFeatureFlagParams defines parameters for GetFeatureFlag.

type GetFeatureFlagResponse

type GetFeatureFlagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Feature
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetFeatureFlagResponse

func ParseGetFeatureFlagResponse(rsp *http.Response) (*GetFeatureFlagResponse, error)

ParseGetFeatureFlagResponse parses an HTTP response from a GetFeatureFlagWithResponse call

func (GetFeatureFlagResponse) Status

func (r GetFeatureFlagResponse) Status() string

Status returns HTTPResponse.Status

func (GetFeatureFlagResponse) StatusCode

func (r GetFeatureFlagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFeatureMetricsParams

type GetFeatureMetricsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// Unique feature identifiers
	FeatureIDs *FeatureIDs `form:"featureIDs,omitempty" json:"featureIDs,omitempty"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// SortOrder
	SortOrder *GetFeatureMetricsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortByField
	SortByField *GetFeatureMetricsParamsSortByField `form:"sortByField,omitempty" json:"sortByField,omitempty"`

	// Name of the field
	Name *NameQueryParam `form:"name,omitempty" json:"name,omitempty"`

	// Identifier of the field
	Identifier *IdentifierQueryParam `form:"identifier,omitempty" json:"identifier,omitempty"`

	// Status of the feature flag
	Archived *ArchivedQueryParam `form:"archived,omitempty" json:"archived,omitempty"`

	// Filter for flags based on their status (active,never-requested,recently-accessed,potentially-stale)
	Status *FlagStatus `form:"status,omitempty" json:"status,omitempty"`

	// Filter for flags based on their lifetime (permanent/temporary)
	Lifetime *FlagLifetime `form:"lifetime,omitempty" json:"lifetime,omitempty"`

	// Filter for flags based on if they are enabled or disabled
	Enabled *FlagEnabled `form:"enabled,omitempty" json:"enabled,omitempty"`
}

GetFeatureMetricsParams defines parameters for GetFeatureMetrics.

type GetFeatureMetricsParamsSortByField

type GetFeatureMetricsParamsSortByField string

GetFeatureMetricsParamsSortByField defines parameters for GetFeatureMetrics.

type GetFeatureMetricsParamsSortOrder

type GetFeatureMetricsParamsSortOrder string

GetFeatureMetricsParamsSortOrder defines parameters for GetFeatureMetrics.

type GetFeatureMetricsResponse

type GetFeatureMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FeatureMetrics
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetFeatureMetricsResponse

func ParseGetFeatureMetricsResponse(rsp *http.Response) (*GetFeatureMetricsResponse, error)

ParseGetFeatureMetricsResponse parses an HTTP response from a GetFeatureMetricsWithResponse call

func (GetFeatureMetricsResponse) Status

func (r GetFeatureMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (GetFeatureMetricsResponse) StatusCode

func (r GetFeatureMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFeaturePipelineParams

type GetFeaturePipelineParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

GetFeaturePipelineParams defines parameters for GetFeaturePipeline.

type GetFeaturePipelineResponse

type GetFeaturePipelineResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FeaturePipelineResp
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetFeaturePipelineResponse

func ParseGetFeaturePipelineResponse(rsp *http.Response) (*GetFeaturePipelineResponse, error)

ParseGetFeaturePipelineResponse parses an HTTP response from a GetFeaturePipelineWithResponse call

func (GetFeaturePipelineResponse) Status

Status returns HTTPResponse.Status

func (GetFeaturePipelineResponse) StatusCode

func (r GetFeaturePipelineResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFlagsYamlParams

type GetFlagsYamlParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`
}

GetFlagsYamlParams defines parameters for GetFlagsYaml.

type GetFlagsYamlResponse

type GetFlagsYamlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FeatureFlagsYaml
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetFlagsYamlResponse

func ParseGetFlagsYamlResponse(rsp *http.Response) (*GetFlagsYamlResponse, error)

ParseGetFlagsYamlResponse parses an HTTP response from a GetFlagsYamlWithResponse call

func (GetFlagsYamlResponse) Status

func (r GetFlagsYamlResponse) Status() string

Status returns HTTPResponse.Status

func (GetFlagsYamlResponse) StatusCode

func (r GetFlagsYamlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGitRepoParams

type GetGitRepoParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

GetGitRepoParams defines parameters for GetGitRepo.

type GetGitRepoResponse

type GetGitRepoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GitRepoResp
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetGitRepoResponse

func ParseGetGitRepoResponse(rsp *http.Response) (*GetGitRepoResponse, error)

ParseGetGitRepoResponse parses an HTTP response from a GetGitRepoWithResponse call

func (GetGitRepoResponse) Status

func (r GetGitRepoResponse) Status() string

Status returns HTTPResponse.Status

func (GetGitRepoResponse) StatusCode

func (r GetGitRepoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJiraIssuesParams

type GetJiraIssuesParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Search term used to filter Jira Issue results by
	SearchTerm JiraIssueSearchQueryParam `form:"searchTerm" json:"searchTerm"`
}

GetJiraIssuesParams defines parameters for GetJiraIssues.

type GetJiraIssuesResponse

type GetJiraIssuesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JiraSearchIssues
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetJiraIssuesResponse

func ParseGetJiraIssuesResponse(rsp *http.Response) (*GetJiraIssuesResponse, error)

ParseGetJiraIssuesResponse parses an HTTP response from a GetJiraIssuesWithResponse call

func (GetJiraIssuesResponse) Status

func (r GetJiraIssuesResponse) Status() string

Status returns HTTPResponse.Status

func (GetJiraIssuesResponse) StatusCode

func (r GetJiraIssuesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLicenseUsageParams

type GetLicenseUsageParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// The timestamp of the result.
	Timestamp *Timestamp `form:"timestamp,omitempty" json:"timestamp,omitempty"`
}

GetLicenseUsageParams defines parameters for GetLicenseUsage.

type GetLicenseUsageResponse

type GetLicenseUsageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CFLicenseUsageDTO
}

func ParseGetLicenseUsageResponse

func ParseGetLicenseUsageResponse(rsp *http.Response) (*GetLicenseUsageResponse, error)

ParseGetLicenseUsageResponse parses an HTTP response from a GetLicenseUsageWithResponse call

func (GetLicenseUsageResponse) Status

func (r GetLicenseUsageResponse) Status() string

Status returns HTTPResponse.Status

func (GetLicenseUsageResponse) StatusCode

func (r GetLicenseUsageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOSByIDResponse

type GetOSByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CorrelationId *string `json:"correlationId,omitempty"`

		// A list of Object Snapshots
		Data     *ObjectSnapshots        `json:"data,omitempty"`
		MetaData *map[string]interface{} `json:"metaData,omitempty"`

		// Indicates if the request was successful or not
		Status *Status `json:"status,omitempty"`
	}
	JSON401 *Error
	JSON403 *Error
	JSON404 *Error
	JSON500 *Error
}

func ParseGetOSByIDResponse

func ParseGetOSByIDResponse(rsp *http.Response) (*GetOSByIDResponse, error)

ParseGetOSByIDResponse parses an HTTP response from a GetOSByIDWithResponse call

func (GetOSByIDResponse) Status

func (r GetOSByIDResponse) Status() string

Status returns HTTPResponse.Status

func (GetOSByIDResponse) StatusCode

func (r GetOSByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectFlagsParams

type GetProjectFlagsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// Name of the field
	Name *NameQueryParam `form:"name,omitempty" json:"name,omitempty"`
}

GetProjectFlagsParams defines parameters for GetProjectFlags.

type GetProjectFlagsResponse

type GetProjectFlagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectFlags
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetProjectFlagsResponse

func ParseGetProjectFlagsResponse(rsp *http.Response) (*GetProjectFlagsResponse, error)

ParseGetProjectFlagsResponse parses an HTTP response from a GetProjectFlagsWithResponse call

func (GetProjectFlagsResponse) Status

func (r GetProjectFlagsResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectFlagsResponse) StatusCode

func (r GetProjectFlagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectParams

type GetProjectParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

GetProjectParams defines parameters for GetProject.

type GetProjectResponse

type GetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CorrelationId *string `json:"correlationId,omitempty"`

		// A project response
		Data     *Project                `json:"data,omitempty"`
		MetaData *map[string]interface{} `json:"metaData,omitempty"`

		// Indicates if the request was successful or not
		Status *Status `json:"status,omitempty"`
	}
	JSON401 *Error
	JSON403 *Error
	JSON404 *Error
	JSON500 *Error
}

func ParseGetProjectResponse

func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)

ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call

func (GetProjectResponse) Status

func (r GetProjectResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectResponse) StatusCode

func (r GetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSegmentFlagsParams

type GetSegmentFlagsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

GetSegmentFlagsParams defines parameters for GetSegmentFlags.

type GetSegmentFlagsResponse

type GetSegmentFlagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SegmentFlag
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetSegmentFlagsResponse

func ParseGetSegmentFlagsResponse(rsp *http.Response) (*GetSegmentFlagsResponse, error)

ParseGetSegmentFlagsResponse parses an HTTP response from a GetSegmentFlagsWithResponse call

func (GetSegmentFlagsResponse) Status

func (r GetSegmentFlagsResponse) Status() string

Status returns HTTPResponse.Status

func (GetSegmentFlagsResponse) StatusCode

func (r GetSegmentFlagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSegmentParams

type GetSegmentParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

GetSegmentParams defines parameters for GetSegment.

type GetSegmentResponse

type GetSegmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Segment
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetSegmentResponse

func ParseGetSegmentResponse(rsp *http.Response) (*GetSegmentResponse, error)

ParseGetSegmentResponse parses an HTTP response from a GetSegmentWithResponse call

func (GetSegmentResponse) Status

func (r GetSegmentResponse) Status() string

Status returns HTTPResponse.Status

func (GetSegmentResponse) StatusCode

func (r GetSegmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTargetAvailableSegmentsParams

type GetTargetAvailableSegmentsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// SortOrder
	SortOrder *GetTargetAvailableSegmentsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortByField
	SortByField *GetTargetAvailableSegmentsParamsSortByField `form:"sortByField,omitempty" json:"sortByField,omitempty"`

	// Name of the segment
	SegmentName *SegmentNameQueryParam `form:"segmentName,omitempty" json:"segmentName,omitempty"`
}

GetTargetAvailableSegmentsParams defines parameters for GetTargetAvailableSegments.

type GetTargetAvailableSegmentsParamsSortByField

type GetTargetAvailableSegmentsParamsSortByField string

GetTargetAvailableSegmentsParamsSortByField defines parameters for GetTargetAvailableSegments.

type GetTargetAvailableSegmentsParamsSortOrder

type GetTargetAvailableSegmentsParamsSortOrder string

GetTargetAvailableSegmentsParamsSortOrder defines parameters for GetTargetAvailableSegments.

type GetTargetAvailableSegmentsResponse

type GetTargetAvailableSegmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Segments
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetTargetAvailableSegmentsResponse

func ParseGetTargetAvailableSegmentsResponse(rsp *http.Response) (*GetTargetAvailableSegmentsResponse, error)

ParseGetTargetAvailableSegmentsResponse parses an HTTP response from a GetTargetAvailableSegmentsWithResponse call

func (GetTargetAvailableSegmentsResponse) Status

Status returns HTTPResponse.Status

func (GetTargetAvailableSegmentsResponse) StatusCode

func (r GetTargetAvailableSegmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTargetParams

type GetTargetParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

GetTargetParams defines parameters for GetTarget.

type GetTargetResponse

type GetTargetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Target
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetTargetResponse

func ParseGetTargetResponse(rsp *http.Response) (*GetTargetResponse, error)

ParseGetTargetResponse parses an HTTP response from a GetTargetWithResponse call

func (GetTargetResponse) Status

func (r GetTargetResponse) Status() string

Status returns HTTPResponse.Status

func (GetTargetResponse) StatusCode

func (r GetTargetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTargetSegmentsParams

type GetTargetSegmentsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

GetTargetSegmentsParams defines parameters for GetTargetSegments.

type GetTargetSegmentsResponse

type GetTargetSegmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TargetDetail
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetTargetSegmentsResponse

func ParseGetTargetSegmentsResponse(rsp *http.Response) (*GetTargetSegmentsResponse, error)

ParseGetTargetSegmentsResponse parses an HTTP response from a GetTargetSegmentsWithResponse call

func (GetTargetSegmentsResponse) Status

func (r GetTargetSegmentsResponse) Status() string

Status returns HTTPResponse.Status

func (GetTargetSegmentsResponse) StatusCode

func (r GetTargetSegmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTargetsAndSegmentsInfoParams

type GetTargetsAndSegmentsInfoParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// Comma separated identifiers for multiple targets
	Targets *TargetsOptionalParam `form:"targets,omitempty" json:"targets,omitempty"`

	// Comma separated identifiers for multiple Target Groups
	TargetGroups *TargetGroupsOptionalParam `form:"targetGroups,omitempty" json:"targetGroups,omitempty"`
}

GetTargetsAndSegmentsInfoParams defines parameters for GetTargetsAndSegmentsInfo.

type GetTargetsAndSegmentsInfoResponse

type GetTargetsAndSegmentsInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TargetsAndSegmentsInfo
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetTargetsAndSegmentsInfoResponse

func ParseGetTargetsAndSegmentsInfoResponse(rsp *http.Response) (*GetTargetsAndSegmentsInfoResponse, error)

ParseGetTargetsAndSegmentsInfoResponse parses an HTTP response from a GetTargetsAndSegmentsInfoWithResponse call

func (GetTargetsAndSegmentsInfoResponse) Status

Status returns HTTPResponse.Status

func (GetTargetsAndSegmentsInfoResponse) StatusCode

func (r GetTargetsAndSegmentsInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTargetsAndSegmentsParams

type GetTargetsAndSegmentsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// Identifier of the target or segment
	TsIdentifier *TsIdentifierQueryParam `form:"tsIdentifier,omitempty" json:"tsIdentifier,omitempty"`

	// Name of the target or segment
	TsName *TsNameQueryParam `form:"tsName,omitempty" json:"tsName,omitempty"`

	// SortByField
	SortByField *GetTargetsAndSegmentsParamsSortByField `form:"sortByField,omitempty" json:"sortByField,omitempty"`

	// SortOrder
	SortOrder *GetTargetsAndSegmentsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// PageNumber
	PageNumber *PageNumber `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`

	// PageSize
	PageSize *PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetTargetsAndSegmentsParams defines parameters for GetTargetsAndSegments.

type GetTargetsAndSegmentsParamsSortByField

type GetTargetsAndSegmentsParamsSortByField string

GetTargetsAndSegmentsParamsSortByField defines parameters for GetTargetsAndSegments.

type GetTargetsAndSegmentsParamsSortOrder

type GetTargetsAndSegmentsParamsSortOrder string

GetTargetsAndSegmentsParamsSortOrder defines parameters for GetTargetsAndSegments.

type GetTargetsAndSegmentsResponse

type GetTargetsAndSegmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TargetsAndSegments
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetTargetsAndSegmentsResponse

func ParseGetTargetsAndSegmentsResponse(rsp *http.Response) (*GetTargetsAndSegmentsResponse, error)

ParseGetTargetsAndSegmentsResponse parses an HTTP response from a GetTargetsAndSegmentsWithResponse call

func (GetTargetsAndSegmentsResponse) Status

Status returns HTTPResponse.Status

func (GetTargetsAndSegmentsResponse) StatusCode

func (r GetTargetsAndSegmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserFlagOverviewParams

type GetUserFlagOverviewParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`
}

GetUserFlagOverviewParams defines parameters for GetUserFlagOverview.

type GetUserFlagOverviewResponse

type GetUserFlagOverviewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UserFlagOverview
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetUserFlagOverviewResponse

func ParseGetUserFlagOverviewResponse(rsp *http.Response) (*GetUserFlagOverviewResponse, error)

ParseGetUserFlagOverviewResponse parses an HTTP response from a GetUserFlagOverviewWithResponse call

func (GetUserFlagOverviewResponse) Status

Status returns HTTPResponse.Status

func (GetUserFlagOverviewResponse) StatusCode

func (r GetUserFlagOverviewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GitDetails

type GitDetails struct {
	// A description of the change or action
	CommitMsg string `json:"commitMsg"`
}

The commit message to use as part of a gitsync operation

type GitRepo

type GitRepo struct {
	// Should all flag changes be automatically committed
	AutoCommit *bool `json:"autoCommit,omitempty"`

	// The branch where feature flag commits will be pushed
	Branch string `json:"branch"`

	// Connector reference is a connector id, used to make a request through gitEx.
	ConnectorReference *string `json:"connectorReference,omitempty"`

	// Indicates if feature flag changes will be saved to the repository
	Enabled *bool `json:"enabled,omitempty"`

	// The path within the rootFolder to store the flags
	FilePath string `json:"filePath"`

	// The last date and time that the feature flags were synced to git in milliseconds
	LastSync *int64 `json:"lastSync,omitempty"`

	// The objectId
	ObjectId string `json:"objectId"`

	// The identifier for the git repository
	RepoIdentifier string `json:"repoIdentifier"`

	// Repo reference is a repository id, used to make a request through gitEx.
	RepoReference *string `json:"repoReference,omitempty"`

	// The root folder in the repository where the feature flag yaml will be written
	RootFolder string `json:"rootFolder"`

	// An error message describing any problems with the generated yaml
	YamlError *string `json:"yamlError,omitempty"`
}

The git repository that has been configured for the feature flag project

type GitRepoPatchRequest

type GitRepoPatchRequest = PatchOperation

GitRepoPatchRequest defines model for GitRepoPatchRequest.

type GitRepoRequest

type GitRepoRequest struct {
	AutoCommit         *bool   `json:"autoCommit,omitempty"`
	Branch             string  `json:"branch"`
	ConnectorReference *string `json:"connectorReference,omitempty"`
	FilePath           string  `json:"filePath"`
	ObjectId           *string `json:"objectId,omitempty"`
	RepoIdentifier     string  `json:"repoIdentifier"`
	RepoReference      *string `json:"repoReference,omitempty"`
	RootFolder         string  `json:"rootFolder"`
}

GitRepoRequest defines model for GitRepoRequest.

type GitRepoResp

type GitRepoResp struct {
	// The git repository that has been configured for the feature flag project
	RepoDetails *GitRepo `json:"repoDetails,omitempty"`
	RepoSet     bool     `json:"repoSet"`
}

GitRepoResp defines model for GitRepoResp.

type GitRepoResponse

type GitRepoResponse = GitRepoResp

GitRepoResponse defines model for GitRepoResponse.

type GitSyncError

type GitSyncError = Error

GitSyncError defines model for GitSyncError.

type GitSyncPatchOperation

type GitSyncPatchOperation struct {
	// A comment explaining the reason for this patch operation
	Comment *string `json:"comment,omitempty"`

	// Time of execution in unix epoch milliseconds when the scheduled changes will be applied
	ExecutionTime *int `json:"executionTime,omitempty"`

	// The commit message to use as part of a gitsync operation
	GitDetails *GitDetails `json:"gitDetails,omitempty"`

	// A list of Patch Instructions
	Instructions PatchInstruction `json:"instructions"`
}

GitSyncPatchOperation defines model for GitSyncPatchOperation.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Identifier

type Identifier = string

Identifier defines model for identifier.

type IdentifierOptionalQueryParam

type IdentifierOptionalQueryParam = string

IdentifierOptionalQueryParam defines model for identifierOptionalQueryParam.

type IdentifierQueryParam

type IdentifierQueryParam = string

IdentifierQueryParam defines model for identifierQueryParam.

type Identifiers

type Identifiers = []string

Identifiers defines model for identifiers.

type InternalServerError

type InternalServerError = Error

InternalServerError defines model for InternalServerError.

type JiraIssue

type JiraIssue struct {
	// The Jira Issue key
	IssueKey string `json:"issueKey"`

	// The jira issue URL
	IssueURL string `json:"issueURL"`
}

A Jira Issue

type JiraIssueSearchQueryParam

type JiraIssueSearchQueryParam = string

JiraIssueSearchQueryParam defines model for jiraIssueSearchQueryParam.

type JiraIssueSearchResponse

type JiraIssueSearchResponse = JiraSearchIssues

A Jira Search Response Object

type JiraSearchIssue

type JiraSearchIssue struct {
	// Information about this Jira Issue
	Fields struct {
		// The issue title/summary
		Summary *string `json:"summary,omitempty"`
	} `json:"fields"`

	// The Jira issue ID
	Id string `json:"id"`

	// The Jira issue Key
	Key *string `json:"key,omitempty"`

	// A link to the Jira issue
	Self string `json:"self"`
}

A Jira Search Response Object

type JiraSearchIssues

type JiraSearchIssues struct {
	// A list containing the matching jira issues
	Issues *[]JiraSearchIssue `json:"issues,omitempty"`

	// The number of matching jira issues
	Total *int `json:"total,omitempty"`
}

A Jira Search Response Object

type KindQueryParam

type KindQueryParam string

KindQueryParam defines model for kindQueryParam.

const (
	Boolean KindQueryParam = "boolean"
	Int     KindQueryParam = "int"
	Json    KindQueryParam = "json"
	String  KindQueryParam = "string"
)

Defines values for KindQueryParam.

type MetricsOptionalParam

type MetricsOptionalParam = bool

MetricsOptionalParam defines model for metricsOptionalParam.

type ModifyEnvironmentJSONRequestBody

type ModifyEnvironmentJSONRequestBody EnvironmentRequest

ModifyEnvironmentJSONRequestBody defines body for ModifyEnvironment for application/json ContentType.

type ModifyEnvironmentParams

type ModifyEnvironmentParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`
}

ModifyEnvironmentParams defines parameters for ModifyEnvironment.

type ModifyEnvironmentResponse

type ModifyEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseModifyEnvironmentResponse

func ParseModifyEnvironmentResponse(rsp *http.Response) (*ModifyEnvironmentResponse, error)

ParseModifyEnvironmentResponse parses an HTTP response from a ModifyEnvironmentWithResponse call

func (ModifyEnvironmentResponse) Status

func (r ModifyEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (ModifyEnvironmentResponse) StatusCode

func (r ModifyEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ModifyProjectJSONRequestBody

type ModifyProjectJSONRequestBody ProjectRequest

ModifyProjectJSONRequestBody defines body for ModifyProject for application/json ContentType.

type ModifyProjectParams

type ModifyProjectParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

ModifyProjectParams defines parameters for ModifyProject.

type ModifyProjectResponse

type ModifyProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseModifyProjectResponse

func ParseModifyProjectResponse(rsp *http.Response) (*ModifyProjectResponse, error)

ParseModifyProjectResponse parses an HTTP response from a ModifyProjectWithResponse call

func (ModifyProjectResponse) Status

func (r ModifyProjectResponse) Status() string

Status returns HTTPResponse.Status

func (ModifyProjectResponse) StatusCode

func (r ModifyProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ModifyTargetJSONRequestBody

type ModifyTargetJSONRequestBody = TargetRequest

ModifyTargetJSONRequestBody defines body for ModifyTarget for application/json ContentType.

type ModifyTargetParams

type ModifyTargetParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

ModifyTargetParams defines parameters for ModifyTarget.

type ModifyTargetResponse

type ModifyTargetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Target
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseModifyTargetResponse

func ParseModifyTargetResponse(rsp *http.Response) (*ModifyTargetResponse, error)

ParseModifyTargetResponse parses an HTTP response from a ModifyTargetWithResponse call

func (ModifyTargetResponse) Status

func (r ModifyTargetResponse) Status() string

Status returns HTTPResponse.Status

func (ModifyTargetResponse) StatusCode

func (r ModifyTargetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NameQueryParam

type NameQueryParam = string

NameQueryParam defines model for nameQueryParam.

type NotFound

type NotFound = Error

NotFound defines model for NotFound.

type ObjectSnapshot

type ObjectSnapshot struct {
	// The identifier of the object e.g. the feature flag identifier or the target identifier
	Id string `json:"id"`

	// A JSON representative of the object that was modified
	Value *map[string]interface{} `json:"value,omitempty"`
}

An object id and object body generated from an audit event

type ObjectSnapshotResponse

type ObjectSnapshotResponse struct {
	CorrelationId *string `json:"correlationId,omitempty"`

	// A list of Object Snapshots
	Data     *ObjectSnapshots        `json:"data,omitempty"`
	MetaData *map[string]interface{} `json:"metaData,omitempty"`

	// Indicates if the request was successful or not
	Status *Status `json:"status,omitempty"`
}

ObjectSnapshotResponse defines model for ObjectSnapshotResponse.

type ObjectSnapshots

type ObjectSnapshots struct {
	Objectsnapshots *[]ObjectSnapshot `json:"objectsnapshots,omitempty"`
}

A list of Object Snapshots

type ObjectTypeQueryParam

type ObjectTypeQueryParam string

ObjectTypeQueryParam defines model for objectTypeQueryParam.

const (
	ObjectTypeQueryParamFeatureActivation ObjectTypeQueryParam = "FeatureActivation"
	ObjectTypeQueryParamSegment           ObjectTypeQueryParam = "Segment"
)

Defines values for ObjectTypeQueryParam.

type OrgQueryParam

type OrgQueryParam = string

OrgQueryParam defines model for orgQueryParam.

type PageNumber

type PageNumber = int

PageNumber defines model for pageNumber.

type PageSize

type PageSize = int

PageSize defines model for pageSize.

type Pagination

type Pagination struct {
	// The total number of items
	ItemCount int `json:"itemCount"`

	// The total number of pages
	PageCount int `json:"pageCount"`

	// The current page
	PageIndex int `json:"pageIndex"`

	// The number of items per page
	PageSize int `json:"pageSize"`

	// The version of this object.  The version will be incremented each time the object is modified
	Version *int `json:"version,omitempty"`
}

Pagination defines model for Pagination.

type PatchFeatureJSONRequestBody

type PatchFeatureJSONRequestBody = FeaturePatchRequest

PatchFeatureJSONRequestBody defines body for PatchFeature for application/json ContentType.

type PatchFeatureParams

type PatchFeatureParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment
	EnvironmentIdentifier *EnvironmentOptionalQueryParam `form:"environmentIdentifier,omitempty" json:"environmentIdentifier,omitempty"`
}

PatchFeatureParams defines parameters for PatchFeature.

type PatchFeaturePipelineJSONRequestBody

type PatchFeaturePipelineJSONRequestBody FeaturePipelineRequest

PatchFeaturePipelineJSONRequestBody defines body for PatchFeaturePipeline for application/json ContentType.

type PatchFeaturePipelineParams

type PatchFeaturePipelineParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

PatchFeaturePipelineParams defines parameters for PatchFeaturePipeline.

type PatchFeaturePipelineResponse

type PatchFeaturePipelineResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParsePatchFeaturePipelineResponse

func ParsePatchFeaturePipelineResponse(rsp *http.Response) (*PatchFeaturePipelineResponse, error)

ParsePatchFeaturePipelineResponse parses an HTTP response from a PatchFeaturePipelineWithResponse call

func (PatchFeaturePipelineResponse) Status

Status returns HTTPResponse.Status

func (PatchFeaturePipelineResponse) StatusCode

func (r PatchFeaturePipelineResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchFeatureResponse

type PatchFeatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FeatureResponseMetadata
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON409      *Error
	JSON424      *Error
	JSON500      *Error
}

func ParsePatchFeatureResponse

func ParsePatchFeatureResponse(rsp *http.Response) (*PatchFeatureResponse, error)

ParsePatchFeatureResponse parses an HTTP response from a PatchFeatureWithResponse call

func (PatchFeatureResponse) Status

func (r PatchFeatureResponse) Status() string

Status returns HTTPResponse.Status

func (PatchFeatureResponse) StatusCode

func (r PatchFeatureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchGitRepoJSONRequestBody

type PatchGitRepoJSONRequestBody = GitRepoPatchRequest

PatchGitRepoJSONRequestBody defines body for PatchGitRepo for application/json ContentType.

type PatchGitRepoParams

type PatchGitRepoParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

PatchGitRepoParams defines parameters for PatchGitRepo.

type PatchGitRepoResponse

type PatchGitRepoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GitRepoResp
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParsePatchGitRepoResponse

func ParsePatchGitRepoResponse(rsp *http.Response) (*PatchGitRepoResponse, error)

ParsePatchGitRepoResponse parses an HTTP response from a PatchGitRepoWithResponse call

func (PatchGitRepoResponse) Status

func (r PatchGitRepoResponse) Status() string

Status returns HTTPResponse.Status

func (PatchGitRepoResponse) StatusCode

func (r PatchGitRepoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchInstruction

type PatchInstruction = []struct {
	// The name of the modification you would like to perform on a resource.
	Kind       string                 `json:"kind"`
	Parameters map[string]interface{} `json:"parameters"`
}

A list of Patch Instructions

type PatchOperation

type PatchOperation struct {
	// A comment explaining the reason for this patch operation
	Comment *string `json:"comment,omitempty"`

	// Time of execution in unix epoch milliseconds when the scheduled changes will be applied
	ExecutionTime *int `json:"executionTime,omitempty"`

	// A list of Patch Instructions
	Instructions PatchInstruction `json:"instructions"`
}

PatchOperation defines model for PatchOperation.

type PatchSegmentJSONRequestBody

type PatchSegmentJSONRequestBody = SegmentPatchRequest

PatchSegmentJSONRequestBody defines body for PatchSegment for application/json ContentType.

type PatchSegmentParams

type PatchSegmentParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

PatchSegmentParams defines parameters for PatchSegment.

type PatchSegmentResponse

type PatchSegmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Segment
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParsePatchSegmentResponse

func ParsePatchSegmentResponse(rsp *http.Response) (*PatchSegmentResponse, error)

ParsePatchSegmentResponse parses an HTTP response from a PatchSegmentWithResponse call

func (PatchSegmentResponse) Status

func (r PatchSegmentResponse) Status() string

Status returns HTTPResponse.Status

func (PatchSegmentResponse) StatusCode

func (r PatchSegmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchTargetJSONRequestBody

type PatchTargetJSONRequestBody = TargetPatchRequest

PatchTargetJSONRequestBody defines body for PatchTarget for application/json ContentType.

type PatchTargetParams

type PatchTargetParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

PatchTargetParams defines parameters for PatchTarget.

type PatchTargetResponse

type PatchTargetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Target
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON404      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParsePatchTargetResponse

func ParsePatchTargetResponse(rsp *http.Response) (*PatchTargetResponse, error)

ParsePatchTargetResponse parses an HTTP response from a PatchTargetWithResponse call

func (PatchTargetResponse) Status

func (r PatchTargetResponse) Status() string

Status returns HTTPResponse.Status

func (PatchTargetResponse) StatusCode

func (r PatchTargetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PipelineNameQueryParam

type PipelineNameQueryParam = string

PipelineNameQueryParam defines model for pipelineNameQueryParam.

type Prerequisite

type Prerequisite struct {
	// The feature identifier that is the prerequisite
	Feature string `json:"feature"`

	// A list of variations that must be met
	Variations []string `json:"variations"`
}

Feature Flag pre-requisites

type Project

type Project struct {
	// The project description
	Description *string `json:"description,omitempty"`

	// The unique identifier for this project
	Identifier string `json:"identifier"`

	// The user friendly name for the project
	Name string `json:"name"`

	// A list of tags for this project
	Tags *[]Tag `json:"tags,omitempty"`
}

A project response

type ProjectFlags

type ProjectFlags struct {
	Environments *ProjectFlags_Environments `json:"environments,omitempty"`
	Flags        *[]FlagState               `json:"flags,omitempty"`

	// The total number of items
	ItemCount int `json:"itemCount"`

	// The total number of pages
	PageCount int `json:"pageCount"`

	// The current page
	PageIndex int `json:"pageIndex"`

	// The number of items per page
	PageSize int `json:"pageSize"`

	// The version of this object.  The version will be incremented each time the object is modified
	Version *int `json:"version,omitempty"`
}

ProjectFlags defines model for ProjectFlags.

type ProjectFlagsResponse

type ProjectFlagsResponse = ProjectFlags

Returns all the flags in a project and their state in each environment

type ProjectFlags_Environments

type ProjectFlags_Environments struct {
	AdditionalProperties map[string]FlagEnvironment `json:"-"`
}

ProjectFlags_Environments defines model for ProjectFlags.Environments.

func (ProjectFlags_Environments) Get

func (a ProjectFlags_Environments) Get(fieldName string) (value FlagEnvironment, found bool)

Getter for additional properties for ProjectFlags_Environments. Returns the specified element and whether it was found

func (ProjectFlags_Environments) MarshalJSON

func (a ProjectFlags_Environments) MarshalJSON() ([]byte, error)

Override default JSON handling for ProjectFlags_Environments to handle AdditionalProperties

func (*ProjectFlags_Environments) Set

func (a *ProjectFlags_Environments) Set(fieldName string, value FlagEnvironment)

Setter for additional properties for ProjectFlags_Environments

func (*ProjectFlags_Environments) UnmarshalJSON

func (a *ProjectFlags_Environments) UnmarshalJSON(b []byte) error

Override default JSON handling for ProjectFlags_Environments to handle AdditionalProperties

type ProjectOptionalQueryParam

type ProjectOptionalQueryParam = string

ProjectOptionalQueryParam defines model for projectOptionalQueryParam.

type ProjectQueryParam

type ProjectQueryParam = string

ProjectQueryParam defines model for projectQueryParam.

type ProjectRequest

type ProjectRequest struct {
	Description *string `json:"description,omitempty"`
	Identifier  string  `json:"identifier"`
	Name        string  `json:"name"`
	Tags        *[]Tag  `json:"tags,omitempty"`
}

ProjectRequest defines model for ProjectRequest.

type ProjectResponse

type ProjectResponse struct {
	CorrelationId *string `json:"correlationId,omitempty"`

	// A project response
	Data     *Project                `json:"data,omitempty"`
	MetaData *map[string]interface{} `json:"metaData,omitempty"`

	// Indicates if the request was successful or not
	Status *Status `json:"status,omitempty"`
}

ProjectResponse defines model for ProjectResponse.

type Projects

type Projects struct {
	// The total number of items
	ItemCount *int `json:"itemCount,omitempty"`

	// The total number of pages
	PageCount *int `json:"pageCount,omitempty"`

	// The current page
	PageIndex *int `json:"pageIndex,omitempty"`

	// The number of items per page
	PageSize *int `json:"pageSize,omitempty"`

	// A list of projects
	Projects *[]Project `json:"projects,omitempty"`
}

A list of projects

type ProjectsResponse

type ProjectsResponse struct {
	CorrelationId *string `json:"correlationId,omitempty"`

	// A list of projects
	Data     *Projects               `json:"data,omitempty"`
	MetaData *map[string]interface{} `json:"metaData,omitempty"`

	// Indicates if the request was successful or not
	Status *Status `json:"status,omitempty"`
}

ProjectsResponse defines model for ProjectsResponse.

type ReferenceDTO

type ReferenceDTO struct {
	// The account which this reference belongs to
	AccountIdentifier *string `json:"accountIdentifier,omitempty"`

	// The unique identifier for this reference
	Identifier *string `json:"identifier,omitempty"`

	// The name of the reference
	Name *string `json:"name,omitempty"`

	// The organization which this reference belongs to
	OrgIdentifier *string `json:"orgIdentifier,omitempty"`

	// The project which this reference belongs to
	ProjectIdentifier *string `json:"projectIdentifier,omitempty"`
}

ReferenceDTO defines model for ReferenceDTO.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type Results

type Results struct {
	// The number of times this variation has been returned in a evaluation
	Count int `json:"count"`

	// The unique variation identifier
	VariationIdentifier string `json:"variationIdentifier"`

	// The user friendly variation name
	VariationName string `json:"variationName"`
}

This result object shows details of how many times a variation has been evaluated

type SafSortByField

type SafSortByField string

SafSortByField defines model for safSortByField.

const (
	SafSortByFieldName SafSortByField = "name"
)

Defines values for SafSortByField.

type SafSortOrder

type SafSortOrder string

SafSortOrder defines model for safSortOrder.

const (
	SafSortOrderASCENDING  SafSortOrder = "ASCENDING"
	SafSortOrderDESCENDING SafSortOrder = "DESCENDING"
)

Defines values for SafSortOrder.

type Segment

type Segment struct {
	// The data and time in milliseconds when the group was created
	CreatedAt *int64 `json:"createdAt,omitempty"`

	// The environment this target group belongs to
	Environment *string `json:"environment,omitempty"`

	// A list of Targets who are excluded from this target group
	Excluded *[]Target `json:"excluded,omitempty"`

	// Unique identifier for the target group.
	Identifier string `json:"identifier"`

	// A list of Targets who belong to this target group
	Included *[]Target `json:"included,omitempty"`

	// The data and time in milliseconds when the group was last modified
	ModifiedAt *int64 `json:"modifiedAt,omitempty"`

	// Name of the target group.
	Name string `json:"name"`

	// An array of rules that can cause a user to be included in this segment.
	Rules *[]Clause `json:"rules,omitempty"`

	// Tags for this target group
	Tags *[]Tag `json:"tags,omitempty"`

	// The version of this group.  Each time it is modified the version is incremented
	Version *int64 `json:"version,omitempty"`
}

A Target Group (Segment) response

type SegmentFlag

type SegmentFlag struct {
	// A description of the feature flag
	Description *string `json:"description,omitempty"`

	// The environment identifier for the feature flag
	Environment string `json:"environment"`

	// The identifier of the feature flag
	Identifier string `json:"identifier"`

	// The name of the feature flag
	Name string `json:"name"`

	// The project identifier for the feature flag
	Project string `json:"project"`

	// The unique identifier for this rule
	RuleId *string `json:"ruleId,omitempty"`

	// How the the flag has been included, either directly or via a custom rule
	Type SegmentFlagType `json:"type"`

	// The identifier for the variation of the flag that should be served to members of the group
	Variation string `json:"variation"`
}

Details of a Feature Flag that has been included in a Target Group (Segment)

type SegmentFlagType

type SegmentFlagType string

How the the flag has been included, either directly or via a custom rule

const (
	CONDITION SegmentFlagType = "CONDITION"
	DIRECT    SegmentFlagType = "DIRECT"
)

Defines values for SegmentFlagType.

type SegmentFlagsResponse

type SegmentFlagsResponse = []SegmentFlag

SegmentFlagsResponse defines model for SegmentFlagsResponse.

type SegmentNameQueryParam

type SegmentNameQueryParam = string

SegmentNameQueryParam defines model for segmentNameQueryParam.

type SegmentPatchRequest

type SegmentPatchRequest = GitSyncPatchOperation

SegmentPatchRequest defines model for SegmentPatchRequest.

type SegmentRequest

type SegmentRequest struct {
	Environment string    `json:"environment"`
	Excluded    *[]string `json:"excluded,omitempty"`
	Identifier  *string   `json:"identifier,omitempty"`
	Included    *[]string `json:"included,omitempty"`

	// Name of the target segment.
	Name    string `json:"name"`
	Project string `json:"project"`

	// An array of rules that can cause a user to be included in this segment.
	Rules *[]Clause `json:"rules,omitempty"`
	Tags  *[]Tag    `json:"tags,omitempty"`
}

SegmentRequest defines model for SegmentRequest.

type SegmentResponse

type SegmentResponse = Segment

A Target Group (Segment) response

type Segments

type Segments struct {
	// The total number of items
	ItemCount int `json:"itemCount"`

	// The total number of pages
	PageCount int `json:"pageCount"`

	// The current page
	PageIndex int `json:"pageIndex"`

	// The number of items per page
	PageSize int        `json:"pageSize"`
	Segments *[]Segment `json:"segments,omitempty"`

	// The version of this object.  The version will be incremented each time the object is modified
	Version *int `json:"version,omitempty"`
}

Segments defines model for Segments.

type SegmentsResponse

type SegmentsResponse = Segments

A list of Target Groups (Segments)

type Serve

type Serve struct {
	// Describes a distribution rule
	Distribution *Distribution `json:"distribution,omitempty"`
	Variation    *string       `json:"variation,omitempty"`
}

Describe the distribution rule and the variation that should be served to the target

type Service

type Service struct {
	// The identifier of the service
	Identifier string `json:"identifier"`

	// The name of the service
	Name string `json:"name"`
}

A Harness service linked to a flag

type ServingRule

type ServingRule struct {
	// A list of clauses to use in the rule
	Clauses []Clause `json:"clauses"`

	// The rules priority relative to other rules.  The rules are evaluated in order with 1 being the highest
	Priority int `json:"priority"`

	// The unique identifier for this rule
	RuleId *string `json:"ruleId,omitempty"`

	// Describe the distribution rule and the variation that should be served to the target
	Serve Serve `json:"serve"`
}

The rule used to determine what variation to serve to a target

type SortByField

type SortByField string

SortByField defines model for sortByField.

const (
	SortByFieldArchived   SortByField = "archived"
	SortByFieldIdentifier SortByField = "identifier"
	SortByFieldKind       SortByField = "kind"
	SortByFieldModifiedAt SortByField = "modifiedAt"
	SortByFieldName       SortByField = "name"
)

Defines values for SortByField.

type SortOrder

type SortOrder string

SortOrder defines model for sortOrder.

const (
	SortOrderASCENDING  SortOrder = "ASCENDING"
	SortOrderDESCENDING SortOrder = "DESCENDING"
)

Defines values for SortOrder.

type StartTimeQueryParam

type StartTimeQueryParam = int

StartTimeQueryParam defines model for startTimeQueryParam.

type Status

type Status string

Indicates if the request was successful or not

const (
	ERROR   Status = "ERROR"
	FAILURE Status = "FAILURE"
	SUCCESS Status = "SUCCESS"
)

Defines values for Status.

type Tag

type Tag struct {
	// The name of the tag
	Name string `json:"name"`

	// The value of the tag
	Value *string `json:"value,omitempty"`
}

A tag has a name and value

type Target

type Target struct {
	// The account ID that the target belongs to
	Account string `json:"account"`

	// Indicates if this target is anonymous
	Anonymous *bool `json:"anonymous,omitempty"`

	// a JSON representation of the attributes for this target
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// The date and time in milliseconds when this Target was created
	CreatedAt *int64 `json:"createdAt,omitempty"`

	// The identifier for the environment that the target belongs to
	Environment string `json:"environment"`

	// The unique identifier for this target
	Identifier string `json:"identifier"`

	// The name of this Target
	Name string `json:"name"`

	// The identifier for the organization that the target belongs to
	Org string `json:"org"`

	// The identifier for the project that this target belongs to
	Project string `json:"project"`

	// A list of Target Groups (Segments) that this Target belongs to
	Segments *[]Segment `json:"segments,omitempty"`
}

A Target object

type TargetAndSegment

type TargetAndSegment struct {
	// The unique identifier for the target or target group
	Identifier *string `json:"identifier,omitempty"`

	// The name of the entity
	Name *string `json:"name,omitempty"`

	// The type either target or segment (target group)
	Type TargetAndSegmentType `json:"type"`
}

A Target or Target Group (Segments)

type TargetAndSegmentType

type TargetAndSegmentType string

The type either target or segment (target group)

const (
	TargetAndSegmentTypeSegment TargetAndSegmentType = "segment"
	TargetAndSegmentTypeTarget  TargetAndSegmentType = "target"
)

Defines values for TargetAndSegmentType.

type TargetAttributes

type TargetAttributes = []string

TargetAttributes defines model for TargetAttributes.

type TargetDetail

type TargetDetail struct {
	// A list of target groups (segments) that the target is excluded from.
	ExcludedSegments *[]TargetDetailSegment `json:"excludedSegments,omitempty"`

	// The unique identifier for the target
	Identifier string `json:"identifier"`

	// A list of target groups (segments) that the target is included in.
	IncludedSegments *[]TargetDetailSegment `json:"includedSegments,omitempty"`

	// A list of target groups (segments) that the target is included in via group rules.
	RuleSegments *[]TargetDetailSegment `json:"ruleSegments,omitempty"`
}

Details of which Target Groups (Segments) a target is included in or excluded from

type TargetDetailResponse

type TargetDetailResponse = TargetDetail

Details of which Target Groups (Segments) a target is included in or excluded from

type TargetDetailSegment

type TargetDetailSegment struct {
	// The unique identifier
	Identifier *string `json:"identifier,omitempty"`

	// The name
	Name *string `json:"name,omitempty"`
}

TargetDetailSegment defines model for TargetDetailSegment.

type TargetFilterOptionalParam

type TargetFilterOptionalParam = string

TargetFilterOptionalParam defines model for targetFilterOptionalParam.

type TargetGroupsOptionalParam

type TargetGroupsOptionalParam = string

TargetGroupsOptionalParam defines model for targetGroupsOptionalParam.

type TargetIdentifierQueryParam

type TargetIdentifierQueryParam = string

TargetIdentifierQueryParam defines model for targetIdentifierQueryParam.

type TargetMap

type TargetMap struct {
	// The identifier for the target
	Identifier string `json:"identifier"`

	// The name of the target
	Name string `json:"name"`
}

Target map provides the details of a target that belongs to a flag

type TargetNameQueryParam

type TargetNameQueryParam = string

TargetNameQueryParam defines model for targetNameQueryParam.

type TargetOptionalParam

type TargetOptionalParam = string

TargetOptionalParam defines model for targetOptionalParam.

type TargetPatchRequest

type TargetPatchRequest = GitSyncPatchOperation

TargetPatchRequest defines model for TargetPatchRequest.

type TargetRequest

type TargetRequest = Target

A Target object

type TargetResponse

type TargetResponse = Target

A Target object

type TargetSegmentResponse

type TargetSegmentResponse = TargetsAndSegments

A list of Target and Target Groups (Segments)

type TargetSegmentsInfoResponse

type TargetSegmentsInfoResponse = TargetsAndSegmentsInfo

A list of Target and Target Groups (Segments)

type TargetSortByField

type TargetSortByField string

TargetSortByField defines model for targetSortByField.

const (
	TargetSortByFieldCreatedAt  TargetSortByField = "createdAt"
	TargetSortByFieldIdentifier TargetSortByField = "identifier"
	TargetSortByFieldName       TargetSortByField = "name"
)

Defines values for TargetSortByField.

type TargetSortOrder

type TargetSortOrder string

TargetSortOrder defines model for targetSortOrder.

const (
	TargetSortOrderASC  TargetSortOrder = "ASC"
	TargetSortOrderDESC TargetSortOrder = "DESC"
)

Defines values for TargetSortOrder.

type Targets

type Targets struct {
	// The total number of items
	ItemCount int `json:"itemCount"`

	// The total number of pages
	PageCount int `json:"pageCount"`

	// The current page
	PageIndex int `json:"pageIndex"`

	// The number of items per page
	PageSize int       `json:"pageSize"`
	Targets  *[]Target `json:"targets,omitempty"`

	// The version of this object.  The version will be incremented each time the object is modified
	Version *int `json:"version,omitempty"`
}

Targets defines model for Targets.

type TargetsAndSegments

type TargetsAndSegments struct {
	Entities *[]TargetAndSegment `json:"entities,omitempty"`

	// The total number of items
	ItemCount int `json:"itemCount"`

	// The total number of pages
	PageCount int `json:"pageCount"`

	// The current page
	PageIndex int `json:"pageIndex"`

	// The number of items per page
	PageSize int `json:"pageSize"`

	// The version of this object.  The version will be incremented each time the object is modified
	Version *int `json:"version,omitempty"`
}

TargetsAndSegments defines model for TargetsAndSegments.

type TargetsAndSegmentsInfo

type TargetsAndSegmentsInfo struct {
	Entities *[]TargetAndSegment `json:"entities,omitempty"`
}

TargetsAndSegmentsInfo defines model for TargetsAndSegmentsInfo.

type TargetsOptionalParam

type TargetsOptionalParam = string

TargetsOptionalParam defines model for targetsOptionalParam.

type TargetsResponse

type TargetsResponse = Targets

A list of Targets

type TasSortByField

type TasSortByField string

TasSortByField defines model for tasSortByField.

const (
	TasSortByFieldName TasSortByField = "name"
)

Defines values for TasSortByField.

type TasSortOrder

type TasSortOrder string

TasSortOrder defines model for tasSortOrder.

const (
	ASCENDING  TasSortOrder = "ASCENDING"
	DESCENDING TasSortOrder = "DESCENDING"
)

Defines values for TasSortOrder.

type Timestamp

type Timestamp = int64

Timestamp defines model for timestamp.

type TsIdentifierQueryParam

type TsIdentifierQueryParam = string

TsIdentifierQueryParam defines model for tsIdentifierQueryParam.

type TsNameQueryParam

type TsNameQueryParam = string

TsNameQueryParam defines model for tsNameQueryParam.

type TsSortByField

type TsSortByField string

TsSortByField defines model for tsSortByField.

const (
	TsSortByFieldIdentifier TsSortByField = "identifier"
	TsSortByFieldName       TsSortByField = "name"
)

Defines values for TsSortByField.

type TsSortOrder

type TsSortOrder string

TsSortOrder defines model for tsSortOrder.

const (
	ASC  TsSortOrder = "ASC"
	DESC TsSortOrder = "DESC"
)

Defines values for TsSortOrder.

type Unauthenticated

type Unauthenticated = Error

Unauthenticated defines model for Unauthenticated.

type Unauthorized

type Unauthorized = Error

Unauthorized defines model for Unauthorized.

type UpdateAPIKeyJSONRequestBody

type UpdateAPIKeyJSONRequestBody APIKeyUpdateRequest

UpdateAPIKeyJSONRequestBody defines body for UpdateAPIKey for application/json ContentType.

type UpdateAPIKeyParams

type UpdateAPIKeyParams struct {
	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`

	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`
}

UpdateAPIKeyParams defines parameters for UpdateAPIKey.

type UpdateAPIKeyResponse

type UpdateAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseUpdateAPIKeyResponse

func ParseUpdateAPIKeyResponse(rsp *http.Response) (*UpdateAPIKeyResponse, error)

ParseUpdateAPIKeyResponse parses an HTTP response from a UpdateAPIKeyWithResponse call

func (UpdateAPIKeyResponse) Status

func (r UpdateAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAPIKeyResponse) StatusCode

func (r UpdateAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateFlagsYamlJSONRequestBody

type UpdateFlagsYamlJSONRequestBody = FeatureYamlRequest

UpdateFlagsYamlJSONRequestBody defines body for UpdateFlagsYaml for application/json ContentType.

type UpdateFlagsYamlParams

type UpdateFlagsYamlParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`
}

UpdateFlagsYamlParams defines parameters for UpdateFlagsYaml.

type UpdateFlagsYamlResponse

type UpdateFlagsYamlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseUpdateFlagsYamlResponse

func ParseUpdateFlagsYamlResponse(rsp *http.Response) (*UpdateFlagsYamlResponse, error)

ParseUpdateFlagsYamlResponse parses an HTTP response from a UpdateFlagsYamlWithResponse call

func (UpdateFlagsYamlResponse) Status

func (r UpdateFlagsYamlResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateFlagsYamlResponse) StatusCode

func (r UpdateFlagsYamlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadTargetsParams

type UploadTargetsParams struct {
	// Account Identifier
	AccountIdentifier AccountQueryParam `form:"accountIdentifier" json:"accountIdentifier"`

	// Organization Identifier
	OrgIdentifier OrgQueryParam `form:"orgIdentifier" json:"orgIdentifier"`

	// The Project identifier
	ProjectIdentifier ProjectQueryParam `form:"projectIdentifier" json:"projectIdentifier"`

	// Environment Identifier
	EnvironmentIdentifier EnvironmentQueryParam `form:"environmentIdentifier" json:"environmentIdentifier"`
}

UploadTargetsParams defines parameters for UploadTargets.

type UploadTargetsResponse

type UploadTargetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseUploadTargetsResponse

func ParseUploadTargetsResponse(rsp *http.Response) (*UploadTargetsResponse, error)

ParseUploadTargetsResponse parses an HTTP response from a UploadTargetsWithResponse call

func (UploadTargetsResponse) Status

func (r UploadTargetsResponse) Status() string

Status returns HTTPResponse.Status

func (UploadTargetsResponse) StatusCode

func (r UploadTargetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UsageDataDTO

type UsageDataDTO struct {
	// The number of times the resource has been used
	Count *int64 `json:"count,omitempty"`

	// The name of the resource
	DisplayName *string `json:"displayName,omitempty"`

	// References to who used the resource
	References *[]ReferenceDTO `json:"references,omitempty"`
}

UsageDataDTO defines model for UsageDataDTO.

type UserFlagOverview

type UserFlagOverview struct {
	Enabled int `json:"enabled"`
	Total   int `json:"total"`
}

Returns counts of Enabled (Where flag state is on in 1+ environments) and Total Flags

type UserFlagOverviewResponse

type UserFlagOverviewResponse = UserFlagOverview

Returns counts of Enabled (Where flag state is on in 1+ environments) and Total Flags

type Variation

type Variation struct {
	// A description of the variation
	Description *string `json:"description,omitempty"`

	// The unique identifier for the variation
	Identifier string `json:"identifier"`

	// The user friendly name of the variation
	Name *string `json:"name,omitempty"`

	// The variation value to serve such as true or false for a boolean flag
	Value string `json:"value"`
}

A variation of a flag that can be returned to a target

type VariationMap

type VariationMap struct {
	// A list of target groups (segments)
	TargetSegments *[]string `json:"targetSegments,omitempty"`

	// A list of target mappings
	Targets *[]TargetMap `json:"targets,omitempty"`

	// The variation identifier
	Variation string `json:"variation"`
}

A mapping of variations to targets and target groups (segments). The targets listed here should receive this variation.

type WeightedVariation

type WeightedVariation struct {
	// The variation identifier
	Variation string `json:"variation"`

	// The weight to be given to the variation in percent
	Weight int `json:"weight"`
}

A variation and the weighting it should receive as part of a percentage rollout

Jump to

Keyboard shortcuts

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