ldapi

package module
v15.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 22 Imported by: 1

README ¶

This repository contains a client library for LaunchDarkly's REST API. This client was automatically generated from our OpenAPI specification using a code generation library. View our sample code for example usage.

This REST API is for custom integrations, data export, or automating your feature flag workflows. DO NOT use this client library to include feature flags in your web or mobile application. To integrate feature flags with your application, read the SDK documentation.

This client library is only compatible with the latest version of our REST API, version 20220603. Previous versions of this client library, prior to version 10.0.0, are only compatible with earlier versions of our REST API. When you create an access token, you can set the REST API version associated with the token. By default, API requests you send using the token will use the specified API version. To learn more, read Versioning.

Go API client for ldapi

Overview

Authentication

LaunchDarkly's REST API uses the HTTPS protocol with a minimum TLS version of 1.2.

All REST API resources are authenticated with either personal or service access tokens, or session cookies. Other authentication mechanisms are not supported. You can manage personal access tokens on your Account settings page.

LaunchDarkly also has SDK keys, mobile keys, and client-side IDs that are used by our server-side SDKs, mobile SDKs, and JavaScript-based SDKs, respectively. These keys cannot be used to access our REST API. These keys are environment-specific, and can only perform read-only operations such as fetching feature flag settings.

Auth mechanism Allowed resources Use cases
Personal or service access tokens Can be customized on a per-token basis Building scripts, custom integrations, data export.
SDK keys Can only access read-only resources specific to server-side SDKs. Restricted to a single environment. Server-side SDKs
Mobile keys Can only access read-only resources specific to mobile SDKs, and only for flags marked available to mobile keys. Restricted to a single environment. Mobile SDKs
Client-side ID Can only access read-only resources specific to JavaScript-based client-side SDKs, and only for flags marked available to client-side. Restricted to a single environment. Client-side JavaScript
Keep your access tokens and SDK keys private

Access tokens should never be exposed in untrusted contexts. Never put an access token in client-side JavaScript, or embed it in a mobile application. LaunchDarkly has special mobile keys that you can embed in mobile apps. If you accidentally expose an access token or SDK key, you can reset it from your Account settings page.

The client-side ID is safe to embed in untrusted contexts. It's designed for use in client-side JavaScript.

Authentication using request header

The preferred way to authenticate with the API is by adding an Authorization header containing your access token to your requests. The value of the Authorization header must be your access token.

Manage personal access tokens from the Account settings page.

For testing purposes, you can make API calls directly from your web browser. If you are logged in to the LaunchDarkly application, the API will use your existing session to authenticate calls.

If you have a role other than Admin, or have a custom role defined, you may not have permission to perform some API calls. You will receive a 401 response code in that case.

Modifying the Origin header causes an error

LaunchDarkly validates that the Origin header for any API request authenticated by a session cookie matches the expected Origin header. The expected Origin header is https://app.launchdarkly.com.

If the Origin header does not match what's expected, LaunchDarkly returns an error. This error can prevent the LaunchDarkly app from working correctly.

Any browser extension that intentionally changes the Origin header can cause this problem. For example, the Allow-Control-Allow-Origin: * Chrome extension changes the Origin header to http://evil.com and causes the app to fail.

To prevent this error, do not modify your Origin header.

LaunchDarkly does not require origin matching when authenticating with an access token, so this issue does not affect normal API usage.

Representations

All resources expect and return JSON response bodies. Error responses also send a JSON body. To learn more about the error format of the API, read Errors.

In practice this means that you always get a response with a Content-Type header set to application/json.

In addition, request bodies for PATCH, POST, and PUT requests must be encoded as JSON with a Content-Type header set to application/json.

Summary and detailed representations

When you fetch a list of resources, the response includes only the most important attributes of each resource. This is a summary representation of the resource. When you fetch an individual resource, such as a single feature flag, you receive a detailed representation of the resource.

The best way to find a detailed representation is to follow links. Every summary representation includes a link to its detailed representation.

Expanding responses

Sometimes the detailed representation of a resource does not include all of the attributes of the resource by default. If this is the case, the request method will clearly document this and describe which attributes you can include in an expanded response.

To include the additional attributes, append the expand request parameter to your request and add a comma-separated list of the attributes to include. For example, when you append ?expand=members,roles to the Get team endpoint, the expanded response includes both of these attributes.

The best way to navigate the API is by following links. These are attributes in representations that link to other resources. The API always uses the same format for links:

  • Links to other resources within the API are encapsulated in a _links object
  • If the resource has a corresponding link to HTML content on the site, it is stored in a special _site link

Each link has two attributes:

  • An href, which contains the URL
  • A type, which describes the content type

For example, a feature resource might return the following:

{
  \"_links\": {
    \"parent\": {
      \"href\": \"/api/features\",
      \"type\": \"application/json\"
    },
    \"self\": {
      \"href\": \"/api/features/sort.order\",
      \"type\": \"application/json\"
    }
  },
  \"_site\": {
    \"href\": \"/features/sort.order\",
    \"type\": \"text/html\"
  }
}

From this, you can navigate to the parent collection of features by following the parent link, or navigate to the site page for the feature by following the _site link.

Collections are always represented as a JSON object with an items attribute containing an array of representations. Like all other representations, collections have _links defined at the top level.

Paginated collections include first, last, next, and prev links containing a URL with the respective set of elements in the collection.

Updates

Resources that accept partial updates use the PATCH verb. Most resources support the JSON patch format. Some resources also support the JSON merge patch format, and some resources support the semantic patch format, which is a way to specify the modifications to perform as a set of executable instructions. Each resource supports optional comments that you can submit with updates. Comments appear in outgoing webhooks, the audit log, and other integrations.

When a resource supports both JSON patch and semantic patch, we document both in the request method. However, the specific request body fields and descriptions included in our documentation only match one type of patch or the other.

Updates using JSON patch

JSON patch is a way to specify the modifications to perform on a resource. JSON patch uses paths and a limited set of operations to describe how to transform the current state of the resource into a new state. JSON patch documents are always arrays, where each element contains an operation, a path to the field to update, and the new value.

For example, in this feature flag representation:

{
    \"name\": \"New recommendations engine\",
    \"key\": \"engine.enable\",
    \"description\": \"This is the description\",
    ...
}

You can change the feature flag's description with the following patch document:

[{ \"op\": \"replace\", \"path\": \"/description\", \"value\": \"This is the new description\" }]

You can specify multiple modifications to perform in a single request. You can also test that certain preconditions are met before applying the patch:

[
  { \"op\": \"test\", \"path\": \"/version\", \"value\": 10 },
  { \"op\": \"replace\", \"path\": \"/description\", \"value\": \"The new description\" }
]

The above patch request tests whether the feature flag's version is 10, and if so, changes the feature flag's description.

Attributes that are not editable, such as a resource's _links, have names that start with an underscore.

Updates using JSON merge patch

JSON merge patch is another format for specifying the modifications to perform on a resource. JSON merge patch is less expressive than JSON patch. However, in many cases it is simpler to construct a merge patch document. For example, you can change a feature flag's description with the following merge patch document:

{
  \"description\": \"New flag description\"
}
Updates using semantic patch

Some resources support the semantic patch format. A semantic patch is a way to specify the modifications to perform on a resource as a set of executable instructions.

Semantic patch allows you to be explicit about intent using precise, custom instructions. In many cases, you can define semantic patch instructions independently of the current state of the resource. This can be useful when defining a change that may be applied at a future date.

To make a semantic patch request, you must append domain-model=launchdarkly.semanticpatch to your Content-Type header.

Here's how:

Content-Type: application/json; domain-model=launchdarkly.semanticpatch

If you call a semantic patch resource without this header, you will receive a 400 response because your semantic patch will be interpreted as a JSON patch.

The body of a semantic patch request takes the following properties:

  • comment (string): (Optional) A description of the update.
  • environmentKey (string): (Required for some resources only) The environment key.
  • instructions (array): (Required) A list of actions the update should perform. Each action in the list must be an object with a kind property that indicates the instruction. If the instruction requires parameters, you must include those parameters as additional fields in the object. The documentation for each resource that supports semantic patch includes the available instructions and any additional parameters.

For example:

{
  \"comment\": \"optional comment\",
  \"instructions\": [ {\"kind\": \"turnFlagOn\"} ]
}

If any instruction in the patch encounters an error, the endpoint returns an error and will not change the resource. In general, each instruction silently does nothing if the resource is already in the state you request.

Updates with comments

You can submit optional comments with PATCH changes.

To submit a comment along with a JSON patch document, use the following format:

{
  \"comment\": \"This is a comment string\",
  \"patch\": [{ \"op\": \"replace\", \"path\": \"/description\", \"value\": \"The new description\" }]
}

To submit a comment along with a JSON merge patch document, use the following format:

{
  \"comment\": \"This is a comment string\",
  \"merge\": { \"description\": \"New flag description\" }
}

To submit a comment along with a semantic patch, use the following format:

{
  \"comment\": \"This is a comment string\",
  \"instructions\": [ {\"kind\": \"turnFlagOn\"} ]
}

Errors

The API always returns errors in a common format. Here's an example:

{
  \"code\": \"invalid_request\",
  \"message\": \"A feature with that key already exists\",
  \"id\": \"30ce6058-87da-11e4-b116-123b93f75cba\"
}

The code indicates the general class of error. The message is a human-readable explanation of what went wrong. The id is a unique identifier. Use it when you're working with LaunchDarkly Support to debug a problem with a specific API call.

HTTP status error response codes
Code Definition Description Possible Solution
400 Invalid request The request cannot be understood. Ensure JSON syntax in request body is correct.
401 Invalid access token Requestor is unauthorized or does not have permission for this API call. Ensure your API access token is valid and has the appropriate permissions.
403 Forbidden Requestor does not have access to this resource. Ensure that the account member or access token has proper permissions set.
404 Invalid resource identifier The requested resource is not valid. Ensure that the resource is correctly identified by ID or key.
405 Method not allowed The request method is not allowed on this resource. Ensure that the HTTP verb is correct.
409 Conflict The API request can not be completed because it conflicts with a concurrent API request. Retry your request.
422 Unprocessable entity The API request can not be completed because the update description can not be understood. Ensure that the request body is correct for the type of patch you are using, either JSON patch or semantic patch.
429 Too many requests Read Rate limiting. Wait and try again later.

CORS

The LaunchDarkly API supports Cross Origin Resource Sharing (CORS) for AJAX requests from any origin. If an Origin header is given in a request, it will be echoed as an explicitly allowed origin. Otherwise the request returns a wildcard, Access-Control-Allow-Origin: *. For more information on CORS, read the CORS W3C Recommendation. Example CORS headers might look like:

Access-Control-Allow-Headers: Accept, Content-Type, Content-Length, Accept-Encoding, Authorization
Access-Control-Allow-Methods: OPTIONS, GET, DELETE, PATCH
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 300

You can make authenticated CORS calls just as you would make same-origin calls, using either token or session-based authentication. If you are using session authentication, you should set the withCredentials property for your xhr request to true. You should never expose your access tokens to untrusted entities.

Rate limiting

We use several rate limiting strategies to ensure the availability of our APIs. Rate-limited calls to our APIs return a 429 status code. Calls to our APIs include headers indicating the current rate limit status. The specific headers returned depend on the API route being called. The limits differ based on the route, authentication mechanism, and other factors. Routes that are not rate limited may not contain any of the headers described below.

Rate limiting and SDKs

LaunchDarkly SDKs are never rate limited and do not use the API endpoints defined here. LaunchDarkly uses a different set of approaches, including streaming/server-sent events and a global CDN, to ensure availability to the routes used by LaunchDarkly SDKs.

Global rate limits

Authenticated requests are subject to a global limit. This is the maximum number of calls that your account can make to the API per ten seconds. All service and personal access tokens on the account share this limit, so exceeding the limit with one access token will impact other tokens. Calls that are subject to global rate limits may return the headers below:

Header name Description
X-Ratelimit-Global-Remaining The maximum number of requests the account is permitted to make per ten seconds.
X-Ratelimit-Reset The time at which the current rate limit window resets in epoch milliseconds.

We do not publicly document the specific number of calls that can be made globally. This limit may change, and we encourage clients to program against the specification, relying on the two headers defined above, rather than hardcoding to the current limit.

Route-level rate limits

Some authenticated routes have custom rate limits. These also reset every ten seconds. Any service or personal access tokens hitting the same route share this limit, so exceeding the limit with one access token may impact other tokens. Calls that are subject to route-level rate limits return the headers below:

Header name Description
X-Ratelimit-Route-Remaining The maximum number of requests to the current route the account is permitted to make per ten seconds.
X-Ratelimit-Reset The time at which the current rate limit window resets in epoch milliseconds.

A route represents a specific URL pattern and verb. For example, the Delete environment endpoint is considered a single route, and each call to delete an environment counts against your route-level rate limit for that route.

We do not publicly document the specific number of calls that an account can make to each endpoint per ten seconds. These limits may change, and we encourage clients to program against the specification, relying on the two headers defined above, rather than hardcoding to the current limits.

IP-based rate limiting

We also employ IP-based rate limiting on some API routes. If you hit an IP-based rate limit, your API response will include a Retry-After header indicating how long to wait before re-trying the call. Clients must wait at least Retry-After seconds before making additional calls to our API, and should employ jitter and backoff strategies to avoid triggering rate limits again.

OpenAPI (Swagger) and client libraries

We have a complete OpenAPI (Swagger) specification for our API.

We auto-generate multiple client libraries based on our OpenAPI specification. To learn more, visit the collection of client libraries on GitHub. You can also use this specification to generate client libraries to interact with our REST API in your language of choice.

Our OpenAPI specification is supported by several API-based tools such as Postman and Insomnia. In many cases, you can directly import our specification to explore our APIs.

Method overriding

Some firewalls and HTTP clients restrict the use of verbs other than GET and POST. In those environments, our API endpoints that use DELETE, PATCH, and PUT verbs are inaccessible.

To avoid this issue, our API supports the X-HTTP-Method-Override header, allowing clients to "tunnel" DELETE, PATCH, and PUT requests using a POST request.

For example, to call a PATCH endpoint using a POST request, you can include X-HTTP-Method-Override:PATCH as a header.

Beta resources

We sometimes release new API resources in beta status before we release them with general availability.

Resources that are in beta are still undergoing testing and development. They may change without notice, including becoming backwards incompatible.

We try to promote resources into general availability as quickly as possible. This happens after sufficient testing and when we're satisfied that we no longer need to make backwards-incompatible changes.

We mark beta resources with a "Beta" callout in our documentation, pictured below:

This feature is in beta

To use this feature, pass in a header including the LD-API-Version key with value set to beta. Use this header with each call. To learn more, read Beta resources.

Resources that are in beta are still undergoing testing and development. They may change without notice, including becoming backwards incompatible.

Using beta resources

To use a beta resource, you must include a header in the request. If you call a beta resource without this header, you receive a 403 response.

Use this header:

LD-API-Version: beta

Federal environments

The version of LaunchDarkly that is available on domains controlled by the United States government is different from the version of LaunchDarkly available to the general public. If you are an employee or contractor for a United States federal agency and use LaunchDarkly in your work, you likely use the federal instance of LaunchDarkly.

If you are working in the federal instance of LaunchDarkly, the base URI for each request is https://app.launchdarkly.us. In the "Try it" sandbox for each request, click the request path to view the complete resource path for the federal environment.

To learn more, read LaunchDarkly in federal environments.

Versioning

We try hard to keep our REST API backwards compatible, but we occasionally have to make backwards-incompatible changes in the process of shipping new features. These breaking changes can cause unexpected behavior if you don't prepare for them accordingly.

Updates to our REST API include support for the latest features in LaunchDarkly. We also release a new version of our REST API every time we make a breaking change. We provide simultaneous support for multiple API versions so you can migrate from your current API version to a new version at your own pace.

Setting the API version per request

You can set the API version on a specific request by sending an LD-API-Version header, as shown in the example below:

LD-API-Version: 20220603

The header value is the version number of the API version you would like to request. The number for each version corresponds to the date the version was released in yyyymmdd format. In the example above the version 20220603 corresponds to June 03, 2022.

Setting the API version per access token

When you create an access token, you must specify a specific version of the API to use. This ensures that integrations using this token cannot be broken by version changes.

Tokens created before versioning was released have their version set to 20160426, which is the version of the API that existed before the current versioning scheme, so that they continue working the same way they did before versioning.

If you would like to upgrade your integration to use a new API version, you can explicitly set the header described above.

Best practice: Set the header for every client or integration

We recommend that you set the API version header explicitly in any client or integration you build.

Only rely on the access token API version during manual testing.

API version changelog
<div style="width:75px">Version Changes End of life (EOL)
20220603
  • Changed the list projects return value:
    • Response is now paginated with a default limit of 20.
    • Added support for filter and sort.
    • The project environments field is now expandable. This field is omitted by default.
  • Changed the get project return value:
    • The environments field is now expandable. This field is omitted by default.
Current
20210729
  • Changed the create approval request return value. It now returns HTTP Status Code 201 instead of 200.
  • Changed the get users return value. It now returns a user record, not a user.
  • Added additional optional fields to environment, segments, flags, members, and segments, including the ability to create big segments.
  • Added default values for flag variations when new environments are created.
  • Added filtering and pagination for getting flags and members, including limit, number, filter, and sort query parameters.
  • Added endpoints for expiring user targets for flags and segments, scheduled changes, access tokens, Relay Proxy configuration, integrations and subscriptions, and approvals.
2023-06-03
20191212
  • List feature flags now defaults to sending summaries of feature flag configurations, equivalent to setting the query parameter summary=true. Summaries omit flag targeting rules and individual user targets from the payload.
  • Added endpoints for flags, flag status, projects, environments, audit logs, members, users, custom roles, segments, usage, streams, events, and data export.
2022-07-29
20160426
  • Initial versioning of API. Tokens created before versioning have their version set to this.
2020-12-12

Overview

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

  • API version: 2.0
  • Package version: 15
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://support.launchdarkly.com

Installation

Install the following dependencies:

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

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

import ldapi "github.com/launchdarkly/api-client-go"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://app.launchdarkly.com

Class Method HTTP request Description
AccessTokensApi DeleteToken Delete /api/v2/tokens/{id} Delete access token
AccessTokensApi GetToken Get /api/v2/tokens/{id} Get access token
AccessTokensApi GetTokens Get /api/v2/tokens List access tokens
AccessTokensApi PatchToken Patch /api/v2/tokens/{id} Patch access token
AccessTokensApi PostToken Post /api/v2/tokens Create access token
AccessTokensApi ResetToken Post /api/v2/tokens/{id}/reset Reset access token
AccountMembersApi DeleteMember Delete /api/v2/members/{id} Delete account member
AccountMembersApi GetMember Get /api/v2/members/{id} Get account member
AccountMembersApi GetMembers Get /api/v2/members List account members
AccountMembersApi PatchMember Patch /api/v2/members/{id} Modify an account member
AccountMembersApi PostMemberTeams Post /api/v2/members/{id}/teams Add a member to teams
AccountMembersApi PostMembers Post /api/v2/members Invite new members
AccountMembersBetaApi PatchMembers Patch /api/v2/members Modify account members
AccountUsageBetaApi GetDataExportEventsUsage Get /api/v2/usage/data-export-events Get data export events usage
AccountUsageBetaApi GetEvaluationsUsage Get /api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey} Get evaluations usage
AccountUsageBetaApi GetEventsUsage Get /api/v2/usage/events/{type} Get events usage
AccountUsageBetaApi GetExperimentationKeysUsage Get /api/v2/usage/experimentation-keys Get experimentation keys usage
AccountUsageBetaApi GetExperimentationUnitsUsage Get /api/v2/usage/experimentation-units Get experimentation units usage
AccountUsageBetaApi GetMauSdksByType Get /api/v2/usage/mau/sdks Get MAU SDKs by type
AccountUsageBetaApi GetMauUsage Get /api/v2/usage/mau Get MAU usage
AccountUsageBetaApi GetMauUsageByCategory Get /api/v2/usage/mau/bycategory Get MAU usage by category
AccountUsageBetaApi GetServiceConnectionUsage Get /api/v2/usage/service-connections Get service connection usage
AccountUsageBetaApi GetStreamUsage Get /api/v2/usage/streams/{source} Get stream usage
AccountUsageBetaApi GetStreamUsageBySdkVersion Get /api/v2/usage/streams/{source}/bysdkversion Get stream usage by SDK version
AccountUsageBetaApi GetStreamUsageSdkversion Get /api/v2/usage/streams/{source}/sdkversions Get stream usage SDK versions
ApplicationsBetaApi DeleteApplication Delete /api/v2/applications/{applicationKey} Delete application
ApplicationsBetaApi DeleteApplicationVersion Delete /api/v2/applications/{applicationKey}/versions/{versionKey} Delete application version
ApplicationsBetaApi GetApplication Get /api/v2/applications/{applicationKey} Get application by key
ApplicationsBetaApi GetApplicationVersions Get /api/v2/applications/{applicationKey}/versions Get application versions by application key
ApplicationsBetaApi GetApplications Get /api/v2/applications Get applications
ApplicationsBetaApi PatchApplication Patch /api/v2/applications/{applicationKey} Update application
ApplicationsBetaApi PatchApplicationVersion Patch /api/v2/applications/{applicationKey}/versions/{versionKey} Update application version
ApprovalsApi DeleteApprovalRequest Delete /api/v2/approval-requests/{id} Delete approval request
ApprovalsApi DeleteApprovalRequestForFlag Delete /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id} Delete approval request for a flag
ApprovalsApi GetApprovalForFlag Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id} Get approval request for a flag
ApprovalsApi GetApprovalRequest Get /api/v2/approval-requests/{id} Get approval request
ApprovalsApi GetApprovalRequests Get /api/v2/approval-requests List approval requests
ApprovalsApi GetApprovalsForFlag Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests List approval requests for a flag
ApprovalsApi PostApprovalRequest Post /api/v2/approval-requests Create approval request
ApprovalsApi PostApprovalRequestApply Post /api/v2/approval-requests/{id}/apply Apply approval request
ApprovalsApi PostApprovalRequestApplyForFlag Post /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/apply Apply approval request for a flag
ApprovalsApi PostApprovalRequestForFlag Post /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests Create approval request for a flag
ApprovalsApi PostApprovalRequestReview Post /api/v2/approval-requests/{id}/reviews Review approval request
ApprovalsApi PostApprovalRequestReviewForFlag Post /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/reviews Review approval request for a flag
ApprovalsApi PostFlagCopyConfigApprovalRequest Post /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests-flag-copy Create approval request to copy flag configurations across environments
AuditLogApi GetAuditLogEntries Get /api/v2/auditlog List audit log entries
AuditLogApi GetAuditLogEntry Get /api/v2/auditlog/{id} Get audit log entry
CodeReferencesApi DeleteBranches Post /api/v2/code-refs/repositories/{repo}/branch-delete-tasks Delete branches
CodeReferencesApi DeleteRepository Delete /api/v2/code-refs/repositories/{repo} Delete repository
CodeReferencesApi GetBranch Get /api/v2/code-refs/repositories/{repo}/branches/{branch} Get branch
CodeReferencesApi GetBranches Get /api/v2/code-refs/repositories/{repo}/branches List branches
CodeReferencesApi GetExtinctions Get /api/v2/code-refs/extinctions List extinctions
CodeReferencesApi GetRepositories Get /api/v2/code-refs/repositories List repositories
CodeReferencesApi GetRepository Get /api/v2/code-refs/repositories/{repo} Get repository
CodeReferencesApi GetRootStatistic Get /api/v2/code-refs/statistics Get links to code reference repositories for each project
CodeReferencesApi GetStatistics Get /api/v2/code-refs/statistics/{projectKey} Get code references statistics for flags
CodeReferencesApi PatchRepository Patch /api/v2/code-refs/repositories/{repo} Update repository
CodeReferencesApi PostExtinction Post /api/v2/code-refs/repositories/{repo}/branches/{branch}/extinction-events Create extinction
CodeReferencesApi PostRepository Post /api/v2/code-refs/repositories Create repository
CodeReferencesApi PutBranch Put /api/v2/code-refs/repositories/{repo}/branches/{branch} Upsert branch
ContextSettingsApi PutContextFlagSetting Put /api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/{contextKind}/{contextKey}/flags/{featureFlagKey} Update flag settings for context
ContextsApi DeleteContextInstances Delete /api/v2/projects/{projectKey}/environments/{environmentKey}/context-instances/{id} Delete context instances
ContextsApi EvaluateContextInstance Post /api/v2/projects/{projectKey}/environments/{environmentKey}/flags/evaluate Evaluate flags for context instance
ContextsApi GetContextAttributeNames Get /api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes Get context attribute names
ContextsApi GetContextAttributeValues Get /api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes/{attributeName} Get context attribute values
ContextsApi GetContextInstances Get /api/v2/projects/{projectKey}/environments/{environmentKey}/context-instances/{id} Get context instances
ContextsApi GetContextKindsByProjectKey Get /api/v2/projects/{projectKey}/context-kinds Get context kinds
ContextsApi GetContexts Get /api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/{kind}/{key} Get contexts
ContextsApi PutContextKind Put /api/v2/projects/{projectKey}/context-kinds/{key} Create or update context kind
ContextsApi SearchContextInstances Post /api/v2/projects/{projectKey}/environments/{environmentKey}/context-instances/search Search for context instances
ContextsApi SearchContexts Post /api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/search Search for contexts
CustomRolesApi DeleteCustomRole Delete /api/v2/roles/{customRoleKey} Delete custom role
CustomRolesApi GetCustomRole Get /api/v2/roles/{customRoleKey} Get custom role
CustomRolesApi GetCustomRoles Get /api/v2/roles List custom roles
CustomRolesApi PatchCustomRole Patch /api/v2/roles/{customRoleKey} Update custom role
CustomRolesApi PostCustomRole Post /api/v2/roles Create custom role
DataExportDestinationsApi DeleteDestination Delete /api/v2/destinations/{projectKey}/{environmentKey}/{id} Delete Data Export destination
DataExportDestinationsApi GetDestination Get /api/v2/destinations/{projectKey}/{environmentKey}/{id} Get destination
DataExportDestinationsApi GetDestinations Get /api/v2/destinations List destinations
DataExportDestinationsApi PatchDestination Patch /api/v2/destinations/{projectKey}/{environmentKey}/{id} Update Data Export destination
DataExportDestinationsApi PostDestination Post /api/v2/destinations/{projectKey}/{environmentKey} Create Data Export destination
EnvironmentsApi DeleteEnvironment Delete /api/v2/projects/{projectKey}/environments/{environmentKey} Delete environment
EnvironmentsApi GetEnvironment Get /api/v2/projects/{projectKey}/environments/{environmentKey} Get environment
EnvironmentsApi GetEnvironmentsByProject Get /api/v2/projects/{projectKey}/environments List environments
EnvironmentsApi PatchEnvironment Patch /api/v2/projects/{projectKey}/environments/{environmentKey} Update environment
EnvironmentsApi PostEnvironment Post /api/v2/projects/{projectKey}/environments Create environment
EnvironmentsApi ResetEnvironmentMobileKey Post /api/v2/projects/{projectKey}/environments/{environmentKey}/mobileKey Reset environment mobile SDK key
EnvironmentsApi ResetEnvironmentSDKKey Post /api/v2/projects/{projectKey}/environments/{environmentKey}/apiKey Reset environment SDK key
ExperimentsBetaApi CreateExperiment Post /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments Create experiment
ExperimentsBetaApi CreateIteration Post /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations Create iteration
ExperimentsBetaApi GetExperiment Get /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey} Get experiment
ExperimentsBetaApi GetExperimentResults Get /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/results Get experiment results
ExperimentsBetaApi GetExperimentResultsForMetricGroup Get /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metric-groups/{metricGroupKey}/results Get experiment results for metric group
ExperimentsBetaApi GetExperimentationSettings Get /api/v2/projects/{projectKey}/experimentation-settings Get experimentation settings
ExperimentsBetaApi GetExperiments Get /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments Get experiments
ExperimentsBetaApi GetLegacyExperimentResults Get /api/v2/flags/{projectKey}/{featureFlagKey}/experiments/{environmentKey}/{metricKey} Get legacy experiment results (deprecated)
ExperimentsBetaApi PatchExperiment Patch /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey} Patch experiment
ExperimentsBetaApi PutExperimentationSettings Put /api/v2/projects/{projectKey}/experimentation-settings Update experimentation settings
FeatureFlagsApi CopyFeatureFlag Post /api/v2/flags/{projectKey}/{featureFlagKey}/copy Copy feature flag
FeatureFlagsApi DeleteFeatureFlag Delete /api/v2/flags/{projectKey}/{featureFlagKey} Delete feature flag
FeatureFlagsApi GetExpiringContextTargets Get /api/v2/flags/{projectKey}/{featureFlagKey}/expiring-targets/{environmentKey} Get expiring context targets for feature flag
FeatureFlagsApi GetExpiringUserTargets Get /api/v2/flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} Get expiring user targets for feature flag
FeatureFlagsApi GetFeatureFlag Get /api/v2/flags/{projectKey}/{featureFlagKey} Get feature flag
FeatureFlagsApi GetFeatureFlagStatus Get /api/v2/flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} Get feature flag status
FeatureFlagsApi GetFeatureFlagStatusAcrossEnvironments Get /api/v2/flag-status/{projectKey}/{featureFlagKey} Get flag status across environments
FeatureFlagsApi GetFeatureFlagStatuses Get /api/v2/flag-statuses/{projectKey}/{environmentKey} List feature flag statuses
FeatureFlagsApi GetFeatureFlags Get /api/v2/flags/{projectKey} List feature flags
FeatureFlagsApi PatchExpiringTargets Patch /api/v2/flags/{projectKey}/{featureFlagKey}/expiring-targets/{environmentKey} Update expiring context targets on feature flag
FeatureFlagsApi PatchExpiringUserTargets Patch /api/v2/flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} Update expiring user targets on feature flag
FeatureFlagsApi PatchFeatureFlag Patch /api/v2/flags/{projectKey}/{featureFlagKey} Update feature flag
FeatureFlagsApi PostFeatureFlag Post /api/v2/flags/{projectKey} Create a feature flag
FeatureFlagsBetaApi GetDependentFlags Get /api/v2/flags/{projectKey}/{featureFlagKey}/dependent-flags List dependent feature flags
FeatureFlagsBetaApi GetDependentFlagsByEnv Get /api/v2/flags/{projectKey}/{environmentKey}/{featureFlagKey}/dependent-flags List dependent feature flags by environment
FeatureFlagsBetaApi PostMigrationSafetyIssues Post /api/v2/projects/{projectKey}/flags/{flagKey}/environments/{environmentKey}/migration-safety-issues Get migration safety issues
FlagLinksBetaApi CreateFlagLink Post /api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey} Create flag link
FlagLinksBetaApi DeleteFlagLink Delete /api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id} Delete flag link
FlagLinksBetaApi GetFlagLinks Get /api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey} List flag links
FlagLinksBetaApi UpdateFlagLink Patch /api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id} Update flag link
FlagTriggersApi CreateTriggerWorkflow Post /api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey} Create flag trigger
FlagTriggersApi DeleteTriggerWorkflow Delete /api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}/{id} Delete flag trigger
FlagTriggersApi GetTriggerWorkflowById Get /api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}/{id} Get flag trigger by ID
FlagTriggersApi GetTriggerWorkflows Get /api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey} List flag triggers
FlagTriggersApi PatchTriggerWorkflow Patch /api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}/{id} Update flag trigger
FollowFlagsApi DeleteFlagFollowers Delete /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers/{memberId} Remove a member as a follower of a flag in a project and environment
FollowFlagsApi GetFlagFollowers Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers Get followers of a flag in a project and environment
FollowFlagsApi GetFollowersByProjEnv Get /api/v2/projects/{projectKey}/environments/{environmentKey}/followers Get followers of all flags in a given project and environment
FollowFlagsApi PutFlagFollowers Put /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers/{memberId} Add a member as a follower of a flag in a project and environment
InsightsChartsBetaApi GetDeploymentFrequencyChart Get /api/v2/engineering-insights/charts/deployments/frequency Get deployment frequency chart data
InsightsChartsBetaApi GetFlagStatusChart Get /api/v2/engineering-insights/charts/flags/status Get flag status chart data
InsightsChartsBetaApi GetLeadTimeChart Get /api/v2/engineering-insights/charts/lead-time Get lead time chart data
InsightsChartsBetaApi GetReleaseFrequencyChart Get /api/v2/engineering-insights/charts/releases/frequency Get release frequency chart data
InsightsChartsBetaApi GetStaleFlagsChart Get /api/v2/engineering-insights/charts/flags/stale Get stale flags chart data
InsightsDeploymentsBetaApi CreateDeploymentEvent Post /api/v2/engineering-insights/deployment-events Create deployment event
InsightsDeploymentsBetaApi GetDeployment Get /api/v2/engineering-insights/deployments/{deploymentID} Get deployment
InsightsDeploymentsBetaApi GetDeployments Get /api/v2/engineering-insights/deployments List deployments
InsightsDeploymentsBetaApi UpdateDeployment Patch /api/v2/engineering-insights/deployments/{deploymentID} Update deployment
InsightsFlagEventsBetaApi GetFlagEvents Get /api/v2/engineering-insights/flag-events List flag events
InsightsPullRequestsBetaApi GetPullRequests Get /api/v2/engineering-insights/pull-requests List pull requests
InsightsRepositoriesBetaApi AssociateRepositoriesAndProjects Put /api/v2/engineering-insights/repositories/projects Associate repositories with projects
InsightsRepositoriesBetaApi DeleteRepositoryProject Delete /api/v2/engineering-insights/repositories/{repositoryKey}/projects/{projectKey} Remove repository project association
InsightsRepositoriesBetaApi GetInsightsRepositories Get /api/v2/engineering-insights/repositories List repositories
InsightsScoresBetaApi CreateInsightGroup Post /api/v2/engineering-insights/insights/group Create insight group
InsightsScoresBetaApi DeleteInsightGroup Delete /api/v2/engineering-insights/insights/groups/{insightGroupKey} Delete insight group
InsightsScoresBetaApi GetInsightGroup Get /api/v2/engineering-insights/insights/groups/{insightGroupKey} Get insight group
InsightsScoresBetaApi GetInsightGroups Get /api/v2/engineering-insights/insights/groups List insight groups
InsightsScoresBetaApi GetInsightsScores Get /api/v2/engineering-insights/insights/scores Get insight scores
InsightsScoresBetaApi PatchInsightGroup Patch /api/v2/engineering-insights/insights/groups/{insightGroupKey} Patch insight group
IntegrationAuditLogSubscriptionsApi CreateSubscription Post /api/v2/integrations/{integrationKey} Create audit log subscription
IntegrationAuditLogSubscriptionsApi DeleteSubscription Delete /api/v2/integrations/{integrationKey}/{id} Delete audit log subscription
IntegrationAuditLogSubscriptionsApi GetSubscriptionByID Get /api/v2/integrations/{integrationKey}/{id} Get audit log subscription by ID
IntegrationAuditLogSubscriptionsApi GetSubscriptions Get /api/v2/integrations/{integrationKey} Get audit log subscriptions by integration
IntegrationAuditLogSubscriptionsApi UpdateSubscription Patch /api/v2/integrations/{integrationKey}/{id} Update audit log subscription
IntegrationDeliveryConfigurationsBetaApi CreateIntegrationDeliveryConfiguration Post /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey} Create delivery configuration
IntegrationDeliveryConfigurationsBetaApi DeleteIntegrationDeliveryConfiguration Delete /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id} Delete delivery configuration
IntegrationDeliveryConfigurationsBetaApi GetIntegrationDeliveryConfigurationByEnvironment Get /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey} Get delivery configurations by environment
IntegrationDeliveryConfigurationsBetaApi GetIntegrationDeliveryConfigurationById Get /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id} Get delivery configuration by ID
IntegrationDeliveryConfigurationsBetaApi GetIntegrationDeliveryConfigurations Get /api/v2/integration-capabilities/featureStore List all delivery configurations
IntegrationDeliveryConfigurationsBetaApi PatchIntegrationDeliveryConfiguration Patch /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id} Update delivery configuration
IntegrationDeliveryConfigurationsBetaApi ValidateIntegrationDeliveryConfiguration Post /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}/validate Validate delivery configuration
IntegrationsBetaApi CreateBigSegmentStoreIntegration Post /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey} Create big segment store integration
IntegrationsBetaApi DeleteBigSegmentStoreIntegration Delete /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId} Delete big segment store integration
IntegrationsBetaApi GetBigSegmentStoreIntegration Get /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId} Get big segment store integration by ID
IntegrationsBetaApi GetBigSegmentStoreIntegrations Get /api/v2/integration-capabilities/big-segment-store List all big segment store integrations
IntegrationsBetaApi PatchBigSegmentStoreIntegration Patch /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId} Update big segment store integration
MetricsApi DeleteMetric Delete /api/v2/metrics/{projectKey}/{metricKey} Delete metric
MetricsApi GetMetric Get /api/v2/metrics/{projectKey}/{metricKey} Get metric
MetricsApi GetMetrics Get /api/v2/metrics/{projectKey} List metrics
MetricsApi PatchMetric Patch /api/v2/metrics/{projectKey}/{metricKey} Update metric
MetricsApi PostMetric Post /api/v2/metrics/{projectKey} Create metric
MetricsBetaApi CreateMetricGroup Post /api/v2/projects/{projectKey}/metric-groups Create metric group
MetricsBetaApi DeleteMetricGroup Delete /api/v2/projects/{projectKey}/metric-groups/{metricGroupKey} Delete metric group
MetricsBetaApi GetMetricGroup Get /api/v2/projects/{projectKey}/metric-groups/{metricGroupKey} Get metric group
MetricsBetaApi GetMetricGroups Get /api/v2/projects/{projectKey}/metric-groups List metric groups
MetricsBetaApi PatchMetricGroup Patch /api/v2/projects/{projectKey}/metric-groups/{metricGroupKey} Patch metric group
OAuth2ClientsApi CreateOAuth2Client Post /api/v2/oauth/clients Create a LaunchDarkly OAuth 2.0 client
OAuth2ClientsApi DeleteOAuthClient Delete /api/v2/oauth/clients/{clientId} Delete OAuth 2.0 client
OAuth2ClientsApi GetOAuthClientById Get /api/v2/oauth/clients/{clientId} Get client by ID
OAuth2ClientsApi GetOAuthClients Get /api/v2/oauth/clients Get clients
OAuth2ClientsApi PatchOAuthClient Patch /api/v2/oauth/clients/{clientId} Patch client by ID
OtherApi GetIps Get /api/v2/public-ip-list Gets the public IP list
OtherApi GetOpenapiSpec Get /api/v2/openapi.json Gets the OpenAPI spec in json
OtherApi GetRoot Get /api/v2 Root resource
OtherApi GetVersions Get /api/v2/versions Get version information
ProjectsApi DeleteProject Delete /api/v2/projects/{projectKey} Delete project
ProjectsApi GetFlagDefaultsByProject Get /api/v2/projects/{projectKey}/flag-defaults Get flag defaults for project
ProjectsApi GetProject Get /api/v2/projects/{projectKey} Get project
ProjectsApi GetProjects Get /api/v2/projects List projects
ProjectsApi PatchFlagDefaultsByProject Patch /api/v2/projects/{projectKey}/flag-defaults Update flag default for project
ProjectsApi PatchProject Patch /api/v2/projects/{projectKey} Update project
ProjectsApi PostProject Post /api/v2/projects Create project
ProjectsApi PutFlagDefaultsByProject Put /api/v2/projects/{projectKey}/flag-defaults Create or update flag defaults for project
RelayProxyConfigurationsApi DeleteRelayAutoConfig Delete /api/v2/account/relay-auto-configs/{id} Delete Relay Proxy config by ID
RelayProxyConfigurationsApi GetRelayProxyConfig Get /api/v2/account/relay-auto-configs/{id} Get Relay Proxy config
RelayProxyConfigurationsApi GetRelayProxyConfigs Get /api/v2/account/relay-auto-configs List Relay Proxy configs
RelayProxyConfigurationsApi PatchRelayAutoConfig Patch /api/v2/account/relay-auto-configs/{id} Update a Relay Proxy config
RelayProxyConfigurationsApi PostRelayAutoConfig Post /api/v2/account/relay-auto-configs Create a new Relay Proxy config
RelayProxyConfigurationsApi ResetRelayAutoConfig Post /api/v2/account/relay-auto-configs/{id}/reset Reset Relay Proxy configuration key
ReleasePipelinesBetaApi DeleteReleasePipeline Delete /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey} Delete release pipeline
ReleasePipelinesBetaApi GetAllReleasePipelines Get /api/v2/projects/{projectKey}/release-pipelines Get all release pipelines
ReleasePipelinesBetaApi GetReleasePipelineByKey Get /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey} Get release pipeline by key
ReleasePipelinesBetaApi PatchReleasePipeline Patch /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey} Update a release pipeline
ReleasePipelinesBetaApi PostReleasePipeline Post /api/v2/projects/{projectKey}/release-pipelines Create a release pipeline
ReleasesBetaApi GetReleaseByFlagKey Get /api/v2/flags/{projectKey}/{flagKey}/release Get release for flag
ReleasesBetaApi PatchReleaseByFlagKey Patch /api/v2/flags/{projectKey}/{flagKey}/release Patch release for flag
ScheduledChangesApi DeleteFlagConfigScheduledChanges Delete /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id} Delete scheduled changes workflow
ScheduledChangesApi GetFeatureFlagScheduledChange Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id} Get a scheduled change
ScheduledChangesApi GetFlagConfigScheduledChanges Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes List scheduled changes
ScheduledChangesApi PatchFlagConfigScheduledChange Patch /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id} Update scheduled changes workflow
ScheduledChangesApi PostFlagConfigScheduledChanges Post /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes Create scheduled changes workflow
SegmentsApi DeleteSegment Delete /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey} Delete segment
SegmentsApi GetContextInstanceSegmentsMembershipByEnv Post /api/v2/projects/{projectKey}/environments/{environmentKey}/segments/evaluate List segment memberships for context instance
SegmentsApi GetExpiringTargetsForSegment Get /api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey} Get expiring targets for segment
SegmentsApi GetExpiringUserTargetsForSegment Get /api/v2/segments/{projectKey}/{segmentKey}/expiring-user-targets/{environmentKey} Get expiring user targets for segment
SegmentsApi GetSegment Get /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey} Get segment
SegmentsApi GetSegmentMembershipForContext Get /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts/{contextKey} Get big segment membership for context
SegmentsApi GetSegmentMembershipForUser Get /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/users/{userKey} Get big segment membership for user
SegmentsApi GetSegments Get /api/v2/segments/{projectKey}/{environmentKey} List segments
SegmentsApi PatchExpiringTargetsForSegment Patch /api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey} Update expiring targets for segment
SegmentsApi PatchExpiringUserTargetsForSegment Patch /api/v2/segments/{projectKey}/{segmentKey}/expiring-user-targets/{environmentKey} Update expiring user targets for segment
SegmentsApi PatchSegment Patch /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey} Patch segment
SegmentsApi PostSegment Post /api/v2/segments/{projectKey}/{environmentKey} Create segment
SegmentsApi UpdateBigSegmentContextTargets Post /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts Update context targets on a big segment
SegmentsApi UpdateBigSegmentTargets Post /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/users Update user context targets on a big segment
SegmentsBetaApi CreateBigSegmentExport Post /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports Create big segment export
SegmentsBetaApi CreateBigSegmentImport Post /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports Create big segment import
SegmentsBetaApi GetBigSegmentExport Get /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports/{exportID} Get big segment export
SegmentsBetaApi GetBigSegmentImport Get /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports/{importID} Get big segment import
TagsApi GetTags Get /api/v2/tags List tags
TeamsApi DeleteTeam Delete /api/v2/teams/{teamKey} Delete team
TeamsApi GetTeam Get /api/v2/teams/{teamKey} Get team
TeamsApi GetTeamMaintainers Get /api/v2/teams/{teamKey}/maintainers Get team maintainers
TeamsApi GetTeamRoles Get /api/v2/teams/{teamKey}/roles Get team custom roles
TeamsApi GetTeams Get /api/v2/teams List teams
TeamsApi PatchTeam Patch /api/v2/teams/{teamKey} Update team
TeamsApi PostTeam Post /api/v2/teams Create team
TeamsApi PostTeamMembers Post /api/v2/teams/{teamKey}/members Add multiple members to team
TeamsBetaApi PatchTeams Patch /api/v2/teams Update teams
UserSettingsApi GetExpiringFlagsForUser Get /api/v2/users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey} Get expiring dates on flags for user
UserSettingsApi GetUserFlagSetting Get /api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} Get flag setting for user
UserSettingsApi GetUserFlagSettings Get /api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags List flag settings for user
UserSettingsApi PatchExpiringFlagsForUser Patch /api/v2/users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey} Update expiring user target for flags
UserSettingsApi PutFlagSetting Put /api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} Update flag settings for user
UsersApi DeleteUser Delete /api/v2/users/{projectKey}/{environmentKey}/{userKey} Delete user
UsersApi GetSearchUsers Get /api/v2/user-search/{projectKey}/{environmentKey} Find users
UsersApi GetUser Get /api/v2/users/{projectKey}/{environmentKey}/{userKey} Get user
UsersApi GetUsers Get /api/v2/users/{projectKey}/{environmentKey} List users
UsersBetaApi GetUserAttributeNames Get /api/v2/user-attributes/{projectKey}/{environmentKey} Get user attribute names
WebhooksApi DeleteWebhook Delete /api/v2/webhooks/{id} Delete webhook
WebhooksApi GetAllWebhooks Get /api/v2/webhooks List webhooks
WebhooksApi GetWebhook Get /api/v2/webhooks/{id} Get webhook
WebhooksApi PatchWebhook Patch /api/v2/webhooks/{id} Update webhook
WebhooksApi PostWebhook Post /api/v2/webhooks Creates a webhook
WorkflowTemplatesApi CreateWorkflowTemplate Post /api/v2/templates Create workflow template
WorkflowTemplatesApi DeleteWorkflowTemplate Delete /api/v2/templates/{templateKey} Delete workflow template
WorkflowTemplatesApi GetWorkflowTemplates Get /api/v2/templates Get workflow templates
WorkflowsApi DeleteWorkflow Delete /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId} Delete workflow
WorkflowsApi GetCustomWorkflow Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId} Get custom workflow
WorkflowsApi GetWorkflows Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows Get workflows
WorkflowsApi PostWorkflow Post /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows Create workflow

Documentation For Models

Documentation For Authorization

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

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

Documentation for Utility Methods

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

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

Author

support@launchdarkly.com

Sample Code

package main

import (
	"context"
	"fmt"
	"os"

	ldapi "github.com/launchdarkly/api-client-go"
)

func main() {
	apiKey := os.Getenv("LD_API_KEY")
	if apiKey == "" {
		panic("LD_API_KEY env var was empty!")
	}
	client := ldapi.NewAPIClient(ldapi.NewConfiguration())

	auth := make(map[string]ldapi.APIKey)
	auth["ApiKey"] = ldapi.APIKey{
		Key: apiKey,
	}

	ctx := context.WithValue(context.Background(), ldapi.ContextAPIKeys, auth)

	flagName := "Test Flag Go"
	flagKey := "test-go"
	// Create a multi-variate feature flag
	valOneVal := []int{1, 2}
	valOne := map[string]interface{}{"one": valOneVal}
	valTwoVal := []int{4, 5}
	valTwo := map[string]interface{}{"two": valTwoVal}

	body := ldapi.FeatureFlagBody{
		Name: flagName,
		Key:  flagKey,
		Variations: []ldapi.Variation{
			{Value: &valOne},
			{Value: &valTwo},
		},
	}
	flag, resp, err := client.FeatureFlagsApi.PostFeatureFlag(ctx, "openapi").FeatureFlagBody(body).Execute()
	if err != nil {
		if resp.StatusCode != 409 {
			panic(fmt.Errorf("create failed: %s", err))
		} else {
			if _, err := client.FeatureFlagsApi.DeleteFeatureFlag(ctx, "openapi", body.Key).Execute(); err != nil {
				panic(fmt.Errorf("delete failed: %s", err))
			}
			flag, resp, err = client.FeatureFlagsApi.PostFeatureFlag(ctx, "openapi").FeatureFlagBody(body).Execute()
			if err != nil {
				panic(fmt.Errorf("create failed: %s", err))
			}
		}
	}
	fmt.Printf("Created flag: %+v\n", flag)
	// Clean up new flag
	defer func() {
		if _, err := client.FeatureFlagsApi.DeleteFeatureFlag(ctx, "openapi", body.Key).Execute(); err != nil {
			panic(fmt.Errorf("delete failed: %s", err))
		}
	}()
}

func intfPtr(i interface{}) *interface{} {
	return &i
}

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions ¶

func CacheExpires ¶

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

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

func PtrBool ¶

func PtrBool(v bool) *bool

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

func PtrFloat32 ¶

func PtrFloat32(v float32) *float32

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

func PtrFloat64 ¶

func PtrFloat64(v float64) *float64

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

func PtrInt ¶

func PtrInt(v int) *int

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

func PtrInt32 ¶

func PtrInt32(v int32) *int32

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

func PtrInt64 ¶

func PtrInt64(v int64) *int64

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

func PtrString ¶

func PtrString(v string) *string

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

func PtrTime ¶

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

PtrTime is helper routine that returns a pointer to given Time value.

Types ¶

type APIClient ¶

type APIClient struct {
	AccessTokensApi *AccessTokensApiService

	AccountMembersApi *AccountMembersApiService

	AccountMembersBetaApi *AccountMembersBetaApiService

	AccountUsageBetaApi *AccountUsageBetaApiService

	ApplicationsBetaApi *ApplicationsBetaApiService

	ApprovalsApi *ApprovalsApiService

	AuditLogApi *AuditLogApiService

	CodeReferencesApi *CodeReferencesApiService

	ContextSettingsApi *ContextSettingsApiService

	ContextsApi *ContextsApiService

	CustomRolesApi *CustomRolesApiService

	DataExportDestinationsApi *DataExportDestinationsApiService

	EnvironmentsApi *EnvironmentsApiService

	ExperimentsBetaApi *ExperimentsBetaApiService

	FeatureFlagsApi *FeatureFlagsApiService

	FeatureFlagsBetaApi *FeatureFlagsBetaApiService

	FlagLinksBetaApi *FlagLinksBetaApiService

	FlagTriggersApi *FlagTriggersApiService

	FollowFlagsApi *FollowFlagsApiService

	InsightsChartsBetaApi *InsightsChartsBetaApiService

	InsightsDeploymentsBetaApi *InsightsDeploymentsBetaApiService

	InsightsFlagEventsBetaApi *InsightsFlagEventsBetaApiService

	InsightsPullRequestsBetaApi *InsightsPullRequestsBetaApiService

	InsightsRepositoriesBetaApi *InsightsRepositoriesBetaApiService

	InsightsScoresBetaApi *InsightsScoresBetaApiService

	IntegrationAuditLogSubscriptionsApi *IntegrationAuditLogSubscriptionsApiService

	IntegrationDeliveryConfigurationsBetaApi *IntegrationDeliveryConfigurationsBetaApiService

	IntegrationsBetaApi *IntegrationsBetaApiService

	MetricsApi *MetricsApiService

	MetricsBetaApi *MetricsBetaApiService

	OAuth2ClientsApi *OAuth2ClientsApiService

	OtherApi *OtherApiService

	ProjectsApi *ProjectsApiService

	RelayProxyConfigurationsApi *RelayProxyConfigurationsApiService

	ReleasePipelinesBetaApi *ReleasePipelinesBetaApiService

	ReleasesBetaApi *ReleasesBetaApiService

	ScheduledChangesApi *ScheduledChangesApiService

	SegmentsApi *SegmentsApiService

	SegmentsBetaApi *SegmentsBetaApiService

	TagsApi *TagsApiService

	TeamsApi *TeamsApiService

	TeamsBetaApi *TeamsBetaApiService

	UserSettingsApi *UserSettingsApiService

	UsersApi *UsersApiService

	UsersBetaApi *UsersBetaApiService

	WebhooksApi *WebhooksApiService

	WorkflowTemplatesApi *WorkflowTemplatesApiService

	WorkflowsApi *WorkflowsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the LaunchDarkly REST API API v2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient ¶

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig ¶

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey ¶

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse ¶

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse ¶

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError ¶

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type Access ¶

type Access struct {
	Denied  []AccessDenied     `json:"denied"`
	Allowed []AccessAllowedRep `json:"allowed"`
}

Access struct for Access

func NewAccess ¶

func NewAccess(denied []AccessDenied, allowed []AccessAllowedRep) *Access

NewAccess instantiates a new Access object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessWithDefaults ¶

func NewAccessWithDefaults() *Access

NewAccessWithDefaults instantiates a new Access object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Access) GetAllowed ¶

func (o *Access) GetAllowed() []AccessAllowedRep

GetAllowed returns the Allowed field value

func (*Access) GetAllowedOk ¶

func (o *Access) GetAllowedOk() ([]AccessAllowedRep, bool)

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

func (*Access) GetDenied ¶

func (o *Access) GetDenied() []AccessDenied

GetDenied returns the Denied field value

func (*Access) GetDeniedOk ¶

func (o *Access) GetDeniedOk() ([]AccessDenied, bool)

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

func (Access) MarshalJSON ¶

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

func (*Access) SetAllowed ¶

func (o *Access) SetAllowed(v []AccessAllowedRep)

SetAllowed sets field value

func (*Access) SetDenied ¶

func (o *Access) SetDenied(v []AccessDenied)

SetDenied sets field value

type AccessAllowedReason ¶

type AccessAllowedReason struct {
	// Resource specifier strings
	Resources []string `json:"resources,omitempty"`
	// Targeted resources are the resources NOT in this list. The <code>resources</code> and <code>notActions</code> fields must be empty to use this field.
	NotResources []string `json:"notResources,omitempty"`
	// Actions to perform on a resource
	Actions []string `json:"actions,omitempty"`
	// Targeted actions are the actions NOT in this list. The <code>actions</code> and <code>notResources</code> fields must be empty to use this field.
	NotActions []string `json:"notActions,omitempty"`
	// Whether this statement should allow or deny actions on the resources.
	Effect   string  `json:"effect"`
	RoleName *string `json:"role_name,omitempty"`
}

AccessAllowedReason struct for AccessAllowedReason

func NewAccessAllowedReason ¶

func NewAccessAllowedReason(effect string) *AccessAllowedReason

NewAccessAllowedReason instantiates a new AccessAllowedReason object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessAllowedReasonWithDefaults ¶

func NewAccessAllowedReasonWithDefaults() *AccessAllowedReason

NewAccessAllowedReasonWithDefaults instantiates a new AccessAllowedReason object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccessAllowedReason) GetActions ¶

func (o *AccessAllowedReason) GetActions() []string

GetActions returns the Actions field value if set, zero value otherwise.

func (*AccessAllowedReason) GetActionsOk ¶

func (o *AccessAllowedReason) GetActionsOk() ([]string, bool)

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

func (*AccessAllowedReason) GetEffect ¶

func (o *AccessAllowedReason) GetEffect() string

GetEffect returns the Effect field value

func (*AccessAllowedReason) GetEffectOk ¶

func (o *AccessAllowedReason) GetEffectOk() (*string, bool)

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

func (*AccessAllowedReason) GetNotActions ¶

func (o *AccessAllowedReason) GetNotActions() []string

GetNotActions returns the NotActions field value if set, zero value otherwise.

func (*AccessAllowedReason) GetNotActionsOk ¶

func (o *AccessAllowedReason) GetNotActionsOk() ([]string, bool)

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

func (*AccessAllowedReason) GetNotResources ¶

func (o *AccessAllowedReason) GetNotResources() []string

GetNotResources returns the NotResources field value if set, zero value otherwise.

func (*AccessAllowedReason) GetNotResourcesOk ¶

func (o *AccessAllowedReason) GetNotResourcesOk() ([]string, bool)

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

func (*AccessAllowedReason) GetResources ¶

func (o *AccessAllowedReason) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*AccessAllowedReason) GetResourcesOk ¶

func (o *AccessAllowedReason) GetResourcesOk() ([]string, bool)

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

func (*AccessAllowedReason) GetRoleName ¶

func (o *AccessAllowedReason) GetRoleName() string

GetRoleName returns the RoleName field value if set, zero value otherwise.

func (*AccessAllowedReason) GetRoleNameOk ¶

func (o *AccessAllowedReason) GetRoleNameOk() (*string, bool)

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

func (*AccessAllowedReason) HasActions ¶

func (o *AccessAllowedReason) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*AccessAllowedReason) HasNotActions ¶

func (o *AccessAllowedReason) HasNotActions() bool

HasNotActions returns a boolean if a field has been set.

func (*AccessAllowedReason) HasNotResources ¶

func (o *AccessAllowedReason) HasNotResources() bool

HasNotResources returns a boolean if a field has been set.

func (*AccessAllowedReason) HasResources ¶

func (o *AccessAllowedReason) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*AccessAllowedReason) HasRoleName ¶

func (o *AccessAllowedReason) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

func (AccessAllowedReason) MarshalJSON ¶

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

func (*AccessAllowedReason) SetActions ¶

func (o *AccessAllowedReason) SetActions(v []string)

SetActions gets a reference to the given []string and assigns it to the Actions field.

func (*AccessAllowedReason) SetEffect ¶

func (o *AccessAllowedReason) SetEffect(v string)

SetEffect sets field value

func (*AccessAllowedReason) SetNotActions ¶

func (o *AccessAllowedReason) SetNotActions(v []string)

SetNotActions gets a reference to the given []string and assigns it to the NotActions field.

func (*AccessAllowedReason) SetNotResources ¶

func (o *AccessAllowedReason) SetNotResources(v []string)

SetNotResources gets a reference to the given []string and assigns it to the NotResources field.

func (*AccessAllowedReason) SetResources ¶

func (o *AccessAllowedReason) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*AccessAllowedReason) SetRoleName ¶

func (o *AccessAllowedReason) SetRoleName(v string)

SetRoleName gets a reference to the given string and assigns it to the RoleName field.

type AccessAllowedRep ¶

type AccessAllowedRep struct {
	Action string              `json:"action"`
	Reason AccessAllowedReason `json:"reason"`
}

AccessAllowedRep struct for AccessAllowedRep

func NewAccessAllowedRep ¶

func NewAccessAllowedRep(action string, reason AccessAllowedReason) *AccessAllowedRep

NewAccessAllowedRep instantiates a new AccessAllowedRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessAllowedRepWithDefaults ¶

func NewAccessAllowedRepWithDefaults() *AccessAllowedRep

NewAccessAllowedRepWithDefaults instantiates a new AccessAllowedRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccessAllowedRep) GetAction ¶

func (o *AccessAllowedRep) GetAction() string

GetAction returns the Action field value

func (*AccessAllowedRep) GetActionOk ¶

func (o *AccessAllowedRep) GetActionOk() (*string, bool)

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

func (*AccessAllowedRep) GetReason ¶

func (o *AccessAllowedRep) GetReason() AccessAllowedReason

GetReason returns the Reason field value

func (*AccessAllowedRep) GetReasonOk ¶

func (o *AccessAllowedRep) GetReasonOk() (*AccessAllowedReason, bool)

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

func (AccessAllowedRep) MarshalJSON ¶

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

func (*AccessAllowedRep) SetAction ¶

func (o *AccessAllowedRep) SetAction(v string)

SetAction sets field value

func (*AccessAllowedRep) SetReason ¶

func (o *AccessAllowedRep) SetReason(v AccessAllowedReason)

SetReason sets field value

type AccessDenied ¶

type AccessDenied struct {
	Action string             `json:"action"`
	Reason AccessDeniedReason `json:"reason"`
}

AccessDenied struct for AccessDenied

func NewAccessDenied ¶

func NewAccessDenied(action string, reason AccessDeniedReason) *AccessDenied

NewAccessDenied instantiates a new AccessDenied object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessDeniedWithDefaults ¶

func NewAccessDeniedWithDefaults() *AccessDenied

NewAccessDeniedWithDefaults instantiates a new AccessDenied object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccessDenied) GetAction ¶

func (o *AccessDenied) GetAction() string

GetAction returns the Action field value

func (*AccessDenied) GetActionOk ¶

func (o *AccessDenied) GetActionOk() (*string, bool)

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

func (*AccessDenied) GetReason ¶

func (o *AccessDenied) GetReason() AccessDeniedReason

GetReason returns the Reason field value

func (*AccessDenied) GetReasonOk ¶

func (o *AccessDenied) GetReasonOk() (*AccessDeniedReason, bool)

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

func (AccessDenied) MarshalJSON ¶

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

func (*AccessDenied) SetAction ¶

func (o *AccessDenied) SetAction(v string)

SetAction sets field value

func (*AccessDenied) SetReason ¶

func (o *AccessDenied) SetReason(v AccessDeniedReason)

SetReason sets field value

type AccessDeniedReason ¶

type AccessDeniedReason struct {
	// Resource specifier strings
	Resources []string `json:"resources,omitempty"`
	// Targeted resources are the resources NOT in this list. The <code>resources</code> and <code>notActions</code> fields must be empty to use this field.
	NotResources []string `json:"notResources,omitempty"`
	// Actions to perform on a resource
	Actions []string `json:"actions,omitempty"`
	// Targeted actions are the actions NOT in this list. The <code>actions</code> and <code>notResources</code> fields must be empty to use this field.
	NotActions []string `json:"notActions,omitempty"`
	// Whether this statement should allow or deny actions on the resources.
	Effect   string  `json:"effect"`
	RoleName *string `json:"role_name,omitempty"`
}

AccessDeniedReason struct for AccessDeniedReason

func NewAccessDeniedReason ¶

func NewAccessDeniedReason(effect string) *AccessDeniedReason

NewAccessDeniedReason instantiates a new AccessDeniedReason object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessDeniedReasonWithDefaults ¶

func NewAccessDeniedReasonWithDefaults() *AccessDeniedReason

NewAccessDeniedReasonWithDefaults instantiates a new AccessDeniedReason object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccessDeniedReason) GetActions ¶

func (o *AccessDeniedReason) GetActions() []string

GetActions returns the Actions field value if set, zero value otherwise.

func (*AccessDeniedReason) GetActionsOk ¶

func (o *AccessDeniedReason) GetActionsOk() ([]string, bool)

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

func (*AccessDeniedReason) GetEffect ¶

func (o *AccessDeniedReason) GetEffect() string

GetEffect returns the Effect field value

func (*AccessDeniedReason) GetEffectOk ¶

func (o *AccessDeniedReason) GetEffectOk() (*string, bool)

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

func (*AccessDeniedReason) GetNotActions ¶

func (o *AccessDeniedReason) GetNotActions() []string

GetNotActions returns the NotActions field value if set, zero value otherwise.

func (*AccessDeniedReason) GetNotActionsOk ¶

func (o *AccessDeniedReason) GetNotActionsOk() ([]string, bool)

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

func (*AccessDeniedReason) GetNotResources ¶

func (o *AccessDeniedReason) GetNotResources() []string

GetNotResources returns the NotResources field value if set, zero value otherwise.

func (*AccessDeniedReason) GetNotResourcesOk ¶

func (o *AccessDeniedReason) GetNotResourcesOk() ([]string, bool)

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

func (*AccessDeniedReason) GetResources ¶

func (o *AccessDeniedReason) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*AccessDeniedReason) GetResourcesOk ¶

func (o *AccessDeniedReason) GetResourcesOk() ([]string, bool)

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

func (*AccessDeniedReason) GetRoleName ¶

func (o *AccessDeniedReason) GetRoleName() string

GetRoleName returns the RoleName field value if set, zero value otherwise.

func (*AccessDeniedReason) GetRoleNameOk ¶

func (o *AccessDeniedReason) GetRoleNameOk() (*string, bool)

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

func (*AccessDeniedReason) HasActions ¶

func (o *AccessDeniedReason) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*AccessDeniedReason) HasNotActions ¶

func (o *AccessDeniedReason) HasNotActions() bool

HasNotActions returns a boolean if a field has been set.

func (*AccessDeniedReason) HasNotResources ¶

func (o *AccessDeniedReason) HasNotResources() bool

HasNotResources returns a boolean if a field has been set.

func (*AccessDeniedReason) HasResources ¶

func (o *AccessDeniedReason) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*AccessDeniedReason) HasRoleName ¶

func (o *AccessDeniedReason) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

func (AccessDeniedReason) MarshalJSON ¶

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

func (*AccessDeniedReason) SetActions ¶

func (o *AccessDeniedReason) SetActions(v []string)

SetActions gets a reference to the given []string and assigns it to the Actions field.

func (*AccessDeniedReason) SetEffect ¶

func (o *AccessDeniedReason) SetEffect(v string)

SetEffect sets field value

func (*AccessDeniedReason) SetNotActions ¶

func (o *AccessDeniedReason) SetNotActions(v []string)

SetNotActions gets a reference to the given []string and assigns it to the NotActions field.

func (*AccessDeniedReason) SetNotResources ¶

func (o *AccessDeniedReason) SetNotResources(v []string)

SetNotResources gets a reference to the given []string and assigns it to the NotResources field.

func (*AccessDeniedReason) SetResources ¶

func (o *AccessDeniedReason) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*AccessDeniedReason) SetRoleName ¶

func (o *AccessDeniedReason) SetRoleName(v string)

SetRoleName gets a reference to the given string and assigns it to the RoleName field.

type AccessTokenPost ¶

type AccessTokenPost struct {
	// A human-friendly name for the access token
	Name *string `json:"name,omitempty"`
	// A description for the access token
	Description *string `json:"description,omitempty"`
	// Built-in role for the token
	Role *string `json:"role,omitempty"`
	// A list of custom role IDs to use as access limits for the access token
	CustomRoleIds []string `json:"customRoleIds,omitempty"`
	// A JSON array of statements represented as JSON objects with three attributes: effect, resources, actions. May be used in place of a built-in or custom role.
	InlineRole []StatementPost `json:"inlineRole,omitempty"`
	// Whether the token is a service token https://docs.launchdarkly.com/home/account-security/api-access-tokens#service-tokens
	ServiceToken *bool `json:"serviceToken,omitempty"`
	// The default API version for this token
	DefaultApiVersion *int32 `json:"defaultApiVersion,omitempty"`
}

AccessTokenPost struct for AccessTokenPost

func NewAccessTokenPost ¶

func NewAccessTokenPost() *AccessTokenPost

NewAccessTokenPost instantiates a new AccessTokenPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessTokenPostWithDefaults ¶

func NewAccessTokenPostWithDefaults() *AccessTokenPost

NewAccessTokenPostWithDefaults instantiates a new AccessTokenPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccessTokenPost) GetCustomRoleIds ¶

func (o *AccessTokenPost) GetCustomRoleIds() []string

GetCustomRoleIds returns the CustomRoleIds field value if set, zero value otherwise.

func (*AccessTokenPost) GetCustomRoleIdsOk ¶

func (o *AccessTokenPost) GetCustomRoleIdsOk() ([]string, bool)

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

func (*AccessTokenPost) GetDefaultApiVersion ¶

func (o *AccessTokenPost) GetDefaultApiVersion() int32

GetDefaultApiVersion returns the DefaultApiVersion field value if set, zero value otherwise.

func (*AccessTokenPost) GetDefaultApiVersionOk ¶

func (o *AccessTokenPost) GetDefaultApiVersionOk() (*int32, bool)

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

func (*AccessTokenPost) GetDescription ¶

func (o *AccessTokenPost) GetDescription() string

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

func (*AccessTokenPost) GetDescriptionOk ¶

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

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

func (*AccessTokenPost) GetInlineRole ¶

func (o *AccessTokenPost) GetInlineRole() []StatementPost

GetInlineRole returns the InlineRole field value if set, zero value otherwise.

func (*AccessTokenPost) GetInlineRoleOk ¶

func (o *AccessTokenPost) GetInlineRoleOk() ([]StatementPost, bool)

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

func (*AccessTokenPost) GetName ¶

func (o *AccessTokenPost) GetName() string

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

func (*AccessTokenPost) GetNameOk ¶

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

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

func (*AccessTokenPost) GetRole ¶

func (o *AccessTokenPost) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*AccessTokenPost) GetRoleOk ¶

func (o *AccessTokenPost) GetRoleOk() (*string, bool)

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

func (*AccessTokenPost) GetServiceToken ¶

func (o *AccessTokenPost) GetServiceToken() bool

GetServiceToken returns the ServiceToken field value if set, zero value otherwise.

func (*AccessTokenPost) GetServiceTokenOk ¶

func (o *AccessTokenPost) GetServiceTokenOk() (*bool, bool)

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

func (*AccessTokenPost) HasCustomRoleIds ¶

func (o *AccessTokenPost) HasCustomRoleIds() bool

HasCustomRoleIds returns a boolean if a field has been set.

func (*AccessTokenPost) HasDefaultApiVersion ¶

func (o *AccessTokenPost) HasDefaultApiVersion() bool

HasDefaultApiVersion returns a boolean if a field has been set.

func (*AccessTokenPost) HasDescription ¶

func (o *AccessTokenPost) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AccessTokenPost) HasInlineRole ¶

func (o *AccessTokenPost) HasInlineRole() bool

HasInlineRole returns a boolean if a field has been set.

func (*AccessTokenPost) HasName ¶

func (o *AccessTokenPost) HasName() bool

HasName returns a boolean if a field has been set.

func (*AccessTokenPost) HasRole ¶

func (o *AccessTokenPost) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*AccessTokenPost) HasServiceToken ¶

func (o *AccessTokenPost) HasServiceToken() bool

HasServiceToken returns a boolean if a field has been set.

func (AccessTokenPost) MarshalJSON ¶

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

func (*AccessTokenPost) SetCustomRoleIds ¶

func (o *AccessTokenPost) SetCustomRoleIds(v []string)

SetCustomRoleIds gets a reference to the given []string and assigns it to the CustomRoleIds field.

func (*AccessTokenPost) SetDefaultApiVersion ¶

func (o *AccessTokenPost) SetDefaultApiVersion(v int32)

SetDefaultApiVersion gets a reference to the given int32 and assigns it to the DefaultApiVersion field.

func (*AccessTokenPost) SetDescription ¶

func (o *AccessTokenPost) SetDescription(v string)

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

func (*AccessTokenPost) SetInlineRole ¶

func (o *AccessTokenPost) SetInlineRole(v []StatementPost)

SetInlineRole gets a reference to the given []StatementPost and assigns it to the InlineRole field.

func (*AccessTokenPost) SetName ¶

func (o *AccessTokenPost) SetName(v string)

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

func (*AccessTokenPost) SetRole ¶

func (o *AccessTokenPost) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*AccessTokenPost) SetServiceToken ¶

func (o *AccessTokenPost) SetServiceToken(v bool)

SetServiceToken gets a reference to the given bool and assigns it to the ServiceToken field.

type AccessTokensApiService ¶

type AccessTokensApiService service

AccessTokensApiService AccessTokensApi service

func (*AccessTokensApiService) DeleteToken ¶

DeleteToken Delete access token

Delete an access token by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the access token to update
@return ApiDeleteTokenRequest

func (*AccessTokensApiService) DeleteTokenExecute ¶

func (a *AccessTokensApiService) DeleteTokenExecute(r ApiDeleteTokenRequest) (*http.Response, error)

Execute executes the request

func (*AccessTokensApiService) GetToken ¶

GetToken Get access token

Get a single access token by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the access token
@return ApiGetTokenRequest

func (*AccessTokensApiService) GetTokenExecute ¶

func (a *AccessTokensApiService) GetTokenExecute(r ApiGetTokenRequest) (*Token, *http.Response, error)

Execute executes the request

@return Token

func (*AccessTokensApiService) GetTokens ¶

GetTokens List access tokens

Fetch a list of all access tokens.

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

func (*AccessTokensApiService) GetTokensExecute ¶

func (a *AccessTokensApiService) GetTokensExecute(r ApiGetTokensRequest) (*Tokens, *http.Response, error)

Execute executes the request

@return Tokens

func (*AccessTokensApiService) PatchToken ¶

PatchToken Patch access token

Update an access token's settings. Updating an access token uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the access token to update
@return ApiPatchTokenRequest

func (*AccessTokensApiService) PatchTokenExecute ¶

func (a *AccessTokensApiService) PatchTokenExecute(r ApiPatchTokenRequest) (*Token, *http.Response, error)

Execute executes the request

@return Token

func (*AccessTokensApiService) PostToken ¶

PostToken Create access token

Create a new access token.

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

func (*AccessTokensApiService) PostTokenExecute ¶

func (a *AccessTokensApiService) PostTokenExecute(r ApiPostTokenRequest) (*Token, *http.Response, error)

Execute executes the request

@return Token

func (*AccessTokensApiService) ResetToken ¶

ResetToken Reset access token

Reset an access token's secret key with an optional expiry time for the old key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the access token to update
@return ApiResetTokenRequest

func (*AccessTokensApiService) ResetTokenExecute ¶

func (a *AccessTokensApiService) ResetTokenExecute(r ApiResetTokenRequest) (*Token, *http.Response, error)

Execute executes the request

@return Token

type AccountMembersApiService ¶

type AccountMembersApiService service

AccountMembersApiService AccountMembersApi service

func (*AccountMembersApiService) DeleteMember ¶

DeleteMember Delete account member

Delete a single account member by ID. Requests to delete account members will not work if SCIM is enabled for the account.

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

func (*AccountMembersApiService) DeleteMemberExecute ¶

func (a *AccountMembersApiService) DeleteMemberExecute(r ApiDeleteMemberRequest) (*http.Response, error)

Execute executes the request

func (*AccountMembersApiService) GetMember ¶

GetMember Get account member

Get a single account member by member ID.

`me` is a reserved value for the `id` parameter that returns the caller's member information.

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

func (*AccountMembersApiService) GetMemberExecute ¶

Execute executes the request

@return Member

func (*AccountMembersApiService) GetMembers ¶

GetMembers List account members

Return a list of account members.

By default, this returns the first 20 members. Page through this list with the `limit` parameter and by following the `first`, `prev`, `next`, and `last` links in the returned `_links` field. These links are not present if the pages they refer to don't exist. For example, the `first` and `prev` links will be missing from the response on the first page.

### Filtering members

LaunchDarkly supports the following fields for filters:

- `query` is a string that matches against the members' emails and names. It is not case sensitive. - `role` is a `|` separated list of roles and custom roles. It filters the list to members who have any of the roles in the list. For the purposes of this filtering, `Owner` counts as `Admin`. - `team` is a string that matches against the key of the teams the members belong to. It is not case sensitive. - `noteam` is a boolean that filters the list of members who are not on a team if true and members on a team if false. - `lastSeen` is a JSON object in one of the following formats:

  • `{"never": true}` - Members that have never been active, such as those who have not accepted their invitation to LaunchDarkly, or have not logged in after being provisioned via SCIM.
  • `{"noData": true}` - Members that have not been active since LaunchDarkly began recording last seen timestamps.
  • `{"before": 1608672063611}` - Members that have not been active since the provided value, which should be a timestamp in Unix epoch milliseconds.

- `accessCheck` is a string that represents a specific action on a specific resource and is in the format `<ActionSpecifier>:<ResourceSpecifier>`. It filters the list to members who have the ability to perform that action on that resource. Note: `accessCheck` is only supported in API version `20220603` and earlier. To learn more, read [Versioning](https://apidocs.launchdarkly.com/#section/Overview/Versioning).

  • For example, the filter `accessCheck:createApprovalRequest:proj/default:env/test:flag/alternate-page` matches members with the ability to create an approval request for the `alternate-page` flag in the `test` environment of the `default` project.
  • Wildcard and tag filters are not supported when filtering for access.

For example, the filter `query:abc,role:admin|customrole` matches members with the string `abc` in their email or name, ignoring case, who also are either an `Owner` or `Admin` or have the custom role `customrole`.

### Sorting members

LaunchDarkly supports two fields for sorting: `displayName` and `lastSeen`:

- `displayName` sorts by first + last name, using the member's email if no name is set. - `lastSeen` sorts by the `_lastSeen` property. LaunchDarkly considers members that have never been seen or have no data the oldest.

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

func (*AccountMembersApiService) GetMembersExecute ¶

Execute executes the request

@return Members

func (*AccountMembersApiService) PatchMember ¶

PatchMember Modify an account member

Update a single account member. Updating a member uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

To update fields in the account member object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Use `/0` to add to the beginning of the array. Use `/-` to add to the end of the array. For example, to add a new custom role to a member, use the following request body:

```

[
  {
    "op": "add",
    "path": "/customRoles/0",
    "value": "some-role-id"
  }
]

```

You can update only an account member's role or custom role using a JSON patch. Members can update their own names and email addresses though the LaunchDarkly UI.

When SAML SSO or SCIM is enabled for the account, account members are managed in the Identity Provider (IdP). Requests to update account members will succeed, but the IdP will override the update shortly afterwards.

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

func (*AccountMembersApiService) PatchMemberExecute ¶

Execute executes the request

@return Member

func (*AccountMembersApiService) PostMemberTeams ¶

PostMemberTeams Add a member to teams

Add one member to one or more teams.

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

func (*AccountMembersApiService) PostMemberTeamsExecute ¶

func (a *AccountMembersApiService) PostMemberTeamsExecute(r ApiPostMemberTeamsRequest) (*Member, *http.Response, error)

Execute executes the request

@return Member

func (*AccountMembersApiService) PostMembers ¶

PostMembers Invite new members

Invite one or more new members to join an account. Each member is sent an invitation. Members with "admin" or "owner" roles may create new members, as well as anyone with a "createMember" permission for "member/\*". If a member cannot be invited, the entire request is rejected and no members are invited from that request.

Each member _must_ have an `email` field and either a `role` or a `customRoles` field. If any of the fields are not populated correctly, the request is rejected with the reason specified in the "message" field of the response.

Requests to create account members will not work if SCIM is enabled for the account.

_No more than 50 members may be created per request._

A request may also fail because of conflicts with existing members. These conflicts are reported using the additional `code` and `invalid_emails` response fields with the following possible values for `code`:

- **email_already_exists_in_account**: A member with this email address already exists in this account. - **email_taken_in_different_account**: A member with this email address exists in another account. - **duplicate_email**s: This request contains two or more members with the same email address.

A request that fails for one of the above reasons returns an HTTP response code of 400 (Bad Request).

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

func (*AccountMembersApiService) PostMembersExecute ¶

Execute executes the request

@return Members

type AccountMembersBetaApiService ¶

type AccountMembersBetaApiService service

AccountMembersBetaApiService AccountMembersBetaApi service

func (*AccountMembersBetaApiService) PatchMembers ¶

PatchMembers Modify account members

> ### Full use of this API resource is an Enterprise feature > > The ability to perform a partial update to multiple members is available to customers on an Enterprise plan. If you are on a Pro plan, you can update members individually. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/).

Perform a partial update to multiple members. Updating members uses the semantic patch format.

To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

### Instructions

Semantic patch requests support the following `kind` instructions for updating members.

<details> <summary>Click to expand instructions for <strong>updating members</strong></summary>

#### replaceMembersRoles

Replaces the roles of the specified members. This also removes all custom roles assigned to the specified members.

##### Parameters

- `value`: The new role. Must be a valid built-in role. To learn more about built-in roles, read [LaunchDarkly's built-in roles](https://docs.launchdarkly.com/home/members/built-in-roles). - `memberIDs`: List of member IDs.

Here's an example:

```json

{
  "instructions": [{
    "kind": "replaceMemberRoles",
    "value": "reader",
    "memberIDs": [
      "1234a56b7c89d012345e678f",
      "507f1f77bcf86cd799439011"
    ]
  }]
}

```

#### replaceAllMembersRoles

Replaces the roles of all members. This also removes all custom roles assigned to the specified members.

Members that match any of the filters are **excluded** from the update.

##### Parameters

- `value`: The new role. Must be a valid built-in role. To learn more about built-in roles, read [LaunchDarkly's built-in roles](https://docs.launchdarkly.com/home/members/built-in-roles). - `filterLastSeen`: (Optional) A JSON object with one of the following formats:

  • `{"never": true}` - Members that have never been active, such as those who have not accepted their invitation to LaunchDarkly, or have not logged in after being provisioned via SCIM.
  • `{"noData": true}` - Members that have not been active since LaunchDarkly began recording last seen timestamps.
  • `{"before": 1608672063611}` - Members that have not been active since the provided value, which should be a timestamp in Unix epoch milliseconds.

- `filterQuery`: (Optional) A string that matches against the members' emails and names. It is not case sensitive. - `filterRoles`: (Optional) A `|` separated list of roles and custom roles. For the purposes of this filtering, `Owner` counts as `Admin`. - `filterTeamKey`: (Optional) A string that matches against the key of the team the members belong to. It is not case sensitive. - `ignoredMemberIDs`: (Optional) A list of member IDs.

Here's an example:

```json

{
  "instructions": [{
    "kind": "replaceAllMembersRoles",
    "value": "reader",
    "filterLastSeen": { "never": true }
  }]
}

```

#### replaceMembersCustomRoles

Replaces the custom roles of the specified members.

##### Parameters

- `values`: List of new custom roles. Must be a valid custom role key or ID. - `memberIDs`: List of member IDs.

Here's an example:

```json

{
  "instructions": [{
    "kind": "replaceMembersCustomRoles",
    "values": [ "example-custom-role" ],
    "memberIDs": [
      "1234a56b7c89d012345e678f",
      "507f1f77bcf86cd799439011"
    ]
  }]
}

```

#### replaceAllMembersCustomRoles

Replaces the custom roles of all members. Members that match any of the filters are **excluded** from the update.

##### Parameters

- `values`: List of new roles. Must be a valid custom role key or ID. - `filterLastSeen`: (Optional) A JSON object with one of the following formats:

  • `{"never": true}` - Members that have never been active, such as those who have not accepted their invitation to LaunchDarkly, or have not logged in after being provisioned via SCIM.
  • `{"noData": true}` - Members that have not been active since LaunchDarkly began recording last seen timestamps.
  • `{"before": 1608672063611}` - Members that have not been active since the provided value, which should be a timestamp in Unix epoch milliseconds.

- `filterQuery`: (Optional) A string that matches against the members' emails and names. It is not case sensitive. - `filterRoles`: (Optional) A `|` separated list of roles and custom roles. For the purposes of this filtering, `Owner` counts as `Admin`. - `filterTeamKey`: (Optional) A string that matches against the key of the team the members belong to. It is not case sensitive. - `ignoredMemberIDs`: (Optional) A list of member IDs.

Here's an example:

```json

{
  "instructions": [{
    "kind": "replaceAllMembersCustomRoles",
    "values": [ "example-custom-role" ],
    "filterLastSeen": { "never": true }
  }]
}

```

</details>

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

func (*AccountMembersBetaApiService) PatchMembersExecute ¶

Execute executes the request

@return BulkEditMembersRep

type AccountUsageBetaApiService ¶

type AccountUsageBetaApiService service

AccountUsageBetaApiService AccountUsageBetaApi service

func (*AccountUsageBetaApiService) GetDataExportEventsUsage ¶ added in v15.1.0

GetDataExportEventsUsage Get data export events usage

Get a time-series array of the number of monthly data export events from your account. The granularity is always daily, with a maximum of 31 days.

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

func (*AccountUsageBetaApiService) GetDataExportEventsUsageExecute ¶ added in v15.1.0

Execute executes the request

@return SeriesIntervalsRep

func (*AccountUsageBetaApiService) GetEvaluationsUsage ¶

func (a *AccountUsageBetaApiService) GetEvaluationsUsage(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiGetEvaluationsUsageRequest

GetEvaluationsUsage Get evaluations usage

Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@return ApiGetEvaluationsUsageRequest

func (*AccountUsageBetaApiService) GetEvaluationsUsageExecute ¶

Execute executes the request

@return SeriesListRep

func (*AccountUsageBetaApiService) GetEventsUsage ¶

GetEventsUsage Get events usage

Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param type_ The type of event to retrieve. Must be either `received` or `published`.
@return ApiGetEventsUsageRequest

func (*AccountUsageBetaApiService) GetEventsUsageExecute ¶

Execute executes the request

@return SeriesListRep

func (*AccountUsageBetaApiService) GetExperimentationKeysUsage ¶

GetExperimentationKeysUsage Get experimentation keys usage

Get a time-series array of the number of monthly experimentation keys from your account. The granularity is always daily, with a maximum of 31 days.

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

func (*AccountUsageBetaApiService) GetExperimentationKeysUsageExecute ¶

Execute executes the request

@return SeriesIntervalsRep

func (*AccountUsageBetaApiService) GetExperimentationUnitsUsage ¶

GetExperimentationUnitsUsage Get experimentation units usage

Get a time-series array of the number of monthly experimentation units from your account. The granularity is always daily, with a maximum of 31 days.

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

func (*AccountUsageBetaApiService) GetExperimentationUnitsUsageExecute ¶

Execute executes the request

@return SeriesIntervalsRep

func (*AccountUsageBetaApiService) GetMauSdksByType ¶

GetMauSdksByType Get MAU SDKs by type

Get a list of SDKs. These are all of the SDKs that have connected to LaunchDarkly by monthly active users (MAU) in the requested time period.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://docs.launchdarkly.com/home/billing/usage-metrics).

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

func (*AccountUsageBetaApiService) GetMauSdksByTypeExecute ¶

Execute executes the request

@return SdkListRep

func (*AccountUsageBetaApiService) GetMauUsage ¶

GetMauUsage Get MAU usage

Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account. The granularity is always daily.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://docs.launchdarkly.com/home/billing/usage-metrics).

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

func (*AccountUsageBetaApiService) GetMauUsageByCategory ¶

GetMauUsageByCategory Get MAU usage by category

Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users. The category is either `browser`, `mobile`, or `backend`.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://docs.launchdarkly.com/home/billing/usage-metrics).

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

func (*AccountUsageBetaApiService) GetMauUsageByCategoryExecute ¶

Execute executes the request

@return SeriesListRep

func (*AccountUsageBetaApiService) GetMauUsageExecute ¶

Execute executes the request

@return SeriesListRep

func (*AccountUsageBetaApiService) GetServiceConnectionUsage ¶ added in v15.1.0

GetServiceConnectionUsage Get service connection usage

Get a time-series array of the number of monthly service connections from your account. The granularity is always daily, with a maximum of 31 days.

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

func (*AccountUsageBetaApiService) GetServiceConnectionUsageExecute ¶ added in v15.1.0

Execute executes the request

@return SeriesIntervalsRep

func (*AccountUsageBetaApiService) GetStreamUsage ¶

GetStreamUsage Get stream usage

Get a time-series array of the number of streaming connections to LaunchDarkly in each time period. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param source The source of streaming connections to describe. Must be either `client` or `server`.
@return ApiGetStreamUsageRequest

func (*AccountUsageBetaApiService) GetStreamUsageBySdkVersion ¶

func (a *AccountUsageBetaApiService) GetStreamUsageBySdkVersion(ctx context.Context, source string) ApiGetStreamUsageBySdkVersionRequest

GetStreamUsageBySdkVersion Get stream usage by SDK version

Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version. Information about each series is in the metadata array. The granularity of the data depends on the age of the data requested. If the requested range is within the past 2 hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param source The source of streaming connections to describe. Must be either `client` or `server`.
@return ApiGetStreamUsageBySdkVersionRequest

func (*AccountUsageBetaApiService) GetStreamUsageBySdkVersionExecute ¶

Execute executes the request

@return SeriesListRep

func (*AccountUsageBetaApiService) GetStreamUsageExecute ¶

Execute executes the request

@return SeriesListRep

func (*AccountUsageBetaApiService) GetStreamUsageSdkversion ¶

func (a *AccountUsageBetaApiService) GetStreamUsageSdkversion(ctx context.Context, source string) ApiGetStreamUsageSdkversionRequest

GetStreamUsageSdkversion Get stream usage SDK versions

Get a list of SDK version objects, which contain an SDK name and version. These are all of the SDKs that have connected to LaunchDarkly from your account in the past 60 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param source The source of streaming connections to describe. Must be either `client` or `server`.
@return ApiGetStreamUsageSdkversionRequest

func (*AccountUsageBetaApiService) GetStreamUsageSdkversionExecute ¶

Execute executes the request

@return SdkVersionListRep

type ActionInput ¶

type ActionInput struct {
	// An array of instructions for the stage. Each object in the array uses the semantic patch format for updating a feature flag.
	Instructions interface{} `json:"instructions,omitempty"`
}

ActionInput struct for ActionInput

func NewActionInput ¶

func NewActionInput() *ActionInput

NewActionInput instantiates a new ActionInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewActionInputWithDefaults ¶

func NewActionInputWithDefaults() *ActionInput

NewActionInputWithDefaults instantiates a new ActionInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActionInput) GetInstructions ¶

func (o *ActionInput) GetInstructions() interface{}

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

func (*ActionInput) GetInstructionsOk ¶

func (o *ActionInput) GetInstructionsOk() (*interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ActionInput) HasInstructions ¶

func (o *ActionInput) HasInstructions() bool

HasInstructions returns a boolean if a field has been set.

func (ActionInput) MarshalJSON ¶

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

func (*ActionInput) SetInstructions ¶

func (o *ActionInput) SetInstructions(v interface{})

SetInstructions gets a reference to the given interface{} and assigns it to the Instructions field.

type ActionOutput ¶

type ActionOutput struct {
	// The type of action for this stage
	Kind         string                   `json:"kind"`
	Instructions []map[string]interface{} `json:"instructions"`
}

ActionOutput struct for ActionOutput

func NewActionOutput ¶

func NewActionOutput(kind string, instructions []map[string]interface{}) *ActionOutput

NewActionOutput instantiates a new ActionOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewActionOutputWithDefaults ¶

func NewActionOutputWithDefaults() *ActionOutput

NewActionOutputWithDefaults instantiates a new ActionOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActionOutput) GetInstructions ¶

func (o *ActionOutput) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*ActionOutput) GetInstructionsOk ¶

func (o *ActionOutput) GetInstructionsOk() ([]map[string]interface{}, bool)

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

func (*ActionOutput) GetKind ¶

func (o *ActionOutput) GetKind() string

GetKind returns the Kind field value

func (*ActionOutput) GetKindOk ¶

func (o *ActionOutput) GetKindOk() (*string, bool)

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

func (ActionOutput) MarshalJSON ¶

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

func (*ActionOutput) SetInstructions ¶

func (o *ActionOutput) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

func (*ActionOutput) SetKind ¶

func (o *ActionOutput) SetKind(v string)

SetKind sets field value

type ApiAssociateRepositoriesAndProjectsRequest ¶

type ApiAssociateRepositoriesAndProjectsRequest struct {
	ApiService *InsightsRepositoriesBetaApiService
	// contains filtered or unexported fields
}

func (ApiAssociateRepositoriesAndProjectsRequest) Execute ¶

func (ApiAssociateRepositoriesAndProjectsRequest) InsightsRepositoryProjectMappings ¶

func (r ApiAssociateRepositoriesAndProjectsRequest) InsightsRepositoryProjectMappings(insightsRepositoryProjectMappings InsightsRepositoryProjectMappings) ApiAssociateRepositoriesAndProjectsRequest

type ApiCopyFeatureFlagRequest ¶

type ApiCopyFeatureFlagRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiCopyFeatureFlagRequest) Execute ¶

func (ApiCopyFeatureFlagRequest) FlagCopyConfigPost ¶

func (r ApiCopyFeatureFlagRequest) FlagCopyConfigPost(flagCopyConfigPost FlagCopyConfigPost) ApiCopyFeatureFlagRequest

type ApiCreateBigSegmentExportRequest ¶

type ApiCreateBigSegmentExportRequest struct {
	ApiService *SegmentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateBigSegmentExportRequest) Execute ¶

type ApiCreateBigSegmentImportRequest ¶

type ApiCreateBigSegmentImportRequest struct {
	ApiService *SegmentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateBigSegmentImportRequest) Execute ¶

func (ApiCreateBigSegmentImportRequest) File ¶

CSV file containing keys

func (ApiCreateBigSegmentImportRequest) Mode ¶

Import mode. Use either &#x60;merge&#x60; or &#x60;replace&#x60;

type ApiCreateBigSegmentStoreIntegrationRequest ¶

type ApiCreateBigSegmentStoreIntegrationRequest struct {
	ApiService *IntegrationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateBigSegmentStoreIntegrationRequest) Execute ¶

func (ApiCreateBigSegmentStoreIntegrationRequest) IntegrationDeliveryConfigurationPost ¶

func (r ApiCreateBigSegmentStoreIntegrationRequest) IntegrationDeliveryConfigurationPost(integrationDeliveryConfigurationPost IntegrationDeliveryConfigurationPost) ApiCreateBigSegmentStoreIntegrationRequest

type ApiCreateDeploymentEventRequest ¶

type ApiCreateDeploymentEventRequest struct {
	ApiService *InsightsDeploymentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateDeploymentEventRequest) Execute ¶

func (ApiCreateDeploymentEventRequest) PostDeploymentEventInput ¶

func (r ApiCreateDeploymentEventRequest) PostDeploymentEventInput(postDeploymentEventInput PostDeploymentEventInput) ApiCreateDeploymentEventRequest

type ApiCreateExperimentRequest ¶

type ApiCreateExperimentRequest struct {
	ApiService *ExperimentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateExperimentRequest) Execute ¶

func (ApiCreateExperimentRequest) ExperimentPost ¶

func (r ApiCreateExperimentRequest) ExperimentPost(experimentPost ExperimentPost) ApiCreateExperimentRequest

type ApiCreateFlagLinkRequest ¶

type ApiCreateFlagLinkRequest struct {
	ApiService *FlagLinksBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateFlagLinkRequest) Execute ¶

func (ApiCreateFlagLinkRequest) FlagLinkPost ¶

func (r ApiCreateFlagLinkRequest) FlagLinkPost(flagLinkPost FlagLinkPost) ApiCreateFlagLinkRequest

type ApiCreateInsightGroupRequest ¶

type ApiCreateInsightGroupRequest struct {
	ApiService *InsightsScoresBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateInsightGroupRequest) Execute ¶

func (ApiCreateInsightGroupRequest) PostInsightGroupParams ¶

func (r ApiCreateInsightGroupRequest) PostInsightGroupParams(postInsightGroupParams PostInsightGroupParams) ApiCreateInsightGroupRequest

type ApiCreateIntegrationDeliveryConfigurationRequest ¶

type ApiCreateIntegrationDeliveryConfigurationRequest struct {
	ApiService *IntegrationDeliveryConfigurationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateIntegrationDeliveryConfigurationRequest) Execute ¶

func (ApiCreateIntegrationDeliveryConfigurationRequest) IntegrationDeliveryConfigurationPost ¶

func (r ApiCreateIntegrationDeliveryConfigurationRequest) IntegrationDeliveryConfigurationPost(integrationDeliveryConfigurationPost IntegrationDeliveryConfigurationPost) ApiCreateIntegrationDeliveryConfigurationRequest

type ApiCreateIterationRequest ¶

type ApiCreateIterationRequest struct {
	ApiService *ExperimentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateIterationRequest) Execute ¶

func (ApiCreateIterationRequest) IterationInput ¶

func (r ApiCreateIterationRequest) IterationInput(iterationInput IterationInput) ApiCreateIterationRequest

type ApiCreateMetricGroupRequest ¶

type ApiCreateMetricGroupRequest struct {
	ApiService *MetricsBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateMetricGroupRequest) Execute ¶

func (ApiCreateMetricGroupRequest) MetricGroupPost ¶

func (r ApiCreateMetricGroupRequest) MetricGroupPost(metricGroupPost MetricGroupPost) ApiCreateMetricGroupRequest

type ApiCreateOAuth2ClientRequest ¶

type ApiCreateOAuth2ClientRequest struct {
	ApiService *OAuth2ClientsApiService
	// contains filtered or unexported fields
}

func (ApiCreateOAuth2ClientRequest) Execute ¶

func (ApiCreateOAuth2ClientRequest) OauthClientPost ¶

type ApiCreateSubscriptionRequest ¶

type ApiCreateSubscriptionRequest struct {
	ApiService *IntegrationAuditLogSubscriptionsApiService
	// contains filtered or unexported fields
}

func (ApiCreateSubscriptionRequest) Execute ¶

func (ApiCreateSubscriptionRequest) SubscriptionPost ¶

func (r ApiCreateSubscriptionRequest) SubscriptionPost(subscriptionPost SubscriptionPost) ApiCreateSubscriptionRequest

type ApiCreateTriggerWorkflowRequest ¶

type ApiCreateTriggerWorkflowRequest struct {
	ApiService *FlagTriggersApiService
	// contains filtered or unexported fields
}

func (ApiCreateTriggerWorkflowRequest) Execute ¶

func (ApiCreateTriggerWorkflowRequest) TriggerPost ¶

type ApiCreateWorkflowTemplateRequest ¶

type ApiCreateWorkflowTemplateRequest struct {
	ApiService *WorkflowTemplatesApiService
	// contains filtered or unexported fields
}

func (ApiCreateWorkflowTemplateRequest) CreateWorkflowTemplateInput ¶

func (r ApiCreateWorkflowTemplateRequest) CreateWorkflowTemplateInput(createWorkflowTemplateInput CreateWorkflowTemplateInput) ApiCreateWorkflowTemplateRequest

func (ApiCreateWorkflowTemplateRequest) Execute ¶

type ApiDeleteApplicationRequest ¶

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

func (ApiDeleteApplicationRequest) Execute ¶

type ApiDeleteApplicationVersionRequest ¶

type ApiDeleteApplicationVersionRequest struct {
	ApiService *ApplicationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiDeleteApplicationVersionRequest) Execute ¶

type ApiDeleteApprovalRequestForFlagRequest ¶

type ApiDeleteApprovalRequestForFlagRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteApprovalRequestForFlagRequest) Execute ¶

type ApiDeleteApprovalRequestRequest ¶

type ApiDeleteApprovalRequestRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteApprovalRequestRequest) Execute ¶

type ApiDeleteBigSegmentStoreIntegrationRequest ¶

type ApiDeleteBigSegmentStoreIntegrationRequest struct {
	ApiService *IntegrationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBigSegmentStoreIntegrationRequest) Execute ¶

type ApiDeleteBranchesRequest ¶

type ApiDeleteBranchesRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBranchesRequest) Execute ¶

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

func (ApiDeleteBranchesRequest) RequestBody ¶

func (r ApiDeleteBranchesRequest) RequestBody(requestBody []string) ApiDeleteBranchesRequest

type ApiDeleteContextInstancesRequest ¶

type ApiDeleteContextInstancesRequest struct {
	ApiService *ContextsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteContextInstancesRequest) Execute ¶

type ApiDeleteCustomRoleRequest ¶

type ApiDeleteCustomRoleRequest struct {
	ApiService *CustomRolesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteCustomRoleRequest) Execute ¶

type ApiDeleteDestinationRequest ¶

type ApiDeleteDestinationRequest struct {
	ApiService *DataExportDestinationsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDestinationRequest) Execute ¶

type ApiDeleteEnvironmentRequest ¶

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

func (ApiDeleteEnvironmentRequest) Execute ¶

type ApiDeleteFeatureFlagRequest ¶

type ApiDeleteFeatureFlagRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteFeatureFlagRequest) Execute ¶

type ApiDeleteFlagConfigScheduledChangesRequest ¶

type ApiDeleteFlagConfigScheduledChangesRequest struct {
	ApiService *ScheduledChangesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteFlagConfigScheduledChangesRequest) Execute ¶

type ApiDeleteFlagFollowersRequest ¶

type ApiDeleteFlagFollowersRequest struct {
	ApiService *FollowFlagsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteFlagFollowersRequest) Execute ¶

type ApiDeleteFlagLinkRequest ¶

type ApiDeleteFlagLinkRequest struct {
	ApiService *FlagLinksBetaApiService
	// contains filtered or unexported fields
}

func (ApiDeleteFlagLinkRequest) Execute ¶

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

type ApiDeleteInsightGroupRequest ¶

type ApiDeleteInsightGroupRequest struct {
	ApiService *InsightsScoresBetaApiService
	// contains filtered or unexported fields
}

func (ApiDeleteInsightGroupRequest) Execute ¶

type ApiDeleteIntegrationDeliveryConfigurationRequest ¶

type ApiDeleteIntegrationDeliveryConfigurationRequest struct {
	ApiService *IntegrationDeliveryConfigurationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiDeleteIntegrationDeliveryConfigurationRequest) Execute ¶

type ApiDeleteMemberRequest ¶

type ApiDeleteMemberRequest struct {
	ApiService *AccountMembersApiService
	// contains filtered or unexported fields
}

func (ApiDeleteMemberRequest) Execute ¶

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

type ApiDeleteMetricGroupRequest ¶

type ApiDeleteMetricGroupRequest struct {
	ApiService *MetricsBetaApiService
	// contains filtered or unexported fields
}

func (ApiDeleteMetricGroupRequest) Execute ¶

type ApiDeleteMetricRequest ¶

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

func (ApiDeleteMetricRequest) Execute ¶

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

type ApiDeleteOAuthClientRequest ¶

type ApiDeleteOAuthClientRequest struct {
	ApiService *OAuth2ClientsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteOAuthClientRequest) Execute ¶

type ApiDeleteProjectRequest ¶

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

func (ApiDeleteProjectRequest) Execute ¶

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

type ApiDeleteRelayAutoConfigRequest ¶

type ApiDeleteRelayAutoConfigRequest struct {
	ApiService *RelayProxyConfigurationsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteRelayAutoConfigRequest) Execute ¶

type ApiDeleteReleasePipelineRequest ¶

type ApiDeleteReleasePipelineRequest struct {
	ApiService *ReleasePipelinesBetaApiService
	// contains filtered or unexported fields
}

func (ApiDeleteReleasePipelineRequest) Execute ¶

type ApiDeleteRepositoryProjectRequest ¶

type ApiDeleteRepositoryProjectRequest struct {
	ApiService *InsightsRepositoriesBetaApiService
	// contains filtered or unexported fields
}

func (ApiDeleteRepositoryProjectRequest) Execute ¶

type ApiDeleteRepositoryRequest ¶

type ApiDeleteRepositoryRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteRepositoryRequest) Execute ¶

type ApiDeleteSegmentRequest ¶

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

func (ApiDeleteSegmentRequest) Execute ¶

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

type ApiDeleteSubscriptionRequest ¶

type ApiDeleteSubscriptionRequest struct {
	ApiService *IntegrationAuditLogSubscriptionsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteSubscriptionRequest) Execute ¶

type ApiDeleteTeamRequest ¶

type ApiDeleteTeamRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteTeamRequest) Execute ¶

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

type ApiDeleteTokenRequest ¶

type ApiDeleteTokenRequest struct {
	ApiService *AccessTokensApiService
	// contains filtered or unexported fields
}

func (ApiDeleteTokenRequest) Execute ¶

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

type ApiDeleteTriggerWorkflowRequest ¶

type ApiDeleteTriggerWorkflowRequest struct {
	ApiService *FlagTriggersApiService
	// contains filtered or unexported fields
}

func (ApiDeleteTriggerWorkflowRequest) Execute ¶

type ApiDeleteUserRequest ¶

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

func (ApiDeleteUserRequest) Execute ¶

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

type ApiDeleteWebhookRequest ¶

type ApiDeleteWebhookRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (ApiDeleteWebhookRequest) Execute ¶

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

type ApiDeleteWorkflowRequest ¶

type ApiDeleteWorkflowRequest struct {
	ApiService *WorkflowsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteWorkflowRequest) Execute ¶

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

type ApiDeleteWorkflowTemplateRequest ¶

type ApiDeleteWorkflowTemplateRequest struct {
	ApiService *WorkflowTemplatesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteWorkflowTemplateRequest) Execute ¶

type ApiEvaluateContextInstanceRequest ¶

type ApiEvaluateContextInstanceRequest struct {
	ApiService *ContextsApiService
	// contains filtered or unexported fields
}

func (ApiEvaluateContextInstanceRequest) Execute ¶

func (ApiEvaluateContextInstanceRequest) Filter ¶

A comma-separated list of filters. Each filter is of the form &#x60;field operator value&#x60;. Supported fields are explained above.

func (ApiEvaluateContextInstanceRequest) Limit ¶

The number of feature flags to return. Defaults to -1, which returns all flags

func (ApiEvaluateContextInstanceRequest) Offset ¶

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

func (ApiEvaluateContextInstanceRequest) RequestBody ¶

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

func (ApiEvaluateContextInstanceRequest) Sort ¶

A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order

type ApiGetAllReleasePipelinesRequest ¶

type ApiGetAllReleasePipelinesRequest struct {
	ApiService *ReleasePipelinesBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetAllReleasePipelinesRequest) Execute ¶

func (ApiGetAllReleasePipelinesRequest) Filter ¶

A comma-separated list of filters. Each filter is of the form field:value. Read the endpoint description for a full list of available filter fields.

func (ApiGetAllReleasePipelinesRequest) Limit ¶

The maximum number of items to return. Defaults to 20.

func (ApiGetAllReleasePipelinesRequest) Offset ¶

Where to start in the list. Defaults to 0. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

type ApiGetAllWebhooksRequest ¶

type ApiGetAllWebhooksRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (ApiGetAllWebhooksRequest) Execute ¶

type ApiGetApplicationRequest ¶

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

func (ApiGetApplicationRequest) Execute ¶

func (ApiGetApplicationRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response. Options: &#x60;flags&#x60;.

type ApiGetApplicationVersionsRequest ¶

type ApiGetApplicationVersionsRequest struct {
	ApiService *ApplicationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetApplicationVersionsRequest) Execute ¶

func (ApiGetApplicationVersionsRequest) Filter ¶

Accepts filter by &#x60;key&#x60;, &#x60;name&#x60;, &#x60;supported&#x60;, and &#x60;autoAdded&#x60;. Example: &#x60;filter&#x3D;key equals &#39;test-key&#39;&#x60;. To learn more about the filter syntax, read [Filtering applications and application versions](/tag/Applications-(beta)#filtering-contexts-and-context-instances).

func (ApiGetApplicationVersionsRequest) Limit ¶

The number of versions to return. Defaults to 50.

func (ApiGetApplicationVersionsRequest) Offset ¶

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

func (ApiGetApplicationVersionsRequest) Sort ¶

Accepts sorting order and fields. Fields can be comma separated. Possible fields are &#x60;creationDate&#x60;, &#x60;name&#x60;. Examples: &#x60;sort&#x3D;name&#x60; sort by names ascending, &#x60;sort&#x3D;-name,creationDate&#x60; sort by names descending and creationDate ascending.

type ApiGetApplicationsRequest ¶

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

func (ApiGetApplicationsRequest) Execute ¶

func (ApiGetApplicationsRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response. Options: &#x60;flags&#x60;.

func (ApiGetApplicationsRequest) Filter ¶

Accepts filter by &#x60;key&#x60;, &#x60;name&#x60;, &#x60;kind&#x60;, and &#x60;autoAdded&#x60;. Example: &#x60;filter&#x3D;kind anyOf [&#39;mobile&#39;, &#39;server&#39;],key equals &#39;test-key&#39;&#x60;. To learn more about the filter syntax, read [Filtering applications and application versions](/tag/Applications-(beta)#filtering-contexts-and-context-instances).

func (ApiGetApplicationsRequest) Limit ¶

The number of applications to return. Defaults to 10.

func (ApiGetApplicationsRequest) Offset ¶

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

func (ApiGetApplicationsRequest) Sort ¶

Accepts sorting order and fields. Fields can be comma separated. Possible fields are &#x60;creationDate&#x60;, &#x60;name&#x60;. Examples: &#x60;sort&#x3D;name&#x60; sort by names ascending, &#x60;sort&#x3D;-name,creationDate&#x60; sort by names descending and creationDate ascending.

type ApiGetApprovalForFlagRequest ¶

type ApiGetApprovalForFlagRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiGetApprovalForFlagRequest) Execute ¶

type ApiGetApprovalRequestRequest ¶

type ApiGetApprovalRequestRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiGetApprovalRequestRequest) Execute ¶

func (ApiGetApprovalRequestRequest) Expand ¶

A comma-separated list of fields to expand in the response. Supported fields are explained above.

type ApiGetApprovalRequestsRequest ¶

type ApiGetApprovalRequestsRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiGetApprovalRequestsRequest) Execute ¶

func (ApiGetApprovalRequestsRequest) Expand ¶

A comma-separated list of fields to expand in the response. Supported fields are explained above.

func (ApiGetApprovalRequestsRequest) Filter ¶

A comma-separated list of filters. Each filter is of the form &#x60;field operator value&#x60;. Supported fields are explained above.

func (ApiGetApprovalRequestsRequest) Limit ¶

The number of approvals to return. Defaults to 20. Maximum limit is 200.

func (ApiGetApprovalRequestsRequest) Offset ¶

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

type ApiGetApprovalsForFlagRequest ¶

type ApiGetApprovalsForFlagRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiGetApprovalsForFlagRequest) Execute ¶

type ApiGetAuditLogEntriesRequest ¶

type ApiGetAuditLogEntriesRequest struct {
	ApiService *AuditLogApiService
	// contains filtered or unexported fields
}

func (ApiGetAuditLogEntriesRequest) After ¶

A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred after the timestamp.

func (ApiGetAuditLogEntriesRequest) Before ¶

A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred before the timestamp.

func (ApiGetAuditLogEntriesRequest) Execute ¶

func (ApiGetAuditLogEntriesRequest) Limit ¶

A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10.

func (ApiGetAuditLogEntriesRequest) Q ¶

Text to search for. You can search for the full or partial name of the resource.

func (ApiGetAuditLogEntriesRequest) Spec ¶

A resource specifier that lets you filter audit log listings by resource

type ApiGetAuditLogEntryRequest ¶

type ApiGetAuditLogEntryRequest struct {
	ApiService *AuditLogApiService
	// contains filtered or unexported fields
}

func (ApiGetAuditLogEntryRequest) Execute ¶

type ApiGetBigSegmentExportRequest ¶

type ApiGetBigSegmentExportRequest struct {
	ApiService *SegmentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetBigSegmentExportRequest) Execute ¶

type ApiGetBigSegmentImportRequest ¶

type ApiGetBigSegmentImportRequest struct {
	ApiService *SegmentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetBigSegmentImportRequest) Execute ¶

type ApiGetBigSegmentStoreIntegrationRequest ¶

type ApiGetBigSegmentStoreIntegrationRequest struct {
	ApiService *IntegrationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetBigSegmentStoreIntegrationRequest) Execute ¶

type ApiGetBigSegmentStoreIntegrationsRequest ¶

type ApiGetBigSegmentStoreIntegrationsRequest struct {
	ApiService *IntegrationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetBigSegmentStoreIntegrationsRequest) Execute ¶

type ApiGetBranchRequest ¶

type ApiGetBranchRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiGetBranchRequest) Execute ¶

func (r ApiGetBranchRequest) Execute() (*BranchRep, *http.Response, error)

func (ApiGetBranchRequest) FlagKey ¶

func (r ApiGetBranchRequest) FlagKey(flagKey string) ApiGetBranchRequest

Filter results to a specific flag key

func (ApiGetBranchRequest) ProjKey ¶

func (r ApiGetBranchRequest) ProjKey(projKey string) ApiGetBranchRequest

Filter results to a specific project

type ApiGetBranchesRequest ¶

type ApiGetBranchesRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiGetBranchesRequest) Execute ¶

type ApiGetContextAttributeNamesRequest ¶

type ApiGetContextAttributeNamesRequest struct {
	ApiService *ContextsApiService
	// contains filtered or unexported fields
}

func (ApiGetContextAttributeNamesRequest) Execute ¶

func (ApiGetContextAttributeNamesRequest) Filter ¶

A comma-separated list of context filters. This endpoint only accepts &#x60;kind&#x60; filters, with the &#x60;equals&#x60; operator, and &#x60;name&#x60; filters, with the &#x60;startsWith&#x60; operator. To learn more about the filter syntax, read [Filtering contexts and context instances](/tag/Contexts#filtering-contexts-and-context-instances).

type ApiGetContextAttributeValuesRequest ¶

type ApiGetContextAttributeValuesRequest struct {
	ApiService *ContextsApiService
	// contains filtered or unexported fields
}

func (ApiGetContextAttributeValuesRequest) Execute ¶

func (ApiGetContextAttributeValuesRequest) Filter ¶

A comma-separated list of context filters. This endpoint only accepts &#x60;kind&#x60; filters, with the &#x60;equals&#x60; operator, and &#x60;value&#x60; filters, with the &#x60;startsWith&#x60; operator. To learn more about the filter syntax, read [Filtering contexts and context instances](/tag/Contexts#filtering-contexts-and-context-instances).

type ApiGetContextInstanceSegmentsMembershipByEnvRequest ¶

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

func (ApiGetContextInstanceSegmentsMembershipByEnvRequest) Execute ¶

func (ApiGetContextInstanceSegmentsMembershipByEnvRequest) RequestBody ¶

type ApiGetContextInstancesRequest ¶

type ApiGetContextInstancesRequest struct {
	ApiService *ContextsApiService
	// contains filtered or unexported fields
}

func (ApiGetContextInstancesRequest) ContinuationToken ¶

func (r ApiGetContextInstancesRequest) ContinuationToken(continuationToken string) ApiGetContextInstancesRequest

Limits results to context instances with sort values after the value specified. You can use this for pagination, however, we recommend using the &#x60;next&#x60; link we provide instead.

func (ApiGetContextInstancesRequest) Execute ¶

func (ApiGetContextInstancesRequest) Filter ¶

A comma-separated list of context filters. This endpoint only accepts an &#x60;applicationId&#x60; filter. To learn more about the filter syntax, read [Filtering contexts and context instances](/tag/Contexts#filtering-contexts-and-context-instances).

func (ApiGetContextInstancesRequest) IncludeTotalCount ¶

func (r ApiGetContextInstancesRequest) IncludeTotalCount(includeTotalCount bool) ApiGetContextInstancesRequest

Specifies whether to include or omit the total count of matching context instances. Defaults to true.

func (ApiGetContextInstancesRequest) Limit ¶

Specifies the maximum number of context instances to return (max: 50, default: 20)

func (ApiGetContextInstancesRequest) Sort ¶

Specifies a field by which to sort. LaunchDarkly supports sorting by timestamp in ascending order by specifying &#x60;ts&#x60; for this value, or descending order by specifying &#x60;-ts&#x60;.

type ApiGetContextKindsByProjectKeyRequest ¶

type ApiGetContextKindsByProjectKeyRequest struct {
	ApiService *ContextsApiService
	// contains filtered or unexported fields
}

func (ApiGetContextKindsByProjectKeyRequest) Execute ¶

type ApiGetContextsRequest ¶

type ApiGetContextsRequest struct {
	ApiService *ContextsApiService
	// contains filtered or unexported fields
}

func (ApiGetContextsRequest) ContinuationToken ¶

func (r ApiGetContextsRequest) ContinuationToken(continuationToken string) ApiGetContextsRequest

Limits results to contexts with sort values after the value specified. You can use this for pagination, however, we recommend using the &#x60;next&#x60; link we provide instead.

func (ApiGetContextsRequest) Execute ¶

func (r ApiGetContextsRequest) Execute() (*Contexts, *http.Response, error)

func (ApiGetContextsRequest) Filter ¶

A comma-separated list of context filters. This endpoint only accepts an &#x60;applicationId&#x60; filter. To learn more about the filter syntax, read [Filtering contexts and context instances](/tag/Contexts#filtering-contexts-and-context-instances).

func (ApiGetContextsRequest) IncludeTotalCount ¶

func (r ApiGetContextsRequest) IncludeTotalCount(includeTotalCount bool) ApiGetContextsRequest

Specifies whether to include or omit the total count of matching contexts. Defaults to true.

func (ApiGetContextsRequest) Limit ¶

Specifies the maximum number of items in the collection to return (max: 50, default: 20)

func (ApiGetContextsRequest) Sort ¶

Specifies a field by which to sort. LaunchDarkly supports sorting by timestamp in ascending order by specifying &#x60;ts&#x60; for this value, or descending order by specifying &#x60;-ts&#x60;.

type ApiGetCustomRoleRequest ¶

type ApiGetCustomRoleRequest struct {
	ApiService *CustomRolesApiService
	// contains filtered or unexported fields
}

func (ApiGetCustomRoleRequest) Execute ¶

type ApiGetCustomRolesRequest ¶

type ApiGetCustomRolesRequest struct {
	ApiService *CustomRolesApiService
	// contains filtered or unexported fields
}

func (ApiGetCustomRolesRequest) Execute ¶

type ApiGetCustomWorkflowRequest ¶

type ApiGetCustomWorkflowRequest struct {
	ApiService *WorkflowsApiService
	// contains filtered or unexported fields
}

func (ApiGetCustomWorkflowRequest) Execute ¶

type ApiGetDataExportEventsUsageRequest ¶ added in v15.1.0

type ApiGetDataExportEventsUsageRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetDataExportEventsUsageRequest) Execute ¶ added in v15.1.0

func (ApiGetDataExportEventsUsageRequest) From ¶ added in v15.1.0

The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.

func (ApiGetDataExportEventsUsageRequest) To ¶ added in v15.1.0

The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.

type ApiGetDependentFlagsByEnvRequest ¶

type ApiGetDependentFlagsByEnvRequest struct {
	ApiService *FeatureFlagsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetDependentFlagsByEnvRequest) Execute ¶

type ApiGetDependentFlagsRequest ¶

type ApiGetDependentFlagsRequest struct {
	ApiService *FeatureFlagsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetDependentFlagsRequest) Execute ¶

type ApiGetDeploymentFrequencyChartRequest ¶

type ApiGetDeploymentFrequencyChartRequest struct {
	ApiService *InsightsChartsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetDeploymentFrequencyChartRequest) ApplicationKey ¶

Comma separated list of application keys

func (ApiGetDeploymentFrequencyChartRequest) BucketMs ¶

Duration of intervals for x-axis in milliseconds. Default value is one day (&#x60;86400000&#x60; milliseconds).

func (ApiGetDeploymentFrequencyChartRequest) BucketType ¶

Specify type of bucket. Options: &#x60;rolling&#x60;, &#x60;hour&#x60;, &#x60;day&#x60;. Default: &#x60;rolling&#x60;.

func (ApiGetDeploymentFrequencyChartRequest) EnvironmentKey ¶

The environment key

func (ApiGetDeploymentFrequencyChartRequest) Execute ¶

func (ApiGetDeploymentFrequencyChartRequest) Expand ¶

Options: &#x60;metrics&#x60;

func (ApiGetDeploymentFrequencyChartRequest) From ¶

Unix timestamp in milliseconds. Default value is 7 days ago.

func (ApiGetDeploymentFrequencyChartRequest) GroupBy ¶

Options: &#x60;application&#x60;, &#x60;kind&#x60;

func (ApiGetDeploymentFrequencyChartRequest) ProjectKey ¶

The project key

func (ApiGetDeploymentFrequencyChartRequest) To ¶

Unix timestamp in milliseconds. Default value is now.

type ApiGetDeploymentRequest ¶

type ApiGetDeploymentRequest struct {
	ApiService *InsightsDeploymentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetDeploymentRequest) Execute ¶

func (ApiGetDeploymentRequest) Expand ¶

Expand properties in response. Options: &#x60;pullRequests&#x60;, &#x60;flagReferences&#x60;

type ApiGetDeploymentsRequest ¶

type ApiGetDeploymentsRequest struct {
	ApiService *InsightsDeploymentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetDeploymentsRequest) After ¶

Identifier used for pagination

func (ApiGetDeploymentsRequest) ApplicationKey ¶

func (r ApiGetDeploymentsRequest) ApplicationKey(applicationKey string) ApiGetDeploymentsRequest

Comma separated list of application keys

func (ApiGetDeploymentsRequest) Before ¶

Identifier used for pagination

func (ApiGetDeploymentsRequest) EnvironmentKey ¶

func (r ApiGetDeploymentsRequest) EnvironmentKey(environmentKey string) ApiGetDeploymentsRequest

The environment key

func (ApiGetDeploymentsRequest) Execute ¶

func (ApiGetDeploymentsRequest) Expand ¶

Expand properties in response. Options: &#x60;pullRequests&#x60;, &#x60;flagReferences&#x60;

func (ApiGetDeploymentsRequest) From ¶

Unix timestamp in milliseconds. Default value is 7 days ago.

func (ApiGetDeploymentsRequest) Kind ¶

The deployment kind

func (ApiGetDeploymentsRequest) Limit ¶

The number of deployments to return. Default is 20. Maximum allowed is 100.

func (ApiGetDeploymentsRequest) ProjectKey ¶

func (r ApiGetDeploymentsRequest) ProjectKey(projectKey string) ApiGetDeploymentsRequest

The project key

func (ApiGetDeploymentsRequest) Status ¶

The deployment status

func (ApiGetDeploymentsRequest) To ¶

Unix timestamp in milliseconds. Default value is now.

type ApiGetDestinationRequest ¶

type ApiGetDestinationRequest struct {
	ApiService *DataExportDestinationsApiService
	// contains filtered or unexported fields
}

func (ApiGetDestinationRequest) Execute ¶

type ApiGetDestinationsRequest ¶

type ApiGetDestinationsRequest struct {
	ApiService *DataExportDestinationsApiService
	// contains filtered or unexported fields
}

func (ApiGetDestinationsRequest) Execute ¶

type ApiGetEnvironmentRequest ¶

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

func (ApiGetEnvironmentRequest) Execute ¶

type ApiGetEnvironmentsByProjectRequest ¶

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

func (ApiGetEnvironmentsByProjectRequest) Execute ¶

func (ApiGetEnvironmentsByProjectRequest) Filter ¶

A comma-separated list of filters. Each filter is of the form &#x60;field:value&#x60;.

func (ApiGetEnvironmentsByProjectRequest) Limit ¶

The number of environments to return in the response. Defaults to 20.

func (ApiGetEnvironmentsByProjectRequest) Offset ¶

Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

func (ApiGetEnvironmentsByProjectRequest) Sort ¶

A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order.

type ApiGetEvaluationsUsageRequest ¶

type ApiGetEvaluationsUsageRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetEvaluationsUsageRequest) Execute ¶

func (ApiGetEvaluationsUsageRequest) From ¶

The series of data returned starts from this timestamp. Defaults to 30 days ago.

func (ApiGetEvaluationsUsageRequest) To ¶

The series of data returned ends at this timestamp. Defaults to the current time.

func (ApiGetEvaluationsUsageRequest) Tz ¶

The timezone to use for breaks between days when returning daily data.

type ApiGetEventsUsageRequest ¶

type ApiGetEventsUsageRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetEventsUsageRequest) Execute ¶

func (ApiGetEventsUsageRequest) From ¶

The series of data returned starts from this timestamp. Defaults to 24 hours ago.

func (ApiGetEventsUsageRequest) To ¶

The series of data returned ends at this timestamp. Defaults to the current time.

type ApiGetExperimentRequest ¶

type ApiGetExperimentRequest struct {
	ApiService *ExperimentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetExperimentRequest) Execute ¶

func (ApiGetExperimentRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response. Supported fields are explained above.

type ApiGetExperimentResultsForMetricGroupRequest ¶

type ApiGetExperimentResultsForMetricGroupRequest struct {
	ApiService *ExperimentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetExperimentResultsForMetricGroupRequest) Execute ¶

func (ApiGetExperimentResultsForMetricGroupRequest) IterationId ¶

The iteration ID

type ApiGetExperimentResultsRequest ¶

type ApiGetExperimentResultsRequest struct {
	ApiService *ExperimentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetExperimentResultsRequest) Execute ¶

func (ApiGetExperimentResultsRequest) Expand ¶

A comma-separated list of fields to expand in the response. Supported fields are explained above.

func (ApiGetExperimentResultsRequest) IterationId ¶

The iteration ID

type ApiGetExperimentationKeysUsageRequest ¶

type ApiGetExperimentationKeysUsageRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetExperimentationKeysUsageRequest) Execute ¶

func (ApiGetExperimentationKeysUsageRequest) From ¶

The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.

func (ApiGetExperimentationKeysUsageRequest) To ¶

The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.

type ApiGetExperimentationSettingsRequest ¶

type ApiGetExperimentationSettingsRequest struct {
	ApiService *ExperimentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetExperimentationSettingsRequest) Execute ¶

type ApiGetExperimentationUnitsUsageRequest ¶

type ApiGetExperimentationUnitsUsageRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetExperimentationUnitsUsageRequest) Execute ¶

func (ApiGetExperimentationUnitsUsageRequest) From ¶

The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.

func (ApiGetExperimentationUnitsUsageRequest) To ¶

The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.

type ApiGetExperimentsRequest ¶

type ApiGetExperimentsRequest struct {
	ApiService *ExperimentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetExperimentsRequest) Execute ¶

func (ApiGetExperimentsRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response. Supported fields are explained above.

func (ApiGetExperimentsRequest) Filter ¶

A comma-separated list of filters. Each filter is of the form &#x60;field:value&#x60;. Supported fields are explained above.

func (ApiGetExperimentsRequest) LifecycleState ¶

func (r ApiGetExperimentsRequest) LifecycleState(lifecycleState string) ApiGetExperimentsRequest

A comma-separated list of experiment archived states. Supports &#x60;archived&#x60;, &#x60;active&#x60;, or both. Defaults to &#x60;active&#x60; experiments.

func (ApiGetExperimentsRequest) Limit ¶

The maximum number of experiments to return. Defaults to 20.

func (ApiGetExperimentsRequest) Offset ¶

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

type ApiGetExpiringContextTargetsRequest ¶

type ApiGetExpiringContextTargetsRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiGetExpiringContextTargetsRequest) Execute ¶

type ApiGetExpiringFlagsForUserRequest ¶

type ApiGetExpiringFlagsForUserRequest struct {
	ApiService *UserSettingsApiService
	// contains filtered or unexported fields
}

func (ApiGetExpiringFlagsForUserRequest) Execute ¶

type ApiGetExpiringTargetsForSegmentRequest ¶

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

func (ApiGetExpiringTargetsForSegmentRequest) Execute ¶

type ApiGetExpiringUserTargetsForSegmentRequest ¶

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

func (ApiGetExpiringUserTargetsForSegmentRequest) Execute ¶

type ApiGetExpiringUserTargetsRequest ¶

type ApiGetExpiringUserTargetsRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiGetExpiringUserTargetsRequest) Execute ¶

type ApiGetExtinctionsRequest ¶

type ApiGetExtinctionsRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiGetExtinctionsRequest) BranchName ¶

func (r ApiGetExtinctionsRequest) BranchName(branchName string) ApiGetExtinctionsRequest

Filter results to a specific branch. By default, only the default branch will be queried for extinctions.

func (ApiGetExtinctionsRequest) Execute ¶

func (ApiGetExtinctionsRequest) FlagKey ¶

Filter results to a specific flag key

func (ApiGetExtinctionsRequest) From ¶

Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with &#x60;to&#x60;.

func (ApiGetExtinctionsRequest) ProjKey ¶

Filter results to a specific project

func (ApiGetExtinctionsRequest) RepoName ¶

Filter results to a specific repository

func (ApiGetExtinctionsRequest) To ¶

Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with &#x60;from&#x60;.

type ApiGetFeatureFlagRequest ¶

type ApiGetFeatureFlagRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureFlagRequest) Env ¶

Filter configurations by environment

func (ApiGetFeatureFlagRequest) Execute ¶

func (ApiGetFeatureFlagRequest) Expand ¶

A comma-separated list of fields to expand in the response. Supported fields are explained above.

type ApiGetFeatureFlagScheduledChangeRequest ¶

type ApiGetFeatureFlagScheduledChangeRequest struct {
	ApiService *ScheduledChangesApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureFlagScheduledChangeRequest) Execute ¶

type ApiGetFeatureFlagStatusAcrossEnvironmentsRequest ¶

type ApiGetFeatureFlagStatusAcrossEnvironmentsRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureFlagStatusAcrossEnvironmentsRequest) Env ¶

Optional environment filter

func (ApiGetFeatureFlagStatusAcrossEnvironmentsRequest) Execute ¶

type ApiGetFeatureFlagStatusRequest ¶

type ApiGetFeatureFlagStatusRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureFlagStatusRequest) Execute ¶

type ApiGetFeatureFlagStatusesRequest ¶

type ApiGetFeatureFlagStatusesRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureFlagStatusesRequest) Execute ¶

type ApiGetFeatureFlagsRequest ¶

type ApiGetFeatureFlagsRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureFlagsRequest) Archived ¶

Deprecated, use &#x60;filter&#x3D;archived:true&#x60; instead. A boolean to filter the list to archived flags. When this is absent, only unarchived flags will be returned Deprecated

func (ApiGetFeatureFlagsRequest) Compare ¶

A boolean to filter results by only flags that have differences between environments

func (ApiGetFeatureFlagsRequest) Env ¶

Filter configurations by environment

func (ApiGetFeatureFlagsRequest) Execute ¶

func (ApiGetFeatureFlagsRequest) Expand ¶

A comma-separated list of fields to expand in the response. Supported fields are explained above.

func (ApiGetFeatureFlagsRequest) Filter ¶

A comma-separated list of filters. Each filter is of the form field:value. Read the endpoint description for a full list of available filter fields.

func (ApiGetFeatureFlagsRequest) Limit ¶

The number of feature flags to return. Defaults to -1, which returns all flags

func (ApiGetFeatureFlagsRequest) Offset ¶

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

func (ApiGetFeatureFlagsRequest) Sort ¶

A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order. Read the endpoint description for a full list of available sort fields.

func (ApiGetFeatureFlagsRequest) Summary ¶

By default, flags do _not_ include their lists of prerequisites, targets, or rules for each environment. Set &#x60;summary&#x3D;0&#x60; to include these fields for each flag returned.

func (ApiGetFeatureFlagsRequest) Tag ¶

Filter feature flags by tag

type ApiGetFlagConfigScheduledChangesRequest ¶

type ApiGetFlagConfigScheduledChangesRequest struct {
	ApiService *ScheduledChangesApiService
	// contains filtered or unexported fields
}

func (ApiGetFlagConfigScheduledChangesRequest) Execute ¶

type ApiGetFlagDefaultsByProjectRequest ¶

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

func (ApiGetFlagDefaultsByProjectRequest) Execute ¶

type ApiGetFlagEventsRequest ¶

type ApiGetFlagEventsRequest struct {
	ApiService *InsightsFlagEventsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetFlagEventsRequest) After ¶

Identifier used for pagination

func (ApiGetFlagEventsRequest) ApplicationKey ¶

func (r ApiGetFlagEventsRequest) ApplicationKey(applicationKey string) ApiGetFlagEventsRequest

Comma separated list of application keys

func (ApiGetFlagEventsRequest) Before ¶

Identifier used for pagination

func (ApiGetFlagEventsRequest) EnvironmentKey ¶

func (r ApiGetFlagEventsRequest) EnvironmentKey(environmentKey string) ApiGetFlagEventsRequest

The environment key

func (ApiGetFlagEventsRequest) Execute ¶

func (ApiGetFlagEventsRequest) Expand ¶

Expand properties in response. Options: &#x60;experiments&#x60;

func (ApiGetFlagEventsRequest) From ¶

Unix timestamp in milliseconds. Default value is 7 days ago.

func (ApiGetFlagEventsRequest) Global ¶

Filter to include or exclude global events. Default value is &#x60;include&#x60;. Options: &#x60;include&#x60;, &#x60;exclude&#x60;

func (ApiGetFlagEventsRequest) HasExperiments ¶

func (r ApiGetFlagEventsRequest) HasExperiments(hasExperiments bool) ApiGetFlagEventsRequest

Filter events to those associated with an experiment (&#x60;true&#x60;) or without an experiment (&#x60;false&#x60;)

func (ApiGetFlagEventsRequest) ImpactSize ¶

func (r ApiGetFlagEventsRequest) ImpactSize(impactSize string) ApiGetFlagEventsRequest

Filter events by impact size. A small impact created a less than 20% change in the proportion of end users receiving one or more flag variations. A medium impact created between a 20%-80% change. A large impact created a more than 80% change. Options: &#x60;none&#x60;, &#x60;small&#x60;, &#x60;medium&#x60;, &#x60;large&#x60;

func (ApiGetFlagEventsRequest) Limit ¶

The number of deployments to return. Default is 20. Maximum allowed is 100.

func (ApiGetFlagEventsRequest) ProjectKey ¶

func (r ApiGetFlagEventsRequest) ProjectKey(projectKey string) ApiGetFlagEventsRequest

The project key

func (ApiGetFlagEventsRequest) Query ¶

Filter events by flag key

func (ApiGetFlagEventsRequest) To ¶

Unix timestamp in milliseconds. Default value is now.

type ApiGetFlagFollowersRequest ¶

type ApiGetFlagFollowersRequest struct {
	ApiService *FollowFlagsApiService
	// contains filtered or unexported fields
}

func (ApiGetFlagFollowersRequest) Execute ¶

type ApiGetFlagLinksRequest ¶

type ApiGetFlagLinksRequest struct {
	ApiService *FlagLinksBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetFlagLinksRequest) Execute ¶

type ApiGetFlagStatusChartRequest ¶

type ApiGetFlagStatusChartRequest struct {
	ApiService *InsightsChartsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetFlagStatusChartRequest) ApplicationKey ¶

func (r ApiGetFlagStatusChartRequest) ApplicationKey(applicationKey string) ApiGetFlagStatusChartRequest

Comma separated list of application keys

func (ApiGetFlagStatusChartRequest) EnvironmentKey ¶

func (r ApiGetFlagStatusChartRequest) EnvironmentKey(environmentKey string) ApiGetFlagStatusChartRequest

The environment key

func (ApiGetFlagStatusChartRequest) Execute ¶

func (ApiGetFlagStatusChartRequest) ProjectKey ¶

The project key

type ApiGetFollowersByProjEnvRequest ¶

type ApiGetFollowersByProjEnvRequest struct {
	ApiService *FollowFlagsApiService
	// contains filtered or unexported fields
}

func (ApiGetFollowersByProjEnvRequest) Execute ¶

type ApiGetInsightGroupRequest ¶

type ApiGetInsightGroupRequest struct {
	ApiService *InsightsScoresBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetInsightGroupRequest) Execute ¶

func (ApiGetInsightGroupRequest) Expand ¶

Options: &#x60;scores&#x60;, &#x60;environment&#x60;

type ApiGetInsightGroupsRequest ¶

type ApiGetInsightGroupsRequest struct {
	ApiService *InsightsScoresBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetInsightGroupsRequest) Execute ¶

func (ApiGetInsightGroupsRequest) Expand ¶

Options: &#x60;scores&#x60;, &#x60;environment&#x60;, &#x60;metadata&#x60;

func (ApiGetInsightGroupsRequest) Limit ¶

The number of insight groups to return. Default is 20. Must be between 1 and 20 inclusive.

func (ApiGetInsightGroupsRequest) Offset ¶

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

func (ApiGetInsightGroupsRequest) Query ¶

Filter list of insights groups by name.

func (ApiGetInsightGroupsRequest) Sort ¶

Sort flag list by field. Prefix field with &lt;code&gt;-&lt;/code&gt; to sort in descending order. Allowed fields: name

type ApiGetInsightsRepositoriesRequest ¶

type ApiGetInsightsRepositoriesRequest struct {
	ApiService *InsightsRepositoriesBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetInsightsRepositoriesRequest) Execute ¶

func (ApiGetInsightsRepositoriesRequest) Expand ¶

Expand properties in response. Options: &#x60;projects&#x60;

type ApiGetInsightsScoresRequest ¶

type ApiGetInsightsScoresRequest struct {
	ApiService *InsightsScoresBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetInsightsScoresRequest) ApplicationKey ¶

func (r ApiGetInsightsScoresRequest) ApplicationKey(applicationKey string) ApiGetInsightsScoresRequest

Comma separated list of application keys

func (ApiGetInsightsScoresRequest) EnvironmentKey ¶

func (r ApiGetInsightsScoresRequest) EnvironmentKey(environmentKey string) ApiGetInsightsScoresRequest

The environment key

func (ApiGetInsightsScoresRequest) Execute ¶

func (ApiGetInsightsScoresRequest) ProjectKey ¶

The project key

type ApiGetIntegrationDeliveryConfigurationByEnvironmentRequest ¶

type ApiGetIntegrationDeliveryConfigurationByEnvironmentRequest struct {
	ApiService *IntegrationDeliveryConfigurationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetIntegrationDeliveryConfigurationByEnvironmentRequest) Execute ¶

type ApiGetIntegrationDeliveryConfigurationByIdRequest ¶

type ApiGetIntegrationDeliveryConfigurationByIdRequest struct {
	ApiService *IntegrationDeliveryConfigurationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetIntegrationDeliveryConfigurationByIdRequest) Execute ¶

type ApiGetIntegrationDeliveryConfigurationsRequest ¶

type ApiGetIntegrationDeliveryConfigurationsRequest struct {
	ApiService *IntegrationDeliveryConfigurationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetIntegrationDeliveryConfigurationsRequest) Execute ¶

type ApiGetIpsRequest ¶

type ApiGetIpsRequest struct {
	ApiService *OtherApiService
	// contains filtered or unexported fields
}

func (ApiGetIpsRequest) Execute ¶

func (r ApiGetIpsRequest) Execute() (*IpList, *http.Response, error)

type ApiGetLeadTimeChartRequest ¶

type ApiGetLeadTimeChartRequest struct {
	ApiService *InsightsChartsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetLeadTimeChartRequest) ApplicationKey ¶

func (r ApiGetLeadTimeChartRequest) ApplicationKey(applicationKey string) ApiGetLeadTimeChartRequest

Comma separated list of application keys

func (ApiGetLeadTimeChartRequest) BucketMs ¶

Duration of intervals for x-axis in milliseconds. Default value is one day (&#x60;86400000&#x60; milliseconds).

func (ApiGetLeadTimeChartRequest) BucketType ¶

Specify type of bucket. Options: &#x60;rolling&#x60;, &#x60;hour&#x60;, &#x60;day&#x60;. Default: &#x60;rolling&#x60;.

func (ApiGetLeadTimeChartRequest) EnvironmentKey ¶

func (r ApiGetLeadTimeChartRequest) EnvironmentKey(environmentKey string) ApiGetLeadTimeChartRequest

The environment key

func (ApiGetLeadTimeChartRequest) Execute ¶

func (ApiGetLeadTimeChartRequest) Expand ¶

Options: &#x60;metrics&#x60;, &#x60;percentiles&#x60;.

func (ApiGetLeadTimeChartRequest) From ¶

Unix timestamp in milliseconds. Default value is 7 days ago.

func (ApiGetLeadTimeChartRequest) GroupBy ¶

Options: &#x60;application&#x60;, &#x60;stage&#x60;. Default: &#x60;stage&#x60;.

func (ApiGetLeadTimeChartRequest) ProjectKey ¶

The project key

func (ApiGetLeadTimeChartRequest) To ¶

Unix timestamp in milliseconds. Default value is now.

type ApiGetLegacyExperimentResultsRequest ¶

type ApiGetLegacyExperimentResultsRequest struct {
	ApiService *ExperimentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetLegacyExperimentResultsRequest) Execute ¶

func (ApiGetLegacyExperimentResultsRequest) From ¶

A timestamp denoting the start of the data collection period, expressed as a Unix epoch time in milliseconds.

func (ApiGetLegacyExperimentResultsRequest) To ¶

A timestamp denoting the end of the data collection period, expressed as a Unix epoch time in milliseconds.

type ApiGetMauSdksByTypeRequest ¶

type ApiGetMauSdksByTypeRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetMauSdksByTypeRequest) Execute ¶

func (ApiGetMauSdksByTypeRequest) From ¶

The data returned starts from this timestamp. Defaults to seven days ago. The timestamp is in Unix milliseconds, for example, 1656694800000.

func (ApiGetMauSdksByTypeRequest) Sdktype ¶

The type of SDK with monthly active users (MAU) to list. Must be either &#x60;client&#x60; or &#x60;server&#x60;.

func (ApiGetMauSdksByTypeRequest) To ¶

The data returned ends at this timestamp. Defaults to the current time. The timestamp is in Unix milliseconds, for example, 1657904400000.

type ApiGetMauUsageByCategoryRequest ¶

type ApiGetMauUsageByCategoryRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetMauUsageByCategoryRequest) Execute ¶

func (ApiGetMauUsageByCategoryRequest) From ¶

The series of data returned starts from this timestamp. Defaults to 30 days ago.

func (ApiGetMauUsageByCategoryRequest) To ¶

The series of data returned ends at this timestamp. Defaults to the current time.

type ApiGetMauUsageRequest ¶

type ApiGetMauUsageRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetMauUsageRequest) Anonymous ¶

func (r ApiGetMauUsageRequest) Anonymous(anonymous string) ApiGetMauUsageRequest

If specified, filters results to either anonymous or nonanonymous users.

func (ApiGetMauUsageRequest) Environment ¶

func (r ApiGetMauUsageRequest) Environment(environment string) ApiGetMauUsageRequest

An environment key to filter results to. When using this parameter, exactly one project key must also be set. Can be specified multiple times as separate query parameters to view data for multiple environments within a single project.

func (ApiGetMauUsageRequest) Execute ¶

func (ApiGetMauUsageRequest) From ¶

The series of data returned starts from this timestamp. Defaults to 30 days ago.

func (ApiGetMauUsageRequest) Groupby ¶

If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions (for example, to group by both project and SDK). Valid values: project, environment, sdktype, sdk, anonymous

func (ApiGetMauUsageRequest) Project ¶

A project key to filter results to. Can be specified multiple times, one query parameter per project key, to view data for multiple projects.

func (ApiGetMauUsageRequest) Sdk ¶

An SDK name to filter results to. Can be specified multiple times, one query parameter per SDK.

func (ApiGetMauUsageRequest) Sdktype ¶

An SDK type to filter results to. Can be specified multiple times, one query parameter per SDK type. Valid values: client, server

func (ApiGetMauUsageRequest) To ¶

The series of data returned ends at this timestamp. Defaults to the current time.

type ApiGetMemberRequest ¶

type ApiGetMemberRequest struct {
	ApiService *AccountMembersApiService
	// contains filtered or unexported fields
}

func (ApiGetMemberRequest) Execute ¶

func (r ApiGetMemberRequest) Execute() (*Member, *http.Response, error)

type ApiGetMembersRequest ¶

type ApiGetMembersRequest struct {
	ApiService *AccountMembersApiService
	// contains filtered or unexported fields
}

func (ApiGetMembersRequest) Execute ¶

func (r ApiGetMembersRequest) Execute() (*Members, *http.Response, error)

func (ApiGetMembersRequest) Filter ¶

A comma-separated list of filters. Each filter is of the form &#x60;field:value&#x60;. Supported fields are explained above.

func (ApiGetMembersRequest) Limit ¶

The number of members to return in the response. Defaults to 20.

func (ApiGetMembersRequest) Offset ¶

Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

func (ApiGetMembersRequest) Sort ¶

A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order.

type ApiGetMetricGroupRequest ¶

type ApiGetMetricGroupRequest struct {
	ApiService *MetricsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetMetricGroupRequest) Execute ¶

func (ApiGetMetricGroupRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response.

type ApiGetMetricGroupsRequest ¶

type ApiGetMetricGroupsRequest struct {
	ApiService *MetricsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetMetricGroupsRequest) Execute ¶

func (ApiGetMetricGroupsRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response.

type ApiGetMetricRequest ¶

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

func (ApiGetMetricRequest) Execute ¶

func (r ApiGetMetricRequest) Execute() (*MetricRep, *http.Response, error)

func (ApiGetMetricRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response.

func (ApiGetMetricRequest) VersionId ¶

func (r ApiGetMetricRequest) VersionId(versionId string) ApiGetMetricRequest

The specific version ID of the metric

type ApiGetMetricsRequest ¶

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

func (ApiGetMetricsRequest) Execute ¶

func (ApiGetMetricsRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response.

type ApiGetOAuthClientByIdRequest ¶

type ApiGetOAuthClientByIdRequest struct {
	ApiService *OAuth2ClientsApiService
	// contains filtered or unexported fields
}

func (ApiGetOAuthClientByIdRequest) Execute ¶

type ApiGetOAuthClientsRequest ¶

type ApiGetOAuthClientsRequest struct {
	ApiService *OAuth2ClientsApiService
	// contains filtered or unexported fields
}

func (ApiGetOAuthClientsRequest) Execute ¶

type ApiGetOpenapiSpecRequest ¶

type ApiGetOpenapiSpecRequest struct {
	ApiService *OtherApiService
	// contains filtered or unexported fields
}

func (ApiGetOpenapiSpecRequest) Execute ¶

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

type ApiGetProjectRequest ¶

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

func (ApiGetProjectRequest) Execute ¶

func (r ApiGetProjectRequest) Execute() (*Project, *http.Response, error)

func (ApiGetProjectRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response.

type ApiGetProjectsRequest ¶

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

func (ApiGetProjectsRequest) Execute ¶

func (r ApiGetProjectsRequest) Execute() (*Projects, *http.Response, error)

func (ApiGetProjectsRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response.

func (ApiGetProjectsRequest) Filter ¶

A comma-separated list of filters. Each filter is constructed as &#x60;field:value&#x60;.

func (ApiGetProjectsRequest) Limit ¶

The number of projects to return in the response. Defaults to 20.

func (ApiGetProjectsRequest) Offset ¶

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and returns the next &#x60;limit&#x60; items.

func (ApiGetProjectsRequest) Sort ¶

A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order.

type ApiGetPullRequestsRequest ¶

type ApiGetPullRequestsRequest struct {
	ApiService *InsightsPullRequestsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetPullRequestsRequest) After ¶

Identifier used for pagination

func (ApiGetPullRequestsRequest) ApplicationKey ¶

func (r ApiGetPullRequestsRequest) ApplicationKey(applicationKey string) ApiGetPullRequestsRequest

Filter the results to pull requests deployed to a comma separated list of applications

func (ApiGetPullRequestsRequest) Before ¶

Identifier used for pagination

func (ApiGetPullRequestsRequest) EnvironmentKey ¶

func (r ApiGetPullRequestsRequest) EnvironmentKey(environmentKey string) ApiGetPullRequestsRequest

Required if you are using the &lt;code&gt;sort&lt;/code&gt; parameter&#39;s &lt;code&gt;leadTime&lt;/code&gt; option to sort pull requests.

func (ApiGetPullRequestsRequest) Execute ¶

func (ApiGetPullRequestsRequest) Expand ¶

Expand properties in response. Options: &#x60;deployments&#x60;, &#x60;flagReferences&#x60;, &#x60;leadTime&#x60;.

func (ApiGetPullRequestsRequest) From ¶

Unix timestamp in milliseconds. Default value is 7 days ago.

func (ApiGetPullRequestsRequest) Limit ¶

The number of pull requests to return. Default is 20. Maximum allowed is 100.

func (ApiGetPullRequestsRequest) ProjectKey ¶

The project key

func (ApiGetPullRequestsRequest) Query ¶

Filter list of pull requests by title or author

func (ApiGetPullRequestsRequest) Sort ¶

Sort results. Requires the &#x60;environmentKey&#x60; to be set. Options: &#x60;leadTime&#x60; (asc) and &#x60;-leadTime&#x60; (desc). When query option is excluded, default sort is by created or merged date.

func (ApiGetPullRequestsRequest) Status ¶

Filter results to pull requests with the given status. Options: &#x60;open&#x60;, &#x60;merged&#x60;, &#x60;closed&#x60;, &#x60;deployed&#x60;.

func (ApiGetPullRequestsRequest) To ¶

Unix timestamp in milliseconds. Default value is now.

type ApiGetRelayProxyConfigRequest ¶

type ApiGetRelayProxyConfigRequest struct {
	ApiService *RelayProxyConfigurationsApiService
	// contains filtered or unexported fields
}

func (ApiGetRelayProxyConfigRequest) Execute ¶

type ApiGetRelayProxyConfigsRequest ¶

type ApiGetRelayProxyConfigsRequest struct {
	ApiService *RelayProxyConfigurationsApiService
	// contains filtered or unexported fields
}

func (ApiGetRelayProxyConfigsRequest) Execute ¶

type ApiGetReleaseByFlagKeyRequest ¶

type ApiGetReleaseByFlagKeyRequest struct {
	ApiService *ReleasesBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetReleaseByFlagKeyRequest) Execute ¶

type ApiGetReleaseFrequencyChartRequest ¶

type ApiGetReleaseFrequencyChartRequest struct {
	ApiService *InsightsChartsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetReleaseFrequencyChartRequest) ApplicationKey ¶

Comma separated list of application keys

func (ApiGetReleaseFrequencyChartRequest) BucketMs ¶

Duration of intervals for x-axis in milliseconds. Default value is one day (&#x60;86400000&#x60; milliseconds).

func (ApiGetReleaseFrequencyChartRequest) BucketType ¶

Specify type of bucket. Options: &#x60;rolling&#x60;, &#x60;hour&#x60;, &#x60;day&#x60;. Default: &#x60;rolling&#x60;.

func (ApiGetReleaseFrequencyChartRequest) EnvironmentKey ¶

The environment key

func (ApiGetReleaseFrequencyChartRequest) Execute ¶

func (ApiGetReleaseFrequencyChartRequest) Expand ¶

Options: &#x60;metrics&#x60;

func (ApiGetReleaseFrequencyChartRequest) From ¶

Unix timestamp in milliseconds. Default value is 7 days ago.

func (ApiGetReleaseFrequencyChartRequest) Global ¶

Filter to include or exclude global events. Default value is &#x60;include&#x60;. Options: &#x60;include&#x60;, &#x60;exclude&#x60;

func (ApiGetReleaseFrequencyChartRequest) GroupBy ¶

Property to group results by. Options: &#x60;impact&#x60;

func (ApiGetReleaseFrequencyChartRequest) HasExperiments ¶

Filter events to those associated with an experiment (&#x60;true&#x60;) or without an experiment (&#x60;false&#x60;)

func (ApiGetReleaseFrequencyChartRequest) ProjectKey ¶

The project key

func (ApiGetReleaseFrequencyChartRequest) To ¶

Unix timestamp in milliseconds. Default value is now.

type ApiGetReleasePipelineByKeyRequest ¶

type ApiGetReleasePipelineByKeyRequest struct {
	ApiService *ReleasePipelinesBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetReleasePipelineByKeyRequest) Execute ¶

type ApiGetRepositoriesRequest ¶

type ApiGetRepositoriesRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiGetRepositoriesRequest) Execute ¶

func (ApiGetRepositoriesRequest) FlagKey ¶

If set to any value, the endpoint returns repositories with associated branch data, as well as code references for the default git branch

func (ApiGetRepositoriesRequest) ProjKey ¶

A LaunchDarkly project key. If provided, this filters code reference results to the specified project.

func (ApiGetRepositoriesRequest) WithBranches ¶

func (r ApiGetRepositoriesRequest) WithBranches(withBranches string) ApiGetRepositoriesRequest

If set to any value, the endpoint returns repositories with associated branch data

func (ApiGetRepositoriesRequest) WithReferencesForDefaultBranch ¶

func (r ApiGetRepositoriesRequest) WithReferencesForDefaultBranch(withReferencesForDefaultBranch string) ApiGetRepositoriesRequest

If set to any value, the endpoint returns repositories with associated branch data, as well as code references for the default git branch

type ApiGetRepositoryRequest ¶

type ApiGetRepositoryRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiGetRepositoryRequest) Execute ¶

type ApiGetRootRequest ¶

type ApiGetRootRequest struct {
	ApiService *OtherApiService
	// contains filtered or unexported fields
}

func (ApiGetRootRequest) Execute ¶

func (r ApiGetRootRequest) Execute() (*RootResponse, *http.Response, error)

type ApiGetRootStatisticRequest ¶

type ApiGetRootStatisticRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiGetRootStatisticRequest) Execute ¶

type ApiGetSearchUsersRequest ¶

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

func (ApiGetSearchUsersRequest) After ¶

A Unix epoch time in milliseconds specifying the maximum last time a user requested a feature flag from LaunchDarkly

func (ApiGetSearchUsersRequest) Execute ¶

func (r ApiGetSearchUsersRequest) Execute() (*Users, *http.Response, error)

func (ApiGetSearchUsersRequest) Filter ¶

A comma-separated list of user attribute filters. Each filter is in the form of attributeKey:attributeValue

func (ApiGetSearchUsersRequest) Limit ¶

Specifies the maximum number of items in the collection to return (max: 50, default: 20)

func (ApiGetSearchUsersRequest) Offset ¶

Deprecated, use &#x60;searchAfter&#x60; instead. Specifies the first item to return in the collection. Deprecated

func (ApiGetSearchUsersRequest) Q ¶

Full-text search for users based on name, first name, last name, e-mail address, or key

func (ApiGetSearchUsersRequest) SearchAfter ¶

func (r ApiGetSearchUsersRequest) SearchAfter(searchAfter string) ApiGetSearchUsersRequest

Limits results to users with sort values after the value you specify. You can use this for pagination, but we recommend using the &#x60;next&#x60; link we provide instead.

func (ApiGetSearchUsersRequest) Sort ¶

Specifies a field by which to sort. LaunchDarkly supports the &#x60;userKey&#x60; and &#x60;lastSeen&#x60; fields. Fields prefixed by a dash ( - ) sort in descending order.

type ApiGetSegmentMembershipForContextRequest ¶

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

func (ApiGetSegmentMembershipForContextRequest) Execute ¶

type ApiGetSegmentMembershipForUserRequest ¶

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

func (ApiGetSegmentMembershipForUserRequest) Execute ¶

type ApiGetSegmentRequest ¶

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

func (ApiGetSegmentRequest) Execute ¶

type ApiGetSegmentsRequest ¶

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

func (ApiGetSegmentsRequest) Execute ¶

func (ApiGetSegmentsRequest) Filter ¶

Accepts filter by kind, query, tags, unbounded, or external. To filter by kind or query, use the &#x60;equals&#x60; operator. To filter by tags, use the &#x60;anyOf&#x60; operator. Query is a &#39;fuzzy&#39; search across segment key, name, and description. Example: &#x60;filter&#x3D;tags anyOf [&#39;enterprise&#39;, &#39;beta&#39;],query equals &#39;toggle&#39;&#x60; returns segments with &#39;toggle&#39; in their key, name, or description that also have &#39;enterprise&#39; or &#39;beta&#39; as a tag. To filter by unbounded, use the &#x60;equals&#x60; operator. Example: &#x60;filter&#x3D;unbounded equals true&#x60;. To filter by external, use the &#x60;exists&#x60; operator. Example: &#x60;filter&#x3D;external exists true&#x60;.

func (ApiGetSegmentsRequest) Limit ¶

The number of segments to return. Defaults to 50.

func (ApiGetSegmentsRequest) Offset ¶

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

func (ApiGetSegmentsRequest) Sort ¶

Accepts sorting order and fields. Fields can be comma separated. Possible fields are &#39;creationDate&#39;, &#39;name&#39;, &#39;lastModified&#39;. Example: &#x60;sort&#x3D;name&#x60; sort by names ascending or &#x60;sort&#x3D;-name,creationDate&#x60; sort by names descending and creationDate ascending.

type ApiGetServiceConnectionUsageRequest ¶ added in v15.1.0

type ApiGetServiceConnectionUsageRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetServiceConnectionUsageRequest) Execute ¶ added in v15.1.0

func (ApiGetServiceConnectionUsageRequest) From ¶ added in v15.1.0

The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.

func (ApiGetServiceConnectionUsageRequest) To ¶ added in v15.1.0

The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.

type ApiGetStaleFlagsChartRequest ¶

type ApiGetStaleFlagsChartRequest struct {
	ApiService *InsightsChartsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetStaleFlagsChartRequest) ApplicationKey ¶

func (r ApiGetStaleFlagsChartRequest) ApplicationKey(applicationKey string) ApiGetStaleFlagsChartRequest

Comma separated list of application keys

func (ApiGetStaleFlagsChartRequest) EnvironmentKey ¶

func (r ApiGetStaleFlagsChartRequest) EnvironmentKey(environmentKey string) ApiGetStaleFlagsChartRequest

The environment key

func (ApiGetStaleFlagsChartRequest) Execute ¶

func (ApiGetStaleFlagsChartRequest) Expand ¶

Options: &#x60;metrics&#x60;

func (ApiGetStaleFlagsChartRequest) GroupBy ¶

Property to group results by. Options: &#x60;maintainer&#x60;

func (ApiGetStaleFlagsChartRequest) MaintainerId ¶

Comma-separated list of individual maintainers to filter results.

func (ApiGetStaleFlagsChartRequest) MaintainerTeamKey ¶

func (r ApiGetStaleFlagsChartRequest) MaintainerTeamKey(maintainerTeamKey string) ApiGetStaleFlagsChartRequest

Comma-separated list of team maintainer keys to filter results.

func (ApiGetStaleFlagsChartRequest) ProjectKey ¶

The project key

type ApiGetStatisticsRequest ¶

type ApiGetStatisticsRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiGetStatisticsRequest) Execute ¶

func (ApiGetStatisticsRequest) FlagKey ¶

Filter results to a specific flag key

type ApiGetStreamUsageBySdkVersionRequest ¶

type ApiGetStreamUsageBySdkVersionRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetStreamUsageBySdkVersionRequest) Execute ¶

func (ApiGetStreamUsageBySdkVersionRequest) From ¶

The series of data returned starts from this timestamp. Defaults to 24 hours ago.

func (ApiGetStreamUsageBySdkVersionRequest) Sdk ¶

If included, this filters the returned series to only those that match this SDK name.

func (ApiGetStreamUsageBySdkVersionRequest) To ¶

The series of data returned ends at this timestamp. Defaults to the current time.

func (ApiGetStreamUsageBySdkVersionRequest) Tz ¶

The timezone to use for breaks between days when returning daily data.

func (ApiGetStreamUsageBySdkVersionRequest) Version ¶

If included, this filters the returned series to only those that match this SDK version.

type ApiGetStreamUsageRequest ¶

type ApiGetStreamUsageRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetStreamUsageRequest) Execute ¶

func (ApiGetStreamUsageRequest) From ¶

The series of data returned starts from this timestamp. Defaults to 30 days ago.

func (ApiGetStreamUsageRequest) To ¶

The series of data returned ends at this timestamp. Defaults to the current time.

func (ApiGetStreamUsageRequest) Tz ¶

The timezone to use for breaks between days when returning daily data.

type ApiGetStreamUsageSdkversionRequest ¶

type ApiGetStreamUsageSdkversionRequest struct {
	ApiService *AccountUsageBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetStreamUsageSdkversionRequest) Execute ¶

type ApiGetSubscriptionByIDRequest ¶

type ApiGetSubscriptionByIDRequest struct {
	ApiService *IntegrationAuditLogSubscriptionsApiService
	// contains filtered or unexported fields
}

func (ApiGetSubscriptionByIDRequest) Execute ¶

type ApiGetSubscriptionsRequest ¶

type ApiGetSubscriptionsRequest struct {
	ApiService *IntegrationAuditLogSubscriptionsApiService
	// contains filtered or unexported fields
}

func (ApiGetSubscriptionsRequest) Execute ¶

type ApiGetTagsRequest ¶

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

func (ApiGetTagsRequest) Archived ¶

func (r ApiGetTagsRequest) Archived(archived bool) ApiGetTagsRequest

Whether or not to return archived flags

func (ApiGetTagsRequest) Execute ¶

func (ApiGetTagsRequest) Kind ¶

Fetch tags associated with the specified resource type. Options are &#x60;flag&#x60;, &#x60;project&#x60;, &#x60;environment&#x60;, &#x60;segment&#x60;. Returns all types by default.

func (ApiGetTagsRequest) Pre ¶

Return tags with the specified prefix

type ApiGetTeamMaintainersRequest ¶

type ApiGetTeamMaintainersRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiGetTeamMaintainersRequest) Execute ¶

func (ApiGetTeamMaintainersRequest) Limit ¶

The number of maintainers to return in the response. Defaults to 20.

func (ApiGetTeamMaintainersRequest) Offset ¶

Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

type ApiGetTeamRequest ¶

type ApiGetTeamRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiGetTeamRequest) Execute ¶

func (r ApiGetTeamRequest) Execute() (*Team, *http.Response, error)

func (ApiGetTeamRequest) Expand ¶

func (r ApiGetTeamRequest) Expand(expand string) ApiGetTeamRequest

A comma-separated list of properties that can reveal additional information in the response.

type ApiGetTeamRolesRequest ¶

type ApiGetTeamRolesRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiGetTeamRolesRequest) Execute ¶

func (ApiGetTeamRolesRequest) Limit ¶

The number of roles to return in the response. Defaults to 20.

func (ApiGetTeamRolesRequest) Offset ¶

Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

type ApiGetTeamsRequest ¶

type ApiGetTeamsRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiGetTeamsRequest) Execute ¶

func (r ApiGetTeamsRequest) Execute() (*Teams, *http.Response, error)

func (ApiGetTeamsRequest) Expand ¶

func (r ApiGetTeamsRequest) Expand(expand string) ApiGetTeamsRequest

A comma-separated list of properties that can reveal additional information in the response.

func (ApiGetTeamsRequest) Filter ¶

func (r ApiGetTeamsRequest) Filter(filter string) ApiGetTeamsRequest

A comma-separated list of filters. Each filter is constructed as &#x60;field:value&#x60;.

func (ApiGetTeamsRequest) Limit ¶

The number of teams to return in the response. Defaults to 20.

func (ApiGetTeamsRequest) Offset ¶

func (r ApiGetTeamsRequest) Offset(offset int64) ApiGetTeamsRequest

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and returns the next &#x60;limit&#x60; items.

type ApiGetTokenRequest ¶

type ApiGetTokenRequest struct {
	ApiService *AccessTokensApiService
	// contains filtered or unexported fields
}

func (ApiGetTokenRequest) Execute ¶

func (r ApiGetTokenRequest) Execute() (*Token, *http.Response, error)

type ApiGetTokensRequest ¶

type ApiGetTokensRequest struct {
	ApiService *AccessTokensApiService
	// contains filtered or unexported fields
}

func (ApiGetTokensRequest) Execute ¶

func (r ApiGetTokensRequest) Execute() (*Tokens, *http.Response, error)

func (ApiGetTokensRequest) Limit ¶

The number of access tokens to return in the response. Defaults to 25.

func (ApiGetTokensRequest) Offset ¶

Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query &#x60;limit&#x60;.

func (ApiGetTokensRequest) ShowAll ¶

func (r ApiGetTokensRequest) ShowAll(showAll bool) ApiGetTokensRequest

If set to true, and the authentication access token has the &#39;Admin&#39; role, personal access tokens for all members will be retrieved.

type ApiGetTriggerWorkflowByIdRequest ¶

type ApiGetTriggerWorkflowByIdRequest struct {
	ApiService *FlagTriggersApiService
	// contains filtered or unexported fields
}

func (ApiGetTriggerWorkflowByIdRequest) Execute ¶

type ApiGetTriggerWorkflowsRequest ¶

type ApiGetTriggerWorkflowsRequest struct {
	ApiService *FlagTriggersApiService
	// contains filtered or unexported fields
}

func (ApiGetTriggerWorkflowsRequest) Execute ¶

type ApiGetUserAttributeNamesRequest ¶

type ApiGetUserAttributeNamesRequest struct {
	ApiService *UsersBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetUserAttributeNamesRequest) Execute ¶

type ApiGetUserFlagSettingRequest ¶

type ApiGetUserFlagSettingRequest struct {
	ApiService *UserSettingsApiService
	// contains filtered or unexported fields
}

func (ApiGetUserFlagSettingRequest) Execute ¶

type ApiGetUserFlagSettingsRequest ¶

type ApiGetUserFlagSettingsRequest struct {
	ApiService *UserSettingsApiService
	// contains filtered or unexported fields
}

func (ApiGetUserFlagSettingsRequest) Execute ¶

type ApiGetUserRequest ¶

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

func (ApiGetUserRequest) Execute ¶

func (r ApiGetUserRequest) Execute() (*UserRecord, *http.Response, error)

type ApiGetUsersRequest ¶

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

func (ApiGetUsersRequest) Execute ¶

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

func (ApiGetUsersRequest) Limit ¶

The number of elements to return per page

func (ApiGetUsersRequest) SearchAfter ¶

func (r ApiGetUsersRequest) SearchAfter(searchAfter string) ApiGetUsersRequest

Limits results to users with sort values after the value you specify. You can use this for pagination, but we recommend using the &#x60;next&#x60; link we provide instead.

type ApiGetVersionsRequest ¶

type ApiGetVersionsRequest struct {
	ApiService *OtherApiService
	// contains filtered or unexported fields
}

func (ApiGetVersionsRequest) Execute ¶

type ApiGetWebhookRequest ¶

type ApiGetWebhookRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (ApiGetWebhookRequest) Execute ¶

func (r ApiGetWebhookRequest) Execute() (*Webhook, *http.Response, error)

type ApiGetWorkflowTemplatesRequest ¶

type ApiGetWorkflowTemplatesRequest struct {
	ApiService *WorkflowTemplatesApiService
	// contains filtered or unexported fields
}

func (ApiGetWorkflowTemplatesRequest) Execute ¶

func (ApiGetWorkflowTemplatesRequest) Search ¶

The substring in either the name or description of a template

func (ApiGetWorkflowTemplatesRequest) Summary ¶

Whether the entire template object or just a summary should be returned

type ApiGetWorkflowsRequest ¶

type ApiGetWorkflowsRequest struct {
	ApiService *WorkflowsApiService
	// contains filtered or unexported fields
}

func (ApiGetWorkflowsRequest) Execute ¶

func (ApiGetWorkflowsRequest) Sort ¶

A field to sort the items by. Prefix field by a dash ( - ) to sort in descending order. This endpoint supports sorting by &#x60;creationDate&#x60; or &#x60;stopDate&#x60;.

func (ApiGetWorkflowsRequest) Status ¶

Filter results by workflow status. Valid status filters are &#x60;active&#x60;, &#x60;completed&#x60;, and &#x60;failed&#x60;.

type ApiPatchApplicationRequest ¶

type ApiPatchApplicationRequest struct {
	ApiService *ApplicationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchApplicationRequest) Execute ¶

func (ApiPatchApplicationRequest) PatchOperation ¶

func (r ApiPatchApplicationRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchApplicationRequest

type ApiPatchApplicationVersionRequest ¶

type ApiPatchApplicationVersionRequest struct {
	ApiService *ApplicationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchApplicationVersionRequest) Execute ¶

func (ApiPatchApplicationVersionRequest) PatchOperation ¶

type ApiPatchBigSegmentStoreIntegrationRequest ¶

type ApiPatchBigSegmentStoreIntegrationRequest struct {
	ApiService *IntegrationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchBigSegmentStoreIntegrationRequest) Execute ¶

func (ApiPatchBigSegmentStoreIntegrationRequest) PatchOperation ¶

type ApiPatchCustomRoleRequest ¶

type ApiPatchCustomRoleRequest struct {
	ApiService *CustomRolesApiService
	// contains filtered or unexported fields
}

func (ApiPatchCustomRoleRequest) Execute ¶

func (ApiPatchCustomRoleRequest) PatchWithComment ¶

func (r ApiPatchCustomRoleRequest) PatchWithComment(patchWithComment PatchWithComment) ApiPatchCustomRoleRequest

type ApiPatchDestinationRequest ¶

type ApiPatchDestinationRequest struct {
	ApiService *DataExportDestinationsApiService
	// contains filtered or unexported fields
}

func (ApiPatchDestinationRequest) Execute ¶

func (ApiPatchDestinationRequest) PatchOperation ¶

func (r ApiPatchDestinationRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchDestinationRequest

type ApiPatchEnvironmentRequest ¶

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

func (ApiPatchEnvironmentRequest) Execute ¶

func (ApiPatchEnvironmentRequest) PatchOperation ¶

func (r ApiPatchEnvironmentRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchEnvironmentRequest

type ApiPatchExperimentRequest ¶

type ApiPatchExperimentRequest struct {
	ApiService *ExperimentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchExperimentRequest) Execute ¶

func (ApiPatchExperimentRequest) ExperimentPatchInput ¶

func (r ApiPatchExperimentRequest) ExperimentPatchInput(experimentPatchInput ExperimentPatchInput) ApiPatchExperimentRequest

type ApiPatchExpiringFlagsForUserRequest ¶

type ApiPatchExpiringFlagsForUserRequest struct {
	ApiService *UserSettingsApiService
	// contains filtered or unexported fields
}

func (ApiPatchExpiringFlagsForUserRequest) Execute ¶

func (ApiPatchExpiringFlagsForUserRequest) PatchUsersRequest ¶

type ApiPatchExpiringTargetsForSegmentRequest ¶

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

func (ApiPatchExpiringTargetsForSegmentRequest) Execute ¶

func (ApiPatchExpiringTargetsForSegmentRequest) PatchSegmentExpiringTargetInputRep ¶

func (r ApiPatchExpiringTargetsForSegmentRequest) PatchSegmentExpiringTargetInputRep(patchSegmentExpiringTargetInputRep PatchSegmentExpiringTargetInputRep) ApiPatchExpiringTargetsForSegmentRequest

type ApiPatchExpiringTargetsRequest ¶

type ApiPatchExpiringTargetsRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiPatchExpiringTargetsRequest) Execute ¶

func (ApiPatchExpiringTargetsRequest) PatchFlagsRequest ¶

type ApiPatchExpiringUserTargetsForSegmentRequest ¶

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

func (ApiPatchExpiringUserTargetsForSegmentRequest) Execute ¶

func (ApiPatchExpiringUserTargetsForSegmentRequest) PatchSegmentRequest ¶

type ApiPatchExpiringUserTargetsRequest ¶

type ApiPatchExpiringUserTargetsRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiPatchExpiringUserTargetsRequest) Execute ¶

func (ApiPatchExpiringUserTargetsRequest) PatchFlagsRequest ¶

type ApiPatchFeatureFlagRequest ¶

type ApiPatchFeatureFlagRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiPatchFeatureFlagRequest) Execute ¶

func (ApiPatchFeatureFlagRequest) PatchWithComment ¶

func (r ApiPatchFeatureFlagRequest) PatchWithComment(patchWithComment PatchWithComment) ApiPatchFeatureFlagRequest

type ApiPatchFlagConfigScheduledChangeRequest ¶

type ApiPatchFlagConfigScheduledChangeRequest struct {
	ApiService *ScheduledChangesApiService
	// contains filtered or unexported fields
}

func (ApiPatchFlagConfigScheduledChangeRequest) Execute ¶

func (ApiPatchFlagConfigScheduledChangeRequest) FlagScheduledChangesInput ¶

func (ApiPatchFlagConfigScheduledChangeRequest) IgnoreConflicts ¶

Whether to succeed (&#x60;true&#x60;) or fail (&#x60;false&#x60;) when these new instructions conflict with existing scheduled changes

type ApiPatchFlagDefaultsByProjectRequest ¶

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

func (ApiPatchFlagDefaultsByProjectRequest) Execute ¶

func (ApiPatchFlagDefaultsByProjectRequest) PatchOperation ¶

type ApiPatchInsightGroupRequest ¶

type ApiPatchInsightGroupRequest struct {
	ApiService *InsightsScoresBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchInsightGroupRequest) Execute ¶

func (ApiPatchInsightGroupRequest) PatchOperation ¶

func (r ApiPatchInsightGroupRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchInsightGroupRequest

type ApiPatchIntegrationDeliveryConfigurationRequest ¶

type ApiPatchIntegrationDeliveryConfigurationRequest struct {
	ApiService *IntegrationDeliveryConfigurationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchIntegrationDeliveryConfigurationRequest) Execute ¶

func (ApiPatchIntegrationDeliveryConfigurationRequest) PatchOperation ¶

type ApiPatchMemberRequest ¶

type ApiPatchMemberRequest struct {
	ApiService *AccountMembersApiService
	// contains filtered or unexported fields
}

func (ApiPatchMemberRequest) Execute ¶

func (r ApiPatchMemberRequest) Execute() (*Member, *http.Response, error)

func (ApiPatchMemberRequest) PatchOperation ¶

func (r ApiPatchMemberRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchMemberRequest

type ApiPatchMembersRequest ¶

type ApiPatchMembersRequest struct {
	ApiService *AccountMembersBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchMembersRequest) Execute ¶

func (ApiPatchMembersRequest) MembersPatchInput ¶

func (r ApiPatchMembersRequest) MembersPatchInput(membersPatchInput MembersPatchInput) ApiPatchMembersRequest

type ApiPatchMetricGroupRequest ¶

type ApiPatchMetricGroupRequest struct {
	ApiService *MetricsBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchMetricGroupRequest) Execute ¶

func (ApiPatchMetricGroupRequest) PatchOperation ¶

func (r ApiPatchMetricGroupRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchMetricGroupRequest

type ApiPatchMetricRequest ¶

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

func (ApiPatchMetricRequest) Execute ¶

func (ApiPatchMetricRequest) PatchOperation ¶

func (r ApiPatchMetricRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchMetricRequest

type ApiPatchOAuthClientRequest ¶

type ApiPatchOAuthClientRequest struct {
	ApiService *OAuth2ClientsApiService
	// contains filtered or unexported fields
}

func (ApiPatchOAuthClientRequest) Execute ¶

func (ApiPatchOAuthClientRequest) PatchOperation ¶

func (r ApiPatchOAuthClientRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchOAuthClientRequest

type ApiPatchProjectRequest ¶

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

func (ApiPatchProjectRequest) Execute ¶

func (ApiPatchProjectRequest) PatchOperation ¶

func (r ApiPatchProjectRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchProjectRequest

type ApiPatchRelayAutoConfigRequest ¶

type ApiPatchRelayAutoConfigRequest struct {
	ApiService *RelayProxyConfigurationsApiService
	// contains filtered or unexported fields
}

func (ApiPatchRelayAutoConfigRequest) Execute ¶

func (ApiPatchRelayAutoConfigRequest) PatchWithComment ¶

type ApiPatchReleaseByFlagKeyRequest ¶

type ApiPatchReleaseByFlagKeyRequest struct {
	ApiService *ReleasesBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchReleaseByFlagKeyRequest) Execute ¶

func (ApiPatchReleaseByFlagKeyRequest) PatchOperation ¶

type ApiPatchReleasePipelineRequest ¶

type ApiPatchReleasePipelineRequest struct {
	ApiService *ReleasePipelinesBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchReleasePipelineRequest) Execute ¶

type ApiPatchRepositoryRequest ¶

type ApiPatchRepositoryRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiPatchRepositoryRequest) Execute ¶

func (ApiPatchRepositoryRequest) PatchOperation ¶

func (r ApiPatchRepositoryRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchRepositoryRequest

type ApiPatchSegmentRequest ¶

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

func (ApiPatchSegmentRequest) Execute ¶

func (ApiPatchSegmentRequest) PatchWithComment ¶

func (r ApiPatchSegmentRequest) PatchWithComment(patchWithComment PatchWithComment) ApiPatchSegmentRequest

type ApiPatchTeamRequest ¶

type ApiPatchTeamRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiPatchTeamRequest) Execute ¶

func (r ApiPatchTeamRequest) Execute() (*Team, *http.Response, error)

func (ApiPatchTeamRequest) Expand ¶

A comma-separated list of properties that can reveal additional information in the response. Supported fields are explained above.

func (ApiPatchTeamRequest) TeamPatchInput ¶

func (r ApiPatchTeamRequest) TeamPatchInput(teamPatchInput TeamPatchInput) ApiPatchTeamRequest

type ApiPatchTeamsRequest ¶

type ApiPatchTeamsRequest struct {
	ApiService *TeamsBetaApiService
	// contains filtered or unexported fields
}

func (ApiPatchTeamsRequest) Execute ¶

func (ApiPatchTeamsRequest) TeamsPatchInput ¶

func (r ApiPatchTeamsRequest) TeamsPatchInput(teamsPatchInput TeamsPatchInput) ApiPatchTeamsRequest

type ApiPatchTokenRequest ¶

type ApiPatchTokenRequest struct {
	ApiService *AccessTokensApiService
	// contains filtered or unexported fields
}

func (ApiPatchTokenRequest) Execute ¶

func (r ApiPatchTokenRequest) Execute() (*Token, *http.Response, error)

func (ApiPatchTokenRequest) PatchOperation ¶

func (r ApiPatchTokenRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchTokenRequest

type ApiPatchTriggerWorkflowRequest ¶

type ApiPatchTriggerWorkflowRequest struct {
	ApiService *FlagTriggersApiService
	// contains filtered or unexported fields
}

func (ApiPatchTriggerWorkflowRequest) Execute ¶

func (ApiPatchTriggerWorkflowRequest) FlagTriggerInput ¶

type ApiPatchWebhookRequest ¶

type ApiPatchWebhookRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (ApiPatchWebhookRequest) Execute ¶

func (r ApiPatchWebhookRequest) Execute() (*Webhook, *http.Response, error)

func (ApiPatchWebhookRequest) PatchOperation ¶

func (r ApiPatchWebhookRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchWebhookRequest

type ApiPostApprovalRequestApplyForFlagRequest ¶

type ApiPostApprovalRequestApplyForFlagRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiPostApprovalRequestApplyForFlagRequest) Execute ¶

func (ApiPostApprovalRequestApplyForFlagRequest) PostApprovalRequestApplyRequest ¶

func (r ApiPostApprovalRequestApplyForFlagRequest) PostApprovalRequestApplyRequest(postApprovalRequestApplyRequest PostApprovalRequestApplyRequest) ApiPostApprovalRequestApplyForFlagRequest

type ApiPostApprovalRequestApplyRequest ¶

type ApiPostApprovalRequestApplyRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiPostApprovalRequestApplyRequest) Execute ¶

func (ApiPostApprovalRequestApplyRequest) PostApprovalRequestApplyRequest ¶

func (r ApiPostApprovalRequestApplyRequest) PostApprovalRequestApplyRequest(postApprovalRequestApplyRequest PostApprovalRequestApplyRequest) ApiPostApprovalRequestApplyRequest

type ApiPostApprovalRequestForFlagRequest ¶

type ApiPostApprovalRequestForFlagRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiPostApprovalRequestForFlagRequest) CreateFlagConfigApprovalRequestRequest ¶

func (r ApiPostApprovalRequestForFlagRequest) CreateFlagConfigApprovalRequestRequest(createFlagConfigApprovalRequestRequest CreateFlagConfigApprovalRequestRequest) ApiPostApprovalRequestForFlagRequest

func (ApiPostApprovalRequestForFlagRequest) Execute ¶

type ApiPostApprovalRequestRequest ¶

type ApiPostApprovalRequestRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiPostApprovalRequestRequest) CreateApprovalRequestRequest ¶

func (r ApiPostApprovalRequestRequest) CreateApprovalRequestRequest(createApprovalRequestRequest CreateApprovalRequestRequest) ApiPostApprovalRequestRequest

func (ApiPostApprovalRequestRequest) Execute ¶

type ApiPostApprovalRequestReviewForFlagRequest ¶

type ApiPostApprovalRequestReviewForFlagRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiPostApprovalRequestReviewForFlagRequest) Execute ¶

func (ApiPostApprovalRequestReviewForFlagRequest) PostApprovalRequestReviewRequest ¶

func (r ApiPostApprovalRequestReviewForFlagRequest) PostApprovalRequestReviewRequest(postApprovalRequestReviewRequest PostApprovalRequestReviewRequest) ApiPostApprovalRequestReviewForFlagRequest

type ApiPostApprovalRequestReviewRequest ¶

type ApiPostApprovalRequestReviewRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiPostApprovalRequestReviewRequest) Execute ¶

func (ApiPostApprovalRequestReviewRequest) PostApprovalRequestReviewRequest ¶

func (r ApiPostApprovalRequestReviewRequest) PostApprovalRequestReviewRequest(postApprovalRequestReviewRequest PostApprovalRequestReviewRequest) ApiPostApprovalRequestReviewRequest

type ApiPostCustomRoleRequest ¶

type ApiPostCustomRoleRequest struct {
	ApiService *CustomRolesApiService
	// contains filtered or unexported fields
}

func (ApiPostCustomRoleRequest) CustomRolePost ¶

func (r ApiPostCustomRoleRequest) CustomRolePost(customRolePost CustomRolePost) ApiPostCustomRoleRequest

func (ApiPostCustomRoleRequest) Execute ¶

type ApiPostDestinationRequest ¶

type ApiPostDestinationRequest struct {
	ApiService *DataExportDestinationsApiService
	// contains filtered or unexported fields
}

func (ApiPostDestinationRequest) DestinationPost ¶

func (r ApiPostDestinationRequest) DestinationPost(destinationPost DestinationPost) ApiPostDestinationRequest

func (ApiPostDestinationRequest) Execute ¶

type ApiPostEnvironmentRequest ¶

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

func (ApiPostEnvironmentRequest) EnvironmentPost ¶

func (r ApiPostEnvironmentRequest) EnvironmentPost(environmentPost EnvironmentPost) ApiPostEnvironmentRequest

func (ApiPostEnvironmentRequest) Execute ¶

type ApiPostExtinctionRequest ¶

type ApiPostExtinctionRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiPostExtinctionRequest) Execute ¶

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

func (ApiPostExtinctionRequest) Extinction ¶

type ApiPostFeatureFlagRequest ¶

type ApiPostFeatureFlagRequest struct {
	ApiService *FeatureFlagsApiService
	// contains filtered or unexported fields
}

func (ApiPostFeatureFlagRequest) Clone ¶

The key of the feature flag to be cloned. The key identifies the flag in your code. For example, setting &#x60;clone&#x3D;flagKey&#x60; copies the full targeting configuration for all environments, including &#x60;on/off&#x60; state, from the original flag to the new flag.

func (ApiPostFeatureFlagRequest) Execute ¶

func (ApiPostFeatureFlagRequest) FeatureFlagBody ¶

func (r ApiPostFeatureFlagRequest) FeatureFlagBody(featureFlagBody FeatureFlagBody) ApiPostFeatureFlagRequest

type ApiPostFlagConfigScheduledChangesRequest ¶

type ApiPostFlagConfigScheduledChangesRequest struct {
	ApiService *ScheduledChangesApiService
	// contains filtered or unexported fields
}

func (ApiPostFlagConfigScheduledChangesRequest) Execute ¶

func (ApiPostFlagConfigScheduledChangesRequest) IgnoreConflicts ¶

Whether to succeed (&#x60;true&#x60;) or fail (&#x60;false&#x60;) when these instructions conflict with existing scheduled changes

func (ApiPostFlagConfigScheduledChangesRequest) PostFlagScheduledChangesInput ¶

func (r ApiPostFlagConfigScheduledChangesRequest) PostFlagScheduledChangesInput(postFlagScheduledChangesInput PostFlagScheduledChangesInput) ApiPostFlagConfigScheduledChangesRequest

type ApiPostFlagCopyConfigApprovalRequestRequest ¶

type ApiPostFlagCopyConfigApprovalRequestRequest struct {
	ApiService *ApprovalsApiService
	// contains filtered or unexported fields
}

func (ApiPostFlagCopyConfigApprovalRequestRequest) CreateCopyFlagConfigApprovalRequestRequest ¶

func (r ApiPostFlagCopyConfigApprovalRequestRequest) CreateCopyFlagConfigApprovalRequestRequest(createCopyFlagConfigApprovalRequestRequest CreateCopyFlagConfigApprovalRequestRequest) ApiPostFlagCopyConfigApprovalRequestRequest

func (ApiPostFlagCopyConfigApprovalRequestRequest) Execute ¶

type ApiPostMemberTeamsRequest ¶

type ApiPostMemberTeamsRequest struct {
	ApiService *AccountMembersApiService
	// contains filtered or unexported fields
}

func (ApiPostMemberTeamsRequest) Execute ¶

func (ApiPostMemberTeamsRequest) MemberTeamsPostInput ¶

func (r ApiPostMemberTeamsRequest) MemberTeamsPostInput(memberTeamsPostInput MemberTeamsPostInput) ApiPostMemberTeamsRequest

type ApiPostMembersRequest ¶

type ApiPostMembersRequest struct {
	ApiService *AccountMembersApiService
	// contains filtered or unexported fields
}

func (ApiPostMembersRequest) Execute ¶

func (r ApiPostMembersRequest) Execute() (*Members, *http.Response, error)

func (ApiPostMembersRequest) NewMemberForm ¶

func (r ApiPostMembersRequest) NewMemberForm(newMemberForm []NewMemberForm) ApiPostMembersRequest

type ApiPostMetricRequest ¶

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

func (ApiPostMetricRequest) Execute ¶

func (r ApiPostMetricRequest) Execute() (*MetricRep, *http.Response, error)

func (ApiPostMetricRequest) MetricPost ¶

func (r ApiPostMetricRequest) MetricPost(metricPost MetricPost) ApiPostMetricRequest

type ApiPostMigrationSafetyIssuesRequest ¶

type ApiPostMigrationSafetyIssuesRequest struct {
	ApiService *FeatureFlagsBetaApiService
	// contains filtered or unexported fields
}

func (ApiPostMigrationSafetyIssuesRequest) Execute ¶

func (ApiPostMigrationSafetyIssuesRequest) FlagSempatch ¶

type ApiPostProjectRequest ¶

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

func (ApiPostProjectRequest) Execute ¶

func (ApiPostProjectRequest) ProjectPost ¶

func (r ApiPostProjectRequest) ProjectPost(projectPost ProjectPost) ApiPostProjectRequest

type ApiPostRelayAutoConfigRequest ¶

type ApiPostRelayAutoConfigRequest struct {
	ApiService *RelayProxyConfigurationsApiService
	// contains filtered or unexported fields
}

func (ApiPostRelayAutoConfigRequest) Execute ¶

func (ApiPostRelayAutoConfigRequest) RelayAutoConfigPost ¶

func (r ApiPostRelayAutoConfigRequest) RelayAutoConfigPost(relayAutoConfigPost RelayAutoConfigPost) ApiPostRelayAutoConfigRequest

type ApiPostReleasePipelineRequest ¶

type ApiPostReleasePipelineRequest struct {
	ApiService *ReleasePipelinesBetaApiService
	// contains filtered or unexported fields
}

func (ApiPostReleasePipelineRequest) CreateReleasePipelineInput ¶

func (r ApiPostReleasePipelineRequest) CreateReleasePipelineInput(createReleasePipelineInput CreateReleasePipelineInput) ApiPostReleasePipelineRequest

func (ApiPostReleasePipelineRequest) Execute ¶

type ApiPostRepositoryRequest ¶

type ApiPostRepositoryRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiPostRepositoryRequest) Execute ¶

func (ApiPostRepositoryRequest) RepositoryPost ¶

func (r ApiPostRepositoryRequest) RepositoryPost(repositoryPost RepositoryPost) ApiPostRepositoryRequest

type ApiPostSegmentRequest ¶

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

func (ApiPostSegmentRequest) Execute ¶

func (ApiPostSegmentRequest) SegmentBody ¶

func (r ApiPostSegmentRequest) SegmentBody(segmentBody SegmentBody) ApiPostSegmentRequest

type ApiPostTeamMembersRequest ¶

type ApiPostTeamMembersRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiPostTeamMembersRequest) Execute ¶

func (ApiPostTeamMembersRequest) File ¶

CSV file containing email addresses

type ApiPostTeamRequest ¶

type ApiPostTeamRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiPostTeamRequest) Execute ¶

func (r ApiPostTeamRequest) Execute() (*Team, *http.Response, error)

func (ApiPostTeamRequest) Expand ¶

func (r ApiPostTeamRequest) Expand(expand string) ApiPostTeamRequest

A comma-separated list of properties that can reveal additional information in the response. Supported fields are explained above.

func (ApiPostTeamRequest) TeamPostInput ¶

func (r ApiPostTeamRequest) TeamPostInput(teamPostInput TeamPostInput) ApiPostTeamRequest

type ApiPostTokenRequest ¶

type ApiPostTokenRequest struct {
	ApiService *AccessTokensApiService
	// contains filtered or unexported fields
}

func (ApiPostTokenRequest) AccessTokenPost ¶

func (r ApiPostTokenRequest) AccessTokenPost(accessTokenPost AccessTokenPost) ApiPostTokenRequest

func (ApiPostTokenRequest) Execute ¶

func (r ApiPostTokenRequest) Execute() (*Token, *http.Response, error)

type ApiPostWebhookRequest ¶

type ApiPostWebhookRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (ApiPostWebhookRequest) Execute ¶

func (r ApiPostWebhookRequest) Execute() (*Webhook, *http.Response, error)

func (ApiPostWebhookRequest) WebhookPost ¶

func (r ApiPostWebhookRequest) WebhookPost(webhookPost WebhookPost) ApiPostWebhookRequest

type ApiPostWorkflowRequest ¶

type ApiPostWorkflowRequest struct {
	ApiService *WorkflowsApiService
	// contains filtered or unexported fields
}

func (ApiPostWorkflowRequest) CustomWorkflowInput ¶

func (r ApiPostWorkflowRequest) CustomWorkflowInput(customWorkflowInput CustomWorkflowInput) ApiPostWorkflowRequest

func (ApiPostWorkflowRequest) DryRun ¶

Whether to call the endpoint in dry-run mode

func (ApiPostWorkflowRequest) Execute ¶

func (ApiPostWorkflowRequest) TemplateKey ¶

func (r ApiPostWorkflowRequest) TemplateKey(templateKey string) ApiPostWorkflowRequest

The template key to apply as a starting point for the new workflow

type ApiPutBranchRequest ¶

type ApiPutBranchRequest struct {
	ApiService *CodeReferencesApiService
	// contains filtered or unexported fields
}

func (ApiPutBranchRequest) Execute ¶

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

func (ApiPutBranchRequest) PutBranch ¶

func (r ApiPutBranchRequest) PutBranch(putBranch PutBranch) ApiPutBranchRequest

type ApiPutContextFlagSettingRequest ¶

type ApiPutContextFlagSettingRequest struct {
	ApiService *ContextSettingsApiService
	// contains filtered or unexported fields
}

func (ApiPutContextFlagSettingRequest) Execute ¶

func (ApiPutContextFlagSettingRequest) ValuePut ¶

type ApiPutContextKindRequest ¶

type ApiPutContextKindRequest struct {
	ApiService *ContextsApiService
	// contains filtered or unexported fields
}

func (ApiPutContextKindRequest) Execute ¶

func (ApiPutContextKindRequest) UpsertContextKindPayload ¶

func (r ApiPutContextKindRequest) UpsertContextKindPayload(upsertContextKindPayload UpsertContextKindPayload) ApiPutContextKindRequest

type ApiPutExperimentationSettingsRequest ¶

type ApiPutExperimentationSettingsRequest struct {
	ApiService *ExperimentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiPutExperimentationSettingsRequest) Execute ¶

func (ApiPutExperimentationSettingsRequest) RandomizationSettingsPut ¶

func (r ApiPutExperimentationSettingsRequest) RandomizationSettingsPut(randomizationSettingsPut RandomizationSettingsPut) ApiPutExperimentationSettingsRequest

type ApiPutFlagDefaultsByProjectRequest ¶

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

func (ApiPutFlagDefaultsByProjectRequest) Execute ¶

func (ApiPutFlagDefaultsByProjectRequest) UpsertFlagDefaultsPayload ¶

func (r ApiPutFlagDefaultsByProjectRequest) UpsertFlagDefaultsPayload(upsertFlagDefaultsPayload UpsertFlagDefaultsPayload) ApiPutFlagDefaultsByProjectRequest

type ApiPutFlagFollowersRequest ¶

type ApiPutFlagFollowersRequest struct {
	ApiService *FollowFlagsApiService
	// contains filtered or unexported fields
}

func (ApiPutFlagFollowersRequest) Execute ¶

type ApiPutFlagSettingRequest ¶

type ApiPutFlagSettingRequest struct {
	ApiService *UserSettingsApiService
	// contains filtered or unexported fields
}

func (ApiPutFlagSettingRequest) Execute ¶

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

func (ApiPutFlagSettingRequest) ValuePut ¶

type ApiResetEnvironmentMobileKeyRequest ¶

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

func (ApiResetEnvironmentMobileKeyRequest) Execute ¶

type ApiResetEnvironmentSDKKeyRequest ¶

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

func (ApiResetEnvironmentSDKKeyRequest) Execute ¶

func (ApiResetEnvironmentSDKKeyRequest) Expiry ¶

The time at which you want the old SDK key to expire, in UNIX milliseconds. By default, the key expires immediately. During the period between this call and the time when the old SDK key expires, both the old SDK key and the new SDK key will work.

type ApiResetRelayAutoConfigRequest ¶

type ApiResetRelayAutoConfigRequest struct {
	ApiService *RelayProxyConfigurationsApiService
	// contains filtered or unexported fields
}

func (ApiResetRelayAutoConfigRequest) Execute ¶

func (ApiResetRelayAutoConfigRequest) Expiry ¶

An expiration time for the old Relay Proxy configuration key, expressed as a Unix epoch time in milliseconds. By default, the Relay Proxy configuration will expire immediately.

type ApiResetTokenRequest ¶

type ApiResetTokenRequest struct {
	ApiService *AccessTokensApiService
	// contains filtered or unexported fields
}

func (ApiResetTokenRequest) Execute ¶

func (r ApiResetTokenRequest) Execute() (*Token, *http.Response, error)

func (ApiResetTokenRequest) Expiry ¶

An expiration time for the old token key, expressed as a Unix epoch time in milliseconds. By default, the token will expire immediately.

type ApiSearchContextInstancesRequest ¶

type ApiSearchContextInstancesRequest struct {
	ApiService *ContextsApiService
	// contains filtered or unexported fields
}

func (ApiSearchContextInstancesRequest) ContextInstanceSearch ¶

func (r ApiSearchContextInstancesRequest) ContextInstanceSearch(contextInstanceSearch ContextInstanceSearch) ApiSearchContextInstancesRequest

func (ApiSearchContextInstancesRequest) ContinuationToken ¶

func (r ApiSearchContextInstancesRequest) ContinuationToken(continuationToken string) ApiSearchContextInstancesRequest

Limits results to context instances with sort values after the value specified. You can use this for pagination, however, we recommend using the &#x60;next&#x60; link we provide instead.

func (ApiSearchContextInstancesRequest) Execute ¶

func (ApiSearchContextInstancesRequest) Filter ¶

A comma-separated list of context filters. This endpoint only accepts an &#x60;applicationId&#x60; filter. To learn more about the filter syntax, read [Filtering contexts and context instances](/tag/Contexts#filtering-contexts-and-context-instances).

func (ApiSearchContextInstancesRequest) IncludeTotalCount ¶

func (r ApiSearchContextInstancesRequest) IncludeTotalCount(includeTotalCount bool) ApiSearchContextInstancesRequest

Specifies whether to include or omit the total count of matching context instances. Defaults to true.

func (ApiSearchContextInstancesRequest) Limit ¶

Specifies the maximum number of items in the collection to return (max: 50, default: 20)

func (ApiSearchContextInstancesRequest) Sort ¶

Specifies a field by which to sort. LaunchDarkly supports sorting by timestamp in ascending order by specifying &#x60;ts&#x60; for this value, or descending order by specifying &#x60;-ts&#x60;.

type ApiSearchContextsRequest ¶

type ApiSearchContextsRequest struct {
	ApiService *ContextsApiService
	// contains filtered or unexported fields
}

func (ApiSearchContextsRequest) ContextSearch ¶

func (r ApiSearchContextsRequest) ContextSearch(contextSearch ContextSearch) ApiSearchContextsRequest

func (ApiSearchContextsRequest) ContinuationToken ¶

func (r ApiSearchContextsRequest) ContinuationToken(continuationToken string) ApiSearchContextsRequest

Limits results to contexts with sort values after the value specified. You can use this for pagination, however, we recommend using the &#x60;next&#x60; link we provide instead.

func (ApiSearchContextsRequest) Execute ¶

func (ApiSearchContextsRequest) Filter ¶

A comma-separated list of context filters. To learn more about the filter syntax, read [Filtering contexts and context instances](/tag/Contexts#filtering-contexts-and-context-instances).

func (ApiSearchContextsRequest) IncludeTotalCount ¶

func (r ApiSearchContextsRequest) IncludeTotalCount(includeTotalCount bool) ApiSearchContextsRequest

Specifies whether to include or omit the total count of matching contexts. Defaults to true.

func (ApiSearchContextsRequest) Limit ¶

Specifies the maximum number of items in the collection to return (max: 50, default: 20)

func (ApiSearchContextsRequest) Sort ¶

Specifies a field by which to sort. LaunchDarkly supports sorting by timestamp in ascending order by specifying &#x60;ts&#x60; for this value, or descending order by specifying &#x60;-ts&#x60;.

type ApiUpdateBigSegmentContextTargetsRequest ¶

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

func (ApiUpdateBigSegmentContextTargetsRequest) Execute ¶

func (ApiUpdateBigSegmentContextTargetsRequest) SegmentUserState ¶

type ApiUpdateBigSegmentTargetsRequest ¶

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

func (ApiUpdateBigSegmentTargetsRequest) Execute ¶

func (ApiUpdateBigSegmentTargetsRequest) SegmentUserState ¶

type ApiUpdateDeploymentRequest ¶

type ApiUpdateDeploymentRequest struct {
	ApiService *InsightsDeploymentsBetaApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDeploymentRequest) Execute ¶

func (ApiUpdateDeploymentRequest) PatchOperation ¶

func (r ApiUpdateDeploymentRequest) PatchOperation(patchOperation []PatchOperation) ApiUpdateDeploymentRequest

type ApiUpdateFlagLinkRequest ¶

type ApiUpdateFlagLinkRequest struct {
	ApiService *FlagLinksBetaApiService
	// contains filtered or unexported fields
}

func (ApiUpdateFlagLinkRequest) Execute ¶

func (ApiUpdateFlagLinkRequest) PatchOperation ¶

func (r ApiUpdateFlagLinkRequest) PatchOperation(patchOperation []PatchOperation) ApiUpdateFlagLinkRequest

type ApiUpdateSubscriptionRequest ¶

type ApiUpdateSubscriptionRequest struct {
	ApiService *IntegrationAuditLogSubscriptionsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateSubscriptionRequest) Execute ¶

func (ApiUpdateSubscriptionRequest) PatchOperation ¶

type ApiValidateIntegrationDeliveryConfigurationRequest ¶

type ApiValidateIntegrationDeliveryConfigurationRequest struct {
	ApiService *IntegrationDeliveryConfigurationsBetaApiService
	// contains filtered or unexported fields
}

func (ApiValidateIntegrationDeliveryConfigurationRequest) Execute ¶

type ApplicationCollectionRep ¶

type ApplicationCollectionRep struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// A list of applications
	Items []ApplicationRep `json:"items,omitempty"`
	// The number of applications
	TotalCount *int32 `json:"totalCount,omitempty"`
}

ApplicationCollectionRep struct for ApplicationCollectionRep

func NewApplicationCollectionRep ¶

func NewApplicationCollectionRep() *ApplicationCollectionRep

NewApplicationCollectionRep instantiates a new ApplicationCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationCollectionRepWithDefaults ¶

func NewApplicationCollectionRepWithDefaults() *ApplicationCollectionRep

NewApplicationCollectionRepWithDefaults instantiates a new ApplicationCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationCollectionRep) GetItems ¶

func (o *ApplicationCollectionRep) GetItems() []ApplicationRep

GetItems returns the Items field value if set, zero value otherwise.

func (*ApplicationCollectionRep) GetItemsOk ¶

func (o *ApplicationCollectionRep) GetItemsOk() ([]ApplicationRep, bool)

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

func (o *ApplicationCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ApplicationCollectionRep) GetLinksOk ¶

func (o *ApplicationCollectionRep) GetLinksOk() (*map[string]Link, bool)

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

func (*ApplicationCollectionRep) GetTotalCount ¶

func (o *ApplicationCollectionRep) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*ApplicationCollectionRep) GetTotalCountOk ¶

func (o *ApplicationCollectionRep) GetTotalCountOk() (*int32, bool)

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

func (*ApplicationCollectionRep) HasItems ¶

func (o *ApplicationCollectionRep) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *ApplicationCollectionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ApplicationCollectionRep) HasTotalCount ¶

func (o *ApplicationCollectionRep) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (ApplicationCollectionRep) MarshalJSON ¶

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

func (*ApplicationCollectionRep) SetItems ¶

func (o *ApplicationCollectionRep) SetItems(v []ApplicationRep)

SetItems gets a reference to the given []ApplicationRep and assigns it to the Items field.

func (o *ApplicationCollectionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ApplicationCollectionRep) SetTotalCount ¶

func (o *ApplicationCollectionRep) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type ApplicationFlagCollectionRep ¶

type ApplicationFlagCollectionRep struct {
	// A list of the flags that have been evaluated by the application
	Items []FlagListingRep `json:"items,omitempty"`
	// The number of flags that have been evaluated by the application
	TotalCount *int32 `json:"totalCount,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

ApplicationFlagCollectionRep struct for ApplicationFlagCollectionRep

func NewApplicationFlagCollectionRep ¶

func NewApplicationFlagCollectionRep() *ApplicationFlagCollectionRep

NewApplicationFlagCollectionRep instantiates a new ApplicationFlagCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationFlagCollectionRepWithDefaults ¶

func NewApplicationFlagCollectionRepWithDefaults() *ApplicationFlagCollectionRep

NewApplicationFlagCollectionRepWithDefaults instantiates a new ApplicationFlagCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationFlagCollectionRep) GetItems ¶

GetItems returns the Items field value if set, zero value otherwise.

func (*ApplicationFlagCollectionRep) GetItemsOk ¶

func (o *ApplicationFlagCollectionRep) GetItemsOk() ([]FlagListingRep, bool)

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

func (o *ApplicationFlagCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ApplicationFlagCollectionRep) GetLinksOk ¶

func (o *ApplicationFlagCollectionRep) GetLinksOk() (*map[string]Link, bool)

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

func (*ApplicationFlagCollectionRep) GetTotalCount ¶

func (o *ApplicationFlagCollectionRep) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*ApplicationFlagCollectionRep) GetTotalCountOk ¶

func (o *ApplicationFlagCollectionRep) GetTotalCountOk() (*int32, bool)

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

func (*ApplicationFlagCollectionRep) HasItems ¶

func (o *ApplicationFlagCollectionRep) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *ApplicationFlagCollectionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ApplicationFlagCollectionRep) HasTotalCount ¶

func (o *ApplicationFlagCollectionRep) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (ApplicationFlagCollectionRep) MarshalJSON ¶

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

func (*ApplicationFlagCollectionRep) SetItems ¶

SetItems gets a reference to the given []FlagListingRep and assigns it to the Items field.

func (o *ApplicationFlagCollectionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ApplicationFlagCollectionRep) SetTotalCount ¶

func (o *ApplicationFlagCollectionRep) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type ApplicationRep ¶

type ApplicationRep struct {
	Flags  *ApplicationFlagCollectionRep `json:"flags,omitempty"`
	Access *Access                       `json:"_access,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// Version of the application
	Version *int32 `json:"_version,omitempty"`
	// Whether the application was automatically created because it was included in a context when a LaunchDarkly SDK evaluated a feature flag, or was created through the LaunchDarkly UI or REST API.
	AutoAdded    bool   `json:"autoAdded"`
	CreationDate *int64 `json:"creationDate,omitempty"`
	// The application description
	Description *string `json:"description,omitempty"`
	// The unique identifier of this application
	Key string `json:"key"`
	// To distinguish the kind of application
	Kind       string         `json:"kind"`
	Maintainer *MaintainerRep `json:"_maintainer,omitempty"`
	// The name of the application
	Name string `json:"name"`
}

ApplicationRep struct for ApplicationRep

func NewApplicationRep ¶

func NewApplicationRep(autoAdded bool, key string, kind string, name string) *ApplicationRep

NewApplicationRep instantiates a new ApplicationRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationRepWithDefaults ¶

func NewApplicationRepWithDefaults() *ApplicationRep

NewApplicationRepWithDefaults instantiates a new ApplicationRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationRep) GetAccess ¶

func (o *ApplicationRep) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*ApplicationRep) GetAccessOk ¶

func (o *ApplicationRep) GetAccessOk() (*Access, bool)

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

func (*ApplicationRep) GetAutoAdded ¶

func (o *ApplicationRep) GetAutoAdded() bool

GetAutoAdded returns the AutoAdded field value

func (*ApplicationRep) GetAutoAddedOk ¶

func (o *ApplicationRep) GetAutoAddedOk() (*bool, bool)

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

func (*ApplicationRep) GetCreationDate ¶

func (o *ApplicationRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*ApplicationRep) GetCreationDateOk ¶

func (o *ApplicationRep) GetCreationDateOk() (*int64, bool)

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

func (*ApplicationRep) GetDescription ¶

func (o *ApplicationRep) GetDescription() string

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

func (*ApplicationRep) GetDescriptionOk ¶

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

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

func (*ApplicationRep) GetFlags ¶

GetFlags returns the Flags field value if set, zero value otherwise.

func (*ApplicationRep) GetFlagsOk ¶

func (o *ApplicationRep) GetFlagsOk() (*ApplicationFlagCollectionRep, bool)

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

func (*ApplicationRep) GetKey ¶

func (o *ApplicationRep) GetKey() string

GetKey returns the Key field value

func (*ApplicationRep) GetKeyOk ¶

func (o *ApplicationRep) GetKeyOk() (*string, bool)

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

func (*ApplicationRep) GetKind ¶

func (o *ApplicationRep) GetKind() string

GetKind returns the Kind field value

func (*ApplicationRep) GetKindOk ¶

func (o *ApplicationRep) GetKindOk() (*string, bool)

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

func (o *ApplicationRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ApplicationRep) GetLinksOk ¶

func (o *ApplicationRep) GetLinksOk() (*map[string]Link, bool)

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

func (*ApplicationRep) GetMaintainer ¶

func (o *ApplicationRep) GetMaintainer() MaintainerRep

GetMaintainer returns the Maintainer field value if set, zero value otherwise.

func (*ApplicationRep) GetMaintainerOk ¶

func (o *ApplicationRep) GetMaintainerOk() (*MaintainerRep, bool)

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

func (*ApplicationRep) GetName ¶

func (o *ApplicationRep) GetName() string

GetName returns the Name field value

func (*ApplicationRep) GetNameOk ¶

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

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

func (*ApplicationRep) GetVersion ¶

func (o *ApplicationRep) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*ApplicationRep) GetVersionOk ¶

func (o *ApplicationRep) GetVersionOk() (*int32, bool)

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

func (*ApplicationRep) HasAccess ¶

func (o *ApplicationRep) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*ApplicationRep) HasCreationDate ¶

func (o *ApplicationRep) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*ApplicationRep) HasDescription ¶

func (o *ApplicationRep) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ApplicationRep) HasFlags ¶

func (o *ApplicationRep) HasFlags() bool

HasFlags returns a boolean if a field has been set.

func (o *ApplicationRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ApplicationRep) HasMaintainer ¶

func (o *ApplicationRep) HasMaintainer() bool

HasMaintainer returns a boolean if a field has been set.

func (*ApplicationRep) HasVersion ¶

func (o *ApplicationRep) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ApplicationRep) MarshalJSON ¶

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

func (*ApplicationRep) SetAccess ¶

func (o *ApplicationRep) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*ApplicationRep) SetAutoAdded ¶

func (o *ApplicationRep) SetAutoAdded(v bool)

SetAutoAdded sets field value

func (*ApplicationRep) SetCreationDate ¶

func (o *ApplicationRep) SetCreationDate(v int64)

SetCreationDate gets a reference to the given int64 and assigns it to the CreationDate field.

func (*ApplicationRep) SetDescription ¶

func (o *ApplicationRep) SetDescription(v string)

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

func (*ApplicationRep) SetFlags ¶

SetFlags gets a reference to the given ApplicationFlagCollectionRep and assigns it to the Flags field.

func (*ApplicationRep) SetKey ¶

func (o *ApplicationRep) SetKey(v string)

SetKey sets field value

func (*ApplicationRep) SetKind ¶

func (o *ApplicationRep) SetKind(v string)

SetKind sets field value

func (o *ApplicationRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ApplicationRep) SetMaintainer ¶

func (o *ApplicationRep) SetMaintainer(v MaintainerRep)

SetMaintainer gets a reference to the given MaintainerRep and assigns it to the Maintainer field.

func (*ApplicationRep) SetName ¶

func (o *ApplicationRep) SetName(v string)

SetName sets field value

func (*ApplicationRep) SetVersion ¶

func (o *ApplicationRep) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type ApplicationVersionRep ¶

type ApplicationVersionRep struct {
	Access *Access `json:"_access,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// Version of the application version
	Version *int32 `json:"_version,omitempty"`
	// Whether the application version was automatically created, because it was included in a context when a LaunchDarkly SDK evaluated a feature flag, or if the application version was created through the LaunchDarkly UI or REST API.
	AutoAdded    bool   `json:"autoAdded"`
	CreationDate *int64 `json:"creationDate,omitempty"`
	// The unique identifier of this application version
	Key string `json:"key"`
	// The name of this version
	Name string `json:"name"`
	// Whether this version is supported. Only applicable if the application <code>kind</code> is <code>mobile</code>.
	Supported *bool `json:"supported,omitempty"`
}

ApplicationVersionRep struct for ApplicationVersionRep

func NewApplicationVersionRep ¶

func NewApplicationVersionRep(autoAdded bool, key string, name string) *ApplicationVersionRep

NewApplicationVersionRep instantiates a new ApplicationVersionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationVersionRepWithDefaults ¶

func NewApplicationVersionRepWithDefaults() *ApplicationVersionRep

NewApplicationVersionRepWithDefaults instantiates a new ApplicationVersionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationVersionRep) GetAccess ¶

func (o *ApplicationVersionRep) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*ApplicationVersionRep) GetAccessOk ¶

func (o *ApplicationVersionRep) GetAccessOk() (*Access, bool)

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

func (*ApplicationVersionRep) GetAutoAdded ¶

func (o *ApplicationVersionRep) GetAutoAdded() bool

GetAutoAdded returns the AutoAdded field value

func (*ApplicationVersionRep) GetAutoAddedOk ¶

func (o *ApplicationVersionRep) GetAutoAddedOk() (*bool, bool)

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

func (*ApplicationVersionRep) GetCreationDate ¶

func (o *ApplicationVersionRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*ApplicationVersionRep) GetCreationDateOk ¶

func (o *ApplicationVersionRep) GetCreationDateOk() (*int64, bool)

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

func (*ApplicationVersionRep) GetKey ¶

func (o *ApplicationVersionRep) GetKey() string

GetKey returns the Key field value

func (*ApplicationVersionRep) GetKeyOk ¶

func (o *ApplicationVersionRep) GetKeyOk() (*string, bool)

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

func (o *ApplicationVersionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ApplicationVersionRep) GetLinksOk ¶

func (o *ApplicationVersionRep) GetLinksOk() (*map[string]Link, bool)

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

func (*ApplicationVersionRep) GetName ¶

func (o *ApplicationVersionRep) GetName() string

GetName returns the Name field value

func (*ApplicationVersionRep) GetNameOk ¶

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

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

func (*ApplicationVersionRep) GetSupported ¶

func (o *ApplicationVersionRep) GetSupported() bool

GetSupported returns the Supported field value if set, zero value otherwise.

func (*ApplicationVersionRep) GetSupportedOk ¶

func (o *ApplicationVersionRep) GetSupportedOk() (*bool, bool)

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

func (*ApplicationVersionRep) GetVersion ¶

func (o *ApplicationVersionRep) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*ApplicationVersionRep) GetVersionOk ¶

func (o *ApplicationVersionRep) GetVersionOk() (*int32, bool)

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

func (*ApplicationVersionRep) HasAccess ¶

func (o *ApplicationVersionRep) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*ApplicationVersionRep) HasCreationDate ¶

func (o *ApplicationVersionRep) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (o *ApplicationVersionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ApplicationVersionRep) HasSupported ¶

func (o *ApplicationVersionRep) HasSupported() bool

HasSupported returns a boolean if a field has been set.

func (*ApplicationVersionRep) HasVersion ¶

func (o *ApplicationVersionRep) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ApplicationVersionRep) MarshalJSON ¶

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

func (*ApplicationVersionRep) SetAccess ¶

func (o *ApplicationVersionRep) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*ApplicationVersionRep) SetAutoAdded ¶

func (o *ApplicationVersionRep) SetAutoAdded(v bool)

SetAutoAdded sets field value

func (*ApplicationVersionRep) SetCreationDate ¶

func (o *ApplicationVersionRep) SetCreationDate(v int64)

SetCreationDate gets a reference to the given int64 and assigns it to the CreationDate field.

func (*ApplicationVersionRep) SetKey ¶

func (o *ApplicationVersionRep) SetKey(v string)

SetKey sets field value

func (o *ApplicationVersionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ApplicationVersionRep) SetName ¶

func (o *ApplicationVersionRep) SetName(v string)

SetName sets field value

func (*ApplicationVersionRep) SetSupported ¶

func (o *ApplicationVersionRep) SetSupported(v bool)

SetSupported gets a reference to the given bool and assigns it to the Supported field.

func (*ApplicationVersionRep) SetVersion ¶

func (o *ApplicationVersionRep) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type ApplicationVersionsCollectionRep ¶

type ApplicationVersionsCollectionRep struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// A list of the versions for this application
	Items []ApplicationVersionRep `json:"items,omitempty"`
	// The number of versions for this application
	TotalCount *int32 `json:"totalCount,omitempty"`
}

ApplicationVersionsCollectionRep struct for ApplicationVersionsCollectionRep

func NewApplicationVersionsCollectionRep ¶

func NewApplicationVersionsCollectionRep() *ApplicationVersionsCollectionRep

NewApplicationVersionsCollectionRep instantiates a new ApplicationVersionsCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationVersionsCollectionRepWithDefaults ¶

func NewApplicationVersionsCollectionRepWithDefaults() *ApplicationVersionsCollectionRep

NewApplicationVersionsCollectionRepWithDefaults instantiates a new ApplicationVersionsCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationVersionsCollectionRep) GetItems ¶

GetItems returns the Items field value if set, zero value otherwise.

func (*ApplicationVersionsCollectionRep) GetItemsOk ¶

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

func (o *ApplicationVersionsCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ApplicationVersionsCollectionRep) GetLinksOk ¶

func (o *ApplicationVersionsCollectionRep) GetLinksOk() (*map[string]Link, bool)

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

func (*ApplicationVersionsCollectionRep) GetTotalCount ¶

func (o *ApplicationVersionsCollectionRep) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*ApplicationVersionsCollectionRep) GetTotalCountOk ¶

func (o *ApplicationVersionsCollectionRep) GetTotalCountOk() (*int32, bool)

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

func (*ApplicationVersionsCollectionRep) HasItems ¶

func (o *ApplicationVersionsCollectionRep) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *ApplicationVersionsCollectionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ApplicationVersionsCollectionRep) HasTotalCount ¶

func (o *ApplicationVersionsCollectionRep) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (ApplicationVersionsCollectionRep) MarshalJSON ¶

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

func (*ApplicationVersionsCollectionRep) SetItems ¶

SetItems gets a reference to the given []ApplicationVersionRep and assigns it to the Items field.

func (o *ApplicationVersionsCollectionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ApplicationVersionsCollectionRep) SetTotalCount ¶

func (o *ApplicationVersionsCollectionRep) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type ApplicationsBetaApiService ¶

type ApplicationsBetaApiService service

ApplicationsBetaApiService ApplicationsBetaApi service

func (*ApplicationsBetaApiService) DeleteApplication ¶

func (a *ApplicationsBetaApiService) DeleteApplication(ctx context.Context, applicationKey string) ApiDeleteApplicationRequest

DeleteApplication Delete application

Delete an application.

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

func (*ApplicationsBetaApiService) DeleteApplicationExecute ¶

func (a *ApplicationsBetaApiService) DeleteApplicationExecute(r ApiDeleteApplicationRequest) (*http.Response, error)

Execute executes the request

func (*ApplicationsBetaApiService) DeleteApplicationVersion ¶

func (a *ApplicationsBetaApiService) DeleteApplicationVersion(ctx context.Context, applicationKey string, versionKey string) ApiDeleteApplicationVersionRequest

DeleteApplicationVersion Delete application version

Delete an application version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationKey The application key
@param versionKey The application version key
@return ApiDeleteApplicationVersionRequest

func (*ApplicationsBetaApiService) DeleteApplicationVersionExecute ¶

func (a *ApplicationsBetaApiService) DeleteApplicationVersionExecute(r ApiDeleteApplicationVersionRequest) (*http.Response, error)

Execute executes the request

func (*ApplicationsBetaApiService) GetApplication ¶

func (a *ApplicationsBetaApiService) GetApplication(ctx context.Context, applicationKey string) ApiGetApplicationRequest

GetApplication Get application by key

Retrieve an application by the application key.

### Expanding the application response

LaunchDarkly supports expanding the "Get application" response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `flags` includes details on the flags that have been evaluated by the application

For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.

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

func (*ApplicationsBetaApiService) GetApplicationExecute ¶

Execute executes the request

@return ApplicationRep

func (*ApplicationsBetaApiService) GetApplicationVersions ¶

func (a *ApplicationsBetaApiService) GetApplicationVersions(ctx context.Context, applicationKey string) ApiGetApplicationVersionsRequest

GetApplicationVersions Get application versions by application key

Get a list of versions for a specific application in an account.

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

func (*ApplicationsBetaApiService) GetApplicationVersionsExecute ¶

Execute executes the request

@return ApplicationVersionsCollectionRep

func (*ApplicationsBetaApiService) GetApplications ¶

GetApplications Get applications

Get a list of applications.

### Expanding the applications response

LaunchDarkly supports expanding the "Get applications" response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `flags` includes details on the flags that have been evaluated by the application

For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.

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

func (*ApplicationsBetaApiService) GetApplicationsExecute ¶

Execute executes the request

@return ApplicationCollectionRep

func (*ApplicationsBetaApiService) PatchApplication ¶

func (a *ApplicationsBetaApiService) PatchApplication(ctx context.Context, applicationKey string) ApiPatchApplicationRequest

PatchApplication Update application

Update an application. You can update the `description` and `kind` fields. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application. To learn more, read [Updates](/#section/Overview/Updates).

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

func (*ApplicationsBetaApiService) PatchApplicationExecute ¶

Execute executes the request

@return ApplicationRep

func (*ApplicationsBetaApiService) PatchApplicationVersion ¶

func (a *ApplicationsBetaApiService) PatchApplicationVersion(ctx context.Context, applicationKey string, versionKey string) ApiPatchApplicationVersionRequest

PatchApplicationVersion Update application version

Update an application version. You can update the `supported` field. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application version. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationKey The application key
@param versionKey The application version key
@return ApiPatchApplicationVersionRequest

func (*ApplicationsBetaApiService) PatchApplicationVersionExecute ¶

Execute executes the request

@return ApplicationVersionRep

type ApprovalRequestResponse ¶

type ApprovalRequestResponse struct {
	// The ID of this approval request
	Id string `json:"_id"`
	// Version of the approval request
	Version      int32  `json:"_version"`
	CreationDate int64  `json:"creationDate"`
	ServiceKind  string `json:"serviceKind"`
	// The ID of the member who requested the approval
	RequestorId *string `json:"requestorId,omitempty"`
	// A human-friendly name for the approval request
	Description *string `json:"description,omitempty"`
	// Current status of the review of this approval request
	ReviewStatus string `json:"reviewStatus"`
	// An array of individual reviews of this approval request
	AllReviews []ReviewResponse `json:"allReviews"`
	// An array of member IDs. These members are notified to review the approval request.
	NotifyMemberIds []string `json:"notifyMemberIds"`
	AppliedDate     *int64   `json:"appliedDate,omitempty"`
	// The member ID of the member who applied the approval request
	AppliedByMemberId *string `json:"appliedByMemberId,omitempty"`
	// The service token ID of the service token which applied the approval request
	AppliedByServiceTokenId *string `json:"appliedByServiceTokenId,omitempty"`
	// Current status of the approval request
	Status       string                   `json:"status"`
	Instructions []map[string]interface{} `json:"instructions"`
	// Details on any conflicting approval requests
	Conflicts []Conflict `json:"conflicts"`
	// The location and content type of related resources
	Links         map[string]interface{} `json:"_links"`
	ExecutionDate *int64                 `json:"executionDate,omitempty"`
	// ID of scheduled change to edit or delete
	OperatingOnId          *string              `json:"operatingOnId,omitempty"`
	IntegrationMetadata    *IntegrationMetadata `json:"integrationMetadata,omitempty"`
	Source                 *CopiedFromEnv       `json:"source,omitempty"`
	CustomWorkflowMetadata *CustomWorkflowMeta  `json:"customWorkflowMetadata,omitempty"`
	// String representation of a resource
	ResourceId       *string           `json:"resourceId,omitempty"`
	ApprovalSettings *ApprovalSettings `json:"approvalSettings,omitempty"`
}

ApprovalRequestResponse struct for ApprovalRequestResponse

func NewApprovalRequestResponse ¶

func NewApprovalRequestResponse(id string, version int32, creationDate int64, serviceKind string, reviewStatus string, allReviews []ReviewResponse, notifyMemberIds []string, status string, instructions []map[string]interface{}, conflicts []Conflict, links map[string]interface{}) *ApprovalRequestResponse

NewApprovalRequestResponse instantiates a new ApprovalRequestResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApprovalRequestResponseWithDefaults ¶

func NewApprovalRequestResponseWithDefaults() *ApprovalRequestResponse

NewApprovalRequestResponseWithDefaults instantiates a new ApprovalRequestResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApprovalRequestResponse) GetAllReviews ¶

func (o *ApprovalRequestResponse) GetAllReviews() []ReviewResponse

GetAllReviews returns the AllReviews field value

func (*ApprovalRequestResponse) GetAllReviewsOk ¶

func (o *ApprovalRequestResponse) GetAllReviewsOk() ([]ReviewResponse, bool)

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

func (*ApprovalRequestResponse) GetAppliedByMemberId ¶

func (o *ApprovalRequestResponse) GetAppliedByMemberId() string

GetAppliedByMemberId returns the AppliedByMemberId field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetAppliedByMemberIdOk ¶

func (o *ApprovalRequestResponse) GetAppliedByMemberIdOk() (*string, bool)

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

func (*ApprovalRequestResponse) GetAppliedByServiceTokenId ¶

func (o *ApprovalRequestResponse) GetAppliedByServiceTokenId() string

GetAppliedByServiceTokenId returns the AppliedByServiceTokenId field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetAppliedByServiceTokenIdOk ¶

func (o *ApprovalRequestResponse) GetAppliedByServiceTokenIdOk() (*string, bool)

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

func (*ApprovalRequestResponse) GetAppliedDate ¶

func (o *ApprovalRequestResponse) GetAppliedDate() int64

GetAppliedDate returns the AppliedDate field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetAppliedDateOk ¶

func (o *ApprovalRequestResponse) GetAppliedDateOk() (*int64, bool)

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

func (*ApprovalRequestResponse) GetApprovalSettings ¶

func (o *ApprovalRequestResponse) GetApprovalSettings() ApprovalSettings

GetApprovalSettings returns the ApprovalSettings field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetApprovalSettingsOk ¶

func (o *ApprovalRequestResponse) GetApprovalSettingsOk() (*ApprovalSettings, bool)

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

func (*ApprovalRequestResponse) GetConflicts ¶

func (o *ApprovalRequestResponse) GetConflicts() []Conflict

GetConflicts returns the Conflicts field value

func (*ApprovalRequestResponse) GetConflictsOk ¶

func (o *ApprovalRequestResponse) GetConflictsOk() ([]Conflict, bool)

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

func (*ApprovalRequestResponse) GetCreationDate ¶

func (o *ApprovalRequestResponse) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*ApprovalRequestResponse) GetCreationDateOk ¶

func (o *ApprovalRequestResponse) GetCreationDateOk() (*int64, bool)

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

func (*ApprovalRequestResponse) GetCustomWorkflowMetadata ¶

func (o *ApprovalRequestResponse) GetCustomWorkflowMetadata() CustomWorkflowMeta

GetCustomWorkflowMetadata returns the CustomWorkflowMetadata field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetCustomWorkflowMetadataOk ¶

func (o *ApprovalRequestResponse) GetCustomWorkflowMetadataOk() (*CustomWorkflowMeta, bool)

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

func (*ApprovalRequestResponse) GetDescription ¶

func (o *ApprovalRequestResponse) GetDescription() string

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

func (*ApprovalRequestResponse) GetDescriptionOk ¶

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

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

func (*ApprovalRequestResponse) GetExecutionDate ¶

func (o *ApprovalRequestResponse) GetExecutionDate() int64

GetExecutionDate returns the ExecutionDate field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetExecutionDateOk ¶

func (o *ApprovalRequestResponse) GetExecutionDateOk() (*int64, bool)

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

func (*ApprovalRequestResponse) GetId ¶

func (o *ApprovalRequestResponse) GetId() string

GetId returns the Id field value

func (*ApprovalRequestResponse) GetIdOk ¶

func (o *ApprovalRequestResponse) GetIdOk() (*string, bool)

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

func (*ApprovalRequestResponse) GetInstructions ¶

func (o *ApprovalRequestResponse) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*ApprovalRequestResponse) GetInstructionsOk ¶

func (o *ApprovalRequestResponse) GetInstructionsOk() ([]map[string]interface{}, bool)

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

func (*ApprovalRequestResponse) GetIntegrationMetadata ¶

func (o *ApprovalRequestResponse) GetIntegrationMetadata() IntegrationMetadata

GetIntegrationMetadata returns the IntegrationMetadata field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetIntegrationMetadataOk ¶

func (o *ApprovalRequestResponse) GetIntegrationMetadataOk() (*IntegrationMetadata, bool)

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

func (o *ApprovalRequestResponse) GetLinks() map[string]interface{}

GetLinks returns the Links field value

func (*ApprovalRequestResponse) GetLinksOk ¶

func (o *ApprovalRequestResponse) GetLinksOk() (map[string]interface{}, bool)

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

func (*ApprovalRequestResponse) GetNotifyMemberIds ¶

func (o *ApprovalRequestResponse) GetNotifyMemberIds() []string

GetNotifyMemberIds returns the NotifyMemberIds field value

func (*ApprovalRequestResponse) GetNotifyMemberIdsOk ¶

func (o *ApprovalRequestResponse) GetNotifyMemberIdsOk() ([]string, bool)

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

func (*ApprovalRequestResponse) GetOperatingOnId ¶

func (o *ApprovalRequestResponse) GetOperatingOnId() string

GetOperatingOnId returns the OperatingOnId field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetOperatingOnIdOk ¶

func (o *ApprovalRequestResponse) GetOperatingOnIdOk() (*string, bool)

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

func (*ApprovalRequestResponse) GetRequestorId ¶

func (o *ApprovalRequestResponse) GetRequestorId() string

GetRequestorId returns the RequestorId field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetRequestorIdOk ¶

func (o *ApprovalRequestResponse) GetRequestorIdOk() (*string, bool)

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

func (*ApprovalRequestResponse) GetResourceId ¶

func (o *ApprovalRequestResponse) GetResourceId() string

GetResourceId returns the ResourceId field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetResourceIdOk ¶

func (o *ApprovalRequestResponse) GetResourceIdOk() (*string, bool)

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

func (*ApprovalRequestResponse) GetReviewStatus ¶

func (o *ApprovalRequestResponse) GetReviewStatus() string

GetReviewStatus returns the ReviewStatus field value

func (*ApprovalRequestResponse) GetReviewStatusOk ¶

func (o *ApprovalRequestResponse) GetReviewStatusOk() (*string, bool)

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

func (*ApprovalRequestResponse) GetServiceKind ¶

func (o *ApprovalRequestResponse) GetServiceKind() string

GetServiceKind returns the ServiceKind field value

func (*ApprovalRequestResponse) GetServiceKindOk ¶

func (o *ApprovalRequestResponse) GetServiceKindOk() (*string, bool)

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

func (*ApprovalRequestResponse) GetSource ¶

func (o *ApprovalRequestResponse) GetSource() CopiedFromEnv

GetSource returns the Source field value if set, zero value otherwise.

func (*ApprovalRequestResponse) GetSourceOk ¶

func (o *ApprovalRequestResponse) GetSourceOk() (*CopiedFromEnv, bool)

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

func (*ApprovalRequestResponse) GetStatus ¶

func (o *ApprovalRequestResponse) GetStatus() string

GetStatus returns the Status field value

func (*ApprovalRequestResponse) GetStatusOk ¶

func (o *ApprovalRequestResponse) GetStatusOk() (*string, bool)

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

func (*ApprovalRequestResponse) GetVersion ¶

func (o *ApprovalRequestResponse) GetVersion() int32

GetVersion returns the Version field value

func (*ApprovalRequestResponse) GetVersionOk ¶

func (o *ApprovalRequestResponse) GetVersionOk() (*int32, bool)

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

func (*ApprovalRequestResponse) HasAppliedByMemberId ¶

func (o *ApprovalRequestResponse) HasAppliedByMemberId() bool

HasAppliedByMemberId returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasAppliedByServiceTokenId ¶

func (o *ApprovalRequestResponse) HasAppliedByServiceTokenId() bool

HasAppliedByServiceTokenId returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasAppliedDate ¶

func (o *ApprovalRequestResponse) HasAppliedDate() bool

HasAppliedDate returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasApprovalSettings ¶

func (o *ApprovalRequestResponse) HasApprovalSettings() bool

HasApprovalSettings returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasCustomWorkflowMetadata ¶

func (o *ApprovalRequestResponse) HasCustomWorkflowMetadata() bool

HasCustomWorkflowMetadata returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasDescription ¶

func (o *ApprovalRequestResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasExecutionDate ¶

func (o *ApprovalRequestResponse) HasExecutionDate() bool

HasExecutionDate returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasIntegrationMetadata ¶

func (o *ApprovalRequestResponse) HasIntegrationMetadata() bool

HasIntegrationMetadata returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasOperatingOnId ¶

func (o *ApprovalRequestResponse) HasOperatingOnId() bool

HasOperatingOnId returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasRequestorId ¶

func (o *ApprovalRequestResponse) HasRequestorId() bool

HasRequestorId returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasResourceId ¶

func (o *ApprovalRequestResponse) HasResourceId() bool

HasResourceId returns a boolean if a field has been set.

func (*ApprovalRequestResponse) HasSource ¶

func (o *ApprovalRequestResponse) HasSource() bool

HasSource returns a boolean if a field has been set.

func (ApprovalRequestResponse) MarshalJSON ¶

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

func (*ApprovalRequestResponse) SetAllReviews ¶

func (o *ApprovalRequestResponse) SetAllReviews(v []ReviewResponse)

SetAllReviews sets field value

func (*ApprovalRequestResponse) SetAppliedByMemberId ¶

func (o *ApprovalRequestResponse) SetAppliedByMemberId(v string)

SetAppliedByMemberId gets a reference to the given string and assigns it to the AppliedByMemberId field.

func (*ApprovalRequestResponse) SetAppliedByServiceTokenId ¶

func (o *ApprovalRequestResponse) SetAppliedByServiceTokenId(v string)

SetAppliedByServiceTokenId gets a reference to the given string and assigns it to the AppliedByServiceTokenId field.

func (*ApprovalRequestResponse) SetAppliedDate ¶

func (o *ApprovalRequestResponse) SetAppliedDate(v int64)

SetAppliedDate gets a reference to the given int64 and assigns it to the AppliedDate field.

func (*ApprovalRequestResponse) SetApprovalSettings ¶

func (o *ApprovalRequestResponse) SetApprovalSettings(v ApprovalSettings)

SetApprovalSettings gets a reference to the given ApprovalSettings and assigns it to the ApprovalSettings field.

func (*ApprovalRequestResponse) SetConflicts ¶

func (o *ApprovalRequestResponse) SetConflicts(v []Conflict)

SetConflicts sets field value

func (*ApprovalRequestResponse) SetCreationDate ¶

func (o *ApprovalRequestResponse) SetCreationDate(v int64)

SetCreationDate sets field value

func (*ApprovalRequestResponse) SetCustomWorkflowMetadata ¶

func (o *ApprovalRequestResponse) SetCustomWorkflowMetadata(v CustomWorkflowMeta)

SetCustomWorkflowMetadata gets a reference to the given CustomWorkflowMeta and assigns it to the CustomWorkflowMetadata field.

func (*ApprovalRequestResponse) SetDescription ¶

func (o *ApprovalRequestResponse) SetDescription(v string)

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

func (*ApprovalRequestResponse) SetExecutionDate ¶

func (o *ApprovalRequestResponse) SetExecutionDate(v int64)

SetExecutionDate gets a reference to the given int64 and assigns it to the ExecutionDate field.

func (*ApprovalRequestResponse) SetId ¶

func (o *ApprovalRequestResponse) SetId(v string)

SetId sets field value

func (*ApprovalRequestResponse) SetInstructions ¶

func (o *ApprovalRequestResponse) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

func (*ApprovalRequestResponse) SetIntegrationMetadata ¶

func (o *ApprovalRequestResponse) SetIntegrationMetadata(v IntegrationMetadata)

SetIntegrationMetadata gets a reference to the given IntegrationMetadata and assigns it to the IntegrationMetadata field.

func (o *ApprovalRequestResponse) SetLinks(v map[string]interface{})

SetLinks sets field value

func (*ApprovalRequestResponse) SetNotifyMemberIds ¶

func (o *ApprovalRequestResponse) SetNotifyMemberIds(v []string)

SetNotifyMemberIds sets field value

func (*ApprovalRequestResponse) SetOperatingOnId ¶

func (o *ApprovalRequestResponse) SetOperatingOnId(v string)

SetOperatingOnId gets a reference to the given string and assigns it to the OperatingOnId field.

func (*ApprovalRequestResponse) SetRequestorId ¶

func (o *ApprovalRequestResponse) SetRequestorId(v string)

SetRequestorId gets a reference to the given string and assigns it to the RequestorId field.

func (*ApprovalRequestResponse) SetResourceId ¶

func (o *ApprovalRequestResponse) SetResourceId(v string)

SetResourceId gets a reference to the given string and assigns it to the ResourceId field.

func (*ApprovalRequestResponse) SetReviewStatus ¶

func (o *ApprovalRequestResponse) SetReviewStatus(v string)

SetReviewStatus sets field value

func (*ApprovalRequestResponse) SetServiceKind ¶

func (o *ApprovalRequestResponse) SetServiceKind(v string)

SetServiceKind sets field value

func (*ApprovalRequestResponse) SetSource ¶

func (o *ApprovalRequestResponse) SetSource(v CopiedFromEnv)

SetSource gets a reference to the given CopiedFromEnv and assigns it to the Source field.

func (*ApprovalRequestResponse) SetStatus ¶

func (o *ApprovalRequestResponse) SetStatus(v string)

SetStatus sets field value

func (*ApprovalRequestResponse) SetVersion ¶

func (o *ApprovalRequestResponse) SetVersion(v int32)

SetVersion sets field value

type ApprovalSettings ¶

type ApprovalSettings struct {
	// If approvals are required for this environment
	Required bool `json:"required"`
	// Whether to skip approvals for pending changes
	BypassApprovalsForPendingChanges bool `json:"bypassApprovalsForPendingChanges"`
	// Sets the amount of approvals required before a member can apply a change. The minimum is one and the maximum is five.
	MinNumApprovals int32 `json:"minNumApprovals"`
	// Allow someone who makes an approval request to apply their own change
	CanReviewOwnRequest bool `json:"canReviewOwnRequest"`
	// Allow applying the change as long as at least one person has approved
	CanApplyDeclinedChanges bool `json:"canApplyDeclinedChanges"`
	// Which service to use for managing approvals
	ServiceKind   string                 `json:"serviceKind"`
	ServiceConfig map[string]interface{} `json:"serviceConfig"`
	// Require approval only on flags with the provided tags. Otherwise all flags will require approval.
	RequiredApprovalTags []string `json:"requiredApprovalTags"`
}

ApprovalSettings struct for ApprovalSettings

func NewApprovalSettings ¶

func NewApprovalSettings(required bool, bypassApprovalsForPendingChanges bool, minNumApprovals int32, canReviewOwnRequest bool, canApplyDeclinedChanges bool, serviceKind string, serviceConfig map[string]interface{}, requiredApprovalTags []string) *ApprovalSettings

NewApprovalSettings instantiates a new ApprovalSettings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApprovalSettingsWithDefaults ¶

func NewApprovalSettingsWithDefaults() *ApprovalSettings

NewApprovalSettingsWithDefaults instantiates a new ApprovalSettings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApprovalSettings) GetBypassApprovalsForPendingChanges ¶

func (o *ApprovalSettings) GetBypassApprovalsForPendingChanges() bool

GetBypassApprovalsForPendingChanges returns the BypassApprovalsForPendingChanges field value

func (*ApprovalSettings) GetBypassApprovalsForPendingChangesOk ¶

func (o *ApprovalSettings) GetBypassApprovalsForPendingChangesOk() (*bool, bool)

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

func (*ApprovalSettings) GetCanApplyDeclinedChanges ¶

func (o *ApprovalSettings) GetCanApplyDeclinedChanges() bool

GetCanApplyDeclinedChanges returns the CanApplyDeclinedChanges field value

func (*ApprovalSettings) GetCanApplyDeclinedChangesOk ¶

func (o *ApprovalSettings) GetCanApplyDeclinedChangesOk() (*bool, bool)

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

func (*ApprovalSettings) GetCanReviewOwnRequest ¶

func (o *ApprovalSettings) GetCanReviewOwnRequest() bool

GetCanReviewOwnRequest returns the CanReviewOwnRequest field value

func (*ApprovalSettings) GetCanReviewOwnRequestOk ¶

func (o *ApprovalSettings) GetCanReviewOwnRequestOk() (*bool, bool)

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

func (*ApprovalSettings) GetMinNumApprovals ¶

func (o *ApprovalSettings) GetMinNumApprovals() int32

GetMinNumApprovals returns the MinNumApprovals field value

func (*ApprovalSettings) GetMinNumApprovalsOk ¶

func (o *ApprovalSettings) GetMinNumApprovalsOk() (*int32, bool)

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

func (*ApprovalSettings) GetRequired ¶

func (o *ApprovalSettings) GetRequired() bool

GetRequired returns the Required field value

func (*ApprovalSettings) GetRequiredApprovalTags ¶

func (o *ApprovalSettings) GetRequiredApprovalTags() []string

GetRequiredApprovalTags returns the RequiredApprovalTags field value

func (*ApprovalSettings) GetRequiredApprovalTagsOk ¶

func (o *ApprovalSettings) GetRequiredApprovalTagsOk() ([]string, bool)

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

func (*ApprovalSettings) GetRequiredOk ¶

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

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

func (*ApprovalSettings) GetServiceConfig ¶

func (o *ApprovalSettings) GetServiceConfig() map[string]interface{}

GetServiceConfig returns the ServiceConfig field value

func (*ApprovalSettings) GetServiceConfigOk ¶

func (o *ApprovalSettings) GetServiceConfigOk() (map[string]interface{}, bool)

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

func (*ApprovalSettings) GetServiceKind ¶

func (o *ApprovalSettings) GetServiceKind() string

GetServiceKind returns the ServiceKind field value

func (*ApprovalSettings) GetServiceKindOk ¶

func (o *ApprovalSettings) GetServiceKindOk() (*string, bool)

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

func (ApprovalSettings) MarshalJSON ¶

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

func (*ApprovalSettings) SetBypassApprovalsForPendingChanges ¶

func (o *ApprovalSettings) SetBypassApprovalsForPendingChanges(v bool)

SetBypassApprovalsForPendingChanges sets field value

func (*ApprovalSettings) SetCanApplyDeclinedChanges ¶

func (o *ApprovalSettings) SetCanApplyDeclinedChanges(v bool)

SetCanApplyDeclinedChanges sets field value

func (*ApprovalSettings) SetCanReviewOwnRequest ¶

func (o *ApprovalSettings) SetCanReviewOwnRequest(v bool)

SetCanReviewOwnRequest sets field value

func (*ApprovalSettings) SetMinNumApprovals ¶

func (o *ApprovalSettings) SetMinNumApprovals(v int32)

SetMinNumApprovals sets field value

func (*ApprovalSettings) SetRequired ¶

func (o *ApprovalSettings) SetRequired(v bool)

SetRequired sets field value

func (*ApprovalSettings) SetRequiredApprovalTags ¶

func (o *ApprovalSettings) SetRequiredApprovalTags(v []string)

SetRequiredApprovalTags sets field value

func (*ApprovalSettings) SetServiceConfig ¶

func (o *ApprovalSettings) SetServiceConfig(v map[string]interface{})

SetServiceConfig sets field value

func (*ApprovalSettings) SetServiceKind ¶

func (o *ApprovalSettings) SetServiceKind(v string)

SetServiceKind sets field value

type ApprovalsApiService ¶

type ApprovalsApiService service

ApprovalsApiService ApprovalsApi service

func (*ApprovalsApiService) DeleteApprovalRequest ¶

func (a *ApprovalsApiService) DeleteApprovalRequest(ctx context.Context, id string) ApiDeleteApprovalRequestRequest

DeleteApprovalRequest Delete approval request

Delete an approval request.

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

func (*ApprovalsApiService) DeleteApprovalRequestExecute ¶

func (a *ApprovalsApiService) DeleteApprovalRequestExecute(r ApiDeleteApprovalRequestRequest) (*http.Response, error)

Execute executes the request

func (*ApprovalsApiService) DeleteApprovalRequestForFlag ¶

func (a *ApprovalsApiService) DeleteApprovalRequestForFlag(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, id string) ApiDeleteApprovalRequestForFlagRequest

DeleteApprovalRequestForFlag Delete approval request for a flag

Delete an approval request for a feature flag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param id The feature flag approval request ID
@return ApiDeleteApprovalRequestForFlagRequest

func (*ApprovalsApiService) DeleteApprovalRequestForFlagExecute ¶

func (a *ApprovalsApiService) DeleteApprovalRequestForFlagExecute(r ApiDeleteApprovalRequestForFlagRequest) (*http.Response, error)

Execute executes the request

func (*ApprovalsApiService) GetApprovalForFlag ¶

func (a *ApprovalsApiService) GetApprovalForFlag(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, id string) ApiGetApprovalForFlagRequest

GetApprovalForFlag Get approval request for a flag

Get a single approval request for a feature flag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param id The feature flag approval request ID
@return ApiGetApprovalForFlagRequest

func (*ApprovalsApiService) GetApprovalForFlagExecute ¶

Execute executes the request

@return FlagConfigApprovalRequestResponse

func (*ApprovalsApiService) GetApprovalRequest ¶

GetApprovalRequest Get approval request

Get an approval request by approval request ID.

### Expanding approval response

LaunchDarkly supports the `expand` query param to include additional fields in the response, with the following fields:

- `flag` includes the flag the approval request belongs to - `project` includes the project the approval request belongs to - `environments` includes the environments the approval request relates to

For example, `expand=project,flag` includes the `project` and `flag` fields in the response.

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

func (*ApprovalsApiService) GetApprovalRequestExecute ¶

Execute executes the request

@return ExpandableApprovalRequestResponse

func (*ApprovalsApiService) GetApprovalRequests ¶

GetApprovalRequests List approval requests

Get all approval requests.

### Filtering approvals

LaunchDarkly supports the `filter` query param for filtering, with the following fields:

- `notifyMemberIds` filters for only approvals that are assigned to a member in the specified list. For example: `filter=notifyMemberIds anyOf ["memberId1", "memberId2"]`. - `requestorId` filters for only approvals that correspond to the ID of the member who requested the approval. For example: `filter=requestorId equals 457034721476302714390214`. - `resourceId` filters for only approvals that correspond to the the specified resource identifier. For example: `filter=resourceId equals proj/my-project:env/my-environment:flag/my-flag`. - `reviewStatus` filters for only approvals which correspond to the review status in the specified list. The possible values are `approved`, `declined`, and `pending`. For example: `filter=reviewStatus anyOf ["pending", "approved"]`. - `status` filters for only approvals which correspond to the status in the specified list. The possible values are `pending`, `scheduled`, `failed`, and `completed`. For example: `filter=status anyOf ["pending", "scheduled"]`.

You can also apply multiple filters at once. For example, setting `filter=projectKey equals my-project, reviewStatus anyOf ["pending","approved"]` matches approval requests which correspond to the `my-project` project key, and a review status of either `pending` or `approved`.

### Expanding approval response

LaunchDarkly supports the `expand` query param to include additional fields in the response, with the following fields:

- `flag` includes the flag the approval request belongs to - `project` includes the project the approval request belongs to - `environments` includes the environments the approval request relates to

For example, `expand=project,flag` includes the `project` and `flag` fields in the response.

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

func (*ApprovalsApiService) GetApprovalRequestsExecute ¶

Execute executes the request

@return ExpandableApprovalRequestsResponse

func (*ApprovalsApiService) GetApprovalsForFlag ¶

func (a *ApprovalsApiService) GetApprovalsForFlag(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string) ApiGetApprovalsForFlagRequest

GetApprovalsForFlag List approval requests for a flag

Get all approval requests for a feature flag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@return ApiGetApprovalsForFlagRequest

func (*ApprovalsApiService) GetApprovalsForFlagExecute ¶

Execute executes the request

@return FlagConfigApprovalRequestsResponse

func (*ApprovalsApiService) PostApprovalRequest ¶

PostApprovalRequest Create approval request

Create an approval request.

This endpoint currently supports creating an approval request for a flag across all environments with the following instructions:

- `addVariation` - `removeVariation` - `updateVariation` - `updateDefaultVariation`

For details on using these instructions, read [Update feature flag](/tag/Feature-flags#operation/patchFeatureFlag).

To create an approval for a flag specific to an environment, use [Create approval request for a flag](/tag/Approvals#operation/postApprovalRequestForFlag).

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

func (*ApprovalsApiService) PostApprovalRequestApply ¶

func (a *ApprovalsApiService) PostApprovalRequestApply(ctx context.Context, id string) ApiPostApprovalRequestApplyRequest

PostApprovalRequestApply Apply approval request

Apply an approval request that has been approved.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The feature flag approval request ID
@return ApiPostApprovalRequestApplyRequest

func (*ApprovalsApiService) PostApprovalRequestApplyExecute ¶

Execute executes the request

@return ApprovalRequestResponse

func (*ApprovalsApiService) PostApprovalRequestApplyForFlag ¶

func (a *ApprovalsApiService) PostApprovalRequestApplyForFlag(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, id string) ApiPostApprovalRequestApplyForFlagRequest

PostApprovalRequestApplyForFlag Apply approval request for a flag

Apply an approval request that has been approved.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param id The feature flag approval request ID
@return ApiPostApprovalRequestApplyForFlagRequest

func (*ApprovalsApiService) PostApprovalRequestApplyForFlagExecute ¶

Execute executes the request

@return FlagConfigApprovalRequestResponse

func (*ApprovalsApiService) PostApprovalRequestExecute ¶

Execute executes the request

@return ApprovalRequestResponse

func (*ApprovalsApiService) PostApprovalRequestForFlag ¶

func (a *ApprovalsApiService) PostApprovalRequestForFlag(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string) ApiPostApprovalRequestForFlagRequest

PostApprovalRequestForFlag Create approval request for a flag

Create an approval request for a feature flag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@return ApiPostApprovalRequestForFlagRequest

func (*ApprovalsApiService) PostApprovalRequestForFlagExecute ¶

Execute executes the request

@return FlagConfigApprovalRequestResponse

func (*ApprovalsApiService) PostApprovalRequestReview ¶

func (a *ApprovalsApiService) PostApprovalRequestReview(ctx context.Context, id string) ApiPostApprovalRequestReviewRequest

PostApprovalRequestReview Review approval request

Review an approval request by approving or denying changes.

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

func (*ApprovalsApiService) PostApprovalRequestReviewExecute ¶

Execute executes the request

@return ApprovalRequestResponse

func (*ApprovalsApiService) PostApprovalRequestReviewForFlag ¶

func (a *ApprovalsApiService) PostApprovalRequestReviewForFlag(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, id string) ApiPostApprovalRequestReviewForFlagRequest

PostApprovalRequestReviewForFlag Review approval request for a flag

Review an approval request by approving or denying changes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param id The feature flag approval request ID
@return ApiPostApprovalRequestReviewForFlagRequest

func (*ApprovalsApiService) PostApprovalRequestReviewForFlagExecute ¶

Execute executes the request

@return FlagConfigApprovalRequestResponse

func (*ApprovalsApiService) PostFlagCopyConfigApprovalRequest ¶

func (a *ApprovalsApiService) PostFlagCopyConfigApprovalRequest(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string) ApiPostFlagCopyConfigApprovalRequestRequest

PostFlagCopyConfigApprovalRequest Create approval request to copy flag configurations across environments

Create an approval request to copy a feature flag's configuration across environments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key for the target environment
@return ApiPostFlagCopyConfigApprovalRequestRequest

func (*ApprovalsApiService) PostFlagCopyConfigApprovalRequestExecute ¶

Execute executes the request

@return FlagConfigApprovalRequestResponse

type Audience ¶

type Audience struct {
	Environment EnvironmentSummary `json:"environment"`
	// The release phase name
	Name string `json:"name"`
}

Audience struct for Audience

func NewAudience ¶

func NewAudience(environment EnvironmentSummary, name string) *Audience

NewAudience instantiates a new Audience object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAudienceWithDefaults ¶

func NewAudienceWithDefaults() *Audience

NewAudienceWithDefaults instantiates a new Audience object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Audience) GetEnvironment ¶

func (o *Audience) GetEnvironment() EnvironmentSummary

GetEnvironment returns the Environment field value

func (*Audience) GetEnvironmentOk ¶

func (o *Audience) GetEnvironmentOk() (*EnvironmentSummary, bool)

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

func (*Audience) GetName ¶

func (o *Audience) GetName() string

GetName returns the Name field value

func (*Audience) GetNameOk ¶

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

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

func (Audience) MarshalJSON ¶

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

func (*Audience) SetEnvironment ¶

func (o *Audience) SetEnvironment(v EnvironmentSummary)

SetEnvironment sets field value

func (*Audience) SetName ¶

func (o *Audience) SetName(v string)

SetName sets field value

type AudiencePost ¶

type AudiencePost struct {
	// A project-unique key for the environment.
	EnvironmentKey string `json:"environmentKey"`
	// The audience name
	Name string `json:"name"`
}

AudiencePost struct for AudiencePost

func NewAudiencePost ¶

func NewAudiencePost(environmentKey string, name string) *AudiencePost

NewAudiencePost instantiates a new AudiencePost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAudiencePostWithDefaults ¶

func NewAudiencePostWithDefaults() *AudiencePost

NewAudiencePostWithDefaults instantiates a new AudiencePost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AudiencePost) GetEnvironmentKey ¶

func (o *AudiencePost) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value

func (*AudiencePost) GetEnvironmentKeyOk ¶

func (o *AudiencePost) GetEnvironmentKeyOk() (*string, bool)

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

func (*AudiencePost) GetName ¶

func (o *AudiencePost) GetName() string

GetName returns the Name field value

func (*AudiencePost) GetNameOk ¶

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

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

func (AudiencePost) MarshalJSON ¶

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

func (*AudiencePost) SetEnvironmentKey ¶

func (o *AudiencePost) SetEnvironmentKey(v string)

SetEnvironmentKey sets field value

func (*AudiencePost) SetName ¶

func (o *AudiencePost) SetName(v string)

SetName sets field value

type AuditLogApiService ¶

type AuditLogApiService service

AuditLogApiService AuditLogApi service

func (*AuditLogApiService) GetAuditLogEntries ¶

GetAuditLogEntries List audit log entries

Get a list of all audit log entries. The query parameters let you restrict the results that return by date ranges, resource specifiers, or a full-text search query.

LaunchDarkly uses a resource specifier syntax to name resources or collections of resources. To learn more, read [Understanding the resource specifier syntax](https://docs.launchdarkly.com/home/members/role-resources#understanding-the-resource-specifier-syntax).

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

func (*AuditLogApiService) GetAuditLogEntriesExecute ¶

Execute executes the request

@return AuditLogEntryListingRepCollection

func (*AuditLogApiService) GetAuditLogEntry ¶

GetAuditLogEntry Get audit log entry

Fetch a detailed audit log entry representation. The detailed representation includes several fields that are not present in the summary representation, including:

- `delta`: the JSON patch body that was used in the request to update the entity - `previousVersion`: a JSON representation of the previous version of the entity - `currentVersion`: a JSON representation of the current version of the entity

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the audit log entry
@return ApiGetAuditLogEntryRequest

func (*AuditLogApiService) GetAuditLogEntryExecute ¶

Execute executes the request

@return AuditLogEntryRep

type AuditLogEntryListingRep ¶

type AuditLogEntryListingRep struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The ID of the audit log entry
	Id string `json:"_id"`
	// The ID of the account to which this audit log entry belongs
	AccountId string `json:"_accountId"`
	Date      int64  `json:"date"`
	// Details on the actions performed and resources acted on in this audit log entry
	Accesses []ResourceAccess `json:"accesses"`
	Kind     string           `json:"kind"`
	// The name of the resource this audit log entry refers to
	Name string `json:"name"`
	// Description of the change recorded in the audit log entry
	Description string `json:"description"`
	// Shorter version of the change recorded in the audit log entry
	ShortDescription string `json:"shortDescription"`
	// Optional comment for the audit log entry
	Comment *string               `json:"comment,omitempty"`
	Subject *SubjectDataRep       `json:"subject,omitempty"`
	Member  *MemberDataRep        `json:"member,omitempty"`
	Token   *TokenSummary         `json:"token,omitempty"`
	App     *AuthorizedAppDataRep `json:"app,omitempty"`
	// The action and resource recorded in this audit log entry
	TitleVerb *string `json:"titleVerb,omitempty"`
	// A description of what occurred, in the format <code>member</code> <code>titleVerb</code> <code>target</code>
	Title  *string            `json:"title,omitempty"`
	Target *TargetResourceRep `json:"target,omitempty"`
	Parent *ParentResourceRep `json:"parent,omitempty"`
}

AuditLogEntryListingRep struct for AuditLogEntryListingRep

func NewAuditLogEntryListingRep ¶

func NewAuditLogEntryListingRep(links map[string]Link, id string, accountId string, date int64, accesses []ResourceAccess, kind string, name string, description string, shortDescription string) *AuditLogEntryListingRep

NewAuditLogEntryListingRep instantiates a new AuditLogEntryListingRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuditLogEntryListingRepWithDefaults ¶

func NewAuditLogEntryListingRepWithDefaults() *AuditLogEntryListingRep

NewAuditLogEntryListingRepWithDefaults instantiates a new AuditLogEntryListingRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuditLogEntryListingRep) GetAccesses ¶

func (o *AuditLogEntryListingRep) GetAccesses() []ResourceAccess

GetAccesses returns the Accesses field value

func (*AuditLogEntryListingRep) GetAccessesOk ¶

func (o *AuditLogEntryListingRep) GetAccessesOk() ([]ResourceAccess, bool)

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

func (*AuditLogEntryListingRep) GetAccountId ¶

func (o *AuditLogEntryListingRep) GetAccountId() string

GetAccountId returns the AccountId field value

func (*AuditLogEntryListingRep) GetAccountIdOk ¶

func (o *AuditLogEntryListingRep) GetAccountIdOk() (*string, bool)

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

func (*AuditLogEntryListingRep) GetApp ¶

GetApp returns the App field value if set, zero value otherwise.

func (*AuditLogEntryListingRep) GetAppOk ¶

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

func (*AuditLogEntryListingRep) GetComment ¶

func (o *AuditLogEntryListingRep) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*AuditLogEntryListingRep) GetCommentOk ¶

func (o *AuditLogEntryListingRep) GetCommentOk() (*string, bool)

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

func (*AuditLogEntryListingRep) GetDate ¶

func (o *AuditLogEntryListingRep) GetDate() int64

GetDate returns the Date field value

func (*AuditLogEntryListingRep) GetDateOk ¶

func (o *AuditLogEntryListingRep) GetDateOk() (*int64, bool)

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

func (*AuditLogEntryListingRep) GetDescription ¶

func (o *AuditLogEntryListingRep) GetDescription() string

GetDescription returns the Description field value

func (*AuditLogEntryListingRep) GetDescriptionOk ¶

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

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

func (*AuditLogEntryListingRep) GetId ¶

func (o *AuditLogEntryListingRep) GetId() string

GetId returns the Id field value

func (*AuditLogEntryListingRep) GetIdOk ¶

func (o *AuditLogEntryListingRep) GetIdOk() (*string, bool)

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

func (*AuditLogEntryListingRep) GetKind ¶

func (o *AuditLogEntryListingRep) GetKind() string

GetKind returns the Kind field value

func (*AuditLogEntryListingRep) GetKindOk ¶

func (o *AuditLogEntryListingRep) GetKindOk() (*string, bool)

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

func (o *AuditLogEntryListingRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*AuditLogEntryListingRep) GetLinksOk ¶

func (o *AuditLogEntryListingRep) GetLinksOk() (*map[string]Link, bool)

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

func (*AuditLogEntryListingRep) GetMember ¶

func (o *AuditLogEntryListingRep) GetMember() MemberDataRep

GetMember returns the Member field value if set, zero value otherwise.

func (*AuditLogEntryListingRep) GetMemberOk ¶

func (o *AuditLogEntryListingRep) GetMemberOk() (*MemberDataRep, bool)

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

func (*AuditLogEntryListingRep) GetName ¶

func (o *AuditLogEntryListingRep) GetName() string

GetName returns the Name field value

func (*AuditLogEntryListingRep) GetNameOk ¶

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

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

func (*AuditLogEntryListingRep) GetParent ¶

GetParent returns the Parent field value if set, zero value otherwise.

func (*AuditLogEntryListingRep) GetParentOk ¶

func (o *AuditLogEntryListingRep) GetParentOk() (*ParentResourceRep, bool)

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

func (*AuditLogEntryListingRep) GetShortDescription ¶

func (o *AuditLogEntryListingRep) GetShortDescription() string

GetShortDescription returns the ShortDescription field value

func (*AuditLogEntryListingRep) GetShortDescriptionOk ¶

func (o *AuditLogEntryListingRep) GetShortDescriptionOk() (*string, bool)

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

func (*AuditLogEntryListingRep) GetSubject ¶

func (o *AuditLogEntryListingRep) GetSubject() SubjectDataRep

GetSubject returns the Subject field value if set, zero value otherwise.

func (*AuditLogEntryListingRep) GetSubjectOk ¶

func (o *AuditLogEntryListingRep) GetSubjectOk() (*SubjectDataRep, bool)

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

func (*AuditLogEntryListingRep) GetTarget ¶

GetTarget returns the Target field value if set, zero value otherwise.

func (*AuditLogEntryListingRep) GetTargetOk ¶

func (o *AuditLogEntryListingRep) GetTargetOk() (*TargetResourceRep, bool)

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

func (*AuditLogEntryListingRep) GetTitle ¶

func (o *AuditLogEntryListingRep) GetTitle() string

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

func (*AuditLogEntryListingRep) GetTitleOk ¶

func (o *AuditLogEntryListingRep) GetTitleOk() (*string, bool)

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

func (*AuditLogEntryListingRep) GetTitleVerb ¶

func (o *AuditLogEntryListingRep) GetTitleVerb() string

GetTitleVerb returns the TitleVerb field value if set, zero value otherwise.

func (*AuditLogEntryListingRep) GetTitleVerbOk ¶

func (o *AuditLogEntryListingRep) GetTitleVerbOk() (*string, bool)

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

func (*AuditLogEntryListingRep) GetToken ¶

func (o *AuditLogEntryListingRep) GetToken() TokenSummary

GetToken returns the Token field value if set, zero value otherwise.

func (*AuditLogEntryListingRep) GetTokenOk ¶

func (o *AuditLogEntryListingRep) GetTokenOk() (*TokenSummary, bool)

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

func (*AuditLogEntryListingRep) HasApp ¶

func (o *AuditLogEntryListingRep) HasApp() bool

HasApp returns a boolean if a field has been set.

func (*AuditLogEntryListingRep) HasComment ¶

func (o *AuditLogEntryListingRep) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*AuditLogEntryListingRep) HasMember ¶

func (o *AuditLogEntryListingRep) HasMember() bool

HasMember returns a boolean if a field has been set.

func (*AuditLogEntryListingRep) HasParent ¶

func (o *AuditLogEntryListingRep) HasParent() bool

HasParent returns a boolean if a field has been set.

func (*AuditLogEntryListingRep) HasSubject ¶

func (o *AuditLogEntryListingRep) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*AuditLogEntryListingRep) HasTarget ¶

func (o *AuditLogEntryListingRep) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*AuditLogEntryListingRep) HasTitle ¶

func (o *AuditLogEntryListingRep) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*AuditLogEntryListingRep) HasTitleVerb ¶

func (o *AuditLogEntryListingRep) HasTitleVerb() bool

HasTitleVerb returns a boolean if a field has been set.

func (*AuditLogEntryListingRep) HasToken ¶

func (o *AuditLogEntryListingRep) HasToken() bool

HasToken returns a boolean if a field has been set.

func (AuditLogEntryListingRep) MarshalJSON ¶

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

func (*AuditLogEntryListingRep) SetAccesses ¶

func (o *AuditLogEntryListingRep) SetAccesses(v []ResourceAccess)

SetAccesses sets field value

func (*AuditLogEntryListingRep) SetAccountId ¶

func (o *AuditLogEntryListingRep) SetAccountId(v string)

SetAccountId sets field value

func (*AuditLogEntryListingRep) SetApp ¶

SetApp gets a reference to the given AuthorizedAppDataRep and assigns it to the App field.

func (*AuditLogEntryListingRep) SetComment ¶

func (o *AuditLogEntryListingRep) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*AuditLogEntryListingRep) SetDate ¶

func (o *AuditLogEntryListingRep) SetDate(v int64)

SetDate sets field value

func (*AuditLogEntryListingRep) SetDescription ¶

func (o *AuditLogEntryListingRep) SetDescription(v string)

SetDescription sets field value

func (*AuditLogEntryListingRep) SetId ¶

func (o *AuditLogEntryListingRep) SetId(v string)

SetId sets field value

func (*AuditLogEntryListingRep) SetKind ¶

func (o *AuditLogEntryListingRep) SetKind(v string)

SetKind sets field value

func (o *AuditLogEntryListingRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*AuditLogEntryListingRep) SetMember ¶

func (o *AuditLogEntryListingRep) SetMember(v MemberDataRep)

SetMember gets a reference to the given MemberDataRep and assigns it to the Member field.

func (*AuditLogEntryListingRep) SetName ¶

func (o *AuditLogEntryListingRep) SetName(v string)

SetName sets field value

func (*AuditLogEntryListingRep) SetParent ¶

SetParent gets a reference to the given ParentResourceRep and assigns it to the Parent field.

func (*AuditLogEntryListingRep) SetShortDescription ¶

func (o *AuditLogEntryListingRep) SetShortDescription(v string)

SetShortDescription sets field value

func (*AuditLogEntryListingRep) SetSubject ¶

func (o *AuditLogEntryListingRep) SetSubject(v SubjectDataRep)

SetSubject gets a reference to the given SubjectDataRep and assigns it to the Subject field.

func (*AuditLogEntryListingRep) SetTarget ¶

SetTarget gets a reference to the given TargetResourceRep and assigns it to the Target field.

func (*AuditLogEntryListingRep) SetTitle ¶

func (o *AuditLogEntryListingRep) SetTitle(v string)

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

func (*AuditLogEntryListingRep) SetTitleVerb ¶

func (o *AuditLogEntryListingRep) SetTitleVerb(v string)

SetTitleVerb gets a reference to the given string and assigns it to the TitleVerb field.

func (*AuditLogEntryListingRep) SetToken ¶

func (o *AuditLogEntryListingRep) SetToken(v TokenSummary)

SetToken gets a reference to the given TokenSummary and assigns it to the Token field.

type AuditLogEntryListingRepCollection ¶

type AuditLogEntryListingRepCollection struct {
	// An array of audit log entries
	Items []AuditLogEntryListingRep `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

AuditLogEntryListingRepCollection struct for AuditLogEntryListingRepCollection

func NewAuditLogEntryListingRepCollection ¶

func NewAuditLogEntryListingRepCollection(items []AuditLogEntryListingRep, links map[string]Link) *AuditLogEntryListingRepCollection

NewAuditLogEntryListingRepCollection instantiates a new AuditLogEntryListingRepCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuditLogEntryListingRepCollectionWithDefaults ¶

func NewAuditLogEntryListingRepCollectionWithDefaults() *AuditLogEntryListingRepCollection

NewAuditLogEntryListingRepCollectionWithDefaults instantiates a new AuditLogEntryListingRepCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuditLogEntryListingRepCollection) GetItems ¶

GetItems returns the Items field value

func (*AuditLogEntryListingRepCollection) GetItemsOk ¶

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

func (o *AuditLogEntryListingRepCollection) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*AuditLogEntryListingRepCollection) GetLinksOk ¶

func (o *AuditLogEntryListingRepCollection) GetLinksOk() (*map[string]Link, bool)

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

func (AuditLogEntryListingRepCollection) MarshalJSON ¶

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

func (*AuditLogEntryListingRepCollection) SetItems ¶

SetItems sets field value

func (o *AuditLogEntryListingRepCollection) SetLinks(v map[string]Link)

SetLinks sets field value

type AuditLogEntryRep ¶

type AuditLogEntryRep struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The ID of the audit log entry
	Id string `json:"_id"`
	// The ID of the account to which this audit log entry belongs
	AccountId string `json:"_accountId"`
	Date      int64  `json:"date"`
	// Details on the actions performed and resources acted on in this audit log entry
	Accesses []ResourceAccess `json:"accesses"`
	Kind     string           `json:"kind"`
	// The name of the resource this audit log entry refers to
	Name string `json:"name"`
	// Description of the change recorded in the audit log entry
	Description string `json:"description"`
	// Shorter version of the change recorded in the audit log entry
	ShortDescription string `json:"shortDescription"`
	// Optional comment for the audit log entry
	Comment *string               `json:"comment,omitempty"`
	Subject *SubjectDataRep       `json:"subject,omitempty"`
	Member  *MemberDataRep        `json:"member,omitempty"`
	Token   *TokenSummary         `json:"token,omitempty"`
	App     *AuthorizedAppDataRep `json:"app,omitempty"`
	// The action and resource recorded in this audit log entry
	TitleVerb *string `json:"titleVerb,omitempty"`
	// A description of what occurred, in the format <code>member</code> <code>titleVerb</code> <code>target</code>
	Title  *string            `json:"title,omitempty"`
	Target *TargetResourceRep `json:"target,omitempty"`
	Parent *ParentResourceRep `json:"parent,omitempty"`
	// If the audit log entry has been updated, this is the JSON patch body that was used in the request to update the entity
	Delta interface{} `json:"delta,omitempty"`
	// A JSON representation of the external trigger for this audit log entry, if any
	TriggerBody interface{} `json:"triggerBody,omitempty"`
	// A JSON representation of the merge information for this audit log entry, if any
	Merge interface{} `json:"merge,omitempty"`
	// If the audit log entry has been updated, this is a JSON representation of the previous version of the entity
	PreviousVersion interface{} `json:"previousVersion,omitempty"`
	// If the audit log entry has been updated, this is a JSON representation of the current version of the entity
	CurrentVersion interface{}               `json:"currentVersion,omitempty"`
	Subentries     []AuditLogEntryListingRep `json:"subentries,omitempty"`
}

AuditLogEntryRep struct for AuditLogEntryRep

func NewAuditLogEntryRep ¶

func NewAuditLogEntryRep(links map[string]Link, id string, accountId string, date int64, accesses []ResourceAccess, kind string, name string, description string, shortDescription string) *AuditLogEntryRep

NewAuditLogEntryRep instantiates a new AuditLogEntryRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuditLogEntryRepWithDefaults ¶

func NewAuditLogEntryRepWithDefaults() *AuditLogEntryRep

NewAuditLogEntryRepWithDefaults instantiates a new AuditLogEntryRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuditLogEntryRep) GetAccesses ¶

func (o *AuditLogEntryRep) GetAccesses() []ResourceAccess

GetAccesses returns the Accesses field value

func (*AuditLogEntryRep) GetAccessesOk ¶

func (o *AuditLogEntryRep) GetAccessesOk() ([]ResourceAccess, bool)

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

func (*AuditLogEntryRep) GetAccountId ¶

func (o *AuditLogEntryRep) GetAccountId() string

GetAccountId returns the AccountId field value

func (*AuditLogEntryRep) GetAccountIdOk ¶

func (o *AuditLogEntryRep) GetAccountIdOk() (*string, bool)

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

func (*AuditLogEntryRep) GetApp ¶

GetApp returns the App field value if set, zero value otherwise.

func (*AuditLogEntryRep) GetAppOk ¶

func (o *AuditLogEntryRep) GetAppOk() (*AuthorizedAppDataRep, bool)

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

func (*AuditLogEntryRep) GetComment ¶

func (o *AuditLogEntryRep) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*AuditLogEntryRep) GetCommentOk ¶

func (o *AuditLogEntryRep) GetCommentOk() (*string, bool)

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

func (*AuditLogEntryRep) GetCurrentVersion ¶

func (o *AuditLogEntryRep) GetCurrentVersion() interface{}

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

func (*AuditLogEntryRep) GetCurrentVersionOk ¶

func (o *AuditLogEntryRep) GetCurrentVersionOk() (*interface{}, bool)

GetCurrentVersionOk returns a tuple with the CurrentVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AuditLogEntryRep) GetDate ¶

func (o *AuditLogEntryRep) GetDate() int64

GetDate returns the Date field value

func (*AuditLogEntryRep) GetDateOk ¶

func (o *AuditLogEntryRep) GetDateOk() (*int64, bool)

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

func (*AuditLogEntryRep) GetDelta ¶

func (o *AuditLogEntryRep) GetDelta() interface{}

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

func (*AuditLogEntryRep) GetDeltaOk ¶

func (o *AuditLogEntryRep) GetDeltaOk() (*interface{}, bool)

GetDeltaOk returns a tuple with the Delta field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AuditLogEntryRep) GetDescription ¶

func (o *AuditLogEntryRep) GetDescription() string

GetDescription returns the Description field value

func (*AuditLogEntryRep) GetDescriptionOk ¶

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

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

func (*AuditLogEntryRep) GetId ¶

func (o *AuditLogEntryRep) GetId() string

GetId returns the Id field value

func (*AuditLogEntryRep) GetIdOk ¶

func (o *AuditLogEntryRep) GetIdOk() (*string, bool)

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

func (*AuditLogEntryRep) GetKind ¶

func (o *AuditLogEntryRep) GetKind() string

GetKind returns the Kind field value

func (*AuditLogEntryRep) GetKindOk ¶

func (o *AuditLogEntryRep) GetKindOk() (*string, bool)

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

func (o *AuditLogEntryRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*AuditLogEntryRep) GetLinksOk ¶

func (o *AuditLogEntryRep) GetLinksOk() (*map[string]Link, bool)

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

func (*AuditLogEntryRep) GetMember ¶

func (o *AuditLogEntryRep) GetMember() MemberDataRep

GetMember returns the Member field value if set, zero value otherwise.

func (*AuditLogEntryRep) GetMemberOk ¶

func (o *AuditLogEntryRep) GetMemberOk() (*MemberDataRep, bool)

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

func (*AuditLogEntryRep) GetMerge ¶

func (o *AuditLogEntryRep) GetMerge() interface{}

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

func (*AuditLogEntryRep) GetMergeOk ¶

func (o *AuditLogEntryRep) GetMergeOk() (*interface{}, bool)

GetMergeOk returns a tuple with the Merge field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AuditLogEntryRep) GetName ¶

func (o *AuditLogEntryRep) GetName() string

GetName returns the Name field value

func (*AuditLogEntryRep) GetNameOk ¶

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

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

func (*AuditLogEntryRep) GetParent ¶

func (o *AuditLogEntryRep) GetParent() ParentResourceRep

GetParent returns the Parent field value if set, zero value otherwise.

func (*AuditLogEntryRep) GetParentOk ¶

func (o *AuditLogEntryRep) GetParentOk() (*ParentResourceRep, bool)

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

func (*AuditLogEntryRep) GetPreviousVersion ¶

func (o *AuditLogEntryRep) GetPreviousVersion() interface{}

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

func (*AuditLogEntryRep) GetPreviousVersionOk ¶

func (o *AuditLogEntryRep) GetPreviousVersionOk() (*interface{}, bool)

GetPreviousVersionOk returns a tuple with the PreviousVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AuditLogEntryRep) GetShortDescription ¶

func (o *AuditLogEntryRep) GetShortDescription() string

GetShortDescription returns the ShortDescription field value

func (*AuditLogEntryRep) GetShortDescriptionOk ¶

func (o *AuditLogEntryRep) GetShortDescriptionOk() (*string, bool)

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

func (*AuditLogEntryRep) GetSubentries ¶

func (o *AuditLogEntryRep) GetSubentries() []AuditLogEntryListingRep

GetSubentries returns the Subentries field value if set, zero value otherwise.

func (*AuditLogEntryRep) GetSubentriesOk ¶

func (o *AuditLogEntryRep) GetSubentriesOk() ([]AuditLogEntryListingRep, bool)

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

func (*AuditLogEntryRep) GetSubject ¶

func (o *AuditLogEntryRep) GetSubject() SubjectDataRep

GetSubject returns the Subject field value if set, zero value otherwise.

func (*AuditLogEntryRep) GetSubjectOk ¶

func (o *AuditLogEntryRep) GetSubjectOk() (*SubjectDataRep, bool)

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

func (*AuditLogEntryRep) GetTarget ¶

func (o *AuditLogEntryRep) GetTarget() TargetResourceRep

GetTarget returns the Target field value if set, zero value otherwise.

func (*AuditLogEntryRep) GetTargetOk ¶

func (o *AuditLogEntryRep) GetTargetOk() (*TargetResourceRep, bool)

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

func (*AuditLogEntryRep) GetTitle ¶

func (o *AuditLogEntryRep) GetTitle() string

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

func (*AuditLogEntryRep) GetTitleOk ¶

func (o *AuditLogEntryRep) GetTitleOk() (*string, bool)

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

func (*AuditLogEntryRep) GetTitleVerb ¶

func (o *AuditLogEntryRep) GetTitleVerb() string

GetTitleVerb returns the TitleVerb field value if set, zero value otherwise.

func (*AuditLogEntryRep) GetTitleVerbOk ¶

func (o *AuditLogEntryRep) GetTitleVerbOk() (*string, bool)

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

func (*AuditLogEntryRep) GetToken ¶

func (o *AuditLogEntryRep) GetToken() TokenSummary

GetToken returns the Token field value if set, zero value otherwise.

func (*AuditLogEntryRep) GetTokenOk ¶

func (o *AuditLogEntryRep) GetTokenOk() (*TokenSummary, bool)

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

func (*AuditLogEntryRep) GetTriggerBody ¶

func (o *AuditLogEntryRep) GetTriggerBody() interface{}

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

func (*AuditLogEntryRep) GetTriggerBodyOk ¶

func (o *AuditLogEntryRep) GetTriggerBodyOk() (*interface{}, bool)

GetTriggerBodyOk returns a tuple with the TriggerBody field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AuditLogEntryRep) HasApp ¶

func (o *AuditLogEntryRep) HasApp() bool

HasApp returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasComment ¶

func (o *AuditLogEntryRep) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasCurrentVersion ¶

func (o *AuditLogEntryRep) HasCurrentVersion() bool

HasCurrentVersion returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasDelta ¶

func (o *AuditLogEntryRep) HasDelta() bool

HasDelta returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasMember ¶

func (o *AuditLogEntryRep) HasMember() bool

HasMember returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasMerge ¶

func (o *AuditLogEntryRep) HasMerge() bool

HasMerge returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasParent ¶

func (o *AuditLogEntryRep) HasParent() bool

HasParent returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasPreviousVersion ¶

func (o *AuditLogEntryRep) HasPreviousVersion() bool

HasPreviousVersion returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasSubentries ¶

func (o *AuditLogEntryRep) HasSubentries() bool

HasSubentries returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasSubject ¶

func (o *AuditLogEntryRep) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasTarget ¶

func (o *AuditLogEntryRep) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasTitle ¶

func (o *AuditLogEntryRep) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasTitleVerb ¶

func (o *AuditLogEntryRep) HasTitleVerb() bool

HasTitleVerb returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasToken ¶

func (o *AuditLogEntryRep) HasToken() bool

HasToken returns a boolean if a field has been set.

func (*AuditLogEntryRep) HasTriggerBody ¶

func (o *AuditLogEntryRep) HasTriggerBody() bool

HasTriggerBody returns a boolean if a field has been set.

func (AuditLogEntryRep) MarshalJSON ¶

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

func (*AuditLogEntryRep) SetAccesses ¶

func (o *AuditLogEntryRep) SetAccesses(v []ResourceAccess)

SetAccesses sets field value

func (*AuditLogEntryRep) SetAccountId ¶

func (o *AuditLogEntryRep) SetAccountId(v string)

SetAccountId sets field value

func (*AuditLogEntryRep) SetApp ¶

SetApp gets a reference to the given AuthorizedAppDataRep and assigns it to the App field.

func (*AuditLogEntryRep) SetComment ¶

func (o *AuditLogEntryRep) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*AuditLogEntryRep) SetCurrentVersion ¶

func (o *AuditLogEntryRep) SetCurrentVersion(v interface{})

SetCurrentVersion gets a reference to the given interface{} and assigns it to the CurrentVersion field.

func (*AuditLogEntryRep) SetDate ¶

func (o *AuditLogEntryRep) SetDate(v int64)

SetDate sets field value

func (*AuditLogEntryRep) SetDelta ¶

func (o *AuditLogEntryRep) SetDelta(v interface{})

SetDelta gets a reference to the given interface{} and assigns it to the Delta field.

func (*AuditLogEntryRep) SetDescription ¶

func (o *AuditLogEntryRep) SetDescription(v string)

SetDescription sets field value

func (*AuditLogEntryRep) SetId ¶

func (o *AuditLogEntryRep) SetId(v string)

SetId sets field value

func (*AuditLogEntryRep) SetKind ¶

func (o *AuditLogEntryRep) SetKind(v string)

SetKind sets field value

func (o *AuditLogEntryRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*AuditLogEntryRep) SetMember ¶

func (o *AuditLogEntryRep) SetMember(v MemberDataRep)

SetMember gets a reference to the given MemberDataRep and assigns it to the Member field.

func (*AuditLogEntryRep) SetMerge ¶

func (o *AuditLogEntryRep) SetMerge(v interface{})

SetMerge gets a reference to the given interface{} and assigns it to the Merge field.

func (*AuditLogEntryRep) SetName ¶

func (o *AuditLogEntryRep) SetName(v string)

SetName sets field value

func (*AuditLogEntryRep) SetParent ¶

func (o *AuditLogEntryRep) SetParent(v ParentResourceRep)

SetParent gets a reference to the given ParentResourceRep and assigns it to the Parent field.

func (*AuditLogEntryRep) SetPreviousVersion ¶

func (o *AuditLogEntryRep) SetPreviousVersion(v interface{})

SetPreviousVersion gets a reference to the given interface{} and assigns it to the PreviousVersion field.

func (*AuditLogEntryRep) SetShortDescription ¶

func (o *AuditLogEntryRep) SetShortDescription(v string)

SetShortDescription sets field value

func (*AuditLogEntryRep) SetSubentries ¶

func (o *AuditLogEntryRep) SetSubentries(v []AuditLogEntryListingRep)

SetSubentries gets a reference to the given []AuditLogEntryListingRep and assigns it to the Subentries field.

func (*AuditLogEntryRep) SetSubject ¶

func (o *AuditLogEntryRep) SetSubject(v SubjectDataRep)

SetSubject gets a reference to the given SubjectDataRep and assigns it to the Subject field.

func (*AuditLogEntryRep) SetTarget ¶

func (o *AuditLogEntryRep) SetTarget(v TargetResourceRep)

SetTarget gets a reference to the given TargetResourceRep and assigns it to the Target field.

func (*AuditLogEntryRep) SetTitle ¶

func (o *AuditLogEntryRep) SetTitle(v string)

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

func (*AuditLogEntryRep) SetTitleVerb ¶

func (o *AuditLogEntryRep) SetTitleVerb(v string)

SetTitleVerb gets a reference to the given string and assigns it to the TitleVerb field.

func (*AuditLogEntryRep) SetToken ¶

func (o *AuditLogEntryRep) SetToken(v TokenSummary)

SetToken gets a reference to the given TokenSummary and assigns it to the Token field.

func (*AuditLogEntryRep) SetTriggerBody ¶

func (o *AuditLogEntryRep) SetTriggerBody(v interface{})

SetTriggerBody gets a reference to the given interface{} and assigns it to the TriggerBody field.

type AuthorizedAppDataRep ¶

type AuthorizedAppDataRep struct {
	Links *map[string]Link `json:"_links,omitempty"`
	// The ID of the authorized application
	Id *string `json:"_id,omitempty"`
	// Whether the application is authorized through SCIM
	IsScim *bool `json:"isScim,omitempty"`
	// The authorized application name
	Name *string `json:"name,omitempty"`
	// The name of the maintainer for this authorized application
	MaintainerName *string `json:"maintainerName,omitempty"`
}

AuthorizedAppDataRep struct for AuthorizedAppDataRep

func NewAuthorizedAppDataRep ¶

func NewAuthorizedAppDataRep() *AuthorizedAppDataRep

NewAuthorizedAppDataRep instantiates a new AuthorizedAppDataRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuthorizedAppDataRepWithDefaults ¶

func NewAuthorizedAppDataRepWithDefaults() *AuthorizedAppDataRep

NewAuthorizedAppDataRepWithDefaults instantiates a new AuthorizedAppDataRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuthorizedAppDataRep) GetId ¶

func (o *AuthorizedAppDataRep) GetId() string

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

func (*AuthorizedAppDataRep) GetIdOk ¶

func (o *AuthorizedAppDataRep) GetIdOk() (*string, bool)

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

func (*AuthorizedAppDataRep) GetIsScim ¶

func (o *AuthorizedAppDataRep) GetIsScim() bool

GetIsScim returns the IsScim field value if set, zero value otherwise.

func (*AuthorizedAppDataRep) GetIsScimOk ¶

func (o *AuthorizedAppDataRep) GetIsScimOk() (*bool, bool)

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

func (o *AuthorizedAppDataRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*AuthorizedAppDataRep) GetLinksOk ¶

func (o *AuthorizedAppDataRep) GetLinksOk() (*map[string]Link, bool)

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

func (*AuthorizedAppDataRep) GetMaintainerName ¶

func (o *AuthorizedAppDataRep) GetMaintainerName() string

GetMaintainerName returns the MaintainerName field value if set, zero value otherwise.

func (*AuthorizedAppDataRep) GetMaintainerNameOk ¶

func (o *AuthorizedAppDataRep) GetMaintainerNameOk() (*string, bool)

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

func (*AuthorizedAppDataRep) GetName ¶

func (o *AuthorizedAppDataRep) GetName() string

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

func (*AuthorizedAppDataRep) GetNameOk ¶

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

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

func (*AuthorizedAppDataRep) HasId ¶

func (o *AuthorizedAppDataRep) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuthorizedAppDataRep) HasIsScim ¶

func (o *AuthorizedAppDataRep) HasIsScim() bool

HasIsScim returns a boolean if a field has been set.

func (o *AuthorizedAppDataRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*AuthorizedAppDataRep) HasMaintainerName ¶

func (o *AuthorizedAppDataRep) HasMaintainerName() bool

HasMaintainerName returns a boolean if a field has been set.

func (*AuthorizedAppDataRep) HasName ¶

func (o *AuthorizedAppDataRep) HasName() bool

HasName returns a boolean if a field has been set.

func (AuthorizedAppDataRep) MarshalJSON ¶

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

func (*AuthorizedAppDataRep) SetId ¶

func (o *AuthorizedAppDataRep) SetId(v string)

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

func (*AuthorizedAppDataRep) SetIsScim ¶

func (o *AuthorizedAppDataRep) SetIsScim(v bool)

SetIsScim gets a reference to the given bool and assigns it to the IsScim field.

func (o *AuthorizedAppDataRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*AuthorizedAppDataRep) SetMaintainerName ¶

func (o *AuthorizedAppDataRep) SetMaintainerName(v string)

SetMaintainerName gets a reference to the given string and assigns it to the MaintainerName field.

func (*AuthorizedAppDataRep) SetName ¶

func (o *AuthorizedAppDataRep) SetName(v string)

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

type BasicAuth ¶

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BigSegmentStoreIntegration ¶

type BigSegmentStoreIntegration struct {
	Links BigSegmentStoreIntegrationLinks `json:"_links"`
	// The integration ID
	Id string `json:"_id"`
	// The integration key
	IntegrationKey string `json:"integrationKey"`
	// The project key
	ProjectKey string `json:"projectKey"`
	// The environment key
	EnvironmentKey string                 `json:"environmentKey"`
	Config         map[string]interface{} `json:"config"`
	// Whether the configuration is turned on
	On bool `json:"on"`
	// List of tags for this configuration
	Tags []string `json:"tags"`
	// Name of the configuration
	Name string `json:"name"`
	// Version of the current configuration
	Version int32                 `json:"version"`
	Access  *Access               `json:"_access,omitempty"`
	Status  BigSegmentStoreStatus `json:"_status"`
}

BigSegmentStoreIntegration struct for BigSegmentStoreIntegration

func NewBigSegmentStoreIntegration ¶

func NewBigSegmentStoreIntegration(links BigSegmentStoreIntegrationLinks, id string, integrationKey string, projectKey string, environmentKey string, config map[string]interface{}, on bool, tags []string, name string, version int32, status BigSegmentStoreStatus) *BigSegmentStoreIntegration

NewBigSegmentStoreIntegration instantiates a new BigSegmentStoreIntegration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBigSegmentStoreIntegrationWithDefaults ¶

func NewBigSegmentStoreIntegrationWithDefaults() *BigSegmentStoreIntegration

NewBigSegmentStoreIntegrationWithDefaults instantiates a new BigSegmentStoreIntegration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BigSegmentStoreIntegration) GetAccess ¶

func (o *BigSegmentStoreIntegration) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*BigSegmentStoreIntegration) GetAccessOk ¶

func (o *BigSegmentStoreIntegration) GetAccessOk() (*Access, bool)

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

func (*BigSegmentStoreIntegration) GetConfig ¶

func (o *BigSegmentStoreIntegration) GetConfig() map[string]interface{}

GetConfig returns the Config field value

func (*BigSegmentStoreIntegration) GetConfigOk ¶

func (o *BigSegmentStoreIntegration) GetConfigOk() (map[string]interface{}, bool)

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

func (*BigSegmentStoreIntegration) GetEnvironmentKey ¶

func (o *BigSegmentStoreIntegration) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value

func (*BigSegmentStoreIntegration) GetEnvironmentKeyOk ¶

func (o *BigSegmentStoreIntegration) GetEnvironmentKeyOk() (*string, bool)

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

func (*BigSegmentStoreIntegration) GetId ¶

GetId returns the Id field value

func (*BigSegmentStoreIntegration) GetIdOk ¶

func (o *BigSegmentStoreIntegration) GetIdOk() (*string, bool)

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

func (*BigSegmentStoreIntegration) GetIntegrationKey ¶

func (o *BigSegmentStoreIntegration) GetIntegrationKey() string

GetIntegrationKey returns the IntegrationKey field value

func (*BigSegmentStoreIntegration) GetIntegrationKeyOk ¶

func (o *BigSegmentStoreIntegration) GetIntegrationKeyOk() (*string, bool)

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

GetLinks returns the Links field value

func (*BigSegmentStoreIntegration) GetLinksOk ¶

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

func (*BigSegmentStoreIntegration) GetName ¶

func (o *BigSegmentStoreIntegration) GetName() string

GetName returns the Name field value

func (*BigSegmentStoreIntegration) GetNameOk ¶

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

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

func (*BigSegmentStoreIntegration) GetOn ¶

func (o *BigSegmentStoreIntegration) GetOn() bool

GetOn returns the On field value

func (*BigSegmentStoreIntegration) GetOnOk ¶

func (o *BigSegmentStoreIntegration) GetOnOk() (*bool, bool)

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

func (*BigSegmentStoreIntegration) GetProjectKey ¶

func (o *BigSegmentStoreIntegration) GetProjectKey() string

GetProjectKey returns the ProjectKey field value

func (*BigSegmentStoreIntegration) GetProjectKeyOk ¶

func (o *BigSegmentStoreIntegration) GetProjectKeyOk() (*string, bool)

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

func (*BigSegmentStoreIntegration) GetStatus ¶

GetStatus returns the Status field value

func (*BigSegmentStoreIntegration) GetStatusOk ¶

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

func (*BigSegmentStoreIntegration) GetTags ¶

func (o *BigSegmentStoreIntegration) GetTags() []string

GetTags returns the Tags field value

func (*BigSegmentStoreIntegration) GetTagsOk ¶

func (o *BigSegmentStoreIntegration) GetTagsOk() ([]string, bool)

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

func (*BigSegmentStoreIntegration) GetVersion ¶

func (o *BigSegmentStoreIntegration) GetVersion() int32

GetVersion returns the Version field value

func (*BigSegmentStoreIntegration) GetVersionOk ¶

func (o *BigSegmentStoreIntegration) GetVersionOk() (*int32, bool)

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

func (*BigSegmentStoreIntegration) HasAccess ¶

func (o *BigSegmentStoreIntegration) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (BigSegmentStoreIntegration) MarshalJSON ¶

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

func (*BigSegmentStoreIntegration) SetAccess ¶

func (o *BigSegmentStoreIntegration) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*BigSegmentStoreIntegration) SetConfig ¶

func (o *BigSegmentStoreIntegration) SetConfig(v map[string]interface{})

SetConfig sets field value

func (*BigSegmentStoreIntegration) SetEnvironmentKey ¶

func (o *BigSegmentStoreIntegration) SetEnvironmentKey(v string)

SetEnvironmentKey sets field value

func (*BigSegmentStoreIntegration) SetId ¶

func (o *BigSegmentStoreIntegration) SetId(v string)

SetId sets field value

func (*BigSegmentStoreIntegration) SetIntegrationKey ¶

func (o *BigSegmentStoreIntegration) SetIntegrationKey(v string)

SetIntegrationKey sets field value

SetLinks sets field value

func (*BigSegmentStoreIntegration) SetName ¶

func (o *BigSegmentStoreIntegration) SetName(v string)

SetName sets field value

func (*BigSegmentStoreIntegration) SetOn ¶

func (o *BigSegmentStoreIntegration) SetOn(v bool)

SetOn sets field value

func (*BigSegmentStoreIntegration) SetProjectKey ¶

func (o *BigSegmentStoreIntegration) SetProjectKey(v string)

SetProjectKey sets field value

func (*BigSegmentStoreIntegration) SetStatus ¶

SetStatus sets field value

func (*BigSegmentStoreIntegration) SetTags ¶

func (o *BigSegmentStoreIntegration) SetTags(v []string)

SetTags sets field value

func (*BigSegmentStoreIntegration) SetVersion ¶

func (o *BigSegmentStoreIntegration) SetVersion(v int32)

SetVersion sets field value

type BigSegmentStoreIntegrationCollection ¶

type BigSegmentStoreIntegrationCollection struct {
	Links BigSegmentStoreIntegrationCollectionLinks `json:"_links"`
	// An array of persistent store integration configurations
	Items []BigSegmentStoreIntegration `json:"items"`
}

BigSegmentStoreIntegrationCollection struct for BigSegmentStoreIntegrationCollection

func NewBigSegmentStoreIntegrationCollection ¶

NewBigSegmentStoreIntegrationCollection instantiates a new BigSegmentStoreIntegrationCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBigSegmentStoreIntegrationCollectionWithDefaults ¶

func NewBigSegmentStoreIntegrationCollectionWithDefaults() *BigSegmentStoreIntegrationCollection

NewBigSegmentStoreIntegrationCollectionWithDefaults instantiates a new BigSegmentStoreIntegrationCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BigSegmentStoreIntegrationCollection) GetItems ¶

GetItems returns the Items field value

func (*BigSegmentStoreIntegrationCollection) GetItemsOk ¶

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

GetLinks returns the Links field value

func (*BigSegmentStoreIntegrationCollection) GetLinksOk ¶

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

func (BigSegmentStoreIntegrationCollection) MarshalJSON ¶

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

func (*BigSegmentStoreIntegrationCollection) SetItems ¶

SetItems sets field value

SetLinks sets field value

type BigSegmentStoreIntegrationCollectionLinks struct {
	Self   Link  `json:"self"`
	Parent *Link `json:"parent,omitempty"`
}

BigSegmentStoreIntegrationCollectionLinks struct for BigSegmentStoreIntegrationCollectionLinks

func NewBigSegmentStoreIntegrationCollectionLinks(self Link) *BigSegmentStoreIntegrationCollectionLinks

NewBigSegmentStoreIntegrationCollectionLinks instantiates a new BigSegmentStoreIntegrationCollectionLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBigSegmentStoreIntegrationCollectionLinksWithDefaults ¶

func NewBigSegmentStoreIntegrationCollectionLinksWithDefaults() *BigSegmentStoreIntegrationCollectionLinks

NewBigSegmentStoreIntegrationCollectionLinksWithDefaults instantiates a new BigSegmentStoreIntegrationCollectionLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BigSegmentStoreIntegrationCollectionLinks) GetParent ¶

GetParent returns the Parent field value if set, zero value otherwise.

func (*BigSegmentStoreIntegrationCollectionLinks) GetParentOk ¶

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

func (*BigSegmentStoreIntegrationCollectionLinks) GetSelf ¶

GetSelf returns the Self field value

func (*BigSegmentStoreIntegrationCollectionLinks) GetSelfOk ¶

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

func (*BigSegmentStoreIntegrationCollectionLinks) HasParent ¶

HasParent returns a boolean if a field has been set.

func (BigSegmentStoreIntegrationCollectionLinks) MarshalJSON ¶

func (*BigSegmentStoreIntegrationCollectionLinks) SetParent ¶

SetParent gets a reference to the given Link and assigns it to the Parent field.

func (*BigSegmentStoreIntegrationCollectionLinks) SetSelf ¶

SetSelf sets field value

type BigSegmentStoreIntegrationLinks struct {
	Self        Link `json:"self"`
	Parent      Link `json:"parent"`
	Project     Link `json:"project"`
	Environment Link `json:"environment"`
}

BigSegmentStoreIntegrationLinks struct for BigSegmentStoreIntegrationLinks

func NewBigSegmentStoreIntegrationLinks(self Link, parent Link, project Link, environment Link) *BigSegmentStoreIntegrationLinks

NewBigSegmentStoreIntegrationLinks instantiates a new BigSegmentStoreIntegrationLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBigSegmentStoreIntegrationLinksWithDefaults ¶

func NewBigSegmentStoreIntegrationLinksWithDefaults() *BigSegmentStoreIntegrationLinks

NewBigSegmentStoreIntegrationLinksWithDefaults instantiates a new BigSegmentStoreIntegrationLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BigSegmentStoreIntegrationLinks) GetEnvironment ¶

func (o *BigSegmentStoreIntegrationLinks) GetEnvironment() Link

GetEnvironment returns the Environment field value

func (*BigSegmentStoreIntegrationLinks) GetEnvironmentOk ¶

func (o *BigSegmentStoreIntegrationLinks) GetEnvironmentOk() (*Link, bool)

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

func (*BigSegmentStoreIntegrationLinks) GetParent ¶

func (o *BigSegmentStoreIntegrationLinks) GetParent() Link

GetParent returns the Parent field value

func (*BigSegmentStoreIntegrationLinks) GetParentOk ¶

func (o *BigSegmentStoreIntegrationLinks) GetParentOk() (*Link, bool)

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

func (*BigSegmentStoreIntegrationLinks) GetProject ¶

func (o *BigSegmentStoreIntegrationLinks) GetProject() Link

GetProject returns the Project field value

func (*BigSegmentStoreIntegrationLinks) GetProjectOk ¶

func (o *BigSegmentStoreIntegrationLinks) GetProjectOk() (*Link, bool)

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

func (*BigSegmentStoreIntegrationLinks) GetSelf ¶

GetSelf returns the Self field value

func (*BigSegmentStoreIntegrationLinks) GetSelfOk ¶

func (o *BigSegmentStoreIntegrationLinks) GetSelfOk() (*Link, bool)

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

func (BigSegmentStoreIntegrationLinks) MarshalJSON ¶

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

func (*BigSegmentStoreIntegrationLinks) SetEnvironment ¶

func (o *BigSegmentStoreIntegrationLinks) SetEnvironment(v Link)

SetEnvironment sets field value

func (*BigSegmentStoreIntegrationLinks) SetParent ¶

func (o *BigSegmentStoreIntegrationLinks) SetParent(v Link)

SetParent sets field value

func (*BigSegmentStoreIntegrationLinks) SetProject ¶

func (o *BigSegmentStoreIntegrationLinks) SetProject(v Link)

SetProject sets field value

func (*BigSegmentStoreIntegrationLinks) SetSelf ¶

func (o *BigSegmentStoreIntegrationLinks) SetSelf(v Link)

SetSelf sets field value

type BigSegmentStoreStatus ¶

type BigSegmentStoreStatus struct {
	// Whether the persistent store integration is fully synchronized with the LaunchDarkly environment, and the <code>lastSync</code> occurred within a few minutes
	Available *bool `json:"available,omitempty"`
	// Whether the persistent store integration may not be fully synchronized with the LaunchDarkly environment. <code>true</code> if the integration could be stale.
	PotentiallyStale *bool                   `json:"potentiallyStale,omitempty"`
	LastSync         *int64                  `json:"lastSync,omitempty"`
	LastError        *int64                  `json:"lastError,omitempty"`
	Errors           []StoreIntegrationError `json:"errors,omitempty"`
}

BigSegmentStoreStatus struct for BigSegmentStoreStatus

func NewBigSegmentStoreStatus ¶

func NewBigSegmentStoreStatus() *BigSegmentStoreStatus

NewBigSegmentStoreStatus instantiates a new BigSegmentStoreStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBigSegmentStoreStatusWithDefaults ¶

func NewBigSegmentStoreStatusWithDefaults() *BigSegmentStoreStatus

NewBigSegmentStoreStatusWithDefaults instantiates a new BigSegmentStoreStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BigSegmentStoreStatus) GetAvailable ¶

func (o *BigSegmentStoreStatus) GetAvailable() bool

GetAvailable returns the Available field value if set, zero value otherwise.

func (*BigSegmentStoreStatus) GetAvailableOk ¶

func (o *BigSegmentStoreStatus) GetAvailableOk() (*bool, bool)

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

func (*BigSegmentStoreStatus) GetErrors ¶

GetErrors returns the Errors field value if set, zero value otherwise.

func (*BigSegmentStoreStatus) GetErrorsOk ¶

func (o *BigSegmentStoreStatus) GetErrorsOk() ([]StoreIntegrationError, bool)

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

func (*BigSegmentStoreStatus) GetLastError ¶

func (o *BigSegmentStoreStatus) GetLastError() int64

GetLastError returns the LastError field value if set, zero value otherwise.

func (*BigSegmentStoreStatus) GetLastErrorOk ¶

func (o *BigSegmentStoreStatus) GetLastErrorOk() (*int64, bool)

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

func (*BigSegmentStoreStatus) GetLastSync ¶

func (o *BigSegmentStoreStatus) GetLastSync() int64

GetLastSync returns the LastSync field value if set, zero value otherwise.

func (*BigSegmentStoreStatus) GetLastSyncOk ¶

func (o *BigSegmentStoreStatus) GetLastSyncOk() (*int64, bool)

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

func (*BigSegmentStoreStatus) GetPotentiallyStale ¶

func (o *BigSegmentStoreStatus) GetPotentiallyStale() bool

GetPotentiallyStale returns the PotentiallyStale field value if set, zero value otherwise.

func (*BigSegmentStoreStatus) GetPotentiallyStaleOk ¶

func (o *BigSegmentStoreStatus) GetPotentiallyStaleOk() (*bool, bool)

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

func (*BigSegmentStoreStatus) HasAvailable ¶

func (o *BigSegmentStoreStatus) HasAvailable() bool

HasAvailable returns a boolean if a field has been set.

func (*BigSegmentStoreStatus) HasErrors ¶

func (o *BigSegmentStoreStatus) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*BigSegmentStoreStatus) HasLastError ¶

func (o *BigSegmentStoreStatus) HasLastError() bool

HasLastError returns a boolean if a field has been set.

func (*BigSegmentStoreStatus) HasLastSync ¶

func (o *BigSegmentStoreStatus) HasLastSync() bool

HasLastSync returns a boolean if a field has been set.

func (*BigSegmentStoreStatus) HasPotentiallyStale ¶

func (o *BigSegmentStoreStatus) HasPotentiallyStale() bool

HasPotentiallyStale returns a boolean if a field has been set.

func (BigSegmentStoreStatus) MarshalJSON ¶

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

func (*BigSegmentStoreStatus) SetAvailable ¶

func (o *BigSegmentStoreStatus) SetAvailable(v bool)

SetAvailable gets a reference to the given bool and assigns it to the Available field.

func (*BigSegmentStoreStatus) SetErrors ¶

func (o *BigSegmentStoreStatus) SetErrors(v []StoreIntegrationError)

SetErrors gets a reference to the given []StoreIntegrationError and assigns it to the Errors field.

func (*BigSegmentStoreStatus) SetLastError ¶

func (o *BigSegmentStoreStatus) SetLastError(v int64)

SetLastError gets a reference to the given int64 and assigns it to the LastError field.

func (*BigSegmentStoreStatus) SetLastSync ¶

func (o *BigSegmentStoreStatus) SetLastSync(v int64)

SetLastSync gets a reference to the given int64 and assigns it to the LastSync field.

func (*BigSegmentStoreStatus) SetPotentiallyStale ¶

func (o *BigSegmentStoreStatus) SetPotentiallyStale(v bool)

SetPotentiallyStale gets a reference to the given bool and assigns it to the PotentiallyStale field.

type BigSegmentTarget ¶

type BigSegmentTarget struct {
	// The target key
	UserKey string `json:"userKey"`
	// Indicates whether the target is included.<br />Included targets are always segment members, regardless of segment rules.
	Included bool `json:"included"`
	// Indicates whether the target is excluded.<br />Segment rules bypass excluded targets, so they will never be included based on rules. Excluded targets may still be included explicitly.
	Excluded bool `json:"excluded"`
}

BigSegmentTarget struct for BigSegmentTarget

func NewBigSegmentTarget ¶

func NewBigSegmentTarget(userKey string, included bool, excluded bool) *BigSegmentTarget

NewBigSegmentTarget instantiates a new BigSegmentTarget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBigSegmentTargetWithDefaults ¶

func NewBigSegmentTargetWithDefaults() *BigSegmentTarget

NewBigSegmentTargetWithDefaults instantiates a new BigSegmentTarget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BigSegmentTarget) GetExcluded ¶

func (o *BigSegmentTarget) GetExcluded() bool

GetExcluded returns the Excluded field value

func (*BigSegmentTarget) GetExcludedOk ¶

func (o *BigSegmentTarget) GetExcludedOk() (*bool, bool)

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

func (*BigSegmentTarget) GetIncluded ¶

func (o *BigSegmentTarget) GetIncluded() bool

GetIncluded returns the Included field value

func (*BigSegmentTarget) GetIncludedOk ¶

func (o *BigSegmentTarget) GetIncludedOk() (*bool, bool)

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

func (*BigSegmentTarget) GetUserKey ¶

func (o *BigSegmentTarget) GetUserKey() string

GetUserKey returns the UserKey field value

func (*BigSegmentTarget) GetUserKeyOk ¶

func (o *BigSegmentTarget) GetUserKeyOk() (*string, bool)

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

func (BigSegmentTarget) MarshalJSON ¶

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

func (*BigSegmentTarget) SetExcluded ¶

func (o *BigSegmentTarget) SetExcluded(v bool)

SetExcluded sets field value

func (*BigSegmentTarget) SetIncluded ¶

func (o *BigSegmentTarget) SetIncluded(v bool)

SetIncluded sets field value

func (*BigSegmentTarget) SetUserKey ¶

func (o *BigSegmentTarget) SetUserKey(v string)

SetUserKey sets field value

type BooleanDefaults ¶

type BooleanDefaults struct {
	// The display name for the true variation, displayed in the LaunchDarkly user interface
	TrueDisplayName *string `json:"trueDisplayName,omitempty"`
	// The display name for the false variation, displayed in the LaunchDarkly user interface
	FalseDisplayName *string `json:"falseDisplayName,omitempty"`
	// The description for the true variation
	TrueDescription *string `json:"trueDescription,omitempty"`
	// The description for the false variation
	FalseDescription *string `json:"falseDescription,omitempty"`
	// The variation index of the flag variation to use for the default targeting behavior when a flag's targeting is on and the target did not match any rules
	OnVariation *int32 `json:"onVariation,omitempty"`
	// The variation index of the flag variation to use for the default targeting behavior when a flag's targeting is off
	OffVariation *int32 `json:"offVariation,omitempty"`
}

BooleanDefaults struct for BooleanDefaults

func NewBooleanDefaults ¶

func NewBooleanDefaults() *BooleanDefaults

NewBooleanDefaults instantiates a new BooleanDefaults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBooleanDefaultsWithDefaults ¶

func NewBooleanDefaultsWithDefaults() *BooleanDefaults

NewBooleanDefaultsWithDefaults instantiates a new BooleanDefaults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BooleanDefaults) GetFalseDescription ¶

func (o *BooleanDefaults) GetFalseDescription() string

GetFalseDescription returns the FalseDescription field value if set, zero value otherwise.

func (*BooleanDefaults) GetFalseDescriptionOk ¶

func (o *BooleanDefaults) GetFalseDescriptionOk() (*string, bool)

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

func (*BooleanDefaults) GetFalseDisplayName ¶

func (o *BooleanDefaults) GetFalseDisplayName() string

GetFalseDisplayName returns the FalseDisplayName field value if set, zero value otherwise.

func (*BooleanDefaults) GetFalseDisplayNameOk ¶

func (o *BooleanDefaults) GetFalseDisplayNameOk() (*string, bool)

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

func (*BooleanDefaults) GetOffVariation ¶

func (o *BooleanDefaults) GetOffVariation() int32

GetOffVariation returns the OffVariation field value if set, zero value otherwise.

func (*BooleanDefaults) GetOffVariationOk ¶

func (o *BooleanDefaults) GetOffVariationOk() (*int32, bool)

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

func (*BooleanDefaults) GetOnVariation ¶

func (o *BooleanDefaults) GetOnVariation() int32

GetOnVariation returns the OnVariation field value if set, zero value otherwise.

func (*BooleanDefaults) GetOnVariationOk ¶

func (o *BooleanDefaults) GetOnVariationOk() (*int32, bool)

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

func (*BooleanDefaults) GetTrueDescription ¶

func (o *BooleanDefaults) GetTrueDescription() string

GetTrueDescription returns the TrueDescription field value if set, zero value otherwise.

func (*BooleanDefaults) GetTrueDescriptionOk ¶

func (o *BooleanDefaults) GetTrueDescriptionOk() (*string, bool)

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

func (*BooleanDefaults) GetTrueDisplayName ¶

func (o *BooleanDefaults) GetTrueDisplayName() string

GetTrueDisplayName returns the TrueDisplayName field value if set, zero value otherwise.

func (*BooleanDefaults) GetTrueDisplayNameOk ¶

func (o *BooleanDefaults) GetTrueDisplayNameOk() (*string, bool)

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

func (*BooleanDefaults) HasFalseDescription ¶

func (o *BooleanDefaults) HasFalseDescription() bool

HasFalseDescription returns a boolean if a field has been set.

func (*BooleanDefaults) HasFalseDisplayName ¶

func (o *BooleanDefaults) HasFalseDisplayName() bool

HasFalseDisplayName returns a boolean if a field has been set.

func (*BooleanDefaults) HasOffVariation ¶

func (o *BooleanDefaults) HasOffVariation() bool

HasOffVariation returns a boolean if a field has been set.

func (*BooleanDefaults) HasOnVariation ¶

func (o *BooleanDefaults) HasOnVariation() bool

HasOnVariation returns a boolean if a field has been set.

func (*BooleanDefaults) HasTrueDescription ¶

func (o *BooleanDefaults) HasTrueDescription() bool

HasTrueDescription returns a boolean if a field has been set.

func (*BooleanDefaults) HasTrueDisplayName ¶

func (o *BooleanDefaults) HasTrueDisplayName() bool

HasTrueDisplayName returns a boolean if a field has been set.

func (BooleanDefaults) MarshalJSON ¶

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

func (*BooleanDefaults) SetFalseDescription ¶

func (o *BooleanDefaults) SetFalseDescription(v string)

SetFalseDescription gets a reference to the given string and assigns it to the FalseDescription field.

func (*BooleanDefaults) SetFalseDisplayName ¶

func (o *BooleanDefaults) SetFalseDisplayName(v string)

SetFalseDisplayName gets a reference to the given string and assigns it to the FalseDisplayName field.

func (*BooleanDefaults) SetOffVariation ¶

func (o *BooleanDefaults) SetOffVariation(v int32)

SetOffVariation gets a reference to the given int32 and assigns it to the OffVariation field.

func (*BooleanDefaults) SetOnVariation ¶

func (o *BooleanDefaults) SetOnVariation(v int32)

SetOnVariation gets a reference to the given int32 and assigns it to the OnVariation field.

func (*BooleanDefaults) SetTrueDescription ¶

func (o *BooleanDefaults) SetTrueDescription(v string)

SetTrueDescription gets a reference to the given string and assigns it to the TrueDescription field.

func (*BooleanDefaults) SetTrueDisplayName ¶

func (o *BooleanDefaults) SetTrueDisplayName(v string)

SetTrueDisplayName gets a reference to the given string and assigns it to the TrueDisplayName field.

type BooleanFlagDefaults ¶

type BooleanFlagDefaults struct {
	// The display name for the true variation, displayed in the LaunchDarkly user interface
	TrueDisplayName string `json:"trueDisplayName"`
	// The display name for the false variation, displayed in the LaunchDarkly user interface
	FalseDisplayName string `json:"falseDisplayName"`
	// The description for the true variation
	TrueDescription string `json:"trueDescription"`
	// The description for the false variation
	FalseDescription string `json:"falseDescription"`
	// The variation index of the flag variation to use for the default targeting behavior when a flag's targeting is on and the target did not match any rules
	OnVariation int32 `json:"onVariation"`
	// The variation index of the flag variation to use for the default targeting behavior when a flag's targeting is off
	OffVariation int32 `json:"offVariation"`
}

BooleanFlagDefaults struct for BooleanFlagDefaults

func NewBooleanFlagDefaults ¶

func NewBooleanFlagDefaults(trueDisplayName string, falseDisplayName string, trueDescription string, falseDescription string, onVariation int32, offVariation int32) *BooleanFlagDefaults

NewBooleanFlagDefaults instantiates a new BooleanFlagDefaults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBooleanFlagDefaultsWithDefaults ¶

func NewBooleanFlagDefaultsWithDefaults() *BooleanFlagDefaults

NewBooleanFlagDefaultsWithDefaults instantiates a new BooleanFlagDefaults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BooleanFlagDefaults) GetFalseDescription ¶

func (o *BooleanFlagDefaults) GetFalseDescription() string

GetFalseDescription returns the FalseDescription field value

func (*BooleanFlagDefaults) GetFalseDescriptionOk ¶

func (o *BooleanFlagDefaults) GetFalseDescriptionOk() (*string, bool)

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

func (*BooleanFlagDefaults) GetFalseDisplayName ¶

func (o *BooleanFlagDefaults) GetFalseDisplayName() string

GetFalseDisplayName returns the FalseDisplayName field value

func (*BooleanFlagDefaults) GetFalseDisplayNameOk ¶

func (o *BooleanFlagDefaults) GetFalseDisplayNameOk() (*string, bool)

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

func (*BooleanFlagDefaults) GetOffVariation ¶

func (o *BooleanFlagDefaults) GetOffVariation() int32

GetOffVariation returns the OffVariation field value

func (*BooleanFlagDefaults) GetOffVariationOk ¶

func (o *BooleanFlagDefaults) GetOffVariationOk() (*int32, bool)

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

func (*BooleanFlagDefaults) GetOnVariation ¶

func (o *BooleanFlagDefaults) GetOnVariation() int32

GetOnVariation returns the OnVariation field value

func (*BooleanFlagDefaults) GetOnVariationOk ¶

func (o *BooleanFlagDefaults) GetOnVariationOk() (*int32, bool)

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

func (*BooleanFlagDefaults) GetTrueDescription ¶

func (o *BooleanFlagDefaults) GetTrueDescription() string

GetTrueDescription returns the TrueDescription field value

func (*BooleanFlagDefaults) GetTrueDescriptionOk ¶

func (o *BooleanFlagDefaults) GetTrueDescriptionOk() (*string, bool)

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

func (*BooleanFlagDefaults) GetTrueDisplayName ¶

func (o *BooleanFlagDefaults) GetTrueDisplayName() string

GetTrueDisplayName returns the TrueDisplayName field value

func (*BooleanFlagDefaults) GetTrueDisplayNameOk ¶

func (o *BooleanFlagDefaults) GetTrueDisplayNameOk() (*string, bool)

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

func (BooleanFlagDefaults) MarshalJSON ¶

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

func (*BooleanFlagDefaults) SetFalseDescription ¶

func (o *BooleanFlagDefaults) SetFalseDescription(v string)

SetFalseDescription sets field value

func (*BooleanFlagDefaults) SetFalseDisplayName ¶

func (o *BooleanFlagDefaults) SetFalseDisplayName(v string)

SetFalseDisplayName sets field value

func (*BooleanFlagDefaults) SetOffVariation ¶

func (o *BooleanFlagDefaults) SetOffVariation(v int32)

SetOffVariation sets field value

func (*BooleanFlagDefaults) SetOnVariation ¶

func (o *BooleanFlagDefaults) SetOnVariation(v int32)

SetOnVariation sets field value

func (*BooleanFlagDefaults) SetTrueDescription ¶

func (o *BooleanFlagDefaults) SetTrueDescription(v string)

SetTrueDescription sets field value

func (*BooleanFlagDefaults) SetTrueDisplayName ¶

func (o *BooleanFlagDefaults) SetTrueDisplayName(v string)

SetTrueDisplayName sets field value

type BranchCollectionRep ¶

type BranchCollectionRep struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// An array of branches
	Items []BranchRep `json:"items"`
}

BranchCollectionRep struct for BranchCollectionRep

func NewBranchCollectionRep ¶

func NewBranchCollectionRep(links map[string]Link, items []BranchRep) *BranchCollectionRep

NewBranchCollectionRep instantiates a new BranchCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchCollectionRepWithDefaults ¶

func NewBranchCollectionRepWithDefaults() *BranchCollectionRep

NewBranchCollectionRepWithDefaults instantiates a new BranchCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchCollectionRep) GetItems ¶

func (o *BranchCollectionRep) GetItems() []BranchRep

GetItems returns the Items field value

func (*BranchCollectionRep) GetItemsOk ¶

func (o *BranchCollectionRep) GetItemsOk() ([]BranchRep, bool)

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

func (o *BranchCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*BranchCollectionRep) GetLinksOk ¶

func (o *BranchCollectionRep) GetLinksOk() (*map[string]Link, bool)

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

func (BranchCollectionRep) MarshalJSON ¶

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

func (*BranchCollectionRep) SetItems ¶

func (o *BranchCollectionRep) SetItems(v []BranchRep)

SetItems sets field value

func (o *BranchCollectionRep) SetLinks(v map[string]Link)

SetLinks sets field value

type BranchRep ¶

type BranchRep struct {
	// The branch name
	Name string `json:"name"`
	// An ID representing the branch HEAD. For example, a commit SHA.
	Head string `json:"head"`
	// An optional ID used to prevent older data from overwriting newer data
	UpdateSequenceId *int64 `json:"updateSequenceId,omitempty"`
	SyncTime         int64  `json:"syncTime"`
	// An array of flag references found on the branch
	References []ReferenceRep `json:"references,omitempty"`
	// The location and content type of related resources
	Links map[string]interface{} `json:"_links"`
}

BranchRep struct for BranchRep

func NewBranchRep ¶

func NewBranchRep(name string, head string, syncTime int64, links map[string]interface{}) *BranchRep

NewBranchRep instantiates a new BranchRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchRepWithDefaults ¶

func NewBranchRepWithDefaults() *BranchRep

NewBranchRepWithDefaults instantiates a new BranchRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchRep) GetHead ¶

func (o *BranchRep) GetHead() string

GetHead returns the Head field value

func (*BranchRep) GetHeadOk ¶

func (o *BranchRep) GetHeadOk() (*string, bool)

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

func (o *BranchRep) GetLinks() map[string]interface{}

GetLinks returns the Links field value

func (*BranchRep) GetLinksOk ¶

func (o *BranchRep) GetLinksOk() (map[string]interface{}, bool)

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

func (*BranchRep) GetName ¶

func (o *BranchRep) GetName() string

GetName returns the Name field value

func (*BranchRep) GetNameOk ¶

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

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

func (*BranchRep) GetReferences ¶

func (o *BranchRep) GetReferences() []ReferenceRep

GetReferences returns the References field value if set, zero value otherwise.

func (*BranchRep) GetReferencesOk ¶

func (o *BranchRep) GetReferencesOk() ([]ReferenceRep, bool)

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

func (*BranchRep) GetSyncTime ¶

func (o *BranchRep) GetSyncTime() int64

GetSyncTime returns the SyncTime field value

func (*BranchRep) GetSyncTimeOk ¶

func (o *BranchRep) GetSyncTimeOk() (*int64, bool)

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

func (*BranchRep) GetUpdateSequenceId ¶

func (o *BranchRep) GetUpdateSequenceId() int64

GetUpdateSequenceId returns the UpdateSequenceId field value if set, zero value otherwise.

func (*BranchRep) GetUpdateSequenceIdOk ¶

func (o *BranchRep) GetUpdateSequenceIdOk() (*int64, bool)

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

func (*BranchRep) HasReferences ¶

func (o *BranchRep) HasReferences() bool

HasReferences returns a boolean if a field has been set.

func (*BranchRep) HasUpdateSequenceId ¶

func (o *BranchRep) HasUpdateSequenceId() bool

HasUpdateSequenceId returns a boolean if a field has been set.

func (BranchRep) MarshalJSON ¶

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

func (*BranchRep) SetHead ¶

func (o *BranchRep) SetHead(v string)

SetHead sets field value

func (o *BranchRep) SetLinks(v map[string]interface{})

SetLinks sets field value

func (*BranchRep) SetName ¶

func (o *BranchRep) SetName(v string)

SetName sets field value

func (*BranchRep) SetReferences ¶

func (o *BranchRep) SetReferences(v []ReferenceRep)

SetReferences gets a reference to the given []ReferenceRep and assigns it to the References field.

func (*BranchRep) SetSyncTime ¶

func (o *BranchRep) SetSyncTime(v int64)

SetSyncTime sets field value

func (*BranchRep) SetUpdateSequenceId ¶

func (o *BranchRep) SetUpdateSequenceId(v int64)

SetUpdateSequenceId gets a reference to the given int64 and assigns it to the UpdateSequenceId field.

type BulkEditMembersRep ¶

type BulkEditMembersRep struct {
	// A list of members IDs of the members who were successfully updated.
	Members []string `json:"members,omitempty"`
	// A list of member IDs and errors for the members whose updates failed.
	Errors []map[string]string `json:"errors,omitempty"`
}

BulkEditMembersRep struct for BulkEditMembersRep

func NewBulkEditMembersRep ¶

func NewBulkEditMembersRep() *BulkEditMembersRep

NewBulkEditMembersRep instantiates a new BulkEditMembersRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBulkEditMembersRepWithDefaults ¶

func NewBulkEditMembersRepWithDefaults() *BulkEditMembersRep

NewBulkEditMembersRepWithDefaults instantiates a new BulkEditMembersRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BulkEditMembersRep) GetErrors ¶

func (o *BulkEditMembersRep) GetErrors() []map[string]string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*BulkEditMembersRep) GetErrorsOk ¶

func (o *BulkEditMembersRep) GetErrorsOk() ([]map[string]string, bool)

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

func (*BulkEditMembersRep) GetMembers ¶

func (o *BulkEditMembersRep) GetMembers() []string

GetMembers returns the Members field value if set, zero value otherwise.

func (*BulkEditMembersRep) GetMembersOk ¶

func (o *BulkEditMembersRep) GetMembersOk() ([]string, bool)

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

func (*BulkEditMembersRep) HasErrors ¶

func (o *BulkEditMembersRep) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*BulkEditMembersRep) HasMembers ¶

func (o *BulkEditMembersRep) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (BulkEditMembersRep) MarshalJSON ¶

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

func (*BulkEditMembersRep) SetErrors ¶

func (o *BulkEditMembersRep) SetErrors(v []map[string]string)

SetErrors gets a reference to the given []map[string]string and assigns it to the Errors field.

func (*BulkEditMembersRep) SetMembers ¶

func (o *BulkEditMembersRep) SetMembers(v []string)

SetMembers gets a reference to the given []string and assigns it to the Members field.

type BulkEditTeamsRep ¶

type BulkEditTeamsRep struct {
	// A list of member IDs of the members who were added to the teams.
	MemberIDs []string `json:"memberIDs,omitempty"`
	// A list of team keys of the teams that were successfully updated.
	TeamKeys []string `json:"teamKeys,omitempty"`
	// A list of team keys and errors for the teams whose updates failed.
	Errors []map[string]string `json:"errors,omitempty"`
}

BulkEditTeamsRep struct for BulkEditTeamsRep

func NewBulkEditTeamsRep ¶

func NewBulkEditTeamsRep() *BulkEditTeamsRep

NewBulkEditTeamsRep instantiates a new BulkEditTeamsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBulkEditTeamsRepWithDefaults ¶

func NewBulkEditTeamsRepWithDefaults() *BulkEditTeamsRep

NewBulkEditTeamsRepWithDefaults instantiates a new BulkEditTeamsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BulkEditTeamsRep) GetErrors ¶

func (o *BulkEditTeamsRep) GetErrors() []map[string]string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*BulkEditTeamsRep) GetErrorsOk ¶

func (o *BulkEditTeamsRep) GetErrorsOk() ([]map[string]string, bool)

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

func (*BulkEditTeamsRep) GetMemberIDs ¶

func (o *BulkEditTeamsRep) GetMemberIDs() []string

GetMemberIDs returns the MemberIDs field value if set, zero value otherwise.

func (*BulkEditTeamsRep) GetMemberIDsOk ¶

func (o *BulkEditTeamsRep) GetMemberIDsOk() ([]string, bool)

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

func (*BulkEditTeamsRep) GetTeamKeys ¶

func (o *BulkEditTeamsRep) GetTeamKeys() []string

GetTeamKeys returns the TeamKeys field value if set, zero value otherwise.

func (*BulkEditTeamsRep) GetTeamKeysOk ¶

func (o *BulkEditTeamsRep) GetTeamKeysOk() ([]string, bool)

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

func (*BulkEditTeamsRep) HasErrors ¶

func (o *BulkEditTeamsRep) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*BulkEditTeamsRep) HasMemberIDs ¶

func (o *BulkEditTeamsRep) HasMemberIDs() bool

HasMemberIDs returns a boolean if a field has been set.

func (*BulkEditTeamsRep) HasTeamKeys ¶

func (o *BulkEditTeamsRep) HasTeamKeys() bool

HasTeamKeys returns a boolean if a field has been set.

func (BulkEditTeamsRep) MarshalJSON ¶

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

func (*BulkEditTeamsRep) SetErrors ¶

func (o *BulkEditTeamsRep) SetErrors(v []map[string]string)

SetErrors gets a reference to the given []map[string]string and assigns it to the Errors field.

func (*BulkEditTeamsRep) SetMemberIDs ¶

func (o *BulkEditTeamsRep) SetMemberIDs(v []string)

SetMemberIDs gets a reference to the given []string and assigns it to the MemberIDs field.

func (*BulkEditTeamsRep) SetTeamKeys ¶

func (o *BulkEditTeamsRep) SetTeamKeys(v []string)

SetTeamKeys gets a reference to the given []string and assigns it to the TeamKeys field.

type Clause ¶

type Clause struct {
	Id          *string       `json:"_id,omitempty"`
	Attribute   string        `json:"attribute"`
	Op          string        `json:"op"`
	Values      []interface{} `json:"values"`
	ContextKind *string       `json:"contextKind,omitempty"`
	Negate      bool          `json:"negate"`
}

Clause struct for Clause

func NewClause ¶

func NewClause(attribute string, op string, values []interface{}, negate bool) *Clause

NewClause instantiates a new Clause object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewClauseWithDefaults ¶

func NewClauseWithDefaults() *Clause

NewClauseWithDefaults instantiates a new Clause object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Clause) GetAttribute ¶

func (o *Clause) GetAttribute() string

GetAttribute returns the Attribute field value

func (*Clause) GetAttributeOk ¶

func (o *Clause) GetAttributeOk() (*string, bool)

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

func (*Clause) GetContextKind ¶

func (o *Clause) GetContextKind() string

GetContextKind returns the ContextKind field value if set, zero value otherwise.

func (*Clause) GetContextKindOk ¶

func (o *Clause) GetContextKindOk() (*string, bool)

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

func (*Clause) GetId ¶

func (o *Clause) GetId() string

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

func (*Clause) GetIdOk ¶

func (o *Clause) GetIdOk() (*string, bool)

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

func (*Clause) GetNegate ¶

func (o *Clause) GetNegate() bool

GetNegate returns the Negate field value

func (*Clause) GetNegateOk ¶

func (o *Clause) GetNegateOk() (*bool, bool)

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

func (*Clause) GetOp ¶

func (o *Clause) GetOp() string

GetOp returns the Op field value

func (*Clause) GetOpOk ¶

func (o *Clause) GetOpOk() (*string, bool)

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

func (*Clause) GetValues ¶

func (o *Clause) GetValues() []interface{}

GetValues returns the Values field value

func (*Clause) GetValuesOk ¶

func (o *Clause) GetValuesOk() ([]interface{}, bool)

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

func (*Clause) HasContextKind ¶

func (o *Clause) HasContextKind() bool

HasContextKind returns a boolean if a field has been set.

func (*Clause) HasId ¶

func (o *Clause) HasId() bool

HasId returns a boolean if a field has been set.

func (Clause) MarshalJSON ¶

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

func (*Clause) SetAttribute ¶

func (o *Clause) SetAttribute(v string)

SetAttribute sets field value

func (*Clause) SetContextKind ¶

func (o *Clause) SetContextKind(v string)

SetContextKind gets a reference to the given string and assigns it to the ContextKind field.

func (*Clause) SetId ¶

func (o *Clause) SetId(v string)

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

func (*Clause) SetNegate ¶

func (o *Clause) SetNegate(v bool)

SetNegate sets field value

func (*Clause) SetOp ¶

func (o *Clause) SetOp(v string)

SetOp sets field value

func (*Clause) SetValues ¶

func (o *Clause) SetValues(v []interface{})

SetValues sets field value

type Client ¶

type Client struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// Client name
	Name string `json:"name"`
	// Client description
	Description *string `json:"description,omitempty"`
	// The account ID the client is registered under
	AccountId string `json:"_accountId"`
	// The client's unique ID
	ClientId string `json:"_clientId"`
	// The client secret. This will only be shown upon creation.
	ClientSecret *string `json:"_clientSecret,omitempty"`
	// The client's redirect URI
	RedirectUri  string `json:"redirectUri"`
	CreationDate int64  `json:"_creationDate"`
}

Client struct for Client

func NewClient ¶

func NewClient(links map[string]Link, name string, accountId string, clientId string, redirectUri string, creationDate int64) *Client

NewClient instantiates a new Client object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewClientWithDefaults ¶

func NewClientWithDefaults() *Client

NewClientWithDefaults instantiates a new Client object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Client) GetAccountId ¶

func (o *Client) GetAccountId() string

GetAccountId returns the AccountId field value

func (*Client) GetAccountIdOk ¶

func (o *Client) GetAccountIdOk() (*string, bool)

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

func (*Client) GetClientId ¶

func (o *Client) GetClientId() string

GetClientId returns the ClientId field value

func (*Client) GetClientIdOk ¶

func (o *Client) GetClientIdOk() (*string, bool)

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

func (*Client) GetClientSecret ¶

func (o *Client) GetClientSecret() string

GetClientSecret returns the ClientSecret field value if set, zero value otherwise.

func (*Client) GetClientSecretOk ¶

func (o *Client) GetClientSecretOk() (*string, bool)

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

func (*Client) GetCreationDate ¶

func (o *Client) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*Client) GetCreationDateOk ¶

func (o *Client) GetCreationDateOk() (*int64, bool)

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

func (*Client) GetDescription ¶

func (o *Client) GetDescription() string

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

func (*Client) GetDescriptionOk ¶

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

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

func (o *Client) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Client) GetLinksOk ¶

func (o *Client) GetLinksOk() (*map[string]Link, bool)

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

func (*Client) GetName ¶

func (o *Client) GetName() string

GetName returns the Name field value

func (*Client) GetNameOk ¶

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

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

func (*Client) GetRedirectUri ¶

func (o *Client) GetRedirectUri() string

GetRedirectUri returns the RedirectUri field value

func (*Client) GetRedirectUriOk ¶

func (o *Client) GetRedirectUriOk() (*string, bool)

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

func (*Client) HasClientSecret ¶

func (o *Client) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (*Client) HasDescription ¶

func (o *Client) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (Client) MarshalJSON ¶

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

func (*Client) SetAccountId ¶

func (o *Client) SetAccountId(v string)

SetAccountId sets field value

func (*Client) SetClientId ¶

func (o *Client) SetClientId(v string)

SetClientId sets field value

func (*Client) SetClientSecret ¶

func (o *Client) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*Client) SetCreationDate ¶

func (o *Client) SetCreationDate(v int64)

SetCreationDate sets field value

func (*Client) SetDescription ¶

func (o *Client) SetDescription(v string)

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

func (o *Client) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Client) SetName ¶

func (o *Client) SetName(v string)

SetName sets field value

func (*Client) SetRedirectUri ¶

func (o *Client) SetRedirectUri(v string)

SetRedirectUri sets field value

type ClientCollection ¶

type ClientCollection struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// List of client objects
	Items []Client `json:"items"`
}

ClientCollection struct for ClientCollection

func NewClientCollection ¶

func NewClientCollection(links map[string]Link, items []Client) *ClientCollection

NewClientCollection instantiates a new ClientCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewClientCollectionWithDefaults ¶

func NewClientCollectionWithDefaults() *ClientCollection

NewClientCollectionWithDefaults instantiates a new ClientCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ClientCollection) GetItems ¶

func (o *ClientCollection) GetItems() []Client

GetItems returns the Items field value

func (*ClientCollection) GetItemsOk ¶

func (o *ClientCollection) GetItemsOk() ([]Client, bool)

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

func (o *ClientCollection) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ClientCollection) GetLinksOk ¶

func (o *ClientCollection) GetLinksOk() (*map[string]Link, bool)

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

func (ClientCollection) MarshalJSON ¶

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

func (*ClientCollection) SetItems ¶

func (o *ClientCollection) SetItems(v []Client)

SetItems sets field value

func (o *ClientCollection) SetLinks(v map[string]Link)

SetLinks sets field value

type ClientSideAvailability ¶

type ClientSideAvailability struct {
	UsingMobileKey     *bool `json:"usingMobileKey,omitempty"`
	UsingEnvironmentId *bool `json:"usingEnvironmentId,omitempty"`
}

ClientSideAvailability struct for ClientSideAvailability

func NewClientSideAvailability ¶

func NewClientSideAvailability() *ClientSideAvailability

NewClientSideAvailability instantiates a new ClientSideAvailability object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewClientSideAvailabilityWithDefaults ¶

func NewClientSideAvailabilityWithDefaults() *ClientSideAvailability

NewClientSideAvailabilityWithDefaults instantiates a new ClientSideAvailability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ClientSideAvailability) GetUsingEnvironmentId ¶

func (o *ClientSideAvailability) GetUsingEnvironmentId() bool

GetUsingEnvironmentId returns the UsingEnvironmentId field value if set, zero value otherwise.

func (*ClientSideAvailability) GetUsingEnvironmentIdOk ¶

func (o *ClientSideAvailability) GetUsingEnvironmentIdOk() (*bool, bool)

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

func (*ClientSideAvailability) GetUsingMobileKey ¶

func (o *ClientSideAvailability) GetUsingMobileKey() bool

GetUsingMobileKey returns the UsingMobileKey field value if set, zero value otherwise.

func (*ClientSideAvailability) GetUsingMobileKeyOk ¶

func (o *ClientSideAvailability) GetUsingMobileKeyOk() (*bool, bool)

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

func (*ClientSideAvailability) HasUsingEnvironmentId ¶

func (o *ClientSideAvailability) HasUsingEnvironmentId() bool

HasUsingEnvironmentId returns a boolean if a field has been set.

func (*ClientSideAvailability) HasUsingMobileKey ¶

func (o *ClientSideAvailability) HasUsingMobileKey() bool

HasUsingMobileKey returns a boolean if a field has been set.

func (ClientSideAvailability) MarshalJSON ¶

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

func (*ClientSideAvailability) SetUsingEnvironmentId ¶

func (o *ClientSideAvailability) SetUsingEnvironmentId(v bool)

SetUsingEnvironmentId gets a reference to the given bool and assigns it to the UsingEnvironmentId field.

func (*ClientSideAvailability) SetUsingMobileKey ¶

func (o *ClientSideAvailability) SetUsingMobileKey(v bool)

SetUsingMobileKey gets a reference to the given bool and assigns it to the UsingMobileKey field.

type ClientSideAvailabilityPost ¶

type ClientSideAvailabilityPost struct {
	// Whether to enable availability for client-side SDKs. Defaults to <code>false</code>.
	UsingEnvironmentId bool `json:"usingEnvironmentId"`
	// Whether to enable availability for mobile SDKs. Defaults to <code>true</code>.
	UsingMobileKey bool `json:"usingMobileKey"`
}

ClientSideAvailabilityPost struct for ClientSideAvailabilityPost

func NewClientSideAvailabilityPost ¶

func NewClientSideAvailabilityPost(usingEnvironmentId bool, usingMobileKey bool) *ClientSideAvailabilityPost

NewClientSideAvailabilityPost instantiates a new ClientSideAvailabilityPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewClientSideAvailabilityPostWithDefaults ¶

func NewClientSideAvailabilityPostWithDefaults() *ClientSideAvailabilityPost

NewClientSideAvailabilityPostWithDefaults instantiates a new ClientSideAvailabilityPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ClientSideAvailabilityPost) GetUsingEnvironmentId ¶

func (o *ClientSideAvailabilityPost) GetUsingEnvironmentId() bool

GetUsingEnvironmentId returns the UsingEnvironmentId field value

func (*ClientSideAvailabilityPost) GetUsingEnvironmentIdOk ¶

func (o *ClientSideAvailabilityPost) GetUsingEnvironmentIdOk() (*bool, bool)

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

func (*ClientSideAvailabilityPost) GetUsingMobileKey ¶

func (o *ClientSideAvailabilityPost) GetUsingMobileKey() bool

GetUsingMobileKey returns the UsingMobileKey field value

func (*ClientSideAvailabilityPost) GetUsingMobileKeyOk ¶

func (o *ClientSideAvailabilityPost) GetUsingMobileKeyOk() (*bool, bool)

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

func (ClientSideAvailabilityPost) MarshalJSON ¶

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

func (*ClientSideAvailabilityPost) SetUsingEnvironmentId ¶

func (o *ClientSideAvailabilityPost) SetUsingEnvironmentId(v bool)

SetUsingEnvironmentId sets field value

func (*ClientSideAvailabilityPost) SetUsingMobileKey ¶

func (o *ClientSideAvailabilityPost) SetUsingMobileKey(v bool)

SetUsingMobileKey sets field value

type CodeReferencesApiService ¶

type CodeReferencesApiService service

CodeReferencesApiService CodeReferencesApi service

func (*CodeReferencesApiService) DeleteBranches ¶

DeleteBranches Delete branches

Asynchronously delete a number of branches.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repo The repository name to delete branches for.
@return ApiDeleteBranchesRequest

func (*CodeReferencesApiService) DeleteBranchesExecute ¶

func (a *CodeReferencesApiService) DeleteBranchesExecute(r ApiDeleteBranchesRequest) (*http.Response, error)

Execute executes the request

func (*CodeReferencesApiService) DeleteRepository ¶

DeleteRepository Delete repository

Delete a repository with the specified name.

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

func (*CodeReferencesApiService) DeleteRepositoryExecute ¶

func (a *CodeReferencesApiService) DeleteRepositoryExecute(r ApiDeleteRepositoryRequest) (*http.Response, error)

Execute executes the request

func (*CodeReferencesApiService) GetBranch ¶

func (a *CodeReferencesApiService) GetBranch(ctx context.Context, repo string, branch string) ApiGetBranchRequest

GetBranch Get branch

Get a specific branch in a repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repo The repository name
@param branch The url-encoded branch name
@return ApiGetBranchRequest

func (*CodeReferencesApiService) GetBranchExecute ¶

Execute executes the request

@return BranchRep

func (*CodeReferencesApiService) GetBranches ¶

GetBranches List branches

Get a list of branches.

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

func (*CodeReferencesApiService) GetBranchesExecute ¶

Execute executes the request

@return BranchCollectionRep

func (*CodeReferencesApiService) GetExtinctions ¶

GetExtinctions List extinctions

Get a list of all extinctions. LaunchDarkly creates an extinction event after you remove all code references to a flag. To learn more, read [Understanding extinction events](https://docs.launchdarkly.com/home/code/code-references#understanding-extinction-events).

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

func (*CodeReferencesApiService) GetExtinctionsExecute ¶

Execute executes the request

@return ExtinctionCollectionRep

func (*CodeReferencesApiService) GetRepositories ¶

GetRepositories List repositories

Get a list of connected repositories. Optionally, you can include branch metadata with the `withBranches` query parameter. Embed references for the default branch with `ReferencesForDefaultBranch`. You can also filter the list of code references by project key and flag key.

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

func (*CodeReferencesApiService) GetRepositoriesExecute ¶

Execute executes the request

@return RepositoryCollectionRep

func (*CodeReferencesApiService) GetRepository ¶

GetRepository Get repository

Get a single repository by name.

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

func (*CodeReferencesApiService) GetRepositoryExecute ¶

Execute executes the request

@return RepositoryRep

func (*CodeReferencesApiService) GetRootStatistic ¶

GetRootStatistic Get links to code reference repositories for each project

Get links for all projects that have code references.

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

func (*CodeReferencesApiService) GetRootStatisticExecute ¶

Execute executes the request

@return StatisticsRoot

func (*CodeReferencesApiService) GetStatistics ¶

func (a *CodeReferencesApiService) GetStatistics(ctx context.Context, projectKey string) ApiGetStatisticsRequest

GetStatistics Get code references statistics for flags

Get statistics about all the code references across repositories for all flags in your project that have code references in the default branch, for example, `main`. Optionally, you can include the `flagKey` query parameter to limit your request to statistics about code references for a single flag. This endpoint returns the number of references to your flag keys in your repositories, as well as a link to each repository.

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

func (*CodeReferencesApiService) GetStatisticsExecute ¶

Execute executes the request

@return StatisticCollectionRep

func (*CodeReferencesApiService) PatchRepository ¶

PatchRepository Update repository

Update a repository's settings. Updating repository settings uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

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

func (*CodeReferencesApiService) PatchRepositoryExecute ¶

Execute executes the request

@return RepositoryRep

func (*CodeReferencesApiService) PostExtinction ¶

func (a *CodeReferencesApiService) PostExtinction(ctx context.Context, repo string, branch string) ApiPostExtinctionRequest

PostExtinction Create extinction

Create a new extinction.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repo The repository name
@param branch The URL-encoded branch name
@return ApiPostExtinctionRequest

func (*CodeReferencesApiService) PostExtinctionExecute ¶

func (a *CodeReferencesApiService) PostExtinctionExecute(r ApiPostExtinctionRequest) (*http.Response, error)

Execute executes the request

func (*CodeReferencesApiService) PostRepository ¶

PostRepository Create repository

Create a repository with the specified name.

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

func (*CodeReferencesApiService) PostRepositoryExecute ¶

Execute executes the request

@return RepositoryRep

func (*CodeReferencesApiService) PutBranch ¶

func (a *CodeReferencesApiService) PutBranch(ctx context.Context, repo string, branch string) ApiPutBranchRequest

PutBranch Upsert branch

Create a new branch if it doesn't exist, or update the branch if it already exists.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repo The repository name
@param branch The URL-encoded branch name
@return ApiPutBranchRequest

func (*CodeReferencesApiService) PutBranchExecute ¶

func (a *CodeReferencesApiService) PutBranchExecute(r ApiPutBranchRequest) (*http.Response, error)

Execute executes the request

type CompletedBy ¶

type CompletedBy struct {
	Member *MemberSummary `json:"member,omitempty"`
	Token  *TokenSummary  `json:"token,omitempty"`
}

CompletedBy struct for CompletedBy

func NewCompletedBy ¶

func NewCompletedBy() *CompletedBy

NewCompletedBy instantiates a new CompletedBy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCompletedByWithDefaults ¶

func NewCompletedByWithDefaults() *CompletedBy

NewCompletedByWithDefaults instantiates a new CompletedBy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CompletedBy) GetMember ¶

func (o *CompletedBy) GetMember() MemberSummary

GetMember returns the Member field value if set, zero value otherwise.

func (*CompletedBy) GetMemberOk ¶

func (o *CompletedBy) GetMemberOk() (*MemberSummary, bool)

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

func (*CompletedBy) GetToken ¶

func (o *CompletedBy) GetToken() TokenSummary

GetToken returns the Token field value if set, zero value otherwise.

func (*CompletedBy) GetTokenOk ¶

func (o *CompletedBy) GetTokenOk() (*TokenSummary, bool)

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

func (*CompletedBy) HasMember ¶

func (o *CompletedBy) HasMember() bool

HasMember returns a boolean if a field has been set.

func (*CompletedBy) HasToken ¶

func (o *CompletedBy) HasToken() bool

HasToken returns a boolean if a field has been set.

func (CompletedBy) MarshalJSON ¶

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

func (*CompletedBy) SetMember ¶

func (o *CompletedBy) SetMember(v MemberSummary)

SetMember gets a reference to the given MemberSummary and assigns it to the Member field.

func (*CompletedBy) SetToken ¶

func (o *CompletedBy) SetToken(v TokenSummary)

SetToken gets a reference to the given TokenSummary and assigns it to the Token field.

type ConditionInput ¶

type ConditionInput struct {
	ScheduleKind  *string `json:"scheduleKind,omitempty"`
	ExecutionDate *int64  `json:"executionDate,omitempty"`
	// For workflow stages whose scheduled execution is relative, how far in the future the stage should start.
	WaitDuration     *int32  `json:"waitDuration,omitempty"`
	WaitDurationUnit *string `json:"waitDurationUnit,omitempty"`
	// Whether the workflow stage should be executed immediately
	ExecuteNow *bool `json:"executeNow,omitempty"`
	// A description of the approval required for this stage
	Description *string `json:"description,omitempty"`
	// A list of member IDs for the members to request approval from for this stage
	NotifyMemberIds []string `json:"notifyMemberIds,omitempty"`
	// A list of team keys for the teams to request approval from for this stage
	NotifyTeamKeys []string `json:"notifyTeamKeys,omitempty"`
	Kind           *string  `json:"kind,omitempty"`
}

ConditionInput struct for ConditionInput

func NewConditionInput ¶

func NewConditionInput() *ConditionInput

NewConditionInput instantiates a new ConditionInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConditionInputWithDefaults ¶

func NewConditionInputWithDefaults() *ConditionInput

NewConditionInputWithDefaults instantiates a new ConditionInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConditionInput) GetDescription ¶

func (o *ConditionInput) GetDescription() string

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

func (*ConditionInput) GetDescriptionOk ¶

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

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

func (*ConditionInput) GetExecuteNow ¶

func (o *ConditionInput) GetExecuteNow() bool

GetExecuteNow returns the ExecuteNow field value if set, zero value otherwise.

func (*ConditionInput) GetExecuteNowOk ¶

func (o *ConditionInput) GetExecuteNowOk() (*bool, bool)

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

func (*ConditionInput) GetExecutionDate ¶

func (o *ConditionInput) GetExecutionDate() int64

GetExecutionDate returns the ExecutionDate field value if set, zero value otherwise.

func (*ConditionInput) GetExecutionDateOk ¶

func (o *ConditionInput) GetExecutionDateOk() (*int64, bool)

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

func (*ConditionInput) GetKind ¶

func (o *ConditionInput) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ConditionInput) GetKindOk ¶

func (o *ConditionInput) GetKindOk() (*string, bool)

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

func (*ConditionInput) GetNotifyMemberIds ¶

func (o *ConditionInput) GetNotifyMemberIds() []string

GetNotifyMemberIds returns the NotifyMemberIds field value if set, zero value otherwise.

func (*ConditionInput) GetNotifyMemberIdsOk ¶

func (o *ConditionInput) GetNotifyMemberIdsOk() ([]string, bool)

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

func (*ConditionInput) GetNotifyTeamKeys ¶

func (o *ConditionInput) GetNotifyTeamKeys() []string

GetNotifyTeamKeys returns the NotifyTeamKeys field value if set, zero value otherwise.

func (*ConditionInput) GetNotifyTeamKeysOk ¶

func (o *ConditionInput) GetNotifyTeamKeysOk() ([]string, bool)

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

func (*ConditionInput) GetScheduleKind ¶

func (o *ConditionInput) GetScheduleKind() string

GetScheduleKind returns the ScheduleKind field value if set, zero value otherwise.

func (*ConditionInput) GetScheduleKindOk ¶

func (o *ConditionInput) GetScheduleKindOk() (*string, bool)

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

func (*ConditionInput) GetWaitDuration ¶

func (o *ConditionInput) GetWaitDuration() int32

GetWaitDuration returns the WaitDuration field value if set, zero value otherwise.

func (*ConditionInput) GetWaitDurationOk ¶

func (o *ConditionInput) GetWaitDurationOk() (*int32, bool)

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

func (*ConditionInput) GetWaitDurationUnit ¶

func (o *ConditionInput) GetWaitDurationUnit() string

GetWaitDurationUnit returns the WaitDurationUnit field value if set, zero value otherwise.

func (*ConditionInput) GetWaitDurationUnitOk ¶

func (o *ConditionInput) GetWaitDurationUnitOk() (*string, bool)

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

func (*ConditionInput) HasDescription ¶

func (o *ConditionInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ConditionInput) HasExecuteNow ¶

func (o *ConditionInput) HasExecuteNow() bool

HasExecuteNow returns a boolean if a field has been set.

func (*ConditionInput) HasExecutionDate ¶

func (o *ConditionInput) HasExecutionDate() bool

HasExecutionDate returns a boolean if a field has been set.

func (*ConditionInput) HasKind ¶

func (o *ConditionInput) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ConditionInput) HasNotifyMemberIds ¶

func (o *ConditionInput) HasNotifyMemberIds() bool

HasNotifyMemberIds returns a boolean if a field has been set.

func (*ConditionInput) HasNotifyTeamKeys ¶

func (o *ConditionInput) HasNotifyTeamKeys() bool

HasNotifyTeamKeys returns a boolean if a field has been set.

func (*ConditionInput) HasScheduleKind ¶

func (o *ConditionInput) HasScheduleKind() bool

HasScheduleKind returns a boolean if a field has been set.

func (*ConditionInput) HasWaitDuration ¶

func (o *ConditionInput) HasWaitDuration() bool

HasWaitDuration returns a boolean if a field has been set.

func (*ConditionInput) HasWaitDurationUnit ¶

func (o *ConditionInput) HasWaitDurationUnit() bool

HasWaitDurationUnit returns a boolean if a field has been set.

func (ConditionInput) MarshalJSON ¶

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

func (*ConditionInput) SetDescription ¶

func (o *ConditionInput) SetDescription(v string)

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

func (*ConditionInput) SetExecuteNow ¶

func (o *ConditionInput) SetExecuteNow(v bool)

SetExecuteNow gets a reference to the given bool and assigns it to the ExecuteNow field.

func (*ConditionInput) SetExecutionDate ¶

func (o *ConditionInput) SetExecutionDate(v int64)

SetExecutionDate gets a reference to the given int64 and assigns it to the ExecutionDate field.

func (*ConditionInput) SetKind ¶

func (o *ConditionInput) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ConditionInput) SetNotifyMemberIds ¶

func (o *ConditionInput) SetNotifyMemberIds(v []string)

SetNotifyMemberIds gets a reference to the given []string and assigns it to the NotifyMemberIds field.

func (*ConditionInput) SetNotifyTeamKeys ¶

func (o *ConditionInput) SetNotifyTeamKeys(v []string)

SetNotifyTeamKeys gets a reference to the given []string and assigns it to the NotifyTeamKeys field.

func (*ConditionInput) SetScheduleKind ¶

func (o *ConditionInput) SetScheduleKind(v string)

SetScheduleKind gets a reference to the given string and assigns it to the ScheduleKind field.

func (*ConditionInput) SetWaitDuration ¶

func (o *ConditionInput) SetWaitDuration(v int32)

SetWaitDuration gets a reference to the given int32 and assigns it to the WaitDuration field.

func (*ConditionInput) SetWaitDurationUnit ¶

func (o *ConditionInput) SetWaitDurationUnit(v string)

SetWaitDurationUnit gets a reference to the given string and assigns it to the WaitDurationUnit field.

type ConditionOutput ¶

type ConditionOutput struct {
	Id               string          `json:"_id"`
	Kind             *string         `json:"kind,omitempty"`
	Execution        ExecutionOutput `json:"_execution"`
	ScheduleKind     *string         `json:"scheduleKind,omitempty"`
	ExecutionDate    *int64          `json:"executionDate,omitempty"`
	WaitDuration     *int32          `json:"waitDuration,omitempty"`
	WaitDurationUnit *string         `json:"waitDurationUnit,omitempty"`
	Description      string          `json:"description"`
	NotifyMemberIds  []string        `json:"notifyMemberIds"`
	AllReviews       []ReviewOutput  `json:"allReviews"`
	ReviewStatus     string          `json:"reviewStatus"`
	AppliedDate      *int64          `json:"appliedDate,omitempty"`
}

ConditionOutput struct for ConditionOutput

func NewConditionOutput ¶

func NewConditionOutput(id string, execution ExecutionOutput, description string, notifyMemberIds []string, allReviews []ReviewOutput, reviewStatus string) *ConditionOutput

NewConditionOutput instantiates a new ConditionOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConditionOutputWithDefaults ¶

func NewConditionOutputWithDefaults() *ConditionOutput

NewConditionOutputWithDefaults instantiates a new ConditionOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConditionOutput) GetAllReviews ¶

func (o *ConditionOutput) GetAllReviews() []ReviewOutput

GetAllReviews returns the AllReviews field value

func (*ConditionOutput) GetAllReviewsOk ¶

func (o *ConditionOutput) GetAllReviewsOk() ([]ReviewOutput, bool)

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

func (*ConditionOutput) GetAppliedDate ¶

func (o *ConditionOutput) GetAppliedDate() int64

GetAppliedDate returns the AppliedDate field value if set, zero value otherwise.

func (*ConditionOutput) GetAppliedDateOk ¶

func (o *ConditionOutput) GetAppliedDateOk() (*int64, bool)

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

func (*ConditionOutput) GetDescription ¶

func (o *ConditionOutput) GetDescription() string

GetDescription returns the Description field value

func (*ConditionOutput) GetDescriptionOk ¶

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

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

func (*ConditionOutput) GetExecution ¶

func (o *ConditionOutput) GetExecution() ExecutionOutput

GetExecution returns the Execution field value

func (*ConditionOutput) GetExecutionDate ¶

func (o *ConditionOutput) GetExecutionDate() int64

GetExecutionDate returns the ExecutionDate field value if set, zero value otherwise.

func (*ConditionOutput) GetExecutionDateOk ¶

func (o *ConditionOutput) GetExecutionDateOk() (*int64, bool)

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

func (*ConditionOutput) GetExecutionOk ¶

func (o *ConditionOutput) GetExecutionOk() (*ExecutionOutput, bool)

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

func (*ConditionOutput) GetId ¶

func (o *ConditionOutput) GetId() string

GetId returns the Id field value

func (*ConditionOutput) GetIdOk ¶

func (o *ConditionOutput) GetIdOk() (*string, bool)

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

func (*ConditionOutput) GetKind ¶

func (o *ConditionOutput) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ConditionOutput) GetKindOk ¶

func (o *ConditionOutput) GetKindOk() (*string, bool)

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

func (*ConditionOutput) GetNotifyMemberIds ¶

func (o *ConditionOutput) GetNotifyMemberIds() []string

GetNotifyMemberIds returns the NotifyMemberIds field value

func (*ConditionOutput) GetNotifyMemberIdsOk ¶

func (o *ConditionOutput) GetNotifyMemberIdsOk() ([]string, bool)

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

func (*ConditionOutput) GetReviewStatus ¶

func (o *ConditionOutput) GetReviewStatus() string

GetReviewStatus returns the ReviewStatus field value

func (*ConditionOutput) GetReviewStatusOk ¶

func (o *ConditionOutput) GetReviewStatusOk() (*string, bool)

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

func (*ConditionOutput) GetScheduleKind ¶

func (o *ConditionOutput) GetScheduleKind() string

GetScheduleKind returns the ScheduleKind field value if set, zero value otherwise.

func (*ConditionOutput) GetScheduleKindOk ¶

func (o *ConditionOutput) GetScheduleKindOk() (*string, bool)

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

func (*ConditionOutput) GetWaitDuration ¶

func (o *ConditionOutput) GetWaitDuration() int32

GetWaitDuration returns the WaitDuration field value if set, zero value otherwise.

func (*ConditionOutput) GetWaitDurationOk ¶

func (o *ConditionOutput) GetWaitDurationOk() (*int32, bool)

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

func (*ConditionOutput) GetWaitDurationUnit ¶

func (o *ConditionOutput) GetWaitDurationUnit() string

GetWaitDurationUnit returns the WaitDurationUnit field value if set, zero value otherwise.

func (*ConditionOutput) GetWaitDurationUnitOk ¶

func (o *ConditionOutput) GetWaitDurationUnitOk() (*string, bool)

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

func (*ConditionOutput) HasAppliedDate ¶

func (o *ConditionOutput) HasAppliedDate() bool

HasAppliedDate returns a boolean if a field has been set.

func (*ConditionOutput) HasExecutionDate ¶

func (o *ConditionOutput) HasExecutionDate() bool

HasExecutionDate returns a boolean if a field has been set.

func (*ConditionOutput) HasKind ¶

func (o *ConditionOutput) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ConditionOutput) HasScheduleKind ¶

func (o *ConditionOutput) HasScheduleKind() bool

HasScheduleKind returns a boolean if a field has been set.

func (*ConditionOutput) HasWaitDuration ¶

func (o *ConditionOutput) HasWaitDuration() bool

HasWaitDuration returns a boolean if a field has been set.

func (*ConditionOutput) HasWaitDurationUnit ¶

func (o *ConditionOutput) HasWaitDurationUnit() bool

HasWaitDurationUnit returns a boolean if a field has been set.

func (ConditionOutput) MarshalJSON ¶

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

func (*ConditionOutput) SetAllReviews ¶

func (o *ConditionOutput) SetAllReviews(v []ReviewOutput)

SetAllReviews sets field value

func (*ConditionOutput) SetAppliedDate ¶

func (o *ConditionOutput) SetAppliedDate(v int64)

SetAppliedDate gets a reference to the given int64 and assigns it to the AppliedDate field.

func (*ConditionOutput) SetDescription ¶

func (o *ConditionOutput) SetDescription(v string)

SetDescription sets field value

func (*ConditionOutput) SetExecution ¶

func (o *ConditionOutput) SetExecution(v ExecutionOutput)

SetExecution sets field value

func (*ConditionOutput) SetExecutionDate ¶

func (o *ConditionOutput) SetExecutionDate(v int64)

SetExecutionDate gets a reference to the given int64 and assigns it to the ExecutionDate field.

func (*ConditionOutput) SetId ¶

func (o *ConditionOutput) SetId(v string)

SetId sets field value

func (*ConditionOutput) SetKind ¶

func (o *ConditionOutput) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ConditionOutput) SetNotifyMemberIds ¶

func (o *ConditionOutput) SetNotifyMemberIds(v []string)

SetNotifyMemberIds sets field value

func (*ConditionOutput) SetReviewStatus ¶

func (o *ConditionOutput) SetReviewStatus(v string)

SetReviewStatus sets field value

func (*ConditionOutput) SetScheduleKind ¶

func (o *ConditionOutput) SetScheduleKind(v string)

SetScheduleKind gets a reference to the given string and assigns it to the ScheduleKind field.

func (*ConditionOutput) SetWaitDuration ¶

func (o *ConditionOutput) SetWaitDuration(v int32)

SetWaitDuration gets a reference to the given int32 and assigns it to the WaitDuration field.

func (*ConditionOutput) SetWaitDurationUnit ¶

func (o *ConditionOutput) SetWaitDurationUnit(v string)

SetWaitDurationUnit gets a reference to the given string and assigns it to the WaitDurationUnit field.

type ConfidenceIntervalRep ¶

type ConfidenceIntervalRep struct {
	Upper *float32 `json:"upper,omitempty"`
	Lower *float32 `json:"lower,omitempty"`
}

ConfidenceIntervalRep struct for ConfidenceIntervalRep

func NewConfidenceIntervalRep ¶

func NewConfidenceIntervalRep() *ConfidenceIntervalRep

NewConfidenceIntervalRep instantiates a new ConfidenceIntervalRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConfidenceIntervalRepWithDefaults ¶

func NewConfidenceIntervalRepWithDefaults() *ConfidenceIntervalRep

NewConfidenceIntervalRepWithDefaults instantiates a new ConfidenceIntervalRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConfidenceIntervalRep) GetLower ¶

func (o *ConfidenceIntervalRep) GetLower() float32

GetLower returns the Lower field value if set, zero value otherwise.

func (*ConfidenceIntervalRep) GetLowerOk ¶

func (o *ConfidenceIntervalRep) GetLowerOk() (*float32, bool)

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

func (*ConfidenceIntervalRep) GetUpper ¶

func (o *ConfidenceIntervalRep) GetUpper() float32

GetUpper returns the Upper field value if set, zero value otherwise.

func (*ConfidenceIntervalRep) GetUpperOk ¶

func (o *ConfidenceIntervalRep) GetUpperOk() (*float32, bool)

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

func (*ConfidenceIntervalRep) HasLower ¶

func (o *ConfidenceIntervalRep) HasLower() bool

HasLower returns a boolean if a field has been set.

func (*ConfidenceIntervalRep) HasUpper ¶

func (o *ConfidenceIntervalRep) HasUpper() bool

HasUpper returns a boolean if a field has been set.

func (ConfidenceIntervalRep) MarshalJSON ¶

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

func (*ConfidenceIntervalRep) SetLower ¶

func (o *ConfidenceIntervalRep) SetLower(v float32)

SetLower gets a reference to the given float32 and assigns it to the Lower field.

func (*ConfidenceIntervalRep) SetUpper ¶

func (o *ConfidenceIntervalRep) SetUpper(v float32)

SetUpper gets a reference to the given float32 and assigns it to the Upper field.

type Configuration ¶

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration ¶

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader ¶

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL ¶

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext ¶

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

ServerURLWithContext returns a new server URL given an endpoint

type Conflict ¶

type Conflict struct {
	Instruction map[string]interface{} `json:"instruction,omitempty"`
	// Reason why the conflict exists
	Reason *string `json:"reason,omitempty"`
}

Conflict struct for Conflict

func NewConflict ¶

func NewConflict() *Conflict

NewConflict instantiates a new Conflict object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConflictWithDefaults ¶

func NewConflictWithDefaults() *Conflict

NewConflictWithDefaults instantiates a new Conflict object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Conflict) GetInstruction ¶

func (o *Conflict) GetInstruction() map[string]interface{}

GetInstruction returns the Instruction field value if set, zero value otherwise.

func (*Conflict) GetInstructionOk ¶

func (o *Conflict) GetInstructionOk() (map[string]interface{}, bool)

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

func (*Conflict) GetReason ¶

func (o *Conflict) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*Conflict) GetReasonOk ¶

func (o *Conflict) GetReasonOk() (*string, bool)

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

func (*Conflict) HasInstruction ¶

func (o *Conflict) HasInstruction() bool

HasInstruction returns a boolean if a field has been set.

func (*Conflict) HasReason ¶

func (o *Conflict) HasReason() bool

HasReason returns a boolean if a field has been set.

func (Conflict) MarshalJSON ¶

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

func (*Conflict) SetInstruction ¶

func (o *Conflict) SetInstruction(v map[string]interface{})

SetInstruction gets a reference to the given map[string]interface{} and assigns it to the Instruction field.

func (*Conflict) SetReason ¶

func (o *Conflict) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

type ConflictOutput ¶

type ConflictOutput struct {
	// The stage ID
	StageId string `json:"stageId"`
	// Message about the conflict
	Message string `json:"message"`
}

ConflictOutput struct for ConflictOutput

func NewConflictOutput ¶

func NewConflictOutput(stageId string, message string) *ConflictOutput

NewConflictOutput instantiates a new ConflictOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConflictOutputWithDefaults ¶

func NewConflictOutputWithDefaults() *ConflictOutput

NewConflictOutputWithDefaults instantiates a new ConflictOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConflictOutput) GetMessage ¶

func (o *ConflictOutput) GetMessage() string

GetMessage returns the Message field value

func (*ConflictOutput) GetMessageOk ¶

func (o *ConflictOutput) GetMessageOk() (*string, bool)

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

func (*ConflictOutput) GetStageId ¶

func (o *ConflictOutput) GetStageId() string

GetStageId returns the StageId field value

func (*ConflictOutput) GetStageIdOk ¶

func (o *ConflictOutput) GetStageIdOk() (*string, bool)

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

func (ConflictOutput) MarshalJSON ¶

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

func (*ConflictOutput) SetMessage ¶

func (o *ConflictOutput) SetMessage(v string)

SetMessage sets field value

func (*ConflictOutput) SetStageId ¶

func (o *ConflictOutput) SetStageId(v string)

SetStageId sets field value

type ContextAttributeName ¶

type ContextAttributeName struct {
	// A context attribute's name.
	Name string `json:"name"`
	// A relative estimate of the number of contexts seen recently that have an attribute with the associated name.
	Weight int32 `json:"weight"`
	// Whether or not the attribute has one or more redacted values.
	Redacted *bool `json:"redacted,omitempty"`
}

ContextAttributeName struct for ContextAttributeName

func NewContextAttributeName ¶

func NewContextAttributeName(name string, weight int32) *ContextAttributeName

NewContextAttributeName instantiates a new ContextAttributeName object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextAttributeNameWithDefaults ¶

func NewContextAttributeNameWithDefaults() *ContextAttributeName

NewContextAttributeNameWithDefaults instantiates a new ContextAttributeName object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextAttributeName) GetName ¶

func (o *ContextAttributeName) GetName() string

GetName returns the Name field value

func (*ContextAttributeName) GetNameOk ¶

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

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

func (*ContextAttributeName) GetRedacted ¶

func (o *ContextAttributeName) GetRedacted() bool

GetRedacted returns the Redacted field value if set, zero value otherwise.

func (*ContextAttributeName) GetRedactedOk ¶

func (o *ContextAttributeName) GetRedactedOk() (*bool, bool)

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

func (*ContextAttributeName) GetWeight ¶

func (o *ContextAttributeName) GetWeight() int32

GetWeight returns the Weight field value

func (*ContextAttributeName) GetWeightOk ¶

func (o *ContextAttributeName) GetWeightOk() (*int32, bool)

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

func (*ContextAttributeName) HasRedacted ¶

func (o *ContextAttributeName) HasRedacted() bool

HasRedacted returns a boolean if a field has been set.

func (ContextAttributeName) MarshalJSON ¶

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

func (*ContextAttributeName) SetName ¶

func (o *ContextAttributeName) SetName(v string)

SetName sets field value

func (*ContextAttributeName) SetRedacted ¶

func (o *ContextAttributeName) SetRedacted(v bool)

SetRedacted gets a reference to the given bool and assigns it to the Redacted field.

func (*ContextAttributeName) SetWeight ¶

func (o *ContextAttributeName) SetWeight(v int32)

SetWeight sets field value

type ContextAttributeNames ¶

type ContextAttributeNames struct {
	// The kind associated with this collection of context attribute names.
	Kind string `json:"kind"`
	// A collection of context attribute names.
	Names []ContextAttributeName `json:"names"`
}

ContextAttributeNames struct for ContextAttributeNames

func NewContextAttributeNames ¶

func NewContextAttributeNames(kind string, names []ContextAttributeName) *ContextAttributeNames

NewContextAttributeNames instantiates a new ContextAttributeNames object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextAttributeNamesWithDefaults ¶

func NewContextAttributeNamesWithDefaults() *ContextAttributeNames

NewContextAttributeNamesWithDefaults instantiates a new ContextAttributeNames object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextAttributeNames) GetKind ¶

func (o *ContextAttributeNames) GetKind() string

GetKind returns the Kind field value

func (*ContextAttributeNames) GetKindOk ¶

func (o *ContextAttributeNames) GetKindOk() (*string, bool)

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

func (*ContextAttributeNames) GetNames ¶

GetNames returns the Names field value

func (*ContextAttributeNames) GetNamesOk ¶

func (o *ContextAttributeNames) GetNamesOk() ([]ContextAttributeName, bool)

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

func (ContextAttributeNames) MarshalJSON ¶

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

func (*ContextAttributeNames) SetKind ¶

func (o *ContextAttributeNames) SetKind(v string)

SetKind sets field value

func (*ContextAttributeNames) SetNames ¶

SetNames sets field value

type ContextAttributeNamesCollection ¶

type ContextAttributeNamesCollection struct {
	// A collection of context attribute name data grouped by kind.
	Items []ContextAttributeNames `json:"items"`
}

ContextAttributeNamesCollection struct for ContextAttributeNamesCollection

func NewContextAttributeNamesCollection ¶

func NewContextAttributeNamesCollection(items []ContextAttributeNames) *ContextAttributeNamesCollection

NewContextAttributeNamesCollection instantiates a new ContextAttributeNamesCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextAttributeNamesCollectionWithDefaults ¶

func NewContextAttributeNamesCollectionWithDefaults() *ContextAttributeNamesCollection

NewContextAttributeNamesCollectionWithDefaults instantiates a new ContextAttributeNamesCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextAttributeNamesCollection) GetItems ¶

GetItems returns the Items field value

func (*ContextAttributeNamesCollection) GetItemsOk ¶

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

func (ContextAttributeNamesCollection) MarshalJSON ¶

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

func (*ContextAttributeNamesCollection) SetItems ¶

SetItems sets field value

type ContextAttributeValue ¶

type ContextAttributeValue struct {
	// A value for a context attribute.
	Name interface{} `json:"name"`
	// A relative estimate of the number of contexts seen recently that have a matching value for a given attribute.
	Weight int32 `json:"weight"`
}

ContextAttributeValue struct for ContextAttributeValue

func NewContextAttributeValue ¶

func NewContextAttributeValue(name interface{}, weight int32) *ContextAttributeValue

NewContextAttributeValue instantiates a new ContextAttributeValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextAttributeValueWithDefaults ¶

func NewContextAttributeValueWithDefaults() *ContextAttributeValue

NewContextAttributeValueWithDefaults instantiates a new ContextAttributeValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextAttributeValue) GetName ¶

func (o *ContextAttributeValue) GetName() interface{}

GetName returns the Name field value If the value is explicit nil, the zero value for interface{} will be returned

func (*ContextAttributeValue) GetNameOk ¶

func (o *ContextAttributeValue) GetNameOk() (*interface{}, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContextAttributeValue) GetWeight ¶

func (o *ContextAttributeValue) GetWeight() int32

GetWeight returns the Weight field value

func (*ContextAttributeValue) GetWeightOk ¶

func (o *ContextAttributeValue) GetWeightOk() (*int32, bool)

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

func (ContextAttributeValue) MarshalJSON ¶

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

func (*ContextAttributeValue) SetName ¶

func (o *ContextAttributeValue) SetName(v interface{})

SetName sets field value

func (*ContextAttributeValue) SetWeight ¶

func (o *ContextAttributeValue) SetWeight(v int32)

SetWeight sets field value

type ContextAttributeValues ¶

type ContextAttributeValues struct {
	// The kind associated with this collection of context attribute values.
	Kind string `json:"kind"`
	// A collection of context attribute values.
	Values []ContextAttributeValue `json:"values"`
}

ContextAttributeValues struct for ContextAttributeValues

func NewContextAttributeValues ¶

func NewContextAttributeValues(kind string, values []ContextAttributeValue) *ContextAttributeValues

NewContextAttributeValues instantiates a new ContextAttributeValues object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextAttributeValuesWithDefaults ¶

func NewContextAttributeValuesWithDefaults() *ContextAttributeValues

NewContextAttributeValuesWithDefaults instantiates a new ContextAttributeValues object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextAttributeValues) GetKind ¶

func (o *ContextAttributeValues) GetKind() string

GetKind returns the Kind field value

func (*ContextAttributeValues) GetKindOk ¶

func (o *ContextAttributeValues) GetKindOk() (*string, bool)

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

func (*ContextAttributeValues) GetValues ¶

GetValues returns the Values field value

func (*ContextAttributeValues) GetValuesOk ¶

func (o *ContextAttributeValues) GetValuesOk() ([]ContextAttributeValue, bool)

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

func (ContextAttributeValues) MarshalJSON ¶

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

func (*ContextAttributeValues) SetKind ¶

func (o *ContextAttributeValues) SetKind(v string)

SetKind sets field value

func (*ContextAttributeValues) SetValues ¶

SetValues sets field value

type ContextAttributeValuesCollection ¶

type ContextAttributeValuesCollection struct {
	// A collection of context attribute value data grouped by kind.
	Items []ContextAttributeValues `json:"items"`
}

ContextAttributeValuesCollection struct for ContextAttributeValuesCollection

func NewContextAttributeValuesCollection ¶

func NewContextAttributeValuesCollection(items []ContextAttributeValues) *ContextAttributeValuesCollection

NewContextAttributeValuesCollection instantiates a new ContextAttributeValuesCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextAttributeValuesCollectionWithDefaults ¶

func NewContextAttributeValuesCollectionWithDefaults() *ContextAttributeValuesCollection

NewContextAttributeValuesCollectionWithDefaults instantiates a new ContextAttributeValuesCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextAttributeValuesCollection) GetItems ¶

GetItems returns the Items field value

func (*ContextAttributeValuesCollection) GetItemsOk ¶

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

func (ContextAttributeValuesCollection) MarshalJSON ¶

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

func (*ContextAttributeValuesCollection) SetItems ¶

SetItems sets field value

type ContextInstanceEvaluation ¶

type ContextInstanceEvaluation struct {
	// Name of the flag.
	Name string `json:"name"`
	// Key of the flag.
	Key string `json:"key"`
	// The value of the flag variation that the context receives. If there is no defined default rule, this is null.
	Value  interface{}                      `json:"_value"`
	Reason *ContextInstanceEvaluationReason `json:"reason,omitempty"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

ContextInstanceEvaluation struct for ContextInstanceEvaluation

func NewContextInstanceEvaluation ¶

func NewContextInstanceEvaluation(name string, key string, value interface{}, links map[string]Link) *ContextInstanceEvaluation

NewContextInstanceEvaluation instantiates a new ContextInstanceEvaluation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextInstanceEvaluationWithDefaults ¶

func NewContextInstanceEvaluationWithDefaults() *ContextInstanceEvaluation

NewContextInstanceEvaluationWithDefaults instantiates a new ContextInstanceEvaluation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextInstanceEvaluation) GetKey ¶

func (o *ContextInstanceEvaluation) GetKey() string

GetKey returns the Key field value

func (*ContextInstanceEvaluation) GetKeyOk ¶

func (o *ContextInstanceEvaluation) GetKeyOk() (*string, bool)

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

func (o *ContextInstanceEvaluation) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ContextInstanceEvaluation) GetLinksOk ¶

func (o *ContextInstanceEvaluation) GetLinksOk() (*map[string]Link, bool)

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

func (*ContextInstanceEvaluation) GetName ¶

func (o *ContextInstanceEvaluation) GetName() string

GetName returns the Name field value

func (*ContextInstanceEvaluation) GetNameOk ¶

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

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

func (*ContextInstanceEvaluation) GetReason ¶

GetReason returns the Reason field value if set, zero value otherwise.

func (*ContextInstanceEvaluation) GetReasonOk ¶

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

func (*ContextInstanceEvaluation) GetValue ¶

func (o *ContextInstanceEvaluation) GetValue() interface{}

GetValue returns the Value field value If the value is explicit nil, the zero value for interface{} will be returned

func (*ContextInstanceEvaluation) GetValueOk ¶

func (o *ContextInstanceEvaluation) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContextInstanceEvaluation) HasReason ¶

func (o *ContextInstanceEvaluation) HasReason() bool

HasReason returns a boolean if a field has been set.

func (ContextInstanceEvaluation) MarshalJSON ¶

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

func (*ContextInstanceEvaluation) SetKey ¶

func (o *ContextInstanceEvaluation) SetKey(v string)

SetKey sets field value

func (o *ContextInstanceEvaluation) SetLinks(v map[string]Link)

SetLinks sets field value

func (*ContextInstanceEvaluation) SetName ¶

func (o *ContextInstanceEvaluation) SetName(v string)

SetName sets field value

func (*ContextInstanceEvaluation) SetReason ¶

SetReason gets a reference to the given ContextInstanceEvaluationReason and assigns it to the Reason field.

func (*ContextInstanceEvaluation) SetValue ¶

func (o *ContextInstanceEvaluation) SetValue(v interface{})

SetValue sets field value

type ContextInstanceEvaluationReason ¶

type ContextInstanceEvaluationReason struct {
	// Describes the general reason that LaunchDarkly selected this variation.
	Kind string `json:"kind"`
	// The positional index of the matching rule if the kind is 'RULE_MATCH'. The index is 0-based.
	RuleIndex *int32 `json:"ruleIndex,omitempty"`
	// The unique identifier of the matching rule if the kind is 'RULE_MATCH'.
	RuleID *string `json:"ruleID,omitempty"`
	// The key of the flag that failed if the kind is 'PREREQUISITE_FAILED'.
	PrerequisiteKey *string `json:"prerequisiteKey,omitempty"`
	// Indicates whether the context was evaluated as part of an experiment.
	InExperiment *bool `json:"inExperiment,omitempty"`
	// The specific error type if the kind is 'ERROR'.
	ErrorKind *string `json:"errorKind,omitempty"`
}

ContextInstanceEvaluationReason struct for ContextInstanceEvaluationReason

func NewContextInstanceEvaluationReason ¶

func NewContextInstanceEvaluationReason(kind string) *ContextInstanceEvaluationReason

NewContextInstanceEvaluationReason instantiates a new ContextInstanceEvaluationReason object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextInstanceEvaluationReasonWithDefaults ¶

func NewContextInstanceEvaluationReasonWithDefaults() *ContextInstanceEvaluationReason

NewContextInstanceEvaluationReasonWithDefaults instantiates a new ContextInstanceEvaluationReason object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextInstanceEvaluationReason) GetErrorKind ¶

func (o *ContextInstanceEvaluationReason) GetErrorKind() string

GetErrorKind returns the ErrorKind field value if set, zero value otherwise.

func (*ContextInstanceEvaluationReason) GetErrorKindOk ¶

func (o *ContextInstanceEvaluationReason) GetErrorKindOk() (*string, bool)

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

func (*ContextInstanceEvaluationReason) GetInExperiment ¶

func (o *ContextInstanceEvaluationReason) GetInExperiment() bool

GetInExperiment returns the InExperiment field value if set, zero value otherwise.

func (*ContextInstanceEvaluationReason) GetInExperimentOk ¶

func (o *ContextInstanceEvaluationReason) GetInExperimentOk() (*bool, bool)

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

func (*ContextInstanceEvaluationReason) GetKind ¶

GetKind returns the Kind field value

func (*ContextInstanceEvaluationReason) GetKindOk ¶

func (o *ContextInstanceEvaluationReason) GetKindOk() (*string, bool)

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

func (*ContextInstanceEvaluationReason) GetPrerequisiteKey ¶

func (o *ContextInstanceEvaluationReason) GetPrerequisiteKey() string

GetPrerequisiteKey returns the PrerequisiteKey field value if set, zero value otherwise.

func (*ContextInstanceEvaluationReason) GetPrerequisiteKeyOk ¶

func (o *ContextInstanceEvaluationReason) GetPrerequisiteKeyOk() (*string, bool)

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

func (*ContextInstanceEvaluationReason) GetRuleID ¶

func (o *ContextInstanceEvaluationReason) GetRuleID() string

GetRuleID returns the RuleID field value if set, zero value otherwise.

func (*ContextInstanceEvaluationReason) GetRuleIDOk ¶

func (o *ContextInstanceEvaluationReason) GetRuleIDOk() (*string, bool)

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

func (*ContextInstanceEvaluationReason) GetRuleIndex ¶

func (o *ContextInstanceEvaluationReason) GetRuleIndex() int32

GetRuleIndex returns the RuleIndex field value if set, zero value otherwise.

func (*ContextInstanceEvaluationReason) GetRuleIndexOk ¶

func (o *ContextInstanceEvaluationReason) GetRuleIndexOk() (*int32, bool)

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

func (*ContextInstanceEvaluationReason) HasErrorKind ¶

func (o *ContextInstanceEvaluationReason) HasErrorKind() bool

HasErrorKind returns a boolean if a field has been set.

func (*ContextInstanceEvaluationReason) HasInExperiment ¶

func (o *ContextInstanceEvaluationReason) HasInExperiment() bool

HasInExperiment returns a boolean if a field has been set.

func (*ContextInstanceEvaluationReason) HasPrerequisiteKey ¶

func (o *ContextInstanceEvaluationReason) HasPrerequisiteKey() bool

HasPrerequisiteKey returns a boolean if a field has been set.

func (*ContextInstanceEvaluationReason) HasRuleID ¶

func (o *ContextInstanceEvaluationReason) HasRuleID() bool

HasRuleID returns a boolean if a field has been set.

func (*ContextInstanceEvaluationReason) HasRuleIndex ¶

func (o *ContextInstanceEvaluationReason) HasRuleIndex() bool

HasRuleIndex returns a boolean if a field has been set.

func (ContextInstanceEvaluationReason) MarshalJSON ¶

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

func (*ContextInstanceEvaluationReason) SetErrorKind ¶

func (o *ContextInstanceEvaluationReason) SetErrorKind(v string)

SetErrorKind gets a reference to the given string and assigns it to the ErrorKind field.

func (*ContextInstanceEvaluationReason) SetInExperiment ¶

func (o *ContextInstanceEvaluationReason) SetInExperiment(v bool)

SetInExperiment gets a reference to the given bool and assigns it to the InExperiment field.

func (*ContextInstanceEvaluationReason) SetKind ¶

SetKind sets field value

func (*ContextInstanceEvaluationReason) SetPrerequisiteKey ¶

func (o *ContextInstanceEvaluationReason) SetPrerequisiteKey(v string)

SetPrerequisiteKey gets a reference to the given string and assigns it to the PrerequisiteKey field.

func (*ContextInstanceEvaluationReason) SetRuleID ¶

func (o *ContextInstanceEvaluationReason) SetRuleID(v string)

SetRuleID gets a reference to the given string and assigns it to the RuleID field.

func (*ContextInstanceEvaluationReason) SetRuleIndex ¶

func (o *ContextInstanceEvaluationReason) SetRuleIndex(v int32)

SetRuleIndex gets a reference to the given int32 and assigns it to the RuleIndex field.

type ContextInstanceEvaluations ¶

type ContextInstanceEvaluations struct {
	// Details on the flag evaluations for this context instance
	Items []ContextInstanceEvaluation `json:"items"`
	// The number of flags
	TotalCount *int32 `json:"totalCount,omitempty"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

ContextInstanceEvaluations struct for ContextInstanceEvaluations

func NewContextInstanceEvaluations ¶

func NewContextInstanceEvaluations(items []ContextInstanceEvaluation, links map[string]Link) *ContextInstanceEvaluations

NewContextInstanceEvaluations instantiates a new ContextInstanceEvaluations object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextInstanceEvaluationsWithDefaults ¶

func NewContextInstanceEvaluationsWithDefaults() *ContextInstanceEvaluations

NewContextInstanceEvaluationsWithDefaults instantiates a new ContextInstanceEvaluations object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextInstanceEvaluations) GetItems ¶

GetItems returns the Items field value

func (*ContextInstanceEvaluations) GetItemsOk ¶

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

func (o *ContextInstanceEvaluations) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ContextInstanceEvaluations) GetLinksOk ¶

func (o *ContextInstanceEvaluations) GetLinksOk() (*map[string]Link, bool)

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

func (*ContextInstanceEvaluations) GetTotalCount ¶

func (o *ContextInstanceEvaluations) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*ContextInstanceEvaluations) GetTotalCountOk ¶

func (o *ContextInstanceEvaluations) GetTotalCountOk() (*int32, bool)

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

func (*ContextInstanceEvaluations) HasTotalCount ¶

func (o *ContextInstanceEvaluations) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (ContextInstanceEvaluations) MarshalJSON ¶

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

func (*ContextInstanceEvaluations) SetItems ¶

SetItems sets field value

func (o *ContextInstanceEvaluations) SetLinks(v map[string]Link)

SetLinks sets field value

func (*ContextInstanceEvaluations) SetTotalCount ¶

func (o *ContextInstanceEvaluations) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type ContextInstanceRecord ¶

type ContextInstanceRecord struct {
	// Timestamp of the last time an evaluation occurred for this context instance
	LastSeen *time.Time `json:"lastSeen,omitempty"`
	// The context instance ID
	Id string `json:"id"`
	// An identifier representing the application where the LaunchDarkly SDK is running
	ApplicationId *string `json:"applicationId,omitempty"`
	// A list of the context kinds this context was associated with that the SDK removed because they were marked as anonymous at flag evaluation
	AnonymousKinds []string `json:"anonymousKinds,omitempty"`
	// The context, including its kind and attributes
	Context interface{} `json:"context"`
	// The location and content type of related resources
	Links  *map[string]Link `json:"_links,omitempty"`
	Access *Access          `json:"_access,omitempty"`
}

ContextInstanceRecord struct for ContextInstanceRecord

func NewContextInstanceRecord ¶

func NewContextInstanceRecord(id string, context interface{}) *ContextInstanceRecord

NewContextInstanceRecord instantiates a new ContextInstanceRecord object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextInstanceRecordWithDefaults ¶

func NewContextInstanceRecordWithDefaults() *ContextInstanceRecord

NewContextInstanceRecordWithDefaults instantiates a new ContextInstanceRecord object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextInstanceRecord) GetAccess ¶

func (o *ContextInstanceRecord) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*ContextInstanceRecord) GetAccessOk ¶

func (o *ContextInstanceRecord) GetAccessOk() (*Access, bool)

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

func (*ContextInstanceRecord) GetAnonymousKinds ¶

func (o *ContextInstanceRecord) GetAnonymousKinds() []string

GetAnonymousKinds returns the AnonymousKinds field value if set, zero value otherwise.

func (*ContextInstanceRecord) GetAnonymousKindsOk ¶

func (o *ContextInstanceRecord) GetAnonymousKindsOk() ([]string, bool)

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

func (*ContextInstanceRecord) GetApplicationId ¶

func (o *ContextInstanceRecord) GetApplicationId() string

GetApplicationId returns the ApplicationId field value if set, zero value otherwise.

func (*ContextInstanceRecord) GetApplicationIdOk ¶

func (o *ContextInstanceRecord) GetApplicationIdOk() (*string, bool)

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

func (*ContextInstanceRecord) GetContext ¶

func (o *ContextInstanceRecord) GetContext() interface{}

GetContext returns the Context field value If the value is explicit nil, the zero value for interface{} will be returned

func (*ContextInstanceRecord) GetContextOk ¶

func (o *ContextInstanceRecord) GetContextOk() (*interface{}, bool)

GetContextOk returns a tuple with the Context field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContextInstanceRecord) GetId ¶

func (o *ContextInstanceRecord) GetId() string

GetId returns the Id field value

func (*ContextInstanceRecord) GetIdOk ¶

func (o *ContextInstanceRecord) GetIdOk() (*string, bool)

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

func (*ContextInstanceRecord) GetLastSeen ¶

func (o *ContextInstanceRecord) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value if set, zero value otherwise.

func (*ContextInstanceRecord) GetLastSeenOk ¶

func (o *ContextInstanceRecord) GetLastSeenOk() (*time.Time, bool)

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

func (o *ContextInstanceRecord) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ContextInstanceRecord) GetLinksOk ¶

func (o *ContextInstanceRecord) GetLinksOk() (*map[string]Link, bool)

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

func (*ContextInstanceRecord) HasAccess ¶

func (o *ContextInstanceRecord) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*ContextInstanceRecord) HasAnonymousKinds ¶

func (o *ContextInstanceRecord) HasAnonymousKinds() bool

HasAnonymousKinds returns a boolean if a field has been set.

func (*ContextInstanceRecord) HasApplicationId ¶

func (o *ContextInstanceRecord) HasApplicationId() bool

HasApplicationId returns a boolean if a field has been set.

func (*ContextInstanceRecord) HasLastSeen ¶

func (o *ContextInstanceRecord) HasLastSeen() bool

HasLastSeen returns a boolean if a field has been set.

func (o *ContextInstanceRecord) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (ContextInstanceRecord) MarshalJSON ¶

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

func (*ContextInstanceRecord) SetAccess ¶

func (o *ContextInstanceRecord) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*ContextInstanceRecord) SetAnonymousKinds ¶

func (o *ContextInstanceRecord) SetAnonymousKinds(v []string)

SetAnonymousKinds gets a reference to the given []string and assigns it to the AnonymousKinds field.

func (*ContextInstanceRecord) SetApplicationId ¶

func (o *ContextInstanceRecord) SetApplicationId(v string)

SetApplicationId gets a reference to the given string and assigns it to the ApplicationId field.

func (*ContextInstanceRecord) SetContext ¶

func (o *ContextInstanceRecord) SetContext(v interface{})

SetContext sets field value

func (*ContextInstanceRecord) SetId ¶

func (o *ContextInstanceRecord) SetId(v string)

SetId sets field value

func (*ContextInstanceRecord) SetLastSeen ¶

func (o *ContextInstanceRecord) SetLastSeen(v time.Time)

SetLastSeen gets a reference to the given time.Time and assigns it to the LastSeen field.

func (o *ContextInstanceRecord) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type ContextInstanceSearch ¶

type ContextInstanceSearch struct {
	// A collection of context instance filters
	Filter *string `json:"filter,omitempty"`
	// Specifies a field by which to sort. LaunchDarkly supports sorting by timestamp in ascending order by specifying <code>ts</code> for this value, or descending order by specifying <code>-ts</code>.
	Sort *string `json:"sort,omitempty"`
	// Specifies the maximum number of items in the collection to return (max: 50, default: 20)
	Limit *int32 `json:"limit,omitempty"`
	// Limits results to context instances with sort values after the value specified. You can use this for pagination, however, we recommend using the <code>next</code> link instead, because this value is an obfuscated string.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

ContextInstanceSearch struct for ContextInstanceSearch

func NewContextInstanceSearch ¶

func NewContextInstanceSearch() *ContextInstanceSearch

NewContextInstanceSearch instantiates a new ContextInstanceSearch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextInstanceSearchWithDefaults ¶

func NewContextInstanceSearchWithDefaults() *ContextInstanceSearch

NewContextInstanceSearchWithDefaults instantiates a new ContextInstanceSearch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextInstanceSearch) GetContinuationToken ¶

func (o *ContextInstanceSearch) GetContinuationToken() string

GetContinuationToken returns the ContinuationToken field value if set, zero value otherwise.

func (*ContextInstanceSearch) GetContinuationTokenOk ¶

func (o *ContextInstanceSearch) GetContinuationTokenOk() (*string, bool)

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

func (*ContextInstanceSearch) GetFilter ¶

func (o *ContextInstanceSearch) GetFilter() string

GetFilter returns the Filter field value if set, zero value otherwise.

func (*ContextInstanceSearch) GetFilterOk ¶

func (o *ContextInstanceSearch) GetFilterOk() (*string, bool)

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

func (*ContextInstanceSearch) GetLimit ¶

func (o *ContextInstanceSearch) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*ContextInstanceSearch) GetLimitOk ¶

func (o *ContextInstanceSearch) GetLimitOk() (*int32, bool)

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

func (*ContextInstanceSearch) GetSort ¶

func (o *ContextInstanceSearch) GetSort() string

GetSort returns the Sort field value if set, zero value otherwise.

func (*ContextInstanceSearch) GetSortOk ¶

func (o *ContextInstanceSearch) GetSortOk() (*string, bool)

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

func (*ContextInstanceSearch) HasContinuationToken ¶

func (o *ContextInstanceSearch) HasContinuationToken() bool

HasContinuationToken returns a boolean if a field has been set.

func (*ContextInstanceSearch) HasFilter ¶

func (o *ContextInstanceSearch) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*ContextInstanceSearch) HasLimit ¶

func (o *ContextInstanceSearch) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*ContextInstanceSearch) HasSort ¶

func (o *ContextInstanceSearch) HasSort() bool

HasSort returns a boolean if a field has been set.

func (ContextInstanceSearch) MarshalJSON ¶

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

func (*ContextInstanceSearch) SetContinuationToken ¶

func (o *ContextInstanceSearch) SetContinuationToken(v string)

SetContinuationToken gets a reference to the given string and assigns it to the ContinuationToken field.

func (*ContextInstanceSearch) SetFilter ¶

func (o *ContextInstanceSearch) SetFilter(v string)

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*ContextInstanceSearch) SetLimit ¶

func (o *ContextInstanceSearch) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*ContextInstanceSearch) SetSort ¶

func (o *ContextInstanceSearch) SetSort(v string)

SetSort gets a reference to the given string and assigns it to the Sort field.

type ContextInstanceSegmentMembership ¶

type ContextInstanceSegmentMembership struct {
	// A human-friendly name for the segment
	Name string `json:"name"`
	// A unique key used to reference the segment
	Key string `json:"key"`
	// A description of the segment's purpose
	Description string `json:"description"`
	// Whether this is an unbounded segment. Unbounded segments, also called big segments, may be list-based segments with more than 15,000 entries, or synced segments.
	Unbounded bool `json:"unbounded"`
	// If the segment is a synced segment, the name of the external source
	External string `json:"external"`
	// Whether the context is a member of this segment, either by explicit inclusion or by rule matching
	IsMember bool `json:"isMember"`
	// Whether the context is explicitly included in this segment
	IsIndividuallyTargeted bool `json:"isIndividuallyTargeted"`
	// Whether the context is captured by this segment's rules. The value of this field is undefined if the context is also explicitly included (<code>isIndividuallyTargeted</code> is <code>true</code>).
	IsRuleTargeted bool `json:"isRuleTargeted"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

ContextInstanceSegmentMembership struct for ContextInstanceSegmentMembership

func NewContextInstanceSegmentMembership ¶

func NewContextInstanceSegmentMembership(name string, key string, description string, unbounded bool, external string, isMember bool, isIndividuallyTargeted bool, isRuleTargeted bool, links map[string]Link) *ContextInstanceSegmentMembership

NewContextInstanceSegmentMembership instantiates a new ContextInstanceSegmentMembership object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextInstanceSegmentMembershipWithDefaults ¶

func NewContextInstanceSegmentMembershipWithDefaults() *ContextInstanceSegmentMembership

NewContextInstanceSegmentMembershipWithDefaults instantiates a new ContextInstanceSegmentMembership object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextInstanceSegmentMembership) GetDescription ¶

func (o *ContextInstanceSegmentMembership) GetDescription() string

GetDescription returns the Description field value

func (*ContextInstanceSegmentMembership) GetDescriptionOk ¶

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

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

func (*ContextInstanceSegmentMembership) GetExternal ¶

func (o *ContextInstanceSegmentMembership) GetExternal() string

GetExternal returns the External field value

func (*ContextInstanceSegmentMembership) GetExternalOk ¶

func (o *ContextInstanceSegmentMembership) GetExternalOk() (*string, bool)

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

func (*ContextInstanceSegmentMembership) GetIsIndividuallyTargeted ¶

func (o *ContextInstanceSegmentMembership) GetIsIndividuallyTargeted() bool

GetIsIndividuallyTargeted returns the IsIndividuallyTargeted field value

func (*ContextInstanceSegmentMembership) GetIsIndividuallyTargetedOk ¶

func (o *ContextInstanceSegmentMembership) GetIsIndividuallyTargetedOk() (*bool, bool)

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

func (*ContextInstanceSegmentMembership) GetIsMember ¶

func (o *ContextInstanceSegmentMembership) GetIsMember() bool

GetIsMember returns the IsMember field value

func (*ContextInstanceSegmentMembership) GetIsMemberOk ¶

func (o *ContextInstanceSegmentMembership) GetIsMemberOk() (*bool, bool)

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

func (*ContextInstanceSegmentMembership) GetIsRuleTargeted ¶

func (o *ContextInstanceSegmentMembership) GetIsRuleTargeted() bool

GetIsRuleTargeted returns the IsRuleTargeted field value

func (*ContextInstanceSegmentMembership) GetIsRuleTargetedOk ¶

func (o *ContextInstanceSegmentMembership) GetIsRuleTargetedOk() (*bool, bool)

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

func (*ContextInstanceSegmentMembership) GetKey ¶

GetKey returns the Key field value

func (*ContextInstanceSegmentMembership) GetKeyOk ¶

func (o *ContextInstanceSegmentMembership) GetKeyOk() (*string, bool)

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

func (o *ContextInstanceSegmentMembership) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ContextInstanceSegmentMembership) GetLinksOk ¶

func (o *ContextInstanceSegmentMembership) GetLinksOk() (*map[string]Link, bool)

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

func (*ContextInstanceSegmentMembership) GetName ¶

GetName returns the Name field value

func (*ContextInstanceSegmentMembership) GetNameOk ¶

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

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

func (*ContextInstanceSegmentMembership) GetUnbounded ¶

func (o *ContextInstanceSegmentMembership) GetUnbounded() bool

GetUnbounded returns the Unbounded field value

func (*ContextInstanceSegmentMembership) GetUnboundedOk ¶

func (o *ContextInstanceSegmentMembership) GetUnboundedOk() (*bool, bool)

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

func (ContextInstanceSegmentMembership) MarshalJSON ¶

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

func (*ContextInstanceSegmentMembership) SetDescription ¶

func (o *ContextInstanceSegmentMembership) SetDescription(v string)

SetDescription sets field value

func (*ContextInstanceSegmentMembership) SetExternal ¶

func (o *ContextInstanceSegmentMembership) SetExternal(v string)

SetExternal sets field value

func (*ContextInstanceSegmentMembership) SetIsIndividuallyTargeted ¶

func (o *ContextInstanceSegmentMembership) SetIsIndividuallyTargeted(v bool)

SetIsIndividuallyTargeted sets field value

func (*ContextInstanceSegmentMembership) SetIsMember ¶

func (o *ContextInstanceSegmentMembership) SetIsMember(v bool)

SetIsMember sets field value

func (*ContextInstanceSegmentMembership) SetIsRuleTargeted ¶

func (o *ContextInstanceSegmentMembership) SetIsRuleTargeted(v bool)

SetIsRuleTargeted sets field value

func (*ContextInstanceSegmentMembership) SetKey ¶

SetKey sets field value

func (o *ContextInstanceSegmentMembership) SetLinks(v map[string]Link)

SetLinks sets field value

func (*ContextInstanceSegmentMembership) SetName ¶

SetName sets field value

func (*ContextInstanceSegmentMembership) SetUnbounded ¶

func (o *ContextInstanceSegmentMembership) SetUnbounded(v bool)

SetUnbounded sets field value

type ContextInstanceSegmentMemberships ¶

type ContextInstanceSegmentMemberships struct {
	Items []ContextInstanceSegmentMembership `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

ContextInstanceSegmentMemberships struct for ContextInstanceSegmentMemberships

func NewContextInstanceSegmentMemberships ¶

func NewContextInstanceSegmentMemberships(items []ContextInstanceSegmentMembership, links map[string]Link) *ContextInstanceSegmentMemberships

NewContextInstanceSegmentMemberships instantiates a new ContextInstanceSegmentMemberships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextInstanceSegmentMembershipsWithDefaults ¶

func NewContextInstanceSegmentMembershipsWithDefaults() *ContextInstanceSegmentMemberships

NewContextInstanceSegmentMembershipsWithDefaults instantiates a new ContextInstanceSegmentMemberships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextInstanceSegmentMemberships) GetItems ¶

GetItems returns the Items field value

func (*ContextInstanceSegmentMemberships) GetItemsOk ¶

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

func (o *ContextInstanceSegmentMemberships) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ContextInstanceSegmentMemberships) GetLinksOk ¶

func (o *ContextInstanceSegmentMemberships) GetLinksOk() (*map[string]Link, bool)

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

func (ContextInstanceSegmentMemberships) MarshalJSON ¶

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

func (*ContextInstanceSegmentMemberships) SetItems ¶

SetItems sets field value

func (o *ContextInstanceSegmentMemberships) SetLinks(v map[string]Link)

SetLinks sets field value

type ContextInstances ¶

type ContextInstances struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// The number of unique context instances
	TotalCount *int32 `json:"totalCount,omitempty"`
	// The environment ID
	EnvironmentId string `json:"_environmentId"`
	// An obfuscated string that references the last context instance on the previous page of results. You can use this for pagination, however, we recommend using the <code>next</code> link instead.
	ContinuationToken *string `json:"continuationToken,omitempty"`
	// A collection of context instances. Can include multiple versions of context instances that have the same <code>id</code>, but different <code>applicationId</code>s.
	Items []ContextInstanceRecord `json:"items"`
}

ContextInstances struct for ContextInstances

func NewContextInstances ¶

func NewContextInstances(environmentId string, items []ContextInstanceRecord) *ContextInstances

NewContextInstances instantiates a new ContextInstances object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextInstancesWithDefaults ¶

func NewContextInstancesWithDefaults() *ContextInstances

NewContextInstancesWithDefaults instantiates a new ContextInstances object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextInstances) GetContinuationToken ¶

func (o *ContextInstances) GetContinuationToken() string

GetContinuationToken returns the ContinuationToken field value if set, zero value otherwise.

func (*ContextInstances) GetContinuationTokenOk ¶

func (o *ContextInstances) GetContinuationTokenOk() (*string, bool)

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

func (*ContextInstances) GetEnvironmentId ¶

func (o *ContextInstances) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*ContextInstances) GetEnvironmentIdOk ¶

func (o *ContextInstances) GetEnvironmentIdOk() (*string, bool)

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

func (*ContextInstances) GetItems ¶

func (o *ContextInstances) GetItems() []ContextInstanceRecord

GetItems returns the Items field value

func (*ContextInstances) GetItemsOk ¶

func (o *ContextInstances) GetItemsOk() ([]ContextInstanceRecord, bool)

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

func (o *ContextInstances) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ContextInstances) GetLinksOk ¶

func (o *ContextInstances) GetLinksOk() (*map[string]Link, bool)

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

func (*ContextInstances) GetTotalCount ¶

func (o *ContextInstances) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*ContextInstances) GetTotalCountOk ¶

func (o *ContextInstances) GetTotalCountOk() (*int32, bool)

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

func (*ContextInstances) HasContinuationToken ¶

func (o *ContextInstances) HasContinuationToken() bool

HasContinuationToken returns a boolean if a field has been set.

func (o *ContextInstances) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ContextInstances) HasTotalCount ¶

func (o *ContextInstances) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (ContextInstances) MarshalJSON ¶

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

func (*ContextInstances) SetContinuationToken ¶

func (o *ContextInstances) SetContinuationToken(v string)

SetContinuationToken gets a reference to the given string and assigns it to the ContinuationToken field.

func (*ContextInstances) SetEnvironmentId ¶

func (o *ContextInstances) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*ContextInstances) SetItems ¶

func (o *ContextInstances) SetItems(v []ContextInstanceRecord)

SetItems sets field value

func (o *ContextInstances) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ContextInstances) SetTotalCount ¶

func (o *ContextInstances) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type ContextKindRep ¶

type ContextKindRep struct {
	// The context kind key
	Key string `json:"key"`
	// The context kind name
	Name string `json:"name"`
	// The context kind description
	Description string `json:"description"`
	// The context kind version
	Version      int32  `json:"version"`
	CreationDate int64  `json:"creationDate"`
	LastModified int64  `json:"lastModified"`
	LastSeen     *int64 `json:"lastSeen,omitempty"`
	CreatedFrom  string `json:"createdFrom"`
	// Alias for archived.
	HideInTargeting *bool `json:"hideInTargeting,omitempty"`
	// Whether the context kind is archived. Archived context kinds are unavailable for targeting.
	Archived *bool `json:"archived,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

ContextKindRep struct for ContextKindRep

func NewContextKindRep ¶

func NewContextKindRep(key string, name string, description string, version int32, creationDate int64, lastModified int64, createdFrom string) *ContextKindRep

NewContextKindRep instantiates a new ContextKindRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextKindRepWithDefaults ¶

func NewContextKindRepWithDefaults() *ContextKindRep

NewContextKindRepWithDefaults instantiates a new ContextKindRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextKindRep) GetArchived ¶

func (o *ContextKindRep) GetArchived() bool

GetArchived returns the Archived field value if set, zero value otherwise.

func (*ContextKindRep) GetArchivedOk ¶

func (o *ContextKindRep) GetArchivedOk() (*bool, bool)

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

func (*ContextKindRep) GetCreatedFrom ¶

func (o *ContextKindRep) GetCreatedFrom() string

GetCreatedFrom returns the CreatedFrom field value

func (*ContextKindRep) GetCreatedFromOk ¶

func (o *ContextKindRep) GetCreatedFromOk() (*string, bool)

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

func (*ContextKindRep) GetCreationDate ¶

func (o *ContextKindRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*ContextKindRep) GetCreationDateOk ¶

func (o *ContextKindRep) GetCreationDateOk() (*int64, bool)

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

func (*ContextKindRep) GetDescription ¶

func (o *ContextKindRep) GetDescription() string

GetDescription returns the Description field value

func (*ContextKindRep) GetDescriptionOk ¶

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

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

func (*ContextKindRep) GetHideInTargeting ¶

func (o *ContextKindRep) GetHideInTargeting() bool

GetHideInTargeting returns the HideInTargeting field value if set, zero value otherwise.

func (*ContextKindRep) GetHideInTargetingOk ¶

func (o *ContextKindRep) GetHideInTargetingOk() (*bool, bool)

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

func (*ContextKindRep) GetKey ¶

func (o *ContextKindRep) GetKey() string

GetKey returns the Key field value

func (*ContextKindRep) GetKeyOk ¶

func (o *ContextKindRep) GetKeyOk() (*string, bool)

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

func (*ContextKindRep) GetLastModified ¶

func (o *ContextKindRep) GetLastModified() int64

GetLastModified returns the LastModified field value

func (*ContextKindRep) GetLastModifiedOk ¶

func (o *ContextKindRep) GetLastModifiedOk() (*int64, bool)

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

func (*ContextKindRep) GetLastSeen ¶

func (o *ContextKindRep) GetLastSeen() int64

GetLastSeen returns the LastSeen field value if set, zero value otherwise.

func (*ContextKindRep) GetLastSeenOk ¶

func (o *ContextKindRep) GetLastSeenOk() (*int64, bool)

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

func (o *ContextKindRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ContextKindRep) GetLinksOk ¶

func (o *ContextKindRep) GetLinksOk() (*map[string]Link, bool)

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

func (*ContextKindRep) GetName ¶

func (o *ContextKindRep) GetName() string

GetName returns the Name field value

func (*ContextKindRep) GetNameOk ¶

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

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

func (*ContextKindRep) GetVersion ¶

func (o *ContextKindRep) GetVersion() int32

GetVersion returns the Version field value

func (*ContextKindRep) GetVersionOk ¶

func (o *ContextKindRep) GetVersionOk() (*int32, bool)

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

func (*ContextKindRep) HasArchived ¶

func (o *ContextKindRep) HasArchived() bool

HasArchived returns a boolean if a field has been set.

func (*ContextKindRep) HasHideInTargeting ¶

func (o *ContextKindRep) HasHideInTargeting() bool

HasHideInTargeting returns a boolean if a field has been set.

func (*ContextKindRep) HasLastSeen ¶

func (o *ContextKindRep) HasLastSeen() bool

HasLastSeen returns a boolean if a field has been set.

func (o *ContextKindRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (ContextKindRep) MarshalJSON ¶

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

func (*ContextKindRep) SetArchived ¶

func (o *ContextKindRep) SetArchived(v bool)

SetArchived gets a reference to the given bool and assigns it to the Archived field.

func (*ContextKindRep) SetCreatedFrom ¶

func (o *ContextKindRep) SetCreatedFrom(v string)

SetCreatedFrom sets field value

func (*ContextKindRep) SetCreationDate ¶

func (o *ContextKindRep) SetCreationDate(v int64)

SetCreationDate sets field value

func (*ContextKindRep) SetDescription ¶

func (o *ContextKindRep) SetDescription(v string)

SetDescription sets field value

func (*ContextKindRep) SetHideInTargeting ¶

func (o *ContextKindRep) SetHideInTargeting(v bool)

SetHideInTargeting gets a reference to the given bool and assigns it to the HideInTargeting field.

func (*ContextKindRep) SetKey ¶

func (o *ContextKindRep) SetKey(v string)

SetKey sets field value

func (*ContextKindRep) SetLastModified ¶

func (o *ContextKindRep) SetLastModified(v int64)

SetLastModified sets field value

func (*ContextKindRep) SetLastSeen ¶

func (o *ContextKindRep) SetLastSeen(v int64)

SetLastSeen gets a reference to the given int64 and assigns it to the LastSeen field.

func (o *ContextKindRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ContextKindRep) SetName ¶

func (o *ContextKindRep) SetName(v string)

SetName sets field value

func (*ContextKindRep) SetVersion ¶

func (o *ContextKindRep) SetVersion(v int32)

SetVersion sets field value

type ContextKindsCollectionRep ¶

type ContextKindsCollectionRep struct {
	// An array of context kinds
	Items []ContextKindRep `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

ContextKindsCollectionRep struct for ContextKindsCollectionRep

func NewContextKindsCollectionRep ¶

func NewContextKindsCollectionRep(items []ContextKindRep, links map[string]Link) *ContextKindsCollectionRep

NewContextKindsCollectionRep instantiates a new ContextKindsCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextKindsCollectionRepWithDefaults ¶

func NewContextKindsCollectionRepWithDefaults() *ContextKindsCollectionRep

NewContextKindsCollectionRepWithDefaults instantiates a new ContextKindsCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextKindsCollectionRep) GetItems ¶

func (o *ContextKindsCollectionRep) GetItems() []ContextKindRep

GetItems returns the Items field value

func (*ContextKindsCollectionRep) GetItemsOk ¶

func (o *ContextKindsCollectionRep) GetItemsOk() ([]ContextKindRep, bool)

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

func (o *ContextKindsCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ContextKindsCollectionRep) GetLinksOk ¶

func (o *ContextKindsCollectionRep) GetLinksOk() (*map[string]Link, bool)

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

func (ContextKindsCollectionRep) MarshalJSON ¶

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

func (*ContextKindsCollectionRep) SetItems ¶

func (o *ContextKindsCollectionRep) SetItems(v []ContextKindRep)

SetItems sets field value

func (o *ContextKindsCollectionRep) SetLinks(v map[string]Link)

SetLinks sets field value

type ContextRecord ¶

type ContextRecord struct {
	// Timestamp of the last time an evaluation occurred for this context
	LastSeen *time.Time `json:"lastSeen,omitempty"`
	// An identifier representing the application where the LaunchDarkly SDK is running
	ApplicationId *string `json:"applicationId,omitempty"`
	// The context, including its kind and attributes
	Context interface{} `json:"context"`
	// The location and content type of related resources
	Links  *map[string]Link `json:"_links,omitempty"`
	Access *Access          `json:"_access,omitempty"`
	// The total number of associated contexts. Associated contexts are contexts that have appeared in the same context instance, that is, they were part of the same flag evaluation.
	AssociatedContexts *int32 `json:"associatedContexts,omitempty"`
}

ContextRecord struct for ContextRecord

func NewContextRecord ¶

func NewContextRecord(context interface{}) *ContextRecord

NewContextRecord instantiates a new ContextRecord object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextRecordWithDefaults ¶

func NewContextRecordWithDefaults() *ContextRecord

NewContextRecordWithDefaults instantiates a new ContextRecord object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextRecord) GetAccess ¶

func (o *ContextRecord) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*ContextRecord) GetAccessOk ¶

func (o *ContextRecord) GetAccessOk() (*Access, bool)

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

func (*ContextRecord) GetApplicationId ¶

func (o *ContextRecord) GetApplicationId() string

GetApplicationId returns the ApplicationId field value if set, zero value otherwise.

func (*ContextRecord) GetApplicationIdOk ¶

func (o *ContextRecord) GetApplicationIdOk() (*string, bool)

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

func (*ContextRecord) GetAssociatedContexts ¶

func (o *ContextRecord) GetAssociatedContexts() int32

GetAssociatedContexts returns the AssociatedContexts field value if set, zero value otherwise.

func (*ContextRecord) GetAssociatedContextsOk ¶

func (o *ContextRecord) GetAssociatedContextsOk() (*int32, bool)

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

func (*ContextRecord) GetContext ¶

func (o *ContextRecord) GetContext() interface{}

GetContext returns the Context field value If the value is explicit nil, the zero value for interface{} will be returned

func (*ContextRecord) GetContextOk ¶

func (o *ContextRecord) GetContextOk() (*interface{}, bool)

GetContextOk returns a tuple with the Context field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContextRecord) GetLastSeen ¶

func (o *ContextRecord) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value if set, zero value otherwise.

func (*ContextRecord) GetLastSeenOk ¶

func (o *ContextRecord) GetLastSeenOk() (*time.Time, bool)

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

func (o *ContextRecord) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ContextRecord) GetLinksOk ¶

func (o *ContextRecord) GetLinksOk() (*map[string]Link, bool)

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

func (*ContextRecord) HasAccess ¶

func (o *ContextRecord) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*ContextRecord) HasApplicationId ¶

func (o *ContextRecord) HasApplicationId() bool

HasApplicationId returns a boolean if a field has been set.

func (*ContextRecord) HasAssociatedContexts ¶

func (o *ContextRecord) HasAssociatedContexts() bool

HasAssociatedContexts returns a boolean if a field has been set.

func (*ContextRecord) HasLastSeen ¶

func (o *ContextRecord) HasLastSeen() bool

HasLastSeen returns a boolean if a field has been set.

func (o *ContextRecord) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (ContextRecord) MarshalJSON ¶

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

func (*ContextRecord) SetAccess ¶

func (o *ContextRecord) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*ContextRecord) SetApplicationId ¶

func (o *ContextRecord) SetApplicationId(v string)

SetApplicationId gets a reference to the given string and assigns it to the ApplicationId field.

func (*ContextRecord) SetAssociatedContexts ¶

func (o *ContextRecord) SetAssociatedContexts(v int32)

SetAssociatedContexts gets a reference to the given int32 and assigns it to the AssociatedContexts field.

func (*ContextRecord) SetContext ¶

func (o *ContextRecord) SetContext(v interface{})

SetContext sets field value

func (*ContextRecord) SetLastSeen ¶

func (o *ContextRecord) SetLastSeen(v time.Time)

SetLastSeen gets a reference to the given time.Time and assigns it to the LastSeen field.

func (o *ContextRecord) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type ContextSearch ¶

type ContextSearch struct {
	// A collection of context filters
	Filter *string `json:"filter,omitempty"`
	// Specifies a field by which to sort. LaunchDarkly supports sorting by timestamp in ascending order by specifying <code>ts</code> for this value, or descending order by specifying <code>-ts</code>.
	Sort *string `json:"sort,omitempty"`
	// Specifies the maximum number of items in the collection to return (max: 50, default: 20)
	Limit *int32 `json:"limit,omitempty"`
	// Limits results to contexts with sort values after the value specified. You can use this for pagination, however, we recommend using the <code>next</code> link instead, because this value is an obfuscated string.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

ContextSearch struct for ContextSearch

func NewContextSearch ¶

func NewContextSearch() *ContextSearch

NewContextSearch instantiates a new ContextSearch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextSearchWithDefaults ¶

func NewContextSearchWithDefaults() *ContextSearch

NewContextSearchWithDefaults instantiates a new ContextSearch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContextSearch) GetContinuationToken ¶

func (o *ContextSearch) GetContinuationToken() string

GetContinuationToken returns the ContinuationToken field value if set, zero value otherwise.

func (*ContextSearch) GetContinuationTokenOk ¶

func (o *ContextSearch) GetContinuationTokenOk() (*string, bool)

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

func (*ContextSearch) GetFilter ¶

func (o *ContextSearch) GetFilter() string

GetFilter returns the Filter field value if set, zero value otherwise.

func (*ContextSearch) GetFilterOk ¶

func (o *ContextSearch) GetFilterOk() (*string, bool)

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

func (*ContextSearch) GetLimit ¶

func (o *ContextSearch) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*ContextSearch) GetLimitOk ¶

func (o *ContextSearch) GetLimitOk() (*int32, bool)

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

func (*ContextSearch) GetSort ¶

func (o *ContextSearch) GetSort() string

GetSort returns the Sort field value if set, zero value otherwise.

func (*ContextSearch) GetSortOk ¶

func (o *ContextSearch) GetSortOk() (*string, bool)

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

func (*ContextSearch) HasContinuationToken ¶

func (o *ContextSearch) HasContinuationToken() bool

HasContinuationToken returns a boolean if a field has been set.

func (*ContextSearch) HasFilter ¶

func (o *ContextSearch) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*ContextSearch) HasLimit ¶

func (o *ContextSearch) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*ContextSearch) HasSort ¶

func (o *ContextSearch) HasSort() bool

HasSort returns a boolean if a field has been set.

func (ContextSearch) MarshalJSON ¶

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

func (*ContextSearch) SetContinuationToken ¶

func (o *ContextSearch) SetContinuationToken(v string)

SetContinuationToken gets a reference to the given string and assigns it to the ContinuationToken field.

func (*ContextSearch) SetFilter ¶

func (o *ContextSearch) SetFilter(v string)

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*ContextSearch) SetLimit ¶

func (o *ContextSearch) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*ContextSearch) SetSort ¶

func (o *ContextSearch) SetSort(v string)

SetSort gets a reference to the given string and assigns it to the Sort field.

type ContextSettingsApiService ¶

type ContextSettingsApiService service

ContextSettingsApiService ContextSettingsApi service

func (*ContextSettingsApiService) PutContextFlagSetting ¶

func (a *ContextSettingsApiService) PutContextFlagSetting(ctx context.Context, projectKey string, environmentKey string, contextKind string, contextKey string, featureFlagKey string) ApiPutContextFlagSettingRequest

PutContextFlagSetting Update flag settings for context

Enable or disable a feature flag for a context based on its context kind and key.

Omitting the `setting` attribute from the request body, or including a `setting` of `null`, erases the current setting for a context.

If you previously patched the flag, and the patch included the context's data, LaunchDarkly continues to use that data. If LaunchDarkly has never encountered the combination of the context's key and kind before, it calculates the flag values based on the context kind and key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param contextKind The context kind
@param contextKey The context key
@param featureFlagKey The feature flag key
@return ApiPutContextFlagSettingRequest

func (*ContextSettingsApiService) PutContextFlagSettingExecute ¶

func (a *ContextSettingsApiService) PutContextFlagSettingExecute(r ApiPutContextFlagSettingRequest) (*http.Response, error)

Execute executes the request

type Contexts ¶

type Contexts struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// The number of contexts
	TotalCount *int32 `json:"totalCount,omitempty"`
	// The environment ID where the context was evaluated
	EnvironmentId string `json:"_environmentId"`
	// An obfuscated string that references the last context instance on the previous page of results. You can use this for pagination, however, we recommend using the <code>next</code> link instead.
	ContinuationToken *string `json:"continuationToken,omitempty"`
	// A collection of contexts. Can include multiple versions of contexts that have the same <code>kind</code> and <code>key</code>, but different <code>applicationId</code>s.
	Items []ContextRecord `json:"items"`
}

Contexts struct for Contexts

func NewContexts ¶

func NewContexts(environmentId string, items []ContextRecord) *Contexts

NewContexts instantiates a new Contexts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContextsWithDefaults ¶

func NewContextsWithDefaults() *Contexts

NewContextsWithDefaults instantiates a new Contexts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Contexts) GetContinuationToken ¶

func (o *Contexts) GetContinuationToken() string

GetContinuationToken returns the ContinuationToken field value if set, zero value otherwise.

func (*Contexts) GetContinuationTokenOk ¶

func (o *Contexts) GetContinuationTokenOk() (*string, bool)

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

func (*Contexts) GetEnvironmentId ¶

func (o *Contexts) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*Contexts) GetEnvironmentIdOk ¶

func (o *Contexts) GetEnvironmentIdOk() (*string, bool)

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

func (*Contexts) GetItems ¶

func (o *Contexts) GetItems() []ContextRecord

GetItems returns the Items field value

func (*Contexts) GetItemsOk ¶

func (o *Contexts) GetItemsOk() ([]ContextRecord, bool)

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

func (o *Contexts) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Contexts) GetLinksOk ¶

func (o *Contexts) GetLinksOk() (*map[string]Link, bool)

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

func (*Contexts) GetTotalCount ¶

func (o *Contexts) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*Contexts) GetTotalCountOk ¶

func (o *Contexts) GetTotalCountOk() (*int32, bool)

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

func (*Contexts) HasContinuationToken ¶

func (o *Contexts) HasContinuationToken() bool

HasContinuationToken returns a boolean if a field has been set.

func (o *Contexts) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Contexts) HasTotalCount ¶

func (o *Contexts) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (Contexts) MarshalJSON ¶

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

func (*Contexts) SetContinuationToken ¶

func (o *Contexts) SetContinuationToken(v string)

SetContinuationToken gets a reference to the given string and assigns it to the ContinuationToken field.

func (*Contexts) SetEnvironmentId ¶

func (o *Contexts) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*Contexts) SetItems ¶

func (o *Contexts) SetItems(v []ContextRecord)

SetItems sets field value

func (o *Contexts) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*Contexts) SetTotalCount ¶

func (o *Contexts) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type ContextsApiService ¶

type ContextsApiService service

ContextsApiService ContextsApi service

func (*ContextsApiService) DeleteContextInstances ¶

func (a *ContextsApiService) DeleteContextInstances(ctx context.Context, projectKey string, environmentKey string, id string) ApiDeleteContextInstancesRequest

DeleteContextInstances Delete context instances

Delete context instances by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param id The context instance ID
@return ApiDeleteContextInstancesRequest

func (*ContextsApiService) DeleteContextInstancesExecute ¶

func (a *ContextsApiService) DeleteContextInstancesExecute(r ApiDeleteContextInstancesRequest) (*http.Response, error)

Execute executes the request

func (*ContextsApiService) EvaluateContextInstance ¶

func (a *ContextsApiService) EvaluateContextInstance(ctx context.Context, projectKey string, environmentKey string) ApiEvaluateContextInstanceRequest

EvaluateContextInstance Evaluate flags for context instance

Evaluate flags for a context instance, for example, to determine the expected flag variation. **Do not use this API instead of an SDK.** The LaunchDarkly SDKs are specialized for the tasks of evaluating feature flags in your application at scale and generating analytics events based on those evaluations. This API is not designed for that use case. Any evaluations you perform with this API will not be reflected in features such as flag statuses and flag insights. Context instances evaluated by this API will not appear in the Contexts list. To learn more, read [Comparing LaunchDarkly's SDKs and REST API](https://docs.launchdarkly.com/guide/api/comparing-sdk-rest-api).

### Filtering

LaunchDarkly supports the `filter` query param for filtering, with the following fields:

- `query` filters for a string that matches against the flags' keys and names. It is not case sensitive. For example: `filter=query equals dark-mode`. - `tags` filters the list to flags that have all of the tags in the list. For example: `filter=tags contains ["beta","q1"]`.

You can also apply multiple filters at once. For example, setting `filter=query equals dark-mode, tags contains ["beta","q1"]` matches flags which match the key or name `dark-mode` and are tagged `beta` and `q1`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiEvaluateContextInstanceRequest

func (*ContextsApiService) EvaluateContextInstanceExecute ¶

Execute executes the request

@return ContextInstanceEvaluations

func (*ContextsApiService) GetContextAttributeNames ¶

func (a *ContextsApiService) GetContextAttributeNames(ctx context.Context, projectKey string, environmentKey string) ApiGetContextAttributeNamesRequest

GetContextAttributeNames Get context attribute names

Get context attribute names. Returns only the first 100 attribute names per context.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetContextAttributeNamesRequest

func (*ContextsApiService) GetContextAttributeNamesExecute ¶

Execute executes the request

@return ContextAttributeNamesCollection

func (*ContextsApiService) GetContextAttributeValues ¶

func (a *ContextsApiService) GetContextAttributeValues(ctx context.Context, projectKey string, environmentKey string, attributeName string) ApiGetContextAttributeValuesRequest

GetContextAttributeValues Get context attribute values

Get context attribute values.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param attributeName The attribute name
@return ApiGetContextAttributeValuesRequest

func (*ContextsApiService) GetContextAttributeValuesExecute ¶

Execute executes the request

@return ContextAttributeValuesCollection

func (*ContextsApiService) GetContextInstances ¶

func (a *ContextsApiService) GetContextInstances(ctx context.Context, projectKey string, environmentKey string, id string) ApiGetContextInstancesRequest

GetContextInstances Get context instances

Get context instances by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param id The context instance ID
@return ApiGetContextInstancesRequest

func (*ContextsApiService) GetContextInstancesExecute ¶

Execute executes the request

@return ContextInstances

func (*ContextsApiService) GetContextKindsByProjectKey ¶

func (a *ContextsApiService) GetContextKindsByProjectKey(ctx context.Context, projectKey string) ApiGetContextKindsByProjectKeyRequest

GetContextKindsByProjectKey Get context kinds

Get all context kinds for a given project.

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

func (*ContextsApiService) GetContextKindsByProjectKeyExecute ¶

Execute executes the request

@return ContextKindsCollectionRep

func (*ContextsApiService) GetContexts ¶

func (a *ContextsApiService) GetContexts(ctx context.Context, projectKey string, environmentKey string, kind string, key string) ApiGetContextsRequest

GetContexts Get contexts

Get contexts based on kind and key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param kind The context kind
@param key The context key
@return ApiGetContextsRequest

func (*ContextsApiService) GetContextsExecute ¶

func (a *ContextsApiService) GetContextsExecute(r ApiGetContextsRequest) (*Contexts, *http.Response, error)

Execute executes the request

@return Contexts

func (*ContextsApiService) PutContextKind ¶

func (a *ContextsApiService) PutContextKind(ctx context.Context, projectKey string, key string) ApiPutContextKindRequest

PutContextKind Create or update context kind

Create or update a context kind by key. Only the included fields will be updated.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param key The context kind key
@return ApiPutContextKindRequest

func (*ContextsApiService) PutContextKindExecute ¶

Execute executes the request

@return UpsertResponseRep

func (*ContextsApiService) SearchContextInstances ¶

func (a *ContextsApiService) SearchContextInstances(ctx context.Context, projectKey string, environmentKey string) ApiSearchContextInstancesRequest

SearchContextInstances Search for context instances

Search for context instances.

You can use either the query parameters or the request body parameters. If both are provided, there is an error.

To learn more about the filter syntax, read [Filtering contexts and context instances](/tag/Contexts#filtering-contexts-and-context-instances). To learn more about context instances, read [Understanding context instances](https://docs.launchdarkly.com/home/contexts#understanding-context-instances).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiSearchContextInstancesRequest

func (*ContextsApiService) SearchContextInstancesExecute ¶

func (a *ContextsApiService) SearchContextInstancesExecute(r ApiSearchContextInstancesRequest) (*ContextInstances, *http.Response, error)

Execute executes the request

@return ContextInstances

func (*ContextsApiService) SearchContexts ¶

func (a *ContextsApiService) SearchContexts(ctx context.Context, projectKey string, environmentKey string) ApiSearchContextsRequest

SearchContexts Search for contexts

Search for contexts.

You can use either the query parameters or the request body parameters. If both are provided, there is an error.

To learn more about the filter syntax, read [Filtering contexts and context instances](/tag/Contexts#filtering-contexts-and-context-instances). To learn more about contexts, read [Understanding contexts and context kinds](https://docs.launchdarkly.com/home/contexts#understanding-contexts-and-context-kinds).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiSearchContextsRequest

func (*ContextsApiService) SearchContextsExecute ¶

func (a *ContextsApiService) SearchContextsExecute(r ApiSearchContextsRequest) (*Contexts, *http.Response, error)

Execute executes the request

@return Contexts

type CopiedFromEnv ¶

type CopiedFromEnv struct {
	// Key of feature flag copied
	Key string `json:"key"`
	// Version of feature flag copied
	Version *int32 `json:"version,omitempty"`
}

CopiedFromEnv struct for CopiedFromEnv

func NewCopiedFromEnv ¶

func NewCopiedFromEnv(key string) *CopiedFromEnv

NewCopiedFromEnv instantiates a new CopiedFromEnv object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCopiedFromEnvWithDefaults ¶

func NewCopiedFromEnvWithDefaults() *CopiedFromEnv

NewCopiedFromEnvWithDefaults instantiates a new CopiedFromEnv object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CopiedFromEnv) GetKey ¶

func (o *CopiedFromEnv) GetKey() string

GetKey returns the Key field value

func (*CopiedFromEnv) GetKeyOk ¶

func (o *CopiedFromEnv) GetKeyOk() (*string, bool)

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

func (*CopiedFromEnv) GetVersion ¶

func (o *CopiedFromEnv) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*CopiedFromEnv) GetVersionOk ¶

func (o *CopiedFromEnv) GetVersionOk() (*int32, bool)

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

func (*CopiedFromEnv) HasVersion ¶

func (o *CopiedFromEnv) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (CopiedFromEnv) MarshalJSON ¶

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

func (*CopiedFromEnv) SetKey ¶

func (o *CopiedFromEnv) SetKey(v string)

SetKey sets field value

func (*CopiedFromEnv) SetVersion ¶

func (o *CopiedFromEnv) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type CreateApprovalRequestRequest ¶

type CreateApprovalRequestRequest struct {
	// String representation of a resource
	ResourceId string `json:"resourceId"`
	// Optional comment describing the approval request
	Comment *string `json:"comment,omitempty"`
	// A brief description of the changes you're requesting
	Description  string                   `json:"description"`
	Instructions []map[string]interface{} `json:"instructions"`
	// An array of member IDs. These members are notified to review the approval request.
	NotifyMemberIds []string `json:"notifyMemberIds,omitempty"`
	// An array of team keys. The members of these teams are notified to review the approval request.
	NotifyTeamKeys    []string               `json:"notifyTeamKeys,omitempty"`
	IntegrationConfig map[string]interface{} `json:"integrationConfig,omitempty"`
}

CreateApprovalRequestRequest struct for CreateApprovalRequestRequest

func NewCreateApprovalRequestRequest ¶

func NewCreateApprovalRequestRequest(resourceId string, description string, instructions []map[string]interface{}) *CreateApprovalRequestRequest

NewCreateApprovalRequestRequest instantiates a new CreateApprovalRequestRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateApprovalRequestRequestWithDefaults ¶

func NewCreateApprovalRequestRequestWithDefaults() *CreateApprovalRequestRequest

NewCreateApprovalRequestRequestWithDefaults instantiates a new CreateApprovalRequestRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateApprovalRequestRequest) GetComment ¶

func (o *CreateApprovalRequestRequest) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*CreateApprovalRequestRequest) GetCommentOk ¶

func (o *CreateApprovalRequestRequest) GetCommentOk() (*string, bool)

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

func (*CreateApprovalRequestRequest) GetDescription ¶

func (o *CreateApprovalRequestRequest) GetDescription() string

GetDescription returns the Description field value

func (*CreateApprovalRequestRequest) GetDescriptionOk ¶

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

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

func (*CreateApprovalRequestRequest) GetInstructions ¶

func (o *CreateApprovalRequestRequest) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*CreateApprovalRequestRequest) GetInstructionsOk ¶

func (o *CreateApprovalRequestRequest) GetInstructionsOk() ([]map[string]interface{}, bool)

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

func (*CreateApprovalRequestRequest) GetIntegrationConfig ¶

func (o *CreateApprovalRequestRequest) GetIntegrationConfig() map[string]interface{}

GetIntegrationConfig returns the IntegrationConfig field value if set, zero value otherwise.

func (*CreateApprovalRequestRequest) GetIntegrationConfigOk ¶

func (o *CreateApprovalRequestRequest) GetIntegrationConfigOk() (map[string]interface{}, bool)

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

func (*CreateApprovalRequestRequest) GetNotifyMemberIds ¶

func (o *CreateApprovalRequestRequest) GetNotifyMemberIds() []string

GetNotifyMemberIds returns the NotifyMemberIds field value if set, zero value otherwise.

func (*CreateApprovalRequestRequest) GetNotifyMemberIdsOk ¶

func (o *CreateApprovalRequestRequest) GetNotifyMemberIdsOk() ([]string, bool)

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

func (*CreateApprovalRequestRequest) GetNotifyTeamKeys ¶

func (o *CreateApprovalRequestRequest) GetNotifyTeamKeys() []string

GetNotifyTeamKeys returns the NotifyTeamKeys field value if set, zero value otherwise.

func (*CreateApprovalRequestRequest) GetNotifyTeamKeysOk ¶

func (o *CreateApprovalRequestRequest) GetNotifyTeamKeysOk() ([]string, bool)

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

func (*CreateApprovalRequestRequest) GetResourceId ¶

func (o *CreateApprovalRequestRequest) GetResourceId() string

GetResourceId returns the ResourceId field value

func (*CreateApprovalRequestRequest) GetResourceIdOk ¶

func (o *CreateApprovalRequestRequest) GetResourceIdOk() (*string, bool)

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

func (*CreateApprovalRequestRequest) HasComment ¶

func (o *CreateApprovalRequestRequest) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*CreateApprovalRequestRequest) HasIntegrationConfig ¶

func (o *CreateApprovalRequestRequest) HasIntegrationConfig() bool

HasIntegrationConfig returns a boolean if a field has been set.

func (*CreateApprovalRequestRequest) HasNotifyMemberIds ¶

func (o *CreateApprovalRequestRequest) HasNotifyMemberIds() bool

HasNotifyMemberIds returns a boolean if a field has been set.

func (*CreateApprovalRequestRequest) HasNotifyTeamKeys ¶

func (o *CreateApprovalRequestRequest) HasNotifyTeamKeys() bool

HasNotifyTeamKeys returns a boolean if a field has been set.

func (CreateApprovalRequestRequest) MarshalJSON ¶

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

func (*CreateApprovalRequestRequest) SetComment ¶

func (o *CreateApprovalRequestRequest) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*CreateApprovalRequestRequest) SetDescription ¶

func (o *CreateApprovalRequestRequest) SetDescription(v string)

SetDescription sets field value

func (*CreateApprovalRequestRequest) SetInstructions ¶

func (o *CreateApprovalRequestRequest) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

func (*CreateApprovalRequestRequest) SetIntegrationConfig ¶

func (o *CreateApprovalRequestRequest) SetIntegrationConfig(v map[string]interface{})

SetIntegrationConfig gets a reference to the given map[string]interface{} and assigns it to the IntegrationConfig field.

func (*CreateApprovalRequestRequest) SetNotifyMemberIds ¶

func (o *CreateApprovalRequestRequest) SetNotifyMemberIds(v []string)

SetNotifyMemberIds gets a reference to the given []string and assigns it to the NotifyMemberIds field.

func (*CreateApprovalRequestRequest) SetNotifyTeamKeys ¶

func (o *CreateApprovalRequestRequest) SetNotifyTeamKeys(v []string)

SetNotifyTeamKeys gets a reference to the given []string and assigns it to the NotifyTeamKeys field.

func (*CreateApprovalRequestRequest) SetResourceId ¶

func (o *CreateApprovalRequestRequest) SetResourceId(v string)

SetResourceId sets field value

type CreateCopyFlagConfigApprovalRequestRequest ¶

type CreateCopyFlagConfigApprovalRequestRequest struct {
	// Optional comment describing the approval request
	Comment *string `json:"comment,omitempty"`
	// A brief description of your changes
	Description string `json:"description"`
	// An array of member IDs. These members are notified to review the approval request.
	NotifyMemberIds []string `json:"notifyMemberIds,omitempty"`
	// An array of team keys. The members of these teams are notified to review the approval request.
	NotifyTeamKeys []string   `json:"notifyTeamKeys,omitempty"`
	Source         SourceFlag `json:"source"`
	// Optional list of the flag changes to copy from the source environment to the target environment. You may include either <code>includedActions</code> or <code>excludedActions</code>, but not both. If neither are included, then all flag changes will be copied.
	IncludedActions []string `json:"includedActions,omitempty"`
	// Optional list of the flag changes NOT to copy from the source environment to the target environment. You may include either <code>includedActions</code> or <code>excludedActions</code>, but not both. If neither are included, then all flag changes will be copied.
	ExcludedActions []string `json:"excludedActions,omitempty"`
}

CreateCopyFlagConfigApprovalRequestRequest struct for CreateCopyFlagConfigApprovalRequestRequest

func NewCreateCopyFlagConfigApprovalRequestRequest ¶

func NewCreateCopyFlagConfigApprovalRequestRequest(description string, source SourceFlag) *CreateCopyFlagConfigApprovalRequestRequest

NewCreateCopyFlagConfigApprovalRequestRequest instantiates a new CreateCopyFlagConfigApprovalRequestRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateCopyFlagConfigApprovalRequestRequestWithDefaults ¶

func NewCreateCopyFlagConfigApprovalRequestRequestWithDefaults() *CreateCopyFlagConfigApprovalRequestRequest

NewCreateCopyFlagConfigApprovalRequestRequestWithDefaults instantiates a new CreateCopyFlagConfigApprovalRequestRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateCopyFlagConfigApprovalRequestRequest) GetComment ¶

GetComment returns the Comment field value if set, zero value otherwise.

func (*CreateCopyFlagConfigApprovalRequestRequest) GetCommentOk ¶

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

func (*CreateCopyFlagConfigApprovalRequestRequest) GetDescription ¶

GetDescription returns the Description field value

func (*CreateCopyFlagConfigApprovalRequestRequest) GetDescriptionOk ¶

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

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

func (*CreateCopyFlagConfigApprovalRequestRequest) GetExcludedActions ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) GetExcludedActions() []string

GetExcludedActions returns the ExcludedActions field value if set, zero value otherwise.

func (*CreateCopyFlagConfigApprovalRequestRequest) GetExcludedActionsOk ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) GetExcludedActionsOk() ([]string, bool)

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

func (*CreateCopyFlagConfigApprovalRequestRequest) GetIncludedActions ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) GetIncludedActions() []string

GetIncludedActions returns the IncludedActions field value if set, zero value otherwise.

func (*CreateCopyFlagConfigApprovalRequestRequest) GetIncludedActionsOk ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) GetIncludedActionsOk() ([]string, bool)

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

func (*CreateCopyFlagConfigApprovalRequestRequest) GetNotifyMemberIds ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) GetNotifyMemberIds() []string

GetNotifyMemberIds returns the NotifyMemberIds field value if set, zero value otherwise.

func (*CreateCopyFlagConfigApprovalRequestRequest) GetNotifyMemberIdsOk ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) GetNotifyMemberIdsOk() ([]string, bool)

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

func (*CreateCopyFlagConfigApprovalRequestRequest) GetNotifyTeamKeys ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) GetNotifyTeamKeys() []string

GetNotifyTeamKeys returns the NotifyTeamKeys field value if set, zero value otherwise.

func (*CreateCopyFlagConfigApprovalRequestRequest) GetNotifyTeamKeysOk ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) GetNotifyTeamKeysOk() ([]string, bool)

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

func (*CreateCopyFlagConfigApprovalRequestRequest) GetSource ¶

GetSource returns the Source field value

func (*CreateCopyFlagConfigApprovalRequestRequest) GetSourceOk ¶

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

func (*CreateCopyFlagConfigApprovalRequestRequest) HasComment ¶

HasComment returns a boolean if a field has been set.

func (*CreateCopyFlagConfigApprovalRequestRequest) HasExcludedActions ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) HasExcludedActions() bool

HasExcludedActions returns a boolean if a field has been set.

func (*CreateCopyFlagConfigApprovalRequestRequest) HasIncludedActions ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) HasIncludedActions() bool

HasIncludedActions returns a boolean if a field has been set.

func (*CreateCopyFlagConfigApprovalRequestRequest) HasNotifyMemberIds ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) HasNotifyMemberIds() bool

HasNotifyMemberIds returns a boolean if a field has been set.

func (*CreateCopyFlagConfigApprovalRequestRequest) HasNotifyTeamKeys ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) HasNotifyTeamKeys() bool

HasNotifyTeamKeys returns a boolean if a field has been set.

func (CreateCopyFlagConfigApprovalRequestRequest) MarshalJSON ¶

func (*CreateCopyFlagConfigApprovalRequestRequest) SetComment ¶

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*CreateCopyFlagConfigApprovalRequestRequest) SetDescription ¶

SetDescription sets field value

func (*CreateCopyFlagConfigApprovalRequestRequest) SetExcludedActions ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) SetExcludedActions(v []string)

SetExcludedActions gets a reference to the given []string and assigns it to the ExcludedActions field.

func (*CreateCopyFlagConfigApprovalRequestRequest) SetIncludedActions ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) SetIncludedActions(v []string)

SetIncludedActions gets a reference to the given []string and assigns it to the IncludedActions field.

func (*CreateCopyFlagConfigApprovalRequestRequest) SetNotifyMemberIds ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) SetNotifyMemberIds(v []string)

SetNotifyMemberIds gets a reference to the given []string and assigns it to the NotifyMemberIds field.

func (*CreateCopyFlagConfigApprovalRequestRequest) SetNotifyTeamKeys ¶

func (o *CreateCopyFlagConfigApprovalRequestRequest) SetNotifyTeamKeys(v []string)

SetNotifyTeamKeys gets a reference to the given []string and assigns it to the NotifyTeamKeys field.

func (*CreateCopyFlagConfigApprovalRequestRequest) SetSource ¶

SetSource sets field value

type CreateFlagConfigApprovalRequestRequest ¶

type CreateFlagConfigApprovalRequestRequest struct {
	// Optional comment describing the approval request
	Comment *string `json:"comment,omitempty"`
	// A brief description of the changes you're requesting
	Description  string                   `json:"description"`
	Instructions []map[string]interface{} `json:"instructions"`
	// An array of member IDs. These members are notified to review the approval request.
	NotifyMemberIds []string `json:"notifyMemberIds,omitempty"`
	// An array of team keys. The members of these teams are notified to review the approval request.
	NotifyTeamKeys []string `json:"notifyTeamKeys,omitempty"`
	ExecutionDate  *int64   `json:"executionDate,omitempty"`
	// The ID of a scheduled change. Include this if your <code>instructions</code> include editing or deleting a scheduled change.
	OperatingOnId     *string                `json:"operatingOnId,omitempty"`
	IntegrationConfig map[string]interface{} `json:"integrationConfig,omitempty"`
}

CreateFlagConfigApprovalRequestRequest struct for CreateFlagConfigApprovalRequestRequest

func NewCreateFlagConfigApprovalRequestRequest ¶

func NewCreateFlagConfigApprovalRequestRequest(description string, instructions []map[string]interface{}) *CreateFlagConfigApprovalRequestRequest

NewCreateFlagConfigApprovalRequestRequest instantiates a new CreateFlagConfigApprovalRequestRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateFlagConfigApprovalRequestRequestWithDefaults ¶

func NewCreateFlagConfigApprovalRequestRequestWithDefaults() *CreateFlagConfigApprovalRequestRequest

NewCreateFlagConfigApprovalRequestRequestWithDefaults instantiates a new CreateFlagConfigApprovalRequestRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateFlagConfigApprovalRequestRequest) GetComment ¶

GetComment returns the Comment field value if set, zero value otherwise.

func (*CreateFlagConfigApprovalRequestRequest) GetCommentOk ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetCommentOk() (*string, bool)

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

func (*CreateFlagConfigApprovalRequestRequest) GetDescription ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetDescription() string

GetDescription returns the Description field value

func (*CreateFlagConfigApprovalRequestRequest) GetDescriptionOk ¶

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

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

func (*CreateFlagConfigApprovalRequestRequest) GetExecutionDate ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetExecutionDate() int64

GetExecutionDate returns the ExecutionDate field value if set, zero value otherwise.

func (*CreateFlagConfigApprovalRequestRequest) GetExecutionDateOk ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetExecutionDateOk() (*int64, bool)

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

func (*CreateFlagConfigApprovalRequestRequest) GetInstructions ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*CreateFlagConfigApprovalRequestRequest) GetInstructionsOk ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetInstructionsOk() ([]map[string]interface{}, bool)

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

func (*CreateFlagConfigApprovalRequestRequest) GetIntegrationConfig ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetIntegrationConfig() map[string]interface{}

GetIntegrationConfig returns the IntegrationConfig field value if set, zero value otherwise.

func (*CreateFlagConfigApprovalRequestRequest) GetIntegrationConfigOk ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetIntegrationConfigOk() (map[string]interface{}, bool)

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

func (*CreateFlagConfigApprovalRequestRequest) GetNotifyMemberIds ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetNotifyMemberIds() []string

GetNotifyMemberIds returns the NotifyMemberIds field value if set, zero value otherwise.

func (*CreateFlagConfigApprovalRequestRequest) GetNotifyMemberIdsOk ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetNotifyMemberIdsOk() ([]string, bool)

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

func (*CreateFlagConfigApprovalRequestRequest) GetNotifyTeamKeys ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetNotifyTeamKeys() []string

GetNotifyTeamKeys returns the NotifyTeamKeys field value if set, zero value otherwise.

func (*CreateFlagConfigApprovalRequestRequest) GetNotifyTeamKeysOk ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetNotifyTeamKeysOk() ([]string, bool)

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

func (*CreateFlagConfigApprovalRequestRequest) GetOperatingOnId ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetOperatingOnId() string

GetOperatingOnId returns the OperatingOnId field value if set, zero value otherwise.

func (*CreateFlagConfigApprovalRequestRequest) GetOperatingOnIdOk ¶

func (o *CreateFlagConfigApprovalRequestRequest) GetOperatingOnIdOk() (*string, bool)

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

func (*CreateFlagConfigApprovalRequestRequest) HasComment ¶

HasComment returns a boolean if a field has been set.

func (*CreateFlagConfigApprovalRequestRequest) HasExecutionDate ¶

func (o *CreateFlagConfigApprovalRequestRequest) HasExecutionDate() bool

HasExecutionDate returns a boolean if a field has been set.

func (*CreateFlagConfigApprovalRequestRequest) HasIntegrationConfig ¶

func (o *CreateFlagConfigApprovalRequestRequest) HasIntegrationConfig() bool

HasIntegrationConfig returns a boolean if a field has been set.

func (*CreateFlagConfigApprovalRequestRequest) HasNotifyMemberIds ¶

func (o *CreateFlagConfigApprovalRequestRequest) HasNotifyMemberIds() bool

HasNotifyMemberIds returns a boolean if a field has been set.

func (*CreateFlagConfigApprovalRequestRequest) HasNotifyTeamKeys ¶

func (o *CreateFlagConfigApprovalRequestRequest) HasNotifyTeamKeys() bool

HasNotifyTeamKeys returns a boolean if a field has been set.

func (*CreateFlagConfigApprovalRequestRequest) HasOperatingOnId ¶

func (o *CreateFlagConfigApprovalRequestRequest) HasOperatingOnId() bool

HasOperatingOnId returns a boolean if a field has been set.

func (CreateFlagConfigApprovalRequestRequest) MarshalJSON ¶

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

func (*CreateFlagConfigApprovalRequestRequest) SetComment ¶

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*CreateFlagConfigApprovalRequestRequest) SetDescription ¶

func (o *CreateFlagConfigApprovalRequestRequest) SetDescription(v string)

SetDescription sets field value

func (*CreateFlagConfigApprovalRequestRequest) SetExecutionDate ¶

func (o *CreateFlagConfigApprovalRequestRequest) SetExecutionDate(v int64)

SetExecutionDate gets a reference to the given int64 and assigns it to the ExecutionDate field.

func (*CreateFlagConfigApprovalRequestRequest) SetInstructions ¶

func (o *CreateFlagConfigApprovalRequestRequest) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

func (*CreateFlagConfigApprovalRequestRequest) SetIntegrationConfig ¶

func (o *CreateFlagConfigApprovalRequestRequest) SetIntegrationConfig(v map[string]interface{})

SetIntegrationConfig gets a reference to the given map[string]interface{} and assigns it to the IntegrationConfig field.

func (*CreateFlagConfigApprovalRequestRequest) SetNotifyMemberIds ¶

func (o *CreateFlagConfigApprovalRequestRequest) SetNotifyMemberIds(v []string)

SetNotifyMemberIds gets a reference to the given []string and assigns it to the NotifyMemberIds field.

func (*CreateFlagConfigApprovalRequestRequest) SetNotifyTeamKeys ¶

func (o *CreateFlagConfigApprovalRequestRequest) SetNotifyTeamKeys(v []string)

SetNotifyTeamKeys gets a reference to the given []string and assigns it to the NotifyTeamKeys field.

func (*CreateFlagConfigApprovalRequestRequest) SetOperatingOnId ¶

func (o *CreateFlagConfigApprovalRequestRequest) SetOperatingOnId(v string)

SetOperatingOnId gets a reference to the given string and assigns it to the OperatingOnId field.

type CreatePhaseInput ¶

type CreatePhaseInput struct {
	// An ordered list of the audiences for this release phase. Each audience corresponds to a LaunchDarkly environment.
	Audiences []AudiencePost `json:"audiences"`
	// The release phase name
	Name string `json:"name"`
}

CreatePhaseInput struct for CreatePhaseInput

func NewCreatePhaseInput ¶

func NewCreatePhaseInput(audiences []AudiencePost, name string) *CreatePhaseInput

NewCreatePhaseInput instantiates a new CreatePhaseInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreatePhaseInputWithDefaults ¶

func NewCreatePhaseInputWithDefaults() *CreatePhaseInput

NewCreatePhaseInputWithDefaults instantiates a new CreatePhaseInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreatePhaseInput) GetAudiences ¶

func (o *CreatePhaseInput) GetAudiences() []AudiencePost

GetAudiences returns the Audiences field value

func (*CreatePhaseInput) GetAudiencesOk ¶

func (o *CreatePhaseInput) GetAudiencesOk() ([]AudiencePost, bool)

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

func (*CreatePhaseInput) GetName ¶

func (o *CreatePhaseInput) GetName() string

GetName returns the Name field value

func (*CreatePhaseInput) GetNameOk ¶

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

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

func (CreatePhaseInput) MarshalJSON ¶

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

func (*CreatePhaseInput) SetAudiences ¶

func (o *CreatePhaseInput) SetAudiences(v []AudiencePost)

SetAudiences sets field value

func (*CreatePhaseInput) SetName ¶

func (o *CreatePhaseInput) SetName(v string)

SetName sets field value

type CreateReleasePipelineInput ¶

type CreateReleasePipelineInput struct {
	// The release pipeline description
	Description *string `json:"description,omitempty"`
	// The unique identifier of this release pipeline
	Key string `json:"key"`
	// The name of the release pipeline
	Name string `json:"name"`
	// A logical grouping of one or more environments that share attributes for rolling out changes
	Phases []CreatePhaseInput `json:"phases"`
	// A list of tags for this release pipeline
	Tags []string `json:"tags,omitempty"`
}

CreateReleasePipelineInput struct for CreateReleasePipelineInput

func NewCreateReleasePipelineInput ¶

func NewCreateReleasePipelineInput(key string, name string, phases []CreatePhaseInput) *CreateReleasePipelineInput

NewCreateReleasePipelineInput instantiates a new CreateReleasePipelineInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateReleasePipelineInputWithDefaults ¶

func NewCreateReleasePipelineInputWithDefaults() *CreateReleasePipelineInput

NewCreateReleasePipelineInputWithDefaults instantiates a new CreateReleasePipelineInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateReleasePipelineInput) GetDescription ¶

func (o *CreateReleasePipelineInput) GetDescription() string

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

func (*CreateReleasePipelineInput) GetDescriptionOk ¶

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

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

func (*CreateReleasePipelineInput) GetKey ¶

func (o *CreateReleasePipelineInput) GetKey() string

GetKey returns the Key field value

func (*CreateReleasePipelineInput) GetKeyOk ¶

func (o *CreateReleasePipelineInput) GetKeyOk() (*string, bool)

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

func (*CreateReleasePipelineInput) GetName ¶

func (o *CreateReleasePipelineInput) GetName() string

GetName returns the Name field value

func (*CreateReleasePipelineInput) GetNameOk ¶

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

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

func (*CreateReleasePipelineInput) GetPhases ¶

GetPhases returns the Phases field value

func (*CreateReleasePipelineInput) GetPhasesOk ¶

func (o *CreateReleasePipelineInput) GetPhasesOk() ([]CreatePhaseInput, bool)

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

func (*CreateReleasePipelineInput) GetTags ¶

func (o *CreateReleasePipelineInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateReleasePipelineInput) GetTagsOk ¶

func (o *CreateReleasePipelineInput) GetTagsOk() ([]string, bool)

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

func (*CreateReleasePipelineInput) HasDescription ¶

func (o *CreateReleasePipelineInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateReleasePipelineInput) HasTags ¶

func (o *CreateReleasePipelineInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (CreateReleasePipelineInput) MarshalJSON ¶

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

func (*CreateReleasePipelineInput) SetDescription ¶

func (o *CreateReleasePipelineInput) SetDescription(v string)

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

func (*CreateReleasePipelineInput) SetKey ¶

func (o *CreateReleasePipelineInput) SetKey(v string)

SetKey sets field value

func (*CreateReleasePipelineInput) SetName ¶

func (o *CreateReleasePipelineInput) SetName(v string)

SetName sets field value

func (*CreateReleasePipelineInput) SetPhases ¶

func (o *CreateReleasePipelineInput) SetPhases(v []CreatePhaseInput)

SetPhases sets field value

func (*CreateReleasePipelineInput) SetTags ¶

func (o *CreateReleasePipelineInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

type CreateWorkflowTemplateInput ¶

type CreateWorkflowTemplateInput struct {
	Key            string       `json:"key"`
	Name           *string      `json:"name,omitempty"`
	Description    *string      `json:"description,omitempty"`
	WorkflowId     *string      `json:"workflowId,omitempty"`
	Stages         []StageInput `json:"stages,omitempty"`
	ProjectKey     *string      `json:"projectKey,omitempty"`
	EnvironmentKey *string      `json:"environmentKey,omitempty"`
	FlagKey        *string      `json:"flagKey,omitempty"`
}

CreateWorkflowTemplateInput struct for CreateWorkflowTemplateInput

func NewCreateWorkflowTemplateInput ¶

func NewCreateWorkflowTemplateInput(key string) *CreateWorkflowTemplateInput

NewCreateWorkflowTemplateInput instantiates a new CreateWorkflowTemplateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateWorkflowTemplateInputWithDefaults ¶

func NewCreateWorkflowTemplateInputWithDefaults() *CreateWorkflowTemplateInput

NewCreateWorkflowTemplateInputWithDefaults instantiates a new CreateWorkflowTemplateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateWorkflowTemplateInput) GetDescription ¶

func (o *CreateWorkflowTemplateInput) GetDescription() string

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

func (*CreateWorkflowTemplateInput) GetDescriptionOk ¶

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

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

func (*CreateWorkflowTemplateInput) GetEnvironmentKey ¶

func (o *CreateWorkflowTemplateInput) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value if set, zero value otherwise.

func (*CreateWorkflowTemplateInput) GetEnvironmentKeyOk ¶

func (o *CreateWorkflowTemplateInput) GetEnvironmentKeyOk() (*string, bool)

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

func (*CreateWorkflowTemplateInput) GetFlagKey ¶

func (o *CreateWorkflowTemplateInput) GetFlagKey() string

GetFlagKey returns the FlagKey field value if set, zero value otherwise.

func (*CreateWorkflowTemplateInput) GetFlagKeyOk ¶

func (o *CreateWorkflowTemplateInput) GetFlagKeyOk() (*string, bool)

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

func (*CreateWorkflowTemplateInput) GetKey ¶

func (o *CreateWorkflowTemplateInput) GetKey() string

GetKey returns the Key field value

func (*CreateWorkflowTemplateInput) GetKeyOk ¶

func (o *CreateWorkflowTemplateInput) GetKeyOk() (*string, bool)

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

func (*CreateWorkflowTemplateInput) GetName ¶

func (o *CreateWorkflowTemplateInput) GetName() string

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

func (*CreateWorkflowTemplateInput) GetNameOk ¶

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

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

func (*CreateWorkflowTemplateInput) GetProjectKey ¶

func (o *CreateWorkflowTemplateInput) GetProjectKey() string

GetProjectKey returns the ProjectKey field value if set, zero value otherwise.

func (*CreateWorkflowTemplateInput) GetProjectKeyOk ¶

func (o *CreateWorkflowTemplateInput) GetProjectKeyOk() (*string, bool)

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

func (*CreateWorkflowTemplateInput) GetStages ¶

func (o *CreateWorkflowTemplateInput) GetStages() []StageInput

GetStages returns the Stages field value if set, zero value otherwise.

func (*CreateWorkflowTemplateInput) GetStagesOk ¶

func (o *CreateWorkflowTemplateInput) GetStagesOk() ([]StageInput, bool)

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

func (*CreateWorkflowTemplateInput) GetWorkflowId ¶

func (o *CreateWorkflowTemplateInput) GetWorkflowId() string

GetWorkflowId returns the WorkflowId field value if set, zero value otherwise.

func (*CreateWorkflowTemplateInput) GetWorkflowIdOk ¶

func (o *CreateWorkflowTemplateInput) GetWorkflowIdOk() (*string, bool)

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

func (*CreateWorkflowTemplateInput) HasDescription ¶

func (o *CreateWorkflowTemplateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateWorkflowTemplateInput) HasEnvironmentKey ¶

func (o *CreateWorkflowTemplateInput) HasEnvironmentKey() bool

HasEnvironmentKey returns a boolean if a field has been set.

func (*CreateWorkflowTemplateInput) HasFlagKey ¶

func (o *CreateWorkflowTemplateInput) HasFlagKey() bool

HasFlagKey returns a boolean if a field has been set.

func (*CreateWorkflowTemplateInput) HasName ¶

func (o *CreateWorkflowTemplateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateWorkflowTemplateInput) HasProjectKey ¶

func (o *CreateWorkflowTemplateInput) HasProjectKey() bool

HasProjectKey returns a boolean if a field has been set.

func (*CreateWorkflowTemplateInput) HasStages ¶

func (o *CreateWorkflowTemplateInput) HasStages() bool

HasStages returns a boolean if a field has been set.

func (*CreateWorkflowTemplateInput) HasWorkflowId ¶

func (o *CreateWorkflowTemplateInput) HasWorkflowId() bool

HasWorkflowId returns a boolean if a field has been set.

func (CreateWorkflowTemplateInput) MarshalJSON ¶

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

func (*CreateWorkflowTemplateInput) SetDescription ¶

func (o *CreateWorkflowTemplateInput) SetDescription(v string)

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

func (*CreateWorkflowTemplateInput) SetEnvironmentKey ¶

func (o *CreateWorkflowTemplateInput) SetEnvironmentKey(v string)

SetEnvironmentKey gets a reference to the given string and assigns it to the EnvironmentKey field.

func (*CreateWorkflowTemplateInput) SetFlagKey ¶

func (o *CreateWorkflowTemplateInput) SetFlagKey(v string)

SetFlagKey gets a reference to the given string and assigns it to the FlagKey field.

func (*CreateWorkflowTemplateInput) SetKey ¶

func (o *CreateWorkflowTemplateInput) SetKey(v string)

SetKey sets field value

func (*CreateWorkflowTemplateInput) SetName ¶

func (o *CreateWorkflowTemplateInput) SetName(v string)

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

func (*CreateWorkflowTemplateInput) SetProjectKey ¶

func (o *CreateWorkflowTemplateInput) SetProjectKey(v string)

SetProjectKey gets a reference to the given string and assigns it to the ProjectKey field.

func (*CreateWorkflowTemplateInput) SetStages ¶

func (o *CreateWorkflowTemplateInput) SetStages(v []StageInput)

SetStages gets a reference to the given []StageInput and assigns it to the Stages field.

func (*CreateWorkflowTemplateInput) SetWorkflowId ¶

func (o *CreateWorkflowTemplateInput) SetWorkflowId(v string)

SetWorkflowId gets a reference to the given string and assigns it to the WorkflowId field.

type CredibleIntervalRep ¶

type CredibleIntervalRep struct {
	// The upper bound
	Upper *float32 `json:"upper,omitempty"`
	// The lower bound
	Lower *float32 `json:"lower,omitempty"`
}

CredibleIntervalRep struct for CredibleIntervalRep

func NewCredibleIntervalRep ¶

func NewCredibleIntervalRep() *CredibleIntervalRep

NewCredibleIntervalRep instantiates a new CredibleIntervalRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCredibleIntervalRepWithDefaults ¶

func NewCredibleIntervalRepWithDefaults() *CredibleIntervalRep

NewCredibleIntervalRepWithDefaults instantiates a new CredibleIntervalRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CredibleIntervalRep) GetLower ¶

func (o *CredibleIntervalRep) GetLower() float32

GetLower returns the Lower field value if set, zero value otherwise.

func (*CredibleIntervalRep) GetLowerOk ¶

func (o *CredibleIntervalRep) GetLowerOk() (*float32, bool)

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

func (*CredibleIntervalRep) GetUpper ¶

func (o *CredibleIntervalRep) GetUpper() float32

GetUpper returns the Upper field value if set, zero value otherwise.

func (*CredibleIntervalRep) GetUpperOk ¶

func (o *CredibleIntervalRep) GetUpperOk() (*float32, bool)

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

func (*CredibleIntervalRep) HasLower ¶

func (o *CredibleIntervalRep) HasLower() bool

HasLower returns a boolean if a field has been set.

func (*CredibleIntervalRep) HasUpper ¶

func (o *CredibleIntervalRep) HasUpper() bool

HasUpper returns a boolean if a field has been set.

func (CredibleIntervalRep) MarshalJSON ¶

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

func (*CredibleIntervalRep) SetLower ¶

func (o *CredibleIntervalRep) SetLower(v float32)

SetLower gets a reference to the given float32 and assigns it to the Lower field.

func (*CredibleIntervalRep) SetUpper ¶

func (o *CredibleIntervalRep) SetUpper(v float32)

SetUpper gets a reference to the given float32 and assigns it to the Upper field.

type CustomProperty ¶

type CustomProperty struct {
	// The name of the custom property of this type.
	Name string `json:"name"`
	// An array of values for the custom property data to associate with this flag.
	Value []string `json:"value"`
}

CustomProperty struct for CustomProperty

func NewCustomProperty ¶

func NewCustomProperty(name string, value []string) *CustomProperty

NewCustomProperty instantiates a new CustomProperty object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomPropertyWithDefaults ¶

func NewCustomPropertyWithDefaults() *CustomProperty

NewCustomPropertyWithDefaults instantiates a new CustomProperty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomProperty) GetName ¶

func (o *CustomProperty) GetName() string

GetName returns the Name field value

func (*CustomProperty) GetNameOk ¶

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

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

func (*CustomProperty) GetValue ¶

func (o *CustomProperty) GetValue() []string

GetValue returns the Value field value

func (*CustomProperty) GetValueOk ¶

func (o *CustomProperty) GetValueOk() ([]string, bool)

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

func (CustomProperty) MarshalJSON ¶

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

func (*CustomProperty) SetName ¶

func (o *CustomProperty) SetName(v string)

SetName sets field value

func (*CustomProperty) SetValue ¶

func (o *CustomProperty) SetValue(v []string)

SetValue sets field value

type CustomRole ¶

type CustomRole struct {
	// The ID of the custom role
	Id string `json:"_id"`
	// The location and content type of related resources
	Links  map[string]Link `json:"_links"`
	Access *Access         `json:"_access,omitempty"`
	// The description of the custom role
	Description *string `json:"description,omitempty"`
	// The key of the custom role
	Key string `json:"key"`
	// The name of the custom role
	Name string `json:"name"`
	// An array of the policies that comprise this custom role
	Policy          []Statement `json:"policy"`
	BasePermissions *string     `json:"basePermissions,omitempty"`
}

CustomRole struct for CustomRole

func NewCustomRole ¶

func NewCustomRole(id string, links map[string]Link, key string, name string, policy []Statement) *CustomRole

NewCustomRole instantiates a new CustomRole object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomRoleWithDefaults ¶

func NewCustomRoleWithDefaults() *CustomRole

NewCustomRoleWithDefaults instantiates a new CustomRole object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomRole) GetAccess ¶

func (o *CustomRole) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*CustomRole) GetAccessOk ¶

func (o *CustomRole) GetAccessOk() (*Access, bool)

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

func (*CustomRole) GetBasePermissions ¶

func (o *CustomRole) GetBasePermissions() string

GetBasePermissions returns the BasePermissions field value if set, zero value otherwise.

func (*CustomRole) GetBasePermissionsOk ¶

func (o *CustomRole) GetBasePermissionsOk() (*string, bool)

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

func (*CustomRole) GetDescription ¶

func (o *CustomRole) GetDescription() string

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

func (*CustomRole) GetDescriptionOk ¶

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

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

func (*CustomRole) GetId ¶

func (o *CustomRole) GetId() string

GetId returns the Id field value

func (*CustomRole) GetIdOk ¶

func (o *CustomRole) GetIdOk() (*string, bool)

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

func (*CustomRole) GetKey ¶

func (o *CustomRole) GetKey() string

GetKey returns the Key field value

func (*CustomRole) GetKeyOk ¶

func (o *CustomRole) GetKeyOk() (*string, bool)

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

func (o *CustomRole) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*CustomRole) GetLinksOk ¶

func (o *CustomRole) GetLinksOk() (*map[string]Link, bool)

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

func (*CustomRole) GetName ¶

func (o *CustomRole) GetName() string

GetName returns the Name field value

func (*CustomRole) GetNameOk ¶

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

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

func (*CustomRole) GetPolicy ¶

func (o *CustomRole) GetPolicy() []Statement

GetPolicy returns the Policy field value

func (*CustomRole) GetPolicyOk ¶

func (o *CustomRole) GetPolicyOk() ([]Statement, bool)

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

func (*CustomRole) HasAccess ¶

func (o *CustomRole) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*CustomRole) HasBasePermissions ¶

func (o *CustomRole) HasBasePermissions() bool

HasBasePermissions returns a boolean if a field has been set.

func (*CustomRole) HasDescription ¶

func (o *CustomRole) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CustomRole) MarshalJSON ¶

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

func (*CustomRole) SetAccess ¶

func (o *CustomRole) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*CustomRole) SetBasePermissions ¶

func (o *CustomRole) SetBasePermissions(v string)

SetBasePermissions gets a reference to the given string and assigns it to the BasePermissions field.

func (*CustomRole) SetDescription ¶

func (o *CustomRole) SetDescription(v string)

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

func (*CustomRole) SetId ¶

func (o *CustomRole) SetId(v string)

SetId sets field value

func (*CustomRole) SetKey ¶

func (o *CustomRole) SetKey(v string)

SetKey sets field value

func (o *CustomRole) SetLinks(v map[string]Link)

SetLinks sets field value

func (*CustomRole) SetName ¶

func (o *CustomRole) SetName(v string)

SetName sets field value

func (*CustomRole) SetPolicy ¶

func (o *CustomRole) SetPolicy(v []Statement)

SetPolicy sets field value

type CustomRolePost ¶

type CustomRolePost struct {
	// A human-friendly name for the custom role
	Name string `json:"name"`
	// The custom role key
	Key string `json:"key"`
	// Description of custom role
	Description     *string         `json:"description,omitempty"`
	Policy          []StatementPost `json:"policy"`
	BasePermissions *string         `json:"basePermissions,omitempty"`
}

CustomRolePost struct for CustomRolePost

func NewCustomRolePost ¶

func NewCustomRolePost(name string, key string, policy []StatementPost) *CustomRolePost

NewCustomRolePost instantiates a new CustomRolePost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomRolePostWithDefaults ¶

func NewCustomRolePostWithDefaults() *CustomRolePost

NewCustomRolePostWithDefaults instantiates a new CustomRolePost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomRolePost) GetBasePermissions ¶

func (o *CustomRolePost) GetBasePermissions() string

GetBasePermissions returns the BasePermissions field value if set, zero value otherwise.

func (*CustomRolePost) GetBasePermissionsOk ¶

func (o *CustomRolePost) GetBasePermissionsOk() (*string, bool)

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

func (*CustomRolePost) GetDescription ¶

func (o *CustomRolePost) GetDescription() string

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

func (*CustomRolePost) GetDescriptionOk ¶

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

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

func (*CustomRolePost) GetKey ¶

func (o *CustomRolePost) GetKey() string

GetKey returns the Key field value

func (*CustomRolePost) GetKeyOk ¶

func (o *CustomRolePost) GetKeyOk() (*string, bool)

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

func (*CustomRolePost) GetName ¶

func (o *CustomRolePost) GetName() string

GetName returns the Name field value

func (*CustomRolePost) GetNameOk ¶

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

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

func (*CustomRolePost) GetPolicy ¶

func (o *CustomRolePost) GetPolicy() []StatementPost

GetPolicy returns the Policy field value

func (*CustomRolePost) GetPolicyOk ¶

func (o *CustomRolePost) GetPolicyOk() ([]StatementPost, bool)

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

func (*CustomRolePost) HasBasePermissions ¶

func (o *CustomRolePost) HasBasePermissions() bool

HasBasePermissions returns a boolean if a field has been set.

func (*CustomRolePost) HasDescription ¶

func (o *CustomRolePost) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CustomRolePost) MarshalJSON ¶

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

func (*CustomRolePost) SetBasePermissions ¶

func (o *CustomRolePost) SetBasePermissions(v string)

SetBasePermissions gets a reference to the given string and assigns it to the BasePermissions field.

func (*CustomRolePost) SetDescription ¶

func (o *CustomRolePost) SetDescription(v string)

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

func (*CustomRolePost) SetKey ¶

func (o *CustomRolePost) SetKey(v string)

SetKey sets field value

func (*CustomRolePost) SetName ¶

func (o *CustomRolePost) SetName(v string)

SetName sets field value

func (*CustomRolePost) SetPolicy ¶

func (o *CustomRolePost) SetPolicy(v []StatementPost)

SetPolicy sets field value

type CustomRoles ¶

type CustomRoles struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// An array of custom roles
	Items []CustomRole `json:"items,omitempty"`
}

CustomRoles struct for CustomRoles

func NewCustomRoles ¶

func NewCustomRoles() *CustomRoles

NewCustomRoles instantiates a new CustomRoles object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomRolesWithDefaults ¶

func NewCustomRolesWithDefaults() *CustomRoles

NewCustomRolesWithDefaults instantiates a new CustomRoles object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomRoles) GetItems ¶

func (o *CustomRoles) GetItems() []CustomRole

GetItems returns the Items field value if set, zero value otherwise.

func (*CustomRoles) GetItemsOk ¶

func (o *CustomRoles) GetItemsOk() ([]CustomRole, bool)

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

func (o *CustomRoles) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*CustomRoles) GetLinksOk ¶

func (o *CustomRoles) GetLinksOk() (*map[string]Link, bool)

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

func (*CustomRoles) HasItems ¶

func (o *CustomRoles) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *CustomRoles) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (CustomRoles) MarshalJSON ¶

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

func (*CustomRoles) SetItems ¶

func (o *CustomRoles) SetItems(v []CustomRole)

SetItems gets a reference to the given []CustomRole and assigns it to the Items field.

func (o *CustomRoles) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type CustomRolesApiService ¶

type CustomRolesApiService service

CustomRolesApiService CustomRolesApi service

func (*CustomRolesApiService) DeleteCustomRole ¶

func (a *CustomRolesApiService) DeleteCustomRole(ctx context.Context, customRoleKey string) ApiDeleteCustomRoleRequest

DeleteCustomRole Delete custom role

Delete a custom role by key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param customRoleKey The custom role key
@return ApiDeleteCustomRoleRequest

func (*CustomRolesApiService) DeleteCustomRoleExecute ¶

func (a *CustomRolesApiService) DeleteCustomRoleExecute(r ApiDeleteCustomRoleRequest) (*http.Response, error)

Execute executes the request

func (*CustomRolesApiService) GetCustomRole ¶

func (a *CustomRolesApiService) GetCustomRole(ctx context.Context, customRoleKey string) ApiGetCustomRoleRequest

GetCustomRole Get custom role

Get a single custom role by key or ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param customRoleKey The custom role key or ID
@return ApiGetCustomRoleRequest

func (*CustomRolesApiService) GetCustomRoleExecute ¶

Execute executes the request

@return CustomRole

func (*CustomRolesApiService) GetCustomRoles ¶

GetCustomRoles List custom roles

Get a complete list of custom roles. Custom roles let you create flexible policies providing fine-grained access control to everything in LaunchDarkly, from feature flags to goals, environments, and teams. With custom roles, it's possible to enforce access policies that meet your exact workflow needs. Custom roles are available to customers on our enterprise plans. If you're interested in learning more about our enterprise plans, contact sales@launchdarkly.com.

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

func (*CustomRolesApiService) GetCustomRolesExecute ¶

Execute executes the request

@return CustomRoles

func (*CustomRolesApiService) PatchCustomRole ¶

func (a *CustomRolesApiService) PatchCustomRole(ctx context.Context, customRoleKey string) ApiPatchCustomRoleRequest

PatchCustomRole Update custom role

Update a single custom role. Updating a custom role uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).<br/><br/>To add an element to the `policy` array, set the `path` to `/policy` and then append `/<array index>`. Use `/0` to add to the beginning of the array. Use `/-` to add to the end of the array.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param customRoleKey The custom role key
@return ApiPatchCustomRoleRequest

func (*CustomRolesApiService) PatchCustomRoleExecute ¶

func (a *CustomRolesApiService) PatchCustomRoleExecute(r ApiPatchCustomRoleRequest) (*CustomRole, *http.Response, error)

Execute executes the request

@return CustomRole

func (*CustomRolesApiService) PostCustomRole ¶

PostCustomRole Create custom role

Create a new custom role

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

func (*CustomRolesApiService) PostCustomRoleExecute ¶

func (a *CustomRolesApiService) PostCustomRoleExecute(r ApiPostCustomRoleRequest) (*CustomRole, *http.Response, error)

Execute executes the request

@return CustomRole

type CustomWorkflowInput ¶

type CustomWorkflowInput struct {
	MaintainerId *string `json:"maintainerId,omitempty"`
	// The workflow name
	Name string `json:"name"`
	// The workflow description
	Description *string `json:"description,omitempty"`
	// A list of the workflow stages
	Stages []StageInput `json:"stages,omitempty"`
	// The template key
	TemplateKey *string `json:"templateKey,omitempty"`
}

CustomWorkflowInput struct for CustomWorkflowInput

func NewCustomWorkflowInput ¶

func NewCustomWorkflowInput(name string) *CustomWorkflowInput

NewCustomWorkflowInput instantiates a new CustomWorkflowInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomWorkflowInputWithDefaults ¶

func NewCustomWorkflowInputWithDefaults() *CustomWorkflowInput

NewCustomWorkflowInputWithDefaults instantiates a new CustomWorkflowInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomWorkflowInput) GetDescription ¶

func (o *CustomWorkflowInput) GetDescription() string

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

func (*CustomWorkflowInput) GetDescriptionOk ¶

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

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

func (*CustomWorkflowInput) GetMaintainerId ¶

func (o *CustomWorkflowInput) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value if set, zero value otherwise.

func (*CustomWorkflowInput) GetMaintainerIdOk ¶

func (o *CustomWorkflowInput) GetMaintainerIdOk() (*string, bool)

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

func (*CustomWorkflowInput) GetName ¶

func (o *CustomWorkflowInput) GetName() string

GetName returns the Name field value

func (*CustomWorkflowInput) GetNameOk ¶

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

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

func (*CustomWorkflowInput) GetStages ¶

func (o *CustomWorkflowInput) GetStages() []StageInput

GetStages returns the Stages field value if set, zero value otherwise.

func (*CustomWorkflowInput) GetStagesOk ¶

func (o *CustomWorkflowInput) GetStagesOk() ([]StageInput, bool)

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

func (*CustomWorkflowInput) GetTemplateKey ¶

func (o *CustomWorkflowInput) GetTemplateKey() string

GetTemplateKey returns the TemplateKey field value if set, zero value otherwise.

func (*CustomWorkflowInput) GetTemplateKeyOk ¶

func (o *CustomWorkflowInput) GetTemplateKeyOk() (*string, bool)

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

func (*CustomWorkflowInput) HasDescription ¶

func (o *CustomWorkflowInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CustomWorkflowInput) HasMaintainerId ¶

func (o *CustomWorkflowInput) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

func (*CustomWorkflowInput) HasStages ¶

func (o *CustomWorkflowInput) HasStages() bool

HasStages returns a boolean if a field has been set.

func (*CustomWorkflowInput) HasTemplateKey ¶

func (o *CustomWorkflowInput) HasTemplateKey() bool

HasTemplateKey returns a boolean if a field has been set.

func (CustomWorkflowInput) MarshalJSON ¶

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

func (*CustomWorkflowInput) SetDescription ¶

func (o *CustomWorkflowInput) SetDescription(v string)

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

func (*CustomWorkflowInput) SetMaintainerId ¶

func (o *CustomWorkflowInput) SetMaintainerId(v string)

SetMaintainerId gets a reference to the given string and assigns it to the MaintainerId field.

func (*CustomWorkflowInput) SetName ¶

func (o *CustomWorkflowInput) SetName(v string)

SetName sets field value

func (*CustomWorkflowInput) SetStages ¶

func (o *CustomWorkflowInput) SetStages(v []StageInput)

SetStages gets a reference to the given []StageInput and assigns it to the Stages field.

func (*CustomWorkflowInput) SetTemplateKey ¶

func (o *CustomWorkflowInput) SetTemplateKey(v string)

SetTemplateKey gets a reference to the given string and assigns it to the TemplateKey field.

type CustomWorkflowMeta ¶

type CustomWorkflowMeta struct {
	// The name of the workflow stage that required this approval request
	Name  *string                  `json:"name,omitempty"`
	Stage *CustomWorkflowStageMeta `json:"stage,omitempty"`
}

CustomWorkflowMeta struct for CustomWorkflowMeta

func NewCustomWorkflowMeta ¶

func NewCustomWorkflowMeta() *CustomWorkflowMeta

NewCustomWorkflowMeta instantiates a new CustomWorkflowMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomWorkflowMetaWithDefaults ¶

func NewCustomWorkflowMetaWithDefaults() *CustomWorkflowMeta

NewCustomWorkflowMetaWithDefaults instantiates a new CustomWorkflowMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomWorkflowMeta) GetName ¶

func (o *CustomWorkflowMeta) GetName() string

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

func (*CustomWorkflowMeta) GetNameOk ¶

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

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

func (*CustomWorkflowMeta) GetStage ¶

GetStage returns the Stage field value if set, zero value otherwise.

func (*CustomWorkflowMeta) GetStageOk ¶

func (o *CustomWorkflowMeta) GetStageOk() (*CustomWorkflowStageMeta, bool)

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

func (*CustomWorkflowMeta) HasName ¶

func (o *CustomWorkflowMeta) HasName() bool

HasName returns a boolean if a field has been set.

func (*CustomWorkflowMeta) HasStage ¶

func (o *CustomWorkflowMeta) HasStage() bool

HasStage returns a boolean if a field has been set.

func (CustomWorkflowMeta) MarshalJSON ¶

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

func (*CustomWorkflowMeta) SetName ¶

func (o *CustomWorkflowMeta) SetName(v string)

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

func (*CustomWorkflowMeta) SetStage ¶

SetStage gets a reference to the given CustomWorkflowStageMeta and assigns it to the Stage field.

type CustomWorkflowOutput ¶

type CustomWorkflowOutput struct {
	// The ID of the workflow
	Id string `json:"_id"`
	// The version of the workflow
	Version int32 `json:"_version"`
	// Any conflicts that are present in the workflow stages
	Conflicts    []ConflictOutput `json:"_conflicts"`
	CreationDate int64            `json:"_creationDate"`
	// The member ID of the maintainer of the workflow. Defaults to the workflow creator.
	MaintainerId string `json:"_maintainerId"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The name of the workflow
	Name string `json:"name"`
	// A brief description of the workflow
	Description *string `json:"description,omitempty"`
	// The kind of workflow
	Kind *string `json:"kind,omitempty"`
	// The stages that make up the workflow. Each stage contains conditions and actions.
	Stages    []StageOutput             `json:"stages,omitempty"`
	Execution ExecutionOutput           `json:"_execution"`
	Meta      *WorkflowTemplateMetadata `json:"meta,omitempty"`
	// For workflows being created from a workflow template, this value is the template's key
	TemplateKey *string `json:"templateKey,omitempty"`
}

CustomWorkflowOutput struct for CustomWorkflowOutput

func NewCustomWorkflowOutput ¶

func NewCustomWorkflowOutput(id string, version int32, conflicts []ConflictOutput, creationDate int64, maintainerId string, links map[string]Link, name string, execution ExecutionOutput) *CustomWorkflowOutput

NewCustomWorkflowOutput instantiates a new CustomWorkflowOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomWorkflowOutputWithDefaults ¶

func NewCustomWorkflowOutputWithDefaults() *CustomWorkflowOutput

NewCustomWorkflowOutputWithDefaults instantiates a new CustomWorkflowOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomWorkflowOutput) GetConflicts ¶

func (o *CustomWorkflowOutput) GetConflicts() []ConflictOutput

GetConflicts returns the Conflicts field value

func (*CustomWorkflowOutput) GetConflictsOk ¶

func (o *CustomWorkflowOutput) GetConflictsOk() ([]ConflictOutput, bool)

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

func (*CustomWorkflowOutput) GetCreationDate ¶

func (o *CustomWorkflowOutput) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*CustomWorkflowOutput) GetCreationDateOk ¶

func (o *CustomWorkflowOutput) GetCreationDateOk() (*int64, bool)

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

func (*CustomWorkflowOutput) GetDescription ¶

func (o *CustomWorkflowOutput) GetDescription() string

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

func (*CustomWorkflowOutput) GetDescriptionOk ¶

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

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

func (*CustomWorkflowOutput) GetExecution ¶

func (o *CustomWorkflowOutput) GetExecution() ExecutionOutput

GetExecution returns the Execution field value

func (*CustomWorkflowOutput) GetExecutionOk ¶

func (o *CustomWorkflowOutput) GetExecutionOk() (*ExecutionOutput, bool)

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

func (*CustomWorkflowOutput) GetId ¶

func (o *CustomWorkflowOutput) GetId() string

GetId returns the Id field value

func (*CustomWorkflowOutput) GetIdOk ¶

func (o *CustomWorkflowOutput) GetIdOk() (*string, bool)

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

func (*CustomWorkflowOutput) GetKind ¶

func (o *CustomWorkflowOutput) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*CustomWorkflowOutput) GetKindOk ¶

func (o *CustomWorkflowOutput) GetKindOk() (*string, bool)

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

func (o *CustomWorkflowOutput) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*CustomWorkflowOutput) GetLinksOk ¶

func (o *CustomWorkflowOutput) GetLinksOk() (*map[string]Link, bool)

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

func (*CustomWorkflowOutput) GetMaintainerId ¶

func (o *CustomWorkflowOutput) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value

func (*CustomWorkflowOutput) GetMaintainerIdOk ¶

func (o *CustomWorkflowOutput) GetMaintainerIdOk() (*string, bool)

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

func (*CustomWorkflowOutput) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*CustomWorkflowOutput) GetMetaOk ¶

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

func (*CustomWorkflowOutput) GetName ¶

func (o *CustomWorkflowOutput) GetName() string

GetName returns the Name field value

func (*CustomWorkflowOutput) GetNameOk ¶

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

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

func (*CustomWorkflowOutput) GetStages ¶

func (o *CustomWorkflowOutput) GetStages() []StageOutput

GetStages returns the Stages field value if set, zero value otherwise.

func (*CustomWorkflowOutput) GetStagesOk ¶

func (o *CustomWorkflowOutput) GetStagesOk() ([]StageOutput, bool)

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

func (*CustomWorkflowOutput) GetTemplateKey ¶

func (o *CustomWorkflowOutput) GetTemplateKey() string

GetTemplateKey returns the TemplateKey field value if set, zero value otherwise.

func (*CustomWorkflowOutput) GetTemplateKeyOk ¶

func (o *CustomWorkflowOutput) GetTemplateKeyOk() (*string, bool)

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

func (*CustomWorkflowOutput) GetVersion ¶

func (o *CustomWorkflowOutput) GetVersion() int32

GetVersion returns the Version field value

func (*CustomWorkflowOutput) GetVersionOk ¶

func (o *CustomWorkflowOutput) GetVersionOk() (*int32, bool)

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

func (*CustomWorkflowOutput) HasDescription ¶

func (o *CustomWorkflowOutput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CustomWorkflowOutput) HasKind ¶

func (o *CustomWorkflowOutput) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*CustomWorkflowOutput) HasMeta ¶

func (o *CustomWorkflowOutput) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*CustomWorkflowOutput) HasStages ¶

func (o *CustomWorkflowOutput) HasStages() bool

HasStages returns a boolean if a field has been set.

func (*CustomWorkflowOutput) HasTemplateKey ¶

func (o *CustomWorkflowOutput) HasTemplateKey() bool

HasTemplateKey returns a boolean if a field has been set.

func (CustomWorkflowOutput) MarshalJSON ¶

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

func (*CustomWorkflowOutput) SetConflicts ¶

func (o *CustomWorkflowOutput) SetConflicts(v []ConflictOutput)

SetConflicts sets field value

func (*CustomWorkflowOutput) SetCreationDate ¶

func (o *CustomWorkflowOutput) SetCreationDate(v int64)

SetCreationDate sets field value

func (*CustomWorkflowOutput) SetDescription ¶

func (o *CustomWorkflowOutput) SetDescription(v string)

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

func (*CustomWorkflowOutput) SetExecution ¶

func (o *CustomWorkflowOutput) SetExecution(v ExecutionOutput)

SetExecution sets field value

func (*CustomWorkflowOutput) SetId ¶

func (o *CustomWorkflowOutput) SetId(v string)

SetId sets field value

func (*CustomWorkflowOutput) SetKind ¶

func (o *CustomWorkflowOutput) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (o *CustomWorkflowOutput) SetLinks(v map[string]Link)

SetLinks sets field value

func (*CustomWorkflowOutput) SetMaintainerId ¶

func (o *CustomWorkflowOutput) SetMaintainerId(v string)

SetMaintainerId sets field value

func (*CustomWorkflowOutput) SetMeta ¶

SetMeta gets a reference to the given WorkflowTemplateMetadata and assigns it to the Meta field.

func (*CustomWorkflowOutput) SetName ¶

func (o *CustomWorkflowOutput) SetName(v string)

SetName sets field value

func (*CustomWorkflowOutput) SetStages ¶

func (o *CustomWorkflowOutput) SetStages(v []StageOutput)

SetStages gets a reference to the given []StageOutput and assigns it to the Stages field.

func (*CustomWorkflowOutput) SetTemplateKey ¶

func (o *CustomWorkflowOutput) SetTemplateKey(v string)

SetTemplateKey gets a reference to the given string and assigns it to the TemplateKey field.

func (*CustomWorkflowOutput) SetVersion ¶

func (o *CustomWorkflowOutput) SetVersion(v int32)

SetVersion sets field value

type CustomWorkflowStageMeta ¶

type CustomWorkflowStageMeta struct {
	// The zero-based index of the workflow stage
	Index *int32 `json:"index,omitempty"`
	// The name of the workflow stage
	Name *string `json:"name,omitempty"`
}

CustomWorkflowStageMeta struct for CustomWorkflowStageMeta

func NewCustomWorkflowStageMeta ¶

func NewCustomWorkflowStageMeta() *CustomWorkflowStageMeta

NewCustomWorkflowStageMeta instantiates a new CustomWorkflowStageMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomWorkflowStageMetaWithDefaults ¶

func NewCustomWorkflowStageMetaWithDefaults() *CustomWorkflowStageMeta

NewCustomWorkflowStageMetaWithDefaults instantiates a new CustomWorkflowStageMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomWorkflowStageMeta) GetIndex ¶

func (o *CustomWorkflowStageMeta) GetIndex() int32

GetIndex returns the Index field value if set, zero value otherwise.

func (*CustomWorkflowStageMeta) GetIndexOk ¶

func (o *CustomWorkflowStageMeta) GetIndexOk() (*int32, bool)

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

func (*CustomWorkflowStageMeta) GetName ¶

func (o *CustomWorkflowStageMeta) GetName() string

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

func (*CustomWorkflowStageMeta) GetNameOk ¶

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

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

func (*CustomWorkflowStageMeta) HasIndex ¶

func (o *CustomWorkflowStageMeta) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*CustomWorkflowStageMeta) HasName ¶

func (o *CustomWorkflowStageMeta) HasName() bool

HasName returns a boolean if a field has been set.

func (CustomWorkflowStageMeta) MarshalJSON ¶

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

func (*CustomWorkflowStageMeta) SetIndex ¶

func (o *CustomWorkflowStageMeta) SetIndex(v int32)

SetIndex gets a reference to the given int32 and assigns it to the Index field.

func (*CustomWorkflowStageMeta) SetName ¶

func (o *CustomWorkflowStageMeta) SetName(v string)

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

type CustomWorkflowsListingOutput ¶

type CustomWorkflowsListingOutput struct {
	// An array of workflows
	Items []CustomWorkflowOutput `json:"items"`
}

CustomWorkflowsListingOutput struct for CustomWorkflowsListingOutput

func NewCustomWorkflowsListingOutput ¶

func NewCustomWorkflowsListingOutput(items []CustomWorkflowOutput) *CustomWorkflowsListingOutput

NewCustomWorkflowsListingOutput instantiates a new CustomWorkflowsListingOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomWorkflowsListingOutputWithDefaults ¶

func NewCustomWorkflowsListingOutputWithDefaults() *CustomWorkflowsListingOutput

NewCustomWorkflowsListingOutputWithDefaults instantiates a new CustomWorkflowsListingOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomWorkflowsListingOutput) GetItems ¶

GetItems returns the Items field value

func (*CustomWorkflowsListingOutput) GetItemsOk ¶

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

func (CustomWorkflowsListingOutput) MarshalJSON ¶

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

func (*CustomWorkflowsListingOutput) SetItems ¶

SetItems sets field value

type DataExportDestinationsApiService ¶

type DataExportDestinationsApiService service

DataExportDestinationsApiService DataExportDestinationsApi service

func (*DataExportDestinationsApiService) DeleteDestination ¶

func (a *DataExportDestinationsApiService) DeleteDestination(ctx context.Context, projectKey string, environmentKey string, id string) ApiDeleteDestinationRequest

DeleteDestination Delete Data Export destination

Delete a Data Export destination by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param id The Data Export destination ID
@return ApiDeleteDestinationRequest

func (*DataExportDestinationsApiService) DeleteDestinationExecute ¶

Execute executes the request

func (*DataExportDestinationsApiService) GetDestination ¶

func (a *DataExportDestinationsApiService) GetDestination(ctx context.Context, projectKey string, environmentKey string, id string) ApiGetDestinationRequest

GetDestination Get destination

Get a single Data Export destination by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param id The Data Export destination ID
@return ApiGetDestinationRequest

func (*DataExportDestinationsApiService) GetDestinationExecute ¶

Execute executes the request

@return Destination

func (*DataExportDestinationsApiService) GetDestinations ¶

GetDestinations List destinations

Get a list of Data Export destinations configured across all projects and environments.

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

func (*DataExportDestinationsApiService) GetDestinationsExecute ¶

Execute executes the request

@return Destinations

func (*DataExportDestinationsApiService) PatchDestination ¶

func (a *DataExportDestinationsApiService) PatchDestination(ctx context.Context, projectKey string, environmentKey string, id string) ApiPatchDestinationRequest

PatchDestination Update Data Export destination

Update a Data Export destination. Updating a destination uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param id The Data Export destination ID
@return ApiPatchDestinationRequest

func (*DataExportDestinationsApiService) PatchDestinationExecute ¶

Execute executes the request

@return Destination

func (*DataExportDestinationsApiService) PostDestination ¶

func (a *DataExportDestinationsApiService) PostDestination(ctx context.Context, projectKey string, environmentKey string) ApiPostDestinationRequest

PostDestination Create Data Export destination

Create a new Data Export destination.

In the `config` request body parameter, the fields required depend on the type of Data Export destination.

<details> <summary>Click to expand <code>config</code> parameter details</summary>

#### Azure Event Hubs

To create a Data Export destination with a `kind` of `azure-event-hubs`, the `config` object requires the following fields:

* `namespace`: The Event Hub Namespace name * `name`: The Event Hub name * `policyName`: The shared access signature policy name. You can find your policy name in the settings of your Azure Event Hubs Namespace. * `policyKey`: The shared access signature key. You can find your policy key in the settings of your Azure Event Hubs Namespace.

#### Google Cloud Pub/Sub

To create a Data Export destination with a `kind` of `google-pubsub`, the `config` object requires the following fields:

* `project`: The Google PubSub project ID for the project to publish to * `topic`: The Google PubSub topic ID for the topic to publish to

#### Amazon Kinesis

To create a Data Export destination with a `kind` of `kinesis`, the `config` object requires the following fields:

* `region`: The Kinesis stream's AWS region key * `roleArn`: The Amazon Resource Name (ARN) of the AWS role that will be writing to Kinesis * `streamName`: The name of the Kinesis stream that LaunchDarkly is sending events to. This is not the ARN of the stream.

#### mParticle

To create a Data Export destination with a `kind` of `mparticle`, the `config` object requires the following fields:

* `apiKey`: The mParticle API key * `secret`: The mParticle API secret * `userIdentity`: The type of identifier you use to identify your end users in mParticle * `anonymousUserIdentity`: The type of identifier you use to identify your anonymous end users in mParticle

#### Segment

To create a Data Export destination with a `kind` of `segment`, the `config` object requires the following fields:

* `writeKey`: The Segment write key. This is used to authenticate LaunchDarkly's calls to Segment.

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiPostDestinationRequest

func (*DataExportDestinationsApiService) PostDestinationExecute ¶

Execute executes the request

@return Destination

type DefaultClientSideAvailability ¶

type DefaultClientSideAvailability struct {
	// Whether to enable availability for mobile SDKs
	UsingMobileKey bool `json:"usingMobileKey"`
	// Whether to enable availability for client-side SDKs
	UsingEnvironmentId bool `json:"usingEnvironmentId"`
}

DefaultClientSideAvailability struct for DefaultClientSideAvailability

func NewDefaultClientSideAvailability ¶

func NewDefaultClientSideAvailability(usingMobileKey bool, usingEnvironmentId bool) *DefaultClientSideAvailability

NewDefaultClientSideAvailability instantiates a new DefaultClientSideAvailability object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDefaultClientSideAvailabilityWithDefaults ¶

func NewDefaultClientSideAvailabilityWithDefaults() *DefaultClientSideAvailability

NewDefaultClientSideAvailabilityWithDefaults instantiates a new DefaultClientSideAvailability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DefaultClientSideAvailability) GetUsingEnvironmentId ¶

func (o *DefaultClientSideAvailability) GetUsingEnvironmentId() bool

GetUsingEnvironmentId returns the UsingEnvironmentId field value

func (*DefaultClientSideAvailability) GetUsingEnvironmentIdOk ¶

func (o *DefaultClientSideAvailability) GetUsingEnvironmentIdOk() (*bool, bool)

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

func (*DefaultClientSideAvailability) GetUsingMobileKey ¶

func (o *DefaultClientSideAvailability) GetUsingMobileKey() bool

GetUsingMobileKey returns the UsingMobileKey field value

func (*DefaultClientSideAvailability) GetUsingMobileKeyOk ¶

func (o *DefaultClientSideAvailability) GetUsingMobileKeyOk() (*bool, bool)

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

func (DefaultClientSideAvailability) MarshalJSON ¶

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

func (*DefaultClientSideAvailability) SetUsingEnvironmentId ¶

func (o *DefaultClientSideAvailability) SetUsingEnvironmentId(v bool)

SetUsingEnvironmentId sets field value

func (*DefaultClientSideAvailability) SetUsingMobileKey ¶

func (o *DefaultClientSideAvailability) SetUsingMobileKey(v bool)

SetUsingMobileKey sets field value

type DefaultClientSideAvailabilityPost ¶

type DefaultClientSideAvailabilityPost struct {
	// Whether to enable availability for client-side SDKs.
	UsingEnvironmentId bool `json:"usingEnvironmentId"`
	// Whether to enable availability for mobile SDKs.
	UsingMobileKey bool `json:"usingMobileKey"`
}

DefaultClientSideAvailabilityPost struct for DefaultClientSideAvailabilityPost

func NewDefaultClientSideAvailabilityPost ¶

func NewDefaultClientSideAvailabilityPost(usingEnvironmentId bool, usingMobileKey bool) *DefaultClientSideAvailabilityPost

NewDefaultClientSideAvailabilityPost instantiates a new DefaultClientSideAvailabilityPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDefaultClientSideAvailabilityPostWithDefaults ¶

func NewDefaultClientSideAvailabilityPostWithDefaults() *DefaultClientSideAvailabilityPost

NewDefaultClientSideAvailabilityPostWithDefaults instantiates a new DefaultClientSideAvailabilityPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DefaultClientSideAvailabilityPost) GetUsingEnvironmentId ¶

func (o *DefaultClientSideAvailabilityPost) GetUsingEnvironmentId() bool

GetUsingEnvironmentId returns the UsingEnvironmentId field value

func (*DefaultClientSideAvailabilityPost) GetUsingEnvironmentIdOk ¶

func (o *DefaultClientSideAvailabilityPost) GetUsingEnvironmentIdOk() (*bool, bool)

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

func (*DefaultClientSideAvailabilityPost) GetUsingMobileKey ¶

func (o *DefaultClientSideAvailabilityPost) GetUsingMobileKey() bool

GetUsingMobileKey returns the UsingMobileKey field value

func (*DefaultClientSideAvailabilityPost) GetUsingMobileKeyOk ¶

func (o *DefaultClientSideAvailabilityPost) GetUsingMobileKeyOk() (*bool, bool)

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

func (DefaultClientSideAvailabilityPost) MarshalJSON ¶

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

func (*DefaultClientSideAvailabilityPost) SetUsingEnvironmentId ¶

func (o *DefaultClientSideAvailabilityPost) SetUsingEnvironmentId(v bool)

SetUsingEnvironmentId sets field value

func (*DefaultClientSideAvailabilityPost) SetUsingMobileKey ¶

func (o *DefaultClientSideAvailabilityPost) SetUsingMobileKey(v bool)

SetUsingMobileKey sets field value

type Defaults ¶

type Defaults struct {
	// The index, from the array of variations for this flag, of the variation to serve by default when targeting is on.
	OnVariation int32 `json:"onVariation"`
	// The index, from the array of variations for this flag, of the variation to serve by default when targeting is off.
	OffVariation int32 `json:"offVariation"`
}

Defaults struct for Defaults

func NewDefaults ¶

func NewDefaults(onVariation int32, offVariation int32) *Defaults

NewDefaults instantiates a new Defaults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDefaultsWithDefaults ¶

func NewDefaultsWithDefaults() *Defaults

NewDefaultsWithDefaults instantiates a new Defaults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Defaults) GetOffVariation ¶

func (o *Defaults) GetOffVariation() int32

GetOffVariation returns the OffVariation field value

func (*Defaults) GetOffVariationOk ¶

func (o *Defaults) GetOffVariationOk() (*int32, bool)

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

func (*Defaults) GetOnVariation ¶

func (o *Defaults) GetOnVariation() int32

GetOnVariation returns the OnVariation field value

func (*Defaults) GetOnVariationOk ¶

func (o *Defaults) GetOnVariationOk() (*int32, bool)

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

func (Defaults) MarshalJSON ¶

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

func (*Defaults) SetOffVariation ¶

func (o *Defaults) SetOffVariation(v int32)

SetOffVariation sets field value

func (*Defaults) SetOnVariation ¶

func (o *Defaults) SetOnVariation(v int32)

SetOnVariation sets field value

type DependentExperimentRep ¶

type DependentExperimentRep struct {
	// The experiment key
	Key string `json:"key"`
	// The experiment name
	Name string `json:"name"`
	// The environment ID
	EnvironmentId string `json:"environmentId"`
	// The environment key
	EnvironmentKey string `json:"environmentKey"`
	CreationDate   int64  `json:"creationDate"`
	ArchivedDate   *int64 `json:"archivedDate,omitempty"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

DependentExperimentRep struct for DependentExperimentRep

func NewDependentExperimentRep ¶

func NewDependentExperimentRep(key string, name string, environmentId string, environmentKey string, creationDate int64, links map[string]Link) *DependentExperimentRep

NewDependentExperimentRep instantiates a new DependentExperimentRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDependentExperimentRepWithDefaults ¶

func NewDependentExperimentRepWithDefaults() *DependentExperimentRep

NewDependentExperimentRepWithDefaults instantiates a new DependentExperimentRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DependentExperimentRep) GetArchivedDate ¶

func (o *DependentExperimentRep) GetArchivedDate() int64

GetArchivedDate returns the ArchivedDate field value if set, zero value otherwise.

func (*DependentExperimentRep) GetArchivedDateOk ¶

func (o *DependentExperimentRep) GetArchivedDateOk() (*int64, bool)

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

func (*DependentExperimentRep) GetCreationDate ¶

func (o *DependentExperimentRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*DependentExperimentRep) GetCreationDateOk ¶

func (o *DependentExperimentRep) GetCreationDateOk() (*int64, bool)

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

func (*DependentExperimentRep) GetEnvironmentId ¶

func (o *DependentExperimentRep) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*DependentExperimentRep) GetEnvironmentIdOk ¶

func (o *DependentExperimentRep) GetEnvironmentIdOk() (*string, bool)

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

func (*DependentExperimentRep) GetEnvironmentKey ¶

func (o *DependentExperimentRep) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value

func (*DependentExperimentRep) GetEnvironmentKeyOk ¶

func (o *DependentExperimentRep) GetEnvironmentKeyOk() (*string, bool)

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

func (*DependentExperimentRep) GetKey ¶

func (o *DependentExperimentRep) GetKey() string

GetKey returns the Key field value

func (*DependentExperimentRep) GetKeyOk ¶

func (o *DependentExperimentRep) GetKeyOk() (*string, bool)

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

func (o *DependentExperimentRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*DependentExperimentRep) GetLinksOk ¶

func (o *DependentExperimentRep) GetLinksOk() (*map[string]Link, bool)

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

func (*DependentExperimentRep) GetName ¶

func (o *DependentExperimentRep) GetName() string

GetName returns the Name field value

func (*DependentExperimentRep) GetNameOk ¶

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

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

func (*DependentExperimentRep) HasArchivedDate ¶

func (o *DependentExperimentRep) HasArchivedDate() bool

HasArchivedDate returns a boolean if a field has been set.

func (DependentExperimentRep) MarshalJSON ¶

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

func (*DependentExperimentRep) SetArchivedDate ¶

func (o *DependentExperimentRep) SetArchivedDate(v int64)

SetArchivedDate gets a reference to the given int64 and assigns it to the ArchivedDate field.

func (*DependentExperimentRep) SetCreationDate ¶

func (o *DependentExperimentRep) SetCreationDate(v int64)

SetCreationDate sets field value

func (*DependentExperimentRep) SetEnvironmentId ¶

func (o *DependentExperimentRep) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*DependentExperimentRep) SetEnvironmentKey ¶

func (o *DependentExperimentRep) SetEnvironmentKey(v string)

SetEnvironmentKey sets field value

func (*DependentExperimentRep) SetKey ¶

func (o *DependentExperimentRep) SetKey(v string)

SetKey sets field value

func (o *DependentExperimentRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*DependentExperimentRep) SetName ¶

func (o *DependentExperimentRep) SetName(v string)

SetName sets field value

type DependentFlag ¶

type DependentFlag struct {
	// The flag name
	Name *string `json:"name,omitempty"`
	// The flag key
	Key string `json:"key"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	Site  Link            `json:"_site"`
}

DependentFlag struct for DependentFlag

func NewDependentFlag ¶

func NewDependentFlag(key string, links map[string]Link, site Link) *DependentFlag

NewDependentFlag instantiates a new DependentFlag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDependentFlagWithDefaults ¶

func NewDependentFlagWithDefaults() *DependentFlag

NewDependentFlagWithDefaults instantiates a new DependentFlag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DependentFlag) GetKey ¶

func (o *DependentFlag) GetKey() string

GetKey returns the Key field value

func (*DependentFlag) GetKeyOk ¶

func (o *DependentFlag) GetKeyOk() (*string, bool)

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

func (o *DependentFlag) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*DependentFlag) GetLinksOk ¶

func (o *DependentFlag) GetLinksOk() (*map[string]Link, bool)

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

func (*DependentFlag) GetName ¶

func (o *DependentFlag) GetName() string

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

func (*DependentFlag) GetNameOk ¶

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

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

func (*DependentFlag) GetSite ¶

func (o *DependentFlag) GetSite() Link

GetSite returns the Site field value

func (*DependentFlag) GetSiteOk ¶

func (o *DependentFlag) GetSiteOk() (*Link, bool)

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

func (*DependentFlag) HasName ¶

func (o *DependentFlag) HasName() bool

HasName returns a boolean if a field has been set.

func (DependentFlag) MarshalJSON ¶

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

func (*DependentFlag) SetKey ¶

func (o *DependentFlag) SetKey(v string)

SetKey sets field value

func (o *DependentFlag) SetLinks(v map[string]Link)

SetLinks sets field value

func (*DependentFlag) SetName ¶

func (o *DependentFlag) SetName(v string)

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

func (*DependentFlag) SetSite ¶

func (o *DependentFlag) SetSite(v Link)

SetSite sets field value

type DependentFlagEnvironment ¶

type DependentFlagEnvironment struct {
	// The environment name
	Name *string `json:"name,omitempty"`
	// The environment key
	Key string `json:"key"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	Site  Link            `json:"_site"`
}

DependentFlagEnvironment struct for DependentFlagEnvironment

func NewDependentFlagEnvironment ¶

func NewDependentFlagEnvironment(key string, links map[string]Link, site Link) *DependentFlagEnvironment

NewDependentFlagEnvironment instantiates a new DependentFlagEnvironment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDependentFlagEnvironmentWithDefaults ¶

func NewDependentFlagEnvironmentWithDefaults() *DependentFlagEnvironment

NewDependentFlagEnvironmentWithDefaults instantiates a new DependentFlagEnvironment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DependentFlagEnvironment) GetKey ¶

func (o *DependentFlagEnvironment) GetKey() string

GetKey returns the Key field value

func (*DependentFlagEnvironment) GetKeyOk ¶

func (o *DependentFlagEnvironment) GetKeyOk() (*string, bool)

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

func (o *DependentFlagEnvironment) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*DependentFlagEnvironment) GetLinksOk ¶

func (o *DependentFlagEnvironment) GetLinksOk() (*map[string]Link, bool)

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

func (*DependentFlagEnvironment) GetName ¶

func (o *DependentFlagEnvironment) GetName() string

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

func (*DependentFlagEnvironment) GetNameOk ¶

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

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

func (*DependentFlagEnvironment) GetSite ¶

func (o *DependentFlagEnvironment) GetSite() Link

GetSite returns the Site field value

func (*DependentFlagEnvironment) GetSiteOk ¶

func (o *DependentFlagEnvironment) GetSiteOk() (*Link, bool)

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

func (*DependentFlagEnvironment) HasName ¶

func (o *DependentFlagEnvironment) HasName() bool

HasName returns a boolean if a field has been set.

func (DependentFlagEnvironment) MarshalJSON ¶

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

func (*DependentFlagEnvironment) SetKey ¶

func (o *DependentFlagEnvironment) SetKey(v string)

SetKey sets field value

func (o *DependentFlagEnvironment) SetLinks(v map[string]Link)

SetLinks sets field value

func (*DependentFlagEnvironment) SetName ¶

func (o *DependentFlagEnvironment) SetName(v string)

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

func (*DependentFlagEnvironment) SetSite ¶

func (o *DependentFlagEnvironment) SetSite(v Link)

SetSite sets field value

type DependentFlagsByEnvironment ¶

type DependentFlagsByEnvironment struct {
	// A list of dependent flags, which are flags that use the requested flag as a prerequisite
	Items []DependentFlag `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	Site  Link            `json:"_site"`
}

DependentFlagsByEnvironment struct for DependentFlagsByEnvironment

func NewDependentFlagsByEnvironment ¶

func NewDependentFlagsByEnvironment(items []DependentFlag, links map[string]Link, site Link) *DependentFlagsByEnvironment

NewDependentFlagsByEnvironment instantiates a new DependentFlagsByEnvironment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDependentFlagsByEnvironmentWithDefaults ¶

func NewDependentFlagsByEnvironmentWithDefaults() *DependentFlagsByEnvironment

NewDependentFlagsByEnvironmentWithDefaults instantiates a new DependentFlagsByEnvironment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DependentFlagsByEnvironment) GetItems ¶

GetItems returns the Items field value

func (*DependentFlagsByEnvironment) GetItemsOk ¶

func (o *DependentFlagsByEnvironment) GetItemsOk() ([]DependentFlag, bool)

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

func (o *DependentFlagsByEnvironment) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*DependentFlagsByEnvironment) GetLinksOk ¶

func (o *DependentFlagsByEnvironment) GetLinksOk() (*map[string]Link, bool)

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

func (*DependentFlagsByEnvironment) GetSite ¶

func (o *DependentFlagsByEnvironment) GetSite() Link

GetSite returns the Site field value

func (*DependentFlagsByEnvironment) GetSiteOk ¶

func (o *DependentFlagsByEnvironment) GetSiteOk() (*Link, bool)

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

func (DependentFlagsByEnvironment) MarshalJSON ¶

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

func (*DependentFlagsByEnvironment) SetItems ¶

func (o *DependentFlagsByEnvironment) SetItems(v []DependentFlag)

SetItems sets field value

func (o *DependentFlagsByEnvironment) SetLinks(v map[string]Link)

SetLinks sets field value

func (*DependentFlagsByEnvironment) SetSite ¶

func (o *DependentFlagsByEnvironment) SetSite(v Link)

SetSite sets field value

type DependentMetricGroupRep ¶

type DependentMetricGroupRep struct {
	// A unique key to reference the metric group
	Key string `json:"key"`
	// A human-friendly name for the metric group
	Name string `json:"name"`
	// The type of the metric group
	Kind string `json:"kind"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

DependentMetricGroupRep struct for DependentMetricGroupRep

func NewDependentMetricGroupRep ¶

func NewDependentMetricGroupRep(key string, name string, kind string, links map[string]Link) *DependentMetricGroupRep

NewDependentMetricGroupRep instantiates a new DependentMetricGroupRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDependentMetricGroupRepWithDefaults ¶

func NewDependentMetricGroupRepWithDefaults() *DependentMetricGroupRep

NewDependentMetricGroupRepWithDefaults instantiates a new DependentMetricGroupRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DependentMetricGroupRep) GetKey ¶

func (o *DependentMetricGroupRep) GetKey() string

GetKey returns the Key field value

func (*DependentMetricGroupRep) GetKeyOk ¶

func (o *DependentMetricGroupRep) GetKeyOk() (*string, bool)

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

func (*DependentMetricGroupRep) GetKind ¶

func (o *DependentMetricGroupRep) GetKind() string

GetKind returns the Kind field value

func (*DependentMetricGroupRep) GetKindOk ¶

func (o *DependentMetricGroupRep) GetKindOk() (*string, bool)

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

func (o *DependentMetricGroupRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*DependentMetricGroupRep) GetLinksOk ¶

func (o *DependentMetricGroupRep) GetLinksOk() (*map[string]Link, bool)

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

func (*DependentMetricGroupRep) GetName ¶

func (o *DependentMetricGroupRep) GetName() string

GetName returns the Name field value

func (*DependentMetricGroupRep) GetNameOk ¶

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

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

func (DependentMetricGroupRep) MarshalJSON ¶

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

func (*DependentMetricGroupRep) SetKey ¶

func (o *DependentMetricGroupRep) SetKey(v string)

SetKey sets field value

func (*DependentMetricGroupRep) SetKind ¶

func (o *DependentMetricGroupRep) SetKind(v string)

SetKind sets field value

func (o *DependentMetricGroupRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*DependentMetricGroupRep) SetName ¶

func (o *DependentMetricGroupRep) SetName(v string)

SetName sets field value

type DependentMetricGroupRepWithMetrics ¶

type DependentMetricGroupRepWithMetrics struct {
	// A unique key to reference the metric group
	Key string `json:"key"`
	// A human-friendly name for the metric group
	Name string `json:"name"`
	// The type of the metric group
	Kind string `json:"kind"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The metrics in the metric group
	Metrics []MetricInGroupRep `json:"metrics,omitempty"`
}

DependentMetricGroupRepWithMetrics struct for DependentMetricGroupRepWithMetrics

func NewDependentMetricGroupRepWithMetrics ¶

func NewDependentMetricGroupRepWithMetrics(key string, name string, kind string, links map[string]Link) *DependentMetricGroupRepWithMetrics

NewDependentMetricGroupRepWithMetrics instantiates a new DependentMetricGroupRepWithMetrics object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDependentMetricGroupRepWithMetricsWithDefaults ¶

func NewDependentMetricGroupRepWithMetricsWithDefaults() *DependentMetricGroupRepWithMetrics

NewDependentMetricGroupRepWithMetricsWithDefaults instantiates a new DependentMetricGroupRepWithMetrics object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DependentMetricGroupRepWithMetrics) GetKey ¶

GetKey returns the Key field value

func (*DependentMetricGroupRepWithMetrics) GetKeyOk ¶

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

func (*DependentMetricGroupRepWithMetrics) GetKind ¶

GetKind returns the Kind field value

func (*DependentMetricGroupRepWithMetrics) GetKindOk ¶

func (o *DependentMetricGroupRepWithMetrics) GetKindOk() (*string, bool)

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

GetLinks returns the Links field value

func (*DependentMetricGroupRepWithMetrics) GetLinksOk ¶

func (o *DependentMetricGroupRepWithMetrics) GetLinksOk() (*map[string]Link, bool)

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

func (*DependentMetricGroupRepWithMetrics) GetMetrics ¶

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*DependentMetricGroupRepWithMetrics) GetMetricsOk ¶

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

func (*DependentMetricGroupRepWithMetrics) GetName ¶

GetName returns the Name field value

func (*DependentMetricGroupRepWithMetrics) GetNameOk ¶

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

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

func (*DependentMetricGroupRepWithMetrics) HasMetrics ¶

func (o *DependentMetricGroupRepWithMetrics) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (DependentMetricGroupRepWithMetrics) MarshalJSON ¶

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

func (*DependentMetricGroupRepWithMetrics) SetKey ¶

SetKey sets field value

func (*DependentMetricGroupRepWithMetrics) SetKind ¶

SetKind sets field value

func (o *DependentMetricGroupRepWithMetrics) SetLinks(v map[string]Link)

SetLinks sets field value

func (*DependentMetricGroupRepWithMetrics) SetMetrics ¶

SetMetrics gets a reference to the given []MetricInGroupRep and assigns it to the Metrics field.

func (*DependentMetricGroupRepWithMetrics) SetName ¶

SetName sets field value

type DependentMetricOrMetricGroupRep ¶

type DependentMetricOrMetricGroupRep struct {
	// A unique key to reference the metric or metric group
	Key string `json:"key"`
	// The version ID of the metric or metric group
	VersionId string `json:"_versionId"`
	// A human-friendly name for the metric or metric group
	Name string `json:"name"`
	// If this is a metric, then it represents the kind of event the metric tracks. If this is a metric group, then it represents the group type
	Kind string `json:"kind"`
	// For custom metrics, whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>).
	IsNumeric *bool `json:"isNumeric,omitempty"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// Whether this is a metric group or a metric
	IsGroup bool `json:"isGroup"`
	// An ordered list of the metrics in this metric group
	Metrics []MetricInGroupRep `json:"metrics,omitempty"`
}

DependentMetricOrMetricGroupRep struct for DependentMetricOrMetricGroupRep

func NewDependentMetricOrMetricGroupRep ¶

func NewDependentMetricOrMetricGroupRep(key string, versionId string, name string, kind string, links map[string]Link, isGroup bool) *DependentMetricOrMetricGroupRep

NewDependentMetricOrMetricGroupRep instantiates a new DependentMetricOrMetricGroupRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDependentMetricOrMetricGroupRepWithDefaults ¶

func NewDependentMetricOrMetricGroupRepWithDefaults() *DependentMetricOrMetricGroupRep

NewDependentMetricOrMetricGroupRepWithDefaults instantiates a new DependentMetricOrMetricGroupRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DependentMetricOrMetricGroupRep) GetIsGroup ¶

func (o *DependentMetricOrMetricGroupRep) GetIsGroup() bool

GetIsGroup returns the IsGroup field value

func (*DependentMetricOrMetricGroupRep) GetIsGroupOk ¶

func (o *DependentMetricOrMetricGroupRep) GetIsGroupOk() (*bool, bool)

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

func (*DependentMetricOrMetricGroupRep) GetIsNumeric ¶

func (o *DependentMetricOrMetricGroupRep) GetIsNumeric() bool

GetIsNumeric returns the IsNumeric field value if set, zero value otherwise.

func (*DependentMetricOrMetricGroupRep) GetIsNumericOk ¶

func (o *DependentMetricOrMetricGroupRep) GetIsNumericOk() (*bool, bool)

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

func (*DependentMetricOrMetricGroupRep) GetKey ¶

GetKey returns the Key field value

func (*DependentMetricOrMetricGroupRep) GetKeyOk ¶

func (o *DependentMetricOrMetricGroupRep) GetKeyOk() (*string, bool)

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

func (*DependentMetricOrMetricGroupRep) GetKind ¶

GetKind returns the Kind field value

func (*DependentMetricOrMetricGroupRep) GetKindOk ¶

func (o *DependentMetricOrMetricGroupRep) GetKindOk() (*string, bool)

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

func (o *DependentMetricOrMetricGroupRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*DependentMetricOrMetricGroupRep) GetLinksOk ¶

func (o *DependentMetricOrMetricGroupRep) GetLinksOk() (*map[string]Link, bool)

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

func (*DependentMetricOrMetricGroupRep) GetMetrics ¶

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*DependentMetricOrMetricGroupRep) GetMetricsOk ¶

func (o *DependentMetricOrMetricGroupRep) GetMetricsOk() ([]MetricInGroupRep, bool)

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

func (*DependentMetricOrMetricGroupRep) GetName ¶

GetName returns the Name field value

func (*DependentMetricOrMetricGroupRep) GetNameOk ¶

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

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

func (*DependentMetricOrMetricGroupRep) GetVersionId ¶

func (o *DependentMetricOrMetricGroupRep) GetVersionId() string

GetVersionId returns the VersionId field value

func (*DependentMetricOrMetricGroupRep) GetVersionIdOk ¶

func (o *DependentMetricOrMetricGroupRep) GetVersionIdOk() (*string, bool)

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

func (*DependentMetricOrMetricGroupRep) HasIsNumeric ¶

func (o *DependentMetricOrMetricGroupRep) HasIsNumeric() bool

HasIsNumeric returns a boolean if a field has been set.

func (*DependentMetricOrMetricGroupRep) HasMetrics ¶

func (o *DependentMetricOrMetricGroupRep) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (DependentMetricOrMetricGroupRep) MarshalJSON ¶

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

func (*DependentMetricOrMetricGroupRep) SetIsGroup ¶

func (o *DependentMetricOrMetricGroupRep) SetIsGroup(v bool)

SetIsGroup sets field value

func (*DependentMetricOrMetricGroupRep) SetIsNumeric ¶

func (o *DependentMetricOrMetricGroupRep) SetIsNumeric(v bool)

SetIsNumeric gets a reference to the given bool and assigns it to the IsNumeric field.

func (*DependentMetricOrMetricGroupRep) SetKey ¶

SetKey sets field value

func (*DependentMetricOrMetricGroupRep) SetKind ¶

SetKind sets field value

func (o *DependentMetricOrMetricGroupRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*DependentMetricOrMetricGroupRep) SetMetrics ¶

SetMetrics gets a reference to the given []MetricInGroupRep and assigns it to the Metrics field.

func (*DependentMetricOrMetricGroupRep) SetName ¶

SetName sets field value

func (*DependentMetricOrMetricGroupRep) SetVersionId ¶

func (o *DependentMetricOrMetricGroupRep) SetVersionId(v string)

SetVersionId sets field value

type DeploymentCollectionRep ¶

type DeploymentCollectionRep struct {
	// The total number of deployments
	TotalCount int32 `json:"totalCount"`
	// A list of deployments
	Items []DeploymentRep `json:"items"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

DeploymentCollectionRep struct for DeploymentCollectionRep

func NewDeploymentCollectionRep ¶

func NewDeploymentCollectionRep(totalCount int32, items []DeploymentRep) *DeploymentCollectionRep

NewDeploymentCollectionRep instantiates a new DeploymentCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentCollectionRepWithDefaults ¶

func NewDeploymentCollectionRepWithDefaults() *DeploymentCollectionRep

NewDeploymentCollectionRepWithDefaults instantiates a new DeploymentCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentCollectionRep) GetItems ¶

func (o *DeploymentCollectionRep) GetItems() []DeploymentRep

GetItems returns the Items field value

func (*DeploymentCollectionRep) GetItemsOk ¶

func (o *DeploymentCollectionRep) GetItemsOk() ([]DeploymentRep, bool)

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

func (o *DeploymentCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*DeploymentCollectionRep) GetLinksOk ¶

func (o *DeploymentCollectionRep) GetLinksOk() (*map[string]Link, bool)

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

func (*DeploymentCollectionRep) GetTotalCount ¶

func (o *DeploymentCollectionRep) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*DeploymentCollectionRep) GetTotalCountOk ¶

func (o *DeploymentCollectionRep) GetTotalCountOk() (*int32, bool)

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

func (o *DeploymentCollectionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (DeploymentCollectionRep) MarshalJSON ¶

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

func (*DeploymentCollectionRep) SetItems ¶

func (o *DeploymentCollectionRep) SetItems(v []DeploymentRep)

SetItems sets field value

func (o *DeploymentCollectionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*DeploymentCollectionRep) SetTotalCount ¶

func (o *DeploymentCollectionRep) SetTotalCount(v int32)

SetTotalCount sets field value

type DeploymentRep ¶

type DeploymentRep struct {
	// The deployment ID
	Id string `json:"id"`
	// The application key
	ApplicationKey string `json:"applicationKey"`
	// The application version
	ApplicationVersion string `json:"applicationVersion"`
	StartedAt          int64  `json:"startedAt"`
	EndedAt            *int64 `json:"endedAt,omitempty"`
	// The duration of the deployment in milliseconds
	DurationMs *int64 `json:"durationMs,omitempty"`
	Status     string `json:"status"`
	Kind       string `json:"kind"`
	// Whether the deployment is active
	Active bool `json:"active"`
	// The metadata associated with the deployment
	Metadata map[string]interface{} `json:"metadata,omitempty"`
	// Whether the deployment is archived
	Archived bool `json:"archived"`
	// The environment key
	EnvironmentKey string `json:"environmentKey"`
	// The number of contributors
	NumberOfContributors int32 `json:"numberOfContributors"`
	// The number of pull requests
	NumberOfPullRequests int32 `json:"numberOfPullRequests"`
	// The number of lines added
	LinesAdded int64 `json:"linesAdded"`
	// The number of lines deleted
	LinesDeleted int64 `json:"linesDeleted"`
	// The total lead time from first commit to deployment end in milliseconds
	LeadTime       int64                       `json:"leadTime"`
	PullRequests   *PullRequestCollectionRep   `json:"pullRequests,omitempty"`
	FlagReferences *FlagReferenceCollectionRep `json:"flagReferences,omitempty"`
	LeadTimeStages *LeadTimeStagesRep          `json:"leadTimeStages,omitempty"`
}

DeploymentRep struct for DeploymentRep

func NewDeploymentRep ¶

func NewDeploymentRep(id string, applicationKey string, applicationVersion string, startedAt int64, status string, kind string, active bool, archived bool, environmentKey string, numberOfContributors int32, numberOfPullRequests int32, linesAdded int64, linesDeleted int64, leadTime int64) *DeploymentRep

NewDeploymentRep instantiates a new DeploymentRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentRepWithDefaults ¶

func NewDeploymentRepWithDefaults() *DeploymentRep

NewDeploymentRepWithDefaults instantiates a new DeploymentRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentRep) GetActive ¶

func (o *DeploymentRep) GetActive() bool

GetActive returns the Active field value

func (*DeploymentRep) GetActiveOk ¶

func (o *DeploymentRep) GetActiveOk() (*bool, bool)

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

func (*DeploymentRep) GetApplicationKey ¶

func (o *DeploymentRep) GetApplicationKey() string

GetApplicationKey returns the ApplicationKey field value

func (*DeploymentRep) GetApplicationKeyOk ¶

func (o *DeploymentRep) GetApplicationKeyOk() (*string, bool)

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

func (*DeploymentRep) GetApplicationVersion ¶

func (o *DeploymentRep) GetApplicationVersion() string

GetApplicationVersion returns the ApplicationVersion field value

func (*DeploymentRep) GetApplicationVersionOk ¶

func (o *DeploymentRep) GetApplicationVersionOk() (*string, bool)

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

func (*DeploymentRep) GetArchived ¶

func (o *DeploymentRep) GetArchived() bool

GetArchived returns the Archived field value

func (*DeploymentRep) GetArchivedOk ¶

func (o *DeploymentRep) GetArchivedOk() (*bool, bool)

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

func (*DeploymentRep) GetDurationMs ¶

func (o *DeploymentRep) GetDurationMs() int64

GetDurationMs returns the DurationMs field value if set, zero value otherwise.

func (*DeploymentRep) GetDurationMsOk ¶

func (o *DeploymentRep) GetDurationMsOk() (*int64, bool)

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

func (*DeploymentRep) GetEndedAt ¶

func (o *DeploymentRep) GetEndedAt() int64

GetEndedAt returns the EndedAt field value if set, zero value otherwise.

func (*DeploymentRep) GetEndedAtOk ¶

func (o *DeploymentRep) GetEndedAtOk() (*int64, bool)

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

func (*DeploymentRep) GetEnvironmentKey ¶

func (o *DeploymentRep) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value

func (*DeploymentRep) GetEnvironmentKeyOk ¶

func (o *DeploymentRep) GetEnvironmentKeyOk() (*string, bool)

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

func (*DeploymentRep) GetFlagReferences ¶

func (o *DeploymentRep) GetFlagReferences() FlagReferenceCollectionRep

GetFlagReferences returns the FlagReferences field value if set, zero value otherwise.

func (*DeploymentRep) GetFlagReferencesOk ¶

func (o *DeploymentRep) GetFlagReferencesOk() (*FlagReferenceCollectionRep, bool)

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

func (*DeploymentRep) GetId ¶

func (o *DeploymentRep) GetId() string

GetId returns the Id field value

func (*DeploymentRep) GetIdOk ¶

func (o *DeploymentRep) GetIdOk() (*string, bool)

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

func (*DeploymentRep) GetKind ¶

func (o *DeploymentRep) GetKind() string

GetKind returns the Kind field value

func (*DeploymentRep) GetKindOk ¶

func (o *DeploymentRep) GetKindOk() (*string, bool)

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

func (*DeploymentRep) GetLeadTime ¶

func (o *DeploymentRep) GetLeadTime() int64

GetLeadTime returns the LeadTime field value

func (*DeploymentRep) GetLeadTimeOk ¶

func (o *DeploymentRep) GetLeadTimeOk() (*int64, bool)

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

func (*DeploymentRep) GetLeadTimeStages ¶

func (o *DeploymentRep) GetLeadTimeStages() LeadTimeStagesRep

GetLeadTimeStages returns the LeadTimeStages field value if set, zero value otherwise.

func (*DeploymentRep) GetLeadTimeStagesOk ¶

func (o *DeploymentRep) GetLeadTimeStagesOk() (*LeadTimeStagesRep, bool)

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

func (*DeploymentRep) GetLinesAdded ¶

func (o *DeploymentRep) GetLinesAdded() int64

GetLinesAdded returns the LinesAdded field value

func (*DeploymentRep) GetLinesAddedOk ¶

func (o *DeploymentRep) GetLinesAddedOk() (*int64, bool)

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

func (*DeploymentRep) GetLinesDeleted ¶

func (o *DeploymentRep) GetLinesDeleted() int64

GetLinesDeleted returns the LinesDeleted field value

func (*DeploymentRep) GetLinesDeletedOk ¶

func (o *DeploymentRep) GetLinesDeletedOk() (*int64, bool)

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

func (*DeploymentRep) GetMetadata ¶

func (o *DeploymentRep) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*DeploymentRep) GetMetadataOk ¶

func (o *DeploymentRep) GetMetadataOk() (map[string]interface{}, bool)

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

func (*DeploymentRep) GetNumberOfContributors ¶

func (o *DeploymentRep) GetNumberOfContributors() int32

GetNumberOfContributors returns the NumberOfContributors field value

func (*DeploymentRep) GetNumberOfContributorsOk ¶

func (o *DeploymentRep) GetNumberOfContributorsOk() (*int32, bool)

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

func (*DeploymentRep) GetNumberOfPullRequests ¶

func (o *DeploymentRep) GetNumberOfPullRequests() int32

GetNumberOfPullRequests returns the NumberOfPullRequests field value

func (*DeploymentRep) GetNumberOfPullRequestsOk ¶

func (o *DeploymentRep) GetNumberOfPullRequestsOk() (*int32, bool)

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

func (*DeploymentRep) GetPullRequests ¶

func (o *DeploymentRep) GetPullRequests() PullRequestCollectionRep

GetPullRequests returns the PullRequests field value if set, zero value otherwise.

func (*DeploymentRep) GetPullRequestsOk ¶

func (o *DeploymentRep) GetPullRequestsOk() (*PullRequestCollectionRep, bool)

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

func (*DeploymentRep) GetStartedAt ¶

func (o *DeploymentRep) GetStartedAt() int64

GetStartedAt returns the StartedAt field value

func (*DeploymentRep) GetStartedAtOk ¶

func (o *DeploymentRep) GetStartedAtOk() (*int64, bool)

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

func (*DeploymentRep) GetStatus ¶

func (o *DeploymentRep) GetStatus() string

GetStatus returns the Status field value

func (*DeploymentRep) GetStatusOk ¶

func (o *DeploymentRep) GetStatusOk() (*string, bool)

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

func (*DeploymentRep) HasDurationMs ¶

func (o *DeploymentRep) HasDurationMs() bool

HasDurationMs returns a boolean if a field has been set.

func (*DeploymentRep) HasEndedAt ¶

func (o *DeploymentRep) HasEndedAt() bool

HasEndedAt returns a boolean if a field has been set.

func (*DeploymentRep) HasFlagReferences ¶

func (o *DeploymentRep) HasFlagReferences() bool

HasFlagReferences returns a boolean if a field has been set.

func (*DeploymentRep) HasLeadTimeStages ¶

func (o *DeploymentRep) HasLeadTimeStages() bool

HasLeadTimeStages returns a boolean if a field has been set.

func (*DeploymentRep) HasMetadata ¶

func (o *DeploymentRep) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*DeploymentRep) HasPullRequests ¶

func (o *DeploymentRep) HasPullRequests() bool

HasPullRequests returns a boolean if a field has been set.

func (DeploymentRep) MarshalJSON ¶

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

func (*DeploymentRep) SetActive ¶

func (o *DeploymentRep) SetActive(v bool)

SetActive sets field value

func (*DeploymentRep) SetApplicationKey ¶

func (o *DeploymentRep) SetApplicationKey(v string)

SetApplicationKey sets field value

func (*DeploymentRep) SetApplicationVersion ¶

func (o *DeploymentRep) SetApplicationVersion(v string)

SetApplicationVersion sets field value

func (*DeploymentRep) SetArchived ¶

func (o *DeploymentRep) SetArchived(v bool)

SetArchived sets field value

func (*DeploymentRep) SetDurationMs ¶

func (o *DeploymentRep) SetDurationMs(v int64)

SetDurationMs gets a reference to the given int64 and assigns it to the DurationMs field.

func (*DeploymentRep) SetEndedAt ¶

func (o *DeploymentRep) SetEndedAt(v int64)

SetEndedAt gets a reference to the given int64 and assigns it to the EndedAt field.

func (*DeploymentRep) SetEnvironmentKey ¶

func (o *DeploymentRep) SetEnvironmentKey(v string)

SetEnvironmentKey sets field value

func (*DeploymentRep) SetFlagReferences ¶

func (o *DeploymentRep) SetFlagReferences(v FlagReferenceCollectionRep)

SetFlagReferences gets a reference to the given FlagReferenceCollectionRep and assigns it to the FlagReferences field.

func (*DeploymentRep) SetId ¶

func (o *DeploymentRep) SetId(v string)

SetId sets field value

func (*DeploymentRep) SetKind ¶

func (o *DeploymentRep) SetKind(v string)

SetKind sets field value

func (*DeploymentRep) SetLeadTime ¶

func (o *DeploymentRep) SetLeadTime(v int64)

SetLeadTime sets field value

func (*DeploymentRep) SetLeadTimeStages ¶

func (o *DeploymentRep) SetLeadTimeStages(v LeadTimeStagesRep)

SetLeadTimeStages gets a reference to the given LeadTimeStagesRep and assigns it to the LeadTimeStages field.

func (*DeploymentRep) SetLinesAdded ¶

func (o *DeploymentRep) SetLinesAdded(v int64)

SetLinesAdded sets field value

func (*DeploymentRep) SetLinesDeleted ¶

func (o *DeploymentRep) SetLinesDeleted(v int64)

SetLinesDeleted sets field value

func (*DeploymentRep) SetMetadata ¶

func (o *DeploymentRep) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*DeploymentRep) SetNumberOfContributors ¶

func (o *DeploymentRep) SetNumberOfContributors(v int32)

SetNumberOfContributors sets field value

func (*DeploymentRep) SetNumberOfPullRequests ¶

func (o *DeploymentRep) SetNumberOfPullRequests(v int32)

SetNumberOfPullRequests sets field value

func (*DeploymentRep) SetPullRequests ¶

func (o *DeploymentRep) SetPullRequests(v PullRequestCollectionRep)

SetPullRequests gets a reference to the given PullRequestCollectionRep and assigns it to the PullRequests field.

func (*DeploymentRep) SetStartedAt ¶

func (o *DeploymentRep) SetStartedAt(v int64)

SetStartedAt sets field value

func (*DeploymentRep) SetStatus ¶

func (o *DeploymentRep) SetStatus(v string)

SetStatus sets field value

type Destination ¶

type Destination struct {
	// The ID of this Data Export destination
	Id *string `json:"_id,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// A human-readable name for your Data Export destination
	Name *string `json:"name,omitempty"`
	// The type of Data Export destination
	Kind    *string  `json:"kind,omitempty"`
	Version *float32 `json:"version,omitempty"`
	// An object with the configuration parameters required for the destination type
	Config interface{} `json:"config,omitempty"`
	// Whether the export is on, that is, the status of the integration
	On     *bool   `json:"on,omitempty"`
	Access *Access `json:"_access,omitempty"`
}

Destination struct for Destination

func NewDestination ¶

func NewDestination() *Destination

NewDestination instantiates a new Destination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDestinationWithDefaults ¶

func NewDestinationWithDefaults() *Destination

NewDestinationWithDefaults instantiates a new Destination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Destination) GetAccess ¶

func (o *Destination) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*Destination) GetAccessOk ¶

func (o *Destination) GetAccessOk() (*Access, bool)

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

func (*Destination) GetConfig ¶

func (o *Destination) GetConfig() interface{}

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

func (*Destination) GetConfigOk ¶

func (o *Destination) GetConfigOk() (*interface{}, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Destination) GetId ¶

func (o *Destination) GetId() string

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

func (*Destination) GetIdOk ¶

func (o *Destination) GetIdOk() (*string, bool)

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

func (*Destination) GetKind ¶

func (o *Destination) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Destination) GetKindOk ¶

func (o *Destination) GetKindOk() (*string, bool)

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

func (o *Destination) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Destination) GetLinksOk ¶

func (o *Destination) GetLinksOk() (*map[string]Link, bool)

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

func (*Destination) GetName ¶

func (o *Destination) GetName() string

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

func (*Destination) GetNameOk ¶

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

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

func (*Destination) GetOn ¶

func (o *Destination) GetOn() bool

GetOn returns the On field value if set, zero value otherwise.

func (*Destination) GetOnOk ¶

func (o *Destination) GetOnOk() (*bool, bool)

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

func (*Destination) GetVersion ¶

func (o *Destination) GetVersion() float32

GetVersion returns the Version field value if set, zero value otherwise.

func (*Destination) GetVersionOk ¶

func (o *Destination) GetVersionOk() (*float32, bool)

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

func (*Destination) HasAccess ¶

func (o *Destination) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*Destination) HasConfig ¶

func (o *Destination) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Destination) HasId ¶

func (o *Destination) HasId() bool

HasId returns a boolean if a field has been set.

func (*Destination) HasKind ¶

func (o *Destination) HasKind() bool

HasKind returns a boolean if a field has been set.

func (o *Destination) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Destination) HasName ¶

func (o *Destination) HasName() bool

HasName returns a boolean if a field has been set.

func (*Destination) HasOn ¶

func (o *Destination) HasOn() bool

HasOn returns a boolean if a field has been set.

func (*Destination) HasVersion ¶

func (o *Destination) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Destination) MarshalJSON ¶

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

func (*Destination) SetAccess ¶

func (o *Destination) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*Destination) SetConfig ¶

func (o *Destination) SetConfig(v interface{})

SetConfig gets a reference to the given interface{} and assigns it to the Config field.

func (*Destination) SetId ¶

func (o *Destination) SetId(v string)

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

func (*Destination) SetKind ¶

func (o *Destination) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (o *Destination) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*Destination) SetName ¶

func (o *Destination) SetName(v string)

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

func (*Destination) SetOn ¶

func (o *Destination) SetOn(v bool)

SetOn gets a reference to the given bool and assigns it to the On field.

func (*Destination) SetVersion ¶

func (o *Destination) SetVersion(v float32)

SetVersion gets a reference to the given float32 and assigns it to the Version field.

type DestinationPost ¶

type DestinationPost struct {
	// A human-readable name for your Data Export destination
	Name *string `json:"name,omitempty"`
	// The type of Data Export destination
	Kind *string `json:"kind,omitempty"`
	// An object with the configuration parameters required for the destination type
	Config interface{} `json:"config,omitempty"`
	// Whether the export is on. Displayed as the integration status in the LaunchDarkly UI.
	On *bool `json:"on,omitempty"`
}

DestinationPost struct for DestinationPost

func NewDestinationPost ¶

func NewDestinationPost() *DestinationPost

NewDestinationPost instantiates a new DestinationPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDestinationPostWithDefaults ¶

func NewDestinationPostWithDefaults() *DestinationPost

NewDestinationPostWithDefaults instantiates a new DestinationPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DestinationPost) GetConfig ¶

func (o *DestinationPost) GetConfig() interface{}

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

func (*DestinationPost) GetConfigOk ¶

func (o *DestinationPost) GetConfigOk() (*interface{}, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DestinationPost) GetKind ¶

func (o *DestinationPost) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*DestinationPost) GetKindOk ¶

func (o *DestinationPost) GetKindOk() (*string, bool)

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

func (*DestinationPost) GetName ¶

func (o *DestinationPost) GetName() string

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

func (*DestinationPost) GetNameOk ¶

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

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

func (*DestinationPost) GetOn ¶

func (o *DestinationPost) GetOn() bool

GetOn returns the On field value if set, zero value otherwise.

func (*DestinationPost) GetOnOk ¶

func (o *DestinationPost) GetOnOk() (*bool, bool)

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

func (*DestinationPost) HasConfig ¶

func (o *DestinationPost) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*DestinationPost) HasKind ¶

func (o *DestinationPost) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*DestinationPost) HasName ¶

func (o *DestinationPost) HasName() bool

HasName returns a boolean if a field has been set.

func (*DestinationPost) HasOn ¶

func (o *DestinationPost) HasOn() bool

HasOn returns a boolean if a field has been set.

func (DestinationPost) MarshalJSON ¶

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

func (*DestinationPost) SetConfig ¶

func (o *DestinationPost) SetConfig(v interface{})

SetConfig gets a reference to the given interface{} and assigns it to the Config field.

func (*DestinationPost) SetKind ¶

func (o *DestinationPost) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*DestinationPost) SetName ¶

func (o *DestinationPost) SetName(v string)

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

func (*DestinationPost) SetOn ¶

func (o *DestinationPost) SetOn(v bool)

SetOn gets a reference to the given bool and assigns it to the On field.

type Destinations ¶

type Destinations struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// An array of Data Export destinations
	Items []Destination `json:"items,omitempty"`
}

Destinations struct for Destinations

func NewDestinations ¶

func NewDestinations() *Destinations

NewDestinations instantiates a new Destinations object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDestinationsWithDefaults ¶

func NewDestinationsWithDefaults() *Destinations

NewDestinationsWithDefaults instantiates a new Destinations object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Destinations) GetItems ¶

func (o *Destinations) GetItems() []Destination

GetItems returns the Items field value if set, zero value otherwise.

func (*Destinations) GetItemsOk ¶

func (o *Destinations) GetItemsOk() ([]Destination, bool)

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

func (o *Destinations) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Destinations) GetLinksOk ¶

func (o *Destinations) GetLinksOk() (*map[string]Link, bool)

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

func (*Destinations) HasItems ¶

func (o *Destinations) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *Destinations) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (Destinations) MarshalJSON ¶

func (o Destinations) MarshalJSON() ([]byte, error)

func (*Destinations) SetItems ¶

func (o *Destinations) SetItems(v []Destination)

SetItems gets a reference to the given []Destination and assigns it to the Items field.

func (o *Destinations) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type Distribution ¶

type Distribution struct {
	// The type of distribution.
	Kind *string `json:"kind,omitempty"`
	// The parameters of the distribution. The parameters are different for each distribution type. When <code>kind</code> is <code>normal</code>, the parameters of the distribution are 'mu' and 'sigma'. When <code>kind</code> is <code>beta</code>, the parameters of the distribution are 'alpha' and 'beta.'
	Parameters map[string]interface{} `json:"parameters,omitempty"`
}

Distribution struct for Distribution

func NewDistribution ¶

func NewDistribution() *Distribution

NewDistribution instantiates a new Distribution object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDistributionWithDefaults ¶

func NewDistributionWithDefaults() *Distribution

NewDistributionWithDefaults instantiates a new Distribution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Distribution) GetKind ¶

func (o *Distribution) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Distribution) GetKindOk ¶

func (o *Distribution) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Distribution) GetParameters ¶

func (o *Distribution) GetParameters() map[string]interface{}

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*Distribution) GetParametersOk ¶

func (o *Distribution) GetParametersOk() (map[string]interface{}, bool)

GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Distribution) HasKind ¶

func (o *Distribution) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Distribution) HasParameters ¶

func (o *Distribution) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (Distribution) MarshalJSON ¶

func (o Distribution) MarshalJSON() ([]byte, error)

func (*Distribution) SetKind ¶

func (o *Distribution) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Distribution) SetParameters ¶

func (o *Distribution) SetParameters(v map[string]interface{})

SetParameters gets a reference to the given map[string]interface{} and assigns it to the Parameters field.

type Environment ¶

type Environment struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The ID for the environment. Use this as the client-side ID for authorization in some client-side SDKs, and to associate LaunchDarkly environments with CDN integrations in edge SDKs.
	Id string `json:"_id"`
	// A project-unique key for the new environment
	Key string `json:"key"`
	// A human-friendly name for the new environment
	Name string `json:"name"`
	// The SDK key for the environment. Use this for authorization in server-side SDKs.
	ApiKey string `json:"apiKey"`
	// The mobile key for the environment. Use this for authorization in mobile SDKs.
	MobileKey string `json:"mobileKey"`
	// The color used to indicate this environment in the UI
	Color string `json:"color"`
	// The default time (in minutes) that the PHP SDK can cache feature flag rules locally
	DefaultTtl int32 `json:"defaultTtl"`
	// Ensures that one end user of the client-side SDK cannot inspect the variations for another end user
	SecureMode bool `json:"secureMode"`
	// Enables tracking detailed information for new flags by default
	DefaultTrackEvents bool `json:"defaultTrackEvents"`
	// Whether members who modify flags and segments through the LaunchDarkly user interface are required to add a comment
	RequireComments bool `json:"requireComments"`
	// Whether members who modify flags and segments through the LaunchDarkly user interface are required to confirm those changes
	ConfirmChanges bool `json:"confirmChanges"`
	// A list of tags for this environment
	Tags             []string          `json:"tags"`
	ApprovalSettings *ApprovalSettings `json:"approvalSettings,omitempty"`
	// Whether the environment is critical
	Critical bool `json:"critical"`
}

Environment struct for Environment

func NewEnvironment ¶

func NewEnvironment(links map[string]Link, id string, key string, name string, apiKey string, mobileKey string, color string, defaultTtl int32, secureMode bool, defaultTrackEvents bool, requireComments bool, confirmChanges bool, tags []string, critical bool) *Environment

NewEnvironment instantiates a new Environment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentWithDefaults ¶

func NewEnvironmentWithDefaults() *Environment

NewEnvironmentWithDefaults instantiates a new Environment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Environment) GetApiKey ¶

func (o *Environment) GetApiKey() string

GetApiKey returns the ApiKey field value

func (*Environment) GetApiKeyOk ¶

func (o *Environment) GetApiKeyOk() (*string, bool)

GetApiKeyOk returns a tuple with the ApiKey field value and a boolean to check if the value has been set.

func (*Environment) GetApprovalSettings ¶

func (o *Environment) GetApprovalSettings() ApprovalSettings

GetApprovalSettings returns the ApprovalSettings field value if set, zero value otherwise.

func (*Environment) GetApprovalSettingsOk ¶

func (o *Environment) GetApprovalSettingsOk() (*ApprovalSettings, bool)

GetApprovalSettingsOk returns a tuple with the ApprovalSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Environment) GetColor ¶

func (o *Environment) GetColor() string

GetColor returns the Color field value

func (*Environment) GetColorOk ¶

func (o *Environment) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field value and a boolean to check if the value has been set.

func (*Environment) GetConfirmChanges ¶

func (o *Environment) GetConfirmChanges() bool

GetConfirmChanges returns the ConfirmChanges field value

func (*Environment) GetConfirmChangesOk ¶

func (o *Environment) GetConfirmChangesOk() (*bool, bool)

GetConfirmChangesOk returns a tuple with the ConfirmChanges field value and a boolean to check if the value has been set.

func (*Environment) GetCritical ¶

func (o *Environment) GetCritical() bool

GetCritical returns the Critical field value

func (*Environment) GetCriticalOk ¶

func (o *Environment) GetCriticalOk() (*bool, bool)

GetCriticalOk returns a tuple with the Critical field value and a boolean to check if the value has been set.

func (*Environment) GetDefaultTrackEvents ¶

func (o *Environment) GetDefaultTrackEvents() bool

GetDefaultTrackEvents returns the DefaultTrackEvents field value

func (*Environment) GetDefaultTrackEventsOk ¶

func (o *Environment) GetDefaultTrackEventsOk() (*bool, bool)

GetDefaultTrackEventsOk returns a tuple with the DefaultTrackEvents field value and a boolean to check if the value has been set.

func (*Environment) GetDefaultTtl ¶

func (o *Environment) GetDefaultTtl() int32

GetDefaultTtl returns the DefaultTtl field value

func (*Environment) GetDefaultTtlOk ¶

func (o *Environment) GetDefaultTtlOk() (*int32, bool)

GetDefaultTtlOk returns a tuple with the DefaultTtl field value and a boolean to check if the value has been set.

func (*Environment) GetId ¶

func (o *Environment) GetId() string

GetId returns the Id field value

func (*Environment) GetIdOk ¶

func (o *Environment) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Environment) GetKey ¶

func (o *Environment) GetKey() string

GetKey returns the Key field value

func (*Environment) GetKeyOk ¶

func (o *Environment) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *Environment) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Environment) GetLinksOk ¶

func (o *Environment) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Environment) GetMobileKey ¶

func (o *Environment) GetMobileKey() string

GetMobileKey returns the MobileKey field value

func (*Environment) GetMobileKeyOk ¶

func (o *Environment) GetMobileKeyOk() (*string, bool)

GetMobileKeyOk returns a tuple with the MobileKey field value and a boolean to check if the value has been set.

func (*Environment) GetName ¶

func (o *Environment) GetName() string

GetName returns the Name field value

func (*Environment) GetNameOk ¶

func (o *Environment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Environment) GetRequireComments ¶

func (o *Environment) GetRequireComments() bool

GetRequireComments returns the RequireComments field value

func (*Environment) GetRequireCommentsOk ¶

func (o *Environment) GetRequireCommentsOk() (*bool, bool)

GetRequireCommentsOk returns a tuple with the RequireComments field value and a boolean to check if the value has been set.

func (*Environment) GetSecureMode ¶

func (o *Environment) GetSecureMode() bool

GetSecureMode returns the SecureMode field value

func (*Environment) GetSecureModeOk ¶

func (o *Environment) GetSecureModeOk() (*bool, bool)

GetSecureModeOk returns a tuple with the SecureMode field value and a boolean to check if the value has been set.

func (*Environment) GetTags ¶

func (o *Environment) GetTags() []string

GetTags returns the Tags field value

func (*Environment) GetTagsOk ¶

func (o *Environment) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*Environment) HasApprovalSettings ¶

func (o *Environment) HasApprovalSettings() bool

HasApprovalSettings returns a boolean if a field has been set.

func (Environment) MarshalJSON ¶

func (o Environment) MarshalJSON() ([]byte, error)

func (*Environment) SetApiKey ¶

func (o *Environment) SetApiKey(v string)

SetApiKey sets field value

func (*Environment) SetApprovalSettings ¶

func (o *Environment) SetApprovalSettings(v ApprovalSettings)

SetApprovalSettings gets a reference to the given ApprovalSettings and assigns it to the ApprovalSettings field.

func (*Environment) SetColor ¶

func (o *Environment) SetColor(v string)

SetColor sets field value

func (*Environment) SetConfirmChanges ¶

func (o *Environment) SetConfirmChanges(v bool)

SetConfirmChanges sets field value

func (*Environment) SetCritical ¶

func (o *Environment) SetCritical(v bool)

SetCritical sets field value

func (*Environment) SetDefaultTrackEvents ¶

func (o *Environment) SetDefaultTrackEvents(v bool)

SetDefaultTrackEvents sets field value

func (*Environment) SetDefaultTtl ¶

func (o *Environment) SetDefaultTtl(v int32)

SetDefaultTtl sets field value

func (*Environment) SetId ¶

func (o *Environment) SetId(v string)

SetId sets field value

func (*Environment) SetKey ¶

func (o *Environment) SetKey(v string)

SetKey sets field value

func (o *Environment) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Environment) SetMobileKey ¶

func (o *Environment) SetMobileKey(v string)

SetMobileKey sets field value

func (*Environment) SetName ¶

func (o *Environment) SetName(v string)

SetName sets field value

func (*Environment) SetRequireComments ¶

func (o *Environment) SetRequireComments(v bool)

SetRequireComments sets field value

func (*Environment) SetSecureMode ¶

func (o *Environment) SetSecureMode(v bool)

SetSecureMode sets field value

func (*Environment) SetTags ¶

func (o *Environment) SetTags(v []string)

SetTags sets field value

type EnvironmentPost ¶

type EnvironmentPost struct {
	// A human-friendly name for the new environment
	Name string `json:"name"`
	// A project-unique key for the new environment
	Key string `json:"key"`
	// A color to indicate this environment in the UI
	Color string `json:"color"`
	// The default time (in minutes) that the PHP SDK can cache feature flag rules locally
	DefaultTtl *int32 `json:"defaultTtl,omitempty"`
	// Ensures that one end user of the client-side SDK cannot inspect the variations for another end user
	SecureMode *bool `json:"secureMode,omitempty"`
	// Enables tracking detailed information for new flags by default
	DefaultTrackEvents *bool `json:"defaultTrackEvents,omitempty"`
	// Requires confirmation for all flag and segment changes via the UI in this environment
	ConfirmChanges *bool `json:"confirmChanges,omitempty"`
	// Requires comments for all flag and segment changes via the UI in this environment
	RequireComments *bool `json:"requireComments,omitempty"`
	// Tags to apply to the new environment
	Tags   []string   `json:"tags,omitempty"`
	Source *SourceEnv `json:"source,omitempty"`
	// Whether the environment is critical
	Critical *bool `json:"critical,omitempty"`
}

EnvironmentPost struct for EnvironmentPost

func NewEnvironmentPost ¶

func NewEnvironmentPost(name string, key string, color string) *EnvironmentPost

NewEnvironmentPost instantiates a new EnvironmentPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentPostWithDefaults ¶

func NewEnvironmentPostWithDefaults() *EnvironmentPost

NewEnvironmentPostWithDefaults instantiates a new EnvironmentPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvironmentPost) GetColor ¶

func (o *EnvironmentPost) GetColor() string

GetColor returns the Color field value

func (*EnvironmentPost) GetColorOk ¶

func (o *EnvironmentPost) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field value and a boolean to check if the value has been set.

func (*EnvironmentPost) GetConfirmChanges ¶

func (o *EnvironmentPost) GetConfirmChanges() bool

GetConfirmChanges returns the ConfirmChanges field value if set, zero value otherwise.

func (*EnvironmentPost) GetConfirmChangesOk ¶

func (o *EnvironmentPost) GetConfirmChangesOk() (*bool, bool)

GetConfirmChangesOk returns a tuple with the ConfirmChanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentPost) GetCritical ¶

func (o *EnvironmentPost) GetCritical() bool

GetCritical returns the Critical field value if set, zero value otherwise.

func (*EnvironmentPost) GetCriticalOk ¶

func (o *EnvironmentPost) GetCriticalOk() (*bool, bool)

GetCriticalOk returns a tuple with the Critical field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentPost) GetDefaultTrackEvents ¶

func (o *EnvironmentPost) GetDefaultTrackEvents() bool

GetDefaultTrackEvents returns the DefaultTrackEvents field value if set, zero value otherwise.

func (*EnvironmentPost) GetDefaultTrackEventsOk ¶

func (o *EnvironmentPost) GetDefaultTrackEventsOk() (*bool, bool)

GetDefaultTrackEventsOk returns a tuple with the DefaultTrackEvents field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentPost) GetDefaultTtl ¶

func (o *EnvironmentPost) GetDefaultTtl() int32

GetDefaultTtl returns the DefaultTtl field value if set, zero value otherwise.

func (*EnvironmentPost) GetDefaultTtlOk ¶

func (o *EnvironmentPost) GetDefaultTtlOk() (*int32, bool)

GetDefaultTtlOk returns a tuple with the DefaultTtl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentPost) GetKey ¶

func (o *EnvironmentPost) GetKey() string

GetKey returns the Key field value

func (*EnvironmentPost) GetKeyOk ¶

func (o *EnvironmentPost) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*EnvironmentPost) GetName ¶

func (o *EnvironmentPost) GetName() string

GetName returns the Name field value

func (*EnvironmentPost) GetNameOk ¶

func (o *EnvironmentPost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*EnvironmentPost) GetRequireComments ¶

func (o *EnvironmentPost) GetRequireComments() bool

GetRequireComments returns the RequireComments field value if set, zero value otherwise.

func (*EnvironmentPost) GetRequireCommentsOk ¶

func (o *EnvironmentPost) GetRequireCommentsOk() (*bool, bool)

GetRequireCommentsOk returns a tuple with the RequireComments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentPost) GetSecureMode ¶

func (o *EnvironmentPost) GetSecureMode() bool

GetSecureMode returns the SecureMode field value if set, zero value otherwise.

func (*EnvironmentPost) GetSecureModeOk ¶

func (o *EnvironmentPost) GetSecureModeOk() (*bool, bool)

GetSecureModeOk returns a tuple with the SecureMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentPost) GetSource ¶

func (o *EnvironmentPost) GetSource() SourceEnv

GetSource returns the Source field value if set, zero value otherwise.

func (*EnvironmentPost) GetSourceOk ¶

func (o *EnvironmentPost) GetSourceOk() (*SourceEnv, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentPost) GetTags ¶

func (o *EnvironmentPost) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*EnvironmentPost) GetTagsOk ¶

func (o *EnvironmentPost) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvironmentPost) HasConfirmChanges ¶

func (o *EnvironmentPost) HasConfirmChanges() bool

HasConfirmChanges returns a boolean if a field has been set.

func (*EnvironmentPost) HasCritical ¶

func (o *EnvironmentPost) HasCritical() bool

HasCritical returns a boolean if a field has been set.

func (*EnvironmentPost) HasDefaultTrackEvents ¶

func (o *EnvironmentPost) HasDefaultTrackEvents() bool

HasDefaultTrackEvents returns a boolean if a field has been set.

func (*EnvironmentPost) HasDefaultTtl ¶

func (o *EnvironmentPost) HasDefaultTtl() bool

HasDefaultTtl returns a boolean if a field has been set.

func (*EnvironmentPost) HasRequireComments ¶

func (o *EnvironmentPost) HasRequireComments() bool

HasRequireComments returns a boolean if a field has been set.

func (*EnvironmentPost) HasSecureMode ¶

func (o *EnvironmentPost) HasSecureMode() bool

HasSecureMode returns a boolean if a field has been set.

func (*EnvironmentPost) HasSource ¶

func (o *EnvironmentPost) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*EnvironmentPost) HasTags ¶

func (o *EnvironmentPost) HasTags() bool

HasTags returns a boolean if a field has been set.

func (EnvironmentPost) MarshalJSON ¶

func (o EnvironmentPost) MarshalJSON() ([]byte, error)

func (*EnvironmentPost) SetColor ¶

func (o *EnvironmentPost) SetColor(v string)

SetColor sets field value

func (*EnvironmentPost) SetConfirmChanges ¶

func (o *EnvironmentPost) SetConfirmChanges(v bool)

SetConfirmChanges gets a reference to the given bool and assigns it to the ConfirmChanges field.

func (*EnvironmentPost) SetCritical ¶

func (o *EnvironmentPost) SetCritical(v bool)

SetCritical gets a reference to the given bool and assigns it to the Critical field.

func (*EnvironmentPost) SetDefaultTrackEvents ¶

func (o *EnvironmentPost) SetDefaultTrackEvents(v bool)

SetDefaultTrackEvents gets a reference to the given bool and assigns it to the DefaultTrackEvents field.

func (*EnvironmentPost) SetDefaultTtl ¶

func (o *EnvironmentPost) SetDefaultTtl(v int32)

SetDefaultTtl gets a reference to the given int32 and assigns it to the DefaultTtl field.

func (*EnvironmentPost) SetKey ¶

func (o *EnvironmentPost) SetKey(v string)

SetKey sets field value

func (*EnvironmentPost) SetName ¶

func (o *EnvironmentPost) SetName(v string)

SetName sets field value

func (*EnvironmentPost) SetRequireComments ¶

func (o *EnvironmentPost) SetRequireComments(v bool)

SetRequireComments gets a reference to the given bool and assigns it to the RequireComments field.

func (*EnvironmentPost) SetSecureMode ¶

func (o *EnvironmentPost) SetSecureMode(v bool)

SetSecureMode gets a reference to the given bool and assigns it to the SecureMode field.

func (*EnvironmentPost) SetSource ¶

func (o *EnvironmentPost) SetSource(v SourceEnv)

SetSource gets a reference to the given SourceEnv and assigns it to the Source field.

func (*EnvironmentPost) SetTags ¶

func (o *EnvironmentPost) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

type EnvironmentSummary ¶

type EnvironmentSummary struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// A project-unique key for the environment
	Key string `json:"key"`
	// A human-friendly name for the environment
	Name string `json:"name"`
	// The color used to indicate this environment in the UI
	Color string `json:"color"`
}

EnvironmentSummary struct for EnvironmentSummary

func NewEnvironmentSummary ¶

func NewEnvironmentSummary(links map[string]Link, key string, name string, color string) *EnvironmentSummary

NewEnvironmentSummary instantiates a new EnvironmentSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentSummaryWithDefaults ¶

func NewEnvironmentSummaryWithDefaults() *EnvironmentSummary

NewEnvironmentSummaryWithDefaults instantiates a new EnvironmentSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvironmentSummary) GetColor ¶

func (o *EnvironmentSummary) GetColor() string

GetColor returns the Color field value

func (*EnvironmentSummary) GetColorOk ¶

func (o *EnvironmentSummary) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field value and a boolean to check if the value has been set.

func (*EnvironmentSummary) GetKey ¶

func (o *EnvironmentSummary) GetKey() string

GetKey returns the Key field value

func (*EnvironmentSummary) GetKeyOk ¶

func (o *EnvironmentSummary) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *EnvironmentSummary) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*EnvironmentSummary) GetLinksOk ¶

func (o *EnvironmentSummary) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*EnvironmentSummary) GetName ¶

func (o *EnvironmentSummary) GetName() string

GetName returns the Name field value

func (*EnvironmentSummary) GetNameOk ¶

func (o *EnvironmentSummary) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (EnvironmentSummary) MarshalJSON ¶

func (o EnvironmentSummary) MarshalJSON() ([]byte, error)

func (*EnvironmentSummary) SetColor ¶

func (o *EnvironmentSummary) SetColor(v string)

SetColor sets field value

func (*EnvironmentSummary) SetKey ¶

func (o *EnvironmentSummary) SetKey(v string)

SetKey sets field value

func (o *EnvironmentSummary) SetLinks(v map[string]Link)

SetLinks sets field value

func (*EnvironmentSummary) SetName ¶

func (o *EnvironmentSummary) SetName(v string)

SetName sets field value

type Environments ¶

type Environments struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// The number of environments returned
	TotalCount *int32 `json:"totalCount,omitempty"`
	// An array of environments
	Items []Environment `json:"items"`
}

Environments struct for Environments

func NewEnvironments ¶

func NewEnvironments(items []Environment) *Environments

NewEnvironments instantiates a new Environments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvironmentsWithDefaults ¶

func NewEnvironmentsWithDefaults() *Environments

NewEnvironmentsWithDefaults instantiates a new Environments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Environments) GetItems ¶

func (o *Environments) GetItems() []Environment

GetItems returns the Items field value

func (*Environments) GetItemsOk ¶

func (o *Environments) GetItemsOk() ([]Environment, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *Environments) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Environments) GetLinksOk ¶

func (o *Environments) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Environments) GetTotalCount ¶

func (o *Environments) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*Environments) GetTotalCountOk ¶

func (o *Environments) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Environments) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Environments) HasTotalCount ¶

func (o *Environments) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (Environments) MarshalJSON ¶

func (o Environments) MarshalJSON() ([]byte, error)

func (*Environments) SetItems ¶

func (o *Environments) SetItems(v []Environment)

SetItems sets field value

func (o *Environments) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*Environments) SetTotalCount ¶

func (o *Environments) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type EnvironmentsApiService ¶

type EnvironmentsApiService service

EnvironmentsApiService EnvironmentsApi service

func (*EnvironmentsApiService) DeleteEnvironment ¶

func (a *EnvironmentsApiService) DeleteEnvironment(ctx context.Context, projectKey string, environmentKey string) ApiDeleteEnvironmentRequest

DeleteEnvironment Delete environment

Delete a environment by key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiDeleteEnvironmentRequest

func (*EnvironmentsApiService) DeleteEnvironmentExecute ¶

func (a *EnvironmentsApiService) DeleteEnvironmentExecute(r ApiDeleteEnvironmentRequest) (*http.Response, error)

Execute executes the request

func (*EnvironmentsApiService) GetEnvironment ¶

func (a *EnvironmentsApiService) GetEnvironment(ctx context.Context, projectKey string, environmentKey string) ApiGetEnvironmentRequest

GetEnvironment Get environment

> ### Approval settings > > The `approvalSettings` key is only returned when the Flag Approvals feature is enabled.

Get an environment given a project and key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetEnvironmentRequest

func (*EnvironmentsApiService) GetEnvironmentExecute ¶

Execute executes the request

@return Environment

func (*EnvironmentsApiService) GetEnvironmentsByProject ¶

func (a *EnvironmentsApiService) GetEnvironmentsByProject(ctx context.Context, projectKey string) ApiGetEnvironmentsByProjectRequest

GetEnvironmentsByProject List environments

Return a list of environments for the specified project.

By default, this returns the first 20 environments. Page through this list with the `limit` parameter and by following the `first`, `prev`, `next`, and `last` links in the `_links` field that returns. If those links do not appear, the pages they refer to don't exist. For example, the `first` and `prev` links will be missing from the response on the first page, because there is no previous page and you cannot return to the first page when you are already on the first page.

### Filtering environments

LaunchDarkly supports two fields for filters: - `query` is a string that matches against the environments' names and keys. It is not case sensitive. - `tags` is a `+`-separated list of environment tags. It filters the list of environments that have all of the tags in the list.

For example, the filter `filter=query:abc,tags:tag-1+tag-2` matches environments with the string `abc` in their name or key and also are tagged with `tag-1` and `tag-2`. The filter is not case-sensitive.

The documented values for `filter` query parameters are prior to URL encoding. For example, the `+` in `filter=tags:tag-1+tag-2` must be encoded to `%2B`.

### Sorting environments

LaunchDarkly supports the following fields for sorting:

- `createdOn` sorts by the creation date of the environment. - `critical` sorts by whether the environments are marked as critical. - `name` sorts by environment name.

For example, `sort=name` sorts the response by environment name in ascending order.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiGetEnvironmentsByProjectRequest

func (*EnvironmentsApiService) GetEnvironmentsByProjectExecute ¶

func (a *EnvironmentsApiService) GetEnvironmentsByProjectExecute(r ApiGetEnvironmentsByProjectRequest) (*Environments, *http.Response, error)

Execute executes the request

@return Environments

func (*EnvironmentsApiService) PatchEnvironment ¶

func (a *EnvironmentsApiService) PatchEnvironment(ctx context.Context, projectKey string, environmentKey string) ApiPatchEnvironmentRequest

PatchEnvironment Update environment

Update an environment. Updating an environment uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

To update fields in the environment object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Using `/0` appends to the beginning of the array.

### Approval settings

This request only returns the `approvalSettings` key if the [Flag Approvals](https://docs.launchdarkly.com/home/feature-workflows/approvals) feature is enabled.

Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable.

If you try to patch the environment by setting both `required` and `requiredApprovalTags`, the request fails and an error appears. You can specify either required approvals for all flags in an environment or those with specific tags, but not both.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiPatchEnvironmentRequest

func (*EnvironmentsApiService) PatchEnvironmentExecute ¶

Execute executes the request

@return Environment

func (*EnvironmentsApiService) PostEnvironment ¶

func (a *EnvironmentsApiService) PostEnvironment(ctx context.Context, projectKey string) ApiPostEnvironmentRequest

PostEnvironment Create environment

> ### Approval settings > > The `approvalSettings` key is only returned when the Flag Approvals feature is enabled. > > You cannot update approval settings when creating new environments. Update approval settings with the PATCH Environment API.

Create a new environment in a specified project with a given name, key, swatch color, and default TTL.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiPostEnvironmentRequest

func (*EnvironmentsApiService) PostEnvironmentExecute ¶

Execute executes the request

@return Environment

func (*EnvironmentsApiService) ResetEnvironmentMobileKey ¶

func (a *EnvironmentsApiService) ResetEnvironmentMobileKey(ctx context.Context, projectKey string, environmentKey string) ApiResetEnvironmentMobileKeyRequest

ResetEnvironmentMobileKey Reset environment mobile SDK key

Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiResetEnvironmentMobileKeyRequest

func (*EnvironmentsApiService) ResetEnvironmentMobileKeyExecute ¶

func (a *EnvironmentsApiService) ResetEnvironmentMobileKeyExecute(r ApiResetEnvironmentMobileKeyRequest) (*Environment, *http.Response, error)

Execute executes the request

@return Environment

func (*EnvironmentsApiService) ResetEnvironmentSDKKey ¶

func (a *EnvironmentsApiService) ResetEnvironmentSDKKey(ctx context.Context, projectKey string, environmentKey string) ApiResetEnvironmentSDKKeyRequest

ResetEnvironmentSDKKey Reset environment SDK key

Reset an environment's SDK key with an optional expiry time for the old key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiResetEnvironmentSDKKeyRequest

func (*EnvironmentsApiService) ResetEnvironmentSDKKeyExecute ¶

func (a *EnvironmentsApiService) ResetEnvironmentSDKKeyExecute(r ApiResetEnvironmentSDKKeyRequest) (*Environment, *http.Response, error)

Execute executes the request

@return Environment

type EvaluationReason ¶

type EvaluationReason struct {
	// Describes the general reason that LaunchDarkly selected this variation.
	Kind string `json:"kind"`
	// The positional index of the matching rule if the kind is 'RULE_MATCH'. The index is 0-based.
	RuleIndex *int32 `json:"ruleIndex,omitempty"`
	// The unique identifier of the matching rule if the kind is 'RULE_MATCH'.
	RuleID *string `json:"ruleID,omitempty"`
	// The key of the flag that failed if the kind is 'PREREQUISITE_FAILED'.
	PrerequisiteKey *string `json:"prerequisiteKey,omitempty"`
	// Indicates whether the evaluation occurred as part of an experiment.
	InExperiment *bool `json:"inExperiment,omitempty"`
	// The specific error type if the kind is 'ERROR'.
	ErrorKind *string `json:"errorKind,omitempty"`
}

EvaluationReason struct for EvaluationReason

func NewEvaluationReason ¶

func NewEvaluationReason(kind string) *EvaluationReason

NewEvaluationReason instantiates a new EvaluationReason object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEvaluationReasonWithDefaults ¶

func NewEvaluationReasonWithDefaults() *EvaluationReason

NewEvaluationReasonWithDefaults instantiates a new EvaluationReason object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EvaluationReason) GetErrorKind ¶

func (o *EvaluationReason) GetErrorKind() string

GetErrorKind returns the ErrorKind field value if set, zero value otherwise.

func (*EvaluationReason) GetErrorKindOk ¶

func (o *EvaluationReason) GetErrorKindOk() (*string, bool)

GetErrorKindOk returns a tuple with the ErrorKind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EvaluationReason) GetInExperiment ¶

func (o *EvaluationReason) GetInExperiment() bool

GetInExperiment returns the InExperiment field value if set, zero value otherwise.

func (*EvaluationReason) GetInExperimentOk ¶

func (o *EvaluationReason) GetInExperimentOk() (*bool, bool)

GetInExperimentOk returns a tuple with the InExperiment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EvaluationReason) GetKind ¶

func (o *EvaluationReason) GetKind() string

GetKind returns the Kind field value

func (*EvaluationReason) GetKindOk ¶

func (o *EvaluationReason) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*EvaluationReason) GetPrerequisiteKey ¶

func (o *EvaluationReason) GetPrerequisiteKey() string

GetPrerequisiteKey returns the PrerequisiteKey field value if set, zero value otherwise.

func (*EvaluationReason) GetPrerequisiteKeyOk ¶

func (o *EvaluationReason) GetPrerequisiteKeyOk() (*string, bool)

GetPrerequisiteKeyOk returns a tuple with the PrerequisiteKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EvaluationReason) GetRuleID ¶

func (o *EvaluationReason) GetRuleID() string

GetRuleID returns the RuleID field value if set, zero value otherwise.

func (*EvaluationReason) GetRuleIDOk ¶

func (o *EvaluationReason) GetRuleIDOk() (*string, bool)

GetRuleIDOk returns a tuple with the RuleID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EvaluationReason) GetRuleIndex ¶

func (o *EvaluationReason) GetRuleIndex() int32

GetRuleIndex returns the RuleIndex field value if set, zero value otherwise.

func (*EvaluationReason) GetRuleIndexOk ¶

func (o *EvaluationReason) GetRuleIndexOk() (*int32, bool)

GetRuleIndexOk returns a tuple with the RuleIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EvaluationReason) HasErrorKind ¶

func (o *EvaluationReason) HasErrorKind() bool

HasErrorKind returns a boolean if a field has been set.

func (*EvaluationReason) HasInExperiment ¶

func (o *EvaluationReason) HasInExperiment() bool

HasInExperiment returns a boolean if a field has been set.

func (*EvaluationReason) HasPrerequisiteKey ¶

func (o *EvaluationReason) HasPrerequisiteKey() bool

HasPrerequisiteKey returns a boolean if a field has been set.

func (*EvaluationReason) HasRuleID ¶

func (o *EvaluationReason) HasRuleID() bool

HasRuleID returns a boolean if a field has been set.

func (*EvaluationReason) HasRuleIndex ¶

func (o *EvaluationReason) HasRuleIndex() bool

HasRuleIndex returns a boolean if a field has been set.

func (EvaluationReason) MarshalJSON ¶

func (o EvaluationReason) MarshalJSON() ([]byte, error)

func (*EvaluationReason) SetErrorKind ¶

func (o *EvaluationReason) SetErrorKind(v string)

SetErrorKind gets a reference to the given string and assigns it to the ErrorKind field.

func (*EvaluationReason) SetInExperiment ¶

func (o *EvaluationReason) SetInExperiment(v bool)

SetInExperiment gets a reference to the given bool and assigns it to the InExperiment field.

func (*EvaluationReason) SetKind ¶

func (o *EvaluationReason) SetKind(v string)

SetKind sets field value

func (*EvaluationReason) SetPrerequisiteKey ¶

func (o *EvaluationReason) SetPrerequisiteKey(v string)

SetPrerequisiteKey gets a reference to the given string and assigns it to the PrerequisiteKey field.

func (*EvaluationReason) SetRuleID ¶

func (o *EvaluationReason) SetRuleID(v string)

SetRuleID gets a reference to the given string and assigns it to the RuleID field.

func (*EvaluationReason) SetRuleIndex ¶

func (o *EvaluationReason) SetRuleIndex(v int32)

SetRuleIndex gets a reference to the given int32 and assigns it to the RuleIndex field.

type EvaluationsSummary ¶

type EvaluationsSummary struct {
	// A list of variation evaluations
	Variations []VariationEvalSummary `json:"variations,omitempty"`
}

EvaluationsSummary struct for EvaluationsSummary

func NewEvaluationsSummary ¶

func NewEvaluationsSummary() *EvaluationsSummary

NewEvaluationsSummary instantiates a new EvaluationsSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEvaluationsSummaryWithDefaults ¶

func NewEvaluationsSummaryWithDefaults() *EvaluationsSummary

NewEvaluationsSummaryWithDefaults instantiates a new EvaluationsSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EvaluationsSummary) GetVariations ¶

func (o *EvaluationsSummary) GetVariations() []VariationEvalSummary

GetVariations returns the Variations field value if set, zero value otherwise.

func (*EvaluationsSummary) GetVariationsOk ¶

func (o *EvaluationsSummary) GetVariationsOk() ([]VariationEvalSummary, bool)

GetVariationsOk returns a tuple with the Variations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EvaluationsSummary) HasVariations ¶

func (o *EvaluationsSummary) HasVariations() bool

HasVariations returns a boolean if a field has been set.

func (EvaluationsSummary) MarshalJSON ¶

func (o EvaluationsSummary) MarshalJSON() ([]byte, error)

func (*EvaluationsSummary) SetVariations ¶

func (o *EvaluationsSummary) SetVariations(v []VariationEvalSummary)

SetVariations gets a reference to the given []VariationEvalSummary and assigns it to the Variations field.

type ExecutionOutput ¶

type ExecutionOutput struct {
	// The status of the execution of this workflow stage
	Status   string `json:"status"`
	StopDate *int64 `json:"stopDate,omitempty"`
}

ExecutionOutput struct for ExecutionOutput

func NewExecutionOutput ¶

func NewExecutionOutput(status string) *ExecutionOutput

NewExecutionOutput instantiates a new ExecutionOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExecutionOutputWithDefaults ¶

func NewExecutionOutputWithDefaults() *ExecutionOutput

NewExecutionOutputWithDefaults instantiates a new ExecutionOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExecutionOutput) GetStatus ¶

func (o *ExecutionOutput) GetStatus() string

GetStatus returns the Status field value

func (*ExecutionOutput) GetStatusOk ¶

func (o *ExecutionOutput) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*ExecutionOutput) GetStopDate ¶

func (o *ExecutionOutput) GetStopDate() int64

GetStopDate returns the StopDate field value if set, zero value otherwise.

func (*ExecutionOutput) GetStopDateOk ¶

func (o *ExecutionOutput) GetStopDateOk() (*int64, bool)

GetStopDateOk returns a tuple with the StopDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExecutionOutput) HasStopDate ¶

func (o *ExecutionOutput) HasStopDate() bool

HasStopDate returns a boolean if a field has been set.

func (ExecutionOutput) MarshalJSON ¶

func (o ExecutionOutput) MarshalJSON() ([]byte, error)

func (*ExecutionOutput) SetStatus ¶

func (o *ExecutionOutput) SetStatus(v string)

SetStatus sets field value

func (*ExecutionOutput) SetStopDate ¶

func (o *ExecutionOutput) SetStopDate(v int64)

SetStopDate gets a reference to the given int64 and assigns it to the StopDate field.

type ExpandableApprovalRequestResponse ¶

type ExpandableApprovalRequestResponse struct {
	// The ID of this approval request
	Id string `json:"_id"`
	// Version of the approval request
	Version      int32  `json:"_version"`
	CreationDate int64  `json:"creationDate"`
	ServiceKind  string `json:"serviceKind"`
	// The ID of the member who requested the approval
	RequestorId *string `json:"requestorId,omitempty"`
	// A human-friendly name for the approval request
	Description *string `json:"description,omitempty"`
	// Current status of the review of this approval request
	ReviewStatus string `json:"reviewStatus"`
	// An array of individual reviews of this approval request
	AllReviews []ReviewResponse `json:"allReviews"`
	// An array of member IDs. These members are notified to review the approval request.
	NotifyMemberIds []string `json:"notifyMemberIds"`
	AppliedDate     *int64   `json:"appliedDate,omitempty"`
	// The member ID of the member who applied the approval request
	AppliedByMemberId *string `json:"appliedByMemberId,omitempty"`
	// The service token ID of the service token which applied the approval request
	AppliedByServiceTokenId *string `json:"appliedByServiceTokenId,omitempty"`
	// Current status of the approval request
	Status       string                   `json:"status"`
	Instructions []map[string]interface{} `json:"instructions"`
	// Details on any conflicting approval requests
	Conflicts []Conflict `json:"conflicts"`
	// The location and content type of related resources
	Links         map[string]interface{} `json:"_links"`
	ExecutionDate *int64                 `json:"executionDate,omitempty"`
	// ID of scheduled change to edit or delete
	OperatingOnId          *string              `json:"operatingOnId,omitempty"`
	IntegrationMetadata    *IntegrationMetadata `json:"integrationMetadata,omitempty"`
	Source                 *CopiedFromEnv       `json:"source,omitempty"`
	CustomWorkflowMetadata *CustomWorkflowMeta  `json:"customWorkflowMetadata,omitempty"`
	// String representation of a resource
	ResourceId       *string           `json:"resourceId,omitempty"`
	ApprovalSettings *ApprovalSettings `json:"approvalSettings,omitempty"`
	Project          *Project          `json:"project,omitempty"`
	// List of environments the approval impacts
	Environments []Environment    `json:"environments,omitempty"`
	Flag         *ExpandedFlagRep `json:"flag,omitempty"`
}

ExpandableApprovalRequestResponse struct for ExpandableApprovalRequestResponse

func NewExpandableApprovalRequestResponse ¶

func NewExpandableApprovalRequestResponse(id string, version int32, creationDate int64, serviceKind string, reviewStatus string, allReviews []ReviewResponse, notifyMemberIds []string, status string, instructions []map[string]interface{}, conflicts []Conflict, links map[string]interface{}) *ExpandableApprovalRequestResponse

NewExpandableApprovalRequestResponse instantiates a new ExpandableApprovalRequestResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExpandableApprovalRequestResponseWithDefaults ¶

func NewExpandableApprovalRequestResponseWithDefaults() *ExpandableApprovalRequestResponse

NewExpandableApprovalRequestResponseWithDefaults instantiates a new ExpandableApprovalRequestResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExpandableApprovalRequestResponse) GetAllReviews ¶

GetAllReviews returns the AllReviews field value

func (*ExpandableApprovalRequestResponse) GetAllReviewsOk ¶

func (o *ExpandableApprovalRequestResponse) GetAllReviewsOk() ([]ReviewResponse, bool)

GetAllReviewsOk returns a tuple with the AllReviews field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetAppliedByMemberId ¶

func (o *ExpandableApprovalRequestResponse) GetAppliedByMemberId() string

GetAppliedByMemberId returns the AppliedByMemberId field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetAppliedByMemberIdOk ¶

func (o *ExpandableApprovalRequestResponse) GetAppliedByMemberIdOk() (*string, bool)

GetAppliedByMemberIdOk returns a tuple with the AppliedByMemberId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetAppliedByServiceTokenId ¶

func (o *ExpandableApprovalRequestResponse) GetAppliedByServiceTokenId() string

GetAppliedByServiceTokenId returns the AppliedByServiceTokenId field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetAppliedByServiceTokenIdOk ¶

func (o *ExpandableApprovalRequestResponse) GetAppliedByServiceTokenIdOk() (*string, bool)

GetAppliedByServiceTokenIdOk returns a tuple with the AppliedByServiceTokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetAppliedDate ¶

func (o *ExpandableApprovalRequestResponse) GetAppliedDate() int64

GetAppliedDate returns the AppliedDate field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetAppliedDateOk ¶

func (o *ExpandableApprovalRequestResponse) GetAppliedDateOk() (*int64, bool)

GetAppliedDateOk returns a tuple with the AppliedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetApprovalSettings ¶

func (o *ExpandableApprovalRequestResponse) GetApprovalSettings() ApprovalSettings

GetApprovalSettings returns the ApprovalSettings field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetApprovalSettingsOk ¶

func (o *ExpandableApprovalRequestResponse) GetApprovalSettingsOk() (*ApprovalSettings, bool)

GetApprovalSettingsOk returns a tuple with the ApprovalSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetConflicts ¶

func (o *ExpandableApprovalRequestResponse) GetConflicts() []Conflict

GetConflicts returns the Conflicts field value

func (*ExpandableApprovalRequestResponse) GetConflictsOk ¶

func (o *ExpandableApprovalRequestResponse) GetConflictsOk() ([]Conflict, bool)

GetConflictsOk returns a tuple with the Conflicts field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetCreationDate ¶

func (o *ExpandableApprovalRequestResponse) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*ExpandableApprovalRequestResponse) GetCreationDateOk ¶

func (o *ExpandableApprovalRequestResponse) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetCustomWorkflowMetadata ¶

func (o *ExpandableApprovalRequestResponse) GetCustomWorkflowMetadata() CustomWorkflowMeta

GetCustomWorkflowMetadata returns the CustomWorkflowMetadata field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetCustomWorkflowMetadataOk ¶

func (o *ExpandableApprovalRequestResponse) GetCustomWorkflowMetadataOk() (*CustomWorkflowMeta, bool)

GetCustomWorkflowMetadataOk returns a tuple with the CustomWorkflowMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetDescription ¶

func (o *ExpandableApprovalRequestResponse) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetDescriptionOk ¶

func (o *ExpandableApprovalRequestResponse) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetEnvironments ¶

func (o *ExpandableApprovalRequestResponse) GetEnvironments() []Environment

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetEnvironmentsOk ¶

func (o *ExpandableApprovalRequestResponse) GetEnvironmentsOk() ([]Environment, bool)

GetEnvironmentsOk returns a tuple with the Environments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetExecutionDate ¶

func (o *ExpandableApprovalRequestResponse) GetExecutionDate() int64

GetExecutionDate returns the ExecutionDate field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetExecutionDateOk ¶

func (o *ExpandableApprovalRequestResponse) GetExecutionDateOk() (*int64, bool)

GetExecutionDateOk returns a tuple with the ExecutionDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetFlag ¶

GetFlag returns the Flag field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetFlagOk ¶

GetFlagOk returns a tuple with the Flag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetId ¶

GetId returns the Id field value

func (*ExpandableApprovalRequestResponse) GetIdOk ¶

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetInstructions ¶

func (o *ExpandableApprovalRequestResponse) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*ExpandableApprovalRequestResponse) GetInstructionsOk ¶

func (o *ExpandableApprovalRequestResponse) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetIntegrationMetadata ¶

func (o *ExpandableApprovalRequestResponse) GetIntegrationMetadata() IntegrationMetadata

GetIntegrationMetadata returns the IntegrationMetadata field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetIntegrationMetadataOk ¶

func (o *ExpandableApprovalRequestResponse) GetIntegrationMetadataOk() (*IntegrationMetadata, bool)

GetIntegrationMetadataOk returns a tuple with the IntegrationMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ExpandableApprovalRequestResponse) GetLinks() map[string]interface{}

GetLinks returns the Links field value

func (*ExpandableApprovalRequestResponse) GetLinksOk ¶

func (o *ExpandableApprovalRequestResponse) GetLinksOk() (map[string]interface{}, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetNotifyMemberIds ¶

func (o *ExpandableApprovalRequestResponse) GetNotifyMemberIds() []string

GetNotifyMemberIds returns the NotifyMemberIds field value

func (*ExpandableApprovalRequestResponse) GetNotifyMemberIdsOk ¶

func (o *ExpandableApprovalRequestResponse) GetNotifyMemberIdsOk() ([]string, bool)

GetNotifyMemberIdsOk returns a tuple with the NotifyMemberIds field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetOperatingOnId ¶

func (o *ExpandableApprovalRequestResponse) GetOperatingOnId() string

GetOperatingOnId returns the OperatingOnId field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetOperatingOnIdOk ¶

func (o *ExpandableApprovalRequestResponse) GetOperatingOnIdOk() (*string, bool)

GetOperatingOnIdOk returns a tuple with the OperatingOnId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetProject ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetProjectOk ¶

func (o *ExpandableApprovalRequestResponse) GetProjectOk() (*Project, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetRequestorId ¶

func (o *ExpandableApprovalRequestResponse) GetRequestorId() string

GetRequestorId returns the RequestorId field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetRequestorIdOk ¶

func (o *ExpandableApprovalRequestResponse) GetRequestorIdOk() (*string, bool)

GetRequestorIdOk returns a tuple with the RequestorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetResourceId ¶

func (o *ExpandableApprovalRequestResponse) GetResourceId() string

GetResourceId returns the ResourceId field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetResourceIdOk ¶

func (o *ExpandableApprovalRequestResponse) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetReviewStatus ¶

func (o *ExpandableApprovalRequestResponse) GetReviewStatus() string

GetReviewStatus returns the ReviewStatus field value

func (*ExpandableApprovalRequestResponse) GetReviewStatusOk ¶

func (o *ExpandableApprovalRequestResponse) GetReviewStatusOk() (*string, bool)

GetReviewStatusOk returns a tuple with the ReviewStatus field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetServiceKind ¶

func (o *ExpandableApprovalRequestResponse) GetServiceKind() string

GetServiceKind returns the ServiceKind field value

func (*ExpandableApprovalRequestResponse) GetServiceKindOk ¶

func (o *ExpandableApprovalRequestResponse) GetServiceKindOk() (*string, bool)

GetServiceKindOk returns a tuple with the ServiceKind field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetSource ¶

GetSource returns the Source field value if set, zero value otherwise.

func (*ExpandableApprovalRequestResponse) GetSourceOk ¶

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetStatus ¶

GetStatus returns the Status field value

func (*ExpandableApprovalRequestResponse) GetStatusOk ¶

func (o *ExpandableApprovalRequestResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) GetVersion ¶

func (o *ExpandableApprovalRequestResponse) GetVersion() int32

GetVersion returns the Version field value

func (*ExpandableApprovalRequestResponse) GetVersionOk ¶

func (o *ExpandableApprovalRequestResponse) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestResponse) HasAppliedByMemberId ¶

func (o *ExpandableApprovalRequestResponse) HasAppliedByMemberId() bool

HasAppliedByMemberId returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasAppliedByServiceTokenId ¶

func (o *ExpandableApprovalRequestResponse) HasAppliedByServiceTokenId() bool

HasAppliedByServiceTokenId returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasAppliedDate ¶

func (o *ExpandableApprovalRequestResponse) HasAppliedDate() bool

HasAppliedDate returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasApprovalSettings ¶

func (o *ExpandableApprovalRequestResponse) HasApprovalSettings() bool

HasApprovalSettings returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasCustomWorkflowMetadata ¶

func (o *ExpandableApprovalRequestResponse) HasCustomWorkflowMetadata() bool

HasCustomWorkflowMetadata returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasDescription ¶

func (o *ExpandableApprovalRequestResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasEnvironments ¶

func (o *ExpandableApprovalRequestResponse) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasExecutionDate ¶

func (o *ExpandableApprovalRequestResponse) HasExecutionDate() bool

HasExecutionDate returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasFlag ¶

HasFlag returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasIntegrationMetadata ¶

func (o *ExpandableApprovalRequestResponse) HasIntegrationMetadata() bool

HasIntegrationMetadata returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasOperatingOnId ¶

func (o *ExpandableApprovalRequestResponse) HasOperatingOnId() bool

HasOperatingOnId returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasProject ¶

func (o *ExpandableApprovalRequestResponse) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasRequestorId ¶

func (o *ExpandableApprovalRequestResponse) HasRequestorId() bool

HasRequestorId returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasResourceId ¶

func (o *ExpandableApprovalRequestResponse) HasResourceId() bool

HasResourceId returns a boolean if a field has been set.

func (*ExpandableApprovalRequestResponse) HasSource ¶

func (o *ExpandableApprovalRequestResponse) HasSource() bool

HasSource returns a boolean if a field has been set.

func (ExpandableApprovalRequestResponse) MarshalJSON ¶

func (o ExpandableApprovalRequestResponse) MarshalJSON() ([]byte, error)

func (*ExpandableApprovalRequestResponse) SetAllReviews ¶

func (o *ExpandableApprovalRequestResponse) SetAllReviews(v []ReviewResponse)

SetAllReviews sets field value

func (*ExpandableApprovalRequestResponse) SetAppliedByMemberId ¶

func (o *ExpandableApprovalRequestResponse) SetAppliedByMemberId(v string)

SetAppliedByMemberId gets a reference to the given string and assigns it to the AppliedByMemberId field.

func (*ExpandableApprovalRequestResponse) SetAppliedByServiceTokenId ¶

func (o *ExpandableApprovalRequestResponse) SetAppliedByServiceTokenId(v string)

SetAppliedByServiceTokenId gets a reference to the given string and assigns it to the AppliedByServiceTokenId field.

func (*ExpandableApprovalRequestResponse) SetAppliedDate ¶

func (o *ExpandableApprovalRequestResponse) SetAppliedDate(v int64)

SetAppliedDate gets a reference to the given int64 and assigns it to the AppliedDate field.

func (*ExpandableApprovalRequestResponse) SetApprovalSettings ¶

func (o *ExpandableApprovalRequestResponse) SetApprovalSettings(v ApprovalSettings)

SetApprovalSettings gets a reference to the given ApprovalSettings and assigns it to the ApprovalSettings field.

func (*ExpandableApprovalRequestResponse) SetConflicts ¶

func (o *ExpandableApprovalRequestResponse) SetConflicts(v []Conflict)

SetConflicts sets field value

func (*ExpandableApprovalRequestResponse) SetCreationDate ¶

func (o *ExpandableApprovalRequestResponse) SetCreationDate(v int64)

SetCreationDate sets field value

func (*ExpandableApprovalRequestResponse) SetCustomWorkflowMetadata ¶

func (o *ExpandableApprovalRequestResponse) SetCustomWorkflowMetadata(v CustomWorkflowMeta)

SetCustomWorkflowMetadata gets a reference to the given CustomWorkflowMeta and assigns it to the CustomWorkflowMetadata field.

func (*ExpandableApprovalRequestResponse) SetDescription ¶

func (o *ExpandableApprovalRequestResponse) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ExpandableApprovalRequestResponse) SetEnvironments ¶

func (o *ExpandableApprovalRequestResponse) SetEnvironments(v []Environment)

SetEnvironments gets a reference to the given []Environment and assigns it to the Environments field.

func (*ExpandableApprovalRequestResponse) SetExecutionDate ¶

func (o *ExpandableApprovalRequestResponse) SetExecutionDate(v int64)

SetExecutionDate gets a reference to the given int64 and assigns it to the ExecutionDate field.

func (*ExpandableApprovalRequestResponse) SetFlag ¶

SetFlag gets a reference to the given ExpandedFlagRep and assigns it to the Flag field.

func (*ExpandableApprovalRequestResponse) SetId ¶

SetId sets field value

func (*ExpandableApprovalRequestResponse) SetInstructions ¶

func (o *ExpandableApprovalRequestResponse) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

func (*ExpandableApprovalRequestResponse) SetIntegrationMetadata ¶

func (o *ExpandableApprovalRequestResponse) SetIntegrationMetadata(v IntegrationMetadata)

SetIntegrationMetadata gets a reference to the given IntegrationMetadata and assigns it to the IntegrationMetadata field.

func (o *ExpandableApprovalRequestResponse) SetLinks(v map[string]interface{})

SetLinks sets field value

func (*ExpandableApprovalRequestResponse) SetNotifyMemberIds ¶

func (o *ExpandableApprovalRequestResponse) SetNotifyMemberIds(v []string)

SetNotifyMemberIds sets field value

func (*ExpandableApprovalRequestResponse) SetOperatingOnId ¶

func (o *ExpandableApprovalRequestResponse) SetOperatingOnId(v string)

SetOperatingOnId gets a reference to the given string and assigns it to the OperatingOnId field.

func (*ExpandableApprovalRequestResponse) SetProject ¶

func (o *ExpandableApprovalRequestResponse) SetProject(v Project)

SetProject gets a reference to the given Project and assigns it to the Project field.

func (*ExpandableApprovalRequestResponse) SetRequestorId ¶

func (o *ExpandableApprovalRequestResponse) SetRequestorId(v string)

SetRequestorId gets a reference to the given string and assigns it to the RequestorId field.

func (*ExpandableApprovalRequestResponse) SetResourceId ¶

func (o *ExpandableApprovalRequestResponse) SetResourceId(v string)

SetResourceId gets a reference to the given string and assigns it to the ResourceId field.

func (*ExpandableApprovalRequestResponse) SetReviewStatus ¶

func (o *ExpandableApprovalRequestResponse) SetReviewStatus(v string)

SetReviewStatus sets field value

func (*ExpandableApprovalRequestResponse) SetServiceKind ¶

func (o *ExpandableApprovalRequestResponse) SetServiceKind(v string)

SetServiceKind sets field value

func (*ExpandableApprovalRequestResponse) SetSource ¶

SetSource gets a reference to the given CopiedFromEnv and assigns it to the Source field.

func (*ExpandableApprovalRequestResponse) SetStatus ¶

func (o *ExpandableApprovalRequestResponse) SetStatus(v string)

SetStatus sets field value

func (*ExpandableApprovalRequestResponse) SetVersion ¶

func (o *ExpandableApprovalRequestResponse) SetVersion(v int32)

SetVersion sets field value

type ExpandableApprovalRequestsResponse ¶

type ExpandableApprovalRequestsResponse struct {
	// An array of approval requests
	Items []ExpandableApprovalRequestResponse `json:"items"`
	// Total number of approval requests
	TotalCount int32 `json:"totalCount"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

ExpandableApprovalRequestsResponse struct for ExpandableApprovalRequestsResponse

func NewExpandableApprovalRequestsResponse ¶

func NewExpandableApprovalRequestsResponse(items []ExpandableApprovalRequestResponse, totalCount int32, links map[string]Link) *ExpandableApprovalRequestsResponse

NewExpandableApprovalRequestsResponse instantiates a new ExpandableApprovalRequestsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExpandableApprovalRequestsResponseWithDefaults ¶

func NewExpandableApprovalRequestsResponseWithDefaults() *ExpandableApprovalRequestsResponse

NewExpandableApprovalRequestsResponseWithDefaults instantiates a new ExpandableApprovalRequestsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExpandableApprovalRequestsResponse) GetItems ¶

GetItems returns the Items field value

func (*ExpandableApprovalRequestsResponse) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*ExpandableApprovalRequestsResponse) GetLinksOk ¶

func (o *ExpandableApprovalRequestsResponse) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*ExpandableApprovalRequestsResponse) GetTotalCount ¶

func (o *ExpandableApprovalRequestsResponse) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*ExpandableApprovalRequestsResponse) GetTotalCountOk ¶

func (o *ExpandableApprovalRequestsResponse) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (ExpandableApprovalRequestsResponse) MarshalJSON ¶

func (o ExpandableApprovalRequestsResponse) MarshalJSON() ([]byte, error)

func (*ExpandableApprovalRequestsResponse) SetItems ¶

SetItems sets field value

func (o *ExpandableApprovalRequestsResponse) SetLinks(v map[string]Link)

SetLinks sets field value

func (*ExpandableApprovalRequestsResponse) SetTotalCount ¶

func (o *ExpandableApprovalRequestsResponse) SetTotalCount(v int32)

SetTotalCount sets field value

type ExpandedFlagRep ¶

type ExpandedFlagRep struct {
	// A human-friendly name for the feature flag
	Name string `json:"name"`
	// Kind of feature flag
	Kind string `json:"kind"`
	// Description of the feature flag
	Description *string `json:"description,omitempty"`
	// A unique key used to reference the flag in your code
	Key string `json:"key"`
	// Version of the feature flag
	Version      int32 `json:"_version"`
	CreationDate int64 `json:"creationDate"`
	// Deprecated, use <code>clientSideAvailability</code>. Whether this flag should be made available to the client-side JavaScript SDK
	// Deprecated
	IncludeInSnippet       *bool                   `json:"includeInSnippet,omitempty"`
	ClientSideAvailability *ClientSideAvailability `json:"clientSideAvailability,omitempty"`
	// An array of possible variations for the flag
	Variations []Variation `json:"variations"`
	// Whether the flag is a temporary flag
	Temporary bool `json:"temporary"`
	// Tags for the feature flag
	Tags []string `json:"tags"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The ID of the member who maintains the flag
	MaintainerId     *string                   `json:"maintainerId,omitempty"`
	Maintainer       *MemberSummary            `json:"_maintainer,omitempty"`
	CustomProperties map[string]CustomProperty `json:"customProperties"`
	// Boolean indicating if the feature flag is archived
	Archived     bool      `json:"archived"`
	ArchivedDate *int64    `json:"archivedDate,omitempty"`
	Defaults     *Defaults `json:"defaults,omitempty"`
}

ExpandedFlagRep struct for ExpandedFlagRep

func NewExpandedFlagRep ¶

func NewExpandedFlagRep(name string, kind string, key string, version int32, creationDate int64, variations []Variation, temporary bool, tags []string, links map[string]Link, customProperties map[string]CustomProperty, archived bool) *ExpandedFlagRep

NewExpandedFlagRep instantiates a new ExpandedFlagRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExpandedFlagRepWithDefaults ¶

func NewExpandedFlagRepWithDefaults() *ExpandedFlagRep

NewExpandedFlagRepWithDefaults instantiates a new ExpandedFlagRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExpandedFlagRep) GetArchived ¶

func (o *ExpandedFlagRep) GetArchived() bool

GetArchived returns the Archived field value

func (*ExpandedFlagRep) GetArchivedDate ¶

func (o *ExpandedFlagRep) GetArchivedDate() int64

GetArchivedDate returns the ArchivedDate field value if set, zero value otherwise.

func (*ExpandedFlagRep) GetArchivedDateOk ¶

func (o *ExpandedFlagRep) GetArchivedDateOk() (*int64, bool)

GetArchivedDateOk returns a tuple with the ArchivedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetArchivedOk ¶

func (o *ExpandedFlagRep) GetArchivedOk() (*bool, bool)

GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetClientSideAvailability ¶

func (o *ExpandedFlagRep) GetClientSideAvailability() ClientSideAvailability

GetClientSideAvailability returns the ClientSideAvailability field value if set, zero value otherwise.

func (*ExpandedFlagRep) GetClientSideAvailabilityOk ¶

func (o *ExpandedFlagRep) GetClientSideAvailabilityOk() (*ClientSideAvailability, bool)

GetClientSideAvailabilityOk returns a tuple with the ClientSideAvailability field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetCreationDate ¶

func (o *ExpandedFlagRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*ExpandedFlagRep) GetCreationDateOk ¶

func (o *ExpandedFlagRep) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetCustomProperties ¶

func (o *ExpandedFlagRep) GetCustomProperties() map[string]CustomProperty

GetCustomProperties returns the CustomProperties field value

func (*ExpandedFlagRep) GetCustomPropertiesOk ¶

func (o *ExpandedFlagRep) GetCustomPropertiesOk() (*map[string]CustomProperty, bool)

GetCustomPropertiesOk returns a tuple with the CustomProperties field value and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetDefaults ¶

func (o *ExpandedFlagRep) GetDefaults() Defaults

GetDefaults returns the Defaults field value if set, zero value otherwise.

func (*ExpandedFlagRep) GetDefaultsOk ¶

func (o *ExpandedFlagRep) GetDefaultsOk() (*Defaults, bool)

GetDefaultsOk returns a tuple with the Defaults field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetDescription ¶

func (o *ExpandedFlagRep) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ExpandedFlagRep) GetDescriptionOk ¶

func (o *ExpandedFlagRep) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetIncludeInSnippet ¶

func (o *ExpandedFlagRep) GetIncludeInSnippet() bool

GetIncludeInSnippet returns the IncludeInSnippet field value if set, zero value otherwise. Deprecated

func (*ExpandedFlagRep) GetIncludeInSnippetOk ¶

func (o *ExpandedFlagRep) GetIncludeInSnippetOk() (*bool, bool)

GetIncludeInSnippetOk returns a tuple with the IncludeInSnippet field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*ExpandedFlagRep) GetKey ¶

func (o *ExpandedFlagRep) GetKey() string

GetKey returns the Key field value

func (*ExpandedFlagRep) GetKeyOk ¶

func (o *ExpandedFlagRep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetKind ¶

func (o *ExpandedFlagRep) GetKind() string

GetKind returns the Kind field value

func (*ExpandedFlagRep) GetKindOk ¶

func (o *ExpandedFlagRep) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (o *ExpandedFlagRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ExpandedFlagRep) GetLinksOk ¶

func (o *ExpandedFlagRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetMaintainer ¶

func (o *ExpandedFlagRep) GetMaintainer() MemberSummary

GetMaintainer returns the Maintainer field value if set, zero value otherwise.

func (*ExpandedFlagRep) GetMaintainerId ¶

func (o *ExpandedFlagRep) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value if set, zero value otherwise.

func (*ExpandedFlagRep) GetMaintainerIdOk ¶

func (o *ExpandedFlagRep) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetMaintainerOk ¶

func (o *ExpandedFlagRep) GetMaintainerOk() (*MemberSummary, bool)

GetMaintainerOk returns a tuple with the Maintainer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetName ¶

func (o *ExpandedFlagRep) GetName() string

GetName returns the Name field value

func (*ExpandedFlagRep) GetNameOk ¶

func (o *ExpandedFlagRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetTags ¶

func (o *ExpandedFlagRep) GetTags() []string

GetTags returns the Tags field value

func (*ExpandedFlagRep) GetTagsOk ¶

func (o *ExpandedFlagRep) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetTemporary ¶

func (o *ExpandedFlagRep) GetTemporary() bool

GetTemporary returns the Temporary field value

func (*ExpandedFlagRep) GetTemporaryOk ¶

func (o *ExpandedFlagRep) GetTemporaryOk() (*bool, bool)

GetTemporaryOk returns a tuple with the Temporary field value and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetVariations ¶

func (o *ExpandedFlagRep) GetVariations() []Variation

GetVariations returns the Variations field value

func (*ExpandedFlagRep) GetVariationsOk ¶

func (o *ExpandedFlagRep) GetVariationsOk() ([]Variation, bool)

GetVariationsOk returns a tuple with the Variations field value and a boolean to check if the value has been set.

func (*ExpandedFlagRep) GetVersion ¶

func (o *ExpandedFlagRep) GetVersion() int32

GetVersion returns the Version field value

func (*ExpandedFlagRep) GetVersionOk ¶

func (o *ExpandedFlagRep) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*ExpandedFlagRep) HasArchivedDate ¶

func (o *ExpandedFlagRep) HasArchivedDate() bool

HasArchivedDate returns a boolean if a field has been set.

func (*ExpandedFlagRep) HasClientSideAvailability ¶

func (o *ExpandedFlagRep) HasClientSideAvailability() bool

HasClientSideAvailability returns a boolean if a field has been set.

func (*ExpandedFlagRep) HasDefaults ¶

func (o *ExpandedFlagRep) HasDefaults() bool

HasDefaults returns a boolean if a field has been set.

func (*ExpandedFlagRep) HasDescription ¶

func (o *ExpandedFlagRep) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ExpandedFlagRep) HasIncludeInSnippet ¶

func (o *ExpandedFlagRep) HasIncludeInSnippet() bool

HasIncludeInSnippet returns a boolean if a field has been set.

func (*ExpandedFlagRep) HasMaintainer ¶

func (o *ExpandedFlagRep) HasMaintainer() bool

HasMaintainer returns a boolean if a field has been set.

func (*ExpandedFlagRep) HasMaintainerId ¶

func (o *ExpandedFlagRep) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

func (ExpandedFlagRep) MarshalJSON ¶

func (o ExpandedFlagRep) MarshalJSON() ([]byte, error)

func (*ExpandedFlagRep) SetArchived ¶

func (o *ExpandedFlagRep) SetArchived(v bool)

SetArchived sets field value

func (*ExpandedFlagRep) SetArchivedDate ¶

func (o *ExpandedFlagRep) SetArchivedDate(v int64)

SetArchivedDate gets a reference to the given int64 and assigns it to the ArchivedDate field.

func (*ExpandedFlagRep) SetClientSideAvailability ¶

func (o *ExpandedFlagRep) SetClientSideAvailability(v ClientSideAvailability)

SetClientSideAvailability gets a reference to the given ClientSideAvailability and assigns it to the ClientSideAvailability field.

func (*ExpandedFlagRep) SetCreationDate ¶

func (o *ExpandedFlagRep) SetCreationDate(v int64)

SetCreationDate sets field value

func (*ExpandedFlagRep) SetCustomProperties ¶

func (o *ExpandedFlagRep) SetCustomProperties(v map[string]CustomProperty)

SetCustomProperties sets field value

func (*ExpandedFlagRep) SetDefaults ¶

func (o *ExpandedFlagRep) SetDefaults(v Defaults)

SetDefaults gets a reference to the given Defaults and assigns it to the Defaults field.

func (*ExpandedFlagRep) SetDescription ¶

func (o *ExpandedFlagRep) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ExpandedFlagRep) SetIncludeInSnippet ¶

func (o *ExpandedFlagRep) SetIncludeInSnippet(v bool)

SetIncludeInSnippet gets a reference to the given bool and assigns it to the IncludeInSnippet field. Deprecated

func (*ExpandedFlagRep) SetKey ¶

func (o *ExpandedFlagRep) SetKey(v string)

SetKey sets field value

func (*ExpandedFlagRep) SetKind ¶

func (o *ExpandedFlagRep) SetKind(v string)

SetKind sets field value

func (o *ExpandedFlagRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*ExpandedFlagRep) SetMaintainer ¶

func (o *ExpandedFlagRep) SetMaintainer(v MemberSummary)

SetMaintainer gets a reference to the given MemberSummary and assigns it to the Maintainer field.

func (*ExpandedFlagRep) SetMaintainerId ¶

func (o *ExpandedFlagRep) SetMaintainerId(v string)

SetMaintainerId gets a reference to the given string and assigns it to the MaintainerId field.

func (*ExpandedFlagRep) SetName ¶

func (o *ExpandedFlagRep) SetName(v string)

SetName sets field value

func (*ExpandedFlagRep) SetTags ¶

func (o *ExpandedFlagRep) SetTags(v []string)

SetTags sets field value

func (*ExpandedFlagRep) SetTemporary ¶

func (o *ExpandedFlagRep) SetTemporary(v bool)

SetTemporary sets field value

func (*ExpandedFlagRep) SetVariations ¶

func (o *ExpandedFlagRep) SetVariations(v []Variation)

SetVariations sets field value

func (*ExpandedFlagRep) SetVersion ¶

func (o *ExpandedFlagRep) SetVersion(v int32)

SetVersion sets field value

type Experiment ¶

type Experiment struct {
	// The experiment ID
	Id *string `json:"_id,omitempty"`
	// The experiment key
	Key string `json:"key"`
	// The experiment name
	Name string `json:"name"`
	// The experiment description
	Description *string `json:"description,omitempty"`
	// The ID of the member who maintains this experiment.
	MaintainerId   string  `json:"_maintainerId"`
	CreationDate   int64   `json:"_creationDate"`
	EnvironmentKey *string `json:"environmentKey,omitempty"`
	ArchivedDate   *int64  `json:"archivedDate,omitempty"`
	// The location and content type of related resources
	Links            map[string]Link `json:"_links"`
	CurrentIteration *IterationRep   `json:"currentIteration,omitempty"`
	DraftIteration   *IterationRep   `json:"draftIteration,omitempty"`
	// Details on the previous iterations for this experiment.
	PreviousIterations []IterationRep `json:"previousIterations,omitempty"`
}

Experiment struct for Experiment

func NewExperiment ¶

func NewExperiment(key string, name string, maintainerId string, creationDate int64, links map[string]Link) *Experiment

NewExperiment instantiates a new Experiment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentWithDefaults ¶

func NewExperimentWithDefaults() *Experiment

NewExperimentWithDefaults instantiates a new Experiment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Experiment) GetArchivedDate ¶

func (o *Experiment) GetArchivedDate() int64

GetArchivedDate returns the ArchivedDate field value if set, zero value otherwise.

func (*Experiment) GetArchivedDateOk ¶

func (o *Experiment) GetArchivedDateOk() (*int64, bool)

GetArchivedDateOk returns a tuple with the ArchivedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Experiment) GetCreationDate ¶

func (o *Experiment) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*Experiment) GetCreationDateOk ¶

func (o *Experiment) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*Experiment) GetCurrentIteration ¶

func (o *Experiment) GetCurrentIteration() IterationRep

GetCurrentIteration returns the CurrentIteration field value if set, zero value otherwise.

func (*Experiment) GetCurrentIterationOk ¶

func (o *Experiment) GetCurrentIterationOk() (*IterationRep, bool)

GetCurrentIterationOk returns a tuple with the CurrentIteration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Experiment) GetDescription ¶

func (o *Experiment) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Experiment) GetDescriptionOk ¶

func (o *Experiment) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Experiment) GetDraftIteration ¶

func (o *Experiment) GetDraftIteration() IterationRep

GetDraftIteration returns the DraftIteration field value if set, zero value otherwise.

func (*Experiment) GetDraftIterationOk ¶

func (o *Experiment) GetDraftIterationOk() (*IterationRep, bool)

GetDraftIterationOk returns a tuple with the DraftIteration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Experiment) GetEnvironmentKey ¶

func (o *Experiment) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value if set, zero value otherwise.

func (*Experiment) GetEnvironmentKeyOk ¶

func (o *Experiment) GetEnvironmentKeyOk() (*string, bool)

GetEnvironmentKeyOk returns a tuple with the EnvironmentKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Experiment) GetId ¶

func (o *Experiment) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Experiment) GetIdOk ¶

func (o *Experiment) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Experiment) GetKey ¶

func (o *Experiment) GetKey() string

GetKey returns the Key field value

func (*Experiment) GetKeyOk ¶

func (o *Experiment) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *Experiment) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Experiment) GetLinksOk ¶

func (o *Experiment) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Experiment) GetMaintainerId ¶

func (o *Experiment) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value

func (*Experiment) GetMaintainerIdOk ¶

func (o *Experiment) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value and a boolean to check if the value has been set.

func (*Experiment) GetName ¶

func (o *Experiment) GetName() string

GetName returns the Name field value

func (*Experiment) GetNameOk ¶

func (o *Experiment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Experiment) GetPreviousIterations ¶

func (o *Experiment) GetPreviousIterations() []IterationRep

GetPreviousIterations returns the PreviousIterations field value if set, zero value otherwise.

func (*Experiment) GetPreviousIterationsOk ¶

func (o *Experiment) GetPreviousIterationsOk() ([]IterationRep, bool)

GetPreviousIterationsOk returns a tuple with the PreviousIterations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Experiment) HasArchivedDate ¶

func (o *Experiment) HasArchivedDate() bool

HasArchivedDate returns a boolean if a field has been set.

func (*Experiment) HasCurrentIteration ¶

func (o *Experiment) HasCurrentIteration() bool

HasCurrentIteration returns a boolean if a field has been set.

func (*Experiment) HasDescription ¶

func (o *Experiment) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Experiment) HasDraftIteration ¶

func (o *Experiment) HasDraftIteration() bool

HasDraftIteration returns a boolean if a field has been set.

func (*Experiment) HasEnvironmentKey ¶

func (o *Experiment) HasEnvironmentKey() bool

HasEnvironmentKey returns a boolean if a field has been set.

func (*Experiment) HasId ¶

func (o *Experiment) HasId() bool

HasId returns a boolean if a field has been set.

func (*Experiment) HasPreviousIterations ¶

func (o *Experiment) HasPreviousIterations() bool

HasPreviousIterations returns a boolean if a field has been set.

func (Experiment) MarshalJSON ¶

func (o Experiment) MarshalJSON() ([]byte, error)

func (*Experiment) SetArchivedDate ¶

func (o *Experiment) SetArchivedDate(v int64)

SetArchivedDate gets a reference to the given int64 and assigns it to the ArchivedDate field.

func (*Experiment) SetCreationDate ¶

func (o *Experiment) SetCreationDate(v int64)

SetCreationDate sets field value

func (*Experiment) SetCurrentIteration ¶

func (o *Experiment) SetCurrentIteration(v IterationRep)

SetCurrentIteration gets a reference to the given IterationRep and assigns it to the CurrentIteration field.

func (*Experiment) SetDescription ¶

func (o *Experiment) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Experiment) SetDraftIteration ¶

func (o *Experiment) SetDraftIteration(v IterationRep)

SetDraftIteration gets a reference to the given IterationRep and assigns it to the DraftIteration field.

func (*Experiment) SetEnvironmentKey ¶

func (o *Experiment) SetEnvironmentKey(v string)

SetEnvironmentKey gets a reference to the given string and assigns it to the EnvironmentKey field.

func (*Experiment) SetId ¶

func (o *Experiment) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Experiment) SetKey ¶

func (o *Experiment) SetKey(v string)

SetKey sets field value

func (o *Experiment) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Experiment) SetMaintainerId ¶

func (o *Experiment) SetMaintainerId(v string)

SetMaintainerId sets field value

func (*Experiment) SetName ¶

func (o *Experiment) SetName(v string)

SetName sets field value

func (*Experiment) SetPreviousIterations ¶

func (o *Experiment) SetPreviousIterations(v []IterationRep)

SetPreviousIterations gets a reference to the given []IterationRep and assigns it to the PreviousIterations field.

type ExperimentAllocationRep ¶

type ExperimentAllocationRep struct {
	DefaultVariation int32 `json:"defaultVariation"`
	CanReshuffle     bool  `json:"canReshuffle"`
}

ExperimentAllocationRep struct for ExperimentAllocationRep

func NewExperimentAllocationRep ¶

func NewExperimentAllocationRep(defaultVariation int32, canReshuffle bool) *ExperimentAllocationRep

NewExperimentAllocationRep instantiates a new ExperimentAllocationRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentAllocationRepWithDefaults ¶

func NewExperimentAllocationRepWithDefaults() *ExperimentAllocationRep

NewExperimentAllocationRepWithDefaults instantiates a new ExperimentAllocationRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentAllocationRep) GetCanReshuffle ¶

func (o *ExperimentAllocationRep) GetCanReshuffle() bool

GetCanReshuffle returns the CanReshuffle field value

func (*ExperimentAllocationRep) GetCanReshuffleOk ¶

func (o *ExperimentAllocationRep) GetCanReshuffleOk() (*bool, bool)

GetCanReshuffleOk returns a tuple with the CanReshuffle field value and a boolean to check if the value has been set.

func (*ExperimentAllocationRep) GetDefaultVariation ¶

func (o *ExperimentAllocationRep) GetDefaultVariation() int32

GetDefaultVariation returns the DefaultVariation field value

func (*ExperimentAllocationRep) GetDefaultVariationOk ¶

func (o *ExperimentAllocationRep) GetDefaultVariationOk() (*int32, bool)

GetDefaultVariationOk returns a tuple with the DefaultVariation field value and a boolean to check if the value has been set.

func (ExperimentAllocationRep) MarshalJSON ¶

func (o ExperimentAllocationRep) MarshalJSON() ([]byte, error)

func (*ExperimentAllocationRep) SetCanReshuffle ¶

func (o *ExperimentAllocationRep) SetCanReshuffle(v bool)

SetCanReshuffle sets field value

func (*ExperimentAllocationRep) SetDefaultVariation ¶

func (o *ExperimentAllocationRep) SetDefaultVariation(v int32)

SetDefaultVariation sets field value

type ExperimentBayesianResultsRep ¶

type ExperimentBayesianResultsRep struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// Deprecated, use <code>results</code> instead. Only populated when response does not contain results sliced by multiple attributes.
	// Deprecated
	TreatmentResults []TreatmentResultRep `json:"treatmentResults,omitempty"`
	MetricSeen       *MetricSeen          `json:"metricSeen,omitempty"`
	// The probability of a Sample Ratio Mismatch
	ProbabilityOfMismatch *float32 `json:"probabilityOfMismatch,omitempty"`
	// A list of attribute values and their corresponding treatment results
	Results []SlicedResultsRep `json:"results,omitempty"`
}

ExperimentBayesianResultsRep struct for ExperimentBayesianResultsRep

func NewExperimentBayesianResultsRep ¶

func NewExperimentBayesianResultsRep() *ExperimentBayesianResultsRep

NewExperimentBayesianResultsRep instantiates a new ExperimentBayesianResultsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentBayesianResultsRepWithDefaults ¶

func NewExperimentBayesianResultsRepWithDefaults() *ExperimentBayesianResultsRep

NewExperimentBayesianResultsRepWithDefaults instantiates a new ExperimentBayesianResultsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *ExperimentBayesianResultsRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ExperimentBayesianResultsRep) GetLinksOk ¶

func (o *ExperimentBayesianResultsRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentBayesianResultsRep) GetMetricSeen ¶

func (o *ExperimentBayesianResultsRep) GetMetricSeen() MetricSeen

GetMetricSeen returns the MetricSeen field value if set, zero value otherwise.

func (*ExperimentBayesianResultsRep) GetMetricSeenOk ¶

func (o *ExperimentBayesianResultsRep) GetMetricSeenOk() (*MetricSeen, bool)

GetMetricSeenOk returns a tuple with the MetricSeen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentBayesianResultsRep) GetProbabilityOfMismatch ¶

func (o *ExperimentBayesianResultsRep) GetProbabilityOfMismatch() float32

GetProbabilityOfMismatch returns the ProbabilityOfMismatch field value if set, zero value otherwise.

func (*ExperimentBayesianResultsRep) GetProbabilityOfMismatchOk ¶

func (o *ExperimentBayesianResultsRep) GetProbabilityOfMismatchOk() (*float32, bool)

GetProbabilityOfMismatchOk returns a tuple with the ProbabilityOfMismatch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentBayesianResultsRep) GetResults ¶

GetResults returns the Results field value if set, zero value otherwise.

func (*ExperimentBayesianResultsRep) GetResultsOk ¶

func (o *ExperimentBayesianResultsRep) GetResultsOk() ([]SlicedResultsRep, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentBayesianResultsRep) GetTreatmentResults ¶

func (o *ExperimentBayesianResultsRep) GetTreatmentResults() []TreatmentResultRep

GetTreatmentResults returns the TreatmentResults field value if set, zero value otherwise. Deprecated

func (*ExperimentBayesianResultsRep) GetTreatmentResultsOk ¶

func (o *ExperimentBayesianResultsRep) GetTreatmentResultsOk() ([]TreatmentResultRep, bool)

GetTreatmentResultsOk returns a tuple with the TreatmentResults field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (o *ExperimentBayesianResultsRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ExperimentBayesianResultsRep) HasMetricSeen ¶

func (o *ExperimentBayesianResultsRep) HasMetricSeen() bool

HasMetricSeen returns a boolean if a field has been set.

func (*ExperimentBayesianResultsRep) HasProbabilityOfMismatch ¶

func (o *ExperimentBayesianResultsRep) HasProbabilityOfMismatch() bool

HasProbabilityOfMismatch returns a boolean if a field has been set.

func (*ExperimentBayesianResultsRep) HasResults ¶

func (o *ExperimentBayesianResultsRep) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*ExperimentBayesianResultsRep) HasTreatmentResults ¶

func (o *ExperimentBayesianResultsRep) HasTreatmentResults() bool

HasTreatmentResults returns a boolean if a field has been set.

func (ExperimentBayesianResultsRep) MarshalJSON ¶

func (o ExperimentBayesianResultsRep) MarshalJSON() ([]byte, error)
func (o *ExperimentBayesianResultsRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ExperimentBayesianResultsRep) SetMetricSeen ¶

func (o *ExperimentBayesianResultsRep) SetMetricSeen(v MetricSeen)

SetMetricSeen gets a reference to the given MetricSeen and assigns it to the MetricSeen field.

func (*ExperimentBayesianResultsRep) SetProbabilityOfMismatch ¶

func (o *ExperimentBayesianResultsRep) SetProbabilityOfMismatch(v float32)

SetProbabilityOfMismatch gets a reference to the given float32 and assigns it to the ProbabilityOfMismatch field.

func (*ExperimentBayesianResultsRep) SetResults ¶

SetResults gets a reference to the given []SlicedResultsRep and assigns it to the Results field.

func (*ExperimentBayesianResultsRep) SetTreatmentResults ¶

func (o *ExperimentBayesianResultsRep) SetTreatmentResults(v []TreatmentResultRep)

SetTreatmentResults gets a reference to the given []TreatmentResultRep and assigns it to the TreatmentResults field. Deprecated

type ExperimentCollectionRep ¶

type ExperimentCollectionRep struct {
	// An array of experiments
	Items []Experiment `json:"items"`
	// The total number of experiments in this project and environment. Does not include legacy experiments.
	TotalCount *int32 `json:"total_count,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

ExperimentCollectionRep struct for ExperimentCollectionRep

func NewExperimentCollectionRep ¶

func NewExperimentCollectionRep(items []Experiment) *ExperimentCollectionRep

NewExperimentCollectionRep instantiates a new ExperimentCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentCollectionRepWithDefaults ¶

func NewExperimentCollectionRepWithDefaults() *ExperimentCollectionRep

NewExperimentCollectionRepWithDefaults instantiates a new ExperimentCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentCollectionRep) GetItems ¶

func (o *ExperimentCollectionRep) GetItems() []Experiment

GetItems returns the Items field value

func (*ExperimentCollectionRep) GetItemsOk ¶

func (o *ExperimentCollectionRep) GetItemsOk() ([]Experiment, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *ExperimentCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ExperimentCollectionRep) GetLinksOk ¶

func (o *ExperimentCollectionRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentCollectionRep) GetTotalCount ¶

func (o *ExperimentCollectionRep) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*ExperimentCollectionRep) GetTotalCountOk ¶

func (o *ExperimentCollectionRep) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ExperimentCollectionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ExperimentCollectionRep) HasTotalCount ¶

func (o *ExperimentCollectionRep) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (ExperimentCollectionRep) MarshalJSON ¶

func (o ExperimentCollectionRep) MarshalJSON() ([]byte, error)

func (*ExperimentCollectionRep) SetItems ¶

func (o *ExperimentCollectionRep) SetItems(v []Experiment)

SetItems sets field value

func (o *ExperimentCollectionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ExperimentCollectionRep) SetTotalCount ¶

func (o *ExperimentCollectionRep) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type ExperimentEnabledPeriodRep ¶

type ExperimentEnabledPeriodRep struct {
	StartDate *int64 `json:"startDate,omitempty"`
	StopDate  *int64 `json:"stopDate,omitempty"`
}

ExperimentEnabledPeriodRep struct for ExperimentEnabledPeriodRep

func NewExperimentEnabledPeriodRep ¶

func NewExperimentEnabledPeriodRep() *ExperimentEnabledPeriodRep

NewExperimentEnabledPeriodRep instantiates a new ExperimentEnabledPeriodRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentEnabledPeriodRepWithDefaults ¶

func NewExperimentEnabledPeriodRepWithDefaults() *ExperimentEnabledPeriodRep

NewExperimentEnabledPeriodRepWithDefaults instantiates a new ExperimentEnabledPeriodRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentEnabledPeriodRep) GetStartDate ¶

func (o *ExperimentEnabledPeriodRep) GetStartDate() int64

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*ExperimentEnabledPeriodRep) GetStartDateOk ¶

func (o *ExperimentEnabledPeriodRep) GetStartDateOk() (*int64, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentEnabledPeriodRep) GetStopDate ¶

func (o *ExperimentEnabledPeriodRep) GetStopDate() int64

GetStopDate returns the StopDate field value if set, zero value otherwise.

func (*ExperimentEnabledPeriodRep) GetStopDateOk ¶

func (o *ExperimentEnabledPeriodRep) GetStopDateOk() (*int64, bool)

GetStopDateOk returns a tuple with the StopDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentEnabledPeriodRep) HasStartDate ¶

func (o *ExperimentEnabledPeriodRep) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*ExperimentEnabledPeriodRep) HasStopDate ¶

func (o *ExperimentEnabledPeriodRep) HasStopDate() bool

HasStopDate returns a boolean if a field has been set.

func (ExperimentEnabledPeriodRep) MarshalJSON ¶

func (o ExperimentEnabledPeriodRep) MarshalJSON() ([]byte, error)

func (*ExperimentEnabledPeriodRep) SetStartDate ¶

func (o *ExperimentEnabledPeriodRep) SetStartDate(v int64)

SetStartDate gets a reference to the given int64 and assigns it to the StartDate field.

func (*ExperimentEnabledPeriodRep) SetStopDate ¶

func (o *ExperimentEnabledPeriodRep) SetStopDate(v int64)

SetStopDate gets a reference to the given int64 and assigns it to the StopDate field.

type ExperimentEnvironmentSettingRep ¶

type ExperimentEnvironmentSettingRep struct {
	StartDate      *int64                       `json:"startDate,omitempty"`
	StopDate       *int64                       `json:"stopDate,omitempty"`
	EnabledPeriods []ExperimentEnabledPeriodRep `json:"enabledPeriods,omitempty"`
}

ExperimentEnvironmentSettingRep struct for ExperimentEnvironmentSettingRep

func NewExperimentEnvironmentSettingRep ¶

func NewExperimentEnvironmentSettingRep() *ExperimentEnvironmentSettingRep

NewExperimentEnvironmentSettingRep instantiates a new ExperimentEnvironmentSettingRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentEnvironmentSettingRepWithDefaults ¶

func NewExperimentEnvironmentSettingRepWithDefaults() *ExperimentEnvironmentSettingRep

NewExperimentEnvironmentSettingRepWithDefaults instantiates a new ExperimentEnvironmentSettingRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentEnvironmentSettingRep) GetEnabledPeriods ¶

GetEnabledPeriods returns the EnabledPeriods field value if set, zero value otherwise.

func (*ExperimentEnvironmentSettingRep) GetEnabledPeriodsOk ¶

func (o *ExperimentEnvironmentSettingRep) GetEnabledPeriodsOk() ([]ExperimentEnabledPeriodRep, bool)

GetEnabledPeriodsOk returns a tuple with the EnabledPeriods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentEnvironmentSettingRep) GetStartDate ¶

func (o *ExperimentEnvironmentSettingRep) GetStartDate() int64

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*ExperimentEnvironmentSettingRep) GetStartDateOk ¶

func (o *ExperimentEnvironmentSettingRep) GetStartDateOk() (*int64, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentEnvironmentSettingRep) GetStopDate ¶

func (o *ExperimentEnvironmentSettingRep) GetStopDate() int64

GetStopDate returns the StopDate field value if set, zero value otherwise.

func (*ExperimentEnvironmentSettingRep) GetStopDateOk ¶

func (o *ExperimentEnvironmentSettingRep) GetStopDateOk() (*int64, bool)

GetStopDateOk returns a tuple with the StopDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentEnvironmentSettingRep) HasEnabledPeriods ¶

func (o *ExperimentEnvironmentSettingRep) HasEnabledPeriods() bool

HasEnabledPeriods returns a boolean if a field has been set.

func (*ExperimentEnvironmentSettingRep) HasStartDate ¶

func (o *ExperimentEnvironmentSettingRep) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*ExperimentEnvironmentSettingRep) HasStopDate ¶

func (o *ExperimentEnvironmentSettingRep) HasStopDate() bool

HasStopDate returns a boolean if a field has been set.

func (ExperimentEnvironmentSettingRep) MarshalJSON ¶

func (o ExperimentEnvironmentSettingRep) MarshalJSON() ([]byte, error)

func (*ExperimentEnvironmentSettingRep) SetEnabledPeriods ¶

SetEnabledPeriods gets a reference to the given []ExperimentEnabledPeriodRep and assigns it to the EnabledPeriods field.

func (*ExperimentEnvironmentSettingRep) SetStartDate ¶

func (o *ExperimentEnvironmentSettingRep) SetStartDate(v int64)

SetStartDate gets a reference to the given int64 and assigns it to the StartDate field.

func (*ExperimentEnvironmentSettingRep) SetStopDate ¶

func (o *ExperimentEnvironmentSettingRep) SetStopDate(v int64)

SetStopDate gets a reference to the given int64 and assigns it to the StopDate field.

type ExperimentInfoRep ¶

type ExperimentInfoRep struct {
	BaselineIdx int32                 `json:"baselineIdx"`
	Items       []LegacyExperimentRep `json:"items"`
}

ExperimentInfoRep struct for ExperimentInfoRep

func NewExperimentInfoRep ¶

func NewExperimentInfoRep(baselineIdx int32, items []LegacyExperimentRep) *ExperimentInfoRep

NewExperimentInfoRep instantiates a new ExperimentInfoRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentInfoRepWithDefaults ¶

func NewExperimentInfoRepWithDefaults() *ExperimentInfoRep

NewExperimentInfoRepWithDefaults instantiates a new ExperimentInfoRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentInfoRep) GetBaselineIdx ¶

func (o *ExperimentInfoRep) GetBaselineIdx() int32

GetBaselineIdx returns the BaselineIdx field value

func (*ExperimentInfoRep) GetBaselineIdxOk ¶

func (o *ExperimentInfoRep) GetBaselineIdxOk() (*int32, bool)

GetBaselineIdxOk returns a tuple with the BaselineIdx field value and a boolean to check if the value has been set.

func (*ExperimentInfoRep) GetItems ¶

func (o *ExperimentInfoRep) GetItems() []LegacyExperimentRep

GetItems returns the Items field value

func (*ExperimentInfoRep) GetItemsOk ¶

func (o *ExperimentInfoRep) GetItemsOk() ([]LegacyExperimentRep, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (ExperimentInfoRep) MarshalJSON ¶

func (o ExperimentInfoRep) MarshalJSON() ([]byte, error)

func (*ExperimentInfoRep) SetBaselineIdx ¶

func (o *ExperimentInfoRep) SetBaselineIdx(v int32)

SetBaselineIdx sets field value

func (*ExperimentInfoRep) SetItems ¶

func (o *ExperimentInfoRep) SetItems(v []LegacyExperimentRep)

SetItems sets field value

type ExperimentMetadataRep ¶

type ExperimentMetadataRep struct {
	Key interface{} `json:"key,omitempty"`
}

ExperimentMetadataRep struct for ExperimentMetadataRep

func NewExperimentMetadataRep ¶

func NewExperimentMetadataRep() *ExperimentMetadataRep

NewExperimentMetadataRep instantiates a new ExperimentMetadataRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentMetadataRepWithDefaults ¶

func NewExperimentMetadataRepWithDefaults() *ExperimentMetadataRep

NewExperimentMetadataRepWithDefaults instantiates a new ExperimentMetadataRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentMetadataRep) GetKey ¶

func (o *ExperimentMetadataRep) GetKey() interface{}

GetKey returns the Key field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ExperimentMetadataRep) GetKeyOk ¶

func (o *ExperimentMetadataRep) GetKeyOk() (*interface{}, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ExperimentMetadataRep) HasKey ¶

func (o *ExperimentMetadataRep) HasKey() bool

HasKey returns a boolean if a field has been set.

func (ExperimentMetadataRep) MarshalJSON ¶

func (o ExperimentMetadataRep) MarshalJSON() ([]byte, error)

func (*ExperimentMetadataRep) SetKey ¶

func (o *ExperimentMetadataRep) SetKey(v interface{})

SetKey gets a reference to the given interface{} and assigns it to the Key field.

type ExperimentPatchInput ¶

type ExperimentPatchInput struct {
	// Optional comment describing the update
	Comment      *string                  `json:"comment,omitempty"`
	Instructions []map[string]interface{} `json:"instructions"`
}

ExperimentPatchInput struct for ExperimentPatchInput

func NewExperimentPatchInput ¶

func NewExperimentPatchInput(instructions []map[string]interface{}) *ExperimentPatchInput

NewExperimentPatchInput instantiates a new ExperimentPatchInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentPatchInputWithDefaults ¶

func NewExperimentPatchInputWithDefaults() *ExperimentPatchInput

NewExperimentPatchInputWithDefaults instantiates a new ExperimentPatchInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentPatchInput) GetComment ¶

func (o *ExperimentPatchInput) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*ExperimentPatchInput) GetCommentOk ¶

func (o *ExperimentPatchInput) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentPatchInput) GetInstructions ¶

func (o *ExperimentPatchInput) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*ExperimentPatchInput) GetInstructionsOk ¶

func (o *ExperimentPatchInput) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*ExperimentPatchInput) HasComment ¶

func (o *ExperimentPatchInput) HasComment() bool

HasComment returns a boolean if a field has been set.

func (ExperimentPatchInput) MarshalJSON ¶

func (o ExperimentPatchInput) MarshalJSON() ([]byte, error)

func (*ExperimentPatchInput) SetComment ¶

func (o *ExperimentPatchInput) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*ExperimentPatchInput) SetInstructions ¶

func (o *ExperimentPatchInput) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

type ExperimentPost ¶

type ExperimentPost struct {
	// The experiment name
	Name string `json:"name"`
	// The experiment description
	Description *string `json:"description,omitempty"`
	// The ID of the member who maintains this experiment
	MaintainerId *string `json:"maintainerId,omitempty"`
	// The experiment key
	Key       string         `json:"key"`
	Iteration IterationInput `json:"iteration"`
}

ExperimentPost struct for ExperimentPost

func NewExperimentPost ¶

func NewExperimentPost(name string, key string, iteration IterationInput) *ExperimentPost

NewExperimentPost instantiates a new ExperimentPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentPostWithDefaults ¶

func NewExperimentPostWithDefaults() *ExperimentPost

NewExperimentPostWithDefaults instantiates a new ExperimentPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentPost) GetDescription ¶

func (o *ExperimentPost) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ExperimentPost) GetDescriptionOk ¶

func (o *ExperimentPost) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentPost) GetIteration ¶

func (o *ExperimentPost) GetIteration() IterationInput

GetIteration returns the Iteration field value

func (*ExperimentPost) GetIterationOk ¶

func (o *ExperimentPost) GetIterationOk() (*IterationInput, bool)

GetIterationOk returns a tuple with the Iteration field value and a boolean to check if the value has been set.

func (*ExperimentPost) GetKey ¶

func (o *ExperimentPost) GetKey() string

GetKey returns the Key field value

func (*ExperimentPost) GetKeyOk ¶

func (o *ExperimentPost) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ExperimentPost) GetMaintainerId ¶

func (o *ExperimentPost) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value if set, zero value otherwise.

func (*ExperimentPost) GetMaintainerIdOk ¶

func (o *ExperimentPost) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentPost) GetName ¶

func (o *ExperimentPost) GetName() string

GetName returns the Name field value

func (*ExperimentPost) GetNameOk ¶

func (o *ExperimentPost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ExperimentPost) HasDescription ¶

func (o *ExperimentPost) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ExperimentPost) HasMaintainerId ¶

func (o *ExperimentPost) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

func (ExperimentPost) MarshalJSON ¶

func (o ExperimentPost) MarshalJSON() ([]byte, error)

func (*ExperimentPost) SetDescription ¶

func (o *ExperimentPost) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ExperimentPost) SetIteration ¶

func (o *ExperimentPost) SetIteration(v IterationInput)

SetIteration sets field value

func (*ExperimentPost) SetKey ¶

func (o *ExperimentPost) SetKey(v string)

SetKey sets field value

func (*ExperimentPost) SetMaintainerId ¶

func (o *ExperimentPost) SetMaintainerId(v string)

SetMaintainerId gets a reference to the given string and assigns it to the MaintainerId field.

func (*ExperimentPost) SetName ¶

func (o *ExperimentPost) SetName(v string)

SetName sets field value

type ExperimentResults ¶

type ExperimentResults struct {
	Links       *map[string]Link            `json:"_links,omitempty"`
	Metadata    []ExperimentMetadataRep     `json:"metadata,omitempty"`
	Totals      []ExperimentTotalsRep       `json:"totals,omitempty"`
	Series      []ExperimentTimeSeriesSlice `json:"series,omitempty"`
	Stats       *ExperimentStatsRep         `json:"stats,omitempty"`
	Granularity *string                     `json:"granularity,omitempty"`
	MetricSeen  *MetricSeen                 `json:"metricSeen,omitempty"`
}

ExperimentResults struct for ExperimentResults

func NewExperimentResults ¶

func NewExperimentResults() *ExperimentResults

NewExperimentResults instantiates a new ExperimentResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentResultsWithDefaults ¶

func NewExperimentResultsWithDefaults() *ExperimentResults

NewExperimentResultsWithDefaults instantiates a new ExperimentResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentResults) GetGranularity ¶

func (o *ExperimentResults) GetGranularity() string

GetGranularity returns the Granularity field value if set, zero value otherwise.

func (*ExperimentResults) GetGranularityOk ¶

func (o *ExperimentResults) GetGranularityOk() (*string, bool)

GetGranularityOk returns a tuple with the Granularity field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ExperimentResults) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ExperimentResults) GetLinksOk ¶

func (o *ExperimentResults) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentResults) GetMetadata ¶

func (o *ExperimentResults) GetMetadata() []ExperimentMetadataRep

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*ExperimentResults) GetMetadataOk ¶

func (o *ExperimentResults) GetMetadataOk() ([]ExperimentMetadataRep, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentResults) GetMetricSeen ¶

func (o *ExperimentResults) GetMetricSeen() MetricSeen

GetMetricSeen returns the MetricSeen field value if set, zero value otherwise.

func (*ExperimentResults) GetMetricSeenOk ¶

func (o *ExperimentResults) GetMetricSeenOk() (*MetricSeen, bool)

GetMetricSeenOk returns a tuple with the MetricSeen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentResults) GetSeries ¶

GetSeries returns the Series field value if set, zero value otherwise.

func (*ExperimentResults) GetSeriesOk ¶

func (o *ExperimentResults) GetSeriesOk() ([]ExperimentTimeSeriesSlice, bool)

GetSeriesOk returns a tuple with the Series field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentResults) GetStats ¶

func (o *ExperimentResults) GetStats() ExperimentStatsRep

GetStats returns the Stats field value if set, zero value otherwise.

func (*ExperimentResults) GetStatsOk ¶

func (o *ExperimentResults) GetStatsOk() (*ExperimentStatsRep, bool)

GetStatsOk returns a tuple with the Stats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentResults) GetTotals ¶

func (o *ExperimentResults) GetTotals() []ExperimentTotalsRep

GetTotals returns the Totals field value if set, zero value otherwise.

func (*ExperimentResults) GetTotalsOk ¶

func (o *ExperimentResults) GetTotalsOk() ([]ExperimentTotalsRep, bool)

GetTotalsOk returns a tuple with the Totals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentResults) HasGranularity ¶

func (o *ExperimentResults) HasGranularity() bool

HasGranularity returns a boolean if a field has been set.

func (o *ExperimentResults) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ExperimentResults) HasMetadata ¶

func (o *ExperimentResults) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ExperimentResults) HasMetricSeen ¶

func (o *ExperimentResults) HasMetricSeen() bool

HasMetricSeen returns a boolean if a field has been set.

func (*ExperimentResults) HasSeries ¶

func (o *ExperimentResults) HasSeries() bool

HasSeries returns a boolean if a field has been set.

func (*ExperimentResults) HasStats ¶

func (o *ExperimentResults) HasStats() bool

HasStats returns a boolean if a field has been set.

func (*ExperimentResults) HasTotals ¶

func (o *ExperimentResults) HasTotals() bool

HasTotals returns a boolean if a field has been set.

func (ExperimentResults) MarshalJSON ¶

func (o ExperimentResults) MarshalJSON() ([]byte, error)

func (*ExperimentResults) SetGranularity ¶

func (o *ExperimentResults) SetGranularity(v string)

SetGranularity gets a reference to the given string and assigns it to the Granularity field.

func (o *ExperimentResults) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ExperimentResults) SetMetadata ¶

func (o *ExperimentResults) SetMetadata(v []ExperimentMetadataRep)

SetMetadata gets a reference to the given []ExperimentMetadataRep and assigns it to the Metadata field.

func (*ExperimentResults) SetMetricSeen ¶

func (o *ExperimentResults) SetMetricSeen(v MetricSeen)

SetMetricSeen gets a reference to the given MetricSeen and assigns it to the MetricSeen field.

func (*ExperimentResults) SetSeries ¶

func (o *ExperimentResults) SetSeries(v []ExperimentTimeSeriesSlice)

SetSeries gets a reference to the given []ExperimentTimeSeriesSlice and assigns it to the Series field.

func (*ExperimentResults) SetStats ¶

func (o *ExperimentResults) SetStats(v ExperimentStatsRep)

SetStats gets a reference to the given ExperimentStatsRep and assigns it to the Stats field.

func (*ExperimentResults) SetTotals ¶

func (o *ExperimentResults) SetTotals(v []ExperimentTotalsRep)

SetTotals gets a reference to the given []ExperimentTotalsRep and assigns it to the Totals field.

type ExperimentStatsRep ¶

type ExperimentStatsRep struct {
	PValue              *float32 `json:"pValue,omitempty"`
	Chi2                *float32 `json:"chi2,omitempty"`
	WinningVariationIdx *int32   `json:"winningVariationIdx,omitempty"`
	MinSampleSizeMet    *bool    `json:"minSampleSizeMet,omitempty"`
}

ExperimentStatsRep struct for ExperimentStatsRep

func NewExperimentStatsRep ¶

func NewExperimentStatsRep() *ExperimentStatsRep

NewExperimentStatsRep instantiates a new ExperimentStatsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentStatsRepWithDefaults ¶

func NewExperimentStatsRepWithDefaults() *ExperimentStatsRep

NewExperimentStatsRepWithDefaults instantiates a new ExperimentStatsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentStatsRep) GetChi2 ¶

func (o *ExperimentStatsRep) GetChi2() float32

GetChi2 returns the Chi2 field value if set, zero value otherwise.

func (*ExperimentStatsRep) GetChi2Ok ¶

func (o *ExperimentStatsRep) GetChi2Ok() (*float32, bool)

GetChi2Ok returns a tuple with the Chi2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentStatsRep) GetMinSampleSizeMet ¶

func (o *ExperimentStatsRep) GetMinSampleSizeMet() bool

GetMinSampleSizeMet returns the MinSampleSizeMet field value if set, zero value otherwise.

func (*ExperimentStatsRep) GetMinSampleSizeMetOk ¶

func (o *ExperimentStatsRep) GetMinSampleSizeMetOk() (*bool, bool)

GetMinSampleSizeMetOk returns a tuple with the MinSampleSizeMet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentStatsRep) GetPValue ¶

func (o *ExperimentStatsRep) GetPValue() float32

GetPValue returns the PValue field value if set, zero value otherwise.

func (*ExperimentStatsRep) GetPValueOk ¶

func (o *ExperimentStatsRep) GetPValueOk() (*float32, bool)

GetPValueOk returns a tuple with the PValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentStatsRep) GetWinningVariationIdx ¶

func (o *ExperimentStatsRep) GetWinningVariationIdx() int32

GetWinningVariationIdx returns the WinningVariationIdx field value if set, zero value otherwise.

func (*ExperimentStatsRep) GetWinningVariationIdxOk ¶

func (o *ExperimentStatsRep) GetWinningVariationIdxOk() (*int32, bool)

GetWinningVariationIdxOk returns a tuple with the WinningVariationIdx field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentStatsRep) HasChi2 ¶

func (o *ExperimentStatsRep) HasChi2() bool

HasChi2 returns a boolean if a field has been set.

func (*ExperimentStatsRep) HasMinSampleSizeMet ¶

func (o *ExperimentStatsRep) HasMinSampleSizeMet() bool

HasMinSampleSizeMet returns a boolean if a field has been set.

func (*ExperimentStatsRep) HasPValue ¶

func (o *ExperimentStatsRep) HasPValue() bool

HasPValue returns a boolean if a field has been set.

func (*ExperimentStatsRep) HasWinningVariationIdx ¶

func (o *ExperimentStatsRep) HasWinningVariationIdx() bool

HasWinningVariationIdx returns a boolean if a field has been set.

func (ExperimentStatsRep) MarshalJSON ¶

func (o ExperimentStatsRep) MarshalJSON() ([]byte, error)

func (*ExperimentStatsRep) SetChi2 ¶

func (o *ExperimentStatsRep) SetChi2(v float32)

SetChi2 gets a reference to the given float32 and assigns it to the Chi2 field.

func (*ExperimentStatsRep) SetMinSampleSizeMet ¶

func (o *ExperimentStatsRep) SetMinSampleSizeMet(v bool)

SetMinSampleSizeMet gets a reference to the given bool and assigns it to the MinSampleSizeMet field.

func (*ExperimentStatsRep) SetPValue ¶

func (o *ExperimentStatsRep) SetPValue(v float32)

SetPValue gets a reference to the given float32 and assigns it to the PValue field.

func (*ExperimentStatsRep) SetWinningVariationIdx ¶

func (o *ExperimentStatsRep) SetWinningVariationIdx(v int32)

SetWinningVariationIdx gets a reference to the given int32 and assigns it to the WinningVariationIdx field.

type ExperimentTimeSeriesSlice ¶

type ExperimentTimeSeriesSlice struct {
	Time          *int64                               `json:"Time,omitempty"`
	VariationData []ExperimentTimeSeriesVariationSlice `json:"VariationData,omitempty"`
}

ExperimentTimeSeriesSlice struct for ExperimentTimeSeriesSlice

func NewExperimentTimeSeriesSlice ¶

func NewExperimentTimeSeriesSlice() *ExperimentTimeSeriesSlice

NewExperimentTimeSeriesSlice instantiates a new ExperimentTimeSeriesSlice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentTimeSeriesSliceWithDefaults ¶

func NewExperimentTimeSeriesSliceWithDefaults() *ExperimentTimeSeriesSlice

NewExperimentTimeSeriesSliceWithDefaults instantiates a new ExperimentTimeSeriesSlice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentTimeSeriesSlice) GetTime ¶

func (o *ExperimentTimeSeriesSlice) GetTime() int64

GetTime returns the Time field value if set, zero value otherwise.

func (*ExperimentTimeSeriesSlice) GetTimeOk ¶

func (o *ExperimentTimeSeriesSlice) GetTimeOk() (*int64, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTimeSeriesSlice) GetVariationData ¶

GetVariationData returns the VariationData field value if set, zero value otherwise.

func (*ExperimentTimeSeriesSlice) GetVariationDataOk ¶

GetVariationDataOk returns a tuple with the VariationData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTimeSeriesSlice) HasTime ¶

func (o *ExperimentTimeSeriesSlice) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ExperimentTimeSeriesSlice) HasVariationData ¶

func (o *ExperimentTimeSeriesSlice) HasVariationData() bool

HasVariationData returns a boolean if a field has been set.

func (ExperimentTimeSeriesSlice) MarshalJSON ¶

func (o ExperimentTimeSeriesSlice) MarshalJSON() ([]byte, error)

func (*ExperimentTimeSeriesSlice) SetTime ¶

func (o *ExperimentTimeSeriesSlice) SetTime(v int64)

SetTime gets a reference to the given int64 and assigns it to the Time field.

func (*ExperimentTimeSeriesSlice) SetVariationData ¶

SetVariationData gets a reference to the given []ExperimentTimeSeriesVariationSlice and assigns it to the VariationData field.

type ExperimentTimeSeriesVariationSlice ¶

type ExperimentTimeSeriesVariationSlice struct {
	Value                        *float32               `json:"value,omitempty"`
	Count                        *int64                 `json:"count,omitempty"`
	CumulativeValue              *float32               `json:"cumulativeValue,omitempty"`
	CumulativeCount              *int64                 `json:"cumulativeCount,omitempty"`
	ConversionRate               *float32               `json:"conversionRate,omitempty"`
	CumulativeConversionRate     *float32               `json:"cumulativeConversionRate,omitempty"`
	ConfidenceInterval           *ConfidenceIntervalRep `json:"confidenceInterval,omitempty"`
	CumulativeConfidenceInterval *ConfidenceIntervalRep `json:"cumulativeConfidenceInterval,omitempty"`
}

ExperimentTimeSeriesVariationSlice struct for ExperimentTimeSeriesVariationSlice

func NewExperimentTimeSeriesVariationSlice ¶

func NewExperimentTimeSeriesVariationSlice() *ExperimentTimeSeriesVariationSlice

NewExperimentTimeSeriesVariationSlice instantiates a new ExperimentTimeSeriesVariationSlice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentTimeSeriesVariationSliceWithDefaults ¶

func NewExperimentTimeSeriesVariationSliceWithDefaults() *ExperimentTimeSeriesVariationSlice

NewExperimentTimeSeriesVariationSliceWithDefaults instantiates a new ExperimentTimeSeriesVariationSlice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentTimeSeriesVariationSlice) GetConfidenceInterval ¶

func (o *ExperimentTimeSeriesVariationSlice) GetConfidenceInterval() ConfidenceIntervalRep

GetConfidenceInterval returns the ConfidenceInterval field value if set, zero value otherwise.

func (*ExperimentTimeSeriesVariationSlice) GetConfidenceIntervalOk ¶

func (o *ExperimentTimeSeriesVariationSlice) GetConfidenceIntervalOk() (*ConfidenceIntervalRep, bool)

GetConfidenceIntervalOk returns a tuple with the ConfidenceInterval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTimeSeriesVariationSlice) GetConversionRate ¶

func (o *ExperimentTimeSeriesVariationSlice) GetConversionRate() float32

GetConversionRate returns the ConversionRate field value if set, zero value otherwise.

func (*ExperimentTimeSeriesVariationSlice) GetConversionRateOk ¶

func (o *ExperimentTimeSeriesVariationSlice) GetConversionRateOk() (*float32, bool)

GetConversionRateOk returns a tuple with the ConversionRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTimeSeriesVariationSlice) GetCount ¶

GetCount returns the Count field value if set, zero value otherwise.

func (*ExperimentTimeSeriesVariationSlice) GetCountOk ¶

func (o *ExperimentTimeSeriesVariationSlice) GetCountOk() (*int64, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTimeSeriesVariationSlice) GetCumulativeConfidenceInterval ¶

func (o *ExperimentTimeSeriesVariationSlice) GetCumulativeConfidenceInterval() ConfidenceIntervalRep

GetCumulativeConfidenceInterval returns the CumulativeConfidenceInterval field value if set, zero value otherwise.

func (*ExperimentTimeSeriesVariationSlice) GetCumulativeConfidenceIntervalOk ¶

func (o *ExperimentTimeSeriesVariationSlice) GetCumulativeConfidenceIntervalOk() (*ConfidenceIntervalRep, bool)

GetCumulativeConfidenceIntervalOk returns a tuple with the CumulativeConfidenceInterval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTimeSeriesVariationSlice) GetCumulativeConversionRate ¶

func (o *ExperimentTimeSeriesVariationSlice) GetCumulativeConversionRate() float32

GetCumulativeConversionRate returns the CumulativeConversionRate field value if set, zero value otherwise.

func (*ExperimentTimeSeriesVariationSlice) GetCumulativeConversionRateOk ¶

func (o *ExperimentTimeSeriesVariationSlice) GetCumulativeConversionRateOk() (*float32, bool)

GetCumulativeConversionRateOk returns a tuple with the CumulativeConversionRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTimeSeriesVariationSlice) GetCumulativeCount ¶

func (o *ExperimentTimeSeriesVariationSlice) GetCumulativeCount() int64

GetCumulativeCount returns the CumulativeCount field value if set, zero value otherwise.

func (*ExperimentTimeSeriesVariationSlice) GetCumulativeCountOk ¶

func (o *ExperimentTimeSeriesVariationSlice) GetCumulativeCountOk() (*int64, bool)

GetCumulativeCountOk returns a tuple with the CumulativeCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTimeSeriesVariationSlice) GetCumulativeValue ¶

func (o *ExperimentTimeSeriesVariationSlice) GetCumulativeValue() float32

GetCumulativeValue returns the CumulativeValue field value if set, zero value otherwise.

func (*ExperimentTimeSeriesVariationSlice) GetCumulativeValueOk ¶

func (o *ExperimentTimeSeriesVariationSlice) GetCumulativeValueOk() (*float32, bool)

GetCumulativeValueOk returns a tuple with the CumulativeValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTimeSeriesVariationSlice) GetValue ¶

GetValue returns the Value field value if set, zero value otherwise.

func (*ExperimentTimeSeriesVariationSlice) GetValueOk ¶

func (o *ExperimentTimeSeriesVariationSlice) GetValueOk() (*float32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTimeSeriesVariationSlice) HasConfidenceInterval ¶

func (o *ExperimentTimeSeriesVariationSlice) HasConfidenceInterval() bool

HasConfidenceInterval returns a boolean if a field has been set.

func (*ExperimentTimeSeriesVariationSlice) HasConversionRate ¶

func (o *ExperimentTimeSeriesVariationSlice) HasConversionRate() bool

HasConversionRate returns a boolean if a field has been set.

func (*ExperimentTimeSeriesVariationSlice) HasCount ¶

HasCount returns a boolean if a field has been set.

func (*ExperimentTimeSeriesVariationSlice) HasCumulativeConfidenceInterval ¶

func (o *ExperimentTimeSeriesVariationSlice) HasCumulativeConfidenceInterval() bool

HasCumulativeConfidenceInterval returns a boolean if a field has been set.

func (*ExperimentTimeSeriesVariationSlice) HasCumulativeConversionRate ¶

func (o *ExperimentTimeSeriesVariationSlice) HasCumulativeConversionRate() bool

HasCumulativeConversionRate returns a boolean if a field has been set.

func (*ExperimentTimeSeriesVariationSlice) HasCumulativeCount ¶

func (o *ExperimentTimeSeriesVariationSlice) HasCumulativeCount() bool

HasCumulativeCount returns a boolean if a field has been set.

func (*ExperimentTimeSeriesVariationSlice) HasCumulativeValue ¶

func (o *ExperimentTimeSeriesVariationSlice) HasCumulativeValue() bool

HasCumulativeValue returns a boolean if a field has been set.

func (*ExperimentTimeSeriesVariationSlice) HasValue ¶

HasValue returns a boolean if a field has been set.

func (ExperimentTimeSeriesVariationSlice) MarshalJSON ¶

func (o ExperimentTimeSeriesVariationSlice) MarshalJSON() ([]byte, error)

func (*ExperimentTimeSeriesVariationSlice) SetConfidenceInterval ¶

func (o *ExperimentTimeSeriesVariationSlice) SetConfidenceInterval(v ConfidenceIntervalRep)

SetConfidenceInterval gets a reference to the given ConfidenceIntervalRep and assigns it to the ConfidenceInterval field.

func (*ExperimentTimeSeriesVariationSlice) SetConversionRate ¶

func (o *ExperimentTimeSeriesVariationSlice) SetConversionRate(v float32)

SetConversionRate gets a reference to the given float32 and assigns it to the ConversionRate field.

func (*ExperimentTimeSeriesVariationSlice) SetCount ¶

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*ExperimentTimeSeriesVariationSlice) SetCumulativeConfidenceInterval ¶

func (o *ExperimentTimeSeriesVariationSlice) SetCumulativeConfidenceInterval(v ConfidenceIntervalRep)

SetCumulativeConfidenceInterval gets a reference to the given ConfidenceIntervalRep and assigns it to the CumulativeConfidenceInterval field.

func (*ExperimentTimeSeriesVariationSlice) SetCumulativeConversionRate ¶

func (o *ExperimentTimeSeriesVariationSlice) SetCumulativeConversionRate(v float32)

SetCumulativeConversionRate gets a reference to the given float32 and assigns it to the CumulativeConversionRate field.

func (*ExperimentTimeSeriesVariationSlice) SetCumulativeCount ¶

func (o *ExperimentTimeSeriesVariationSlice) SetCumulativeCount(v int64)

SetCumulativeCount gets a reference to the given int64 and assigns it to the CumulativeCount field.

func (*ExperimentTimeSeriesVariationSlice) SetCumulativeValue ¶

func (o *ExperimentTimeSeriesVariationSlice) SetCumulativeValue(v float32)

SetCumulativeValue gets a reference to the given float32 and assigns it to the CumulativeValue field.

func (*ExperimentTimeSeriesVariationSlice) SetValue ¶

SetValue gets a reference to the given float32 and assigns it to the Value field.

type ExperimentTotalsRep ¶

type ExperimentTotalsRep struct {
	CumulativeValue              *float32               `json:"cumulativeValue,omitempty"`
	CumulativeCount              *int64                 `json:"cumulativeCount,omitempty"`
	CumulativeImpressionCount    *int64                 `json:"cumulativeImpressionCount,omitempty"`
	CumulativeConversionRate     *float32               `json:"cumulativeConversionRate,omitempty"`
	CumulativeConfidenceInterval *ConfidenceIntervalRep `json:"cumulativeConfidenceInterval,omitempty"`
	PValue                       *float32               `json:"pValue,omitempty"`
	Improvement                  *float32               `json:"improvement,omitempty"`
	MinSampleSize                *int64                 `json:"minSampleSize,omitempty"`
}

ExperimentTotalsRep struct for ExperimentTotalsRep

func NewExperimentTotalsRep ¶

func NewExperimentTotalsRep() *ExperimentTotalsRep

NewExperimentTotalsRep instantiates a new ExperimentTotalsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExperimentTotalsRepWithDefaults ¶

func NewExperimentTotalsRepWithDefaults() *ExperimentTotalsRep

NewExperimentTotalsRepWithDefaults instantiates a new ExperimentTotalsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExperimentTotalsRep) GetCumulativeConfidenceInterval ¶

func (o *ExperimentTotalsRep) GetCumulativeConfidenceInterval() ConfidenceIntervalRep

GetCumulativeConfidenceInterval returns the CumulativeConfidenceInterval field value if set, zero value otherwise.

func (*ExperimentTotalsRep) GetCumulativeConfidenceIntervalOk ¶

func (o *ExperimentTotalsRep) GetCumulativeConfidenceIntervalOk() (*ConfidenceIntervalRep, bool)

GetCumulativeConfidenceIntervalOk returns a tuple with the CumulativeConfidenceInterval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTotalsRep) GetCumulativeConversionRate ¶

func (o *ExperimentTotalsRep) GetCumulativeConversionRate() float32

GetCumulativeConversionRate returns the CumulativeConversionRate field value if set, zero value otherwise.

func (*ExperimentTotalsRep) GetCumulativeConversionRateOk ¶

func (o *ExperimentTotalsRep) GetCumulativeConversionRateOk() (*float32, bool)

GetCumulativeConversionRateOk returns a tuple with the CumulativeConversionRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTotalsRep) GetCumulativeCount ¶

func (o *ExperimentTotalsRep) GetCumulativeCount() int64

GetCumulativeCount returns the CumulativeCount field value if set, zero value otherwise.

func (*ExperimentTotalsRep) GetCumulativeCountOk ¶

func (o *ExperimentTotalsRep) GetCumulativeCountOk() (*int64, bool)

GetCumulativeCountOk returns a tuple with the CumulativeCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTotalsRep) GetCumulativeImpressionCount ¶

func (o *ExperimentTotalsRep) GetCumulativeImpressionCount() int64

GetCumulativeImpressionCount returns the CumulativeImpressionCount field value if set, zero value otherwise.

func (*ExperimentTotalsRep) GetCumulativeImpressionCountOk ¶

func (o *ExperimentTotalsRep) GetCumulativeImpressionCountOk() (*int64, bool)

GetCumulativeImpressionCountOk returns a tuple with the CumulativeImpressionCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTotalsRep) GetCumulativeValue ¶

func (o *ExperimentTotalsRep) GetCumulativeValue() float32

GetCumulativeValue returns the CumulativeValue field value if set, zero value otherwise.

func (*ExperimentTotalsRep) GetCumulativeValueOk ¶

func (o *ExperimentTotalsRep) GetCumulativeValueOk() (*float32, bool)

GetCumulativeValueOk returns a tuple with the CumulativeValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTotalsRep) GetImprovement ¶

func (o *ExperimentTotalsRep) GetImprovement() float32

GetImprovement returns the Improvement field value if set, zero value otherwise.

func (*ExperimentTotalsRep) GetImprovementOk ¶

func (o *ExperimentTotalsRep) GetImprovementOk() (*float32, bool)

GetImprovementOk returns a tuple with the Improvement field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTotalsRep) GetMinSampleSize ¶

func (o *ExperimentTotalsRep) GetMinSampleSize() int64

GetMinSampleSize returns the MinSampleSize field value if set, zero value otherwise.

func (*ExperimentTotalsRep) GetMinSampleSizeOk ¶

func (o *ExperimentTotalsRep) GetMinSampleSizeOk() (*int64, bool)

GetMinSampleSizeOk returns a tuple with the MinSampleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTotalsRep) GetPValue ¶

func (o *ExperimentTotalsRep) GetPValue() float32

GetPValue returns the PValue field value if set, zero value otherwise.

func (*ExperimentTotalsRep) GetPValueOk ¶

func (o *ExperimentTotalsRep) GetPValueOk() (*float32, bool)

GetPValueOk returns a tuple with the PValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExperimentTotalsRep) HasCumulativeConfidenceInterval ¶

func (o *ExperimentTotalsRep) HasCumulativeConfidenceInterval() bool

HasCumulativeConfidenceInterval returns a boolean if a field has been set.

func (*ExperimentTotalsRep) HasCumulativeConversionRate ¶

func (o *ExperimentTotalsRep) HasCumulativeConversionRate() bool

HasCumulativeConversionRate returns a boolean if a field has been set.

func (*ExperimentTotalsRep) HasCumulativeCount ¶

func (o *ExperimentTotalsRep) HasCumulativeCount() bool

HasCumulativeCount returns a boolean if a field has been set.

func (*ExperimentTotalsRep) HasCumulativeImpressionCount ¶

func (o *ExperimentTotalsRep) HasCumulativeImpressionCount() bool

HasCumulativeImpressionCount returns a boolean if a field has been set.

func (*ExperimentTotalsRep) HasCumulativeValue ¶

func (o *ExperimentTotalsRep) HasCumulativeValue() bool

HasCumulativeValue returns a boolean if a field has been set.

func (*ExperimentTotalsRep) HasImprovement ¶

func (o *ExperimentTotalsRep) HasImprovement() bool

HasImprovement returns a boolean if a field has been set.

func (*ExperimentTotalsRep) HasMinSampleSize ¶

func (o *ExperimentTotalsRep) HasMinSampleSize() bool

HasMinSampleSize returns a boolean if a field has been set.

func (*ExperimentTotalsRep) HasPValue ¶

func (o *ExperimentTotalsRep) HasPValue() bool

HasPValue returns a boolean if a field has been set.

func (ExperimentTotalsRep) MarshalJSON ¶

func (o ExperimentTotalsRep) MarshalJSON() ([]byte, error)

func (*ExperimentTotalsRep) SetCumulativeConfidenceInterval ¶

func (o *ExperimentTotalsRep) SetCumulativeConfidenceInterval(v ConfidenceIntervalRep)

SetCumulativeConfidenceInterval gets a reference to the given ConfidenceIntervalRep and assigns it to the CumulativeConfidenceInterval field.

func (*ExperimentTotalsRep) SetCumulativeConversionRate ¶

func (o *ExperimentTotalsRep) SetCumulativeConversionRate(v float32)

SetCumulativeConversionRate gets a reference to the given float32 and assigns it to the CumulativeConversionRate field.

func (*ExperimentTotalsRep) SetCumulativeCount ¶

func (o *ExperimentTotalsRep) SetCumulativeCount(v int64)

SetCumulativeCount gets a reference to the given int64 and assigns it to the CumulativeCount field.

func (*ExperimentTotalsRep) SetCumulativeImpressionCount ¶

func (o *ExperimentTotalsRep) SetCumulativeImpressionCount(v int64)

SetCumulativeImpressionCount gets a reference to the given int64 and assigns it to the CumulativeImpressionCount field.

func (*ExperimentTotalsRep) SetCumulativeValue ¶

func (o *ExperimentTotalsRep) SetCumulativeValue(v float32)

SetCumulativeValue gets a reference to the given float32 and assigns it to the CumulativeValue field.

func (*ExperimentTotalsRep) SetImprovement ¶

func (o *ExperimentTotalsRep) SetImprovement(v float32)

SetImprovement gets a reference to the given float32 and assigns it to the Improvement field.

func (*ExperimentTotalsRep) SetMinSampleSize ¶

func (o *ExperimentTotalsRep) SetMinSampleSize(v int64)

SetMinSampleSize gets a reference to the given int64 and assigns it to the MinSampleSize field.

func (*ExperimentTotalsRep) SetPValue ¶

func (o *ExperimentTotalsRep) SetPValue(v float32)

SetPValue gets a reference to the given float32 and assigns it to the PValue field.

type ExperimentsBetaApiService ¶

type ExperimentsBetaApiService service

ExperimentsBetaApiService ExperimentsBetaApi service

func (*ExperimentsBetaApiService) CreateExperiment ¶

func (a *ExperimentsBetaApiService) CreateExperiment(ctx context.Context, projectKey string, environmentKey string) ApiCreateExperimentRequest

CreateExperiment Create experiment

Create an experiment.

To run this experiment, you'll need to [create an iteration](/tag/Experiments-(beta)#operation/createIteration) and then [update the experiment](/tag/Experiments-(beta)#operation/patchExperiment) with the `startIteration` instruction.

To learn more, read [Creating experiments](https://docs.launchdarkly.com/home/creating-experiments).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiCreateExperimentRequest

func (*ExperimentsBetaApiService) CreateExperimentExecute ¶

Execute executes the request

@return Experiment

func (*ExperimentsBetaApiService) CreateIteration ¶

func (a *ExperimentsBetaApiService) CreateIteration(ctx context.Context, projectKey string, environmentKey string, experimentKey string) ApiCreateIterationRequest

CreateIteration Create iteration

Create an experiment iteration.

Experiment iterations let you record experiments in individual blocks of time. Initially, iterations are created with a status of `not_started` and appear in the `draftIteration` field of an experiment. To start or stop an iteration, [update the experiment](/tag/Experiments-(beta)#operation/patchExperiment) with the `startIteration` or `stopIteration` instruction.

To learn more, read [Starting experiment iterations](https://docs.launchdarkly.com/home/creating-experiments#starting-experiment-iterations).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param experimentKey The experiment key
@return ApiCreateIterationRequest

func (*ExperimentsBetaApiService) CreateIterationExecute ¶

Execute executes the request

@return IterationRep

func (*ExperimentsBetaApiService) GetExperiment ¶

func (a *ExperimentsBetaApiService) GetExperiment(ctx context.Context, projectKey string, environmentKey string, experimentKey string) ApiGetExperimentRequest

GetExperiment Get experiment

Get details about an experiment.

### Expanding the experiment response

LaunchDarkly supports four fields for expanding the "Get experiment" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with any of the following fields:

- `previousIterations` includes all iterations prior to the current iteration. By default only the current iteration is included in the response. - `draftIteration` includes the iteration which has not been started yet, if any. - `secondaryMetrics` includes secondary metrics. By default only the primary metric is included in the response. - `treatments` includes all treatment and parameter details. By default treatment data is not included in the response.

For example, `expand=draftIteration,treatments` includes the `draftIteration` and `treatments` fields in the response. If fields that you request with the `expand` query parameter are empty, they are not included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param experimentKey The experiment key
@return ApiGetExperimentRequest

func (*ExperimentsBetaApiService) GetExperimentExecute ¶

Execute executes the request

@return Experiment

func (*ExperimentsBetaApiService) GetExperimentResults ¶

func (a *ExperimentsBetaApiService) GetExperimentResults(ctx context.Context, projectKey string, environmentKey string, experimentKey string, metricKey string) ApiGetExperimentResultsRequest

GetExperimentResults Get experiment results

Get results from an experiment for a particular metric.

LaunchDarkly supports one field for expanding the "Get experiment results" response. By default, this field is **not** included in the response.

To expand the response, append the `expand` query parameter with the following field: * `traffic` includes the total count of units for each treatment.

For example, `expand=traffic` includes the `traffic` field for the project in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param experimentKey The experiment key
@param metricKey The metric key
@return ApiGetExperimentResultsRequest

func (*ExperimentsBetaApiService) GetExperimentResultsExecute ¶

Execute executes the request

@return ExperimentBayesianResultsRep

func (*ExperimentsBetaApiService) GetExperimentResultsForMetricGroup ¶

func (a *ExperimentsBetaApiService) GetExperimentResultsForMetricGroup(ctx context.Context, projectKey string, environmentKey string, experimentKey string, metricGroupKey string) ApiGetExperimentResultsForMetricGroupRequest

GetExperimentResultsForMetricGroup Get experiment results for metric group

Get results from an experiment for a particular metric group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param experimentKey The experiment key
@param metricGroupKey The metric group key
@return ApiGetExperimentResultsForMetricGroupRequest

func (*ExperimentsBetaApiService) GetExperimentResultsForMetricGroupExecute ¶

Execute executes the request

@return MetricGroupResultsRep

func (*ExperimentsBetaApiService) GetExperimentationSettings ¶

func (a *ExperimentsBetaApiService) GetExperimentationSettings(ctx context.Context, projectKey string) ApiGetExperimentationSettingsRequest

GetExperimentationSettings Get experimentation settings

Get current experimentation settings for the given project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiGetExperimentationSettingsRequest

func (*ExperimentsBetaApiService) GetExperimentationSettingsExecute ¶

Execute executes the request

@return RandomizationSettingsRep

func (*ExperimentsBetaApiService) GetExperiments ¶

func (a *ExperimentsBetaApiService) GetExperiments(ctx context.Context, projectKey string, environmentKey string) ApiGetExperimentsRequest

GetExperiments Get experiments

Get details about all experiments in an environment.

### Filtering experiments

LaunchDarkly supports the `filter` query param for filtering, with the following fields:

- `flagKey` filters for only experiments that use the flag with the given key. - `metricKey` filters for only experiments that use the metric with the given key. - `status` filters for only experiments with an iteration with the given status. An iteration can have the status `not_started`, `running` or `stopped`.

For example, `filter=flagKey:my-flag,status:running,metricKey:page-load-ms` filters for experiments for the given flag key and the given metric key which have a currently running iteration.

### Expanding the experiments response

LaunchDarkly supports four fields for expanding the "Get experiments" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with any of the following fields:

- `previousIterations` includes all iterations prior to the current iteration. By default only the current iteration is included in the response. - `draftIteration` includes the iteration which has not been started yet, if any. - `secondaryMetrics` includes secondary metrics. By default only the primary metric is included in the response. - `treatments` includes all treatment and parameter details. By default treatment data is not included in the response.

For example, `expand=draftIteration,treatments` includes the `draftIteration` and `treatments` fields in the response. If fields that you request with the `expand` query parameter are empty, they are not included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetExperimentsRequest

func (*ExperimentsBetaApiService) GetExperimentsExecute ¶

Execute executes the request

@return ExperimentCollectionRep

func (*ExperimentsBetaApiService) GetLegacyExperimentResults ¶

func (a *ExperimentsBetaApiService) GetLegacyExperimentResults(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, metricKey string) ApiGetLegacyExperimentResultsRequest

GetLegacyExperimentResults Get legacy experiment results (deprecated)

Get detailed experiment result data for legacy experiments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param metricKey The metric key
@return ApiGetLegacyExperimentResultsRequest

Deprecated

func (*ExperimentsBetaApiService) GetLegacyExperimentResultsExecute ¶

Execute executes the request

@return ExperimentResults

Deprecated

func (*ExperimentsBetaApiService) PatchExperiment ¶

func (a *ExperimentsBetaApiService) PatchExperiment(ctx context.Context, projectKey string, environmentKey string, experimentKey string) ApiPatchExperimentRequest

PatchExperiment Patch experiment

Update an experiment. Updating an experiment uses the semantic patch format.

To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

### Instructions

Semantic patch requests support the following `kind` instructions for updating experiments.

#### updateName

Updates the experiment name.

##### Parameters

- `value`: The new name.

Here's an example:

```json

{
  "instructions": [{
    "kind": "updateName",
    "value": "Example updated experiment name"
  }]
}

```

#### updateDescription

Updates the experiment description.

##### Parameters

- `value`: The new description.

Here's an example:

```json

{
  "instructions": [{
    "kind": "updateDescription",
    "value": "Example updated description"
  }]
}

```

#### startIteration

Starts a new iteration for this experiment. You must [create a new iteration](/tag/Experiments-(beta)#operation/createIteration) before calling this instruction.

An iteration may not be started until it meets the following criteria:

* Its associated flag is toggled on and is not archived * Its `randomizationUnit` is set * At least one of its `treatments` has a non-zero `allocationPercent`

##### Parameters

- `changeJustification`: The reason for starting a new iteration. Required when you call `startIteration` on an already running experiment, otherwise optional.

Here's an example:

```json

{
  "instructions": [{
    "kind": "startIteration",
    "changeJustification": "It's time to start a new iteration"
  }]
}

```

#### stopIteration

Stops the current iteration for this experiment.

##### Parameters

- `winningTreatmentId`: The ID of the winning treatment. Treatment IDs are returned as part of the [Get experiment](/tag/Experiments-(beta)#operation/getExperiment) response. They are the `_id` of each element in the `treatments` array. - `winningReason`: The reason for the winner

Here's an example:

```json

{
  "instructions": [{
    "kind": "stopIteration",
    "winningTreatmentId": "3a548ec2-72ac-4e59-8518-5c24f5609ccf",
    "winningReason": "Example reason to stop the iteration"
  }]
}

```

#### archiveExperiment

Archives this experiment. Archived experiments are hidden by default in the LaunchDarkly user interface. You cannot start new iterations for archived experiments.

Here's an example:

```json

{
  "instructions": [{ "kind": "archiveExperiment" }]
}

```

#### restoreExperiment

Restores an archived experiment. After restoring an experiment, you can start new iterations for it again.

Here's an example:

```json

{
  "instructions": [{ "kind": "restoreExperiment" }]
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param experimentKey The experiment key
@return ApiPatchExperimentRequest

func (*ExperimentsBetaApiService) PatchExperimentExecute ¶

Execute executes the request

@return Experiment

func (*ExperimentsBetaApiService) PutExperimentationSettings ¶

func (a *ExperimentsBetaApiService) PutExperimentationSettings(ctx context.Context, projectKey string) ApiPutExperimentationSettingsRequest

PutExperimentationSettings Update experimentation settings

Update experimentation settings for the given project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiPutExperimentationSettingsRequest

func (*ExperimentsBetaApiService) PutExperimentationSettingsExecute ¶

Execute executes the request

@return RandomizationSettingsRep

type ExpiringTarget ¶

type ExpiringTarget struct {
	// The ID of this expiring target
	Id string `json:"_id"`
	// The version of this expiring target
	Version        int32 `json:"_version"`
	ExpirationDate int64 `json:"expirationDate"`
	// The context kind of the context to be removed
	ContextKind string `json:"contextKind"`
	// A unique key used to represent the context to be removed
	ContextKey string `json:"contextKey"`
	// A segment's target type, <code>included</code> or <code>excluded</code>. Included when expiring targets are updated on a segment.
	TargetType *string `json:"targetType,omitempty"`
	// A unique ID used to represent the flag variation. Included when expiring targets are updated on a feature flag.
	VariationId *string    `json:"variationId,omitempty"`
	ResourceId  ResourceId `json:"_resourceId"`
}

ExpiringTarget struct for ExpiringTarget

func NewExpiringTarget ¶

func NewExpiringTarget(id string, version int32, expirationDate int64, contextKind string, contextKey string, resourceId ResourceId) *ExpiringTarget

NewExpiringTarget instantiates a new ExpiringTarget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExpiringTargetWithDefaults ¶

func NewExpiringTargetWithDefaults() *ExpiringTarget

NewExpiringTargetWithDefaults instantiates a new ExpiringTarget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExpiringTarget) GetContextKey ¶

func (o *ExpiringTarget) GetContextKey() string

GetContextKey returns the ContextKey field value

func (*ExpiringTarget) GetContextKeyOk ¶

func (o *ExpiringTarget) GetContextKeyOk() (*string, bool)

GetContextKeyOk returns a tuple with the ContextKey field value and a boolean to check if the value has been set.

func (*ExpiringTarget) GetContextKind ¶

func (o *ExpiringTarget) GetContextKind() string

GetContextKind returns the ContextKind field value

func (*ExpiringTarget) GetContextKindOk ¶

func (o *ExpiringTarget) GetContextKindOk() (*string, bool)

GetContextKindOk returns a tuple with the ContextKind field value and a boolean to check if the value has been set.

func (*ExpiringTarget) GetExpirationDate ¶

func (o *ExpiringTarget) GetExpirationDate() int64

GetExpirationDate returns the ExpirationDate field value

func (*ExpiringTarget) GetExpirationDateOk ¶

func (o *ExpiringTarget) GetExpirationDateOk() (*int64, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value and a boolean to check if the value has been set.

func (*ExpiringTarget) GetId ¶

func (o *ExpiringTarget) GetId() string

GetId returns the Id field value

func (*ExpiringTarget) GetIdOk ¶

func (o *ExpiringTarget) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ExpiringTarget) GetResourceId ¶

func (o *ExpiringTarget) GetResourceId() ResourceId

GetResourceId returns the ResourceId field value

func (*ExpiringTarget) GetResourceIdOk ¶

func (o *ExpiringTarget) GetResourceIdOk() (*ResourceId, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*ExpiringTarget) GetTargetType ¶

func (o *ExpiringTarget) GetTargetType() string

GetTargetType returns the TargetType field value if set, zero value otherwise.

func (*ExpiringTarget) GetTargetTypeOk ¶

func (o *ExpiringTarget) GetTargetTypeOk() (*string, bool)

GetTargetTypeOk returns a tuple with the TargetType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringTarget) GetVariationId ¶

func (o *ExpiringTarget) GetVariationId() string

GetVariationId returns the VariationId field value if set, zero value otherwise.

func (*ExpiringTarget) GetVariationIdOk ¶

func (o *ExpiringTarget) GetVariationIdOk() (*string, bool)

GetVariationIdOk returns a tuple with the VariationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringTarget) GetVersion ¶

func (o *ExpiringTarget) GetVersion() int32

GetVersion returns the Version field value

func (*ExpiringTarget) GetVersionOk ¶

func (o *ExpiringTarget) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*ExpiringTarget) HasTargetType ¶

func (o *ExpiringTarget) HasTargetType() bool

HasTargetType returns a boolean if a field has been set.

func (*ExpiringTarget) HasVariationId ¶

func (o *ExpiringTarget) HasVariationId() bool

HasVariationId returns a boolean if a field has been set.

func (ExpiringTarget) MarshalJSON ¶

func (o ExpiringTarget) MarshalJSON() ([]byte, error)

func (*ExpiringTarget) SetContextKey ¶

func (o *ExpiringTarget) SetContextKey(v string)

SetContextKey sets field value

func (*ExpiringTarget) SetContextKind ¶

func (o *ExpiringTarget) SetContextKind(v string)

SetContextKind sets field value

func (*ExpiringTarget) SetExpirationDate ¶

func (o *ExpiringTarget) SetExpirationDate(v int64)

SetExpirationDate sets field value

func (*ExpiringTarget) SetId ¶

func (o *ExpiringTarget) SetId(v string)

SetId sets field value

func (*ExpiringTarget) SetResourceId ¶

func (o *ExpiringTarget) SetResourceId(v ResourceId)

SetResourceId sets field value

func (*ExpiringTarget) SetTargetType ¶

func (o *ExpiringTarget) SetTargetType(v string)

SetTargetType gets a reference to the given string and assigns it to the TargetType field.

func (*ExpiringTarget) SetVariationId ¶

func (o *ExpiringTarget) SetVariationId(v string)

SetVariationId gets a reference to the given string and assigns it to the VariationId field.

func (*ExpiringTarget) SetVersion ¶

func (o *ExpiringTarget) SetVersion(v int32)

SetVersion sets field value

type ExpiringTargetError ¶

type ExpiringTargetError struct {
	// The index of the PATCH instruction where the error occurred
	InstructionIndex int32 `json:"instructionIndex"`
	// The error message related to a failed PATCH instruction
	Message string `json:"message"`
}

ExpiringTargetError struct for ExpiringTargetError

func NewExpiringTargetError ¶

func NewExpiringTargetError(instructionIndex int32, message string) *ExpiringTargetError

NewExpiringTargetError instantiates a new ExpiringTargetError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExpiringTargetErrorWithDefaults ¶

func NewExpiringTargetErrorWithDefaults() *ExpiringTargetError

NewExpiringTargetErrorWithDefaults instantiates a new ExpiringTargetError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExpiringTargetError) GetInstructionIndex ¶

func (o *ExpiringTargetError) GetInstructionIndex() int32

GetInstructionIndex returns the InstructionIndex field value

func (*ExpiringTargetError) GetInstructionIndexOk ¶

func (o *ExpiringTargetError) GetInstructionIndexOk() (*int32, bool)

GetInstructionIndexOk returns a tuple with the InstructionIndex field value and a boolean to check if the value has been set.

func (*ExpiringTargetError) GetMessage ¶

func (o *ExpiringTargetError) GetMessage() string

GetMessage returns the Message field value

func (*ExpiringTargetError) GetMessageOk ¶

func (o *ExpiringTargetError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (ExpiringTargetError) MarshalJSON ¶

func (o ExpiringTargetError) MarshalJSON() ([]byte, error)

func (*ExpiringTargetError) SetInstructionIndex ¶

func (o *ExpiringTargetError) SetInstructionIndex(v int32)

SetInstructionIndex sets field value

func (*ExpiringTargetError) SetMessage ¶

func (o *ExpiringTargetError) SetMessage(v string)

SetMessage sets field value

type ExpiringTargetGetResponse ¶

type ExpiringTargetGetResponse struct {
	// A list of expiring targets
	Items []ExpiringTarget `json:"items"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

ExpiringTargetGetResponse struct for ExpiringTargetGetResponse

func NewExpiringTargetGetResponse ¶

func NewExpiringTargetGetResponse(items []ExpiringTarget) *ExpiringTargetGetResponse

NewExpiringTargetGetResponse instantiates a new ExpiringTargetGetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExpiringTargetGetResponseWithDefaults ¶

func NewExpiringTargetGetResponseWithDefaults() *ExpiringTargetGetResponse

NewExpiringTargetGetResponseWithDefaults instantiates a new ExpiringTargetGetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExpiringTargetGetResponse) GetItems ¶

func (o *ExpiringTargetGetResponse) GetItems() []ExpiringTarget

GetItems returns the Items field value

func (*ExpiringTargetGetResponse) GetItemsOk ¶

func (o *ExpiringTargetGetResponse) GetItemsOk() ([]ExpiringTarget, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *ExpiringTargetGetResponse) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ExpiringTargetGetResponse) GetLinksOk ¶

func (o *ExpiringTargetGetResponse) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ExpiringTargetGetResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (ExpiringTargetGetResponse) MarshalJSON ¶

func (o ExpiringTargetGetResponse) MarshalJSON() ([]byte, error)

func (*ExpiringTargetGetResponse) SetItems ¶

func (o *ExpiringTargetGetResponse) SetItems(v []ExpiringTarget)

SetItems sets field value

func (o *ExpiringTargetGetResponse) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type ExpiringTargetPatchResponse ¶

type ExpiringTargetPatchResponse struct {
	// A list of the results from each instruction
	Items []ExpiringTarget `json:"items"`
	// The location and content type of related resources
	Links                  *map[string]Link      `json:"_links,omitempty"`
	TotalInstructions      *int32                `json:"totalInstructions,omitempty"`
	SuccessfulInstructions *int32                `json:"successfulInstructions,omitempty"`
	FailedInstructions     *int32                `json:"failedInstructions,omitempty"`
	Errors                 []ExpiringTargetError `json:"errors,omitempty"`
}

ExpiringTargetPatchResponse struct for ExpiringTargetPatchResponse

func NewExpiringTargetPatchResponse ¶

func NewExpiringTargetPatchResponse(items []ExpiringTarget) *ExpiringTargetPatchResponse

NewExpiringTargetPatchResponse instantiates a new ExpiringTargetPatchResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExpiringTargetPatchResponseWithDefaults ¶

func NewExpiringTargetPatchResponseWithDefaults() *ExpiringTargetPatchResponse

NewExpiringTargetPatchResponseWithDefaults instantiates a new ExpiringTargetPatchResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExpiringTargetPatchResponse) GetErrors ¶

GetErrors returns the Errors field value if set, zero value otherwise.

func (*ExpiringTargetPatchResponse) GetErrorsOk ¶

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringTargetPatchResponse) GetFailedInstructions ¶

func (o *ExpiringTargetPatchResponse) GetFailedInstructions() int32

GetFailedInstructions returns the FailedInstructions field value if set, zero value otherwise.

func (*ExpiringTargetPatchResponse) GetFailedInstructionsOk ¶

func (o *ExpiringTargetPatchResponse) GetFailedInstructionsOk() (*int32, bool)

GetFailedInstructionsOk returns a tuple with the FailedInstructions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringTargetPatchResponse) GetItems ¶

GetItems returns the Items field value

func (*ExpiringTargetPatchResponse) GetItemsOk ¶

func (o *ExpiringTargetPatchResponse) GetItemsOk() ([]ExpiringTarget, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *ExpiringTargetPatchResponse) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ExpiringTargetPatchResponse) GetLinksOk ¶

func (o *ExpiringTargetPatchResponse) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringTargetPatchResponse) GetSuccessfulInstructions ¶

func (o *ExpiringTargetPatchResponse) GetSuccessfulInstructions() int32

GetSuccessfulInstructions returns the SuccessfulInstructions field value if set, zero value otherwise.

func (*ExpiringTargetPatchResponse) GetSuccessfulInstructionsOk ¶

func (o *ExpiringTargetPatchResponse) GetSuccessfulInstructionsOk() (*int32, bool)

GetSuccessfulInstructionsOk returns a tuple with the SuccessfulInstructions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringTargetPatchResponse) GetTotalInstructions ¶

func (o *ExpiringTargetPatchResponse) GetTotalInstructions() int32

GetTotalInstructions returns the TotalInstructions field value if set, zero value otherwise.

func (*ExpiringTargetPatchResponse) GetTotalInstructionsOk ¶

func (o *ExpiringTargetPatchResponse) GetTotalInstructionsOk() (*int32, bool)

GetTotalInstructionsOk returns a tuple with the TotalInstructions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringTargetPatchResponse) HasErrors ¶

func (o *ExpiringTargetPatchResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ExpiringTargetPatchResponse) HasFailedInstructions ¶

func (o *ExpiringTargetPatchResponse) HasFailedInstructions() bool

HasFailedInstructions returns a boolean if a field has been set.

func (o *ExpiringTargetPatchResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ExpiringTargetPatchResponse) HasSuccessfulInstructions ¶

func (o *ExpiringTargetPatchResponse) HasSuccessfulInstructions() bool

HasSuccessfulInstructions returns a boolean if a field has been set.

func (*ExpiringTargetPatchResponse) HasTotalInstructions ¶

func (o *ExpiringTargetPatchResponse) HasTotalInstructions() bool

HasTotalInstructions returns a boolean if a field has been set.

func (ExpiringTargetPatchResponse) MarshalJSON ¶

func (o ExpiringTargetPatchResponse) MarshalJSON() ([]byte, error)

func (*ExpiringTargetPatchResponse) SetErrors ¶

SetErrors gets a reference to the given []ExpiringTargetError and assigns it to the Errors field.

func (*ExpiringTargetPatchResponse) SetFailedInstructions ¶

func (o *ExpiringTargetPatchResponse) SetFailedInstructions(v int32)

SetFailedInstructions gets a reference to the given int32 and assigns it to the FailedInstructions field.

func (*ExpiringTargetPatchResponse) SetItems ¶

SetItems sets field value

func (o *ExpiringTargetPatchResponse) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ExpiringTargetPatchResponse) SetSuccessfulInstructions ¶

func (o *ExpiringTargetPatchResponse) SetSuccessfulInstructions(v int32)

SetSuccessfulInstructions gets a reference to the given int32 and assigns it to the SuccessfulInstructions field.

func (*ExpiringTargetPatchResponse) SetTotalInstructions ¶

func (o *ExpiringTargetPatchResponse) SetTotalInstructions(v int32)

SetTotalInstructions gets a reference to the given int32 and assigns it to the TotalInstructions field.

type ExpiringUserTargetGetResponse ¶

type ExpiringUserTargetGetResponse struct {
	// An array of expiring user targets
	Items []ExpiringUserTargetItem `json:"items"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

ExpiringUserTargetGetResponse struct for ExpiringUserTargetGetResponse

func NewExpiringUserTargetGetResponse ¶

func NewExpiringUserTargetGetResponse(items []ExpiringUserTargetItem) *ExpiringUserTargetGetResponse

NewExpiringUserTargetGetResponse instantiates a new ExpiringUserTargetGetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExpiringUserTargetGetResponseWithDefaults ¶

func NewExpiringUserTargetGetResponseWithDefaults() *ExpiringUserTargetGetResponse

NewExpiringUserTargetGetResponseWithDefaults instantiates a new ExpiringUserTargetGetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExpiringUserTargetGetResponse) GetItems ¶

GetItems returns the Items field value

func (*ExpiringUserTargetGetResponse) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *ExpiringUserTargetGetResponse) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ExpiringUserTargetGetResponse) GetLinksOk ¶

func (o *ExpiringUserTargetGetResponse) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ExpiringUserTargetGetResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (ExpiringUserTargetGetResponse) MarshalJSON ¶

func (o ExpiringUserTargetGetResponse) MarshalJSON() ([]byte, error)

func (*ExpiringUserTargetGetResponse) SetItems ¶

SetItems sets field value

func (o *ExpiringUserTargetGetResponse) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type ExpiringUserTargetItem ¶

type ExpiringUserTargetItem struct {
	// The ID of this expiring user target
	Id string `json:"_id"`
	// The version of this expiring user target
	Version        int32 `json:"_version"`
	ExpirationDate int64 `json:"expirationDate"`
	// A unique key used to represent the user
	UserKey string `json:"userKey"`
	// A segment's target type. Included when expiring user targets are updated on a segment.
	TargetType *string `json:"targetType,omitempty"`
	// A unique key used to represent the flag variation. Included when expiring user targets are updated on a feature flag.
	VariationId *string            `json:"variationId,omitempty"`
	ResourceId  ResourceIDResponse `json:"_resourceId"`
}

ExpiringUserTargetItem struct for ExpiringUserTargetItem

func NewExpiringUserTargetItem ¶

func NewExpiringUserTargetItem(id string, version int32, expirationDate int64, userKey string, resourceId ResourceIDResponse) *ExpiringUserTargetItem

NewExpiringUserTargetItem instantiates a new ExpiringUserTargetItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExpiringUserTargetItemWithDefaults ¶

func NewExpiringUserTargetItemWithDefaults() *ExpiringUserTargetItem

NewExpiringUserTargetItemWithDefaults instantiates a new ExpiringUserTargetItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExpiringUserTargetItem) GetExpirationDate ¶

func (o *ExpiringUserTargetItem) GetExpirationDate() int64

GetExpirationDate returns the ExpirationDate field value

func (*ExpiringUserTargetItem) GetExpirationDateOk ¶

func (o *ExpiringUserTargetItem) GetExpirationDateOk() (*int64, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value and a boolean to check if the value has been set.

func (*ExpiringUserTargetItem) GetId ¶

func (o *ExpiringUserTargetItem) GetId() string

GetId returns the Id field value

func (*ExpiringUserTargetItem) GetIdOk ¶

func (o *ExpiringUserTargetItem) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ExpiringUserTargetItem) GetResourceId ¶

func (o *ExpiringUserTargetItem) GetResourceId() ResourceIDResponse

GetResourceId returns the ResourceId field value

func (*ExpiringUserTargetItem) GetResourceIdOk ¶

func (o *ExpiringUserTargetItem) GetResourceIdOk() (*ResourceIDResponse, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*ExpiringUserTargetItem) GetTargetType ¶

func (o *ExpiringUserTargetItem) GetTargetType() string

GetTargetType returns the TargetType field value if set, zero value otherwise.

func (*ExpiringUserTargetItem) GetTargetTypeOk ¶

func (o *ExpiringUserTargetItem) GetTargetTypeOk() (*string, bool)

GetTargetTypeOk returns a tuple with the TargetType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringUserTargetItem) GetUserKey ¶

func (o *ExpiringUserTargetItem) GetUserKey() string

GetUserKey returns the UserKey field value

func (*ExpiringUserTargetItem) GetUserKeyOk ¶

func (o *ExpiringUserTargetItem) GetUserKeyOk() (*string, bool)

GetUserKeyOk returns a tuple with the UserKey field value and a boolean to check if the value has been set.

func (*ExpiringUserTargetItem) GetVariationId ¶

func (o *ExpiringUserTargetItem) GetVariationId() string

GetVariationId returns the VariationId field value if set, zero value otherwise.

func (*ExpiringUserTargetItem) GetVariationIdOk ¶

func (o *ExpiringUserTargetItem) GetVariationIdOk() (*string, bool)

GetVariationIdOk returns a tuple with the VariationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringUserTargetItem) GetVersion ¶

func (o *ExpiringUserTargetItem) GetVersion() int32

GetVersion returns the Version field value

func (*ExpiringUserTargetItem) GetVersionOk ¶

func (o *ExpiringUserTargetItem) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*ExpiringUserTargetItem) HasTargetType ¶

func (o *ExpiringUserTargetItem) HasTargetType() bool

HasTargetType returns a boolean if a field has been set.

func (*ExpiringUserTargetItem) HasVariationId ¶

func (o *ExpiringUserTargetItem) HasVariationId() bool

HasVariationId returns a boolean if a field has been set.

func (ExpiringUserTargetItem) MarshalJSON ¶

func (o ExpiringUserTargetItem) MarshalJSON() ([]byte, error)

func (*ExpiringUserTargetItem) SetExpirationDate ¶

func (o *ExpiringUserTargetItem) SetExpirationDate(v int64)

SetExpirationDate sets field value

func (*ExpiringUserTargetItem) SetId ¶

func (o *ExpiringUserTargetItem) SetId(v string)

SetId sets field value

func (*ExpiringUserTargetItem) SetResourceId ¶

func (o *ExpiringUserTargetItem) SetResourceId(v ResourceIDResponse)

SetResourceId sets field value

func (*ExpiringUserTargetItem) SetTargetType ¶

func (o *ExpiringUserTargetItem) SetTargetType(v string)

SetTargetType gets a reference to the given string and assigns it to the TargetType field.

func (*ExpiringUserTargetItem) SetUserKey ¶

func (o *ExpiringUserTargetItem) SetUserKey(v string)

SetUserKey sets field value

func (*ExpiringUserTargetItem) SetVariationId ¶

func (o *ExpiringUserTargetItem) SetVariationId(v string)

SetVariationId gets a reference to the given string and assigns it to the VariationId field.

func (*ExpiringUserTargetItem) SetVersion ¶

func (o *ExpiringUserTargetItem) SetVersion(v int32)

SetVersion sets field value

type ExpiringUserTargetPatchResponse ¶

type ExpiringUserTargetPatchResponse struct {
	// An array of expiring user targets
	Items []ExpiringUserTargetItem `json:"items"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// The total count of instructions sent in the PATCH request
	TotalInstructions *int32 `json:"totalInstructions,omitempty"`
	// The total count of successful instructions sent in the PATCH request
	SuccessfulInstructions *int32 `json:"successfulInstructions,omitempty"`
	// The total count of the failed instructions sent in the PATCH request
	FailedInstructions *int32 `json:"failedInstructions,omitempty"`
	// An array of error messages for the failed instructions
	Errors []ExpiringTargetError `json:"errors,omitempty"`
}

ExpiringUserTargetPatchResponse struct for ExpiringUserTargetPatchResponse

func NewExpiringUserTargetPatchResponse ¶

func NewExpiringUserTargetPatchResponse(items []ExpiringUserTargetItem) *ExpiringUserTargetPatchResponse

NewExpiringUserTargetPatchResponse instantiates a new ExpiringUserTargetPatchResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExpiringUserTargetPatchResponseWithDefaults ¶

func NewExpiringUserTargetPatchResponseWithDefaults() *ExpiringUserTargetPatchResponse

NewExpiringUserTargetPatchResponseWithDefaults instantiates a new ExpiringUserTargetPatchResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExpiringUserTargetPatchResponse) GetErrors ¶

GetErrors returns the Errors field value if set, zero value otherwise.

func (*ExpiringUserTargetPatchResponse) GetErrorsOk ¶

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringUserTargetPatchResponse) GetFailedInstructions ¶

func (o *ExpiringUserTargetPatchResponse) GetFailedInstructions() int32

GetFailedInstructions returns the FailedInstructions field value if set, zero value otherwise.

func (*ExpiringUserTargetPatchResponse) GetFailedInstructionsOk ¶

func (o *ExpiringUserTargetPatchResponse) GetFailedInstructionsOk() (*int32, bool)

GetFailedInstructionsOk returns a tuple with the FailedInstructions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringUserTargetPatchResponse) GetItems ¶

GetItems returns the Items field value

func (*ExpiringUserTargetPatchResponse) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *ExpiringUserTargetPatchResponse) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ExpiringUserTargetPatchResponse) GetLinksOk ¶

func (o *ExpiringUserTargetPatchResponse) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringUserTargetPatchResponse) GetSuccessfulInstructions ¶

func (o *ExpiringUserTargetPatchResponse) GetSuccessfulInstructions() int32

GetSuccessfulInstructions returns the SuccessfulInstructions field value if set, zero value otherwise.

func (*ExpiringUserTargetPatchResponse) GetSuccessfulInstructionsOk ¶

func (o *ExpiringUserTargetPatchResponse) GetSuccessfulInstructionsOk() (*int32, bool)

GetSuccessfulInstructionsOk returns a tuple with the SuccessfulInstructions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringUserTargetPatchResponse) GetTotalInstructions ¶

func (o *ExpiringUserTargetPatchResponse) GetTotalInstructions() int32

GetTotalInstructions returns the TotalInstructions field value if set, zero value otherwise.

func (*ExpiringUserTargetPatchResponse) GetTotalInstructionsOk ¶

func (o *ExpiringUserTargetPatchResponse) GetTotalInstructionsOk() (*int32, bool)

GetTotalInstructionsOk returns a tuple with the TotalInstructions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExpiringUserTargetPatchResponse) HasErrors ¶

func (o *ExpiringUserTargetPatchResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ExpiringUserTargetPatchResponse) HasFailedInstructions ¶

func (o *ExpiringUserTargetPatchResponse) HasFailedInstructions() bool

HasFailedInstructions returns a boolean if a field has been set.

func (o *ExpiringUserTargetPatchResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ExpiringUserTargetPatchResponse) HasSuccessfulInstructions ¶

func (o *ExpiringUserTargetPatchResponse) HasSuccessfulInstructions() bool

HasSuccessfulInstructions returns a boolean if a field has been set.

func (*ExpiringUserTargetPatchResponse) HasTotalInstructions ¶

func (o *ExpiringUserTargetPatchResponse) HasTotalInstructions() bool

HasTotalInstructions returns a boolean if a field has been set.

func (ExpiringUserTargetPatchResponse) MarshalJSON ¶

func (o ExpiringUserTargetPatchResponse) MarshalJSON() ([]byte, error)

func (*ExpiringUserTargetPatchResponse) SetErrors ¶

SetErrors gets a reference to the given []ExpiringTargetError and assigns it to the Errors field.

func (*ExpiringUserTargetPatchResponse) SetFailedInstructions ¶

func (o *ExpiringUserTargetPatchResponse) SetFailedInstructions(v int32)

SetFailedInstructions gets a reference to the given int32 and assigns it to the FailedInstructions field.

func (*ExpiringUserTargetPatchResponse) SetItems ¶

SetItems sets field value

func (o *ExpiringUserTargetPatchResponse) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ExpiringUserTargetPatchResponse) SetSuccessfulInstructions ¶

func (o *ExpiringUserTargetPatchResponse) SetSuccessfulInstructions(v int32)

SetSuccessfulInstructions gets a reference to the given int32 and assigns it to the SuccessfulInstructions field.

func (*ExpiringUserTargetPatchResponse) SetTotalInstructions ¶

func (o *ExpiringUserTargetPatchResponse) SetTotalInstructions(v int32)

SetTotalInstructions gets a reference to the given int32 and assigns it to the TotalInstructions field.

type Export ¶

type Export struct {
	// The export ID
	Id string `json:"id"`
	// The segment key
	SegmentKey   string `json:"segmentKey"`
	CreationTime int64  `json:"creationTime"`
	// The export status
	Status string `json:"status"`
	// The export size, in bytes
	SizeBytes int64 `json:"sizeBytes"`
	// The export size, with units
	Size      string       `json:"size"`
	Initiator InitiatorRep `json:"initiator"`
	// The location and content type of related resources, including the location of the exported file
	Links map[string]Link `json:"_links"`
}

Export struct for Export

func NewExport ¶

func NewExport(id string, segmentKey string, creationTime int64, status string, sizeBytes int64, size string, initiator InitiatorRep, links map[string]Link) *Export

NewExport instantiates a new Export object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExportWithDefaults ¶

func NewExportWithDefaults() *Export

NewExportWithDefaults instantiates a new Export object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Export) GetCreationTime ¶

func (o *Export) GetCreationTime() int64

GetCreationTime returns the CreationTime field value

func (*Export) GetCreationTimeOk ¶

func (o *Export) GetCreationTimeOk() (*int64, bool)

GetCreationTimeOk returns a tuple with the CreationTime field value and a boolean to check if the value has been set.

func (*Export) GetId ¶

func (o *Export) GetId() string

GetId returns the Id field value

func (*Export) GetIdOk ¶

func (o *Export) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Export) GetInitiator ¶

func (o *Export) GetInitiator() InitiatorRep

GetInitiator returns the Initiator field value

func (*Export) GetInitiatorOk ¶

func (o *Export) GetInitiatorOk() (*InitiatorRep, bool)

GetInitiatorOk returns a tuple with the Initiator field value and a boolean to check if the value has been set.

func (o *Export) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Export) GetLinksOk ¶

func (o *Export) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Export) GetSegmentKey ¶

func (o *Export) GetSegmentKey() string

GetSegmentKey returns the SegmentKey field value

func (*Export) GetSegmentKeyOk ¶

func (o *Export) GetSegmentKeyOk() (*string, bool)

GetSegmentKeyOk returns a tuple with the SegmentKey field value and a boolean to check if the value has been set.

func (*Export) GetSize ¶

func (o *Export) GetSize() string

GetSize returns the Size field value

func (*Export) GetSizeBytes ¶

func (o *Export) GetSizeBytes() int64

GetSizeBytes returns the SizeBytes field value

func (*Export) GetSizeBytesOk ¶

func (o *Export) GetSizeBytesOk() (*int64, bool)

GetSizeBytesOk returns a tuple with the SizeBytes field value and a boolean to check if the value has been set.

func (*Export) GetSizeOk ¶

func (o *Export) GetSizeOk() (*string, bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.

func (*Export) GetStatus ¶

func (o *Export) GetStatus() string

GetStatus returns the Status field value

func (*Export) GetStatusOk ¶

func (o *Export) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (Export) MarshalJSON ¶

func (o Export) MarshalJSON() ([]byte, error)

func (*Export) SetCreationTime ¶

func (o *Export) SetCreationTime(v int64)

SetCreationTime sets field value

func (*Export) SetId ¶

func (o *Export) SetId(v string)

SetId sets field value

func (*Export) SetInitiator ¶

func (o *Export) SetInitiator(v InitiatorRep)

SetInitiator sets field value

func (o *Export) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Export) SetSegmentKey ¶

func (o *Export) SetSegmentKey(v string)

SetSegmentKey sets field value

func (*Export) SetSize ¶

func (o *Export) SetSize(v string)

SetSize sets field value

func (*Export) SetSizeBytes ¶

func (o *Export) SetSizeBytes(v int64)

SetSizeBytes sets field value

func (*Export) SetStatus ¶

func (o *Export) SetStatus(v string)

SetStatus sets field value

type Extinction ¶

type Extinction struct {
	// The identifier for the revision where flag became extinct. For example, a commit SHA.
	Revision string `json:"revision"`
	// Description of the extinction. For example, the commit message for the revision.
	Message string `json:"message"`
	Time    int64  `json:"time"`
	// The feature flag key
	FlagKey string `json:"flagKey"`
	// The project key
	ProjKey string `json:"projKey"`
}

Extinction struct for Extinction

func NewExtinction ¶

func NewExtinction(revision string, message string, time int64, flagKey string, projKey string) *Extinction

NewExtinction instantiates a new Extinction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExtinctionWithDefaults ¶

func NewExtinctionWithDefaults() *Extinction

NewExtinctionWithDefaults instantiates a new Extinction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Extinction) GetFlagKey ¶

func (o *Extinction) GetFlagKey() string

GetFlagKey returns the FlagKey field value

func (*Extinction) GetFlagKeyOk ¶

func (o *Extinction) GetFlagKeyOk() (*string, bool)

GetFlagKeyOk returns a tuple with the FlagKey field value and a boolean to check if the value has been set.

func (*Extinction) GetMessage ¶

func (o *Extinction) GetMessage() string

GetMessage returns the Message field value

func (*Extinction) GetMessageOk ¶

func (o *Extinction) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*Extinction) GetProjKey ¶

func (o *Extinction) GetProjKey() string

GetProjKey returns the ProjKey field value

func (*Extinction) GetProjKeyOk ¶

func (o *Extinction) GetProjKeyOk() (*string, bool)

GetProjKeyOk returns a tuple with the ProjKey field value and a boolean to check if the value has been set.

func (*Extinction) GetRevision ¶

func (o *Extinction) GetRevision() string

GetRevision returns the Revision field value

func (*Extinction) GetRevisionOk ¶

func (o *Extinction) GetRevisionOk() (*string, bool)

GetRevisionOk returns a tuple with the Revision field value and a boolean to check if the value has been set.

func (*Extinction) GetTime ¶

func (o *Extinction) GetTime() int64

GetTime returns the Time field value

func (*Extinction) GetTimeOk ¶

func (o *Extinction) GetTimeOk() (*int64, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (Extinction) MarshalJSON ¶

func (o Extinction) MarshalJSON() ([]byte, error)

func (*Extinction) SetFlagKey ¶

func (o *Extinction) SetFlagKey(v string)

SetFlagKey sets field value

func (*Extinction) SetMessage ¶

func (o *Extinction) SetMessage(v string)

SetMessage sets field value

func (*Extinction) SetProjKey ¶

func (o *Extinction) SetProjKey(v string)

SetProjKey sets field value

func (*Extinction) SetRevision ¶

func (o *Extinction) SetRevision(v string)

SetRevision sets field value

func (*Extinction) SetTime ¶

func (o *Extinction) SetTime(v int64)

SetTime sets field value

type ExtinctionCollectionRep ¶

type ExtinctionCollectionRep struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// An array of extinction events
	Items map[string][]Extinction `json:"items"`
}

ExtinctionCollectionRep struct for ExtinctionCollectionRep

func NewExtinctionCollectionRep ¶

func NewExtinctionCollectionRep(links map[string]Link, items map[string][]Extinction) *ExtinctionCollectionRep

NewExtinctionCollectionRep instantiates a new ExtinctionCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExtinctionCollectionRepWithDefaults ¶

func NewExtinctionCollectionRepWithDefaults() *ExtinctionCollectionRep

NewExtinctionCollectionRepWithDefaults instantiates a new ExtinctionCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExtinctionCollectionRep) GetItems ¶

func (o *ExtinctionCollectionRep) GetItems() map[string][]Extinction

GetItems returns the Items field value

func (*ExtinctionCollectionRep) GetItemsOk ¶

func (o *ExtinctionCollectionRep) GetItemsOk() (*map[string][]Extinction, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *ExtinctionCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ExtinctionCollectionRep) GetLinksOk ¶

func (o *ExtinctionCollectionRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (ExtinctionCollectionRep) MarshalJSON ¶

func (o ExtinctionCollectionRep) MarshalJSON() ([]byte, error)

func (*ExtinctionCollectionRep) SetItems ¶

func (o *ExtinctionCollectionRep) SetItems(v map[string][]Extinction)

SetItems sets field value

func (o *ExtinctionCollectionRep) SetLinks(v map[string]Link)

SetLinks sets field value

type FailureReasonRep ¶

type FailureReasonRep struct {
	// The attribute that failed validation
	Attribute string `json:"attribute"`
	// The reason the attribute failed validation
	Reason string `json:"reason"`
}

FailureReasonRep struct for FailureReasonRep

func NewFailureReasonRep ¶

func NewFailureReasonRep(attribute string, reason string) *FailureReasonRep

NewFailureReasonRep instantiates a new FailureReasonRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFailureReasonRepWithDefaults ¶

func NewFailureReasonRepWithDefaults() *FailureReasonRep

NewFailureReasonRepWithDefaults instantiates a new FailureReasonRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FailureReasonRep) GetAttribute ¶

func (o *FailureReasonRep) GetAttribute() string

GetAttribute returns the Attribute field value

func (*FailureReasonRep) GetAttributeOk ¶

func (o *FailureReasonRep) GetAttributeOk() (*string, bool)

GetAttributeOk returns a tuple with the Attribute field value and a boolean to check if the value has been set.

func (*FailureReasonRep) GetReason ¶

func (o *FailureReasonRep) GetReason() string

GetReason returns the Reason field value

func (*FailureReasonRep) GetReasonOk ¶

func (o *FailureReasonRep) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.

func (FailureReasonRep) MarshalJSON ¶

func (o FailureReasonRep) MarshalJSON() ([]byte, error)

func (*FailureReasonRep) SetAttribute ¶

func (o *FailureReasonRep) SetAttribute(v string)

SetAttribute sets field value

func (*FailureReasonRep) SetReason ¶

func (o *FailureReasonRep) SetReason(v string)

SetReason sets field value

type FeatureFlag ¶

type FeatureFlag struct {
	// A human-friendly name for the feature flag
	Name string `json:"name"`
	// Kind of feature flag
	Kind string `json:"kind"`
	// Description of the feature flag
	Description *string `json:"description,omitempty"`
	// A unique key used to reference the flag in your code
	Key string `json:"key"`
	// Version of the feature flag
	Version      int32 `json:"_version"`
	CreationDate int64 `json:"creationDate"`
	// Deprecated, use <code>clientSideAvailability</code>. Whether this flag should be made available to the client-side JavaScript SDK
	// Deprecated
	IncludeInSnippet       *bool                   `json:"includeInSnippet,omitempty"`
	ClientSideAvailability *ClientSideAvailability `json:"clientSideAvailability,omitempty"`
	// An array of possible variations for the flag
	Variations []Variation `json:"variations"`
	// Whether the flag is a temporary flag
	Temporary bool `json:"temporary"`
	// Tags for the feature flag
	Tags []string `json:"tags"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// Associated maintainerId for the feature flag
	MaintainerId *string        `json:"maintainerId,omitempty"`
	Maintainer   *MemberSummary `json:"_maintainer,omitempty"`
	// The key of the associated team that maintains this feature flag
	MaintainerTeamKey *string         `json:"maintainerTeamKey,omitempty"`
	MaintainerTeam    *MaintainerTeam `json:"_maintainerTeam,omitempty"`
	// Deprecated, use <code>experiments</code> instead
	// Deprecated
	GoalIds          []string                  `json:"goalIds,omitempty"`
	Experiments      ExperimentInfoRep         `json:"experiments"`
	CustomProperties map[string]CustomProperty `json:"customProperties"`
	// Boolean indicating if the feature flag is archived
	Archived     bool   `json:"archived"`
	ArchivedDate *int64 `json:"archivedDate,omitempty"`
	// Boolean indicating if the feature flag is deprecated
	Deprecated        bool                      `json:"deprecated"`
	DeprecatedDate    *int64                    `json:"deprecatedDate,omitempty"`
	Defaults          *Defaults                 `json:"defaults,omitempty"`
	Purpose           *string                   `json:"_purpose,omitempty"`
	MigrationSettings *FlagMigrationSettingsRep `json:"migrationSettings,omitempty"`
	// Details on the environments for this flag
	Environments map[string]FeatureFlagConfig `json:"environments"`
}

FeatureFlag struct for FeatureFlag

func NewFeatureFlag ¶

func NewFeatureFlag(name string, kind string, key string, version int32, creationDate int64, variations []Variation, temporary bool, tags []string, links map[string]Link, experiments ExperimentInfoRep, customProperties map[string]CustomProperty, archived bool, deprecated bool, environments map[string]FeatureFlagConfig) *FeatureFlag

NewFeatureFlag instantiates a new FeatureFlag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeatureFlagWithDefaults ¶

func NewFeatureFlagWithDefaults() *FeatureFlag

NewFeatureFlagWithDefaults instantiates a new FeatureFlag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeatureFlag) GetArchived ¶

func (o *FeatureFlag) GetArchived() bool

GetArchived returns the Archived field value

func (*FeatureFlag) GetArchivedDate ¶

func (o *FeatureFlag) GetArchivedDate() int64

GetArchivedDate returns the ArchivedDate field value if set, zero value otherwise.

func (*FeatureFlag) GetArchivedDateOk ¶

func (o *FeatureFlag) GetArchivedDateOk() (*int64, bool)

GetArchivedDateOk returns a tuple with the ArchivedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetArchivedOk ¶

func (o *FeatureFlag) GetArchivedOk() (*bool, bool)

GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetClientSideAvailability ¶

func (o *FeatureFlag) GetClientSideAvailability() ClientSideAvailability

GetClientSideAvailability returns the ClientSideAvailability field value if set, zero value otherwise.

func (*FeatureFlag) GetClientSideAvailabilityOk ¶

func (o *FeatureFlag) GetClientSideAvailabilityOk() (*ClientSideAvailability, bool)

GetClientSideAvailabilityOk returns a tuple with the ClientSideAvailability field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetCreationDate ¶

func (o *FeatureFlag) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*FeatureFlag) GetCreationDateOk ¶

func (o *FeatureFlag) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetCustomProperties ¶

func (o *FeatureFlag) GetCustomProperties() map[string]CustomProperty

GetCustomProperties returns the CustomProperties field value

func (*FeatureFlag) GetCustomPropertiesOk ¶

func (o *FeatureFlag) GetCustomPropertiesOk() (*map[string]CustomProperty, bool)

GetCustomPropertiesOk returns a tuple with the CustomProperties field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetDefaults ¶

func (o *FeatureFlag) GetDefaults() Defaults

GetDefaults returns the Defaults field value if set, zero value otherwise.

func (*FeatureFlag) GetDefaultsOk ¶

func (o *FeatureFlag) GetDefaultsOk() (*Defaults, bool)

GetDefaultsOk returns a tuple with the Defaults field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetDeprecated ¶

func (o *FeatureFlag) GetDeprecated() bool

GetDeprecated returns the Deprecated field value

func (*FeatureFlag) GetDeprecatedDate ¶

func (o *FeatureFlag) GetDeprecatedDate() int64

GetDeprecatedDate returns the DeprecatedDate field value if set, zero value otherwise.

func (*FeatureFlag) GetDeprecatedDateOk ¶

func (o *FeatureFlag) GetDeprecatedDateOk() (*int64, bool)

GetDeprecatedDateOk returns a tuple with the DeprecatedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetDeprecatedOk ¶

func (o *FeatureFlag) GetDeprecatedOk() (*bool, bool)

GetDeprecatedOk returns a tuple with the Deprecated field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetDescription ¶

func (o *FeatureFlag) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*FeatureFlag) GetDescriptionOk ¶

func (o *FeatureFlag) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetEnvironments ¶

func (o *FeatureFlag) GetEnvironments() map[string]FeatureFlagConfig

GetEnvironments returns the Environments field value

func (*FeatureFlag) GetEnvironmentsOk ¶

func (o *FeatureFlag) GetEnvironmentsOk() (*map[string]FeatureFlagConfig, bool)

GetEnvironmentsOk returns a tuple with the Environments field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetExperiments ¶

func (o *FeatureFlag) GetExperiments() ExperimentInfoRep

GetExperiments returns the Experiments field value

func (*FeatureFlag) GetExperimentsOk ¶

func (o *FeatureFlag) GetExperimentsOk() (*ExperimentInfoRep, bool)

GetExperimentsOk returns a tuple with the Experiments field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetGoalIds ¶

func (o *FeatureFlag) GetGoalIds() []string

GetGoalIds returns the GoalIds field value if set, zero value otherwise. Deprecated

func (*FeatureFlag) GetGoalIdsOk ¶

func (o *FeatureFlag) GetGoalIdsOk() ([]string, bool)

GetGoalIdsOk returns a tuple with the GoalIds field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*FeatureFlag) GetIncludeInSnippet ¶

func (o *FeatureFlag) GetIncludeInSnippet() bool

GetIncludeInSnippet returns the IncludeInSnippet field value if set, zero value otherwise. Deprecated

func (*FeatureFlag) GetIncludeInSnippetOk ¶

func (o *FeatureFlag) GetIncludeInSnippetOk() (*bool, bool)

GetIncludeInSnippetOk returns a tuple with the IncludeInSnippet field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*FeatureFlag) GetKey ¶

func (o *FeatureFlag) GetKey() string

GetKey returns the Key field value

func (*FeatureFlag) GetKeyOk ¶

func (o *FeatureFlag) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetKind ¶

func (o *FeatureFlag) GetKind() string

GetKind returns the Kind field value

func (*FeatureFlag) GetKindOk ¶

func (o *FeatureFlag) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (o *FeatureFlag) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FeatureFlag) GetLinksOk ¶

func (o *FeatureFlag) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetMaintainer ¶

func (o *FeatureFlag) GetMaintainer() MemberSummary

GetMaintainer returns the Maintainer field value if set, zero value otherwise.

func (*FeatureFlag) GetMaintainerId ¶

func (o *FeatureFlag) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value if set, zero value otherwise.

func (*FeatureFlag) GetMaintainerIdOk ¶

func (o *FeatureFlag) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetMaintainerOk ¶

func (o *FeatureFlag) GetMaintainerOk() (*MemberSummary, bool)

GetMaintainerOk returns a tuple with the Maintainer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetMaintainerTeam ¶

func (o *FeatureFlag) GetMaintainerTeam() MaintainerTeam

GetMaintainerTeam returns the MaintainerTeam field value if set, zero value otherwise.

func (*FeatureFlag) GetMaintainerTeamKey ¶

func (o *FeatureFlag) GetMaintainerTeamKey() string

GetMaintainerTeamKey returns the MaintainerTeamKey field value if set, zero value otherwise.

func (*FeatureFlag) GetMaintainerTeamKeyOk ¶

func (o *FeatureFlag) GetMaintainerTeamKeyOk() (*string, bool)

GetMaintainerTeamKeyOk returns a tuple with the MaintainerTeamKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetMaintainerTeamOk ¶

func (o *FeatureFlag) GetMaintainerTeamOk() (*MaintainerTeam, bool)

GetMaintainerTeamOk returns a tuple with the MaintainerTeam field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetMigrationSettings ¶

func (o *FeatureFlag) GetMigrationSettings() FlagMigrationSettingsRep

GetMigrationSettings returns the MigrationSettings field value if set, zero value otherwise.

func (*FeatureFlag) GetMigrationSettingsOk ¶

func (o *FeatureFlag) GetMigrationSettingsOk() (*FlagMigrationSettingsRep, bool)

GetMigrationSettingsOk returns a tuple with the MigrationSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetName ¶

func (o *FeatureFlag) GetName() string

GetName returns the Name field value

func (*FeatureFlag) GetNameOk ¶

func (o *FeatureFlag) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetPurpose ¶

func (o *FeatureFlag) GetPurpose() string

GetPurpose returns the Purpose field value if set, zero value otherwise.

func (*FeatureFlag) GetPurposeOk ¶

func (o *FeatureFlag) GetPurposeOk() (*string, bool)

GetPurposeOk returns a tuple with the Purpose field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlag) GetTags ¶

func (o *FeatureFlag) GetTags() []string

GetTags returns the Tags field value

func (*FeatureFlag) GetTagsOk ¶

func (o *FeatureFlag) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetTemporary ¶

func (o *FeatureFlag) GetTemporary() bool

GetTemporary returns the Temporary field value

func (*FeatureFlag) GetTemporaryOk ¶

func (o *FeatureFlag) GetTemporaryOk() (*bool, bool)

GetTemporaryOk returns a tuple with the Temporary field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetVariations ¶

func (o *FeatureFlag) GetVariations() []Variation

GetVariations returns the Variations field value

func (*FeatureFlag) GetVariationsOk ¶

func (o *FeatureFlag) GetVariationsOk() ([]Variation, bool)

GetVariationsOk returns a tuple with the Variations field value and a boolean to check if the value has been set.

func (*FeatureFlag) GetVersion ¶

func (o *FeatureFlag) GetVersion() int32

GetVersion returns the Version field value

func (*FeatureFlag) GetVersionOk ¶

func (o *FeatureFlag) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*FeatureFlag) HasArchivedDate ¶

func (o *FeatureFlag) HasArchivedDate() bool

HasArchivedDate returns a boolean if a field has been set.

func (*FeatureFlag) HasClientSideAvailability ¶

func (o *FeatureFlag) HasClientSideAvailability() bool

HasClientSideAvailability returns a boolean if a field has been set.

func (*FeatureFlag) HasDefaults ¶

func (o *FeatureFlag) HasDefaults() bool

HasDefaults returns a boolean if a field has been set.

func (*FeatureFlag) HasDeprecatedDate ¶

func (o *FeatureFlag) HasDeprecatedDate() bool

HasDeprecatedDate returns a boolean if a field has been set.

func (*FeatureFlag) HasDescription ¶

func (o *FeatureFlag) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FeatureFlag) HasGoalIds ¶

func (o *FeatureFlag) HasGoalIds() bool

HasGoalIds returns a boolean if a field has been set.

func (*FeatureFlag) HasIncludeInSnippet ¶

func (o *FeatureFlag) HasIncludeInSnippet() bool

HasIncludeInSnippet returns a boolean if a field has been set.

func (*FeatureFlag) HasMaintainer ¶

func (o *FeatureFlag) HasMaintainer() bool

HasMaintainer returns a boolean if a field has been set.

func (*FeatureFlag) HasMaintainerId ¶

func (o *FeatureFlag) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

func (*FeatureFlag) HasMaintainerTeam ¶

func (o *FeatureFlag) HasMaintainerTeam() bool

HasMaintainerTeam returns a boolean if a field has been set.

func (*FeatureFlag) HasMaintainerTeamKey ¶

func (o *FeatureFlag) HasMaintainerTeamKey() bool

HasMaintainerTeamKey returns a boolean if a field has been set.

func (*FeatureFlag) HasMigrationSettings ¶

func (o *FeatureFlag) HasMigrationSettings() bool

HasMigrationSettings returns a boolean if a field has been set.

func (*FeatureFlag) HasPurpose ¶

func (o *FeatureFlag) HasPurpose() bool

HasPurpose returns a boolean if a field has been set.

func (FeatureFlag) MarshalJSON ¶

func (o FeatureFlag) MarshalJSON() ([]byte, error)

func (*FeatureFlag) SetArchived ¶

func (o *FeatureFlag) SetArchived(v bool)

SetArchived sets field value

func (*FeatureFlag) SetArchivedDate ¶

func (o *FeatureFlag) SetArchivedDate(v int64)

SetArchivedDate gets a reference to the given int64 and assigns it to the ArchivedDate field.

func (*FeatureFlag) SetClientSideAvailability ¶

func (o *FeatureFlag) SetClientSideAvailability(v ClientSideAvailability)

SetClientSideAvailability gets a reference to the given ClientSideAvailability and assigns it to the ClientSideAvailability field.

func (*FeatureFlag) SetCreationDate ¶

func (o *FeatureFlag) SetCreationDate(v int64)

SetCreationDate sets field value

func (*FeatureFlag) SetCustomProperties ¶

func (o *FeatureFlag) SetCustomProperties(v map[string]CustomProperty)

SetCustomProperties sets field value

func (*FeatureFlag) SetDefaults ¶

func (o *FeatureFlag) SetDefaults(v Defaults)

SetDefaults gets a reference to the given Defaults and assigns it to the Defaults field.

func (*FeatureFlag) SetDeprecated ¶

func (o *FeatureFlag) SetDeprecated(v bool)

SetDeprecated sets field value

func (*FeatureFlag) SetDeprecatedDate ¶

func (o *FeatureFlag) SetDeprecatedDate(v int64)

SetDeprecatedDate gets a reference to the given int64 and assigns it to the DeprecatedDate field.

func (*FeatureFlag) SetDescription ¶

func (o *FeatureFlag) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*FeatureFlag) SetEnvironments ¶

func (o *FeatureFlag) SetEnvironments(v map[string]FeatureFlagConfig)

SetEnvironments sets field value

func (*FeatureFlag) SetExperiments ¶

func (o *FeatureFlag) SetExperiments(v ExperimentInfoRep)

SetExperiments sets field value

func (*FeatureFlag) SetGoalIds ¶

func (o *FeatureFlag) SetGoalIds(v []string)

SetGoalIds gets a reference to the given []string and assigns it to the GoalIds field. Deprecated

func (*FeatureFlag) SetIncludeInSnippet ¶

func (o *FeatureFlag) SetIncludeInSnippet(v bool)

SetIncludeInSnippet gets a reference to the given bool and assigns it to the IncludeInSnippet field. Deprecated

func (*FeatureFlag) SetKey ¶

func (o *FeatureFlag) SetKey(v string)

SetKey sets field value

func (*FeatureFlag) SetKind ¶

func (o *FeatureFlag) SetKind(v string)

SetKind sets field value

func (o *FeatureFlag) SetLinks(v map[string]Link)

SetLinks sets field value

func (*FeatureFlag) SetMaintainer ¶

func (o *FeatureFlag) SetMaintainer(v MemberSummary)

SetMaintainer gets a reference to the given MemberSummary and assigns it to the Maintainer field.

func (*FeatureFlag) SetMaintainerId ¶

func (o *FeatureFlag) SetMaintainerId(v string)

SetMaintainerId gets a reference to the given string and assigns it to the MaintainerId field.

func (*FeatureFlag) SetMaintainerTeam ¶

func (o *FeatureFlag) SetMaintainerTeam(v MaintainerTeam)

SetMaintainerTeam gets a reference to the given MaintainerTeam and assigns it to the MaintainerTeam field.

func (*FeatureFlag) SetMaintainerTeamKey ¶

func (o *FeatureFlag) SetMaintainerTeamKey(v string)

SetMaintainerTeamKey gets a reference to the given string and assigns it to the MaintainerTeamKey field.

func (*FeatureFlag) SetMigrationSettings ¶

func (o *FeatureFlag) SetMigrationSettings(v FlagMigrationSettingsRep)

SetMigrationSettings gets a reference to the given FlagMigrationSettingsRep and assigns it to the MigrationSettings field.

func (*FeatureFlag) SetName ¶

func (o *FeatureFlag) SetName(v string)

SetName sets field value

func (*FeatureFlag) SetPurpose ¶

func (o *FeatureFlag) SetPurpose(v string)

SetPurpose gets a reference to the given string and assigns it to the Purpose field.

func (*FeatureFlag) SetTags ¶

func (o *FeatureFlag) SetTags(v []string)

SetTags sets field value

func (*FeatureFlag) SetTemporary ¶

func (o *FeatureFlag) SetTemporary(v bool)

SetTemporary sets field value

func (*FeatureFlag) SetVariations ¶

func (o *FeatureFlag) SetVariations(v []Variation)

SetVariations sets field value

func (*FeatureFlag) SetVersion ¶

func (o *FeatureFlag) SetVersion(v int32)

SetVersion sets field value

type FeatureFlagBody ¶

type FeatureFlagBody struct {
	// A human-friendly name for the feature flag
	Name string `json:"name"`
	// A unique key used to reference the flag in your code
	Key string `json:"key"`
	// Description of the feature flag. Defaults to an empty string.
	Description *string `json:"description,omitempty"`
	// Deprecated, use <code>clientSideAvailability</code>. Whether this flag should be made available to the client-side JavaScript SDK. Defaults to <code>false</code>.
	// Deprecated
	IncludeInSnippet       *bool                       `json:"includeInSnippet,omitempty"`
	ClientSideAvailability *ClientSideAvailabilityPost `json:"clientSideAvailability,omitempty"`
	// An array of possible variations for the flag. The variation values must be unique. If omitted, two boolean variations of <code>true</code> and <code>false</code> will be used.
	Variations []Variation `json:"variations,omitempty"`
	// Whether the flag is a temporary flag. Defaults to <code>true</code>.
	Temporary *bool `json:"temporary,omitempty"`
	// Tags for the feature flag. Defaults to an empty array.
	Tags             []string                   `json:"tags,omitempty"`
	CustomProperties *map[string]CustomProperty `json:"customProperties,omitempty"`
	Defaults         *Defaults                  `json:"defaults,omitempty"`
	// Purpose of the flag
	Purpose           *string                `json:"purpose,omitempty"`
	MigrationSettings *MigrationSettingsPost `json:"migrationSettings,omitempty"`
	// The ID of the member who maintains this feature flag
	MaintainerId *string `json:"maintainerId,omitempty"`
	// The key of the team that maintains this feature flag
	MaintainerTeamKey *string `json:"maintainerTeamKey,omitempty"`
}

FeatureFlagBody struct for FeatureFlagBody

func NewFeatureFlagBody ¶

func NewFeatureFlagBody(name string, key string) *FeatureFlagBody

NewFeatureFlagBody instantiates a new FeatureFlagBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeatureFlagBodyWithDefaults ¶

func NewFeatureFlagBodyWithDefaults() *FeatureFlagBody

NewFeatureFlagBodyWithDefaults instantiates a new FeatureFlagBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeatureFlagBody) GetClientSideAvailability ¶

func (o *FeatureFlagBody) GetClientSideAvailability() ClientSideAvailabilityPost

GetClientSideAvailability returns the ClientSideAvailability field value if set, zero value otherwise.

func (*FeatureFlagBody) GetClientSideAvailabilityOk ¶

func (o *FeatureFlagBody) GetClientSideAvailabilityOk() (*ClientSideAvailabilityPost, bool)

GetClientSideAvailabilityOk returns a tuple with the ClientSideAvailability field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetCustomProperties ¶

func (o *FeatureFlagBody) GetCustomProperties() map[string]CustomProperty

GetCustomProperties returns the CustomProperties field value if set, zero value otherwise.

func (*FeatureFlagBody) GetCustomPropertiesOk ¶

func (o *FeatureFlagBody) GetCustomPropertiesOk() (*map[string]CustomProperty, bool)

GetCustomPropertiesOk returns a tuple with the CustomProperties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetDefaults ¶

func (o *FeatureFlagBody) GetDefaults() Defaults

GetDefaults returns the Defaults field value if set, zero value otherwise.

func (*FeatureFlagBody) GetDefaultsOk ¶

func (o *FeatureFlagBody) GetDefaultsOk() (*Defaults, bool)

GetDefaultsOk returns a tuple with the Defaults field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetDescription ¶

func (o *FeatureFlagBody) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*FeatureFlagBody) GetDescriptionOk ¶

func (o *FeatureFlagBody) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetIncludeInSnippet ¶

func (o *FeatureFlagBody) GetIncludeInSnippet() bool

GetIncludeInSnippet returns the IncludeInSnippet field value if set, zero value otherwise. Deprecated

func (*FeatureFlagBody) GetIncludeInSnippetOk ¶

func (o *FeatureFlagBody) GetIncludeInSnippetOk() (*bool, bool)

GetIncludeInSnippetOk returns a tuple with the IncludeInSnippet field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*FeatureFlagBody) GetKey ¶

func (o *FeatureFlagBody) GetKey() string

GetKey returns the Key field value

func (*FeatureFlagBody) GetKeyOk ¶

func (o *FeatureFlagBody) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetMaintainerId ¶ added in v15.1.0

func (o *FeatureFlagBody) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value if set, zero value otherwise.

func (*FeatureFlagBody) GetMaintainerIdOk ¶ added in v15.1.0

func (o *FeatureFlagBody) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetMaintainerTeamKey ¶ added in v15.1.0

func (o *FeatureFlagBody) GetMaintainerTeamKey() string

GetMaintainerTeamKey returns the MaintainerTeamKey field value if set, zero value otherwise.

func (*FeatureFlagBody) GetMaintainerTeamKeyOk ¶ added in v15.1.0

func (o *FeatureFlagBody) GetMaintainerTeamKeyOk() (*string, bool)

GetMaintainerTeamKeyOk returns a tuple with the MaintainerTeamKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetMigrationSettings ¶

func (o *FeatureFlagBody) GetMigrationSettings() MigrationSettingsPost

GetMigrationSettings returns the MigrationSettings field value if set, zero value otherwise.

func (*FeatureFlagBody) GetMigrationSettingsOk ¶

func (o *FeatureFlagBody) GetMigrationSettingsOk() (*MigrationSettingsPost, bool)

GetMigrationSettingsOk returns a tuple with the MigrationSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetName ¶

func (o *FeatureFlagBody) GetName() string

GetName returns the Name field value

func (*FeatureFlagBody) GetNameOk ¶

func (o *FeatureFlagBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetPurpose ¶

func (o *FeatureFlagBody) GetPurpose() string

GetPurpose returns the Purpose field value if set, zero value otherwise.

func (*FeatureFlagBody) GetPurposeOk ¶

func (o *FeatureFlagBody) GetPurposeOk() (*string, bool)

GetPurposeOk returns a tuple with the Purpose field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetTags ¶

func (o *FeatureFlagBody) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*FeatureFlagBody) GetTagsOk ¶

func (o *FeatureFlagBody) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetTemporary ¶

func (o *FeatureFlagBody) GetTemporary() bool

GetTemporary returns the Temporary field value if set, zero value otherwise.

func (*FeatureFlagBody) GetTemporaryOk ¶

func (o *FeatureFlagBody) GetTemporaryOk() (*bool, bool)

GetTemporaryOk returns a tuple with the Temporary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) GetVariations ¶

func (o *FeatureFlagBody) GetVariations() []Variation

GetVariations returns the Variations field value if set, zero value otherwise.

func (*FeatureFlagBody) GetVariationsOk ¶

func (o *FeatureFlagBody) GetVariationsOk() ([]Variation, bool)

GetVariationsOk returns a tuple with the Variations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagBody) HasClientSideAvailability ¶

func (o *FeatureFlagBody) HasClientSideAvailability() bool

HasClientSideAvailability returns a boolean if a field has been set.

func (*FeatureFlagBody) HasCustomProperties ¶

func (o *FeatureFlagBody) HasCustomProperties() bool

HasCustomProperties returns a boolean if a field has been set.

func (*FeatureFlagBody) HasDefaults ¶

func (o *FeatureFlagBody) HasDefaults() bool

HasDefaults returns a boolean if a field has been set.

func (*FeatureFlagBody) HasDescription ¶

func (o *FeatureFlagBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FeatureFlagBody) HasIncludeInSnippet ¶

func (o *FeatureFlagBody) HasIncludeInSnippet() bool

HasIncludeInSnippet returns a boolean if a field has been set.

func (*FeatureFlagBody) HasMaintainerId ¶ added in v15.1.0

func (o *FeatureFlagBody) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

func (*FeatureFlagBody) HasMaintainerTeamKey ¶ added in v15.1.0

func (o *FeatureFlagBody) HasMaintainerTeamKey() bool

HasMaintainerTeamKey returns a boolean if a field has been set.

func (*FeatureFlagBody) HasMigrationSettings ¶

func (o *FeatureFlagBody) HasMigrationSettings() bool

HasMigrationSettings returns a boolean if a field has been set.

func (*FeatureFlagBody) HasPurpose ¶

func (o *FeatureFlagBody) HasPurpose() bool

HasPurpose returns a boolean if a field has been set.

func (*FeatureFlagBody) HasTags ¶

func (o *FeatureFlagBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*FeatureFlagBody) HasTemporary ¶

func (o *FeatureFlagBody) HasTemporary() bool

HasTemporary returns a boolean if a field has been set.

func (*FeatureFlagBody) HasVariations ¶

func (o *FeatureFlagBody) HasVariations() bool

HasVariations returns a boolean if a field has been set.

func (FeatureFlagBody) MarshalJSON ¶

func (o FeatureFlagBody) MarshalJSON() ([]byte, error)

func (*FeatureFlagBody) SetClientSideAvailability ¶

func (o *FeatureFlagBody) SetClientSideAvailability(v ClientSideAvailabilityPost)

SetClientSideAvailability gets a reference to the given ClientSideAvailabilityPost and assigns it to the ClientSideAvailability field.

func (*FeatureFlagBody) SetCustomProperties ¶

func (o *FeatureFlagBody) SetCustomProperties(v map[string]CustomProperty)

SetCustomProperties gets a reference to the given map[string]CustomProperty and assigns it to the CustomProperties field.

func (*FeatureFlagBody) SetDefaults ¶

func (o *FeatureFlagBody) SetDefaults(v Defaults)

SetDefaults gets a reference to the given Defaults and assigns it to the Defaults field.

func (*FeatureFlagBody) SetDescription ¶

func (o *FeatureFlagBody) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*FeatureFlagBody) SetIncludeInSnippet ¶

func (o *FeatureFlagBody) SetIncludeInSnippet(v bool)

SetIncludeInSnippet gets a reference to the given bool and assigns it to the IncludeInSnippet field. Deprecated

func (*FeatureFlagBody) SetKey ¶

func (o *FeatureFlagBody) SetKey(v string)

SetKey sets field value

func (*FeatureFlagBody) SetMaintainerId ¶ added in v15.1.0

func (o *FeatureFlagBody) SetMaintainerId(v string)

SetMaintainerId gets a reference to the given string and assigns it to the MaintainerId field.

func (*FeatureFlagBody) SetMaintainerTeamKey ¶ added in v15.1.0

func (o *FeatureFlagBody) SetMaintainerTeamKey(v string)

SetMaintainerTeamKey gets a reference to the given string and assigns it to the MaintainerTeamKey field.

func (*FeatureFlagBody) SetMigrationSettings ¶

func (o *FeatureFlagBody) SetMigrationSettings(v MigrationSettingsPost)

SetMigrationSettings gets a reference to the given MigrationSettingsPost and assigns it to the MigrationSettings field.

func (*FeatureFlagBody) SetName ¶

func (o *FeatureFlagBody) SetName(v string)

SetName sets field value

func (*FeatureFlagBody) SetPurpose ¶

func (o *FeatureFlagBody) SetPurpose(v string)

SetPurpose gets a reference to the given string and assigns it to the Purpose field.

func (*FeatureFlagBody) SetTags ¶

func (o *FeatureFlagBody) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*FeatureFlagBody) SetTemporary ¶

func (o *FeatureFlagBody) SetTemporary(v bool)

SetTemporary gets a reference to the given bool and assigns it to the Temporary field.

func (*FeatureFlagBody) SetVariations ¶

func (o *FeatureFlagBody) SetVariations(v []Variation)

SetVariations gets a reference to the given []Variation and assigns it to the Variations field.

type FeatureFlagConfig ¶

type FeatureFlagConfig struct {
	// Whether the flag is on
	On bool `json:"on"`
	// Boolean indicating if the feature flag is archived
	Archived     bool   `json:"archived"`
	Salt         string `json:"salt"`
	Sel          string `json:"sel"`
	LastModified int64  `json:"lastModified"`
	// Version of the feature flag
	Version int32 `json:"version"`
	// An array of the individual targets that will receive a specific variation based on their key. Individual targets with a context kind of 'user' are included here.
	Targets []Target `json:"targets,omitempty"`
	// An array of the individual targets that will receive a specific variation based on their key. Individual targets with context kinds other than 'user' are included here.
	ContextTargets []Target `json:"contextTargets,omitempty"`
	// An array of the rules for how to serve a variation to specific targets based on their attributes
	Rules       []Rule                 `json:"rules,omitempty"`
	Fallthrough *VariationOrRolloutRep `json:"fallthrough,omitempty"`
	// The ID of the variation to serve when the flag is off
	OffVariation *int32 `json:"offVariation,omitempty"`
	// An array of the prerequisite flags and their variations that are required before this flag takes effect
	Prerequisites []Prerequisite `json:"prerequisites,omitempty"`
	Site          Link           `json:"_site"`
	Access        *Access        `json:"_access,omitempty"`
	// The environment name
	EnvironmentName string `json:"_environmentName"`
	// Whether LaunchDarkly tracks events for the feature flag, for all rules
	TrackEvents bool `json:"trackEvents"`
	// Whether LaunchDarkly tracks events for the feature flag, for the default rule
	TrackEventsFallthrough bool                            `json:"trackEventsFallthrough"`
	DebugEventsUntilDate   *int64                          `json:"_debugEventsUntilDate,omitempty"`
	Summary                *FlagSummary                    `json:"_summary,omitempty"`
	Evaluation             *FlagConfigEvaluation           `json:"evaluation,omitempty"`
	MigrationSettings      *FlagConfigMigrationSettingsRep `json:"migrationSettings,omitempty"`
}

FeatureFlagConfig struct for FeatureFlagConfig

func NewFeatureFlagConfig ¶

func NewFeatureFlagConfig(on bool, archived bool, salt string, sel string, lastModified int64, version int32, site Link, environmentName string, trackEvents bool, trackEventsFallthrough bool) *FeatureFlagConfig

NewFeatureFlagConfig instantiates a new FeatureFlagConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeatureFlagConfigWithDefaults ¶

func NewFeatureFlagConfigWithDefaults() *FeatureFlagConfig

NewFeatureFlagConfigWithDefaults instantiates a new FeatureFlagConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeatureFlagConfig) GetAccess ¶

func (o *FeatureFlagConfig) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetAccessOk ¶

func (o *FeatureFlagConfig) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetArchived ¶

func (o *FeatureFlagConfig) GetArchived() bool

GetArchived returns the Archived field value

func (*FeatureFlagConfig) GetArchivedOk ¶

func (o *FeatureFlagConfig) GetArchivedOk() (*bool, bool)

GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetContextTargets ¶

func (o *FeatureFlagConfig) GetContextTargets() []Target

GetContextTargets returns the ContextTargets field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetContextTargetsOk ¶

func (o *FeatureFlagConfig) GetContextTargetsOk() ([]Target, bool)

GetContextTargetsOk returns a tuple with the ContextTargets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetDebugEventsUntilDate ¶

func (o *FeatureFlagConfig) GetDebugEventsUntilDate() int64

GetDebugEventsUntilDate returns the DebugEventsUntilDate field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetDebugEventsUntilDateOk ¶

func (o *FeatureFlagConfig) GetDebugEventsUntilDateOk() (*int64, bool)

GetDebugEventsUntilDateOk returns a tuple with the DebugEventsUntilDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetEnvironmentName ¶

func (o *FeatureFlagConfig) GetEnvironmentName() string

GetEnvironmentName returns the EnvironmentName field value

func (*FeatureFlagConfig) GetEnvironmentNameOk ¶

func (o *FeatureFlagConfig) GetEnvironmentNameOk() (*string, bool)

GetEnvironmentNameOk returns a tuple with the EnvironmentName field value and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetEvaluation ¶

func (o *FeatureFlagConfig) GetEvaluation() FlagConfigEvaluation

GetEvaluation returns the Evaluation field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetEvaluationOk ¶

func (o *FeatureFlagConfig) GetEvaluationOk() (*FlagConfigEvaluation, bool)

GetEvaluationOk returns a tuple with the Evaluation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetFallthrough ¶

func (o *FeatureFlagConfig) GetFallthrough() VariationOrRolloutRep

GetFallthrough returns the Fallthrough field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetFallthroughOk ¶

func (o *FeatureFlagConfig) GetFallthroughOk() (*VariationOrRolloutRep, bool)

GetFallthroughOk returns a tuple with the Fallthrough field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetLastModified ¶

func (o *FeatureFlagConfig) GetLastModified() int64

GetLastModified returns the LastModified field value

func (*FeatureFlagConfig) GetLastModifiedOk ¶

func (o *FeatureFlagConfig) GetLastModifiedOk() (*int64, bool)

GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetMigrationSettings ¶

func (o *FeatureFlagConfig) GetMigrationSettings() FlagConfigMigrationSettingsRep

GetMigrationSettings returns the MigrationSettings field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetMigrationSettingsOk ¶

func (o *FeatureFlagConfig) GetMigrationSettingsOk() (*FlagConfigMigrationSettingsRep, bool)

GetMigrationSettingsOk returns a tuple with the MigrationSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetOffVariation ¶

func (o *FeatureFlagConfig) GetOffVariation() int32

GetOffVariation returns the OffVariation field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetOffVariationOk ¶

func (o *FeatureFlagConfig) GetOffVariationOk() (*int32, bool)

GetOffVariationOk returns a tuple with the OffVariation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetOn ¶

func (o *FeatureFlagConfig) GetOn() bool

GetOn returns the On field value

func (*FeatureFlagConfig) GetOnOk ¶

func (o *FeatureFlagConfig) GetOnOk() (*bool, bool)

GetOnOk returns a tuple with the On field value and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetPrerequisites ¶

func (o *FeatureFlagConfig) GetPrerequisites() []Prerequisite

GetPrerequisites returns the Prerequisites field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetPrerequisitesOk ¶

func (o *FeatureFlagConfig) GetPrerequisitesOk() ([]Prerequisite, bool)

GetPrerequisitesOk returns a tuple with the Prerequisites field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetRules ¶

func (o *FeatureFlagConfig) GetRules() []Rule

GetRules returns the Rules field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetRulesOk ¶

func (o *FeatureFlagConfig) GetRulesOk() ([]Rule, bool)

GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetSalt ¶

func (o *FeatureFlagConfig) GetSalt() string

GetSalt returns the Salt field value

func (*FeatureFlagConfig) GetSaltOk ¶

func (o *FeatureFlagConfig) GetSaltOk() (*string, bool)

GetSaltOk returns a tuple with the Salt field value and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetSel ¶

func (o *FeatureFlagConfig) GetSel() string

GetSel returns the Sel field value

func (*FeatureFlagConfig) GetSelOk ¶

func (o *FeatureFlagConfig) GetSelOk() (*string, bool)

GetSelOk returns a tuple with the Sel field value and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetSite ¶

func (o *FeatureFlagConfig) GetSite() Link

GetSite returns the Site field value

func (*FeatureFlagConfig) GetSiteOk ¶

func (o *FeatureFlagConfig) GetSiteOk() (*Link, bool)

GetSiteOk returns a tuple with the Site field value and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetSummary ¶

func (o *FeatureFlagConfig) GetSummary() FlagSummary

GetSummary returns the Summary field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetSummaryOk ¶

func (o *FeatureFlagConfig) GetSummaryOk() (*FlagSummary, bool)

GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetTargets ¶

func (o *FeatureFlagConfig) GetTargets() []Target

GetTargets returns the Targets field value if set, zero value otherwise.

func (*FeatureFlagConfig) GetTargetsOk ¶

func (o *FeatureFlagConfig) GetTargetsOk() ([]Target, bool)

GetTargetsOk returns a tuple with the Targets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetTrackEvents ¶

func (o *FeatureFlagConfig) GetTrackEvents() bool

GetTrackEvents returns the TrackEvents field value

func (*FeatureFlagConfig) GetTrackEventsFallthrough ¶

func (o *FeatureFlagConfig) GetTrackEventsFallthrough() bool

GetTrackEventsFallthrough returns the TrackEventsFallthrough field value

func (*FeatureFlagConfig) GetTrackEventsFallthroughOk ¶

func (o *FeatureFlagConfig) GetTrackEventsFallthroughOk() (*bool, bool)

GetTrackEventsFallthroughOk returns a tuple with the TrackEventsFallthrough field value and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetTrackEventsOk ¶

func (o *FeatureFlagConfig) GetTrackEventsOk() (*bool, bool)

GetTrackEventsOk returns a tuple with the TrackEvents field value and a boolean to check if the value has been set.

func (*FeatureFlagConfig) GetVersion ¶

func (o *FeatureFlagConfig) GetVersion() int32

GetVersion returns the Version field value

func (*FeatureFlagConfig) GetVersionOk ¶

func (o *FeatureFlagConfig) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*FeatureFlagConfig) HasAccess ¶

func (o *FeatureFlagConfig) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*FeatureFlagConfig) HasContextTargets ¶

func (o *FeatureFlagConfig) HasContextTargets() bool

HasContextTargets returns a boolean if a field has been set.

func (*FeatureFlagConfig) HasDebugEventsUntilDate ¶

func (o *FeatureFlagConfig) HasDebugEventsUntilDate() bool

HasDebugEventsUntilDate returns a boolean if a field has been set.

func (*FeatureFlagConfig) HasEvaluation ¶

func (o *FeatureFlagConfig) HasEvaluation() bool

HasEvaluation returns a boolean if a field has been set.

func (*FeatureFlagConfig) HasFallthrough ¶

func (o *FeatureFlagConfig) HasFallthrough() bool

HasFallthrough returns a boolean if a field has been set.

func (*FeatureFlagConfig) HasMigrationSettings ¶

func (o *FeatureFlagConfig) HasMigrationSettings() bool

HasMigrationSettings returns a boolean if a field has been set.

func (*FeatureFlagConfig) HasOffVariation ¶

func (o *FeatureFlagConfig) HasOffVariation() bool

HasOffVariation returns a boolean if a field has been set.

func (*FeatureFlagConfig) HasPrerequisites ¶

func (o *FeatureFlagConfig) HasPrerequisites() bool

HasPrerequisites returns a boolean if a field has been set.

func (*FeatureFlagConfig) HasRules ¶

func (o *FeatureFlagConfig) HasRules() bool

HasRules returns a boolean if a field has been set.

func (*FeatureFlagConfig) HasSummary ¶

func (o *FeatureFlagConfig) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (*FeatureFlagConfig) HasTargets ¶

func (o *FeatureFlagConfig) HasTargets() bool

HasTargets returns a boolean if a field has been set.

func (FeatureFlagConfig) MarshalJSON ¶

func (o FeatureFlagConfig) MarshalJSON() ([]byte, error)

func (*FeatureFlagConfig) SetAccess ¶

func (o *FeatureFlagConfig) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*FeatureFlagConfig) SetArchived ¶

func (o *FeatureFlagConfig) SetArchived(v bool)

SetArchived sets field value

func (*FeatureFlagConfig) SetContextTargets ¶

func (o *FeatureFlagConfig) SetContextTargets(v []Target)

SetContextTargets gets a reference to the given []Target and assigns it to the ContextTargets field.

func (*FeatureFlagConfig) SetDebugEventsUntilDate ¶

func (o *FeatureFlagConfig) SetDebugEventsUntilDate(v int64)

SetDebugEventsUntilDate gets a reference to the given int64 and assigns it to the DebugEventsUntilDate field.

func (*FeatureFlagConfig) SetEnvironmentName ¶

func (o *FeatureFlagConfig) SetEnvironmentName(v string)

SetEnvironmentName sets field value

func (*FeatureFlagConfig) SetEvaluation ¶

func (o *FeatureFlagConfig) SetEvaluation(v FlagConfigEvaluation)

SetEvaluation gets a reference to the given FlagConfigEvaluation and assigns it to the Evaluation field.

func (*FeatureFlagConfig) SetFallthrough ¶

func (o *FeatureFlagConfig) SetFallthrough(v VariationOrRolloutRep)

SetFallthrough gets a reference to the given VariationOrRolloutRep and assigns it to the Fallthrough field.

func (*FeatureFlagConfig) SetLastModified ¶

func (o *FeatureFlagConfig) SetLastModified(v int64)

SetLastModified sets field value

func (*FeatureFlagConfig) SetMigrationSettings ¶

func (o *FeatureFlagConfig) SetMigrationSettings(v FlagConfigMigrationSettingsRep)

SetMigrationSettings gets a reference to the given FlagConfigMigrationSettingsRep and assigns it to the MigrationSettings field.

func (*FeatureFlagConfig) SetOffVariation ¶

func (o *FeatureFlagConfig) SetOffVariation(v int32)

SetOffVariation gets a reference to the given int32 and assigns it to the OffVariation field.

func (*FeatureFlagConfig) SetOn ¶

func (o *FeatureFlagConfig) SetOn(v bool)

SetOn sets field value

func (*FeatureFlagConfig) SetPrerequisites ¶

func (o *FeatureFlagConfig) SetPrerequisites(v []Prerequisite)

SetPrerequisites gets a reference to the given []Prerequisite and assigns it to the Prerequisites field.

func (*FeatureFlagConfig) SetRules ¶

func (o *FeatureFlagConfig) SetRules(v []Rule)

SetRules gets a reference to the given []Rule and assigns it to the Rules field.

func (*FeatureFlagConfig) SetSalt ¶

func (o *FeatureFlagConfig) SetSalt(v string)

SetSalt sets field value

func (*FeatureFlagConfig) SetSel ¶

func (o *FeatureFlagConfig) SetSel(v string)

SetSel sets field value

func (*FeatureFlagConfig) SetSite ¶

func (o *FeatureFlagConfig) SetSite(v Link)

SetSite sets field value

func (*FeatureFlagConfig) SetSummary ¶

func (o *FeatureFlagConfig) SetSummary(v FlagSummary)

SetSummary gets a reference to the given FlagSummary and assigns it to the Summary field.

func (*FeatureFlagConfig) SetTargets ¶

func (o *FeatureFlagConfig) SetTargets(v []Target)

SetTargets gets a reference to the given []Target and assigns it to the Targets field.

func (*FeatureFlagConfig) SetTrackEvents ¶

func (o *FeatureFlagConfig) SetTrackEvents(v bool)

SetTrackEvents sets field value

func (*FeatureFlagConfig) SetTrackEventsFallthrough ¶

func (o *FeatureFlagConfig) SetTrackEventsFallthrough(v bool)

SetTrackEventsFallthrough sets field value

func (*FeatureFlagConfig) SetVersion ¶

func (o *FeatureFlagConfig) SetVersion(v int32)

SetVersion sets field value

type FeatureFlagScheduledChange ¶

type FeatureFlagScheduledChange struct {
	Id           string `json:"_id"`
	CreationDate int64  `json:"_creationDate"`
	// The ID of the scheduled change maintainer
	MaintainerId string `json:"_maintainerId"`
	// Version of the scheduled change
	Version       int32                    `json:"_version"`
	ExecutionDate int64                    `json:"executionDate"`
	Instructions  []map[string]interface{} `json:"instructions"`
	// Details on any conflicting scheduled changes
	Conflicts interface{} `json:"conflicts,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

FeatureFlagScheduledChange struct for FeatureFlagScheduledChange

func NewFeatureFlagScheduledChange ¶

func NewFeatureFlagScheduledChange(id string, creationDate int64, maintainerId string, version int32, executionDate int64, instructions []map[string]interface{}) *FeatureFlagScheduledChange

NewFeatureFlagScheduledChange instantiates a new FeatureFlagScheduledChange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeatureFlagScheduledChangeWithDefaults ¶

func NewFeatureFlagScheduledChangeWithDefaults() *FeatureFlagScheduledChange

NewFeatureFlagScheduledChangeWithDefaults instantiates a new FeatureFlagScheduledChange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeatureFlagScheduledChange) GetConflicts ¶

func (o *FeatureFlagScheduledChange) GetConflicts() interface{}

GetConflicts returns the Conflicts field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FeatureFlagScheduledChange) GetConflictsOk ¶

func (o *FeatureFlagScheduledChange) GetConflictsOk() (*interface{}, bool)

GetConflictsOk returns a tuple with the Conflicts field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FeatureFlagScheduledChange) GetCreationDate ¶

func (o *FeatureFlagScheduledChange) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*FeatureFlagScheduledChange) GetCreationDateOk ¶

func (o *FeatureFlagScheduledChange) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*FeatureFlagScheduledChange) GetExecutionDate ¶

func (o *FeatureFlagScheduledChange) GetExecutionDate() int64

GetExecutionDate returns the ExecutionDate field value

func (*FeatureFlagScheduledChange) GetExecutionDateOk ¶

func (o *FeatureFlagScheduledChange) GetExecutionDateOk() (*int64, bool)

GetExecutionDateOk returns a tuple with the ExecutionDate field value and a boolean to check if the value has been set.

func (*FeatureFlagScheduledChange) GetId ¶

GetId returns the Id field value

func (*FeatureFlagScheduledChange) GetIdOk ¶

func (o *FeatureFlagScheduledChange) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*FeatureFlagScheduledChange) GetInstructions ¶

func (o *FeatureFlagScheduledChange) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*FeatureFlagScheduledChange) GetInstructionsOk ¶

func (o *FeatureFlagScheduledChange) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (o *FeatureFlagScheduledChange) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*FeatureFlagScheduledChange) GetLinksOk ¶

func (o *FeatureFlagScheduledChange) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagScheduledChange) GetMaintainerId ¶

func (o *FeatureFlagScheduledChange) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value

func (*FeatureFlagScheduledChange) GetMaintainerIdOk ¶

func (o *FeatureFlagScheduledChange) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value and a boolean to check if the value has been set.

func (*FeatureFlagScheduledChange) GetVersion ¶

func (o *FeatureFlagScheduledChange) GetVersion() int32

GetVersion returns the Version field value

func (*FeatureFlagScheduledChange) GetVersionOk ¶

func (o *FeatureFlagScheduledChange) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*FeatureFlagScheduledChange) HasConflicts ¶

func (o *FeatureFlagScheduledChange) HasConflicts() bool

HasConflicts returns a boolean if a field has been set.

func (o *FeatureFlagScheduledChange) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (FeatureFlagScheduledChange) MarshalJSON ¶

func (o FeatureFlagScheduledChange) MarshalJSON() ([]byte, error)

func (*FeatureFlagScheduledChange) SetConflicts ¶

func (o *FeatureFlagScheduledChange) SetConflicts(v interface{})

SetConflicts gets a reference to the given interface{} and assigns it to the Conflicts field.

func (*FeatureFlagScheduledChange) SetCreationDate ¶

func (o *FeatureFlagScheduledChange) SetCreationDate(v int64)

SetCreationDate sets field value

func (*FeatureFlagScheduledChange) SetExecutionDate ¶

func (o *FeatureFlagScheduledChange) SetExecutionDate(v int64)

SetExecutionDate sets field value

func (*FeatureFlagScheduledChange) SetId ¶

func (o *FeatureFlagScheduledChange) SetId(v string)

SetId sets field value

func (*FeatureFlagScheduledChange) SetInstructions ¶

func (o *FeatureFlagScheduledChange) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

func (o *FeatureFlagScheduledChange) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*FeatureFlagScheduledChange) SetMaintainerId ¶

func (o *FeatureFlagScheduledChange) SetMaintainerId(v string)

SetMaintainerId sets field value

func (*FeatureFlagScheduledChange) SetVersion ¶

func (o *FeatureFlagScheduledChange) SetVersion(v int32)

SetVersion sets field value

type FeatureFlagScheduledChanges ¶

type FeatureFlagScheduledChanges struct {
	// Array of scheduled changes
	Items []FeatureFlagScheduledChange `json:"items"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

FeatureFlagScheduledChanges struct for FeatureFlagScheduledChanges

func NewFeatureFlagScheduledChanges ¶

func NewFeatureFlagScheduledChanges(items []FeatureFlagScheduledChange) *FeatureFlagScheduledChanges

NewFeatureFlagScheduledChanges instantiates a new FeatureFlagScheduledChanges object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeatureFlagScheduledChangesWithDefaults ¶

func NewFeatureFlagScheduledChangesWithDefaults() *FeatureFlagScheduledChanges

NewFeatureFlagScheduledChangesWithDefaults instantiates a new FeatureFlagScheduledChanges object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeatureFlagScheduledChanges) GetItems ¶

GetItems returns the Items field value

func (*FeatureFlagScheduledChanges) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *FeatureFlagScheduledChanges) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*FeatureFlagScheduledChanges) GetLinksOk ¶

func (o *FeatureFlagScheduledChanges) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FeatureFlagScheduledChanges) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (FeatureFlagScheduledChanges) MarshalJSON ¶

func (o FeatureFlagScheduledChanges) MarshalJSON() ([]byte, error)

func (*FeatureFlagScheduledChanges) SetItems ¶

SetItems sets field value

func (o *FeatureFlagScheduledChanges) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type FeatureFlagStatus ¶

type FeatureFlagStatus struct {
	// Status of the flag
	Name string `json:"name"`
	// Timestamp of last time flag was requested
	LastRequested *time.Time `json:"lastRequested,omitempty"`
	// Default value seen from code
	Default interface{} `json:"default,omitempty"`
}

FeatureFlagStatus struct for FeatureFlagStatus

func NewFeatureFlagStatus ¶

func NewFeatureFlagStatus(name string) *FeatureFlagStatus

NewFeatureFlagStatus instantiates a new FeatureFlagStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeatureFlagStatusWithDefaults ¶

func NewFeatureFlagStatusWithDefaults() *FeatureFlagStatus

NewFeatureFlagStatusWithDefaults instantiates a new FeatureFlagStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeatureFlagStatus) GetDefault ¶

func (o *FeatureFlagStatus) GetDefault() interface{}

GetDefault returns the Default field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FeatureFlagStatus) GetDefaultOk ¶

func (o *FeatureFlagStatus) GetDefaultOk() (*interface{}, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FeatureFlagStatus) GetLastRequested ¶

func (o *FeatureFlagStatus) GetLastRequested() time.Time

GetLastRequested returns the LastRequested field value if set, zero value otherwise.

func (*FeatureFlagStatus) GetLastRequestedOk ¶

func (o *FeatureFlagStatus) GetLastRequestedOk() (*time.Time, bool)

GetLastRequestedOk returns a tuple with the LastRequested field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlagStatus) GetName ¶

func (o *FeatureFlagStatus) GetName() string

GetName returns the Name field value

func (*FeatureFlagStatus) GetNameOk ¶

func (o *FeatureFlagStatus) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*FeatureFlagStatus) HasDefault ¶

func (o *FeatureFlagStatus) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*FeatureFlagStatus) HasLastRequested ¶

func (o *FeatureFlagStatus) HasLastRequested() bool

HasLastRequested returns a boolean if a field has been set.

func (FeatureFlagStatus) MarshalJSON ¶

func (o FeatureFlagStatus) MarshalJSON() ([]byte, error)

func (*FeatureFlagStatus) SetDefault ¶

func (o *FeatureFlagStatus) SetDefault(v interface{})

SetDefault gets a reference to the given interface{} and assigns it to the Default field.

func (*FeatureFlagStatus) SetLastRequested ¶

func (o *FeatureFlagStatus) SetLastRequested(v time.Time)

SetLastRequested gets a reference to the given time.Time and assigns it to the LastRequested field.

func (*FeatureFlagStatus) SetName ¶

func (o *FeatureFlagStatus) SetName(v string)

SetName sets field value

type FeatureFlagStatusAcrossEnvironments ¶

type FeatureFlagStatusAcrossEnvironments struct {
	// Flag status for environment.
	Environments map[string]FeatureFlagStatus `json:"environments"`
	// feature flag key
	Key   string          `json:"key"`
	Links map[string]Link `json:"_links"`
}

FeatureFlagStatusAcrossEnvironments struct for FeatureFlagStatusAcrossEnvironments

func NewFeatureFlagStatusAcrossEnvironments ¶

func NewFeatureFlagStatusAcrossEnvironments(environments map[string]FeatureFlagStatus, key string, links map[string]Link) *FeatureFlagStatusAcrossEnvironments

NewFeatureFlagStatusAcrossEnvironments instantiates a new FeatureFlagStatusAcrossEnvironments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeatureFlagStatusAcrossEnvironmentsWithDefaults ¶

func NewFeatureFlagStatusAcrossEnvironmentsWithDefaults() *FeatureFlagStatusAcrossEnvironments

NewFeatureFlagStatusAcrossEnvironmentsWithDefaults instantiates a new FeatureFlagStatusAcrossEnvironments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeatureFlagStatusAcrossEnvironments) GetEnvironments ¶

GetEnvironments returns the Environments field value

func (*FeatureFlagStatusAcrossEnvironments) GetEnvironmentsOk ¶

func (o *FeatureFlagStatusAcrossEnvironments) GetEnvironmentsOk() (*map[string]FeatureFlagStatus, bool)

GetEnvironmentsOk returns a tuple with the Environments field value and a boolean to check if the value has been set.

func (*FeatureFlagStatusAcrossEnvironments) GetKey ¶

GetKey returns the Key field value

func (*FeatureFlagStatusAcrossEnvironments) GetKeyOk ¶

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*FeatureFlagStatusAcrossEnvironments) GetLinksOk ¶

func (o *FeatureFlagStatusAcrossEnvironments) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (FeatureFlagStatusAcrossEnvironments) MarshalJSON ¶

func (o FeatureFlagStatusAcrossEnvironments) MarshalJSON() ([]byte, error)

func (*FeatureFlagStatusAcrossEnvironments) SetEnvironments ¶

SetEnvironments sets field value

func (*FeatureFlagStatusAcrossEnvironments) SetKey ¶

SetKey sets field value

func (o *FeatureFlagStatusAcrossEnvironments) SetLinks(v map[string]Link)

SetLinks sets field value

type FeatureFlagStatuses ¶

type FeatureFlagStatuses struct {
	Links map[string]Link `json:"_links"`
	Items []FlagStatusRep `json:"items,omitempty"`
}

FeatureFlagStatuses struct for FeatureFlagStatuses

func NewFeatureFlagStatuses ¶

func NewFeatureFlagStatuses(links map[string]Link) *FeatureFlagStatuses

NewFeatureFlagStatuses instantiates a new FeatureFlagStatuses object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeatureFlagStatusesWithDefaults ¶

func NewFeatureFlagStatusesWithDefaults() *FeatureFlagStatuses

NewFeatureFlagStatusesWithDefaults instantiates a new FeatureFlagStatuses object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeatureFlagStatuses) GetItems ¶

func (o *FeatureFlagStatuses) GetItems() []FlagStatusRep

GetItems returns the Items field value if set, zero value otherwise.

func (*FeatureFlagStatuses) GetItemsOk ¶

func (o *FeatureFlagStatuses) GetItemsOk() ([]FlagStatusRep, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FeatureFlagStatuses) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FeatureFlagStatuses) GetLinksOk ¶

func (o *FeatureFlagStatuses) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*FeatureFlagStatuses) HasItems ¶

func (o *FeatureFlagStatuses) HasItems() bool

HasItems returns a boolean if a field has been set.

func (FeatureFlagStatuses) MarshalJSON ¶

func (o FeatureFlagStatuses) MarshalJSON() ([]byte, error)

func (*FeatureFlagStatuses) SetItems ¶

func (o *FeatureFlagStatuses) SetItems(v []FlagStatusRep)

SetItems gets a reference to the given []FlagStatusRep and assigns it to the Items field.

func (o *FeatureFlagStatuses) SetLinks(v map[string]Link)

SetLinks sets field value

type FeatureFlags ¶

type FeatureFlags struct {
	// An array of feature flags
	Items []FeatureFlag `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The total number of flags
	TotalCount *int32 `json:"totalCount,omitempty"`
	// The number of flags that have differences between environments. Only shown when query parameter <code>compare</code> is <code>true</code>.
	TotalCountWithDifferences *int32 `json:"totalCountWithDifferences,omitempty"`
}

FeatureFlags struct for FeatureFlags

func NewFeatureFlags ¶

func NewFeatureFlags(items []FeatureFlag, links map[string]Link) *FeatureFlags

NewFeatureFlags instantiates a new FeatureFlags object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFeatureFlagsWithDefaults ¶

func NewFeatureFlagsWithDefaults() *FeatureFlags

NewFeatureFlagsWithDefaults instantiates a new FeatureFlags object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FeatureFlags) GetItems ¶

func (o *FeatureFlags) GetItems() []FeatureFlag

GetItems returns the Items field value

func (*FeatureFlags) GetItemsOk ¶

func (o *FeatureFlags) GetItemsOk() ([]FeatureFlag, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *FeatureFlags) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FeatureFlags) GetLinksOk ¶

func (o *FeatureFlags) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*FeatureFlags) GetTotalCount ¶

func (o *FeatureFlags) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*FeatureFlags) GetTotalCountOk ¶

func (o *FeatureFlags) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlags) GetTotalCountWithDifferences ¶

func (o *FeatureFlags) GetTotalCountWithDifferences() int32

GetTotalCountWithDifferences returns the TotalCountWithDifferences field value if set, zero value otherwise.

func (*FeatureFlags) GetTotalCountWithDifferencesOk ¶

func (o *FeatureFlags) GetTotalCountWithDifferencesOk() (*int32, bool)

GetTotalCountWithDifferencesOk returns a tuple with the TotalCountWithDifferences field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FeatureFlags) HasTotalCount ¶

func (o *FeatureFlags) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*FeatureFlags) HasTotalCountWithDifferences ¶

func (o *FeatureFlags) HasTotalCountWithDifferences() bool

HasTotalCountWithDifferences returns a boolean if a field has been set.

func (FeatureFlags) MarshalJSON ¶

func (o FeatureFlags) MarshalJSON() ([]byte, error)

func (*FeatureFlags) SetItems ¶

func (o *FeatureFlags) SetItems(v []FeatureFlag)

SetItems sets field value

func (o *FeatureFlags) SetLinks(v map[string]Link)

SetLinks sets field value

func (*FeatureFlags) SetTotalCount ¶

func (o *FeatureFlags) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

func (*FeatureFlags) SetTotalCountWithDifferences ¶

func (o *FeatureFlags) SetTotalCountWithDifferences(v int32)

SetTotalCountWithDifferences gets a reference to the given int32 and assigns it to the TotalCountWithDifferences field.

type FeatureFlagsApiService ¶

type FeatureFlagsApiService service

FeatureFlagsApiService FeatureFlagsApi service

func (*FeatureFlagsApiService) CopyFeatureFlag ¶

func (a *FeatureFlagsApiService) CopyFeatureFlag(ctx context.Context, projectKey string, featureFlagKey string) ApiCopyFeatureFlagRequest

CopyFeatureFlag Copy feature flag

> ### Copying flag settings is an Enterprise feature > > Copying flag settings is available to customers on an Enterprise plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/).

Copy flag settings from a source environment to a target environment.

By default, this operation copies the entire flag configuration. You can use the `includedActions` or `excludedActions` to specify that only part of the flag configuration is copied.

If you provide the optional `currentVersion` of a flag, this operation tests to ensure that the current flag version in the environment matches the version you've specified. The operation rejects attempts to copy flag settings if the environment's current version of the flag does not match the version you've specified. You can use this to enforce optimistic locking on copy attempts.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key. The key identifies the flag in your code.
@return ApiCopyFeatureFlagRequest

func (*FeatureFlagsApiService) CopyFeatureFlagExecute ¶

Execute executes the request

@return FeatureFlag

func (*FeatureFlagsApiService) DeleteFeatureFlag ¶

func (a *FeatureFlagsApiService) DeleteFeatureFlag(ctx context.Context, projectKey string, featureFlagKey string) ApiDeleteFeatureFlagRequest

DeleteFeatureFlag Delete feature flag

Delete a feature flag in all environments. Use with caution: only delete feature flags your application no longer uses.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key. The key identifies the flag in your code.
@return ApiDeleteFeatureFlagRequest

func (*FeatureFlagsApiService) DeleteFeatureFlagExecute ¶

func (a *FeatureFlagsApiService) DeleteFeatureFlagExecute(r ApiDeleteFeatureFlagRequest) (*http.Response, error)

Execute executes the request

func (*FeatureFlagsApiService) GetExpiringContextTargets ¶

func (a *FeatureFlagsApiService) GetExpiringContextTargets(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiGetExpiringContextTargetsRequest

GetExpiringContextTargets Get expiring context targets for feature flag

Get a list of context targets on a feature flag that are scheduled for removal.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@return ApiGetExpiringContextTargetsRequest

func (*FeatureFlagsApiService) GetExpiringContextTargetsExecute ¶

Execute executes the request

@return ExpiringTargetGetResponse

func (*FeatureFlagsApiService) GetExpiringUserTargets ¶

func (a *FeatureFlagsApiService) GetExpiringUserTargets(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiGetExpiringUserTargetsRequest

GetExpiringUserTargets Get expiring user targets for feature flag

> ### Contexts are now available > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Get expiring context targets for feature flag](/tag/Feature-flags#operation/getExpiringContextTargets) instead of this endpoint. To learn more, read Contexts(https://docs.launchdarkly.com/home/contexts).

Get a list of user targets on a feature flag that are scheduled for removal.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@return ApiGetExpiringUserTargetsRequest

func (*FeatureFlagsApiService) GetExpiringUserTargetsExecute ¶

Execute executes the request

@return ExpiringUserTargetGetResponse

func (*FeatureFlagsApiService) GetFeatureFlag ¶

func (a *FeatureFlagsApiService) GetFeatureFlag(ctx context.Context, projectKey string, featureFlagKey string) ApiGetFeatureFlagRequest

GetFeatureFlag Get feature flag

Get a single feature flag by key. By default, this returns the configurations for all environments. You can filter environments with the `env` query parameter. For example, setting `env=production` restricts the returned configurations to just the `production` environment.

> #### Recommended use > > This endpoint can return a large amount of information. Specifying one or multiple environments with the `env` parameter can decrease response time and overall payload size. We recommend using this parameter to return only the environments relevant to your query.

### Expanding response

LaunchDarkly supports the `expand` query param to include additional fields in the response, with the following fields:

- `evaluation` includes evaluation information within returned environments, including which context kinds the flag has been evaluated for in the past 30 days - `migrationSettings` includes migration settings information within the flag and within returned environments. These settings are only included for migration flags, that is, where `purpose` is `migration`.

For example, `expand=evaluation` includes the `evaluation` field in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@return ApiGetFeatureFlagRequest

func (*FeatureFlagsApiService) GetFeatureFlagExecute ¶

Execute executes the request

@return FeatureFlag

func (*FeatureFlagsApiService) GetFeatureFlagStatus ¶

func (a *FeatureFlagsApiService) GetFeatureFlagStatus(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiGetFeatureFlagStatusRequest

GetFeatureFlagStatus Get feature flag status

Get the status for a particular feature flag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@return ApiGetFeatureFlagStatusRequest

func (*FeatureFlagsApiService) GetFeatureFlagStatusAcrossEnvironments ¶

func (a *FeatureFlagsApiService) GetFeatureFlagStatusAcrossEnvironments(ctx context.Context, projectKey string, featureFlagKey string) ApiGetFeatureFlagStatusAcrossEnvironmentsRequest

GetFeatureFlagStatusAcrossEnvironments Get flag status across environments

Get the status for a particular feature flag across environments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@return ApiGetFeatureFlagStatusAcrossEnvironmentsRequest

func (*FeatureFlagsApiService) GetFeatureFlagStatusAcrossEnvironmentsExecute ¶

Execute executes the request

@return FeatureFlagStatusAcrossEnvironments

func (*FeatureFlagsApiService) GetFeatureFlagStatusExecute ¶

Execute executes the request

@return FlagStatusRep

func (*FeatureFlagsApiService) GetFeatureFlagStatuses ¶

func (a *FeatureFlagsApiService) GetFeatureFlagStatuses(ctx context.Context, projectKey string, environmentKey string) ApiGetFeatureFlagStatusesRequest

GetFeatureFlagStatuses List feature flag statuses

Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as a state, which is one of the following:

- `new`: You created the flag fewer than seven days ago and it has never been requested. - `active`: LaunchDarkly is receiving requests for this flag, but there are either multiple variations configured, or it is toggled off, or there have been changes to configuration in the past seven days. - `inactive`: You created the feature flag more than seven days ago, and hasn't been requested within the past seven days. - `launched`: LaunchDarkly is receiving requests for this flag, it is toggled on, there is only one variation configured, and there have been no changes to configuration in the past seven days.

To learn more, read [Flag statuses](https://docs.launchdarkly.com/home/code/flag-status).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetFeatureFlagStatusesRequest

func (*FeatureFlagsApiService) GetFeatureFlagStatusesExecute ¶

Execute executes the request

@return FeatureFlagStatuses

func (*FeatureFlagsApiService) GetFeatureFlags ¶

func (a *FeatureFlagsApiService) GetFeatureFlags(ctx context.Context, projectKey string) ApiGetFeatureFlagsRequest

GetFeatureFlags List feature flags

Get a list of all feature flags in the given project. By default, each flag includes configurations for each environment. You can filter environments with the `env` query parameter. For example, setting `env=production` restricts the returned configurations to just your production environment. You can also filter feature flags by tag with the `tag` query parameter.

> #### Recommended use > > This endpoint can return a large amount of information. We recommend using some or all of these query parameters to decrease response time and overall payload size: `limit`, `env`, `query`, and `filter=creationDate`.

### Filtering flags

You can filter on certain fields using the `filter` query parameter. For example, setting `filter=query:dark-mode,tags:beta+test` matches flags with the string `dark-mode` in their key or name, ignoring case, which also have the tags `beta` and `test`.

The `filter` query parameter supports the following arguments:

| Filter argument | Description | Example | |-----------------------|-------------|----------------------| | `applicationEvaluated` | A string. It filters the list to flags that are evaluated in the application with the given key. | `filter=applicationEvaluated:com.launchdarkly.cafe` | | `archived` | (deprecated) A boolean value. It filters the list to archived flags. | Use `filter=state:archived` instead | | `contextKindsEvaluated` | A `+`-separated list of context kind keys. It filters the list to flags which have been evaluated in the past 30 days for all of the context kinds in the list. | `filter=contextKindsEvaluated:user+application` | | `contextKindTargeted` | A string. It filters the list to flags that are targeting the given context kind key. | `filter=contextKindTargeted:user` | | `codeReferences.max` | An integer value. Use `0` to return flags that do not have code references. | `filter=codeReferences.max:0` | | `codeReferences.min` | An integer value. Use `1` to return flags that do have code references. | `filter=codeReferences.min:1` | | `creationDate` | An object with an optional `before` field whose value is Unix time in milliseconds. It filters the list to flags created before the date. | `filter=creationDate:{"before":1690527600000}` | | `evaluated` | An object that contains a key of `after` and a value in Unix time in milliseconds. It filters the list to all flags that have been evaluated since the time you specify, in the environment provided. This filter requires the `filterEnv` filter. | `filter=evaluation:{"after":1690527600000}` | | `filterEnv` | A string with the key of a valid environment. You must use this field for filters that are environment-specific. If there are multiple environment-specific filters, you only need to include this field once. | `filter=evaluated:{"after": 1590768455282},filterEnv:production,status:active` | | `followerId` | A valid member ID. It filters the list to flags that are being followed by this member. | `filter=followerId:12ab3c45de678910abc12345` | | `hasDataExport` | A boolean value. It filters the list to flags that are exporting data in the specified environment. This includes flags that are exporting data from Experimentation. This filter requires the `filterEnv` filter. | `filter=hasDataExport:true,filterEnv:production` | | `hasExperiment` | A boolean value. It filters the list to flags that are used in an experiment. | `filter=hasExperiment:true` | | `maintainerId` | A valid member ID. It filters the list to flags that are maintained by this member. | `filter=maintainerId:12ab3c45de678910abc12345` | | `maintainerTeamKey` | A string. It filters the list to flags that are maintained by the team with this key. | `filter=maintainerTeamKey:example-team-key` | | `query` | A string. It filters the list to flags that include the specified string in their key or name. It is not case sensitive. | `filter=query:example` | | `state` | A string, either `live`, `deprecated`, or `archived`. It filters the list to flags in this state. | `filter=state:archived` | | `sdkAvailability` | A string, one of `client`, `mobile`, `anyClient`, `server`. Using `client` filters the list to flags whose client-side SDK availability is set to use the client-side ID. Using `mobile` filters to flags set to use the mobile key. Using `anyClient` filters to flags set to use either the client-side ID or the mobile key. Using `server` filters to flags set to use neither, that is, to flags only available in server-side SDKs. | `filter=sdkAvailability:client` | | `segmentTargeted` | A string. It filters the list to flags that target the segment with this key. This filter requires the `filterEnv` filter. | `filter=segmentTargeted:example-segment-key,filterEnv:production` | | `status` | A string, either `new`, `inactive`, `active`, or `launched`. It filters the list to flags with the specified status in the specified environment. This filter requires the `filterEnv` filter. | `filter=status:active,filterEnv:production` | | `tags` | A `+`-separated list of tags. It filters the list to flags that have all of the tags in the list. | `filter=tags:beta+test` | | `type` | A string, either `temporary` or `permanent`. It filters the list to flags with the specified type. | `filter=type:permanent` |

The documented values for the `filter` query are prior to URL encoding. For example, the `+` in `filter=tags:beta+test` must be encoded to `%2B`.

By default, this endpoint returns all flags. You can page through the list with the `limit` parameter and by following the `first`, `prev`, `next`, and `last` links in the returned `_links` field. These links will not be present if the pages they refer to don't exist. For example, the `first` and `prev` links will be missing from the response on the first page.

### Sorting flags

You can sort flags based on the following fields:

- `creationDate` sorts by the creation date of the flag. - `key` sorts by the key of the flag. - `maintainerId` sorts by the flag maintainer. - `name` sorts by flag name. - `tags` sorts by tags. - `targetingModifiedDate` sorts by the date that the flag's targeting rules were last modified in a given environment. It must be used with `env` parameter and it can not be combined with any other sort. If multiple `env` values are provided, it will perform sort using the first one. For example, `sort=-targetingModifiedDate&env=production&env=staging` returns results sorted by `targetingModifiedDate` for the `production` environment. - `type` sorts by flag type

All fields are sorted in ascending order by default. To sort in descending order, prefix the field with a dash ( - ). For example, `sort=-name` sorts the response by flag name in descending order.

### Expanding response

LaunchDarkly supports the `expand` query param to include additional fields in the response, with the following fields:

- `codeReferences` includes code references for the feature flag - `evaluation` includes evaluation information within returned environments, including which context kinds the flag has been evaluated for in the past 30 days - `migrationSettings` includes migration settings information within the flag and within returned environments. These settings are only included for migration flags, that is, where `purpose` is `migration`.

For example, `expand=evaluation` includes the `evaluation` field in the response.

### Migration flags For migration flags, the cohort information is included in the `rules` property of a flag's response, and default cohort information is included in the `fallthrough` property of a flag's response. To learn more, read [Migration Flags](https://docs.launchdarkly.com/home/flag-types/migration-flags).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiGetFeatureFlagsRequest

func (*FeatureFlagsApiService) GetFeatureFlagsExecute ¶

Execute executes the request

@return FeatureFlags

func (*FeatureFlagsApiService) PatchExpiringTargets ¶

func (a *FeatureFlagsApiService) PatchExpiringTargets(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiPatchExpiringTargetsRequest

PatchExpiringTargets Update expiring context targets on feature flag

Schedule a context for removal from individual targeting on a feature flag. The flag must already individually target the context.

You can add, update, or remove a scheduled removal date. You can only schedule a context for removal on a single variation per flag.

Updating an expiring target uses the semantic patch format. To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

### Instructions

Semantic patch requests support the following `kind` instructions for updating expiring targets.

<details> <summary>Click to expand instructions for <strong>updating expiring targets</strong></summary>

#### addExpiringTarget

Adds a date and time that LaunchDarkly will remove the context from the flag's individual targeting.

##### Parameters

* `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the context from individual targeting for this flag * `variationId`: ID of a variation on the flag * `contextKey`: The context key for the context to remove from individual targeting * `contextKind`: The kind of context represented by the `contextKey`

Here's an example:

```json

{
  "instructions": [{
    "kind": "addExpiringTarget",
    "value": 1754006460000,
    "variationId": "4254742c-71ae-411f-a992-43b18a51afe0",
    "contextKey": "user-key-123abc",
    "contextKind": "user"
  }]
}

```

#### updateExpiringTarget

Updates the date and time that LaunchDarkly will remove the context from the flag's individual targeting ¶

##### Parameters

* `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the context from individual targeting for this flag * `variationId`: ID of a variation on the flag * `contextKey`: The context key for the context to remove from individual targeting * `contextKind`: The kind of context represented by the `contextKey` * `version`: (Optional) The version of the expiring target to update. If included, update will fail if version doesn't match current version of the expiring target.

Here's an example:

```json

{
  "instructions": [{
    "kind": "updateExpiringTarget",
    "value": 1754006460000,
    "variationId": "4254742c-71ae-411f-a992-43b18a51afe0",
    "contextKey": "user-key-123abc",
    "contextKind": "user"
  }]
}

```

#### removeExpiringTarget

Removes the scheduled removal of the context from the flag's individual targeting. The context will remain part of the flag's individual targeting until you explicitly remove it, or until you schedule another removal.

##### Parameters

* `variationId`: ID of a variation on the flag * `contextKey`: The context key for the context to remove from individual targeting * `contextKind`: The kind of context represented by the `contextKey`

Here's an example:

```json

{
  "instructions": [{
    "kind": "removeExpiringTarget",
    "variationId": "4254742c-71ae-411f-a992-43b18a51afe0",
    "contextKey": "user-key-123abc",
    "contextKind": "user"
  }]
}

```

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@return ApiPatchExpiringTargetsRequest

func (*FeatureFlagsApiService) PatchExpiringTargetsExecute ¶

Execute executes the request

@return ExpiringTargetPatchResponse

func (*FeatureFlagsApiService) PatchExpiringUserTargets ¶

func (a *FeatureFlagsApiService) PatchExpiringUserTargets(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiPatchExpiringUserTargetsRequest

PatchExpiringUserTargets Update expiring user targets on feature flag

> ### Contexts are now available > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Update expiring context targets on feature flag](/tag/Feature-flags#operation/patchExpiringTargets) instead of this endpoint. To learn more, read Contexts(https://docs.launchdarkly.com/home/contexts).

Schedule a target for removal from individual targeting on a feature flag. The flag must already serve a variation to specific targets based on their key.

You can add, update, or remove a scheduled removal date. You can only schedule a target for removal on a single variation per flag.

Updating an expiring target uses the semantic patch format. To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

### Instructions

Semantic patch requests support the following `kind` instructions for updating expiring user targets.

<details> <summary>Click to expand instructions for <strong>updating expiring user targets</strong></summary>

#### addExpireUserTargetDate

Adds a date and time that LaunchDarkly will remove the user from the flag's individual targeting.

##### Parameters

* `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag * `variationId`: ID of a variation on the flag * `userKey`: The user key for the user to remove from individual targeting

#### updateExpireUserTargetDate

Updates the date and time that LaunchDarkly will remove the user from the flag's individual targeting.

##### Parameters

* `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag * `variationId`: ID of a variation on the flag * `userKey`: The user key for the user to remove from individual targeting * `version`: (Optional) The version of the expiring user target to update. If included, update will fail if version doesn't match current version of the expiring user target.

#### removeExpireUserTargetDate

Removes the scheduled removal of the user from the flag's individual targeting. The user will remain part of the flag's individual targeting until you explicitly remove them, or until you schedule another removal.

##### Parameters

* `variationId`: ID of a variation on the flag * `userKey`: The user key for the user to remove from individual targeting

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@return ApiPatchExpiringUserTargetsRequest

func (*FeatureFlagsApiService) PatchExpiringUserTargetsExecute ¶

Execute executes the request

@return ExpiringUserTargetPatchResponse

func (*FeatureFlagsApiService) PatchFeatureFlag ¶

func (a *FeatureFlagsApiService) PatchFeatureFlag(ctx context.Context, projectKey string, featureFlagKey string) ApiPatchFeatureFlagRequest

PatchFeatureFlag Update feature flag

Perform a partial update to a feature flag. The request body must be a valid semantic patch, JSON patch, or JSON merge patch. To learn more the different formats, read [Updates](/#section/Overview/Updates).

### Using semantic patches on a feature flag

To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

The body of a semantic patch request for updating feature flags takes the following properties:

* `comment` (string): (Optional) A description of the update. * `environmentKey` (string): (Required for some instructions only) The key of the LaunchDarkly environment. * `instructions` (array): (Required) A list of actions the update should perform. Each action in the list must be an object with a `kind` property that indicates the instruction. If the action requires parameters, you must include those parameters as additional fields in the object. The body of a single semantic patch can contain many different instructions.

### Instructions

Semantic patch requests support the following `kind` instructions for updating feature flags.

<details> <summary>Click to expand instructions for <strong>turning flags on and off</strong></summary>

These instructions require the `environmentKey` parameter.

#### turnFlagOff

Sets the flag's targeting state to **Off**.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [ { "kind": "turnFlagOff" } ]
}

```

#### turnFlagOn

Sets the flag's targeting state to **On**.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [ { "kind": "turnFlagOn" } ]
}

```

</details><br />

<details> <summary>Click to expand instructions for <strong>working with targeting and variations</strong></summary>

These instructions require the `environmentKey` parameter.

Several of the instructions for working with targeting and variations require flag rule IDs, variation IDs, or clause IDs as parameters. Each of these are returned as part of the [Get feature flag](/tag/Feature-flags#operation/getFeatureFlag) response. The flag rule ID is the `_id` field of each element in the `rules` array within each environment listed in the `environments` object. The variation ID is the `_id` field in each element of the `variations` array. The clause ID is the `_id` field of each element of the `clauses` array within the `rules` array within each environment listed in the `environments` object.

#### addClauses

Adds the given clauses to the rule indicated by `ruleId`.

##### Parameters

- `ruleId`: ID of a rule in the flag. - `clauses`: Array of clause objects, with `contextKind` (string), `attribute` (string), `op` (string), `negate` (boolean), and `values` (array of strings, numbers, or dates) properties. The `contextKind`, `attribute`, and `values` are case sensitive. The `op` must be lower-case.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "addClauses",
		"ruleId": "a902ef4a-2faf-4eaf-88e1-ecc356708a29",
		"clauses": [{
			"contextKind": "user",
			"attribute": "country",
			"op": "in",
			"negate": false,
			"values": ["USA", "Canada"]
		}]
	}]
}

```

#### addPrerequisite

Adds the flag indicated by `key` with variation `variationId` as a prerequisite to the flag in the path parameter.

##### Parameters

- `key`: Flag key of the prerequisite flag. - `variationId`: ID of a variation of the prerequisite flag.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "addPrerequisite",
		"key": "example-prereq-flag-key",
		"variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00"
	}]
}

```

#### addRule

Adds a new targeting rule to the flag. The rule may contain `clauses` and serve the variation that `variationId` indicates, or serve a percentage rollout that `rolloutWeights`, `rolloutBucketBy`, and `rolloutContextKind` indicate.

If you set `beforeRuleId`, this adds the new rule before the indicated rule. Otherwise, adds the new rule to the end of the list.

##### Parameters

- `clauses`: Array of clause objects, with `contextKind` (string), `attribute` (string), `op` (string), `negate` (boolean), and `values` (array of strings, numbers, or dates) properties. The `contextKind`, `attribute`, and `values` are case sensitive. The `op` must be lower-case. - `beforeRuleId`: (Optional) ID of a flag rule. - Either

  • `variationId`: ID of a variation of the flag.

    or

  • `rolloutWeights`: (Optional) Map of `variationId` to weight, in thousandths of a percent (0-100000).

  • `rolloutBucketBy`: (Optional) Context attribute available in the specified `rolloutContextKind`.

  • `rolloutContextKind`: (Optional) Context kind, defaults to `user`

Here's an example that uses a `variationId`:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [{
    "kind": "addRule",
    "variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00",
    "clauses": [{
      "contextKind": "organization",
      "attribute": "located_in",
      "op": "in",
      "negate": false,
      "values": ["Sweden", "Norway"]
    }]
  }]
}

```

Here's an example that uses a percentage rollout:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [{
    "kind": "addRule",
    "clauses": [{
      "contextKind": "organization",
      "attribute": "located_in",
      "op": "in",
      "negate": false,
      "values": ["Sweden", "Norway"]
    }],
    "rolloutContextKind": "organization",
    "rolloutWeights": {
      "2f43f67c-3e4e-4945-a18a-26559378ca00": 15000, // serve 15% this variation
      "e5830889-1ec5-4b0c-9cc9-c48790090c43": 85000  // serve 85% this variation
    }
  }]
}

```

#### addTargets

Adds context keys to the individual context targets for the context kind that `contextKind` specifies and the variation that `variationId` specifies. Returns an error if this causes the flag to target the same context key in multiple variations.

##### Parameters

- `values`: List of context keys. - `contextKind`: (Optional) Context kind to target, defaults to `user` - `variationId`: ID of a variation on the flag.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "addTargets",
		"values": ["context-key-123abc", "context-key-456def"],
		"variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00"
	}]
}

```

#### addUserTargets

Adds user keys to the individual user targets for the variation that `variationId` specifies. Returns an error if this causes the flag to target the same user key in multiple variations. If you are working with contexts, use `addTargets` instead of this instruction.

##### Parameters

- `values`: List of user keys. - `variationId`: ID of a variation on the flag.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "addUserTargets",
		"values": ["user-key-123abc", "user-key-456def"],
		"variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00"
	}]
}

```

#### addValuesToClause

Adds `values` to the values of the clause that `ruleId` and `clauseId` indicate. Does not update the context kind, attribute, or operator.

##### Parameters

- `ruleId`: ID of a rule in the flag. - `clauseId`: ID of a clause in that rule. - `values`: Array of strings, case sensitive.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "addValuesToClause",
		"ruleId": "a902ef4a-2faf-4eaf-88e1-ecc356708a29",
		"clauseId": "10a58772-3121-400f-846b-b8a04e8944ed",
		"values": ["beta_testers"]
	}]
}

```

#### addVariation

Adds a variation to the flag.

##### Parameters

- `value`: The variation value. - `name`: (Optional) The variation name. - `description`: (Optional) A description for the variation.

Here's an example:

```json

{
	"instructions": [ { "kind": "addVariation", "value": 20, "name": "New variation" } ]
}

```

#### clearTargets

Removes all individual targets from the variation that `variationId` specifies. This includes both user and non-user targets.

##### Parameters

- `variationId`: ID of a variation on the flag.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [ { "kind": "clearTargets", "variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00" } ]
}

```

#### clearUserTargets

Removes all individual user targets from the variation that `variationId` specifies. If you are working with contexts, use `clearTargets` instead of this instruction.

##### Parameters

- `variationId`: ID of a variation on the flag.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [ { "kind": "clearUserTargets", "variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00" } ]
}

```

#### removeClauses

Removes the clauses specified by `clauseIds` from the rule indicated by `ruleId`.

##### Parameters

- `ruleId`: ID of a rule in the flag. - `clauseIds`: Array of IDs of clauses in the rule.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "removeClauses",
		"ruleId": "a902ef4a-2faf-4eaf-88e1-ecc356708a29",
		"clauseIds": ["10a58772-3121-400f-846b-b8a04e8944ed", "36a461dc-235e-4b08-97b9-73ce9365873e"]
	}]
}

```

#### removePrerequisite

Removes the prerequisite flag indicated by `key`. Does nothing if this prerequisite does not exist.

##### Parameters

- `key`: Flag key of an existing prerequisite flag.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [ { "kind": "removePrerequisite", "key": "prereq-flag-key-123abc" } ]
}

```

#### removeRule

Removes the targeting rule specified by `ruleId`. Does nothing if the rule does not exist.

##### Parameters

- `ruleId`: ID of a rule in the flag.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [ { "kind": "removeRule", "ruleId": "a902ef4a-2faf-4eaf-88e1-ecc356708a29" } ]
}

```

#### removeTargets

Removes context keys from the individual context targets for the context kind that `contextKind` specifies and the variation that `variationId` specifies. Does nothing if the flag does not target the context keys.

##### Parameters

- `values`: List of context keys. - `contextKind`: (Optional) Context kind to target, defaults to `user` - `variationId`: ID of a flag variation.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "removeTargets",
		"values": ["context-key-123abc", "context-key-456def"],
		"variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00"
	}]
}

```

#### removeUserTargets

Removes user keys from the individual user targets for the variation that `variationId` specifies. Does nothing if the flag does not target the user keys. If you are working with contexts, use `removeTargets` instead of this instruction.

##### Parameters

- `values`: List of user keys. - `variationId`: ID of a flag variation.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "removeUserTargets",
		"values": ["user-key-123abc", "user-key-456def"],
		"variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00"
	}]
}

```

#### removeValuesFromClause

Removes `values` from the values of the clause indicated by `ruleId` and `clauseId`. Does not update the context kind, attribute, or operator.

##### Parameters

- `ruleId`: ID of a rule in the flag. - `clauseId`: ID of a clause in that rule. - `values`: Array of strings, case sensitive.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "removeValuesFromClause",
		"ruleId": "a902ef4a-2faf-4eaf-88e1-ecc356708a29",
		"clauseId": "10a58772-3121-400f-846b-b8a04e8944ed",
		"values": ["beta_testers"]
	}]
}

```

#### removeVariation

Removes a variation from the flag.

##### Parameters

- `variationId`: ID of a variation of the flag to remove.

Here's an example:

```json

{
	"instructions": [ { "kind": "removeVariation", "variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00" } ]
}

```

#### reorderRules

Rearranges the rules to match the order given in `ruleIds`. Returns an error if `ruleIds` does not match the current set of rules on the flag.

##### Parameters

- `ruleIds`: Array of IDs of all rules in the flag.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "reorderRules",
		"ruleIds": ["a902ef4a-2faf-4eaf-88e1-ecc356708a29", "63c238d1-835d-435e-8f21-c8d5e40b2a3d"]
	}]
}

```

#### replacePrerequisites

Removes all existing prerequisites and replaces them with the list you provide.

##### Parameters

- `prerequisites`: A list of prerequisites. Each item in the list must include a flag `key` and `variationId`.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [
    {
      "kind": "replacePrerequisites",
      "prerequisites": [
        {
          "key": "prereq-flag-key-123abc",
          "variationId": "10a58772-3121-400f-846b-b8a04e8944ed"
        },
        {
          "key": "another-prereq-flag-key-456def",
          "variationId": "e5830889-1ec5-4b0c-9cc9-c48790090c43"
        }
      ]
    }
  ]
}

```

#### replaceRules

Removes all targeting rules for the flag and replaces them with the list you provide.

##### Parameters

- `rules`: A list of rules.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [
    {
      "kind": "replaceRules",
      "rules": [
        {
          "variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00",
          "description": "My new rule",
          "clauses": [
            {
              "contextKind": "user",
              "attribute": "segmentMatch",
              "op": "segmentMatch",
              "values": ["test"]
            }
          ],
          "trackEvents": true
        }
      ]
    }
  ]
}

```

#### replaceTargets

Removes all existing targeting and replaces it with the list of targets you provide.

##### Parameters

- `targets`: A list of context targeting. Each item in the list includes an optional `contextKind` that defaults to `user`, a required `variationId`, and a required list of `values`.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [
    {
      "kind": "replaceTargets",
      "targets": [
        {
          "contextKind": "user",
          "variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00",
          "values": ["user-key-123abc"]
        },
        {
          "contextKind": "device",
          "variationId": "e5830889-1ec5-4b0c-9cc9-c48790090c43",
          "values": ["device-key-456def"]
        }
      ]
    }
  ]
}

```

#### replaceUserTargets

Removes all existing user targeting and replaces it with the list of targets you provide. In the list of targets, you must include a target for each of the flag's variations. If you are working with contexts, use `replaceTargets` instead of this instruction.

##### Parameters

- `targets`: A list of user targeting. Each item in the list must include a `variationId` and a list of `values`.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [
    {
      "kind": "replaceUserTargets",
      "targets": [
        {
          "variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00",
          "values": ["user-key-123abc", "user-key-456def"]
        },
        {
          "variationId": "e5830889-1ec5-4b0c-9cc9-c48790090c43",
          "values": ["user-key-789ghi"]
        }
      ]
    }
  ]
}

```

#### updateClause

Replaces the clause indicated by `ruleId` and `clauseId` with `clause`.

##### Parameters

- `ruleId`: ID of a rule in the flag. - `clauseId`: ID of a clause in that rule. - `clause`: New `clause` object, with `contextKind` (string), `attribute` (string), `op` (string), `negate` (boolean), and `values` (array of strings, numbers, or dates) properties. The `contextKind`, `attribute`, and `values` are case sensitive. The `op` must be lower-case.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [{
    "kind": "updateClause",
    "ruleId": "a902ef4a-2faf-4eaf-88e1-ecc356708a29",
    "clauseId": "10c7462a-2062-45ba-a8bb-dfb3de0f8af5",
    "clause": {
      "contextKind": "user",
      "attribute": "country",
      "op": "in",
      "negate": false,
      "values": ["Mexico", "Canada"]
    }
  }]
}

```

#### updateDefaultVariation

Updates the default on or off variation of the flag.

##### Parameters

- `onVariationValue`: (Optional) The value of the variation of the new on variation. - `offVariationValue`: (Optional) The value of the variation of the new off variation

Here's an example:

```json

{
	"instructions": [ { "kind": "updateDefaultVariation", "OnVariationValue": true, "OffVariationValue": false } ]
}

```

#### updateFallthroughVariationOrRollout

Updates the default or "fallthrough" rule for the flag, which the flag serves when a context matches none of the targeting rules. The rule can serve either the variation that `variationId` indicates, or a percentage rollout that `rolloutWeights` and `rolloutBucketBy` indicate.

##### Parameters

- `variationId`: ID of a variation of the flag.

or

- `rolloutWeights`: Map of `variationId` to weight, in thousandths of a percent (0-100000). - `rolloutBucketBy`: (Optional) Context attribute available in the specified `rolloutContextKind`. - `rolloutContextKind`: (Optional) Context kind, defaults to `user`

Here's an example that uses a `variationId`:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "updateFallthroughVariationOrRollout",
		"variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00"
	}]
}

```

Here's an example that uses a percentage rollout:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "updateFallthroughVariationOrRollout",
		"rolloutContextKind": "user",
		"rolloutWeights": {
			"2f43f67c-3e4e-4945-a18a-26559378ca00": 15000, // serve 15% this variation
			"e5830889-1ec5-4b0c-9cc9-c48790090c43": 85000  // serve 85% this variation
		}
	}]
}

```

#### updateOffVariation

Updates the default off variation to `variationId`. The flag serves the default off variation when the flag's targeting is **Off**.

##### Parameters

- `variationId`: ID of a variation of the flag.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [ { "kind": "updateOffVariation", "variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00" } ]
}

```

#### updatePrerequisite

Changes the prerequisite flag that `key` indicates to use the variation that `variationId` indicates. Returns an error if this prerequisite does not exist.

##### Parameters

- `key`: Flag key of an existing prerequisite flag. - `variationId`: ID of a variation of the prerequisite flag.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "updatePrerequisite",
		"key": "example-prereq-flag-key",
		"variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00"
	}]
}

```

#### updateRuleDescription

Updates the description of the feature flag rule.

##### Parameters

- `description`: The new human-readable description for this rule. - `ruleId`: The ID of the rule. You can retrieve this by making a GET request for the flag.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "updateRuleDescription",
		"description": "New rule description",
		"ruleId": "a902ef4a-2faf-4eaf-88e1-ecc356708a29"
	}]
}

```

#### updateRuleTrackEvents

Updates whether or not LaunchDarkly tracks events for the feature flag associated with this rule.

##### Parameters

- `ruleId`: The ID of the rule. You can retrieve this by making a GET request for the flag. - `trackEvents`: Whether or not events are tracked.

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "updateRuleTrackEvents",
		"ruleId": "a902ef4a-2faf-4eaf-88e1-ecc356708a29",
		"trackEvents": true
	}]
}

```

#### updateRuleVariationOrRollout

Updates what `ruleId` serves when its clauses evaluate to true. The rule can serve either the variation that `variationId` indicates, or a percent rollout that `rolloutWeights` and `rolloutBucketBy` indicate.

##### Parameters

- `ruleId`: ID of a rule in the flag. - `variationId`: ID of a variation of the flag.

or

- `rolloutWeights`: Map of `variationId` to weight, in thousandths of a percent (0-100000). - `rolloutBucketBy`: (Optional) Context attribute available in the specified `rolloutContextKind`. - `rolloutContextKind`: (Optional) Context kind, defaults to `user`

Here's an example:

```json

{
	"environmentKey": "environment-key-123abc",
	"instructions": [{
		"kind": "updateRuleVariationOrRollout",
		"ruleId": "a902ef4a-2faf-4eaf-88e1-ecc356708a29",
		"variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00"
	}]
}

```

#### updateTrackEvents

Updates whether or not LaunchDarkly tracks events for the feature flag, for all rules.

##### Parameters

- `trackEvents`: Whether or not events are tracked.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [ { "kind": "updateTrackEvents", "trackEvents": true } ]
}

```

#### updateTrackEventsFallthrough

Updates whether or not LaunchDarkly tracks events for the feature flag, for the default rule.

##### Parameters

- `trackEvents`: Whether or not events are tracked.

Here's an example:

```json

{
  "environmentKey": "environment-key-123abc",
  "instructions": [ { "kind": "updateTrackEventsFallthrough", "trackEvents": true } ]
}

```

#### updateVariation

Updates a variation of the flag.

##### Parameters

- `variationId`: The ID of the variation to update. - `name`: (Optional) The updated variation name. - `value`: (Optional) The updated variation value. - `description`: (Optional) The updated variation description.

Here's an example:

```json

{
	"instructions": [ { "kind": "updateVariation", "variationId": "2f43f67c-3e4e-4945-a18a-26559378ca00", "value": 20 } ]
}

```

</details><br />

<details> <summary>Click to expand instructions for <strong>updating flag settings</strong></summary>

These instructions do not require the `environmentKey` parameter. They make changes that apply to the flag across all environments.

#### addCustomProperties

Adds a new custom property to the feature flag. Custom properties are used to associate feature flags with LaunchDarkly integrations. For example, if you create an integration with an issue tracking service, you may want to associate a flag with a list of issues related to a feature's development.

##### Parameters

  • `key`: The custom property key.
  • `name`: The custom property name.
  • `values`: A list of the associated values for the custom property.

Here's an example:

```json

{
	"instructions": [{
		"kind": "addCustomProperties",
		"key": "example-custom-property",
		"name": "Example custom property",
		"values": ["value1", "value2"]
	}]
}

```

#### addTags

Adds tags to the feature flag.

##### Parameters

- `values`: A list of tags to add.

Here's an example:

```json

{
  "instructions": [ { "kind": "addTags", "values": ["tag1", "tag2"] } ]
}

```

#### makeFlagPermanent

Marks the feature flag as permanent. LaunchDarkly does not prompt you to remove permanent flags, even if one variation is rolled out to all your customers.

Here's an example:

```json

{
  "instructions": [ { "kind": "makeFlagPermanent" } ]
}

```

#### makeFlagTemporary

Marks the feature flag as temporary.

Here's an example:

```json

{
  "instructions": [ { "kind": "makeFlagTemporary" } ]
}

```

#### removeCustomProperties

Removes the associated values from a custom property. If all the associated values are removed, this instruction also removes the custom property.

##### Parameters

  • `key`: The custom property key.
  • `values`: A list of the associated values to remove from the custom property.

```json

{
	"instructions": [{
		"kind": "replaceCustomProperties",
		"key": "example-custom-property",
		"values": ["value1", "value2"]
	}]
}

```

#### removeMaintainer

Removes the flag's maintainer. To set a new maintainer, use the flag's **Settings** tab in the LaunchDarkly user interface.

Here's an example:

```json

{
  "instructions": [ { "kind": "removeMaintainer" } ]
}

```

#### removeTags

Removes tags from the feature flag.

##### Parameters

- `values`: A list of tags to remove.

Here's an example:

```json

{
  "instructions": [ { "kind": "removeTags", "values": ["tag1", "tag2"] } ]
}

```

#### replaceCustomProperties

Replaces the existing associated values for a custom property with the new values.

##### Parameters

  • `key`: The custom property key.
  • `name`: The custom property name.
  • `values`: A list of the new associated values for the custom property.

Here's an example:

```json

{
 "instructions": [{
   "kind": "replaceCustomProperties",
   "key": "example-custom-property",
   "name": "Example custom property",
   "values": ["value1", "value2"]
 }]
}

```

#### turnOffClientSideAvailability

Turns off client-side SDK availability for the flag. This is equivalent to unchecking the **SDKs using Mobile Key** and/or **SDKs using client-side ID** boxes for the flag. If you're using a client-side or mobile SDK, you must expose your feature flags in order for the client-side or mobile SDKs to evaluate them.

##### Parameters

- `value`: Use "usingMobileKey" to turn off availability for mobile SDKs. Use "usingEnvironmentId" to turn on availability for client-side SDKs.

Here's an example:

```json

{
  "instructions": [ { "kind": "turnOffClientSideAvailability", "value": "usingMobileKey" } ]
}

```

#### turnOnClientSideAvailability

Turns on client-side SDK availability for the flag. This is equivalent to unchecking the **SDKs using Mobile Key** and/or **SDKs using client-side ID** boxes for the flag. If you're using a client-side or mobile SDK, you must expose your feature flags in order for the client-side or mobile SDKs to evaluate them.

##### Parameters

- `value`: Use "usingMobileKey" to turn on availability for mobile SDKs. Use "usingEnvironmentId" to turn on availability for client-side SDKs.

Here's an example:

```json

{
  "instructions": [ { "kind": "turnOnClientSideAvailability", "value": "usingMobileKey" } ]
}

```

#### updateDescription

Updates the feature flag description.

##### Parameters

- `value`: The new description.

Here's an example:

```json

{
  "instructions": [ { "kind": "updateDescription", "value": "Updated flag description" } ]
}

``` #### updateMaintainerMember

Updates the maintainer of the flag to an existing member and removes the existing maintainer.

##### Parameters

- `value`: The ID of the member.

Here's an example:

```json

{
  "instructions": [ { "kind": "updateMaintainerMember", "value": "61e9b714fd47591727db558a" } ]
}

```

#### updateMaintainerTeam

Updates the maintainer of the flag to an existing team and removes the existing maintainer.

##### Parameters

- `value`: The key of the team.

Here's an example:

```json

{
  "instructions": [ { "kind": "updateMaintainerTeam", "value": "example-team-key" } ]
}

```

#### updateName

Updates the feature flag name.

##### Parameters

- `value`: The new name.

Here's an example:

```json

{
  "instructions": [ { "kind": "updateName", "value": "Updated flag name" } ]
}

```

</details><br />

<details> <summary>Click to expand instructions for <strong>updating the flag lifecycle</strong></summary>

These instructions do not require the `environmentKey` parameter. They make changes that apply to the flag across all environments.

#### archiveFlag

Archives the feature flag. This retires it from LaunchDarkly without deleting it. You cannot archive a flag that is a prerequisite of other flags.

```json

{
  "instructions": [ { "kind": "archiveFlag" } ]
}

```

#### deleteFlag

Deletes the feature flag and its rules. You cannot restore a deleted flag. If this flag is requested again, the flag value defined in code will be returned for all contexts.

Here's an example:

```json

{
  "instructions": [ { "kind": "deleteFlag" } ]
}

```

#### deprecateFlag

Deprecates the feature flag. This hides it from the live flags list without archiving or deleting it.

Here's an example:

```json

{
  "instructions": [ { "kind": "deprecateFlag" } ]
}

```

#### restoreDeprecatedFlag

Restores the feature flag if it was previously deprecated.

Here's an example:

```json

{
  "instructions": [ { "kind": "restoreDeprecatedFlag" } ]
}

```

#### restoreFlag

Restores the feature flag if it was previously archived.

Here's an example:

```json

{
  "instructions": [ { "kind": "restoreFlag" } ]
}

```

</details>

### Using JSON patches on a feature flag

If you do not include the semantic patch header described above, you can use a [JSON patch](/reference#updates-using-json-patch) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes.

In the JSON patch representation, use a JSON pointer in the `path` element to describe what field to change. Use the [Get feature flag](/tag/Feature-flags#operation/getFeatureFlag) endpoint to find the field you want to update.

There are a few special cases to keep in mind when determining the value of the `path` element:

  • To add an individual target to a specific variation if the flag variation already has individual targets, the path for the JSON patch operation is:

    ```json [ { "op": "add", "path": "/environments/devint/targets/0/values/-", "value": "TestClient10" } ] ```

  • To add an individual target to a specific variation if the flag variation does not already have individual targets, the path for the JSON patch operation is:

    ```json [ { "op": "add", "path": "/environments/devint/targets/-", "value": { "variation": 0, "values": ["TestClient10"] } } ] ```

  • To add a flag to a release pipeline, the path for the JSON patch operation is:

    ```json [ { "op": "add", "path": "/releasePipelineKey", "value": "example-release-pipeline-key" } ] ```

### Required approvals If a request attempts to alter a flag configuration in an environment where approvals are required for the flag, the request will fail with a 405. Changes to the flag configuration in that environment will require creating an [approval request](/tag/Approvals) or a [workflow](/tag/Workflows).

### Conflicts If a flag configuration change made through this endpoint would cause a pending scheduled change or approval request to fail, this endpoint will return a 400. You can ignore this check by adding an `ignoreConflicts` query parameter set to `true`.

### Migration flags For migration flags, the cohort information is included in the `rules` property of a flag's response. You can update cohorts by updating `rules`. Default cohort information is included in the `fallthrough` property of a flag's response. You can update the default cohort by updating `fallthrough`. When you update the rollout for a cohort or the default cohort through the API, provide a rollout instead of a single `variationId`. To learn more, read [Migration Flags](https://docs.launchdarkly.com/home/flag-types/migration-flags).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key. The key identifies the flag in your code.
@return ApiPatchFeatureFlagRequest

func (*FeatureFlagsApiService) PatchFeatureFlagExecute ¶

Execute executes the request

@return FeatureFlag

func (*FeatureFlagsApiService) PostFeatureFlag ¶

func (a *FeatureFlagsApiService) PostFeatureFlag(ctx context.Context, projectKey string) ApiPostFeatureFlagRequest

PostFeatureFlag Create a feature flag

Create a feature flag with the given name, key, and variations.

<details> <summary>Click to expand instructions for <strong>creating a migration flag</strong></summary>

### Creating a migration flag

When you create a migration flag, the variations are pre-determined based on the number of stages in the migration.

To create a migration flag, omit the `variations` and `defaults` information. Instead, provide a `purpose` of `migration`, and `migrationSettings`. If you create a migration flag with six stages, `contextKind` is required. Otherwise, it should be omitted.

Here's an example:

```json

{
  "key": "flag-key-123",
  "purpose": "migration",
  "migrationSettings": {
    "stageCount": 6,
    "contextKind": "account"
  }
}

```

To learn more, read [Migration Flags](https://docs.launchdarkly.com/home/flag-types/migration-flags).

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiPostFeatureFlagRequest

func (*FeatureFlagsApiService) PostFeatureFlagExecute ¶

Execute executes the request

@return FeatureFlag

type FeatureFlagsBetaApiService ¶

type FeatureFlagsBetaApiService service

FeatureFlagsBetaApiService FeatureFlagsBetaApi service

func (*FeatureFlagsBetaApiService) GetDependentFlags ¶

func (a *FeatureFlagsBetaApiService) GetDependentFlags(ctx context.Context, projectKey string, featureFlagKey string) ApiGetDependentFlagsRequest

GetDependentFlags List dependent feature flags

> ### Flag prerequisites is an Enterprise feature > > Flag prerequisites is available to customers on an Enterprise plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/).

List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite. To learn more, read [Flag prerequisites](https://docs.launchdarkly.com/home/targeting-flags/prerequisites).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@return ApiGetDependentFlagsRequest

func (*FeatureFlagsBetaApiService) GetDependentFlagsByEnv ¶

func (a *FeatureFlagsBetaApiService) GetDependentFlagsByEnv(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiGetDependentFlagsByEnvRequest

GetDependentFlagsByEnv List dependent feature flags by environment

> ### Flag prerequisites is an Enterprise feature > > Flag prerequisites is available to customers on an Enterprise plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/).

List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite. To learn more, read [Flag prerequisites](https://docs.launchdarkly.com/home/targeting-flags/prerequisites).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@return ApiGetDependentFlagsByEnvRequest

func (*FeatureFlagsBetaApiService) GetDependentFlagsByEnvExecute ¶

Execute executes the request

@return DependentFlagsByEnvironment

func (*FeatureFlagsBetaApiService) GetDependentFlagsExecute ¶

Execute executes the request

@return MultiEnvironmentDependentFlags

func (*FeatureFlagsBetaApiService) PostMigrationSafetyIssues ¶

func (a *FeatureFlagsBetaApiService) PostMigrationSafetyIssues(ctx context.Context, projectKey string, flagKey string, environmentKey string) ApiPostMigrationSafetyIssuesRequest

PostMigrationSafetyIssues Get migration safety issues

Returns the migration safety issues that are associated with the POSTed flag patch. The patch must use the semantic patch format for updating feature flags.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param flagKey The migration flag key
@param environmentKey The environment key
@return ApiPostMigrationSafetyIssuesRequest

func (*FeatureFlagsBetaApiService) PostMigrationSafetyIssuesExecute ¶

Execute executes the request

@return []MigrationSafetyIssueRep

type FileRep ¶

type FileRep struct {
	// The imported file name, including the extension
	Filename *string `json:"filename,omitempty"`
	// The imported file status
	Status *string `json:"status,omitempty"`
}

FileRep struct for FileRep

func NewFileRep ¶

func NewFileRep() *FileRep

NewFileRep instantiates a new FileRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFileRepWithDefaults ¶

func NewFileRepWithDefaults() *FileRep

NewFileRepWithDefaults instantiates a new FileRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FileRep) GetFilename ¶

func (o *FileRep) GetFilename() string

GetFilename returns the Filename field value if set, zero value otherwise.

func (*FileRep) GetFilenameOk ¶

func (o *FileRep) GetFilenameOk() (*string, bool)

GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileRep) GetStatus ¶

func (o *FileRep) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*FileRep) GetStatusOk ¶

func (o *FileRep) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileRep) HasFilename ¶

func (o *FileRep) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (*FileRep) HasStatus ¶

func (o *FileRep) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (FileRep) MarshalJSON ¶

func (o FileRep) MarshalJSON() ([]byte, error)

func (*FileRep) SetFilename ¶

func (o *FileRep) SetFilename(v string)

SetFilename gets a reference to the given string and assigns it to the Filename field.

func (*FileRep) SetStatus ¶

func (o *FileRep) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type FlagConfigApprovalRequestResponse ¶

type FlagConfigApprovalRequestResponse struct {
	// The ID of this approval request
	Id string `json:"_id"`
	// Version of the approval request
	Version      int32  `json:"_version"`
	CreationDate int64  `json:"creationDate"`
	ServiceKind  string `json:"serviceKind"`
	// The ID of the member who requested the approval
	RequestorId *string `json:"requestorId,omitempty"`
	// A human-friendly name for the approval request
	Description *string `json:"description,omitempty"`
	// Current status of the review of this approval request
	ReviewStatus string `json:"reviewStatus"`
	// An array of individual reviews of this approval request
	AllReviews []ReviewResponse `json:"allReviews"`
	// An array of member IDs. These members are notified to review the approval request.
	NotifyMemberIds []string `json:"notifyMemberIds"`
	AppliedDate     *int64   `json:"appliedDate,omitempty"`
	// The member ID of the member who applied the approval request
	AppliedByMemberId *string `json:"appliedByMemberId,omitempty"`
	// The service token ID of the service token which applied the approval request
	AppliedByServiceTokenId *string `json:"appliedByServiceTokenId,omitempty"`
	// Current status of the approval request
	Status       string                   `json:"status"`
	Instructions []map[string]interface{} `json:"instructions"`
	// Details on any conflicting approval requests
	Conflicts []Conflict `json:"conflicts"`
	// The location and content type of related resources
	Links         map[string]interface{} `json:"_links"`
	ExecutionDate *int64                 `json:"executionDate,omitempty"`
	// ID of scheduled change to edit or delete
	OperatingOnId          *string              `json:"operatingOnId,omitempty"`
	IntegrationMetadata    *IntegrationMetadata `json:"integrationMetadata,omitempty"`
	Source                 *CopiedFromEnv       `json:"source,omitempty"`
	CustomWorkflowMetadata *CustomWorkflowMeta  `json:"customWorkflowMetadata,omitempty"`
}

FlagConfigApprovalRequestResponse struct for FlagConfigApprovalRequestResponse

func NewFlagConfigApprovalRequestResponse ¶

func NewFlagConfigApprovalRequestResponse(id string, version int32, creationDate int64, serviceKind string, reviewStatus string, allReviews []ReviewResponse, notifyMemberIds []string, status string, instructions []map[string]interface{}, conflicts []Conflict, links map[string]interface{}) *FlagConfigApprovalRequestResponse

NewFlagConfigApprovalRequestResponse instantiates a new FlagConfigApprovalRequestResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagConfigApprovalRequestResponseWithDefaults ¶

func NewFlagConfigApprovalRequestResponseWithDefaults() *FlagConfigApprovalRequestResponse

NewFlagConfigApprovalRequestResponseWithDefaults instantiates a new FlagConfigApprovalRequestResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagConfigApprovalRequestResponse) GetAllReviews ¶

GetAllReviews returns the AllReviews field value

func (*FlagConfigApprovalRequestResponse) GetAllReviewsOk ¶

func (o *FlagConfigApprovalRequestResponse) GetAllReviewsOk() ([]ReviewResponse, bool)

GetAllReviewsOk returns a tuple with the AllReviews field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetAppliedByMemberId ¶

func (o *FlagConfigApprovalRequestResponse) GetAppliedByMemberId() string

GetAppliedByMemberId returns the AppliedByMemberId field value if set, zero value otherwise.

func (*FlagConfigApprovalRequestResponse) GetAppliedByMemberIdOk ¶

func (o *FlagConfigApprovalRequestResponse) GetAppliedByMemberIdOk() (*string, bool)

GetAppliedByMemberIdOk returns a tuple with the AppliedByMemberId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetAppliedByServiceTokenId ¶

func (o *FlagConfigApprovalRequestResponse) GetAppliedByServiceTokenId() string

GetAppliedByServiceTokenId returns the AppliedByServiceTokenId field value if set, zero value otherwise.

func (*FlagConfigApprovalRequestResponse) GetAppliedByServiceTokenIdOk ¶

func (o *FlagConfigApprovalRequestResponse) GetAppliedByServiceTokenIdOk() (*string, bool)

GetAppliedByServiceTokenIdOk returns a tuple with the AppliedByServiceTokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetAppliedDate ¶

func (o *FlagConfigApprovalRequestResponse) GetAppliedDate() int64

GetAppliedDate returns the AppliedDate field value if set, zero value otherwise.

func (*FlagConfigApprovalRequestResponse) GetAppliedDateOk ¶

func (o *FlagConfigApprovalRequestResponse) GetAppliedDateOk() (*int64, bool)

GetAppliedDateOk returns a tuple with the AppliedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetConflicts ¶

func (o *FlagConfigApprovalRequestResponse) GetConflicts() []Conflict

GetConflicts returns the Conflicts field value

func (*FlagConfigApprovalRequestResponse) GetConflictsOk ¶

func (o *FlagConfigApprovalRequestResponse) GetConflictsOk() ([]Conflict, bool)

GetConflictsOk returns a tuple with the Conflicts field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetCreationDate ¶

func (o *FlagConfigApprovalRequestResponse) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*FlagConfigApprovalRequestResponse) GetCreationDateOk ¶

func (o *FlagConfigApprovalRequestResponse) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetCustomWorkflowMetadata ¶

func (o *FlagConfigApprovalRequestResponse) GetCustomWorkflowMetadata() CustomWorkflowMeta

GetCustomWorkflowMetadata returns the CustomWorkflowMetadata field value if set, zero value otherwise.

func (*FlagConfigApprovalRequestResponse) GetCustomWorkflowMetadataOk ¶

func (o *FlagConfigApprovalRequestResponse) GetCustomWorkflowMetadataOk() (*CustomWorkflowMeta, bool)

GetCustomWorkflowMetadataOk returns a tuple with the CustomWorkflowMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetDescription ¶

func (o *FlagConfigApprovalRequestResponse) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*FlagConfigApprovalRequestResponse) GetDescriptionOk ¶

func (o *FlagConfigApprovalRequestResponse) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetExecutionDate ¶

func (o *FlagConfigApprovalRequestResponse) GetExecutionDate() int64

GetExecutionDate returns the ExecutionDate field value if set, zero value otherwise.

func (*FlagConfigApprovalRequestResponse) GetExecutionDateOk ¶

func (o *FlagConfigApprovalRequestResponse) GetExecutionDateOk() (*int64, bool)

GetExecutionDateOk returns a tuple with the ExecutionDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetId ¶

GetId returns the Id field value

func (*FlagConfigApprovalRequestResponse) GetIdOk ¶

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetInstructions ¶

func (o *FlagConfigApprovalRequestResponse) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*FlagConfigApprovalRequestResponse) GetInstructionsOk ¶

func (o *FlagConfigApprovalRequestResponse) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetIntegrationMetadata ¶

func (o *FlagConfigApprovalRequestResponse) GetIntegrationMetadata() IntegrationMetadata

GetIntegrationMetadata returns the IntegrationMetadata field value if set, zero value otherwise.

func (*FlagConfigApprovalRequestResponse) GetIntegrationMetadataOk ¶

func (o *FlagConfigApprovalRequestResponse) GetIntegrationMetadataOk() (*IntegrationMetadata, bool)

GetIntegrationMetadataOk returns a tuple with the IntegrationMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FlagConfigApprovalRequestResponse) GetLinks() map[string]interface{}

GetLinks returns the Links field value

func (*FlagConfigApprovalRequestResponse) GetLinksOk ¶

func (o *FlagConfigApprovalRequestResponse) GetLinksOk() (map[string]interface{}, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetNotifyMemberIds ¶

func (o *FlagConfigApprovalRequestResponse) GetNotifyMemberIds() []string

GetNotifyMemberIds returns the NotifyMemberIds field value

func (*FlagConfigApprovalRequestResponse) GetNotifyMemberIdsOk ¶

func (o *FlagConfigApprovalRequestResponse) GetNotifyMemberIdsOk() ([]string, bool)

GetNotifyMemberIdsOk returns a tuple with the NotifyMemberIds field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetOperatingOnId ¶

func (o *FlagConfigApprovalRequestResponse) GetOperatingOnId() string

GetOperatingOnId returns the OperatingOnId field value if set, zero value otherwise.

func (*FlagConfigApprovalRequestResponse) GetOperatingOnIdOk ¶

func (o *FlagConfigApprovalRequestResponse) GetOperatingOnIdOk() (*string, bool)

GetOperatingOnIdOk returns a tuple with the OperatingOnId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetRequestorId ¶

func (o *FlagConfigApprovalRequestResponse) GetRequestorId() string

GetRequestorId returns the RequestorId field value if set, zero value otherwise.

func (*FlagConfigApprovalRequestResponse) GetRequestorIdOk ¶

func (o *FlagConfigApprovalRequestResponse) GetRequestorIdOk() (*string, bool)

GetRequestorIdOk returns a tuple with the RequestorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetReviewStatus ¶

func (o *FlagConfigApprovalRequestResponse) GetReviewStatus() string

GetReviewStatus returns the ReviewStatus field value

func (*FlagConfigApprovalRequestResponse) GetReviewStatusOk ¶

func (o *FlagConfigApprovalRequestResponse) GetReviewStatusOk() (*string, bool)

GetReviewStatusOk returns a tuple with the ReviewStatus field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetServiceKind ¶

func (o *FlagConfigApprovalRequestResponse) GetServiceKind() string

GetServiceKind returns the ServiceKind field value

func (*FlagConfigApprovalRequestResponse) GetServiceKindOk ¶

func (o *FlagConfigApprovalRequestResponse) GetServiceKindOk() (*string, bool)

GetServiceKindOk returns a tuple with the ServiceKind field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetSource ¶

GetSource returns the Source field value if set, zero value otherwise.

func (*FlagConfigApprovalRequestResponse) GetSourceOk ¶

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetStatus ¶

GetStatus returns the Status field value

func (*FlagConfigApprovalRequestResponse) GetStatusOk ¶

func (o *FlagConfigApprovalRequestResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) GetVersion ¶

func (o *FlagConfigApprovalRequestResponse) GetVersion() int32

GetVersion returns the Version field value

func (*FlagConfigApprovalRequestResponse) GetVersionOk ¶

func (o *FlagConfigApprovalRequestResponse) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*FlagConfigApprovalRequestResponse) HasAppliedByMemberId ¶

func (o *FlagConfigApprovalRequestResponse) HasAppliedByMemberId() bool

HasAppliedByMemberId returns a boolean if a field has been set.

func (*FlagConfigApprovalRequestResponse) HasAppliedByServiceTokenId ¶

func (o *FlagConfigApprovalRequestResponse) HasAppliedByServiceTokenId() bool

HasAppliedByServiceTokenId returns a boolean if a field has been set.

func (*FlagConfigApprovalRequestResponse) HasAppliedDate ¶

func (o *FlagConfigApprovalRequestResponse) HasAppliedDate() bool

HasAppliedDate returns a boolean if a field has been set.

func (*FlagConfigApprovalRequestResponse) HasCustomWorkflowMetadata ¶

func (o *FlagConfigApprovalRequestResponse) HasCustomWorkflowMetadata() bool

HasCustomWorkflowMetadata returns a boolean if a field has been set.

func (*FlagConfigApprovalRequestResponse) HasDescription ¶

func (o *FlagConfigApprovalRequestResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FlagConfigApprovalRequestResponse) HasExecutionDate ¶

func (o *FlagConfigApprovalRequestResponse) HasExecutionDate() bool

HasExecutionDate returns a boolean if a field has been set.

func (*FlagConfigApprovalRequestResponse) HasIntegrationMetadata ¶

func (o *FlagConfigApprovalRequestResponse) HasIntegrationMetadata() bool

HasIntegrationMetadata returns a boolean if a field has been set.

func (*FlagConfigApprovalRequestResponse) HasOperatingOnId ¶

func (o *FlagConfigApprovalRequestResponse) HasOperatingOnId() bool

HasOperatingOnId returns a boolean if a field has been set.

func (*FlagConfigApprovalRequestResponse) HasRequestorId ¶

func (o *FlagConfigApprovalRequestResponse) HasRequestorId() bool

HasRequestorId returns a boolean if a field has been set.

func (*FlagConfigApprovalRequestResponse) HasSource ¶

func (o *FlagConfigApprovalRequestResponse) HasSource() bool

HasSource returns a boolean if a field has been set.

func (FlagConfigApprovalRequestResponse) MarshalJSON ¶

func (o FlagConfigApprovalRequestResponse) MarshalJSON() ([]byte, error)

func (*FlagConfigApprovalRequestResponse) SetAllReviews ¶

func (o *FlagConfigApprovalRequestResponse) SetAllReviews(v []ReviewResponse)

SetAllReviews sets field value

func (*FlagConfigApprovalRequestResponse) SetAppliedByMemberId ¶

func (o *FlagConfigApprovalRequestResponse) SetAppliedByMemberId(v string)

SetAppliedByMemberId gets a reference to the given string and assigns it to the AppliedByMemberId field.

func (*FlagConfigApprovalRequestResponse) SetAppliedByServiceTokenId ¶

func (o *FlagConfigApprovalRequestResponse) SetAppliedByServiceTokenId(v string)

SetAppliedByServiceTokenId gets a reference to the given string and assigns it to the AppliedByServiceTokenId field.

func (*FlagConfigApprovalRequestResponse) SetAppliedDate ¶

func (o *FlagConfigApprovalRequestResponse) SetAppliedDate(v int64)

SetAppliedDate gets a reference to the given int64 and assigns it to the AppliedDate field.

func (*FlagConfigApprovalRequestResponse) SetConflicts ¶

func (o *FlagConfigApprovalRequestResponse) SetConflicts(v []Conflict)

SetConflicts sets field value

func (*FlagConfigApprovalRequestResponse) SetCreationDate ¶

func (o *FlagConfigApprovalRequestResponse) SetCreationDate(v int64)

SetCreationDate sets field value

func (*FlagConfigApprovalRequestResponse) SetCustomWorkflowMetadata ¶

func (o *FlagConfigApprovalRequestResponse) SetCustomWorkflowMetadata(v CustomWorkflowMeta)

SetCustomWorkflowMetadata gets a reference to the given CustomWorkflowMeta and assigns it to the CustomWorkflowMetadata field.

func (*FlagConfigApprovalRequestResponse) SetDescription ¶

func (o *FlagConfigApprovalRequestResponse) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*FlagConfigApprovalRequestResponse) SetExecutionDate ¶

func (o *FlagConfigApprovalRequestResponse) SetExecutionDate(v int64)

SetExecutionDate gets a reference to the given int64 and assigns it to the ExecutionDate field.

func (*FlagConfigApprovalRequestResponse) SetId ¶

SetId sets field value

func (*FlagConfigApprovalRequestResponse) SetInstructions ¶

func (o *FlagConfigApprovalRequestResponse) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

func (*FlagConfigApprovalRequestResponse) SetIntegrationMetadata ¶

func (o *FlagConfigApprovalRequestResponse) SetIntegrationMetadata(v IntegrationMetadata)

SetIntegrationMetadata gets a reference to the given IntegrationMetadata and assigns it to the IntegrationMetadata field.

func (o *FlagConfigApprovalRequestResponse) SetLinks(v map[string]interface{})

SetLinks sets field value

func (*FlagConfigApprovalRequestResponse) SetNotifyMemberIds ¶

func (o *FlagConfigApprovalRequestResponse) SetNotifyMemberIds(v []string)

SetNotifyMemberIds sets field value

func (*FlagConfigApprovalRequestResponse) SetOperatingOnId ¶

func (o *FlagConfigApprovalRequestResponse) SetOperatingOnId(v string)

SetOperatingOnId gets a reference to the given string and assigns it to the OperatingOnId field.

func (*FlagConfigApprovalRequestResponse) SetRequestorId ¶

func (o *FlagConfigApprovalRequestResponse) SetRequestorId(v string)

SetRequestorId gets a reference to the given string and assigns it to the RequestorId field.

func (*FlagConfigApprovalRequestResponse) SetReviewStatus ¶

func (o *FlagConfigApprovalRequestResponse) SetReviewStatus(v string)

SetReviewStatus sets field value

func (*FlagConfigApprovalRequestResponse) SetServiceKind ¶

func (o *FlagConfigApprovalRequestResponse) SetServiceKind(v string)

SetServiceKind sets field value

func (*FlagConfigApprovalRequestResponse) SetSource ¶

SetSource gets a reference to the given CopiedFromEnv and assigns it to the Source field.

func (*FlagConfigApprovalRequestResponse) SetStatus ¶

func (o *FlagConfigApprovalRequestResponse) SetStatus(v string)

SetStatus sets field value

func (*FlagConfigApprovalRequestResponse) SetVersion ¶

func (o *FlagConfigApprovalRequestResponse) SetVersion(v int32)

SetVersion sets field value

type FlagConfigApprovalRequestsResponse ¶

type FlagConfigApprovalRequestsResponse struct {
	// An array of approval requests
	Items []FlagConfigApprovalRequestResponse `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

FlagConfigApprovalRequestsResponse struct for FlagConfigApprovalRequestsResponse

func NewFlagConfigApprovalRequestsResponse ¶

func NewFlagConfigApprovalRequestsResponse(items []FlagConfigApprovalRequestResponse, links map[string]Link) *FlagConfigApprovalRequestsResponse

NewFlagConfigApprovalRequestsResponse instantiates a new FlagConfigApprovalRequestsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagConfigApprovalRequestsResponseWithDefaults ¶

func NewFlagConfigApprovalRequestsResponseWithDefaults() *FlagConfigApprovalRequestsResponse

NewFlagConfigApprovalRequestsResponseWithDefaults instantiates a new FlagConfigApprovalRequestsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagConfigApprovalRequestsResponse) GetItems ¶

GetItems returns the Items field value

func (*FlagConfigApprovalRequestsResponse) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*FlagConfigApprovalRequestsResponse) GetLinksOk ¶

func (o *FlagConfigApprovalRequestsResponse) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (FlagConfigApprovalRequestsResponse) MarshalJSON ¶

func (o FlagConfigApprovalRequestsResponse) MarshalJSON() ([]byte, error)

func (*FlagConfigApprovalRequestsResponse) SetItems ¶

SetItems sets field value

func (o *FlagConfigApprovalRequestsResponse) SetLinks(v map[string]Link)

SetLinks sets field value

type FlagConfigEvaluation ¶

type FlagConfigEvaluation struct {
	ContextKinds []string `json:"contextKinds,omitempty"`
}

FlagConfigEvaluation struct for FlagConfigEvaluation

func NewFlagConfigEvaluation ¶

func NewFlagConfigEvaluation() *FlagConfigEvaluation

NewFlagConfigEvaluation instantiates a new FlagConfigEvaluation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagConfigEvaluationWithDefaults ¶

func NewFlagConfigEvaluationWithDefaults() *FlagConfigEvaluation

NewFlagConfigEvaluationWithDefaults instantiates a new FlagConfigEvaluation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagConfigEvaluation) GetContextKinds ¶

func (o *FlagConfigEvaluation) GetContextKinds() []string

GetContextKinds returns the ContextKinds field value if set, zero value otherwise.

func (*FlagConfigEvaluation) GetContextKindsOk ¶

func (o *FlagConfigEvaluation) GetContextKindsOk() ([]string, bool)

GetContextKindsOk returns a tuple with the ContextKinds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigEvaluation) HasContextKinds ¶

func (o *FlagConfigEvaluation) HasContextKinds() bool

HasContextKinds returns a boolean if a field has been set.

func (FlagConfigEvaluation) MarshalJSON ¶

func (o FlagConfigEvaluation) MarshalJSON() ([]byte, error)

func (*FlagConfigEvaluation) SetContextKinds ¶

func (o *FlagConfigEvaluation) SetContextKinds(v []string)

SetContextKinds gets a reference to the given []string and assigns it to the ContextKinds field.

type FlagConfigMigrationSettingsRep ¶

type FlagConfigMigrationSettingsRep struct {
	CheckRatio *int32 `json:"checkRatio,omitempty"`
}

FlagConfigMigrationSettingsRep struct for FlagConfigMigrationSettingsRep

func NewFlagConfigMigrationSettingsRep ¶

func NewFlagConfigMigrationSettingsRep() *FlagConfigMigrationSettingsRep

NewFlagConfigMigrationSettingsRep instantiates a new FlagConfigMigrationSettingsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagConfigMigrationSettingsRepWithDefaults ¶

func NewFlagConfigMigrationSettingsRepWithDefaults() *FlagConfigMigrationSettingsRep

NewFlagConfigMigrationSettingsRepWithDefaults instantiates a new FlagConfigMigrationSettingsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagConfigMigrationSettingsRep) GetCheckRatio ¶

func (o *FlagConfigMigrationSettingsRep) GetCheckRatio() int32

GetCheckRatio returns the CheckRatio field value if set, zero value otherwise.

func (*FlagConfigMigrationSettingsRep) GetCheckRatioOk ¶

func (o *FlagConfigMigrationSettingsRep) GetCheckRatioOk() (*int32, bool)

GetCheckRatioOk returns a tuple with the CheckRatio field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagConfigMigrationSettingsRep) HasCheckRatio ¶

func (o *FlagConfigMigrationSettingsRep) HasCheckRatio() bool

HasCheckRatio returns a boolean if a field has been set.

func (FlagConfigMigrationSettingsRep) MarshalJSON ¶

func (o FlagConfigMigrationSettingsRep) MarshalJSON() ([]byte, error)

func (*FlagConfigMigrationSettingsRep) SetCheckRatio ¶

func (o *FlagConfigMigrationSettingsRep) SetCheckRatio(v int32)

SetCheckRatio gets a reference to the given int32 and assigns it to the CheckRatio field.

type FlagCopyConfigEnvironment ¶

type FlagCopyConfigEnvironment struct {
	// The environment key
	Key string `json:"key"`
	// Optional flag version. If you include this, the operation only succeeds if the current flag version in the environment matches this version.
	CurrentVersion *int32 `json:"currentVersion,omitempty"`
}

FlagCopyConfigEnvironment struct for FlagCopyConfigEnvironment

func NewFlagCopyConfigEnvironment ¶

func NewFlagCopyConfigEnvironment(key string) *FlagCopyConfigEnvironment

NewFlagCopyConfigEnvironment instantiates a new FlagCopyConfigEnvironment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagCopyConfigEnvironmentWithDefaults ¶

func NewFlagCopyConfigEnvironmentWithDefaults() *FlagCopyConfigEnvironment

NewFlagCopyConfigEnvironmentWithDefaults instantiates a new FlagCopyConfigEnvironment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagCopyConfigEnvironment) GetCurrentVersion ¶

func (o *FlagCopyConfigEnvironment) GetCurrentVersion() int32

GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.

func (*FlagCopyConfigEnvironment) GetCurrentVersionOk ¶

func (o *FlagCopyConfigEnvironment) GetCurrentVersionOk() (*int32, bool)

GetCurrentVersionOk returns a tuple with the CurrentVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagCopyConfigEnvironment) GetKey ¶

func (o *FlagCopyConfigEnvironment) GetKey() string

GetKey returns the Key field value

func (*FlagCopyConfigEnvironment) GetKeyOk ¶

func (o *FlagCopyConfigEnvironment) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*FlagCopyConfigEnvironment) HasCurrentVersion ¶

func (o *FlagCopyConfigEnvironment) HasCurrentVersion() bool

HasCurrentVersion returns a boolean if a field has been set.

func (FlagCopyConfigEnvironment) MarshalJSON ¶

func (o FlagCopyConfigEnvironment) MarshalJSON() ([]byte, error)

func (*FlagCopyConfigEnvironment) SetCurrentVersion ¶

func (o *FlagCopyConfigEnvironment) SetCurrentVersion(v int32)

SetCurrentVersion gets a reference to the given int32 and assigns it to the CurrentVersion field.

func (*FlagCopyConfigEnvironment) SetKey ¶

func (o *FlagCopyConfigEnvironment) SetKey(v string)

SetKey sets field value

type FlagCopyConfigPost ¶

type FlagCopyConfigPost struct {
	Source FlagCopyConfigEnvironment `json:"source"`
	Target FlagCopyConfigEnvironment `json:"target"`
	// Optional comment
	Comment *string `json:"comment,omitempty"`
	// Optional list of the flag changes to copy from the source environment to the target environment. You may include either <code>includedActions</code> or <code>excludedActions</code>, but not both. If you include neither, then all flag changes will be copied.
	IncludedActions []string `json:"includedActions,omitempty"`
	// Optional list of the flag changes NOT to copy from the source environment to the target environment. You may include either  <code>includedActions</code> or <code>excludedActions</code>, but not both. If you include neither, then all flag changes will be copied.
	ExcludedActions []string `json:"excludedActions,omitempty"`
}

FlagCopyConfigPost struct for FlagCopyConfigPost

func NewFlagCopyConfigPost ¶

func NewFlagCopyConfigPost(source FlagCopyConfigEnvironment, target FlagCopyConfigEnvironment) *FlagCopyConfigPost

NewFlagCopyConfigPost instantiates a new FlagCopyConfigPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagCopyConfigPostWithDefaults ¶

func NewFlagCopyConfigPostWithDefaults() *FlagCopyConfigPost

NewFlagCopyConfigPostWithDefaults instantiates a new FlagCopyConfigPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagCopyConfigPost) GetComment ¶

func (o *FlagCopyConfigPost) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*FlagCopyConfigPost) GetCommentOk ¶

func (o *FlagCopyConfigPost) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagCopyConfigPost) GetExcludedActions ¶

func (o *FlagCopyConfigPost) GetExcludedActions() []string

GetExcludedActions returns the ExcludedActions field value if set, zero value otherwise.

func (*FlagCopyConfigPost) GetExcludedActionsOk ¶

func (o *FlagCopyConfigPost) GetExcludedActionsOk() ([]string, bool)

GetExcludedActionsOk returns a tuple with the ExcludedActions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagCopyConfigPost) GetIncludedActions ¶

func (o *FlagCopyConfigPost) GetIncludedActions() []string

GetIncludedActions returns the IncludedActions field value if set, zero value otherwise.

func (*FlagCopyConfigPost) GetIncludedActionsOk ¶

func (o *FlagCopyConfigPost) GetIncludedActionsOk() ([]string, bool)

GetIncludedActionsOk returns a tuple with the IncludedActions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagCopyConfigPost) GetSource ¶

GetSource returns the Source field value

func (*FlagCopyConfigPost) GetSourceOk ¶

func (o *FlagCopyConfigPost) GetSourceOk() (*FlagCopyConfigEnvironment, bool)

GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.

func (*FlagCopyConfigPost) GetTarget ¶

GetTarget returns the Target field value

func (*FlagCopyConfigPost) GetTargetOk ¶

func (o *FlagCopyConfigPost) GetTargetOk() (*FlagCopyConfigEnvironment, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*FlagCopyConfigPost) HasComment ¶

func (o *FlagCopyConfigPost) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*FlagCopyConfigPost) HasExcludedActions ¶

func (o *FlagCopyConfigPost) HasExcludedActions() bool

HasExcludedActions returns a boolean if a field has been set.

func (*FlagCopyConfigPost) HasIncludedActions ¶

func (o *FlagCopyConfigPost) HasIncludedActions() bool

HasIncludedActions returns a boolean if a field has been set.

func (FlagCopyConfigPost) MarshalJSON ¶

func (o FlagCopyConfigPost) MarshalJSON() ([]byte, error)

func (*FlagCopyConfigPost) SetComment ¶

func (o *FlagCopyConfigPost) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*FlagCopyConfigPost) SetExcludedActions ¶

func (o *FlagCopyConfigPost) SetExcludedActions(v []string)

SetExcludedActions gets a reference to the given []string and assigns it to the ExcludedActions field.

func (*FlagCopyConfigPost) SetIncludedActions ¶

func (o *FlagCopyConfigPost) SetIncludedActions(v []string)

SetIncludedActions gets a reference to the given []string and assigns it to the IncludedActions field.

func (*FlagCopyConfigPost) SetSource ¶

SetSource sets field value

func (*FlagCopyConfigPost) SetTarget ¶

SetTarget sets field value

type FlagDefaultsRep ¶

type FlagDefaultsRep struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// A unique key for the flag default
	Key *string `json:"key,omitempty"`
	// A list of default tags for each flag
	Tags []string `json:"tags,omitempty"`
	// Whether the flag should be temporary by default
	Temporary                     *bool                   `json:"temporary,omitempty"`
	DefaultClientSideAvailability *ClientSideAvailability `json:"defaultClientSideAvailability,omitempty"`
	BooleanDefaults               *BooleanDefaults        `json:"booleanDefaults,omitempty"`
}

FlagDefaultsRep struct for FlagDefaultsRep

func NewFlagDefaultsRep ¶

func NewFlagDefaultsRep() *FlagDefaultsRep

NewFlagDefaultsRep instantiates a new FlagDefaultsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagDefaultsRepWithDefaults ¶

func NewFlagDefaultsRepWithDefaults() *FlagDefaultsRep

NewFlagDefaultsRepWithDefaults instantiates a new FlagDefaultsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagDefaultsRep) GetBooleanDefaults ¶

func (o *FlagDefaultsRep) GetBooleanDefaults() BooleanDefaults

GetBooleanDefaults returns the BooleanDefaults field value if set, zero value otherwise.

func (*FlagDefaultsRep) GetBooleanDefaultsOk ¶

func (o *FlagDefaultsRep) GetBooleanDefaultsOk() (*BooleanDefaults, bool)

GetBooleanDefaultsOk returns a tuple with the BooleanDefaults field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagDefaultsRep) GetDefaultClientSideAvailability ¶

func (o *FlagDefaultsRep) GetDefaultClientSideAvailability() ClientSideAvailability

GetDefaultClientSideAvailability returns the DefaultClientSideAvailability field value if set, zero value otherwise.

func (*FlagDefaultsRep) GetDefaultClientSideAvailabilityOk ¶

func (o *FlagDefaultsRep) GetDefaultClientSideAvailabilityOk() (*ClientSideAvailability, bool)

GetDefaultClientSideAvailabilityOk returns a tuple with the DefaultClientSideAvailability field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagDefaultsRep) GetKey ¶

func (o *FlagDefaultsRep) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*FlagDefaultsRep) GetKeyOk ¶

func (o *FlagDefaultsRep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FlagDefaultsRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*FlagDefaultsRep) GetLinksOk ¶

func (o *FlagDefaultsRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagDefaultsRep) GetTags ¶

func (o *FlagDefaultsRep) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*FlagDefaultsRep) GetTagsOk ¶

func (o *FlagDefaultsRep) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagDefaultsRep) GetTemporary ¶

func (o *FlagDefaultsRep) GetTemporary() bool

GetTemporary returns the Temporary field value if set, zero value otherwise.

func (*FlagDefaultsRep) GetTemporaryOk ¶

func (o *FlagDefaultsRep) GetTemporaryOk() (*bool, bool)

GetTemporaryOk returns a tuple with the Temporary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagDefaultsRep) HasBooleanDefaults ¶

func (o *FlagDefaultsRep) HasBooleanDefaults() bool

HasBooleanDefaults returns a boolean if a field has been set.

func (*FlagDefaultsRep) HasDefaultClientSideAvailability ¶

func (o *FlagDefaultsRep) HasDefaultClientSideAvailability() bool

HasDefaultClientSideAvailability returns a boolean if a field has been set.

func (*FlagDefaultsRep) HasKey ¶

func (o *FlagDefaultsRep) HasKey() bool

HasKey returns a boolean if a field has been set.

func (o *FlagDefaultsRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*FlagDefaultsRep) HasTags ¶

func (o *FlagDefaultsRep) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*FlagDefaultsRep) HasTemporary ¶

func (o *FlagDefaultsRep) HasTemporary() bool

HasTemporary returns a boolean if a field has been set.

func (FlagDefaultsRep) MarshalJSON ¶

func (o FlagDefaultsRep) MarshalJSON() ([]byte, error)

func (*FlagDefaultsRep) SetBooleanDefaults ¶

func (o *FlagDefaultsRep) SetBooleanDefaults(v BooleanDefaults)

SetBooleanDefaults gets a reference to the given BooleanDefaults and assigns it to the BooleanDefaults field.

func (*FlagDefaultsRep) SetDefaultClientSideAvailability ¶

func (o *FlagDefaultsRep) SetDefaultClientSideAvailability(v ClientSideAvailability)

SetDefaultClientSideAvailability gets a reference to the given ClientSideAvailability and assigns it to the DefaultClientSideAvailability field.

func (*FlagDefaultsRep) SetKey ¶

func (o *FlagDefaultsRep) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (o *FlagDefaultsRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*FlagDefaultsRep) SetTags ¶

func (o *FlagDefaultsRep) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*FlagDefaultsRep) SetTemporary ¶

func (o *FlagDefaultsRep) SetTemporary(v bool)

SetTemporary gets a reference to the given bool and assigns it to the Temporary field.

type FlagEventCollectionRep ¶

type FlagEventCollectionRep struct {
	// The total number of flag events
	TotalCount int32 `json:"totalCount"`
	// A list of flag events
	Items []FlagEventRep `json:"items"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

FlagEventCollectionRep struct for FlagEventCollectionRep

func NewFlagEventCollectionRep ¶

func NewFlagEventCollectionRep(totalCount int32, items []FlagEventRep) *FlagEventCollectionRep

NewFlagEventCollectionRep instantiates a new FlagEventCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagEventCollectionRepWithDefaults ¶

func NewFlagEventCollectionRepWithDefaults() *FlagEventCollectionRep

NewFlagEventCollectionRepWithDefaults instantiates a new FlagEventCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagEventCollectionRep) GetItems ¶

func (o *FlagEventCollectionRep) GetItems() []FlagEventRep

GetItems returns the Items field value

func (*FlagEventCollectionRep) GetItemsOk ¶

func (o *FlagEventCollectionRep) GetItemsOk() ([]FlagEventRep, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *FlagEventCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*FlagEventCollectionRep) GetLinksOk ¶

func (o *FlagEventCollectionRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventCollectionRep) GetTotalCount ¶

func (o *FlagEventCollectionRep) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*FlagEventCollectionRep) GetTotalCountOk ¶

func (o *FlagEventCollectionRep) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (o *FlagEventCollectionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (FlagEventCollectionRep) MarshalJSON ¶

func (o FlagEventCollectionRep) MarshalJSON() ([]byte, error)

func (*FlagEventCollectionRep) SetItems ¶

func (o *FlagEventCollectionRep) SetItems(v []FlagEventRep)

SetItems sets field value

func (o *FlagEventCollectionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*FlagEventCollectionRep) SetTotalCount ¶

func (o *FlagEventCollectionRep) SetTotalCount(v int32)

SetTotalCount sets field value

type FlagEventExperiment ¶

type FlagEventExperiment struct {
	// The experiment key
	Key string `json:"key"`
	// The experiment name
	Name      string                       `json:"name"`
	Iteration FlagEventExperimentIteration `json:"iteration"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

FlagEventExperiment struct for FlagEventExperiment

func NewFlagEventExperiment ¶

func NewFlagEventExperiment(key string, name string, iteration FlagEventExperimentIteration) *FlagEventExperiment

NewFlagEventExperiment instantiates a new FlagEventExperiment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagEventExperimentWithDefaults ¶

func NewFlagEventExperimentWithDefaults() *FlagEventExperiment

NewFlagEventExperimentWithDefaults instantiates a new FlagEventExperiment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagEventExperiment) GetIteration ¶

GetIteration returns the Iteration field value

func (*FlagEventExperiment) GetIterationOk ¶

func (o *FlagEventExperiment) GetIterationOk() (*FlagEventExperimentIteration, bool)

GetIterationOk returns a tuple with the Iteration field value and a boolean to check if the value has been set.

func (*FlagEventExperiment) GetKey ¶

func (o *FlagEventExperiment) GetKey() string

GetKey returns the Key field value

func (*FlagEventExperiment) GetKeyOk ¶

func (o *FlagEventExperiment) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *FlagEventExperiment) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*FlagEventExperiment) GetLinksOk ¶

func (o *FlagEventExperiment) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventExperiment) GetName ¶

func (o *FlagEventExperiment) GetName() string

GetName returns the Name field value

func (*FlagEventExperiment) GetNameOk ¶

func (o *FlagEventExperiment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *FlagEventExperiment) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (FlagEventExperiment) MarshalJSON ¶

func (o FlagEventExperiment) MarshalJSON() ([]byte, error)

func (*FlagEventExperiment) SetIteration ¶

SetIteration sets field value

func (*FlagEventExperiment) SetKey ¶

func (o *FlagEventExperiment) SetKey(v string)

SetKey sets field value

func (o *FlagEventExperiment) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*FlagEventExperiment) SetName ¶

func (o *FlagEventExperiment) SetName(v string)

SetName sets field value

type FlagEventExperimentCollection ¶

type FlagEventExperimentCollection struct {
	// The total number of experiments
	TotalCount int32 `json:"totalCount"`
	// A list of experiments
	Items []FlagEventExperiment `json:"items"`
}

FlagEventExperimentCollection struct for FlagEventExperimentCollection

func NewFlagEventExperimentCollection ¶

func NewFlagEventExperimentCollection(totalCount int32, items []FlagEventExperiment) *FlagEventExperimentCollection

NewFlagEventExperimentCollection instantiates a new FlagEventExperimentCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagEventExperimentCollectionWithDefaults ¶

func NewFlagEventExperimentCollectionWithDefaults() *FlagEventExperimentCollection

NewFlagEventExperimentCollectionWithDefaults instantiates a new FlagEventExperimentCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagEventExperimentCollection) GetItems ¶

GetItems returns the Items field value

func (*FlagEventExperimentCollection) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*FlagEventExperimentCollection) GetTotalCount ¶

func (o *FlagEventExperimentCollection) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*FlagEventExperimentCollection) GetTotalCountOk ¶

func (o *FlagEventExperimentCollection) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (FlagEventExperimentCollection) MarshalJSON ¶

func (o FlagEventExperimentCollection) MarshalJSON() ([]byte, error)

func (*FlagEventExperimentCollection) SetItems ¶

SetItems sets field value

func (*FlagEventExperimentCollection) SetTotalCount ¶

func (o *FlagEventExperimentCollection) SetTotalCount(v int32)

SetTotalCount sets field value

type FlagEventExperimentIteration ¶

type FlagEventExperimentIteration struct {
	// The experiment iteration ID
	Id        string `json:"id"`
	Status    string `json:"status"`
	StartedAt int64  `json:"startedAt"`
	EndedAt   *int64 `json:"endedAt,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

FlagEventExperimentIteration struct for FlagEventExperimentIteration

func NewFlagEventExperimentIteration ¶

func NewFlagEventExperimentIteration(id string, status string, startedAt int64) *FlagEventExperimentIteration

NewFlagEventExperimentIteration instantiates a new FlagEventExperimentIteration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagEventExperimentIterationWithDefaults ¶

func NewFlagEventExperimentIterationWithDefaults() *FlagEventExperimentIteration

NewFlagEventExperimentIterationWithDefaults instantiates a new FlagEventExperimentIteration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagEventExperimentIteration) GetEndedAt ¶

func (o *FlagEventExperimentIteration) GetEndedAt() int64

GetEndedAt returns the EndedAt field value if set, zero value otherwise.

func (*FlagEventExperimentIteration) GetEndedAtOk ¶

func (o *FlagEventExperimentIteration) GetEndedAtOk() (*int64, bool)

GetEndedAtOk returns a tuple with the EndedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventExperimentIteration) GetId ¶

GetId returns the Id field value

func (*FlagEventExperimentIteration) GetIdOk ¶

func (o *FlagEventExperimentIteration) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (o *FlagEventExperimentIteration) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*FlagEventExperimentIteration) GetLinksOk ¶

func (o *FlagEventExperimentIteration) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventExperimentIteration) GetStartedAt ¶

func (o *FlagEventExperimentIteration) GetStartedAt() int64

GetStartedAt returns the StartedAt field value

func (*FlagEventExperimentIteration) GetStartedAtOk ¶

func (o *FlagEventExperimentIteration) GetStartedAtOk() (*int64, bool)

GetStartedAtOk returns a tuple with the StartedAt field value and a boolean to check if the value has been set.

func (*FlagEventExperimentIteration) GetStatus ¶

func (o *FlagEventExperimentIteration) GetStatus() string

GetStatus returns the Status field value

func (*FlagEventExperimentIteration) GetStatusOk ¶

func (o *FlagEventExperimentIteration) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*FlagEventExperimentIteration) HasEndedAt ¶

func (o *FlagEventExperimentIteration) HasEndedAt() bool

HasEndedAt returns a boolean if a field has been set.

func (o *FlagEventExperimentIteration) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (FlagEventExperimentIteration) MarshalJSON ¶

func (o FlagEventExperimentIteration) MarshalJSON() ([]byte, error)

func (*FlagEventExperimentIteration) SetEndedAt ¶

func (o *FlagEventExperimentIteration) SetEndedAt(v int64)

SetEndedAt gets a reference to the given int64 and assigns it to the EndedAt field.

func (*FlagEventExperimentIteration) SetId ¶

SetId sets field value

func (o *FlagEventExperimentIteration) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*FlagEventExperimentIteration) SetStartedAt ¶

func (o *FlagEventExperimentIteration) SetStartedAt(v int64)

SetStartedAt sets field value

func (*FlagEventExperimentIteration) SetStatus ¶

func (o *FlagEventExperimentIteration) SetStatus(v string)

SetStatus sets field value

type FlagEventImpactRep ¶

type FlagEventImpactRep struct {
	// The size of the flag event impact. Sizes are defined as: none (0%), small (0-20%), medium (20-80%), large (>80%)
	Size *string `json:"size,omitempty"`
	// The percentage of the flag event impact
	Percentage         *float32            `json:"percentage,omitempty"`
	Reason             *string             `json:"reason,omitempty"`
	EvaluationsSummary *EvaluationsSummary `json:"evaluationsSummary,omitempty"`
}

FlagEventImpactRep struct for FlagEventImpactRep

func NewFlagEventImpactRep ¶

func NewFlagEventImpactRep() *FlagEventImpactRep

NewFlagEventImpactRep instantiates a new FlagEventImpactRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagEventImpactRepWithDefaults ¶

func NewFlagEventImpactRepWithDefaults() *FlagEventImpactRep

NewFlagEventImpactRepWithDefaults instantiates a new FlagEventImpactRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagEventImpactRep) GetEvaluationsSummary ¶

func (o *FlagEventImpactRep) GetEvaluationsSummary() EvaluationsSummary

GetEvaluationsSummary returns the EvaluationsSummary field value if set, zero value otherwise.

func (*FlagEventImpactRep) GetEvaluationsSummaryOk ¶

func (o *FlagEventImpactRep) GetEvaluationsSummaryOk() (*EvaluationsSummary, bool)

GetEvaluationsSummaryOk returns a tuple with the EvaluationsSummary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventImpactRep) GetPercentage ¶

func (o *FlagEventImpactRep) GetPercentage() float32

GetPercentage returns the Percentage field value if set, zero value otherwise.

func (*FlagEventImpactRep) GetPercentageOk ¶

func (o *FlagEventImpactRep) GetPercentageOk() (*float32, bool)

GetPercentageOk returns a tuple with the Percentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventImpactRep) GetReason ¶

func (o *FlagEventImpactRep) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*FlagEventImpactRep) GetReasonOk ¶

func (o *FlagEventImpactRep) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventImpactRep) GetSize ¶

func (o *FlagEventImpactRep) GetSize() string

GetSize returns the Size field value if set, zero value otherwise.

func (*FlagEventImpactRep) GetSizeOk ¶

func (o *FlagEventImpactRep) GetSizeOk() (*string, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventImpactRep) HasEvaluationsSummary ¶

func (o *FlagEventImpactRep) HasEvaluationsSummary() bool

HasEvaluationsSummary returns a boolean if a field has been set.

func (*FlagEventImpactRep) HasPercentage ¶

func (o *FlagEventImpactRep) HasPercentage() bool

HasPercentage returns a boolean if a field has been set.

func (*FlagEventImpactRep) HasReason ¶

func (o *FlagEventImpactRep) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*FlagEventImpactRep) HasSize ¶

func (o *FlagEventImpactRep) HasSize() bool

HasSize returns a boolean if a field has been set.

func (FlagEventImpactRep) MarshalJSON ¶

func (o FlagEventImpactRep) MarshalJSON() ([]byte, error)

func (*FlagEventImpactRep) SetEvaluationsSummary ¶

func (o *FlagEventImpactRep) SetEvaluationsSummary(v EvaluationsSummary)

SetEvaluationsSummary gets a reference to the given EvaluationsSummary and assigns it to the EvaluationsSummary field.

func (*FlagEventImpactRep) SetPercentage ¶

func (o *FlagEventImpactRep) SetPercentage(v float32)

SetPercentage gets a reference to the given float32 and assigns it to the Percentage field.

func (*FlagEventImpactRep) SetReason ¶

func (o *FlagEventImpactRep) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*FlagEventImpactRep) SetSize ¶

func (o *FlagEventImpactRep) SetSize(v string)

SetSize gets a reference to the given string and assigns it to the Size field.

type FlagEventMemberRep ¶

type FlagEventMemberRep struct {
	// The member ID
	Id string `json:"id"`
	// The member email
	Email string `json:"email"`
	// The member first name
	FirstName string `json:"firstName"`
	// The member last name
	LastName string `json:"lastName"`
}

FlagEventMemberRep struct for FlagEventMemberRep

func NewFlagEventMemberRep ¶

func NewFlagEventMemberRep(id string, email string, firstName string, lastName string) *FlagEventMemberRep

NewFlagEventMemberRep instantiates a new FlagEventMemberRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagEventMemberRepWithDefaults ¶

func NewFlagEventMemberRepWithDefaults() *FlagEventMemberRep

NewFlagEventMemberRepWithDefaults instantiates a new FlagEventMemberRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagEventMemberRep) GetEmail ¶

func (o *FlagEventMemberRep) GetEmail() string

GetEmail returns the Email field value

func (*FlagEventMemberRep) GetEmailOk ¶

func (o *FlagEventMemberRep) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*FlagEventMemberRep) GetFirstName ¶

func (o *FlagEventMemberRep) GetFirstName() string

GetFirstName returns the FirstName field value

func (*FlagEventMemberRep) GetFirstNameOk ¶

func (o *FlagEventMemberRep) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set.

func (*FlagEventMemberRep) GetId ¶

func (o *FlagEventMemberRep) GetId() string

GetId returns the Id field value

func (*FlagEventMemberRep) GetIdOk ¶

func (o *FlagEventMemberRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*FlagEventMemberRep) GetLastName ¶

func (o *FlagEventMemberRep) GetLastName() string

GetLastName returns the LastName field value

func (*FlagEventMemberRep) GetLastNameOk ¶

func (o *FlagEventMemberRep) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value and a boolean to check if the value has been set.

func (FlagEventMemberRep) MarshalJSON ¶

func (o FlagEventMemberRep) MarshalJSON() ([]byte, error)

func (*FlagEventMemberRep) SetEmail ¶

func (o *FlagEventMemberRep) SetEmail(v string)

SetEmail sets field value

func (*FlagEventMemberRep) SetFirstName ¶

func (o *FlagEventMemberRep) SetFirstName(v string)

SetFirstName sets field value

func (*FlagEventMemberRep) SetId ¶

func (o *FlagEventMemberRep) SetId(v string)

SetId sets field value

func (*FlagEventMemberRep) SetLastName ¶

func (o *FlagEventMemberRep) SetLastName(v string)

SetLastName sets field value

type FlagEventRep ¶

type FlagEventRep struct {
	// The flag event ID
	Id string `json:"id"`
	// The project ID
	ProjectId string `json:"projectId"`
	// The project key
	ProjectKey string `json:"projectKey"`
	// The environment ID
	EnvironmentId *string `json:"environmentId,omitempty"`
	// The environment key
	EnvironmentKey *string `json:"environmentKey,omitempty"`
	// The flag key
	FlagKey   string `json:"flagKey"`
	EventType string `json:"eventType"`
	EventTime int64  `json:"eventTime"`
	// The event description
	Description string `json:"description"`
	// The audit log entry ID
	AuditLogEntryId *string             `json:"auditLogEntryId,omitempty"`
	Member          *FlagEventMemberRep `json:"member,omitempty"`
	// The resource actions
	Actions     []string                       `json:"actions,omitempty"`
	Impact      FlagEventImpactRep             `json:"impact"`
	Experiments *FlagEventExperimentCollection `json:"experiments,omitempty"`
}

FlagEventRep struct for FlagEventRep

func NewFlagEventRep ¶

func NewFlagEventRep(id string, projectId string, projectKey string, flagKey string, eventType string, eventTime int64, description string, impact FlagEventImpactRep) *FlagEventRep

NewFlagEventRep instantiates a new FlagEventRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagEventRepWithDefaults ¶

func NewFlagEventRepWithDefaults() *FlagEventRep

NewFlagEventRepWithDefaults instantiates a new FlagEventRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagEventRep) GetActions ¶

func (o *FlagEventRep) GetActions() []string

GetActions returns the Actions field value if set, zero value otherwise.

func (*FlagEventRep) GetActionsOk ¶

func (o *FlagEventRep) GetActionsOk() ([]string, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventRep) GetAuditLogEntryId ¶

func (o *FlagEventRep) GetAuditLogEntryId() string

GetAuditLogEntryId returns the AuditLogEntryId field value if set, zero value otherwise.

func (*FlagEventRep) GetAuditLogEntryIdOk ¶

func (o *FlagEventRep) GetAuditLogEntryIdOk() (*string, bool)

GetAuditLogEntryIdOk returns a tuple with the AuditLogEntryId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventRep) GetDescription ¶

func (o *FlagEventRep) GetDescription() string

GetDescription returns the Description field value

func (*FlagEventRep) GetDescriptionOk ¶

func (o *FlagEventRep) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*FlagEventRep) GetEnvironmentId ¶

func (o *FlagEventRep) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.

func (*FlagEventRep) GetEnvironmentIdOk ¶

func (o *FlagEventRep) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventRep) GetEnvironmentKey ¶

func (o *FlagEventRep) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value if set, zero value otherwise.

func (*FlagEventRep) GetEnvironmentKeyOk ¶

func (o *FlagEventRep) GetEnvironmentKeyOk() (*string, bool)

GetEnvironmentKeyOk returns a tuple with the EnvironmentKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventRep) GetEventTime ¶

func (o *FlagEventRep) GetEventTime() int64

GetEventTime returns the EventTime field value

func (*FlagEventRep) GetEventTimeOk ¶

func (o *FlagEventRep) GetEventTimeOk() (*int64, bool)

GetEventTimeOk returns a tuple with the EventTime field value and a boolean to check if the value has been set.

func (*FlagEventRep) GetEventType ¶

func (o *FlagEventRep) GetEventType() string

GetEventType returns the EventType field value

func (*FlagEventRep) GetEventTypeOk ¶

func (o *FlagEventRep) GetEventTypeOk() (*string, bool)

GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.

func (*FlagEventRep) GetExperiments ¶

func (o *FlagEventRep) GetExperiments() FlagEventExperimentCollection

GetExperiments returns the Experiments field value if set, zero value otherwise.

func (*FlagEventRep) GetExperimentsOk ¶

func (o *FlagEventRep) GetExperimentsOk() (*FlagEventExperimentCollection, bool)

GetExperimentsOk returns a tuple with the Experiments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventRep) GetFlagKey ¶

func (o *FlagEventRep) GetFlagKey() string

GetFlagKey returns the FlagKey field value

func (*FlagEventRep) GetFlagKeyOk ¶

func (o *FlagEventRep) GetFlagKeyOk() (*string, bool)

GetFlagKeyOk returns a tuple with the FlagKey field value and a boolean to check if the value has been set.

func (*FlagEventRep) GetId ¶

func (o *FlagEventRep) GetId() string

GetId returns the Id field value

func (*FlagEventRep) GetIdOk ¶

func (o *FlagEventRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*FlagEventRep) GetImpact ¶

func (o *FlagEventRep) GetImpact() FlagEventImpactRep

GetImpact returns the Impact field value

func (*FlagEventRep) GetImpactOk ¶

func (o *FlagEventRep) GetImpactOk() (*FlagEventImpactRep, bool)

GetImpactOk returns a tuple with the Impact field value and a boolean to check if the value has been set.

func (*FlagEventRep) GetMember ¶

func (o *FlagEventRep) GetMember() FlagEventMemberRep

GetMember returns the Member field value if set, zero value otherwise.

func (*FlagEventRep) GetMemberOk ¶

func (o *FlagEventRep) GetMemberOk() (*FlagEventMemberRep, bool)

GetMemberOk returns a tuple with the Member field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagEventRep) GetProjectId ¶

func (o *FlagEventRep) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*FlagEventRep) GetProjectIdOk ¶

func (o *FlagEventRep) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*FlagEventRep) GetProjectKey ¶

func (o *FlagEventRep) GetProjectKey() string

GetProjectKey returns the ProjectKey field value

func (*FlagEventRep) GetProjectKeyOk ¶

func (o *FlagEventRep) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value and a boolean to check if the value has been set.

func (*FlagEventRep) HasActions ¶

func (o *FlagEventRep) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*FlagEventRep) HasAuditLogEntryId ¶

func (o *FlagEventRep) HasAuditLogEntryId() bool

HasAuditLogEntryId returns a boolean if a field has been set.

func (*FlagEventRep) HasEnvironmentId ¶

func (o *FlagEventRep) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*FlagEventRep) HasEnvironmentKey ¶

func (o *FlagEventRep) HasEnvironmentKey() bool

HasEnvironmentKey returns a boolean if a field has been set.

func (*FlagEventRep) HasExperiments ¶

func (o *FlagEventRep) HasExperiments() bool

HasExperiments returns a boolean if a field has been set.

func (*FlagEventRep) HasMember ¶

func (o *FlagEventRep) HasMember() bool

HasMember returns a boolean if a field has been set.

func (FlagEventRep) MarshalJSON ¶

func (o FlagEventRep) MarshalJSON() ([]byte, error)

func (*FlagEventRep) SetActions ¶

func (o *FlagEventRep) SetActions(v []string)

SetActions gets a reference to the given []string and assigns it to the Actions field.

func (*FlagEventRep) SetAuditLogEntryId ¶

func (o *FlagEventRep) SetAuditLogEntryId(v string)

SetAuditLogEntryId gets a reference to the given string and assigns it to the AuditLogEntryId field.

func (*FlagEventRep) SetDescription ¶

func (o *FlagEventRep) SetDescription(v string)

SetDescription sets field value

func (*FlagEventRep) SetEnvironmentId ¶

func (o *FlagEventRep) SetEnvironmentId(v string)

SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.

func (*FlagEventRep) SetEnvironmentKey ¶

func (o *FlagEventRep) SetEnvironmentKey(v string)

SetEnvironmentKey gets a reference to the given string and assigns it to the EnvironmentKey field.

func (*FlagEventRep) SetEventTime ¶

func (o *FlagEventRep) SetEventTime(v int64)

SetEventTime sets field value

func (*FlagEventRep) SetEventType ¶

func (o *FlagEventRep) SetEventType(v string)

SetEventType sets field value

func (*FlagEventRep) SetExperiments ¶

func (o *FlagEventRep) SetExperiments(v FlagEventExperimentCollection)

SetExperiments gets a reference to the given FlagEventExperimentCollection and assigns it to the Experiments field.

func (*FlagEventRep) SetFlagKey ¶

func (o *FlagEventRep) SetFlagKey(v string)

SetFlagKey sets field value

func (*FlagEventRep) SetId ¶

func (o *FlagEventRep) SetId(v string)

SetId sets field value

func (*FlagEventRep) SetImpact ¶

func (o *FlagEventRep) SetImpact(v FlagEventImpactRep)

SetImpact sets field value

func (*FlagEventRep) SetMember ¶

func (o *FlagEventRep) SetMember(v FlagEventMemberRep)

SetMember gets a reference to the given FlagEventMemberRep and assigns it to the Member field.

func (*FlagEventRep) SetProjectId ¶

func (o *FlagEventRep) SetProjectId(v string)

SetProjectId sets field value

func (*FlagEventRep) SetProjectKey ¶

func (o *FlagEventRep) SetProjectKey(v string)

SetProjectKey sets field value

type FlagFollowersByProjEnvGetRep ¶

type FlagFollowersByProjEnvGetRep struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// An array of flags and their followers
	Items []FollowersPerFlag `json:"items,omitempty"`
}

FlagFollowersByProjEnvGetRep struct for FlagFollowersByProjEnvGetRep

func NewFlagFollowersByProjEnvGetRep ¶

func NewFlagFollowersByProjEnvGetRep(links map[string]Link) *FlagFollowersByProjEnvGetRep

NewFlagFollowersByProjEnvGetRep instantiates a new FlagFollowersByProjEnvGetRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagFollowersByProjEnvGetRepWithDefaults ¶

func NewFlagFollowersByProjEnvGetRepWithDefaults() *FlagFollowersByProjEnvGetRep

NewFlagFollowersByProjEnvGetRepWithDefaults instantiates a new FlagFollowersByProjEnvGetRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagFollowersByProjEnvGetRep) GetItems ¶

GetItems returns the Items field value if set, zero value otherwise.

func (*FlagFollowersByProjEnvGetRep) GetItemsOk ¶

func (o *FlagFollowersByProjEnvGetRep) GetItemsOk() ([]FollowersPerFlag, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FlagFollowersByProjEnvGetRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FlagFollowersByProjEnvGetRep) GetLinksOk ¶

func (o *FlagFollowersByProjEnvGetRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*FlagFollowersByProjEnvGetRep) HasItems ¶

func (o *FlagFollowersByProjEnvGetRep) HasItems() bool

HasItems returns a boolean if a field has been set.

func (FlagFollowersByProjEnvGetRep) MarshalJSON ¶

func (o FlagFollowersByProjEnvGetRep) MarshalJSON() ([]byte, error)

func (*FlagFollowersByProjEnvGetRep) SetItems ¶

SetItems gets a reference to the given []FollowersPerFlag and assigns it to the Items field.

func (o *FlagFollowersByProjEnvGetRep) SetLinks(v map[string]Link)

SetLinks sets field value

type FlagFollowersGetRep ¶

type FlagFollowersGetRep struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// An array of members who are following this flag
	Items []FollowFlagMember `json:"items"`
}

FlagFollowersGetRep struct for FlagFollowersGetRep

func NewFlagFollowersGetRep ¶

func NewFlagFollowersGetRep(links map[string]Link, items []FollowFlagMember) *FlagFollowersGetRep

NewFlagFollowersGetRep instantiates a new FlagFollowersGetRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagFollowersGetRepWithDefaults ¶

func NewFlagFollowersGetRepWithDefaults() *FlagFollowersGetRep

NewFlagFollowersGetRepWithDefaults instantiates a new FlagFollowersGetRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagFollowersGetRep) GetItems ¶

func (o *FlagFollowersGetRep) GetItems() []FollowFlagMember

GetItems returns the Items field value

func (*FlagFollowersGetRep) GetItemsOk ¶

func (o *FlagFollowersGetRep) GetItemsOk() ([]FollowFlagMember, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *FlagFollowersGetRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FlagFollowersGetRep) GetLinksOk ¶

func (o *FlagFollowersGetRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (FlagFollowersGetRep) MarshalJSON ¶

func (o FlagFollowersGetRep) MarshalJSON() ([]byte, error)

func (*FlagFollowersGetRep) SetItems ¶

func (o *FlagFollowersGetRep) SetItems(v []FollowFlagMember)

SetItems sets field value

func (o *FlagFollowersGetRep) SetLinks(v map[string]Link)

SetLinks sets field value

type FlagInput ¶

type FlagInput struct {
	// The ID of the variation or rollout of the flag to use. Use \"fallthrough\" for the default targeting behavior when the flag is on.
	RuleId string `json:"ruleId"`
	// The flag version
	FlagConfigVersion int32 `json:"flagConfigVersion"`
}

FlagInput struct for FlagInput

func NewFlagInput ¶

func NewFlagInput(ruleId string, flagConfigVersion int32) *FlagInput

NewFlagInput instantiates a new FlagInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagInputWithDefaults ¶

func NewFlagInputWithDefaults() *FlagInput

NewFlagInputWithDefaults instantiates a new FlagInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagInput) GetFlagConfigVersion ¶

func (o *FlagInput) GetFlagConfigVersion() int32

GetFlagConfigVersion returns the FlagConfigVersion field value

func (*FlagInput) GetFlagConfigVersionOk ¶

func (o *FlagInput) GetFlagConfigVersionOk() (*int32, bool)

GetFlagConfigVersionOk returns a tuple with the FlagConfigVersion field value and a boolean to check if the value has been set.

func (*FlagInput) GetRuleId ¶

func (o *FlagInput) GetRuleId() string

GetRuleId returns the RuleId field value

func (*FlagInput) GetRuleIdOk ¶

func (o *FlagInput) GetRuleIdOk() (*string, bool)

GetRuleIdOk returns a tuple with the RuleId field value and a boolean to check if the value has been set.

func (FlagInput) MarshalJSON ¶

func (o FlagInput) MarshalJSON() ([]byte, error)

func (*FlagInput) SetFlagConfigVersion ¶

func (o *FlagInput) SetFlagConfigVersion(v int32)

SetFlagConfigVersion sets field value

func (*FlagInput) SetRuleId ¶

func (o *FlagInput) SetRuleId(v string)

SetRuleId sets field value

type FlagLinkCollectionRep ¶

type FlagLinkCollectionRep struct {
	// An array of flag links
	Items []FlagLinkRep `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

FlagLinkCollectionRep struct for FlagLinkCollectionRep

func NewFlagLinkCollectionRep ¶

func NewFlagLinkCollectionRep(items []FlagLinkRep, links map[string]Link) *FlagLinkCollectionRep

NewFlagLinkCollectionRep instantiates a new FlagLinkCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagLinkCollectionRepWithDefaults ¶

func NewFlagLinkCollectionRepWithDefaults() *FlagLinkCollectionRep

NewFlagLinkCollectionRepWithDefaults instantiates a new FlagLinkCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagLinkCollectionRep) GetItems ¶

func (o *FlagLinkCollectionRep) GetItems() []FlagLinkRep

GetItems returns the Items field value

func (*FlagLinkCollectionRep) GetItemsOk ¶

func (o *FlagLinkCollectionRep) GetItemsOk() ([]FlagLinkRep, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *FlagLinkCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FlagLinkCollectionRep) GetLinksOk ¶

func (o *FlagLinkCollectionRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (FlagLinkCollectionRep) MarshalJSON ¶

func (o FlagLinkCollectionRep) MarshalJSON() ([]byte, error)

func (*FlagLinkCollectionRep) SetItems ¶

func (o *FlagLinkCollectionRep) SetItems(v []FlagLinkRep)

SetItems sets field value

func (o *FlagLinkCollectionRep) SetLinks(v map[string]Link)

SetLinks sets field value

type FlagLinkMember ¶

type FlagLinkMember struct {
	Links     map[string]Link `json:"_links"`
	Id        string          `json:"_id"`
	FirstName *string         `json:"firstName,omitempty"`
	LastName  *string         `json:"lastName,omitempty"`
}

FlagLinkMember struct for FlagLinkMember

func NewFlagLinkMember ¶

func NewFlagLinkMember(links map[string]Link, id string) *FlagLinkMember

NewFlagLinkMember instantiates a new FlagLinkMember object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagLinkMemberWithDefaults ¶

func NewFlagLinkMemberWithDefaults() *FlagLinkMember

NewFlagLinkMemberWithDefaults instantiates a new FlagLinkMember object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagLinkMember) GetFirstName ¶

func (o *FlagLinkMember) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*FlagLinkMember) GetFirstNameOk ¶

func (o *FlagLinkMember) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkMember) GetId ¶

func (o *FlagLinkMember) GetId() string

GetId returns the Id field value

func (*FlagLinkMember) GetIdOk ¶

func (o *FlagLinkMember) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*FlagLinkMember) GetLastName ¶

func (o *FlagLinkMember) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*FlagLinkMember) GetLastNameOk ¶

func (o *FlagLinkMember) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FlagLinkMember) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FlagLinkMember) GetLinksOk ¶

func (o *FlagLinkMember) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*FlagLinkMember) HasFirstName ¶

func (o *FlagLinkMember) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*FlagLinkMember) HasLastName ¶

func (o *FlagLinkMember) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (FlagLinkMember) MarshalJSON ¶

func (o FlagLinkMember) MarshalJSON() ([]byte, error)

func (*FlagLinkMember) SetFirstName ¶

func (o *FlagLinkMember) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*FlagLinkMember) SetId ¶

func (o *FlagLinkMember) SetId(v string)

SetId sets field value

func (*FlagLinkMember) SetLastName ¶

func (o *FlagLinkMember) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (o *FlagLinkMember) SetLinks(v map[string]Link)

SetLinks sets field value

type FlagLinkPost ¶

type FlagLinkPost struct {
	// The flag link key
	Key *string `json:"key,omitempty"`
	// The integration key for an integration whose <code>manifest.json</code> includes the <code>flagLink</code> capability, if this is a flag link for an existing integration. Do not include for URL flag links.
	IntegrationKey *string `json:"integrationKey,omitempty"`
	Timestamp      *int64  `json:"timestamp,omitempty"`
	// The URL for the external resource you are linking the flag to
	DeepLink *string `json:"deepLink,omitempty"`
	// The title of the flag link
	Title *string `json:"title,omitempty"`
	// The description of the flag link
	Description *string `json:"description,omitempty"`
	// The metadata required by this integration in order to create a flag link, if this is a flag link for an existing integration. Defined in the integration's <code>manifest.json</code> file under <code>flagLink</code>.
	Metadata *map[string]string `json:"metadata,omitempty"`
}

FlagLinkPost struct for FlagLinkPost

func NewFlagLinkPost ¶

func NewFlagLinkPost() *FlagLinkPost

NewFlagLinkPost instantiates a new FlagLinkPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagLinkPostWithDefaults ¶

func NewFlagLinkPostWithDefaults() *FlagLinkPost

NewFlagLinkPostWithDefaults instantiates a new FlagLinkPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *FlagLinkPost) GetDeepLink() string

GetDeepLink returns the DeepLink field value if set, zero value otherwise.

func (*FlagLinkPost) GetDeepLinkOk ¶

func (o *FlagLinkPost) GetDeepLinkOk() (*string, bool)

GetDeepLinkOk returns a tuple with the DeepLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkPost) GetDescription ¶

func (o *FlagLinkPost) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*FlagLinkPost) GetDescriptionOk ¶

func (o *FlagLinkPost) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkPost) GetIntegrationKey ¶

func (o *FlagLinkPost) GetIntegrationKey() string

GetIntegrationKey returns the IntegrationKey field value if set, zero value otherwise.

func (*FlagLinkPost) GetIntegrationKeyOk ¶

func (o *FlagLinkPost) GetIntegrationKeyOk() (*string, bool)

GetIntegrationKeyOk returns a tuple with the IntegrationKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkPost) GetKey ¶

func (o *FlagLinkPost) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*FlagLinkPost) GetKeyOk ¶

func (o *FlagLinkPost) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkPost) GetMetadata ¶

func (o *FlagLinkPost) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*FlagLinkPost) GetMetadataOk ¶

func (o *FlagLinkPost) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkPost) GetTimestamp ¶

func (o *FlagLinkPost) GetTimestamp() int64

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*FlagLinkPost) GetTimestampOk ¶

func (o *FlagLinkPost) GetTimestampOk() (*int64, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkPost) GetTitle ¶

func (o *FlagLinkPost) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*FlagLinkPost) GetTitleOk ¶

func (o *FlagLinkPost) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FlagLinkPost) HasDeepLink() bool

HasDeepLink returns a boolean if a field has been set.

func (*FlagLinkPost) HasDescription ¶

func (o *FlagLinkPost) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FlagLinkPost) HasIntegrationKey ¶

func (o *FlagLinkPost) HasIntegrationKey() bool

HasIntegrationKey returns a boolean if a field has been set.

func (*FlagLinkPost) HasKey ¶

func (o *FlagLinkPost) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*FlagLinkPost) HasMetadata ¶

func (o *FlagLinkPost) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*FlagLinkPost) HasTimestamp ¶

func (o *FlagLinkPost) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*FlagLinkPost) HasTitle ¶

func (o *FlagLinkPost) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (FlagLinkPost) MarshalJSON ¶

func (o FlagLinkPost) MarshalJSON() ([]byte, error)
func (o *FlagLinkPost) SetDeepLink(v string)

SetDeepLink gets a reference to the given string and assigns it to the DeepLink field.

func (*FlagLinkPost) SetDescription ¶

func (o *FlagLinkPost) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*FlagLinkPost) SetIntegrationKey ¶

func (o *FlagLinkPost) SetIntegrationKey(v string)

SetIntegrationKey gets a reference to the given string and assigns it to the IntegrationKey field.

func (*FlagLinkPost) SetKey ¶

func (o *FlagLinkPost) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*FlagLinkPost) SetMetadata ¶

func (o *FlagLinkPost) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*FlagLinkPost) SetTimestamp ¶

func (o *FlagLinkPost) SetTimestamp(v int64)

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

func (*FlagLinkPost) SetTitle ¶

func (o *FlagLinkPost) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

type FlagLinkRep ¶

type FlagLinkRep struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The flag link key
	Key *string `json:"_key,omitempty"`
	// The integration key for an integration whose <code>manifest.json</code> includes the <code>flagLink</code> capability, if this is a flag link for an existing integration
	IntegrationKey *string `json:"_integrationKey,omitempty"`
	// The ID of this flag link
	Id string `json:"_id"`
	// The URL for the external resource the flag is linked to
	DeepLink  string       `json:"_deepLink"`
	Timestamp TimestampRep `json:"_timestamp"`
	// The title of the flag link
	Title *string `json:"title,omitempty"`
	// The description of the flag link
	Description *string `json:"description,omitempty"`
	// The metadata required by this integration in order to create a flag link, if this is a flag link for an existing integration. Defined in the integration's <code>manifest.json</code> file under <code>flagLink</code>.
	Metadata  *map[string]string `json:"_metadata,omitempty"`
	CreatedAt int64              `json:"_createdAt"`
	Member    *FlagLinkMember    `json:"_member,omitempty"`
}

FlagLinkRep struct for FlagLinkRep

func NewFlagLinkRep ¶

func NewFlagLinkRep(links map[string]Link, id string, deepLink string, timestamp TimestampRep, createdAt int64) *FlagLinkRep

NewFlagLinkRep instantiates a new FlagLinkRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagLinkRepWithDefaults ¶

func NewFlagLinkRepWithDefaults() *FlagLinkRep

NewFlagLinkRepWithDefaults instantiates a new FlagLinkRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagLinkRep) GetCreatedAt ¶

func (o *FlagLinkRep) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value

func (*FlagLinkRep) GetCreatedAtOk ¶

func (o *FlagLinkRep) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (o *FlagLinkRep) GetDeepLink() string

GetDeepLink returns the DeepLink field value

func (*FlagLinkRep) GetDeepLinkOk ¶

func (o *FlagLinkRep) GetDeepLinkOk() (*string, bool)

GetDeepLinkOk returns a tuple with the DeepLink field value and a boolean to check if the value has been set.

func (*FlagLinkRep) GetDescription ¶

func (o *FlagLinkRep) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*FlagLinkRep) GetDescriptionOk ¶

func (o *FlagLinkRep) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkRep) GetId ¶

func (o *FlagLinkRep) GetId() string

GetId returns the Id field value

func (*FlagLinkRep) GetIdOk ¶

func (o *FlagLinkRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*FlagLinkRep) GetIntegrationKey ¶

func (o *FlagLinkRep) GetIntegrationKey() string

GetIntegrationKey returns the IntegrationKey field value if set, zero value otherwise.

func (*FlagLinkRep) GetIntegrationKeyOk ¶

func (o *FlagLinkRep) GetIntegrationKeyOk() (*string, bool)

GetIntegrationKeyOk returns a tuple with the IntegrationKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkRep) GetKey ¶

func (o *FlagLinkRep) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*FlagLinkRep) GetKeyOk ¶

func (o *FlagLinkRep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FlagLinkRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FlagLinkRep) GetLinksOk ¶

func (o *FlagLinkRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*FlagLinkRep) GetMember ¶

func (o *FlagLinkRep) GetMember() FlagLinkMember

GetMember returns the Member field value if set, zero value otherwise.

func (*FlagLinkRep) GetMemberOk ¶

func (o *FlagLinkRep) GetMemberOk() (*FlagLinkMember, bool)

GetMemberOk returns a tuple with the Member field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkRep) GetMetadata ¶

func (o *FlagLinkRep) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*FlagLinkRep) GetMetadataOk ¶

func (o *FlagLinkRep) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkRep) GetTimestamp ¶

func (o *FlagLinkRep) GetTimestamp() TimestampRep

GetTimestamp returns the Timestamp field value

func (*FlagLinkRep) GetTimestampOk ¶

func (o *FlagLinkRep) GetTimestampOk() (*TimestampRep, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*FlagLinkRep) GetTitle ¶

func (o *FlagLinkRep) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*FlagLinkRep) GetTitleOk ¶

func (o *FlagLinkRep) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagLinkRep) HasDescription ¶

func (o *FlagLinkRep) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FlagLinkRep) HasIntegrationKey ¶

func (o *FlagLinkRep) HasIntegrationKey() bool

HasIntegrationKey returns a boolean if a field has been set.

func (*FlagLinkRep) HasKey ¶

func (o *FlagLinkRep) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*FlagLinkRep) HasMember ¶

func (o *FlagLinkRep) HasMember() bool

HasMember returns a boolean if a field has been set.

func (*FlagLinkRep) HasMetadata ¶

func (o *FlagLinkRep) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*FlagLinkRep) HasTitle ¶

func (o *FlagLinkRep) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (FlagLinkRep) MarshalJSON ¶

func (o FlagLinkRep) MarshalJSON() ([]byte, error)

func (*FlagLinkRep) SetCreatedAt ¶

func (o *FlagLinkRep) SetCreatedAt(v int64)

SetCreatedAt sets field value

func (o *FlagLinkRep) SetDeepLink(v string)

SetDeepLink sets field value

func (*FlagLinkRep) SetDescription ¶

func (o *FlagLinkRep) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*FlagLinkRep) SetId ¶

func (o *FlagLinkRep) SetId(v string)

SetId sets field value

func (*FlagLinkRep) SetIntegrationKey ¶

func (o *FlagLinkRep) SetIntegrationKey(v string)

SetIntegrationKey gets a reference to the given string and assigns it to the IntegrationKey field.

func (*FlagLinkRep) SetKey ¶

func (o *FlagLinkRep) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (o *FlagLinkRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*FlagLinkRep) SetMember ¶

func (o *FlagLinkRep) SetMember(v FlagLinkMember)

SetMember gets a reference to the given FlagLinkMember and assigns it to the Member field.

func (*FlagLinkRep) SetMetadata ¶

func (o *FlagLinkRep) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*FlagLinkRep) SetTimestamp ¶

func (o *FlagLinkRep) SetTimestamp(v TimestampRep)

SetTimestamp sets field value

func (*FlagLinkRep) SetTitle ¶

func (o *FlagLinkRep) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

type FlagLinksBetaApiService ¶

type FlagLinksBetaApiService service

FlagLinksBetaApiService FlagLinksBetaApi service

func (a *FlagLinksBetaApiService) CreateFlagLink(ctx context.Context, projectKey string, featureFlagKey string) ApiCreateFlagLinkRequest

CreateFlagLink Create flag link

Create a new flag link. Flag links let you reference external resources and associate them with your flags.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@return ApiCreateFlagLinkRequest

func (*FlagLinksBetaApiService) CreateFlagLinkExecute ¶

Execute executes the request

@return FlagLinkRep
func (a *FlagLinksBetaApiService) DeleteFlagLink(ctx context.Context, projectKey string, featureFlagKey string, id string) ApiDeleteFlagLinkRequest

DeleteFlagLink Delete flag link

Delete a flag link by ID or key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param id The flag link ID or Key
@return ApiDeleteFlagLinkRequest

func (*FlagLinksBetaApiService) DeleteFlagLinkExecute ¶

func (a *FlagLinksBetaApiService) DeleteFlagLinkExecute(r ApiDeleteFlagLinkRequest) (*http.Response, error)

Execute executes the request

func (a *FlagLinksBetaApiService) GetFlagLinks(ctx context.Context, projectKey string, featureFlagKey string) ApiGetFlagLinksRequest

GetFlagLinks List flag links

Get a list of all flag links.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@return ApiGetFlagLinksRequest

func (*FlagLinksBetaApiService) GetFlagLinksExecute ¶

Execute executes the request

@return FlagLinkCollectionRep
func (a *FlagLinksBetaApiService) UpdateFlagLink(ctx context.Context, projectKey string, featureFlagKey string, id string) ApiUpdateFlagLinkRequest

UpdateFlagLink Update flag link

Update a flag link. Updating a flag link uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param id The flag link ID
@return ApiUpdateFlagLinkRequest

func (*FlagLinksBetaApiService) UpdateFlagLinkExecute ¶

Execute executes the request

@return FlagLinkRep

type FlagListingRep ¶

type FlagListingRep struct {
	// The flag name
	Name string `json:"name"`
	// The flag key
	Key   string           `json:"key"`
	Links *map[string]Link `json:"_links,omitempty"`
	Site  *Link            `json:"_site,omitempty"`
}

FlagListingRep struct for FlagListingRep

func NewFlagListingRep ¶

func NewFlagListingRep(name string, key string) *FlagListingRep

NewFlagListingRep instantiates a new FlagListingRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagListingRepWithDefaults ¶

func NewFlagListingRepWithDefaults() *FlagListingRep

NewFlagListingRepWithDefaults instantiates a new FlagListingRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagListingRep) GetKey ¶

func (o *FlagListingRep) GetKey() string

GetKey returns the Key field value

func (*FlagListingRep) GetKeyOk ¶

func (o *FlagListingRep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *FlagListingRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*FlagListingRep) GetLinksOk ¶

func (o *FlagListingRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagListingRep) GetName ¶

func (o *FlagListingRep) GetName() string

GetName returns the Name field value

func (*FlagListingRep) GetNameOk ¶

func (o *FlagListingRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*FlagListingRep) GetSite ¶

func (o *FlagListingRep) GetSite() Link

GetSite returns the Site field value if set, zero value otherwise.

func (*FlagListingRep) GetSiteOk ¶

func (o *FlagListingRep) GetSiteOk() (*Link, bool)

GetSiteOk returns a tuple with the Site field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FlagListingRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*FlagListingRep) HasSite ¶

func (o *FlagListingRep) HasSite() bool

HasSite returns a boolean if a field has been set.

func (FlagListingRep) MarshalJSON ¶

func (o FlagListingRep) MarshalJSON() ([]byte, error)

func (*FlagListingRep) SetKey ¶

func (o *FlagListingRep) SetKey(v string)

SetKey sets field value

func (o *FlagListingRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*FlagListingRep) SetName ¶

func (o *FlagListingRep) SetName(v string)

SetName sets field value

func (*FlagListingRep) SetSite ¶

func (o *FlagListingRep) SetSite(v Link)

SetSite gets a reference to the given Link and assigns it to the Site field.

type FlagMigrationSettingsRep ¶

type FlagMigrationSettingsRep struct {
	// The context kind targeted by this migration flag. Only applicable for six-stage migrations.
	ContextKind *string `json:"contextKind,omitempty"`
	// The number of stages for this migration flag
	StageCount *int32 `json:"stageCount,omitempty"`
}

FlagMigrationSettingsRep struct for FlagMigrationSettingsRep

func NewFlagMigrationSettingsRep ¶

func NewFlagMigrationSettingsRep() *FlagMigrationSettingsRep

NewFlagMigrationSettingsRep instantiates a new FlagMigrationSettingsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagMigrationSettingsRepWithDefaults ¶

func NewFlagMigrationSettingsRepWithDefaults() *FlagMigrationSettingsRep

NewFlagMigrationSettingsRepWithDefaults instantiates a new FlagMigrationSettingsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagMigrationSettingsRep) GetContextKind ¶

func (o *FlagMigrationSettingsRep) GetContextKind() string

GetContextKind returns the ContextKind field value if set, zero value otherwise.

func (*FlagMigrationSettingsRep) GetContextKindOk ¶

func (o *FlagMigrationSettingsRep) GetContextKindOk() (*string, bool)

GetContextKindOk returns a tuple with the ContextKind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagMigrationSettingsRep) GetStageCount ¶

func (o *FlagMigrationSettingsRep) GetStageCount() int32

GetStageCount returns the StageCount field value if set, zero value otherwise.

func (*FlagMigrationSettingsRep) GetStageCountOk ¶

func (o *FlagMigrationSettingsRep) GetStageCountOk() (*int32, bool)

GetStageCountOk returns a tuple with the StageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagMigrationSettingsRep) HasContextKind ¶

func (o *FlagMigrationSettingsRep) HasContextKind() bool

HasContextKind returns a boolean if a field has been set.

func (*FlagMigrationSettingsRep) HasStageCount ¶

func (o *FlagMigrationSettingsRep) HasStageCount() bool

HasStageCount returns a boolean if a field has been set.

func (FlagMigrationSettingsRep) MarshalJSON ¶

func (o FlagMigrationSettingsRep) MarshalJSON() ([]byte, error)

func (*FlagMigrationSettingsRep) SetContextKind ¶

func (o *FlagMigrationSettingsRep) SetContextKind(v string)

SetContextKind gets a reference to the given string and assigns it to the ContextKind field.

func (*FlagMigrationSettingsRep) SetStageCount ¶

func (o *FlagMigrationSettingsRep) SetStageCount(v int32)

SetStageCount gets a reference to the given int32 and assigns it to the StageCount field.

type FlagReferenceCollectionRep ¶

type FlagReferenceCollectionRep struct {
	// The total number of flag references
	TotalCount int32 `json:"totalCount"`
	// A list of flag references
	Items []FlagReferenceRep `json:"items"`
}

FlagReferenceCollectionRep struct for FlagReferenceCollectionRep

func NewFlagReferenceCollectionRep ¶

func NewFlagReferenceCollectionRep(totalCount int32, items []FlagReferenceRep) *FlagReferenceCollectionRep

NewFlagReferenceCollectionRep instantiates a new FlagReferenceCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagReferenceCollectionRepWithDefaults ¶

func NewFlagReferenceCollectionRepWithDefaults() *FlagReferenceCollectionRep

NewFlagReferenceCollectionRepWithDefaults instantiates a new FlagReferenceCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagReferenceCollectionRep) GetItems ¶

GetItems returns the Items field value

func (*FlagReferenceCollectionRep) GetItemsOk ¶

func (o *FlagReferenceCollectionRep) GetItemsOk() ([]FlagReferenceRep, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*FlagReferenceCollectionRep) GetTotalCount ¶

func (o *FlagReferenceCollectionRep) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*FlagReferenceCollectionRep) GetTotalCountOk ¶

func (o *FlagReferenceCollectionRep) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (FlagReferenceCollectionRep) MarshalJSON ¶

func (o FlagReferenceCollectionRep) MarshalJSON() ([]byte, error)

func (*FlagReferenceCollectionRep) SetItems ¶

SetItems sets field value

func (*FlagReferenceCollectionRep) SetTotalCount ¶

func (o *FlagReferenceCollectionRep) SetTotalCount(v int32)

SetTotalCount sets field value

type FlagReferenceRep ¶

type FlagReferenceRep struct {
	// The project key
	ProjectKey string `json:"projectKey"`
	// The flag key
	FlagKey string `json:"flagKey"`
	// The number of references added
	ReferencesAdded int32 `json:"referencesAdded"`
	// The number of references removed
	ReferencesRemoved int32 `json:"referencesRemoved"`
}

FlagReferenceRep struct for FlagReferenceRep

func NewFlagReferenceRep ¶

func NewFlagReferenceRep(projectKey string, flagKey string, referencesAdded int32, referencesRemoved int32) *FlagReferenceRep

NewFlagReferenceRep instantiates a new FlagReferenceRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagReferenceRepWithDefaults ¶

func NewFlagReferenceRepWithDefaults() *FlagReferenceRep

NewFlagReferenceRepWithDefaults instantiates a new FlagReferenceRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagReferenceRep) GetFlagKey ¶

func (o *FlagReferenceRep) GetFlagKey() string

GetFlagKey returns the FlagKey field value

func (*FlagReferenceRep) GetFlagKeyOk ¶

func (o *FlagReferenceRep) GetFlagKeyOk() (*string, bool)

GetFlagKeyOk returns a tuple with the FlagKey field value and a boolean to check if the value has been set.

func (*FlagReferenceRep) GetProjectKey ¶

func (o *FlagReferenceRep) GetProjectKey() string

GetProjectKey returns the ProjectKey field value

func (*FlagReferenceRep) GetProjectKeyOk ¶

func (o *FlagReferenceRep) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value and a boolean to check if the value has been set.

func (*FlagReferenceRep) GetReferencesAdded ¶

func (o *FlagReferenceRep) GetReferencesAdded() int32

GetReferencesAdded returns the ReferencesAdded field value

func (*FlagReferenceRep) GetReferencesAddedOk ¶

func (o *FlagReferenceRep) GetReferencesAddedOk() (*int32, bool)

GetReferencesAddedOk returns a tuple with the ReferencesAdded field value and a boolean to check if the value has been set.

func (*FlagReferenceRep) GetReferencesRemoved ¶

func (o *FlagReferenceRep) GetReferencesRemoved() int32

GetReferencesRemoved returns the ReferencesRemoved field value

func (*FlagReferenceRep) GetReferencesRemovedOk ¶

func (o *FlagReferenceRep) GetReferencesRemovedOk() (*int32, bool)

GetReferencesRemovedOk returns a tuple with the ReferencesRemoved field value and a boolean to check if the value has been set.

func (FlagReferenceRep) MarshalJSON ¶

func (o FlagReferenceRep) MarshalJSON() ([]byte, error)

func (*FlagReferenceRep) SetFlagKey ¶

func (o *FlagReferenceRep) SetFlagKey(v string)

SetFlagKey sets field value

func (*FlagReferenceRep) SetProjectKey ¶

func (o *FlagReferenceRep) SetProjectKey(v string)

SetProjectKey sets field value

func (*FlagReferenceRep) SetReferencesAdded ¶

func (o *FlagReferenceRep) SetReferencesAdded(v int32)

SetReferencesAdded sets field value

func (*FlagReferenceRep) SetReferencesRemoved ¶

func (o *FlagReferenceRep) SetReferencesRemoved(v int32)

SetReferencesRemoved sets field value

type FlagRep ¶

type FlagRep struct {
	// The targeting rule
	TargetingRule *string `json:"targetingRule,omitempty"`
	// The rule description
	TargetingRuleDescription *string `json:"targetingRuleDescription,omitempty"`
	// An array of clauses used for individual targeting based on attributes
	TargetingRuleClauses []interface{} `json:"targetingRuleClauses,omitempty"`
	// The flag version
	FlagConfigVersion *int32 `json:"flagConfigVersion,omitempty"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

FlagRep struct for FlagRep

func NewFlagRep ¶

func NewFlagRep(links map[string]Link) *FlagRep

NewFlagRep instantiates a new FlagRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagRepWithDefaults ¶

func NewFlagRepWithDefaults() *FlagRep

NewFlagRepWithDefaults instantiates a new FlagRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagRep) GetFlagConfigVersion ¶

func (o *FlagRep) GetFlagConfigVersion() int32

GetFlagConfigVersion returns the FlagConfigVersion field value if set, zero value otherwise.

func (*FlagRep) GetFlagConfigVersionOk ¶

func (o *FlagRep) GetFlagConfigVersionOk() (*int32, bool)

GetFlagConfigVersionOk returns a tuple with the FlagConfigVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FlagRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FlagRep) GetLinksOk ¶

func (o *FlagRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*FlagRep) GetTargetingRule ¶

func (o *FlagRep) GetTargetingRule() string

GetTargetingRule returns the TargetingRule field value if set, zero value otherwise.

func (*FlagRep) GetTargetingRuleClauses ¶

func (o *FlagRep) GetTargetingRuleClauses() []interface{}

GetTargetingRuleClauses returns the TargetingRuleClauses field value if set, zero value otherwise.

func (*FlagRep) GetTargetingRuleClausesOk ¶

func (o *FlagRep) GetTargetingRuleClausesOk() ([]interface{}, bool)

GetTargetingRuleClausesOk returns a tuple with the TargetingRuleClauses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagRep) GetTargetingRuleDescription ¶

func (o *FlagRep) GetTargetingRuleDescription() string

GetTargetingRuleDescription returns the TargetingRuleDescription field value if set, zero value otherwise.

func (*FlagRep) GetTargetingRuleDescriptionOk ¶

func (o *FlagRep) GetTargetingRuleDescriptionOk() (*string, bool)

GetTargetingRuleDescriptionOk returns a tuple with the TargetingRuleDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagRep) GetTargetingRuleOk ¶

func (o *FlagRep) GetTargetingRuleOk() (*string, bool)

GetTargetingRuleOk returns a tuple with the TargetingRule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagRep) HasFlagConfigVersion ¶

func (o *FlagRep) HasFlagConfigVersion() bool

HasFlagConfigVersion returns a boolean if a field has been set.

func (*FlagRep) HasTargetingRule ¶

func (o *FlagRep) HasTargetingRule() bool

HasTargetingRule returns a boolean if a field has been set.

func (*FlagRep) HasTargetingRuleClauses ¶

func (o *FlagRep) HasTargetingRuleClauses() bool

HasTargetingRuleClauses returns a boolean if a field has been set.

func (*FlagRep) HasTargetingRuleDescription ¶

func (o *FlagRep) HasTargetingRuleDescription() bool

HasTargetingRuleDescription returns a boolean if a field has been set.

func (FlagRep) MarshalJSON ¶

func (o FlagRep) MarshalJSON() ([]byte, error)

func (*FlagRep) SetFlagConfigVersion ¶

func (o *FlagRep) SetFlagConfigVersion(v int32)

SetFlagConfigVersion gets a reference to the given int32 and assigns it to the FlagConfigVersion field.

func (o *FlagRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*FlagRep) SetTargetingRule ¶

func (o *FlagRep) SetTargetingRule(v string)

SetTargetingRule gets a reference to the given string and assigns it to the TargetingRule field.

func (*FlagRep) SetTargetingRuleClauses ¶

func (o *FlagRep) SetTargetingRuleClauses(v []interface{})

SetTargetingRuleClauses gets a reference to the given []interface{} and assigns it to the TargetingRuleClauses field.

func (*FlagRep) SetTargetingRuleDescription ¶

func (o *FlagRep) SetTargetingRuleDescription(v string)

SetTargetingRuleDescription gets a reference to the given string and assigns it to the TargetingRuleDescription field.

type FlagScheduledChangesInput ¶

type FlagScheduledChangesInput struct {
	// Optional comment describing the update to the scheduled changes
	Comment      *string                  `json:"comment,omitempty"`
	Instructions []map[string]interface{} `json:"instructions"`
}

FlagScheduledChangesInput struct for FlagScheduledChangesInput

func NewFlagScheduledChangesInput ¶

func NewFlagScheduledChangesInput(instructions []map[string]interface{}) *FlagScheduledChangesInput

NewFlagScheduledChangesInput instantiates a new FlagScheduledChangesInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagScheduledChangesInputWithDefaults ¶

func NewFlagScheduledChangesInputWithDefaults() *FlagScheduledChangesInput

NewFlagScheduledChangesInputWithDefaults instantiates a new FlagScheduledChangesInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagScheduledChangesInput) GetComment ¶

func (o *FlagScheduledChangesInput) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*FlagScheduledChangesInput) GetCommentOk ¶

func (o *FlagScheduledChangesInput) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagScheduledChangesInput) GetInstructions ¶

func (o *FlagScheduledChangesInput) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*FlagScheduledChangesInput) GetInstructionsOk ¶

func (o *FlagScheduledChangesInput) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*FlagScheduledChangesInput) HasComment ¶

func (o *FlagScheduledChangesInput) HasComment() bool

HasComment returns a boolean if a field has been set.

func (FlagScheduledChangesInput) MarshalJSON ¶

func (o FlagScheduledChangesInput) MarshalJSON() ([]byte, error)

func (*FlagScheduledChangesInput) SetComment ¶

func (o *FlagScheduledChangesInput) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*FlagScheduledChangesInput) SetInstructions ¶

func (o *FlagScheduledChangesInput) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

type FlagSempatch ¶

type FlagSempatch struct {
	Instructions []map[string]interface{} `json:"instructions"`
	Comment      *string                  `json:"comment,omitempty"`
}

FlagSempatch struct for FlagSempatch

func NewFlagSempatch ¶

func NewFlagSempatch(instructions []map[string]interface{}) *FlagSempatch

NewFlagSempatch instantiates a new FlagSempatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagSempatchWithDefaults ¶

func NewFlagSempatchWithDefaults() *FlagSempatch

NewFlagSempatchWithDefaults instantiates a new FlagSempatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagSempatch) GetComment ¶

func (o *FlagSempatch) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*FlagSempatch) GetCommentOk ¶

func (o *FlagSempatch) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagSempatch) GetInstructions ¶

func (o *FlagSempatch) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*FlagSempatch) GetInstructionsOk ¶

func (o *FlagSempatch) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*FlagSempatch) HasComment ¶

func (o *FlagSempatch) HasComment() bool

HasComment returns a boolean if a field has been set.

func (FlagSempatch) MarshalJSON ¶

func (o FlagSempatch) MarshalJSON() ([]byte, error)

func (*FlagSempatch) SetComment ¶

func (o *FlagSempatch) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*FlagSempatch) SetInstructions ¶

func (o *FlagSempatch) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

type FlagStatusRep ¶

type FlagStatusRep struct {
	Links map[string]Link `json:"_links"`
	// Status of the flag
	Name *string `json:"name,omitempty"`
	// Timestamp of last time flag was requested
	LastRequested *time.Time `json:"lastRequested,omitempty"`
	// Default value seen from code
	Default interface{} `json:"default,omitempty"`
}

FlagStatusRep struct for FlagStatusRep

func NewFlagStatusRep ¶

func NewFlagStatusRep(links map[string]Link) *FlagStatusRep

NewFlagStatusRep instantiates a new FlagStatusRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagStatusRepWithDefaults ¶

func NewFlagStatusRepWithDefaults() *FlagStatusRep

NewFlagStatusRepWithDefaults instantiates a new FlagStatusRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagStatusRep) GetDefault ¶

func (o *FlagStatusRep) GetDefault() interface{}

GetDefault returns the Default field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FlagStatusRep) GetDefaultOk ¶

func (o *FlagStatusRep) GetDefaultOk() (*interface{}, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FlagStatusRep) GetLastRequested ¶

func (o *FlagStatusRep) GetLastRequested() time.Time

GetLastRequested returns the LastRequested field value if set, zero value otherwise.

func (*FlagStatusRep) GetLastRequestedOk ¶

func (o *FlagStatusRep) GetLastRequestedOk() (*time.Time, bool)

GetLastRequestedOk returns a tuple with the LastRequested field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FlagStatusRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FlagStatusRep) GetLinksOk ¶

func (o *FlagStatusRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*FlagStatusRep) GetName ¶

func (o *FlagStatusRep) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*FlagStatusRep) GetNameOk ¶

func (o *FlagStatusRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagStatusRep) HasDefault ¶

func (o *FlagStatusRep) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*FlagStatusRep) HasLastRequested ¶

func (o *FlagStatusRep) HasLastRequested() bool

HasLastRequested returns a boolean if a field has been set.

func (*FlagStatusRep) HasName ¶

func (o *FlagStatusRep) HasName() bool

HasName returns a boolean if a field has been set.

func (FlagStatusRep) MarshalJSON ¶

func (o FlagStatusRep) MarshalJSON() ([]byte, error)

func (*FlagStatusRep) SetDefault ¶

func (o *FlagStatusRep) SetDefault(v interface{})

SetDefault gets a reference to the given interface{} and assigns it to the Default field.

func (*FlagStatusRep) SetLastRequested ¶

func (o *FlagStatusRep) SetLastRequested(v time.Time)

SetLastRequested gets a reference to the given time.Time and assigns it to the LastRequested field.

func (o *FlagStatusRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*FlagStatusRep) SetName ¶

func (o *FlagStatusRep) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type FlagSummary ¶

type FlagSummary struct {
	Variations map[string]VariationSummary `json:"variations"`
	// The number of prerequisites for this flag
	Prerequisites int32 `json:"prerequisites"`
}

FlagSummary struct for FlagSummary

func NewFlagSummary ¶

func NewFlagSummary(variations map[string]VariationSummary, prerequisites int32) *FlagSummary

NewFlagSummary instantiates a new FlagSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagSummaryWithDefaults ¶

func NewFlagSummaryWithDefaults() *FlagSummary

NewFlagSummaryWithDefaults instantiates a new FlagSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagSummary) GetPrerequisites ¶

func (o *FlagSummary) GetPrerequisites() int32

GetPrerequisites returns the Prerequisites field value

func (*FlagSummary) GetPrerequisitesOk ¶

func (o *FlagSummary) GetPrerequisitesOk() (*int32, bool)

GetPrerequisitesOk returns a tuple with the Prerequisites field value and a boolean to check if the value has been set.

func (*FlagSummary) GetVariations ¶

func (o *FlagSummary) GetVariations() map[string]VariationSummary

GetVariations returns the Variations field value

func (*FlagSummary) GetVariationsOk ¶

func (o *FlagSummary) GetVariationsOk() (*map[string]VariationSummary, bool)

GetVariationsOk returns a tuple with the Variations field value and a boolean to check if the value has been set.

func (FlagSummary) MarshalJSON ¶

func (o FlagSummary) MarshalJSON() ([]byte, error)

func (*FlagSummary) SetPrerequisites ¶

func (o *FlagSummary) SetPrerequisites(v int32)

SetPrerequisites sets field value

func (*FlagSummary) SetVariations ¶

func (o *FlagSummary) SetVariations(v map[string]VariationSummary)

SetVariations sets field value

type FlagTriggerInput ¶

type FlagTriggerInput struct {
	// Optional comment describing the update
	Comment *string `json:"comment,omitempty"`
	// The instructions to perform when updating. This should be an array with objects that look like <code>{\"kind\": \"trigger_action\"}</code>.
	Instructions []map[string]interface{} `json:"instructions,omitempty"`
}

FlagTriggerInput struct for FlagTriggerInput

func NewFlagTriggerInput ¶

func NewFlagTriggerInput() *FlagTriggerInput

NewFlagTriggerInput instantiates a new FlagTriggerInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFlagTriggerInputWithDefaults ¶

func NewFlagTriggerInputWithDefaults() *FlagTriggerInput

NewFlagTriggerInputWithDefaults instantiates a new FlagTriggerInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FlagTriggerInput) GetComment ¶

func (o *FlagTriggerInput) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*FlagTriggerInput) GetCommentOk ¶

func (o *FlagTriggerInput) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagTriggerInput) GetInstructions ¶

func (o *FlagTriggerInput) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value if set, zero value otherwise.

func (*FlagTriggerInput) GetInstructionsOk ¶

func (o *FlagTriggerInput) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FlagTriggerInput) HasComment ¶

func (o *FlagTriggerInput) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*FlagTriggerInput) HasInstructions ¶

func (o *FlagTriggerInput) HasInstructions() bool

HasInstructions returns a boolean if a field has been set.

func (FlagTriggerInput) MarshalJSON ¶

func (o FlagTriggerInput) MarshalJSON() ([]byte, error)

func (*FlagTriggerInput) SetComment ¶

func (o *FlagTriggerInput) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*FlagTriggerInput) SetInstructions ¶

func (o *FlagTriggerInput) SetInstructions(v []map[string]interface{})

SetInstructions gets a reference to the given []map[string]interface{} and assigns it to the Instructions field.

type FlagTriggersApiService ¶

type FlagTriggersApiService service

FlagTriggersApiService FlagTriggersApi service

func (*FlagTriggersApiService) CreateTriggerWorkflow ¶

func (a *FlagTriggersApiService) CreateTriggerWorkflow(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiCreateTriggerWorkflowRequest

CreateTriggerWorkflow Create flag trigger

Create a new flag trigger.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@return ApiCreateTriggerWorkflowRequest

func (*FlagTriggersApiService) CreateTriggerWorkflowExecute ¶

Execute executes the request

@return TriggerWorkflowRep

func (*FlagTriggersApiService) DeleteTriggerWorkflow ¶

func (a *FlagTriggersApiService) DeleteTriggerWorkflow(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string, id string) ApiDeleteTriggerWorkflowRequest

DeleteTriggerWorkflow Delete flag trigger

Delete a flag trigger by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@param id The flag trigger ID
@return ApiDeleteTriggerWorkflowRequest

func (*FlagTriggersApiService) DeleteTriggerWorkflowExecute ¶

func (a *FlagTriggersApiService) DeleteTriggerWorkflowExecute(r ApiDeleteTriggerWorkflowRequest) (*http.Response, error)

Execute executes the request

func (*FlagTriggersApiService) GetTriggerWorkflowById ¶

func (a *FlagTriggersApiService) GetTriggerWorkflowById(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, id string) ApiGetTriggerWorkflowByIdRequest

GetTriggerWorkflowById Get flag trigger by ID

Get a flag trigger by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param id The flag trigger ID
@return ApiGetTriggerWorkflowByIdRequest

func (*FlagTriggersApiService) GetTriggerWorkflowByIdExecute ¶

Execute executes the request

@return TriggerWorkflowRep

func (*FlagTriggersApiService) GetTriggerWorkflows ¶

func (a *FlagTriggersApiService) GetTriggerWorkflows(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiGetTriggerWorkflowsRequest

GetTriggerWorkflows List flag triggers

Get a list of all flag triggers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@return ApiGetTriggerWorkflowsRequest

func (*FlagTriggersApiService) GetTriggerWorkflowsExecute ¶

Execute executes the request

@return TriggerWorkflowCollectionRep

func (*FlagTriggersApiService) PatchTriggerWorkflow ¶

func (a *FlagTriggersApiService) PatchTriggerWorkflow(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string, id string) ApiPatchTriggerWorkflowRequest

PatchTriggerWorkflow Update flag trigger

Update a flag trigger. Updating a flag trigger uses the semantic patch format.

To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

### Instructions

Semantic patch requests support the following `kind` instructions for updating flag triggers.

<details> <summary>Click to expand instructions for <strong>updating flag triggers</strong></summary>

#### replaceTriggerActionInstructions

Removes the existing trigger action and replaces it with the new instructions.

##### Parameters

- `value`: An array of the new `kind`s of actions to perform when triggering. Supported flag actions are `turnFlagOn` and `turnFlagOff`.

Here's an example that replaces the existing action with new instructions to turn flag targeting off:

```json

{
  "instructions": [
    {
      "kind": "replaceTriggerActionInstructions",
      "value": [ {"kind": "turnFlagOff"} ]
    }
  ]
}

```

#### cycleTriggerUrl

Generates a new URL for this trigger. You must update any clients using the trigger to use this new URL.

Here's an example:

```json

{
  "instructions": [{ "kind": "cycleTriggerUrl" }]
}

```

#### disableTrigger

Disables the trigger. This saves the trigger configuration, but the trigger stops running. To re-enable, use `enableTrigger`.

Here's an example:

```json

{
  "instructions": [{ "kind": "disableTrigger" }]
}

```

#### enableTrigger

Enables the trigger. If you previously disabled the trigger, it begins running again.

Here's an example:

```json

{
  "instructions": [{ "kind": "enableTrigger" }]
}

```

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param featureFlagKey The feature flag key
@param id The flag trigger ID
@return ApiPatchTriggerWorkflowRequest

func (*FlagTriggersApiService) PatchTriggerWorkflowExecute ¶

Execute executes the request

@return TriggerWorkflowRep

type FollowFlagMember ¶

type FollowFlagMember struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The member's ID
	Id string `json:"_id"`
	// The member's first name
	FirstName *string `json:"firstName,omitempty"`
	// The member's last name
	LastName *string `json:"lastName,omitempty"`
	// The member's built-in role. If the member has no custom roles, this role will be in effect.
	Role string `json:"role"`
	// The member's email address
	Email string `json:"email"`
}

FollowFlagMember struct for FollowFlagMember

func NewFollowFlagMember ¶

func NewFollowFlagMember(links map[string]Link, id string, role string, email string) *FollowFlagMember

NewFollowFlagMember instantiates a new FollowFlagMember object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFollowFlagMemberWithDefaults ¶

func NewFollowFlagMemberWithDefaults() *FollowFlagMember

NewFollowFlagMemberWithDefaults instantiates a new FollowFlagMember object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FollowFlagMember) GetEmail ¶

func (o *FollowFlagMember) GetEmail() string

GetEmail returns the Email field value

func (*FollowFlagMember) GetEmailOk ¶

func (o *FollowFlagMember) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*FollowFlagMember) GetFirstName ¶

func (o *FollowFlagMember) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*FollowFlagMember) GetFirstNameOk ¶

func (o *FollowFlagMember) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FollowFlagMember) GetId ¶

func (o *FollowFlagMember) GetId() string

GetId returns the Id field value

func (*FollowFlagMember) GetIdOk ¶

func (o *FollowFlagMember) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*FollowFlagMember) GetLastName ¶

func (o *FollowFlagMember) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*FollowFlagMember) GetLastNameOk ¶

func (o *FollowFlagMember) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *FollowFlagMember) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FollowFlagMember) GetLinksOk ¶

func (o *FollowFlagMember) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*FollowFlagMember) GetRole ¶

func (o *FollowFlagMember) GetRole() string

GetRole returns the Role field value

func (*FollowFlagMember) GetRoleOk ¶

func (o *FollowFlagMember) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*FollowFlagMember) HasFirstName ¶

func (o *FollowFlagMember) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*FollowFlagMember) HasLastName ¶

func (o *FollowFlagMember) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (FollowFlagMember) MarshalJSON ¶

func (o FollowFlagMember) MarshalJSON() ([]byte, error)

func (*FollowFlagMember) SetEmail ¶

func (o *FollowFlagMember) SetEmail(v string)

SetEmail sets field value

func (*FollowFlagMember) SetFirstName ¶

func (o *FollowFlagMember) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*FollowFlagMember) SetId ¶

func (o *FollowFlagMember) SetId(v string)

SetId sets field value

func (*FollowFlagMember) SetLastName ¶

func (o *FollowFlagMember) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (o *FollowFlagMember) SetLinks(v map[string]Link)

SetLinks sets field value

func (*FollowFlagMember) SetRole ¶

func (o *FollowFlagMember) SetRole(v string)

SetRole sets field value

type FollowFlagsApiService ¶

type FollowFlagsApiService service

FollowFlagsApiService FollowFlagsApi service

func (*FollowFlagsApiService) DeleteFlagFollowers ¶

func (a *FollowFlagsApiService) DeleteFlagFollowers(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, memberId string) ApiDeleteFlagFollowersRequest

DeleteFlagFollowers Remove a member as a follower of a flag in a project and environment

Remove a member as a follower to a flag in a project and environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param memberId The memberId of the member to remove as a follower of the flag. Reader roles can only remove themselves.
@return ApiDeleteFlagFollowersRequest

func (*FollowFlagsApiService) DeleteFlagFollowersExecute ¶

func (a *FollowFlagsApiService) DeleteFlagFollowersExecute(r ApiDeleteFlagFollowersRequest) (*http.Response, error)

Execute executes the request

func (*FollowFlagsApiService) GetFlagFollowers ¶

func (a *FollowFlagsApiService) GetFlagFollowers(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string) ApiGetFlagFollowersRequest

GetFlagFollowers Get followers of a flag in a project and environment

Get a list of members following a flag in a project and environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@return ApiGetFlagFollowersRequest

func (*FollowFlagsApiService) GetFlagFollowersExecute ¶

Execute executes the request

@return FlagFollowersGetRep

func (*FollowFlagsApiService) GetFollowersByProjEnv ¶

func (a *FollowFlagsApiService) GetFollowersByProjEnv(ctx context.Context, projectKey string, environmentKey string) ApiGetFollowersByProjEnvRequest

GetFollowersByProjEnv Get followers of all flags in a given project and environment

Get followers of all flags in a given environment and project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetFollowersByProjEnvRequest

func (*FollowFlagsApiService) GetFollowersByProjEnvExecute ¶

Execute executes the request

@return FlagFollowersByProjEnvGetRep

func (*FollowFlagsApiService) PutFlagFollowers ¶

func (a *FollowFlagsApiService) PutFlagFollowers(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, memberId string) ApiPutFlagFollowersRequest

PutFlagFollowers Add a member as a follower of a flag in a project and environment

Add a member as a follower to a flag in a project and environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param memberId The memberId of the member to add as a follower of the flag. Reader roles can only add themselves.
@return ApiPutFlagFollowersRequest

func (*FollowFlagsApiService) PutFlagFollowersExecute ¶

func (a *FollowFlagsApiService) PutFlagFollowersExecute(r ApiPutFlagFollowersRequest) (*http.Response, error)

Execute executes the request

type FollowersPerFlag ¶

type FollowersPerFlag struct {
	// The flag key
	FlagKey *string `json:"flagKey,omitempty"`
	// A list of members who are following this flag
	Followers []FollowFlagMember `json:"followers,omitempty"`
}

FollowersPerFlag struct for FollowersPerFlag

func NewFollowersPerFlag ¶

func NewFollowersPerFlag() *FollowersPerFlag

NewFollowersPerFlag instantiates a new FollowersPerFlag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFollowersPerFlagWithDefaults ¶

func NewFollowersPerFlagWithDefaults() *FollowersPerFlag

NewFollowersPerFlagWithDefaults instantiates a new FollowersPerFlag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FollowersPerFlag) GetFlagKey ¶

func (o *FollowersPerFlag) GetFlagKey() string

GetFlagKey returns the FlagKey field value if set, zero value otherwise.

func (*FollowersPerFlag) GetFlagKeyOk ¶

func (o *FollowersPerFlag) GetFlagKeyOk() (*string, bool)

GetFlagKeyOk returns a tuple with the FlagKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FollowersPerFlag) GetFollowers ¶

func (o *FollowersPerFlag) GetFollowers() []FollowFlagMember

GetFollowers returns the Followers field value if set, zero value otherwise.

func (*FollowersPerFlag) GetFollowersOk ¶

func (o *FollowersPerFlag) GetFollowersOk() ([]FollowFlagMember, bool)

GetFollowersOk returns a tuple with the Followers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FollowersPerFlag) HasFlagKey ¶

func (o *FollowersPerFlag) HasFlagKey() bool

HasFlagKey returns a boolean if a field has been set.

func (*FollowersPerFlag) HasFollowers ¶

func (o *FollowersPerFlag) HasFollowers() bool

HasFollowers returns a boolean if a field has been set.

func (FollowersPerFlag) MarshalJSON ¶

func (o FollowersPerFlag) MarshalJSON() ([]byte, error)

func (*FollowersPerFlag) SetFlagKey ¶

func (o *FollowersPerFlag) SetFlagKey(v string)

SetFlagKey gets a reference to the given string and assigns it to the FlagKey field.

func (*FollowersPerFlag) SetFollowers ¶

func (o *FollowersPerFlag) SetFollowers(v []FollowFlagMember)

SetFollowers gets a reference to the given []FollowFlagMember and assigns it to the Followers field.

type ForbiddenErrorRep ¶

type ForbiddenErrorRep struct {
	// Specific error code encountered
	Code string `json:"code"`
	// Description of the error
	Message string `json:"message"`
}

ForbiddenErrorRep struct for ForbiddenErrorRep

func NewForbiddenErrorRep ¶

func NewForbiddenErrorRep(code string, message string) *ForbiddenErrorRep

NewForbiddenErrorRep instantiates a new ForbiddenErrorRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewForbiddenErrorRepWithDefaults ¶

func NewForbiddenErrorRepWithDefaults() *ForbiddenErrorRep

NewForbiddenErrorRepWithDefaults instantiates a new ForbiddenErrorRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ForbiddenErrorRep) GetCode ¶

func (o *ForbiddenErrorRep) GetCode() string

GetCode returns the Code field value

func (*ForbiddenErrorRep) GetCodeOk ¶

func (o *ForbiddenErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*ForbiddenErrorRep) GetMessage ¶

func (o *ForbiddenErrorRep) GetMessage() string

GetMessage returns the Message field value

func (*ForbiddenErrorRep) GetMessageOk ¶

func (o *ForbiddenErrorRep) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (ForbiddenErrorRep) MarshalJSON ¶

func (o ForbiddenErrorRep) MarshalJSON() ([]byte, error)

func (*ForbiddenErrorRep) SetCode ¶

func (o *ForbiddenErrorRep) SetCode(v string)

SetCode sets field value

func (*ForbiddenErrorRep) SetMessage ¶

func (o *ForbiddenErrorRep) SetMessage(v string)

SetMessage sets field value

type GenericOpenAPIError ¶

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body ¶

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error ¶

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model ¶

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HunkRep ¶

type HunkRep struct {
	// Line number of beginning of code reference hunk
	StartingLineNumber int32 `json:"startingLineNumber"`
	// Contextual lines of code that include the referenced feature flag
	Lines *string `json:"lines,omitempty"`
	// The project key
	ProjKey *string `json:"projKey,omitempty"`
	// The feature flag key
	FlagKey *string `json:"flagKey,omitempty"`
	// An array of flag key aliases
	Aliases []string `json:"aliases,omitempty"`
}

HunkRep struct for HunkRep

func NewHunkRep ¶

func NewHunkRep(startingLineNumber int32) *HunkRep

NewHunkRep instantiates a new HunkRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHunkRepWithDefaults ¶

func NewHunkRepWithDefaults() *HunkRep

NewHunkRepWithDefaults instantiates a new HunkRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HunkRep) GetAliases ¶

func (o *HunkRep) GetAliases() []string

GetAliases returns the Aliases field value if set, zero value otherwise.

func (*HunkRep) GetAliasesOk ¶

func (o *HunkRep) GetAliasesOk() ([]string, bool)

GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HunkRep) GetFlagKey ¶

func (o *HunkRep) GetFlagKey() string

GetFlagKey returns the FlagKey field value if set, zero value otherwise.

func (*HunkRep) GetFlagKeyOk ¶

func (o *HunkRep) GetFlagKeyOk() (*string, bool)

GetFlagKeyOk returns a tuple with the FlagKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HunkRep) GetLines ¶

func (o *HunkRep) GetLines() string

GetLines returns the Lines field value if set, zero value otherwise.

func (*HunkRep) GetLinesOk ¶

func (o *HunkRep) GetLinesOk() (*string, bool)

GetLinesOk returns a tuple with the Lines field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HunkRep) GetProjKey ¶

func (o *HunkRep) GetProjKey() string

GetProjKey returns the ProjKey field value if set, zero value otherwise.

func (*HunkRep) GetProjKeyOk ¶

func (o *HunkRep) GetProjKeyOk() (*string, bool)

GetProjKeyOk returns a tuple with the ProjKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HunkRep) GetStartingLineNumber ¶

func (o *HunkRep) GetStartingLineNumber() int32

GetStartingLineNumber returns the StartingLineNumber field value

func (*HunkRep) GetStartingLineNumberOk ¶

func (o *HunkRep) GetStartingLineNumberOk() (*int32, bool)

GetStartingLineNumberOk returns a tuple with the StartingLineNumber field value and a boolean to check if the value has been set.

func (*HunkRep) HasAliases ¶

func (o *HunkRep) HasAliases() bool

HasAliases returns a boolean if a field has been set.

func (*HunkRep) HasFlagKey ¶

func (o *HunkRep) HasFlagKey() bool

HasFlagKey returns a boolean if a field has been set.

func (*HunkRep) HasLines ¶

func (o *HunkRep) HasLines() bool

HasLines returns a boolean if a field has been set.

func (*HunkRep) HasProjKey ¶

func (o *HunkRep) HasProjKey() bool

HasProjKey returns a boolean if a field has been set.

func (HunkRep) MarshalJSON ¶

func (o HunkRep) MarshalJSON() ([]byte, error)

func (*HunkRep) SetAliases ¶

func (o *HunkRep) SetAliases(v []string)

SetAliases gets a reference to the given []string and assigns it to the Aliases field.

func (*HunkRep) SetFlagKey ¶

func (o *HunkRep) SetFlagKey(v string)

SetFlagKey gets a reference to the given string and assigns it to the FlagKey field.

func (*HunkRep) SetLines ¶

func (o *HunkRep) SetLines(v string)

SetLines gets a reference to the given string and assigns it to the Lines field.

func (*HunkRep) SetProjKey ¶

func (o *HunkRep) SetProjKey(v string)

SetProjKey gets a reference to the given string and assigns it to the ProjKey field.

func (*HunkRep) SetStartingLineNumber ¶

func (o *HunkRep) SetStartingLineNumber(v int32)

SetStartingLineNumber sets field value

type Import ¶

type Import struct {
	// The import ID
	Id string `json:"id"`
	// The segment key
	SegmentKey   string `json:"segmentKey"`
	CreationTime int64  `json:"creationTime"`
	// The import mode used, either <code>merge</code> or <code>replace</code>
	Mode string `json:"mode"`
	// The import status
	Status string `json:"status"`
	// The imported files and their status
	Files []FileRep `json:"files,omitempty"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

Import struct for Import

func NewImport ¶

func NewImport(id string, segmentKey string, creationTime int64, mode string, status string, links map[string]Link) *Import

NewImport instantiates a new Import object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewImportWithDefaults ¶

func NewImportWithDefaults() *Import

NewImportWithDefaults instantiates a new Import object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Import) GetCreationTime ¶

func (o *Import) GetCreationTime() int64

GetCreationTime returns the CreationTime field value

func (*Import) GetCreationTimeOk ¶

func (o *Import) GetCreationTimeOk() (*int64, bool)

GetCreationTimeOk returns a tuple with the CreationTime field value and a boolean to check if the value has been set.

func (*Import) GetFiles ¶

func (o *Import) GetFiles() []FileRep

GetFiles returns the Files field value if set, zero value otherwise.

func (*Import) GetFilesOk ¶

func (o *Import) GetFilesOk() ([]FileRep, bool)

GetFilesOk returns a tuple with the Files field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Import) GetId ¶

func (o *Import) GetId() string

GetId returns the Id field value

func (*Import) GetIdOk ¶

func (o *Import) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (o *Import) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Import) GetLinksOk ¶

func (o *Import) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Import) GetMode ¶

func (o *Import) GetMode() string

GetMode returns the Mode field value

func (*Import) GetModeOk ¶

func (o *Import) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.

func (*Import) GetSegmentKey ¶

func (o *Import) GetSegmentKey() string

GetSegmentKey returns the SegmentKey field value

func (*Import) GetSegmentKeyOk ¶

func (o *Import) GetSegmentKeyOk() (*string, bool)

GetSegmentKeyOk returns a tuple with the SegmentKey field value and a boolean to check if the value has been set.

func (*Import) GetStatus ¶

func (o *Import) GetStatus() string

GetStatus returns the Status field value

func (*Import) GetStatusOk ¶

func (o *Import) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Import) HasFiles ¶

func (o *Import) HasFiles() bool

HasFiles returns a boolean if a field has been set.

func (Import) MarshalJSON ¶

func (o Import) MarshalJSON() ([]byte, error)

func (*Import) SetCreationTime ¶

func (o *Import) SetCreationTime(v int64)

SetCreationTime sets field value

func (*Import) SetFiles ¶

func (o *Import) SetFiles(v []FileRep)

SetFiles gets a reference to the given []FileRep and assigns it to the Files field.

func (*Import) SetId ¶

func (o *Import) SetId(v string)

SetId sets field value

func (o *Import) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Import) SetMode ¶

func (o *Import) SetMode(v string)

SetMode sets field value

func (*Import) SetSegmentKey ¶

func (o *Import) SetSegmentKey(v string)

SetSegmentKey sets field value

func (*Import) SetStatus ¶

func (o *Import) SetStatus(v string)

SetStatus sets field value

type InitiatorRep ¶

type InitiatorRep struct {
	// The name of the member who initiated the export
	Name *string `json:"name,omitempty"`
	// The email address of the member who initiated the export
	Email *string `json:"email,omitempty"`
}

InitiatorRep struct for InitiatorRep

func NewInitiatorRep ¶

func NewInitiatorRep() *InitiatorRep

NewInitiatorRep instantiates a new InitiatorRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInitiatorRepWithDefaults ¶

func NewInitiatorRepWithDefaults() *InitiatorRep

NewInitiatorRepWithDefaults instantiates a new InitiatorRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InitiatorRep) GetEmail ¶

func (o *InitiatorRep) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*InitiatorRep) GetEmailOk ¶

func (o *InitiatorRep) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InitiatorRep) GetName ¶

func (o *InitiatorRep) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*InitiatorRep) GetNameOk ¶

func (o *InitiatorRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InitiatorRep) HasEmail ¶

func (o *InitiatorRep) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*InitiatorRep) HasName ¶

func (o *InitiatorRep) HasName() bool

HasName returns a boolean if a field has been set.

func (InitiatorRep) MarshalJSON ¶

func (o InitiatorRep) MarshalJSON() ([]byte, error)

func (*InitiatorRep) SetEmail ¶

func (o *InitiatorRep) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*InitiatorRep) SetName ¶

func (o *InitiatorRep) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type InsightGroup ¶

type InsightGroup struct {
	Environment   *Environment                         `json:"environment,omitempty"`
	Scores        *InsightGroupScores                  `json:"scores,omitempty"`
	ScoreMetadata *InsightGroupCollectionScoreMetadata `json:"scoreMetadata,omitempty"`
	// The insight group key
	Key string `json:"key"`
	// The insight group name
	Name string `json:"name"`
	// The project key
	ProjectKey string `json:"projectKey"`
	// The environment key
	EnvironmentKey string `json:"environmentKey"`
	// The application keys
	ApplicationKeys []string `json:"applicationKeys,omitempty"`
	CreatedAt       int64    `json:"createdAt"`
}

InsightGroup struct for InsightGroup

func NewInsightGroup ¶

func NewInsightGroup(key string, name string, projectKey string, environmentKey string, createdAt int64) *InsightGroup

NewInsightGroup instantiates a new InsightGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightGroupWithDefaults ¶

func NewInsightGroupWithDefaults() *InsightGroup

NewInsightGroupWithDefaults instantiates a new InsightGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightGroup) GetApplicationKeys ¶

func (o *InsightGroup) GetApplicationKeys() []string

GetApplicationKeys returns the ApplicationKeys field value if set, zero value otherwise.

func (*InsightGroup) GetApplicationKeysOk ¶

func (o *InsightGroup) GetApplicationKeysOk() ([]string, bool)

GetApplicationKeysOk returns a tuple with the ApplicationKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightGroup) GetCreatedAt ¶

func (o *InsightGroup) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value

func (*InsightGroup) GetCreatedAtOk ¶

func (o *InsightGroup) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*InsightGroup) GetEnvironment ¶

func (o *InsightGroup) GetEnvironment() Environment

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*InsightGroup) GetEnvironmentKey ¶

func (o *InsightGroup) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value

func (*InsightGroup) GetEnvironmentKeyOk ¶

func (o *InsightGroup) GetEnvironmentKeyOk() (*string, bool)

GetEnvironmentKeyOk returns a tuple with the EnvironmentKey field value and a boolean to check if the value has been set.

func (*InsightGroup) GetEnvironmentOk ¶

func (o *InsightGroup) GetEnvironmentOk() (*Environment, bool)

GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightGroup) GetKey ¶

func (o *InsightGroup) GetKey() string

GetKey returns the Key field value

func (*InsightGroup) GetKeyOk ¶

func (o *InsightGroup) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*InsightGroup) GetName ¶

func (o *InsightGroup) GetName() string

GetName returns the Name field value

func (*InsightGroup) GetNameOk ¶

func (o *InsightGroup) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*InsightGroup) GetProjectKey ¶

func (o *InsightGroup) GetProjectKey() string

GetProjectKey returns the ProjectKey field value

func (*InsightGroup) GetProjectKeyOk ¶

func (o *InsightGroup) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value and a boolean to check if the value has been set.

func (*InsightGroup) GetScoreMetadata ¶

func (o *InsightGroup) GetScoreMetadata() InsightGroupCollectionScoreMetadata

GetScoreMetadata returns the ScoreMetadata field value if set, zero value otherwise.

func (*InsightGroup) GetScoreMetadataOk ¶

func (o *InsightGroup) GetScoreMetadataOk() (*InsightGroupCollectionScoreMetadata, bool)

GetScoreMetadataOk returns a tuple with the ScoreMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightGroup) GetScores ¶

func (o *InsightGroup) GetScores() InsightGroupScores

GetScores returns the Scores field value if set, zero value otherwise.

func (*InsightGroup) GetScoresOk ¶

func (o *InsightGroup) GetScoresOk() (*InsightGroupScores, bool)

GetScoresOk returns a tuple with the Scores field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightGroup) HasApplicationKeys ¶

func (o *InsightGroup) HasApplicationKeys() bool

HasApplicationKeys returns a boolean if a field has been set.

func (*InsightGroup) HasEnvironment ¶

func (o *InsightGroup) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*InsightGroup) HasScoreMetadata ¶

func (o *InsightGroup) HasScoreMetadata() bool

HasScoreMetadata returns a boolean if a field has been set.

func (*InsightGroup) HasScores ¶

func (o *InsightGroup) HasScores() bool

HasScores returns a boolean if a field has been set.

func (InsightGroup) MarshalJSON ¶

func (o InsightGroup) MarshalJSON() ([]byte, error)

func (*InsightGroup) SetApplicationKeys ¶

func (o *InsightGroup) SetApplicationKeys(v []string)

SetApplicationKeys gets a reference to the given []string and assigns it to the ApplicationKeys field.

func (*InsightGroup) SetCreatedAt ¶

func (o *InsightGroup) SetCreatedAt(v int64)

SetCreatedAt sets field value

func (*InsightGroup) SetEnvironment ¶

func (o *InsightGroup) SetEnvironment(v Environment)

SetEnvironment gets a reference to the given Environment and assigns it to the Environment field.

func (*InsightGroup) SetEnvironmentKey ¶

func (o *InsightGroup) SetEnvironmentKey(v string)

SetEnvironmentKey sets field value

func (*InsightGroup) SetKey ¶

func (o *InsightGroup) SetKey(v string)

SetKey sets field value

func (*InsightGroup) SetName ¶

func (o *InsightGroup) SetName(v string)

SetName sets field value

func (*InsightGroup) SetProjectKey ¶

func (o *InsightGroup) SetProjectKey(v string)

SetProjectKey sets field value

func (*InsightGroup) SetScoreMetadata ¶

func (o *InsightGroup) SetScoreMetadata(v InsightGroupCollectionScoreMetadata)

SetScoreMetadata gets a reference to the given InsightGroupCollectionScoreMetadata and assigns it to the ScoreMetadata field.

func (*InsightGroup) SetScores ¶

func (o *InsightGroup) SetScores(v InsightGroupScores)

SetScores gets a reference to the given InsightGroupScores and assigns it to the Scores field.

type InsightGroupCollection ¶

type InsightGroupCollection struct {
	// The total number of insight groups
	TotalCount int32 `json:"totalCount"`
	// A list of insight groups
	Items []InsightGroup `json:"items"`
	// The location and content type of related resources
	Links         *map[string]Link                     `json:"_links,omitempty"`
	Metadata      *InsightGroupCollectionMetadata      `json:"metadata,omitempty"`
	ScoreMetadata *InsightGroupCollectionScoreMetadata `json:"scoreMetadata,omitempty"`
}

InsightGroupCollection struct for InsightGroupCollection

func NewInsightGroupCollection ¶

func NewInsightGroupCollection(totalCount int32, items []InsightGroup) *InsightGroupCollection

NewInsightGroupCollection instantiates a new InsightGroupCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightGroupCollectionWithDefaults ¶

func NewInsightGroupCollectionWithDefaults() *InsightGroupCollection

NewInsightGroupCollectionWithDefaults instantiates a new InsightGroupCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightGroupCollection) GetItems ¶

func (o *InsightGroupCollection) GetItems() []InsightGroup

GetItems returns the Items field value

func (*InsightGroupCollection) GetItemsOk ¶

func (o *InsightGroupCollection) GetItemsOk() ([]InsightGroup, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *InsightGroupCollection) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*InsightGroupCollection) GetLinksOk ¶

func (o *InsightGroupCollection) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightGroupCollection) GetMetadata ¶

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*InsightGroupCollection) GetMetadataOk ¶

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightGroupCollection) GetScoreMetadata ¶

GetScoreMetadata returns the ScoreMetadata field value if set, zero value otherwise.

func (*InsightGroupCollection) GetScoreMetadataOk ¶

GetScoreMetadataOk returns a tuple with the ScoreMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightGroupCollection) GetTotalCount ¶

func (o *InsightGroupCollection) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*InsightGroupCollection) GetTotalCountOk ¶

func (o *InsightGroupCollection) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (o *InsightGroupCollection) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*InsightGroupCollection) HasMetadata ¶

func (o *InsightGroupCollection) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*InsightGroupCollection) HasScoreMetadata ¶

func (o *InsightGroupCollection) HasScoreMetadata() bool

HasScoreMetadata returns a boolean if a field has been set.

func (InsightGroupCollection) MarshalJSON ¶

func (o InsightGroupCollection) MarshalJSON() ([]byte, error)

func (*InsightGroupCollection) SetItems ¶

func (o *InsightGroupCollection) SetItems(v []InsightGroup)

SetItems sets field value

func (o *InsightGroupCollection) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*InsightGroupCollection) SetMetadata ¶

SetMetadata gets a reference to the given InsightGroupCollectionMetadata and assigns it to the Metadata field.

func (*InsightGroupCollection) SetScoreMetadata ¶

SetScoreMetadata gets a reference to the given InsightGroupCollectionScoreMetadata and assigns it to the ScoreMetadata field.

func (*InsightGroupCollection) SetTotalCount ¶

func (o *InsightGroupCollection) SetTotalCount(v int32)

SetTotalCount sets field value

type InsightGroupCollectionMetadata ¶

type InsightGroupCollectionMetadata struct {
	CountByIndicator InsightGroupsCountByIndicator `json:"countByIndicator"`
}

InsightGroupCollectionMetadata struct for InsightGroupCollectionMetadata

func NewInsightGroupCollectionMetadata ¶

func NewInsightGroupCollectionMetadata(countByIndicator InsightGroupsCountByIndicator) *InsightGroupCollectionMetadata

NewInsightGroupCollectionMetadata instantiates a new InsightGroupCollectionMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightGroupCollectionMetadataWithDefaults ¶

func NewInsightGroupCollectionMetadataWithDefaults() *InsightGroupCollectionMetadata

NewInsightGroupCollectionMetadataWithDefaults instantiates a new InsightGroupCollectionMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightGroupCollectionMetadata) GetCountByIndicator ¶

GetCountByIndicator returns the CountByIndicator field value

func (*InsightGroupCollectionMetadata) GetCountByIndicatorOk ¶

func (o *InsightGroupCollectionMetadata) GetCountByIndicatorOk() (*InsightGroupsCountByIndicator, bool)

GetCountByIndicatorOk returns a tuple with the CountByIndicator field value and a boolean to check if the value has been set.

func (InsightGroupCollectionMetadata) MarshalJSON ¶

func (o InsightGroupCollectionMetadata) MarshalJSON() ([]byte, error)

func (*InsightGroupCollectionMetadata) SetCountByIndicator ¶

SetCountByIndicator sets field value

type InsightGroupCollectionScoreMetadata ¶

type InsightGroupCollectionScoreMetadata struct {
	Period     InsightPeriod `json:"period"`
	LastPeriod InsightPeriod `json:"lastPeriod"`
}

InsightGroupCollectionScoreMetadata struct for InsightGroupCollectionScoreMetadata

func NewInsightGroupCollectionScoreMetadata ¶

func NewInsightGroupCollectionScoreMetadata(period InsightPeriod, lastPeriod InsightPeriod) *InsightGroupCollectionScoreMetadata

NewInsightGroupCollectionScoreMetadata instantiates a new InsightGroupCollectionScoreMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightGroupCollectionScoreMetadataWithDefaults ¶

func NewInsightGroupCollectionScoreMetadataWithDefaults() *InsightGroupCollectionScoreMetadata

NewInsightGroupCollectionScoreMetadataWithDefaults instantiates a new InsightGroupCollectionScoreMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightGroupCollectionScoreMetadata) GetLastPeriod ¶

GetLastPeriod returns the LastPeriod field value

func (*InsightGroupCollectionScoreMetadata) GetLastPeriodOk ¶

func (o *InsightGroupCollectionScoreMetadata) GetLastPeriodOk() (*InsightPeriod, bool)

GetLastPeriodOk returns a tuple with the LastPeriod field value and a boolean to check if the value has been set.

func (*InsightGroupCollectionScoreMetadata) GetPeriod ¶

GetPeriod returns the Period field value

func (*InsightGroupCollectionScoreMetadata) GetPeriodOk ¶

GetPeriodOk returns a tuple with the Period field value and a boolean to check if the value has been set.

func (InsightGroupCollectionScoreMetadata) MarshalJSON ¶

func (o InsightGroupCollectionScoreMetadata) MarshalJSON() ([]byte, error)

func (*InsightGroupCollectionScoreMetadata) SetLastPeriod ¶

SetLastPeriod sets field value

func (*InsightGroupCollectionScoreMetadata) SetPeriod ¶

SetPeriod sets field value

type InsightGroupScores ¶

type InsightGroupScores struct {
	Overall                 InsightsMetricScore  `json:"overall"`
	DeploymentFrequency     InsightsMetricScore  `json:"deploymentFrequency"`
	DeploymentFailureRate   InsightsMetricScore  `json:"deploymentFailureRate"`
	LeadTime                InsightsMetricScore  `json:"leadTime"`
	ImpactSize              InsightsMetricScore  `json:"impactSize"`
	ExperimentationCoverage InsightsMetricScore  `json:"experimentationCoverage"`
	FlagHealth              InsightsMetricScore  `json:"flagHealth"`
	Velocity                InsightsMetricScore  `json:"velocity"`
	Risk                    InsightsMetricScore  `json:"risk"`
	Efficiency              InsightsMetricScore  `json:"efficiency"`
	CreationRatio           *InsightsMetricScore `json:"creationRatio,omitempty"`
}

InsightGroupScores struct for InsightGroupScores

func NewInsightGroupScores ¶

func NewInsightGroupScores(overall InsightsMetricScore, deploymentFrequency InsightsMetricScore, deploymentFailureRate InsightsMetricScore, leadTime InsightsMetricScore, impactSize InsightsMetricScore, experimentationCoverage InsightsMetricScore, flagHealth InsightsMetricScore, velocity InsightsMetricScore, risk InsightsMetricScore, efficiency InsightsMetricScore) *InsightGroupScores

NewInsightGroupScores instantiates a new InsightGroupScores object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightGroupScoresWithDefaults ¶

func NewInsightGroupScoresWithDefaults() *InsightGroupScores

NewInsightGroupScoresWithDefaults instantiates a new InsightGroupScores object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightGroupScores) GetCreationRatio ¶

func (o *InsightGroupScores) GetCreationRatio() InsightsMetricScore

GetCreationRatio returns the CreationRatio field value if set, zero value otherwise.

func (*InsightGroupScores) GetCreationRatioOk ¶

func (o *InsightGroupScores) GetCreationRatioOk() (*InsightsMetricScore, bool)

GetCreationRatioOk returns a tuple with the CreationRatio field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightGroupScores) GetDeploymentFailureRate ¶

func (o *InsightGroupScores) GetDeploymentFailureRate() InsightsMetricScore

GetDeploymentFailureRate returns the DeploymentFailureRate field value

func (*InsightGroupScores) GetDeploymentFailureRateOk ¶

func (o *InsightGroupScores) GetDeploymentFailureRateOk() (*InsightsMetricScore, bool)

GetDeploymentFailureRateOk returns a tuple with the DeploymentFailureRate field value and a boolean to check if the value has been set.

func (*InsightGroupScores) GetDeploymentFrequency ¶

func (o *InsightGroupScores) GetDeploymentFrequency() InsightsMetricScore

GetDeploymentFrequency returns the DeploymentFrequency field value

func (*InsightGroupScores) GetDeploymentFrequencyOk ¶

func (o *InsightGroupScores) GetDeploymentFrequencyOk() (*InsightsMetricScore, bool)

GetDeploymentFrequencyOk returns a tuple with the DeploymentFrequency field value and a boolean to check if the value has been set.

func (*InsightGroupScores) GetEfficiency ¶

func (o *InsightGroupScores) GetEfficiency() InsightsMetricScore

GetEfficiency returns the Efficiency field value

func (*InsightGroupScores) GetEfficiencyOk ¶

func (o *InsightGroupScores) GetEfficiencyOk() (*InsightsMetricScore, bool)

GetEfficiencyOk returns a tuple with the Efficiency field value and a boolean to check if the value has been set.

func (*InsightGroupScores) GetExperimentationCoverage ¶

func (o *InsightGroupScores) GetExperimentationCoverage() InsightsMetricScore

GetExperimentationCoverage returns the ExperimentationCoverage field value

func (*InsightGroupScores) GetExperimentationCoverageOk ¶

func (o *InsightGroupScores) GetExperimentationCoverageOk() (*InsightsMetricScore, bool)

GetExperimentationCoverageOk returns a tuple with the ExperimentationCoverage field value and a boolean to check if the value has been set.

func (*InsightGroupScores) GetFlagHealth ¶

func (o *InsightGroupScores) GetFlagHealth() InsightsMetricScore

GetFlagHealth returns the FlagHealth field value

func (*InsightGroupScores) GetFlagHealthOk ¶

func (o *InsightGroupScores) GetFlagHealthOk() (*InsightsMetricScore, bool)

GetFlagHealthOk returns a tuple with the FlagHealth field value and a boolean to check if the value has been set.

func (*InsightGroupScores) GetImpactSize ¶

func (o *InsightGroupScores) GetImpactSize() InsightsMetricScore

GetImpactSize returns the ImpactSize field value

func (*InsightGroupScores) GetImpactSizeOk ¶

func (o *InsightGroupScores) GetImpactSizeOk() (*InsightsMetricScore, bool)

GetImpactSizeOk returns a tuple with the ImpactSize field value and a boolean to check if the value has been set.

func (*InsightGroupScores) GetLeadTime ¶

func (o *InsightGroupScores) GetLeadTime() InsightsMetricScore

GetLeadTime returns the LeadTime field value

func (*InsightGroupScores) GetLeadTimeOk ¶

func (o *InsightGroupScores) GetLeadTimeOk() (*InsightsMetricScore, bool)

GetLeadTimeOk returns a tuple with the LeadTime field value and a boolean to check if the value has been set.

func (*InsightGroupScores) GetOverall ¶

func (o *InsightGroupScores) GetOverall() InsightsMetricScore

GetOverall returns the Overall field value

func (*InsightGroupScores) GetOverallOk ¶

func (o *InsightGroupScores) GetOverallOk() (*InsightsMetricScore, bool)

GetOverallOk returns a tuple with the Overall field value and a boolean to check if the value has been set.

func (*InsightGroupScores) GetRisk ¶

GetRisk returns the Risk field value

func (*InsightGroupScores) GetRiskOk ¶

func (o *InsightGroupScores) GetRiskOk() (*InsightsMetricScore, bool)

GetRiskOk returns a tuple with the Risk field value and a boolean to check if the value has been set.

func (*InsightGroupScores) GetVelocity ¶

func (o *InsightGroupScores) GetVelocity() InsightsMetricScore

GetVelocity returns the Velocity field value

func (*InsightGroupScores) GetVelocityOk ¶

func (o *InsightGroupScores) GetVelocityOk() (*InsightsMetricScore, bool)

GetVelocityOk returns a tuple with the Velocity field value and a boolean to check if the value has been set.

func (*InsightGroupScores) HasCreationRatio ¶

func (o *InsightGroupScores) HasCreationRatio() bool

HasCreationRatio returns a boolean if a field has been set.

func (InsightGroupScores) MarshalJSON ¶

func (o InsightGroupScores) MarshalJSON() ([]byte, error)

func (*InsightGroupScores) SetCreationRatio ¶

func (o *InsightGroupScores) SetCreationRatio(v InsightsMetricScore)

SetCreationRatio gets a reference to the given InsightsMetricScore and assigns it to the CreationRatio field.

func (*InsightGroupScores) SetDeploymentFailureRate ¶

func (o *InsightGroupScores) SetDeploymentFailureRate(v InsightsMetricScore)

SetDeploymentFailureRate sets field value

func (*InsightGroupScores) SetDeploymentFrequency ¶

func (o *InsightGroupScores) SetDeploymentFrequency(v InsightsMetricScore)

SetDeploymentFrequency sets field value

func (*InsightGroupScores) SetEfficiency ¶

func (o *InsightGroupScores) SetEfficiency(v InsightsMetricScore)

SetEfficiency sets field value

func (*InsightGroupScores) SetExperimentationCoverage ¶

func (o *InsightGroupScores) SetExperimentationCoverage(v InsightsMetricScore)

SetExperimentationCoverage sets field value

func (*InsightGroupScores) SetFlagHealth ¶

func (o *InsightGroupScores) SetFlagHealth(v InsightsMetricScore)

SetFlagHealth sets field value

func (*InsightGroupScores) SetImpactSize ¶

func (o *InsightGroupScores) SetImpactSize(v InsightsMetricScore)

SetImpactSize sets field value

func (*InsightGroupScores) SetLeadTime ¶

func (o *InsightGroupScores) SetLeadTime(v InsightsMetricScore)

SetLeadTime sets field value

func (*InsightGroupScores) SetOverall ¶

func (o *InsightGroupScores) SetOverall(v InsightsMetricScore)

SetOverall sets field value

func (*InsightGroupScores) SetRisk ¶

SetRisk sets field value

func (*InsightGroupScores) SetVelocity ¶

func (o *InsightGroupScores) SetVelocity(v InsightsMetricScore)

SetVelocity sets field value

type InsightGroupsCountByIndicator ¶

type InsightGroupsCountByIndicator struct {
	// The number of insight groups with an excellent indicator
	Excellent int32 `json:"excellent"`
	// The number of insight groups with a good indicator
	Good int32 `json:"good"`
	// The number of insight groups with a fair indicator
	Fair int32 `json:"fair"`
	// The number of insight groups with a needs attention indicator
	NeedsAttention int32 `json:"needsAttention"`
	// The number of insight groups with a not calculated indicator
	NotCalculated int32 `json:"notCalculated"`
	// The number of insight groups with an unknown indicator
	Unknown int32 `json:"unknown"`
	// The total number of insight groups
	Total int32 `json:"total"`
}

InsightGroupsCountByIndicator struct for InsightGroupsCountByIndicator

func NewInsightGroupsCountByIndicator ¶

func NewInsightGroupsCountByIndicator(excellent int32, good int32, fair int32, needsAttention int32, notCalculated int32, unknown int32, total int32) *InsightGroupsCountByIndicator

NewInsightGroupsCountByIndicator instantiates a new InsightGroupsCountByIndicator object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightGroupsCountByIndicatorWithDefaults ¶

func NewInsightGroupsCountByIndicatorWithDefaults() *InsightGroupsCountByIndicator

NewInsightGroupsCountByIndicatorWithDefaults instantiates a new InsightGroupsCountByIndicator object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightGroupsCountByIndicator) GetExcellent ¶

func (o *InsightGroupsCountByIndicator) GetExcellent() int32

GetExcellent returns the Excellent field value

func (*InsightGroupsCountByIndicator) GetExcellentOk ¶

func (o *InsightGroupsCountByIndicator) GetExcellentOk() (*int32, bool)

GetExcellentOk returns a tuple with the Excellent field value and a boolean to check if the value has been set.

func (*InsightGroupsCountByIndicator) GetFair ¶

func (o *InsightGroupsCountByIndicator) GetFair() int32

GetFair returns the Fair field value

func (*InsightGroupsCountByIndicator) GetFairOk ¶

func (o *InsightGroupsCountByIndicator) GetFairOk() (*int32, bool)

GetFairOk returns a tuple with the Fair field value and a boolean to check if the value has been set.

func (*InsightGroupsCountByIndicator) GetGood ¶

func (o *InsightGroupsCountByIndicator) GetGood() int32

GetGood returns the Good field value

func (*InsightGroupsCountByIndicator) GetGoodOk ¶

func (o *InsightGroupsCountByIndicator) GetGoodOk() (*int32, bool)

GetGoodOk returns a tuple with the Good field value and a boolean to check if the value has been set.

func (*InsightGroupsCountByIndicator) GetNeedsAttention ¶

func (o *InsightGroupsCountByIndicator) GetNeedsAttention() int32

GetNeedsAttention returns the NeedsAttention field value

func (*InsightGroupsCountByIndicator) GetNeedsAttentionOk ¶

func (o *InsightGroupsCountByIndicator) GetNeedsAttentionOk() (*int32, bool)

GetNeedsAttentionOk returns a tuple with the NeedsAttention field value and a boolean to check if the value has been set.

func (*InsightGroupsCountByIndicator) GetNotCalculated ¶

func (o *InsightGroupsCountByIndicator) GetNotCalculated() int32

GetNotCalculated returns the NotCalculated field value

func (*InsightGroupsCountByIndicator) GetNotCalculatedOk ¶

func (o *InsightGroupsCountByIndicator) GetNotCalculatedOk() (*int32, bool)

GetNotCalculatedOk returns a tuple with the NotCalculated field value and a boolean to check if the value has been set.

func (*InsightGroupsCountByIndicator) GetTotal ¶

func (o *InsightGroupsCountByIndicator) GetTotal() int32

GetTotal returns the Total field value

func (*InsightGroupsCountByIndicator) GetTotalOk ¶

func (o *InsightGroupsCountByIndicator) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (*InsightGroupsCountByIndicator) GetUnknown ¶

func (o *InsightGroupsCountByIndicator) GetUnknown() int32

GetUnknown returns the Unknown field value

func (*InsightGroupsCountByIndicator) GetUnknownOk ¶

func (o *InsightGroupsCountByIndicator) GetUnknownOk() (*int32, bool)

GetUnknownOk returns a tuple with the Unknown field value and a boolean to check if the value has been set.

func (InsightGroupsCountByIndicator) MarshalJSON ¶

func (o InsightGroupsCountByIndicator) MarshalJSON() ([]byte, error)

func (*InsightGroupsCountByIndicator) SetExcellent ¶

func (o *InsightGroupsCountByIndicator) SetExcellent(v int32)

SetExcellent sets field value

func (*InsightGroupsCountByIndicator) SetFair ¶

func (o *InsightGroupsCountByIndicator) SetFair(v int32)

SetFair sets field value

func (*InsightGroupsCountByIndicator) SetGood ¶

func (o *InsightGroupsCountByIndicator) SetGood(v int32)

SetGood sets field value

func (*InsightGroupsCountByIndicator) SetNeedsAttention ¶

func (o *InsightGroupsCountByIndicator) SetNeedsAttention(v int32)

SetNeedsAttention sets field value

func (*InsightGroupsCountByIndicator) SetNotCalculated ¶

func (o *InsightGroupsCountByIndicator) SetNotCalculated(v int32)

SetNotCalculated sets field value

func (*InsightGroupsCountByIndicator) SetTotal ¶

func (o *InsightGroupsCountByIndicator) SetTotal(v int32)

SetTotal sets field value

func (*InsightGroupsCountByIndicator) SetUnknown ¶

func (o *InsightGroupsCountByIndicator) SetUnknown(v int32)

SetUnknown sets field value

type InsightPeriod ¶

type InsightPeriod struct {
	StartTime int64 `json:"startTime"`
	EndTime   int64 `json:"endTime"`
}

InsightPeriod struct for InsightPeriod

func NewInsightPeriod ¶

func NewInsightPeriod(startTime int64, endTime int64) *InsightPeriod

NewInsightPeriod instantiates a new InsightPeriod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightPeriodWithDefaults ¶

func NewInsightPeriodWithDefaults() *InsightPeriod

NewInsightPeriodWithDefaults instantiates a new InsightPeriod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightPeriod) GetEndTime ¶

func (o *InsightPeriod) GetEndTime() int64

GetEndTime returns the EndTime field value

func (*InsightPeriod) GetEndTimeOk ¶

func (o *InsightPeriod) GetEndTimeOk() (*int64, bool)

GetEndTimeOk returns a tuple with the EndTime field value and a boolean to check if the value has been set.

func (*InsightPeriod) GetStartTime ¶

func (o *InsightPeriod) GetStartTime() int64

GetStartTime returns the StartTime field value

func (*InsightPeriod) GetStartTimeOk ¶

func (o *InsightPeriod) GetStartTimeOk() (*int64, bool)

GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set.

func (InsightPeriod) MarshalJSON ¶

func (o InsightPeriod) MarshalJSON() ([]byte, error)

func (*InsightPeriod) SetEndTime ¶

func (o *InsightPeriod) SetEndTime(v int64)

SetEndTime sets field value

func (*InsightPeriod) SetStartTime ¶

func (o *InsightPeriod) SetStartTime(v int64)

SetStartTime sets field value

type InsightScores ¶

type InsightScores struct {
	Period     InsightPeriod      `json:"period"`
	LastPeriod InsightPeriod      `json:"lastPeriod"`
	Scores     InsightGroupScores `json:"scores"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

InsightScores struct for InsightScores

func NewInsightScores ¶

func NewInsightScores(period InsightPeriod, lastPeriod InsightPeriod, scores InsightGroupScores) *InsightScores

NewInsightScores instantiates a new InsightScores object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightScoresWithDefaults ¶

func NewInsightScoresWithDefaults() *InsightScores

NewInsightScoresWithDefaults instantiates a new InsightScores object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightScores) GetLastPeriod ¶

func (o *InsightScores) GetLastPeriod() InsightPeriod

GetLastPeriod returns the LastPeriod field value

func (*InsightScores) GetLastPeriodOk ¶

func (o *InsightScores) GetLastPeriodOk() (*InsightPeriod, bool)

GetLastPeriodOk returns a tuple with the LastPeriod field value and a boolean to check if the value has been set.

func (o *InsightScores) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*InsightScores) GetLinksOk ¶

func (o *InsightScores) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightScores) GetPeriod ¶

func (o *InsightScores) GetPeriod() InsightPeriod

GetPeriod returns the Period field value

func (*InsightScores) GetPeriodOk ¶

func (o *InsightScores) GetPeriodOk() (*InsightPeriod, bool)

GetPeriodOk returns a tuple with the Period field value and a boolean to check if the value has been set.

func (*InsightScores) GetScores ¶

func (o *InsightScores) GetScores() InsightGroupScores

GetScores returns the Scores field value

func (*InsightScores) GetScoresOk ¶

func (o *InsightScores) GetScoresOk() (*InsightGroupScores, bool)

GetScoresOk returns a tuple with the Scores field value and a boolean to check if the value has been set.

func (o *InsightScores) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (InsightScores) MarshalJSON ¶

func (o InsightScores) MarshalJSON() ([]byte, error)

func (*InsightScores) SetLastPeriod ¶

func (o *InsightScores) SetLastPeriod(v InsightPeriod)

SetLastPeriod sets field value

func (o *InsightScores) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*InsightScores) SetPeriod ¶

func (o *InsightScores) SetPeriod(v InsightPeriod)

SetPeriod sets field value

func (*InsightScores) SetScores ¶

func (o *InsightScores) SetScores(v InsightGroupScores)

SetScores sets field value

type InsightsChart ¶

type InsightsChart struct {
	Metadata InsightsChartMetadata `json:"metadata"`
	// Series data for the chart
	Series []InsightsChartSeries `json:"series"`
}

InsightsChart struct for InsightsChart

func NewInsightsChart ¶

func NewInsightsChart(metadata InsightsChartMetadata, series []InsightsChartSeries) *InsightsChart

NewInsightsChart instantiates a new InsightsChart object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsChartWithDefaults ¶

func NewInsightsChartWithDefaults() *InsightsChart

NewInsightsChartWithDefaults instantiates a new InsightsChart object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsChart) GetMetadata ¶

func (o *InsightsChart) GetMetadata() InsightsChartMetadata

GetMetadata returns the Metadata field value

func (*InsightsChart) GetMetadataOk ¶

func (o *InsightsChart) GetMetadataOk() (*InsightsChartMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*InsightsChart) GetSeries ¶

func (o *InsightsChart) GetSeries() []InsightsChartSeries

GetSeries returns the Series field value

func (*InsightsChart) GetSeriesOk ¶

func (o *InsightsChart) GetSeriesOk() ([]InsightsChartSeries, bool)

GetSeriesOk returns a tuple with the Series field value and a boolean to check if the value has been set.

func (InsightsChart) MarshalJSON ¶

func (o InsightsChart) MarshalJSON() ([]byte, error)

func (*InsightsChart) SetMetadata ¶

func (o *InsightsChart) SetMetadata(v InsightsChartMetadata)

SetMetadata sets field value

func (*InsightsChart) SetSeries ¶

func (o *InsightsChart) SetSeries(v []InsightsChartSeries)

SetSeries sets field value

type InsightsChartBounds ¶

type InsightsChartBounds struct {
	// Name of the bound
	Name string `json:"name"`
	// Value of the bound
	Value int64 `json:"value"`
}

InsightsChartBounds struct for InsightsChartBounds

func NewInsightsChartBounds ¶

func NewInsightsChartBounds(name string, value int64) *InsightsChartBounds

NewInsightsChartBounds instantiates a new InsightsChartBounds object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsChartBoundsWithDefaults ¶

func NewInsightsChartBoundsWithDefaults() *InsightsChartBounds

NewInsightsChartBoundsWithDefaults instantiates a new InsightsChartBounds object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsChartBounds) GetName ¶

func (o *InsightsChartBounds) GetName() string

GetName returns the Name field value

func (*InsightsChartBounds) GetNameOk ¶

func (o *InsightsChartBounds) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*InsightsChartBounds) GetValue ¶

func (o *InsightsChartBounds) GetValue() int64

GetValue returns the Value field value

func (*InsightsChartBounds) GetValueOk ¶

func (o *InsightsChartBounds) GetValueOk() (*int64, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (InsightsChartBounds) MarshalJSON ¶

func (o InsightsChartBounds) MarshalJSON() ([]byte, error)

func (*InsightsChartBounds) SetName ¶

func (o *InsightsChartBounds) SetName(v string)

SetName sets field value

func (*InsightsChartBounds) SetValue ¶

func (o *InsightsChartBounds) SetValue(v int64)

SetValue sets field value

type InsightsChartMetadata ¶

type InsightsChartMetadata struct {
	Summary map[string]interface{} `json:"summary"`
	// Name of the chart
	Name    *string                         `json:"name,omitempty"`
	Metrics *map[string]InsightsChartMetric `json:"metrics,omitempty"`
	XAxis   InsightsChartSeriesMetadataAxis `json:"xAxis"`
	YAxis   InsightsChartSeriesMetadataAxis `json:"yAxis"`
}

InsightsChartMetadata struct for InsightsChartMetadata

func NewInsightsChartMetadata ¶

func NewInsightsChartMetadata(summary map[string]interface{}, xAxis InsightsChartSeriesMetadataAxis, yAxis InsightsChartSeriesMetadataAxis) *InsightsChartMetadata

NewInsightsChartMetadata instantiates a new InsightsChartMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsChartMetadataWithDefaults ¶

func NewInsightsChartMetadataWithDefaults() *InsightsChartMetadata

NewInsightsChartMetadataWithDefaults instantiates a new InsightsChartMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsChartMetadata) GetMetrics ¶

func (o *InsightsChartMetadata) GetMetrics() map[string]InsightsChartMetric

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*InsightsChartMetadata) GetMetricsOk ¶

func (o *InsightsChartMetadata) GetMetricsOk() (*map[string]InsightsChartMetric, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsChartMetadata) GetName ¶

func (o *InsightsChartMetadata) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*InsightsChartMetadata) GetNameOk ¶

func (o *InsightsChartMetadata) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsChartMetadata) GetSummary ¶

func (o *InsightsChartMetadata) GetSummary() map[string]interface{}

GetSummary returns the Summary field value

func (*InsightsChartMetadata) GetSummaryOk ¶

func (o *InsightsChartMetadata) GetSummaryOk() (map[string]interface{}, bool)

GetSummaryOk returns a tuple with the Summary field value and a boolean to check if the value has been set.

func (*InsightsChartMetadata) GetXAxis ¶

GetXAxis returns the XAxis field value

func (*InsightsChartMetadata) GetXAxisOk ¶

GetXAxisOk returns a tuple with the XAxis field value and a boolean to check if the value has been set.

func (*InsightsChartMetadata) GetYAxis ¶

GetYAxis returns the YAxis field value

func (*InsightsChartMetadata) GetYAxisOk ¶

GetYAxisOk returns a tuple with the YAxis field value and a boolean to check if the value has been set.

func (*InsightsChartMetadata) HasMetrics ¶

func (o *InsightsChartMetadata) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*InsightsChartMetadata) HasName ¶

func (o *InsightsChartMetadata) HasName() bool

HasName returns a boolean if a field has been set.

func (InsightsChartMetadata) MarshalJSON ¶

func (o InsightsChartMetadata) MarshalJSON() ([]byte, error)

func (*InsightsChartMetadata) SetMetrics ¶

func (o *InsightsChartMetadata) SetMetrics(v map[string]InsightsChartMetric)

SetMetrics gets a reference to the given map[string]InsightsChartMetric and assigns it to the Metrics field.

func (*InsightsChartMetadata) SetName ¶

func (o *InsightsChartMetadata) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*InsightsChartMetadata) SetSummary ¶

func (o *InsightsChartMetadata) SetSummary(v map[string]interface{})

SetSummary sets field value

func (*InsightsChartMetadata) SetXAxis ¶

SetXAxis sets field value

func (*InsightsChartMetadata) SetYAxis ¶

SetYAxis sets field value

type InsightsChartMetric ¶

type InsightsChartMetric struct {
	// Metric indicator tier
	Indicator string `json:"indicator"`
	// Metric value
	Value float32 `json:"value"`
	// Metric unit
	Unit string `json:"unit"`
	// Metric modifier
	Modifier string `json:"modifier"`
	// Metric indicator tiers
	Tiers []InsightsMetricTierDefinition `json:"tiers"`
}

InsightsChartMetric struct for InsightsChartMetric

func NewInsightsChartMetric ¶

func NewInsightsChartMetric(indicator string, value float32, unit string, modifier string, tiers []InsightsMetricTierDefinition) *InsightsChartMetric

NewInsightsChartMetric instantiates a new InsightsChartMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsChartMetricWithDefaults ¶

func NewInsightsChartMetricWithDefaults() *InsightsChartMetric

NewInsightsChartMetricWithDefaults instantiates a new InsightsChartMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsChartMetric) GetIndicator ¶

func (o *InsightsChartMetric) GetIndicator() string

GetIndicator returns the Indicator field value

func (*InsightsChartMetric) GetIndicatorOk ¶

func (o *InsightsChartMetric) GetIndicatorOk() (*string, bool)

GetIndicatorOk returns a tuple with the Indicator field value and a boolean to check if the value has been set.

func (*InsightsChartMetric) GetModifier ¶

func (o *InsightsChartMetric) GetModifier() string

GetModifier returns the Modifier field value

func (*InsightsChartMetric) GetModifierOk ¶

func (o *InsightsChartMetric) GetModifierOk() (*string, bool)

GetModifierOk returns a tuple with the Modifier field value and a boolean to check if the value has been set.

func (*InsightsChartMetric) GetTiers ¶

GetTiers returns the Tiers field value

func (*InsightsChartMetric) GetTiersOk ¶

GetTiersOk returns a tuple with the Tiers field value and a boolean to check if the value has been set.

func (*InsightsChartMetric) GetUnit ¶

func (o *InsightsChartMetric) GetUnit() string

GetUnit returns the Unit field value

func (*InsightsChartMetric) GetUnitOk ¶

func (o *InsightsChartMetric) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.

func (*InsightsChartMetric) GetValue ¶

func (o *InsightsChartMetric) GetValue() float32

GetValue returns the Value field value

func (*InsightsChartMetric) GetValueOk ¶

func (o *InsightsChartMetric) GetValueOk() (*float32, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (InsightsChartMetric) MarshalJSON ¶

func (o InsightsChartMetric) MarshalJSON() ([]byte, error)

func (*InsightsChartMetric) SetIndicator ¶

func (o *InsightsChartMetric) SetIndicator(v string)

SetIndicator sets field value

func (*InsightsChartMetric) SetModifier ¶

func (o *InsightsChartMetric) SetModifier(v string)

SetModifier sets field value

func (*InsightsChartMetric) SetTiers ¶

SetTiers sets field value

func (*InsightsChartMetric) SetUnit ¶

func (o *InsightsChartMetric) SetUnit(v string)

SetUnit sets field value

func (*InsightsChartMetric) SetValue ¶

func (o *InsightsChartMetric) SetValue(v float32)

SetValue sets field value

type InsightsChartSeries ¶

type InsightsChartSeries struct {
	Metadata InsightsChartSeriesMetadata `json:"metadata"`
	// Data points for the series
	Data []InsightsChartSeriesDataPoint `json:"data"`
}

InsightsChartSeries struct for InsightsChartSeries

func NewInsightsChartSeries ¶

func NewInsightsChartSeries(metadata InsightsChartSeriesMetadata, data []InsightsChartSeriesDataPoint) *InsightsChartSeries

NewInsightsChartSeries instantiates a new InsightsChartSeries object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsChartSeriesWithDefaults ¶

func NewInsightsChartSeriesWithDefaults() *InsightsChartSeries

NewInsightsChartSeriesWithDefaults instantiates a new InsightsChartSeries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsChartSeries) GetData ¶

GetData returns the Data field value

func (*InsightsChartSeries) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*InsightsChartSeries) GetMetadata ¶

GetMetadata returns the Metadata field value

func (*InsightsChartSeries) GetMetadataOk ¶

func (o *InsightsChartSeries) GetMetadataOk() (*InsightsChartSeriesMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (InsightsChartSeries) MarshalJSON ¶

func (o InsightsChartSeries) MarshalJSON() ([]byte, error)

func (*InsightsChartSeries) SetData ¶

SetData sets field value

func (*InsightsChartSeries) SetMetadata ¶

SetMetadata sets field value

type InsightsChartSeriesDataPoint ¶

type InsightsChartSeriesDataPoint struct {
	// X-axis value
	X int64 `json:"x"`
	// Y-axis value
	Y int64 `json:"y"`
	// Additional values for the data point
	Values map[string]interface{} `json:"values,omitempty"`
}

InsightsChartSeriesDataPoint struct for InsightsChartSeriesDataPoint

func NewInsightsChartSeriesDataPoint ¶

func NewInsightsChartSeriesDataPoint(x int64, y int64) *InsightsChartSeriesDataPoint

NewInsightsChartSeriesDataPoint instantiates a new InsightsChartSeriesDataPoint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsChartSeriesDataPointWithDefaults ¶

func NewInsightsChartSeriesDataPointWithDefaults() *InsightsChartSeriesDataPoint

NewInsightsChartSeriesDataPointWithDefaults instantiates a new InsightsChartSeriesDataPoint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsChartSeriesDataPoint) GetValues ¶

func (o *InsightsChartSeriesDataPoint) GetValues() map[string]interface{}

GetValues returns the Values field value if set, zero value otherwise.

func (*InsightsChartSeriesDataPoint) GetValuesOk ¶

func (o *InsightsChartSeriesDataPoint) GetValuesOk() (map[string]interface{}, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsChartSeriesDataPoint) GetX ¶

GetX returns the X field value

func (*InsightsChartSeriesDataPoint) GetXOk ¶

func (o *InsightsChartSeriesDataPoint) GetXOk() (*int64, bool)

GetXOk returns a tuple with the X field value and a boolean to check if the value has been set.

func (*InsightsChartSeriesDataPoint) GetY ¶

GetY returns the Y field value

func (*InsightsChartSeriesDataPoint) GetYOk ¶

func (o *InsightsChartSeriesDataPoint) GetYOk() (*int64, bool)

GetYOk returns a tuple with the Y field value and a boolean to check if the value has been set.

func (*InsightsChartSeriesDataPoint) HasValues ¶

func (o *InsightsChartSeriesDataPoint) HasValues() bool

HasValues returns a boolean if a field has been set.

func (InsightsChartSeriesDataPoint) MarshalJSON ¶

func (o InsightsChartSeriesDataPoint) MarshalJSON() ([]byte, error)

func (*InsightsChartSeriesDataPoint) SetValues ¶

func (o *InsightsChartSeriesDataPoint) SetValues(v map[string]interface{})

SetValues gets a reference to the given map[string]interface{} and assigns it to the Values field.

func (*InsightsChartSeriesDataPoint) SetX ¶

SetX sets field value

func (*InsightsChartSeriesDataPoint) SetY ¶

SetY sets field value

type InsightsChartSeriesMetadata ¶

type InsightsChartSeriesMetadata struct {
	// Name of the series
	Name string `json:"name"`
	// Aggregate count of the series values
	Count *int64 `json:"count,omitempty"`
	// Bounds for the series data
	Bounds []InsightsChartBounds `json:"bounds,omitempty"`
}

InsightsChartSeriesMetadata struct for InsightsChartSeriesMetadata

func NewInsightsChartSeriesMetadata ¶

func NewInsightsChartSeriesMetadata(name string) *InsightsChartSeriesMetadata

NewInsightsChartSeriesMetadata instantiates a new InsightsChartSeriesMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsChartSeriesMetadataWithDefaults ¶

func NewInsightsChartSeriesMetadataWithDefaults() *InsightsChartSeriesMetadata

NewInsightsChartSeriesMetadataWithDefaults instantiates a new InsightsChartSeriesMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsChartSeriesMetadata) GetBounds ¶

GetBounds returns the Bounds field value if set, zero value otherwise.

func (*InsightsChartSeriesMetadata) GetBoundsOk ¶

GetBoundsOk returns a tuple with the Bounds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsChartSeriesMetadata) GetCount ¶

func (o *InsightsChartSeriesMetadata) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*InsightsChartSeriesMetadata) GetCountOk ¶

func (o *InsightsChartSeriesMetadata) GetCountOk() (*int64, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsChartSeriesMetadata) GetName ¶

func (o *InsightsChartSeriesMetadata) GetName() string

GetName returns the Name field value

func (*InsightsChartSeriesMetadata) GetNameOk ¶

func (o *InsightsChartSeriesMetadata) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*InsightsChartSeriesMetadata) HasBounds ¶

func (o *InsightsChartSeriesMetadata) HasBounds() bool

HasBounds returns a boolean if a field has been set.

func (*InsightsChartSeriesMetadata) HasCount ¶

func (o *InsightsChartSeriesMetadata) HasCount() bool

HasCount returns a boolean if a field has been set.

func (InsightsChartSeriesMetadata) MarshalJSON ¶

func (o InsightsChartSeriesMetadata) MarshalJSON() ([]byte, error)

func (*InsightsChartSeriesMetadata) SetBounds ¶

SetBounds gets a reference to the given []InsightsChartBounds and assigns it to the Bounds field.

func (*InsightsChartSeriesMetadata) SetCount ¶

func (o *InsightsChartSeriesMetadata) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*InsightsChartSeriesMetadata) SetName ¶

func (o *InsightsChartSeriesMetadata) SetName(v string)

SetName sets field value

type InsightsChartSeriesMetadataAxis ¶

type InsightsChartSeriesMetadataAxis struct {
	// Unit of the axis
	Unit string `json:"unit"`
}

InsightsChartSeriesMetadataAxis struct for InsightsChartSeriesMetadataAxis

func NewInsightsChartSeriesMetadataAxis ¶

func NewInsightsChartSeriesMetadataAxis(unit string) *InsightsChartSeriesMetadataAxis

NewInsightsChartSeriesMetadataAxis instantiates a new InsightsChartSeriesMetadataAxis object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsChartSeriesMetadataAxisWithDefaults ¶

func NewInsightsChartSeriesMetadataAxisWithDefaults() *InsightsChartSeriesMetadataAxis

NewInsightsChartSeriesMetadataAxisWithDefaults instantiates a new InsightsChartSeriesMetadataAxis object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsChartSeriesMetadataAxis) GetUnit ¶

GetUnit returns the Unit field value

func (*InsightsChartSeriesMetadataAxis) GetUnitOk ¶

func (o *InsightsChartSeriesMetadataAxis) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.

func (InsightsChartSeriesMetadataAxis) MarshalJSON ¶

func (o InsightsChartSeriesMetadataAxis) MarshalJSON() ([]byte, error)

func (*InsightsChartSeriesMetadataAxis) SetUnit ¶

SetUnit sets field value

type InsightsChartsBetaApiService ¶

type InsightsChartsBetaApiService service

InsightsChartsBetaApiService InsightsChartsBetaApi service

func (*InsightsChartsBetaApiService) GetDeploymentFrequencyChart ¶

GetDeploymentFrequencyChart Get deployment frequency chart data

Get deployment frequency chart data. Engineering insights displays deployment frequency data in the [deployment frequency metric view](https://docs.launchdarkly.com/home/engineering-insights/metrics/deployment).

### Expanding the chart response

LaunchDarkly supports expanding the chart response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `metrics` includes details on the metrics related to deployment frequency

For example, use `?expand=metrics` to include the `metrics` field in the response. By default, this field is **not** included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetDeploymentFrequencyChartRequest

func (*InsightsChartsBetaApiService) GetDeploymentFrequencyChartExecute ¶

Execute executes the request

@return InsightsChart

func (*InsightsChartsBetaApiService) GetFlagStatusChart ¶

GetFlagStatusChart Get flag status chart data

Get flag status chart data. To learn more, read [Using the flag status chart](https://docs.launchdarkly.com/home/engineering-insights/metrics/flag-health#using-the-flag-status-chart).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetFlagStatusChartRequest

func (*InsightsChartsBetaApiService) GetFlagStatusChartExecute ¶

Execute executes the request

@return InsightsChart

func (*InsightsChartsBetaApiService) GetLeadTimeChart ¶

GetLeadTimeChart Get lead time chart data

Get lead time chart data. The engineering insights UI displays lead time data in the [lead time metric view](https://docs.launchdarkly.com/home/engineering-insights/metrics/lead-time).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetLeadTimeChartRequest

func (*InsightsChartsBetaApiService) GetLeadTimeChartExecute ¶

Execute executes the request

@return InsightsChart

func (*InsightsChartsBetaApiService) GetReleaseFrequencyChart ¶

GetReleaseFrequencyChart Get release frequency chart data

Get release frequency chart data. Engineering insights displays release frequency data in the [release frequency metric view](https://docs.launchdarkly.com/home/engineering-insights/metrics/release).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetReleaseFrequencyChartRequest

func (*InsightsChartsBetaApiService) GetReleaseFrequencyChartExecute ¶

Execute executes the request

@return InsightsChart

func (*InsightsChartsBetaApiService) GetStaleFlagsChart ¶

GetStaleFlagsChart Get stale flags chart data

Get stale flags chart data. Engineering insights displays stale flags data in the [flag health metric view](https://docs.launchdarkly.com/home/engineering-insights/metrics/flag-health).

### Expanding the chart response

LaunchDarkly supports expanding the chart response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `metrics` includes details on the metrics related to stale flags

For example, use `?expand=metrics` to include the `metrics` field in the response. By default, this field is **not** included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetStaleFlagsChartRequest

func (*InsightsChartsBetaApiService) GetStaleFlagsChartExecute ¶

Execute executes the request

@return InsightsChart

type InsightsDeploymentsBetaApiService ¶

type InsightsDeploymentsBetaApiService service

InsightsDeploymentsBetaApiService InsightsDeploymentsBetaApi service

func (*InsightsDeploymentsBetaApiService) CreateDeploymentEvent ¶

CreateDeploymentEvent Create deployment event

Create deployment event

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateDeploymentEventRequest

func (*InsightsDeploymentsBetaApiService) CreateDeploymentEventExecute ¶

Execute executes the request

func (*InsightsDeploymentsBetaApiService) GetDeployment ¶

GetDeployment Get deployment

Get a deployment by ID.

The deployment ID is returned as part of the [List deployments](#operation/getDeployments) response. It is the `id` field of each element in the `items` array.

### Expanding the deployment response

LaunchDarkly supports expanding the deployment response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `pullRequests` includes details on all of the pull requests associated with each deployment * `flagReferences` includes details on all of the references to flags in each deployment

For example, use `?expand=pullRequests` to include the `pullRequests` field in the response. By default, this field is **not** included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param deploymentID The deployment ID
@return ApiGetDeploymentRequest

func (*InsightsDeploymentsBetaApiService) GetDeploymentExecute ¶

Execute executes the request

@return DeploymentRep

func (*InsightsDeploymentsBetaApiService) GetDeployments ¶

GetDeployments List deployments

Get a list of deployments ¶

### Expanding the deployment collection response

LaunchDarkly supports expanding the deployment collection response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `pullRequests` includes details on all of the pull requests associated with each deployment * `flagReferences` includes details on all of the references to flags in each deployment

For example, use `?expand=pullRequests` to include the `pullRequests` field in the response. By default, this field is **not** included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetDeploymentsRequest

func (*InsightsDeploymentsBetaApiService) GetDeploymentsExecute ¶

Execute executes the request

@return DeploymentCollectionRep

func (*InsightsDeploymentsBetaApiService) UpdateDeployment ¶

UpdateDeployment Update deployment

Update a deployment by ID. Updating a deployment uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).<br/><br/>The deployment ID is returned as part of the [List deployments](#operation/getDeployments) response. It is the `id` field of each element in the `items` array.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param deploymentID The deployment ID
@return ApiUpdateDeploymentRequest

func (*InsightsDeploymentsBetaApiService) UpdateDeploymentExecute ¶

Execute executes the request

@return DeploymentRep

type InsightsFlagEventsBetaApiService ¶

type InsightsFlagEventsBetaApiService service

InsightsFlagEventsBetaApiService InsightsFlagEventsBetaApi service

func (*InsightsFlagEventsBetaApiService) GetFlagEvents ¶

GetFlagEvents List flag events

Get a list of flag events ¶

### Expanding the flag event collection response

LaunchDarkly supports expanding the flag event collection response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `experiments` includes details on all of the experiments run on each flag

For example, use `?expand=experiments` to include the `experiments` field in the response. By default, this field is **not** included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetFlagEventsRequest

func (*InsightsFlagEventsBetaApiService) GetFlagEventsExecute ¶

Execute executes the request

@return FlagEventCollectionRep

type InsightsMetricIndicatorRange ¶

type InsightsMetricIndicatorRange struct {
	// The minimum value for the indicator range
	Min int32 `json:"min"`
	// The maximum value for the indicator range
	Max int32 `json:"max"`
}

InsightsMetricIndicatorRange struct for InsightsMetricIndicatorRange

func NewInsightsMetricIndicatorRange ¶

func NewInsightsMetricIndicatorRange(min int32, max int32) *InsightsMetricIndicatorRange

NewInsightsMetricIndicatorRange instantiates a new InsightsMetricIndicatorRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsMetricIndicatorRangeWithDefaults ¶

func NewInsightsMetricIndicatorRangeWithDefaults() *InsightsMetricIndicatorRange

NewInsightsMetricIndicatorRangeWithDefaults instantiates a new InsightsMetricIndicatorRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsMetricIndicatorRange) GetMax ¶

func (o *InsightsMetricIndicatorRange) GetMax() int32

GetMax returns the Max field value

func (*InsightsMetricIndicatorRange) GetMaxOk ¶

func (o *InsightsMetricIndicatorRange) GetMaxOk() (*int32, bool)

GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.

func (*InsightsMetricIndicatorRange) GetMin ¶

func (o *InsightsMetricIndicatorRange) GetMin() int32

GetMin returns the Min field value

func (*InsightsMetricIndicatorRange) GetMinOk ¶

func (o *InsightsMetricIndicatorRange) GetMinOk() (*int32, bool)

GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.

func (InsightsMetricIndicatorRange) MarshalJSON ¶

func (o InsightsMetricIndicatorRange) MarshalJSON() ([]byte, error)

func (*InsightsMetricIndicatorRange) SetMax ¶

func (o *InsightsMetricIndicatorRange) SetMax(v int32)

SetMax sets field value

func (*InsightsMetricIndicatorRange) SetMin ¶

func (o *InsightsMetricIndicatorRange) SetMin(v int32)

SetMin sets field value

type InsightsMetricScore ¶

type InsightsMetricScore struct {
	// The score for the metric
	Score int32 `json:"score"`
	// The keys of the metrics that were aggregated to calculate this score
	AggregateOf      []string                     `json:"aggregateOf,omitempty"`
	DiffVsLastPeriod *int32                       `json:"diffVsLastPeriod,omitempty"`
	Indicator        string                       `json:"indicator"`
	IndicatorRange   InsightsMetricIndicatorRange `json:"indicatorRange"`
	LastPeriod       *InsightsMetricScore         `json:"lastPeriod,omitempty"`
}

InsightsMetricScore struct for InsightsMetricScore

func NewInsightsMetricScore ¶

func NewInsightsMetricScore(score int32, indicator string, indicatorRange InsightsMetricIndicatorRange) *InsightsMetricScore

NewInsightsMetricScore instantiates a new InsightsMetricScore object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsMetricScoreWithDefaults ¶

func NewInsightsMetricScoreWithDefaults() *InsightsMetricScore

NewInsightsMetricScoreWithDefaults instantiates a new InsightsMetricScore object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsMetricScore) GetAggregateOf ¶

func (o *InsightsMetricScore) GetAggregateOf() []string

GetAggregateOf returns the AggregateOf field value if set, zero value otherwise.

func (*InsightsMetricScore) GetAggregateOfOk ¶

func (o *InsightsMetricScore) GetAggregateOfOk() ([]string, bool)

GetAggregateOfOk returns a tuple with the AggregateOf field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsMetricScore) GetDiffVsLastPeriod ¶

func (o *InsightsMetricScore) GetDiffVsLastPeriod() int32

GetDiffVsLastPeriod returns the DiffVsLastPeriod field value if set, zero value otherwise.

func (*InsightsMetricScore) GetDiffVsLastPeriodOk ¶

func (o *InsightsMetricScore) GetDiffVsLastPeriodOk() (*int32, bool)

GetDiffVsLastPeriodOk returns a tuple with the DiffVsLastPeriod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsMetricScore) GetIndicator ¶

func (o *InsightsMetricScore) GetIndicator() string

GetIndicator returns the Indicator field value

func (*InsightsMetricScore) GetIndicatorOk ¶

func (o *InsightsMetricScore) GetIndicatorOk() (*string, bool)

GetIndicatorOk returns a tuple with the Indicator field value and a boolean to check if the value has been set.

func (*InsightsMetricScore) GetIndicatorRange ¶

func (o *InsightsMetricScore) GetIndicatorRange() InsightsMetricIndicatorRange

GetIndicatorRange returns the IndicatorRange field value

func (*InsightsMetricScore) GetIndicatorRangeOk ¶

func (o *InsightsMetricScore) GetIndicatorRangeOk() (*InsightsMetricIndicatorRange, bool)

GetIndicatorRangeOk returns a tuple with the IndicatorRange field value and a boolean to check if the value has been set.

func (*InsightsMetricScore) GetLastPeriod ¶

func (o *InsightsMetricScore) GetLastPeriod() InsightsMetricScore

GetLastPeriod returns the LastPeriod field value if set, zero value otherwise.

func (*InsightsMetricScore) GetLastPeriodOk ¶

func (o *InsightsMetricScore) GetLastPeriodOk() (*InsightsMetricScore, bool)

GetLastPeriodOk returns a tuple with the LastPeriod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsMetricScore) GetScore ¶

func (o *InsightsMetricScore) GetScore() int32

GetScore returns the Score field value

func (*InsightsMetricScore) GetScoreOk ¶

func (o *InsightsMetricScore) GetScoreOk() (*int32, bool)

GetScoreOk returns a tuple with the Score field value and a boolean to check if the value has been set.

func (*InsightsMetricScore) HasAggregateOf ¶

func (o *InsightsMetricScore) HasAggregateOf() bool

HasAggregateOf returns a boolean if a field has been set.

func (*InsightsMetricScore) HasDiffVsLastPeriod ¶

func (o *InsightsMetricScore) HasDiffVsLastPeriod() bool

HasDiffVsLastPeriod returns a boolean if a field has been set.

func (*InsightsMetricScore) HasLastPeriod ¶

func (o *InsightsMetricScore) HasLastPeriod() bool

HasLastPeriod returns a boolean if a field has been set.

func (InsightsMetricScore) MarshalJSON ¶

func (o InsightsMetricScore) MarshalJSON() ([]byte, error)

func (*InsightsMetricScore) SetAggregateOf ¶

func (o *InsightsMetricScore) SetAggregateOf(v []string)

SetAggregateOf gets a reference to the given []string and assigns it to the AggregateOf field.

func (*InsightsMetricScore) SetDiffVsLastPeriod ¶

func (o *InsightsMetricScore) SetDiffVsLastPeriod(v int32)

SetDiffVsLastPeriod gets a reference to the given int32 and assigns it to the DiffVsLastPeriod field.

func (*InsightsMetricScore) SetIndicator ¶

func (o *InsightsMetricScore) SetIndicator(v string)

SetIndicator sets field value

func (*InsightsMetricScore) SetIndicatorRange ¶

func (o *InsightsMetricScore) SetIndicatorRange(v InsightsMetricIndicatorRange)

SetIndicatorRange sets field value

func (*InsightsMetricScore) SetLastPeriod ¶

func (o *InsightsMetricScore) SetLastPeriod(v InsightsMetricScore)

SetLastPeriod gets a reference to the given InsightsMetricScore and assigns it to the LastPeriod field.

func (*InsightsMetricScore) SetScore ¶

func (o *InsightsMetricScore) SetScore(v int32)

SetScore sets field value

type InsightsMetricTierDefinition ¶

type InsightsMetricTierDefinition struct {
	// Metric indicator tier
	Indicator string `json:"indicator"`
	// Metric indicator description
	Description string `json:"description"`
}

InsightsMetricTierDefinition struct for InsightsMetricTierDefinition

func NewInsightsMetricTierDefinition ¶

func NewInsightsMetricTierDefinition(indicator string, description string) *InsightsMetricTierDefinition

NewInsightsMetricTierDefinition instantiates a new InsightsMetricTierDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsMetricTierDefinitionWithDefaults ¶

func NewInsightsMetricTierDefinitionWithDefaults() *InsightsMetricTierDefinition

NewInsightsMetricTierDefinitionWithDefaults instantiates a new InsightsMetricTierDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsMetricTierDefinition) GetDescription ¶

func (o *InsightsMetricTierDefinition) GetDescription() string

GetDescription returns the Description field value

func (*InsightsMetricTierDefinition) GetDescriptionOk ¶

func (o *InsightsMetricTierDefinition) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*InsightsMetricTierDefinition) GetIndicator ¶

func (o *InsightsMetricTierDefinition) GetIndicator() string

GetIndicator returns the Indicator field value

func (*InsightsMetricTierDefinition) GetIndicatorOk ¶

func (o *InsightsMetricTierDefinition) GetIndicatorOk() (*string, bool)

GetIndicatorOk returns a tuple with the Indicator field value and a boolean to check if the value has been set.

func (InsightsMetricTierDefinition) MarshalJSON ¶

func (o InsightsMetricTierDefinition) MarshalJSON() ([]byte, error)

func (*InsightsMetricTierDefinition) SetDescription ¶

func (o *InsightsMetricTierDefinition) SetDescription(v string)

SetDescription sets field value

func (*InsightsMetricTierDefinition) SetIndicator ¶

func (o *InsightsMetricTierDefinition) SetIndicator(v string)

SetIndicator sets field value

type InsightsPullRequestsBetaApiService ¶

type InsightsPullRequestsBetaApiService service

InsightsPullRequestsBetaApiService InsightsPullRequestsBetaApi service

func (*InsightsPullRequestsBetaApiService) GetPullRequests ¶

GetPullRequests List pull requests

Get a list of pull requests ¶

### Expanding the pull request collection response

LaunchDarkly supports expanding the pull request collection response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `deployments` includes details on all of the deployments associated with each pull request * `flagReferences` includes details on all of the references to flags in each pull request * `leadTime` includes details about the lead time of the pull request for each stage

For example, use `?expand=deployments` to include the `deployments` field in the response. By default, this field is **not** included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetPullRequestsRequest

func (*InsightsPullRequestsBetaApiService) GetPullRequestsExecute ¶

Execute executes the request

@return PullRequestCollectionRep

type InsightsRepositoriesBetaApiService ¶

type InsightsRepositoriesBetaApiService service

InsightsRepositoriesBetaApiService InsightsRepositoriesBetaApi service

func (*InsightsRepositoriesBetaApiService) AssociateRepositoriesAndProjects ¶

AssociateRepositoriesAndProjects Associate repositories with projects

Associate repositories with projects

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAssociateRepositoriesAndProjectsRequest

func (*InsightsRepositoriesBetaApiService) AssociateRepositoriesAndProjectsExecute ¶

Execute executes the request

@return InsightsRepositoryProjectCollection

func (*InsightsRepositoriesBetaApiService) DeleteRepositoryProject ¶

func (a *InsightsRepositoriesBetaApiService) DeleteRepositoryProject(ctx context.Context, repositoryKey string, projectKey string) ApiDeleteRepositoryProjectRequest

DeleteRepositoryProject Remove repository project association

Remove repository project association

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repositoryKey The repository key
@param projectKey The project key
@return ApiDeleteRepositoryProjectRequest

func (*InsightsRepositoriesBetaApiService) DeleteRepositoryProjectExecute ¶

Execute executes the request

func (*InsightsRepositoriesBetaApiService) GetInsightsRepositories ¶

GetInsightsRepositories List repositories

Get a list of repositories ¶

### Expanding the repository collection response

LaunchDarkly supports expanding the repository collection response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `projects` includes details on all of the LaunchDarkly projects associated with each repository

For example, use `?expand=projects` to include the `projects` field in the response. By default, this field is **not** included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetInsightsRepositoriesRequest

func (*InsightsRepositoriesBetaApiService) GetInsightsRepositoriesExecute ¶

Execute executes the request

@return InsightsRepositoryCollection

type InsightsRepository ¶

type InsightsRepository struct {
	// The repository ID
	Id string `json:"_id"`
	// The repository version
	Version int32 `json:"version"`
	// The repository key
	Key string `json:"key"`
	// The repository type
	Type string `json:"type"`
	// The repository URL
	Url string `json:"url"`
	// The repository main branch
	MainBranch string                    `json:"mainBranch"`
	Projects   *ProjectSummaryCollection `json:"projects,omitempty"`
}

InsightsRepository struct for InsightsRepository

func NewInsightsRepository ¶

func NewInsightsRepository(id string, version int32, key string, type_ string, url string, mainBranch string) *InsightsRepository

NewInsightsRepository instantiates a new InsightsRepository object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsRepositoryWithDefaults ¶

func NewInsightsRepositoryWithDefaults() *InsightsRepository

NewInsightsRepositoryWithDefaults instantiates a new InsightsRepository object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsRepository) GetId ¶

func (o *InsightsRepository) GetId() string

GetId returns the Id field value

func (*InsightsRepository) GetIdOk ¶

func (o *InsightsRepository) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*InsightsRepository) GetKey ¶

func (o *InsightsRepository) GetKey() string

GetKey returns the Key field value

func (*InsightsRepository) GetKeyOk ¶

func (o *InsightsRepository) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*InsightsRepository) GetMainBranch ¶

func (o *InsightsRepository) GetMainBranch() string

GetMainBranch returns the MainBranch field value

func (*InsightsRepository) GetMainBranchOk ¶

func (o *InsightsRepository) GetMainBranchOk() (*string, bool)

GetMainBranchOk returns a tuple with the MainBranch field value and a boolean to check if the value has been set.

func (*InsightsRepository) GetProjects ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*InsightsRepository) GetProjectsOk ¶

func (o *InsightsRepository) GetProjectsOk() (*ProjectSummaryCollection, bool)

GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsRepository) GetType ¶

func (o *InsightsRepository) GetType() string

GetType returns the Type field value

func (*InsightsRepository) GetTypeOk ¶

func (o *InsightsRepository) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*InsightsRepository) GetUrl ¶

func (o *InsightsRepository) GetUrl() string

GetUrl returns the Url field value

func (*InsightsRepository) GetUrlOk ¶

func (o *InsightsRepository) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*InsightsRepository) GetVersion ¶

func (o *InsightsRepository) GetVersion() int32

GetVersion returns the Version field value

func (*InsightsRepository) GetVersionOk ¶

func (o *InsightsRepository) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*InsightsRepository) HasProjects ¶

func (o *InsightsRepository) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (InsightsRepository) MarshalJSON ¶

func (o InsightsRepository) MarshalJSON() ([]byte, error)

func (*InsightsRepository) SetId ¶

func (o *InsightsRepository) SetId(v string)

SetId sets field value

func (*InsightsRepository) SetKey ¶

func (o *InsightsRepository) SetKey(v string)

SetKey sets field value

func (*InsightsRepository) SetMainBranch ¶

func (o *InsightsRepository) SetMainBranch(v string)

SetMainBranch sets field value

func (*InsightsRepository) SetProjects ¶

func (o *InsightsRepository) SetProjects(v ProjectSummaryCollection)

SetProjects gets a reference to the given ProjectSummaryCollection and assigns it to the Projects field.

func (*InsightsRepository) SetType ¶

func (o *InsightsRepository) SetType(v string)

SetType sets field value

func (*InsightsRepository) SetUrl ¶

func (o *InsightsRepository) SetUrl(v string)

SetUrl sets field value

func (*InsightsRepository) SetVersion ¶

func (o *InsightsRepository) SetVersion(v int32)

SetVersion sets field value

type InsightsRepositoryCollection ¶

type InsightsRepositoryCollection struct {
	// Total number of repositories
	TotalCount int32 `json:"totalCount"`
	// List of repositories
	Items []InsightsRepository `json:"items"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

InsightsRepositoryCollection struct for InsightsRepositoryCollection

func NewInsightsRepositoryCollection ¶

func NewInsightsRepositoryCollection(totalCount int32, items []InsightsRepository) *InsightsRepositoryCollection

NewInsightsRepositoryCollection instantiates a new InsightsRepositoryCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsRepositoryCollectionWithDefaults ¶

func NewInsightsRepositoryCollectionWithDefaults() *InsightsRepositoryCollection

NewInsightsRepositoryCollectionWithDefaults instantiates a new InsightsRepositoryCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsRepositoryCollection) GetItems ¶

GetItems returns the Items field value

func (*InsightsRepositoryCollection) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *InsightsRepositoryCollection) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*InsightsRepositoryCollection) GetLinksOk ¶

func (o *InsightsRepositoryCollection) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsRepositoryCollection) GetTotalCount ¶

func (o *InsightsRepositoryCollection) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*InsightsRepositoryCollection) GetTotalCountOk ¶

func (o *InsightsRepositoryCollection) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (o *InsightsRepositoryCollection) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (InsightsRepositoryCollection) MarshalJSON ¶

func (o InsightsRepositoryCollection) MarshalJSON() ([]byte, error)

func (*InsightsRepositoryCollection) SetItems ¶

SetItems sets field value

func (o *InsightsRepositoryCollection) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*InsightsRepositoryCollection) SetTotalCount ¶

func (o *InsightsRepositoryCollection) SetTotalCount(v int32)

SetTotalCount sets field value

type InsightsRepositoryProject ¶

type InsightsRepositoryProject struct {
	// The repository key
	RepositoryKey string `json:"repositoryKey"`
	// The project key
	ProjectKey string `json:"projectKey"`
}

InsightsRepositoryProject struct for InsightsRepositoryProject

func NewInsightsRepositoryProject ¶

func NewInsightsRepositoryProject(repositoryKey string, projectKey string) *InsightsRepositoryProject

NewInsightsRepositoryProject instantiates a new InsightsRepositoryProject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsRepositoryProjectWithDefaults ¶

func NewInsightsRepositoryProjectWithDefaults() *InsightsRepositoryProject

NewInsightsRepositoryProjectWithDefaults instantiates a new InsightsRepositoryProject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsRepositoryProject) GetProjectKey ¶

func (o *InsightsRepositoryProject) GetProjectKey() string

GetProjectKey returns the ProjectKey field value

func (*InsightsRepositoryProject) GetProjectKeyOk ¶

func (o *InsightsRepositoryProject) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value and a boolean to check if the value has been set.

func (*InsightsRepositoryProject) GetRepositoryKey ¶

func (o *InsightsRepositoryProject) GetRepositoryKey() string

GetRepositoryKey returns the RepositoryKey field value

func (*InsightsRepositoryProject) GetRepositoryKeyOk ¶

func (o *InsightsRepositoryProject) GetRepositoryKeyOk() (*string, bool)

GetRepositoryKeyOk returns a tuple with the RepositoryKey field value and a boolean to check if the value has been set.

func (InsightsRepositoryProject) MarshalJSON ¶

func (o InsightsRepositoryProject) MarshalJSON() ([]byte, error)

func (*InsightsRepositoryProject) SetProjectKey ¶

func (o *InsightsRepositoryProject) SetProjectKey(v string)

SetProjectKey sets field value

func (*InsightsRepositoryProject) SetRepositoryKey ¶

func (o *InsightsRepositoryProject) SetRepositoryKey(v string)

SetRepositoryKey sets field value

type InsightsRepositoryProjectCollection ¶

type InsightsRepositoryProjectCollection struct {
	// Total number of repository project associations
	TotalCount int32 `json:"totalCount"`
	// List of repository project associations
	Items []InsightsRepositoryProject `json:"items"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

InsightsRepositoryProjectCollection struct for InsightsRepositoryProjectCollection

func NewInsightsRepositoryProjectCollection ¶

func NewInsightsRepositoryProjectCollection(totalCount int32, items []InsightsRepositoryProject) *InsightsRepositoryProjectCollection

NewInsightsRepositoryProjectCollection instantiates a new InsightsRepositoryProjectCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsRepositoryProjectCollectionWithDefaults ¶

func NewInsightsRepositoryProjectCollectionWithDefaults() *InsightsRepositoryProjectCollection

NewInsightsRepositoryProjectCollectionWithDefaults instantiates a new InsightsRepositoryProjectCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsRepositoryProjectCollection) GetItems ¶

GetItems returns the Items field value

func (*InsightsRepositoryProjectCollection) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*InsightsRepositoryProjectCollection) GetLinksOk ¶

func (o *InsightsRepositoryProjectCollection) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InsightsRepositoryProjectCollection) GetTotalCount ¶

func (o *InsightsRepositoryProjectCollection) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*InsightsRepositoryProjectCollection) GetTotalCountOk ¶

func (o *InsightsRepositoryProjectCollection) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (InsightsRepositoryProjectCollection) MarshalJSON ¶

func (o InsightsRepositoryProjectCollection) MarshalJSON() ([]byte, error)

func (*InsightsRepositoryProjectCollection) SetItems ¶

SetItems sets field value

func (o *InsightsRepositoryProjectCollection) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*InsightsRepositoryProjectCollection) SetTotalCount ¶

func (o *InsightsRepositoryProjectCollection) SetTotalCount(v int32)

SetTotalCount sets field value

type InsightsRepositoryProjectMappings ¶

type InsightsRepositoryProjectMappings struct {
	Mappings []InsightsRepositoryProject `json:"mappings"`
}

InsightsRepositoryProjectMappings struct for InsightsRepositoryProjectMappings

func NewInsightsRepositoryProjectMappings ¶

func NewInsightsRepositoryProjectMappings(mappings []InsightsRepositoryProject) *InsightsRepositoryProjectMappings

NewInsightsRepositoryProjectMappings instantiates a new InsightsRepositoryProjectMappings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInsightsRepositoryProjectMappingsWithDefaults ¶

func NewInsightsRepositoryProjectMappingsWithDefaults() *InsightsRepositoryProjectMappings

NewInsightsRepositoryProjectMappingsWithDefaults instantiates a new InsightsRepositoryProjectMappings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InsightsRepositoryProjectMappings) GetMappings ¶

GetMappings returns the Mappings field value

func (*InsightsRepositoryProjectMappings) GetMappingsOk ¶

GetMappingsOk returns a tuple with the Mappings field value and a boolean to check if the value has been set.

func (InsightsRepositoryProjectMappings) MarshalJSON ¶

func (o InsightsRepositoryProjectMappings) MarshalJSON() ([]byte, error)

func (*InsightsRepositoryProjectMappings) SetMappings ¶

SetMappings sets field value

type InsightsScoresBetaApiService ¶

type InsightsScoresBetaApiService service

InsightsScoresBetaApiService InsightsScoresBetaApi service

func (*InsightsScoresBetaApiService) CreateInsightGroup ¶

CreateInsightGroup Create insight group

Create insight group

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateInsightGroupRequest

func (*InsightsScoresBetaApiService) CreateInsightGroupExecute ¶

Execute executes the request

@return InsightGroup

func (*InsightsScoresBetaApiService) DeleteInsightGroup ¶

func (a *InsightsScoresBetaApiService) DeleteInsightGroup(ctx context.Context, insightGroupKey string) ApiDeleteInsightGroupRequest

DeleteInsightGroup Delete insight group

Delete insight group

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param insightGroupKey The insight group key
@return ApiDeleteInsightGroupRequest

func (*InsightsScoresBetaApiService) DeleteInsightGroupExecute ¶

func (a *InsightsScoresBetaApiService) DeleteInsightGroupExecute(r ApiDeleteInsightGroupRequest) (*http.Response, error)

Execute executes the request

func (*InsightsScoresBetaApiService) GetInsightGroup ¶

func (a *InsightsScoresBetaApiService) GetInsightGroup(ctx context.Context, insightGroupKey string) ApiGetInsightGroupRequest

GetInsightGroup Get insight group

Get insight group ¶

### Expanding the insight group response

LaunchDarkly supports expanding the insight group response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `scores` includes details on all of the scores used in the engineering insights metrics views for this group * `environment` includes details on each environment associated with this group

For example, use `?expand=scores` to include the `scores` field in the response. By default, this field is **not** included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param insightGroupKey The insight group key
@return ApiGetInsightGroupRequest

func (*InsightsScoresBetaApiService) GetInsightGroupExecute ¶

Execute executes the request

@return InsightGroup

func (*InsightsScoresBetaApiService) GetInsightGroups ¶

GetInsightGroups List insight groups

List groups for which you are collecting insights ¶

### Expanding the insight groups collection response

LaunchDarkly supports expanding the insight groups collection response to include additional fields.

To expand the response, append the `expand` query parameter and include the following:

* `scores` includes details on all of the scores used in the engineering insights metrics views for each group * `environment` includes details on each environment associated with each group * `metadata` includes counts of the number of insight groups with particular indicators, such as "execellent," "good," "fair," and so on.

For example, use `?expand=scores` to include the `scores` field in the response. By default, this field is **not** included in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetInsightGroupsRequest

func (*InsightsScoresBetaApiService) GetInsightGroupsExecute ¶

Execute executes the request

@return InsightGroupCollection

func (*InsightsScoresBetaApiService) GetInsightsScores ¶

GetInsightsScores Get insight scores

Return insights scores, based on the given parameters. This data is also used in engineering insights metrics views.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetInsightsScoresRequest

func (*InsightsScoresBetaApiService) GetInsightsScoresExecute ¶

Execute executes the request

@return InsightScores

func (*InsightsScoresBetaApiService) PatchInsightGroup ¶

func (a *InsightsScoresBetaApiService) PatchInsightGroup(ctx context.Context, insightGroupKey string) ApiPatchInsightGroupRequest

PatchInsightGroup Patch insight group

Update an insight group. Updating an insight group uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param insightGroupKey The insight group key
@return ApiPatchInsightGroupRequest

func (*InsightsScoresBetaApiService) PatchInsightGroupExecute ¶

Execute executes the request

@return InsightGroup

type InstructionUserRequest ¶

type InstructionUserRequest struct {
	// The type of change to make to the removal date for this user from individual targeting for this flag.
	Kind string `json:"kind"`
	// The flag key
	FlagKey string `json:"flagKey"`
	// ID of a variation on the flag
	VariationId string `json:"variationId"`
	// The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag. Required if <code>kind</code> is <code>addExpireUserTargetDate</code> or <code>updateExpireUserTargetDate</code>.
	Value *int32 `json:"value,omitempty"`
	// The version of the expiring user target to update. Optional and only used if <code>kind</code> is <code>updateExpireUserTargetDate</code>. If included, update will fail if version doesn't match current version of the expiring user target.
	Version *int32 `json:"version,omitempty"`
}

InstructionUserRequest struct for InstructionUserRequest

func NewInstructionUserRequest ¶

func NewInstructionUserRequest(kind string, flagKey string, variationId string) *InstructionUserRequest

NewInstructionUserRequest instantiates a new InstructionUserRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInstructionUserRequestWithDefaults ¶

func NewInstructionUserRequestWithDefaults() *InstructionUserRequest

NewInstructionUserRequestWithDefaults instantiates a new InstructionUserRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InstructionUserRequest) GetFlagKey ¶

func (o *InstructionUserRequest) GetFlagKey() string

GetFlagKey returns the FlagKey field value

func (*InstructionUserRequest) GetFlagKeyOk ¶

func (o *InstructionUserRequest) GetFlagKeyOk() (*string, bool)

GetFlagKeyOk returns a tuple with the FlagKey field value and a boolean to check if the value has been set.

func (*InstructionUserRequest) GetKind ¶

func (o *InstructionUserRequest) GetKind() string

GetKind returns the Kind field value

func (*InstructionUserRequest) GetKindOk ¶

func (o *InstructionUserRequest) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*InstructionUserRequest) GetValue ¶

func (o *InstructionUserRequest) GetValue() int32

GetValue returns the Value field value if set, zero value otherwise.

func (*InstructionUserRequest) GetValueOk ¶

func (o *InstructionUserRequest) GetValueOk() (*int32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstructionUserRequest) GetVariationId ¶

func (o *InstructionUserRequest) GetVariationId() string

GetVariationId returns the VariationId field value

func (*InstructionUserRequest) GetVariationIdOk ¶

func (o *InstructionUserRequest) GetVariationIdOk() (*string, bool)

GetVariationIdOk returns a tuple with the VariationId field value and a boolean to check if the value has been set.

func (*InstructionUserRequest) GetVersion ¶

func (o *InstructionUserRequest) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*InstructionUserRequest) GetVersionOk ¶

func (o *InstructionUserRequest) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstructionUserRequest) HasValue ¶

func (o *InstructionUserRequest) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*InstructionUserRequest) HasVersion ¶

func (o *InstructionUserRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (InstructionUserRequest) MarshalJSON ¶

func (o InstructionUserRequest) MarshalJSON() ([]byte, error)

func (*InstructionUserRequest) SetFlagKey ¶

func (o *InstructionUserRequest) SetFlagKey(v string)

SetFlagKey sets field value

func (*InstructionUserRequest) SetKind ¶

func (o *InstructionUserRequest) SetKind(v string)

SetKind sets field value

func (*InstructionUserRequest) SetValue ¶

func (o *InstructionUserRequest) SetValue(v int32)

SetValue gets a reference to the given int32 and assigns it to the Value field.

func (*InstructionUserRequest) SetVariationId ¶

func (o *InstructionUserRequest) SetVariationId(v string)

SetVariationId sets field value

func (*InstructionUserRequest) SetVersion ¶

func (o *InstructionUserRequest) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type Integration ¶

type Integration struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// The ID for this integration audit log subscription
	Id *string `json:"_id,omitempty"`
	// The type of integration
	Kind *string `json:"kind,omitempty"`
	// A human-friendly name for the integration
	Name *string `json:"name,omitempty"`
	// Details on configuration for an integration of this type. Refer to the <code>formVariables</code> field in the corresponding <code>manifest.json</code> for a full list of fields for each integration.
	Config map[string]interface{} `json:"config,omitempty"`
	// Represents a Custom role policy, defining a resource kinds filter the integration audit log subscription responds to.
	Statements []Statement `json:"statements,omitempty"`
	// Whether the integration is currently active
	On *bool `json:"on,omitempty"`
	// An array of tags for this integration
	Tags   []string                          `json:"tags,omitempty"`
	Access *Access                           `json:"_access,omitempty"`
	Status *IntegrationSubscriptionStatusRep `json:"_status,omitempty"`
	// Slack webhook receiver URL. Only used for legacy Slack webhook integrations.
	Url *string `json:"url,omitempty"`
	// Datadog API key. Only used for legacy Datadog webhook integrations.
	ApiKey *string `json:"apiKey,omitempty"`
}

Integration struct for Integration

func NewIntegration ¶

func NewIntegration() *Integration

NewIntegration instantiates a new Integration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationWithDefaults ¶

func NewIntegrationWithDefaults() *Integration

NewIntegrationWithDefaults instantiates a new Integration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Integration) GetAccess ¶

func (o *Integration) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*Integration) GetAccessOk ¶

func (o *Integration) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) GetApiKey ¶

func (o *Integration) GetApiKey() string

GetApiKey returns the ApiKey field value if set, zero value otherwise.

func (*Integration) GetApiKeyOk ¶

func (o *Integration) GetApiKeyOk() (*string, bool)

GetApiKeyOk returns a tuple with the ApiKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) GetConfig ¶

func (o *Integration) GetConfig() map[string]interface{}

GetConfig returns the Config field value if set, zero value otherwise.

func (*Integration) GetConfigOk ¶

func (o *Integration) GetConfigOk() (map[string]interface{}, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) GetId ¶

func (o *Integration) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Integration) GetIdOk ¶

func (o *Integration) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) GetKind ¶

func (o *Integration) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Integration) GetKindOk ¶

func (o *Integration) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Integration) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Integration) GetLinksOk ¶

func (o *Integration) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) GetName ¶

func (o *Integration) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Integration) GetNameOk ¶

func (o *Integration) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) GetOn ¶

func (o *Integration) GetOn() bool

GetOn returns the On field value if set, zero value otherwise.

func (*Integration) GetOnOk ¶

func (o *Integration) GetOnOk() (*bool, bool)

GetOnOk returns a tuple with the On field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) GetStatements ¶

func (o *Integration) GetStatements() []Statement

GetStatements returns the Statements field value if set, zero value otherwise.

func (*Integration) GetStatementsOk ¶

func (o *Integration) GetStatementsOk() ([]Statement, bool)

GetStatementsOk returns a tuple with the Statements field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*Integration) GetStatusOk ¶

func (o *Integration) GetStatusOk() (*IntegrationSubscriptionStatusRep, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) GetTags ¶

func (o *Integration) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Integration) GetTagsOk ¶

func (o *Integration) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) GetUrl ¶

func (o *Integration) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Integration) GetUrlOk ¶

func (o *Integration) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integration) HasAccess ¶

func (o *Integration) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*Integration) HasApiKey ¶

func (o *Integration) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

func (*Integration) HasConfig ¶

func (o *Integration) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Integration) HasId ¶

func (o *Integration) HasId() bool

HasId returns a boolean if a field has been set.

func (*Integration) HasKind ¶

func (o *Integration) HasKind() bool

HasKind returns a boolean if a field has been set.

func (o *Integration) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Integration) HasName ¶

func (o *Integration) HasName() bool

HasName returns a boolean if a field has been set.

func (*Integration) HasOn ¶

func (o *Integration) HasOn() bool

HasOn returns a boolean if a field has been set.

func (*Integration) HasStatements ¶

func (o *Integration) HasStatements() bool

HasStatements returns a boolean if a field has been set.

func (*Integration) HasStatus ¶

func (o *Integration) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Integration) HasTags ¶

func (o *Integration) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Integration) HasUrl ¶

func (o *Integration) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Integration) MarshalJSON ¶

func (o Integration) MarshalJSON() ([]byte, error)

func (*Integration) SetAccess ¶

func (o *Integration) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*Integration) SetApiKey ¶

func (o *Integration) SetApiKey(v string)

SetApiKey gets a reference to the given string and assigns it to the ApiKey field.

func (*Integration) SetConfig ¶

func (o *Integration) SetConfig(v map[string]interface{})

SetConfig gets a reference to the given map[string]interface{} and assigns it to the Config field.

func (*Integration) SetId ¶

func (o *Integration) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Integration) SetKind ¶

func (o *Integration) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (o *Integration) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*Integration) SetName ¶

func (o *Integration) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Integration) SetOn ¶

func (o *Integration) SetOn(v bool)

SetOn gets a reference to the given bool and assigns it to the On field.

func (*Integration) SetStatements ¶

func (o *Integration) SetStatements(v []Statement)

SetStatements gets a reference to the given []Statement and assigns it to the Statements field.

func (*Integration) SetStatus ¶

SetStatus gets a reference to the given IntegrationSubscriptionStatusRep and assigns it to the Status field.

func (*Integration) SetTags ¶

func (o *Integration) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Integration) SetUrl ¶

func (o *Integration) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type IntegrationAuditLogSubscriptionsApiService ¶

type IntegrationAuditLogSubscriptionsApiService service

IntegrationAuditLogSubscriptionsApiService IntegrationAuditLogSubscriptionsApi service

func (*IntegrationAuditLogSubscriptionsApiService) CreateSubscription ¶

CreateSubscription Create audit log subscription

Create an audit log subscription.<br /><br />For each subscription, you must specify the set of resources you wish to subscribe to audit log notifications for. You can describe these resources using a custom role policy. To learn more, read [Custom role concepts](https://docs.launchdarkly.com/home/members/role-concepts).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param integrationKey The integration key
@return ApiCreateSubscriptionRequest

func (*IntegrationAuditLogSubscriptionsApiService) CreateSubscriptionExecute ¶

Execute executes the request

@return Integration

func (*IntegrationAuditLogSubscriptionsApiService) DeleteSubscription ¶

DeleteSubscription Delete audit log subscription

Delete an audit log subscription.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param integrationKey The integration key
@param id The subscription ID
@return ApiDeleteSubscriptionRequest

func (*IntegrationAuditLogSubscriptionsApiService) DeleteSubscriptionExecute ¶

Execute executes the request

func (*IntegrationAuditLogSubscriptionsApiService) GetSubscriptionByID ¶

GetSubscriptionByID Get audit log subscription by ID

Get an audit log subscription by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param integrationKey The integration key
@param id The subscription ID
@return ApiGetSubscriptionByIDRequest

func (*IntegrationAuditLogSubscriptionsApiService) GetSubscriptionByIDExecute ¶

Execute executes the request

@return Integration

func (*IntegrationAuditLogSubscriptionsApiService) GetSubscriptions ¶

GetSubscriptions Get audit log subscriptions by integration

Get all audit log subscriptions associated with a given integration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param integrationKey The integration key
@return ApiGetSubscriptionsRequest

func (*IntegrationAuditLogSubscriptionsApiService) GetSubscriptionsExecute ¶

Execute executes the request

@return Integrations

func (*IntegrationAuditLogSubscriptionsApiService) UpdateSubscription ¶

UpdateSubscription Update audit log subscription

Update an audit log subscription configuration. Updating an audit log subscription uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param integrationKey The integration key
@param id The ID of the audit log subscription
@return ApiUpdateSubscriptionRequest

func (*IntegrationAuditLogSubscriptionsApiService) UpdateSubscriptionExecute ¶

Execute executes the request

@return Integration

type IntegrationDeliveryConfiguration ¶

type IntegrationDeliveryConfiguration struct {
	Links IntegrationDeliveryConfigurationLinks `json:"_links"`
	// The integration ID
	Id string `json:"_id"`
	// The integration key
	IntegrationKey string `json:"integrationKey"`
	// The project key
	ProjectKey string `json:"projectKey"`
	// The environment key
	EnvironmentKey string                 `json:"environmentKey"`
	Config         map[string]interface{} `json:"config"`
	// Whether the configuration is turned on
	On bool `json:"on"`
	// List of tags for this configuration
	Tags []string `json:"tags"`
	// Name of the configuration
	Name string `json:"name"`
	// Version of the current configuration
	Version int32   `json:"version"`
	Access  *Access `json:"_access,omitempty"`
}

IntegrationDeliveryConfiguration struct for IntegrationDeliveryConfiguration

func NewIntegrationDeliveryConfiguration ¶

func NewIntegrationDeliveryConfiguration(links IntegrationDeliveryConfigurationLinks, id string, integrationKey string, projectKey string, environmentKey string, config map[string]interface{}, on bool, tags []string, name string, version int32) *IntegrationDeliveryConfiguration

NewIntegrationDeliveryConfiguration instantiates a new IntegrationDeliveryConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationDeliveryConfigurationWithDefaults ¶

func NewIntegrationDeliveryConfigurationWithDefaults() *IntegrationDeliveryConfiguration

NewIntegrationDeliveryConfigurationWithDefaults instantiates a new IntegrationDeliveryConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegrationDeliveryConfiguration) GetAccess ¶

GetAccess returns the Access field value if set, zero value otherwise.

func (*IntegrationDeliveryConfiguration) GetAccessOk ¶

func (o *IntegrationDeliveryConfiguration) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfiguration) GetConfig ¶

func (o *IntegrationDeliveryConfiguration) GetConfig() map[string]interface{}

GetConfig returns the Config field value

func (*IntegrationDeliveryConfiguration) GetConfigOk ¶

func (o *IntegrationDeliveryConfiguration) GetConfigOk() (map[string]interface{}, bool)

GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfiguration) GetEnvironmentKey ¶

func (o *IntegrationDeliveryConfiguration) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value

func (*IntegrationDeliveryConfiguration) GetEnvironmentKeyOk ¶

func (o *IntegrationDeliveryConfiguration) GetEnvironmentKeyOk() (*string, bool)

GetEnvironmentKeyOk returns a tuple with the EnvironmentKey field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfiguration) GetId ¶

GetId returns the Id field value

func (*IntegrationDeliveryConfiguration) GetIdOk ¶

func (o *IntegrationDeliveryConfiguration) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfiguration) GetIntegrationKey ¶

func (o *IntegrationDeliveryConfiguration) GetIntegrationKey() string

GetIntegrationKey returns the IntegrationKey field value

func (*IntegrationDeliveryConfiguration) GetIntegrationKeyOk ¶

func (o *IntegrationDeliveryConfiguration) GetIntegrationKeyOk() (*string, bool)

GetIntegrationKeyOk returns a tuple with the IntegrationKey field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*IntegrationDeliveryConfiguration) GetLinksOk ¶

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfiguration) GetName ¶

GetName returns the Name field value

func (*IntegrationDeliveryConfiguration) GetNameOk ¶

func (o *IntegrationDeliveryConfiguration) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfiguration) GetOn ¶

GetOn returns the On field value

func (*IntegrationDeliveryConfiguration) GetOnOk ¶

func (o *IntegrationDeliveryConfiguration) GetOnOk() (*bool, bool)

GetOnOk returns a tuple with the On field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfiguration) GetProjectKey ¶

func (o *IntegrationDeliveryConfiguration) GetProjectKey() string

GetProjectKey returns the ProjectKey field value

func (*IntegrationDeliveryConfiguration) GetProjectKeyOk ¶

func (o *IntegrationDeliveryConfiguration) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfiguration) GetTags ¶

GetTags returns the Tags field value

func (*IntegrationDeliveryConfiguration) GetTagsOk ¶

func (o *IntegrationDeliveryConfiguration) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfiguration) GetVersion ¶

func (o *IntegrationDeliveryConfiguration) GetVersion() int32

GetVersion returns the Version field value

func (*IntegrationDeliveryConfiguration) GetVersionOk ¶

func (o *IntegrationDeliveryConfiguration) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfiguration) HasAccess ¶

func (o *IntegrationDeliveryConfiguration) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (IntegrationDeliveryConfiguration) MarshalJSON ¶

func (o IntegrationDeliveryConfiguration) MarshalJSON() ([]byte, error)

func (*IntegrationDeliveryConfiguration) SetAccess ¶

func (o *IntegrationDeliveryConfiguration) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*IntegrationDeliveryConfiguration) SetConfig ¶

func (o *IntegrationDeliveryConfiguration) SetConfig(v map[string]interface{})

SetConfig sets field value

func (*IntegrationDeliveryConfiguration) SetEnvironmentKey ¶

func (o *IntegrationDeliveryConfiguration) SetEnvironmentKey(v string)

SetEnvironmentKey sets field value

func (*IntegrationDeliveryConfiguration) SetId ¶

SetId sets field value

func (*IntegrationDeliveryConfiguration) SetIntegrationKey ¶

func (o *IntegrationDeliveryConfiguration) SetIntegrationKey(v string)

SetIntegrationKey sets field value

SetLinks sets field value

func (*IntegrationDeliveryConfiguration) SetName ¶

SetName sets field value

func (*IntegrationDeliveryConfiguration) SetOn ¶

SetOn sets field value

func (*IntegrationDeliveryConfiguration) SetProjectKey ¶

func (o *IntegrationDeliveryConfiguration) SetProjectKey(v string)

SetProjectKey sets field value

func (*IntegrationDeliveryConfiguration) SetTags ¶

func (o *IntegrationDeliveryConfiguration) SetTags(v []string)

SetTags sets field value

func (*IntegrationDeliveryConfiguration) SetVersion ¶

func (o *IntegrationDeliveryConfiguration) SetVersion(v int32)

SetVersion sets field value

type IntegrationDeliveryConfigurationCollection ¶

type IntegrationDeliveryConfigurationCollection struct {
	Links IntegrationDeliveryConfigurationCollectionLinks `json:"_links"`
	// An array of integration delivery configurations
	Items []IntegrationDeliveryConfiguration `json:"items"`
}

IntegrationDeliveryConfigurationCollection struct for IntegrationDeliveryConfigurationCollection

func NewIntegrationDeliveryConfigurationCollection ¶

NewIntegrationDeliveryConfigurationCollection instantiates a new IntegrationDeliveryConfigurationCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationDeliveryConfigurationCollectionWithDefaults ¶

func NewIntegrationDeliveryConfigurationCollectionWithDefaults() *IntegrationDeliveryConfigurationCollection

NewIntegrationDeliveryConfigurationCollectionWithDefaults instantiates a new IntegrationDeliveryConfigurationCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegrationDeliveryConfigurationCollection) GetItems ¶

GetItems returns the Items field value

func (*IntegrationDeliveryConfigurationCollection) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*IntegrationDeliveryConfigurationCollection) GetLinksOk ¶

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (IntegrationDeliveryConfigurationCollection) MarshalJSON ¶

func (*IntegrationDeliveryConfigurationCollection) SetItems ¶

SetItems sets field value

SetLinks sets field value

type IntegrationDeliveryConfigurationCollectionLinks struct {
	Self   Link  `json:"self"`
	Parent *Link `json:"parent,omitempty"`
}

IntegrationDeliveryConfigurationCollectionLinks struct for IntegrationDeliveryConfigurationCollectionLinks

func NewIntegrationDeliveryConfigurationCollectionLinks(self Link) *IntegrationDeliveryConfigurationCollectionLinks

NewIntegrationDeliveryConfigurationCollectionLinks instantiates a new IntegrationDeliveryConfigurationCollectionLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationDeliveryConfigurationCollectionLinksWithDefaults ¶

func NewIntegrationDeliveryConfigurationCollectionLinksWithDefaults() *IntegrationDeliveryConfigurationCollectionLinks

NewIntegrationDeliveryConfigurationCollectionLinksWithDefaults instantiates a new IntegrationDeliveryConfigurationCollectionLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegrationDeliveryConfigurationCollectionLinks) GetParent ¶

GetParent returns the Parent field value if set, zero value otherwise.

func (*IntegrationDeliveryConfigurationCollectionLinks) GetParentOk ¶

GetParentOk returns a tuple with the Parent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationCollectionLinks) GetSelf ¶

GetSelf returns the Self field value

func (*IntegrationDeliveryConfigurationCollectionLinks) GetSelfOk ¶

GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationCollectionLinks) HasParent ¶

HasParent returns a boolean if a field has been set.

func (IntegrationDeliveryConfigurationCollectionLinks) MarshalJSON ¶

func (*IntegrationDeliveryConfigurationCollectionLinks) SetParent ¶

SetParent gets a reference to the given Link and assigns it to the Parent field.

func (*IntegrationDeliveryConfigurationCollectionLinks) SetSelf ¶

SetSelf sets field value

type IntegrationDeliveryConfigurationLinks struct {
	Self        Link `json:"self"`
	Parent      Link `json:"parent"`
	Project     Link `json:"project"`
	Environment Link `json:"environment"`
}

IntegrationDeliveryConfigurationLinks struct for IntegrationDeliveryConfigurationLinks

func NewIntegrationDeliveryConfigurationLinks(self Link, parent Link, project Link, environment Link) *IntegrationDeliveryConfigurationLinks

NewIntegrationDeliveryConfigurationLinks instantiates a new IntegrationDeliveryConfigurationLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationDeliveryConfigurationLinksWithDefaults ¶

func NewIntegrationDeliveryConfigurationLinksWithDefaults() *IntegrationDeliveryConfigurationLinks

NewIntegrationDeliveryConfigurationLinksWithDefaults instantiates a new IntegrationDeliveryConfigurationLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegrationDeliveryConfigurationLinks) GetEnvironment ¶

func (o *IntegrationDeliveryConfigurationLinks) GetEnvironment() Link

GetEnvironment returns the Environment field value

func (*IntegrationDeliveryConfigurationLinks) GetEnvironmentOk ¶

func (o *IntegrationDeliveryConfigurationLinks) GetEnvironmentOk() (*Link, bool)

GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationLinks) GetParent ¶

GetParent returns the Parent field value

func (*IntegrationDeliveryConfigurationLinks) GetParentOk ¶

func (o *IntegrationDeliveryConfigurationLinks) GetParentOk() (*Link, bool)

GetParentOk returns a tuple with the Parent field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationLinks) GetProject ¶

GetProject returns the Project field value

func (*IntegrationDeliveryConfigurationLinks) GetProjectOk ¶

func (o *IntegrationDeliveryConfigurationLinks) GetProjectOk() (*Link, bool)

GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationLinks) GetSelf ¶

GetSelf returns the Self field value

func (*IntegrationDeliveryConfigurationLinks) GetSelfOk ¶

func (o *IntegrationDeliveryConfigurationLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set.

func (IntegrationDeliveryConfigurationLinks) MarshalJSON ¶

func (o IntegrationDeliveryConfigurationLinks) MarshalJSON() ([]byte, error)

func (*IntegrationDeliveryConfigurationLinks) SetEnvironment ¶

func (o *IntegrationDeliveryConfigurationLinks) SetEnvironment(v Link)

SetEnvironment sets field value

func (*IntegrationDeliveryConfigurationLinks) SetParent ¶

SetParent sets field value

func (*IntegrationDeliveryConfigurationLinks) SetProject ¶

SetProject sets field value

func (*IntegrationDeliveryConfigurationLinks) SetSelf ¶

SetSelf sets field value

type IntegrationDeliveryConfigurationPost ¶

type IntegrationDeliveryConfigurationPost struct {
	// Whether the integration configuration is active. Default value is false.
	On     *bool                  `json:"on,omitempty"`
	Config map[string]interface{} `json:"config"`
	// Tags to associate with the integration
	Tags []string `json:"tags,omitempty"`
	// Name to identify the integration
	Name *string `json:"name,omitempty"`
}

IntegrationDeliveryConfigurationPost struct for IntegrationDeliveryConfigurationPost

func NewIntegrationDeliveryConfigurationPost ¶

func NewIntegrationDeliveryConfigurationPost(config map[string]interface{}) *IntegrationDeliveryConfigurationPost

NewIntegrationDeliveryConfigurationPost instantiates a new IntegrationDeliveryConfigurationPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationDeliveryConfigurationPostWithDefaults ¶

func NewIntegrationDeliveryConfigurationPostWithDefaults() *IntegrationDeliveryConfigurationPost

NewIntegrationDeliveryConfigurationPostWithDefaults instantiates a new IntegrationDeliveryConfigurationPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegrationDeliveryConfigurationPost) GetConfig ¶

func (o *IntegrationDeliveryConfigurationPost) GetConfig() map[string]interface{}

GetConfig returns the Config field value

func (*IntegrationDeliveryConfigurationPost) GetConfigOk ¶

func (o *IntegrationDeliveryConfigurationPost) GetConfigOk() (map[string]interface{}, bool)

GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationPost) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*IntegrationDeliveryConfigurationPost) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationPost) GetOn ¶

GetOn returns the On field value if set, zero value otherwise.

func (*IntegrationDeliveryConfigurationPost) GetOnOk ¶

GetOnOk returns a tuple with the On field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationPost) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*IntegrationDeliveryConfigurationPost) GetTagsOk ¶

func (o *IntegrationDeliveryConfigurationPost) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationPost) HasName ¶

HasName returns a boolean if a field has been set.

func (*IntegrationDeliveryConfigurationPost) HasOn ¶

HasOn returns a boolean if a field has been set.

func (*IntegrationDeliveryConfigurationPost) HasTags ¶

HasTags returns a boolean if a field has been set.

func (IntegrationDeliveryConfigurationPost) MarshalJSON ¶

func (o IntegrationDeliveryConfigurationPost) MarshalJSON() ([]byte, error)

func (*IntegrationDeliveryConfigurationPost) SetConfig ¶

func (o *IntegrationDeliveryConfigurationPost) SetConfig(v map[string]interface{})

SetConfig sets field value

func (*IntegrationDeliveryConfigurationPost) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*IntegrationDeliveryConfigurationPost) SetOn ¶

SetOn gets a reference to the given bool and assigns it to the On field.

func (*IntegrationDeliveryConfigurationPost) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

type IntegrationDeliveryConfigurationResponse ¶

type IntegrationDeliveryConfigurationResponse struct {
	// The status code returned by the validation
	StatusCode *int32  `json:"statusCode,omitempty"`
	Error      *string `json:"error,omitempty"`
	Timestamp  *int64  `json:"timestamp,omitempty"`
	// JSON response to the validation request
	ResponseBody *string `json:"responseBody,omitempty"`
}

IntegrationDeliveryConfigurationResponse struct for IntegrationDeliveryConfigurationResponse

func NewIntegrationDeliveryConfigurationResponse ¶

func NewIntegrationDeliveryConfigurationResponse() *IntegrationDeliveryConfigurationResponse

NewIntegrationDeliveryConfigurationResponse instantiates a new IntegrationDeliveryConfigurationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationDeliveryConfigurationResponseWithDefaults ¶

func NewIntegrationDeliveryConfigurationResponseWithDefaults() *IntegrationDeliveryConfigurationResponse

NewIntegrationDeliveryConfigurationResponseWithDefaults instantiates a new IntegrationDeliveryConfigurationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegrationDeliveryConfigurationResponse) GetError ¶

GetError returns the Error field value if set, zero value otherwise.

func (*IntegrationDeliveryConfigurationResponse) GetErrorOk ¶

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationResponse) GetResponseBody ¶

func (o *IntegrationDeliveryConfigurationResponse) GetResponseBody() string

GetResponseBody returns the ResponseBody field value if set, zero value otherwise.

func (*IntegrationDeliveryConfigurationResponse) GetResponseBodyOk ¶

func (o *IntegrationDeliveryConfigurationResponse) GetResponseBodyOk() (*string, bool)

GetResponseBodyOk returns a tuple with the ResponseBody field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationResponse) GetStatusCode ¶

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*IntegrationDeliveryConfigurationResponse) GetStatusCodeOk ¶

func (o *IntegrationDeliveryConfigurationResponse) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationResponse) GetTimestamp ¶

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*IntegrationDeliveryConfigurationResponse) GetTimestampOk ¶

func (o *IntegrationDeliveryConfigurationResponse) GetTimestampOk() (*int64, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationDeliveryConfigurationResponse) HasError ¶

HasError returns a boolean if a field has been set.

func (*IntegrationDeliveryConfigurationResponse) HasResponseBody ¶

func (o *IntegrationDeliveryConfigurationResponse) HasResponseBody() bool

HasResponseBody returns a boolean if a field has been set.

func (*IntegrationDeliveryConfigurationResponse) HasStatusCode ¶

HasStatusCode returns a boolean if a field has been set.

func (*IntegrationDeliveryConfigurationResponse) HasTimestamp ¶

HasTimestamp returns a boolean if a field has been set.

func (IntegrationDeliveryConfigurationResponse) MarshalJSON ¶

func (*IntegrationDeliveryConfigurationResponse) SetError ¶

SetError gets a reference to the given string and assigns it to the Error field.

func (*IntegrationDeliveryConfigurationResponse) SetResponseBody ¶

func (o *IntegrationDeliveryConfigurationResponse) SetResponseBody(v string)

SetResponseBody gets a reference to the given string and assigns it to the ResponseBody field.

func (*IntegrationDeliveryConfigurationResponse) SetStatusCode ¶

func (o *IntegrationDeliveryConfigurationResponse) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (*IntegrationDeliveryConfigurationResponse) SetTimestamp ¶

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

type IntegrationDeliveryConfigurationsBetaApiService ¶

type IntegrationDeliveryConfigurationsBetaApiService service

IntegrationDeliveryConfigurationsBetaApiService IntegrationDeliveryConfigurationsBetaApi service

func (*IntegrationDeliveryConfigurationsBetaApiService) CreateIntegrationDeliveryConfiguration ¶

func (a *IntegrationDeliveryConfigurationsBetaApiService) CreateIntegrationDeliveryConfiguration(ctx context.Context, projectKey string, environmentKey string, integrationKey string) ApiCreateIntegrationDeliveryConfigurationRequest

CreateIntegrationDeliveryConfiguration Create delivery configuration

Create a delivery configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param integrationKey The integration key
@return ApiCreateIntegrationDeliveryConfigurationRequest

func (*IntegrationDeliveryConfigurationsBetaApiService) CreateIntegrationDeliveryConfigurationExecute ¶

Execute executes the request

@return IntegrationDeliveryConfiguration

func (*IntegrationDeliveryConfigurationsBetaApiService) DeleteIntegrationDeliveryConfiguration ¶

func (a *IntegrationDeliveryConfigurationsBetaApiService) DeleteIntegrationDeliveryConfiguration(ctx context.Context, projectKey string, environmentKey string, integrationKey string, id string) ApiDeleteIntegrationDeliveryConfigurationRequest

DeleteIntegrationDeliveryConfiguration Delete delivery configuration

Delete a delivery configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param integrationKey The integration key
@param id The configuration ID
@return ApiDeleteIntegrationDeliveryConfigurationRequest

func (*IntegrationDeliveryConfigurationsBetaApiService) DeleteIntegrationDeliveryConfigurationExecute ¶

Execute executes the request

func (*IntegrationDeliveryConfigurationsBetaApiService) GetIntegrationDeliveryConfigurationByEnvironment ¶

func (a *IntegrationDeliveryConfigurationsBetaApiService) GetIntegrationDeliveryConfigurationByEnvironment(ctx context.Context, projectKey string, environmentKey string) ApiGetIntegrationDeliveryConfigurationByEnvironmentRequest

GetIntegrationDeliveryConfigurationByEnvironment Get delivery configurations by environment

Get delivery configurations by environment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetIntegrationDeliveryConfigurationByEnvironmentRequest

func (*IntegrationDeliveryConfigurationsBetaApiService) GetIntegrationDeliveryConfigurationByEnvironmentExecute ¶

Execute executes the request

@return IntegrationDeliveryConfigurationCollection

func (*IntegrationDeliveryConfigurationsBetaApiService) GetIntegrationDeliveryConfigurationById ¶

func (a *IntegrationDeliveryConfigurationsBetaApiService) GetIntegrationDeliveryConfigurationById(ctx context.Context, projectKey string, environmentKey string, integrationKey string, id string) ApiGetIntegrationDeliveryConfigurationByIdRequest

GetIntegrationDeliveryConfigurationById Get delivery configuration by ID

Get delivery configuration by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param integrationKey The integration key
@param id The configuration ID
@return ApiGetIntegrationDeliveryConfigurationByIdRequest

func (*IntegrationDeliveryConfigurationsBetaApiService) GetIntegrationDeliveryConfigurationByIdExecute ¶

Execute executes the request

@return IntegrationDeliveryConfiguration

func (*IntegrationDeliveryConfigurationsBetaApiService) GetIntegrationDeliveryConfigurations ¶

GetIntegrationDeliveryConfigurations List all delivery configurations

List all delivery configurations.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetIntegrationDeliveryConfigurationsRequest

func (*IntegrationDeliveryConfigurationsBetaApiService) GetIntegrationDeliveryConfigurationsExecute ¶

Execute executes the request

@return IntegrationDeliveryConfigurationCollection

func (*IntegrationDeliveryConfigurationsBetaApiService) PatchIntegrationDeliveryConfiguration ¶

func (a *IntegrationDeliveryConfigurationsBetaApiService) PatchIntegrationDeliveryConfiguration(ctx context.Context, projectKey string, environmentKey string, integrationKey string, id string) ApiPatchIntegrationDeliveryConfigurationRequest

PatchIntegrationDeliveryConfiguration Update delivery configuration

Update an integration delivery configuration. Updating an integration delivery configuration uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param integrationKey The integration key
@param id The configuration ID
@return ApiPatchIntegrationDeliveryConfigurationRequest

func (*IntegrationDeliveryConfigurationsBetaApiService) PatchIntegrationDeliveryConfigurationExecute ¶

Execute executes the request

@return IntegrationDeliveryConfiguration

func (*IntegrationDeliveryConfigurationsBetaApiService) ValidateIntegrationDeliveryConfiguration ¶

func (a *IntegrationDeliveryConfigurationsBetaApiService) ValidateIntegrationDeliveryConfiguration(ctx context.Context, projectKey string, environmentKey string, integrationKey string, id string) ApiValidateIntegrationDeliveryConfigurationRequest

ValidateIntegrationDeliveryConfiguration Validate delivery configuration

Validate the saved delivery configuration, using the `validationRequest` in the integration's `manifest.json` file.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param integrationKey The integration key
@param id The configuration ID
@return ApiValidateIntegrationDeliveryConfigurationRequest

func (*IntegrationDeliveryConfigurationsBetaApiService) ValidateIntegrationDeliveryConfigurationExecute ¶

Execute executes the request

@return IntegrationDeliveryConfigurationResponse

type IntegrationMetadata ¶

type IntegrationMetadata struct {
	ExternalId     string            `json:"externalId"`
	ExternalStatus IntegrationStatus `json:"externalStatus"`
	ExternalUrl    string            `json:"externalUrl"`
	LastChecked    int64             `json:"lastChecked"`
}

IntegrationMetadata struct for IntegrationMetadata

func NewIntegrationMetadata ¶

func NewIntegrationMetadata(externalId string, externalStatus IntegrationStatus, externalUrl string, lastChecked int64) *IntegrationMetadata

NewIntegrationMetadata instantiates a new IntegrationMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationMetadataWithDefaults ¶

func NewIntegrationMetadataWithDefaults() *IntegrationMetadata

NewIntegrationMetadataWithDefaults instantiates a new IntegrationMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegrationMetadata) GetExternalId ¶

func (o *IntegrationMetadata) GetExternalId() string

GetExternalId returns the ExternalId field value

func (*IntegrationMetadata) GetExternalIdOk ¶

func (o *IntegrationMetadata) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field value and a boolean to check if the value has been set.

func (*IntegrationMetadata) GetExternalStatus ¶

func (o *IntegrationMetadata) GetExternalStatus() IntegrationStatus

GetExternalStatus returns the ExternalStatus field value

func (*IntegrationMetadata) GetExternalStatusOk ¶

func (o *IntegrationMetadata) GetExternalStatusOk() (*IntegrationStatus, bool)

GetExternalStatusOk returns a tuple with the ExternalStatus field value and a boolean to check if the value has been set.

func (*IntegrationMetadata) GetExternalUrl ¶

func (o *IntegrationMetadata) GetExternalUrl() string

GetExternalUrl returns the ExternalUrl field value

func (*IntegrationMetadata) GetExternalUrlOk ¶

func (o *IntegrationMetadata) GetExternalUrlOk() (*string, bool)

GetExternalUrlOk returns a tuple with the ExternalUrl field value and a boolean to check if the value has been set.

func (*IntegrationMetadata) GetLastChecked ¶

func (o *IntegrationMetadata) GetLastChecked() int64

GetLastChecked returns the LastChecked field value

func (*IntegrationMetadata) GetLastCheckedOk ¶

func (o *IntegrationMetadata) GetLastCheckedOk() (*int64, bool)

GetLastCheckedOk returns a tuple with the LastChecked field value and a boolean to check if the value has been set.

func (IntegrationMetadata) MarshalJSON ¶

func (o IntegrationMetadata) MarshalJSON() ([]byte, error)

func (*IntegrationMetadata) SetExternalId ¶

func (o *IntegrationMetadata) SetExternalId(v string)

SetExternalId sets field value

func (*IntegrationMetadata) SetExternalStatus ¶

func (o *IntegrationMetadata) SetExternalStatus(v IntegrationStatus)

SetExternalStatus sets field value

func (*IntegrationMetadata) SetExternalUrl ¶

func (o *IntegrationMetadata) SetExternalUrl(v string)

SetExternalUrl sets field value

func (*IntegrationMetadata) SetLastChecked ¶

func (o *IntegrationMetadata) SetLastChecked(v int64)

SetLastChecked sets field value

type IntegrationStatus ¶

type IntegrationStatus struct {
	Display string `json:"display"`
	Value   string `json:"value"`
}

IntegrationStatus struct for IntegrationStatus

func NewIntegrationStatus ¶

func NewIntegrationStatus(display string, value string) *IntegrationStatus

NewIntegrationStatus instantiates a new IntegrationStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationStatusWithDefaults ¶

func NewIntegrationStatusWithDefaults() *IntegrationStatus

NewIntegrationStatusWithDefaults instantiates a new IntegrationStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegrationStatus) GetDisplay ¶

func (o *IntegrationStatus) GetDisplay() string

GetDisplay returns the Display field value

func (*IntegrationStatus) GetDisplayOk ¶

func (o *IntegrationStatus) GetDisplayOk() (*string, bool)

GetDisplayOk returns a tuple with the Display field value and a boolean to check if the value has been set.

func (*IntegrationStatus) GetValue ¶

func (o *IntegrationStatus) GetValue() string

GetValue returns the Value field value

func (*IntegrationStatus) GetValueOk ¶

func (o *IntegrationStatus) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (IntegrationStatus) MarshalJSON ¶

func (o IntegrationStatus) MarshalJSON() ([]byte, error)

func (*IntegrationStatus) SetDisplay ¶

func (o *IntegrationStatus) SetDisplay(v string)

SetDisplay sets field value

func (*IntegrationStatus) SetValue ¶

func (o *IntegrationStatus) SetValue(v string)

SetValue sets field value

type IntegrationStatusRep ¶

type IntegrationStatusRep struct {
	StatusCode   *int32  `json:"statusCode,omitempty"`
	ResponseBody *string `json:"responseBody,omitempty"`
	Timestamp    *int64  `json:"timestamp,omitempty"`
}

IntegrationStatusRep struct for IntegrationStatusRep

func NewIntegrationStatusRep ¶

func NewIntegrationStatusRep() *IntegrationStatusRep

NewIntegrationStatusRep instantiates a new IntegrationStatusRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationStatusRepWithDefaults ¶

func NewIntegrationStatusRepWithDefaults() *IntegrationStatusRep

NewIntegrationStatusRepWithDefaults instantiates a new IntegrationStatusRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegrationStatusRep) GetResponseBody ¶

func (o *IntegrationStatusRep) GetResponseBody() string

GetResponseBody returns the ResponseBody field value if set, zero value otherwise.

func (*IntegrationStatusRep) GetResponseBodyOk ¶

func (o *IntegrationStatusRep) GetResponseBodyOk() (*string, bool)

GetResponseBodyOk returns a tuple with the ResponseBody field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationStatusRep) GetStatusCode ¶

func (o *IntegrationStatusRep) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*IntegrationStatusRep) GetStatusCodeOk ¶

func (o *IntegrationStatusRep) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationStatusRep) GetTimestamp ¶

func (o *IntegrationStatusRep) GetTimestamp() int64

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*IntegrationStatusRep) GetTimestampOk ¶

func (o *IntegrationStatusRep) GetTimestampOk() (*int64, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationStatusRep) HasResponseBody ¶

func (o *IntegrationStatusRep) HasResponseBody() bool

HasResponseBody returns a boolean if a field has been set.

func (*IntegrationStatusRep) HasStatusCode ¶

func (o *IntegrationStatusRep) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*IntegrationStatusRep) HasTimestamp ¶

func (o *IntegrationStatusRep) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (IntegrationStatusRep) MarshalJSON ¶

func (o IntegrationStatusRep) MarshalJSON() ([]byte, error)

func (*IntegrationStatusRep) SetResponseBody ¶

func (o *IntegrationStatusRep) SetResponseBody(v string)

SetResponseBody gets a reference to the given string and assigns it to the ResponseBody field.

func (*IntegrationStatusRep) SetStatusCode ¶

func (o *IntegrationStatusRep) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (*IntegrationStatusRep) SetTimestamp ¶

func (o *IntegrationStatusRep) SetTimestamp(v int64)

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

type IntegrationSubscriptionStatusRep ¶

type IntegrationSubscriptionStatusRep struct {
	SuccessCount *int32                 `json:"successCount,omitempty"`
	LastSuccess  *int64                 `json:"lastSuccess,omitempty"`
	LastError    *int64                 `json:"lastError,omitempty"`
	ErrorCount   *int32                 `json:"errorCount,omitempty"`
	Errors       []IntegrationStatusRep `json:"errors,omitempty"`
}

IntegrationSubscriptionStatusRep struct for IntegrationSubscriptionStatusRep

func NewIntegrationSubscriptionStatusRep ¶

func NewIntegrationSubscriptionStatusRep() *IntegrationSubscriptionStatusRep

NewIntegrationSubscriptionStatusRep instantiates a new IntegrationSubscriptionStatusRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationSubscriptionStatusRepWithDefaults ¶

func NewIntegrationSubscriptionStatusRepWithDefaults() *IntegrationSubscriptionStatusRep

NewIntegrationSubscriptionStatusRepWithDefaults instantiates a new IntegrationSubscriptionStatusRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegrationSubscriptionStatusRep) GetErrorCount ¶

func (o *IntegrationSubscriptionStatusRep) GetErrorCount() int32

GetErrorCount returns the ErrorCount field value if set, zero value otherwise.

func (*IntegrationSubscriptionStatusRep) GetErrorCountOk ¶

func (o *IntegrationSubscriptionStatusRep) GetErrorCountOk() (*int32, bool)

GetErrorCountOk returns a tuple with the ErrorCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationSubscriptionStatusRep) GetErrors ¶

GetErrors returns the Errors field value if set, zero value otherwise.

func (*IntegrationSubscriptionStatusRep) GetErrorsOk ¶

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationSubscriptionStatusRep) GetLastError ¶

func (o *IntegrationSubscriptionStatusRep) GetLastError() int64

GetLastError returns the LastError field value if set, zero value otherwise.

func (*IntegrationSubscriptionStatusRep) GetLastErrorOk ¶

func (o *IntegrationSubscriptionStatusRep) GetLastErrorOk() (*int64, bool)

GetLastErrorOk returns a tuple with the LastError field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationSubscriptionStatusRep) GetLastSuccess ¶

func (o *IntegrationSubscriptionStatusRep) GetLastSuccess() int64

GetLastSuccess returns the LastSuccess field value if set, zero value otherwise.

func (*IntegrationSubscriptionStatusRep) GetLastSuccessOk ¶

func (o *IntegrationSubscriptionStatusRep) GetLastSuccessOk() (*int64, bool)

GetLastSuccessOk returns a tuple with the LastSuccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationSubscriptionStatusRep) GetSuccessCount ¶

func (o *IntegrationSubscriptionStatusRep) GetSuccessCount() int32

GetSuccessCount returns the SuccessCount field value if set, zero value otherwise.

func (*IntegrationSubscriptionStatusRep) GetSuccessCountOk ¶

func (o *IntegrationSubscriptionStatusRep) GetSuccessCountOk() (*int32, bool)

GetSuccessCountOk returns a tuple with the SuccessCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegrationSubscriptionStatusRep) HasErrorCount ¶

func (o *IntegrationSubscriptionStatusRep) HasErrorCount() bool

HasErrorCount returns a boolean if a field has been set.

func (*IntegrationSubscriptionStatusRep) HasErrors ¶

func (o *IntegrationSubscriptionStatusRep) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*IntegrationSubscriptionStatusRep) HasLastError ¶

func (o *IntegrationSubscriptionStatusRep) HasLastError() bool

HasLastError returns a boolean if a field has been set.

func (*IntegrationSubscriptionStatusRep) HasLastSuccess ¶

func (o *IntegrationSubscriptionStatusRep) HasLastSuccess() bool

HasLastSuccess returns a boolean if a field has been set.

func (*IntegrationSubscriptionStatusRep) HasSuccessCount ¶

func (o *IntegrationSubscriptionStatusRep) HasSuccessCount() bool

HasSuccessCount returns a boolean if a field has been set.

func (IntegrationSubscriptionStatusRep) MarshalJSON ¶

func (o IntegrationSubscriptionStatusRep) MarshalJSON() ([]byte, error)

func (*IntegrationSubscriptionStatusRep) SetErrorCount ¶

func (o *IntegrationSubscriptionStatusRep) SetErrorCount(v int32)

SetErrorCount gets a reference to the given int32 and assigns it to the ErrorCount field.

func (*IntegrationSubscriptionStatusRep) SetErrors ¶

SetErrors gets a reference to the given []IntegrationStatusRep and assigns it to the Errors field.

func (*IntegrationSubscriptionStatusRep) SetLastError ¶

func (o *IntegrationSubscriptionStatusRep) SetLastError(v int64)

SetLastError gets a reference to the given int64 and assigns it to the LastError field.

func (*IntegrationSubscriptionStatusRep) SetLastSuccess ¶

func (o *IntegrationSubscriptionStatusRep) SetLastSuccess(v int64)

SetLastSuccess gets a reference to the given int64 and assigns it to the LastSuccess field.

func (*IntegrationSubscriptionStatusRep) SetSuccessCount ¶

func (o *IntegrationSubscriptionStatusRep) SetSuccessCount(v int32)

SetSuccessCount gets a reference to the given int32 and assigns it to the SuccessCount field.

type Integrations ¶

type Integrations struct {
	Links *map[string]Link `json:"_links,omitempty"`
	Items []Integration    `json:"items,omitempty"`
	Key   *string          `json:"key,omitempty"`
}

Integrations struct for Integrations

func NewIntegrations ¶

func NewIntegrations() *Integrations

NewIntegrations instantiates a new Integrations object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegrationsWithDefaults ¶

func NewIntegrationsWithDefaults() *Integrations

NewIntegrationsWithDefaults instantiates a new Integrations object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Integrations) GetItems ¶

func (o *Integrations) GetItems() []Integration

GetItems returns the Items field value if set, zero value otherwise.

func (*Integrations) GetItemsOk ¶

func (o *Integrations) GetItemsOk() ([]Integration, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integrations) GetKey ¶

func (o *Integrations) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*Integrations) GetKeyOk ¶

func (o *Integrations) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Integrations) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Integrations) GetLinksOk ¶

func (o *Integrations) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Integrations) HasItems ¶

func (o *Integrations) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*Integrations) HasKey ¶

func (o *Integrations) HasKey() bool

HasKey returns a boolean if a field has been set.

func (o *Integrations) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (Integrations) MarshalJSON ¶

func (o Integrations) MarshalJSON() ([]byte, error)

func (*Integrations) SetItems ¶

func (o *Integrations) SetItems(v []Integration)

SetItems gets a reference to the given []Integration and assigns it to the Items field.

func (*Integrations) SetKey ¶

func (o *Integrations) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (o *Integrations) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type IntegrationsBetaApiService ¶

type IntegrationsBetaApiService service

IntegrationsBetaApiService IntegrationsBetaApi service

func (*IntegrationsBetaApiService) CreateBigSegmentStoreIntegration ¶

func (a *IntegrationsBetaApiService) CreateBigSegmentStoreIntegration(ctx context.Context, projectKey string, environmentKey string, integrationKey string) ApiCreateBigSegmentStoreIntegrationRequest

CreateBigSegmentStoreIntegration Create big segment store integration

Create a persistent store integration.

If you are using server-side SDKs, segments synced from external tools and larger list-based segments require a persistent store within your infrastructure. LaunchDarkly keeps the persistent store up to date and consults it during flag evaluation.

You can use either Redis or DynamoDB as your persistent store. When you create a persistent store integration, the fields in the `config` object in the request vary depending on which persistent store you use.

If you are using Redis to create your persistent store integration, you will need to know:

* Your Redis host * Your Redis port * Your Redis username * Your Redis password * Whether or not LaunchDarkly should connect using TLS

If you are using DynamoDB to create your persistent store integration, you will need to know:

* Your DynamoDB table name. The table must have the following schema:

  • Partition key: `namespace` (string)
  • Sort key: `key` (string)

* Your DynamoDB Amazon Web Services (AWS) region. * Your AWS role Amazon Resource Name (ARN). This is the role that LaunchDarkly will assume to manage your DynamoDB table. * The External ID you specified when creating your Amazon Resource Name (ARN).

To learn more, read [Segment configuration](https://docs.launchdarkly.com/home/segments/big-segment-configuration).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param integrationKey The integration key, either `redis` or `dynamodb`
@return ApiCreateBigSegmentStoreIntegrationRequest

func (*IntegrationsBetaApiService) CreateBigSegmentStoreIntegrationExecute ¶

Execute executes the request

@return BigSegmentStoreIntegration

func (*IntegrationsBetaApiService) DeleteBigSegmentStoreIntegration ¶

func (a *IntegrationsBetaApiService) DeleteBigSegmentStoreIntegration(ctx context.Context, projectKey string, environmentKey string, integrationKey string, integrationId string) ApiDeleteBigSegmentStoreIntegrationRequest

DeleteBigSegmentStoreIntegration Delete big segment store integration

Delete a persistent store integration. Each integration uses either Redis or DynamoDB.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param integrationKey The integration key, either `redis` or `dynamodb`
@param integrationId The integration ID
@return ApiDeleteBigSegmentStoreIntegrationRequest

func (*IntegrationsBetaApiService) DeleteBigSegmentStoreIntegrationExecute ¶

func (a *IntegrationsBetaApiService) DeleteBigSegmentStoreIntegrationExecute(r ApiDeleteBigSegmentStoreIntegrationRequest) (*http.Response, error)

Execute executes the request

func (*IntegrationsBetaApiService) GetBigSegmentStoreIntegration ¶

func (a *IntegrationsBetaApiService) GetBigSegmentStoreIntegration(ctx context.Context, projectKey string, environmentKey string, integrationKey string, integrationId string) ApiGetBigSegmentStoreIntegrationRequest

GetBigSegmentStoreIntegration Get big segment store integration by ID

Get a big segment store integration by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param integrationKey The integration key, either `redis` or `dynamodb`
@param integrationId The integration ID
@return ApiGetBigSegmentStoreIntegrationRequest

func (*IntegrationsBetaApiService) GetBigSegmentStoreIntegrationExecute ¶

Execute executes the request

@return BigSegmentStoreIntegration

func (*IntegrationsBetaApiService) GetBigSegmentStoreIntegrations ¶

GetBigSegmentStoreIntegrations List all big segment store integrations

List all big segment store integrations.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetBigSegmentStoreIntegrationsRequest

func (*IntegrationsBetaApiService) GetBigSegmentStoreIntegrationsExecute ¶

Execute executes the request

@return BigSegmentStoreIntegrationCollection

func (*IntegrationsBetaApiService) PatchBigSegmentStoreIntegration ¶

func (a *IntegrationsBetaApiService) PatchBigSegmentStoreIntegration(ctx context.Context, projectKey string, environmentKey string, integrationKey string, integrationId string) ApiPatchBigSegmentStoreIntegrationRequest

PatchBigSegmentStoreIntegration Update big segment store integration

Update a big segment store integration. Updating a big segment store requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param integrationKey The integration key, either `redis` or `dynamodb`
@param integrationId The integration ID
@return ApiPatchBigSegmentStoreIntegrationRequest

func (*IntegrationsBetaApiService) PatchBigSegmentStoreIntegrationExecute ¶

Execute executes the request

@return BigSegmentStoreIntegration

type InvalidRequestErrorRep ¶

type InvalidRequestErrorRep struct {
	// Specific error code encountered
	Code string `json:"code"`
	// Description of the error
	Message string `json:"message"`
}

InvalidRequestErrorRep struct for InvalidRequestErrorRep

func NewInvalidRequestErrorRep ¶

func NewInvalidRequestErrorRep(code string, message string) *InvalidRequestErrorRep

NewInvalidRequestErrorRep instantiates a new InvalidRequestErrorRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInvalidRequestErrorRepWithDefaults ¶

func NewInvalidRequestErrorRepWithDefaults() *InvalidRequestErrorRep

NewInvalidRequestErrorRepWithDefaults instantiates a new InvalidRequestErrorRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InvalidRequestErrorRep) GetCode ¶

func (o *InvalidRequestErrorRep) GetCode() string

GetCode returns the Code field value

func (*InvalidRequestErrorRep) GetCodeOk ¶

func (o *InvalidRequestErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*InvalidRequestErrorRep) GetMessage ¶

func (o *InvalidRequestErrorRep) GetMessage() string

GetMessage returns the Message field value

func (*InvalidRequestErrorRep) GetMessageOk ¶

func (o *InvalidRequestErrorRep) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (InvalidRequestErrorRep) MarshalJSON ¶

func (o InvalidRequestErrorRep) MarshalJSON() ([]byte, error)

func (*InvalidRequestErrorRep) SetCode ¶

func (o *InvalidRequestErrorRep) SetCode(v string)

SetCode sets field value

func (*InvalidRequestErrorRep) SetMessage ¶

func (o *InvalidRequestErrorRep) SetMessage(v string)

SetMessage sets field value

type IpList ¶

type IpList struct {
	// A list of the IP addresses LaunchDarkly's service uses
	Addresses []string `json:"addresses"`
	// A list of the IP addresses outgoing webhook notifications use
	OutboundAddresses []string `json:"outboundAddresses"`
}

IpList struct for IpList

func NewIpList ¶

func NewIpList(addresses []string, outboundAddresses []string) *IpList

NewIpList instantiates a new IpList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIpListWithDefaults ¶

func NewIpListWithDefaults() *IpList

NewIpListWithDefaults instantiates a new IpList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IpList) GetAddresses ¶

func (o *IpList) GetAddresses() []string

GetAddresses returns the Addresses field value

func (*IpList) GetAddressesOk ¶

func (o *IpList) GetAddressesOk() ([]string, bool)

GetAddressesOk returns a tuple with the Addresses field value and a boolean to check if the value has been set.

func (*IpList) GetOutboundAddresses ¶

func (o *IpList) GetOutboundAddresses() []string

GetOutboundAddresses returns the OutboundAddresses field value

func (*IpList) GetOutboundAddressesOk ¶

func (o *IpList) GetOutboundAddressesOk() ([]string, bool)

GetOutboundAddressesOk returns a tuple with the OutboundAddresses field value and a boolean to check if the value has been set.

func (IpList) MarshalJSON ¶

func (o IpList) MarshalJSON() ([]byte, error)

func (*IpList) SetAddresses ¶

func (o *IpList) SetAddresses(v []string)

SetAddresses sets field value

func (*IpList) SetOutboundAddresses ¶

func (o *IpList) SetOutboundAddresses(v []string)

SetOutboundAddresses sets field value

type IterationInput ¶

type IterationInput struct {
	// The expected outcome of this experiment
	Hypothesis string `json:"hypothesis"`
	// Whether to allow the experiment to reassign traffic to different variations when you increase or decrease the traffic in your experiment audience (true) or keep all traffic assigned to its initial variation (false). Defaults to true.
	CanReshuffleTraffic *bool         `json:"canReshuffleTraffic,omitempty"`
	Metrics             []MetricInput `json:"metrics"`
	// The key of the primary metric for this experiment. Either <code>primarySingleMetricKey</code> or <code>primaryFunnelKey</code> must be present.
	PrimarySingleMetricKey *string `json:"primarySingleMetricKey,omitempty"`
	// The key of the primary funnel group for this experiment. Either <code>primarySingleMetricKey</code> or <code>primaryFunnelKey</code> must be present.
	PrimaryFunnelKey *string              `json:"primaryFunnelKey,omitempty"`
	Treatments       []TreatmentInput     `json:"treatments"`
	Flags            map[string]FlagInput `json:"flags"`
	// The unit of randomization for this iteration. Defaults to user.
	RandomizationUnit *string `json:"randomizationUnit,omitempty"`
}

IterationInput struct for IterationInput

func NewIterationInput ¶

func NewIterationInput(hypothesis string, metrics []MetricInput, treatments []TreatmentInput, flags map[string]FlagInput) *IterationInput

NewIterationInput instantiates a new IterationInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIterationInputWithDefaults ¶

func NewIterationInputWithDefaults() *IterationInput

NewIterationInputWithDefaults instantiates a new IterationInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IterationInput) GetCanReshuffleTraffic ¶

func (o *IterationInput) GetCanReshuffleTraffic() bool

GetCanReshuffleTraffic returns the CanReshuffleTraffic field value if set, zero value otherwise.

func (*IterationInput) GetCanReshuffleTrafficOk ¶

func (o *IterationInput) GetCanReshuffleTrafficOk() (*bool, bool)

GetCanReshuffleTrafficOk returns a tuple with the CanReshuffleTraffic field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationInput) GetFlags ¶

func (o *IterationInput) GetFlags() map[string]FlagInput

GetFlags returns the Flags field value

func (*IterationInput) GetFlagsOk ¶

func (o *IterationInput) GetFlagsOk() (*map[string]FlagInput, bool)

GetFlagsOk returns a tuple with the Flags field value and a boolean to check if the value has been set.

func (*IterationInput) GetHypothesis ¶

func (o *IterationInput) GetHypothesis() string

GetHypothesis returns the Hypothesis field value

func (*IterationInput) GetHypothesisOk ¶

func (o *IterationInput) GetHypothesisOk() (*string, bool)

GetHypothesisOk returns a tuple with the Hypothesis field value and a boolean to check if the value has been set.

func (*IterationInput) GetMetrics ¶

func (o *IterationInput) GetMetrics() []MetricInput

GetMetrics returns the Metrics field value

func (*IterationInput) GetMetricsOk ¶

func (o *IterationInput) GetMetricsOk() ([]MetricInput, bool)

GetMetricsOk returns a tuple with the Metrics field value and a boolean to check if the value has been set.

func (*IterationInput) GetPrimaryFunnelKey ¶

func (o *IterationInput) GetPrimaryFunnelKey() string

GetPrimaryFunnelKey returns the PrimaryFunnelKey field value if set, zero value otherwise.

func (*IterationInput) GetPrimaryFunnelKeyOk ¶

func (o *IterationInput) GetPrimaryFunnelKeyOk() (*string, bool)

GetPrimaryFunnelKeyOk returns a tuple with the PrimaryFunnelKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationInput) GetPrimarySingleMetricKey ¶

func (o *IterationInput) GetPrimarySingleMetricKey() string

GetPrimarySingleMetricKey returns the PrimarySingleMetricKey field value if set, zero value otherwise.

func (*IterationInput) GetPrimarySingleMetricKeyOk ¶

func (o *IterationInput) GetPrimarySingleMetricKeyOk() (*string, bool)

GetPrimarySingleMetricKeyOk returns a tuple with the PrimarySingleMetricKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationInput) GetRandomizationUnit ¶

func (o *IterationInput) GetRandomizationUnit() string

GetRandomizationUnit returns the RandomizationUnit field value if set, zero value otherwise.

func (*IterationInput) GetRandomizationUnitOk ¶

func (o *IterationInput) GetRandomizationUnitOk() (*string, bool)

GetRandomizationUnitOk returns a tuple with the RandomizationUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationInput) GetTreatments ¶

func (o *IterationInput) GetTreatments() []TreatmentInput

GetTreatments returns the Treatments field value

func (*IterationInput) GetTreatmentsOk ¶

func (o *IterationInput) GetTreatmentsOk() ([]TreatmentInput, bool)

GetTreatmentsOk returns a tuple with the Treatments field value and a boolean to check if the value has been set.

func (*IterationInput) HasCanReshuffleTraffic ¶

func (o *IterationInput) HasCanReshuffleTraffic() bool

HasCanReshuffleTraffic returns a boolean if a field has been set.

func (*IterationInput) HasPrimaryFunnelKey ¶

func (o *IterationInput) HasPrimaryFunnelKey() bool

HasPrimaryFunnelKey returns a boolean if a field has been set.

func (*IterationInput) HasPrimarySingleMetricKey ¶

func (o *IterationInput) HasPrimarySingleMetricKey() bool

HasPrimarySingleMetricKey returns a boolean if a field has been set.

func (*IterationInput) HasRandomizationUnit ¶

func (o *IterationInput) HasRandomizationUnit() bool

HasRandomizationUnit returns a boolean if a field has been set.

func (IterationInput) MarshalJSON ¶

func (o IterationInput) MarshalJSON() ([]byte, error)

func (*IterationInput) SetCanReshuffleTraffic ¶

func (o *IterationInput) SetCanReshuffleTraffic(v bool)

SetCanReshuffleTraffic gets a reference to the given bool and assigns it to the CanReshuffleTraffic field.

func (*IterationInput) SetFlags ¶

func (o *IterationInput) SetFlags(v map[string]FlagInput)

SetFlags sets field value

func (*IterationInput) SetHypothesis ¶

func (o *IterationInput) SetHypothesis(v string)

SetHypothesis sets field value

func (*IterationInput) SetMetrics ¶

func (o *IterationInput) SetMetrics(v []MetricInput)

SetMetrics sets field value

func (*IterationInput) SetPrimaryFunnelKey ¶

func (o *IterationInput) SetPrimaryFunnelKey(v string)

SetPrimaryFunnelKey gets a reference to the given string and assigns it to the PrimaryFunnelKey field.

func (*IterationInput) SetPrimarySingleMetricKey ¶

func (o *IterationInput) SetPrimarySingleMetricKey(v string)

SetPrimarySingleMetricKey gets a reference to the given string and assigns it to the PrimarySingleMetricKey field.

func (*IterationInput) SetRandomizationUnit ¶

func (o *IterationInput) SetRandomizationUnit(v string)

SetRandomizationUnit gets a reference to the given string and assigns it to the RandomizationUnit field.

func (*IterationInput) SetTreatments ¶

func (o *IterationInput) SetTreatments(v []TreatmentInput)

SetTreatments sets field value

type IterationRep ¶

type IterationRep struct {
	// The iteration ID
	Id *string `json:"_id,omitempty"`
	// The expected outcome of this experiment
	Hypothesis string `json:"hypothesis"`
	// The status of the iteration: <code>not_started</code>, <code>running</code>, <code>stopped</code>
	Status    string `json:"status"`
	CreatedAt int64  `json:"createdAt"`
	StartedAt *int64 `json:"startedAt,omitempty"`
	EndedAt   *int64 `json:"endedAt,omitempty"`
	// The ID of the treatment chosen when the experiment stopped
	WinningTreatmentId *string `json:"winningTreatmentId,omitempty"`
	// The reason you stopped the experiment
	WinningReason *string `json:"winningReason,omitempty"`
	// Whether the experiment may reassign traffic to different variations when the experiment audience changes (true) or must keep all traffic assigned to its initial variation (false).
	CanReshuffleTraffic *bool `json:"canReshuffleTraffic,omitempty"`
	// Details on the flag used in this experiment
	Flags               *map[string]FlagRep                 `json:"flags,omitempty"`
	PrimaryMetric       *DependentMetricOrMetricGroupRep    `json:"primaryMetric,omitempty"`
	PrimarySingleMetric *MetricV2Rep                        `json:"primarySingleMetric,omitempty"`
	PrimaryFunnel       *DependentMetricGroupRepWithMetrics `json:"primaryFunnel,omitempty"`
	// The unit of randomization for this iteration
	RandomizationUnit *string `json:"randomizationUnit,omitempty"`
	// Details on the variations you are testing in the experiment
	Treatments []TreatmentRep `json:"treatments,omitempty"`
	// Deprecated, use <code>metrics</code> instead. Details on the secondary metrics for this experiment.
	// Deprecated
	SecondaryMetrics []MetricV2Rep `json:"secondaryMetrics,omitempty"`
	// Details on the metrics for this experiment
	Metrics []DependentMetricOrMetricGroupRep `json:"metrics,omitempty"`
}

IterationRep struct for IterationRep

func NewIterationRep ¶

func NewIterationRep(hypothesis string, status string, createdAt int64) *IterationRep

NewIterationRep instantiates a new IterationRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIterationRepWithDefaults ¶

func NewIterationRepWithDefaults() *IterationRep

NewIterationRepWithDefaults instantiates a new IterationRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IterationRep) GetCanReshuffleTraffic ¶

func (o *IterationRep) GetCanReshuffleTraffic() bool

GetCanReshuffleTraffic returns the CanReshuffleTraffic field value if set, zero value otherwise.

func (*IterationRep) GetCanReshuffleTrafficOk ¶

func (o *IterationRep) GetCanReshuffleTrafficOk() (*bool, bool)

GetCanReshuffleTrafficOk returns a tuple with the CanReshuffleTraffic field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetCreatedAt ¶

func (o *IterationRep) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value

func (*IterationRep) GetCreatedAtOk ¶

func (o *IterationRep) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*IterationRep) GetEndedAt ¶

func (o *IterationRep) GetEndedAt() int64

GetEndedAt returns the EndedAt field value if set, zero value otherwise.

func (*IterationRep) GetEndedAtOk ¶

func (o *IterationRep) GetEndedAtOk() (*int64, bool)

GetEndedAtOk returns a tuple with the EndedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetFlags ¶

func (o *IterationRep) GetFlags() map[string]FlagRep

GetFlags returns the Flags field value if set, zero value otherwise.

func (*IterationRep) GetFlagsOk ¶

func (o *IterationRep) GetFlagsOk() (*map[string]FlagRep, bool)

GetFlagsOk returns a tuple with the Flags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetHypothesis ¶

func (o *IterationRep) GetHypothesis() string

GetHypothesis returns the Hypothesis field value

func (*IterationRep) GetHypothesisOk ¶

func (o *IterationRep) GetHypothesisOk() (*string, bool)

GetHypothesisOk returns a tuple with the Hypothesis field value and a boolean to check if the value has been set.

func (*IterationRep) GetId ¶

func (o *IterationRep) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IterationRep) GetIdOk ¶

func (o *IterationRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetMetrics ¶

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*IterationRep) GetMetricsOk ¶

func (o *IterationRep) GetMetricsOk() ([]DependentMetricOrMetricGroupRep, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetPrimaryFunnel ¶

func (o *IterationRep) GetPrimaryFunnel() DependentMetricGroupRepWithMetrics

GetPrimaryFunnel returns the PrimaryFunnel field value if set, zero value otherwise.

func (*IterationRep) GetPrimaryFunnelOk ¶

func (o *IterationRep) GetPrimaryFunnelOk() (*DependentMetricGroupRepWithMetrics, bool)

GetPrimaryFunnelOk returns a tuple with the PrimaryFunnel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetPrimaryMetric ¶

func (o *IterationRep) GetPrimaryMetric() DependentMetricOrMetricGroupRep

GetPrimaryMetric returns the PrimaryMetric field value if set, zero value otherwise.

func (*IterationRep) GetPrimaryMetricOk ¶

func (o *IterationRep) GetPrimaryMetricOk() (*DependentMetricOrMetricGroupRep, bool)

GetPrimaryMetricOk returns a tuple with the PrimaryMetric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetPrimarySingleMetric ¶

func (o *IterationRep) GetPrimarySingleMetric() MetricV2Rep

GetPrimarySingleMetric returns the PrimarySingleMetric field value if set, zero value otherwise.

func (*IterationRep) GetPrimarySingleMetricOk ¶

func (o *IterationRep) GetPrimarySingleMetricOk() (*MetricV2Rep, bool)

GetPrimarySingleMetricOk returns a tuple with the PrimarySingleMetric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetRandomizationUnit ¶

func (o *IterationRep) GetRandomizationUnit() string

GetRandomizationUnit returns the RandomizationUnit field value if set, zero value otherwise.

func (*IterationRep) GetRandomizationUnitOk ¶

func (o *IterationRep) GetRandomizationUnitOk() (*string, bool)

GetRandomizationUnitOk returns a tuple with the RandomizationUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetSecondaryMetrics ¶

func (o *IterationRep) GetSecondaryMetrics() []MetricV2Rep

GetSecondaryMetrics returns the SecondaryMetrics field value if set, zero value otherwise. Deprecated

func (*IterationRep) GetSecondaryMetricsOk ¶

func (o *IterationRep) GetSecondaryMetricsOk() ([]MetricV2Rep, bool)

GetSecondaryMetricsOk returns a tuple with the SecondaryMetrics field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*IterationRep) GetStartedAt ¶

func (o *IterationRep) GetStartedAt() int64

GetStartedAt returns the StartedAt field value if set, zero value otherwise.

func (*IterationRep) GetStartedAtOk ¶

func (o *IterationRep) GetStartedAtOk() (*int64, bool)

GetStartedAtOk returns a tuple with the StartedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetStatus ¶

func (o *IterationRep) GetStatus() string

GetStatus returns the Status field value

func (*IterationRep) GetStatusOk ¶

func (o *IterationRep) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*IterationRep) GetTreatments ¶

func (o *IterationRep) GetTreatments() []TreatmentRep

GetTreatments returns the Treatments field value if set, zero value otherwise.

func (*IterationRep) GetTreatmentsOk ¶

func (o *IterationRep) GetTreatmentsOk() ([]TreatmentRep, bool)

GetTreatmentsOk returns a tuple with the Treatments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetWinningReason ¶

func (o *IterationRep) GetWinningReason() string

GetWinningReason returns the WinningReason field value if set, zero value otherwise.

func (*IterationRep) GetWinningReasonOk ¶

func (o *IterationRep) GetWinningReasonOk() (*string, bool)

GetWinningReasonOk returns a tuple with the WinningReason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) GetWinningTreatmentId ¶

func (o *IterationRep) GetWinningTreatmentId() string

GetWinningTreatmentId returns the WinningTreatmentId field value if set, zero value otherwise.

func (*IterationRep) GetWinningTreatmentIdOk ¶

func (o *IterationRep) GetWinningTreatmentIdOk() (*string, bool)

GetWinningTreatmentIdOk returns a tuple with the WinningTreatmentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IterationRep) HasCanReshuffleTraffic ¶

func (o *IterationRep) HasCanReshuffleTraffic() bool

HasCanReshuffleTraffic returns a boolean if a field has been set.

func (*IterationRep) HasEndedAt ¶

func (o *IterationRep) HasEndedAt() bool

HasEndedAt returns a boolean if a field has been set.

func (*IterationRep) HasFlags ¶

func (o *IterationRep) HasFlags() bool

HasFlags returns a boolean if a field has been set.

func (*IterationRep) HasId ¶

func (o *IterationRep) HasId() bool

HasId returns a boolean if a field has been set.

func (*IterationRep) HasMetrics ¶

func (o *IterationRep) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*IterationRep) HasPrimaryFunnel ¶

func (o *IterationRep) HasPrimaryFunnel() bool

HasPrimaryFunnel returns a boolean if a field has been set.

func (*IterationRep) HasPrimaryMetric ¶

func (o *IterationRep) HasPrimaryMetric() bool

HasPrimaryMetric returns a boolean if a field has been set.

func (*IterationRep) HasPrimarySingleMetric ¶

func (o *IterationRep) HasPrimarySingleMetric() bool

HasPrimarySingleMetric returns a boolean if a field has been set.

func (*IterationRep) HasRandomizationUnit ¶

func (o *IterationRep) HasRandomizationUnit() bool

HasRandomizationUnit returns a boolean if a field has been set.

func (*IterationRep) HasSecondaryMetrics ¶

func (o *IterationRep) HasSecondaryMetrics() bool

HasSecondaryMetrics returns a boolean if a field has been set.

func (*IterationRep) HasStartedAt ¶

func (o *IterationRep) HasStartedAt() bool

HasStartedAt returns a boolean if a field has been set.

func (*IterationRep) HasTreatments ¶

func (o *IterationRep) HasTreatments() bool

HasTreatments returns a boolean if a field has been set.

func (*IterationRep) HasWinningReason ¶

func (o *IterationRep) HasWinningReason() bool

HasWinningReason returns a boolean if a field has been set.

func (*IterationRep) HasWinningTreatmentId ¶

func (o *IterationRep) HasWinningTreatmentId() bool

HasWinningTreatmentId returns a boolean if a field has been set.

func (IterationRep) MarshalJSON ¶

func (o IterationRep) MarshalJSON() ([]byte, error)

func (*IterationRep) SetCanReshuffleTraffic ¶

func (o *IterationRep) SetCanReshuffleTraffic(v bool)

SetCanReshuffleTraffic gets a reference to the given bool and assigns it to the CanReshuffleTraffic field.

func (*IterationRep) SetCreatedAt ¶

func (o *IterationRep) SetCreatedAt(v int64)

SetCreatedAt sets field value

func (*IterationRep) SetEndedAt ¶

func (o *IterationRep) SetEndedAt(v int64)

SetEndedAt gets a reference to the given int64 and assigns it to the EndedAt field.

func (*IterationRep) SetFlags ¶

func (o *IterationRep) SetFlags(v map[string]FlagRep)

SetFlags gets a reference to the given map[string]FlagRep and assigns it to the Flags field.

func (*IterationRep) SetHypothesis ¶

func (o *IterationRep) SetHypothesis(v string)

SetHypothesis sets field value

func (*IterationRep) SetId ¶

func (o *IterationRep) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IterationRep) SetMetrics ¶

func (o *IterationRep) SetMetrics(v []DependentMetricOrMetricGroupRep)

SetMetrics gets a reference to the given []DependentMetricOrMetricGroupRep and assigns it to the Metrics field.

func (*IterationRep) SetPrimaryFunnel ¶

func (o *IterationRep) SetPrimaryFunnel(v DependentMetricGroupRepWithMetrics)

SetPrimaryFunnel gets a reference to the given DependentMetricGroupRepWithMetrics and assigns it to the PrimaryFunnel field.

func (*IterationRep) SetPrimaryMetric ¶

func (o *IterationRep) SetPrimaryMetric(v DependentMetricOrMetricGroupRep)

SetPrimaryMetric gets a reference to the given DependentMetricOrMetricGroupRep and assigns it to the PrimaryMetric field.

func (*IterationRep) SetPrimarySingleMetric ¶

func (o *IterationRep) SetPrimarySingleMetric(v MetricV2Rep)

SetPrimarySingleMetric gets a reference to the given MetricV2Rep and assigns it to the PrimarySingleMetric field.

func (*IterationRep) SetRandomizationUnit ¶

func (o *IterationRep) SetRandomizationUnit(v string)

SetRandomizationUnit gets a reference to the given string and assigns it to the RandomizationUnit field.

func (*IterationRep) SetSecondaryMetrics ¶

func (o *IterationRep) SetSecondaryMetrics(v []MetricV2Rep)

SetSecondaryMetrics gets a reference to the given []MetricV2Rep and assigns it to the SecondaryMetrics field. Deprecated

func (*IterationRep) SetStartedAt ¶

func (o *IterationRep) SetStartedAt(v int64)

SetStartedAt gets a reference to the given int64 and assigns it to the StartedAt field.

func (*IterationRep) SetStatus ¶

func (o *IterationRep) SetStatus(v string)

SetStatus sets field value

func (*IterationRep) SetTreatments ¶

func (o *IterationRep) SetTreatments(v []TreatmentRep)

SetTreatments gets a reference to the given []TreatmentRep and assigns it to the Treatments field.

func (*IterationRep) SetWinningReason ¶

func (o *IterationRep) SetWinningReason(v string)

SetWinningReason gets a reference to the given string and assigns it to the WinningReason field.

func (*IterationRep) SetWinningTreatmentId ¶

func (o *IterationRep) SetWinningTreatmentId(v string)

SetWinningTreatmentId gets a reference to the given string and assigns it to the WinningTreatmentId field.

type LastSeenMetadata ¶

type LastSeenMetadata struct {
	// The ID of the token used in the member's last session
	TokenId *string `json:"tokenId,omitempty"`
}

LastSeenMetadata struct for LastSeenMetadata

func NewLastSeenMetadata ¶

func NewLastSeenMetadata() *LastSeenMetadata

NewLastSeenMetadata instantiates a new LastSeenMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLastSeenMetadataWithDefaults ¶

func NewLastSeenMetadataWithDefaults() *LastSeenMetadata

NewLastSeenMetadataWithDefaults instantiates a new LastSeenMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LastSeenMetadata) GetTokenId ¶

func (o *LastSeenMetadata) GetTokenId() string

GetTokenId returns the TokenId field value if set, zero value otherwise.

func (*LastSeenMetadata) GetTokenIdOk ¶

func (o *LastSeenMetadata) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LastSeenMetadata) HasTokenId ¶

func (o *LastSeenMetadata) HasTokenId() bool

HasTokenId returns a boolean if a field has been set.

func (LastSeenMetadata) MarshalJSON ¶

func (o LastSeenMetadata) MarshalJSON() ([]byte, error)

func (*LastSeenMetadata) SetTokenId ¶

func (o *LastSeenMetadata) SetTokenId(v string)

SetTokenId gets a reference to the given string and assigns it to the TokenId field.

type LeadTimeStagesRep ¶

type LeadTimeStagesRep struct {
	// The coding duration in milliseconds
	CodingDurationMs int64 `json:"codingDurationMs"`
	// The review duration in milliseconds
	ReviewDurationMs *int64 `json:"reviewDurationMs,omitempty"`
	// The wait duration between merge time and deploy start time in milliseconds
	WaitDurationMs *int64 `json:"waitDurationMs,omitempty"`
	// The deploy duration in milliseconds
	DeployDurationMs *int64 `json:"deployDurationMs,omitempty"`
	// The total lead time in milliseconds
	TotalLeadTimeMs *int64 `json:"totalLeadTimeMs,omitempty"`
}

LeadTimeStagesRep struct for LeadTimeStagesRep

func NewLeadTimeStagesRep ¶

func NewLeadTimeStagesRep(codingDurationMs int64) *LeadTimeStagesRep

NewLeadTimeStagesRep instantiates a new LeadTimeStagesRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLeadTimeStagesRepWithDefaults ¶

func NewLeadTimeStagesRepWithDefaults() *LeadTimeStagesRep

NewLeadTimeStagesRepWithDefaults instantiates a new LeadTimeStagesRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LeadTimeStagesRep) GetCodingDurationMs ¶

func (o *LeadTimeStagesRep) GetCodingDurationMs() int64

GetCodingDurationMs returns the CodingDurationMs field value

func (*LeadTimeStagesRep) GetCodingDurationMsOk ¶

func (o *LeadTimeStagesRep) GetCodingDurationMsOk() (*int64, bool)

GetCodingDurationMsOk returns a tuple with the CodingDurationMs field value and a boolean to check if the value has been set.

func (*LeadTimeStagesRep) GetDeployDurationMs ¶

func (o *LeadTimeStagesRep) GetDeployDurationMs() int64

GetDeployDurationMs returns the DeployDurationMs field value if set, zero value otherwise.

func (*LeadTimeStagesRep) GetDeployDurationMsOk ¶

func (o *LeadTimeStagesRep) GetDeployDurationMsOk() (*int64, bool)

GetDeployDurationMsOk returns a tuple with the DeployDurationMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LeadTimeStagesRep) GetReviewDurationMs ¶

func (o *LeadTimeStagesRep) GetReviewDurationMs() int64

GetReviewDurationMs returns the ReviewDurationMs field value if set, zero value otherwise.

func (*LeadTimeStagesRep) GetReviewDurationMsOk ¶

func (o *LeadTimeStagesRep) GetReviewDurationMsOk() (*int64, bool)

GetReviewDurationMsOk returns a tuple with the ReviewDurationMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LeadTimeStagesRep) GetTotalLeadTimeMs ¶

func (o *LeadTimeStagesRep) GetTotalLeadTimeMs() int64

GetTotalLeadTimeMs returns the TotalLeadTimeMs field value if set, zero value otherwise.

func (*LeadTimeStagesRep) GetTotalLeadTimeMsOk ¶

func (o *LeadTimeStagesRep) GetTotalLeadTimeMsOk() (*int64, bool)

GetTotalLeadTimeMsOk returns a tuple with the TotalLeadTimeMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LeadTimeStagesRep) GetWaitDurationMs ¶

func (o *LeadTimeStagesRep) GetWaitDurationMs() int64

GetWaitDurationMs returns the WaitDurationMs field value if set, zero value otherwise.

func (*LeadTimeStagesRep) GetWaitDurationMsOk ¶

func (o *LeadTimeStagesRep) GetWaitDurationMsOk() (*int64, bool)

GetWaitDurationMsOk returns a tuple with the WaitDurationMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LeadTimeStagesRep) HasDeployDurationMs ¶

func (o *LeadTimeStagesRep) HasDeployDurationMs() bool

HasDeployDurationMs returns a boolean if a field has been set.

func (*LeadTimeStagesRep) HasReviewDurationMs ¶

func (o *LeadTimeStagesRep) HasReviewDurationMs() bool

HasReviewDurationMs returns a boolean if a field has been set.

func (*LeadTimeStagesRep) HasTotalLeadTimeMs ¶

func (o *LeadTimeStagesRep) HasTotalLeadTimeMs() bool

HasTotalLeadTimeMs returns a boolean if a field has been set.

func (*LeadTimeStagesRep) HasWaitDurationMs ¶

func (o *LeadTimeStagesRep) HasWaitDurationMs() bool

HasWaitDurationMs returns a boolean if a field has been set.

func (LeadTimeStagesRep) MarshalJSON ¶

func (o LeadTimeStagesRep) MarshalJSON() ([]byte, error)

func (*LeadTimeStagesRep) SetCodingDurationMs ¶

func (o *LeadTimeStagesRep) SetCodingDurationMs(v int64)

SetCodingDurationMs sets field value

func (*LeadTimeStagesRep) SetDeployDurationMs ¶

func (o *LeadTimeStagesRep) SetDeployDurationMs(v int64)

SetDeployDurationMs gets a reference to the given int64 and assigns it to the DeployDurationMs field.

func (*LeadTimeStagesRep) SetReviewDurationMs ¶

func (o *LeadTimeStagesRep) SetReviewDurationMs(v int64)

SetReviewDurationMs gets a reference to the given int64 and assigns it to the ReviewDurationMs field.

func (*LeadTimeStagesRep) SetTotalLeadTimeMs ¶

func (o *LeadTimeStagesRep) SetTotalLeadTimeMs(v int64)

SetTotalLeadTimeMs gets a reference to the given int64 and assigns it to the TotalLeadTimeMs field.

func (*LeadTimeStagesRep) SetWaitDurationMs ¶

func (o *LeadTimeStagesRep) SetWaitDurationMs(v int64)

SetWaitDurationMs gets a reference to the given int64 and assigns it to the WaitDurationMs field.

type LegacyExperimentRep ¶

type LegacyExperimentRep struct {
	MetricKey           *string                                     `json:"metricKey,omitempty"`
	Metric              *MetricListingRep                           `json:"_metric,omitempty"`
	Environments        []string                                    `json:"environments,omitempty"`
	EnvironmentSettings *map[string]ExperimentEnvironmentSettingRep `json:"_environmentSettings,omitempty"`
}

LegacyExperimentRep struct for LegacyExperimentRep

func NewLegacyExperimentRep ¶

func NewLegacyExperimentRep() *LegacyExperimentRep

NewLegacyExperimentRep instantiates a new LegacyExperimentRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLegacyExperimentRepWithDefaults ¶

func NewLegacyExperimentRepWithDefaults() *LegacyExperimentRep

NewLegacyExperimentRepWithDefaults instantiates a new LegacyExperimentRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LegacyExperimentRep) GetEnvironmentSettings ¶

func (o *LegacyExperimentRep) GetEnvironmentSettings() map[string]ExperimentEnvironmentSettingRep

GetEnvironmentSettings returns the EnvironmentSettings field value if set, zero value otherwise.

func (*LegacyExperimentRep) GetEnvironmentSettingsOk ¶

func (o *LegacyExperimentRep) GetEnvironmentSettingsOk() (*map[string]ExperimentEnvironmentSettingRep, bool)

GetEnvironmentSettingsOk returns a tuple with the EnvironmentSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyExperimentRep) GetEnvironments ¶

func (o *LegacyExperimentRep) GetEnvironments() []string

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*LegacyExperimentRep) GetEnvironmentsOk ¶

func (o *LegacyExperimentRep) GetEnvironmentsOk() ([]string, bool)

GetEnvironmentsOk returns a tuple with the Environments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyExperimentRep) GetMetric ¶

func (o *LegacyExperimentRep) GetMetric() MetricListingRep

GetMetric returns the Metric field value if set, zero value otherwise.

func (*LegacyExperimentRep) GetMetricKey ¶

func (o *LegacyExperimentRep) GetMetricKey() string

GetMetricKey returns the MetricKey field value if set, zero value otherwise.

func (*LegacyExperimentRep) GetMetricKeyOk ¶

func (o *LegacyExperimentRep) GetMetricKeyOk() (*string, bool)

GetMetricKeyOk returns a tuple with the MetricKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyExperimentRep) GetMetricOk ¶

func (o *LegacyExperimentRep) GetMetricOk() (*MetricListingRep, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyExperimentRep) HasEnvironmentSettings ¶

func (o *LegacyExperimentRep) HasEnvironmentSettings() bool

HasEnvironmentSettings returns a boolean if a field has been set.

func (*LegacyExperimentRep) HasEnvironments ¶

func (o *LegacyExperimentRep) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*LegacyExperimentRep) HasMetric ¶

func (o *LegacyExperimentRep) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*LegacyExperimentRep) HasMetricKey ¶

func (o *LegacyExperimentRep) HasMetricKey() bool

HasMetricKey returns a boolean if a field has been set.

func (LegacyExperimentRep) MarshalJSON ¶

func (o LegacyExperimentRep) MarshalJSON() ([]byte, error)

func (*LegacyExperimentRep) SetEnvironmentSettings ¶

func (o *LegacyExperimentRep) SetEnvironmentSettings(v map[string]ExperimentEnvironmentSettingRep)

SetEnvironmentSettings gets a reference to the given map[string]ExperimentEnvironmentSettingRep and assigns it to the EnvironmentSettings field.

func (*LegacyExperimentRep) SetEnvironments ¶

func (o *LegacyExperimentRep) SetEnvironments(v []string)

SetEnvironments gets a reference to the given []string and assigns it to the Environments field.

func (*LegacyExperimentRep) SetMetric ¶

func (o *LegacyExperimentRep) SetMetric(v MetricListingRep)

SetMetric gets a reference to the given MetricListingRep and assigns it to the Metric field.

func (*LegacyExperimentRep) SetMetricKey ¶

func (o *LegacyExperimentRep) SetMetricKey(v string)

SetMetricKey gets a reference to the given string and assigns it to the MetricKey field.

type Link struct {
	Href *string `json:"href,omitempty"`
	Type *string `json:"type,omitempty"`
}

Link struct for Link

func NewLink() *Link

NewLink instantiates a new Link object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLinkWithDefaults ¶

func NewLinkWithDefaults() *Link

NewLinkWithDefaults instantiates a new Link object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Link) GetHref ¶

func (o *Link) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Link) GetHrefOk ¶

func (o *Link) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Link) GetType ¶

func (o *Link) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Link) GetTypeOk ¶

func (o *Link) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Link) HasHref ¶

func (o *Link) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Link) HasType ¶

func (o *Link) HasType() bool

HasType returns a boolean if a field has been set.

func (Link) MarshalJSON ¶

func (o Link) MarshalJSON() ([]byte, error)

func (*Link) SetHref ¶

func (o *Link) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Link) SetType ¶

func (o *Link) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type MaintainerRep ¶

type MaintainerRep struct {
	Member *MemberSummary        `json:"member,omitempty"`
	Team   *MemberTeamSummaryRep `json:"team,omitempty"`
}

MaintainerRep struct for MaintainerRep

func NewMaintainerRep ¶

func NewMaintainerRep() *MaintainerRep

NewMaintainerRep instantiates a new MaintainerRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMaintainerRepWithDefaults ¶

func NewMaintainerRepWithDefaults() *MaintainerRep

NewMaintainerRepWithDefaults instantiates a new MaintainerRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MaintainerRep) GetMember ¶

func (o *MaintainerRep) GetMember() MemberSummary

GetMember returns the Member field value if set, zero value otherwise.

func (*MaintainerRep) GetMemberOk ¶

func (o *MaintainerRep) GetMemberOk() (*MemberSummary, bool)

GetMemberOk returns a tuple with the Member field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MaintainerRep) GetTeam ¶

func (o *MaintainerRep) GetTeam() MemberTeamSummaryRep

GetTeam returns the Team field value if set, zero value otherwise.

func (*MaintainerRep) GetTeamOk ¶

func (o *MaintainerRep) GetTeamOk() (*MemberTeamSummaryRep, bool)

GetTeamOk returns a tuple with the Team field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MaintainerRep) HasMember ¶

func (o *MaintainerRep) HasMember() bool

HasMember returns a boolean if a field has been set.

func (*MaintainerRep) HasTeam ¶

func (o *MaintainerRep) HasTeam() bool

HasTeam returns a boolean if a field has been set.

func (MaintainerRep) MarshalJSON ¶

func (o MaintainerRep) MarshalJSON() ([]byte, error)

func (*MaintainerRep) SetMember ¶

func (o *MaintainerRep) SetMember(v MemberSummary)

SetMember gets a reference to the given MemberSummary and assigns it to the Member field.

func (*MaintainerRep) SetTeam ¶

func (o *MaintainerRep) SetTeam(v MemberTeamSummaryRep)

SetTeam gets a reference to the given MemberTeamSummaryRep and assigns it to the Team field.

type MaintainerTeam ¶

type MaintainerTeam struct {
	// The key of the maintainer team
	Key string `json:"key"`
	// A human-friendly name for the maintainer team
	Name string `json:"name"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

MaintainerTeam struct for MaintainerTeam

func NewMaintainerTeam ¶

func NewMaintainerTeam(key string, name string) *MaintainerTeam

NewMaintainerTeam instantiates a new MaintainerTeam object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMaintainerTeamWithDefaults ¶

func NewMaintainerTeamWithDefaults() *MaintainerTeam

NewMaintainerTeamWithDefaults instantiates a new MaintainerTeam object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MaintainerTeam) GetKey ¶

func (o *MaintainerTeam) GetKey() string

GetKey returns the Key field value

func (*MaintainerTeam) GetKeyOk ¶

func (o *MaintainerTeam) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *MaintainerTeam) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*MaintainerTeam) GetLinksOk ¶

func (o *MaintainerTeam) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MaintainerTeam) GetName ¶

func (o *MaintainerTeam) GetName() string

GetName returns the Name field value

func (*MaintainerTeam) GetNameOk ¶

func (o *MaintainerTeam) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *MaintainerTeam) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (MaintainerTeam) MarshalJSON ¶

func (o MaintainerTeam) MarshalJSON() ([]byte, error)

func (*MaintainerTeam) SetKey ¶

func (o *MaintainerTeam) SetKey(v string)

SetKey sets field value

func (o *MaintainerTeam) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*MaintainerTeam) SetName ¶

func (o *MaintainerTeam) SetName(v string)

SetName sets field value

type Member ¶

type Member struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The member's ID
	Id string `json:"_id"`
	// The member's first name
	FirstName *string `json:"firstName,omitempty"`
	// The member's last name
	LastName *string `json:"lastName,omitempty"`
	// The member's built-in role. If the member has no custom roles, this role will be in effect.
	Role string `json:"role"`
	// The member's email address
	Email string `json:"email"`
	// Whether the member has a pending invitation
	PendingInvite bool `json:"_pendingInvite"`
	// Whether the member's email address has been verified
	Verified bool `json:"_verified"`
	// The member's email address before it has been verified, for accounts where email verification is required
	PendingEmail *string `json:"_pendingEmail,omitempty"`
	// The set of custom roles (as keys) assigned to the member
	CustomRoles []string `json:"customRoles"`
	// Whether multi-factor authentication is enabled for this member
	Mfa string `json:"mfa"`
	// Default dashboards that the member has chosen to ignore
	ExcludedDashboards  []string             `json:"excludedDashboards,omitempty"`
	LastSeen            int64                `json:"_lastSeen"`
	LastSeenMetadata    *LastSeenMetadata    `json:"_lastSeenMetadata,omitempty"`
	IntegrationMetadata *IntegrationMetadata `json:"_integrationMetadata,omitempty"`
	// Details on the teams this member is assigned to
	Teams []MemberTeamSummaryRep `json:"teams,omitempty"`
	// A list of permission grants. Permission grants allow a member to have access to a specific action, without having to create or update a custom role.
	PermissionGrants []MemberPermissionGrantSummaryRep `json:"permissionGrants,omitempty"`
	CreationDate     int64                             `json:"creationDate"`
	// A list of OAuth providers
	OauthProviders []string `json:"oauthProviders,omitempty"`
}

Member struct for Member

func NewMember ¶

func NewMember(links map[string]Link, id string, role string, email string, pendingInvite bool, verified bool, customRoles []string, mfa string, lastSeen int64, creationDate int64) *Member

NewMember instantiates a new Member object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMemberWithDefaults ¶

func NewMemberWithDefaults() *Member

NewMemberWithDefaults instantiates a new Member object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Member) GetCreationDate ¶

func (o *Member) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*Member) GetCreationDateOk ¶

func (o *Member) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*Member) GetCustomRoles ¶

func (o *Member) GetCustomRoles() []string

GetCustomRoles returns the CustomRoles field value

func (*Member) GetCustomRolesOk ¶

func (o *Member) GetCustomRolesOk() ([]string, bool)

GetCustomRolesOk returns a tuple with the CustomRoles field value and a boolean to check if the value has been set.

func (*Member) GetEmail ¶

func (o *Member) GetEmail() string

GetEmail returns the Email field value

func (*Member) GetEmailOk ¶

func (o *Member) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*Member) GetExcludedDashboards ¶

func (o *Member) GetExcludedDashboards() []string

GetExcludedDashboards returns the ExcludedDashboards field value if set, zero value otherwise.

func (*Member) GetExcludedDashboardsOk ¶

func (o *Member) GetExcludedDashboardsOk() ([]string, bool)

GetExcludedDashboardsOk returns a tuple with the ExcludedDashboards field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Member) GetFirstName ¶

func (o *Member) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*Member) GetFirstNameOk ¶

func (o *Member) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Member) GetId ¶

func (o *Member) GetId() string

GetId returns the Id field value

func (*Member) GetIdOk ¶

func (o *Member) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Member) GetIntegrationMetadata ¶

func (o *Member) GetIntegrationMetadata() IntegrationMetadata

GetIntegrationMetadata returns the IntegrationMetadata field value if set, zero value otherwise.

func (*Member) GetIntegrationMetadataOk ¶

func (o *Member) GetIntegrationMetadataOk() (*IntegrationMetadata, bool)

GetIntegrationMetadataOk returns a tuple with the IntegrationMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Member) GetLastName ¶

func (o *Member) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*Member) GetLastNameOk ¶

func (o *Member) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Member) GetLastSeen ¶

func (o *Member) GetLastSeen() int64

GetLastSeen returns the LastSeen field value

func (*Member) GetLastSeenMetadata ¶

func (o *Member) GetLastSeenMetadata() LastSeenMetadata

GetLastSeenMetadata returns the LastSeenMetadata field value if set, zero value otherwise.

func (*Member) GetLastSeenMetadataOk ¶

func (o *Member) GetLastSeenMetadataOk() (*LastSeenMetadata, bool)

GetLastSeenMetadataOk returns a tuple with the LastSeenMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Member) GetLastSeenOk ¶

func (o *Member) GetLastSeenOk() (*int64, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (o *Member) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Member) GetLinksOk ¶

func (o *Member) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Member) GetMfa ¶

func (o *Member) GetMfa() string

GetMfa returns the Mfa field value

func (*Member) GetMfaOk ¶

func (o *Member) GetMfaOk() (*string, bool)

GetMfaOk returns a tuple with the Mfa field value and a boolean to check if the value has been set.

func (*Member) GetOauthProviders ¶

func (o *Member) GetOauthProviders() []string

GetOauthProviders returns the OauthProviders field value if set, zero value otherwise.

func (*Member) GetOauthProvidersOk ¶

func (o *Member) GetOauthProvidersOk() ([]string, bool)

GetOauthProvidersOk returns a tuple with the OauthProviders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Member) GetPendingEmail ¶

func (o *Member) GetPendingEmail() string

GetPendingEmail returns the PendingEmail field value if set, zero value otherwise.

func (*Member) GetPendingEmailOk ¶

func (o *Member) GetPendingEmailOk() (*string, bool)

GetPendingEmailOk returns a tuple with the PendingEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Member) GetPendingInvite ¶

func (o *Member) GetPendingInvite() bool

GetPendingInvite returns the PendingInvite field value

func (*Member) GetPendingInviteOk ¶

func (o *Member) GetPendingInviteOk() (*bool, bool)

GetPendingInviteOk returns a tuple with the PendingInvite field value and a boolean to check if the value has been set.

func (*Member) GetPermissionGrants ¶

func (o *Member) GetPermissionGrants() []MemberPermissionGrantSummaryRep

GetPermissionGrants returns the PermissionGrants field value if set, zero value otherwise.

func (*Member) GetPermissionGrantsOk ¶

func (o *Member) GetPermissionGrantsOk() ([]MemberPermissionGrantSummaryRep, bool)

GetPermissionGrantsOk returns a tuple with the PermissionGrants field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Member) GetRole ¶

func (o *Member) GetRole() string

GetRole returns the Role field value

func (*Member) GetRoleOk ¶

func (o *Member) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*Member) GetTeams ¶

func (o *Member) GetTeams() []MemberTeamSummaryRep

GetTeams returns the Teams field value if set, zero value otherwise.

func (*Member) GetTeamsOk ¶

func (o *Member) GetTeamsOk() ([]MemberTeamSummaryRep, bool)

GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Member) GetVerified ¶

func (o *Member) GetVerified() bool

GetVerified returns the Verified field value

func (*Member) GetVerifiedOk ¶

func (o *Member) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value and a boolean to check if the value has been set.

func (*Member) HasExcludedDashboards ¶

func (o *Member) HasExcludedDashboards() bool

HasExcludedDashboards returns a boolean if a field has been set.

func (*Member) HasFirstName ¶

func (o *Member) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*Member) HasIntegrationMetadata ¶

func (o *Member) HasIntegrationMetadata() bool

HasIntegrationMetadata returns a boolean if a field has been set.

func (*Member) HasLastName ¶

func (o *Member) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*Member) HasLastSeenMetadata ¶

func (o *Member) HasLastSeenMetadata() bool

HasLastSeenMetadata returns a boolean if a field has been set.

func (*Member) HasOauthProviders ¶

func (o *Member) HasOauthProviders() bool

HasOauthProviders returns a boolean if a field has been set.

func (*Member) HasPendingEmail ¶

func (o *Member) HasPendingEmail() bool

HasPendingEmail returns a boolean if a field has been set.

func (*Member) HasPermissionGrants ¶

func (o *Member) HasPermissionGrants() bool

HasPermissionGrants returns a boolean if a field has been set.

func (*Member) HasTeams ¶

func (o *Member) HasTeams() bool

HasTeams returns a boolean if a field has been set.

func (Member) MarshalJSON ¶

func (o Member) MarshalJSON() ([]byte, error)

func (*Member) SetCreationDate ¶

func (o *Member) SetCreationDate(v int64)

SetCreationDate sets field value

func (*Member) SetCustomRoles ¶

func (o *Member) SetCustomRoles(v []string)

SetCustomRoles sets field value

func (*Member) SetEmail ¶

func (o *Member) SetEmail(v string)

SetEmail sets field value

func (*Member) SetExcludedDashboards ¶

func (o *Member) SetExcludedDashboards(v []string)

SetExcludedDashboards gets a reference to the given []string and assigns it to the ExcludedDashboards field.

func (*Member) SetFirstName ¶

func (o *Member) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*Member) SetId ¶

func (o *Member) SetId(v string)

SetId sets field value

func (*Member) SetIntegrationMetadata ¶

func (o *Member) SetIntegrationMetadata(v IntegrationMetadata)

SetIntegrationMetadata gets a reference to the given IntegrationMetadata and assigns it to the IntegrationMetadata field.

func (*Member) SetLastName ¶

func (o *Member) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*Member) SetLastSeen ¶

func (o *Member) SetLastSeen(v int64)

SetLastSeen sets field value

func (*Member) SetLastSeenMetadata ¶

func (o *Member) SetLastSeenMetadata(v LastSeenMetadata)

SetLastSeenMetadata gets a reference to the given LastSeenMetadata and assigns it to the LastSeenMetadata field.

func (o *Member) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Member) SetMfa ¶

func (o *Member) SetMfa(v string)

SetMfa sets field value

func (*Member) SetOauthProviders ¶

func (o *Member) SetOauthProviders(v []string)

SetOauthProviders gets a reference to the given []string and assigns it to the OauthProviders field.

func (*Member) SetPendingEmail ¶

func (o *Member) SetPendingEmail(v string)

SetPendingEmail gets a reference to the given string and assigns it to the PendingEmail field.

func (*Member) SetPendingInvite ¶

func (o *Member) SetPendingInvite(v bool)

SetPendingInvite sets field value

func (*Member) SetPermissionGrants ¶

func (o *Member) SetPermissionGrants(v []MemberPermissionGrantSummaryRep)

SetPermissionGrants gets a reference to the given []MemberPermissionGrantSummaryRep and assigns it to the PermissionGrants field.

func (*Member) SetRole ¶

func (o *Member) SetRole(v string)

SetRole sets field value

func (*Member) SetTeams ¶

func (o *Member) SetTeams(v []MemberTeamSummaryRep)

SetTeams gets a reference to the given []MemberTeamSummaryRep and assigns it to the Teams field.

func (*Member) SetVerified ¶

func (o *Member) SetVerified(v bool)

SetVerified sets field value

type MemberDataRep ¶

type MemberDataRep struct {
	Links *map[string]Link `json:"_links,omitempty"`
	// The member ID
	Id *string `json:"_id,omitempty"`
	// The member email
	Email *string `json:"email,omitempty"`
	// The member first name
	FirstName *string `json:"firstName,omitempty"`
	// The member last name
	LastName *string `json:"lastName,omitempty"`
}

MemberDataRep struct for MemberDataRep

func NewMemberDataRep ¶

func NewMemberDataRep() *MemberDataRep

NewMemberDataRep instantiates a new MemberDataRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMemberDataRepWithDefaults ¶

func NewMemberDataRepWithDefaults() *MemberDataRep

NewMemberDataRepWithDefaults instantiates a new MemberDataRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MemberDataRep) GetEmail ¶

func (o *MemberDataRep) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*MemberDataRep) GetEmailOk ¶

func (o *MemberDataRep) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MemberDataRep) GetFirstName ¶

func (o *MemberDataRep) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*MemberDataRep) GetFirstNameOk ¶

func (o *MemberDataRep) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MemberDataRep) GetId ¶

func (o *MemberDataRep) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MemberDataRep) GetIdOk ¶

func (o *MemberDataRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MemberDataRep) GetLastName ¶

func (o *MemberDataRep) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*MemberDataRep) GetLastNameOk ¶

func (o *MemberDataRep) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *MemberDataRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*MemberDataRep) GetLinksOk ¶

func (o *MemberDataRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MemberDataRep) HasEmail ¶

func (o *MemberDataRep) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*MemberDataRep) HasFirstName ¶

func (o *MemberDataRep) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*MemberDataRep) HasId ¶

func (o *MemberDataRep) HasId() bool

HasId returns a boolean if a field has been set.

func (*MemberDataRep) HasLastName ¶

func (o *MemberDataRep) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (o *MemberDataRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (MemberDataRep) MarshalJSON ¶

func (o MemberDataRep) MarshalJSON() ([]byte, error)

func (*MemberDataRep) SetEmail ¶

func (o *MemberDataRep) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*MemberDataRep) SetFirstName ¶

func (o *MemberDataRep) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*MemberDataRep) SetId ¶

func (o *MemberDataRep) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MemberDataRep) SetLastName ¶

func (o *MemberDataRep) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (o *MemberDataRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type MemberImportItem ¶

type MemberImportItem struct {
	// An error message, including CSV line number, if the <code>status</code> is <code>error</code>
	Message *string `json:"message,omitempty"`
	// Whether this member can be successfully imported (<code>success</code>) or not (<code>error</code>). Even if the status is <code>success</code>, members are only added to a team on a <code>201</code> response.
	Status string `json:"status"`
	// The email address for the member requested to be added to this team. May be blank or an error, such as 'invalid email format', if the email address cannot be found or parsed.
	Value string `json:"value"`
}

MemberImportItem struct for MemberImportItem

func NewMemberImportItem ¶

func NewMemberImportItem(status string, value string) *MemberImportItem

NewMemberImportItem instantiates a new MemberImportItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMemberImportItemWithDefaults ¶

func NewMemberImportItemWithDefaults() *MemberImportItem

NewMemberImportItemWithDefaults instantiates a new MemberImportItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MemberImportItem) GetMessage ¶

func (o *MemberImportItem) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*MemberImportItem) GetMessageOk ¶

func (o *MemberImportItem) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MemberImportItem) GetStatus ¶

func (o *MemberImportItem) GetStatus() string

GetStatus returns the Status field value

func (*MemberImportItem) GetStatusOk ¶

func (o *MemberImportItem) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*MemberImportItem) GetValue ¶

func (o *MemberImportItem) GetValue() string

GetValue returns the Value field value

func (*MemberImportItem) GetValueOk ¶

func (o *MemberImportItem) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*MemberImportItem) HasMessage ¶

func (o *MemberImportItem) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (MemberImportItem) MarshalJSON ¶

func (o MemberImportItem) MarshalJSON() ([]byte, error)

func (*MemberImportItem) SetMessage ¶

func (o *MemberImportItem) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*MemberImportItem) SetStatus ¶

func (o *MemberImportItem) SetStatus(v string)

SetStatus sets field value

func (*MemberImportItem) SetValue ¶

func (o *MemberImportItem) SetValue(v string)

SetValue sets field value

type MemberPermissionGrantSummaryRep ¶

type MemberPermissionGrantSummaryRep struct {
	// The name of the group of related actions to allow. A permission grant may have either an <code>actionSet</code> or a list of <code>actions</code> but not both at the same time.
	ActionSet *string `json:"actionSet,omitempty"`
	// A list of actions to allow. A permission grant may have either an <code>actionSet</code> or a list of <code>actions</code> but not both at the same time.
	Actions []string `json:"actions,omitempty"`
	// The resource for which the actions are allowed
	Resource string `json:"resource"`
}

MemberPermissionGrantSummaryRep struct for MemberPermissionGrantSummaryRep

func NewMemberPermissionGrantSummaryRep ¶

func NewMemberPermissionGrantSummaryRep(resource string) *MemberPermissionGrantSummaryRep

NewMemberPermissionGrantSummaryRep instantiates a new MemberPermissionGrantSummaryRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMemberPermissionGrantSummaryRepWithDefaults ¶

func NewMemberPermissionGrantSummaryRepWithDefaults() *MemberPermissionGrantSummaryRep

NewMemberPermissionGrantSummaryRepWithDefaults instantiates a new MemberPermissionGrantSummaryRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MemberPermissionGrantSummaryRep) GetActionSet ¶

func (o *MemberPermissionGrantSummaryRep) GetActionSet() string

GetActionSet returns the ActionSet field value if set, zero value otherwise.

func (*MemberPermissionGrantSummaryRep) GetActionSetOk ¶

func (o *MemberPermissionGrantSummaryRep) GetActionSetOk() (*string, bool)

GetActionSetOk returns a tuple with the ActionSet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MemberPermissionGrantSummaryRep) GetActions ¶

func (o *MemberPermissionGrantSummaryRep) GetActions() []string

GetActions returns the Actions field value if set, zero value otherwise.

func (*MemberPermissionGrantSummaryRep) GetActionsOk ¶

func (o *MemberPermissionGrantSummaryRep) GetActionsOk() ([]string, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MemberPermissionGrantSummaryRep) GetResource ¶

func (o *MemberPermissionGrantSummaryRep) GetResource() string

GetResource returns the Resource field value

func (*MemberPermissionGrantSummaryRep) GetResourceOk ¶

func (o *MemberPermissionGrantSummaryRep) GetResourceOk() (*string, bool)

GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set.

func (*MemberPermissionGrantSummaryRep) HasActionSet ¶

func (o *MemberPermissionGrantSummaryRep) HasActionSet() bool

HasActionSet returns a boolean if a field has been set.

func (*MemberPermissionGrantSummaryRep) HasActions ¶

func (o *MemberPermissionGrantSummaryRep) HasActions() bool

HasActions returns a boolean if a field has been set.

func (MemberPermissionGrantSummaryRep) MarshalJSON ¶

func (o MemberPermissionGrantSummaryRep) MarshalJSON() ([]byte, error)

func (*MemberPermissionGrantSummaryRep) SetActionSet ¶

func (o *MemberPermissionGrantSummaryRep) SetActionSet(v string)

SetActionSet gets a reference to the given string and assigns it to the ActionSet field.

func (*MemberPermissionGrantSummaryRep) SetActions ¶

func (o *MemberPermissionGrantSummaryRep) SetActions(v []string)

SetActions gets a reference to the given []string and assigns it to the Actions field.

func (*MemberPermissionGrantSummaryRep) SetResource ¶

func (o *MemberPermissionGrantSummaryRep) SetResource(v string)

SetResource sets field value

type MemberSummary ¶

type MemberSummary struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The member's ID
	Id string `json:"_id"`
	// The member's first name
	FirstName *string `json:"firstName,omitempty"`
	// The member's last name
	LastName *string `json:"lastName,omitempty"`
	// The member's built-in role. If the member has no custom roles, this role will be in effect.
	Role string `json:"role"`
	// The member's email address
	Email string `json:"email"`
}

MemberSummary struct for MemberSummary

func NewMemberSummary ¶

func NewMemberSummary(links map[string]Link, id string, role string, email string) *MemberSummary

NewMemberSummary instantiates a new MemberSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMemberSummaryWithDefaults ¶

func NewMemberSummaryWithDefaults() *MemberSummary

NewMemberSummaryWithDefaults instantiates a new MemberSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MemberSummary) GetEmail ¶

func (o *MemberSummary) GetEmail() string

GetEmail returns the Email field value

func (*MemberSummary) GetEmailOk ¶

func (o *MemberSummary) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*MemberSummary) GetFirstName ¶

func (o *MemberSummary) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*MemberSummary) GetFirstNameOk ¶

func (o *MemberSummary) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MemberSummary) GetId ¶

func (o *MemberSummary) GetId() string

GetId returns the Id field value

func (*MemberSummary) GetIdOk ¶

func (o *MemberSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MemberSummary) GetLastName ¶

func (o *MemberSummary) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*MemberSummary) GetLastNameOk ¶

func (o *MemberSummary) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *MemberSummary) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*MemberSummary) GetLinksOk ¶

func (o *MemberSummary) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*MemberSummary) GetRole ¶

func (o *MemberSummary) GetRole() string

GetRole returns the Role field value

func (*MemberSummary) GetRoleOk ¶

func (o *MemberSummary) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*MemberSummary) HasFirstName ¶

func (o *MemberSummary) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*MemberSummary) HasLastName ¶

func (o *MemberSummary) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (MemberSummary) MarshalJSON ¶

func (o MemberSummary) MarshalJSON() ([]byte, error)

func (*MemberSummary) SetEmail ¶

func (o *MemberSummary) SetEmail(v string)

SetEmail sets field value

func (*MemberSummary) SetFirstName ¶

func (o *MemberSummary) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*MemberSummary) SetId ¶

func (o *MemberSummary) SetId(v string)

SetId sets field value

func (*MemberSummary) SetLastName ¶

func (o *MemberSummary) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (o *MemberSummary) SetLinks(v map[string]Link)

SetLinks sets field value

func (*MemberSummary) SetRole ¶

func (o *MemberSummary) SetRole(v string)

SetRole sets field value

type MemberTeamSummaryRep ¶

type MemberTeamSummaryRep struct {
	// A list of keys of the custom roles this team has access to
	CustomRoleKeys []string `json:"customRoleKeys"`
	// The team key
	Key   string           `json:"key"`
	Links *map[string]Link `json:"_links,omitempty"`
	// The team name
	Name string `json:"name"`
}

MemberTeamSummaryRep struct for MemberTeamSummaryRep

func NewMemberTeamSummaryRep ¶

func NewMemberTeamSummaryRep(customRoleKeys []string, key string, name string) *MemberTeamSummaryRep

NewMemberTeamSummaryRep instantiates a new MemberTeamSummaryRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMemberTeamSummaryRepWithDefaults ¶

func NewMemberTeamSummaryRepWithDefaults() *MemberTeamSummaryRep

NewMemberTeamSummaryRepWithDefaults instantiates a new MemberTeamSummaryRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MemberTeamSummaryRep) GetCustomRoleKeys ¶

func (o *MemberTeamSummaryRep) GetCustomRoleKeys() []string

GetCustomRoleKeys returns the CustomRoleKeys field value

func (*MemberTeamSummaryRep) GetCustomRoleKeysOk ¶

func (o *MemberTeamSummaryRep) GetCustomRoleKeysOk() ([]string, bool)

GetCustomRoleKeysOk returns a tuple with the CustomRoleKeys field value and a boolean to check if the value has been set.

func (*MemberTeamSummaryRep) GetKey ¶

func (o *MemberTeamSummaryRep) GetKey() string

GetKey returns the Key field value

func (*MemberTeamSummaryRep) GetKeyOk ¶

func (o *MemberTeamSummaryRep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *MemberTeamSummaryRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*MemberTeamSummaryRep) GetLinksOk ¶

func (o *MemberTeamSummaryRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MemberTeamSummaryRep) GetName ¶

func (o *MemberTeamSummaryRep) GetName() string

GetName returns the Name field value

func (*MemberTeamSummaryRep) GetNameOk ¶

func (o *MemberTeamSummaryRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *MemberTeamSummaryRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (MemberTeamSummaryRep) MarshalJSON ¶

func (o MemberTeamSummaryRep) MarshalJSON() ([]byte, error)

func (*MemberTeamSummaryRep) SetCustomRoleKeys ¶

func (o *MemberTeamSummaryRep) SetCustomRoleKeys(v []string)

SetCustomRoleKeys sets field value

func (*MemberTeamSummaryRep) SetKey ¶

func (o *MemberTeamSummaryRep) SetKey(v string)

SetKey sets field value

func (o *MemberTeamSummaryRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*MemberTeamSummaryRep) SetName ¶

func (o *MemberTeamSummaryRep) SetName(v string)

SetName sets field value

type MemberTeamsPostInput ¶

type MemberTeamsPostInput struct {
	// List of team keys
	TeamKeys []string `json:"teamKeys"`
}

MemberTeamsPostInput struct for MemberTeamsPostInput

func NewMemberTeamsPostInput ¶

func NewMemberTeamsPostInput(teamKeys []string) *MemberTeamsPostInput

NewMemberTeamsPostInput instantiates a new MemberTeamsPostInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMemberTeamsPostInputWithDefaults ¶

func NewMemberTeamsPostInputWithDefaults() *MemberTeamsPostInput

NewMemberTeamsPostInputWithDefaults instantiates a new MemberTeamsPostInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MemberTeamsPostInput) GetTeamKeys ¶

func (o *MemberTeamsPostInput) GetTeamKeys() []string

GetTeamKeys returns the TeamKeys field value

func (*MemberTeamsPostInput) GetTeamKeysOk ¶

func (o *MemberTeamsPostInput) GetTeamKeysOk() ([]string, bool)

GetTeamKeysOk returns a tuple with the TeamKeys field value and a boolean to check if the value has been set.

func (MemberTeamsPostInput) MarshalJSON ¶

func (o MemberTeamsPostInput) MarshalJSON() ([]byte, error)

func (*MemberTeamsPostInput) SetTeamKeys ¶

func (o *MemberTeamsPostInput) SetTeamKeys(v []string)

SetTeamKeys sets field value

type Members ¶

type Members struct {
	// An array of members
	Items []Member `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The number of members returned
	TotalCount *int32 `json:"totalCount,omitempty"`
}

Members struct for Members

func NewMembers ¶

func NewMembers(items []Member, links map[string]Link) *Members

NewMembers instantiates a new Members object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMembersWithDefaults ¶

func NewMembersWithDefaults() *Members

NewMembersWithDefaults instantiates a new Members object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Members) GetItems ¶

func (o *Members) GetItems() []Member

GetItems returns the Items field value

func (*Members) GetItemsOk ¶

func (o *Members) GetItemsOk() ([]Member, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *Members) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Members) GetLinksOk ¶

func (o *Members) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Members) GetTotalCount ¶

func (o *Members) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*Members) GetTotalCountOk ¶

func (o *Members) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Members) HasTotalCount ¶

func (o *Members) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (Members) MarshalJSON ¶

func (o Members) MarshalJSON() ([]byte, error)

func (*Members) SetItems ¶

func (o *Members) SetItems(v []Member)

SetItems sets field value

func (o *Members) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Members) SetTotalCount ¶

func (o *Members) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type MembersPatchInput ¶

type MembersPatchInput struct {
	// Optional comment describing the update
	Comment      *string                  `json:"comment,omitempty"`
	Instructions []map[string]interface{} `json:"instructions"`
}

MembersPatchInput struct for MembersPatchInput

func NewMembersPatchInput ¶

func NewMembersPatchInput(instructions []map[string]interface{}) *MembersPatchInput

NewMembersPatchInput instantiates a new MembersPatchInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMembersPatchInputWithDefaults ¶

func NewMembersPatchInputWithDefaults() *MembersPatchInput

NewMembersPatchInputWithDefaults instantiates a new MembersPatchInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MembersPatchInput) GetComment ¶

func (o *MembersPatchInput) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*MembersPatchInput) GetCommentOk ¶

func (o *MembersPatchInput) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MembersPatchInput) GetInstructions ¶

func (o *MembersPatchInput) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*MembersPatchInput) GetInstructionsOk ¶

func (o *MembersPatchInput) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*MembersPatchInput) HasComment ¶

func (o *MembersPatchInput) HasComment() bool

HasComment returns a boolean if a field has been set.

func (MembersPatchInput) MarshalJSON ¶

func (o MembersPatchInput) MarshalJSON() ([]byte, error)

func (*MembersPatchInput) SetComment ¶

func (o *MembersPatchInput) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*MembersPatchInput) SetInstructions ¶

func (o *MembersPatchInput) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

type MethodNotAllowedErrorRep ¶

type MethodNotAllowedErrorRep struct {
	// Specific error code encountered
	Code string `json:"code"`
	// Description of the error
	Message string `json:"message"`
}

MethodNotAllowedErrorRep struct for MethodNotAllowedErrorRep

func NewMethodNotAllowedErrorRep ¶

func NewMethodNotAllowedErrorRep(code string, message string) *MethodNotAllowedErrorRep

NewMethodNotAllowedErrorRep instantiates a new MethodNotAllowedErrorRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMethodNotAllowedErrorRepWithDefaults ¶

func NewMethodNotAllowedErrorRepWithDefaults() *MethodNotAllowedErrorRep

NewMethodNotAllowedErrorRepWithDefaults instantiates a new MethodNotAllowedErrorRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MethodNotAllowedErrorRep) GetCode ¶

func (o *MethodNotAllowedErrorRep) GetCode() string

GetCode returns the Code field value

func (*MethodNotAllowedErrorRep) GetCodeOk ¶

func (o *MethodNotAllowedErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*MethodNotAllowedErrorRep) GetMessage ¶

func (o *MethodNotAllowedErrorRep) GetMessage() string

GetMessage returns the Message field value

func (*MethodNotAllowedErrorRep) GetMessageOk ¶

func (o *MethodNotAllowedErrorRep) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (MethodNotAllowedErrorRep) MarshalJSON ¶

func (o MethodNotAllowedErrorRep) MarshalJSON() ([]byte, error)

func (*MethodNotAllowedErrorRep) SetCode ¶

func (o *MethodNotAllowedErrorRep) SetCode(v string)

SetCode sets field value

func (*MethodNotAllowedErrorRep) SetMessage ¶

func (o *MethodNotAllowedErrorRep) SetMessage(v string)

SetMessage sets field value

type MetricCollectionRep ¶

type MetricCollectionRep struct {
	// An array of metrics
	Items []MetricListingRep `json:"items,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

MetricCollectionRep struct for MetricCollectionRep

func NewMetricCollectionRep ¶

func NewMetricCollectionRep() *MetricCollectionRep

NewMetricCollectionRep instantiates a new MetricCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricCollectionRepWithDefaults ¶

func NewMetricCollectionRepWithDefaults() *MetricCollectionRep

NewMetricCollectionRepWithDefaults instantiates a new MetricCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricCollectionRep) GetItems ¶

func (o *MetricCollectionRep) GetItems() []MetricListingRep

GetItems returns the Items field value if set, zero value otherwise.

func (*MetricCollectionRep) GetItemsOk ¶

func (o *MetricCollectionRep) GetItemsOk() ([]MetricListingRep, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *MetricCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*MetricCollectionRep) GetLinksOk ¶

func (o *MetricCollectionRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricCollectionRep) HasItems ¶

func (o *MetricCollectionRep) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *MetricCollectionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (MetricCollectionRep) MarshalJSON ¶

func (o MetricCollectionRep) MarshalJSON() ([]byte, error)

func (*MetricCollectionRep) SetItems ¶

func (o *MetricCollectionRep) SetItems(v []MetricListingRep)

SetItems gets a reference to the given []MetricListingRep and assigns it to the Items field.

func (o *MetricCollectionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type MetricEventDefaultRep ¶

type MetricEventDefaultRep struct {
	// Whether to disable defaulting missing unit events when calculating results. Defaults to false
	Disabled *bool `json:"disabled,omitempty"`
	// The default value applied to missing unit events. Only available when <code>disabled</code> is false. Defaults to 0
	Value *float32 `json:"value,omitempty"`
}

MetricEventDefaultRep struct for MetricEventDefaultRep

func NewMetricEventDefaultRep ¶

func NewMetricEventDefaultRep() *MetricEventDefaultRep

NewMetricEventDefaultRep instantiates a new MetricEventDefaultRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricEventDefaultRepWithDefaults ¶

func NewMetricEventDefaultRepWithDefaults() *MetricEventDefaultRep

NewMetricEventDefaultRepWithDefaults instantiates a new MetricEventDefaultRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricEventDefaultRep) GetDisabled ¶

func (o *MetricEventDefaultRep) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*MetricEventDefaultRep) GetDisabledOk ¶

func (o *MetricEventDefaultRep) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricEventDefaultRep) GetValue ¶

func (o *MetricEventDefaultRep) GetValue() float32

GetValue returns the Value field value if set, zero value otherwise.

func (*MetricEventDefaultRep) GetValueOk ¶

func (o *MetricEventDefaultRep) GetValueOk() (*float32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricEventDefaultRep) HasDisabled ¶

func (o *MetricEventDefaultRep) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*MetricEventDefaultRep) HasValue ¶

func (o *MetricEventDefaultRep) HasValue() bool

HasValue returns a boolean if a field has been set.

func (MetricEventDefaultRep) MarshalJSON ¶

func (o MetricEventDefaultRep) MarshalJSON() ([]byte, error)

func (*MetricEventDefaultRep) SetDisabled ¶

func (o *MetricEventDefaultRep) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*MetricEventDefaultRep) SetValue ¶

func (o *MetricEventDefaultRep) SetValue(v float32)

SetValue gets a reference to the given float32 and assigns it to the Value field.

type MetricGroupCollectionRep ¶

type MetricGroupCollectionRep struct {
	// An array of metric groups
	Items []MetricGroupRep `json:"items"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

MetricGroupCollectionRep struct for MetricGroupCollectionRep

func NewMetricGroupCollectionRep ¶

func NewMetricGroupCollectionRep(items []MetricGroupRep) *MetricGroupCollectionRep

NewMetricGroupCollectionRep instantiates a new MetricGroupCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricGroupCollectionRepWithDefaults ¶

func NewMetricGroupCollectionRepWithDefaults() *MetricGroupCollectionRep

NewMetricGroupCollectionRepWithDefaults instantiates a new MetricGroupCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricGroupCollectionRep) GetItems ¶

func (o *MetricGroupCollectionRep) GetItems() []MetricGroupRep

GetItems returns the Items field value

func (*MetricGroupCollectionRep) GetItemsOk ¶

func (o *MetricGroupCollectionRep) GetItemsOk() ([]MetricGroupRep, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *MetricGroupCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*MetricGroupCollectionRep) GetLinksOk ¶

func (o *MetricGroupCollectionRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *MetricGroupCollectionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (MetricGroupCollectionRep) MarshalJSON ¶

func (o MetricGroupCollectionRep) MarshalJSON() ([]byte, error)

func (*MetricGroupCollectionRep) SetItems ¶

func (o *MetricGroupCollectionRep) SetItems(v []MetricGroupRep)

SetItems sets field value

func (o *MetricGroupCollectionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type MetricGroupPost ¶

type MetricGroupPost struct {
	// A unique key to reference the metric group
	Key string `json:"key"`
	// A human-friendly name for the metric group
	Name string `json:"name"`
	// The type of the metric group
	Kind string `json:"kind"`
	// Description of the metric group
	Description *string `json:"description,omitempty"`
	// The ID of the member who maintains this metric group
	MaintainerId string `json:"maintainerId"`
	// Tags for the metric group
	Tags []string `json:"tags"`
	// An ordered list of the metrics in this metric group
	Metrics []MetricInMetricGroupInput `json:"metrics"`
}

MetricGroupPost struct for MetricGroupPost

func NewMetricGroupPost ¶

func NewMetricGroupPost(key string, name string, kind string, maintainerId string, tags []string, metrics []MetricInMetricGroupInput) *MetricGroupPost

NewMetricGroupPost instantiates a new MetricGroupPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricGroupPostWithDefaults ¶

func NewMetricGroupPostWithDefaults() *MetricGroupPost

NewMetricGroupPostWithDefaults instantiates a new MetricGroupPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricGroupPost) GetDescription ¶

func (o *MetricGroupPost) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*MetricGroupPost) GetDescriptionOk ¶

func (o *MetricGroupPost) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricGroupPost) GetKey ¶

func (o *MetricGroupPost) GetKey() string

GetKey returns the Key field value

func (*MetricGroupPost) GetKeyOk ¶

func (o *MetricGroupPost) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*MetricGroupPost) GetKind ¶

func (o *MetricGroupPost) GetKind() string

GetKind returns the Kind field value

func (*MetricGroupPost) GetKindOk ¶

func (o *MetricGroupPost) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*MetricGroupPost) GetMaintainerId ¶

func (o *MetricGroupPost) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value

func (*MetricGroupPost) GetMaintainerIdOk ¶

func (o *MetricGroupPost) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value and a boolean to check if the value has been set.

func (*MetricGroupPost) GetMetrics ¶

func (o *MetricGroupPost) GetMetrics() []MetricInMetricGroupInput

GetMetrics returns the Metrics field value

func (*MetricGroupPost) GetMetricsOk ¶

func (o *MetricGroupPost) GetMetricsOk() ([]MetricInMetricGroupInput, bool)

GetMetricsOk returns a tuple with the Metrics field value and a boolean to check if the value has been set.

func (*MetricGroupPost) GetName ¶

func (o *MetricGroupPost) GetName() string

GetName returns the Name field value

func (*MetricGroupPost) GetNameOk ¶

func (o *MetricGroupPost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*MetricGroupPost) GetTags ¶

func (o *MetricGroupPost) GetTags() []string

GetTags returns the Tags field value

func (*MetricGroupPost) GetTagsOk ¶

func (o *MetricGroupPost) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*MetricGroupPost) HasDescription ¶

func (o *MetricGroupPost) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (MetricGroupPost) MarshalJSON ¶

func (o MetricGroupPost) MarshalJSON() ([]byte, error)

func (*MetricGroupPost) SetDescription ¶

func (o *MetricGroupPost) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*MetricGroupPost) SetKey ¶

func (o *MetricGroupPost) SetKey(v string)

SetKey sets field value

func (*MetricGroupPost) SetKind ¶

func (o *MetricGroupPost) SetKind(v string)

SetKind sets field value

func (*MetricGroupPost) SetMaintainerId ¶

func (o *MetricGroupPost) SetMaintainerId(v string)

SetMaintainerId sets field value

func (*MetricGroupPost) SetMetrics ¶

func (o *MetricGroupPost) SetMetrics(v []MetricInMetricGroupInput)

SetMetrics sets field value

func (*MetricGroupPost) SetName ¶

func (o *MetricGroupPost) SetName(v string)

SetName sets field value

func (*MetricGroupPost) SetTags ¶

func (o *MetricGroupPost) SetTags(v []string)

SetTags sets field value

type MetricGroupRep ¶

type MetricGroupRep struct {
	// The ID of this metric group
	Id string `json:"_id"`
	// A unique key to reference the metric group
	Key string `json:"key"`
	// A human-friendly name for the metric group
	Name string `json:"name"`
	// The type of the metric group
	Kind string `json:"kind"`
	// Description of the metric group
	Description *string `json:"description,omitempty"`
	// The location and content type of related resources
	Links  map[string]Link `json:"_links"`
	Access *Access         `json:"_access,omitempty"`
	// Tags for the metric group
	Tags         []string      `json:"tags"`
	CreationDate int64         `json:"_creationDate"`
	LastModified int64         `json:"_lastModified"`
	Maintainer   MaintainerRep `json:"maintainer"`
	// An ordered list of the metrics in this metric group
	Metrics []MetricInGroupRep `json:"metrics"`
	// The version of this metric group
	Version     int32                    `json:"_version"`
	Experiments []DependentExperimentRep `json:"experiments,omitempty"`
	// The number of experiments using this metric group
	ExperimentCount *int32 `json:"experimentCount,omitempty"`
}

MetricGroupRep struct for MetricGroupRep

func NewMetricGroupRep ¶

func NewMetricGroupRep(id string, key string, name string, kind string, links map[string]Link, tags []string, creationDate int64, lastModified int64, maintainer MaintainerRep, metrics []MetricInGroupRep, version int32) *MetricGroupRep

NewMetricGroupRep instantiates a new MetricGroupRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricGroupRepWithDefaults ¶

func NewMetricGroupRepWithDefaults() *MetricGroupRep

NewMetricGroupRepWithDefaults instantiates a new MetricGroupRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricGroupRep) GetAccess ¶

func (o *MetricGroupRep) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*MetricGroupRep) GetAccessOk ¶

func (o *MetricGroupRep) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricGroupRep) GetCreationDate ¶

func (o *MetricGroupRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*MetricGroupRep) GetCreationDateOk ¶

func (o *MetricGroupRep) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*MetricGroupRep) GetDescription ¶

func (o *MetricGroupRep) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*MetricGroupRep) GetDescriptionOk ¶

func (o *MetricGroupRep) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricGroupRep) GetExperimentCount ¶

func (o *MetricGroupRep) GetExperimentCount() int32

GetExperimentCount returns the ExperimentCount field value if set, zero value otherwise.

func (*MetricGroupRep) GetExperimentCountOk ¶

func (o *MetricGroupRep) GetExperimentCountOk() (*int32, bool)

GetExperimentCountOk returns a tuple with the ExperimentCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricGroupRep) GetExperiments ¶

func (o *MetricGroupRep) GetExperiments() []DependentExperimentRep

GetExperiments returns the Experiments field value if set, zero value otherwise.

func (*MetricGroupRep) GetExperimentsOk ¶

func (o *MetricGroupRep) GetExperimentsOk() ([]DependentExperimentRep, bool)

GetExperimentsOk returns a tuple with the Experiments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricGroupRep) GetId ¶

func (o *MetricGroupRep) GetId() string

GetId returns the Id field value

func (*MetricGroupRep) GetIdOk ¶

func (o *MetricGroupRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricGroupRep) GetKey ¶

func (o *MetricGroupRep) GetKey() string

GetKey returns the Key field value

func (*MetricGroupRep) GetKeyOk ¶

func (o *MetricGroupRep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*MetricGroupRep) GetKind ¶

func (o *MetricGroupRep) GetKind() string

GetKind returns the Kind field value

func (*MetricGroupRep) GetKindOk ¶

func (o *MetricGroupRep) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*MetricGroupRep) GetLastModified ¶

func (o *MetricGroupRep) GetLastModified() int64

GetLastModified returns the LastModified field value

func (*MetricGroupRep) GetLastModifiedOk ¶

func (o *MetricGroupRep) GetLastModifiedOk() (*int64, bool)

GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set.

func (o *MetricGroupRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*MetricGroupRep) GetLinksOk ¶

func (o *MetricGroupRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*MetricGroupRep) GetMaintainer ¶

func (o *MetricGroupRep) GetMaintainer() MaintainerRep

GetMaintainer returns the Maintainer field value

func (*MetricGroupRep) GetMaintainerOk ¶

func (o *MetricGroupRep) GetMaintainerOk() (*MaintainerRep, bool)

GetMaintainerOk returns a tuple with the Maintainer field value and a boolean to check if the value has been set.

func (*MetricGroupRep) GetMetrics ¶

func (o *MetricGroupRep) GetMetrics() []MetricInGroupRep

GetMetrics returns the Metrics field value

func (*MetricGroupRep) GetMetricsOk ¶

func (o *MetricGroupRep) GetMetricsOk() ([]MetricInGroupRep, bool)

GetMetricsOk returns a tuple with the Metrics field value and a boolean to check if the value has been set.

func (*MetricGroupRep) GetName ¶

func (o *MetricGroupRep) GetName() string

GetName returns the Name field value

func (*MetricGroupRep) GetNameOk ¶

func (o *MetricGroupRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*MetricGroupRep) GetTags ¶

func (o *MetricGroupRep) GetTags() []string

GetTags returns the Tags field value

func (*MetricGroupRep) GetTagsOk ¶

func (o *MetricGroupRep) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*MetricGroupRep) GetVersion ¶

func (o *MetricGroupRep) GetVersion() int32

GetVersion returns the Version field value

func (*MetricGroupRep) GetVersionOk ¶

func (o *MetricGroupRep) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*MetricGroupRep) HasAccess ¶

func (o *MetricGroupRep) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*MetricGroupRep) HasDescription ¶

func (o *MetricGroupRep) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MetricGroupRep) HasExperimentCount ¶

func (o *MetricGroupRep) HasExperimentCount() bool

HasExperimentCount returns a boolean if a field has been set.

func (*MetricGroupRep) HasExperiments ¶

func (o *MetricGroupRep) HasExperiments() bool

HasExperiments returns a boolean if a field has been set.

func (MetricGroupRep) MarshalJSON ¶

func (o MetricGroupRep) MarshalJSON() ([]byte, error)

func (*MetricGroupRep) SetAccess ¶

func (o *MetricGroupRep) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*MetricGroupRep) SetCreationDate ¶

func (o *MetricGroupRep) SetCreationDate(v int64)

SetCreationDate sets field value

func (*MetricGroupRep) SetDescription ¶

func (o *MetricGroupRep) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*MetricGroupRep) SetExperimentCount ¶

func (o *MetricGroupRep) SetExperimentCount(v int32)

SetExperimentCount gets a reference to the given int32 and assigns it to the ExperimentCount field.

func (*MetricGroupRep) SetExperiments ¶

func (o *MetricGroupRep) SetExperiments(v []DependentExperimentRep)

SetExperiments gets a reference to the given []DependentExperimentRep and assigns it to the Experiments field.

func (*MetricGroupRep) SetId ¶

func (o *MetricGroupRep) SetId(v string)

SetId sets field value

func (*MetricGroupRep) SetKey ¶

func (o *MetricGroupRep) SetKey(v string)

SetKey sets field value

func (*MetricGroupRep) SetKind ¶

func (o *MetricGroupRep) SetKind(v string)

SetKind sets field value

func (*MetricGroupRep) SetLastModified ¶

func (o *MetricGroupRep) SetLastModified(v int64)

SetLastModified sets field value

func (o *MetricGroupRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*MetricGroupRep) SetMaintainer ¶

func (o *MetricGroupRep) SetMaintainer(v MaintainerRep)

SetMaintainer sets field value

func (*MetricGroupRep) SetMetrics ¶

func (o *MetricGroupRep) SetMetrics(v []MetricInGroupRep)

SetMetrics sets field value

func (*MetricGroupRep) SetName ¶

func (o *MetricGroupRep) SetName(v string)

SetName sets field value

func (*MetricGroupRep) SetTags ¶

func (o *MetricGroupRep) SetTags(v []string)

SetTags sets field value

func (*MetricGroupRep) SetVersion ¶

func (o *MetricGroupRep) SetVersion(v int32)

SetVersion sets field value

type MetricGroupResultsRep ¶

type MetricGroupResultsRep struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// An ordered list of the metrics in this metric group, and each of their results
	Metrics []MetricInGroupResultsRep `json:"metrics"`
}

MetricGroupResultsRep struct for MetricGroupResultsRep

func NewMetricGroupResultsRep ¶

func NewMetricGroupResultsRep(links map[string]Link, metrics []MetricInGroupResultsRep) *MetricGroupResultsRep

NewMetricGroupResultsRep instantiates a new MetricGroupResultsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricGroupResultsRepWithDefaults ¶

func NewMetricGroupResultsRepWithDefaults() *MetricGroupResultsRep

NewMetricGroupResultsRepWithDefaults instantiates a new MetricGroupResultsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *MetricGroupResultsRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*MetricGroupResultsRep) GetLinksOk ¶

func (o *MetricGroupResultsRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*MetricGroupResultsRep) GetMetrics ¶

GetMetrics returns the Metrics field value

func (*MetricGroupResultsRep) GetMetricsOk ¶

func (o *MetricGroupResultsRep) GetMetricsOk() ([]MetricInGroupResultsRep, bool)

GetMetricsOk returns a tuple with the Metrics field value and a boolean to check if the value has been set.

func (MetricGroupResultsRep) MarshalJSON ¶

func (o MetricGroupResultsRep) MarshalJSON() ([]byte, error)
func (o *MetricGroupResultsRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*MetricGroupResultsRep) SetMetrics ¶

SetMetrics sets field value

type MetricInGroupRep ¶

type MetricInGroupRep struct {
	// The metric key
	Key string `json:"key"`
	// The version ID of the metric
	VersionId *string `json:"_versionId,omitempty"`
	// The metric name
	Name string `json:"name"`
	// The kind of event the metric tracks
	Kind string `json:"kind"`
	// For custom metrics, whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>).
	IsNumeric *bool `json:"isNumeric,omitempty"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// Name of the metric when used within the associated metric group. Can be different from the original name of the metric. Required if and only if the metric group is a <code>funnel</code>.
	NameInGroup *string `json:"nameInGroup,omitempty"`
	// The randomization units for the metric
	RandomizationUnits []string `json:"randomizationUnits,omitempty"`
}

MetricInGroupRep struct for MetricInGroupRep

func NewMetricInGroupRep ¶

func NewMetricInGroupRep(key string, name string, kind string, links map[string]Link) *MetricInGroupRep

NewMetricInGroupRep instantiates a new MetricInGroupRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricInGroupRepWithDefaults ¶

func NewMetricInGroupRepWithDefaults() *MetricInGroupRep

NewMetricInGroupRepWithDefaults instantiates a new MetricInGroupRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricInGroupRep) GetIsNumeric ¶

func (o *MetricInGroupRep) GetIsNumeric() bool

GetIsNumeric returns the IsNumeric field value if set, zero value otherwise.

func (*MetricInGroupRep) GetIsNumericOk ¶

func (o *MetricInGroupRep) GetIsNumericOk() (*bool, bool)

GetIsNumericOk returns a tuple with the IsNumeric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricInGroupRep) GetKey ¶

func (o *MetricInGroupRep) GetKey() string

GetKey returns the Key field value

func (*MetricInGroupRep) GetKeyOk ¶

func (o *MetricInGroupRep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*MetricInGroupRep) GetKind ¶

func (o *MetricInGroupRep) GetKind() string

GetKind returns the Kind field value

func (*MetricInGroupRep) GetKindOk ¶

func (o *MetricInGroupRep) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (o *MetricInGroupRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*MetricInGroupRep) GetLinksOk ¶

func (o *MetricInGroupRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*MetricInGroupRep) GetName ¶

func (o *MetricInGroupRep) GetName() string

GetName returns the Name field value

func (*MetricInGroupRep) GetNameInGroup ¶

func (o *MetricInGroupRep) GetNameInGroup() string

GetNameInGroup returns the NameInGroup field value if set, zero value otherwise.

func (*MetricInGroupRep) GetNameInGroupOk ¶

func (o *MetricInGroupRep) GetNameInGroupOk() (*string, bool)

GetNameInGroupOk returns a tuple with the NameInGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricInGroupRep) GetNameOk ¶

func (o *MetricInGroupRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*MetricInGroupRep) GetRandomizationUnits ¶

func (o *MetricInGroupRep) GetRandomizationUnits() []string

GetRandomizationUnits returns the RandomizationUnits field value if set, zero value otherwise.

func (*MetricInGroupRep) GetRandomizationUnitsOk ¶

func (o *MetricInGroupRep) GetRandomizationUnitsOk() ([]string, bool)

GetRandomizationUnitsOk returns a tuple with the RandomizationUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricInGroupRep) GetVersionId ¶

func (o *MetricInGroupRep) GetVersionId() string

GetVersionId returns the VersionId field value if set, zero value otherwise.

func (*MetricInGroupRep) GetVersionIdOk ¶

func (o *MetricInGroupRep) GetVersionIdOk() (*string, bool)

GetVersionIdOk returns a tuple with the VersionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricInGroupRep) HasIsNumeric ¶

func (o *MetricInGroupRep) HasIsNumeric() bool

HasIsNumeric returns a boolean if a field has been set.

func (*MetricInGroupRep) HasNameInGroup ¶

func (o *MetricInGroupRep) HasNameInGroup() bool

HasNameInGroup returns a boolean if a field has been set.

func (*MetricInGroupRep) HasRandomizationUnits ¶

func (o *MetricInGroupRep) HasRandomizationUnits() bool

HasRandomizationUnits returns a boolean if a field has been set.

func (*MetricInGroupRep) HasVersionId ¶

func (o *MetricInGroupRep) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

func (MetricInGroupRep) MarshalJSON ¶

func (o MetricInGroupRep) MarshalJSON() ([]byte, error)

func (*MetricInGroupRep) SetIsNumeric ¶

func (o *MetricInGroupRep) SetIsNumeric(v bool)

SetIsNumeric gets a reference to the given bool and assigns it to the IsNumeric field.

func (*MetricInGroupRep) SetKey ¶

func (o *MetricInGroupRep) SetKey(v string)

SetKey sets field value

func (*MetricInGroupRep) SetKind ¶

func (o *MetricInGroupRep) SetKind(v string)

SetKind sets field value

func (o *MetricInGroupRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*MetricInGroupRep) SetName ¶

func (o *MetricInGroupRep) SetName(v string)

SetName sets field value

func (*MetricInGroupRep) SetNameInGroup ¶

func (o *MetricInGroupRep) SetNameInGroup(v string)

SetNameInGroup gets a reference to the given string and assigns it to the NameInGroup field.

func (*MetricInGroupRep) SetRandomizationUnits ¶

func (o *MetricInGroupRep) SetRandomizationUnits(v []string)

SetRandomizationUnits gets a reference to the given []string and assigns it to the RandomizationUnits field.

func (*MetricInGroupRep) SetVersionId ¶

func (o *MetricInGroupRep) SetVersionId(v string)

SetVersionId gets a reference to the given string and assigns it to the VersionId field.

type MetricInGroupResultsRep ¶

type MetricInGroupResultsRep struct {
	Metric  MetricInGroupRep             `json:"metric"`
	Results ExperimentBayesianResultsRep `json:"results"`
}

MetricInGroupResultsRep struct for MetricInGroupResultsRep

func NewMetricInGroupResultsRep ¶

func NewMetricInGroupResultsRep(metric MetricInGroupRep, results ExperimentBayesianResultsRep) *MetricInGroupResultsRep

NewMetricInGroupResultsRep instantiates a new MetricInGroupResultsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricInGroupResultsRepWithDefaults ¶

func NewMetricInGroupResultsRepWithDefaults() *MetricInGroupResultsRep

NewMetricInGroupResultsRepWithDefaults instantiates a new MetricInGroupResultsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricInGroupResultsRep) GetMetric ¶

GetMetric returns the Metric field value

func (*MetricInGroupResultsRep) GetMetricOk ¶

func (o *MetricInGroupResultsRep) GetMetricOk() (*MetricInGroupRep, bool)

GetMetricOk returns a tuple with the Metric field value and a boolean to check if the value has been set.

func (*MetricInGroupResultsRep) GetResults ¶

GetResults returns the Results field value

func (*MetricInGroupResultsRep) GetResultsOk ¶

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (MetricInGroupResultsRep) MarshalJSON ¶

func (o MetricInGroupResultsRep) MarshalJSON() ([]byte, error)

func (*MetricInGroupResultsRep) SetMetric ¶

func (o *MetricInGroupResultsRep) SetMetric(v MetricInGroupRep)

SetMetric sets field value

func (*MetricInGroupResultsRep) SetResults ¶

SetResults sets field value

type MetricInMetricGroupInput ¶

type MetricInMetricGroupInput struct {
	// The metric key
	Key string `json:"key"`
	// Name of the metric when used within the associated metric group. Can be different from the original name of the metric
	NameInGroup string `json:"nameInGroup"`
}

MetricInMetricGroupInput struct for MetricInMetricGroupInput

func NewMetricInMetricGroupInput ¶

func NewMetricInMetricGroupInput(key string, nameInGroup string) *MetricInMetricGroupInput

NewMetricInMetricGroupInput instantiates a new MetricInMetricGroupInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricInMetricGroupInputWithDefaults ¶

func NewMetricInMetricGroupInputWithDefaults() *MetricInMetricGroupInput

NewMetricInMetricGroupInputWithDefaults instantiates a new MetricInMetricGroupInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricInMetricGroupInput) GetKey ¶

func (o *MetricInMetricGroupInput) GetKey() string

GetKey returns the Key field value

func (*MetricInMetricGroupInput) GetKeyOk ¶

func (o *MetricInMetricGroupInput) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*MetricInMetricGroupInput) GetNameInGroup ¶

func (o *MetricInMetricGroupInput) GetNameInGroup() string

GetNameInGroup returns the NameInGroup field value

func (*MetricInMetricGroupInput) GetNameInGroupOk ¶

func (o *MetricInMetricGroupInput) GetNameInGroupOk() (*string, bool)

GetNameInGroupOk returns a tuple with the NameInGroup field value and a boolean to check if the value has been set.

func (MetricInMetricGroupInput) MarshalJSON ¶

func (o MetricInMetricGroupInput) MarshalJSON() ([]byte, error)

func (*MetricInMetricGroupInput) SetKey ¶

func (o *MetricInMetricGroupInput) SetKey(v string)

SetKey sets field value

func (*MetricInMetricGroupInput) SetNameInGroup ¶

func (o *MetricInMetricGroupInput) SetNameInGroup(v string)

SetNameInGroup sets field value

type MetricInput ¶

type MetricInput struct {
	// The metric key
	Key string `json:"key"`
	// Whether this is a metric group (true) or a metric (false). Defaults to false
	IsGroup *bool `json:"isGroup,omitempty"`
	// Deprecated, use <code>primarySingleMetricKey</code> and <code>primaryFunnelKey</code>. Whether this is a primary metric (true) or a secondary metric (false)
	// Deprecated
	Primary *bool `json:"primary,omitempty"`
}

MetricInput struct for MetricInput

func NewMetricInput ¶

func NewMetricInput(key string) *MetricInput

NewMetricInput instantiates a new MetricInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricInputWithDefaults ¶

func NewMetricInputWithDefaults() *MetricInput

NewMetricInputWithDefaults instantiates a new MetricInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricInput) GetIsGroup ¶

func (o *MetricInput) GetIsGroup() bool

GetIsGroup returns the IsGroup field value if set, zero value otherwise.

func (*MetricInput) GetIsGroupOk ¶

func (o *MetricInput) GetIsGroupOk() (*bool, bool)

GetIsGroupOk returns a tuple with the IsGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricInput) GetKey ¶

func (o *MetricInput) GetKey() string

GetKey returns the Key field value

func (*MetricInput) GetKeyOk ¶

func (o *MetricInput) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*MetricInput) GetPrimary ¶

func (o *MetricInput) GetPrimary() bool

GetPrimary returns the Primary field value if set, zero value otherwise. Deprecated

func (*MetricInput) GetPrimaryOk ¶

func (o *MetricInput) GetPrimaryOk() (*bool, bool)

GetPrimaryOk returns a tuple with the Primary field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*MetricInput) HasIsGroup ¶

func (o *MetricInput) HasIsGroup() bool

HasIsGroup returns a boolean if a field has been set.

func (*MetricInput) HasPrimary ¶

func (o *MetricInput) HasPrimary() bool

HasPrimary returns a boolean if a field has been set.

func (MetricInput) MarshalJSON ¶

func (o MetricInput) MarshalJSON() ([]byte, error)

func (*MetricInput) SetIsGroup ¶

func (o *MetricInput) SetIsGroup(v bool)

SetIsGroup gets a reference to the given bool and assigns it to the IsGroup field.

func (*MetricInput) SetKey ¶

func (o *MetricInput) SetKey(v string)

SetKey sets field value

func (*MetricInput) SetPrimary ¶

func (o *MetricInput) SetPrimary(v bool)

SetPrimary gets a reference to the given bool and assigns it to the Primary field. Deprecated

type MetricListingRep ¶

type MetricListingRep struct {
	// The number of experiments using this metric
	ExperimentCount *int32 `json:"experimentCount,omitempty"`
	// The number of metric groups using this metric
	MetricGroupCount *int32 `json:"metricGroupCount,omitempty"`
	// The ID of this metric
	Id string `json:"_id"`
	// The version ID of the metric
	VersionId string `json:"_versionId"`
	// A unique key to reference the metric
	Key string `json:"key"`
	// A human-friendly name for the metric
	Name string `json:"name"`
	// The kind of event the metric tracks
	Kind string `json:"kind"`
	// The number of feature flags currently attached to this metric
	AttachedFlagCount *int32 `json:"_attachedFlagCount,omitempty"`
	// The location and content type of related resources
	Links  map[string]Link `json:"_links"`
	Site   *Link           `json:"_site,omitempty"`
	Access *Access         `json:"_access,omitempty"`
	// Tags for the metric
	Tags         []string      `json:"tags"`
	CreationDate int64         `json:"_creationDate"`
	LastModified *Modification `json:"lastModified,omitempty"`
	// The ID of the member who maintains this metric
	MaintainerId *string        `json:"maintainerId,omitempty"`
	Maintainer   *MemberSummary `json:"_maintainer,omitempty"`
	// Description of the metric
	Description *string `json:"description,omitempty"`
	// For custom metrics, whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>).
	IsNumeric *bool `json:"isNumeric,omitempty"`
	// For custom metrics, the success criteria
	SuccessCriteria *string `json:"successCriteria,omitempty"`
	// For numeric custom metrics, the unit of measure
	Unit *string `json:"unit,omitempty"`
	// For custom metrics, the event key to use in your code
	EventKey *string `json:"eventKey,omitempty"`
	// An array of randomization units allowed for this metric
	RandomizationUnits []string `json:"randomizationUnits,omitempty"`
	// The method by which multiple unit event values are aggregated
	UnitAggregationType *string `json:"unitAggregationType,omitempty"`
	// The method for analyzing metric events
	AnalysisType *string `json:"analysisType,omitempty"`
	// The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when <code>analysisType</code> is <code>percentile</code>.
	PercentileValue *int32                 `json:"percentileValue,omitempty"`
	EventDefault    *MetricEventDefaultRep `json:"eventDefault,omitempty"`
}

MetricListingRep struct for MetricListingRep

func NewMetricListingRep ¶

func NewMetricListingRep(id string, versionId string, key string, name string, kind string, links map[string]Link, tags []string, creationDate int64) *MetricListingRep

NewMetricListingRep instantiates a new MetricListingRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricListingRepWithDefaults ¶

func NewMetricListingRepWithDefaults() *MetricListingRep

NewMetricListingRepWithDefaults instantiates a new MetricListingRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricListingRep) GetAccess ¶

func (o *MetricListingRep) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*MetricListingRep) GetAccessOk ¶

func (o *MetricListingRep) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetAnalysisType ¶

func (o *MetricListingRep) GetAnalysisType() string

GetAnalysisType returns the AnalysisType field value if set, zero value otherwise.

func (*MetricListingRep) GetAnalysisTypeOk ¶

func (o *MetricListingRep) GetAnalysisTypeOk() (*string, bool)

GetAnalysisTypeOk returns a tuple with the AnalysisType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetAttachedFlagCount ¶

func (o *MetricListingRep) GetAttachedFlagCount() int32

GetAttachedFlagCount returns the AttachedFlagCount field value if set, zero value otherwise.

func (*MetricListingRep) GetAttachedFlagCountOk ¶

func (o *MetricListingRep) GetAttachedFlagCountOk() (*int32, bool)

GetAttachedFlagCountOk returns a tuple with the AttachedFlagCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetCreationDate ¶

func (o *MetricListingRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*MetricListingRep) GetCreationDateOk ¶

func (o *MetricListingRep) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*MetricListingRep) GetDescription ¶

func (o *MetricListingRep) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*MetricListingRep) GetDescriptionOk ¶

func (o *MetricListingRep) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetEventDefault ¶

func (o *MetricListingRep) GetEventDefault() MetricEventDefaultRep

GetEventDefault returns the EventDefault field value if set, zero value otherwise.

func (*MetricListingRep) GetEventDefaultOk ¶

func (o *MetricListingRep) GetEventDefaultOk() (*MetricEventDefaultRep, bool)

GetEventDefaultOk returns a tuple with the EventDefault field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetEventKey ¶

func (o *MetricListingRep) GetEventKey() string

GetEventKey returns the EventKey field value if set, zero value otherwise.

func (*MetricListingRep) GetEventKeyOk ¶

func (o *MetricListingRep) GetEventKeyOk() (*string, bool)

GetEventKeyOk returns a tuple with the EventKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetExperimentCount ¶

func (o *MetricListingRep) GetExperimentCount() int32

GetExperimentCount returns the ExperimentCount field value if set, zero value otherwise.

func (*MetricListingRep) GetExperimentCountOk ¶

func (o *MetricListingRep) GetExperimentCountOk() (*int32, bool)

GetExperimentCountOk returns a tuple with the ExperimentCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetId ¶

func (o *MetricListingRep) GetId() string

GetId returns the Id field value

func (*MetricListingRep) GetIdOk ¶

func (o *MetricListingRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricListingRep) GetIsNumeric ¶

func (o *MetricListingRep) GetIsNumeric() bool

GetIsNumeric returns the IsNumeric field value if set, zero value otherwise.

func (*MetricListingRep) GetIsNumericOk ¶

func (o *MetricListingRep) GetIsNumericOk() (*bool, bool)

GetIsNumericOk returns a tuple with the IsNumeric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetKey ¶

func (o *MetricListingRep) GetKey() string

GetKey returns the Key field value

func (*MetricListingRep) GetKeyOk ¶

func (o *MetricListingRep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*MetricListingRep) GetKind ¶

func (o *MetricListingRep) GetKind() string

GetKind returns the Kind field value

func (*MetricListingRep) GetKindOk ¶

func (o *MetricListingRep) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*MetricListingRep) GetLastModified ¶

func (o *MetricListingRep) GetLastModified() Modification

GetLastModified returns the LastModified field value if set, zero value otherwise.

func (*MetricListingRep) GetLastModifiedOk ¶

func (o *MetricListingRep) GetLastModifiedOk() (*Modification, bool)

GetLastModifiedOk returns a tuple with the LastModified field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *MetricListingRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*MetricListingRep) GetLinksOk ¶

func (o *MetricListingRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*MetricListingRep) GetMaintainer ¶

func (o *MetricListingRep) GetMaintainer() MemberSummary

GetMaintainer returns the Maintainer field value if set, zero value otherwise.

func (*MetricListingRep) GetMaintainerId ¶

func (o *MetricListingRep) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value if set, zero value otherwise.

func (*MetricListingRep) GetMaintainerIdOk ¶

func (o *MetricListingRep) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetMaintainerOk ¶

func (o *MetricListingRep) GetMaintainerOk() (*MemberSummary, bool)

GetMaintainerOk returns a tuple with the Maintainer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetMetricGroupCount ¶

func (o *MetricListingRep) GetMetricGroupCount() int32

GetMetricGroupCount returns the MetricGroupCount field value if set, zero value otherwise.

func (*MetricListingRep) GetMetricGroupCountOk ¶

func (o *MetricListingRep) GetMetricGroupCountOk() (*int32, bool)

GetMetricGroupCountOk returns a tuple with the MetricGroupCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetName ¶

func (o *MetricListingRep) GetName() string

GetName returns the Name field value

func (*MetricListingRep) GetNameOk ¶

func (o *MetricListingRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*MetricListingRep) GetPercentileValue ¶

func (o *MetricListingRep) GetPercentileValue() int32

GetPercentileValue returns the PercentileValue field value if set, zero value otherwise.

func (*MetricListingRep) GetPercentileValueOk ¶

func (o *MetricListingRep) GetPercentileValueOk() (*int32, bool)

GetPercentileValueOk returns a tuple with the PercentileValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetRandomizationUnits ¶

func (o *MetricListingRep) GetRandomizationUnits() []string

GetRandomizationUnits returns the RandomizationUnits field value if set, zero value otherwise.

func (*MetricListingRep) GetRandomizationUnitsOk ¶

func (o *MetricListingRep) GetRandomizationUnitsOk() ([]string, bool)

GetRandomizationUnitsOk returns a tuple with the RandomizationUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetSite ¶

func (o *MetricListingRep) GetSite() Link

GetSite returns the Site field value if set, zero value otherwise.

func (*MetricListingRep) GetSiteOk ¶

func (o *MetricListingRep) GetSiteOk() (*Link, bool)

GetSiteOk returns a tuple with the Site field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetSuccessCriteria ¶

func (o *MetricListingRep) GetSuccessCriteria() string

GetSuccessCriteria returns the SuccessCriteria field value if set, zero value otherwise.

func (*MetricListingRep) GetSuccessCriteriaOk ¶

func (o *MetricListingRep) GetSuccessCriteriaOk() (*string, bool)

GetSuccessCriteriaOk returns a tuple with the SuccessCriteria field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetTags ¶

func (o *MetricListingRep) GetTags() []string

GetTags returns the Tags field value

func (*MetricListingRep) GetTagsOk ¶

func (o *MetricListingRep) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*MetricListingRep) GetUnit ¶

func (o *MetricListingRep) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*MetricListingRep) GetUnitAggregationType ¶

func (o *MetricListingRep) GetUnitAggregationType() string

GetUnitAggregationType returns the UnitAggregationType field value if set, zero value otherwise.

func (*MetricListingRep) GetUnitAggregationTypeOk ¶

func (o *MetricListingRep) GetUnitAggregationTypeOk() (*string, bool)

GetUnitAggregationTypeOk returns a tuple with the UnitAggregationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetUnitOk ¶

func (o *MetricListingRep) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricListingRep) GetVersionId ¶

func (o *MetricListingRep) GetVersionId() string

GetVersionId returns the VersionId field value

func (*MetricListingRep) GetVersionIdOk ¶

func (o *MetricListingRep) GetVersionIdOk() (*string, bool)

GetVersionIdOk returns a tuple with the VersionId field value and a boolean to check if the value has been set.

func (*MetricListingRep) HasAccess ¶

func (o *MetricListingRep) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*MetricListingRep) HasAnalysisType ¶

func (o *MetricListingRep) HasAnalysisType() bool

HasAnalysisType returns a boolean if a field has been set.

func (*MetricListingRep) HasAttachedFlagCount ¶

func (o *MetricListingRep) HasAttachedFlagCount() bool

HasAttachedFlagCount returns a boolean if a field has been set.

func (*MetricListingRep) HasDescription ¶

func (o *MetricListingRep) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MetricListingRep) HasEventDefault ¶

func (o *MetricListingRep) HasEventDefault() bool

HasEventDefault returns a boolean if a field has been set.

func (*MetricListingRep) HasEventKey ¶

func (o *MetricListingRep) HasEventKey() bool

HasEventKey returns a boolean if a field has been set.

func (*MetricListingRep) HasExperimentCount ¶

func (o *MetricListingRep) HasExperimentCount() bool

HasExperimentCount returns a boolean if a field has been set.

func (*MetricListingRep) HasIsNumeric ¶

func (o *MetricListingRep) HasIsNumeric() bool

HasIsNumeric returns a boolean if a field has been set.

func (*MetricListingRep) HasLastModified ¶

func (o *MetricListingRep) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*MetricListingRep) HasMaintainer ¶

func (o *MetricListingRep) HasMaintainer() bool

HasMaintainer returns a boolean if a field has been set.

func (*MetricListingRep) HasMaintainerId ¶

func (o *MetricListingRep) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

func (*MetricListingRep) HasMetricGroupCount ¶

func (o *MetricListingRep) HasMetricGroupCount() bool

HasMetricGroupCount returns a boolean if a field has been set.

func (*MetricListingRep) HasPercentileValue ¶

func (o *MetricListingRep) HasPercentileValue() bool

HasPercentileValue returns a boolean if a field has been set.

func (*MetricListingRep) HasRandomizationUnits ¶

func (o *MetricListingRep) HasRandomizationUnits() bool

HasRandomizationUnits returns a boolean if a field has been set.

func (*MetricListingRep) HasSite ¶

func (o *MetricListingRep) HasSite() bool

HasSite returns a boolean if a field has been set.

func (*MetricListingRep) HasSuccessCriteria ¶

func (o *MetricListingRep) HasSuccessCriteria() bool

HasSuccessCriteria returns a boolean if a field has been set.

func (*MetricListingRep) HasUnit ¶

func (o *MetricListingRep) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*MetricListingRep) HasUnitAggregationType ¶

func (o *MetricListingRep) HasUnitAggregationType() bool

HasUnitAggregationType returns a boolean if a field has been set.

func (MetricListingRep) MarshalJSON ¶

func (o MetricListingRep) MarshalJSON() ([]byte, error)

func (*MetricListingRep) SetAccess ¶

func (o *MetricListingRep) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*MetricListingRep) SetAnalysisType ¶

func (o *MetricListingRep) SetAnalysisType(v string)

SetAnalysisType gets a reference to the given string and assigns it to the AnalysisType field.

func (*MetricListingRep) SetAttachedFlagCount ¶

func (o *MetricListingRep) SetAttachedFlagCount(v int32)

SetAttachedFlagCount gets a reference to the given int32 and assigns it to the AttachedFlagCount field.

func (*MetricListingRep) SetCreationDate ¶

func (o *MetricListingRep) SetCreationDate(v int64)

SetCreationDate sets field value

func (*MetricListingRep) SetDescription ¶

func (o *MetricListingRep) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*MetricListingRep) SetEventDefault ¶

func (o *MetricListingRep) SetEventDefault(v MetricEventDefaultRep)

SetEventDefault gets a reference to the given MetricEventDefaultRep and assigns it to the EventDefault field.

func (*MetricListingRep) SetEventKey ¶

func (o *MetricListingRep) SetEventKey(v string)

SetEventKey gets a reference to the given string and assigns it to the EventKey field.

func (*MetricListingRep) SetExperimentCount ¶

func (o *MetricListingRep) SetExperimentCount(v int32)

SetExperimentCount gets a reference to the given int32 and assigns it to the ExperimentCount field.

func (*MetricListingRep) SetId ¶

func (o *MetricListingRep) SetId(v string)

SetId sets field value

func (*MetricListingRep) SetIsNumeric ¶

func (o *MetricListingRep) SetIsNumeric(v bool)

SetIsNumeric gets a reference to the given bool and assigns it to the IsNumeric field.

func (*MetricListingRep) SetKey ¶

func (o *MetricListingRep) SetKey(v string)

SetKey sets field value

func (*MetricListingRep) SetKind ¶

func (o *MetricListingRep) SetKind(v string)

SetKind sets field value

func (*MetricListingRep) SetLastModified ¶

func (o *MetricListingRep) SetLastModified(v Modification)

SetLastModified gets a reference to the given Modification and assigns it to the LastModified field.

func (o *MetricListingRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*MetricListingRep) SetMaintainer ¶

func (o *MetricListingRep) SetMaintainer(v MemberSummary)

SetMaintainer gets a reference to the given MemberSummary and assigns it to the Maintainer field.

func (*MetricListingRep) SetMaintainerId ¶

func (o *MetricListingRep) SetMaintainerId(v string)

SetMaintainerId gets a reference to the given string and assigns it to the MaintainerId field.

func (*MetricListingRep) SetMetricGroupCount ¶

func (o *MetricListingRep) SetMetricGroupCount(v int32)

SetMetricGroupCount gets a reference to the given int32 and assigns it to the MetricGroupCount field.

func (*MetricListingRep) SetName ¶

func (o *MetricListingRep) SetName(v string)

SetName sets field value

func (*MetricListingRep) SetPercentileValue ¶

func (o *MetricListingRep) SetPercentileValue(v int32)

SetPercentileValue gets a reference to the given int32 and assigns it to the PercentileValue field.

func (*MetricListingRep) SetRandomizationUnits ¶

func (o *MetricListingRep) SetRandomizationUnits(v []string)

SetRandomizationUnits gets a reference to the given []string and assigns it to the RandomizationUnits field.

func (*MetricListingRep) SetSite ¶

func (o *MetricListingRep) SetSite(v Link)

SetSite gets a reference to the given Link and assigns it to the Site field.

func (*MetricListingRep) SetSuccessCriteria ¶

func (o *MetricListingRep) SetSuccessCriteria(v string)

SetSuccessCriteria gets a reference to the given string and assigns it to the SuccessCriteria field.

func (*MetricListingRep) SetTags ¶

func (o *MetricListingRep) SetTags(v []string)

SetTags sets field value

func (*MetricListingRep) SetUnit ¶

func (o *MetricListingRep) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*MetricListingRep) SetUnitAggregationType ¶

func (o *MetricListingRep) SetUnitAggregationType(v string)

SetUnitAggregationType gets a reference to the given string and assigns it to the UnitAggregationType field.

func (*MetricListingRep) SetVersionId ¶

func (o *MetricListingRep) SetVersionId(v string)

SetVersionId sets field value

type MetricPost ¶

type MetricPost struct {
	// A unique key to reference the metric
	Key string `json:"key"`
	// A human-friendly name for the metric
	Name *string `json:"name,omitempty"`
	// Description of the metric
	Description *string `json:"description,omitempty"`
	// The kind of event your metric will track
	Kind string `json:"kind"`
	// One or more CSS selectors. Required for click metrics only.
	Selector *string `json:"selector,omitempty"`
	// One or more target URLs. Required for click and pageview metrics only.
	Urls []UrlPost `json:"urls,omitempty"`
	// Whether the metric is active. Set to <code>true</code> to record click or pageview metrics. Not applicable for custom metrics.
	IsActive *bool `json:"isActive,omitempty"`
	// Whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>). Required for custom metrics only.
	IsNumeric *bool `json:"isNumeric,omitempty"`
	// The unit of measure. Applicable for numeric custom metrics only.
	Unit *string `json:"unit,omitempty"`
	// The event key to use in your code. Required for custom conversion/binary and custom numeric metrics only.
	EventKey *string `json:"eventKey,omitempty"`
	// Success criteria. Required for custom numeric metrics, optional for custom conversion metrics.
	SuccessCriteria *string `json:"successCriteria,omitempty"`
	// Tags for the metric
	Tags []string `json:"tags,omitempty"`
	// An array of randomization units allowed for this metric
	RandomizationUnits []string `json:"randomizationUnits,omitempty"`
	// The method by which multiple unit event values are aggregated
	UnitAggregationType *string `json:"unitAggregationType,omitempty"`
	// The method for analyzing metric events
	AnalysisType *string `json:"analysisType,omitempty"`
	// The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when <code>analysisType</code> is <code>percentile</code>.
	PercentileValue *int32                 `json:"percentileValue,omitempty"`
	EventDefault    *MetricEventDefaultRep `json:"eventDefault,omitempty"`
}

MetricPost struct for MetricPost

func NewMetricPost ¶

func NewMetricPost(key string, kind string) *MetricPost

NewMetricPost instantiates a new MetricPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricPostWithDefaults ¶

func NewMetricPostWithDefaults() *MetricPost

NewMetricPostWithDefaults instantiates a new MetricPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricPost) GetAnalysisType ¶ added in v15.1.0

func (o *MetricPost) GetAnalysisType() string

GetAnalysisType returns the AnalysisType field value if set, zero value otherwise.

func (*MetricPost) GetAnalysisTypeOk ¶ added in v15.1.0

func (o *MetricPost) GetAnalysisTypeOk() (*string, bool)

GetAnalysisTypeOk returns a tuple with the AnalysisType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetDescription ¶

func (o *MetricPost) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*MetricPost) GetDescriptionOk ¶

func (o *MetricPost) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetEventDefault ¶ added in v15.1.0

func (o *MetricPost) GetEventDefault() MetricEventDefaultRep

GetEventDefault returns the EventDefault field value if set, zero value otherwise.

func (*MetricPost) GetEventDefaultOk ¶ added in v15.1.0

func (o *MetricPost) GetEventDefaultOk() (*MetricEventDefaultRep, bool)

GetEventDefaultOk returns a tuple with the EventDefault field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetEventKey ¶

func (o *MetricPost) GetEventKey() string

GetEventKey returns the EventKey field value if set, zero value otherwise.

func (*MetricPost) GetEventKeyOk ¶

func (o *MetricPost) GetEventKeyOk() (*string, bool)

GetEventKeyOk returns a tuple with the EventKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetIsActive ¶

func (o *MetricPost) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*MetricPost) GetIsActiveOk ¶

func (o *MetricPost) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetIsNumeric ¶

func (o *MetricPost) GetIsNumeric() bool

GetIsNumeric returns the IsNumeric field value if set, zero value otherwise.

func (*MetricPost) GetIsNumericOk ¶

func (o *MetricPost) GetIsNumericOk() (*bool, bool)

GetIsNumericOk returns a tuple with the IsNumeric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetKey ¶

func (o *MetricPost) GetKey() string

GetKey returns the Key field value

func (*MetricPost) GetKeyOk ¶

func (o *MetricPost) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*MetricPost) GetKind ¶

func (o *MetricPost) GetKind() string

GetKind returns the Kind field value

func (*MetricPost) GetKindOk ¶

func (o *MetricPost) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*MetricPost) GetName ¶

func (o *MetricPost) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MetricPost) GetNameOk ¶

func (o *MetricPost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetPercentileValue ¶ added in v15.1.0

func (o *MetricPost) GetPercentileValue() int32

GetPercentileValue returns the PercentileValue field value if set, zero value otherwise.

func (*MetricPost) GetPercentileValueOk ¶ added in v15.1.0

func (o *MetricPost) GetPercentileValueOk() (*int32, bool)

GetPercentileValueOk returns a tuple with the PercentileValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetRandomizationUnits ¶

func (o *MetricPost) GetRandomizationUnits() []string

GetRandomizationUnits returns the RandomizationUnits field value if set, zero value otherwise.

func (*MetricPost) GetRandomizationUnitsOk ¶

func (o *MetricPost) GetRandomizationUnitsOk() ([]string, bool)

GetRandomizationUnitsOk returns a tuple with the RandomizationUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetSelector ¶

func (o *MetricPost) GetSelector() string

GetSelector returns the Selector field value if set, zero value otherwise.

func (*MetricPost) GetSelectorOk ¶

func (o *MetricPost) GetSelectorOk() (*string, bool)

GetSelectorOk returns a tuple with the Selector field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetSuccessCriteria ¶

func (o *MetricPost) GetSuccessCriteria() string

GetSuccessCriteria returns the SuccessCriteria field value if set, zero value otherwise.

func (*MetricPost) GetSuccessCriteriaOk ¶

func (o *MetricPost) GetSuccessCriteriaOk() (*string, bool)

GetSuccessCriteriaOk returns a tuple with the SuccessCriteria field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetTags ¶

func (o *MetricPost) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricPost) GetTagsOk ¶

func (o *MetricPost) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetUnit ¶

func (o *MetricPost) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*MetricPost) GetUnitAggregationType ¶

func (o *MetricPost) GetUnitAggregationType() string

GetUnitAggregationType returns the UnitAggregationType field value if set, zero value otherwise.

func (*MetricPost) GetUnitAggregationTypeOk ¶

func (o *MetricPost) GetUnitAggregationTypeOk() (*string, bool)

GetUnitAggregationTypeOk returns a tuple with the UnitAggregationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetUnitOk ¶

func (o *MetricPost) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) GetUrls ¶

func (o *MetricPost) GetUrls() []UrlPost

GetUrls returns the Urls field value if set, zero value otherwise.

func (*MetricPost) GetUrlsOk ¶

func (o *MetricPost) GetUrlsOk() ([]UrlPost, bool)

GetUrlsOk returns a tuple with the Urls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPost) HasAnalysisType ¶ added in v15.1.0

func (o *MetricPost) HasAnalysisType() bool

HasAnalysisType returns a boolean if a field has been set.

func (*MetricPost) HasDescription ¶

func (o *MetricPost) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MetricPost) HasEventDefault ¶ added in v15.1.0

func (o *MetricPost) HasEventDefault() bool

HasEventDefault returns a boolean if a field has been set.

func (*MetricPost) HasEventKey ¶

func (o *MetricPost) HasEventKey() bool

HasEventKey returns a boolean if a field has been set.

func (*MetricPost) HasIsActive ¶

func (o *MetricPost) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*MetricPost) HasIsNumeric ¶

func (o *MetricPost) HasIsNumeric() bool

HasIsNumeric returns a boolean if a field has been set.

func (*MetricPost) HasName ¶

func (o *MetricPost) HasName() bool

HasName returns a boolean if a field has been set.

func (*MetricPost) HasPercentileValue ¶ added in v15.1.0

func (o *MetricPost) HasPercentileValue() bool

HasPercentileValue returns a boolean if a field has been set.

func (*MetricPost) HasRandomizationUnits ¶

func (o *MetricPost) HasRandomizationUnits() bool

HasRandomizationUnits returns a boolean if a field has been set.

func (*MetricPost) HasSelector ¶

func (o *MetricPost) HasSelector() bool

HasSelector returns a boolean if a field has been set.

func (*MetricPost) HasSuccessCriteria ¶

func (o *MetricPost) HasSuccessCriteria() bool

HasSuccessCriteria returns a boolean if a field has been set.

func (*MetricPost) HasTags ¶

func (o *MetricPost) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*MetricPost) HasUnit ¶

func (o *MetricPost) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*MetricPost) HasUnitAggregationType ¶

func (o *MetricPost) HasUnitAggregationType() bool

HasUnitAggregationType returns a boolean if a field has been set.

func (*MetricPost) HasUrls ¶

func (o *MetricPost) HasUrls() bool

HasUrls returns a boolean if a field has been set.

func (MetricPost) MarshalJSON ¶

func (o MetricPost) MarshalJSON() ([]byte, error)

func (*MetricPost) SetAnalysisType ¶ added in v15.1.0

func (o *MetricPost) SetAnalysisType(v string)

SetAnalysisType gets a reference to the given string and assigns it to the AnalysisType field.

func (*MetricPost) SetDescription ¶

func (o *MetricPost) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*MetricPost) SetEventDefault ¶ added in v15.1.0

func (o *MetricPost) SetEventDefault(v MetricEventDefaultRep)

SetEventDefault gets a reference to the given MetricEventDefaultRep and assigns it to the EventDefault field.

func (*MetricPost) SetEventKey ¶

func (o *MetricPost) SetEventKey(v string)

SetEventKey gets a reference to the given string and assigns it to the EventKey field.

func (*MetricPost) SetIsActive ¶

func (o *MetricPost) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*MetricPost) SetIsNumeric ¶

func (o *MetricPost) SetIsNumeric(v bool)

SetIsNumeric gets a reference to the given bool and assigns it to the IsNumeric field.

func (*MetricPost) SetKey ¶

func (o *MetricPost) SetKey(v string)

SetKey sets field value

func (*MetricPost) SetKind ¶

func (o *MetricPost) SetKind(v string)

SetKind sets field value

func (*MetricPost) SetName ¶

func (o *MetricPost) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MetricPost) SetPercentileValue ¶ added in v15.1.0

func (o *MetricPost) SetPercentileValue(v int32)

SetPercentileValue gets a reference to the given int32 and assigns it to the PercentileValue field.

func (*MetricPost) SetRandomizationUnits ¶

func (o *MetricPost) SetRandomizationUnits(v []string)

SetRandomizationUnits gets a reference to the given []string and assigns it to the RandomizationUnits field.

func (*MetricPost) SetSelector ¶

func (o *MetricPost) SetSelector(v string)

SetSelector gets a reference to the given string and assigns it to the Selector field.

func (*MetricPost) SetSuccessCriteria ¶

func (o *MetricPost) SetSuccessCriteria(v string)

SetSuccessCriteria gets a reference to the given string and assigns it to the SuccessCriteria field.

func (*MetricPost) SetTags ¶

func (o *MetricPost) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricPost) SetUnit ¶

func (o *MetricPost) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*MetricPost) SetUnitAggregationType ¶

func (o *MetricPost) SetUnitAggregationType(v string)

SetUnitAggregationType gets a reference to the given string and assigns it to the UnitAggregationType field.

func (*MetricPost) SetUrls ¶

func (o *MetricPost) SetUrls(v []UrlPost)

SetUrls gets a reference to the given []UrlPost and assigns it to the Urls field.

type MetricRep ¶

type MetricRep struct {
	// The number of experiments using this metric
	ExperimentCount *int32 `json:"experimentCount,omitempty"`
	// The number of metric groups using this metric
	MetricGroupCount *int32 `json:"metricGroupCount,omitempty"`
	// The ID of this metric
	Id string `json:"_id"`
	// The version ID of the metric
	VersionId string `json:"_versionId"`
	// A unique key to reference the metric
	Key string `json:"key"`
	// A human-friendly name for the metric
	Name string `json:"name"`
	// The kind of event the metric tracks
	Kind string `json:"kind"`
	// The number of feature flags currently attached to this metric
	AttachedFlagCount *int32 `json:"_attachedFlagCount,omitempty"`
	// The location and content type of related resources
	Links  map[string]Link `json:"_links"`
	Site   *Link           `json:"_site,omitempty"`
	Access *Access         `json:"_access,omitempty"`
	// Tags for the metric
	Tags         []string      `json:"tags"`
	CreationDate int64         `json:"_creationDate"`
	LastModified *Modification `json:"lastModified,omitempty"`
	// The ID of the member who maintains this metric
	MaintainerId *string        `json:"maintainerId,omitempty"`
	Maintainer   *MemberSummary `json:"_maintainer,omitempty"`
	// Description of the metric
	Description *string `json:"description,omitempty"`
	// For custom metrics, whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>).
	IsNumeric *bool `json:"isNumeric,omitempty"`
	// For custom metrics, the success criteria
	SuccessCriteria *string `json:"successCriteria,omitempty"`
	// For numeric custom metrics, the unit of measure
	Unit *string `json:"unit,omitempty"`
	// For custom metrics, the event key to use in your code
	EventKey *string `json:"eventKey,omitempty"`
	// An array of randomization units allowed for this metric
	RandomizationUnits []string `json:"randomizationUnits,omitempty"`
	// The method by which multiple unit event values are aggregated
	UnitAggregationType *string `json:"unitAggregationType,omitempty"`
	// The method for analyzing metric events
	AnalysisType *string `json:"analysisType,omitempty"`
	// The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when <code>analysisType</code> is <code>percentile</code>.
	PercentileValue *int32                   `json:"percentileValue,omitempty"`
	EventDefault    *MetricEventDefaultRep   `json:"eventDefault,omitempty"`
	Experiments     []DependentExperimentRep `json:"experiments,omitempty"`
	// Metric groups that use this metric
	MetricGroups []DependentMetricGroupRep `json:"metricGroups,omitempty"`
	// Whether the metric is active
	IsActive *bool `json:"isActive,omitempty"`
	// Details on the flags attached to this metric
	AttachedFeatures []FlagListingRep `json:"_attachedFeatures,omitempty"`
	// Version of the metric
	Version *int32 `json:"_version,omitempty"`
	// For click metrics, the CSS selectors
	Selector *string                  `json:"selector,omitempty"`
	Urls     []map[string]interface{} `json:"urls,omitempty"`
}

MetricRep struct for MetricRep

func NewMetricRep ¶

func NewMetricRep(id string, versionId string, key string, name string, kind string, links map[string]Link, tags []string, creationDate int64) *MetricRep

NewMetricRep instantiates a new MetricRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricRepWithDefaults ¶

func NewMetricRepWithDefaults() *MetricRep

NewMetricRepWithDefaults instantiates a new MetricRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricRep) GetAccess ¶

func (o *MetricRep) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*MetricRep) GetAccessOk ¶

func (o *MetricRep) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetAnalysisType ¶

func (o *MetricRep) GetAnalysisType() string

GetAnalysisType returns the AnalysisType field value if set, zero value otherwise.

func (*MetricRep) GetAnalysisTypeOk ¶

func (o *MetricRep) GetAnalysisTypeOk() (*string, bool)

GetAnalysisTypeOk returns a tuple with the AnalysisType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetAttachedFeatures ¶

func (o *MetricRep) GetAttachedFeatures() []FlagListingRep

GetAttachedFeatures returns the AttachedFeatures field value if set, zero value otherwise.

func (*MetricRep) GetAttachedFeaturesOk ¶

func (o *MetricRep) GetAttachedFeaturesOk() ([]FlagListingRep, bool)

GetAttachedFeaturesOk returns a tuple with the AttachedFeatures field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetAttachedFlagCount ¶

func (o *MetricRep) GetAttachedFlagCount() int32

GetAttachedFlagCount returns the AttachedFlagCount field value if set, zero value otherwise.

func (*MetricRep) GetAttachedFlagCountOk ¶

func (o *MetricRep) GetAttachedFlagCountOk() (*int32, bool)

GetAttachedFlagCountOk returns a tuple with the AttachedFlagCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetCreationDate ¶

func (o *MetricRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*MetricRep) GetCreationDateOk ¶

func (o *MetricRep) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*MetricRep) GetDescription ¶

func (o *MetricRep) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*MetricRep) GetDescriptionOk ¶

func (o *MetricRep) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetEventDefault ¶

func (o *MetricRep) GetEventDefault() MetricEventDefaultRep

GetEventDefault returns the EventDefault field value if set, zero value otherwise.

func (*MetricRep) GetEventDefaultOk ¶

func (o *MetricRep) GetEventDefaultOk() (*MetricEventDefaultRep, bool)

GetEventDefaultOk returns a tuple with the EventDefault field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetEventKey ¶

func (o *MetricRep) GetEventKey() string

GetEventKey returns the EventKey field value if set, zero value otherwise.

func (*MetricRep) GetEventKeyOk ¶

func (o *MetricRep) GetEventKeyOk() (*string, bool)

GetEventKeyOk returns a tuple with the EventKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetExperimentCount ¶

func (o *MetricRep) GetExperimentCount() int32

GetExperimentCount returns the ExperimentCount field value if set, zero value otherwise.

func (*MetricRep) GetExperimentCountOk ¶

func (o *MetricRep) GetExperimentCountOk() (*int32, bool)

GetExperimentCountOk returns a tuple with the ExperimentCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetExperiments ¶

func (o *MetricRep) GetExperiments() []DependentExperimentRep

GetExperiments returns the Experiments field value if set, zero value otherwise.

func (*MetricRep) GetExperimentsOk ¶

func (o *MetricRep) GetExperimentsOk() ([]DependentExperimentRep, bool)

GetExperimentsOk returns a tuple with the Experiments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetId ¶

func (o *MetricRep) GetId() string

GetId returns the Id field value

func (*MetricRep) GetIdOk ¶

func (o *MetricRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricRep) GetIsActive ¶

func (o *MetricRep) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*MetricRep) GetIsActiveOk ¶

func (o *MetricRep) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetIsNumeric ¶

func (o *MetricRep) GetIsNumeric() bool

GetIsNumeric returns the IsNumeric field value if set, zero value otherwise.

func (*MetricRep) GetIsNumericOk ¶

func (o *MetricRep) GetIsNumericOk() (*bool, bool)

GetIsNumericOk returns a tuple with the IsNumeric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetKey ¶

func (o *MetricRep) GetKey() string

GetKey returns the Key field value

func (*MetricRep) GetKeyOk ¶

func (o *MetricRep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*MetricRep) GetKind ¶

func (o *MetricRep) GetKind() string

GetKind returns the Kind field value

func (*MetricRep) GetKindOk ¶

func (o *MetricRep) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*MetricRep) GetLastModified ¶

func (o *MetricRep) GetLastModified() Modification

GetLastModified returns the LastModified field value if set, zero value otherwise.

func (*MetricRep) GetLastModifiedOk ¶

func (o *MetricRep) GetLastModifiedOk() (*Modification, bool)

GetLastModifiedOk returns a tuple with the LastModified field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *MetricRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*MetricRep) GetLinksOk ¶

func (o *MetricRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*MetricRep) GetMaintainer ¶

func (o *MetricRep) GetMaintainer() MemberSummary

GetMaintainer returns the Maintainer field value if set, zero value otherwise.

func (*MetricRep) GetMaintainerId ¶

func (o *MetricRep) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value if set, zero value otherwise.

func (*MetricRep) GetMaintainerIdOk ¶

func (o *MetricRep) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetMaintainerOk ¶

func (o *MetricRep) GetMaintainerOk() (*MemberSummary, bool)

GetMaintainerOk returns a tuple with the Maintainer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetMetricGroupCount ¶

func (o *MetricRep) GetMetricGroupCount() int32

GetMetricGroupCount returns the MetricGroupCount field value if set, zero value otherwise.

func (*MetricRep) GetMetricGroupCountOk ¶

func (o *MetricRep) GetMetricGroupCountOk() (*int32, bool)

GetMetricGroupCountOk returns a tuple with the MetricGroupCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetMetricGroups ¶

func (o *MetricRep) GetMetricGroups() []DependentMetricGroupRep

GetMetricGroups returns the MetricGroups field value if set, zero value otherwise.

func (*MetricRep) GetMetricGroupsOk ¶

func (o *MetricRep) GetMetricGroupsOk() ([]DependentMetricGroupRep, bool)

GetMetricGroupsOk returns a tuple with the MetricGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetName ¶

func (o *MetricRep) GetName() string

GetName returns the Name field value

func (*MetricRep) GetNameOk ¶

func (o *MetricRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*MetricRep) GetPercentileValue ¶

func (o *MetricRep) GetPercentileValue() int32

GetPercentileValue returns the PercentileValue field value if set, zero value otherwise.

func (*MetricRep) GetPercentileValueOk ¶

func (o *MetricRep) GetPercentileValueOk() (*int32, bool)

GetPercentileValueOk returns a tuple with the PercentileValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetRandomizationUnits ¶

func (o *MetricRep) GetRandomizationUnits() []string

GetRandomizationUnits returns the RandomizationUnits field value if set, zero value otherwise.

func (*MetricRep) GetRandomizationUnitsOk ¶

func (o *MetricRep) GetRandomizationUnitsOk() ([]string, bool)

GetRandomizationUnitsOk returns a tuple with the RandomizationUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetSelector ¶

func (o *MetricRep) GetSelector() string

GetSelector returns the Selector field value if set, zero value otherwise.

func (*MetricRep) GetSelectorOk ¶

func (o *MetricRep) GetSelectorOk() (*string, bool)

GetSelectorOk returns a tuple with the Selector field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetSite ¶

func (o *MetricRep) GetSite() Link

GetSite returns the Site field value if set, zero value otherwise.

func (*MetricRep) GetSiteOk ¶

func (o *MetricRep) GetSiteOk() (*Link, bool)

GetSiteOk returns a tuple with the Site field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetSuccessCriteria ¶

func (o *MetricRep) GetSuccessCriteria() string

GetSuccessCriteria returns the SuccessCriteria field value if set, zero value otherwise.

func (*MetricRep) GetSuccessCriteriaOk ¶

func (o *MetricRep) GetSuccessCriteriaOk() (*string, bool)

GetSuccessCriteriaOk returns a tuple with the SuccessCriteria field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetTags ¶

func (o *MetricRep) GetTags() []string

GetTags returns the Tags field value

func (*MetricRep) GetTagsOk ¶

func (o *MetricRep) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*MetricRep) GetUnit ¶

func (o *MetricRep) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*MetricRep) GetUnitAggregationType ¶

func (o *MetricRep) GetUnitAggregationType() string

GetUnitAggregationType returns the UnitAggregationType field value if set, zero value otherwise.

func (*MetricRep) GetUnitAggregationTypeOk ¶

func (o *MetricRep) GetUnitAggregationTypeOk() (*string, bool)

GetUnitAggregationTypeOk returns a tuple with the UnitAggregationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetUnitOk ¶

func (o *MetricRep) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetUrls ¶

func (o *MetricRep) GetUrls() []map[string]interface{}

GetUrls returns the Urls field value if set, zero value otherwise.

func (*MetricRep) GetUrlsOk ¶

func (o *MetricRep) GetUrlsOk() ([]map[string]interface{}, bool)

GetUrlsOk returns a tuple with the Urls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) GetVersion ¶

func (o *MetricRep) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*MetricRep) GetVersionId ¶

func (o *MetricRep) GetVersionId() string

GetVersionId returns the VersionId field value

func (*MetricRep) GetVersionIdOk ¶

func (o *MetricRep) GetVersionIdOk() (*string, bool)

GetVersionIdOk returns a tuple with the VersionId field value and a boolean to check if the value has been set.

func (*MetricRep) GetVersionOk ¶

func (o *MetricRep) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRep) HasAccess ¶

func (o *MetricRep) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*MetricRep) HasAnalysisType ¶

func (o *MetricRep) HasAnalysisType() bool

HasAnalysisType returns a boolean if a field has been set.

func (*MetricRep) HasAttachedFeatures ¶

func (o *MetricRep) HasAttachedFeatures() bool

HasAttachedFeatures returns a boolean if a field has been set.

func (*MetricRep) HasAttachedFlagCount ¶

func (o *MetricRep) HasAttachedFlagCount() bool

HasAttachedFlagCount returns a boolean if a field has been set.

func (*MetricRep) HasDescription ¶

func (o *MetricRep) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MetricRep) HasEventDefault ¶

func (o *MetricRep) HasEventDefault() bool

HasEventDefault returns a boolean if a field has been set.

func (*MetricRep) HasEventKey ¶

func (o *MetricRep) HasEventKey() bool

HasEventKey returns a boolean if a field has been set.

func (*MetricRep) HasExperimentCount ¶

func (o *MetricRep) HasExperimentCount() bool

HasExperimentCount returns a boolean if a field has been set.

func (*MetricRep) HasExperiments ¶

func (o *MetricRep) HasExperiments() bool

HasExperiments returns a boolean if a field has been set.

func (*MetricRep) HasIsActive ¶

func (o *MetricRep) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*MetricRep) HasIsNumeric ¶

func (o *MetricRep) HasIsNumeric() bool

HasIsNumeric returns a boolean if a field has been set.

func (*MetricRep) HasLastModified ¶

func (o *MetricRep) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*MetricRep) HasMaintainer ¶

func (o *MetricRep) HasMaintainer() bool

HasMaintainer returns a boolean if a field has been set.

func (*MetricRep) HasMaintainerId ¶

func (o *MetricRep) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

func (*MetricRep) HasMetricGroupCount ¶

func (o *MetricRep) HasMetricGroupCount() bool

HasMetricGroupCount returns a boolean if a field has been set.

func (*MetricRep) HasMetricGroups ¶

func (o *MetricRep) HasMetricGroups() bool

HasMetricGroups returns a boolean if a field has been set.

func (*MetricRep) HasPercentileValue ¶

func (o *MetricRep) HasPercentileValue() bool

HasPercentileValue returns a boolean if a field has been set.

func (*MetricRep) HasRandomizationUnits ¶

func (o *MetricRep) HasRandomizationUnits() bool

HasRandomizationUnits returns a boolean if a field has been set.

func (*MetricRep) HasSelector ¶

func (o *MetricRep) HasSelector() bool

HasSelector returns a boolean if a field has been set.

func (*MetricRep) HasSite ¶

func (o *MetricRep) HasSite() bool

HasSite returns a boolean if a field has been set.

func (*MetricRep) HasSuccessCriteria ¶

func (o *MetricRep) HasSuccessCriteria() bool

HasSuccessCriteria returns a boolean if a field has been set.

func (*MetricRep) HasUnit ¶

func (o *MetricRep) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*MetricRep) HasUnitAggregationType ¶

func (o *MetricRep) HasUnitAggregationType() bool

HasUnitAggregationType returns a boolean if a field has been set.

func (*MetricRep) HasUrls ¶

func (o *MetricRep) HasUrls() bool

HasUrls returns a boolean if a field has been set.

func (*MetricRep) HasVersion ¶

func (o *MetricRep) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (MetricRep) MarshalJSON ¶

func (o MetricRep) MarshalJSON() ([]byte, error)

func (*MetricRep) SetAccess ¶

func (o *MetricRep) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*MetricRep) SetAnalysisType ¶

func (o *MetricRep) SetAnalysisType(v string)

SetAnalysisType gets a reference to the given string and assigns it to the AnalysisType field.

func (*MetricRep) SetAttachedFeatures ¶

func (o *MetricRep) SetAttachedFeatures(v []FlagListingRep)

SetAttachedFeatures gets a reference to the given []FlagListingRep and assigns it to the AttachedFeatures field.

func (*MetricRep) SetAttachedFlagCount ¶

func (o *MetricRep) SetAttachedFlagCount(v int32)

SetAttachedFlagCount gets a reference to the given int32 and assigns it to the AttachedFlagCount field.

func (*MetricRep) SetCreationDate ¶

func (o *MetricRep) SetCreationDate(v int64)

SetCreationDate sets field value

func (*MetricRep) SetDescription ¶

func (o *MetricRep) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*MetricRep) SetEventDefault ¶

func (o *MetricRep) SetEventDefault(v MetricEventDefaultRep)

SetEventDefault gets a reference to the given MetricEventDefaultRep and assigns it to the EventDefault field.

func (*MetricRep) SetEventKey ¶

func (o *MetricRep) SetEventKey(v string)

SetEventKey gets a reference to the given string and assigns it to the EventKey field.

func (*MetricRep) SetExperimentCount ¶

func (o *MetricRep) SetExperimentCount(v int32)

SetExperimentCount gets a reference to the given int32 and assigns it to the ExperimentCount field.

func (*MetricRep) SetExperiments ¶

func (o *MetricRep) SetExperiments(v []DependentExperimentRep)

SetExperiments gets a reference to the given []DependentExperimentRep and assigns it to the Experiments field.

func (*MetricRep) SetId ¶

func (o *MetricRep) SetId(v string)

SetId sets field value

func (*MetricRep) SetIsActive ¶

func (o *MetricRep) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*MetricRep) SetIsNumeric ¶

func (o *MetricRep) SetIsNumeric(v bool)

SetIsNumeric gets a reference to the given bool and assigns it to the IsNumeric field.

func (*MetricRep) SetKey ¶

func (o *MetricRep) SetKey(v string)

SetKey sets field value

func (*MetricRep) SetKind ¶

func (o *MetricRep) SetKind(v string)

SetKind sets field value

func (*MetricRep) SetLastModified ¶

func (o *MetricRep) SetLastModified(v Modification)

SetLastModified gets a reference to the given Modification and assigns it to the LastModified field.

func (o *MetricRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*MetricRep) SetMaintainer ¶

func (o *MetricRep) SetMaintainer(v MemberSummary)

SetMaintainer gets a reference to the given MemberSummary and assigns it to the Maintainer field.

func (*MetricRep) SetMaintainerId ¶

func (o *MetricRep) SetMaintainerId(v string)

SetMaintainerId gets a reference to the given string and assigns it to the MaintainerId field.

func (*MetricRep) SetMetricGroupCount ¶

func (o *MetricRep) SetMetricGroupCount(v int32)

SetMetricGroupCount gets a reference to the given int32 and assigns it to the MetricGroupCount field.

func (*MetricRep) SetMetricGroups ¶

func (o *MetricRep) SetMetricGroups(v []DependentMetricGroupRep)

SetMetricGroups gets a reference to the given []DependentMetricGroupRep and assigns it to the MetricGroups field.

func (*MetricRep) SetName ¶

func (o *MetricRep) SetName(v string)

SetName sets field value

func (*MetricRep) SetPercentileValue ¶

func (o *MetricRep) SetPercentileValue(v int32)

SetPercentileValue gets a reference to the given int32 and assigns it to the PercentileValue field.

func (*MetricRep) SetRandomizationUnits ¶

func (o *MetricRep) SetRandomizationUnits(v []string)

SetRandomizationUnits gets a reference to the given []string and assigns it to the RandomizationUnits field.

func (*MetricRep) SetSelector ¶

func (o *MetricRep) SetSelector(v string)

SetSelector gets a reference to the given string and assigns it to the Selector field.

func (*MetricRep) SetSite ¶

func (o *MetricRep) SetSite(v Link)

SetSite gets a reference to the given Link and assigns it to the Site field.

func (*MetricRep) SetSuccessCriteria ¶

func (o *MetricRep) SetSuccessCriteria(v string)

SetSuccessCriteria gets a reference to the given string and assigns it to the SuccessCriteria field.

func (*MetricRep) SetTags ¶

func (o *MetricRep) SetTags(v []string)

SetTags sets field value

func (*MetricRep) SetUnit ¶

func (o *MetricRep) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*MetricRep) SetUnitAggregationType ¶

func (o *MetricRep) SetUnitAggregationType(v string)

SetUnitAggregationType gets a reference to the given string and assigns it to the UnitAggregationType field.

func (*MetricRep) SetUrls ¶

func (o *MetricRep) SetUrls(v []map[string]interface{})

SetUrls gets a reference to the given []map[string]interface{} and assigns it to the Urls field.

func (*MetricRep) SetVersion ¶

func (o *MetricRep) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (*MetricRep) SetVersionId ¶

func (o *MetricRep) SetVersionId(v string)

SetVersionId sets field value

type MetricSeen ¶

type MetricSeen struct {
	// Whether the metric has received an event for this iteration
	Ever *bool `json:"ever,omitempty"`
	// Timestamp of when the metric most recently received an event for this iteration
	Timestamp *int64 `json:"timestamp,omitempty"`
}

MetricSeen struct for MetricSeen

func NewMetricSeen ¶

func NewMetricSeen() *MetricSeen

NewMetricSeen instantiates a new MetricSeen object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricSeenWithDefaults ¶

func NewMetricSeenWithDefaults() *MetricSeen

NewMetricSeenWithDefaults instantiates a new MetricSeen object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricSeen) GetEver ¶

func (o *MetricSeen) GetEver() bool

GetEver returns the Ever field value if set, zero value otherwise.

func (*MetricSeen) GetEverOk ¶

func (o *MetricSeen) GetEverOk() (*bool, bool)

GetEverOk returns a tuple with the Ever field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSeen) GetTimestamp ¶

func (o *MetricSeen) GetTimestamp() int64

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*MetricSeen) GetTimestampOk ¶

func (o *MetricSeen) GetTimestampOk() (*int64, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSeen) HasEver ¶

func (o *MetricSeen) HasEver() bool

HasEver returns a boolean if a field has been set.

func (*MetricSeen) HasTimestamp ¶

func (o *MetricSeen) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (MetricSeen) MarshalJSON ¶

func (o MetricSeen) MarshalJSON() ([]byte, error)

func (*MetricSeen) SetEver ¶

func (o *MetricSeen) SetEver(v bool)

SetEver gets a reference to the given bool and assigns it to the Ever field.

func (*MetricSeen) SetTimestamp ¶

func (o *MetricSeen) SetTimestamp(v int64)

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

type MetricV2Rep ¶

type MetricV2Rep struct {
	// The metric key
	Key string `json:"key"`
	// The version ID of the metric
	VersionId *string `json:"_versionId,omitempty"`
	// The metric name
	Name string `json:"name"`
	// The kind of event the metric tracks
	Kind string `json:"kind"`
	// For custom metrics, whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>).
	IsNumeric *bool `json:"isNumeric,omitempty"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

MetricV2Rep struct for MetricV2Rep

func NewMetricV2Rep ¶

func NewMetricV2Rep(key string, name string, kind string, links map[string]Link) *MetricV2Rep

NewMetricV2Rep instantiates a new MetricV2Rep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricV2RepWithDefaults ¶

func NewMetricV2RepWithDefaults() *MetricV2Rep

NewMetricV2RepWithDefaults instantiates a new MetricV2Rep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricV2Rep) GetIsNumeric ¶

func (o *MetricV2Rep) GetIsNumeric() bool

GetIsNumeric returns the IsNumeric field value if set, zero value otherwise.

func (*MetricV2Rep) GetIsNumericOk ¶

func (o *MetricV2Rep) GetIsNumericOk() (*bool, bool)

GetIsNumericOk returns a tuple with the IsNumeric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricV2Rep) GetKey ¶

func (o *MetricV2Rep) GetKey() string

GetKey returns the Key field value

func (*MetricV2Rep) GetKeyOk ¶

func (o *MetricV2Rep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*MetricV2Rep) GetKind ¶

func (o *MetricV2Rep) GetKind() string

GetKind returns the Kind field value

func (*MetricV2Rep) GetKindOk ¶

func (o *MetricV2Rep) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (o *MetricV2Rep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*MetricV2Rep) GetLinksOk ¶

func (o *MetricV2Rep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*MetricV2Rep) GetName ¶

func (o *MetricV2Rep) GetName() string

GetName returns the Name field value

func (*MetricV2Rep) GetNameOk ¶

func (o *MetricV2Rep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*MetricV2Rep) GetVersionId ¶

func (o *MetricV2Rep) GetVersionId() string

GetVersionId returns the VersionId field value if set, zero value otherwise.

func (*MetricV2Rep) GetVersionIdOk ¶

func (o *MetricV2Rep) GetVersionIdOk() (*string, bool)

GetVersionIdOk returns a tuple with the VersionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricV2Rep) HasIsNumeric ¶

func (o *MetricV2Rep) HasIsNumeric() bool

HasIsNumeric returns a boolean if a field has been set.

func (*MetricV2Rep) HasVersionId ¶

func (o *MetricV2Rep) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

func (MetricV2Rep) MarshalJSON ¶

func (o MetricV2Rep) MarshalJSON() ([]byte, error)

func (*MetricV2Rep) SetIsNumeric ¶

func (o *MetricV2Rep) SetIsNumeric(v bool)

SetIsNumeric gets a reference to the given bool and assigns it to the IsNumeric field.

func (*MetricV2Rep) SetKey ¶

func (o *MetricV2Rep) SetKey(v string)

SetKey sets field value

func (*MetricV2Rep) SetKind ¶

func (o *MetricV2Rep) SetKind(v string)

SetKind sets field value

func (o *MetricV2Rep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*MetricV2Rep) SetName ¶

func (o *MetricV2Rep) SetName(v string)

SetName sets field value

func (*MetricV2Rep) SetVersionId ¶

func (o *MetricV2Rep) SetVersionId(v string)

SetVersionId gets a reference to the given string and assigns it to the VersionId field.

type MetricsApiService ¶

type MetricsApiService service

MetricsApiService MetricsApi service

func (*MetricsApiService) DeleteMetric ¶

func (a *MetricsApiService) DeleteMetric(ctx context.Context, projectKey string, metricKey string) ApiDeleteMetricRequest

DeleteMetric Delete metric

Delete a metric by key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param metricKey The metric key
@return ApiDeleteMetricRequest

func (*MetricsApiService) DeleteMetricExecute ¶

func (a *MetricsApiService) DeleteMetricExecute(r ApiDeleteMetricRequest) (*http.Response, error)

Execute executes the request

func (*MetricsApiService) GetMetric ¶

func (a *MetricsApiService) GetMetric(ctx context.Context, projectKey string, metricKey string) ApiGetMetricRequest

GetMetric Get metric

Get information for a single metric from the specific project.

### Expanding the metric response LaunchDarkly supports four fields for expanding the "Get metric" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with any of the following fields:

- `experiments` includes all experiments from the specific project that use the metric - `experimentCount` includes the number of experiments from the specific project that use the metric - `metricGroups` includes all metric groups from the specific project that use the metric - `metricGroupCount` includes the number of metric groups from the specific project that use the metric

For example, `expand=experiments` includes the `experiments` field in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param metricKey The metric key
@return ApiGetMetricRequest

func (*MetricsApiService) GetMetricExecute ¶

func (a *MetricsApiService) GetMetricExecute(r ApiGetMetricRequest) (*MetricRep, *http.Response, error)

Execute executes the request

@return MetricRep

func (*MetricsApiService) GetMetrics ¶

func (a *MetricsApiService) GetMetrics(ctx context.Context, projectKey string) ApiGetMetricsRequest

GetMetrics List metrics

Get a list of all metrics for the specified project.

### Expanding the metric list response LaunchDarkly supports expanding the "List metrics" response. By default, the expandable field is **not** included in the response.

To expand the response, append the `expand` query parameter and add the following supported field:

- `experimentCount` includes the number of experiments from the specific project that use the metric

For example, `expand=experimentCount` includes the `experimentCount` field for each metric in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiGetMetricsRequest

func (*MetricsApiService) GetMetricsExecute ¶

Execute executes the request

@return MetricCollectionRep

func (*MetricsApiService) PatchMetric ¶

func (a *MetricsApiService) PatchMetric(ctx context.Context, projectKey string, metricKey string) ApiPatchMetricRequest

PatchMetric Update metric

Patch a metric by key. Updating a metric uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param metricKey The metric key
@return ApiPatchMetricRequest

func (*MetricsApiService) PatchMetricExecute ¶

func (a *MetricsApiService) PatchMetricExecute(r ApiPatchMetricRequest) (*MetricRep, *http.Response, error)

Execute executes the request

@return MetricRep

func (*MetricsApiService) PostMetric ¶

func (a *MetricsApiService) PostMetric(ctx context.Context, projectKey string) ApiPostMetricRequest

PostMetric Create metric

Create a new metric in the specified project. The expected `POST` body differs depending on the specified `kind` property.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiPostMetricRequest

func (*MetricsApiService) PostMetricExecute ¶

func (a *MetricsApiService) PostMetricExecute(r ApiPostMetricRequest) (*MetricRep, *http.Response, error)

Execute executes the request

@return MetricRep

type MetricsBetaApiService ¶

type MetricsBetaApiService service

MetricsBetaApiService MetricsBetaApi service

func (*MetricsBetaApiService) CreateMetricGroup ¶

func (a *MetricsBetaApiService) CreateMetricGroup(ctx context.Context, projectKey string) ApiCreateMetricGroupRequest

CreateMetricGroup Create metric group

Create a new metric group in the specified project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiCreateMetricGroupRequest

func (*MetricsBetaApiService) CreateMetricGroupExecute ¶

Execute executes the request

@return MetricGroupRep

func (*MetricsBetaApiService) DeleteMetricGroup ¶

func (a *MetricsBetaApiService) DeleteMetricGroup(ctx context.Context, projectKey string, metricGroupKey string) ApiDeleteMetricGroupRequest

DeleteMetricGroup Delete metric group

Delete a metric group by key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param metricGroupKey The metric group key
@return ApiDeleteMetricGroupRequest

func (*MetricsBetaApiService) DeleteMetricGroupExecute ¶

func (a *MetricsBetaApiService) DeleteMetricGroupExecute(r ApiDeleteMetricGroupRequest) (*http.Response, error)

Execute executes the request

func (*MetricsBetaApiService) GetMetricGroup ¶

func (a *MetricsBetaApiService) GetMetricGroup(ctx context.Context, projectKey string, metricGroupKey string) ApiGetMetricGroupRequest

GetMetricGroup Get metric group

Get information for a single metric group from the specific project.

### Expanding the metric group response LaunchDarkly supports two fields for expanding the "Get metric group" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with either or both of the following fields:

- `experiments` includes all experiments from the specific project that use the metric group - `experimentCount` includes the number of experiments from the specific project that use the metric group

For example, `expand=experiments` includes the `experiments` field in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param metricGroupKey The metric group key
@return ApiGetMetricGroupRequest

func (*MetricsBetaApiService) GetMetricGroupExecute ¶

Execute executes the request

@return MetricGroupRep

func (*MetricsBetaApiService) GetMetricGroups ¶

func (a *MetricsBetaApiService) GetMetricGroups(ctx context.Context, projectKey string) ApiGetMetricGroupsRequest

GetMetricGroups List metric groups

Get a list of all metric groups for the specified project.

### Expanding the metric groups response LaunchDarkly supports one field for expanding the "Get metric groups" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with the following field:

- `experiments` includes all experiments from the specific project that use the metric group

For example, `expand=experiments` includes the `experiments` field in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiGetMetricGroupsRequest

func (*MetricsBetaApiService) GetMetricGroupsExecute ¶

Execute executes the request

@return MetricGroupCollectionRep

func (*MetricsBetaApiService) PatchMetricGroup ¶

func (a *MetricsBetaApiService) PatchMetricGroup(ctx context.Context, projectKey string, metricGroupKey string) ApiPatchMetricGroupRequest

PatchMetricGroup Patch metric group

Patch a metric group by key. Updating a metric group uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param metricGroupKey The metric group key
@return ApiPatchMetricGroupRequest

func (*MetricsBetaApiService) PatchMetricGroupExecute ¶

Execute executes the request

@return MetricGroupRep

type MigrationSafetyIssueRep ¶

type MigrationSafetyIssueRep struct {
	// The ID of the rule which caused this issue
	CausingRuleId *string `json:"causingRuleId,omitempty"`
	// A list of the IDs of the rules which are affected by this issue. <code>fallthrough</code> is a sentinel value for the default rule.
	AffectedRuleIds []string `json:"affectedRuleIds,omitempty"`
	// A description of the issue that <code>causingRuleId</code> has caused for <code>affectedRuleIds</code>.
	Issue *string `json:"issue,omitempty"`
	// Whether the changes caused by <code>causingRuleId</code> bring inconsistency to the old system
	OldSystemAffected *bool `json:"oldSystemAffected,omitempty"`
}

MigrationSafetyIssueRep struct for MigrationSafetyIssueRep

func NewMigrationSafetyIssueRep ¶

func NewMigrationSafetyIssueRep() *MigrationSafetyIssueRep

NewMigrationSafetyIssueRep instantiates a new MigrationSafetyIssueRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMigrationSafetyIssueRepWithDefaults ¶

func NewMigrationSafetyIssueRepWithDefaults() *MigrationSafetyIssueRep

NewMigrationSafetyIssueRepWithDefaults instantiates a new MigrationSafetyIssueRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MigrationSafetyIssueRep) GetAffectedRuleIds ¶

func (o *MigrationSafetyIssueRep) GetAffectedRuleIds() []string

GetAffectedRuleIds returns the AffectedRuleIds field value if set, zero value otherwise.

func (*MigrationSafetyIssueRep) GetAffectedRuleIdsOk ¶

func (o *MigrationSafetyIssueRep) GetAffectedRuleIdsOk() ([]string, bool)

GetAffectedRuleIdsOk returns a tuple with the AffectedRuleIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MigrationSafetyIssueRep) GetCausingRuleId ¶

func (o *MigrationSafetyIssueRep) GetCausingRuleId() string

GetCausingRuleId returns the CausingRuleId field value if set, zero value otherwise.

func (*MigrationSafetyIssueRep) GetCausingRuleIdOk ¶

func (o *MigrationSafetyIssueRep) GetCausingRuleIdOk() (*string, bool)

GetCausingRuleIdOk returns a tuple with the CausingRuleId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MigrationSafetyIssueRep) GetIssue ¶

func (o *MigrationSafetyIssueRep) GetIssue() string

GetIssue returns the Issue field value if set, zero value otherwise.

func (*MigrationSafetyIssueRep) GetIssueOk ¶

func (o *MigrationSafetyIssueRep) GetIssueOk() (*string, bool)

GetIssueOk returns a tuple with the Issue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MigrationSafetyIssueRep) GetOldSystemAffected ¶

func (o *MigrationSafetyIssueRep) GetOldSystemAffected() bool

GetOldSystemAffected returns the OldSystemAffected field value if set, zero value otherwise.

func (*MigrationSafetyIssueRep) GetOldSystemAffectedOk ¶

func (o *MigrationSafetyIssueRep) GetOldSystemAffectedOk() (*bool, bool)

GetOldSystemAffectedOk returns a tuple with the OldSystemAffected field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MigrationSafetyIssueRep) HasAffectedRuleIds ¶

func (o *MigrationSafetyIssueRep) HasAffectedRuleIds() bool

HasAffectedRuleIds returns a boolean if a field has been set.

func (*MigrationSafetyIssueRep) HasCausingRuleId ¶

func (o *MigrationSafetyIssueRep) HasCausingRuleId() bool

HasCausingRuleId returns a boolean if a field has been set.

func (*MigrationSafetyIssueRep) HasIssue ¶

func (o *MigrationSafetyIssueRep) HasIssue() bool

HasIssue returns a boolean if a field has been set.

func (*MigrationSafetyIssueRep) HasOldSystemAffected ¶

func (o *MigrationSafetyIssueRep) HasOldSystemAffected() bool

HasOldSystemAffected returns a boolean if a field has been set.

func (MigrationSafetyIssueRep) MarshalJSON ¶

func (o MigrationSafetyIssueRep) MarshalJSON() ([]byte, error)

func (*MigrationSafetyIssueRep) SetAffectedRuleIds ¶

func (o *MigrationSafetyIssueRep) SetAffectedRuleIds(v []string)

SetAffectedRuleIds gets a reference to the given []string and assigns it to the AffectedRuleIds field.

func (*MigrationSafetyIssueRep) SetCausingRuleId ¶

func (o *MigrationSafetyIssueRep) SetCausingRuleId(v string)

SetCausingRuleId gets a reference to the given string and assigns it to the CausingRuleId field.

func (*MigrationSafetyIssueRep) SetIssue ¶

func (o *MigrationSafetyIssueRep) SetIssue(v string)

SetIssue gets a reference to the given string and assigns it to the Issue field.

func (*MigrationSafetyIssueRep) SetOldSystemAffected ¶

func (o *MigrationSafetyIssueRep) SetOldSystemAffected(v bool)

SetOldSystemAffected gets a reference to the given bool and assigns it to the OldSystemAffected field.

type MigrationSettingsPost ¶

type MigrationSettingsPost struct {
	// Context kind for a migration with 6 stages, where data is being moved
	ContextKind *string `json:"contextKind,omitempty"`
	StageCount  int32   `json:"stageCount"`
}

MigrationSettingsPost struct for MigrationSettingsPost

func NewMigrationSettingsPost ¶

func NewMigrationSettingsPost(stageCount int32) *MigrationSettingsPost

NewMigrationSettingsPost instantiates a new MigrationSettingsPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMigrationSettingsPostWithDefaults ¶

func NewMigrationSettingsPostWithDefaults() *MigrationSettingsPost

NewMigrationSettingsPostWithDefaults instantiates a new MigrationSettingsPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MigrationSettingsPost) GetContextKind ¶

func (o *MigrationSettingsPost) GetContextKind() string

GetContextKind returns the ContextKind field value if set, zero value otherwise.

func (*MigrationSettingsPost) GetContextKindOk ¶

func (o *MigrationSettingsPost) GetContextKindOk() (*string, bool)

GetContextKindOk returns a tuple with the ContextKind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MigrationSettingsPost) GetStageCount ¶

func (o *MigrationSettingsPost) GetStageCount() int32

GetStageCount returns the StageCount field value

func (*MigrationSettingsPost) GetStageCountOk ¶

func (o *MigrationSettingsPost) GetStageCountOk() (*int32, bool)

GetStageCountOk returns a tuple with the StageCount field value and a boolean to check if the value has been set.

func (*MigrationSettingsPost) HasContextKind ¶

func (o *MigrationSettingsPost) HasContextKind() bool

HasContextKind returns a boolean if a field has been set.

func (MigrationSettingsPost) MarshalJSON ¶

func (o MigrationSettingsPost) MarshalJSON() ([]byte, error)

func (*MigrationSettingsPost) SetContextKind ¶

func (o *MigrationSettingsPost) SetContextKind(v string)

SetContextKind gets a reference to the given string and assigns it to the ContextKind field.

func (*MigrationSettingsPost) SetStageCount ¶

func (o *MigrationSettingsPost) SetStageCount(v int32)

SetStageCount sets field value

type Modification ¶

type Modification struct {
	Date *time.Time `json:"date,omitempty"`
}

Modification struct for Modification

func NewModification ¶

func NewModification() *Modification

NewModification instantiates a new Modification object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewModificationWithDefaults ¶

func NewModificationWithDefaults() *Modification

NewModificationWithDefaults instantiates a new Modification object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Modification) GetDate ¶

func (o *Modification) GetDate() time.Time

GetDate returns the Date field value if set, zero value otherwise.

func (*Modification) GetDateOk ¶

func (o *Modification) GetDateOk() (*time.Time, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Modification) HasDate ¶

func (o *Modification) HasDate() bool

HasDate returns a boolean if a field has been set.

func (Modification) MarshalJSON ¶

func (o Modification) MarshalJSON() ([]byte, error)

func (*Modification) SetDate ¶

func (o *Modification) SetDate(v time.Time)

SetDate gets a reference to the given time.Time and assigns it to the Date field.

type MultiEnvironmentDependentFlag ¶

type MultiEnvironmentDependentFlag struct {
	// The flag name
	Name *string `json:"name,omitempty"`
	// The flag key
	Key string `json:"key"`
	// A list of environments in which the dependent flag appears
	Environments []DependentFlagEnvironment `json:"environments"`
}

MultiEnvironmentDependentFlag struct for MultiEnvironmentDependentFlag

func NewMultiEnvironmentDependentFlag ¶

func NewMultiEnvironmentDependentFlag(key string, environments []DependentFlagEnvironment) *MultiEnvironmentDependentFlag

NewMultiEnvironmentDependentFlag instantiates a new MultiEnvironmentDependentFlag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMultiEnvironmentDependentFlagWithDefaults ¶

func NewMultiEnvironmentDependentFlagWithDefaults() *MultiEnvironmentDependentFlag

NewMultiEnvironmentDependentFlagWithDefaults instantiates a new MultiEnvironmentDependentFlag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MultiEnvironmentDependentFlag) GetEnvironments ¶

GetEnvironments returns the Environments field value

func (*MultiEnvironmentDependentFlag) GetEnvironmentsOk ¶

func (o *MultiEnvironmentDependentFlag) GetEnvironmentsOk() ([]DependentFlagEnvironment, bool)

GetEnvironmentsOk returns a tuple with the Environments field value and a boolean to check if the value has been set.

func (*MultiEnvironmentDependentFlag) GetKey ¶

GetKey returns the Key field value

func (*MultiEnvironmentDependentFlag) GetKeyOk ¶

func (o *MultiEnvironmentDependentFlag) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*MultiEnvironmentDependentFlag) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*MultiEnvironmentDependentFlag) GetNameOk ¶

func (o *MultiEnvironmentDependentFlag) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MultiEnvironmentDependentFlag) HasName ¶

func (o *MultiEnvironmentDependentFlag) HasName() bool

HasName returns a boolean if a field has been set.

func (MultiEnvironmentDependentFlag) MarshalJSON ¶

func (o MultiEnvironmentDependentFlag) MarshalJSON() ([]byte, error)

func (*MultiEnvironmentDependentFlag) SetEnvironments ¶

SetEnvironments sets field value

func (*MultiEnvironmentDependentFlag) SetKey ¶

SetKey sets field value

func (*MultiEnvironmentDependentFlag) SetName ¶

func (o *MultiEnvironmentDependentFlag) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type MultiEnvironmentDependentFlags ¶

type MultiEnvironmentDependentFlags struct {
	// An array of dependent flags with their environment information
	Items []MultiEnvironmentDependentFlag `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	Site  Link            `json:"_site"`
}

MultiEnvironmentDependentFlags struct for MultiEnvironmentDependentFlags

func NewMultiEnvironmentDependentFlags ¶

func NewMultiEnvironmentDependentFlags(items []MultiEnvironmentDependentFlag, links map[string]Link, site Link) *MultiEnvironmentDependentFlags

NewMultiEnvironmentDependentFlags instantiates a new MultiEnvironmentDependentFlags object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMultiEnvironmentDependentFlagsWithDefaults ¶

func NewMultiEnvironmentDependentFlagsWithDefaults() *MultiEnvironmentDependentFlags

NewMultiEnvironmentDependentFlagsWithDefaults instantiates a new MultiEnvironmentDependentFlags object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MultiEnvironmentDependentFlags) GetItems ¶

GetItems returns the Items field value

func (*MultiEnvironmentDependentFlags) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *MultiEnvironmentDependentFlags) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*MultiEnvironmentDependentFlags) GetLinksOk ¶

func (o *MultiEnvironmentDependentFlags) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*MultiEnvironmentDependentFlags) GetSite ¶

func (o *MultiEnvironmentDependentFlags) GetSite() Link

GetSite returns the Site field value

func (*MultiEnvironmentDependentFlags) GetSiteOk ¶

func (o *MultiEnvironmentDependentFlags) GetSiteOk() (*Link, bool)

GetSiteOk returns a tuple with the Site field value and a boolean to check if the value has been set.

func (MultiEnvironmentDependentFlags) MarshalJSON ¶

func (o MultiEnvironmentDependentFlags) MarshalJSON() ([]byte, error)

func (*MultiEnvironmentDependentFlags) SetItems ¶

SetItems sets field value

func (o *MultiEnvironmentDependentFlags) SetLinks(v map[string]Link)

SetLinks sets field value

func (*MultiEnvironmentDependentFlags) SetSite ¶

func (o *MultiEnvironmentDependentFlags) SetSite(v Link)

SetSite sets field value

type NewMemberForm ¶

type NewMemberForm struct {
	// The member's email
	Email string `json:"email"`
	// The member's password
	Password *string `json:"password,omitempty"`
	// The member's first name
	FirstName *string `json:"firstName,omitempty"`
	// The member's last name
	LastName *string `json:"lastName,omitempty"`
	// The member's built-in role
	Role *string `json:"role,omitempty"`
	// An array of the member's custom roles
	CustomRoles []string `json:"customRoles,omitempty"`
	// An array of the member's teams
	TeamKeys []string `json:"teamKeys,omitempty"`
}

NewMemberForm struct for NewMemberForm

func NewNewMemberForm ¶

func NewNewMemberForm(email string) *NewMemberForm

NewNewMemberForm instantiates a new NewMemberForm object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNewMemberFormWithDefaults ¶

func NewNewMemberFormWithDefaults() *NewMemberForm

NewNewMemberFormWithDefaults instantiates a new NewMemberForm object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NewMemberForm) GetCustomRoles ¶

func (o *NewMemberForm) GetCustomRoles() []string

GetCustomRoles returns the CustomRoles field value if set, zero value otherwise.

func (*NewMemberForm) GetCustomRolesOk ¶

func (o *NewMemberForm) GetCustomRolesOk() ([]string, bool)

GetCustomRolesOk returns a tuple with the CustomRoles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewMemberForm) GetEmail ¶

func (o *NewMemberForm) GetEmail() string

GetEmail returns the Email field value

func (*NewMemberForm) GetEmailOk ¶

func (o *NewMemberForm) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*NewMemberForm) GetFirstName ¶

func (o *NewMemberForm) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*NewMemberForm) GetFirstNameOk ¶

func (o *NewMemberForm) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewMemberForm) GetLastName ¶

func (o *NewMemberForm) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*NewMemberForm) GetLastNameOk ¶

func (o *NewMemberForm) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewMemberForm) GetPassword ¶

func (o *NewMemberForm) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*NewMemberForm) GetPasswordOk ¶

func (o *NewMemberForm) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewMemberForm) GetRole ¶

func (o *NewMemberForm) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*NewMemberForm) GetRoleOk ¶

func (o *NewMemberForm) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewMemberForm) GetTeamKeys ¶

func (o *NewMemberForm) GetTeamKeys() []string

GetTeamKeys returns the TeamKeys field value if set, zero value otherwise.

func (*NewMemberForm) GetTeamKeysOk ¶

func (o *NewMemberForm) GetTeamKeysOk() ([]string, bool)

GetTeamKeysOk returns a tuple with the TeamKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewMemberForm) HasCustomRoles ¶

func (o *NewMemberForm) HasCustomRoles() bool

HasCustomRoles returns a boolean if a field has been set.

func (*NewMemberForm) HasFirstName ¶

func (o *NewMemberForm) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*NewMemberForm) HasLastName ¶

func (o *NewMemberForm) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*NewMemberForm) HasPassword ¶

func (o *NewMemberForm) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*NewMemberForm) HasRole ¶

func (o *NewMemberForm) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*NewMemberForm) HasTeamKeys ¶

func (o *NewMemberForm) HasTeamKeys() bool

HasTeamKeys returns a boolean if a field has been set.

func (NewMemberForm) MarshalJSON ¶

func (o NewMemberForm) MarshalJSON() ([]byte, error)

func (*NewMemberForm) SetCustomRoles ¶

func (o *NewMemberForm) SetCustomRoles(v []string)

SetCustomRoles gets a reference to the given []string and assigns it to the CustomRoles field.

func (*NewMemberForm) SetEmail ¶

func (o *NewMemberForm) SetEmail(v string)

SetEmail sets field value

func (*NewMemberForm) SetFirstName ¶

func (o *NewMemberForm) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*NewMemberForm) SetLastName ¶

func (o *NewMemberForm) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*NewMemberForm) SetPassword ¶

func (o *NewMemberForm) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*NewMemberForm) SetRole ¶

func (o *NewMemberForm) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*NewMemberForm) SetTeamKeys ¶

func (o *NewMemberForm) SetTeamKeys(v []string)

SetTeamKeys gets a reference to the given []string and assigns it to the TeamKeys field.

type NotFoundErrorRep ¶

type NotFoundErrorRep struct {
	// Specific error code encountered
	Code string `json:"code"`
	// Description of the error
	Message string `json:"message"`
}

NotFoundErrorRep struct for NotFoundErrorRep

func NewNotFoundErrorRep ¶

func NewNotFoundErrorRep(code string, message string) *NotFoundErrorRep

NewNotFoundErrorRep instantiates a new NotFoundErrorRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNotFoundErrorRepWithDefaults ¶

func NewNotFoundErrorRepWithDefaults() *NotFoundErrorRep

NewNotFoundErrorRepWithDefaults instantiates a new NotFoundErrorRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NotFoundErrorRep) GetCode ¶

func (o *NotFoundErrorRep) GetCode() string

GetCode returns the Code field value

func (*NotFoundErrorRep) GetCodeOk ¶

func (o *NotFoundErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*NotFoundErrorRep) GetMessage ¶

func (o *NotFoundErrorRep) GetMessage() string

GetMessage returns the Message field value

func (*NotFoundErrorRep) GetMessageOk ¶

func (o *NotFoundErrorRep) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (NotFoundErrorRep) MarshalJSON ¶

func (o NotFoundErrorRep) MarshalJSON() ([]byte, error)

func (*NotFoundErrorRep) SetCode ¶

func (o *NotFoundErrorRep) SetCode(v string)

SetCode sets field value

func (*NotFoundErrorRep) SetMessage ¶

func (o *NotFoundErrorRep) SetMessage(v string)

SetMessage sets field value

type NullableAccess ¶

type NullableAccess struct {
	// contains filtered or unexported fields
}

func NewNullableAccess ¶

func NewNullableAccess(val *Access) *NullableAccess

func (NullableAccess) Get ¶

func (v NullableAccess) Get() *Access

func (NullableAccess) IsSet ¶

func (v NullableAccess) IsSet() bool

func (NullableAccess) MarshalJSON ¶

func (v NullableAccess) MarshalJSON() ([]byte, error)

func (*NullableAccess) Set ¶

func (v *NullableAccess) Set(val *Access)

func (*NullableAccess) UnmarshalJSON ¶

func (v *NullableAccess) UnmarshalJSON(src []byte) error

func (*NullableAccess) Unset ¶

func (v *NullableAccess) Unset()

type NullableAccessAllowedReason ¶

type NullableAccessAllowedReason struct {
	// contains filtered or unexported fields
}

func (NullableAccessAllowedReason) Get ¶

func (NullableAccessAllowedReason) IsSet ¶

func (NullableAccessAllowedReason) MarshalJSON ¶

func (v NullableAccessAllowedReason) MarshalJSON() ([]byte, error)

func (*NullableAccessAllowedReason) Set ¶

func (*NullableAccessAllowedReason) UnmarshalJSON ¶

func (v *NullableAccessAllowedReason) UnmarshalJSON(src []byte) error

func (*NullableAccessAllowedReason) Unset ¶

func (v *NullableAccessAllowedReason) Unset()

type NullableAccessAllowedRep ¶

type NullableAccessAllowedRep struct {
	// contains filtered or unexported fields
}

func NewNullableAccessAllowedRep ¶

func NewNullableAccessAllowedRep(val *AccessAllowedRep) *NullableAccessAllowedRep

func (NullableAccessAllowedRep) Get ¶

func (NullableAccessAllowedRep) IsSet ¶

func (v NullableAccessAllowedRep) IsSet() bool

func (NullableAccessAllowedRep) MarshalJSON ¶

func (v NullableAccessAllowedRep) MarshalJSON() ([]byte, error)

func (*NullableAccessAllowedRep) Set ¶

func (*NullableAccessAllowedRep) UnmarshalJSON ¶

func (v *NullableAccessAllowedRep) UnmarshalJSON(src []byte) error

func (*NullableAccessAllowedRep) Unset ¶

func (v *NullableAccessAllowedRep) Unset()

type NullableAccessDenied ¶

type NullableAccessDenied struct {
	// contains filtered or unexported fields
}

func NewNullableAccessDenied ¶

func NewNullableAccessDenied(val *AccessDenied) *NullableAccessDenied

func (NullableAccessDenied) Get ¶

func (NullableAccessDenied) IsSet ¶

func (v NullableAccessDenied) IsSet() bool

func (NullableAccessDenied) MarshalJSON ¶

func (v NullableAccessDenied) MarshalJSON() ([]byte, error)

func (*NullableAccessDenied) Set ¶

func (v *NullableAccessDenied) Set(val *AccessDenied)

func (*NullableAccessDenied) UnmarshalJSON ¶

func (v *NullableAccessDenied) UnmarshalJSON(src []byte) error

func (*NullableAccessDenied) Unset ¶

func (v *NullableAccessDenied) Unset()

type NullableAccessDeniedReason ¶

type NullableAccessDeniedReason struct {
	// contains filtered or unexported fields
}

func NewNullableAccessDeniedReason ¶

func NewNullableAccessDeniedReason(val *AccessDeniedReason) *NullableAccessDeniedReason

func (NullableAccessDeniedReason) Get ¶

func (NullableAccessDeniedReason) IsSet ¶

func (v NullableAccessDeniedReason) IsSet() bool

func (NullableAccessDeniedReason) MarshalJSON ¶

func (v NullableAccessDeniedReason) MarshalJSON() ([]byte, error)

func (*NullableAccessDeniedReason) Set ¶

func (*NullableAccessDeniedReason) UnmarshalJSON ¶

func (v *NullableAccessDeniedReason) UnmarshalJSON(src []byte) error

func (*NullableAccessDeniedReason) Unset ¶

func (v *NullableAccessDeniedReason) Unset()

type NullableAccessTokenPost ¶

type NullableAccessTokenPost struct {
	// contains filtered or unexported fields
}

func NewNullableAccessTokenPost ¶

func NewNullableAccessTokenPost(val *AccessTokenPost) *NullableAccessTokenPost

func (NullableAccessTokenPost) Get ¶

func (NullableAccessTokenPost) IsSet ¶

func (v NullableAccessTokenPost) IsSet() bool

func (NullableAccessTokenPost) MarshalJSON ¶

func (v NullableAccessTokenPost) MarshalJSON() ([]byte, error)

func (*NullableAccessTokenPost) Set ¶

func (*NullableAccessTokenPost) UnmarshalJSON ¶

func (v *NullableAccessTokenPost) UnmarshalJSON(src []byte) error

func (*NullableAccessTokenPost) Unset ¶

func (v *NullableAccessTokenPost) Unset()

type NullableActionInput ¶

type NullableActionInput struct {
	// contains filtered or unexported fields
}

func NewNullableActionInput ¶

func NewNullableActionInput(val *ActionInput) *NullableActionInput

func (NullableActionInput) Get ¶

func (NullableActionInput) IsSet ¶

func (v NullableActionInput) IsSet() bool

func (NullableActionInput) MarshalJSON ¶

func (v NullableActionInput) MarshalJSON() ([]byte, error)

func (*NullableActionInput) Set ¶

func (v *NullableActionInput) Set(val *ActionInput)

func (*NullableActionInput) UnmarshalJSON ¶

func (v *NullableActionInput) UnmarshalJSON(src []byte) error

func (*NullableActionInput) Unset ¶

func (v *NullableActionInput) Unset()

type NullableActionOutput ¶

type NullableActionOutput struct {
	// contains filtered or unexported fields
}

func NewNullableActionOutput ¶

func NewNullableActionOutput(val *ActionOutput) *NullableActionOutput

func (NullableActionOutput) Get ¶

func (NullableActionOutput) IsSet ¶

func (v NullableActionOutput) IsSet() bool

func (NullableActionOutput) MarshalJSON ¶

func (v NullableActionOutput) MarshalJSON() ([]byte, error)

func (*NullableActionOutput) Set ¶

func (v *NullableActionOutput) Set(val *ActionOutput)

func (*NullableActionOutput) UnmarshalJSON ¶

func (v *NullableActionOutput) UnmarshalJSON(src []byte) error

func (*NullableActionOutput) Unset ¶

func (v *NullableActionOutput) Unset()

type NullableApplicationCollectionRep ¶

type NullableApplicationCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableApplicationCollectionRep) Get ¶

func (NullableApplicationCollectionRep) IsSet ¶

func (NullableApplicationCollectionRep) MarshalJSON ¶

func (v NullableApplicationCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableApplicationCollectionRep) Set ¶

func (*NullableApplicationCollectionRep) UnmarshalJSON ¶

func (v *NullableApplicationCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableApplicationCollectionRep) Unset ¶

type NullableApplicationFlagCollectionRep ¶

type NullableApplicationFlagCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableApplicationFlagCollectionRep) Get ¶

func (NullableApplicationFlagCollectionRep) IsSet ¶

func (NullableApplicationFlagCollectionRep) MarshalJSON ¶

func (v NullableApplicationFlagCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableApplicationFlagCollectionRep) Set ¶

func (*NullableApplicationFlagCollectionRep) UnmarshalJSON ¶

func (v *NullableApplicationFlagCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableApplicationFlagCollectionRep) Unset ¶

type NullableApplicationRep ¶

type NullableApplicationRep struct {
	// contains filtered or unexported fields
}

func NewNullableApplicationRep ¶

func NewNullableApplicationRep(val *ApplicationRep) *NullableApplicationRep

func (NullableApplicationRep) Get ¶

func (NullableApplicationRep) IsSet ¶

func (v NullableApplicationRep) IsSet() bool

func (NullableApplicationRep) MarshalJSON ¶

func (v NullableApplicationRep) MarshalJSON() ([]byte, error)

func (*NullableApplicationRep) Set ¶

func (*NullableApplicationRep) UnmarshalJSON ¶

func (v *NullableApplicationRep) UnmarshalJSON(src []byte) error

func (*NullableApplicationRep) Unset ¶

func (v *NullableApplicationRep) Unset()

type NullableApplicationVersionRep ¶

type NullableApplicationVersionRep struct {
	// contains filtered or unexported fields
}

func (NullableApplicationVersionRep) Get ¶

func (NullableApplicationVersionRep) IsSet ¶

func (NullableApplicationVersionRep) MarshalJSON ¶

func (v NullableApplicationVersionRep) MarshalJSON() ([]byte, error)

func (*NullableApplicationVersionRep) Set ¶

func (*NullableApplicationVersionRep) UnmarshalJSON ¶

func (v *NullableApplicationVersionRep) UnmarshalJSON(src []byte) error

func (*NullableApplicationVersionRep) Unset ¶

func (v *NullableApplicationVersionRep) Unset()

type NullableApplicationVersionsCollectionRep ¶

type NullableApplicationVersionsCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableApplicationVersionsCollectionRep) Get ¶

func (NullableApplicationVersionsCollectionRep) IsSet ¶

func (NullableApplicationVersionsCollectionRep) MarshalJSON ¶

func (*NullableApplicationVersionsCollectionRep) Set ¶

func (*NullableApplicationVersionsCollectionRep) UnmarshalJSON ¶

func (v *NullableApplicationVersionsCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableApplicationVersionsCollectionRep) Unset ¶

type NullableApprovalRequestResponse ¶

type NullableApprovalRequestResponse struct {
	// contains filtered or unexported fields
}

func (NullableApprovalRequestResponse) Get ¶

func (NullableApprovalRequestResponse) IsSet ¶

func (NullableApprovalRequestResponse) MarshalJSON ¶

func (v NullableApprovalRequestResponse) MarshalJSON() ([]byte, error)

func (*NullableApprovalRequestResponse) Set ¶

func (*NullableApprovalRequestResponse) UnmarshalJSON ¶

func (v *NullableApprovalRequestResponse) UnmarshalJSON(src []byte) error

func (*NullableApprovalRequestResponse) Unset ¶

type NullableApprovalSettings ¶

type NullableApprovalSettings struct {
	// contains filtered or unexported fields
}

func NewNullableApprovalSettings ¶

func NewNullableApprovalSettings(val *ApprovalSettings) *NullableApprovalSettings

func (NullableApprovalSettings) Get ¶

func (NullableApprovalSettings) IsSet ¶

func (v NullableApprovalSettings) IsSet() bool

func (NullableApprovalSettings) MarshalJSON ¶

func (v NullableApprovalSettings) MarshalJSON() ([]byte, error)

func (*NullableApprovalSettings) Set ¶

func (*NullableApprovalSettings) UnmarshalJSON ¶

func (v *NullableApprovalSettings) UnmarshalJSON(src []byte) error

func (*NullableApprovalSettings) Unset ¶

func (v *NullableApprovalSettings) Unset()

type NullableAudience ¶

type NullableAudience struct {
	// contains filtered or unexported fields
}

func NewNullableAudience ¶

func NewNullableAudience(val *Audience) *NullableAudience

func (NullableAudience) Get ¶

func (v NullableAudience) Get() *Audience

func (NullableAudience) IsSet ¶

func (v NullableAudience) IsSet() bool

func (NullableAudience) MarshalJSON ¶

func (v NullableAudience) MarshalJSON() ([]byte, error)

func (*NullableAudience) Set ¶

func (v *NullableAudience) Set(val *Audience)

func (*NullableAudience) UnmarshalJSON ¶

func (v *NullableAudience) UnmarshalJSON(src []byte) error

func (*NullableAudience) Unset ¶

func (v *NullableAudience) Unset()

type NullableAudiencePost ¶

type NullableAudiencePost struct {
	// contains filtered or unexported fields
}

func NewNullableAudiencePost ¶

func NewNullableAudiencePost(val *AudiencePost) *NullableAudiencePost

func (NullableAudiencePost) Get ¶

func (NullableAudiencePost) IsSet ¶

func (v NullableAudiencePost) IsSet() bool

func (NullableAudiencePost) MarshalJSON ¶

func (v NullableAudiencePost) MarshalJSON() ([]byte, error)

func (*NullableAudiencePost) Set ¶

func (v *NullableAudiencePost) Set(val *AudiencePost)

func (*NullableAudiencePost) UnmarshalJSON ¶

func (v *NullableAudiencePost) UnmarshalJSON(src []byte) error

func (*NullableAudiencePost) Unset ¶

func (v *NullableAudiencePost) Unset()

type NullableAuditLogEntryListingRep ¶

type NullableAuditLogEntryListingRep struct {
	// contains filtered or unexported fields
}

func (NullableAuditLogEntryListingRep) Get ¶

func (NullableAuditLogEntryListingRep) IsSet ¶

func (NullableAuditLogEntryListingRep) MarshalJSON ¶

func (v NullableAuditLogEntryListingRep) MarshalJSON() ([]byte, error)

func (*NullableAuditLogEntryListingRep) Set ¶

func (*NullableAuditLogEntryListingRep) UnmarshalJSON ¶

func (v *NullableAuditLogEntryListingRep) UnmarshalJSON(src []byte) error

func (*NullableAuditLogEntryListingRep) Unset ¶

type NullableAuditLogEntryListingRepCollection ¶

type NullableAuditLogEntryListingRepCollection struct {
	// contains filtered or unexported fields
}

func (NullableAuditLogEntryListingRepCollection) Get ¶

func (NullableAuditLogEntryListingRepCollection) IsSet ¶

func (NullableAuditLogEntryListingRepCollection) MarshalJSON ¶

func (*NullableAuditLogEntryListingRepCollection) Set ¶

func (*NullableAuditLogEntryListingRepCollection) UnmarshalJSON ¶

func (v *NullableAuditLogEntryListingRepCollection) UnmarshalJSON(src []byte) error

func (*NullableAuditLogEntryListingRepCollection) Unset ¶

type NullableAuditLogEntryRep ¶

type NullableAuditLogEntryRep struct {
	// contains filtered or unexported fields
}

func NewNullableAuditLogEntryRep ¶

func NewNullableAuditLogEntryRep(val *AuditLogEntryRep) *NullableAuditLogEntryRep

func (NullableAuditLogEntryRep) Get ¶

func (NullableAuditLogEntryRep) IsSet ¶

func (v NullableAuditLogEntryRep) IsSet() bool

func (NullableAuditLogEntryRep) MarshalJSON ¶

func (v NullableAuditLogEntryRep) MarshalJSON() ([]byte, error)

func (*NullableAuditLogEntryRep) Set ¶

func (*NullableAuditLogEntryRep) UnmarshalJSON ¶

func (v *NullableAuditLogEntryRep) UnmarshalJSON(src []byte) error

func (*NullableAuditLogEntryRep) Unset ¶

func (v *NullableAuditLogEntryRep) Unset()

type NullableAuthorizedAppDataRep ¶

type NullableAuthorizedAppDataRep struct {
	// contains filtered or unexported fields
}

func (NullableAuthorizedAppDataRep) Get ¶

func (NullableAuthorizedAppDataRep) IsSet ¶

func (NullableAuthorizedAppDataRep) MarshalJSON ¶

func (v NullableAuthorizedAppDataRep) MarshalJSON() ([]byte, error)

func (*NullableAuthorizedAppDataRep) Set ¶

func (*NullableAuthorizedAppDataRep) UnmarshalJSON ¶

func (v *NullableAuthorizedAppDataRep) UnmarshalJSON(src []byte) error

func (*NullableAuthorizedAppDataRep) Unset ¶

func (v *NullableAuthorizedAppDataRep) Unset()

type NullableBigSegmentStoreIntegration ¶

type NullableBigSegmentStoreIntegration struct {
	// contains filtered or unexported fields
}

func (NullableBigSegmentStoreIntegration) Get ¶

func (NullableBigSegmentStoreIntegration) IsSet ¶

func (NullableBigSegmentStoreIntegration) MarshalJSON ¶

func (v NullableBigSegmentStoreIntegration) MarshalJSON() ([]byte, error)

func (*NullableBigSegmentStoreIntegration) Set ¶

func (*NullableBigSegmentStoreIntegration) UnmarshalJSON ¶

func (v *NullableBigSegmentStoreIntegration) UnmarshalJSON(src []byte) error

func (*NullableBigSegmentStoreIntegration) Unset ¶

type NullableBigSegmentStoreIntegrationCollection ¶

type NullableBigSegmentStoreIntegrationCollection struct {
	// contains filtered or unexported fields
}

func (NullableBigSegmentStoreIntegrationCollection) Get ¶

func (NullableBigSegmentStoreIntegrationCollection) IsSet ¶

func (NullableBigSegmentStoreIntegrationCollection) MarshalJSON ¶

func (*NullableBigSegmentStoreIntegrationCollection) Set ¶

func (*NullableBigSegmentStoreIntegrationCollection) UnmarshalJSON ¶

func (*NullableBigSegmentStoreIntegrationCollection) Unset ¶

type NullableBigSegmentStoreIntegrationCollectionLinks struct {
	// contains filtered or unexported fields
}

func (NullableBigSegmentStoreIntegrationCollectionLinks) Get ¶

func (NullableBigSegmentStoreIntegrationCollectionLinks) IsSet ¶

func (NullableBigSegmentStoreIntegrationCollectionLinks) MarshalJSON ¶

func (*NullableBigSegmentStoreIntegrationCollectionLinks) Set ¶

func (*NullableBigSegmentStoreIntegrationCollectionLinks) UnmarshalJSON ¶

func (*NullableBigSegmentStoreIntegrationCollectionLinks) Unset ¶

type NullableBigSegmentStoreIntegrationLinks struct {
	// contains filtered or unexported fields
}

func (NullableBigSegmentStoreIntegrationLinks) Get ¶

func (NullableBigSegmentStoreIntegrationLinks) IsSet ¶

func (NullableBigSegmentStoreIntegrationLinks) MarshalJSON ¶

func (v NullableBigSegmentStoreIntegrationLinks) MarshalJSON() ([]byte, error)

func (*NullableBigSegmentStoreIntegrationLinks) Set ¶

func (*NullableBigSegmentStoreIntegrationLinks) UnmarshalJSON ¶

func (v *NullableBigSegmentStoreIntegrationLinks) UnmarshalJSON(src []byte) error

func (*NullableBigSegmentStoreIntegrationLinks) Unset ¶

type NullableBigSegmentStoreStatus ¶

type NullableBigSegmentStoreStatus struct {
	// contains filtered or unexported fields
}

func (NullableBigSegmentStoreStatus) Get ¶

func (NullableBigSegmentStoreStatus) IsSet ¶

func (NullableBigSegmentStoreStatus) MarshalJSON ¶

func (v NullableBigSegmentStoreStatus) MarshalJSON() ([]byte, error)

func (*NullableBigSegmentStoreStatus) Set ¶

func (*NullableBigSegmentStoreStatus) UnmarshalJSON ¶

func (v *NullableBigSegmentStoreStatus) UnmarshalJSON(src []byte) error

func (*NullableBigSegmentStoreStatus) Unset ¶

func (v *NullableBigSegmentStoreStatus) Unset()

type NullableBigSegmentTarget ¶

type NullableBigSegmentTarget struct {
	// contains filtered or unexported fields
}

func NewNullableBigSegmentTarget ¶

func NewNullableBigSegmentTarget(val *BigSegmentTarget) *NullableBigSegmentTarget

func (NullableBigSegmentTarget) Get ¶

func (NullableBigSegmentTarget) IsSet ¶

func (v NullableBigSegmentTarget) IsSet() bool

func (NullableBigSegmentTarget) MarshalJSON ¶

func (v NullableBigSegmentTarget) MarshalJSON() ([]byte, error)

func (*NullableBigSegmentTarget) Set ¶

func (*NullableBigSegmentTarget) UnmarshalJSON ¶

func (v *NullableBigSegmentTarget) UnmarshalJSON(src []byte) error

func (*NullableBigSegmentTarget) Unset ¶

func (v *NullableBigSegmentTarget) Unset()

type NullableBool ¶

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool ¶

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get ¶

func (v NullableBool) Get() *bool

func (NullableBool) IsSet ¶

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON ¶

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set ¶

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON ¶

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset ¶

func (v *NullableBool) Unset()

type NullableBooleanDefaults ¶

type NullableBooleanDefaults struct {
	// contains filtered or unexported fields
}

func NewNullableBooleanDefaults ¶

func NewNullableBooleanDefaults(val *BooleanDefaults) *NullableBooleanDefaults

func (NullableBooleanDefaults) Get ¶

func (NullableBooleanDefaults) IsSet ¶

func (v NullableBooleanDefaults) IsSet() bool

func (NullableBooleanDefaults) MarshalJSON ¶

func (v NullableBooleanDefaults) MarshalJSON() ([]byte, error)

func (*NullableBooleanDefaults) Set ¶

func (*NullableBooleanDefaults) UnmarshalJSON ¶

func (v *NullableBooleanDefaults) UnmarshalJSON(src []byte) error

func (*NullableBooleanDefaults) Unset ¶

func (v *NullableBooleanDefaults) Unset()

type NullableBooleanFlagDefaults ¶

type NullableBooleanFlagDefaults struct {
	// contains filtered or unexported fields
}

func (NullableBooleanFlagDefaults) Get ¶

func (NullableBooleanFlagDefaults) IsSet ¶

func (NullableBooleanFlagDefaults) MarshalJSON ¶

func (v NullableBooleanFlagDefaults) MarshalJSON() ([]byte, error)

func (*NullableBooleanFlagDefaults) Set ¶

func (*NullableBooleanFlagDefaults) UnmarshalJSON ¶

func (v *NullableBooleanFlagDefaults) UnmarshalJSON(src []byte) error

func (*NullableBooleanFlagDefaults) Unset ¶

func (v *NullableBooleanFlagDefaults) Unset()

type NullableBranchCollectionRep ¶

type NullableBranchCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableBranchCollectionRep) Get ¶

func (NullableBranchCollectionRep) IsSet ¶

func (NullableBranchCollectionRep) MarshalJSON ¶

func (v NullableBranchCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableBranchCollectionRep) Set ¶

func (*NullableBranchCollectionRep) UnmarshalJSON ¶

func (v *NullableBranchCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableBranchCollectionRep) Unset ¶

func (v *NullableBranchCollectionRep) Unset()

type NullableBranchRep ¶

type NullableBranchRep struct {
	// contains filtered or unexported fields
}

func NewNullableBranchRep ¶

func NewNullableBranchRep(val *BranchRep) *NullableBranchRep

func (NullableBranchRep) Get ¶

func (v NullableBranchRep) Get() *BranchRep

func (NullableBranchRep) IsSet ¶

func (v NullableBranchRep) IsSet() bool

func (NullableBranchRep) MarshalJSON ¶

func (v NullableBranchRep) MarshalJSON() ([]byte, error)

func (*NullableBranchRep) Set ¶

func (v *NullableBranchRep) Set(val *BranchRep)

func (*NullableBranchRep) UnmarshalJSON ¶

func (v *NullableBranchRep) UnmarshalJSON(src []byte) error

func (*NullableBranchRep) Unset ¶

func (v *NullableBranchRep) Unset()

type NullableBulkEditMembersRep ¶

type NullableBulkEditMembersRep struct {
	// contains filtered or unexported fields
}

func NewNullableBulkEditMembersRep ¶

func NewNullableBulkEditMembersRep(val *BulkEditMembersRep) *NullableBulkEditMembersRep

func (NullableBulkEditMembersRep) Get ¶

func (NullableBulkEditMembersRep) IsSet ¶

func (v NullableBulkEditMembersRep) IsSet() bool

func (NullableBulkEditMembersRep) MarshalJSON ¶

func (v NullableBulkEditMembersRep) MarshalJSON() ([]byte, error)

func (*NullableBulkEditMembersRep) Set ¶

func (*NullableBulkEditMembersRep) UnmarshalJSON ¶

func (v *NullableBulkEditMembersRep) UnmarshalJSON(src []byte) error

func (*NullableBulkEditMembersRep) Unset ¶

func (v *NullableBulkEditMembersRep) Unset()

type NullableBulkEditTeamsRep ¶

type NullableBulkEditTeamsRep struct {
	// contains filtered or unexported fields
}

func NewNullableBulkEditTeamsRep ¶

func NewNullableBulkEditTeamsRep(val *BulkEditTeamsRep) *NullableBulkEditTeamsRep

func (NullableBulkEditTeamsRep) Get ¶

func (NullableBulkEditTeamsRep) IsSet ¶

func (v NullableBulkEditTeamsRep) IsSet() bool

func (NullableBulkEditTeamsRep) MarshalJSON ¶

func (v NullableBulkEditTeamsRep) MarshalJSON() ([]byte, error)

func (*NullableBulkEditTeamsRep) Set ¶

func (*NullableBulkEditTeamsRep) UnmarshalJSON ¶

func (v *NullableBulkEditTeamsRep) UnmarshalJSON(src []byte) error

func (*NullableBulkEditTeamsRep) Unset ¶

func (v *NullableBulkEditTeamsRep) Unset()

type NullableClause ¶

type NullableClause struct {
	// contains filtered or unexported fields
}

func NewNullableClause ¶

func NewNullableClause(val *Clause) *NullableClause

func (NullableClause) Get ¶

func (v NullableClause) Get() *Clause

func (NullableClause) IsSet ¶

func (v NullableClause) IsSet() bool

func (NullableClause) MarshalJSON ¶

func (v NullableClause) MarshalJSON() ([]byte, error)

func (*NullableClause) Set ¶

func (v *NullableClause) Set(val *Clause)

func (*NullableClause) UnmarshalJSON ¶

func (v *NullableClause) UnmarshalJSON(src []byte) error

func (*NullableClause) Unset ¶

func (v *NullableClause) Unset()

type NullableClient ¶

type NullableClient struct {
	// contains filtered or unexported fields
}

func NewNullableClient ¶

func NewNullableClient(val *Client) *NullableClient

func (NullableClient) Get ¶

func (v NullableClient) Get() *Client

func (NullableClient) IsSet ¶

func (v NullableClient) IsSet() bool

func (NullableClient) MarshalJSON ¶

func (v NullableClient) MarshalJSON() ([]byte, error)

func (*NullableClient) Set ¶

func (v *NullableClient) Set(val *Client)

func (*NullableClient) UnmarshalJSON ¶

func (v *NullableClient) UnmarshalJSON(src []byte) error

func (*NullableClient) Unset ¶

func (v *NullableClient) Unset()

type NullableClientCollection ¶

type NullableClientCollection struct {
	// contains filtered or unexported fields
}

func NewNullableClientCollection ¶

func NewNullableClientCollection(val *ClientCollection) *NullableClientCollection

func (NullableClientCollection) Get ¶

func (NullableClientCollection) IsSet ¶

func (v NullableClientCollection) IsSet() bool

func (NullableClientCollection) MarshalJSON ¶

func (v NullableClientCollection) MarshalJSON() ([]byte, error)

func (*NullableClientCollection) Set ¶

func (*NullableClientCollection) UnmarshalJSON ¶

func (v *NullableClientCollection) UnmarshalJSON(src []byte) error

func (*NullableClientCollection) Unset ¶

func (v *NullableClientCollection) Unset()

type NullableClientSideAvailability ¶

type NullableClientSideAvailability struct {
	// contains filtered or unexported fields
}

func (NullableClientSideAvailability) Get ¶

func (NullableClientSideAvailability) IsSet ¶

func (NullableClientSideAvailability) MarshalJSON ¶

func (v NullableClientSideAvailability) MarshalJSON() ([]byte, error)

func (*NullableClientSideAvailability) Set ¶

func (*NullableClientSideAvailability) UnmarshalJSON ¶

func (v *NullableClientSideAvailability) UnmarshalJSON(src []byte) error

func (*NullableClientSideAvailability) Unset ¶

func (v *NullableClientSideAvailability) Unset()

type NullableClientSideAvailabilityPost ¶

type NullableClientSideAvailabilityPost struct {
	// contains filtered or unexported fields
}

func (NullableClientSideAvailabilityPost) Get ¶

func (NullableClientSideAvailabilityPost) IsSet ¶

func (NullableClientSideAvailabilityPost) MarshalJSON ¶

func (v NullableClientSideAvailabilityPost) MarshalJSON() ([]byte, error)

func (*NullableClientSideAvailabilityPost) Set ¶

func (*NullableClientSideAvailabilityPost) UnmarshalJSON ¶

func (v *NullableClientSideAvailabilityPost) UnmarshalJSON(src []byte) error

func (*NullableClientSideAvailabilityPost) Unset ¶

type NullableCompletedBy ¶

type NullableCompletedBy struct {
	// contains filtered or unexported fields
}

func NewNullableCompletedBy ¶

func NewNullableCompletedBy(val *CompletedBy) *NullableCompletedBy

func (NullableCompletedBy) Get ¶

func (NullableCompletedBy) IsSet ¶

func (v NullableCompletedBy) IsSet() bool

func (NullableCompletedBy) MarshalJSON ¶

func (v NullableCompletedBy) MarshalJSON() ([]byte, error)

func (*NullableCompletedBy) Set ¶

func (v *NullableCompletedBy) Set(val *CompletedBy)

func (*NullableCompletedBy) UnmarshalJSON ¶

func (v *NullableCompletedBy) UnmarshalJSON(src []byte) error

func (*NullableCompletedBy) Unset ¶

func (v *NullableCompletedBy) Unset()

type NullableConditionInput ¶

type NullableConditionInput struct {
	// contains filtered or unexported fields
}

func NewNullableConditionInput ¶

func NewNullableConditionInput(val *ConditionInput) *NullableConditionInput

func (NullableConditionInput) Get ¶

func (NullableConditionInput) IsSet ¶

func (v NullableConditionInput) IsSet() bool

func (NullableConditionInput) MarshalJSON ¶

func (v NullableConditionInput) MarshalJSON() ([]byte, error)

func (*NullableConditionInput) Set ¶

func (*NullableConditionInput) UnmarshalJSON ¶

func (v *NullableConditionInput) UnmarshalJSON(src []byte) error

func (*NullableConditionInput) Unset ¶

func (v *NullableConditionInput) Unset()

type NullableConditionOutput ¶

type NullableConditionOutput struct {
	// contains filtered or unexported fields
}

func NewNullableConditionOutput ¶

func NewNullableConditionOutput(val *ConditionOutput) *NullableConditionOutput

func (NullableConditionOutput) Get ¶

func (NullableConditionOutput) IsSet ¶

func (v NullableConditionOutput) IsSet() bool

func (NullableConditionOutput) MarshalJSON ¶

func (v NullableConditionOutput) MarshalJSON() ([]byte, error)

func (*NullableConditionOutput) Set ¶

func (*NullableConditionOutput) UnmarshalJSON ¶

func (v *NullableConditionOutput) UnmarshalJSON(src []byte) error

func (*NullableConditionOutput) Unset ¶

func (v *NullableConditionOutput) Unset()

type NullableConfidenceIntervalRep ¶

type NullableConfidenceIntervalRep struct {
	// contains filtered or unexported fields
}

func (NullableConfidenceIntervalRep) Get ¶

func (NullableConfidenceIntervalRep) IsSet ¶

func (NullableConfidenceIntervalRep) MarshalJSON ¶

func (v NullableConfidenceIntervalRep) MarshalJSON() ([]byte, error)

func (*NullableConfidenceIntervalRep) Set ¶

func (*NullableConfidenceIntervalRep) UnmarshalJSON ¶

func (v *NullableConfidenceIntervalRep) UnmarshalJSON(src []byte) error

func (*NullableConfidenceIntervalRep) Unset ¶

func (v *NullableConfidenceIntervalRep) Unset()

type NullableConflict ¶

type NullableConflict struct {
	// contains filtered or unexported fields
}

func NewNullableConflict ¶

func NewNullableConflict(val *Conflict) *NullableConflict

func (NullableConflict) Get ¶

func (v NullableConflict) Get() *Conflict

func (NullableConflict) IsSet ¶

func (v NullableConflict) IsSet() bool

func (NullableConflict) MarshalJSON ¶

func (v NullableConflict) MarshalJSON() ([]byte, error)

func (*NullableConflict) Set ¶

func (v *NullableConflict) Set(val *Conflict)

func (*NullableConflict) UnmarshalJSON ¶

func (v *NullableConflict) UnmarshalJSON(src []byte) error

func (*NullableConflict) Unset ¶

func (v *NullableConflict) Unset()

type NullableConflictOutput ¶

type NullableConflictOutput struct {
	// contains filtered or unexported fields
}

func NewNullableConflictOutput ¶

func NewNullableConflictOutput(val *ConflictOutput) *NullableConflictOutput

func (NullableConflictOutput) Get ¶

func (NullableConflictOutput) IsSet ¶

func (v NullableConflictOutput) IsSet() bool

func (NullableConflictOutput) MarshalJSON ¶

func (v NullableConflictOutput) MarshalJSON() ([]byte, error)

func (*NullableConflictOutput) Set ¶

func (*NullableConflictOutput) UnmarshalJSON ¶

func (v *NullableConflictOutput) UnmarshalJSON(src []byte) error

func (*NullableConflictOutput) Unset ¶

func (v *NullableConflictOutput) Unset()

type NullableContextAttributeName ¶

type NullableContextAttributeName struct {
	// contains filtered or unexported fields
}

func (NullableContextAttributeName) Get ¶

func (NullableContextAttributeName) IsSet ¶

func (NullableContextAttributeName) MarshalJSON ¶

func (v NullableContextAttributeName) MarshalJSON() ([]byte, error)

func (*NullableContextAttributeName) Set ¶

func (*NullableContextAttributeName) UnmarshalJSON ¶

func (v *NullableContextAttributeName) UnmarshalJSON(src []byte) error

func (*NullableContextAttributeName) Unset ¶

func (v *NullableContextAttributeName) Unset()

type NullableContextAttributeNames ¶

type NullableContextAttributeNames struct {
	// contains filtered or unexported fields
}

func (NullableContextAttributeNames) Get ¶

func (NullableContextAttributeNames) IsSet ¶

func (NullableContextAttributeNames) MarshalJSON ¶

func (v NullableContextAttributeNames) MarshalJSON() ([]byte, error)

func (*NullableContextAttributeNames) Set ¶

func (*NullableContextAttributeNames) UnmarshalJSON ¶

func (v *NullableContextAttributeNames) UnmarshalJSON(src []byte) error

func (*NullableContextAttributeNames) Unset ¶

func (v *NullableContextAttributeNames) Unset()

type NullableContextAttributeNamesCollection ¶

type NullableContextAttributeNamesCollection struct {
	// contains filtered or unexported fields
}

func (NullableContextAttributeNamesCollection) Get ¶

func (NullableContextAttributeNamesCollection) IsSet ¶

func (NullableContextAttributeNamesCollection) MarshalJSON ¶

func (v NullableContextAttributeNamesCollection) MarshalJSON() ([]byte, error)

func (*NullableContextAttributeNamesCollection) Set ¶

func (*NullableContextAttributeNamesCollection) UnmarshalJSON ¶

func (v *NullableContextAttributeNamesCollection) UnmarshalJSON(src []byte) error

func (*NullableContextAttributeNamesCollection) Unset ¶

type NullableContextAttributeValue ¶

type NullableContextAttributeValue struct {
	// contains filtered or unexported fields
}

func (NullableContextAttributeValue) Get ¶

func (NullableContextAttributeValue) IsSet ¶

func (NullableContextAttributeValue) MarshalJSON ¶

func (v NullableContextAttributeValue) MarshalJSON() ([]byte, error)

func (*NullableContextAttributeValue) Set ¶

func (*NullableContextAttributeValue) UnmarshalJSON ¶

func (v *NullableContextAttributeValue) UnmarshalJSON(src []byte) error

func (*NullableContextAttributeValue) Unset ¶

func (v *NullableContextAttributeValue) Unset()

type NullableContextAttributeValues ¶

type NullableContextAttributeValues struct {
	// contains filtered or unexported fields
}

func (NullableContextAttributeValues) Get ¶

func (NullableContextAttributeValues) IsSet ¶

func (NullableContextAttributeValues) MarshalJSON ¶

func (v NullableContextAttributeValues) MarshalJSON() ([]byte, error)

func (*NullableContextAttributeValues) Set ¶

func (*NullableContextAttributeValues) UnmarshalJSON ¶

func (v *NullableContextAttributeValues) UnmarshalJSON(src []byte) error

func (*NullableContextAttributeValues) Unset ¶

func (v *NullableContextAttributeValues) Unset()

type NullableContextAttributeValuesCollection ¶

type NullableContextAttributeValuesCollection struct {
	// contains filtered or unexported fields
}

func (NullableContextAttributeValuesCollection) Get ¶

func (NullableContextAttributeValuesCollection) IsSet ¶

func (NullableContextAttributeValuesCollection) MarshalJSON ¶

func (*NullableContextAttributeValuesCollection) Set ¶

func (*NullableContextAttributeValuesCollection) UnmarshalJSON ¶

func (v *NullableContextAttributeValuesCollection) UnmarshalJSON(src []byte) error

func (*NullableContextAttributeValuesCollection) Unset ¶

type NullableContextInstanceEvaluation ¶

type NullableContextInstanceEvaluation struct {
	// contains filtered or unexported fields
}

func (NullableContextInstanceEvaluation) Get ¶

func (NullableContextInstanceEvaluation) IsSet ¶

func (NullableContextInstanceEvaluation) MarshalJSON ¶

func (v NullableContextInstanceEvaluation) MarshalJSON() ([]byte, error)

func (*NullableContextInstanceEvaluation) Set ¶

func (*NullableContextInstanceEvaluation) UnmarshalJSON ¶

func (v *NullableContextInstanceEvaluation) UnmarshalJSON(src []byte) error

func (*NullableContextInstanceEvaluation) Unset ¶

type NullableContextInstanceEvaluationReason ¶

type NullableContextInstanceEvaluationReason struct {
	// contains filtered or unexported fields
}

func (NullableContextInstanceEvaluationReason) Get ¶

func (NullableContextInstanceEvaluationReason) IsSet ¶

func (NullableContextInstanceEvaluationReason) MarshalJSON ¶

func (v NullableContextInstanceEvaluationReason) MarshalJSON() ([]byte, error)

func (*NullableContextInstanceEvaluationReason) Set ¶

func (*NullableContextInstanceEvaluationReason) UnmarshalJSON ¶

func (v *NullableContextInstanceEvaluationReason) UnmarshalJSON(src []byte) error

func (*NullableContextInstanceEvaluationReason) Unset ¶

type NullableContextInstanceEvaluations ¶

type NullableContextInstanceEvaluations struct {
	// contains filtered or unexported fields
}

func (NullableContextInstanceEvaluations) Get ¶

func (NullableContextInstanceEvaluations) IsSet ¶

func (NullableContextInstanceEvaluations) MarshalJSON ¶

func (v NullableContextInstanceEvaluations) MarshalJSON() ([]byte, error)

func (*NullableContextInstanceEvaluations) Set ¶

func (*NullableContextInstanceEvaluations) UnmarshalJSON ¶

func (v *NullableContextInstanceEvaluations) UnmarshalJSON(src []byte) error

func (*NullableContextInstanceEvaluations) Unset ¶

type NullableContextInstanceRecord ¶

type NullableContextInstanceRecord struct {
	// contains filtered or unexported fields
}

func (NullableContextInstanceRecord) Get ¶

func (NullableContextInstanceRecord) IsSet ¶

func (NullableContextInstanceRecord) MarshalJSON ¶

func (v NullableContextInstanceRecord) MarshalJSON() ([]byte, error)

func (*NullableContextInstanceRecord) Set ¶

func (*NullableContextInstanceRecord) UnmarshalJSON ¶

func (v *NullableContextInstanceRecord) UnmarshalJSON(src []byte) error

func (*NullableContextInstanceRecord) Unset ¶

func (v *NullableContextInstanceRecord) Unset()

type NullableContextInstanceSearch ¶

type NullableContextInstanceSearch struct {
	// contains filtered or unexported fields
}

func (NullableContextInstanceSearch) Get ¶

func (NullableContextInstanceSearch) IsSet ¶

func (NullableContextInstanceSearch) MarshalJSON ¶

func (v NullableContextInstanceSearch) MarshalJSON() ([]byte, error)

func (*NullableContextInstanceSearch) Set ¶

func (*NullableContextInstanceSearch) UnmarshalJSON ¶

func (v *NullableContextInstanceSearch) UnmarshalJSON(src []byte) error

func (*NullableContextInstanceSearch) Unset ¶

func (v *NullableContextInstanceSearch) Unset()

type NullableContextInstanceSegmentMembership ¶

type NullableContextInstanceSegmentMembership struct {
	// contains filtered or unexported fields
}

func (NullableContextInstanceSegmentMembership) Get ¶

func (NullableContextInstanceSegmentMembership) IsSet ¶

func (NullableContextInstanceSegmentMembership) MarshalJSON ¶

func (*NullableContextInstanceSegmentMembership) Set ¶

func (*NullableContextInstanceSegmentMembership) UnmarshalJSON ¶

func (v *NullableContextInstanceSegmentMembership) UnmarshalJSON(src []byte) error

func (*NullableContextInstanceSegmentMembership) Unset ¶

type NullableContextInstanceSegmentMemberships ¶

type NullableContextInstanceSegmentMemberships struct {
	// contains filtered or unexported fields
}

func (NullableContextInstanceSegmentMemberships) Get ¶

func (NullableContextInstanceSegmentMemberships) IsSet ¶

func (NullableContextInstanceSegmentMemberships) MarshalJSON ¶

func (*NullableContextInstanceSegmentMemberships) Set ¶

func (*NullableContextInstanceSegmentMemberships) UnmarshalJSON ¶

func (v *NullableContextInstanceSegmentMemberships) UnmarshalJSON(src []byte) error

func (*NullableContextInstanceSegmentMemberships) Unset ¶

type NullableContextInstances ¶

type NullableContextInstances struct {
	// contains filtered or unexported fields
}

func NewNullableContextInstances ¶

func NewNullableContextInstances(val *ContextInstances) *NullableContextInstances

func (NullableContextInstances) Get ¶

func (NullableContextInstances) IsSet ¶

func (v NullableContextInstances) IsSet() bool

func (NullableContextInstances) MarshalJSON ¶

func (v NullableContextInstances) MarshalJSON() ([]byte, error)

func (*NullableContextInstances) Set ¶

func (*NullableContextInstances) UnmarshalJSON ¶

func (v *NullableContextInstances) UnmarshalJSON(src []byte) error

func (*NullableContextInstances) Unset ¶

func (v *NullableContextInstances) Unset()

type NullableContextKindRep ¶

type NullableContextKindRep struct {
	// contains filtered or unexported fields
}

func NewNullableContextKindRep ¶

func NewNullableContextKindRep(val *ContextKindRep) *NullableContextKindRep

func (NullableContextKindRep) Get ¶

func (NullableContextKindRep) IsSet ¶

func (v NullableContextKindRep) IsSet() bool

func (NullableContextKindRep) MarshalJSON ¶

func (v NullableContextKindRep) MarshalJSON() ([]byte, error)

func (*NullableContextKindRep) Set ¶

func (*NullableContextKindRep) UnmarshalJSON ¶

func (v *NullableContextKindRep) UnmarshalJSON(src []byte) error

func (*NullableContextKindRep) Unset ¶

func (v *NullableContextKindRep) Unset()

type NullableContextKindsCollectionRep ¶

type NullableContextKindsCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableContextKindsCollectionRep) Get ¶

func (NullableContextKindsCollectionRep) IsSet ¶

func (NullableContextKindsCollectionRep) MarshalJSON ¶

func (v NullableContextKindsCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableContextKindsCollectionRep) Set ¶

func (*NullableContextKindsCollectionRep) UnmarshalJSON ¶

func (v *NullableContextKindsCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableContextKindsCollectionRep) Unset ¶

type NullableContextRecord ¶

type NullableContextRecord struct {
	// contains filtered or unexported fields
}

func NewNullableContextRecord ¶

func NewNullableContextRecord(val *ContextRecord) *NullableContextRecord

func (NullableContextRecord) Get ¶

func (NullableContextRecord) IsSet ¶

func (v NullableContextRecord) IsSet() bool

func (NullableContextRecord) MarshalJSON ¶

func (v NullableContextRecord) MarshalJSON() ([]byte, error)

func (*NullableContextRecord) Set ¶

func (v *NullableContextRecord) Set(val *ContextRecord)

func (*NullableContextRecord) UnmarshalJSON ¶

func (v *NullableContextRecord) UnmarshalJSON(src []byte) error

func (*NullableContextRecord) Unset ¶

func (v *NullableContextRecord) Unset()

type NullableContextSearch ¶

type NullableContextSearch struct {
	// contains filtered or unexported fields
}

func NewNullableContextSearch ¶

func NewNullableContextSearch(val *ContextSearch) *NullableContextSearch

func (NullableContextSearch) Get ¶

func (NullableContextSearch) IsSet ¶

func (v NullableContextSearch) IsSet() bool

func (NullableContextSearch) MarshalJSON ¶

func (v NullableContextSearch) MarshalJSON() ([]byte, error)

func (*NullableContextSearch) Set ¶

func (v *NullableContextSearch) Set(val *ContextSearch)

func (*NullableContextSearch) UnmarshalJSON ¶

func (v *NullableContextSearch) UnmarshalJSON(src []byte) error

func (*NullableContextSearch) Unset ¶

func (v *NullableContextSearch) Unset()

type NullableContexts ¶

type NullableContexts struct {
	// contains filtered or unexported fields
}

func NewNullableContexts ¶

func NewNullableContexts(val *Contexts) *NullableContexts

func (NullableContexts) Get ¶

func (v NullableContexts) Get() *Contexts

func (NullableContexts) IsSet ¶

func (v NullableContexts) IsSet() bool

func (NullableContexts) MarshalJSON ¶

func (v NullableContexts) MarshalJSON() ([]byte, error)

func (*NullableContexts) Set ¶

func (v *NullableContexts) Set(val *Contexts)

func (*NullableContexts) UnmarshalJSON ¶

func (v *NullableContexts) UnmarshalJSON(src []byte) error

func (*NullableContexts) Unset ¶

func (v *NullableContexts) Unset()

type NullableCopiedFromEnv ¶

type NullableCopiedFromEnv struct {
	// contains filtered or unexported fields
}

func NewNullableCopiedFromEnv ¶

func NewNullableCopiedFromEnv(val *CopiedFromEnv) *NullableCopiedFromEnv

func (NullableCopiedFromEnv) Get ¶

func (NullableCopiedFromEnv) IsSet ¶

func (v NullableCopiedFromEnv) IsSet() bool

func (NullableCopiedFromEnv) MarshalJSON ¶

func (v NullableCopiedFromEnv) MarshalJSON() ([]byte, error)

func (*NullableCopiedFromEnv) Set ¶

func (v *NullableCopiedFromEnv) Set(val *CopiedFromEnv)

func (*NullableCopiedFromEnv) UnmarshalJSON ¶

func (v *NullableCopiedFromEnv) UnmarshalJSON(src []byte) error

func (*NullableCopiedFromEnv) Unset ¶

func (v *NullableCopiedFromEnv) Unset()

type NullableCreateApprovalRequestRequest ¶

type NullableCreateApprovalRequestRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateApprovalRequestRequest) Get ¶

func (NullableCreateApprovalRequestRequest) IsSet ¶

func (NullableCreateApprovalRequestRequest) MarshalJSON ¶

func (v NullableCreateApprovalRequestRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateApprovalRequestRequest) Set ¶

func (*NullableCreateApprovalRequestRequest) UnmarshalJSON ¶

func (v *NullableCreateApprovalRequestRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateApprovalRequestRequest) Unset ¶

type NullableCreateCopyFlagConfigApprovalRequestRequest ¶

type NullableCreateCopyFlagConfigApprovalRequestRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateCopyFlagConfigApprovalRequestRequest) Get ¶

func (NullableCreateCopyFlagConfigApprovalRequestRequest) IsSet ¶

func (NullableCreateCopyFlagConfigApprovalRequestRequest) MarshalJSON ¶

func (*NullableCreateCopyFlagConfigApprovalRequestRequest) Set ¶

func (*NullableCreateCopyFlagConfigApprovalRequestRequest) UnmarshalJSON ¶

func (*NullableCreateCopyFlagConfigApprovalRequestRequest) Unset ¶

type NullableCreateFlagConfigApprovalRequestRequest ¶

type NullableCreateFlagConfigApprovalRequestRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateFlagConfigApprovalRequestRequest) Get ¶

func (NullableCreateFlagConfigApprovalRequestRequest) IsSet ¶

func (NullableCreateFlagConfigApprovalRequestRequest) MarshalJSON ¶

func (*NullableCreateFlagConfigApprovalRequestRequest) Set ¶

func (*NullableCreateFlagConfigApprovalRequestRequest) UnmarshalJSON ¶

func (*NullableCreateFlagConfigApprovalRequestRequest) Unset ¶

type NullableCreatePhaseInput ¶

type NullableCreatePhaseInput struct {
	// contains filtered or unexported fields
}

func NewNullableCreatePhaseInput ¶

func NewNullableCreatePhaseInput(val *CreatePhaseInput) *NullableCreatePhaseInput

func (NullableCreatePhaseInput) Get ¶

func (NullableCreatePhaseInput) IsSet ¶

func (v NullableCreatePhaseInput) IsSet() bool

func (NullableCreatePhaseInput) MarshalJSON ¶

func (v NullableCreatePhaseInput) MarshalJSON() ([]byte, error)

func (*NullableCreatePhaseInput) Set ¶

func (*NullableCreatePhaseInput) UnmarshalJSON ¶

func (v *NullableCreatePhaseInput) UnmarshalJSON(src []byte) error

func (*NullableCreatePhaseInput) Unset ¶

func (v *NullableCreatePhaseInput) Unset()

type NullableCreateReleasePipelineInput ¶

type NullableCreateReleasePipelineInput struct {
	// contains filtered or unexported fields
}

func (NullableCreateReleasePipelineInput) Get ¶

func (NullableCreateReleasePipelineInput) IsSet ¶

func (NullableCreateReleasePipelineInput) MarshalJSON ¶

func (v NullableCreateReleasePipelineInput) MarshalJSON() ([]byte, error)

func (*NullableCreateReleasePipelineInput) Set ¶

func (*NullableCreateReleasePipelineInput) UnmarshalJSON ¶

func (v *NullableCreateReleasePipelineInput) UnmarshalJSON(src []byte) error

func (*NullableCreateReleasePipelineInput) Unset ¶

type NullableCreateWorkflowTemplateInput ¶

type NullableCreateWorkflowTemplateInput struct {
	// contains filtered or unexported fields
}

func (NullableCreateWorkflowTemplateInput) Get ¶

func (NullableCreateWorkflowTemplateInput) IsSet ¶

func (NullableCreateWorkflowTemplateInput) MarshalJSON ¶

func (v NullableCreateWorkflowTemplateInput) MarshalJSON() ([]byte, error)

func (*NullableCreateWorkflowTemplateInput) Set ¶

func (*NullableCreateWorkflowTemplateInput) UnmarshalJSON ¶

func (v *NullableCreateWorkflowTemplateInput) UnmarshalJSON(src []byte) error

func (*NullableCreateWorkflowTemplateInput) Unset ¶

type NullableCredibleIntervalRep ¶

type NullableCredibleIntervalRep struct {
	// contains filtered or unexported fields
}

func (NullableCredibleIntervalRep) Get ¶

func (NullableCredibleIntervalRep) IsSet ¶

func (NullableCredibleIntervalRep) MarshalJSON ¶

func (v NullableCredibleIntervalRep) MarshalJSON() ([]byte, error)

func (*NullableCredibleIntervalRep) Set ¶

func (*NullableCredibleIntervalRep) UnmarshalJSON ¶

func (v *NullableCredibleIntervalRep) UnmarshalJSON(src []byte) error

func (*NullableCredibleIntervalRep) Unset ¶

func (v *NullableCredibleIntervalRep) Unset()

type NullableCustomProperty ¶

type NullableCustomProperty struct {
	// contains filtered or unexported fields
}

func NewNullableCustomProperty ¶

func NewNullableCustomProperty(val *CustomProperty) *NullableCustomProperty

func (NullableCustomProperty) Get ¶

func (NullableCustomProperty) IsSet ¶

func (v NullableCustomProperty) IsSet() bool

func (NullableCustomProperty) MarshalJSON ¶

func (v NullableCustomProperty) MarshalJSON() ([]byte, error)

func (*NullableCustomProperty) Set ¶

func (*NullableCustomProperty) UnmarshalJSON ¶

func (v *NullableCustomProperty) UnmarshalJSON(src []byte) error

func (*NullableCustomProperty) Unset ¶

func (v *NullableCustomProperty) Unset()

type NullableCustomRole ¶

type NullableCustomRole struct {
	// contains filtered or unexported fields
}

func NewNullableCustomRole ¶

func NewNullableCustomRole(val *CustomRole) *NullableCustomRole

func (NullableCustomRole) Get ¶

func (v NullableCustomRole) Get() *CustomRole

func (NullableCustomRole) IsSet ¶

func (v NullableCustomRole) IsSet() bool

func (NullableCustomRole) MarshalJSON ¶

func (v NullableCustomRole) MarshalJSON() ([]byte, error)

func (*NullableCustomRole) Set ¶

func (v *NullableCustomRole) Set(val *CustomRole)

func (*NullableCustomRole) UnmarshalJSON ¶

func (v *NullableCustomRole) UnmarshalJSON(src []byte) error

func (*NullableCustomRole) Unset ¶

func (v *NullableCustomRole) Unset()

type NullableCustomRolePost ¶

type NullableCustomRolePost struct {
	// contains filtered or unexported fields
}

func NewNullableCustomRolePost ¶

func NewNullableCustomRolePost(val *CustomRolePost) *NullableCustomRolePost

func (NullableCustomRolePost) Get ¶

func (NullableCustomRolePost) IsSet ¶

func (v NullableCustomRolePost) IsSet() bool

func (NullableCustomRolePost) MarshalJSON ¶

func (v NullableCustomRolePost) MarshalJSON() ([]byte, error)

func (*NullableCustomRolePost) Set ¶

func (*NullableCustomRolePost) UnmarshalJSON ¶

func (v *NullableCustomRolePost) UnmarshalJSON(src []byte) error

func (*NullableCustomRolePost) Unset ¶

func (v *NullableCustomRolePost) Unset()

type NullableCustomRoles ¶

type NullableCustomRoles struct {
	// contains filtered or unexported fields
}

func NewNullableCustomRoles ¶

func NewNullableCustomRoles(val *CustomRoles) *NullableCustomRoles

func (NullableCustomRoles) Get ¶

func (NullableCustomRoles) IsSet ¶

func (v NullableCustomRoles) IsSet() bool

func (NullableCustomRoles) MarshalJSON ¶

func (v NullableCustomRoles) MarshalJSON() ([]byte, error)

func (*NullableCustomRoles) Set ¶

func (v *NullableCustomRoles) Set(val *CustomRoles)

func (*NullableCustomRoles) UnmarshalJSON ¶

func (v *NullableCustomRoles) UnmarshalJSON(src []byte) error

func (*NullableCustomRoles) Unset ¶

func (v *NullableCustomRoles) Unset()

type NullableCustomWorkflowInput ¶

type NullableCustomWorkflowInput struct {
	// contains filtered or unexported fields
}

func (NullableCustomWorkflowInput) Get ¶

func (NullableCustomWorkflowInput) IsSet ¶

func (NullableCustomWorkflowInput) MarshalJSON ¶

func (v NullableCustomWorkflowInput) MarshalJSON() ([]byte, error)

func (*NullableCustomWorkflowInput) Set ¶

func (*NullableCustomWorkflowInput) UnmarshalJSON ¶

func (v *NullableCustomWorkflowInput) UnmarshalJSON(src []byte) error

func (*NullableCustomWorkflowInput) Unset ¶

func (v *NullableCustomWorkflowInput) Unset()

type NullableCustomWorkflowMeta ¶

type NullableCustomWorkflowMeta struct {
	// contains filtered or unexported fields
}

func NewNullableCustomWorkflowMeta ¶

func NewNullableCustomWorkflowMeta(val *CustomWorkflowMeta) *NullableCustomWorkflowMeta

func (NullableCustomWorkflowMeta) Get ¶

func (NullableCustomWorkflowMeta) IsSet ¶

func (v NullableCustomWorkflowMeta) IsSet() bool

func (NullableCustomWorkflowMeta) MarshalJSON ¶

func (v NullableCustomWorkflowMeta) MarshalJSON() ([]byte, error)

func (*NullableCustomWorkflowMeta) Set ¶

func (*NullableCustomWorkflowMeta) UnmarshalJSON ¶

func (v *NullableCustomWorkflowMeta) UnmarshalJSON(src []byte) error

func (*NullableCustomWorkflowMeta) Unset ¶

func (v *NullableCustomWorkflowMeta) Unset()

type NullableCustomWorkflowOutput ¶

type NullableCustomWorkflowOutput struct {
	// contains filtered or unexported fields
}

func (NullableCustomWorkflowOutput) Get ¶

func (NullableCustomWorkflowOutput) IsSet ¶

func (NullableCustomWorkflowOutput) MarshalJSON ¶

func (v NullableCustomWorkflowOutput) MarshalJSON() ([]byte, error)

func (*NullableCustomWorkflowOutput) Set ¶

func (*NullableCustomWorkflowOutput) UnmarshalJSON ¶

func (v *NullableCustomWorkflowOutput) UnmarshalJSON(src []byte) error

func (*NullableCustomWorkflowOutput) Unset ¶

func (v *NullableCustomWorkflowOutput) Unset()

type NullableCustomWorkflowStageMeta ¶

type NullableCustomWorkflowStageMeta struct {
	// contains filtered or unexported fields
}

func (NullableCustomWorkflowStageMeta) Get ¶

func (NullableCustomWorkflowStageMeta) IsSet ¶

func (NullableCustomWorkflowStageMeta) MarshalJSON ¶

func (v NullableCustomWorkflowStageMeta) MarshalJSON() ([]byte, error)

func (*NullableCustomWorkflowStageMeta) Set ¶

func (*NullableCustomWorkflowStageMeta) UnmarshalJSON ¶

func (v *NullableCustomWorkflowStageMeta) UnmarshalJSON(src []byte) error

func (*NullableCustomWorkflowStageMeta) Unset ¶

type NullableCustomWorkflowsListingOutput ¶

type NullableCustomWorkflowsListingOutput struct {
	// contains filtered or unexported fields
}

func (NullableCustomWorkflowsListingOutput) Get ¶

func (NullableCustomWorkflowsListingOutput) IsSet ¶

func (NullableCustomWorkflowsListingOutput) MarshalJSON ¶

func (v NullableCustomWorkflowsListingOutput) MarshalJSON() ([]byte, error)

func (*NullableCustomWorkflowsListingOutput) Set ¶

func (*NullableCustomWorkflowsListingOutput) UnmarshalJSON ¶

func (v *NullableCustomWorkflowsListingOutput) UnmarshalJSON(src []byte) error

func (*NullableCustomWorkflowsListingOutput) Unset ¶

type NullableDefaultClientSideAvailability ¶

type NullableDefaultClientSideAvailability struct {
	// contains filtered or unexported fields
}

func (NullableDefaultClientSideAvailability) Get ¶

func (NullableDefaultClientSideAvailability) IsSet ¶

func (NullableDefaultClientSideAvailability) MarshalJSON ¶

func (v NullableDefaultClientSideAvailability) MarshalJSON() ([]byte, error)

func (*NullableDefaultClientSideAvailability) Set ¶

func (*NullableDefaultClientSideAvailability) UnmarshalJSON ¶

func (v *NullableDefaultClientSideAvailability) UnmarshalJSON(src []byte) error

func (*NullableDefaultClientSideAvailability) Unset ¶

type NullableDefaultClientSideAvailabilityPost ¶

type NullableDefaultClientSideAvailabilityPost struct {
	// contains filtered or unexported fields
}

func (NullableDefaultClientSideAvailabilityPost) Get ¶

func (NullableDefaultClientSideAvailabilityPost) IsSet ¶

func (NullableDefaultClientSideAvailabilityPost) MarshalJSON ¶

func (*NullableDefaultClientSideAvailabilityPost) Set ¶

func (*NullableDefaultClientSideAvailabilityPost) UnmarshalJSON ¶

func (v *NullableDefaultClientSideAvailabilityPost) UnmarshalJSON(src []byte) error

func (*NullableDefaultClientSideAvailabilityPost) Unset ¶

type NullableDefaults ¶

type NullableDefaults struct {
	// contains filtered or unexported fields
}

func NewNullableDefaults ¶

func NewNullableDefaults(val *Defaults) *NullableDefaults

func (NullableDefaults) Get ¶

func (v NullableDefaults) Get() *Defaults

func (NullableDefaults) IsSet ¶

func (v NullableDefaults) IsSet() bool

func (NullableDefaults) MarshalJSON ¶

func (v NullableDefaults) MarshalJSON() ([]byte, error)

func (*NullableDefaults) Set ¶

func (v *NullableDefaults) Set(val *Defaults)

func (*NullableDefaults) UnmarshalJSON ¶

func (v *NullableDefaults) UnmarshalJSON(src []byte) error

func (*NullableDefaults) Unset ¶

func (v *NullableDefaults) Unset()

type NullableDependentExperimentRep ¶

type NullableDependentExperimentRep struct {
	// contains filtered or unexported fields
}

func (NullableDependentExperimentRep) Get ¶

func (NullableDependentExperimentRep) IsSet ¶

func (NullableDependentExperimentRep) MarshalJSON ¶

func (v NullableDependentExperimentRep) MarshalJSON() ([]byte, error)

func (*NullableDependentExperimentRep) Set ¶

func (*NullableDependentExperimentRep) UnmarshalJSON ¶

func (v *NullableDependentExperimentRep) UnmarshalJSON(src []byte) error

func (*NullableDependentExperimentRep) Unset ¶

func (v *NullableDependentExperimentRep) Unset()

type NullableDependentFlag ¶

type NullableDependentFlag struct {
	// contains filtered or unexported fields
}

func NewNullableDependentFlag ¶

func NewNullableDependentFlag(val *DependentFlag) *NullableDependentFlag

func (NullableDependentFlag) Get ¶

func (NullableDependentFlag) IsSet ¶

func (v NullableDependentFlag) IsSet() bool

func (NullableDependentFlag) MarshalJSON ¶

func (v NullableDependentFlag) MarshalJSON() ([]byte, error)

func (*NullableDependentFlag) Set ¶

func (v *NullableDependentFlag) Set(val *DependentFlag)

func (*NullableDependentFlag) UnmarshalJSON ¶

func (v *NullableDependentFlag) UnmarshalJSON(src []byte) error

func (*NullableDependentFlag) Unset ¶

func (v *NullableDependentFlag) Unset()

type NullableDependentFlagEnvironment ¶

type NullableDependentFlagEnvironment struct {
	// contains filtered or unexported fields
}

func (NullableDependentFlagEnvironment) Get ¶

func (NullableDependentFlagEnvironment) IsSet ¶

func (NullableDependentFlagEnvironment) MarshalJSON ¶

func (v NullableDependentFlagEnvironment) MarshalJSON() ([]byte, error)

func (*NullableDependentFlagEnvironment) Set ¶

func (*NullableDependentFlagEnvironment) UnmarshalJSON ¶

func (v *NullableDependentFlagEnvironment) UnmarshalJSON(src []byte) error

func (*NullableDependentFlagEnvironment) Unset ¶

type NullableDependentFlagsByEnvironment ¶

type NullableDependentFlagsByEnvironment struct {
	// contains filtered or unexported fields
}

func (NullableDependentFlagsByEnvironment) Get ¶

func (NullableDependentFlagsByEnvironment) IsSet ¶

func (NullableDependentFlagsByEnvironment) MarshalJSON ¶

func (v NullableDependentFlagsByEnvironment) MarshalJSON() ([]byte, error)

func (*NullableDependentFlagsByEnvironment) Set ¶

func (*NullableDependentFlagsByEnvironment) UnmarshalJSON ¶

func (v *NullableDependentFlagsByEnvironment) UnmarshalJSON(src []byte) error

func (*NullableDependentFlagsByEnvironment) Unset ¶

type NullableDependentMetricGroupRep ¶

type NullableDependentMetricGroupRep struct {
	// contains filtered or unexported fields
}

func (NullableDependentMetricGroupRep) Get ¶

func (NullableDependentMetricGroupRep) IsSet ¶

func (NullableDependentMetricGroupRep) MarshalJSON ¶

func (v NullableDependentMetricGroupRep) MarshalJSON() ([]byte, error)

func (*NullableDependentMetricGroupRep) Set ¶

func (*NullableDependentMetricGroupRep) UnmarshalJSON ¶

func (v *NullableDependentMetricGroupRep) UnmarshalJSON(src []byte) error

func (*NullableDependentMetricGroupRep) Unset ¶

type NullableDependentMetricGroupRepWithMetrics ¶

type NullableDependentMetricGroupRepWithMetrics struct {
	// contains filtered or unexported fields
}

func (NullableDependentMetricGroupRepWithMetrics) Get ¶

func (NullableDependentMetricGroupRepWithMetrics) IsSet ¶

func (NullableDependentMetricGroupRepWithMetrics) MarshalJSON ¶

func (*NullableDependentMetricGroupRepWithMetrics) Set ¶

func (*NullableDependentMetricGroupRepWithMetrics) UnmarshalJSON ¶

func (v *NullableDependentMetricGroupRepWithMetrics) UnmarshalJSON(src []byte) error

func (*NullableDependentMetricGroupRepWithMetrics) Unset ¶

type NullableDependentMetricOrMetricGroupRep ¶

type NullableDependentMetricOrMetricGroupRep struct {
	// contains filtered or unexported fields
}

func (NullableDependentMetricOrMetricGroupRep) Get ¶

func (NullableDependentMetricOrMetricGroupRep) IsSet ¶

func (NullableDependentMetricOrMetricGroupRep) MarshalJSON ¶

func (v NullableDependentMetricOrMetricGroupRep) MarshalJSON() ([]byte, error)

func (*NullableDependentMetricOrMetricGroupRep) Set ¶

func (*NullableDependentMetricOrMetricGroupRep) UnmarshalJSON ¶

func (v *NullableDependentMetricOrMetricGroupRep) UnmarshalJSON(src []byte) error

func (*NullableDependentMetricOrMetricGroupRep) Unset ¶

type NullableDeploymentCollectionRep ¶

type NullableDeploymentCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableDeploymentCollectionRep) Get ¶

func (NullableDeploymentCollectionRep) IsSet ¶

func (NullableDeploymentCollectionRep) MarshalJSON ¶

func (v NullableDeploymentCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableDeploymentCollectionRep) Set ¶

func (*NullableDeploymentCollectionRep) UnmarshalJSON ¶

func (v *NullableDeploymentCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableDeploymentCollectionRep) Unset ¶

type NullableDeploymentRep ¶

type NullableDeploymentRep struct {
	// contains filtered or unexported fields
}

func NewNullableDeploymentRep ¶

func NewNullableDeploymentRep(val *DeploymentRep) *NullableDeploymentRep

func (NullableDeploymentRep) Get ¶

func (NullableDeploymentRep) IsSet ¶

func (v NullableDeploymentRep) IsSet() bool

func (NullableDeploymentRep) MarshalJSON ¶

func (v NullableDeploymentRep) MarshalJSON() ([]byte, error)

func (*NullableDeploymentRep) Set ¶

func (v *NullableDeploymentRep) Set(val *DeploymentRep)

func (*NullableDeploymentRep) UnmarshalJSON ¶

func (v *NullableDeploymentRep) UnmarshalJSON(src []byte) error

func (*NullableDeploymentRep) Unset ¶

func (v *NullableDeploymentRep) Unset()

type NullableDestination ¶

type NullableDestination struct {
	// contains filtered or unexported fields
}

func NewNullableDestination ¶

func NewNullableDestination(val *Destination) *NullableDestination

func (NullableDestination) Get ¶

func (NullableDestination) IsSet ¶

func (v NullableDestination) IsSet() bool

func (NullableDestination) MarshalJSON ¶

func (v NullableDestination) MarshalJSON() ([]byte, error)

func (*NullableDestination) Set ¶

func (v *NullableDestination) Set(val *Destination)

func (*NullableDestination) UnmarshalJSON ¶

func (v *NullableDestination) UnmarshalJSON(src []byte) error

func (*NullableDestination) Unset ¶

func (v *NullableDestination) Unset()

type NullableDestinationPost ¶

type NullableDestinationPost struct {
	// contains filtered or unexported fields
}

func NewNullableDestinationPost ¶

func NewNullableDestinationPost(val *DestinationPost) *NullableDestinationPost

func (NullableDestinationPost) Get ¶

func (NullableDestinationPost) IsSet ¶

func (v NullableDestinationPost) IsSet() bool

func (NullableDestinationPost) MarshalJSON ¶

func (v NullableDestinationPost) MarshalJSON() ([]byte, error)

func (*NullableDestinationPost) Set ¶

func (*NullableDestinationPost) UnmarshalJSON ¶

func (v *NullableDestinationPost) UnmarshalJSON(src []byte) error

func (*NullableDestinationPost) Unset ¶

func (v *NullableDestinationPost) Unset()

type NullableDestinations ¶

type NullableDestinations struct {
	// contains filtered or unexported fields
}

func NewNullableDestinations ¶

func NewNullableDestinations(val *Destinations) *NullableDestinations

func (NullableDestinations) Get ¶

func (NullableDestinations) IsSet ¶

func (v NullableDestinations) IsSet() bool

func (NullableDestinations) MarshalJSON ¶

func (v NullableDestinations) MarshalJSON() ([]byte, error)

func (*NullableDestinations) Set ¶

func (v *NullableDestinations) Set(val *Destinations)

func (*NullableDestinations) UnmarshalJSON ¶

func (v *NullableDestinations) UnmarshalJSON(src []byte) error

func (*NullableDestinations) Unset ¶

func (v *NullableDestinations) Unset()

type NullableDistribution ¶

type NullableDistribution struct {
	// contains filtered or unexported fields
}

func NewNullableDistribution ¶

func NewNullableDistribution(val *Distribution) *NullableDistribution

func (NullableDistribution) Get ¶

func (NullableDistribution) IsSet ¶

func (v NullableDistribution) IsSet() bool

func (NullableDistribution) MarshalJSON ¶

func (v NullableDistribution) MarshalJSON() ([]byte, error)

func (*NullableDistribution) Set ¶

func (v *NullableDistribution) Set(val *Distribution)

func (*NullableDistribution) UnmarshalJSON ¶

func (v *NullableDistribution) UnmarshalJSON(src []byte) error

func (*NullableDistribution) Unset ¶

func (v *NullableDistribution) Unset()

type NullableEnvironment ¶

type NullableEnvironment struct {
	// contains filtered or unexported fields
}

func NewNullableEnvironment ¶

func NewNullableEnvironment(val *Environment) *NullableEnvironment

func (NullableEnvironment) Get ¶

func (NullableEnvironment) IsSet ¶

func (v NullableEnvironment) IsSet() bool

func (NullableEnvironment) MarshalJSON ¶

func (v NullableEnvironment) MarshalJSON() ([]byte, error)

func (*NullableEnvironment) Set ¶

func (v *NullableEnvironment) Set(val *Environment)

func (*NullableEnvironment) UnmarshalJSON ¶

func (v *NullableEnvironment) UnmarshalJSON(src []byte) error

func (*NullableEnvironment) Unset ¶

func (v *NullableEnvironment) Unset()

type NullableEnvironmentPost ¶

type NullableEnvironmentPost struct {
	// contains filtered or unexported fields
}

func NewNullableEnvironmentPost ¶

func NewNullableEnvironmentPost(val *EnvironmentPost) *NullableEnvironmentPost

func (NullableEnvironmentPost) Get ¶

func (NullableEnvironmentPost) IsSet ¶

func (v NullableEnvironmentPost) IsSet() bool

func (NullableEnvironmentPost) MarshalJSON ¶

func (v NullableEnvironmentPost) MarshalJSON() ([]byte, error)

func (*NullableEnvironmentPost) Set ¶

func (*NullableEnvironmentPost) UnmarshalJSON ¶

func (v *NullableEnvironmentPost) UnmarshalJSON(src []byte) error

func (*NullableEnvironmentPost) Unset ¶

func (v *NullableEnvironmentPost) Unset()

type NullableEnvironmentSummary ¶

type NullableEnvironmentSummary struct {
	// contains filtered or unexported fields
}

func NewNullableEnvironmentSummary ¶

func NewNullableEnvironmentSummary(val *EnvironmentSummary) *NullableEnvironmentSummary

func (NullableEnvironmentSummary) Get ¶

func (NullableEnvironmentSummary) IsSet ¶

func (v NullableEnvironmentSummary) IsSet() bool

func (NullableEnvironmentSummary) MarshalJSON ¶

func (v NullableEnvironmentSummary) MarshalJSON() ([]byte, error)

func (*NullableEnvironmentSummary) Set ¶

func (*NullableEnvironmentSummary) UnmarshalJSON ¶

func (v *NullableEnvironmentSummary) UnmarshalJSON(src []byte) error

func (*NullableEnvironmentSummary) Unset ¶

func (v *NullableEnvironmentSummary) Unset()

type NullableEnvironments ¶

type NullableEnvironments struct {
	// contains filtered or unexported fields
}

func NewNullableEnvironments ¶

func NewNullableEnvironments(val *Environments) *NullableEnvironments

func (NullableEnvironments) Get ¶

func (NullableEnvironments) IsSet ¶

func (v NullableEnvironments) IsSet() bool

func (NullableEnvironments) MarshalJSON ¶

func (v NullableEnvironments) MarshalJSON() ([]byte, error)

func (*NullableEnvironments) Set ¶

func (v *NullableEnvironments) Set(val *Environments)

func (*NullableEnvironments) UnmarshalJSON ¶

func (v *NullableEnvironments) UnmarshalJSON(src []byte) error

func (*NullableEnvironments) Unset ¶

func (v *NullableEnvironments) Unset()

type NullableEvaluationReason ¶

type NullableEvaluationReason struct {
	// contains filtered or unexported fields
}

func NewNullableEvaluationReason ¶

func NewNullableEvaluationReason(val *EvaluationReason) *NullableEvaluationReason

func (NullableEvaluationReason) Get ¶

func (NullableEvaluationReason) IsSet ¶

func (v NullableEvaluationReason) IsSet() bool

func (NullableEvaluationReason) MarshalJSON ¶

func (v NullableEvaluationReason) MarshalJSON() ([]byte, error)

func (*NullableEvaluationReason) Set ¶

func (*NullableEvaluationReason) UnmarshalJSON ¶

func (v *NullableEvaluationReason) UnmarshalJSON(src []byte) error

func (*NullableEvaluationReason) Unset ¶

func (v *NullableEvaluationReason) Unset()

type NullableEvaluationsSummary ¶

type NullableEvaluationsSummary struct {
	// contains filtered or unexported fields
}

func NewNullableEvaluationsSummary ¶

func NewNullableEvaluationsSummary(val *EvaluationsSummary) *NullableEvaluationsSummary

func (NullableEvaluationsSummary) Get ¶

func (NullableEvaluationsSummary) IsSet ¶

func (v NullableEvaluationsSummary) IsSet() bool

func (NullableEvaluationsSummary) MarshalJSON ¶

func (v NullableEvaluationsSummary) MarshalJSON() ([]byte, error)

func (*NullableEvaluationsSummary) Set ¶

func (*NullableEvaluationsSummary) UnmarshalJSON ¶

func (v *NullableEvaluationsSummary) UnmarshalJSON(src []byte) error

func (*NullableEvaluationsSummary) Unset ¶

func (v *NullableEvaluationsSummary) Unset()

type NullableExecutionOutput ¶

type NullableExecutionOutput struct {
	// contains filtered or unexported fields
}

func NewNullableExecutionOutput ¶

func NewNullableExecutionOutput(val *ExecutionOutput) *NullableExecutionOutput

func (NullableExecutionOutput) Get ¶

func (NullableExecutionOutput) IsSet ¶

func (v NullableExecutionOutput) IsSet() bool

func (NullableExecutionOutput) MarshalJSON ¶

func (v NullableExecutionOutput) MarshalJSON() ([]byte, error)

func (*NullableExecutionOutput) Set ¶

func (*NullableExecutionOutput) UnmarshalJSON ¶

func (v *NullableExecutionOutput) UnmarshalJSON(src []byte) error

func (*NullableExecutionOutput) Unset ¶

func (v *NullableExecutionOutput) Unset()

type NullableExpandableApprovalRequestResponse ¶

type NullableExpandableApprovalRequestResponse struct {
	// contains filtered or unexported fields
}

func (NullableExpandableApprovalRequestResponse) Get ¶

func (NullableExpandableApprovalRequestResponse) IsSet ¶

func (NullableExpandableApprovalRequestResponse) MarshalJSON ¶

func (*NullableExpandableApprovalRequestResponse) Set ¶

func (*NullableExpandableApprovalRequestResponse) UnmarshalJSON ¶

func (v *NullableExpandableApprovalRequestResponse) UnmarshalJSON(src []byte) error

func (*NullableExpandableApprovalRequestResponse) Unset ¶

type NullableExpandableApprovalRequestsResponse ¶

type NullableExpandableApprovalRequestsResponse struct {
	// contains filtered or unexported fields
}

func (NullableExpandableApprovalRequestsResponse) Get ¶

func (NullableExpandableApprovalRequestsResponse) IsSet ¶

func (NullableExpandableApprovalRequestsResponse) MarshalJSON ¶

func (*NullableExpandableApprovalRequestsResponse) Set ¶

func (*NullableExpandableApprovalRequestsResponse) UnmarshalJSON ¶

func (v *NullableExpandableApprovalRequestsResponse) UnmarshalJSON(src []byte) error

func (*NullableExpandableApprovalRequestsResponse) Unset ¶

type NullableExpandedFlagRep ¶

type NullableExpandedFlagRep struct {
	// contains filtered or unexported fields
}

func NewNullableExpandedFlagRep ¶

func NewNullableExpandedFlagRep(val *ExpandedFlagRep) *NullableExpandedFlagRep

func (NullableExpandedFlagRep) Get ¶

func (NullableExpandedFlagRep) IsSet ¶

func (v NullableExpandedFlagRep) IsSet() bool

func (NullableExpandedFlagRep) MarshalJSON ¶

func (v NullableExpandedFlagRep) MarshalJSON() ([]byte, error)

func (*NullableExpandedFlagRep) Set ¶

func (*NullableExpandedFlagRep) UnmarshalJSON ¶

func (v *NullableExpandedFlagRep) UnmarshalJSON(src []byte) error

func (*NullableExpandedFlagRep) Unset ¶

func (v *NullableExpandedFlagRep) Unset()

type NullableExperiment ¶

type NullableExperiment struct {
	// contains filtered or unexported fields
}

func NewNullableExperiment ¶

func NewNullableExperiment(val *Experiment) *NullableExperiment

func (NullableExperiment) Get ¶

func (v NullableExperiment) Get() *Experiment

func (NullableExperiment) IsSet ¶

func (v NullableExperiment) IsSet() bool

func (NullableExperiment) MarshalJSON ¶

func (v NullableExperiment) MarshalJSON() ([]byte, error)

func (*NullableExperiment) Set ¶

func (v *NullableExperiment) Set(val *Experiment)

func (*NullableExperiment) UnmarshalJSON ¶

func (v *NullableExperiment) UnmarshalJSON(src []byte) error

func (*NullableExperiment) Unset ¶

func (v *NullableExperiment) Unset()

type NullableExperimentAllocationRep ¶

type NullableExperimentAllocationRep struct {
	// contains filtered or unexported fields
}

func (NullableExperimentAllocationRep) Get ¶

func (NullableExperimentAllocationRep) IsSet ¶

func (NullableExperimentAllocationRep) MarshalJSON ¶

func (v NullableExperimentAllocationRep) MarshalJSON() ([]byte, error)

func (*NullableExperimentAllocationRep) Set ¶

func (*NullableExperimentAllocationRep) UnmarshalJSON ¶

func (v *NullableExperimentAllocationRep) UnmarshalJSON(src []byte) error

func (*NullableExperimentAllocationRep) Unset ¶

type NullableExperimentBayesianResultsRep ¶

type NullableExperimentBayesianResultsRep struct {
	// contains filtered or unexported fields
}

func (NullableExperimentBayesianResultsRep) Get ¶

func (NullableExperimentBayesianResultsRep) IsSet ¶

func (NullableExperimentBayesianResultsRep) MarshalJSON ¶

func (v NullableExperimentBayesianResultsRep) MarshalJSON() ([]byte, error)

func (*NullableExperimentBayesianResultsRep) Set ¶

func (*NullableExperimentBayesianResultsRep) UnmarshalJSON ¶

func (v *NullableExperimentBayesianResultsRep) UnmarshalJSON(src []byte) error

func (*NullableExperimentBayesianResultsRep) Unset ¶

type NullableExperimentCollectionRep ¶

type NullableExperimentCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableExperimentCollectionRep) Get ¶

func (NullableExperimentCollectionRep) IsSet ¶

func (NullableExperimentCollectionRep) MarshalJSON ¶

func (v NullableExperimentCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableExperimentCollectionRep) Set ¶

func (*NullableExperimentCollectionRep) UnmarshalJSON ¶

func (v *NullableExperimentCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableExperimentCollectionRep) Unset ¶

type NullableExperimentEnabledPeriodRep ¶

type NullableExperimentEnabledPeriodRep struct {
	// contains filtered or unexported fields
}

func (NullableExperimentEnabledPeriodRep) Get ¶

func (NullableExperimentEnabledPeriodRep) IsSet ¶

func (NullableExperimentEnabledPeriodRep) MarshalJSON ¶

func (v NullableExperimentEnabledPeriodRep) MarshalJSON() ([]byte, error)

func (*NullableExperimentEnabledPeriodRep) Set ¶

func (*NullableExperimentEnabledPeriodRep) UnmarshalJSON ¶

func (v *NullableExperimentEnabledPeriodRep) UnmarshalJSON(src []byte) error

func (*NullableExperimentEnabledPeriodRep) Unset ¶

type NullableExperimentEnvironmentSettingRep ¶

type NullableExperimentEnvironmentSettingRep struct {
	// contains filtered or unexported fields
}

func (NullableExperimentEnvironmentSettingRep) Get ¶

func (NullableExperimentEnvironmentSettingRep) IsSet ¶

func (NullableExperimentEnvironmentSettingRep) MarshalJSON ¶

func (v NullableExperimentEnvironmentSettingRep) MarshalJSON() ([]byte, error)

func (*NullableExperimentEnvironmentSettingRep) Set ¶

func (*NullableExperimentEnvironmentSettingRep) UnmarshalJSON ¶

func (v *NullableExperimentEnvironmentSettingRep) UnmarshalJSON(src []byte) error

func (*NullableExperimentEnvironmentSettingRep) Unset ¶

type NullableExperimentInfoRep ¶

type NullableExperimentInfoRep struct {
	// contains filtered or unexported fields
}

func NewNullableExperimentInfoRep ¶

func NewNullableExperimentInfoRep(val *ExperimentInfoRep) *NullableExperimentInfoRep

func (NullableExperimentInfoRep) Get ¶

func (NullableExperimentInfoRep) IsSet ¶

func (v NullableExperimentInfoRep) IsSet() bool

func (NullableExperimentInfoRep) MarshalJSON ¶

func (v NullableExperimentInfoRep) MarshalJSON() ([]byte, error)

func (*NullableExperimentInfoRep) Set ¶

func (*NullableExperimentInfoRep) UnmarshalJSON ¶

func (v *NullableExperimentInfoRep) UnmarshalJSON(src []byte) error

func (*NullableExperimentInfoRep) Unset ¶

func (v *NullableExperimentInfoRep) Unset()

type NullableExperimentMetadataRep ¶

type NullableExperimentMetadataRep struct {
	// contains filtered or unexported fields
}

func (NullableExperimentMetadataRep) Get ¶

func (NullableExperimentMetadataRep) IsSet ¶

func (NullableExperimentMetadataRep) MarshalJSON ¶

func (v NullableExperimentMetadataRep) MarshalJSON() ([]byte, error)

func (*NullableExperimentMetadataRep) Set ¶

func (*NullableExperimentMetadataRep) UnmarshalJSON ¶

func (v *NullableExperimentMetadataRep) UnmarshalJSON(src []byte) error

func (*NullableExperimentMetadataRep) Unset ¶

func (v *NullableExperimentMetadataRep) Unset()

type NullableExperimentPatchInput ¶

type NullableExperimentPatchInput struct {
	// contains filtered or unexported fields
}

func (NullableExperimentPatchInput) Get ¶

func (NullableExperimentPatchInput) IsSet ¶

func (NullableExperimentPatchInput) MarshalJSON ¶

func (v NullableExperimentPatchInput) MarshalJSON() ([]byte, error)

func (*NullableExperimentPatchInput) Set ¶

func (*NullableExperimentPatchInput) UnmarshalJSON ¶

func (v *NullableExperimentPatchInput) UnmarshalJSON(src []byte) error

func (*NullableExperimentPatchInput) Unset ¶

func (v *NullableExperimentPatchInput) Unset()

type NullableExperimentPost ¶

type NullableExperimentPost struct {
	// contains filtered or unexported fields
}

func NewNullableExperimentPost ¶

func NewNullableExperimentPost(val *ExperimentPost) *NullableExperimentPost

func (NullableExperimentPost) Get ¶

func (NullableExperimentPost) IsSet ¶

func (v NullableExperimentPost) IsSet() bool

func (NullableExperimentPost) MarshalJSON ¶

func (v NullableExperimentPost) MarshalJSON() ([]byte, error)

func (*NullableExperimentPost) Set ¶

func (*NullableExperimentPost) UnmarshalJSON ¶

func (v *NullableExperimentPost) UnmarshalJSON(src []byte) error

func (*NullableExperimentPost) Unset ¶

func (v *NullableExperimentPost) Unset()

type NullableExperimentResults ¶

type NullableExperimentResults struct {
	// contains filtered or unexported fields
}

func NewNullableExperimentResults ¶

func NewNullableExperimentResults(val *ExperimentResults) *NullableExperimentResults

func (NullableExperimentResults) Get ¶

func (NullableExperimentResults) IsSet ¶

func (v NullableExperimentResults) IsSet() bool

func (NullableExperimentResults) MarshalJSON ¶

func (v NullableExperimentResults) MarshalJSON() ([]byte, error)

func (*NullableExperimentResults) Set ¶

func (*NullableExperimentResults) UnmarshalJSON ¶

func (v *NullableExperimentResults) UnmarshalJSON(src []byte) error

func (*NullableExperimentResults) Unset ¶

func (v *NullableExperimentResults) Unset()

type NullableExperimentStatsRep ¶

type NullableExperimentStatsRep struct {
	// contains filtered or unexported fields
}

func NewNullableExperimentStatsRep ¶

func NewNullableExperimentStatsRep(val *ExperimentStatsRep) *NullableExperimentStatsRep

func (NullableExperimentStatsRep) Get ¶

func (NullableExperimentStatsRep) IsSet ¶

func (v NullableExperimentStatsRep) IsSet() bool

func (NullableExperimentStatsRep) MarshalJSON ¶

func (v NullableExperimentStatsRep) MarshalJSON() ([]byte, error)

func (*NullableExperimentStatsRep) Set ¶

func (*NullableExperimentStatsRep) UnmarshalJSON ¶

func (v *NullableExperimentStatsRep) UnmarshalJSON(src []byte) error

func (*NullableExperimentStatsRep) Unset ¶

func (v *NullableExperimentStatsRep) Unset()

type NullableExperimentTimeSeriesSlice ¶

type NullableExperimentTimeSeriesSlice struct {
	// contains filtered or unexported fields
}

func (NullableExperimentTimeSeriesSlice) Get ¶

func (NullableExperimentTimeSeriesSlice) IsSet ¶

func (NullableExperimentTimeSeriesSlice) MarshalJSON ¶

func (v NullableExperimentTimeSeriesSlice) MarshalJSON() ([]byte, error)

func (*NullableExperimentTimeSeriesSlice) Set ¶

func (*NullableExperimentTimeSeriesSlice) UnmarshalJSON ¶

func (v *NullableExperimentTimeSeriesSlice) UnmarshalJSON(src []byte) error

func (*NullableExperimentTimeSeriesSlice) Unset ¶

type NullableExperimentTimeSeriesVariationSlice ¶

type NullableExperimentTimeSeriesVariationSlice struct {
	// contains filtered or unexported fields
}

func (NullableExperimentTimeSeriesVariationSlice) Get ¶

func (NullableExperimentTimeSeriesVariationSlice) IsSet ¶

func (NullableExperimentTimeSeriesVariationSlice) MarshalJSON ¶

func (*NullableExperimentTimeSeriesVariationSlice) Set ¶

func (*NullableExperimentTimeSeriesVariationSlice) UnmarshalJSON ¶

func (v *NullableExperimentTimeSeriesVariationSlice) UnmarshalJSON(src []byte) error

func (*NullableExperimentTimeSeriesVariationSlice) Unset ¶

type NullableExperimentTotalsRep ¶

type NullableExperimentTotalsRep struct {
	// contains filtered or unexported fields
}

func (NullableExperimentTotalsRep) Get ¶

func (NullableExperimentTotalsRep) IsSet ¶

func (NullableExperimentTotalsRep) MarshalJSON ¶

func (v NullableExperimentTotalsRep) MarshalJSON() ([]byte, error)

func (*NullableExperimentTotalsRep) Set ¶

func (*NullableExperimentTotalsRep) UnmarshalJSON ¶

func (v *NullableExperimentTotalsRep) UnmarshalJSON(src []byte) error

func (*NullableExperimentTotalsRep) Unset ¶

func (v *NullableExperimentTotalsRep) Unset()

type NullableExpiringTarget ¶

type NullableExpiringTarget struct {
	// contains filtered or unexported fields
}

func NewNullableExpiringTarget ¶

func NewNullableExpiringTarget(val *ExpiringTarget) *NullableExpiringTarget

func (NullableExpiringTarget) Get ¶

func (NullableExpiringTarget) IsSet ¶

func (v NullableExpiringTarget) IsSet() bool

func (NullableExpiringTarget) MarshalJSON ¶

func (v NullableExpiringTarget) MarshalJSON() ([]byte, error)

func (*NullableExpiringTarget) Set ¶

func (*NullableExpiringTarget) UnmarshalJSON ¶

func (v *NullableExpiringTarget) UnmarshalJSON(src []byte) error

func (*NullableExpiringTarget) Unset ¶

func (v *NullableExpiringTarget) Unset()

type NullableExpiringTargetError ¶

type NullableExpiringTargetError struct {
	// contains filtered or unexported fields
}

func (NullableExpiringTargetError) Get ¶

func (NullableExpiringTargetError) IsSet ¶

func (NullableExpiringTargetError) MarshalJSON ¶

func (v NullableExpiringTargetError) MarshalJSON() ([]byte, error)

func (*NullableExpiringTargetError) Set ¶

func (*NullableExpiringTargetError) UnmarshalJSON ¶

func (v *NullableExpiringTargetError) UnmarshalJSON(src []byte) error

func (*NullableExpiringTargetError) Unset ¶

func (v *NullableExpiringTargetError) Unset()

type NullableExpiringTargetGetResponse ¶

type NullableExpiringTargetGetResponse struct {
	// contains filtered or unexported fields
}

func (NullableExpiringTargetGetResponse) Get ¶

func (NullableExpiringTargetGetResponse) IsSet ¶

func (NullableExpiringTargetGetResponse) MarshalJSON ¶

func (v NullableExpiringTargetGetResponse) MarshalJSON() ([]byte, error)

func (*NullableExpiringTargetGetResponse) Set ¶

func (*NullableExpiringTargetGetResponse) UnmarshalJSON ¶

func (v *NullableExpiringTargetGetResponse) UnmarshalJSON(src []byte) error

func (*NullableExpiringTargetGetResponse) Unset ¶

type NullableExpiringTargetPatchResponse ¶

type NullableExpiringTargetPatchResponse struct {
	// contains filtered or unexported fields
}

func (NullableExpiringTargetPatchResponse) Get ¶

func (NullableExpiringTargetPatchResponse) IsSet ¶

func (NullableExpiringTargetPatchResponse) MarshalJSON ¶

func (v NullableExpiringTargetPatchResponse) MarshalJSON() ([]byte, error)

func (*NullableExpiringTargetPatchResponse) Set ¶

func (*NullableExpiringTargetPatchResponse) UnmarshalJSON ¶

func (v *NullableExpiringTargetPatchResponse) UnmarshalJSON(src []byte) error

func (*NullableExpiringTargetPatchResponse) Unset ¶

type NullableExpiringUserTargetGetResponse ¶

type NullableExpiringUserTargetGetResponse struct {
	// contains filtered or unexported fields
}

func (NullableExpiringUserTargetGetResponse) Get ¶

func (NullableExpiringUserTargetGetResponse) IsSet ¶

func (NullableExpiringUserTargetGetResponse) MarshalJSON ¶

func (v NullableExpiringUserTargetGetResponse) MarshalJSON() ([]byte, error)

func (*NullableExpiringUserTargetGetResponse) Set ¶

func (*NullableExpiringUserTargetGetResponse) UnmarshalJSON ¶

func (v *NullableExpiringUserTargetGetResponse) UnmarshalJSON(src []byte) error

func (*NullableExpiringUserTargetGetResponse) Unset ¶

type NullableExpiringUserTargetItem ¶

type NullableExpiringUserTargetItem struct {
	// contains filtered or unexported fields
}

func (NullableExpiringUserTargetItem) Get ¶

func (NullableExpiringUserTargetItem) IsSet ¶

func (NullableExpiringUserTargetItem) MarshalJSON ¶

func (v NullableExpiringUserTargetItem) MarshalJSON() ([]byte, error)

func (*NullableExpiringUserTargetItem) Set ¶

func (*NullableExpiringUserTargetItem) UnmarshalJSON ¶

func (v *NullableExpiringUserTargetItem) UnmarshalJSON(src []byte) error

func (*NullableExpiringUserTargetItem) Unset ¶

func (v *NullableExpiringUserTargetItem) Unset()

type NullableExpiringUserTargetPatchResponse ¶

type NullableExpiringUserTargetPatchResponse struct {
	// contains filtered or unexported fields
}

func (NullableExpiringUserTargetPatchResponse) Get ¶

func (NullableExpiringUserTargetPatchResponse) IsSet ¶

func (NullableExpiringUserTargetPatchResponse) MarshalJSON ¶

func (v NullableExpiringUserTargetPatchResponse) MarshalJSON() ([]byte, error)

func (*NullableExpiringUserTargetPatchResponse) Set ¶

func (*NullableExpiringUserTargetPatchResponse) UnmarshalJSON ¶

func (v *NullableExpiringUserTargetPatchResponse) UnmarshalJSON(src []byte) error

func (*NullableExpiringUserTargetPatchResponse) Unset ¶

type NullableExport ¶

type NullableExport struct {
	// contains filtered or unexported fields
}

func NewNullableExport ¶

func NewNullableExport(val *Export) *NullableExport

func (NullableExport) Get ¶

func (v NullableExport) Get() *Export

func (NullableExport) IsSet ¶

func (v NullableExport) IsSet() bool

func (NullableExport) MarshalJSON ¶

func (v NullableExport) MarshalJSON() ([]byte, error)

func (*NullableExport) Set ¶

func (v *NullableExport) Set(val *Export)

func (*NullableExport) UnmarshalJSON ¶

func (v *NullableExport) UnmarshalJSON(src []byte) error

func (*NullableExport) Unset ¶

func (v *NullableExport) Unset()

type NullableExtinction ¶

type NullableExtinction struct {
	// contains filtered or unexported fields
}

func NewNullableExtinction ¶

func NewNullableExtinction(val *Extinction) *NullableExtinction

func (NullableExtinction) Get ¶

func (v NullableExtinction) Get() *Extinction

func (NullableExtinction) IsSet ¶

func (v NullableExtinction) IsSet() bool

func (NullableExtinction) MarshalJSON ¶

func (v NullableExtinction) MarshalJSON() ([]byte, error)

func (*NullableExtinction) Set ¶

func (v *NullableExtinction) Set(val *Extinction)

func (*NullableExtinction) UnmarshalJSON ¶

func (v *NullableExtinction) UnmarshalJSON(src []byte) error

func (*NullableExtinction) Unset ¶

func (v *NullableExtinction) Unset()

type NullableExtinctionCollectionRep ¶

type NullableExtinctionCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableExtinctionCollectionRep) Get ¶

func (NullableExtinctionCollectionRep) IsSet ¶

func (NullableExtinctionCollectionRep) MarshalJSON ¶

func (v NullableExtinctionCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableExtinctionCollectionRep) Set ¶

func (*NullableExtinctionCollectionRep) UnmarshalJSON ¶

func (v *NullableExtinctionCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableExtinctionCollectionRep) Unset ¶

type NullableFailureReasonRep ¶

type NullableFailureReasonRep struct {
	// contains filtered or unexported fields
}

func NewNullableFailureReasonRep ¶

func NewNullableFailureReasonRep(val *FailureReasonRep) *NullableFailureReasonRep

func (NullableFailureReasonRep) Get ¶

func (NullableFailureReasonRep) IsSet ¶

func (v NullableFailureReasonRep) IsSet() bool

func (NullableFailureReasonRep) MarshalJSON ¶

func (v NullableFailureReasonRep) MarshalJSON() ([]byte, error)

func (*NullableFailureReasonRep) Set ¶

func (*NullableFailureReasonRep) UnmarshalJSON ¶

func (v *NullableFailureReasonRep) UnmarshalJSON(src []byte) error

func (*NullableFailureReasonRep) Unset ¶

func (v *NullableFailureReasonRep) Unset()

type NullableFeatureFlag ¶

type NullableFeatureFlag struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureFlag ¶

func NewNullableFeatureFlag(val *FeatureFlag) *NullableFeatureFlag

func (NullableFeatureFlag) Get ¶

func (NullableFeatureFlag) IsSet ¶

func (v NullableFeatureFlag) IsSet() bool

func (NullableFeatureFlag) MarshalJSON ¶

func (v NullableFeatureFlag) MarshalJSON() ([]byte, error)

func (*NullableFeatureFlag) Set ¶

func (v *NullableFeatureFlag) Set(val *FeatureFlag)

func (*NullableFeatureFlag) UnmarshalJSON ¶

func (v *NullableFeatureFlag) UnmarshalJSON(src []byte) error

func (*NullableFeatureFlag) Unset ¶

func (v *NullableFeatureFlag) Unset()

type NullableFeatureFlagBody ¶

type NullableFeatureFlagBody struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureFlagBody ¶

func NewNullableFeatureFlagBody(val *FeatureFlagBody) *NullableFeatureFlagBody

func (NullableFeatureFlagBody) Get ¶

func (NullableFeatureFlagBody) IsSet ¶

func (v NullableFeatureFlagBody) IsSet() bool

func (NullableFeatureFlagBody) MarshalJSON ¶

func (v NullableFeatureFlagBody) MarshalJSON() ([]byte, error)

func (*NullableFeatureFlagBody) Set ¶

func (*NullableFeatureFlagBody) UnmarshalJSON ¶

func (v *NullableFeatureFlagBody) UnmarshalJSON(src []byte) error

func (*NullableFeatureFlagBody) Unset ¶

func (v *NullableFeatureFlagBody) Unset()

type NullableFeatureFlagConfig ¶

type NullableFeatureFlagConfig struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureFlagConfig ¶

func NewNullableFeatureFlagConfig(val *FeatureFlagConfig) *NullableFeatureFlagConfig

func (NullableFeatureFlagConfig) Get ¶

func (NullableFeatureFlagConfig) IsSet ¶

func (v NullableFeatureFlagConfig) IsSet() bool

func (NullableFeatureFlagConfig) MarshalJSON ¶

func (v NullableFeatureFlagConfig) MarshalJSON() ([]byte, error)

func (*NullableFeatureFlagConfig) Set ¶

func (*NullableFeatureFlagConfig) UnmarshalJSON ¶

func (v *NullableFeatureFlagConfig) UnmarshalJSON(src []byte) error

func (*NullableFeatureFlagConfig) Unset ¶

func (v *NullableFeatureFlagConfig) Unset()

type NullableFeatureFlagScheduledChange ¶

type NullableFeatureFlagScheduledChange struct {
	// contains filtered or unexported fields
}

func (NullableFeatureFlagScheduledChange) Get ¶

func (NullableFeatureFlagScheduledChange) IsSet ¶

func (NullableFeatureFlagScheduledChange) MarshalJSON ¶

func (v NullableFeatureFlagScheduledChange) MarshalJSON() ([]byte, error)

func (*NullableFeatureFlagScheduledChange) Set ¶

func (*NullableFeatureFlagScheduledChange) UnmarshalJSON ¶

func (v *NullableFeatureFlagScheduledChange) UnmarshalJSON(src []byte) error

func (*NullableFeatureFlagScheduledChange) Unset ¶

type NullableFeatureFlagScheduledChanges ¶

type NullableFeatureFlagScheduledChanges struct {
	// contains filtered or unexported fields
}

func (NullableFeatureFlagScheduledChanges) Get ¶

func (NullableFeatureFlagScheduledChanges) IsSet ¶

func (NullableFeatureFlagScheduledChanges) MarshalJSON ¶

func (v NullableFeatureFlagScheduledChanges) MarshalJSON() ([]byte, error)

func (*NullableFeatureFlagScheduledChanges) Set ¶

func (*NullableFeatureFlagScheduledChanges) UnmarshalJSON ¶

func (v *NullableFeatureFlagScheduledChanges) UnmarshalJSON(src []byte) error

func (*NullableFeatureFlagScheduledChanges) Unset ¶

type NullableFeatureFlagStatus ¶

type NullableFeatureFlagStatus struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureFlagStatus ¶

func NewNullableFeatureFlagStatus(val *FeatureFlagStatus) *NullableFeatureFlagStatus

func (NullableFeatureFlagStatus) Get ¶

func (NullableFeatureFlagStatus) IsSet ¶

func (v NullableFeatureFlagStatus) IsSet() bool

func (NullableFeatureFlagStatus) MarshalJSON ¶

func (v NullableFeatureFlagStatus) MarshalJSON() ([]byte, error)

func (*NullableFeatureFlagStatus) Set ¶

func (*NullableFeatureFlagStatus) UnmarshalJSON ¶

func (v *NullableFeatureFlagStatus) UnmarshalJSON(src []byte) error

func (*NullableFeatureFlagStatus) Unset ¶

func (v *NullableFeatureFlagStatus) Unset()

type NullableFeatureFlagStatusAcrossEnvironments ¶

type NullableFeatureFlagStatusAcrossEnvironments struct {
	// contains filtered or unexported fields
}

func (NullableFeatureFlagStatusAcrossEnvironments) Get ¶

func (NullableFeatureFlagStatusAcrossEnvironments) IsSet ¶

func (NullableFeatureFlagStatusAcrossEnvironments) MarshalJSON ¶

func (*NullableFeatureFlagStatusAcrossEnvironments) Set ¶

func (*NullableFeatureFlagStatusAcrossEnvironments) UnmarshalJSON ¶

func (v *NullableFeatureFlagStatusAcrossEnvironments) UnmarshalJSON(src []byte) error

func (*NullableFeatureFlagStatusAcrossEnvironments) Unset ¶

type NullableFeatureFlagStatuses ¶

type NullableFeatureFlagStatuses struct {
	// contains filtered or unexported fields
}

func (NullableFeatureFlagStatuses) Get ¶

func (NullableFeatureFlagStatuses) IsSet ¶

func (NullableFeatureFlagStatuses) MarshalJSON ¶

func (v NullableFeatureFlagStatuses) MarshalJSON() ([]byte, error)

func (*NullableFeatureFlagStatuses) Set ¶

func (*NullableFeatureFlagStatuses) UnmarshalJSON ¶

func (v *NullableFeatureFlagStatuses) UnmarshalJSON(src []byte) error

func (*NullableFeatureFlagStatuses) Unset ¶

func (v *NullableFeatureFlagStatuses) Unset()

type NullableFeatureFlags ¶

type NullableFeatureFlags struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureFlags ¶

func NewNullableFeatureFlags(val *FeatureFlags) *NullableFeatureFlags

func (NullableFeatureFlags) Get ¶

func (NullableFeatureFlags) IsSet ¶

func (v NullableFeatureFlags) IsSet() bool

func (NullableFeatureFlags) MarshalJSON ¶

func (v NullableFeatureFlags) MarshalJSON() ([]byte, error)

func (*NullableFeatureFlags) Set ¶

func (v *NullableFeatureFlags) Set(val *FeatureFlags)

func (*NullableFeatureFlags) UnmarshalJSON ¶

func (v *NullableFeatureFlags) UnmarshalJSON(src []byte) error

func (*NullableFeatureFlags) Unset ¶

func (v *NullableFeatureFlags) Unset()

type NullableFileRep ¶

type NullableFileRep struct {
	// contains filtered or unexported fields
}

func NewNullableFileRep ¶

func NewNullableFileRep(val *FileRep) *NullableFileRep

func (NullableFileRep) Get ¶

func (v NullableFileRep) Get() *FileRep

func (NullableFileRep) IsSet ¶

func (v NullableFileRep) IsSet() bool

func (NullableFileRep) MarshalJSON ¶

func (v NullableFileRep) MarshalJSON() ([]byte, error)

func (*NullableFileRep) Set ¶

func (v *NullableFileRep) Set(val *FileRep)

func (*NullableFileRep) UnmarshalJSON ¶

func (v *NullableFileRep) UnmarshalJSON(src []byte) error

func (*NullableFileRep) Unset ¶

func (v *NullableFileRep) Unset()

type NullableFlagConfigApprovalRequestResponse ¶

type NullableFlagConfigApprovalRequestResponse struct {
	// contains filtered or unexported fields
}

func (NullableFlagConfigApprovalRequestResponse) Get ¶

func (NullableFlagConfigApprovalRequestResponse) IsSet ¶

func (NullableFlagConfigApprovalRequestResponse) MarshalJSON ¶

func (*NullableFlagConfigApprovalRequestResponse) Set ¶

func (*NullableFlagConfigApprovalRequestResponse) UnmarshalJSON ¶

func (v *NullableFlagConfigApprovalRequestResponse) UnmarshalJSON(src []byte) error

func (*NullableFlagConfigApprovalRequestResponse) Unset ¶

type NullableFlagConfigApprovalRequestsResponse ¶

type NullableFlagConfigApprovalRequestsResponse struct {
	// contains filtered or unexported fields
}

func (NullableFlagConfigApprovalRequestsResponse) Get ¶

func (NullableFlagConfigApprovalRequestsResponse) IsSet ¶

func (NullableFlagConfigApprovalRequestsResponse) MarshalJSON ¶

func (*NullableFlagConfigApprovalRequestsResponse) Set ¶

func (*NullableFlagConfigApprovalRequestsResponse) UnmarshalJSON ¶

func (v *NullableFlagConfigApprovalRequestsResponse) UnmarshalJSON(src []byte) error

func (*NullableFlagConfigApprovalRequestsResponse) Unset ¶

type NullableFlagConfigEvaluation ¶

type NullableFlagConfigEvaluation struct {
	// contains filtered or unexported fields
}

func (NullableFlagConfigEvaluation) Get ¶

func (NullableFlagConfigEvaluation) IsSet ¶

func (NullableFlagConfigEvaluation) MarshalJSON ¶

func (v NullableFlagConfigEvaluation) MarshalJSON() ([]byte, error)

func (*NullableFlagConfigEvaluation) Set ¶

func (*NullableFlagConfigEvaluation) UnmarshalJSON ¶

func (v *NullableFlagConfigEvaluation) UnmarshalJSON(src []byte) error

func (*NullableFlagConfigEvaluation) Unset ¶

func (v *NullableFlagConfigEvaluation) Unset()

type NullableFlagConfigMigrationSettingsRep ¶

type NullableFlagConfigMigrationSettingsRep struct {
	// contains filtered or unexported fields
}

func (NullableFlagConfigMigrationSettingsRep) Get ¶

func (NullableFlagConfigMigrationSettingsRep) IsSet ¶

func (NullableFlagConfigMigrationSettingsRep) MarshalJSON ¶

func (v NullableFlagConfigMigrationSettingsRep) MarshalJSON() ([]byte, error)

func (*NullableFlagConfigMigrationSettingsRep) Set ¶

func (*NullableFlagConfigMigrationSettingsRep) UnmarshalJSON ¶

func (v *NullableFlagConfigMigrationSettingsRep) UnmarshalJSON(src []byte) error

func (*NullableFlagConfigMigrationSettingsRep) Unset ¶

type NullableFlagCopyConfigEnvironment ¶

type NullableFlagCopyConfigEnvironment struct {
	// contains filtered or unexported fields
}

func (NullableFlagCopyConfigEnvironment) Get ¶

func (NullableFlagCopyConfigEnvironment) IsSet ¶

func (NullableFlagCopyConfigEnvironment) MarshalJSON ¶

func (v NullableFlagCopyConfigEnvironment) MarshalJSON() ([]byte, error)

func (*NullableFlagCopyConfigEnvironment) Set ¶

func (*NullableFlagCopyConfigEnvironment) UnmarshalJSON ¶

func (v *NullableFlagCopyConfigEnvironment) UnmarshalJSON(src []byte) error

func (*NullableFlagCopyConfigEnvironment) Unset ¶

type NullableFlagCopyConfigPost ¶

type NullableFlagCopyConfigPost struct {
	// contains filtered or unexported fields
}

func NewNullableFlagCopyConfigPost ¶

func NewNullableFlagCopyConfigPost(val *FlagCopyConfigPost) *NullableFlagCopyConfigPost

func (NullableFlagCopyConfigPost) Get ¶

func (NullableFlagCopyConfigPost) IsSet ¶

func (v NullableFlagCopyConfigPost) IsSet() bool

func (NullableFlagCopyConfigPost) MarshalJSON ¶

func (v NullableFlagCopyConfigPost) MarshalJSON() ([]byte, error)

func (*NullableFlagCopyConfigPost) Set ¶

func (*NullableFlagCopyConfigPost) UnmarshalJSON ¶

func (v *NullableFlagCopyConfigPost) UnmarshalJSON(src []byte) error

func (*NullableFlagCopyConfigPost) Unset ¶

func (v *NullableFlagCopyConfigPost) Unset()

type NullableFlagDefaultsRep ¶

type NullableFlagDefaultsRep struct {
	// contains filtered or unexported fields
}

func NewNullableFlagDefaultsRep ¶

func NewNullableFlagDefaultsRep(val *FlagDefaultsRep) *NullableFlagDefaultsRep

func (NullableFlagDefaultsRep) Get ¶

func (NullableFlagDefaultsRep) IsSet ¶

func (v NullableFlagDefaultsRep) IsSet() bool

func (NullableFlagDefaultsRep) MarshalJSON ¶

func (v NullableFlagDefaultsRep) MarshalJSON() ([]byte, error)

func (*NullableFlagDefaultsRep) Set ¶

func (*NullableFlagDefaultsRep) UnmarshalJSON ¶

func (v *NullableFlagDefaultsRep) UnmarshalJSON(src []byte) error

func (*NullableFlagDefaultsRep) Unset ¶

func (v *NullableFlagDefaultsRep) Unset()

type NullableFlagEventCollectionRep ¶

type NullableFlagEventCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableFlagEventCollectionRep) Get ¶

func (NullableFlagEventCollectionRep) IsSet ¶

func (NullableFlagEventCollectionRep) MarshalJSON ¶

func (v NullableFlagEventCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableFlagEventCollectionRep) Set ¶

func (*NullableFlagEventCollectionRep) UnmarshalJSON ¶

func (v *NullableFlagEventCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableFlagEventCollectionRep) Unset ¶

func (v *NullableFlagEventCollectionRep) Unset()

type NullableFlagEventExperiment ¶

type NullableFlagEventExperiment struct {
	// contains filtered or unexported fields
}

func (NullableFlagEventExperiment) Get ¶

func (NullableFlagEventExperiment) IsSet ¶

func (NullableFlagEventExperiment) MarshalJSON ¶

func (v NullableFlagEventExperiment) MarshalJSON() ([]byte, error)

func (*NullableFlagEventExperiment) Set ¶

func (*NullableFlagEventExperiment) UnmarshalJSON ¶

func (v *NullableFlagEventExperiment) UnmarshalJSON(src []byte) error

func (*NullableFlagEventExperiment) Unset ¶

func (v *NullableFlagEventExperiment) Unset()

type NullableFlagEventExperimentCollection ¶

type NullableFlagEventExperimentCollection struct {
	// contains filtered or unexported fields
}

func (NullableFlagEventExperimentCollection) Get ¶

func (NullableFlagEventExperimentCollection) IsSet ¶

func (NullableFlagEventExperimentCollection) MarshalJSON ¶

func (v NullableFlagEventExperimentCollection) MarshalJSON() ([]byte, error)

func (*NullableFlagEventExperimentCollection) Set ¶

func (*NullableFlagEventExperimentCollection) UnmarshalJSON ¶

func (v *NullableFlagEventExperimentCollection) UnmarshalJSON(src []byte) error

func (*NullableFlagEventExperimentCollection) Unset ¶

type NullableFlagEventExperimentIteration ¶

type NullableFlagEventExperimentIteration struct {
	// contains filtered or unexported fields
}

func (NullableFlagEventExperimentIteration) Get ¶

func (NullableFlagEventExperimentIteration) IsSet ¶

func (NullableFlagEventExperimentIteration) MarshalJSON ¶

func (v NullableFlagEventExperimentIteration) MarshalJSON() ([]byte, error)

func (*NullableFlagEventExperimentIteration) Set ¶

func (*NullableFlagEventExperimentIteration) UnmarshalJSON ¶

func (v *NullableFlagEventExperimentIteration) UnmarshalJSON(src []byte) error

func (*NullableFlagEventExperimentIteration) Unset ¶

type NullableFlagEventImpactRep ¶

type NullableFlagEventImpactRep struct {
	// contains filtered or unexported fields
}

func NewNullableFlagEventImpactRep ¶

func NewNullableFlagEventImpactRep(val *FlagEventImpactRep) *NullableFlagEventImpactRep

func (NullableFlagEventImpactRep) Get ¶

func (NullableFlagEventImpactRep) IsSet ¶

func (v NullableFlagEventImpactRep) IsSet() bool

func (NullableFlagEventImpactRep) MarshalJSON ¶

func (v NullableFlagEventImpactRep) MarshalJSON() ([]byte, error)

func (*NullableFlagEventImpactRep) Set ¶

func (*NullableFlagEventImpactRep) UnmarshalJSON ¶

func (v *NullableFlagEventImpactRep) UnmarshalJSON(src []byte) error

func (*NullableFlagEventImpactRep) Unset ¶

func (v *NullableFlagEventImpactRep) Unset()

type NullableFlagEventMemberRep ¶

type NullableFlagEventMemberRep struct {
	// contains filtered or unexported fields
}

func NewNullableFlagEventMemberRep ¶

func NewNullableFlagEventMemberRep(val *FlagEventMemberRep) *NullableFlagEventMemberRep

func (NullableFlagEventMemberRep) Get ¶

func (NullableFlagEventMemberRep) IsSet ¶

func (v NullableFlagEventMemberRep) IsSet() bool

func (NullableFlagEventMemberRep) MarshalJSON ¶

func (v NullableFlagEventMemberRep) MarshalJSON() ([]byte, error)

func (*NullableFlagEventMemberRep) Set ¶

func (*NullableFlagEventMemberRep) UnmarshalJSON ¶

func (v *NullableFlagEventMemberRep) UnmarshalJSON(src []byte) error

func (*NullableFlagEventMemberRep) Unset ¶

func (v *NullableFlagEventMemberRep) Unset()

type NullableFlagEventRep ¶

type NullableFlagEventRep struct {
	// contains filtered or unexported fields
}

func NewNullableFlagEventRep ¶

func NewNullableFlagEventRep(val *FlagEventRep) *NullableFlagEventRep

func (NullableFlagEventRep) Get ¶

func (NullableFlagEventRep) IsSet ¶

func (v NullableFlagEventRep) IsSet() bool

func (NullableFlagEventRep) MarshalJSON ¶

func (v NullableFlagEventRep) MarshalJSON() ([]byte, error)

func (*NullableFlagEventRep) Set ¶

func (v *NullableFlagEventRep) Set(val *FlagEventRep)

func (*NullableFlagEventRep) UnmarshalJSON ¶

func (v *NullableFlagEventRep) UnmarshalJSON(src []byte) error

func (*NullableFlagEventRep) Unset ¶

func (v *NullableFlagEventRep) Unset()

type NullableFlagFollowersByProjEnvGetRep ¶

type NullableFlagFollowersByProjEnvGetRep struct {
	// contains filtered or unexported fields
}

func (NullableFlagFollowersByProjEnvGetRep) Get ¶

func (NullableFlagFollowersByProjEnvGetRep) IsSet ¶

func (NullableFlagFollowersByProjEnvGetRep) MarshalJSON ¶

func (v NullableFlagFollowersByProjEnvGetRep) MarshalJSON() ([]byte, error)

func (*NullableFlagFollowersByProjEnvGetRep) Set ¶

func (*NullableFlagFollowersByProjEnvGetRep) UnmarshalJSON ¶

func (v *NullableFlagFollowersByProjEnvGetRep) UnmarshalJSON(src []byte) error

func (*NullableFlagFollowersByProjEnvGetRep) Unset ¶

type NullableFlagFollowersGetRep ¶

type NullableFlagFollowersGetRep struct {
	// contains filtered or unexported fields
}

func (NullableFlagFollowersGetRep) Get ¶

func (NullableFlagFollowersGetRep) IsSet ¶

func (NullableFlagFollowersGetRep) MarshalJSON ¶

func (v NullableFlagFollowersGetRep) MarshalJSON() ([]byte, error)

func (*NullableFlagFollowersGetRep) Set ¶

func (*NullableFlagFollowersGetRep) UnmarshalJSON ¶

func (v *NullableFlagFollowersGetRep) UnmarshalJSON(src []byte) error

func (*NullableFlagFollowersGetRep) Unset ¶

func (v *NullableFlagFollowersGetRep) Unset()

type NullableFlagInput ¶

type NullableFlagInput struct {
	// contains filtered or unexported fields
}

func NewNullableFlagInput ¶

func NewNullableFlagInput(val *FlagInput) *NullableFlagInput

func (NullableFlagInput) Get ¶

func (v NullableFlagInput) Get() *FlagInput

func (NullableFlagInput) IsSet ¶

func (v NullableFlagInput) IsSet() bool

func (NullableFlagInput) MarshalJSON ¶

func (v NullableFlagInput) MarshalJSON() ([]byte, error)

func (*NullableFlagInput) Set ¶

func (v *NullableFlagInput) Set(val *FlagInput)

func (*NullableFlagInput) UnmarshalJSON ¶

func (v *NullableFlagInput) UnmarshalJSON(src []byte) error

func (*NullableFlagInput) Unset ¶

func (v *NullableFlagInput) Unset()

type NullableFlagLinkCollectionRep ¶

type NullableFlagLinkCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableFlagLinkCollectionRep) Get ¶

func (NullableFlagLinkCollectionRep) IsSet ¶

func (NullableFlagLinkCollectionRep) MarshalJSON ¶

func (v NullableFlagLinkCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableFlagLinkCollectionRep) Set ¶

func (*NullableFlagLinkCollectionRep) UnmarshalJSON ¶

func (v *NullableFlagLinkCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableFlagLinkCollectionRep) Unset ¶

func (v *NullableFlagLinkCollectionRep) Unset()

type NullableFlagLinkMember ¶

type NullableFlagLinkMember struct {
	// contains filtered or unexported fields
}

func NewNullableFlagLinkMember ¶

func NewNullableFlagLinkMember(val *FlagLinkMember) *NullableFlagLinkMember

func (NullableFlagLinkMember) Get ¶

func (NullableFlagLinkMember) IsSet ¶

func (v NullableFlagLinkMember) IsSet() bool

func (NullableFlagLinkMember) MarshalJSON ¶

func (v NullableFlagLinkMember) MarshalJSON() ([]byte, error)

func (*NullableFlagLinkMember) Set ¶

func (*NullableFlagLinkMember) UnmarshalJSON ¶

func (v *NullableFlagLinkMember) UnmarshalJSON(src []byte) error

func (*NullableFlagLinkMember) Unset ¶

func (v *NullableFlagLinkMember) Unset()

type NullableFlagLinkPost ¶

type NullableFlagLinkPost struct {
	// contains filtered or unexported fields
}

func NewNullableFlagLinkPost ¶

func NewNullableFlagLinkPost(val *FlagLinkPost) *NullableFlagLinkPost

func (NullableFlagLinkPost) Get ¶

func (NullableFlagLinkPost) IsSet ¶

func (v NullableFlagLinkPost) IsSet() bool

func (NullableFlagLinkPost) MarshalJSON ¶

func (v NullableFlagLinkPost) MarshalJSON() ([]byte, error)

func (*NullableFlagLinkPost) Set ¶

func (v *NullableFlagLinkPost) Set(val *FlagLinkPost)

func (*NullableFlagLinkPost) UnmarshalJSON ¶

func (v *NullableFlagLinkPost) UnmarshalJSON(src []byte) error

func (*NullableFlagLinkPost) Unset ¶

func (v *NullableFlagLinkPost) Unset()

type NullableFlagLinkRep ¶

type NullableFlagLinkRep struct {
	// contains filtered or unexported fields
}

func NewNullableFlagLinkRep ¶

func NewNullableFlagLinkRep(val *FlagLinkRep) *NullableFlagLinkRep

func (NullableFlagLinkRep) Get ¶

func (NullableFlagLinkRep) IsSet ¶

func (v NullableFlagLinkRep) IsSet() bool

func (NullableFlagLinkRep) MarshalJSON ¶

func (v NullableFlagLinkRep) MarshalJSON() ([]byte, error)

func (*NullableFlagLinkRep) Set ¶

func (v *NullableFlagLinkRep) Set(val *FlagLinkRep)

func (*NullableFlagLinkRep) UnmarshalJSON ¶

func (v *NullableFlagLinkRep) UnmarshalJSON(src []byte) error

func (*NullableFlagLinkRep) Unset ¶

func (v *NullableFlagLinkRep) Unset()

type NullableFlagListingRep ¶

type NullableFlagListingRep struct {
	// contains filtered or unexported fields
}

func NewNullableFlagListingRep ¶

func NewNullableFlagListingRep(val *FlagListingRep) *NullableFlagListingRep

func (NullableFlagListingRep) Get ¶

func (NullableFlagListingRep) IsSet ¶

func (v NullableFlagListingRep) IsSet() bool

func (NullableFlagListingRep) MarshalJSON ¶

func (v NullableFlagListingRep) MarshalJSON() ([]byte, error)

func (*NullableFlagListingRep) Set ¶

func (*NullableFlagListingRep) UnmarshalJSON ¶

func (v *NullableFlagListingRep) UnmarshalJSON(src []byte) error

func (*NullableFlagListingRep) Unset ¶

func (v *NullableFlagListingRep) Unset()

type NullableFlagMigrationSettingsRep ¶

type NullableFlagMigrationSettingsRep struct {
	// contains filtered or unexported fields
}

func (NullableFlagMigrationSettingsRep) Get ¶

func (NullableFlagMigrationSettingsRep) IsSet ¶

func (NullableFlagMigrationSettingsRep) MarshalJSON ¶

func (v NullableFlagMigrationSettingsRep) MarshalJSON() ([]byte, error)

func (*NullableFlagMigrationSettingsRep) Set ¶

func (*NullableFlagMigrationSettingsRep) UnmarshalJSON ¶

func (v *NullableFlagMigrationSettingsRep) UnmarshalJSON(src []byte) error

func (*NullableFlagMigrationSettingsRep) Unset ¶

type NullableFlagReferenceCollectionRep ¶

type NullableFlagReferenceCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableFlagReferenceCollectionRep) Get ¶

func (NullableFlagReferenceCollectionRep) IsSet ¶

func (NullableFlagReferenceCollectionRep) MarshalJSON ¶

func (v NullableFlagReferenceCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableFlagReferenceCollectionRep) Set ¶

func (*NullableFlagReferenceCollectionRep) UnmarshalJSON ¶

func (v *NullableFlagReferenceCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableFlagReferenceCollectionRep) Unset ¶

type NullableFlagReferenceRep ¶

type NullableFlagReferenceRep struct {
	// contains filtered or unexported fields
}

func NewNullableFlagReferenceRep ¶

func NewNullableFlagReferenceRep(val *FlagReferenceRep) *NullableFlagReferenceRep

func (NullableFlagReferenceRep) Get ¶

func (NullableFlagReferenceRep) IsSet ¶

func (v NullableFlagReferenceRep) IsSet() bool

func (NullableFlagReferenceRep) MarshalJSON ¶

func (v NullableFlagReferenceRep) MarshalJSON() ([]byte, error)

func (*NullableFlagReferenceRep) Set ¶

func (*NullableFlagReferenceRep) UnmarshalJSON ¶

func (v *NullableFlagReferenceRep) UnmarshalJSON(src []byte) error

func (*NullableFlagReferenceRep) Unset ¶

func (v *NullableFlagReferenceRep) Unset()

type NullableFlagRep ¶

type NullableFlagRep struct {
	// contains filtered or unexported fields
}

func NewNullableFlagRep ¶

func NewNullableFlagRep(val *FlagRep) *NullableFlagRep

func (NullableFlagRep) Get ¶

func (v NullableFlagRep) Get() *FlagRep

func (NullableFlagRep) IsSet ¶

func (v NullableFlagRep) IsSet() bool

func (NullableFlagRep) MarshalJSON ¶

func (v NullableFlagRep) MarshalJSON() ([]byte, error)

func (*NullableFlagRep) Set ¶

func (v *NullableFlagRep) Set(val *FlagRep)

func (*NullableFlagRep) UnmarshalJSON ¶

func (v *NullableFlagRep) UnmarshalJSON(src []byte) error

func (*NullableFlagRep) Unset ¶

func (v *NullableFlagRep) Unset()

type NullableFlagScheduledChangesInput ¶

type NullableFlagScheduledChangesInput struct {
	// contains filtered or unexported fields
}

func (NullableFlagScheduledChangesInput) Get ¶

func (NullableFlagScheduledChangesInput) IsSet ¶

func (NullableFlagScheduledChangesInput) MarshalJSON ¶

func (v NullableFlagScheduledChangesInput) MarshalJSON() ([]byte, error)

func (*NullableFlagScheduledChangesInput) Set ¶

func (*NullableFlagScheduledChangesInput) UnmarshalJSON ¶

func (v *NullableFlagScheduledChangesInput) UnmarshalJSON(src []byte) error

func (*NullableFlagScheduledChangesInput) Unset ¶

type NullableFlagSempatch ¶

type NullableFlagSempatch struct {
	// contains filtered or unexported fields
}

func NewNullableFlagSempatch ¶

func NewNullableFlagSempatch(val *FlagSempatch) *NullableFlagSempatch

func (NullableFlagSempatch) Get ¶

func (NullableFlagSempatch) IsSet ¶

func (v NullableFlagSempatch) IsSet() bool

func (NullableFlagSempatch) MarshalJSON ¶

func (v NullableFlagSempatch) MarshalJSON() ([]byte, error)

func (*NullableFlagSempatch) Set ¶

func (v *NullableFlagSempatch) Set(val *FlagSempatch)

func (*NullableFlagSempatch) UnmarshalJSON ¶

func (v *NullableFlagSempatch) UnmarshalJSON(src []byte) error

func (*NullableFlagSempatch) Unset ¶

func (v *NullableFlagSempatch) Unset()

type NullableFlagStatusRep ¶

type NullableFlagStatusRep struct {
	// contains filtered or unexported fields
}

func NewNullableFlagStatusRep ¶

func NewNullableFlagStatusRep(val *FlagStatusRep) *NullableFlagStatusRep

func (NullableFlagStatusRep) Get ¶

func (NullableFlagStatusRep) IsSet ¶

func (v NullableFlagStatusRep) IsSet() bool

func (NullableFlagStatusRep) MarshalJSON ¶

func (v NullableFlagStatusRep) MarshalJSON() ([]byte, error)

func (*NullableFlagStatusRep) Set ¶

func (v *NullableFlagStatusRep) Set(val *FlagStatusRep)

func (*NullableFlagStatusRep) UnmarshalJSON ¶

func (v *NullableFlagStatusRep) UnmarshalJSON(src []byte) error

func (*NullableFlagStatusRep) Unset ¶

func (v *NullableFlagStatusRep) Unset()

type NullableFlagSummary ¶

type NullableFlagSummary struct {
	// contains filtered or unexported fields
}

func NewNullableFlagSummary ¶

func NewNullableFlagSummary(val *FlagSummary) *NullableFlagSummary

func (NullableFlagSummary) Get ¶

func (NullableFlagSummary) IsSet ¶

func (v NullableFlagSummary) IsSet() bool

func (NullableFlagSummary) MarshalJSON ¶

func (v NullableFlagSummary) MarshalJSON() ([]byte, error)

func (*NullableFlagSummary) Set ¶

func (v *NullableFlagSummary) Set(val *FlagSummary)

func (*NullableFlagSummary) UnmarshalJSON ¶

func (v *NullableFlagSummary) UnmarshalJSON(src []byte) error

func (*NullableFlagSummary) Unset ¶

func (v *NullableFlagSummary) Unset()

type NullableFlagTriggerInput ¶

type NullableFlagTriggerInput struct {
	// contains filtered or unexported fields
}

func NewNullableFlagTriggerInput ¶

func NewNullableFlagTriggerInput(val *FlagTriggerInput) *NullableFlagTriggerInput

func (NullableFlagTriggerInput) Get ¶

func (NullableFlagTriggerInput) IsSet ¶

func (v NullableFlagTriggerInput) IsSet() bool

func (NullableFlagTriggerInput) MarshalJSON ¶

func (v NullableFlagTriggerInput) MarshalJSON() ([]byte, error)

func (*NullableFlagTriggerInput) Set ¶

func (*NullableFlagTriggerInput) UnmarshalJSON ¶

func (v *NullableFlagTriggerInput) UnmarshalJSON(src []byte) error

func (*NullableFlagTriggerInput) Unset ¶

func (v *NullableFlagTriggerInput) Unset()

type NullableFloat32 ¶

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32 ¶

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get ¶

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet ¶

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON ¶

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set ¶

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON ¶

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset ¶

func (v *NullableFloat32) Unset()

type NullableFloat64 ¶

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64 ¶

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get ¶

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet ¶

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON ¶

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set ¶

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON ¶

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset ¶

func (v *NullableFloat64) Unset()

type NullableFollowFlagMember ¶

type NullableFollowFlagMember struct {
	// contains filtered or unexported fields
}

func NewNullableFollowFlagMember ¶

func NewNullableFollowFlagMember(val *FollowFlagMember) *NullableFollowFlagMember

func (NullableFollowFlagMember) Get ¶

func (NullableFollowFlagMember) IsSet ¶

func (v NullableFollowFlagMember) IsSet() bool

func (NullableFollowFlagMember) MarshalJSON ¶

func (v NullableFollowFlagMember) MarshalJSON() ([]byte, error)

func (*NullableFollowFlagMember) Set ¶

func (*NullableFollowFlagMember) UnmarshalJSON ¶

func (v *NullableFollowFlagMember) UnmarshalJSON(src []byte) error

func (*NullableFollowFlagMember) Unset ¶

func (v *NullableFollowFlagMember) Unset()

type NullableFollowersPerFlag ¶

type NullableFollowersPerFlag struct {
	// contains filtered or unexported fields
}

func NewNullableFollowersPerFlag ¶

func NewNullableFollowersPerFlag(val *FollowersPerFlag) *NullableFollowersPerFlag

func (NullableFollowersPerFlag) Get ¶

func (NullableFollowersPerFlag) IsSet ¶

func (v NullableFollowersPerFlag) IsSet() bool

func (NullableFollowersPerFlag) MarshalJSON ¶

func (v NullableFollowersPerFlag) MarshalJSON() ([]byte, error)

func (*NullableFollowersPerFlag) Set ¶

func (*NullableFollowersPerFlag) UnmarshalJSON ¶

func (v *NullableFollowersPerFlag) UnmarshalJSON(src []byte) error

func (*NullableFollowersPerFlag) Unset ¶

func (v *NullableFollowersPerFlag) Unset()

type NullableForbiddenErrorRep ¶

type NullableForbiddenErrorRep struct {
	// contains filtered or unexported fields
}

func NewNullableForbiddenErrorRep ¶

func NewNullableForbiddenErrorRep(val *ForbiddenErrorRep) *NullableForbiddenErrorRep

func (NullableForbiddenErrorRep) Get ¶

func (NullableForbiddenErrorRep) IsSet ¶

func (v NullableForbiddenErrorRep) IsSet() bool

func (NullableForbiddenErrorRep) MarshalJSON ¶

func (v NullableForbiddenErrorRep) MarshalJSON() ([]byte, error)

func (*NullableForbiddenErrorRep) Set ¶

func (*NullableForbiddenErrorRep) UnmarshalJSON ¶

func (v *NullableForbiddenErrorRep) UnmarshalJSON(src []byte) error

func (*NullableForbiddenErrorRep) Unset ¶

func (v *NullableForbiddenErrorRep) Unset()

type NullableHunkRep ¶

type NullableHunkRep struct {
	// contains filtered or unexported fields
}

func NewNullableHunkRep ¶

func NewNullableHunkRep(val *HunkRep) *NullableHunkRep

func (NullableHunkRep) Get ¶

func (v NullableHunkRep) Get() *HunkRep

func (NullableHunkRep) IsSet ¶

func (v NullableHunkRep) IsSet() bool

func (NullableHunkRep) MarshalJSON ¶

func (v NullableHunkRep) MarshalJSON() ([]byte, error)

func (*NullableHunkRep) Set ¶

func (v *NullableHunkRep) Set(val *HunkRep)

func (*NullableHunkRep) UnmarshalJSON ¶

func (v *NullableHunkRep) UnmarshalJSON(src []byte) error

func (*NullableHunkRep) Unset ¶

func (v *NullableHunkRep) Unset()

type NullableImport ¶

type NullableImport struct {
	// contains filtered or unexported fields
}

func NewNullableImport ¶

func NewNullableImport(val *Import) *NullableImport

func (NullableImport) Get ¶

func (v NullableImport) Get() *Import

func (NullableImport) IsSet ¶

func (v NullableImport) IsSet() bool

func (NullableImport) MarshalJSON ¶

func (v NullableImport) MarshalJSON() ([]byte, error)

func (*NullableImport) Set ¶

func (v *NullableImport) Set(val *Import)

func (*NullableImport) UnmarshalJSON ¶

func (v *NullableImport) UnmarshalJSON(src []byte) error

func (*NullableImport) Unset ¶

func (v *NullableImport) Unset()

type NullableInitiatorRep ¶

type NullableInitiatorRep struct {
	// contains filtered or unexported fields
}

func NewNullableInitiatorRep ¶

func NewNullableInitiatorRep(val *InitiatorRep) *NullableInitiatorRep

func (NullableInitiatorRep) Get ¶

func (NullableInitiatorRep) IsSet ¶

func (v NullableInitiatorRep) IsSet() bool

func (NullableInitiatorRep) MarshalJSON ¶

func (v NullableInitiatorRep) MarshalJSON() ([]byte, error)

func (*NullableInitiatorRep) Set ¶

func (v *NullableInitiatorRep) Set(val *InitiatorRep)

func (*NullableInitiatorRep) UnmarshalJSON ¶

func (v *NullableInitiatorRep) UnmarshalJSON(src []byte) error

func (*NullableInitiatorRep) Unset ¶

func (v *NullableInitiatorRep) Unset()

type NullableInsightGroup ¶

type NullableInsightGroup struct {
	// contains filtered or unexported fields
}

func NewNullableInsightGroup ¶

func NewNullableInsightGroup(val *InsightGroup) *NullableInsightGroup

func (NullableInsightGroup) Get ¶

func (NullableInsightGroup) IsSet ¶

func (v NullableInsightGroup) IsSet() bool

func (NullableInsightGroup) MarshalJSON ¶

func (v NullableInsightGroup) MarshalJSON() ([]byte, error)

func (*NullableInsightGroup) Set ¶

func (v *NullableInsightGroup) Set(val *InsightGroup)

func (*NullableInsightGroup) UnmarshalJSON ¶

func (v *NullableInsightGroup) UnmarshalJSON(src []byte) error

func (*NullableInsightGroup) Unset ¶

func (v *NullableInsightGroup) Unset()

type NullableInsightGroupCollection ¶

type NullableInsightGroupCollection struct {
	// contains filtered or unexported fields
}

func (NullableInsightGroupCollection) Get ¶

func (NullableInsightGroupCollection) IsSet ¶

func (NullableInsightGroupCollection) MarshalJSON ¶

func (v NullableInsightGroupCollection) MarshalJSON() ([]byte, error)

func (*NullableInsightGroupCollection) Set ¶

func (*NullableInsightGroupCollection) UnmarshalJSON ¶

func (v *NullableInsightGroupCollection) UnmarshalJSON(src []byte) error

func (*NullableInsightGroupCollection) Unset ¶

func (v *NullableInsightGroupCollection) Unset()

type NullableInsightGroupCollectionMetadata ¶

type NullableInsightGroupCollectionMetadata struct {
	// contains filtered or unexported fields
}

func (NullableInsightGroupCollectionMetadata) Get ¶

func (NullableInsightGroupCollectionMetadata) IsSet ¶

func (NullableInsightGroupCollectionMetadata) MarshalJSON ¶

func (v NullableInsightGroupCollectionMetadata) MarshalJSON() ([]byte, error)

func (*NullableInsightGroupCollectionMetadata) Set ¶

func (*NullableInsightGroupCollectionMetadata) UnmarshalJSON ¶

func (v *NullableInsightGroupCollectionMetadata) UnmarshalJSON(src []byte) error

func (*NullableInsightGroupCollectionMetadata) Unset ¶

type NullableInsightGroupCollectionScoreMetadata ¶

type NullableInsightGroupCollectionScoreMetadata struct {
	// contains filtered or unexported fields
}

func (NullableInsightGroupCollectionScoreMetadata) Get ¶

func (NullableInsightGroupCollectionScoreMetadata) IsSet ¶

func (NullableInsightGroupCollectionScoreMetadata) MarshalJSON ¶

func (*NullableInsightGroupCollectionScoreMetadata) Set ¶

func (*NullableInsightGroupCollectionScoreMetadata) UnmarshalJSON ¶

func (v *NullableInsightGroupCollectionScoreMetadata) UnmarshalJSON(src []byte) error

func (*NullableInsightGroupCollectionScoreMetadata) Unset ¶

type NullableInsightGroupScores ¶

type NullableInsightGroupScores struct {
	// contains filtered or unexported fields
}

func NewNullableInsightGroupScores ¶

func NewNullableInsightGroupScores(val *InsightGroupScores) *NullableInsightGroupScores

func (NullableInsightGroupScores) Get ¶

func (NullableInsightGroupScores) IsSet ¶

func (v NullableInsightGroupScores) IsSet() bool

func (NullableInsightGroupScores) MarshalJSON ¶

func (v NullableInsightGroupScores) MarshalJSON() ([]byte, error)

func (*NullableInsightGroupScores) Set ¶

func (*NullableInsightGroupScores) UnmarshalJSON ¶

func (v *NullableInsightGroupScores) UnmarshalJSON(src []byte) error

func (*NullableInsightGroupScores) Unset ¶

func (v *NullableInsightGroupScores) Unset()

type NullableInsightGroupsCountByIndicator ¶

type NullableInsightGroupsCountByIndicator struct {
	// contains filtered or unexported fields
}

func (NullableInsightGroupsCountByIndicator) Get ¶

func (NullableInsightGroupsCountByIndicator) IsSet ¶

func (NullableInsightGroupsCountByIndicator) MarshalJSON ¶

func (v NullableInsightGroupsCountByIndicator) MarshalJSON() ([]byte, error)

func (*NullableInsightGroupsCountByIndicator) Set ¶

func (*NullableInsightGroupsCountByIndicator) UnmarshalJSON ¶

func (v *NullableInsightGroupsCountByIndicator) UnmarshalJSON(src []byte) error

func (*NullableInsightGroupsCountByIndicator) Unset ¶

type NullableInsightPeriod ¶

type NullableInsightPeriod struct {
	// contains filtered or unexported fields
}

func NewNullableInsightPeriod ¶

func NewNullableInsightPeriod(val *InsightPeriod) *NullableInsightPeriod

func (NullableInsightPeriod) Get ¶

func (NullableInsightPeriod) IsSet ¶

func (v NullableInsightPeriod) IsSet() bool

func (NullableInsightPeriod) MarshalJSON ¶

func (v NullableInsightPeriod) MarshalJSON() ([]byte, error)

func (*NullableInsightPeriod) Set ¶

func (v *NullableInsightPeriod) Set(val *InsightPeriod)

func (*NullableInsightPeriod) UnmarshalJSON ¶

func (v *NullableInsightPeriod) UnmarshalJSON(src []byte) error

func (*NullableInsightPeriod) Unset ¶

func (v *NullableInsightPeriod) Unset()

type NullableInsightScores ¶

type NullableInsightScores struct {
	// contains filtered or unexported fields
}

func NewNullableInsightScores ¶

func NewNullableInsightScores(val *InsightScores) *NullableInsightScores

func (NullableInsightScores) Get ¶

func (NullableInsightScores) IsSet ¶

func (v NullableInsightScores) IsSet() bool

func (NullableInsightScores) MarshalJSON ¶

func (v NullableInsightScores) MarshalJSON() ([]byte, error)

func (*NullableInsightScores) Set ¶

func (v *NullableInsightScores) Set(val *InsightScores)

func (*NullableInsightScores) UnmarshalJSON ¶

func (v *NullableInsightScores) UnmarshalJSON(src []byte) error

func (*NullableInsightScores) Unset ¶

func (v *NullableInsightScores) Unset()

type NullableInsightsChart ¶

type NullableInsightsChart struct {
	// contains filtered or unexported fields
}

func NewNullableInsightsChart ¶

func NewNullableInsightsChart(val *InsightsChart) *NullableInsightsChart

func (NullableInsightsChart) Get ¶

func (NullableInsightsChart) IsSet ¶

func (v NullableInsightsChart) IsSet() bool

func (NullableInsightsChart) MarshalJSON ¶

func (v NullableInsightsChart) MarshalJSON() ([]byte, error)

func (*NullableInsightsChart) Set ¶

func (v *NullableInsightsChart) Set(val *InsightsChart)

func (*NullableInsightsChart) UnmarshalJSON ¶

func (v *NullableInsightsChart) UnmarshalJSON(src []byte) error

func (*NullableInsightsChart) Unset ¶

func (v *NullableInsightsChart) Unset()

type NullableInsightsChartBounds ¶

type NullableInsightsChartBounds struct {
	// contains filtered or unexported fields
}

func (NullableInsightsChartBounds) Get ¶

func (NullableInsightsChartBounds) IsSet ¶

func (NullableInsightsChartBounds) MarshalJSON ¶

func (v NullableInsightsChartBounds) MarshalJSON() ([]byte, error)

func (*NullableInsightsChartBounds) Set ¶

func (*NullableInsightsChartBounds) UnmarshalJSON ¶

func (v *NullableInsightsChartBounds) UnmarshalJSON(src []byte) error

func (*NullableInsightsChartBounds) Unset ¶

func (v *NullableInsightsChartBounds) Unset()

type NullableInsightsChartMetadata ¶

type NullableInsightsChartMetadata struct {
	// contains filtered or unexported fields
}

func (NullableInsightsChartMetadata) Get ¶

func (NullableInsightsChartMetadata) IsSet ¶

func (NullableInsightsChartMetadata) MarshalJSON ¶

func (v NullableInsightsChartMetadata) MarshalJSON() ([]byte, error)

func (*NullableInsightsChartMetadata) Set ¶

func (*NullableInsightsChartMetadata) UnmarshalJSON ¶

func (v *NullableInsightsChartMetadata) UnmarshalJSON(src []byte) error

func (*NullableInsightsChartMetadata) Unset ¶

func (v *NullableInsightsChartMetadata) Unset()

type NullableInsightsChartMetric ¶

type NullableInsightsChartMetric struct {
	// contains filtered or unexported fields
}

func (NullableInsightsChartMetric) Get ¶

func (NullableInsightsChartMetric) IsSet ¶

func (NullableInsightsChartMetric) MarshalJSON ¶

func (v NullableInsightsChartMetric) MarshalJSON() ([]byte, error)

func (*NullableInsightsChartMetric) Set ¶

func (*NullableInsightsChartMetric) UnmarshalJSON ¶

func (v *NullableInsightsChartMetric) UnmarshalJSON(src []byte) error

func (*NullableInsightsChartMetric) Unset ¶

func (v *NullableInsightsChartMetric) Unset()

type NullableInsightsChartSeries ¶

type NullableInsightsChartSeries struct {
	// contains filtered or unexported fields
}

func (NullableInsightsChartSeries) Get ¶

func (NullableInsightsChartSeries) IsSet ¶

func (NullableInsightsChartSeries) MarshalJSON ¶

func (v NullableInsightsChartSeries) MarshalJSON() ([]byte, error)

func (*NullableInsightsChartSeries) Set ¶

func (*NullableInsightsChartSeries) UnmarshalJSON ¶

func (v *NullableInsightsChartSeries) UnmarshalJSON(src []byte) error

func (*NullableInsightsChartSeries) Unset ¶

func (v *NullableInsightsChartSeries) Unset()

type NullableInsightsChartSeriesDataPoint ¶

type NullableInsightsChartSeriesDataPoint struct {
	// contains filtered or unexported fields
}

func (NullableInsightsChartSeriesDataPoint) Get ¶

func (NullableInsightsChartSeriesDataPoint) IsSet ¶

func (NullableInsightsChartSeriesDataPoint) MarshalJSON ¶

func (v NullableInsightsChartSeriesDataPoint) MarshalJSON() ([]byte, error)

func (*NullableInsightsChartSeriesDataPoint) Set ¶

func (*NullableInsightsChartSeriesDataPoint) UnmarshalJSON ¶

func (v *NullableInsightsChartSeriesDataPoint) UnmarshalJSON(src []byte) error

func (*NullableInsightsChartSeriesDataPoint) Unset ¶

type NullableInsightsChartSeriesMetadata ¶

type NullableInsightsChartSeriesMetadata struct {
	// contains filtered or unexported fields
}

func (NullableInsightsChartSeriesMetadata) Get ¶

func (NullableInsightsChartSeriesMetadata) IsSet ¶

func (NullableInsightsChartSeriesMetadata) MarshalJSON ¶

func (v NullableInsightsChartSeriesMetadata) MarshalJSON() ([]byte, error)

func (*NullableInsightsChartSeriesMetadata) Set ¶

func (*NullableInsightsChartSeriesMetadata) UnmarshalJSON ¶

func (v *NullableInsightsChartSeriesMetadata) UnmarshalJSON(src []byte) error

func (*NullableInsightsChartSeriesMetadata) Unset ¶

type NullableInsightsChartSeriesMetadataAxis ¶

type NullableInsightsChartSeriesMetadataAxis struct {
	// contains filtered or unexported fields
}

func (NullableInsightsChartSeriesMetadataAxis) Get ¶

func (NullableInsightsChartSeriesMetadataAxis) IsSet ¶

func (NullableInsightsChartSeriesMetadataAxis) MarshalJSON ¶

func (v NullableInsightsChartSeriesMetadataAxis) MarshalJSON() ([]byte, error)

func (*NullableInsightsChartSeriesMetadataAxis) Set ¶

func (*NullableInsightsChartSeriesMetadataAxis) UnmarshalJSON ¶

func (v *NullableInsightsChartSeriesMetadataAxis) UnmarshalJSON(src []byte) error

func (*NullableInsightsChartSeriesMetadataAxis) Unset ¶

type NullableInsightsMetricIndicatorRange ¶

type NullableInsightsMetricIndicatorRange struct {
	// contains filtered or unexported fields
}

func (NullableInsightsMetricIndicatorRange) Get ¶

func (NullableInsightsMetricIndicatorRange) IsSet ¶

func (NullableInsightsMetricIndicatorRange) MarshalJSON ¶

func (v NullableInsightsMetricIndicatorRange) MarshalJSON() ([]byte, error)

func (*NullableInsightsMetricIndicatorRange) Set ¶

func (*NullableInsightsMetricIndicatorRange) UnmarshalJSON ¶

func (v *NullableInsightsMetricIndicatorRange) UnmarshalJSON(src []byte) error

func (*NullableInsightsMetricIndicatorRange) Unset ¶

type NullableInsightsMetricScore ¶

type NullableInsightsMetricScore struct {
	// contains filtered or unexported fields
}

func (NullableInsightsMetricScore) Get ¶

func (NullableInsightsMetricScore) IsSet ¶

func (NullableInsightsMetricScore) MarshalJSON ¶

func (v NullableInsightsMetricScore) MarshalJSON() ([]byte, error)

func (*NullableInsightsMetricScore) Set ¶

func (*NullableInsightsMetricScore) UnmarshalJSON ¶

func (v *NullableInsightsMetricScore) UnmarshalJSON(src []byte) error

func (*NullableInsightsMetricScore) Unset ¶

func (v *NullableInsightsMetricScore) Unset()

type NullableInsightsMetricTierDefinition ¶

type NullableInsightsMetricTierDefinition struct {
	// contains filtered or unexported fields
}

func (NullableInsightsMetricTierDefinition) Get ¶

func (NullableInsightsMetricTierDefinition) IsSet ¶

func (NullableInsightsMetricTierDefinition) MarshalJSON ¶

func (v NullableInsightsMetricTierDefinition) MarshalJSON() ([]byte, error)

func (*NullableInsightsMetricTierDefinition) Set ¶

func (*NullableInsightsMetricTierDefinition) UnmarshalJSON ¶

func (v *NullableInsightsMetricTierDefinition) UnmarshalJSON(src []byte) error

func (*NullableInsightsMetricTierDefinition) Unset ¶

type NullableInsightsRepository ¶

type NullableInsightsRepository struct {
	// contains filtered or unexported fields
}

func NewNullableInsightsRepository ¶

func NewNullableInsightsRepository(val *InsightsRepository) *NullableInsightsRepository

func (NullableInsightsRepository) Get ¶

func (NullableInsightsRepository) IsSet ¶

func (v NullableInsightsRepository) IsSet() bool

func (NullableInsightsRepository) MarshalJSON ¶

func (v NullableInsightsRepository) MarshalJSON() ([]byte, error)

func (*NullableInsightsRepository) Set ¶

func (*NullableInsightsRepository) UnmarshalJSON ¶

func (v *NullableInsightsRepository) UnmarshalJSON(src []byte) error

func (*NullableInsightsRepository) Unset ¶

func (v *NullableInsightsRepository) Unset()

type NullableInsightsRepositoryCollection ¶

type NullableInsightsRepositoryCollection struct {
	// contains filtered or unexported fields
}

func (NullableInsightsRepositoryCollection) Get ¶

func (NullableInsightsRepositoryCollection) IsSet ¶

func (NullableInsightsRepositoryCollection) MarshalJSON ¶

func (v NullableInsightsRepositoryCollection) MarshalJSON() ([]byte, error)

func (*NullableInsightsRepositoryCollection) Set ¶

func (*NullableInsightsRepositoryCollection) UnmarshalJSON ¶

func (v *NullableInsightsRepositoryCollection) UnmarshalJSON(src []byte) error

func (*NullableInsightsRepositoryCollection) Unset ¶

type NullableInsightsRepositoryProject ¶

type NullableInsightsRepositoryProject struct {
	// contains filtered or unexported fields
}

func (NullableInsightsRepositoryProject) Get ¶

func (NullableInsightsRepositoryProject) IsSet ¶

func (NullableInsightsRepositoryProject) MarshalJSON ¶

func (v NullableInsightsRepositoryProject) MarshalJSON() ([]byte, error)

func (*NullableInsightsRepositoryProject) Set ¶

func (*NullableInsightsRepositoryProject) UnmarshalJSON ¶

func (v *NullableInsightsRepositoryProject) UnmarshalJSON(src []byte) error

func (*NullableInsightsRepositoryProject) Unset ¶

type NullableInsightsRepositoryProjectCollection ¶

type NullableInsightsRepositoryProjectCollection struct {
	// contains filtered or unexported fields
}

func (NullableInsightsRepositoryProjectCollection) Get ¶

func (NullableInsightsRepositoryProjectCollection) IsSet ¶

func (NullableInsightsRepositoryProjectCollection) MarshalJSON ¶

func (*NullableInsightsRepositoryProjectCollection) Set ¶

func (*NullableInsightsRepositoryProjectCollection) UnmarshalJSON ¶

func (v *NullableInsightsRepositoryProjectCollection) UnmarshalJSON(src []byte) error

func (*NullableInsightsRepositoryProjectCollection) Unset ¶

type NullableInsightsRepositoryProjectMappings ¶

type NullableInsightsRepositoryProjectMappings struct {
	// contains filtered or unexported fields
}

func (NullableInsightsRepositoryProjectMappings) Get ¶

func (NullableInsightsRepositoryProjectMappings) IsSet ¶

func (NullableInsightsRepositoryProjectMappings) MarshalJSON ¶

func (*NullableInsightsRepositoryProjectMappings) Set ¶

func (*NullableInsightsRepositoryProjectMappings) UnmarshalJSON ¶

func (v *NullableInsightsRepositoryProjectMappings) UnmarshalJSON(src []byte) error

func (*NullableInsightsRepositoryProjectMappings) Unset ¶

type NullableInstructionUserRequest ¶

type NullableInstructionUserRequest struct {
	// contains filtered or unexported fields
}

func (NullableInstructionUserRequest) Get ¶

func (NullableInstructionUserRequest) IsSet ¶

func (NullableInstructionUserRequest) MarshalJSON ¶

func (v NullableInstructionUserRequest) MarshalJSON() ([]byte, error)

func (*NullableInstructionUserRequest) Set ¶

func (*NullableInstructionUserRequest) UnmarshalJSON ¶

func (v *NullableInstructionUserRequest) UnmarshalJSON(src []byte) error

func (*NullableInstructionUserRequest) Unset ¶

func (v *NullableInstructionUserRequest) Unset()

type NullableInt ¶

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt ¶

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get ¶

func (v NullableInt) Get() *int

func (NullableInt) IsSet ¶

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON ¶

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set ¶

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON ¶

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset ¶

func (v *NullableInt) Unset()

type NullableInt32 ¶

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32 ¶

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get ¶

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet ¶

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON ¶

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set ¶

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON ¶

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset ¶

func (v *NullableInt32) Unset()

type NullableInt64 ¶

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64 ¶

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get ¶

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet ¶

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON ¶

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set ¶

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON ¶

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset ¶

func (v *NullableInt64) Unset()

type NullableIntegration ¶

type NullableIntegration struct {
	// contains filtered or unexported fields
}

func NewNullableIntegration ¶

func NewNullableIntegration(val *Integration) *NullableIntegration

func (NullableIntegration) Get ¶

func (NullableIntegration) IsSet ¶

func (v NullableIntegration) IsSet() bool

func (NullableIntegration) MarshalJSON ¶

func (v NullableIntegration) MarshalJSON() ([]byte, error)

func (*NullableIntegration) Set ¶

func (v *NullableIntegration) Set(val *Integration)

func (*NullableIntegration) UnmarshalJSON ¶

func (v *NullableIntegration) UnmarshalJSON(src []byte) error

func (*NullableIntegration) Unset ¶

func (v *NullableIntegration) Unset()

type NullableIntegrationDeliveryConfiguration ¶

type NullableIntegrationDeliveryConfiguration struct {
	// contains filtered or unexported fields
}

func (NullableIntegrationDeliveryConfiguration) Get ¶

func (NullableIntegrationDeliveryConfiguration) IsSet ¶

func (NullableIntegrationDeliveryConfiguration) MarshalJSON ¶

func (*NullableIntegrationDeliveryConfiguration) Set ¶

func (*NullableIntegrationDeliveryConfiguration) UnmarshalJSON ¶

func (v *NullableIntegrationDeliveryConfiguration) UnmarshalJSON(src []byte) error

func (*NullableIntegrationDeliveryConfiguration) Unset ¶

type NullableIntegrationDeliveryConfigurationCollection ¶

type NullableIntegrationDeliveryConfigurationCollection struct {
	// contains filtered or unexported fields
}

func (NullableIntegrationDeliveryConfigurationCollection) Get ¶

func (NullableIntegrationDeliveryConfigurationCollection) IsSet ¶

func (NullableIntegrationDeliveryConfigurationCollection) MarshalJSON ¶

func (*NullableIntegrationDeliveryConfigurationCollection) Set ¶

func (*NullableIntegrationDeliveryConfigurationCollection) UnmarshalJSON ¶

func (*NullableIntegrationDeliveryConfigurationCollection) Unset ¶

type NullableIntegrationDeliveryConfigurationCollectionLinks struct {
	// contains filtered or unexported fields
}

func (NullableIntegrationDeliveryConfigurationCollectionLinks) Get ¶

func (NullableIntegrationDeliveryConfigurationCollectionLinks) IsSet ¶

func (NullableIntegrationDeliveryConfigurationCollectionLinks) MarshalJSON ¶

func (*NullableIntegrationDeliveryConfigurationCollectionLinks) Set ¶

func (*NullableIntegrationDeliveryConfigurationCollectionLinks) UnmarshalJSON ¶

func (*NullableIntegrationDeliveryConfigurationCollectionLinks) Unset ¶

type NullableIntegrationDeliveryConfigurationLinks struct {
	// contains filtered or unexported fields
}

func (NullableIntegrationDeliveryConfigurationLinks) Get ¶

func (NullableIntegrationDeliveryConfigurationLinks) IsSet ¶

func (NullableIntegrationDeliveryConfigurationLinks) MarshalJSON ¶

func (*NullableIntegrationDeliveryConfigurationLinks) Set ¶

func (*NullableIntegrationDeliveryConfigurationLinks) UnmarshalJSON ¶

func (*NullableIntegrationDeliveryConfigurationLinks) Unset ¶

type NullableIntegrationDeliveryConfigurationPost ¶

type NullableIntegrationDeliveryConfigurationPost struct {
	// contains filtered or unexported fields
}

func (NullableIntegrationDeliveryConfigurationPost) Get ¶

func (NullableIntegrationDeliveryConfigurationPost) IsSet ¶

func (NullableIntegrationDeliveryConfigurationPost) MarshalJSON ¶

func (*NullableIntegrationDeliveryConfigurationPost) Set ¶

func (*NullableIntegrationDeliveryConfigurationPost) UnmarshalJSON ¶

func (*NullableIntegrationDeliveryConfigurationPost) Unset ¶

type NullableIntegrationDeliveryConfigurationResponse ¶

type NullableIntegrationDeliveryConfigurationResponse struct {
	// contains filtered or unexported fields
}

func (NullableIntegrationDeliveryConfigurationResponse) Get ¶

func (NullableIntegrationDeliveryConfigurationResponse) IsSet ¶

func (NullableIntegrationDeliveryConfigurationResponse) MarshalJSON ¶

func (*NullableIntegrationDeliveryConfigurationResponse) Set ¶

func (*NullableIntegrationDeliveryConfigurationResponse) UnmarshalJSON ¶

func (*NullableIntegrationDeliveryConfigurationResponse) Unset ¶

type NullableIntegrationMetadata ¶

type NullableIntegrationMetadata struct {
	// contains filtered or unexported fields
}

func (NullableIntegrationMetadata) Get ¶

func (NullableIntegrationMetadata) IsSet ¶

func (NullableIntegrationMetadata) MarshalJSON ¶

func (v NullableIntegrationMetadata) MarshalJSON() ([]byte, error)

func (*NullableIntegrationMetadata) Set ¶

func (*NullableIntegrationMetadata) UnmarshalJSON ¶

func (v *NullableIntegrationMetadata) UnmarshalJSON(src []byte) error

func (*NullableIntegrationMetadata) Unset ¶

func (v *NullableIntegrationMetadata) Unset()

type NullableIntegrationStatus ¶

type NullableIntegrationStatus struct {
	// contains filtered or unexported fields
}

func NewNullableIntegrationStatus ¶

func NewNullableIntegrationStatus(val *IntegrationStatus) *NullableIntegrationStatus

func (NullableIntegrationStatus) Get ¶

func (NullableIntegrationStatus) IsSet ¶

func (v NullableIntegrationStatus) IsSet() bool

func (NullableIntegrationStatus) MarshalJSON ¶

func (v NullableIntegrationStatus) MarshalJSON() ([]byte, error)

func (*NullableIntegrationStatus) Set ¶

func (*NullableIntegrationStatus) UnmarshalJSON ¶

func (v *NullableIntegrationStatus) UnmarshalJSON(src []byte) error

func (*NullableIntegrationStatus) Unset ¶

func (v *NullableIntegrationStatus) Unset()

type NullableIntegrationStatusRep ¶

type NullableIntegrationStatusRep struct {
	// contains filtered or unexported fields
}

func (NullableIntegrationStatusRep) Get ¶

func (NullableIntegrationStatusRep) IsSet ¶

func (NullableIntegrationStatusRep) MarshalJSON ¶

func (v NullableIntegrationStatusRep) MarshalJSON() ([]byte, error)

func (*NullableIntegrationStatusRep) Set ¶

func (*NullableIntegrationStatusRep) UnmarshalJSON ¶

func (v *NullableIntegrationStatusRep) UnmarshalJSON(src []byte) error

func (*NullableIntegrationStatusRep) Unset ¶

func (v *NullableIntegrationStatusRep) Unset()

type NullableIntegrationSubscriptionStatusRep ¶

type NullableIntegrationSubscriptionStatusRep struct {
	// contains filtered or unexported fields
}

func (NullableIntegrationSubscriptionStatusRep) Get ¶

func (NullableIntegrationSubscriptionStatusRep) IsSet ¶

func (NullableIntegrationSubscriptionStatusRep) MarshalJSON ¶

func (*NullableIntegrationSubscriptionStatusRep) Set ¶

func (*NullableIntegrationSubscriptionStatusRep) UnmarshalJSON ¶

func (v *NullableIntegrationSubscriptionStatusRep) UnmarshalJSON(src []byte) error

func (*NullableIntegrationSubscriptionStatusRep) Unset ¶

type NullableIntegrations ¶

type NullableIntegrations struct {
	// contains filtered or unexported fields
}

func NewNullableIntegrations ¶

func NewNullableIntegrations(val *Integrations) *NullableIntegrations

func (NullableIntegrations) Get ¶

func (NullableIntegrations) IsSet ¶

func (v NullableIntegrations) IsSet() bool

func (NullableIntegrations) MarshalJSON ¶

func (v NullableIntegrations) MarshalJSON() ([]byte, error)

func (*NullableIntegrations) Set ¶

func (v *NullableIntegrations) Set(val *Integrations)

func (*NullableIntegrations) UnmarshalJSON ¶

func (v *NullableIntegrations) UnmarshalJSON(src []byte) error

func (*NullableIntegrations) Unset ¶

func (v *NullableIntegrations) Unset()

type NullableInvalidRequestErrorRep ¶

type NullableInvalidRequestErrorRep struct {
	// contains filtered or unexported fields
}

func (NullableInvalidRequestErrorRep) Get ¶

func (NullableInvalidRequestErrorRep) IsSet ¶

func (NullableInvalidRequestErrorRep) MarshalJSON ¶

func (v NullableInvalidRequestErrorRep) MarshalJSON() ([]byte, error)

func (*NullableInvalidRequestErrorRep) Set ¶

func (*NullableInvalidRequestErrorRep) UnmarshalJSON ¶

func (v *NullableInvalidRequestErrorRep) UnmarshalJSON(src []byte) error

func (*NullableInvalidRequestErrorRep) Unset ¶

func (v *NullableInvalidRequestErrorRep) Unset()

type NullableIpList ¶

type NullableIpList struct {
	// contains filtered or unexported fields
}

func NewNullableIpList ¶

func NewNullableIpList(val *IpList) *NullableIpList

func (NullableIpList) Get ¶

func (v NullableIpList) Get() *IpList

func (NullableIpList) IsSet ¶

func (v NullableIpList) IsSet() bool

func (NullableIpList) MarshalJSON ¶

func (v NullableIpList) MarshalJSON() ([]byte, error)

func (*NullableIpList) Set ¶

func (v *NullableIpList) Set(val *IpList)

func (*NullableIpList) UnmarshalJSON ¶

func (v *NullableIpList) UnmarshalJSON(src []byte) error

func (*NullableIpList) Unset ¶

func (v *NullableIpList) Unset()

type NullableIterationInput ¶

type NullableIterationInput struct {
	// contains filtered or unexported fields
}

func NewNullableIterationInput ¶

func NewNullableIterationInput(val *IterationInput) *NullableIterationInput

func (NullableIterationInput) Get ¶

func (NullableIterationInput) IsSet ¶

func (v NullableIterationInput) IsSet() bool

func (NullableIterationInput) MarshalJSON ¶

func (v NullableIterationInput) MarshalJSON() ([]byte, error)

func (*NullableIterationInput) Set ¶

func (*NullableIterationInput) UnmarshalJSON ¶

func (v *NullableIterationInput) UnmarshalJSON(src []byte) error

func (*NullableIterationInput) Unset ¶

func (v *NullableIterationInput) Unset()

type NullableIterationRep ¶

type NullableIterationRep struct {
	// contains filtered or unexported fields
}

func NewNullableIterationRep ¶

func NewNullableIterationRep(val *IterationRep) *NullableIterationRep

func (NullableIterationRep) Get ¶

func (NullableIterationRep) IsSet ¶

func (v NullableIterationRep) IsSet() bool

func (NullableIterationRep) MarshalJSON ¶

func (v NullableIterationRep) MarshalJSON() ([]byte, error)

func (*NullableIterationRep) Set ¶

func (v *NullableIterationRep) Set(val *IterationRep)

func (*NullableIterationRep) UnmarshalJSON ¶

func (v *NullableIterationRep) UnmarshalJSON(src []byte) error

func (*NullableIterationRep) Unset ¶

func (v *NullableIterationRep) Unset()

type NullableLastSeenMetadata ¶

type NullableLastSeenMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableLastSeenMetadata ¶

func NewNullableLastSeenMetadata(val *LastSeenMetadata) *NullableLastSeenMetadata

func (NullableLastSeenMetadata) Get ¶

func (NullableLastSeenMetadata) IsSet ¶

func (v NullableLastSeenMetadata) IsSet() bool

func (NullableLastSeenMetadata) MarshalJSON ¶

func (v NullableLastSeenMetadata) MarshalJSON() ([]byte, error)

func (*NullableLastSeenMetadata) Set ¶

func (*NullableLastSeenMetadata) UnmarshalJSON ¶

func (v *NullableLastSeenMetadata) UnmarshalJSON(src []byte) error

func (*NullableLastSeenMetadata) Unset ¶

func (v *NullableLastSeenMetadata) Unset()

type NullableLeadTimeStagesRep ¶

type NullableLeadTimeStagesRep struct {
	// contains filtered or unexported fields
}

func NewNullableLeadTimeStagesRep ¶

func NewNullableLeadTimeStagesRep(val *LeadTimeStagesRep) *NullableLeadTimeStagesRep

func (NullableLeadTimeStagesRep) Get ¶

func (NullableLeadTimeStagesRep) IsSet ¶

func (v NullableLeadTimeStagesRep) IsSet() bool

func (NullableLeadTimeStagesRep) MarshalJSON ¶

func (v NullableLeadTimeStagesRep) MarshalJSON() ([]byte, error)

func (*NullableLeadTimeStagesRep) Set ¶

func (*NullableLeadTimeStagesRep) UnmarshalJSON ¶

func (v *NullableLeadTimeStagesRep) UnmarshalJSON(src []byte) error

func (*NullableLeadTimeStagesRep) Unset ¶

func (v *NullableLeadTimeStagesRep) Unset()

type NullableLegacyExperimentRep ¶

type NullableLegacyExperimentRep struct {
	// contains filtered or unexported fields
}

func (NullableLegacyExperimentRep) Get ¶

func (NullableLegacyExperimentRep) IsSet ¶

func (NullableLegacyExperimentRep) MarshalJSON ¶

func (v NullableLegacyExperimentRep) MarshalJSON() ([]byte, error)

func (*NullableLegacyExperimentRep) Set ¶

func (*NullableLegacyExperimentRep) UnmarshalJSON ¶

func (v *NullableLegacyExperimentRep) UnmarshalJSON(src []byte) error

func (*NullableLegacyExperimentRep) Unset ¶

func (v *NullableLegacyExperimentRep) Unset()
type NullableLink struct {
	// contains filtered or unexported fields
}
func NewNullableLink(val *Link) *NullableLink

func (NullableLink) Get ¶

func (v NullableLink) Get() *Link

func (NullableLink) IsSet ¶

func (v NullableLink) IsSet() bool

func (NullableLink) MarshalJSON ¶

func (v NullableLink) MarshalJSON() ([]byte, error)

func (*NullableLink) Set ¶

func (v *NullableLink) Set(val *Link)

func (*NullableLink) UnmarshalJSON ¶

func (v *NullableLink) UnmarshalJSON(src []byte) error

func (*NullableLink) Unset ¶

func (v *NullableLink) Unset()

type NullableMaintainerRep ¶

type NullableMaintainerRep struct {
	// contains filtered or unexported fields
}

func NewNullableMaintainerRep ¶

func NewNullableMaintainerRep(val *MaintainerRep) *NullableMaintainerRep

func (NullableMaintainerRep) Get ¶

func (NullableMaintainerRep) IsSet ¶

func (v NullableMaintainerRep) IsSet() bool

func (NullableMaintainerRep) MarshalJSON ¶

func (v NullableMaintainerRep) MarshalJSON() ([]byte, error)

func (*NullableMaintainerRep) Set ¶

func (v *NullableMaintainerRep) Set(val *MaintainerRep)

func (*NullableMaintainerRep) UnmarshalJSON ¶

func (v *NullableMaintainerRep) UnmarshalJSON(src []byte) error

func (*NullableMaintainerRep) Unset ¶

func (v *NullableMaintainerRep) Unset()

type NullableMaintainerTeam ¶

type NullableMaintainerTeam struct {
	// contains filtered or unexported fields
}

func NewNullableMaintainerTeam ¶

func NewNullableMaintainerTeam(val *MaintainerTeam) *NullableMaintainerTeam

func (NullableMaintainerTeam) Get ¶

func (NullableMaintainerTeam) IsSet ¶

func (v NullableMaintainerTeam) IsSet() bool

func (NullableMaintainerTeam) MarshalJSON ¶

func (v NullableMaintainerTeam) MarshalJSON() ([]byte, error)

func (*NullableMaintainerTeam) Set ¶

func (*NullableMaintainerTeam) UnmarshalJSON ¶

func (v *NullableMaintainerTeam) UnmarshalJSON(src []byte) error

func (*NullableMaintainerTeam) Unset ¶

func (v *NullableMaintainerTeam) Unset()

type NullableMember ¶

type NullableMember struct {
	// contains filtered or unexported fields
}

func NewNullableMember ¶

func NewNullableMember(val *Member) *NullableMember

func (NullableMember) Get ¶

func (v NullableMember) Get() *Member

func (NullableMember) IsSet ¶

func (v NullableMember) IsSet() bool

func (NullableMember) MarshalJSON ¶

func (v NullableMember) MarshalJSON() ([]byte, error)

func (*NullableMember) Set ¶

func (v *NullableMember) Set(val *Member)

func (*NullableMember) UnmarshalJSON ¶

func (v *NullableMember) UnmarshalJSON(src []byte) error

func (*NullableMember) Unset ¶

func (v *NullableMember) Unset()

type NullableMemberDataRep ¶

type NullableMemberDataRep struct {
	// contains filtered or unexported fields
}

func NewNullableMemberDataRep ¶

func NewNullableMemberDataRep(val *MemberDataRep) *NullableMemberDataRep

func (NullableMemberDataRep) Get ¶

func (NullableMemberDataRep) IsSet ¶

func (v NullableMemberDataRep) IsSet() bool

func (NullableMemberDataRep) MarshalJSON ¶

func (v NullableMemberDataRep) MarshalJSON() ([]byte, error)

func (*NullableMemberDataRep) Set ¶

func (v *NullableMemberDataRep) Set(val *MemberDataRep)

func (*NullableMemberDataRep) UnmarshalJSON ¶

func (v *NullableMemberDataRep) UnmarshalJSON(src []byte) error

func (*NullableMemberDataRep) Unset ¶

func (v *NullableMemberDataRep) Unset()

type NullableMemberImportItem ¶

type NullableMemberImportItem struct {
	// contains filtered or unexported fields
}

func NewNullableMemberImportItem ¶

func NewNullableMemberImportItem(val *MemberImportItem) *NullableMemberImportItem

func (NullableMemberImportItem) Get ¶

func (NullableMemberImportItem) IsSet ¶

func (v NullableMemberImportItem) IsSet() bool

func (NullableMemberImportItem) MarshalJSON ¶

func (v NullableMemberImportItem) MarshalJSON() ([]byte, error)

func (*NullableMemberImportItem) Set ¶

func (*NullableMemberImportItem) UnmarshalJSON ¶

func (v *NullableMemberImportItem) UnmarshalJSON(src []byte) error

func (*NullableMemberImportItem) Unset ¶

func (v *NullableMemberImportItem) Unset()

type NullableMemberPermissionGrantSummaryRep ¶

type NullableMemberPermissionGrantSummaryRep struct {
	// contains filtered or unexported fields
}

func (NullableMemberPermissionGrantSummaryRep) Get ¶

func (NullableMemberPermissionGrantSummaryRep) IsSet ¶

func (NullableMemberPermissionGrantSummaryRep) MarshalJSON ¶

func (v NullableMemberPermissionGrantSummaryRep) MarshalJSON() ([]byte, error)

func (*NullableMemberPermissionGrantSummaryRep) Set ¶

func (*NullableMemberPermissionGrantSummaryRep) UnmarshalJSON ¶

func (v *NullableMemberPermissionGrantSummaryRep) UnmarshalJSON(src []byte) error

func (*NullableMemberPermissionGrantSummaryRep) Unset ¶

type NullableMemberSummary ¶

type NullableMemberSummary struct {
	// contains filtered or unexported fields
}

func NewNullableMemberSummary ¶

func NewNullableMemberSummary(val *MemberSummary) *NullableMemberSummary

func (NullableMemberSummary) Get ¶

func (NullableMemberSummary) IsSet ¶

func (v NullableMemberSummary) IsSet() bool

func (NullableMemberSummary) MarshalJSON ¶

func (v NullableMemberSummary) MarshalJSON() ([]byte, error)

func (*NullableMemberSummary) Set ¶

func (v *NullableMemberSummary) Set(val *MemberSummary)

func (*NullableMemberSummary) UnmarshalJSON ¶

func (v *NullableMemberSummary) UnmarshalJSON(src []byte) error

func (*NullableMemberSummary) Unset ¶

func (v *NullableMemberSummary) Unset()

type NullableMemberTeamSummaryRep ¶

type NullableMemberTeamSummaryRep struct {
	// contains filtered or unexported fields
}

func (NullableMemberTeamSummaryRep) Get ¶

func (NullableMemberTeamSummaryRep) IsSet ¶

func (NullableMemberTeamSummaryRep) MarshalJSON ¶

func (v NullableMemberTeamSummaryRep) MarshalJSON() ([]byte, error)

func (*NullableMemberTeamSummaryRep) Set ¶

func (*NullableMemberTeamSummaryRep) UnmarshalJSON ¶

func (v *NullableMemberTeamSummaryRep) UnmarshalJSON(src []byte) error

func (*NullableMemberTeamSummaryRep) Unset ¶

func (v *NullableMemberTeamSummaryRep) Unset()

type NullableMemberTeamsPostInput ¶

type NullableMemberTeamsPostInput struct {
	// contains filtered or unexported fields
}

func (NullableMemberTeamsPostInput) Get ¶

func (NullableMemberTeamsPostInput) IsSet ¶

func (NullableMemberTeamsPostInput) MarshalJSON ¶

func (v NullableMemberTeamsPostInput) MarshalJSON() ([]byte, error)

func (*NullableMemberTeamsPostInput) Set ¶

func (*NullableMemberTeamsPostInput) UnmarshalJSON ¶

func (v *NullableMemberTeamsPostInput) UnmarshalJSON(src []byte) error

func (*NullableMemberTeamsPostInput) Unset ¶

func (v *NullableMemberTeamsPostInput) Unset()

type NullableMembers ¶

type NullableMembers struct {
	// contains filtered or unexported fields
}

func NewNullableMembers ¶

func NewNullableMembers(val *Members) *NullableMembers

func (NullableMembers) Get ¶

func (v NullableMembers) Get() *Members

func (NullableMembers) IsSet ¶

func (v NullableMembers) IsSet() bool

func (NullableMembers) MarshalJSON ¶

func (v NullableMembers) MarshalJSON() ([]byte, error)

func (*NullableMembers) Set ¶

func (v *NullableMembers) Set(val *Members)

func (*NullableMembers) UnmarshalJSON ¶

func (v *NullableMembers) UnmarshalJSON(src []byte) error

func (*NullableMembers) Unset ¶

func (v *NullableMembers) Unset()

type NullableMembersPatchInput ¶

type NullableMembersPatchInput struct {
	// contains filtered or unexported fields
}

func NewNullableMembersPatchInput ¶

func NewNullableMembersPatchInput(val *MembersPatchInput) *NullableMembersPatchInput

func (NullableMembersPatchInput) Get ¶

func (NullableMembersPatchInput) IsSet ¶

func (v NullableMembersPatchInput) IsSet() bool

func (NullableMembersPatchInput) MarshalJSON ¶

func (v NullableMembersPatchInput) MarshalJSON() ([]byte, error)

func (*NullableMembersPatchInput) Set ¶

func (*NullableMembersPatchInput) UnmarshalJSON ¶

func (v *NullableMembersPatchInput) UnmarshalJSON(src []byte) error

func (*NullableMembersPatchInput) Unset ¶

func (v *NullableMembersPatchInput) Unset()

type NullableMethodNotAllowedErrorRep ¶

type NullableMethodNotAllowedErrorRep struct {
	// contains filtered or unexported fields
}

func (NullableMethodNotAllowedErrorRep) Get ¶

func (NullableMethodNotAllowedErrorRep) IsSet ¶

func (NullableMethodNotAllowedErrorRep) MarshalJSON ¶

func (v NullableMethodNotAllowedErrorRep) MarshalJSON() ([]byte, error)

func (*NullableMethodNotAllowedErrorRep) Set ¶

func (*NullableMethodNotAllowedErrorRep) UnmarshalJSON ¶

func (v *NullableMethodNotAllowedErrorRep) UnmarshalJSON(src []byte) error

func (*NullableMethodNotAllowedErrorRep) Unset ¶

type NullableMetricCollectionRep ¶

type NullableMetricCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableMetricCollectionRep) Get ¶

func (NullableMetricCollectionRep) IsSet ¶

func (NullableMetricCollectionRep) MarshalJSON ¶

func (v NullableMetricCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableMetricCollectionRep) Set ¶

func (*NullableMetricCollectionRep) UnmarshalJSON ¶

func (v *NullableMetricCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableMetricCollectionRep) Unset ¶

func (v *NullableMetricCollectionRep) Unset()

type NullableMetricEventDefaultRep ¶

type NullableMetricEventDefaultRep struct {
	// contains filtered or unexported fields
}

func (NullableMetricEventDefaultRep) Get ¶

func (NullableMetricEventDefaultRep) IsSet ¶

func (NullableMetricEventDefaultRep) MarshalJSON ¶

func (v NullableMetricEventDefaultRep) MarshalJSON() ([]byte, error)

func (*NullableMetricEventDefaultRep) Set ¶

func (*NullableMetricEventDefaultRep) UnmarshalJSON ¶

func (v *NullableMetricEventDefaultRep) UnmarshalJSON(src []byte) error

func (*NullableMetricEventDefaultRep) Unset ¶

func (v *NullableMetricEventDefaultRep) Unset()

type NullableMetricGroupCollectionRep ¶

type NullableMetricGroupCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableMetricGroupCollectionRep) Get ¶

func (NullableMetricGroupCollectionRep) IsSet ¶

func (NullableMetricGroupCollectionRep) MarshalJSON ¶

func (v NullableMetricGroupCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableMetricGroupCollectionRep) Set ¶

func (*NullableMetricGroupCollectionRep) UnmarshalJSON ¶

func (v *NullableMetricGroupCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableMetricGroupCollectionRep) Unset ¶

type NullableMetricGroupPost ¶

type NullableMetricGroupPost struct {
	// contains filtered or unexported fields
}

func NewNullableMetricGroupPost ¶

func NewNullableMetricGroupPost(val *MetricGroupPost) *NullableMetricGroupPost

func (NullableMetricGroupPost) Get ¶

func (NullableMetricGroupPost) IsSet ¶

func (v NullableMetricGroupPost) IsSet() bool

func (NullableMetricGroupPost) MarshalJSON ¶

func (v NullableMetricGroupPost) MarshalJSON() ([]byte, error)

func (*NullableMetricGroupPost) Set ¶

func (*NullableMetricGroupPost) UnmarshalJSON ¶

func (v *NullableMetricGroupPost) UnmarshalJSON(src []byte) error

func (*NullableMetricGroupPost) Unset ¶

func (v *NullableMetricGroupPost) Unset()

type NullableMetricGroupRep ¶

type NullableMetricGroupRep struct {
	// contains filtered or unexported fields
}

func NewNullableMetricGroupRep ¶

func NewNullableMetricGroupRep(val *MetricGroupRep) *NullableMetricGroupRep

func (NullableMetricGroupRep) Get ¶

func (NullableMetricGroupRep) IsSet ¶

func (v NullableMetricGroupRep) IsSet() bool

func (NullableMetricGroupRep) MarshalJSON ¶

func (v NullableMetricGroupRep) MarshalJSON() ([]byte, error)

func (*NullableMetricGroupRep) Set ¶

func (*NullableMetricGroupRep) UnmarshalJSON ¶

func (v *NullableMetricGroupRep) UnmarshalJSON(src []byte) error

func (*NullableMetricGroupRep) Unset ¶

func (v *NullableMetricGroupRep) Unset()

type NullableMetricGroupResultsRep ¶

type NullableMetricGroupResultsRep struct {
	// contains filtered or unexported fields
}

func (NullableMetricGroupResultsRep) Get ¶

func (NullableMetricGroupResultsRep) IsSet ¶

func (NullableMetricGroupResultsRep) MarshalJSON ¶

func (v NullableMetricGroupResultsRep) MarshalJSON() ([]byte, error)

func (*NullableMetricGroupResultsRep) Set ¶

func (*NullableMetricGroupResultsRep) UnmarshalJSON ¶

func (v *NullableMetricGroupResultsRep) UnmarshalJSON(src []byte) error

func (*NullableMetricGroupResultsRep) Unset ¶

func (v *NullableMetricGroupResultsRep) Unset()

type NullableMetricInGroupRep ¶

type NullableMetricInGroupRep struct {
	// contains filtered or unexported fields
}

func NewNullableMetricInGroupRep ¶

func NewNullableMetricInGroupRep(val *MetricInGroupRep) *NullableMetricInGroupRep

func (NullableMetricInGroupRep) Get ¶

func (NullableMetricInGroupRep) IsSet ¶

func (v NullableMetricInGroupRep) IsSet() bool

func (NullableMetricInGroupRep) MarshalJSON ¶

func (v NullableMetricInGroupRep) MarshalJSON() ([]byte, error)

func (*NullableMetricInGroupRep) Set ¶

func (*NullableMetricInGroupRep) UnmarshalJSON ¶

func (v *NullableMetricInGroupRep) UnmarshalJSON(src []byte) error

func (*NullableMetricInGroupRep) Unset ¶

func (v *NullableMetricInGroupRep) Unset()

type NullableMetricInGroupResultsRep ¶

type NullableMetricInGroupResultsRep struct {
	// contains filtered or unexported fields
}

func (NullableMetricInGroupResultsRep) Get ¶

func (NullableMetricInGroupResultsRep) IsSet ¶

func (NullableMetricInGroupResultsRep) MarshalJSON ¶

func (v NullableMetricInGroupResultsRep) MarshalJSON() ([]byte, error)

func (*NullableMetricInGroupResultsRep) Set ¶

func (*NullableMetricInGroupResultsRep) UnmarshalJSON ¶

func (v *NullableMetricInGroupResultsRep) UnmarshalJSON(src []byte) error

func (*NullableMetricInGroupResultsRep) Unset ¶

type NullableMetricInMetricGroupInput ¶

type NullableMetricInMetricGroupInput struct {
	// contains filtered or unexported fields
}

func (NullableMetricInMetricGroupInput) Get ¶

func (NullableMetricInMetricGroupInput) IsSet ¶

func (NullableMetricInMetricGroupInput) MarshalJSON ¶

func (v NullableMetricInMetricGroupInput) MarshalJSON() ([]byte, error)

func (*NullableMetricInMetricGroupInput) Set ¶

func (*NullableMetricInMetricGroupInput) UnmarshalJSON ¶

func (v *NullableMetricInMetricGroupInput) UnmarshalJSON(src []byte) error

func (*NullableMetricInMetricGroupInput) Unset ¶

type NullableMetricInput ¶

type NullableMetricInput struct {
	// contains filtered or unexported fields
}

func NewNullableMetricInput ¶

func NewNullableMetricInput(val *MetricInput) *NullableMetricInput

func (NullableMetricInput) Get ¶

func (NullableMetricInput) IsSet ¶

func (v NullableMetricInput) IsSet() bool

func (NullableMetricInput) MarshalJSON ¶

func (v NullableMetricInput) MarshalJSON() ([]byte, error)

func (*NullableMetricInput) Set ¶

func (v *NullableMetricInput) Set(val *MetricInput)

func (*NullableMetricInput) UnmarshalJSON ¶

func (v *NullableMetricInput) UnmarshalJSON(src []byte) error

func (*NullableMetricInput) Unset ¶

func (v *NullableMetricInput) Unset()

type NullableMetricListingRep ¶

type NullableMetricListingRep struct {
	// contains filtered or unexported fields
}

func NewNullableMetricListingRep ¶

func NewNullableMetricListingRep(val *MetricListingRep) *NullableMetricListingRep

func (NullableMetricListingRep) Get ¶

func (NullableMetricListingRep) IsSet ¶

func (v NullableMetricListingRep) IsSet() bool

func (NullableMetricListingRep) MarshalJSON ¶

func (v NullableMetricListingRep) MarshalJSON() ([]byte, error)

func (*NullableMetricListingRep) Set ¶

func (*NullableMetricListingRep) UnmarshalJSON ¶

func (v *NullableMetricListingRep) UnmarshalJSON(src []byte) error

func (*NullableMetricListingRep) Unset ¶

func (v *NullableMetricListingRep) Unset()

type NullableMetricPost ¶

type NullableMetricPost struct {
	// contains filtered or unexported fields
}

func NewNullableMetricPost ¶

func NewNullableMetricPost(val *MetricPost) *NullableMetricPost

func (NullableMetricPost) Get ¶

func (v NullableMetricPost) Get() *MetricPost

func (NullableMetricPost) IsSet ¶

func (v NullableMetricPost) IsSet() bool

func (NullableMetricPost) MarshalJSON ¶

func (v NullableMetricPost) MarshalJSON() ([]byte, error)

func (*NullableMetricPost) Set ¶

func (v *NullableMetricPost) Set(val *MetricPost)

func (*NullableMetricPost) UnmarshalJSON ¶

func (v *NullableMetricPost) UnmarshalJSON(src []byte) error

func (*NullableMetricPost) Unset ¶

func (v *NullableMetricPost) Unset()

type NullableMetricRep ¶

type NullableMetricRep struct {
	// contains filtered or unexported fields
}

func NewNullableMetricRep ¶

func NewNullableMetricRep(val *MetricRep) *NullableMetricRep

func (NullableMetricRep) Get ¶

func (v NullableMetricRep) Get() *MetricRep

func (NullableMetricRep) IsSet ¶

func (v NullableMetricRep) IsSet() bool

func (NullableMetricRep) MarshalJSON ¶

func (v NullableMetricRep) MarshalJSON() ([]byte, error)

func (*NullableMetricRep) Set ¶

func (v *NullableMetricRep) Set(val *MetricRep)

func (*NullableMetricRep) UnmarshalJSON ¶

func (v *NullableMetricRep) UnmarshalJSON(src []byte) error

func (*NullableMetricRep) Unset ¶

func (v *NullableMetricRep) Unset()

type NullableMetricSeen ¶

type NullableMetricSeen struct {
	// contains filtered or unexported fields
}

func NewNullableMetricSeen ¶

func NewNullableMetricSeen(val *MetricSeen) *NullableMetricSeen

func (NullableMetricSeen) Get ¶

func (v NullableMetricSeen) Get() *MetricSeen

func (NullableMetricSeen) IsSet ¶

func (v NullableMetricSeen) IsSet() bool

func (NullableMetricSeen) MarshalJSON ¶

func (v NullableMetricSeen) MarshalJSON() ([]byte, error)

func (*NullableMetricSeen) Set ¶

func (v *NullableMetricSeen) Set(val *MetricSeen)

func (*NullableMetricSeen) UnmarshalJSON ¶

func (v *NullableMetricSeen) UnmarshalJSON(src []byte) error

func (*NullableMetricSeen) Unset ¶

func (v *NullableMetricSeen) Unset()

type NullableMetricV2Rep ¶

type NullableMetricV2Rep struct {
	// contains filtered or unexported fields
}

func NewNullableMetricV2Rep ¶

func NewNullableMetricV2Rep(val *MetricV2Rep) *NullableMetricV2Rep

func (NullableMetricV2Rep) Get ¶

func (NullableMetricV2Rep) IsSet ¶

func (v NullableMetricV2Rep) IsSet() bool

func (NullableMetricV2Rep) MarshalJSON ¶

func (v NullableMetricV2Rep) MarshalJSON() ([]byte, error)

func (*NullableMetricV2Rep) Set ¶

func (v *NullableMetricV2Rep) Set(val *MetricV2Rep)

func (*NullableMetricV2Rep) UnmarshalJSON ¶

func (v *NullableMetricV2Rep) UnmarshalJSON(src []byte) error

func (*NullableMetricV2Rep) Unset ¶

func (v *NullableMetricV2Rep) Unset()

type NullableMigrationSafetyIssueRep ¶

type NullableMigrationSafetyIssueRep struct {
	// contains filtered or unexported fields
}

func (NullableMigrationSafetyIssueRep) Get ¶

func (NullableMigrationSafetyIssueRep) IsSet ¶

func (NullableMigrationSafetyIssueRep) MarshalJSON ¶

func (v NullableMigrationSafetyIssueRep) MarshalJSON() ([]byte, error)

func (*NullableMigrationSafetyIssueRep) Set ¶

func (*NullableMigrationSafetyIssueRep) UnmarshalJSON ¶

func (v *NullableMigrationSafetyIssueRep) UnmarshalJSON(src []byte) error

func (*NullableMigrationSafetyIssueRep) Unset ¶

type NullableMigrationSettingsPost ¶

type NullableMigrationSettingsPost struct {
	// contains filtered or unexported fields
}

func (NullableMigrationSettingsPost) Get ¶

func (NullableMigrationSettingsPost) IsSet ¶

func (NullableMigrationSettingsPost) MarshalJSON ¶

func (v NullableMigrationSettingsPost) MarshalJSON() ([]byte, error)

func (*NullableMigrationSettingsPost) Set ¶

func (*NullableMigrationSettingsPost) UnmarshalJSON ¶

func (v *NullableMigrationSettingsPost) UnmarshalJSON(src []byte) error

func (*NullableMigrationSettingsPost) Unset ¶

func (v *NullableMigrationSettingsPost) Unset()

type NullableModification ¶

type NullableModification struct {
	// contains filtered or unexported fields
}

func NewNullableModification ¶

func NewNullableModification(val *Modification) *NullableModification

func (NullableModification) Get ¶

func (NullableModification) IsSet ¶

func (v NullableModification) IsSet() bool

func (NullableModification) MarshalJSON ¶

func (v NullableModification) MarshalJSON() ([]byte, error)

func (*NullableModification) Set ¶

func (v *NullableModification) Set(val *Modification)

func (*NullableModification) UnmarshalJSON ¶

func (v *NullableModification) UnmarshalJSON(src []byte) error

func (*NullableModification) Unset ¶

func (v *NullableModification) Unset()

type NullableMultiEnvironmentDependentFlag ¶

type NullableMultiEnvironmentDependentFlag struct {
	// contains filtered or unexported fields
}

func (NullableMultiEnvironmentDependentFlag) Get ¶

func (NullableMultiEnvironmentDependentFlag) IsSet ¶

func (NullableMultiEnvironmentDependentFlag) MarshalJSON ¶

func (v NullableMultiEnvironmentDependentFlag) MarshalJSON() ([]byte, error)

func (*NullableMultiEnvironmentDependentFlag) Set ¶

func (*NullableMultiEnvironmentDependentFlag) UnmarshalJSON ¶

func (v *NullableMultiEnvironmentDependentFlag) UnmarshalJSON(src []byte) error

func (*NullableMultiEnvironmentDependentFlag) Unset ¶

type NullableMultiEnvironmentDependentFlags ¶

type NullableMultiEnvironmentDependentFlags struct {
	// contains filtered or unexported fields
}

func (NullableMultiEnvironmentDependentFlags) Get ¶

func (NullableMultiEnvironmentDependentFlags) IsSet ¶

func (NullableMultiEnvironmentDependentFlags) MarshalJSON ¶

func (v NullableMultiEnvironmentDependentFlags) MarshalJSON() ([]byte, error)

func (*NullableMultiEnvironmentDependentFlags) Set ¶

func (*NullableMultiEnvironmentDependentFlags) UnmarshalJSON ¶

func (v *NullableMultiEnvironmentDependentFlags) UnmarshalJSON(src []byte) error

func (*NullableMultiEnvironmentDependentFlags) Unset ¶

type NullableNewMemberForm ¶

type NullableNewMemberForm struct {
	// contains filtered or unexported fields
}

func NewNullableNewMemberForm ¶

func NewNullableNewMemberForm(val *NewMemberForm) *NullableNewMemberForm

func (NullableNewMemberForm) Get ¶

func (NullableNewMemberForm) IsSet ¶

func (v NullableNewMemberForm) IsSet() bool

func (NullableNewMemberForm) MarshalJSON ¶

func (v NullableNewMemberForm) MarshalJSON() ([]byte, error)

func (*NullableNewMemberForm) Set ¶

func (v *NullableNewMemberForm) Set(val *NewMemberForm)

func (*NullableNewMemberForm) UnmarshalJSON ¶

func (v *NullableNewMemberForm) UnmarshalJSON(src []byte) error

func (*NullableNewMemberForm) Unset ¶

func (v *NullableNewMemberForm) Unset()

type NullableNotFoundErrorRep ¶

type NullableNotFoundErrorRep struct {
	// contains filtered or unexported fields
}

func NewNullableNotFoundErrorRep ¶

func NewNullableNotFoundErrorRep(val *NotFoundErrorRep) *NullableNotFoundErrorRep

func (NullableNotFoundErrorRep) Get ¶

func (NullableNotFoundErrorRep) IsSet ¶

func (v NullableNotFoundErrorRep) IsSet() bool

func (NullableNotFoundErrorRep) MarshalJSON ¶

func (v NullableNotFoundErrorRep) MarshalJSON() ([]byte, error)

func (*NullableNotFoundErrorRep) Set ¶

func (*NullableNotFoundErrorRep) UnmarshalJSON ¶

func (v *NullableNotFoundErrorRep) UnmarshalJSON(src []byte) error

func (*NullableNotFoundErrorRep) Unset ¶

func (v *NullableNotFoundErrorRep) Unset()

type NullableOauthClientPost ¶

type NullableOauthClientPost struct {
	// contains filtered or unexported fields
}

func NewNullableOauthClientPost ¶

func NewNullableOauthClientPost(val *OauthClientPost) *NullableOauthClientPost

func (NullableOauthClientPost) Get ¶

func (NullableOauthClientPost) IsSet ¶

func (v NullableOauthClientPost) IsSet() bool

func (NullableOauthClientPost) MarshalJSON ¶

func (v NullableOauthClientPost) MarshalJSON() ([]byte, error)

func (*NullableOauthClientPost) Set ¶

func (*NullableOauthClientPost) UnmarshalJSON ¶

func (v *NullableOauthClientPost) UnmarshalJSON(src []byte) error

func (*NullableOauthClientPost) Unset ¶

func (v *NullableOauthClientPost) Unset()

type NullableParameterDefault ¶

type NullableParameterDefault struct {
	// contains filtered or unexported fields
}

func NewNullableParameterDefault ¶

func NewNullableParameterDefault(val *ParameterDefault) *NullableParameterDefault

func (NullableParameterDefault) Get ¶

func (NullableParameterDefault) IsSet ¶

func (v NullableParameterDefault) IsSet() bool

func (NullableParameterDefault) MarshalJSON ¶

func (v NullableParameterDefault) MarshalJSON() ([]byte, error)

func (*NullableParameterDefault) Set ¶

func (*NullableParameterDefault) UnmarshalJSON ¶

func (v *NullableParameterDefault) UnmarshalJSON(src []byte) error

func (*NullableParameterDefault) Unset ¶

func (v *NullableParameterDefault) Unset()

type NullableParameterRep ¶

type NullableParameterRep struct {
	// contains filtered or unexported fields
}

func NewNullableParameterRep ¶

func NewNullableParameterRep(val *ParameterRep) *NullableParameterRep

func (NullableParameterRep) Get ¶

func (NullableParameterRep) IsSet ¶

func (v NullableParameterRep) IsSet() bool

func (NullableParameterRep) MarshalJSON ¶

func (v NullableParameterRep) MarshalJSON() ([]byte, error)

func (*NullableParameterRep) Set ¶

func (v *NullableParameterRep) Set(val *ParameterRep)

func (*NullableParameterRep) UnmarshalJSON ¶

func (v *NullableParameterRep) UnmarshalJSON(src []byte) error

func (*NullableParameterRep) Unset ¶

func (v *NullableParameterRep) Unset()

type NullableParentResourceRep ¶

type NullableParentResourceRep struct {
	// contains filtered or unexported fields
}

func NewNullableParentResourceRep ¶

func NewNullableParentResourceRep(val *ParentResourceRep) *NullableParentResourceRep

func (NullableParentResourceRep) Get ¶

func (NullableParentResourceRep) IsSet ¶

func (v NullableParentResourceRep) IsSet() bool

func (NullableParentResourceRep) MarshalJSON ¶

func (v NullableParentResourceRep) MarshalJSON() ([]byte, error)

func (*NullableParentResourceRep) Set ¶

func (*NullableParentResourceRep) UnmarshalJSON ¶

func (v *NullableParentResourceRep) UnmarshalJSON(src []byte) error

func (*NullableParentResourceRep) Unset ¶

func (v *NullableParentResourceRep) Unset()

type NullablePatchFailedErrorRep ¶

type NullablePatchFailedErrorRep struct {
	// contains filtered or unexported fields
}

func (NullablePatchFailedErrorRep) Get ¶

func (NullablePatchFailedErrorRep) IsSet ¶

func (NullablePatchFailedErrorRep) MarshalJSON ¶

func (v NullablePatchFailedErrorRep) MarshalJSON() ([]byte, error)

func (*NullablePatchFailedErrorRep) Set ¶

func (*NullablePatchFailedErrorRep) UnmarshalJSON ¶

func (v *NullablePatchFailedErrorRep) UnmarshalJSON(src []byte) error

func (*NullablePatchFailedErrorRep) Unset ¶

func (v *NullablePatchFailedErrorRep) Unset()

type NullablePatchFlagsRequest ¶

type NullablePatchFlagsRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePatchFlagsRequest ¶

func NewNullablePatchFlagsRequest(val *PatchFlagsRequest) *NullablePatchFlagsRequest

func (NullablePatchFlagsRequest) Get ¶

func (NullablePatchFlagsRequest) IsSet ¶

func (v NullablePatchFlagsRequest) IsSet() bool

func (NullablePatchFlagsRequest) MarshalJSON ¶

func (v NullablePatchFlagsRequest) MarshalJSON() ([]byte, error)

func (*NullablePatchFlagsRequest) Set ¶

func (*NullablePatchFlagsRequest) UnmarshalJSON ¶

func (v *NullablePatchFlagsRequest) UnmarshalJSON(src []byte) error

func (*NullablePatchFlagsRequest) Unset ¶

func (v *NullablePatchFlagsRequest) Unset()

type NullablePatchOperation ¶

type NullablePatchOperation struct {
	// contains filtered or unexported fields
}

func NewNullablePatchOperation ¶

func NewNullablePatchOperation(val *PatchOperation) *NullablePatchOperation

func (NullablePatchOperation) Get ¶

func (NullablePatchOperation) IsSet ¶

func (v NullablePatchOperation) IsSet() bool

func (NullablePatchOperation) MarshalJSON ¶

func (v NullablePatchOperation) MarshalJSON() ([]byte, error)

func (*NullablePatchOperation) Set ¶

func (*NullablePatchOperation) UnmarshalJSON ¶

func (v *NullablePatchOperation) UnmarshalJSON(src []byte) error

func (*NullablePatchOperation) Unset ¶

func (v *NullablePatchOperation) Unset()

type NullablePatchSegmentExpiringTargetInputRep ¶

type NullablePatchSegmentExpiringTargetInputRep struct {
	// contains filtered or unexported fields
}

func (NullablePatchSegmentExpiringTargetInputRep) Get ¶

func (NullablePatchSegmentExpiringTargetInputRep) IsSet ¶

func (NullablePatchSegmentExpiringTargetInputRep) MarshalJSON ¶

func (*NullablePatchSegmentExpiringTargetInputRep) Set ¶

func (*NullablePatchSegmentExpiringTargetInputRep) UnmarshalJSON ¶

func (v *NullablePatchSegmentExpiringTargetInputRep) UnmarshalJSON(src []byte) error

func (*NullablePatchSegmentExpiringTargetInputRep) Unset ¶

type NullablePatchSegmentExpiringTargetInstruction ¶

type NullablePatchSegmentExpiringTargetInstruction struct {
	// contains filtered or unexported fields
}

func (NullablePatchSegmentExpiringTargetInstruction) Get ¶

func (NullablePatchSegmentExpiringTargetInstruction) IsSet ¶

func (NullablePatchSegmentExpiringTargetInstruction) MarshalJSON ¶

func (*NullablePatchSegmentExpiringTargetInstruction) Set ¶

func (*NullablePatchSegmentExpiringTargetInstruction) UnmarshalJSON ¶

func (*NullablePatchSegmentExpiringTargetInstruction) Unset ¶

type NullablePatchSegmentInstruction ¶

type NullablePatchSegmentInstruction struct {
	// contains filtered or unexported fields
}

func (NullablePatchSegmentInstruction) Get ¶

func (NullablePatchSegmentInstruction) IsSet ¶

func (NullablePatchSegmentInstruction) MarshalJSON ¶

func (v NullablePatchSegmentInstruction) MarshalJSON() ([]byte, error)

func (*NullablePatchSegmentInstruction) Set ¶

func (*NullablePatchSegmentInstruction) UnmarshalJSON ¶

func (v *NullablePatchSegmentInstruction) UnmarshalJSON(src []byte) error

func (*NullablePatchSegmentInstruction) Unset ¶

type NullablePatchSegmentRequest ¶

type NullablePatchSegmentRequest struct {
	// contains filtered or unexported fields
}

func (NullablePatchSegmentRequest) Get ¶

func (NullablePatchSegmentRequest) IsSet ¶

func (NullablePatchSegmentRequest) MarshalJSON ¶

func (v NullablePatchSegmentRequest) MarshalJSON() ([]byte, error)

func (*NullablePatchSegmentRequest) Set ¶

func (*NullablePatchSegmentRequest) UnmarshalJSON ¶

func (v *NullablePatchSegmentRequest) UnmarshalJSON(src []byte) error

func (*NullablePatchSegmentRequest) Unset ¶

func (v *NullablePatchSegmentRequest) Unset()

type NullablePatchUsersRequest ¶

type NullablePatchUsersRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePatchUsersRequest ¶

func NewNullablePatchUsersRequest(val *PatchUsersRequest) *NullablePatchUsersRequest

func (NullablePatchUsersRequest) Get ¶

func (NullablePatchUsersRequest) IsSet ¶

func (v NullablePatchUsersRequest) IsSet() bool

func (NullablePatchUsersRequest) MarshalJSON ¶

func (v NullablePatchUsersRequest) MarshalJSON() ([]byte, error)

func (*NullablePatchUsersRequest) Set ¶

func (*NullablePatchUsersRequest) UnmarshalJSON ¶

func (v *NullablePatchUsersRequest) UnmarshalJSON(src []byte) error

func (*NullablePatchUsersRequest) Unset ¶

func (v *NullablePatchUsersRequest) Unset()

type NullablePatchWithComment ¶

type NullablePatchWithComment struct {
	// contains filtered or unexported fields
}

func NewNullablePatchWithComment ¶

func NewNullablePatchWithComment(val *PatchWithComment) *NullablePatchWithComment

func (NullablePatchWithComment) Get ¶

func (NullablePatchWithComment) IsSet ¶

func (v NullablePatchWithComment) IsSet() bool

func (NullablePatchWithComment) MarshalJSON ¶

func (v NullablePatchWithComment) MarshalJSON() ([]byte, error)

func (*NullablePatchWithComment) Set ¶

func (*NullablePatchWithComment) UnmarshalJSON ¶

func (v *NullablePatchWithComment) UnmarshalJSON(src []byte) error

func (*NullablePatchWithComment) Unset ¶

func (v *NullablePatchWithComment) Unset()

type NullablePermissionGrantInput ¶

type NullablePermissionGrantInput struct {
	// contains filtered or unexported fields
}

func (NullablePermissionGrantInput) Get ¶

func (NullablePermissionGrantInput) IsSet ¶

func (NullablePermissionGrantInput) MarshalJSON ¶

func (v NullablePermissionGrantInput) MarshalJSON() ([]byte, error)

func (*NullablePermissionGrantInput) Set ¶

func (*NullablePermissionGrantInput) UnmarshalJSON ¶

func (v *NullablePermissionGrantInput) UnmarshalJSON(src []byte) error

func (*NullablePermissionGrantInput) Unset ¶

func (v *NullablePermissionGrantInput) Unset()

type NullablePhase ¶

type NullablePhase struct {
	// contains filtered or unexported fields
}

func NewNullablePhase ¶

func NewNullablePhase(val *Phase) *NullablePhase

func (NullablePhase) Get ¶

func (v NullablePhase) Get() *Phase

func (NullablePhase) IsSet ¶

func (v NullablePhase) IsSet() bool

func (NullablePhase) MarshalJSON ¶

func (v NullablePhase) MarshalJSON() ([]byte, error)

func (*NullablePhase) Set ¶

func (v *NullablePhase) Set(val *Phase)

func (*NullablePhase) UnmarshalJSON ¶

func (v *NullablePhase) UnmarshalJSON(src []byte) error

func (*NullablePhase) Unset ¶

func (v *NullablePhase) Unset()

type NullablePostApprovalRequestApplyRequest ¶

type NullablePostApprovalRequestApplyRequest struct {
	// contains filtered or unexported fields
}

func (NullablePostApprovalRequestApplyRequest) Get ¶

func (NullablePostApprovalRequestApplyRequest) IsSet ¶

func (NullablePostApprovalRequestApplyRequest) MarshalJSON ¶

func (v NullablePostApprovalRequestApplyRequest) MarshalJSON() ([]byte, error)

func (*NullablePostApprovalRequestApplyRequest) Set ¶

func (*NullablePostApprovalRequestApplyRequest) UnmarshalJSON ¶

func (v *NullablePostApprovalRequestApplyRequest) UnmarshalJSON(src []byte) error

func (*NullablePostApprovalRequestApplyRequest) Unset ¶

type NullablePostApprovalRequestReviewRequest ¶

type NullablePostApprovalRequestReviewRequest struct {
	// contains filtered or unexported fields
}

func (NullablePostApprovalRequestReviewRequest) Get ¶

func (NullablePostApprovalRequestReviewRequest) IsSet ¶

func (NullablePostApprovalRequestReviewRequest) MarshalJSON ¶

func (*NullablePostApprovalRequestReviewRequest) Set ¶

func (*NullablePostApprovalRequestReviewRequest) UnmarshalJSON ¶

func (v *NullablePostApprovalRequestReviewRequest) UnmarshalJSON(src []byte) error

func (*NullablePostApprovalRequestReviewRequest) Unset ¶

type NullablePostDeploymentEventInput ¶

type NullablePostDeploymentEventInput struct {
	// contains filtered or unexported fields
}

func (NullablePostDeploymentEventInput) Get ¶

func (NullablePostDeploymentEventInput) IsSet ¶

func (NullablePostDeploymentEventInput) MarshalJSON ¶

func (v NullablePostDeploymentEventInput) MarshalJSON() ([]byte, error)

func (*NullablePostDeploymentEventInput) Set ¶

func (*NullablePostDeploymentEventInput) UnmarshalJSON ¶

func (v *NullablePostDeploymentEventInput) UnmarshalJSON(src []byte) error

func (*NullablePostDeploymentEventInput) Unset ¶

type NullablePostFlagScheduledChangesInput ¶

type NullablePostFlagScheduledChangesInput struct {
	// contains filtered or unexported fields
}

func (NullablePostFlagScheduledChangesInput) Get ¶

func (NullablePostFlagScheduledChangesInput) IsSet ¶

func (NullablePostFlagScheduledChangesInput) MarshalJSON ¶

func (v NullablePostFlagScheduledChangesInput) MarshalJSON() ([]byte, error)

func (*NullablePostFlagScheduledChangesInput) Set ¶

func (*NullablePostFlagScheduledChangesInput) UnmarshalJSON ¶

func (v *NullablePostFlagScheduledChangesInput) UnmarshalJSON(src []byte) error

func (*NullablePostFlagScheduledChangesInput) Unset ¶

type NullablePostInsightGroupParams ¶

type NullablePostInsightGroupParams struct {
	// contains filtered or unexported fields
}

func (NullablePostInsightGroupParams) Get ¶

func (NullablePostInsightGroupParams) IsSet ¶

func (NullablePostInsightGroupParams) MarshalJSON ¶

func (v NullablePostInsightGroupParams) MarshalJSON() ([]byte, error)

func (*NullablePostInsightGroupParams) Set ¶

func (*NullablePostInsightGroupParams) UnmarshalJSON ¶

func (v *NullablePostInsightGroupParams) UnmarshalJSON(src []byte) error

func (*NullablePostInsightGroupParams) Unset ¶

func (v *NullablePostInsightGroupParams) Unset()

type NullablePrerequisite ¶

type NullablePrerequisite struct {
	// contains filtered or unexported fields
}

func NewNullablePrerequisite ¶

func NewNullablePrerequisite(val *Prerequisite) *NullablePrerequisite

func (NullablePrerequisite) Get ¶

func (NullablePrerequisite) IsSet ¶

func (v NullablePrerequisite) IsSet() bool

func (NullablePrerequisite) MarshalJSON ¶

func (v NullablePrerequisite) MarshalJSON() ([]byte, error)

func (*NullablePrerequisite) Set ¶

func (v *NullablePrerequisite) Set(val *Prerequisite)

func (*NullablePrerequisite) UnmarshalJSON ¶

func (v *NullablePrerequisite) UnmarshalJSON(src []byte) error

func (*NullablePrerequisite) Unset ¶

func (v *NullablePrerequisite) Unset()

type NullableProject ¶

type NullableProject struct {
	// contains filtered or unexported fields
}

func NewNullableProject ¶

func NewNullableProject(val *Project) *NullableProject

func (NullableProject) Get ¶

func (v NullableProject) Get() *Project

func (NullableProject) IsSet ¶

func (v NullableProject) IsSet() bool

func (NullableProject) MarshalJSON ¶

func (v NullableProject) MarshalJSON() ([]byte, error)

func (*NullableProject) Set ¶

func (v *NullableProject) Set(val *Project)

func (*NullableProject) UnmarshalJSON ¶

func (v *NullableProject) UnmarshalJSON(src []byte) error

func (*NullableProject) Unset ¶

func (v *NullableProject) Unset()

type NullableProjectPost ¶

type NullableProjectPost struct {
	// contains filtered or unexported fields
}

func NewNullableProjectPost ¶

func NewNullableProjectPost(val *ProjectPost) *NullableProjectPost

func (NullableProjectPost) Get ¶

func (NullableProjectPost) IsSet ¶

func (v NullableProjectPost) IsSet() bool

func (NullableProjectPost) MarshalJSON ¶

func (v NullableProjectPost) MarshalJSON() ([]byte, error)

func (*NullableProjectPost) Set ¶

func (v *NullableProjectPost) Set(val *ProjectPost)

func (*NullableProjectPost) UnmarshalJSON ¶

func (v *NullableProjectPost) UnmarshalJSON(src []byte) error

func (*NullableProjectPost) Unset ¶

func (v *NullableProjectPost) Unset()

type NullableProjectRep ¶

type NullableProjectRep struct {
	// contains filtered or unexported fields
}

func NewNullableProjectRep ¶

func NewNullableProjectRep(val *ProjectRep) *NullableProjectRep

func (NullableProjectRep) Get ¶

func (v NullableProjectRep) Get() *ProjectRep

func (NullableProjectRep) IsSet ¶

func (v NullableProjectRep) IsSet() bool

func (NullableProjectRep) MarshalJSON ¶

func (v NullableProjectRep) MarshalJSON() ([]byte, error)

func (*NullableProjectRep) Set ¶

func (v *NullableProjectRep) Set(val *ProjectRep)

func (*NullableProjectRep) UnmarshalJSON ¶

func (v *NullableProjectRep) UnmarshalJSON(src []byte) error

func (*NullableProjectRep) Unset ¶

func (v *NullableProjectRep) Unset()

type NullableProjectSummary ¶

type NullableProjectSummary struct {
	// contains filtered or unexported fields
}

func NewNullableProjectSummary ¶

func NewNullableProjectSummary(val *ProjectSummary) *NullableProjectSummary

func (NullableProjectSummary) Get ¶

func (NullableProjectSummary) IsSet ¶

func (v NullableProjectSummary) IsSet() bool

func (NullableProjectSummary) MarshalJSON ¶

func (v NullableProjectSummary) MarshalJSON() ([]byte, error)

func (*NullableProjectSummary) Set ¶

func (*NullableProjectSummary) UnmarshalJSON ¶

func (v *NullableProjectSummary) UnmarshalJSON(src []byte) error

func (*NullableProjectSummary) Unset ¶

func (v *NullableProjectSummary) Unset()

type NullableProjectSummaryCollection ¶

type NullableProjectSummaryCollection struct {
	// contains filtered or unexported fields
}

func (NullableProjectSummaryCollection) Get ¶

func (NullableProjectSummaryCollection) IsSet ¶

func (NullableProjectSummaryCollection) MarshalJSON ¶

func (v NullableProjectSummaryCollection) MarshalJSON() ([]byte, error)

func (*NullableProjectSummaryCollection) Set ¶

func (*NullableProjectSummaryCollection) UnmarshalJSON ¶

func (v *NullableProjectSummaryCollection) UnmarshalJSON(src []byte) error

func (*NullableProjectSummaryCollection) Unset ¶

type NullableProjects ¶

type NullableProjects struct {
	// contains filtered or unexported fields
}

func NewNullableProjects ¶

func NewNullableProjects(val *Projects) *NullableProjects

func (NullableProjects) Get ¶

func (v NullableProjects) Get() *Projects

func (NullableProjects) IsSet ¶

func (v NullableProjects) IsSet() bool

func (NullableProjects) MarshalJSON ¶

func (v NullableProjects) MarshalJSON() ([]byte, error)

func (*NullableProjects) Set ¶

func (v *NullableProjects) Set(val *Projects)

func (*NullableProjects) UnmarshalJSON ¶

func (v *NullableProjects) UnmarshalJSON(src []byte) error

func (*NullableProjects) Unset ¶

func (v *NullableProjects) Unset()

type NullablePullRequestCollectionRep ¶

type NullablePullRequestCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullablePullRequestCollectionRep) Get ¶

func (NullablePullRequestCollectionRep) IsSet ¶

func (NullablePullRequestCollectionRep) MarshalJSON ¶

func (v NullablePullRequestCollectionRep) MarshalJSON() ([]byte, error)

func (*NullablePullRequestCollectionRep) Set ¶

func (*NullablePullRequestCollectionRep) UnmarshalJSON ¶

func (v *NullablePullRequestCollectionRep) UnmarshalJSON(src []byte) error

func (*NullablePullRequestCollectionRep) Unset ¶

type NullablePullRequestLeadTimeRep ¶

type NullablePullRequestLeadTimeRep struct {
	// contains filtered or unexported fields
}

func (NullablePullRequestLeadTimeRep) Get ¶

func (NullablePullRequestLeadTimeRep) IsSet ¶

func (NullablePullRequestLeadTimeRep) MarshalJSON ¶

func (v NullablePullRequestLeadTimeRep) MarshalJSON() ([]byte, error)

func (*NullablePullRequestLeadTimeRep) Set ¶

func (*NullablePullRequestLeadTimeRep) UnmarshalJSON ¶

func (v *NullablePullRequestLeadTimeRep) UnmarshalJSON(src []byte) error

func (*NullablePullRequestLeadTimeRep) Unset ¶

func (v *NullablePullRequestLeadTimeRep) Unset()

type NullablePullRequestRep ¶

type NullablePullRequestRep struct {
	// contains filtered or unexported fields
}

func NewNullablePullRequestRep ¶

func NewNullablePullRequestRep(val *PullRequestRep) *NullablePullRequestRep

func (NullablePullRequestRep) Get ¶

func (NullablePullRequestRep) IsSet ¶

func (v NullablePullRequestRep) IsSet() bool

func (NullablePullRequestRep) MarshalJSON ¶

func (v NullablePullRequestRep) MarshalJSON() ([]byte, error)

func (*NullablePullRequestRep) Set ¶

func (*NullablePullRequestRep) UnmarshalJSON ¶

func (v *NullablePullRequestRep) UnmarshalJSON(src []byte) error

func (*NullablePullRequestRep) Unset ¶

func (v *NullablePullRequestRep) Unset()

type NullablePutBranch ¶

type NullablePutBranch struct {
	// contains filtered or unexported fields
}

func NewNullablePutBranch ¶

func NewNullablePutBranch(val *PutBranch) *NullablePutBranch

func (NullablePutBranch) Get ¶

func (v NullablePutBranch) Get() *PutBranch

func (NullablePutBranch) IsSet ¶

func (v NullablePutBranch) IsSet() bool

func (NullablePutBranch) MarshalJSON ¶

func (v NullablePutBranch) MarshalJSON() ([]byte, error)

func (*NullablePutBranch) Set ¶

func (v *NullablePutBranch) Set(val *PutBranch)

func (*NullablePutBranch) UnmarshalJSON ¶

func (v *NullablePutBranch) UnmarshalJSON(src []byte) error

func (*NullablePutBranch) Unset ¶

func (v *NullablePutBranch) Unset()

type NullableRandomizationSettingsPut ¶

type NullableRandomizationSettingsPut struct {
	// contains filtered or unexported fields
}

func (NullableRandomizationSettingsPut) Get ¶

func (NullableRandomizationSettingsPut) IsSet ¶

func (NullableRandomizationSettingsPut) MarshalJSON ¶

func (v NullableRandomizationSettingsPut) MarshalJSON() ([]byte, error)

func (*NullableRandomizationSettingsPut) Set ¶

func (*NullableRandomizationSettingsPut) UnmarshalJSON ¶

func (v *NullableRandomizationSettingsPut) UnmarshalJSON(src []byte) error

func (*NullableRandomizationSettingsPut) Unset ¶

type NullableRandomizationSettingsRep ¶

type NullableRandomizationSettingsRep struct {
	// contains filtered or unexported fields
}

func (NullableRandomizationSettingsRep) Get ¶

func (NullableRandomizationSettingsRep) IsSet ¶

func (NullableRandomizationSettingsRep) MarshalJSON ¶

func (v NullableRandomizationSettingsRep) MarshalJSON() ([]byte, error)

func (*NullableRandomizationSettingsRep) Set ¶

func (*NullableRandomizationSettingsRep) UnmarshalJSON ¶

func (v *NullableRandomizationSettingsRep) UnmarshalJSON(src []byte) error

func (*NullableRandomizationSettingsRep) Unset ¶

type NullableRandomizationUnitInput ¶

type NullableRandomizationUnitInput struct {
	// contains filtered or unexported fields
}

func (NullableRandomizationUnitInput) Get ¶

func (NullableRandomizationUnitInput) IsSet ¶

func (NullableRandomizationUnitInput) MarshalJSON ¶

func (v NullableRandomizationUnitInput) MarshalJSON() ([]byte, error)

func (*NullableRandomizationUnitInput) Set ¶

func (*NullableRandomizationUnitInput) UnmarshalJSON ¶

func (v *NullableRandomizationUnitInput) UnmarshalJSON(src []byte) error

func (*NullableRandomizationUnitInput) Unset ¶

func (v *NullableRandomizationUnitInput) Unset()

type NullableRandomizationUnitRep ¶

type NullableRandomizationUnitRep struct {
	// contains filtered or unexported fields
}

func (NullableRandomizationUnitRep) Get ¶

func (NullableRandomizationUnitRep) IsSet ¶

func (NullableRandomizationUnitRep) MarshalJSON ¶

func (v NullableRandomizationUnitRep) MarshalJSON() ([]byte, error)

func (*NullableRandomizationUnitRep) Set ¶

func (*NullableRandomizationUnitRep) UnmarshalJSON ¶

func (v *NullableRandomizationUnitRep) UnmarshalJSON(src []byte) error

func (*NullableRandomizationUnitRep) Unset ¶

func (v *NullableRandomizationUnitRep) Unset()

type NullableRateLimitedErrorRep ¶

type NullableRateLimitedErrorRep struct {
	// contains filtered or unexported fields
}

func (NullableRateLimitedErrorRep) Get ¶

func (NullableRateLimitedErrorRep) IsSet ¶

func (NullableRateLimitedErrorRep) MarshalJSON ¶

func (v NullableRateLimitedErrorRep) MarshalJSON() ([]byte, error)

func (*NullableRateLimitedErrorRep) Set ¶

func (*NullableRateLimitedErrorRep) UnmarshalJSON ¶

func (v *NullableRateLimitedErrorRep) UnmarshalJSON(src []byte) error

func (*NullableRateLimitedErrorRep) Unset ¶

func (v *NullableRateLimitedErrorRep) Unset()

type NullableRecentTriggerBody ¶

type NullableRecentTriggerBody struct {
	// contains filtered or unexported fields
}

func NewNullableRecentTriggerBody ¶

func NewNullableRecentTriggerBody(val *RecentTriggerBody) *NullableRecentTriggerBody

func (NullableRecentTriggerBody) Get ¶

func (NullableRecentTriggerBody) IsSet ¶

func (v NullableRecentTriggerBody) IsSet() bool

func (NullableRecentTriggerBody) MarshalJSON ¶

func (v NullableRecentTriggerBody) MarshalJSON() ([]byte, error)

func (*NullableRecentTriggerBody) Set ¶

func (*NullableRecentTriggerBody) UnmarshalJSON ¶

func (v *NullableRecentTriggerBody) UnmarshalJSON(src []byte) error

func (*NullableRecentTriggerBody) Unset ¶

func (v *NullableRecentTriggerBody) Unset()

type NullableReferenceRep ¶

type NullableReferenceRep struct {
	// contains filtered or unexported fields
}

func NewNullableReferenceRep ¶

func NewNullableReferenceRep(val *ReferenceRep) *NullableReferenceRep

func (NullableReferenceRep) Get ¶

func (NullableReferenceRep) IsSet ¶

func (v NullableReferenceRep) IsSet() bool

func (NullableReferenceRep) MarshalJSON ¶

func (v NullableReferenceRep) MarshalJSON() ([]byte, error)

func (*NullableReferenceRep) Set ¶

func (v *NullableReferenceRep) Set(val *ReferenceRep)

func (*NullableReferenceRep) UnmarshalJSON ¶

func (v *NullableReferenceRep) UnmarshalJSON(src []byte) error

func (*NullableReferenceRep) Unset ¶

func (v *NullableReferenceRep) Unset()

type NullableRelativeDifferenceRep ¶

type NullableRelativeDifferenceRep struct {
	// contains filtered or unexported fields
}

func (NullableRelativeDifferenceRep) Get ¶

func (NullableRelativeDifferenceRep) IsSet ¶

func (NullableRelativeDifferenceRep) MarshalJSON ¶

func (v NullableRelativeDifferenceRep) MarshalJSON() ([]byte, error)

func (*NullableRelativeDifferenceRep) Set ¶

func (*NullableRelativeDifferenceRep) UnmarshalJSON ¶

func (v *NullableRelativeDifferenceRep) UnmarshalJSON(src []byte) error

func (*NullableRelativeDifferenceRep) Unset ¶

func (v *NullableRelativeDifferenceRep) Unset()

type NullableRelayAutoConfigCollectionRep ¶

type NullableRelayAutoConfigCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableRelayAutoConfigCollectionRep) Get ¶

func (NullableRelayAutoConfigCollectionRep) IsSet ¶

func (NullableRelayAutoConfigCollectionRep) MarshalJSON ¶

func (v NullableRelayAutoConfigCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableRelayAutoConfigCollectionRep) Set ¶

func (*NullableRelayAutoConfigCollectionRep) UnmarshalJSON ¶

func (v *NullableRelayAutoConfigCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableRelayAutoConfigCollectionRep) Unset ¶

type NullableRelayAutoConfigPost ¶

type NullableRelayAutoConfigPost struct {
	// contains filtered or unexported fields
}

func (NullableRelayAutoConfigPost) Get ¶

func (NullableRelayAutoConfigPost) IsSet ¶

func (NullableRelayAutoConfigPost) MarshalJSON ¶

func (v NullableRelayAutoConfigPost) MarshalJSON() ([]byte, error)

func (*NullableRelayAutoConfigPost) Set ¶

func (*NullableRelayAutoConfigPost) UnmarshalJSON ¶

func (v *NullableRelayAutoConfigPost) UnmarshalJSON(src []byte) error

func (*NullableRelayAutoConfigPost) Unset ¶

func (v *NullableRelayAutoConfigPost) Unset()

type NullableRelayAutoConfigRep ¶

type NullableRelayAutoConfigRep struct {
	// contains filtered or unexported fields
}

func NewNullableRelayAutoConfigRep ¶

func NewNullableRelayAutoConfigRep(val *RelayAutoConfigRep) *NullableRelayAutoConfigRep

func (NullableRelayAutoConfigRep) Get ¶

func (NullableRelayAutoConfigRep) IsSet ¶

func (v NullableRelayAutoConfigRep) IsSet() bool

func (NullableRelayAutoConfigRep) MarshalJSON ¶

func (v NullableRelayAutoConfigRep) MarshalJSON() ([]byte, error)

func (*NullableRelayAutoConfigRep) Set ¶

func (*NullableRelayAutoConfigRep) UnmarshalJSON ¶

func (v *NullableRelayAutoConfigRep) UnmarshalJSON(src []byte) error

func (*NullableRelayAutoConfigRep) Unset ¶

func (v *NullableRelayAutoConfigRep) Unset()

type NullableRelease ¶

type NullableRelease struct {
	// contains filtered or unexported fields
}

func NewNullableRelease ¶

func NewNullableRelease(val *Release) *NullableRelease

func (NullableRelease) Get ¶

func (v NullableRelease) Get() *Release

func (NullableRelease) IsSet ¶

func (v NullableRelease) IsSet() bool

func (NullableRelease) MarshalJSON ¶

func (v NullableRelease) MarshalJSON() ([]byte, error)

func (*NullableRelease) Set ¶

func (v *NullableRelease) Set(val *Release)

func (*NullableRelease) UnmarshalJSON ¶

func (v *NullableRelease) UnmarshalJSON(src []byte) error

func (*NullableRelease) Unset ¶

func (v *NullableRelease) Unset()

type NullableReleaseAudience ¶ added in v15.1.0

type NullableReleaseAudience struct {
	// contains filtered or unexported fields
}

func NewNullableReleaseAudience ¶ added in v15.1.0

func NewNullableReleaseAudience(val *ReleaseAudience) *NullableReleaseAudience

func (NullableReleaseAudience) Get ¶ added in v15.1.0

func (NullableReleaseAudience) IsSet ¶ added in v15.1.0

func (v NullableReleaseAudience) IsSet() bool

func (NullableReleaseAudience) MarshalJSON ¶ added in v15.1.0

func (v NullableReleaseAudience) MarshalJSON() ([]byte, error)

func (*NullableReleaseAudience) Set ¶ added in v15.1.0

func (*NullableReleaseAudience) UnmarshalJSON ¶ added in v15.1.0

func (v *NullableReleaseAudience) UnmarshalJSON(src []byte) error

func (*NullableReleaseAudience) Unset ¶ added in v15.1.0

func (v *NullableReleaseAudience) Unset()

type NullableReleasePhase ¶

type NullableReleasePhase struct {
	// contains filtered or unexported fields
}

func NewNullableReleasePhase ¶

func NewNullableReleasePhase(val *ReleasePhase) *NullableReleasePhase

func (NullableReleasePhase) Get ¶

func (NullableReleasePhase) IsSet ¶

func (v NullableReleasePhase) IsSet() bool

func (NullableReleasePhase) MarshalJSON ¶

func (v NullableReleasePhase) MarshalJSON() ([]byte, error)

func (*NullableReleasePhase) Set ¶

func (v *NullableReleasePhase) Set(val *ReleasePhase)

func (*NullableReleasePhase) UnmarshalJSON ¶

func (v *NullableReleasePhase) UnmarshalJSON(src []byte) error

func (*NullableReleasePhase) Unset ¶

func (v *NullableReleasePhase) Unset()

type NullableReleasePipeline ¶

type NullableReleasePipeline struct {
	// contains filtered or unexported fields
}

func NewNullableReleasePipeline ¶

func NewNullableReleasePipeline(val *ReleasePipeline) *NullableReleasePipeline

func (NullableReleasePipeline) Get ¶

func (NullableReleasePipeline) IsSet ¶

func (v NullableReleasePipeline) IsSet() bool

func (NullableReleasePipeline) MarshalJSON ¶

func (v NullableReleasePipeline) MarshalJSON() ([]byte, error)

func (*NullableReleasePipeline) Set ¶

func (*NullableReleasePipeline) UnmarshalJSON ¶

func (v *NullableReleasePipeline) UnmarshalJSON(src []byte) error

func (*NullableReleasePipeline) Unset ¶

func (v *NullableReleasePipeline) Unset()

type NullableReleasePipelineCollection ¶

type NullableReleasePipelineCollection struct {
	// contains filtered or unexported fields
}

func (NullableReleasePipelineCollection) Get ¶

func (NullableReleasePipelineCollection) IsSet ¶

func (NullableReleasePipelineCollection) MarshalJSON ¶

func (v NullableReleasePipelineCollection) MarshalJSON() ([]byte, error)

func (*NullableReleasePipelineCollection) Set ¶

func (*NullableReleasePipelineCollection) UnmarshalJSON ¶

func (v *NullableReleasePipelineCollection) UnmarshalJSON(src []byte) error

func (*NullableReleasePipelineCollection) Unset ¶

type NullableRepositoryCollectionRep ¶

type NullableRepositoryCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableRepositoryCollectionRep) Get ¶

func (NullableRepositoryCollectionRep) IsSet ¶

func (NullableRepositoryCollectionRep) MarshalJSON ¶

func (v NullableRepositoryCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableRepositoryCollectionRep) Set ¶

func (*NullableRepositoryCollectionRep) UnmarshalJSON ¶

func (v *NullableRepositoryCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableRepositoryCollectionRep) Unset ¶

type NullableRepositoryPost ¶

type NullableRepositoryPost struct {
	// contains filtered or unexported fields
}

func NewNullableRepositoryPost ¶

func NewNullableRepositoryPost(val *RepositoryPost) *NullableRepositoryPost

func (NullableRepositoryPost) Get ¶

func (NullableRepositoryPost) IsSet ¶

func (v NullableRepositoryPost) IsSet() bool

func (NullableRepositoryPost) MarshalJSON ¶

func (v NullableRepositoryPost) MarshalJSON() ([]byte, error)

func (*NullableRepositoryPost) Set ¶

func (*NullableRepositoryPost) UnmarshalJSON ¶

func (v *NullableRepositoryPost) UnmarshalJSON(src []byte) error

func (*NullableRepositoryPost) Unset ¶

func (v *NullableRepositoryPost) Unset()

type NullableRepositoryRep ¶

type NullableRepositoryRep struct {
	// contains filtered or unexported fields
}

func NewNullableRepositoryRep ¶

func NewNullableRepositoryRep(val *RepositoryRep) *NullableRepositoryRep

func (NullableRepositoryRep) Get ¶

func (NullableRepositoryRep) IsSet ¶

func (v NullableRepositoryRep) IsSet() bool

func (NullableRepositoryRep) MarshalJSON ¶

func (v NullableRepositoryRep) MarshalJSON() ([]byte, error)

func (*NullableRepositoryRep) Set ¶

func (v *NullableRepositoryRep) Set(val *RepositoryRep)

func (*NullableRepositoryRep) UnmarshalJSON ¶

func (v *NullableRepositoryRep) UnmarshalJSON(src []byte) error

func (*NullableRepositoryRep) Unset ¶

func (v *NullableRepositoryRep) Unset()

type NullableResourceAccess ¶

type NullableResourceAccess struct {
	// contains filtered or unexported fields
}

func NewNullableResourceAccess ¶

func NewNullableResourceAccess(val *ResourceAccess) *NullableResourceAccess

func (NullableResourceAccess) Get ¶

func (NullableResourceAccess) IsSet ¶

func (v NullableResourceAccess) IsSet() bool

func (NullableResourceAccess) MarshalJSON ¶

func (v NullableResourceAccess) MarshalJSON() ([]byte, error)

func (*NullableResourceAccess) Set ¶

func (*NullableResourceAccess) UnmarshalJSON ¶

func (v *NullableResourceAccess) UnmarshalJSON(src []byte) error

func (*NullableResourceAccess) Unset ¶

func (v *NullableResourceAccess) Unset()

type NullableResourceIDResponse ¶

type NullableResourceIDResponse struct {
	// contains filtered or unexported fields
}

func NewNullableResourceIDResponse ¶

func NewNullableResourceIDResponse(val *ResourceIDResponse) *NullableResourceIDResponse

func (NullableResourceIDResponse) Get ¶

func (NullableResourceIDResponse) IsSet ¶

func (v NullableResourceIDResponse) IsSet() bool

func (NullableResourceIDResponse) MarshalJSON ¶

func (v NullableResourceIDResponse) MarshalJSON() ([]byte, error)

func (*NullableResourceIDResponse) Set ¶

func (*NullableResourceIDResponse) UnmarshalJSON ¶

func (v *NullableResourceIDResponse) UnmarshalJSON(src []byte) error

func (*NullableResourceIDResponse) Unset ¶

func (v *NullableResourceIDResponse) Unset()

type NullableResourceId ¶

type NullableResourceId struct {
	// contains filtered or unexported fields
}

func NewNullableResourceId ¶

func NewNullableResourceId(val *ResourceId) *NullableResourceId

func (NullableResourceId) Get ¶

func (v NullableResourceId) Get() *ResourceId

func (NullableResourceId) IsSet ¶

func (v NullableResourceId) IsSet() bool

func (NullableResourceId) MarshalJSON ¶

func (v NullableResourceId) MarshalJSON() ([]byte, error)

func (*NullableResourceId) Set ¶

func (v *NullableResourceId) Set(val *ResourceId)

func (*NullableResourceId) UnmarshalJSON ¶

func (v *NullableResourceId) UnmarshalJSON(src []byte) error

func (*NullableResourceId) Unset ¶

func (v *NullableResourceId) Unset()

type NullableReviewOutput ¶

type NullableReviewOutput struct {
	// contains filtered or unexported fields
}

func NewNullableReviewOutput ¶

func NewNullableReviewOutput(val *ReviewOutput) *NullableReviewOutput

func (NullableReviewOutput) Get ¶

func (NullableReviewOutput) IsSet ¶

func (v NullableReviewOutput) IsSet() bool

func (NullableReviewOutput) MarshalJSON ¶

func (v NullableReviewOutput) MarshalJSON() ([]byte, error)

func (*NullableReviewOutput) Set ¶

func (v *NullableReviewOutput) Set(val *ReviewOutput)

func (*NullableReviewOutput) UnmarshalJSON ¶

func (v *NullableReviewOutput) UnmarshalJSON(src []byte) error

func (*NullableReviewOutput) Unset ¶

func (v *NullableReviewOutput) Unset()

type NullableReviewResponse ¶

type NullableReviewResponse struct {
	// contains filtered or unexported fields
}

func NewNullableReviewResponse ¶

func NewNullableReviewResponse(val *ReviewResponse) *NullableReviewResponse

func (NullableReviewResponse) Get ¶

func (NullableReviewResponse) IsSet ¶

func (v NullableReviewResponse) IsSet() bool

func (NullableReviewResponse) MarshalJSON ¶

func (v NullableReviewResponse) MarshalJSON() ([]byte, error)

func (*NullableReviewResponse) Set ¶

func (*NullableReviewResponse) UnmarshalJSON ¶

func (v *NullableReviewResponse) UnmarshalJSON(src []byte) error

func (*NullableReviewResponse) Unset ¶

func (v *NullableReviewResponse) Unset()

type NullableRollout ¶

type NullableRollout struct {
	// contains filtered or unexported fields
}

func NewNullableRollout ¶

func NewNullableRollout(val *Rollout) *NullableRollout

func (NullableRollout) Get ¶

func (v NullableRollout) Get() *Rollout

func (NullableRollout) IsSet ¶

func (v NullableRollout) IsSet() bool

func (NullableRollout) MarshalJSON ¶

func (v NullableRollout) MarshalJSON() ([]byte, error)

func (*NullableRollout) Set ¶

func (v *NullableRollout) Set(val *Rollout)

func (*NullableRollout) UnmarshalJSON ¶

func (v *NullableRollout) UnmarshalJSON(src []byte) error

func (*NullableRollout) Unset ¶

func (v *NullableRollout) Unset()

type NullableRootResponse ¶

type NullableRootResponse struct {
	// contains filtered or unexported fields
}

func NewNullableRootResponse ¶

func NewNullableRootResponse(val *RootResponse) *NullableRootResponse

func (NullableRootResponse) Get ¶

func (NullableRootResponse) IsSet ¶

func (v NullableRootResponse) IsSet() bool

func (NullableRootResponse) MarshalJSON ¶

func (v NullableRootResponse) MarshalJSON() ([]byte, error)

func (*NullableRootResponse) Set ¶

func (v *NullableRootResponse) Set(val *RootResponse)

func (*NullableRootResponse) UnmarshalJSON ¶

func (v *NullableRootResponse) UnmarshalJSON(src []byte) error

func (*NullableRootResponse) Unset ¶

func (v *NullableRootResponse) Unset()

type NullableRule ¶

type NullableRule struct {
	// contains filtered or unexported fields
}

func NewNullableRule ¶

func NewNullableRule(val *Rule) *NullableRule

func (NullableRule) Get ¶

func (v NullableRule) Get() *Rule

func (NullableRule) IsSet ¶

func (v NullableRule) IsSet() bool

func (NullableRule) MarshalJSON ¶

func (v NullableRule) MarshalJSON() ([]byte, error)

func (*NullableRule) Set ¶

func (v *NullableRule) Set(val *Rule)

func (*NullableRule) UnmarshalJSON ¶

func (v *NullableRule) UnmarshalJSON(src []byte) error

func (*NullableRule) Unset ¶

func (v *NullableRule) Unset()

type NullableRuleClause ¶

type NullableRuleClause struct {
	// contains filtered or unexported fields
}

func NewNullableRuleClause ¶

func NewNullableRuleClause(val *RuleClause) *NullableRuleClause

func (NullableRuleClause) Get ¶

func (v NullableRuleClause) Get() *RuleClause

func (NullableRuleClause) IsSet ¶

func (v NullableRuleClause) IsSet() bool

func (NullableRuleClause) MarshalJSON ¶

func (v NullableRuleClause) MarshalJSON() ([]byte, error)

func (*NullableRuleClause) Set ¶

func (v *NullableRuleClause) Set(val *RuleClause)

func (*NullableRuleClause) UnmarshalJSON ¶

func (v *NullableRuleClause) UnmarshalJSON(src []byte) error

func (*NullableRuleClause) Unset ¶

func (v *NullableRuleClause) Unset()

type NullableSdkListRep ¶

type NullableSdkListRep struct {
	// contains filtered or unexported fields
}

func NewNullableSdkListRep ¶

func NewNullableSdkListRep(val *SdkListRep) *NullableSdkListRep

func (NullableSdkListRep) Get ¶

func (v NullableSdkListRep) Get() *SdkListRep

func (NullableSdkListRep) IsSet ¶

func (v NullableSdkListRep) IsSet() bool

func (NullableSdkListRep) MarshalJSON ¶

func (v NullableSdkListRep) MarshalJSON() ([]byte, error)

func (*NullableSdkListRep) Set ¶

func (v *NullableSdkListRep) Set(val *SdkListRep)

func (*NullableSdkListRep) UnmarshalJSON ¶

func (v *NullableSdkListRep) UnmarshalJSON(src []byte) error

func (*NullableSdkListRep) Unset ¶

func (v *NullableSdkListRep) Unset()

type NullableSdkVersionListRep ¶

type NullableSdkVersionListRep struct {
	// contains filtered or unexported fields
}

func NewNullableSdkVersionListRep ¶

func NewNullableSdkVersionListRep(val *SdkVersionListRep) *NullableSdkVersionListRep

func (NullableSdkVersionListRep) Get ¶

func (NullableSdkVersionListRep) IsSet ¶

func (v NullableSdkVersionListRep) IsSet() bool

func (NullableSdkVersionListRep) MarshalJSON ¶

func (v NullableSdkVersionListRep) MarshalJSON() ([]byte, error)

func (*NullableSdkVersionListRep) Set ¶

func (*NullableSdkVersionListRep) UnmarshalJSON ¶

func (v *NullableSdkVersionListRep) UnmarshalJSON(src []byte) error

func (*NullableSdkVersionListRep) Unset ¶

func (v *NullableSdkVersionListRep) Unset()

type NullableSdkVersionRep ¶

type NullableSdkVersionRep struct {
	// contains filtered or unexported fields
}

func NewNullableSdkVersionRep ¶

func NewNullableSdkVersionRep(val *SdkVersionRep) *NullableSdkVersionRep

func (NullableSdkVersionRep) Get ¶

func (NullableSdkVersionRep) IsSet ¶

func (v NullableSdkVersionRep) IsSet() bool

func (NullableSdkVersionRep) MarshalJSON ¶

func (v NullableSdkVersionRep) MarshalJSON() ([]byte, error)

func (*NullableSdkVersionRep) Set ¶

func (v *NullableSdkVersionRep) Set(val *SdkVersionRep)

func (*NullableSdkVersionRep) UnmarshalJSON ¶

func (v *NullableSdkVersionRep) UnmarshalJSON(src []byte) error

func (*NullableSdkVersionRep) Unset ¶

func (v *NullableSdkVersionRep) Unset()

type NullableSegmentBody ¶

type NullableSegmentBody struct {
	// contains filtered or unexported fields
}

func NewNullableSegmentBody ¶

func NewNullableSegmentBody(val *SegmentBody) *NullableSegmentBody

func (NullableSegmentBody) Get ¶

func (NullableSegmentBody) IsSet ¶

func (v NullableSegmentBody) IsSet() bool

func (NullableSegmentBody) MarshalJSON ¶

func (v NullableSegmentBody) MarshalJSON() ([]byte, error)

func (*NullableSegmentBody) Set ¶

func (v *NullableSegmentBody) Set(val *SegmentBody)

func (*NullableSegmentBody) UnmarshalJSON ¶

func (v *NullableSegmentBody) UnmarshalJSON(src []byte) error

func (*NullableSegmentBody) Unset ¶

func (v *NullableSegmentBody) Unset()

type NullableSegmentMetadata ¶

type NullableSegmentMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableSegmentMetadata ¶

func NewNullableSegmentMetadata(val *SegmentMetadata) *NullableSegmentMetadata

func (NullableSegmentMetadata) Get ¶

func (NullableSegmentMetadata) IsSet ¶

func (v NullableSegmentMetadata) IsSet() bool

func (NullableSegmentMetadata) MarshalJSON ¶

func (v NullableSegmentMetadata) MarshalJSON() ([]byte, error)

func (*NullableSegmentMetadata) Set ¶

func (*NullableSegmentMetadata) UnmarshalJSON ¶

func (v *NullableSegmentMetadata) UnmarshalJSON(src []byte) error

func (*NullableSegmentMetadata) Unset ¶

func (v *NullableSegmentMetadata) Unset()

type NullableSegmentTarget ¶

type NullableSegmentTarget struct {
	// contains filtered or unexported fields
}

func NewNullableSegmentTarget ¶

func NewNullableSegmentTarget(val *SegmentTarget) *NullableSegmentTarget

func (NullableSegmentTarget) Get ¶

func (NullableSegmentTarget) IsSet ¶

func (v NullableSegmentTarget) IsSet() bool

func (NullableSegmentTarget) MarshalJSON ¶

func (v NullableSegmentTarget) MarshalJSON() ([]byte, error)

func (*NullableSegmentTarget) Set ¶

func (v *NullableSegmentTarget) Set(val *SegmentTarget)

func (*NullableSegmentTarget) UnmarshalJSON ¶

func (v *NullableSegmentTarget) UnmarshalJSON(src []byte) error

func (*NullableSegmentTarget) Unset ¶

func (v *NullableSegmentTarget) Unset()

type NullableSegmentUserList ¶

type NullableSegmentUserList struct {
	// contains filtered or unexported fields
}

func NewNullableSegmentUserList ¶

func NewNullableSegmentUserList(val *SegmentUserList) *NullableSegmentUserList

func (NullableSegmentUserList) Get ¶

func (NullableSegmentUserList) IsSet ¶

func (v NullableSegmentUserList) IsSet() bool

func (NullableSegmentUserList) MarshalJSON ¶

func (v NullableSegmentUserList) MarshalJSON() ([]byte, error)

func (*NullableSegmentUserList) Set ¶

func (*NullableSegmentUserList) UnmarshalJSON ¶

func (v *NullableSegmentUserList) UnmarshalJSON(src []byte) error

func (*NullableSegmentUserList) Unset ¶

func (v *NullableSegmentUserList) Unset()

type NullableSegmentUserState ¶

type NullableSegmentUserState struct {
	// contains filtered or unexported fields
}

func NewNullableSegmentUserState ¶

func NewNullableSegmentUserState(val *SegmentUserState) *NullableSegmentUserState

func (NullableSegmentUserState) Get ¶

func (NullableSegmentUserState) IsSet ¶

func (v NullableSegmentUserState) IsSet() bool

func (NullableSegmentUserState) MarshalJSON ¶

func (v NullableSegmentUserState) MarshalJSON() ([]byte, error)

func (*NullableSegmentUserState) Set ¶

func (*NullableSegmentUserState) UnmarshalJSON ¶

func (v *NullableSegmentUserState) UnmarshalJSON(src []byte) error

func (*NullableSegmentUserState) Unset ¶

func (v *NullableSegmentUserState) Unset()

type NullableSeries ¶

type NullableSeries struct {
	// contains filtered or unexported fields
}

func NewNullableSeries ¶

func NewNullableSeries(val *Series) *NullableSeries

func (NullableSeries) Get ¶

func (v NullableSeries) Get() *Series

func (NullableSeries) IsSet ¶

func (v NullableSeries) IsSet() bool

func (NullableSeries) MarshalJSON ¶

func (v NullableSeries) MarshalJSON() ([]byte, error)

func (*NullableSeries) Set ¶

func (v *NullableSeries) Set(val *Series)

func (*NullableSeries) UnmarshalJSON ¶

func (v *NullableSeries) UnmarshalJSON(src []byte) error

func (*NullableSeries) Unset ¶

func (v *NullableSeries) Unset()

type NullableSeriesIntervalsRep ¶

type NullableSeriesIntervalsRep struct {
	// contains filtered or unexported fields
}

func NewNullableSeriesIntervalsRep ¶

func NewNullableSeriesIntervalsRep(val *SeriesIntervalsRep) *NullableSeriesIntervalsRep

func (NullableSeriesIntervalsRep) Get ¶

func (NullableSeriesIntervalsRep) IsSet ¶

func (v NullableSeriesIntervalsRep) IsSet() bool

func (NullableSeriesIntervalsRep) MarshalJSON ¶

func (v NullableSeriesIntervalsRep) MarshalJSON() ([]byte, error)

func (*NullableSeriesIntervalsRep) Set ¶

func (*NullableSeriesIntervalsRep) UnmarshalJSON ¶

func (v *NullableSeriesIntervalsRep) UnmarshalJSON(src []byte) error

func (*NullableSeriesIntervalsRep) Unset ¶

func (v *NullableSeriesIntervalsRep) Unset()

type NullableSeriesListRep ¶

type NullableSeriesListRep struct {
	// contains filtered or unexported fields
}

func NewNullableSeriesListRep ¶

func NewNullableSeriesListRep(val *SeriesListRep) *NullableSeriesListRep

func (NullableSeriesListRep) Get ¶

func (NullableSeriesListRep) IsSet ¶

func (v NullableSeriesListRep) IsSet() bool

func (NullableSeriesListRep) MarshalJSON ¶

func (v NullableSeriesListRep) MarshalJSON() ([]byte, error)

func (*NullableSeriesListRep) Set ¶

func (v *NullableSeriesListRep) Set(val *SeriesListRep)

func (*NullableSeriesListRep) UnmarshalJSON ¶

func (v *NullableSeriesListRep) UnmarshalJSON(src []byte) error

func (*NullableSeriesListRep) Unset ¶

func (v *NullableSeriesListRep) Unset()

type NullableSlicedResultsRep ¶

type NullableSlicedResultsRep struct {
	// contains filtered or unexported fields
}

func NewNullableSlicedResultsRep ¶

func NewNullableSlicedResultsRep(val *SlicedResultsRep) *NullableSlicedResultsRep

func (NullableSlicedResultsRep) Get ¶

func (NullableSlicedResultsRep) IsSet ¶

func (v NullableSlicedResultsRep) IsSet() bool

func (NullableSlicedResultsRep) MarshalJSON ¶

func (v NullableSlicedResultsRep) MarshalJSON() ([]byte, error)

func (*NullableSlicedResultsRep) Set ¶

func (*NullableSlicedResultsRep) UnmarshalJSON ¶

func (v *NullableSlicedResultsRep) UnmarshalJSON(src []byte) error

func (*NullableSlicedResultsRep) Unset ¶

func (v *NullableSlicedResultsRep) Unset()

type NullableSourceEnv ¶

type NullableSourceEnv struct {
	// contains filtered or unexported fields
}

func NewNullableSourceEnv ¶

func NewNullableSourceEnv(val *SourceEnv) *NullableSourceEnv

func (NullableSourceEnv) Get ¶

func (v NullableSourceEnv) Get() *SourceEnv

func (NullableSourceEnv) IsSet ¶

func (v NullableSourceEnv) IsSet() bool

func (NullableSourceEnv) MarshalJSON ¶

func (v NullableSourceEnv) MarshalJSON() ([]byte, error)

func (*NullableSourceEnv) Set ¶

func (v *NullableSourceEnv) Set(val *SourceEnv)

func (*NullableSourceEnv) UnmarshalJSON ¶

func (v *NullableSourceEnv) UnmarshalJSON(src []byte) error

func (*NullableSourceEnv) Unset ¶

func (v *NullableSourceEnv) Unset()

type NullableSourceFlag ¶

type NullableSourceFlag struct {
	// contains filtered or unexported fields
}

func NewNullableSourceFlag ¶

func NewNullableSourceFlag(val *SourceFlag) *NullableSourceFlag

func (NullableSourceFlag) Get ¶

func (v NullableSourceFlag) Get() *SourceFlag

func (NullableSourceFlag) IsSet ¶

func (v NullableSourceFlag) IsSet() bool

func (NullableSourceFlag) MarshalJSON ¶

func (v NullableSourceFlag) MarshalJSON() ([]byte, error)

func (*NullableSourceFlag) Set ¶

func (v *NullableSourceFlag) Set(val *SourceFlag)

func (*NullableSourceFlag) UnmarshalJSON ¶

func (v *NullableSourceFlag) UnmarshalJSON(src []byte) error

func (*NullableSourceFlag) Unset ¶

func (v *NullableSourceFlag) Unset()

type NullableStageInput ¶

type NullableStageInput struct {
	// contains filtered or unexported fields
}

func NewNullableStageInput ¶

func NewNullableStageInput(val *StageInput) *NullableStageInput

func (NullableStageInput) Get ¶

func (v NullableStageInput) Get() *StageInput

func (NullableStageInput) IsSet ¶

func (v NullableStageInput) IsSet() bool

func (NullableStageInput) MarshalJSON ¶

func (v NullableStageInput) MarshalJSON() ([]byte, error)

func (*NullableStageInput) Set ¶

func (v *NullableStageInput) Set(val *StageInput)

func (*NullableStageInput) UnmarshalJSON ¶

func (v *NullableStageInput) UnmarshalJSON(src []byte) error

func (*NullableStageInput) Unset ¶

func (v *NullableStageInput) Unset()

type NullableStageOutput ¶

type NullableStageOutput struct {
	// contains filtered or unexported fields
}

func NewNullableStageOutput ¶

func NewNullableStageOutput(val *StageOutput) *NullableStageOutput

func (NullableStageOutput) Get ¶

func (NullableStageOutput) IsSet ¶

func (v NullableStageOutput) IsSet() bool

func (NullableStageOutput) MarshalJSON ¶

func (v NullableStageOutput) MarshalJSON() ([]byte, error)

func (*NullableStageOutput) Set ¶

func (v *NullableStageOutput) Set(val *StageOutput)

func (*NullableStageOutput) UnmarshalJSON ¶

func (v *NullableStageOutput) UnmarshalJSON(src []byte) error

func (*NullableStageOutput) Unset ¶

func (v *NullableStageOutput) Unset()

type NullableStatement ¶

type NullableStatement struct {
	// contains filtered or unexported fields
}

func NewNullableStatement ¶

func NewNullableStatement(val *Statement) *NullableStatement

func (NullableStatement) Get ¶

func (v NullableStatement) Get() *Statement

func (NullableStatement) IsSet ¶

func (v NullableStatement) IsSet() bool

func (NullableStatement) MarshalJSON ¶

func (v NullableStatement) MarshalJSON() ([]byte, error)

func (*NullableStatement) Set ¶

func (v *NullableStatement) Set(val *Statement)

func (*NullableStatement) UnmarshalJSON ¶

func (v *NullableStatement) UnmarshalJSON(src []byte) error

func (*NullableStatement) Unset ¶

func (v *NullableStatement) Unset()

type NullableStatementPost ¶

type NullableStatementPost struct {
	// contains filtered or unexported fields
}

func NewNullableStatementPost ¶

func NewNullableStatementPost(val *StatementPost) *NullableStatementPost

func (NullableStatementPost) Get ¶

func (NullableStatementPost) IsSet ¶

func (v NullableStatementPost) IsSet() bool

func (NullableStatementPost) MarshalJSON ¶

func (v NullableStatementPost) MarshalJSON() ([]byte, error)

func (*NullableStatementPost) Set ¶

func (v *NullableStatementPost) Set(val *StatementPost)

func (*NullableStatementPost) UnmarshalJSON ¶

func (v *NullableStatementPost) UnmarshalJSON(src []byte) error

func (*NullableStatementPost) Unset ¶

func (v *NullableStatementPost) Unset()

type NullableStatisticCollectionRep ¶

type NullableStatisticCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableStatisticCollectionRep) Get ¶

func (NullableStatisticCollectionRep) IsSet ¶

func (NullableStatisticCollectionRep) MarshalJSON ¶

func (v NullableStatisticCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableStatisticCollectionRep) Set ¶

func (*NullableStatisticCollectionRep) UnmarshalJSON ¶

func (v *NullableStatisticCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableStatisticCollectionRep) Unset ¶

func (v *NullableStatisticCollectionRep) Unset()

type NullableStatisticRep ¶

type NullableStatisticRep struct {
	// contains filtered or unexported fields
}

func NewNullableStatisticRep ¶

func NewNullableStatisticRep(val *StatisticRep) *NullableStatisticRep

func (NullableStatisticRep) Get ¶

func (NullableStatisticRep) IsSet ¶

func (v NullableStatisticRep) IsSet() bool

func (NullableStatisticRep) MarshalJSON ¶

func (v NullableStatisticRep) MarshalJSON() ([]byte, error)

func (*NullableStatisticRep) Set ¶

func (v *NullableStatisticRep) Set(val *StatisticRep)

func (*NullableStatisticRep) UnmarshalJSON ¶

func (v *NullableStatisticRep) UnmarshalJSON(src []byte) error

func (*NullableStatisticRep) Unset ¶

func (v *NullableStatisticRep) Unset()

type NullableStatisticsRoot ¶

type NullableStatisticsRoot struct {
	// contains filtered or unexported fields
}

func NewNullableStatisticsRoot ¶

func NewNullableStatisticsRoot(val *StatisticsRoot) *NullableStatisticsRoot

func (NullableStatisticsRoot) Get ¶

func (NullableStatisticsRoot) IsSet ¶

func (v NullableStatisticsRoot) IsSet() bool

func (NullableStatisticsRoot) MarshalJSON ¶

func (v NullableStatisticsRoot) MarshalJSON() ([]byte, error)

func (*NullableStatisticsRoot) Set ¶

func (*NullableStatisticsRoot) UnmarshalJSON ¶

func (v *NullableStatisticsRoot) UnmarshalJSON(src []byte) error

func (*NullableStatisticsRoot) Unset ¶

func (v *NullableStatisticsRoot) Unset()

type NullableStatusConflictErrorRep ¶

type NullableStatusConflictErrorRep struct {
	// contains filtered or unexported fields
}

func (NullableStatusConflictErrorRep) Get ¶

func (NullableStatusConflictErrorRep) IsSet ¶

func (NullableStatusConflictErrorRep) MarshalJSON ¶

func (v NullableStatusConflictErrorRep) MarshalJSON() ([]byte, error)

func (*NullableStatusConflictErrorRep) Set ¶

func (*NullableStatusConflictErrorRep) UnmarshalJSON ¶

func (v *NullableStatusConflictErrorRep) UnmarshalJSON(src []byte) error

func (*NullableStatusConflictErrorRep) Unset ¶

func (v *NullableStatusConflictErrorRep) Unset()

type NullableStatusServiceUnavailable ¶

type NullableStatusServiceUnavailable struct {
	// contains filtered or unexported fields
}

func (NullableStatusServiceUnavailable) Get ¶

func (NullableStatusServiceUnavailable) IsSet ¶

func (NullableStatusServiceUnavailable) MarshalJSON ¶

func (v NullableStatusServiceUnavailable) MarshalJSON() ([]byte, error)

func (*NullableStatusServiceUnavailable) Set ¶

func (*NullableStatusServiceUnavailable) UnmarshalJSON ¶

func (v *NullableStatusServiceUnavailable) UnmarshalJSON(src []byte) error

func (*NullableStatusServiceUnavailable) Unset ¶

type NullableStoreIntegrationError ¶

type NullableStoreIntegrationError struct {
	// contains filtered or unexported fields
}

func (NullableStoreIntegrationError) Get ¶

func (NullableStoreIntegrationError) IsSet ¶

func (NullableStoreIntegrationError) MarshalJSON ¶

func (v NullableStoreIntegrationError) MarshalJSON() ([]byte, error)

func (*NullableStoreIntegrationError) Set ¶

func (*NullableStoreIntegrationError) UnmarshalJSON ¶

func (v *NullableStoreIntegrationError) UnmarshalJSON(src []byte) error

func (*NullableStoreIntegrationError) Unset ¶

func (v *NullableStoreIntegrationError) Unset()

type NullableString ¶

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString ¶

func NewNullableString(val *string) *NullableString

func (NullableString) Get ¶

func (v NullableString) Get() *string

func (NullableString) IsSet ¶

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON ¶

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set ¶

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON ¶

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset ¶

func (v *NullableString) Unset()

type NullableSubjectDataRep ¶

type NullableSubjectDataRep struct {
	// contains filtered or unexported fields
}

func NewNullableSubjectDataRep ¶

func NewNullableSubjectDataRep(val *SubjectDataRep) *NullableSubjectDataRep

func (NullableSubjectDataRep) Get ¶

func (NullableSubjectDataRep) IsSet ¶

func (v NullableSubjectDataRep) IsSet() bool

func (NullableSubjectDataRep) MarshalJSON ¶

func (v NullableSubjectDataRep) MarshalJSON() ([]byte, error)

func (*NullableSubjectDataRep) Set ¶

func (*NullableSubjectDataRep) UnmarshalJSON ¶

func (v *NullableSubjectDataRep) UnmarshalJSON(src []byte) error

func (*NullableSubjectDataRep) Unset ¶

func (v *NullableSubjectDataRep) Unset()

type NullableSubscriptionPost ¶

type NullableSubscriptionPost struct {
	// contains filtered or unexported fields
}

func NewNullableSubscriptionPost ¶

func NewNullableSubscriptionPost(val *SubscriptionPost) *NullableSubscriptionPost

func (NullableSubscriptionPost) Get ¶

func (NullableSubscriptionPost) IsSet ¶

func (v NullableSubscriptionPost) IsSet() bool

func (NullableSubscriptionPost) MarshalJSON ¶

func (v NullableSubscriptionPost) MarshalJSON() ([]byte, error)

func (*NullableSubscriptionPost) Set ¶

func (*NullableSubscriptionPost) UnmarshalJSON ¶

func (v *NullableSubscriptionPost) UnmarshalJSON(src []byte) error

func (*NullableSubscriptionPost) Unset ¶

func (v *NullableSubscriptionPost) Unset()

type NullableTagCollection ¶

type NullableTagCollection struct {
	// contains filtered or unexported fields
}

func NewNullableTagCollection ¶

func NewNullableTagCollection(val *TagCollection) *NullableTagCollection

func (NullableTagCollection) Get ¶

func (NullableTagCollection) IsSet ¶

func (v NullableTagCollection) IsSet() bool

func (NullableTagCollection) MarshalJSON ¶

func (v NullableTagCollection) MarshalJSON() ([]byte, error)

func (*NullableTagCollection) Set ¶

func (v *NullableTagCollection) Set(val *TagCollection)

func (*NullableTagCollection) UnmarshalJSON ¶

func (v *NullableTagCollection) UnmarshalJSON(src []byte) error

func (*NullableTagCollection) Unset ¶

func (v *NullableTagCollection) Unset()

type NullableTarget ¶

type NullableTarget struct {
	// contains filtered or unexported fields
}

func NewNullableTarget ¶

func NewNullableTarget(val *Target) *NullableTarget

func (NullableTarget) Get ¶

func (v NullableTarget) Get() *Target

func (NullableTarget) IsSet ¶

func (v NullableTarget) IsSet() bool

func (NullableTarget) MarshalJSON ¶

func (v NullableTarget) MarshalJSON() ([]byte, error)

func (*NullableTarget) Set ¶

func (v *NullableTarget) Set(val *Target)

func (*NullableTarget) UnmarshalJSON ¶

func (v *NullableTarget) UnmarshalJSON(src []byte) error

func (*NullableTarget) Unset ¶

func (v *NullableTarget) Unset()

type NullableTargetResourceRep ¶

type NullableTargetResourceRep struct {
	// contains filtered or unexported fields
}

func NewNullableTargetResourceRep ¶

func NewNullableTargetResourceRep(val *TargetResourceRep) *NullableTargetResourceRep

func (NullableTargetResourceRep) Get ¶

func (NullableTargetResourceRep) IsSet ¶

func (v NullableTargetResourceRep) IsSet() bool

func (NullableTargetResourceRep) MarshalJSON ¶

func (v NullableTargetResourceRep) MarshalJSON() ([]byte, error)

func (*NullableTargetResourceRep) Set ¶

func (*NullableTargetResourceRep) UnmarshalJSON ¶

func (v *NullableTargetResourceRep) UnmarshalJSON(src []byte) error

func (*NullableTargetResourceRep) Unset ¶

func (v *NullableTargetResourceRep) Unset()

type NullableTeam ¶

type NullableTeam struct {
	// contains filtered or unexported fields
}

func NewNullableTeam ¶

func NewNullableTeam(val *Team) *NullableTeam

func (NullableTeam) Get ¶

func (v NullableTeam) Get() *Team

func (NullableTeam) IsSet ¶

func (v NullableTeam) IsSet() bool

func (NullableTeam) MarshalJSON ¶

func (v NullableTeam) MarshalJSON() ([]byte, error)

func (*NullableTeam) Set ¶

func (v *NullableTeam) Set(val *Team)

func (*NullableTeam) UnmarshalJSON ¶

func (v *NullableTeam) UnmarshalJSON(src []byte) error

func (*NullableTeam) Unset ¶

func (v *NullableTeam) Unset()

type NullableTeamCustomRole ¶

type NullableTeamCustomRole struct {
	// contains filtered or unexported fields
}

func NewNullableTeamCustomRole ¶

func NewNullableTeamCustomRole(val *TeamCustomRole) *NullableTeamCustomRole

func (NullableTeamCustomRole) Get ¶

func (NullableTeamCustomRole) IsSet ¶

func (v NullableTeamCustomRole) IsSet() bool

func (NullableTeamCustomRole) MarshalJSON ¶

func (v NullableTeamCustomRole) MarshalJSON() ([]byte, error)

func (*NullableTeamCustomRole) Set ¶

func (*NullableTeamCustomRole) UnmarshalJSON ¶

func (v *NullableTeamCustomRole) UnmarshalJSON(src []byte) error

func (*NullableTeamCustomRole) Unset ¶

func (v *NullableTeamCustomRole) Unset()

type NullableTeamCustomRoles ¶

type NullableTeamCustomRoles struct {
	// contains filtered or unexported fields
}

func NewNullableTeamCustomRoles ¶

func NewNullableTeamCustomRoles(val *TeamCustomRoles) *NullableTeamCustomRoles

func (NullableTeamCustomRoles) Get ¶

func (NullableTeamCustomRoles) IsSet ¶

func (v NullableTeamCustomRoles) IsSet() bool

func (NullableTeamCustomRoles) MarshalJSON ¶

func (v NullableTeamCustomRoles) MarshalJSON() ([]byte, error)

func (*NullableTeamCustomRoles) Set ¶

func (*NullableTeamCustomRoles) UnmarshalJSON ¶

func (v *NullableTeamCustomRoles) UnmarshalJSON(src []byte) error

func (*NullableTeamCustomRoles) Unset ¶

func (v *NullableTeamCustomRoles) Unset()

type NullableTeamImportsRep ¶

type NullableTeamImportsRep struct {
	// contains filtered or unexported fields
}

func NewNullableTeamImportsRep ¶

func NewNullableTeamImportsRep(val *TeamImportsRep) *NullableTeamImportsRep

func (NullableTeamImportsRep) Get ¶

func (NullableTeamImportsRep) IsSet ¶

func (v NullableTeamImportsRep) IsSet() bool

func (NullableTeamImportsRep) MarshalJSON ¶

func (v NullableTeamImportsRep) MarshalJSON() ([]byte, error)

func (*NullableTeamImportsRep) Set ¶

func (*NullableTeamImportsRep) UnmarshalJSON ¶

func (v *NullableTeamImportsRep) UnmarshalJSON(src []byte) error

func (*NullableTeamImportsRep) Unset ¶

func (v *NullableTeamImportsRep) Unset()

type NullableTeamMaintainers ¶

type NullableTeamMaintainers struct {
	// contains filtered or unexported fields
}

func NewNullableTeamMaintainers ¶

func NewNullableTeamMaintainers(val *TeamMaintainers) *NullableTeamMaintainers

func (NullableTeamMaintainers) Get ¶

func (NullableTeamMaintainers) IsSet ¶

func (v NullableTeamMaintainers) IsSet() bool

func (NullableTeamMaintainers) MarshalJSON ¶

func (v NullableTeamMaintainers) MarshalJSON() ([]byte, error)

func (*NullableTeamMaintainers) Set ¶

func (*NullableTeamMaintainers) UnmarshalJSON ¶

func (v *NullableTeamMaintainers) UnmarshalJSON(src []byte) error

func (*NullableTeamMaintainers) Unset ¶

func (v *NullableTeamMaintainers) Unset()

type NullableTeamMembers ¶

type NullableTeamMembers struct {
	// contains filtered or unexported fields
}

func NewNullableTeamMembers ¶

func NewNullableTeamMembers(val *TeamMembers) *NullableTeamMembers

func (NullableTeamMembers) Get ¶

func (NullableTeamMembers) IsSet ¶

func (v NullableTeamMembers) IsSet() bool

func (NullableTeamMembers) MarshalJSON ¶

func (v NullableTeamMembers) MarshalJSON() ([]byte, error)

func (*NullableTeamMembers) Set ¶

func (v *NullableTeamMembers) Set(val *TeamMembers)

func (*NullableTeamMembers) UnmarshalJSON ¶

func (v *NullableTeamMembers) UnmarshalJSON(src []byte) error

func (*NullableTeamMembers) Unset ¶

func (v *NullableTeamMembers) Unset()

type NullableTeamPatchInput ¶

type NullableTeamPatchInput struct {
	// contains filtered or unexported fields
}

func NewNullableTeamPatchInput ¶

func NewNullableTeamPatchInput(val *TeamPatchInput) *NullableTeamPatchInput

func (NullableTeamPatchInput) Get ¶

func (NullableTeamPatchInput) IsSet ¶

func (v NullableTeamPatchInput) IsSet() bool

func (NullableTeamPatchInput) MarshalJSON ¶

func (v NullableTeamPatchInput) MarshalJSON() ([]byte, error)

func (*NullableTeamPatchInput) Set ¶

func (*NullableTeamPatchInput) UnmarshalJSON ¶

func (v *NullableTeamPatchInput) UnmarshalJSON(src []byte) error

func (*NullableTeamPatchInput) Unset ¶

func (v *NullableTeamPatchInput) Unset()

type NullableTeamPostInput ¶

type NullableTeamPostInput struct {
	// contains filtered or unexported fields
}

func NewNullableTeamPostInput ¶

func NewNullableTeamPostInput(val *TeamPostInput) *NullableTeamPostInput

func (NullableTeamPostInput) Get ¶

func (NullableTeamPostInput) IsSet ¶

func (v NullableTeamPostInput) IsSet() bool

func (NullableTeamPostInput) MarshalJSON ¶

func (v NullableTeamPostInput) MarshalJSON() ([]byte, error)

func (*NullableTeamPostInput) Set ¶

func (v *NullableTeamPostInput) Set(val *TeamPostInput)

func (*NullableTeamPostInput) UnmarshalJSON ¶

func (v *NullableTeamPostInput) UnmarshalJSON(src []byte) error

func (*NullableTeamPostInput) Unset ¶

func (v *NullableTeamPostInput) Unset()

type NullableTeamProjects ¶

type NullableTeamProjects struct {
	// contains filtered or unexported fields
}

func NewNullableTeamProjects ¶

func NewNullableTeamProjects(val *TeamProjects) *NullableTeamProjects

func (NullableTeamProjects) Get ¶

func (NullableTeamProjects) IsSet ¶

func (v NullableTeamProjects) IsSet() bool

func (NullableTeamProjects) MarshalJSON ¶

func (v NullableTeamProjects) MarshalJSON() ([]byte, error)

func (*NullableTeamProjects) Set ¶

func (v *NullableTeamProjects) Set(val *TeamProjects)

func (*NullableTeamProjects) UnmarshalJSON ¶

func (v *NullableTeamProjects) UnmarshalJSON(src []byte) error

func (*NullableTeamProjects) Unset ¶

func (v *NullableTeamProjects) Unset()

type NullableTeams ¶

type NullableTeams struct {
	// contains filtered or unexported fields
}

func NewNullableTeams ¶

func NewNullableTeams(val *Teams) *NullableTeams

func (NullableTeams) Get ¶

func (v NullableTeams) Get() *Teams

func (NullableTeams) IsSet ¶

func (v NullableTeams) IsSet() bool

func (NullableTeams) MarshalJSON ¶

func (v NullableTeams) MarshalJSON() ([]byte, error)

func (*NullableTeams) Set ¶

func (v *NullableTeams) Set(val *Teams)

func (*NullableTeams) UnmarshalJSON ¶

func (v *NullableTeams) UnmarshalJSON(src []byte) error

func (*NullableTeams) Unset ¶

func (v *NullableTeams) Unset()

type NullableTeamsPatchInput ¶

type NullableTeamsPatchInput struct {
	// contains filtered or unexported fields
}

func NewNullableTeamsPatchInput ¶

func NewNullableTeamsPatchInput(val *TeamsPatchInput) *NullableTeamsPatchInput

func (NullableTeamsPatchInput) Get ¶

func (NullableTeamsPatchInput) IsSet ¶

func (v NullableTeamsPatchInput) IsSet() bool

func (NullableTeamsPatchInput) MarshalJSON ¶

func (v NullableTeamsPatchInput) MarshalJSON() ([]byte, error)

func (*NullableTeamsPatchInput) Set ¶

func (*NullableTeamsPatchInput) UnmarshalJSON ¶

func (v *NullableTeamsPatchInput) UnmarshalJSON(src []byte) error

func (*NullableTeamsPatchInput) Unset ¶

func (v *NullableTeamsPatchInput) Unset()

type NullableTime ¶

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime ¶

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get ¶

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet ¶

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON ¶

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set ¶

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON ¶

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset ¶

func (v *NullableTime) Unset()

type NullableTimestampRep ¶

type NullableTimestampRep struct {
	// contains filtered or unexported fields
}

func NewNullableTimestampRep ¶

func NewNullableTimestampRep(val *TimestampRep) *NullableTimestampRep

func (NullableTimestampRep) Get ¶

func (NullableTimestampRep) IsSet ¶

func (v NullableTimestampRep) IsSet() bool

func (NullableTimestampRep) MarshalJSON ¶

func (v NullableTimestampRep) MarshalJSON() ([]byte, error)

func (*NullableTimestampRep) Set ¶

func (v *NullableTimestampRep) Set(val *TimestampRep)

func (*NullableTimestampRep) UnmarshalJSON ¶

func (v *NullableTimestampRep) UnmarshalJSON(src []byte) error

func (*NullableTimestampRep) Unset ¶

func (v *NullableTimestampRep) Unset()

type NullableToken ¶

type NullableToken struct {
	// contains filtered or unexported fields
}

func NewNullableToken ¶

func NewNullableToken(val *Token) *NullableToken

func (NullableToken) Get ¶

func (v NullableToken) Get() *Token

func (NullableToken) IsSet ¶

func (v NullableToken) IsSet() bool

func (NullableToken) MarshalJSON ¶

func (v NullableToken) MarshalJSON() ([]byte, error)

func (*NullableToken) Set ¶

func (v *NullableToken) Set(val *Token)

func (*NullableToken) UnmarshalJSON ¶

func (v *NullableToken) UnmarshalJSON(src []byte) error

func (*NullableToken) Unset ¶

func (v *NullableToken) Unset()

type NullableTokenSummary ¶

type NullableTokenSummary struct {
	// contains filtered or unexported fields
}

func NewNullableTokenSummary ¶

func NewNullableTokenSummary(val *TokenSummary) *NullableTokenSummary

func (NullableTokenSummary) Get ¶

func (NullableTokenSummary) IsSet ¶

func (v NullableTokenSummary) IsSet() bool

func (NullableTokenSummary) MarshalJSON ¶

func (v NullableTokenSummary) MarshalJSON() ([]byte, error)

func (*NullableTokenSummary) Set ¶

func (v *NullableTokenSummary) Set(val *TokenSummary)

func (*NullableTokenSummary) UnmarshalJSON ¶

func (v *NullableTokenSummary) UnmarshalJSON(src []byte) error

func (*NullableTokenSummary) Unset ¶

func (v *NullableTokenSummary) Unset()

type NullableTokens ¶

type NullableTokens struct {
	// contains filtered or unexported fields
}

func NewNullableTokens ¶

func NewNullableTokens(val *Tokens) *NullableTokens

func (NullableTokens) Get ¶

func (v NullableTokens) Get() *Tokens

func (NullableTokens) IsSet ¶

func (v NullableTokens) IsSet() bool

func (NullableTokens) MarshalJSON ¶

func (v NullableTokens) MarshalJSON() ([]byte, error)

func (*NullableTokens) Set ¶

func (v *NullableTokens) Set(val *Tokens)

func (*NullableTokens) UnmarshalJSON ¶

func (v *NullableTokens) UnmarshalJSON(src []byte) error

func (*NullableTokens) Unset ¶

func (v *NullableTokens) Unset()

type NullableTreatmentInput ¶

type NullableTreatmentInput struct {
	// contains filtered or unexported fields
}

func NewNullableTreatmentInput ¶

func NewNullableTreatmentInput(val *TreatmentInput) *NullableTreatmentInput

func (NullableTreatmentInput) Get ¶

func (NullableTreatmentInput) IsSet ¶

func (v NullableTreatmentInput) IsSet() bool

func (NullableTreatmentInput) MarshalJSON ¶

func (v NullableTreatmentInput) MarshalJSON() ([]byte, error)

func (*NullableTreatmentInput) Set ¶

func (*NullableTreatmentInput) UnmarshalJSON ¶

func (v *NullableTreatmentInput) UnmarshalJSON(src []byte) error

func (*NullableTreatmentInput) Unset ¶

func (v *NullableTreatmentInput) Unset()

type NullableTreatmentParameterInput ¶

type NullableTreatmentParameterInput struct {
	// contains filtered or unexported fields
}

func (NullableTreatmentParameterInput) Get ¶

func (NullableTreatmentParameterInput) IsSet ¶

func (NullableTreatmentParameterInput) MarshalJSON ¶

func (v NullableTreatmentParameterInput) MarshalJSON() ([]byte, error)

func (*NullableTreatmentParameterInput) Set ¶

func (*NullableTreatmentParameterInput) UnmarshalJSON ¶

func (v *NullableTreatmentParameterInput) UnmarshalJSON(src []byte) error

func (*NullableTreatmentParameterInput) Unset ¶

type NullableTreatmentRep ¶

type NullableTreatmentRep struct {
	// contains filtered or unexported fields
}

func NewNullableTreatmentRep ¶

func NewNullableTreatmentRep(val *TreatmentRep) *NullableTreatmentRep

func (NullableTreatmentRep) Get ¶

func (NullableTreatmentRep) IsSet ¶

func (v NullableTreatmentRep) IsSet() bool

func (NullableTreatmentRep) MarshalJSON ¶

func (v NullableTreatmentRep) MarshalJSON() ([]byte, error)

func (*NullableTreatmentRep) Set ¶

func (v *NullableTreatmentRep) Set(val *TreatmentRep)

func (*NullableTreatmentRep) UnmarshalJSON ¶

func (v *NullableTreatmentRep) UnmarshalJSON(src []byte) error

func (*NullableTreatmentRep) Unset ¶

func (v *NullableTreatmentRep) Unset()

type NullableTreatmentResultRep ¶

type NullableTreatmentResultRep struct {
	// contains filtered or unexported fields
}

func NewNullableTreatmentResultRep ¶

func NewNullableTreatmentResultRep(val *TreatmentResultRep) *NullableTreatmentResultRep

func (NullableTreatmentResultRep) Get ¶

func (NullableTreatmentResultRep) IsSet ¶

func (v NullableTreatmentResultRep) IsSet() bool

func (NullableTreatmentResultRep) MarshalJSON ¶

func (v NullableTreatmentResultRep) MarshalJSON() ([]byte, error)

func (*NullableTreatmentResultRep) Set ¶

func (*NullableTreatmentResultRep) UnmarshalJSON ¶

func (v *NullableTreatmentResultRep) UnmarshalJSON(src []byte) error

func (*NullableTreatmentResultRep) Unset ¶

func (v *NullableTreatmentResultRep) Unset()

type NullableTriggerPost ¶

type NullableTriggerPost struct {
	// contains filtered or unexported fields
}

func NewNullableTriggerPost ¶

func NewNullableTriggerPost(val *TriggerPost) *NullableTriggerPost

func (NullableTriggerPost) Get ¶

func (NullableTriggerPost) IsSet ¶

func (v NullableTriggerPost) IsSet() bool

func (NullableTriggerPost) MarshalJSON ¶

func (v NullableTriggerPost) MarshalJSON() ([]byte, error)

func (*NullableTriggerPost) Set ¶

func (v *NullableTriggerPost) Set(val *TriggerPost)

func (*NullableTriggerPost) UnmarshalJSON ¶

func (v *NullableTriggerPost) UnmarshalJSON(src []byte) error

func (*NullableTriggerPost) Unset ¶

func (v *NullableTriggerPost) Unset()

type NullableTriggerWorkflowCollectionRep ¶

type NullableTriggerWorkflowCollectionRep struct {
	// contains filtered or unexported fields
}

func (NullableTriggerWorkflowCollectionRep) Get ¶

func (NullableTriggerWorkflowCollectionRep) IsSet ¶

func (NullableTriggerWorkflowCollectionRep) MarshalJSON ¶

func (v NullableTriggerWorkflowCollectionRep) MarshalJSON() ([]byte, error)

func (*NullableTriggerWorkflowCollectionRep) Set ¶

func (*NullableTriggerWorkflowCollectionRep) UnmarshalJSON ¶

func (v *NullableTriggerWorkflowCollectionRep) UnmarshalJSON(src []byte) error

func (*NullableTriggerWorkflowCollectionRep) Unset ¶

type NullableTriggerWorkflowRep ¶

type NullableTriggerWorkflowRep struct {
	// contains filtered or unexported fields
}

func NewNullableTriggerWorkflowRep ¶

func NewNullableTriggerWorkflowRep(val *TriggerWorkflowRep) *NullableTriggerWorkflowRep

func (NullableTriggerWorkflowRep) Get ¶

func (NullableTriggerWorkflowRep) IsSet ¶

func (v NullableTriggerWorkflowRep) IsSet() bool

func (NullableTriggerWorkflowRep) MarshalJSON ¶

func (v NullableTriggerWorkflowRep) MarshalJSON() ([]byte, error)

func (*NullableTriggerWorkflowRep) Set ¶

func (*NullableTriggerWorkflowRep) UnmarshalJSON ¶

func (v *NullableTriggerWorkflowRep) UnmarshalJSON(src []byte) error

func (*NullableTriggerWorkflowRep) Unset ¶

func (v *NullableTriggerWorkflowRep) Unset()

type NullableUnauthorizedErrorRep ¶

type NullableUnauthorizedErrorRep struct {
	// contains filtered or unexported fields
}

func (NullableUnauthorizedErrorRep) Get ¶

func (NullableUnauthorizedErrorRep) IsSet ¶

func (NullableUnauthorizedErrorRep) MarshalJSON ¶

func (v NullableUnauthorizedErrorRep) MarshalJSON() ([]byte, error)

func (*NullableUnauthorizedErrorRep) Set ¶

func (*NullableUnauthorizedErrorRep) UnmarshalJSON ¶

func (v *NullableUnauthorizedErrorRep) UnmarshalJSON(src []byte) error

func (*NullableUnauthorizedErrorRep) Unset ¶

func (v *NullableUnauthorizedErrorRep) Unset()

type NullableUpsertContextKindPayload ¶

type NullableUpsertContextKindPayload struct {
	// contains filtered or unexported fields
}

func (NullableUpsertContextKindPayload) Get ¶

func (NullableUpsertContextKindPayload) IsSet ¶

func (NullableUpsertContextKindPayload) MarshalJSON ¶

func (v NullableUpsertContextKindPayload) MarshalJSON() ([]byte, error)

func (*NullableUpsertContextKindPayload) Set ¶

func (*NullableUpsertContextKindPayload) UnmarshalJSON ¶

func (v *NullableUpsertContextKindPayload) UnmarshalJSON(src []byte) error

func (*NullableUpsertContextKindPayload) Unset ¶

type NullableUpsertFlagDefaultsPayload ¶

type NullableUpsertFlagDefaultsPayload struct {
	// contains filtered or unexported fields
}

func (NullableUpsertFlagDefaultsPayload) Get ¶

func (NullableUpsertFlagDefaultsPayload) IsSet ¶

func (NullableUpsertFlagDefaultsPayload) MarshalJSON ¶

func (v NullableUpsertFlagDefaultsPayload) MarshalJSON() ([]byte, error)

func (*NullableUpsertFlagDefaultsPayload) Set ¶

func (*NullableUpsertFlagDefaultsPayload) UnmarshalJSON ¶

func (v *NullableUpsertFlagDefaultsPayload) UnmarshalJSON(src []byte) error

func (*NullableUpsertFlagDefaultsPayload) Unset ¶

type NullableUpsertPayloadRep ¶

type NullableUpsertPayloadRep struct {
	// contains filtered or unexported fields
}

func NewNullableUpsertPayloadRep ¶

func NewNullableUpsertPayloadRep(val *UpsertPayloadRep) *NullableUpsertPayloadRep

func (NullableUpsertPayloadRep) Get ¶

func (NullableUpsertPayloadRep) IsSet ¶

func (v NullableUpsertPayloadRep) IsSet() bool

func (NullableUpsertPayloadRep) MarshalJSON ¶

func (v NullableUpsertPayloadRep) MarshalJSON() ([]byte, error)

func (*NullableUpsertPayloadRep) Set ¶

func (*NullableUpsertPayloadRep) UnmarshalJSON ¶

func (v *NullableUpsertPayloadRep) UnmarshalJSON(src []byte) error

func (*NullableUpsertPayloadRep) Unset ¶

func (v *NullableUpsertPayloadRep) Unset()

type NullableUpsertResponseRep ¶

type NullableUpsertResponseRep struct {
	// contains filtered or unexported fields
}

func NewNullableUpsertResponseRep ¶

func NewNullableUpsertResponseRep(val *UpsertResponseRep) *NullableUpsertResponseRep

func (NullableUpsertResponseRep) Get ¶

func (NullableUpsertResponseRep) IsSet ¶

func (v NullableUpsertResponseRep) IsSet() bool

func (NullableUpsertResponseRep) MarshalJSON ¶

func (v NullableUpsertResponseRep) MarshalJSON() ([]byte, error)

func (*NullableUpsertResponseRep) Set ¶

func (*NullableUpsertResponseRep) UnmarshalJSON ¶

func (v *NullableUpsertResponseRep) UnmarshalJSON(src []byte) error

func (*NullableUpsertResponseRep) Unset ¶

func (v *NullableUpsertResponseRep) Unset()

type NullableUrlPost ¶

type NullableUrlPost struct {
	// contains filtered or unexported fields
}

func NewNullableUrlPost ¶

func NewNullableUrlPost(val *UrlPost) *NullableUrlPost

func (NullableUrlPost) Get ¶

func (v NullableUrlPost) Get() *UrlPost

func (NullableUrlPost) IsSet ¶

func (v NullableUrlPost) IsSet() bool

func (NullableUrlPost) MarshalJSON ¶

func (v NullableUrlPost) MarshalJSON() ([]byte, error)

func (*NullableUrlPost) Set ¶

func (v *NullableUrlPost) Set(val *UrlPost)

func (*NullableUrlPost) UnmarshalJSON ¶

func (v *NullableUrlPost) UnmarshalJSON(src []byte) error

func (*NullableUrlPost) Unset ¶

func (v *NullableUrlPost) Unset()

type NullableUser ¶

type NullableUser struct {
	// contains filtered or unexported fields
}

func NewNullableUser ¶

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get ¶

func (v NullableUser) Get() *User

func (NullableUser) IsSet ¶

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON ¶

func (v NullableUser) MarshalJSON() ([]byte, error)

func (*NullableUser) Set ¶

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON ¶

func (v *NullableUser) UnmarshalJSON(src []byte) error

func (*NullableUser) Unset ¶

func (v *NullableUser) Unset()

type NullableUserAttributeNamesRep ¶

type NullableUserAttributeNamesRep struct {
	// contains filtered or unexported fields
}

func (NullableUserAttributeNamesRep) Get ¶

func (NullableUserAttributeNamesRep) IsSet ¶

func (NullableUserAttributeNamesRep) MarshalJSON ¶

func (v NullableUserAttributeNamesRep) MarshalJSON() ([]byte, error)

func (*NullableUserAttributeNamesRep) Set ¶

func (*NullableUserAttributeNamesRep) UnmarshalJSON ¶

func (v *NullableUserAttributeNamesRep) UnmarshalJSON(src []byte) error

func (*NullableUserAttributeNamesRep) Unset ¶

func (v *NullableUserAttributeNamesRep) Unset()

type NullableUserFlagSetting ¶

type NullableUserFlagSetting struct {
	// contains filtered or unexported fields
}

func NewNullableUserFlagSetting ¶

func NewNullableUserFlagSetting(val *UserFlagSetting) *NullableUserFlagSetting

func (NullableUserFlagSetting) Get ¶

func (NullableUserFlagSetting) IsSet ¶

func (v NullableUserFlagSetting) IsSet() bool

func (NullableUserFlagSetting) MarshalJSON ¶

func (v NullableUserFlagSetting) MarshalJSON() ([]byte, error)

func (*NullableUserFlagSetting) Set ¶

func (*NullableUserFlagSetting) UnmarshalJSON ¶

func (v *NullableUserFlagSetting) UnmarshalJSON(src []byte) error

func (*NullableUserFlagSetting) Unset ¶

func (v *NullableUserFlagSetting) Unset()

type NullableUserFlagSettings ¶

type NullableUserFlagSettings struct {
	// contains filtered or unexported fields
}

func NewNullableUserFlagSettings ¶

func NewNullableUserFlagSettings(val *UserFlagSettings) *NullableUserFlagSettings

func (NullableUserFlagSettings) Get ¶

func (NullableUserFlagSettings) IsSet ¶

func (v NullableUserFlagSettings) IsSet() bool

func (NullableUserFlagSettings) MarshalJSON ¶

func (v NullableUserFlagSettings) MarshalJSON() ([]byte, error)

func (*NullableUserFlagSettings) Set ¶

func (*NullableUserFlagSettings) UnmarshalJSON ¶

func (v *NullableUserFlagSettings) UnmarshalJSON(src []byte) error

func (*NullableUserFlagSettings) Unset ¶

func (v *NullableUserFlagSettings) Unset()

type NullableUserRecord ¶

type NullableUserRecord struct {
	// contains filtered or unexported fields
}

func NewNullableUserRecord ¶

func NewNullableUserRecord(val *UserRecord) *NullableUserRecord

func (NullableUserRecord) Get ¶

func (v NullableUserRecord) Get() *UserRecord

func (NullableUserRecord) IsSet ¶

func (v NullableUserRecord) IsSet() bool

func (NullableUserRecord) MarshalJSON ¶

func (v NullableUserRecord) MarshalJSON() ([]byte, error)

func (*NullableUserRecord) Set ¶

func (v *NullableUserRecord) Set(val *UserRecord)

func (*NullableUserRecord) UnmarshalJSON ¶

func (v *NullableUserRecord) UnmarshalJSON(src []byte) error

func (*NullableUserRecord) Unset ¶

func (v *NullableUserRecord) Unset()

type NullableUserSegment ¶

type NullableUserSegment struct {
	// contains filtered or unexported fields
}

func NewNullableUserSegment ¶

func NewNullableUserSegment(val *UserSegment) *NullableUserSegment

func (NullableUserSegment) Get ¶

func (NullableUserSegment) IsSet ¶

func (v NullableUserSegment) IsSet() bool

func (NullableUserSegment) MarshalJSON ¶

func (v NullableUserSegment) MarshalJSON() ([]byte, error)

func (*NullableUserSegment) Set ¶

func (v *NullableUserSegment) Set(val *UserSegment)

func (*NullableUserSegment) UnmarshalJSON ¶

func (v *NullableUserSegment) UnmarshalJSON(src []byte) error

func (*NullableUserSegment) Unset ¶

func (v *NullableUserSegment) Unset()

type NullableUserSegmentRule ¶

type NullableUserSegmentRule struct {
	// contains filtered or unexported fields
}

func NewNullableUserSegmentRule ¶

func NewNullableUserSegmentRule(val *UserSegmentRule) *NullableUserSegmentRule

func (NullableUserSegmentRule) Get ¶

func (NullableUserSegmentRule) IsSet ¶

func (v NullableUserSegmentRule) IsSet() bool

func (NullableUserSegmentRule) MarshalJSON ¶

func (v NullableUserSegmentRule) MarshalJSON() ([]byte, error)

func (*NullableUserSegmentRule) Set ¶

func (*NullableUserSegmentRule) UnmarshalJSON ¶

func (v *NullableUserSegmentRule) UnmarshalJSON(src []byte) error

func (*NullableUserSegmentRule) Unset ¶

func (v *NullableUserSegmentRule) Unset()

type NullableUserSegments ¶

type NullableUserSegments struct {
	// contains filtered or unexported fields
}

func NewNullableUserSegments ¶

func NewNullableUserSegments(val *UserSegments) *NullableUserSegments

func (NullableUserSegments) Get ¶

func (NullableUserSegments) IsSet ¶

func (v NullableUserSegments) IsSet() bool

func (NullableUserSegments) MarshalJSON ¶

func (v NullableUserSegments) MarshalJSON() ([]byte, error)

func (*NullableUserSegments) Set ¶

func (v *NullableUserSegments) Set(val *UserSegments)

func (*NullableUserSegments) UnmarshalJSON ¶

func (v *NullableUserSegments) UnmarshalJSON(src []byte) error

func (*NullableUserSegments) Unset ¶

func (v *NullableUserSegments) Unset()

type NullableUsers ¶

type NullableUsers struct {
	// contains filtered or unexported fields
}

func NewNullableUsers ¶

func NewNullableUsers(val *Users) *NullableUsers

func (NullableUsers) Get ¶

func (v NullableUsers) Get() *Users

func (NullableUsers) IsSet ¶

func (v NullableUsers) IsSet() bool

func (NullableUsers) MarshalJSON ¶

func (v NullableUsers) MarshalJSON() ([]byte, error)

func (*NullableUsers) Set ¶

func (v *NullableUsers) Set(val *Users)

func (*NullableUsers) UnmarshalJSON ¶

func (v *NullableUsers) UnmarshalJSON(src []byte) error

func (*NullableUsers) Unset ¶

func (v *NullableUsers) Unset()

type NullableUsersRep ¶

type NullableUsersRep struct {
	// contains filtered or unexported fields
}

func NewNullableUsersRep ¶

func NewNullableUsersRep(val *UsersRep) *NullableUsersRep

func (NullableUsersRep) Get ¶

func (v NullableUsersRep) Get() *UsersRep

func (NullableUsersRep) IsSet ¶

func (v NullableUsersRep) IsSet() bool

func (NullableUsersRep) MarshalJSON ¶

func (v NullableUsersRep) MarshalJSON() ([]byte, error)

func (*NullableUsersRep) Set ¶

func (v *NullableUsersRep) Set(val *UsersRep)

func (*NullableUsersRep) UnmarshalJSON ¶

func (v *NullableUsersRep) UnmarshalJSON(src []byte) error

func (*NullableUsersRep) Unset ¶

func (v *NullableUsersRep) Unset()

type NullableValidationFailedErrorRep ¶

type NullableValidationFailedErrorRep struct {
	// contains filtered or unexported fields
}

func (NullableValidationFailedErrorRep) Get ¶

func (NullableValidationFailedErrorRep) IsSet ¶

func (NullableValidationFailedErrorRep) MarshalJSON ¶

func (v NullableValidationFailedErrorRep) MarshalJSON() ([]byte, error)

func (*NullableValidationFailedErrorRep) Set ¶

func (*NullableValidationFailedErrorRep) UnmarshalJSON ¶

func (v *NullableValidationFailedErrorRep) UnmarshalJSON(src []byte) error

func (*NullableValidationFailedErrorRep) Unset ¶

type NullableValuePut ¶

type NullableValuePut struct {
	// contains filtered or unexported fields
}

func NewNullableValuePut ¶

func NewNullableValuePut(val *ValuePut) *NullableValuePut

func (NullableValuePut) Get ¶

func (v NullableValuePut) Get() *ValuePut

func (NullableValuePut) IsSet ¶

func (v NullableValuePut) IsSet() bool

func (NullableValuePut) MarshalJSON ¶

func (v NullableValuePut) MarshalJSON() ([]byte, error)

func (*NullableValuePut) Set ¶

func (v *NullableValuePut) Set(val *ValuePut)

func (*NullableValuePut) UnmarshalJSON ¶

func (v *NullableValuePut) UnmarshalJSON(src []byte) error

func (*NullableValuePut) Unset ¶

func (v *NullableValuePut) Unset()

type NullableVariation ¶

type NullableVariation struct {
	// contains filtered or unexported fields
}

func NewNullableVariation ¶

func NewNullableVariation(val *Variation) *NullableVariation

func (NullableVariation) Get ¶

func (v NullableVariation) Get() *Variation

func (NullableVariation) IsSet ¶

func (v NullableVariation) IsSet() bool

func (NullableVariation) MarshalJSON ¶

func (v NullableVariation) MarshalJSON() ([]byte, error)

func (*NullableVariation) Set ¶

func (v *NullableVariation) Set(val *Variation)

func (*NullableVariation) UnmarshalJSON ¶

func (v *NullableVariation) UnmarshalJSON(src []byte) error

func (*NullableVariation) Unset ¶

func (v *NullableVariation) Unset()

type NullableVariationEvalSummary ¶

type NullableVariationEvalSummary struct {
	// contains filtered or unexported fields
}

func (NullableVariationEvalSummary) Get ¶

func (NullableVariationEvalSummary) IsSet ¶

func (NullableVariationEvalSummary) MarshalJSON ¶

func (v NullableVariationEvalSummary) MarshalJSON() ([]byte, error)

func (*NullableVariationEvalSummary) Set ¶

func (*NullableVariationEvalSummary) UnmarshalJSON ¶

func (v *NullableVariationEvalSummary) UnmarshalJSON(src []byte) error

func (*NullableVariationEvalSummary) Unset ¶

func (v *NullableVariationEvalSummary) Unset()

type NullableVariationOrRolloutRep ¶

type NullableVariationOrRolloutRep struct {
	// contains filtered or unexported fields
}

func (NullableVariationOrRolloutRep) Get ¶

func (NullableVariationOrRolloutRep) IsSet ¶

func (NullableVariationOrRolloutRep) MarshalJSON ¶

func (v NullableVariationOrRolloutRep) MarshalJSON() ([]byte, error)

func (*NullableVariationOrRolloutRep) Set ¶

func (*NullableVariationOrRolloutRep) UnmarshalJSON ¶

func (v *NullableVariationOrRolloutRep) UnmarshalJSON(src []byte) error

func (*NullableVariationOrRolloutRep) Unset ¶

func (v *NullableVariationOrRolloutRep) Unset()

type NullableVariationSummary ¶

type NullableVariationSummary struct {
	// contains filtered or unexported fields
}

func NewNullableVariationSummary ¶

func NewNullableVariationSummary(val *VariationSummary) *NullableVariationSummary

func (NullableVariationSummary) Get ¶

func (NullableVariationSummary) IsSet ¶

func (v NullableVariationSummary) IsSet() bool

func (NullableVariationSummary) MarshalJSON ¶

func (v NullableVariationSummary) MarshalJSON() ([]byte, error)

func (*NullableVariationSummary) Set ¶

func (*NullableVariationSummary) UnmarshalJSON ¶

func (v *NullableVariationSummary) UnmarshalJSON(src []byte) error

func (*NullableVariationSummary) Unset ¶

func (v *NullableVariationSummary) Unset()

type NullableVersionsRep ¶

type NullableVersionsRep struct {
	// contains filtered or unexported fields
}

func NewNullableVersionsRep ¶

func NewNullableVersionsRep(val *VersionsRep) *NullableVersionsRep

func (NullableVersionsRep) Get ¶

func (NullableVersionsRep) IsSet ¶

func (v NullableVersionsRep) IsSet() bool

func (NullableVersionsRep) MarshalJSON ¶

func (v NullableVersionsRep) MarshalJSON() ([]byte, error)

func (*NullableVersionsRep) Set ¶

func (v *NullableVersionsRep) Set(val *VersionsRep)

func (*NullableVersionsRep) UnmarshalJSON ¶

func (v *NullableVersionsRep) UnmarshalJSON(src []byte) error

func (*NullableVersionsRep) Unset ¶

func (v *NullableVersionsRep) Unset()

type NullableWebhook ¶

type NullableWebhook struct {
	// contains filtered or unexported fields
}

func NewNullableWebhook ¶

func NewNullableWebhook(val *Webhook) *NullableWebhook

func (NullableWebhook) Get ¶

func (v NullableWebhook) Get() *Webhook

func (NullableWebhook) IsSet ¶

func (v NullableWebhook) IsSet() bool

func (NullableWebhook) MarshalJSON ¶

func (v NullableWebhook) MarshalJSON() ([]byte, error)

func (*NullableWebhook) Set ¶

func (v *NullableWebhook) Set(val *Webhook)

func (*NullableWebhook) UnmarshalJSON ¶

func (v *NullableWebhook) UnmarshalJSON(src []byte) error

func (*NullableWebhook) Unset ¶

func (v *NullableWebhook) Unset()

type NullableWebhookPost ¶

type NullableWebhookPost struct {
	// contains filtered or unexported fields
}

func NewNullableWebhookPost ¶

func NewNullableWebhookPost(val *WebhookPost) *NullableWebhookPost

func (NullableWebhookPost) Get ¶

func (NullableWebhookPost) IsSet ¶

func (v NullableWebhookPost) IsSet() bool

func (NullableWebhookPost) MarshalJSON ¶

func (v NullableWebhookPost) MarshalJSON() ([]byte, error)

func (*NullableWebhookPost) Set ¶

func (v *NullableWebhookPost) Set(val *WebhookPost)

func (*NullableWebhookPost) UnmarshalJSON ¶

func (v *NullableWebhookPost) UnmarshalJSON(src []byte) error

func (*NullableWebhookPost) Unset ¶

func (v *NullableWebhookPost) Unset()

type NullableWebhooks ¶

type NullableWebhooks struct {
	// contains filtered or unexported fields
}

func NewNullableWebhooks ¶

func NewNullableWebhooks(val *Webhooks) *NullableWebhooks

func (NullableWebhooks) Get ¶

func (v NullableWebhooks) Get() *Webhooks

func (NullableWebhooks) IsSet ¶

func (v NullableWebhooks) IsSet() bool

func (NullableWebhooks) MarshalJSON ¶

func (v NullableWebhooks) MarshalJSON() ([]byte, error)

func (*NullableWebhooks) Set ¶

func (v *NullableWebhooks) Set(val *Webhooks)

func (*NullableWebhooks) UnmarshalJSON ¶

func (v *NullableWebhooks) UnmarshalJSON(src []byte) error

func (*NullableWebhooks) Unset ¶

func (v *NullableWebhooks) Unset()

type NullableWeightedVariation ¶

type NullableWeightedVariation struct {
	// contains filtered or unexported fields
}

func NewNullableWeightedVariation ¶

func NewNullableWeightedVariation(val *WeightedVariation) *NullableWeightedVariation

func (NullableWeightedVariation) Get ¶

func (NullableWeightedVariation) IsSet ¶

func (v NullableWeightedVariation) IsSet() bool

func (NullableWeightedVariation) MarshalJSON ¶

func (v NullableWeightedVariation) MarshalJSON() ([]byte, error)

func (*NullableWeightedVariation) Set ¶

func (*NullableWeightedVariation) UnmarshalJSON ¶

func (v *NullableWeightedVariation) UnmarshalJSON(src []byte) error

func (*NullableWeightedVariation) Unset ¶

func (v *NullableWeightedVariation) Unset()

type NullableWorkflowTemplateMetadata ¶

type NullableWorkflowTemplateMetadata struct {
	// contains filtered or unexported fields
}

func (NullableWorkflowTemplateMetadata) Get ¶

func (NullableWorkflowTemplateMetadata) IsSet ¶

func (NullableWorkflowTemplateMetadata) MarshalJSON ¶

func (v NullableWorkflowTemplateMetadata) MarshalJSON() ([]byte, error)

func (*NullableWorkflowTemplateMetadata) Set ¶

func (*NullableWorkflowTemplateMetadata) UnmarshalJSON ¶

func (v *NullableWorkflowTemplateMetadata) UnmarshalJSON(src []byte) error

func (*NullableWorkflowTemplateMetadata) Unset ¶

type NullableWorkflowTemplateOutput ¶

type NullableWorkflowTemplateOutput struct {
	// contains filtered or unexported fields
}

func (NullableWorkflowTemplateOutput) Get ¶

func (NullableWorkflowTemplateOutput) IsSet ¶

func (NullableWorkflowTemplateOutput) MarshalJSON ¶

func (v NullableWorkflowTemplateOutput) MarshalJSON() ([]byte, error)

func (*NullableWorkflowTemplateOutput) Set ¶

func (*NullableWorkflowTemplateOutput) UnmarshalJSON ¶

func (v *NullableWorkflowTemplateOutput) UnmarshalJSON(src []byte) error

func (*NullableWorkflowTemplateOutput) Unset ¶

func (v *NullableWorkflowTemplateOutput) Unset()

type NullableWorkflowTemplateParameter ¶

type NullableWorkflowTemplateParameter struct {
	// contains filtered or unexported fields
}

func (NullableWorkflowTemplateParameter) Get ¶

func (NullableWorkflowTemplateParameter) IsSet ¶

func (NullableWorkflowTemplateParameter) MarshalJSON ¶

func (v NullableWorkflowTemplateParameter) MarshalJSON() ([]byte, error)

func (*NullableWorkflowTemplateParameter) Set ¶

func (*NullableWorkflowTemplateParameter) UnmarshalJSON ¶

func (v *NullableWorkflowTemplateParameter) UnmarshalJSON(src []byte) error

func (*NullableWorkflowTemplateParameter) Unset ¶

type NullableWorkflowTemplatesListingOutputRep ¶

type NullableWorkflowTemplatesListingOutputRep struct {
	// contains filtered or unexported fields
}

func (NullableWorkflowTemplatesListingOutputRep) Get ¶

func (NullableWorkflowTemplatesListingOutputRep) IsSet ¶

func (NullableWorkflowTemplatesListingOutputRep) MarshalJSON ¶

func (*NullableWorkflowTemplatesListingOutputRep) Set ¶

func (*NullableWorkflowTemplatesListingOutputRep) UnmarshalJSON ¶

func (v *NullableWorkflowTemplatesListingOutputRep) UnmarshalJSON(src []byte) error

func (*NullableWorkflowTemplatesListingOutputRep) Unset ¶

type OAuth2ClientsApiService ¶

type OAuth2ClientsApiService service

OAuth2ClientsApiService OAuth2ClientsApi service

func (*OAuth2ClientsApiService) CreateOAuth2Client ¶

CreateOAuth2Client Create a LaunchDarkly OAuth 2.0 client

Create (register) a LaunchDarkly OAuth2 client. OAuth2 clients allow you to build custom integrations using LaunchDarkly as your identity provider.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateOAuth2ClientRequest

func (*OAuth2ClientsApiService) CreateOAuth2ClientExecute ¶

func (a *OAuth2ClientsApiService) CreateOAuth2ClientExecute(r ApiCreateOAuth2ClientRequest) (*Client, *http.Response, error)

Execute executes the request

@return Client

func (*OAuth2ClientsApiService) DeleteOAuthClient ¶

func (a *OAuth2ClientsApiService) DeleteOAuthClient(ctx context.Context, clientId string) ApiDeleteOAuthClientRequest

DeleteOAuthClient Delete OAuth 2.0 client

Delete an existing OAuth 2.0 client by unique client ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clientId The client ID
@return ApiDeleteOAuthClientRequest

func (*OAuth2ClientsApiService) DeleteOAuthClientExecute ¶

func (a *OAuth2ClientsApiService) DeleteOAuthClientExecute(r ApiDeleteOAuthClientRequest) (*http.Response, error)

Execute executes the request

func (*OAuth2ClientsApiService) GetOAuthClientById ¶

func (a *OAuth2ClientsApiService) GetOAuthClientById(ctx context.Context, clientId string) ApiGetOAuthClientByIdRequest

GetOAuthClientById Get client by ID

Get a registered OAuth 2.0 client by unique client ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clientId The client ID
@return ApiGetOAuthClientByIdRequest

func (*OAuth2ClientsApiService) GetOAuthClientByIdExecute ¶

func (a *OAuth2ClientsApiService) GetOAuthClientByIdExecute(r ApiGetOAuthClientByIdRequest) (*Client, *http.Response, error)

Execute executes the request

@return Client

func (*OAuth2ClientsApiService) GetOAuthClients ¶

GetOAuthClients Get clients

Get all OAuth 2.0 clients registered by your account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetOAuthClientsRequest

func (*OAuth2ClientsApiService) GetOAuthClientsExecute ¶

Execute executes the request

@return ClientCollection

func (*OAuth2ClientsApiService) PatchOAuthClient ¶

func (a *OAuth2ClientsApiService) PatchOAuthClient(ctx context.Context, clientId string) ApiPatchOAuthClientRequest

PatchOAuthClient Patch client by ID

Patch an existing OAuth 2.0 client by client ID. Updating an OAuth2 client uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates). Only `name`, `description`, and `redirectUri` may be patched.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clientId The client ID
@return ApiPatchOAuthClientRequest

func (*OAuth2ClientsApiService) PatchOAuthClientExecute ¶

func (a *OAuth2ClientsApiService) PatchOAuthClientExecute(r ApiPatchOAuthClientRequest) (*Client, *http.Response, error)

Execute executes the request

@return Client

type OauthClientPost ¶

type OauthClientPost struct {
	// The name of your new LaunchDarkly OAuth 2.0 client.
	Name *string `json:"name,omitempty"`
	// The redirect URI for your new OAuth 2.0 application. This should be an absolute URL conforming with the standard HTTPS protocol.
	RedirectUri *string `json:"redirectUri,omitempty"`
	// Description of your OAuth 2.0 client.
	Description *string `json:"description,omitempty"`
}

OauthClientPost struct for OauthClientPost

func NewOauthClientPost ¶

func NewOauthClientPost() *OauthClientPost

NewOauthClientPost instantiates a new OauthClientPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOauthClientPostWithDefaults ¶

func NewOauthClientPostWithDefaults() *OauthClientPost

NewOauthClientPostWithDefaults instantiates a new OauthClientPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OauthClientPost) GetDescription ¶

func (o *OauthClientPost) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*OauthClientPost) GetDescriptionOk ¶

func (o *OauthClientPost) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OauthClientPost) GetName ¶

func (o *OauthClientPost) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*OauthClientPost) GetNameOk ¶

func (o *OauthClientPost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OauthClientPost) GetRedirectUri ¶

func (o *OauthClientPost) GetRedirectUri() string

GetRedirectUri returns the RedirectUri field value if set, zero value otherwise.

func (*OauthClientPost) GetRedirectUriOk ¶

func (o *OauthClientPost) GetRedirectUriOk() (*string, bool)

GetRedirectUriOk returns a tuple with the RedirectUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OauthClientPost) HasDescription ¶

func (o *OauthClientPost) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*OauthClientPost) HasName ¶

func (o *OauthClientPost) HasName() bool

HasName returns a boolean if a field has been set.

func (*OauthClientPost) HasRedirectUri ¶

func (o *OauthClientPost) HasRedirectUri() bool

HasRedirectUri returns a boolean if a field has been set.

func (OauthClientPost) MarshalJSON ¶

func (o OauthClientPost) MarshalJSON() ([]byte, error)

func (*OauthClientPost) SetDescription ¶

func (o *OauthClientPost) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*OauthClientPost) SetName ¶

func (o *OauthClientPost) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*OauthClientPost) SetRedirectUri ¶

func (o *OauthClientPost) SetRedirectUri(v string)

SetRedirectUri gets a reference to the given string and assigns it to the RedirectUri field.

type OtherApiService ¶

type OtherApiService service

OtherApiService OtherApi service

func (*OtherApiService) GetIps ¶

GetIps Gets the public IP list

Get a list of IP ranges the LaunchDarkly service uses. You can use this list to allow LaunchDarkly through your firewall. We post upcoming changes to this list in advance on our [status page](https://status.launchdarkly.com/). <br /><br />In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetIpsRequest

func (*OtherApiService) GetIpsExecute ¶

func (a *OtherApiService) GetIpsExecute(r ApiGetIpsRequest) (*IpList, *http.Response, error)

Execute executes the request

@return IpList

func (*OtherApiService) GetOpenapiSpec ¶

GetOpenapiSpec Gets the OpenAPI spec in json

Get the latest version of the OpenAPI specification for LaunchDarkly's API in JSON format. In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetOpenapiSpecRequest

func (*OtherApiService) GetOpenapiSpecExecute ¶

func (a *OtherApiService) GetOpenapiSpecExecute(r ApiGetOpenapiSpecRequest) (*http.Response, error)

Execute executes the request

func (*OtherApiService) GetRoot ¶

GetRoot Root resource

Get all of the resource categories the API supports. In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetRootRequest

func (*OtherApiService) GetRootExecute ¶

func (a *OtherApiService) GetRootExecute(r ApiGetRootRequest) (*RootResponse, *http.Response, error)

Execute executes the request

@return RootResponse

func (*OtherApiService) GetVersions ¶

GetVersions Get version information

Get the latest API version, the list of valid API versions in ascending order, and the version being used for this request. These are all in the external, date-based format.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetVersionsRequest

func (*OtherApiService) GetVersionsExecute ¶

func (a *OtherApiService) GetVersionsExecute(r ApiGetVersionsRequest) (*VersionsRep, *http.Response, error)

Execute executes the request

@return VersionsRep

type ParameterDefault ¶

type ParameterDefault struct {
	// The default value for the given parameter
	Value interface{} `json:"value,omitempty"`
	// Variation value for boolean flags. Not applicable for non-boolean flags.
	BooleanVariationValue *bool       `json:"booleanVariationValue,omitempty"`
	RuleClause            *RuleClause `json:"ruleClause,omitempty"`
}

ParameterDefault struct for ParameterDefault

func NewParameterDefault ¶

func NewParameterDefault() *ParameterDefault

NewParameterDefault instantiates a new ParameterDefault object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewParameterDefaultWithDefaults ¶

func NewParameterDefaultWithDefaults() *ParameterDefault

NewParameterDefaultWithDefaults instantiates a new ParameterDefault object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ParameterDefault) GetBooleanVariationValue ¶

func (o *ParameterDefault) GetBooleanVariationValue() bool

GetBooleanVariationValue returns the BooleanVariationValue field value if set, zero value otherwise.

func (*ParameterDefault) GetBooleanVariationValueOk ¶

func (o *ParameterDefault) GetBooleanVariationValueOk() (*bool, bool)

GetBooleanVariationValueOk returns a tuple with the BooleanVariationValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParameterDefault) GetRuleClause ¶

func (o *ParameterDefault) GetRuleClause() RuleClause

GetRuleClause returns the RuleClause field value if set, zero value otherwise.

func (*ParameterDefault) GetRuleClauseOk ¶

func (o *ParameterDefault) GetRuleClauseOk() (*RuleClause, bool)

GetRuleClauseOk returns a tuple with the RuleClause field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParameterDefault) GetValue ¶

func (o *ParameterDefault) GetValue() interface{}

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ParameterDefault) GetValueOk ¶

func (o *ParameterDefault) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ParameterDefault) HasBooleanVariationValue ¶

func (o *ParameterDefault) HasBooleanVariationValue() bool

HasBooleanVariationValue returns a boolean if a field has been set.

func (*ParameterDefault) HasRuleClause ¶

func (o *ParameterDefault) HasRuleClause() bool

HasRuleClause returns a boolean if a field has been set.

func (*ParameterDefault) HasValue ¶

func (o *ParameterDefault) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ParameterDefault) MarshalJSON ¶

func (o ParameterDefault) MarshalJSON() ([]byte, error)

func (*ParameterDefault) SetBooleanVariationValue ¶

func (o *ParameterDefault) SetBooleanVariationValue(v bool)

SetBooleanVariationValue gets a reference to the given bool and assigns it to the BooleanVariationValue field.

func (*ParameterDefault) SetRuleClause ¶

func (o *ParameterDefault) SetRuleClause(v RuleClause)

SetRuleClause gets a reference to the given RuleClause and assigns it to the RuleClause field.

func (*ParameterDefault) SetValue ¶

func (o *ParameterDefault) SetValue(v interface{})

SetValue gets a reference to the given interface{} and assigns it to the Value field.

type ParameterRep ¶

type ParameterRep struct {
	VariationId *string `json:"variationId,omitempty"`
	FlagKey     *string `json:"flagKey,omitempty"`
}

ParameterRep struct for ParameterRep

func NewParameterRep ¶

func NewParameterRep() *ParameterRep

NewParameterRep instantiates a new ParameterRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewParameterRepWithDefaults ¶

func NewParameterRepWithDefaults() *ParameterRep

NewParameterRepWithDefaults instantiates a new ParameterRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ParameterRep) GetFlagKey ¶

func (o *ParameterRep) GetFlagKey() string

GetFlagKey returns the FlagKey field value if set, zero value otherwise.

func (*ParameterRep) GetFlagKeyOk ¶

func (o *ParameterRep) GetFlagKeyOk() (*string, bool)

GetFlagKeyOk returns a tuple with the FlagKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParameterRep) GetVariationId ¶

func (o *ParameterRep) GetVariationId() string

GetVariationId returns the VariationId field value if set, zero value otherwise.

func (*ParameterRep) GetVariationIdOk ¶

func (o *ParameterRep) GetVariationIdOk() (*string, bool)

GetVariationIdOk returns a tuple with the VariationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParameterRep) HasFlagKey ¶

func (o *ParameterRep) HasFlagKey() bool

HasFlagKey returns a boolean if a field has been set.

func (*ParameterRep) HasVariationId ¶

func (o *ParameterRep) HasVariationId() bool

HasVariationId returns a boolean if a field has been set.

func (ParameterRep) MarshalJSON ¶

func (o ParameterRep) MarshalJSON() ([]byte, error)

func (*ParameterRep) SetFlagKey ¶

func (o *ParameterRep) SetFlagKey(v string)

SetFlagKey gets a reference to the given string and assigns it to the FlagKey field.

func (*ParameterRep) SetVariationId ¶

func (o *ParameterRep) SetVariationId(v string)

SetVariationId gets a reference to the given string and assigns it to the VariationId field.

type ParentResourceRep ¶

type ParentResourceRep struct {
	Links *map[string]Link `json:"_links,omitempty"`
	// The name of the parent resource
	Name *string `json:"name,omitempty"`
	// The parent's resource specifier
	Resource *string `json:"resource,omitempty"`
}

ParentResourceRep struct for ParentResourceRep

func NewParentResourceRep ¶

func NewParentResourceRep() *ParentResourceRep

NewParentResourceRep instantiates a new ParentResourceRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewParentResourceRepWithDefaults ¶

func NewParentResourceRepWithDefaults() *ParentResourceRep

NewParentResourceRepWithDefaults instantiates a new ParentResourceRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *ParentResourceRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ParentResourceRep) GetLinksOk ¶

func (o *ParentResourceRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParentResourceRep) GetName ¶

func (o *ParentResourceRep) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ParentResourceRep) GetNameOk ¶

func (o *ParentResourceRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParentResourceRep) GetResource ¶

func (o *ParentResourceRep) GetResource() string

GetResource returns the Resource field value if set, zero value otherwise.

func (*ParentResourceRep) GetResourceOk ¶

func (o *ParentResourceRep) GetResourceOk() (*string, bool)

GetResourceOk returns a tuple with the Resource field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ParentResourceRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ParentResourceRep) HasName ¶

func (o *ParentResourceRep) HasName() bool

HasName returns a boolean if a field has been set.

func (*ParentResourceRep) HasResource ¶

func (o *ParentResourceRep) HasResource() bool

HasResource returns a boolean if a field has been set.

func (ParentResourceRep) MarshalJSON ¶

func (o ParentResourceRep) MarshalJSON() ([]byte, error)
func (o *ParentResourceRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ParentResourceRep) SetName ¶

func (o *ParentResourceRep) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ParentResourceRep) SetResource ¶

func (o *ParentResourceRep) SetResource(v string)

SetResource gets a reference to the given string and assigns it to the Resource field.

type PatchFailedErrorRep ¶

type PatchFailedErrorRep struct {
	// Specific error code encountered
	Code string `json:"code"`
	// Description of the error
	Message string `json:"message"`
}

PatchFailedErrorRep struct for PatchFailedErrorRep

func NewPatchFailedErrorRep ¶

func NewPatchFailedErrorRep(code string, message string) *PatchFailedErrorRep

NewPatchFailedErrorRep instantiates a new PatchFailedErrorRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPatchFailedErrorRepWithDefaults ¶

func NewPatchFailedErrorRepWithDefaults() *PatchFailedErrorRep

NewPatchFailedErrorRepWithDefaults instantiates a new PatchFailedErrorRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PatchFailedErrorRep) GetCode ¶

func (o *PatchFailedErrorRep) GetCode() string

GetCode returns the Code field value

func (*PatchFailedErrorRep) GetCodeOk ¶

func (o *PatchFailedErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*PatchFailedErrorRep) GetMessage ¶

func (o *PatchFailedErrorRep) GetMessage() string

GetMessage returns the Message field value

func (*PatchFailedErrorRep) GetMessageOk ¶

func (o *PatchFailedErrorRep) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (PatchFailedErrorRep) MarshalJSON ¶

func (o PatchFailedErrorRep) MarshalJSON() ([]byte, error)

func (*PatchFailedErrorRep) SetCode ¶

func (o *PatchFailedErrorRep) SetCode(v string)

SetCode sets field value

func (*PatchFailedErrorRep) SetMessage ¶

func (o *PatchFailedErrorRep) SetMessage(v string)

SetMessage sets field value

type PatchFlagsRequest ¶

type PatchFlagsRequest struct {
	// Optional comment describing the change
	Comment *string `json:"comment,omitempty"`
	// The instructions to perform when updating
	Instructions []map[string]interface{} `json:"instructions"`
}

PatchFlagsRequest struct for PatchFlagsRequest

func NewPatchFlagsRequest ¶

func NewPatchFlagsRequest(instructions []map[string]interface{}) *PatchFlagsRequest

NewPatchFlagsRequest instantiates a new PatchFlagsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPatchFlagsRequestWithDefaults ¶

func NewPatchFlagsRequestWithDefaults() *PatchFlagsRequest

NewPatchFlagsRequestWithDefaults instantiates a new PatchFlagsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PatchFlagsRequest) GetComment ¶

func (o *PatchFlagsRequest) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*PatchFlagsRequest) GetCommentOk ¶

func (o *PatchFlagsRequest) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchFlagsRequest) GetInstructions ¶

func (o *PatchFlagsRequest) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*PatchFlagsRequest) GetInstructionsOk ¶

func (o *PatchFlagsRequest) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*PatchFlagsRequest) HasComment ¶

func (o *PatchFlagsRequest) HasComment() bool

HasComment returns a boolean if a field has been set.

func (PatchFlagsRequest) MarshalJSON ¶

func (o PatchFlagsRequest) MarshalJSON() ([]byte, error)

func (*PatchFlagsRequest) SetComment ¶

func (o *PatchFlagsRequest) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*PatchFlagsRequest) SetInstructions ¶

func (o *PatchFlagsRequest) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

type PatchOperation ¶

type PatchOperation struct {
	// The type of operation to perform
	Op string `json:"op"`
	// A JSON Pointer string specifying the part of the document to operate on
	Path string `json:"path"`
	// A JSON value used in \"add\", \"replace\", and \"test\" operations
	Value interface{} `json:"value"`
}

PatchOperation struct for PatchOperation

func NewPatchOperation ¶

func NewPatchOperation(op string, path string, value interface{}) *PatchOperation

NewPatchOperation instantiates a new PatchOperation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPatchOperationWithDefaults ¶

func NewPatchOperationWithDefaults() *PatchOperation

NewPatchOperationWithDefaults instantiates a new PatchOperation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PatchOperation) GetOp ¶

func (o *PatchOperation) GetOp() string

GetOp returns the Op field value

func (*PatchOperation) GetOpOk ¶

func (o *PatchOperation) GetOpOk() (*string, bool)

GetOpOk returns a tuple with the Op field value and a boolean to check if the value has been set.

func (*PatchOperation) GetPath ¶

func (o *PatchOperation) GetPath() string

GetPath returns the Path field value

func (*PatchOperation) GetPathOk ¶

func (o *PatchOperation) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*PatchOperation) GetValue ¶

func (o *PatchOperation) GetValue() interface{}

GetValue returns the Value field value If the value is explicit nil, the zero value for interface{} will be returned

func (*PatchOperation) GetValueOk ¶

func (o *PatchOperation) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (PatchOperation) MarshalJSON ¶

func (o PatchOperation) MarshalJSON() ([]byte, error)

func (*PatchOperation) SetOp ¶

func (o *PatchOperation) SetOp(v string)

SetOp sets field value

func (*PatchOperation) SetPath ¶

func (o *PatchOperation) SetPath(v string)

SetPath sets field value

func (*PatchOperation) SetValue ¶

func (o *PatchOperation) SetValue(v interface{})

SetValue sets field value

type PatchSegmentExpiringTargetInputRep ¶

type PatchSegmentExpiringTargetInputRep struct {
	// Optional description of changes
	Comment *string `json:"comment,omitempty"`
	// Semantic patch instructions for the desired changes to the resource
	Instructions []PatchSegmentExpiringTargetInstruction `json:"instructions"`
}

PatchSegmentExpiringTargetInputRep struct for PatchSegmentExpiringTargetInputRep

func NewPatchSegmentExpiringTargetInputRep ¶

func NewPatchSegmentExpiringTargetInputRep(instructions []PatchSegmentExpiringTargetInstruction) *PatchSegmentExpiringTargetInputRep

NewPatchSegmentExpiringTargetInputRep instantiates a new PatchSegmentExpiringTargetInputRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPatchSegmentExpiringTargetInputRepWithDefaults ¶

func NewPatchSegmentExpiringTargetInputRepWithDefaults() *PatchSegmentExpiringTargetInputRep

NewPatchSegmentExpiringTargetInputRepWithDefaults instantiates a new PatchSegmentExpiringTargetInputRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PatchSegmentExpiringTargetInputRep) GetComment ¶

GetComment returns the Comment field value if set, zero value otherwise.

func (*PatchSegmentExpiringTargetInputRep) GetCommentOk ¶

func (o *PatchSegmentExpiringTargetInputRep) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchSegmentExpiringTargetInputRep) GetInstructions ¶

GetInstructions returns the Instructions field value

func (*PatchSegmentExpiringTargetInputRep) GetInstructionsOk ¶

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*PatchSegmentExpiringTargetInputRep) HasComment ¶

func (o *PatchSegmentExpiringTargetInputRep) HasComment() bool

HasComment returns a boolean if a field has been set.

func (PatchSegmentExpiringTargetInputRep) MarshalJSON ¶

func (o PatchSegmentExpiringTargetInputRep) MarshalJSON() ([]byte, error)

func (*PatchSegmentExpiringTargetInputRep) SetComment ¶

func (o *PatchSegmentExpiringTargetInputRep) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*PatchSegmentExpiringTargetInputRep) SetInstructions ¶

SetInstructions sets field value

type PatchSegmentExpiringTargetInstruction ¶

type PatchSegmentExpiringTargetInstruction struct {
	// The type of change to make to the context's removal date from this segment
	Kind string `json:"kind"`
	// A unique key used to represent the context
	ContextKey string `json:"contextKey"`
	// The kind of context
	ContextKind string `json:"contextKind"`
	// The segment's target type
	TargetType string `json:"targetType"`
	// The time, in Unix milliseconds, when the context should be removed from this segment. Required if <code>kind</code> is <code>addExpiringTarget</code> or <code>updateExpiringTarget</code>.
	Value *int32 `json:"value,omitempty"`
	// The version of the expiring target to update. Optional and only used if <code>kind</code> is <code>updateExpiringTarget</code>. If included, update will fail if version doesn't match current version of the expiring target.
	Version *int32 `json:"version,omitempty"`
}

PatchSegmentExpiringTargetInstruction struct for PatchSegmentExpiringTargetInstruction

func NewPatchSegmentExpiringTargetInstruction ¶

func NewPatchSegmentExpiringTargetInstruction(kind string, contextKey string, contextKind string, targetType string) *PatchSegmentExpiringTargetInstruction

NewPatchSegmentExpiringTargetInstruction instantiates a new PatchSegmentExpiringTargetInstruction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPatchSegmentExpiringTargetInstructionWithDefaults ¶

func NewPatchSegmentExpiringTargetInstructionWithDefaults() *PatchSegmentExpiringTargetInstruction

NewPatchSegmentExpiringTargetInstructionWithDefaults instantiates a new PatchSegmentExpiringTargetInstruction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PatchSegmentExpiringTargetInstruction) GetContextKey ¶

func (o *PatchSegmentExpiringTargetInstruction) GetContextKey() string

GetContextKey returns the ContextKey field value

func (*PatchSegmentExpiringTargetInstruction) GetContextKeyOk ¶

func (o *PatchSegmentExpiringTargetInstruction) GetContextKeyOk() (*string, bool)

GetContextKeyOk returns a tuple with the ContextKey field value and a boolean to check if the value has been set.

func (*PatchSegmentExpiringTargetInstruction) GetContextKind ¶

func (o *PatchSegmentExpiringTargetInstruction) GetContextKind() string

GetContextKind returns the ContextKind field value

func (*PatchSegmentExpiringTargetInstruction) GetContextKindOk ¶

func (o *PatchSegmentExpiringTargetInstruction) GetContextKindOk() (*string, bool)

GetContextKindOk returns a tuple with the ContextKind field value and a boolean to check if the value has been set.

func (*PatchSegmentExpiringTargetInstruction) GetKind ¶

GetKind returns the Kind field value

func (*PatchSegmentExpiringTargetInstruction) GetKindOk ¶

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*PatchSegmentExpiringTargetInstruction) GetTargetType ¶

func (o *PatchSegmentExpiringTargetInstruction) GetTargetType() string

GetTargetType returns the TargetType field value

func (*PatchSegmentExpiringTargetInstruction) GetTargetTypeOk ¶

func (o *PatchSegmentExpiringTargetInstruction) GetTargetTypeOk() (*string, bool)

GetTargetTypeOk returns a tuple with the TargetType field value and a boolean to check if the value has been set.

func (*PatchSegmentExpiringTargetInstruction) GetValue ¶

GetValue returns the Value field value if set, zero value otherwise.

func (*PatchSegmentExpiringTargetInstruction) GetValueOk ¶

func (o *PatchSegmentExpiringTargetInstruction) GetValueOk() (*int32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchSegmentExpiringTargetInstruction) GetVersion ¶

GetVersion returns the Version field value if set, zero value otherwise.

func (*PatchSegmentExpiringTargetInstruction) GetVersionOk ¶

func (o *PatchSegmentExpiringTargetInstruction) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchSegmentExpiringTargetInstruction) HasValue ¶

HasValue returns a boolean if a field has been set.

func (*PatchSegmentExpiringTargetInstruction) HasVersion ¶

HasVersion returns a boolean if a field has been set.

func (PatchSegmentExpiringTargetInstruction) MarshalJSON ¶

func (o PatchSegmentExpiringTargetInstruction) MarshalJSON() ([]byte, error)

func (*PatchSegmentExpiringTargetInstruction) SetContextKey ¶

func (o *PatchSegmentExpiringTargetInstruction) SetContextKey(v string)

SetContextKey sets field value

func (*PatchSegmentExpiringTargetInstruction) SetContextKind ¶

func (o *PatchSegmentExpiringTargetInstruction) SetContextKind(v string)

SetContextKind sets field value

func (*PatchSegmentExpiringTargetInstruction) SetKind ¶

SetKind sets field value

func (*PatchSegmentExpiringTargetInstruction) SetTargetType ¶

func (o *PatchSegmentExpiringTargetInstruction) SetTargetType(v string)

SetTargetType sets field value

func (*PatchSegmentExpiringTargetInstruction) SetValue ¶

SetValue gets a reference to the given int32 and assigns it to the Value field.

func (*PatchSegmentExpiringTargetInstruction) SetVersion ¶

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type PatchSegmentInstruction ¶

type PatchSegmentInstruction struct {
	// The type of change to make to the user's removal date from this segment
	Kind string `json:"kind"`
	// A unique key used to represent the user
	UserKey string `json:"userKey"`
	// The segment's target type
	TargetType string `json:"targetType"`
	// The time, in Unix milliseconds, when the user should be removed from this segment. Required if <code>kind</code> is <code>addExpireUserTargetDate</code> or <code>updateExpireUserTargetDate</code>.
	Value *int32 `json:"value,omitempty"`
	// The version of the segment to update. Required if <code>kind</code> is <code>updateExpireUserTargetDate</code>.
	Version *int32 `json:"version,omitempty"`
}

PatchSegmentInstruction struct for PatchSegmentInstruction

func NewPatchSegmentInstruction ¶

func NewPatchSegmentInstruction(kind string, userKey string, targetType string) *PatchSegmentInstruction

NewPatchSegmentInstruction instantiates a new PatchSegmentInstruction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPatchSegmentInstructionWithDefaults ¶

func NewPatchSegmentInstructionWithDefaults() *PatchSegmentInstruction

NewPatchSegmentInstructionWithDefaults instantiates a new PatchSegmentInstruction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PatchSegmentInstruction) GetKind ¶

func (o *PatchSegmentInstruction) GetKind() string

GetKind returns the Kind field value

func (*PatchSegmentInstruction) GetKindOk ¶

func (o *PatchSegmentInstruction) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*PatchSegmentInstruction) GetTargetType ¶

func (o *PatchSegmentInstruction) GetTargetType() string

GetTargetType returns the TargetType field value

func (*PatchSegmentInstruction) GetTargetTypeOk ¶

func (o *PatchSegmentInstruction) GetTargetTypeOk() (*string, bool)

GetTargetTypeOk returns a tuple with the TargetType field value and a boolean to check if the value has been set.

func (*PatchSegmentInstruction) GetUserKey ¶

func (o *PatchSegmentInstruction) GetUserKey() string

GetUserKey returns the UserKey field value

func (*PatchSegmentInstruction) GetUserKeyOk ¶

func (o *PatchSegmentInstruction) GetUserKeyOk() (*string, bool)

GetUserKeyOk returns a tuple with the UserKey field value and a boolean to check if the value has been set.

func (*PatchSegmentInstruction) GetValue ¶

func (o *PatchSegmentInstruction) GetValue() int32

GetValue returns the Value field value if set, zero value otherwise.

func (*PatchSegmentInstruction) GetValueOk ¶

func (o *PatchSegmentInstruction) GetValueOk() (*int32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchSegmentInstruction) GetVersion ¶

func (o *PatchSegmentInstruction) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*PatchSegmentInstruction) GetVersionOk ¶

func (o *PatchSegmentInstruction) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchSegmentInstruction) HasValue ¶

func (o *PatchSegmentInstruction) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*PatchSegmentInstruction) HasVersion ¶

func (o *PatchSegmentInstruction) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (PatchSegmentInstruction) MarshalJSON ¶

func (o PatchSegmentInstruction) MarshalJSON() ([]byte, error)

func (*PatchSegmentInstruction) SetKind ¶

func (o *PatchSegmentInstruction) SetKind(v string)

SetKind sets field value

func (*PatchSegmentInstruction) SetTargetType ¶

func (o *PatchSegmentInstruction) SetTargetType(v string)

SetTargetType sets field value

func (*PatchSegmentInstruction) SetUserKey ¶

func (o *PatchSegmentInstruction) SetUserKey(v string)

SetUserKey sets field value

func (*PatchSegmentInstruction) SetValue ¶

func (o *PatchSegmentInstruction) SetValue(v int32)

SetValue gets a reference to the given int32 and assigns it to the Value field.

func (*PatchSegmentInstruction) SetVersion ¶

func (o *PatchSegmentInstruction) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type PatchSegmentRequest ¶

type PatchSegmentRequest struct {
	// Optional description of changes
	Comment *string `json:"comment,omitempty"`
	// Semantic patch instructions for the desired changes to the resource
	Instructions []PatchSegmentInstruction `json:"instructions"`
}

PatchSegmentRequest struct for PatchSegmentRequest

func NewPatchSegmentRequest ¶

func NewPatchSegmentRequest(instructions []PatchSegmentInstruction) *PatchSegmentRequest

NewPatchSegmentRequest instantiates a new PatchSegmentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPatchSegmentRequestWithDefaults ¶

func NewPatchSegmentRequestWithDefaults() *PatchSegmentRequest

NewPatchSegmentRequestWithDefaults instantiates a new PatchSegmentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PatchSegmentRequest) GetComment ¶

func (o *PatchSegmentRequest) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*PatchSegmentRequest) GetCommentOk ¶

func (o *PatchSegmentRequest) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchSegmentRequest) GetInstructions ¶

func (o *PatchSegmentRequest) GetInstructions() []PatchSegmentInstruction

GetInstructions returns the Instructions field value

func (*PatchSegmentRequest) GetInstructionsOk ¶

func (o *PatchSegmentRequest) GetInstructionsOk() ([]PatchSegmentInstruction, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*PatchSegmentRequest) HasComment ¶

func (o *PatchSegmentRequest) HasComment() bool

HasComment returns a boolean if a field has been set.

func (PatchSegmentRequest) MarshalJSON ¶

func (o PatchSegmentRequest) MarshalJSON() ([]byte, error)

func (*PatchSegmentRequest) SetComment ¶

func (o *PatchSegmentRequest) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*PatchSegmentRequest) SetInstructions ¶

func (o *PatchSegmentRequest) SetInstructions(v []PatchSegmentInstruction)

SetInstructions sets field value

type PatchUsersRequest ¶

type PatchUsersRequest struct {
	// Optional comment describing the change
	Comment *string `json:"comment,omitempty"`
	// The instructions to perform when updating
	Instructions []InstructionUserRequest `json:"instructions"`
}

PatchUsersRequest struct for PatchUsersRequest

func NewPatchUsersRequest ¶

func NewPatchUsersRequest(instructions []InstructionUserRequest) *PatchUsersRequest

NewPatchUsersRequest instantiates a new PatchUsersRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPatchUsersRequestWithDefaults ¶

func NewPatchUsersRequestWithDefaults() *PatchUsersRequest

NewPatchUsersRequestWithDefaults instantiates a new PatchUsersRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PatchUsersRequest) GetComment ¶

func (o *PatchUsersRequest) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*PatchUsersRequest) GetCommentOk ¶

func (o *PatchUsersRequest) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchUsersRequest) GetInstructions ¶

func (o *PatchUsersRequest) GetInstructions() []InstructionUserRequest

GetInstructions returns the Instructions field value

func (*PatchUsersRequest) GetInstructionsOk ¶

func (o *PatchUsersRequest) GetInstructionsOk() ([]InstructionUserRequest, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*PatchUsersRequest) HasComment ¶

func (o *PatchUsersRequest) HasComment() bool

HasComment returns a boolean if a field has been set.

func (PatchUsersRequest) MarshalJSON ¶

func (o PatchUsersRequest) MarshalJSON() ([]byte, error)

func (*PatchUsersRequest) SetComment ¶

func (o *PatchUsersRequest) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*PatchUsersRequest) SetInstructions ¶

func (o *PatchUsersRequest) SetInstructions(v []InstructionUserRequest)

SetInstructions sets field value

type PatchWithComment ¶

type PatchWithComment struct {
	Patch []PatchOperation `json:"patch"`
	// Optional comment
	Comment *string `json:"comment,omitempty"`
}

PatchWithComment struct for PatchWithComment

func NewPatchWithComment ¶

func NewPatchWithComment(patch []PatchOperation) *PatchWithComment

NewPatchWithComment instantiates a new PatchWithComment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPatchWithCommentWithDefaults ¶

func NewPatchWithCommentWithDefaults() *PatchWithComment

NewPatchWithCommentWithDefaults instantiates a new PatchWithComment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PatchWithComment) GetComment ¶

func (o *PatchWithComment) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*PatchWithComment) GetCommentOk ¶

func (o *PatchWithComment) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchWithComment) GetPatch ¶

func (o *PatchWithComment) GetPatch() []PatchOperation

GetPatch returns the Patch field value

func (*PatchWithComment) GetPatchOk ¶

func (o *PatchWithComment) GetPatchOk() ([]PatchOperation, bool)

GetPatchOk returns a tuple with the Patch field value and a boolean to check if the value has been set.

func (*PatchWithComment) HasComment ¶

func (o *PatchWithComment) HasComment() bool

HasComment returns a boolean if a field has been set.

func (PatchWithComment) MarshalJSON ¶

func (o PatchWithComment) MarshalJSON() ([]byte, error)

func (*PatchWithComment) SetComment ¶

func (o *PatchWithComment) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*PatchWithComment) SetPatch ¶

func (o *PatchWithComment) SetPatch(v []PatchOperation)

SetPatch sets field value

type PermissionGrantInput ¶

type PermissionGrantInput struct {
	// A group of related actions to allow. Specify either <code>actionSet</code> or <code>actions</code>. Use <code>maintainTeam</code> to add team maintainers.
	ActionSet *string `json:"actionSet,omitempty"`
	// A list of actions to allow. Specify either <code>actionSet</code> or <code>actions</code>. To learn more, read [Role actions](https://docs.launchdarkly.com/home/members/role-actions).
	Actions []string `json:"actions,omitempty"`
	// A list of member IDs who receive the permission grant.
	MemberIDs []string `json:"memberIDs,omitempty"`
}

PermissionGrantInput struct for PermissionGrantInput

func NewPermissionGrantInput ¶

func NewPermissionGrantInput() *PermissionGrantInput

NewPermissionGrantInput instantiates a new PermissionGrantInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPermissionGrantInputWithDefaults ¶

func NewPermissionGrantInputWithDefaults() *PermissionGrantInput

NewPermissionGrantInputWithDefaults instantiates a new PermissionGrantInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PermissionGrantInput) GetActionSet ¶

func (o *PermissionGrantInput) GetActionSet() string

GetActionSet returns the ActionSet field value if set, zero value otherwise.

func (*PermissionGrantInput) GetActionSetOk ¶

func (o *PermissionGrantInput) GetActionSetOk() (*string, bool)

GetActionSetOk returns a tuple with the ActionSet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionGrantInput) GetActions ¶

func (o *PermissionGrantInput) GetActions() []string

GetActions returns the Actions field value if set, zero value otherwise.

func (*PermissionGrantInput) GetActionsOk ¶

func (o *PermissionGrantInput) GetActionsOk() ([]string, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionGrantInput) GetMemberIDs ¶

func (o *PermissionGrantInput) GetMemberIDs() []string

GetMemberIDs returns the MemberIDs field value if set, zero value otherwise.

func (*PermissionGrantInput) GetMemberIDsOk ¶

func (o *PermissionGrantInput) GetMemberIDsOk() ([]string, bool)

GetMemberIDsOk returns a tuple with the MemberIDs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionGrantInput) HasActionSet ¶

func (o *PermissionGrantInput) HasActionSet() bool

HasActionSet returns a boolean if a field has been set.

func (*PermissionGrantInput) HasActions ¶

func (o *PermissionGrantInput) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*PermissionGrantInput) HasMemberIDs ¶

func (o *PermissionGrantInput) HasMemberIDs() bool

HasMemberIDs returns a boolean if a field has been set.

func (PermissionGrantInput) MarshalJSON ¶

func (o PermissionGrantInput) MarshalJSON() ([]byte, error)

func (*PermissionGrantInput) SetActionSet ¶

func (o *PermissionGrantInput) SetActionSet(v string)

SetActionSet gets a reference to the given string and assigns it to the ActionSet field.

func (*PermissionGrantInput) SetActions ¶

func (o *PermissionGrantInput) SetActions(v []string)

SetActions gets a reference to the given []string and assigns it to the Actions field.

func (*PermissionGrantInput) SetMemberIDs ¶

func (o *PermissionGrantInput) SetMemberIDs(v []string)

SetMemberIDs gets a reference to the given []string and assigns it to the MemberIDs field.

type Phase ¶

type Phase struct {
	// The phase ID
	Id        string     `json:"id"`
	Audiences []Audience `json:"audiences"`
	// The release phase name
	Name string `json:"name"`
}

Phase struct for Phase

func NewPhase ¶

func NewPhase(id string, audiences []Audience, name string) *Phase

NewPhase instantiates a new Phase object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPhaseWithDefaults ¶

func NewPhaseWithDefaults() *Phase

NewPhaseWithDefaults instantiates a new Phase object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Phase) GetAudiences ¶

func (o *Phase) GetAudiences() []Audience

GetAudiences returns the Audiences field value

func (*Phase) GetAudiencesOk ¶

func (o *Phase) GetAudiencesOk() ([]Audience, bool)

GetAudiencesOk returns a tuple with the Audiences field value and a boolean to check if the value has been set.

func (*Phase) GetId ¶

func (o *Phase) GetId() string

GetId returns the Id field value

func (*Phase) GetIdOk ¶

func (o *Phase) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Phase) GetName ¶

func (o *Phase) GetName() string

GetName returns the Name field value

func (*Phase) GetNameOk ¶

func (o *Phase) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (Phase) MarshalJSON ¶

func (o Phase) MarshalJSON() ([]byte, error)

func (*Phase) SetAudiences ¶

func (o *Phase) SetAudiences(v []Audience)

SetAudiences sets field value

func (*Phase) SetId ¶

func (o *Phase) SetId(v string)

SetId sets field value

func (*Phase) SetName ¶

func (o *Phase) SetName(v string)

SetName sets field value

type PostApprovalRequestApplyRequest ¶

type PostApprovalRequestApplyRequest struct {
	// Optional comment about the approval request
	Comment *string `json:"comment,omitempty"`
}

PostApprovalRequestApplyRequest struct for PostApprovalRequestApplyRequest

func NewPostApprovalRequestApplyRequest ¶

func NewPostApprovalRequestApplyRequest() *PostApprovalRequestApplyRequest

NewPostApprovalRequestApplyRequest instantiates a new PostApprovalRequestApplyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPostApprovalRequestApplyRequestWithDefaults ¶

func NewPostApprovalRequestApplyRequestWithDefaults() *PostApprovalRequestApplyRequest

NewPostApprovalRequestApplyRequestWithDefaults instantiates a new PostApprovalRequestApplyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PostApprovalRequestApplyRequest) GetComment ¶

func (o *PostApprovalRequestApplyRequest) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*PostApprovalRequestApplyRequest) GetCommentOk ¶

func (o *PostApprovalRequestApplyRequest) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostApprovalRequestApplyRequest) HasComment ¶

func (o *PostApprovalRequestApplyRequest) HasComment() bool

HasComment returns a boolean if a field has been set.

func (PostApprovalRequestApplyRequest) MarshalJSON ¶

func (o PostApprovalRequestApplyRequest) MarshalJSON() ([]byte, error)

func (*PostApprovalRequestApplyRequest) SetComment ¶

func (o *PostApprovalRequestApplyRequest) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

type PostApprovalRequestReviewRequest ¶

type PostApprovalRequestReviewRequest struct {
	// The type of review for this approval request
	Kind *string `json:"kind,omitempty"`
	// Optional comment about the approval request
	Comment *string `json:"comment,omitempty"`
}

PostApprovalRequestReviewRequest struct for PostApprovalRequestReviewRequest

func NewPostApprovalRequestReviewRequest ¶

func NewPostApprovalRequestReviewRequest() *PostApprovalRequestReviewRequest

NewPostApprovalRequestReviewRequest instantiates a new PostApprovalRequestReviewRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPostApprovalRequestReviewRequestWithDefaults ¶

func NewPostApprovalRequestReviewRequestWithDefaults() *PostApprovalRequestReviewRequest

NewPostApprovalRequestReviewRequestWithDefaults instantiates a new PostApprovalRequestReviewRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PostApprovalRequestReviewRequest) GetComment ¶

func (o *PostApprovalRequestReviewRequest) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*PostApprovalRequestReviewRequest) GetCommentOk ¶

func (o *PostApprovalRequestReviewRequest) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostApprovalRequestReviewRequest) GetKind ¶

GetKind returns the Kind field value if set, zero value otherwise.

func (*PostApprovalRequestReviewRequest) GetKindOk ¶

func (o *PostApprovalRequestReviewRequest) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostApprovalRequestReviewRequest) HasComment ¶

func (o *PostApprovalRequestReviewRequest) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*PostApprovalRequestReviewRequest) HasKind ¶

HasKind returns a boolean if a field has been set.

func (PostApprovalRequestReviewRequest) MarshalJSON ¶

func (o PostApprovalRequestReviewRequest) MarshalJSON() ([]byte, error)

func (*PostApprovalRequestReviewRequest) SetComment ¶

func (o *PostApprovalRequestReviewRequest) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*PostApprovalRequestReviewRequest) SetKind ¶

SetKind gets a reference to the given string and assigns it to the Kind field.

type PostDeploymentEventInput ¶

type PostDeploymentEventInput struct {
	// The project key
	ProjectKey string `json:"projectKey"`
	// The environment key
	EnvironmentKey string `json:"environmentKey"`
	// The application key. This defines the granularity at which you want to view your insights metrics. Typically it is the name of one of the GitHub repositories that you use in this project.<br/><br/>LaunchDarkly automatically creates a new application each time you send a unique application key.
	ApplicationKey string `json:"applicationKey"`
	// The application name. This defines how the application is displayed
	ApplicationName *string `json:"applicationName,omitempty"`
	// The kind of application. Default: <code>server</code>
	ApplicationKind *string `json:"applicationKind,omitempty"`
	// The application version. You can set the application version to any string that includes only letters, numbers, periods (<code>.</code>), hyphens (<code>-</code>), or underscores (<code>_</code>).<br/><br/>We recommend setting the application version to at least the first seven characters of the SHA or to the tag of the GitHub commit for this deployment.
	Version string `json:"version"`
	// The version name. This defines how the version is displayed
	VersionName *string `json:"versionName,omitempty"`
	// The event type
	EventType string `json:"eventType"`
	EventTime *int64 `json:"eventTime,omitempty"`
	// A JSON object containing metadata about the event
	EventMetadata map[string]interface{} `json:"eventMetadata,omitempty"`
	// A JSON object containing metadata about the deployment
	DeploymentMetadata map[string]interface{} `json:"deploymentMetadata,omitempty"`
}

PostDeploymentEventInput struct for PostDeploymentEventInput

func NewPostDeploymentEventInput ¶

func NewPostDeploymentEventInput(projectKey string, environmentKey string, applicationKey string, version string, eventType string) *PostDeploymentEventInput

NewPostDeploymentEventInput instantiates a new PostDeploymentEventInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPostDeploymentEventInputWithDefaults ¶

func NewPostDeploymentEventInputWithDefaults() *PostDeploymentEventInput

NewPostDeploymentEventInputWithDefaults instantiates a new PostDeploymentEventInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PostDeploymentEventInput) GetApplicationKey ¶

func (o *PostDeploymentEventInput) GetApplicationKey() string

GetApplicationKey returns the ApplicationKey field value

func (*PostDeploymentEventInput) GetApplicationKeyOk ¶

func (o *PostDeploymentEventInput) GetApplicationKeyOk() (*string, bool)

GetApplicationKeyOk returns a tuple with the ApplicationKey field value and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) GetApplicationKind ¶

func (o *PostDeploymentEventInput) GetApplicationKind() string

GetApplicationKind returns the ApplicationKind field value if set, zero value otherwise.

func (*PostDeploymentEventInput) GetApplicationKindOk ¶

func (o *PostDeploymentEventInput) GetApplicationKindOk() (*string, bool)

GetApplicationKindOk returns a tuple with the ApplicationKind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) GetApplicationName ¶

func (o *PostDeploymentEventInput) GetApplicationName() string

GetApplicationName returns the ApplicationName field value if set, zero value otherwise.

func (*PostDeploymentEventInput) GetApplicationNameOk ¶

func (o *PostDeploymentEventInput) GetApplicationNameOk() (*string, bool)

GetApplicationNameOk returns a tuple with the ApplicationName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) GetDeploymentMetadata ¶

func (o *PostDeploymentEventInput) GetDeploymentMetadata() map[string]interface{}

GetDeploymentMetadata returns the DeploymentMetadata field value if set, zero value otherwise.

func (*PostDeploymentEventInput) GetDeploymentMetadataOk ¶

func (o *PostDeploymentEventInput) GetDeploymentMetadataOk() (map[string]interface{}, bool)

GetDeploymentMetadataOk returns a tuple with the DeploymentMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) GetEnvironmentKey ¶

func (o *PostDeploymentEventInput) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value

func (*PostDeploymentEventInput) GetEnvironmentKeyOk ¶

func (o *PostDeploymentEventInput) GetEnvironmentKeyOk() (*string, bool)

GetEnvironmentKeyOk returns a tuple with the EnvironmentKey field value and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) GetEventMetadata ¶

func (o *PostDeploymentEventInput) GetEventMetadata() map[string]interface{}

GetEventMetadata returns the EventMetadata field value if set, zero value otherwise.

func (*PostDeploymentEventInput) GetEventMetadataOk ¶

func (o *PostDeploymentEventInput) GetEventMetadataOk() (map[string]interface{}, bool)

GetEventMetadataOk returns a tuple with the EventMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) GetEventTime ¶

func (o *PostDeploymentEventInput) GetEventTime() int64

GetEventTime returns the EventTime field value if set, zero value otherwise.

func (*PostDeploymentEventInput) GetEventTimeOk ¶

func (o *PostDeploymentEventInput) GetEventTimeOk() (*int64, bool)

GetEventTimeOk returns a tuple with the EventTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) GetEventType ¶

func (o *PostDeploymentEventInput) GetEventType() string

GetEventType returns the EventType field value

func (*PostDeploymentEventInput) GetEventTypeOk ¶

func (o *PostDeploymentEventInput) GetEventTypeOk() (*string, bool)

GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) GetProjectKey ¶

func (o *PostDeploymentEventInput) GetProjectKey() string

GetProjectKey returns the ProjectKey field value

func (*PostDeploymentEventInput) GetProjectKeyOk ¶

func (o *PostDeploymentEventInput) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) GetVersion ¶

func (o *PostDeploymentEventInput) GetVersion() string

GetVersion returns the Version field value

func (*PostDeploymentEventInput) GetVersionName ¶

func (o *PostDeploymentEventInput) GetVersionName() string

GetVersionName returns the VersionName field value if set, zero value otherwise.

func (*PostDeploymentEventInput) GetVersionNameOk ¶

func (o *PostDeploymentEventInput) GetVersionNameOk() (*string, bool)

GetVersionNameOk returns a tuple with the VersionName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) GetVersionOk ¶

func (o *PostDeploymentEventInput) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*PostDeploymentEventInput) HasApplicationKind ¶

func (o *PostDeploymentEventInput) HasApplicationKind() bool

HasApplicationKind returns a boolean if a field has been set.

func (*PostDeploymentEventInput) HasApplicationName ¶

func (o *PostDeploymentEventInput) HasApplicationName() bool

HasApplicationName returns a boolean if a field has been set.

func (*PostDeploymentEventInput) HasDeploymentMetadata ¶

func (o *PostDeploymentEventInput) HasDeploymentMetadata() bool

HasDeploymentMetadata returns a boolean if a field has been set.

func (*PostDeploymentEventInput) HasEventMetadata ¶

func (o *PostDeploymentEventInput) HasEventMetadata() bool

HasEventMetadata returns a boolean if a field has been set.

func (*PostDeploymentEventInput) HasEventTime ¶

func (o *PostDeploymentEventInput) HasEventTime() bool

HasEventTime returns a boolean if a field has been set.

func (*PostDeploymentEventInput) HasVersionName ¶

func (o *PostDeploymentEventInput) HasVersionName() bool

HasVersionName returns a boolean if a field has been set.

func (PostDeploymentEventInput) MarshalJSON ¶

func (o PostDeploymentEventInput) MarshalJSON() ([]byte, error)

func (*PostDeploymentEventInput) SetApplicationKey ¶

func (o *PostDeploymentEventInput) SetApplicationKey(v string)

SetApplicationKey sets field value

func (*PostDeploymentEventInput) SetApplicationKind ¶

func (o *PostDeploymentEventInput) SetApplicationKind(v string)

SetApplicationKind gets a reference to the given string and assigns it to the ApplicationKind field.

func (*PostDeploymentEventInput) SetApplicationName ¶

func (o *PostDeploymentEventInput) SetApplicationName(v string)

SetApplicationName gets a reference to the given string and assigns it to the ApplicationName field.

func (*PostDeploymentEventInput) SetDeploymentMetadata ¶

func (o *PostDeploymentEventInput) SetDeploymentMetadata(v map[string]interface{})

SetDeploymentMetadata gets a reference to the given map[string]interface{} and assigns it to the DeploymentMetadata field.

func (*PostDeploymentEventInput) SetEnvironmentKey ¶

func (o *PostDeploymentEventInput) SetEnvironmentKey(v string)

SetEnvironmentKey sets field value

func (*PostDeploymentEventInput) SetEventMetadata ¶

func (o *PostDeploymentEventInput) SetEventMetadata(v map[string]interface{})

SetEventMetadata gets a reference to the given map[string]interface{} and assigns it to the EventMetadata field.

func (*PostDeploymentEventInput) SetEventTime ¶

func (o *PostDeploymentEventInput) SetEventTime(v int64)

SetEventTime gets a reference to the given int64 and assigns it to the EventTime field.

func (*PostDeploymentEventInput) SetEventType ¶

func (o *PostDeploymentEventInput) SetEventType(v string)

SetEventType sets field value

func (*PostDeploymentEventInput) SetProjectKey ¶

func (o *PostDeploymentEventInput) SetProjectKey(v string)

SetProjectKey sets field value

func (*PostDeploymentEventInput) SetVersion ¶

func (o *PostDeploymentEventInput) SetVersion(v string)

SetVersion sets field value

func (*PostDeploymentEventInput) SetVersionName ¶

func (o *PostDeploymentEventInput) SetVersionName(v string)

SetVersionName gets a reference to the given string and assigns it to the VersionName field.

type PostFlagScheduledChangesInput ¶

type PostFlagScheduledChangesInput struct {
	// Optional comment describing the scheduled changes
	Comment       *string                  `json:"comment,omitempty"`
	ExecutionDate int64                    `json:"executionDate"`
	Instructions  []map[string]interface{} `json:"instructions"`
}

PostFlagScheduledChangesInput struct for PostFlagScheduledChangesInput

func NewPostFlagScheduledChangesInput ¶

func NewPostFlagScheduledChangesInput(executionDate int64, instructions []map[string]interface{}) *PostFlagScheduledChangesInput

NewPostFlagScheduledChangesInput instantiates a new PostFlagScheduledChangesInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPostFlagScheduledChangesInputWithDefaults ¶

func NewPostFlagScheduledChangesInputWithDefaults() *PostFlagScheduledChangesInput

NewPostFlagScheduledChangesInputWithDefaults instantiates a new PostFlagScheduledChangesInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PostFlagScheduledChangesInput) GetComment ¶

func (o *PostFlagScheduledChangesInput) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*PostFlagScheduledChangesInput) GetCommentOk ¶

func (o *PostFlagScheduledChangesInput) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostFlagScheduledChangesInput) GetExecutionDate ¶

func (o *PostFlagScheduledChangesInput) GetExecutionDate() int64

GetExecutionDate returns the ExecutionDate field value

func (*PostFlagScheduledChangesInput) GetExecutionDateOk ¶

func (o *PostFlagScheduledChangesInput) GetExecutionDateOk() (*int64, bool)

GetExecutionDateOk returns a tuple with the ExecutionDate field value and a boolean to check if the value has been set.

func (*PostFlagScheduledChangesInput) GetInstructions ¶

func (o *PostFlagScheduledChangesInput) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*PostFlagScheduledChangesInput) GetInstructionsOk ¶

func (o *PostFlagScheduledChangesInput) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*PostFlagScheduledChangesInput) HasComment ¶

func (o *PostFlagScheduledChangesInput) HasComment() bool

HasComment returns a boolean if a field has been set.

func (PostFlagScheduledChangesInput) MarshalJSON ¶

func (o PostFlagScheduledChangesInput) MarshalJSON() ([]byte, error)

func (*PostFlagScheduledChangesInput) SetComment ¶

func (o *PostFlagScheduledChangesInput) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*PostFlagScheduledChangesInput) SetExecutionDate ¶

func (o *PostFlagScheduledChangesInput) SetExecutionDate(v int64)

SetExecutionDate sets field value

func (*PostFlagScheduledChangesInput) SetInstructions ¶

func (o *PostFlagScheduledChangesInput) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

type PostInsightGroupParams ¶

type PostInsightGroupParams struct {
	// The name of the insight group
	Name string `json:"name"`
	// The key of the insight group
	Key string `json:"key"`
	// The projectKey to be associated with the insight group
	ProjectKey string `json:"projectKey"`
	// The environmentKey to be associated with the insight group
	EnvironmentKey string `json:"environmentKey"`
	// The application keys to associate with the insight group. If not provided, the insight group will include data from all applications.
	ApplicationKeys []string `json:"applicationKeys,omitempty"`
}

PostInsightGroupParams struct for PostInsightGroupParams

func NewPostInsightGroupParams ¶

func NewPostInsightGroupParams(name string, key string, projectKey string, environmentKey string) *PostInsightGroupParams

NewPostInsightGroupParams instantiates a new PostInsightGroupParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPostInsightGroupParamsWithDefaults ¶

func NewPostInsightGroupParamsWithDefaults() *PostInsightGroupParams

NewPostInsightGroupParamsWithDefaults instantiates a new PostInsightGroupParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PostInsightGroupParams) GetApplicationKeys ¶

func (o *PostInsightGroupParams) GetApplicationKeys() []string

GetApplicationKeys returns the ApplicationKeys field value if set, zero value otherwise.

func (*PostInsightGroupParams) GetApplicationKeysOk ¶

func (o *PostInsightGroupParams) GetApplicationKeysOk() ([]string, bool)

GetApplicationKeysOk returns a tuple with the ApplicationKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostInsightGroupParams) GetEnvironmentKey ¶

func (o *PostInsightGroupParams) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value

func (*PostInsightGroupParams) GetEnvironmentKeyOk ¶

func (o *PostInsightGroupParams) GetEnvironmentKeyOk() (*string, bool)

GetEnvironmentKeyOk returns a tuple with the EnvironmentKey field value and a boolean to check if the value has been set.

func (*PostInsightGroupParams) GetKey ¶

func (o *PostInsightGroupParams) GetKey() string

GetKey returns the Key field value

func (*PostInsightGroupParams) GetKeyOk ¶

func (o *PostInsightGroupParams) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*PostInsightGroupParams) GetName ¶

func (o *PostInsightGroupParams) GetName() string

GetName returns the Name field value

func (*PostInsightGroupParams) GetNameOk ¶

func (o *PostInsightGroupParams) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PostInsightGroupParams) GetProjectKey ¶

func (o *PostInsightGroupParams) GetProjectKey() string

GetProjectKey returns the ProjectKey field value

func (*PostInsightGroupParams) GetProjectKeyOk ¶

func (o *PostInsightGroupParams) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value and a boolean to check if the value has been set.

func (*PostInsightGroupParams) HasApplicationKeys ¶

func (o *PostInsightGroupParams) HasApplicationKeys() bool

HasApplicationKeys returns a boolean if a field has been set.

func (PostInsightGroupParams) MarshalJSON ¶

func (o PostInsightGroupParams) MarshalJSON() ([]byte, error)

func (*PostInsightGroupParams) SetApplicationKeys ¶

func (o *PostInsightGroupParams) SetApplicationKeys(v []string)

SetApplicationKeys gets a reference to the given []string and assigns it to the ApplicationKeys field.

func (*PostInsightGroupParams) SetEnvironmentKey ¶

func (o *PostInsightGroupParams) SetEnvironmentKey(v string)

SetEnvironmentKey sets field value

func (*PostInsightGroupParams) SetKey ¶

func (o *PostInsightGroupParams) SetKey(v string)

SetKey sets field value

func (*PostInsightGroupParams) SetName ¶

func (o *PostInsightGroupParams) SetName(v string)

SetName sets field value

func (*PostInsightGroupParams) SetProjectKey ¶

func (o *PostInsightGroupParams) SetProjectKey(v string)

SetProjectKey sets field value

type Prerequisite ¶

type Prerequisite struct {
	Key       string `json:"key"`
	Variation int32  `json:"variation"`
}

Prerequisite struct for Prerequisite

func NewPrerequisite ¶

func NewPrerequisite(key string, variation int32) *Prerequisite

NewPrerequisite instantiates a new Prerequisite object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPrerequisiteWithDefaults ¶

func NewPrerequisiteWithDefaults() *Prerequisite

NewPrerequisiteWithDefaults instantiates a new Prerequisite object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Prerequisite) GetKey ¶

func (o *Prerequisite) GetKey() string

GetKey returns the Key field value

func (*Prerequisite) GetKeyOk ¶

func (o *Prerequisite) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*Prerequisite) GetVariation ¶

func (o *Prerequisite) GetVariation() int32

GetVariation returns the Variation field value

func (*Prerequisite) GetVariationOk ¶

func (o *Prerequisite) GetVariationOk() (*int32, bool)

GetVariationOk returns a tuple with the Variation field value and a boolean to check if the value has been set.

func (Prerequisite) MarshalJSON ¶

func (o Prerequisite) MarshalJSON() ([]byte, error)

func (*Prerequisite) SetKey ¶

func (o *Prerequisite) SetKey(v string)

SetKey sets field value

func (*Prerequisite) SetVariation ¶

func (o *Prerequisite) SetVariation(v int32)

SetVariation sets field value

type Project ¶

type Project struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The ID of this project
	Id string `json:"_id"`
	// The key of this project
	Key string `json:"key"`
	// Whether or not flags created in this project are made available to the client-side JavaScript SDK by default
	IncludeInSnippetByDefault     bool                    `json:"includeInSnippetByDefault"`
	DefaultClientSideAvailability *ClientSideAvailability `json:"defaultClientSideAvailability,omitempty"`
	// A human-friendly name for the project
	Name   string  `json:"name"`
	Access *Access `json:"_access,omitempty"`
	// A list of tags for the project
	Tags []string `json:"tags"`
	// The key of the default release pipeline for this project
	DefaultReleasePipelineKey *string       `json:"defaultReleasePipelineKey,omitempty"`
	Environments              *Environments `json:"environments,omitempty"`
}

Project struct for Project

func NewProject ¶

func NewProject(links map[string]Link, id string, key string, includeInSnippetByDefault bool, name string, tags []string) *Project

NewProject instantiates a new Project object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectWithDefaults ¶

func NewProjectWithDefaults() *Project

NewProjectWithDefaults instantiates a new Project object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Project) GetAccess ¶ added in v15.1.0

func (o *Project) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*Project) GetAccessOk ¶ added in v15.1.0

func (o *Project) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetDefaultClientSideAvailability ¶

func (o *Project) GetDefaultClientSideAvailability() ClientSideAvailability

GetDefaultClientSideAvailability returns the DefaultClientSideAvailability field value if set, zero value otherwise.

func (*Project) GetDefaultClientSideAvailabilityOk ¶

func (o *Project) GetDefaultClientSideAvailabilityOk() (*ClientSideAvailability, bool)

GetDefaultClientSideAvailabilityOk returns a tuple with the DefaultClientSideAvailability field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetDefaultReleasePipelineKey ¶

func (o *Project) GetDefaultReleasePipelineKey() string

GetDefaultReleasePipelineKey returns the DefaultReleasePipelineKey field value if set, zero value otherwise.

func (*Project) GetDefaultReleasePipelineKeyOk ¶

func (o *Project) GetDefaultReleasePipelineKeyOk() (*string, bool)

GetDefaultReleasePipelineKeyOk returns a tuple with the DefaultReleasePipelineKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetEnvironments ¶

func (o *Project) GetEnvironments() Environments

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*Project) GetEnvironmentsOk ¶

func (o *Project) GetEnvironmentsOk() (*Environments, bool)

GetEnvironmentsOk returns a tuple with the Environments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetId ¶

func (o *Project) GetId() string

GetId returns the Id field value

func (*Project) GetIdOk ¶

func (o *Project) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Project) GetIncludeInSnippetByDefault ¶

func (o *Project) GetIncludeInSnippetByDefault() bool

GetIncludeInSnippetByDefault returns the IncludeInSnippetByDefault field value

func (*Project) GetIncludeInSnippetByDefaultOk ¶

func (o *Project) GetIncludeInSnippetByDefaultOk() (*bool, bool)

GetIncludeInSnippetByDefaultOk returns a tuple with the IncludeInSnippetByDefault field value and a boolean to check if the value has been set.

func (*Project) GetKey ¶

func (o *Project) GetKey() string

GetKey returns the Key field value

func (*Project) GetKeyOk ¶

func (o *Project) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *Project) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Project) GetLinksOk ¶

func (o *Project) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Project) GetName ¶

func (o *Project) GetName() string

GetName returns the Name field value

func (*Project) GetNameOk ¶

func (o *Project) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Project) GetTags ¶

func (o *Project) GetTags() []string

GetTags returns the Tags field value

func (*Project) GetTagsOk ¶

func (o *Project) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*Project) HasAccess ¶ added in v15.1.0

func (o *Project) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*Project) HasDefaultClientSideAvailability ¶

func (o *Project) HasDefaultClientSideAvailability() bool

HasDefaultClientSideAvailability returns a boolean if a field has been set.

func (*Project) HasDefaultReleasePipelineKey ¶

func (o *Project) HasDefaultReleasePipelineKey() bool

HasDefaultReleasePipelineKey returns a boolean if a field has been set.

func (*Project) HasEnvironments ¶

func (o *Project) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (Project) MarshalJSON ¶

func (o Project) MarshalJSON() ([]byte, error)

func (*Project) SetAccess ¶ added in v15.1.0

func (o *Project) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*Project) SetDefaultClientSideAvailability ¶

func (o *Project) SetDefaultClientSideAvailability(v ClientSideAvailability)

SetDefaultClientSideAvailability gets a reference to the given ClientSideAvailability and assigns it to the DefaultClientSideAvailability field.

func (*Project) SetDefaultReleasePipelineKey ¶

func (o *Project) SetDefaultReleasePipelineKey(v string)

SetDefaultReleasePipelineKey gets a reference to the given string and assigns it to the DefaultReleasePipelineKey field.

func (*Project) SetEnvironments ¶

func (o *Project) SetEnvironments(v Environments)

SetEnvironments gets a reference to the given Environments and assigns it to the Environments field.

func (*Project) SetId ¶

func (o *Project) SetId(v string)

SetId sets field value

func (*Project) SetIncludeInSnippetByDefault ¶

func (o *Project) SetIncludeInSnippetByDefault(v bool)

SetIncludeInSnippetByDefault sets field value

func (*Project) SetKey ¶

func (o *Project) SetKey(v string)

SetKey sets field value

func (o *Project) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Project) SetName ¶

func (o *Project) SetName(v string)

SetName sets field value

func (*Project) SetTags ¶

func (o *Project) SetTags(v []string)

SetTags sets field value

type ProjectPost ¶

type ProjectPost struct {
	// A human-friendly name for the project.
	Name string `json:"name"`
	// A unique key used to reference the project in your code.
	Key string `json:"key"`
	// Whether or not flags created in this project are made available to the client-side JavaScript SDK by default.
	IncludeInSnippetByDefault     *bool                              `json:"includeInSnippetByDefault,omitempty"`
	DefaultClientSideAvailability *DefaultClientSideAvailabilityPost `json:"defaultClientSideAvailability,omitempty"`
	// Tags for the project
	Tags []string `json:"tags,omitempty"`
	// Creates the provided environments for this project. If omitted default environments will be created instead.
	Environments []EnvironmentPost `json:"environments,omitempty"`
}

ProjectPost struct for ProjectPost

func NewProjectPost ¶

func NewProjectPost(name string, key string) *ProjectPost

NewProjectPost instantiates a new ProjectPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectPostWithDefaults ¶

func NewProjectPostWithDefaults() *ProjectPost

NewProjectPostWithDefaults instantiates a new ProjectPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectPost) GetDefaultClientSideAvailability ¶

func (o *ProjectPost) GetDefaultClientSideAvailability() DefaultClientSideAvailabilityPost

GetDefaultClientSideAvailability returns the DefaultClientSideAvailability field value if set, zero value otherwise.

func (*ProjectPost) GetDefaultClientSideAvailabilityOk ¶

func (o *ProjectPost) GetDefaultClientSideAvailabilityOk() (*DefaultClientSideAvailabilityPost, bool)

GetDefaultClientSideAvailabilityOk returns a tuple with the DefaultClientSideAvailability field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectPost) GetEnvironments ¶

func (o *ProjectPost) GetEnvironments() []EnvironmentPost

GetEnvironments returns the Environments field value if set, zero value otherwise.

func (*ProjectPost) GetEnvironmentsOk ¶

func (o *ProjectPost) GetEnvironmentsOk() ([]EnvironmentPost, bool)

GetEnvironmentsOk returns a tuple with the Environments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectPost) GetIncludeInSnippetByDefault ¶

func (o *ProjectPost) GetIncludeInSnippetByDefault() bool

GetIncludeInSnippetByDefault returns the IncludeInSnippetByDefault field value if set, zero value otherwise.

func (*ProjectPost) GetIncludeInSnippetByDefaultOk ¶

func (o *ProjectPost) GetIncludeInSnippetByDefaultOk() (*bool, bool)

GetIncludeInSnippetByDefaultOk returns a tuple with the IncludeInSnippetByDefault field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectPost) GetKey ¶

func (o *ProjectPost) GetKey() string

GetKey returns the Key field value

func (*ProjectPost) GetKeyOk ¶

func (o *ProjectPost) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ProjectPost) GetName ¶

func (o *ProjectPost) GetName() string

GetName returns the Name field value

func (*ProjectPost) GetNameOk ¶

func (o *ProjectPost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ProjectPost) GetTags ¶

func (o *ProjectPost) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ProjectPost) GetTagsOk ¶

func (o *ProjectPost) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectPost) HasDefaultClientSideAvailability ¶

func (o *ProjectPost) HasDefaultClientSideAvailability() bool

HasDefaultClientSideAvailability returns a boolean if a field has been set.

func (*ProjectPost) HasEnvironments ¶

func (o *ProjectPost) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*ProjectPost) HasIncludeInSnippetByDefault ¶

func (o *ProjectPost) HasIncludeInSnippetByDefault() bool

HasIncludeInSnippetByDefault returns a boolean if a field has been set.

func (*ProjectPost) HasTags ¶

func (o *ProjectPost) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ProjectPost) MarshalJSON ¶

func (o ProjectPost) MarshalJSON() ([]byte, error)

func (*ProjectPost) SetDefaultClientSideAvailability ¶

func (o *ProjectPost) SetDefaultClientSideAvailability(v DefaultClientSideAvailabilityPost)

SetDefaultClientSideAvailability gets a reference to the given DefaultClientSideAvailabilityPost and assigns it to the DefaultClientSideAvailability field.

func (*ProjectPost) SetEnvironments ¶

func (o *ProjectPost) SetEnvironments(v []EnvironmentPost)

SetEnvironments gets a reference to the given []EnvironmentPost and assigns it to the Environments field.

func (*ProjectPost) SetIncludeInSnippetByDefault ¶

func (o *ProjectPost) SetIncludeInSnippetByDefault(v bool)

SetIncludeInSnippetByDefault gets a reference to the given bool and assigns it to the IncludeInSnippetByDefault field.

func (*ProjectPost) SetKey ¶

func (o *ProjectPost) SetKey(v string)

SetKey sets field value

func (*ProjectPost) SetName ¶

func (o *ProjectPost) SetName(v string)

SetName sets field value

func (*ProjectPost) SetTags ¶

func (o *ProjectPost) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

type ProjectRep ¶

type ProjectRep struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The ID of this project
	Id string `json:"_id"`
	// The key of this project
	Key string `json:"key"`
	// Whether or not flags created in this project are made available to the client-side JavaScript SDK by default
	IncludeInSnippetByDefault     bool                    `json:"includeInSnippetByDefault"`
	DefaultClientSideAvailability *ClientSideAvailability `json:"defaultClientSideAvailability,omitempty"`
	// A human-friendly name for the project
	Name   string  `json:"name"`
	Access *Access `json:"_access,omitempty"`
	// A list of tags for the project
	Tags []string `json:"tags"`
	// The key of the default release pipeline for this project
	DefaultReleasePipelineKey *string `json:"defaultReleasePipelineKey,omitempty"`
	// A list of environments for the project
	Environments []Environment `json:"environments"`
}

ProjectRep struct for ProjectRep

func NewProjectRep ¶

func NewProjectRep(links map[string]Link, id string, key string, includeInSnippetByDefault bool, name string, tags []string, environments []Environment) *ProjectRep

NewProjectRep instantiates a new ProjectRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectRepWithDefaults ¶

func NewProjectRepWithDefaults() *ProjectRep

NewProjectRepWithDefaults instantiates a new ProjectRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectRep) GetAccess ¶ added in v15.1.0

func (o *ProjectRep) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*ProjectRep) GetAccessOk ¶ added in v15.1.0

func (o *ProjectRep) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectRep) GetDefaultClientSideAvailability ¶

func (o *ProjectRep) GetDefaultClientSideAvailability() ClientSideAvailability

GetDefaultClientSideAvailability returns the DefaultClientSideAvailability field value if set, zero value otherwise.

func (*ProjectRep) GetDefaultClientSideAvailabilityOk ¶

func (o *ProjectRep) GetDefaultClientSideAvailabilityOk() (*ClientSideAvailability, bool)

GetDefaultClientSideAvailabilityOk returns a tuple with the DefaultClientSideAvailability field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectRep) GetDefaultReleasePipelineKey ¶

func (o *ProjectRep) GetDefaultReleasePipelineKey() string

GetDefaultReleasePipelineKey returns the DefaultReleasePipelineKey field value if set, zero value otherwise.

func (*ProjectRep) GetDefaultReleasePipelineKeyOk ¶

func (o *ProjectRep) GetDefaultReleasePipelineKeyOk() (*string, bool)

GetDefaultReleasePipelineKeyOk returns a tuple with the DefaultReleasePipelineKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectRep) GetEnvironments ¶

func (o *ProjectRep) GetEnvironments() []Environment

GetEnvironments returns the Environments field value

func (*ProjectRep) GetEnvironmentsOk ¶

func (o *ProjectRep) GetEnvironmentsOk() ([]Environment, bool)

GetEnvironmentsOk returns a tuple with the Environments field value and a boolean to check if the value has been set.

func (*ProjectRep) GetId ¶

func (o *ProjectRep) GetId() string

GetId returns the Id field value

func (*ProjectRep) GetIdOk ¶

func (o *ProjectRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ProjectRep) GetIncludeInSnippetByDefault ¶

func (o *ProjectRep) GetIncludeInSnippetByDefault() bool

GetIncludeInSnippetByDefault returns the IncludeInSnippetByDefault field value

func (*ProjectRep) GetIncludeInSnippetByDefaultOk ¶

func (o *ProjectRep) GetIncludeInSnippetByDefaultOk() (*bool, bool)

GetIncludeInSnippetByDefaultOk returns a tuple with the IncludeInSnippetByDefault field value and a boolean to check if the value has been set.

func (*ProjectRep) GetKey ¶

func (o *ProjectRep) GetKey() string

GetKey returns the Key field value

func (*ProjectRep) GetKeyOk ¶

func (o *ProjectRep) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *ProjectRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ProjectRep) GetLinksOk ¶

func (o *ProjectRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*ProjectRep) GetName ¶

func (o *ProjectRep) GetName() string

GetName returns the Name field value

func (*ProjectRep) GetNameOk ¶

func (o *ProjectRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ProjectRep) GetTags ¶

func (o *ProjectRep) GetTags() []string

GetTags returns the Tags field value

func (*ProjectRep) GetTagsOk ¶

func (o *ProjectRep) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*ProjectRep) HasAccess ¶ added in v15.1.0

func (o *ProjectRep) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*ProjectRep) HasDefaultClientSideAvailability ¶

func (o *ProjectRep) HasDefaultClientSideAvailability() bool

HasDefaultClientSideAvailability returns a boolean if a field has been set.

func (*ProjectRep) HasDefaultReleasePipelineKey ¶

func (o *ProjectRep) HasDefaultReleasePipelineKey() bool

HasDefaultReleasePipelineKey returns a boolean if a field has been set.

func (ProjectRep) MarshalJSON ¶

func (o ProjectRep) MarshalJSON() ([]byte, error)

func (*ProjectRep) SetAccess ¶ added in v15.1.0

func (o *ProjectRep) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*ProjectRep) SetDefaultClientSideAvailability ¶

func (o *ProjectRep) SetDefaultClientSideAvailability(v ClientSideAvailability)

SetDefaultClientSideAvailability gets a reference to the given ClientSideAvailability and assigns it to the DefaultClientSideAvailability field.

func (*ProjectRep) SetDefaultReleasePipelineKey ¶

func (o *ProjectRep) SetDefaultReleasePipelineKey(v string)

SetDefaultReleasePipelineKey gets a reference to the given string and assigns it to the DefaultReleasePipelineKey field.

func (*ProjectRep) SetEnvironments ¶

func (o *ProjectRep) SetEnvironments(v []Environment)

SetEnvironments sets field value

func (*ProjectRep) SetId ¶

func (o *ProjectRep) SetId(v string)

SetId sets field value

func (*ProjectRep) SetIncludeInSnippetByDefault ¶

func (o *ProjectRep) SetIncludeInSnippetByDefault(v bool)

SetIncludeInSnippetByDefault sets field value

func (*ProjectRep) SetKey ¶

func (o *ProjectRep) SetKey(v string)

SetKey sets field value

func (o *ProjectRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*ProjectRep) SetName ¶

func (o *ProjectRep) SetName(v string)

SetName sets field value

func (*ProjectRep) SetTags ¶

func (o *ProjectRep) SetTags(v []string)

SetTags sets field value

type ProjectSummary ¶

type ProjectSummary struct {
	// The ID of this project
	Id string `json:"_id"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The project key
	Key string `json:"key"`
	// The project name
	Name string `json:"name"`
}

ProjectSummary struct for ProjectSummary

func NewProjectSummary ¶

func NewProjectSummary(id string, links map[string]Link, key string, name string) *ProjectSummary

NewProjectSummary instantiates a new ProjectSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectSummaryWithDefaults ¶

func NewProjectSummaryWithDefaults() *ProjectSummary

NewProjectSummaryWithDefaults instantiates a new ProjectSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectSummary) GetId ¶

func (o *ProjectSummary) GetId() string

GetId returns the Id field value

func (*ProjectSummary) GetIdOk ¶

func (o *ProjectSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ProjectSummary) GetKey ¶

func (o *ProjectSummary) GetKey() string

GetKey returns the Key field value

func (*ProjectSummary) GetKeyOk ¶

func (o *ProjectSummary) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *ProjectSummary) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ProjectSummary) GetLinksOk ¶

func (o *ProjectSummary) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*ProjectSummary) GetName ¶

func (o *ProjectSummary) GetName() string

GetName returns the Name field value

func (*ProjectSummary) GetNameOk ¶

func (o *ProjectSummary) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (ProjectSummary) MarshalJSON ¶

func (o ProjectSummary) MarshalJSON() ([]byte, error)

func (*ProjectSummary) SetId ¶

func (o *ProjectSummary) SetId(v string)

SetId sets field value

func (*ProjectSummary) SetKey ¶

func (o *ProjectSummary) SetKey(v string)

SetKey sets field value

func (o *ProjectSummary) SetLinks(v map[string]Link)

SetLinks sets field value

func (*ProjectSummary) SetName ¶

func (o *ProjectSummary) SetName(v string)

SetName sets field value

type ProjectSummaryCollection ¶

type ProjectSummaryCollection struct {
	TotalCount int32            `json:"totalCount"`
	Items      []ProjectSummary `json:"items"`
	Links      *map[string]Link `json:"_links,omitempty"`
}

ProjectSummaryCollection struct for ProjectSummaryCollection

func NewProjectSummaryCollection ¶

func NewProjectSummaryCollection(totalCount int32, items []ProjectSummary) *ProjectSummaryCollection

NewProjectSummaryCollection instantiates a new ProjectSummaryCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectSummaryCollectionWithDefaults ¶

func NewProjectSummaryCollectionWithDefaults() *ProjectSummaryCollection

NewProjectSummaryCollectionWithDefaults instantiates a new ProjectSummaryCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectSummaryCollection) GetItems ¶

func (o *ProjectSummaryCollection) GetItems() []ProjectSummary

GetItems returns the Items field value

func (*ProjectSummaryCollection) GetItemsOk ¶

func (o *ProjectSummaryCollection) GetItemsOk() ([]ProjectSummary, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *ProjectSummaryCollection) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ProjectSummaryCollection) GetLinksOk ¶

func (o *ProjectSummaryCollection) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectSummaryCollection) GetTotalCount ¶

func (o *ProjectSummaryCollection) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*ProjectSummaryCollection) GetTotalCountOk ¶

func (o *ProjectSummaryCollection) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (o *ProjectSummaryCollection) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (ProjectSummaryCollection) MarshalJSON ¶

func (o ProjectSummaryCollection) MarshalJSON() ([]byte, error)

func (*ProjectSummaryCollection) SetItems ¶

func (o *ProjectSummaryCollection) SetItems(v []ProjectSummary)

SetItems sets field value

func (o *ProjectSummaryCollection) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ProjectSummaryCollection) SetTotalCount ¶

func (o *ProjectSummaryCollection) SetTotalCount(v int32)

SetTotalCount sets field value

type Projects ¶

type Projects struct {
	// A link to this resource.
	Links map[string]Link `json:"_links"`
	// List of projects.
	Items      []Project `json:"items"`
	TotalCount *int32    `json:"totalCount,omitempty"`
}

Projects struct for Projects

func NewProjects ¶

func NewProjects(links map[string]Link, items []Project) *Projects

NewProjects instantiates a new Projects object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectsWithDefaults ¶

func NewProjectsWithDefaults() *Projects

NewProjectsWithDefaults instantiates a new Projects object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Projects) GetItems ¶

func (o *Projects) GetItems() []Project

GetItems returns the Items field value

func (*Projects) GetItemsOk ¶

func (o *Projects) GetItemsOk() ([]Project, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *Projects) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Projects) GetLinksOk ¶

func (o *Projects) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Projects) GetTotalCount ¶

func (o *Projects) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*Projects) GetTotalCountOk ¶

func (o *Projects) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Projects) HasTotalCount ¶

func (o *Projects) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (Projects) MarshalJSON ¶

func (o Projects) MarshalJSON() ([]byte, error)

func (*Projects) SetItems ¶

func (o *Projects) SetItems(v []Project)

SetItems sets field value

func (o *Projects) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Projects) SetTotalCount ¶

func (o *Projects) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type ProjectsApiService ¶

type ProjectsApiService service

ProjectsApiService ProjectsApi service

func (*ProjectsApiService) DeleteProject ¶

func (a *ProjectsApiService) DeleteProject(ctx context.Context, projectKey string) ApiDeleteProjectRequest

DeleteProject Delete project

Delete a project by key. Use this endpoint with caution. Deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiDeleteProjectRequest

func (*ProjectsApiService) DeleteProjectExecute ¶

func (a *ProjectsApiService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)

Execute executes the request

func (*ProjectsApiService) GetFlagDefaultsByProject ¶

func (a *ProjectsApiService) GetFlagDefaultsByProject(ctx context.Context, projectKey string) ApiGetFlagDefaultsByProjectRequest

GetFlagDefaultsByProject Get flag defaults for project

Get the flag defaults for a specific project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiGetFlagDefaultsByProjectRequest

func (*ProjectsApiService) GetFlagDefaultsByProjectExecute ¶

func (a *ProjectsApiService) GetFlagDefaultsByProjectExecute(r ApiGetFlagDefaultsByProjectRequest) (*FlagDefaultsRep, *http.Response, error)

Execute executes the request

@return FlagDefaultsRep

func (*ProjectsApiService) GetProject ¶

func (a *ProjectsApiService) GetProject(ctx context.Context, projectKey string) ApiGetProjectRequest

GetProject Get project

Get a single project by key.

### Expanding the project response

LaunchDarkly supports one field for expanding the "Get project" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with any of the following fields: * `environments` includes a paginated list of the project environments.

For example, `expand=environments` includes the `environments` field for the project in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key.
@return ApiGetProjectRequest

func (*ProjectsApiService) GetProjectExecute ¶

func (a *ProjectsApiService) GetProjectExecute(r ApiGetProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*ProjectsApiService) GetProjects ¶

GetProjects List projects

Return a list of projects.

By default, this returns the first 20 projects. Page through this list with the `limit` parameter and by following the `first`, `prev`, `next`, and `last` links in the `_links` field that returns. If those links do not appear, the pages they refer to don't exist. For example, the `first` and `prev` links will be missing from the response on the first page, because there is no previous page and you cannot return to the first page when you are already on the first page.

### Filtering projects

LaunchDarkly supports two fields for filters: - `query` is a string that matches against the projects' names and keys. It is not case sensitive. - `tags` is a `+`-separated list of project tags. It filters the list of projects that have all of the tags in the list.

For example, the filter `filter=query:abc,tags:tag-1+tag-2` matches projects with the string `abc` in their name or key and also are tagged with `tag-1` and `tag-2`. The filter is not case-sensitive.

The documented values for `filter` query parameters are prior to URL encoding. For example, the `+` in `filter=tags:tag-1+tag-2` must be encoded to `%2B`.

### Sorting projects

LaunchDarkly supports two fields for sorting: - `name` sorts by project name. - `createdOn` sorts by the creation date of the project.

For example, `sort=name` sorts the response by project name in ascending order.

### Expanding the projects response

LaunchDarkly supports one field for expanding the "List projects" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with the `environments` field.

`Environments` includes a paginated list of the project environments. * `environments` includes a paginated list of the project environments.

For example, `expand=environments` includes the `environments` field for each project in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetProjectsRequest

func (*ProjectsApiService) GetProjectsExecute ¶

func (a *ProjectsApiService) GetProjectsExecute(r ApiGetProjectsRequest) (*Projects, *http.Response, error)

Execute executes the request

@return Projects

func (*ProjectsApiService) PatchFlagDefaultsByProject ¶

func (a *ProjectsApiService) PatchFlagDefaultsByProject(ctx context.Context, projectKey string) ApiPatchFlagDefaultsByProjectRequest

PatchFlagDefaultsByProject Update flag default for project

Update a flag default. Updating a flag default uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiPatchFlagDefaultsByProjectRequest

func (*ProjectsApiService) PatchFlagDefaultsByProjectExecute ¶

func (a *ProjectsApiService) PatchFlagDefaultsByProjectExecute(r ApiPatchFlagDefaultsByProjectRequest) (*UpsertPayloadRep, *http.Response, error)

Execute executes the request

@return UpsertPayloadRep

func (*ProjectsApiService) PatchProject ¶

func (a *ProjectsApiService) PatchProject(ctx context.Context, projectKey string) ApiPatchProjectRequest

PatchProject Update project

Update a project. Updating a project uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).<br/><br/>To add an element to the project fields that are arrays, set the `path` to the name of the field and then append `/<array index>`. Use `/0` to add to the beginning of the array. Use `/-` to add to the end of the array.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiPatchProjectRequest

func (*ProjectsApiService) PatchProjectExecute ¶

func (a *ProjectsApiService) PatchProjectExecute(r ApiPatchProjectRequest) (*ProjectRep, *http.Response, error)

Execute executes the request

@return ProjectRep

func (*ProjectsApiService) PostProject ¶

PostProject Create project

Create a new project with the given key and name. Project keys must be unique within an account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostProjectRequest

func (*ProjectsApiService) PostProjectExecute ¶

func (a *ProjectsApiService) PostProjectExecute(r ApiPostProjectRequest) (*ProjectRep, *http.Response, error)

Execute executes the request

@return ProjectRep

func (*ProjectsApiService) PutFlagDefaultsByProject ¶

func (a *ProjectsApiService) PutFlagDefaultsByProject(ctx context.Context, projectKey string) ApiPutFlagDefaultsByProjectRequest

PutFlagDefaultsByProject Create or update flag defaults for project

Create or update flag defaults for a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiPutFlagDefaultsByProjectRequest

func (*ProjectsApiService) PutFlagDefaultsByProjectExecute ¶

func (a *ProjectsApiService) PutFlagDefaultsByProjectExecute(r ApiPutFlagDefaultsByProjectRequest) (*UpsertPayloadRep, *http.Response, error)

Execute executes the request

@return UpsertPayloadRep

type PullRequestCollectionRep ¶

type PullRequestCollectionRep struct {
	// The total number of pull requests
	TotalCount int32 `json:"totalCount"`
	// A list of pull requests
	Items []PullRequestRep `json:"items"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

PullRequestCollectionRep struct for PullRequestCollectionRep

func NewPullRequestCollectionRep ¶

func NewPullRequestCollectionRep(totalCount int32, items []PullRequestRep) *PullRequestCollectionRep

NewPullRequestCollectionRep instantiates a new PullRequestCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullRequestCollectionRepWithDefaults ¶

func NewPullRequestCollectionRepWithDefaults() *PullRequestCollectionRep

NewPullRequestCollectionRepWithDefaults instantiates a new PullRequestCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullRequestCollectionRep) GetItems ¶

func (o *PullRequestCollectionRep) GetItems() []PullRequestRep

GetItems returns the Items field value

func (*PullRequestCollectionRep) GetItemsOk ¶

func (o *PullRequestCollectionRep) GetItemsOk() ([]PullRequestRep, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *PullRequestCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*PullRequestCollectionRep) GetLinksOk ¶

func (o *PullRequestCollectionRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestCollectionRep) GetTotalCount ¶

func (o *PullRequestCollectionRep) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*PullRequestCollectionRep) GetTotalCountOk ¶

func (o *PullRequestCollectionRep) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (o *PullRequestCollectionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (PullRequestCollectionRep) MarshalJSON ¶

func (o PullRequestCollectionRep) MarshalJSON() ([]byte, error)

func (*PullRequestCollectionRep) SetItems ¶

func (o *PullRequestCollectionRep) SetItems(v []PullRequestRep)

SetItems sets field value

func (o *PullRequestCollectionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*PullRequestCollectionRep) SetTotalCount ¶

func (o *PullRequestCollectionRep) SetTotalCount(v int32)

SetTotalCount sets field value

type PullRequestLeadTimeRep ¶

type PullRequestLeadTimeRep struct {
	// The coding duration in milliseconds
	CodingDurationMs int64 `json:"codingDurationMs"`
	// The review duration in milliseconds
	ReviewDurationMs *int64 `json:"reviewDurationMs,omitempty"`
	// The max wait duration between merge time and deploy start time in milliseconds
	MaxWaitDurationMs *int64 `json:"maxWaitDurationMs,omitempty"`
	// The average wait duration between merge time and deploy start time in milliseconds
	AvgWaitDurationMs *int64 `json:"avgWaitDurationMs,omitempty"`
	// The max deploy duration in milliseconds
	MaxDeployDurationMs *int64 `json:"maxDeployDurationMs,omitempty"`
	// The average deploy duration in milliseconds
	AvgDeployDurationMs *int64 `json:"avgDeployDurationMs,omitempty"`
	// The max total lead time in milliseconds
	MaxTotalLeadTimeMs *int64 `json:"maxTotalLeadTimeMs,omitempty"`
	// The average total lead time in milliseconds
	AvgTotalLeadTimeMs *int64 `json:"avgTotalLeadTimeMs,omitempty"`
}

PullRequestLeadTimeRep struct for PullRequestLeadTimeRep

func NewPullRequestLeadTimeRep ¶

func NewPullRequestLeadTimeRep(codingDurationMs int64) *PullRequestLeadTimeRep

NewPullRequestLeadTimeRep instantiates a new PullRequestLeadTimeRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullRequestLeadTimeRepWithDefaults ¶

func NewPullRequestLeadTimeRepWithDefaults() *PullRequestLeadTimeRep

NewPullRequestLeadTimeRepWithDefaults instantiates a new PullRequestLeadTimeRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullRequestLeadTimeRep) GetAvgDeployDurationMs ¶

func (o *PullRequestLeadTimeRep) GetAvgDeployDurationMs() int64

GetAvgDeployDurationMs returns the AvgDeployDurationMs field value if set, zero value otherwise.

func (*PullRequestLeadTimeRep) GetAvgDeployDurationMsOk ¶

func (o *PullRequestLeadTimeRep) GetAvgDeployDurationMsOk() (*int64, bool)

GetAvgDeployDurationMsOk returns a tuple with the AvgDeployDurationMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLeadTimeRep) GetAvgTotalLeadTimeMs ¶

func (o *PullRequestLeadTimeRep) GetAvgTotalLeadTimeMs() int64

GetAvgTotalLeadTimeMs returns the AvgTotalLeadTimeMs field value if set, zero value otherwise.

func (*PullRequestLeadTimeRep) GetAvgTotalLeadTimeMsOk ¶

func (o *PullRequestLeadTimeRep) GetAvgTotalLeadTimeMsOk() (*int64, bool)

GetAvgTotalLeadTimeMsOk returns a tuple with the AvgTotalLeadTimeMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLeadTimeRep) GetAvgWaitDurationMs ¶

func (o *PullRequestLeadTimeRep) GetAvgWaitDurationMs() int64

GetAvgWaitDurationMs returns the AvgWaitDurationMs field value if set, zero value otherwise.

func (*PullRequestLeadTimeRep) GetAvgWaitDurationMsOk ¶

func (o *PullRequestLeadTimeRep) GetAvgWaitDurationMsOk() (*int64, bool)

GetAvgWaitDurationMsOk returns a tuple with the AvgWaitDurationMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLeadTimeRep) GetCodingDurationMs ¶

func (o *PullRequestLeadTimeRep) GetCodingDurationMs() int64

GetCodingDurationMs returns the CodingDurationMs field value

func (*PullRequestLeadTimeRep) GetCodingDurationMsOk ¶

func (o *PullRequestLeadTimeRep) GetCodingDurationMsOk() (*int64, bool)

GetCodingDurationMsOk returns a tuple with the CodingDurationMs field value and a boolean to check if the value has been set.

func (*PullRequestLeadTimeRep) GetMaxDeployDurationMs ¶

func (o *PullRequestLeadTimeRep) GetMaxDeployDurationMs() int64

GetMaxDeployDurationMs returns the MaxDeployDurationMs field value if set, zero value otherwise.

func (*PullRequestLeadTimeRep) GetMaxDeployDurationMsOk ¶

func (o *PullRequestLeadTimeRep) GetMaxDeployDurationMsOk() (*int64, bool)

GetMaxDeployDurationMsOk returns a tuple with the MaxDeployDurationMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLeadTimeRep) GetMaxTotalLeadTimeMs ¶

func (o *PullRequestLeadTimeRep) GetMaxTotalLeadTimeMs() int64

GetMaxTotalLeadTimeMs returns the MaxTotalLeadTimeMs field value if set, zero value otherwise.

func (*PullRequestLeadTimeRep) GetMaxTotalLeadTimeMsOk ¶

func (o *PullRequestLeadTimeRep) GetMaxTotalLeadTimeMsOk() (*int64, bool)

GetMaxTotalLeadTimeMsOk returns a tuple with the MaxTotalLeadTimeMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLeadTimeRep) GetMaxWaitDurationMs ¶

func (o *PullRequestLeadTimeRep) GetMaxWaitDurationMs() int64

GetMaxWaitDurationMs returns the MaxWaitDurationMs field value if set, zero value otherwise.

func (*PullRequestLeadTimeRep) GetMaxWaitDurationMsOk ¶

func (o *PullRequestLeadTimeRep) GetMaxWaitDurationMsOk() (*int64, bool)

GetMaxWaitDurationMsOk returns a tuple with the MaxWaitDurationMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLeadTimeRep) GetReviewDurationMs ¶

func (o *PullRequestLeadTimeRep) GetReviewDurationMs() int64

GetReviewDurationMs returns the ReviewDurationMs field value if set, zero value otherwise.

func (*PullRequestLeadTimeRep) GetReviewDurationMsOk ¶

func (o *PullRequestLeadTimeRep) GetReviewDurationMsOk() (*int64, bool)

GetReviewDurationMsOk returns a tuple with the ReviewDurationMs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLeadTimeRep) HasAvgDeployDurationMs ¶

func (o *PullRequestLeadTimeRep) HasAvgDeployDurationMs() bool

HasAvgDeployDurationMs returns a boolean if a field has been set.

func (*PullRequestLeadTimeRep) HasAvgTotalLeadTimeMs ¶

func (o *PullRequestLeadTimeRep) HasAvgTotalLeadTimeMs() bool

HasAvgTotalLeadTimeMs returns a boolean if a field has been set.

func (*PullRequestLeadTimeRep) HasAvgWaitDurationMs ¶

func (o *PullRequestLeadTimeRep) HasAvgWaitDurationMs() bool

HasAvgWaitDurationMs returns a boolean if a field has been set.

func (*PullRequestLeadTimeRep) HasMaxDeployDurationMs ¶

func (o *PullRequestLeadTimeRep) HasMaxDeployDurationMs() bool

HasMaxDeployDurationMs returns a boolean if a field has been set.

func (*PullRequestLeadTimeRep) HasMaxTotalLeadTimeMs ¶

func (o *PullRequestLeadTimeRep) HasMaxTotalLeadTimeMs() bool

HasMaxTotalLeadTimeMs returns a boolean if a field has been set.

func (*PullRequestLeadTimeRep) HasMaxWaitDurationMs ¶

func (o *PullRequestLeadTimeRep) HasMaxWaitDurationMs() bool

HasMaxWaitDurationMs returns a boolean if a field has been set.

func (*PullRequestLeadTimeRep) HasReviewDurationMs ¶

func (o *PullRequestLeadTimeRep) HasReviewDurationMs() bool

HasReviewDurationMs returns a boolean if a field has been set.

func (PullRequestLeadTimeRep) MarshalJSON ¶

func (o PullRequestLeadTimeRep) MarshalJSON() ([]byte, error)

func (*PullRequestLeadTimeRep) SetAvgDeployDurationMs ¶

func (o *PullRequestLeadTimeRep) SetAvgDeployDurationMs(v int64)

SetAvgDeployDurationMs gets a reference to the given int64 and assigns it to the AvgDeployDurationMs field.

func (*PullRequestLeadTimeRep) SetAvgTotalLeadTimeMs ¶

func (o *PullRequestLeadTimeRep) SetAvgTotalLeadTimeMs(v int64)

SetAvgTotalLeadTimeMs gets a reference to the given int64 and assigns it to the AvgTotalLeadTimeMs field.

func (*PullRequestLeadTimeRep) SetAvgWaitDurationMs ¶

func (o *PullRequestLeadTimeRep) SetAvgWaitDurationMs(v int64)

SetAvgWaitDurationMs gets a reference to the given int64 and assigns it to the AvgWaitDurationMs field.

func (*PullRequestLeadTimeRep) SetCodingDurationMs ¶

func (o *PullRequestLeadTimeRep) SetCodingDurationMs(v int64)

SetCodingDurationMs sets field value

func (*PullRequestLeadTimeRep) SetMaxDeployDurationMs ¶

func (o *PullRequestLeadTimeRep) SetMaxDeployDurationMs(v int64)

SetMaxDeployDurationMs gets a reference to the given int64 and assigns it to the MaxDeployDurationMs field.

func (*PullRequestLeadTimeRep) SetMaxTotalLeadTimeMs ¶

func (o *PullRequestLeadTimeRep) SetMaxTotalLeadTimeMs(v int64)

SetMaxTotalLeadTimeMs gets a reference to the given int64 and assigns it to the MaxTotalLeadTimeMs field.

func (*PullRequestLeadTimeRep) SetMaxWaitDurationMs ¶

func (o *PullRequestLeadTimeRep) SetMaxWaitDurationMs(v int64)

SetMaxWaitDurationMs gets a reference to the given int64 and assigns it to the MaxWaitDurationMs field.

func (*PullRequestLeadTimeRep) SetReviewDurationMs ¶

func (o *PullRequestLeadTimeRep) SetReviewDurationMs(v int64)

SetReviewDurationMs gets a reference to the given int64 and assigns it to the ReviewDurationMs field.

type PullRequestRep ¶

type PullRequestRep struct {
	// The pull request internal ID
	Id string `json:"id"`
	// The pull request number
	ExternalId string `json:"externalId"`
	// The pull request title
	Title string `json:"title"`
	// The pull request status
	Status string `json:"status"`
	// The pull request author
	Author     string `json:"author"`
	CreateTime int64  `json:"createTime"`
	MergeTime  *int64 `json:"mergeTime,omitempty"`
	// The pull request merge commit key
	MergeCommitKey *string `json:"mergeCommitKey,omitempty"`
	// The pull request base commit key
	BaseCommitKey string `json:"baseCommitKey"`
	// The pull request head commit key
	HeadCommitKey string `json:"headCommitKey"`
	// The number of files changed
	FilesChanged int32 `json:"filesChanged"`
	// The number of lines added
	LinesAdded int32 `json:"linesAdded"`
	// The number of lines deleted
	LinesDeleted int32 `json:"linesDeleted"`
	// The pull request URL
	Url            string                      `json:"url"`
	Deployments    *DeploymentCollectionRep    `json:"deployments,omitempty"`
	FlagReferences *FlagReferenceCollectionRep `json:"flagReferences,omitempty"`
	LeadTime       *PullRequestLeadTimeRep     `json:"leadTime,omitempty"`
}

PullRequestRep struct for PullRequestRep

func NewPullRequestRep ¶

func NewPullRequestRep(id string, externalId string, title string, status string, author string, createTime int64, baseCommitKey string, headCommitKey string, filesChanged int32, linesAdded int32, linesDeleted int32, url string) *PullRequestRep

NewPullRequestRep instantiates a new PullRequestRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullRequestRepWithDefaults ¶

func NewPullRequestRepWithDefaults() *PullRequestRep

NewPullRequestRepWithDefaults instantiates a new PullRequestRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullRequestRep) GetAuthor ¶

func (o *PullRequestRep) GetAuthor() string

GetAuthor returns the Author field value

func (*PullRequestRep) GetAuthorOk ¶

func (o *PullRequestRep) GetAuthorOk() (*string, bool)

GetAuthorOk returns a tuple with the Author field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetBaseCommitKey ¶

func (o *PullRequestRep) GetBaseCommitKey() string

GetBaseCommitKey returns the BaseCommitKey field value

func (*PullRequestRep) GetBaseCommitKeyOk ¶

func (o *PullRequestRep) GetBaseCommitKeyOk() (*string, bool)

GetBaseCommitKeyOk returns a tuple with the BaseCommitKey field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetCreateTime ¶

func (o *PullRequestRep) GetCreateTime() int64

GetCreateTime returns the CreateTime field value

func (*PullRequestRep) GetCreateTimeOk ¶

func (o *PullRequestRep) GetCreateTimeOk() (*int64, bool)

GetCreateTimeOk returns a tuple with the CreateTime field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetDeployments ¶

func (o *PullRequestRep) GetDeployments() DeploymentCollectionRep

GetDeployments returns the Deployments field value if set, zero value otherwise.

func (*PullRequestRep) GetDeploymentsOk ¶

func (o *PullRequestRep) GetDeploymentsOk() (*DeploymentCollectionRep, bool)

GetDeploymentsOk returns a tuple with the Deployments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestRep) GetExternalId ¶

func (o *PullRequestRep) GetExternalId() string

GetExternalId returns the ExternalId field value

func (*PullRequestRep) GetExternalIdOk ¶

func (o *PullRequestRep) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetFilesChanged ¶

func (o *PullRequestRep) GetFilesChanged() int32

GetFilesChanged returns the FilesChanged field value

func (*PullRequestRep) GetFilesChangedOk ¶

func (o *PullRequestRep) GetFilesChangedOk() (*int32, bool)

GetFilesChangedOk returns a tuple with the FilesChanged field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetFlagReferences ¶

func (o *PullRequestRep) GetFlagReferences() FlagReferenceCollectionRep

GetFlagReferences returns the FlagReferences field value if set, zero value otherwise.

func (*PullRequestRep) GetFlagReferencesOk ¶

func (o *PullRequestRep) GetFlagReferencesOk() (*FlagReferenceCollectionRep, bool)

GetFlagReferencesOk returns a tuple with the FlagReferences field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestRep) GetHeadCommitKey ¶

func (o *PullRequestRep) GetHeadCommitKey() string

GetHeadCommitKey returns the HeadCommitKey field value

func (*PullRequestRep) GetHeadCommitKeyOk ¶

func (o *PullRequestRep) GetHeadCommitKeyOk() (*string, bool)

GetHeadCommitKeyOk returns a tuple with the HeadCommitKey field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetId ¶

func (o *PullRequestRep) GetId() string

GetId returns the Id field value

func (*PullRequestRep) GetIdOk ¶

func (o *PullRequestRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetLeadTime ¶

func (o *PullRequestRep) GetLeadTime() PullRequestLeadTimeRep

GetLeadTime returns the LeadTime field value if set, zero value otherwise.

func (*PullRequestRep) GetLeadTimeOk ¶

func (o *PullRequestRep) GetLeadTimeOk() (*PullRequestLeadTimeRep, bool)

GetLeadTimeOk returns a tuple with the LeadTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestRep) GetLinesAdded ¶

func (o *PullRequestRep) GetLinesAdded() int32

GetLinesAdded returns the LinesAdded field value

func (*PullRequestRep) GetLinesAddedOk ¶

func (o *PullRequestRep) GetLinesAddedOk() (*int32, bool)

GetLinesAddedOk returns a tuple with the LinesAdded field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetLinesDeleted ¶

func (o *PullRequestRep) GetLinesDeleted() int32

GetLinesDeleted returns the LinesDeleted field value

func (*PullRequestRep) GetLinesDeletedOk ¶

func (o *PullRequestRep) GetLinesDeletedOk() (*int32, bool)

GetLinesDeletedOk returns a tuple with the LinesDeleted field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetMergeCommitKey ¶

func (o *PullRequestRep) GetMergeCommitKey() string

GetMergeCommitKey returns the MergeCommitKey field value if set, zero value otherwise.

func (*PullRequestRep) GetMergeCommitKeyOk ¶

func (o *PullRequestRep) GetMergeCommitKeyOk() (*string, bool)

GetMergeCommitKeyOk returns a tuple with the MergeCommitKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestRep) GetMergeTime ¶

func (o *PullRequestRep) GetMergeTime() int64

GetMergeTime returns the MergeTime field value if set, zero value otherwise.

func (*PullRequestRep) GetMergeTimeOk ¶

func (o *PullRequestRep) GetMergeTimeOk() (*int64, bool)

GetMergeTimeOk returns a tuple with the MergeTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestRep) GetStatus ¶

func (o *PullRequestRep) GetStatus() string

GetStatus returns the Status field value

func (*PullRequestRep) GetStatusOk ¶

func (o *PullRequestRep) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetTitle ¶

func (o *PullRequestRep) GetTitle() string

GetTitle returns the Title field value

func (*PullRequestRep) GetTitleOk ¶

func (o *PullRequestRep) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*PullRequestRep) GetUrl ¶

func (o *PullRequestRep) GetUrl() string

GetUrl returns the Url field value

func (*PullRequestRep) GetUrlOk ¶

func (o *PullRequestRep) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*PullRequestRep) HasDeployments ¶

func (o *PullRequestRep) HasDeployments() bool

HasDeployments returns a boolean if a field has been set.

func (*PullRequestRep) HasFlagReferences ¶

func (o *PullRequestRep) HasFlagReferences() bool

HasFlagReferences returns a boolean if a field has been set.

func (*PullRequestRep) HasLeadTime ¶

func (o *PullRequestRep) HasLeadTime() bool

HasLeadTime returns a boolean if a field has been set.

func (*PullRequestRep) HasMergeCommitKey ¶

func (o *PullRequestRep) HasMergeCommitKey() bool

HasMergeCommitKey returns a boolean if a field has been set.

func (*PullRequestRep) HasMergeTime ¶

func (o *PullRequestRep) HasMergeTime() bool

HasMergeTime returns a boolean if a field has been set.

func (PullRequestRep) MarshalJSON ¶

func (o PullRequestRep) MarshalJSON() ([]byte, error)

func (*PullRequestRep) SetAuthor ¶

func (o *PullRequestRep) SetAuthor(v string)

SetAuthor sets field value

func (*PullRequestRep) SetBaseCommitKey ¶

func (o *PullRequestRep) SetBaseCommitKey(v string)

SetBaseCommitKey sets field value

func (*PullRequestRep) SetCreateTime ¶

func (o *PullRequestRep) SetCreateTime(v int64)

SetCreateTime sets field value

func (*PullRequestRep) SetDeployments ¶

func (o *PullRequestRep) SetDeployments(v DeploymentCollectionRep)

SetDeployments gets a reference to the given DeploymentCollectionRep and assigns it to the Deployments field.

func (*PullRequestRep) SetExternalId ¶

func (o *PullRequestRep) SetExternalId(v string)

SetExternalId sets field value

func (*PullRequestRep) SetFilesChanged ¶

func (o *PullRequestRep) SetFilesChanged(v int32)

SetFilesChanged sets field value

func (*PullRequestRep) SetFlagReferences ¶

func (o *PullRequestRep) SetFlagReferences(v FlagReferenceCollectionRep)

SetFlagReferences gets a reference to the given FlagReferenceCollectionRep and assigns it to the FlagReferences field.

func (*PullRequestRep) SetHeadCommitKey ¶

func (o *PullRequestRep) SetHeadCommitKey(v string)

SetHeadCommitKey sets field value

func (*PullRequestRep) SetId ¶

func (o *PullRequestRep) SetId(v string)

SetId sets field value

func (*PullRequestRep) SetLeadTime ¶

func (o *PullRequestRep) SetLeadTime(v PullRequestLeadTimeRep)

SetLeadTime gets a reference to the given PullRequestLeadTimeRep and assigns it to the LeadTime field.

func (*PullRequestRep) SetLinesAdded ¶

func (o *PullRequestRep) SetLinesAdded(v int32)

SetLinesAdded sets field value

func (*PullRequestRep) SetLinesDeleted ¶

func (o *PullRequestRep) SetLinesDeleted(v int32)

SetLinesDeleted sets field value

func (*PullRequestRep) SetMergeCommitKey ¶

func (o *PullRequestRep) SetMergeCommitKey(v string)

SetMergeCommitKey gets a reference to the given string and assigns it to the MergeCommitKey field.

func (*PullRequestRep) SetMergeTime ¶

func (o *PullRequestRep) SetMergeTime(v int64)

SetMergeTime gets a reference to the given int64 and assigns it to the MergeTime field.

func (*PullRequestRep) SetStatus ¶

func (o *PullRequestRep) SetStatus(v string)

SetStatus sets field value

func (*PullRequestRep) SetTitle ¶

func (o *PullRequestRep) SetTitle(v string)

SetTitle sets field value

func (*PullRequestRep) SetUrl ¶

func (o *PullRequestRep) SetUrl(v string)

SetUrl sets field value

type PutBranch ¶

type PutBranch struct {
	// The branch name
	Name string `json:"name"`
	// An ID representing the branch HEAD. For example, a commit SHA.
	Head string `json:"head"`
	// An optional ID used to prevent older data from overwriting newer data. If no sequence ID is included, the newly submitted data will always be saved.
	UpdateSequenceId *int64 `json:"updateSequenceId,omitempty"`
	SyncTime         int64  `json:"syncTime"`
	// An array of flag references found on the branch
	References []ReferenceRep `json:"references,omitempty"`
	CommitTime *int64         `json:"commitTime,omitempty"`
}

PutBranch struct for PutBranch

func NewPutBranch ¶

func NewPutBranch(name string, head string, syncTime int64) *PutBranch

NewPutBranch instantiates a new PutBranch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPutBranchWithDefaults ¶

func NewPutBranchWithDefaults() *PutBranch

NewPutBranchWithDefaults instantiates a new PutBranch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PutBranch) GetCommitTime ¶

func (o *PutBranch) GetCommitTime() int64

GetCommitTime returns the CommitTime field value if set, zero value otherwise.

func (*PutBranch) GetCommitTimeOk ¶

func (o *PutBranch) GetCommitTimeOk() (*int64, bool)

GetCommitTimeOk returns a tuple with the CommitTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PutBranch) GetHead ¶

func (o *PutBranch) GetHead() string

GetHead returns the Head field value

func (*PutBranch) GetHeadOk ¶

func (o *PutBranch) GetHeadOk() (*string, bool)

GetHeadOk returns a tuple with the Head field value and a boolean to check if the value has been set.

func (*PutBranch) GetName ¶

func (o *PutBranch) GetName() string

GetName returns the Name field value

func (*PutBranch) GetNameOk ¶

func (o *PutBranch) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PutBranch) GetReferences ¶

func (o *PutBranch) GetReferences() []ReferenceRep

GetReferences returns the References field value if set, zero value otherwise.

func (*PutBranch) GetReferencesOk ¶

func (o *PutBranch) GetReferencesOk() ([]ReferenceRep, bool)

GetReferencesOk returns a tuple with the References field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PutBranch) GetSyncTime ¶

func (o *PutBranch) GetSyncTime() int64

GetSyncTime returns the SyncTime field value

func (*PutBranch) GetSyncTimeOk ¶

func (o *PutBranch) GetSyncTimeOk() (*int64, bool)

GetSyncTimeOk returns a tuple with the SyncTime field value and a boolean to check if the value has been set.

func (*PutBranch) GetUpdateSequenceId ¶

func (o *PutBranch) GetUpdateSequenceId() int64

GetUpdateSequenceId returns the UpdateSequenceId field value if set, zero value otherwise.

func (*PutBranch) GetUpdateSequenceIdOk ¶

func (o *PutBranch) GetUpdateSequenceIdOk() (*int64, bool)

GetUpdateSequenceIdOk returns a tuple with the UpdateSequenceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PutBranch) HasCommitTime ¶

func (o *PutBranch) HasCommitTime() bool

HasCommitTime returns a boolean if a field has been set.

func (*PutBranch) HasReferences ¶

func (o *PutBranch) HasReferences() bool

HasReferences returns a boolean if a field has been set.

func (*PutBranch) HasUpdateSequenceId ¶

func (o *PutBranch) HasUpdateSequenceId() bool

HasUpdateSequenceId returns a boolean if a field has been set.

func (PutBranch) MarshalJSON ¶

func (o PutBranch) MarshalJSON() ([]byte, error)

func (*PutBranch) SetCommitTime ¶

func (o *PutBranch) SetCommitTime(v int64)

SetCommitTime gets a reference to the given int64 and assigns it to the CommitTime field.

func (*PutBranch) SetHead ¶

func (o *PutBranch) SetHead(v string)

SetHead sets field value

func (*PutBranch) SetName ¶

func (o *PutBranch) SetName(v string)

SetName sets field value

func (*PutBranch) SetReferences ¶

func (o *PutBranch) SetReferences(v []ReferenceRep)

SetReferences gets a reference to the given []ReferenceRep and assigns it to the References field.

func (*PutBranch) SetSyncTime ¶

func (o *PutBranch) SetSyncTime(v int64)

SetSyncTime sets field value

func (*PutBranch) SetUpdateSequenceId ¶

func (o *PutBranch) SetUpdateSequenceId(v int64)

SetUpdateSequenceId gets a reference to the given int64 and assigns it to the UpdateSequenceId field.

type RandomizationSettingsPut ¶

type RandomizationSettingsPut struct {
	// An array of randomization units allowed for this project.
	RandomizationUnits []RandomizationUnitInput `json:"randomizationUnits"`
}

RandomizationSettingsPut struct for RandomizationSettingsPut

func NewRandomizationSettingsPut ¶

func NewRandomizationSettingsPut(randomizationUnits []RandomizationUnitInput) *RandomizationSettingsPut

NewRandomizationSettingsPut instantiates a new RandomizationSettingsPut object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRandomizationSettingsPutWithDefaults ¶

func NewRandomizationSettingsPutWithDefaults() *RandomizationSettingsPut

NewRandomizationSettingsPutWithDefaults instantiates a new RandomizationSettingsPut object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RandomizationSettingsPut) GetRandomizationUnits ¶

func (o *RandomizationSettingsPut) GetRandomizationUnits() []RandomizationUnitInput

GetRandomizationUnits returns the RandomizationUnits field value

func (*RandomizationSettingsPut) GetRandomizationUnitsOk ¶

func (o *RandomizationSettingsPut) GetRandomizationUnitsOk() ([]RandomizationUnitInput, bool)

GetRandomizationUnitsOk returns a tuple with the RandomizationUnits field value and a boolean to check if the value has been set.

func (RandomizationSettingsPut) MarshalJSON ¶

func (o RandomizationSettingsPut) MarshalJSON() ([]byte, error)

func (*RandomizationSettingsPut) SetRandomizationUnits ¶

func (o *RandomizationSettingsPut) SetRandomizationUnits(v []RandomizationUnitInput)

SetRandomizationUnits sets field value

type RandomizationSettingsRep ¶

type RandomizationSettingsRep struct {
	// The project ID
	ProjectId *string `json:"_projectId,omitempty"`
	// The project key
	ProjectKey *string `json:"_projectKey,omitempty"`
	// An array of the randomization units in this project
	RandomizationUnits []RandomizationUnitRep `json:"randomizationUnits,omitempty"`
	CreationDate       *int64                 `json:"_creationDate,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

RandomizationSettingsRep struct for RandomizationSettingsRep

func NewRandomizationSettingsRep ¶

func NewRandomizationSettingsRep() *RandomizationSettingsRep

NewRandomizationSettingsRep instantiates a new RandomizationSettingsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRandomizationSettingsRepWithDefaults ¶

func NewRandomizationSettingsRepWithDefaults() *RandomizationSettingsRep

NewRandomizationSettingsRepWithDefaults instantiates a new RandomizationSettingsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RandomizationSettingsRep) GetCreationDate ¶

func (o *RandomizationSettingsRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*RandomizationSettingsRep) GetCreationDateOk ¶

func (o *RandomizationSettingsRep) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *RandomizationSettingsRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*RandomizationSettingsRep) GetLinksOk ¶

func (o *RandomizationSettingsRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RandomizationSettingsRep) GetProjectId ¶

func (o *RandomizationSettingsRep) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*RandomizationSettingsRep) GetProjectIdOk ¶

func (o *RandomizationSettingsRep) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RandomizationSettingsRep) GetProjectKey ¶

func (o *RandomizationSettingsRep) GetProjectKey() string

GetProjectKey returns the ProjectKey field value if set, zero value otherwise.

func (*RandomizationSettingsRep) GetProjectKeyOk ¶

func (o *RandomizationSettingsRep) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RandomizationSettingsRep) GetRandomizationUnits ¶

func (o *RandomizationSettingsRep) GetRandomizationUnits() []RandomizationUnitRep

GetRandomizationUnits returns the RandomizationUnits field value if set, zero value otherwise.

func (*RandomizationSettingsRep) GetRandomizationUnitsOk ¶

func (o *RandomizationSettingsRep) GetRandomizationUnitsOk() ([]RandomizationUnitRep, bool)

GetRandomizationUnitsOk returns a tuple with the RandomizationUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RandomizationSettingsRep) HasCreationDate ¶

func (o *RandomizationSettingsRep) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (o *RandomizationSettingsRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RandomizationSettingsRep) HasProjectId ¶

func (o *RandomizationSettingsRep) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*RandomizationSettingsRep) HasProjectKey ¶

func (o *RandomizationSettingsRep) HasProjectKey() bool

HasProjectKey returns a boolean if a field has been set.

func (*RandomizationSettingsRep) HasRandomizationUnits ¶

func (o *RandomizationSettingsRep) HasRandomizationUnits() bool

HasRandomizationUnits returns a boolean if a field has been set.

func (RandomizationSettingsRep) MarshalJSON ¶

func (o RandomizationSettingsRep) MarshalJSON() ([]byte, error)

func (*RandomizationSettingsRep) SetCreationDate ¶

func (o *RandomizationSettingsRep) SetCreationDate(v int64)

SetCreationDate gets a reference to the given int64 and assigns it to the CreationDate field.

func (o *RandomizationSettingsRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*RandomizationSettingsRep) SetProjectId ¶

func (o *RandomizationSettingsRep) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*RandomizationSettingsRep) SetProjectKey ¶

func (o *RandomizationSettingsRep) SetProjectKey(v string)

SetProjectKey gets a reference to the given string and assigns it to the ProjectKey field.

func (*RandomizationSettingsRep) SetRandomizationUnits ¶

func (o *RandomizationSettingsRep) SetRandomizationUnits(v []RandomizationUnitRep)

SetRandomizationUnits gets a reference to the given []RandomizationUnitRep and assigns it to the RandomizationUnits field.

type RandomizationUnitInput ¶

type RandomizationUnitInput struct {
	// The unit of randomization. Must match the key of an existing context kind in this project.
	RandomizationUnit string `json:"randomizationUnit"`
	// If true, any experiment iterations created within this project will default to using this randomization unit. A project can only have one default randomization unit.
	Default bool `json:"default"`
	// One of LaunchDarkly's fixed set of standard randomization units.
	StandardRandomizationUnit string `json:"standardRandomizationUnit"`
}

RandomizationUnitInput struct for RandomizationUnitInput

func NewRandomizationUnitInput ¶

func NewRandomizationUnitInput(randomizationUnit string, default_ bool, standardRandomizationUnit string) *RandomizationUnitInput

NewRandomizationUnitInput instantiates a new RandomizationUnitInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRandomizationUnitInputWithDefaults ¶

func NewRandomizationUnitInputWithDefaults() *RandomizationUnitInput

NewRandomizationUnitInputWithDefaults instantiates a new RandomizationUnitInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RandomizationUnitInput) GetDefault ¶

func (o *RandomizationUnitInput) GetDefault() bool

GetDefault returns the Default field value

func (*RandomizationUnitInput) GetDefaultOk ¶

func (o *RandomizationUnitInput) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value and a boolean to check if the value has been set.

func (*RandomizationUnitInput) GetRandomizationUnit ¶

func (o *RandomizationUnitInput) GetRandomizationUnit() string

GetRandomizationUnit returns the RandomizationUnit field value

func (*RandomizationUnitInput) GetRandomizationUnitOk ¶

func (o *RandomizationUnitInput) GetRandomizationUnitOk() (*string, bool)

GetRandomizationUnitOk returns a tuple with the RandomizationUnit field value and a boolean to check if the value has been set.

func (*RandomizationUnitInput) GetStandardRandomizationUnit ¶

func (o *RandomizationUnitInput) GetStandardRandomizationUnit() string

GetStandardRandomizationUnit returns the StandardRandomizationUnit field value

func (*RandomizationUnitInput) GetStandardRandomizationUnitOk ¶

func (o *RandomizationUnitInput) GetStandardRandomizationUnitOk() (*string, bool)

GetStandardRandomizationUnitOk returns a tuple with the StandardRandomizationUnit field value and a boolean to check if the value has been set.

func (RandomizationUnitInput) MarshalJSON ¶

func (o RandomizationUnitInput) MarshalJSON() ([]byte, error)

func (*RandomizationUnitInput) SetDefault ¶

func (o *RandomizationUnitInput) SetDefault(v bool)

SetDefault sets field value

func (*RandomizationUnitInput) SetRandomizationUnit ¶

func (o *RandomizationUnitInput) SetRandomizationUnit(v string)

SetRandomizationUnit sets field value

func (*RandomizationUnitInput) SetStandardRandomizationUnit ¶

func (o *RandomizationUnitInput) SetStandardRandomizationUnit(v string)

SetStandardRandomizationUnit sets field value

type RandomizationUnitRep ¶

type RandomizationUnitRep struct {
	// The unit of randomization. Defaults to user.
	RandomizationUnit *string `json:"randomizationUnit,omitempty"`
	// One of LaunchDarkly's fixed set of standard randomization units.
	StandardRandomizationUnit *string `json:"standardRandomizationUnit,omitempty"`
	// Whether this randomization unit is the default for experiments
	Default *bool `json:"default,omitempty"`
	Hidden  *bool `json:"_hidden,omitempty"`
	// The display name for the randomization unit, displayed in the LaunchDarkly user interface.
	DisplayName *string `json:"_displayName,omitempty"`
}

RandomizationUnitRep struct for RandomizationUnitRep

func NewRandomizationUnitRep ¶

func NewRandomizationUnitRep() *RandomizationUnitRep

NewRandomizationUnitRep instantiates a new RandomizationUnitRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRandomizationUnitRepWithDefaults ¶

func NewRandomizationUnitRepWithDefaults() *RandomizationUnitRep

NewRandomizationUnitRepWithDefaults instantiates a new RandomizationUnitRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RandomizationUnitRep) GetDefault ¶

func (o *RandomizationUnitRep) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*RandomizationUnitRep) GetDefaultOk ¶

func (o *RandomizationUnitRep) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RandomizationUnitRep) GetDisplayName ¶

func (o *RandomizationUnitRep) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*RandomizationUnitRep) GetDisplayNameOk ¶

func (o *RandomizationUnitRep) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RandomizationUnitRep) GetHidden ¶

func (o *RandomizationUnitRep) GetHidden() bool

GetHidden returns the Hidden field value if set, zero value otherwise.

func (*RandomizationUnitRep) GetHiddenOk ¶

func (o *RandomizationUnitRep) GetHiddenOk() (*bool, bool)

GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RandomizationUnitRep) GetRandomizationUnit ¶

func (o *RandomizationUnitRep) GetRandomizationUnit() string

GetRandomizationUnit returns the RandomizationUnit field value if set, zero value otherwise.

func (*RandomizationUnitRep) GetRandomizationUnitOk ¶

func (o *RandomizationUnitRep) GetRandomizationUnitOk() (*string, bool)

GetRandomizationUnitOk returns a tuple with the RandomizationUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RandomizationUnitRep) GetStandardRandomizationUnit ¶

func (o *RandomizationUnitRep) GetStandardRandomizationUnit() string

GetStandardRandomizationUnit returns the StandardRandomizationUnit field value if set, zero value otherwise.

func (*RandomizationUnitRep) GetStandardRandomizationUnitOk ¶

func (o *RandomizationUnitRep) GetStandardRandomizationUnitOk() (*string, bool)

GetStandardRandomizationUnitOk returns a tuple with the StandardRandomizationUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RandomizationUnitRep) HasDefault ¶

func (o *RandomizationUnitRep) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*RandomizationUnitRep) HasDisplayName ¶

func (o *RandomizationUnitRep) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*RandomizationUnitRep) HasHidden ¶

func (o *RandomizationUnitRep) HasHidden() bool

HasHidden returns a boolean if a field has been set.

func (*RandomizationUnitRep) HasRandomizationUnit ¶

func (o *RandomizationUnitRep) HasRandomizationUnit() bool

HasRandomizationUnit returns a boolean if a field has been set.

func (*RandomizationUnitRep) HasStandardRandomizationUnit ¶

func (o *RandomizationUnitRep) HasStandardRandomizationUnit() bool

HasStandardRandomizationUnit returns a boolean if a field has been set.

func (RandomizationUnitRep) MarshalJSON ¶

func (o RandomizationUnitRep) MarshalJSON() ([]byte, error)

func (*RandomizationUnitRep) SetDefault ¶

func (o *RandomizationUnitRep) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*RandomizationUnitRep) SetDisplayName ¶

func (o *RandomizationUnitRep) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*RandomizationUnitRep) SetHidden ¶

func (o *RandomizationUnitRep) SetHidden(v bool)

SetHidden gets a reference to the given bool and assigns it to the Hidden field.

func (*RandomizationUnitRep) SetRandomizationUnit ¶

func (o *RandomizationUnitRep) SetRandomizationUnit(v string)

SetRandomizationUnit gets a reference to the given string and assigns it to the RandomizationUnit field.

func (*RandomizationUnitRep) SetStandardRandomizationUnit ¶

func (o *RandomizationUnitRep) SetStandardRandomizationUnit(v string)

SetStandardRandomizationUnit gets a reference to the given string and assigns it to the StandardRandomizationUnit field.

type RateLimitedErrorRep ¶

type RateLimitedErrorRep struct {
	// Specific error code encountered
	Code string `json:"code"`
	// Description of the error
	Message string `json:"message"`
}

RateLimitedErrorRep struct for RateLimitedErrorRep

func NewRateLimitedErrorRep ¶

func NewRateLimitedErrorRep(code string, message string) *RateLimitedErrorRep

NewRateLimitedErrorRep instantiates a new RateLimitedErrorRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRateLimitedErrorRepWithDefaults ¶

func NewRateLimitedErrorRepWithDefaults() *RateLimitedErrorRep

NewRateLimitedErrorRepWithDefaults instantiates a new RateLimitedErrorRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RateLimitedErrorRep) GetCode ¶

func (o *RateLimitedErrorRep) GetCode() string

GetCode returns the Code field value

func (*RateLimitedErrorRep) GetCodeOk ¶

func (o *RateLimitedErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*RateLimitedErrorRep) GetMessage ¶

func (o *RateLimitedErrorRep) GetMessage() string

GetMessage returns the Message field value

func (*RateLimitedErrorRep) GetMessageOk ¶

func (o *RateLimitedErrorRep) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (RateLimitedErrorRep) MarshalJSON ¶

func (o RateLimitedErrorRep) MarshalJSON() ([]byte, error)

func (*RateLimitedErrorRep) SetCode ¶

func (o *RateLimitedErrorRep) SetCode(v string)

SetCode sets field value

func (*RateLimitedErrorRep) SetMessage ¶

func (o *RateLimitedErrorRep) SetMessage(v string)

SetMessage sets field value

type RecentTriggerBody ¶

type RecentTriggerBody struct {
	Timestamp *int64 `json:"timestamp,omitempty"`
	// The marshalled JSON request body for the incoming trigger webhook. If this is empty or contains invalid JSON, the timestamp is recorded but this field will be empty.
	JsonBody map[string]interface{} `json:"jsonBody,omitempty"`
}

RecentTriggerBody struct for RecentTriggerBody

func NewRecentTriggerBody ¶

func NewRecentTriggerBody() *RecentTriggerBody

NewRecentTriggerBody instantiates a new RecentTriggerBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRecentTriggerBodyWithDefaults ¶

func NewRecentTriggerBodyWithDefaults() *RecentTriggerBody

NewRecentTriggerBodyWithDefaults instantiates a new RecentTriggerBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RecentTriggerBody) GetJsonBody ¶

func (o *RecentTriggerBody) GetJsonBody() map[string]interface{}

GetJsonBody returns the JsonBody field value if set, zero value otherwise.

func (*RecentTriggerBody) GetJsonBodyOk ¶

func (o *RecentTriggerBody) GetJsonBodyOk() (map[string]interface{}, bool)

GetJsonBodyOk returns a tuple with the JsonBody field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecentTriggerBody) GetTimestamp ¶

func (o *RecentTriggerBody) GetTimestamp() int64

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*RecentTriggerBody) GetTimestampOk ¶

func (o *RecentTriggerBody) GetTimestampOk() (*int64, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecentTriggerBody) HasJsonBody ¶

func (o *RecentTriggerBody) HasJsonBody() bool

HasJsonBody returns a boolean if a field has been set.

func (*RecentTriggerBody) HasTimestamp ¶

func (o *RecentTriggerBody) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (RecentTriggerBody) MarshalJSON ¶

func (o RecentTriggerBody) MarshalJSON() ([]byte, error)

func (*RecentTriggerBody) SetJsonBody ¶

func (o *RecentTriggerBody) SetJsonBody(v map[string]interface{})

SetJsonBody gets a reference to the given map[string]interface{} and assigns it to the JsonBody field.

func (*RecentTriggerBody) SetTimestamp ¶

func (o *RecentTriggerBody) SetTimestamp(v int64)

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

type ReferenceRep ¶

type ReferenceRep struct {
	// File path of the reference
	Path string `json:"path"`
	// Programming language used in the file
	Hint  *string   `json:"hint,omitempty"`
	Hunks []HunkRep `json:"hunks"`
}

ReferenceRep struct for ReferenceRep

func NewReferenceRep ¶

func NewReferenceRep(path string, hunks []HunkRep) *ReferenceRep

NewReferenceRep instantiates a new ReferenceRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReferenceRepWithDefaults ¶

func NewReferenceRepWithDefaults() *ReferenceRep

NewReferenceRepWithDefaults instantiates a new ReferenceRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReferenceRep) GetHint ¶

func (o *ReferenceRep) GetHint() string

GetHint returns the Hint field value if set, zero value otherwise.

func (*ReferenceRep) GetHintOk ¶

func (o *ReferenceRep) GetHintOk() (*string, bool)

GetHintOk returns a tuple with the Hint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReferenceRep) GetHunks ¶

func (o *ReferenceRep) GetHunks() []HunkRep

GetHunks returns the Hunks field value

func (*ReferenceRep) GetHunksOk ¶

func (o *ReferenceRep) GetHunksOk() ([]HunkRep, bool)

GetHunksOk returns a tuple with the Hunks field value and a boolean to check if the value has been set.

func (*ReferenceRep) GetPath ¶

func (o *ReferenceRep) GetPath() string

GetPath returns the Path field value

func (*ReferenceRep) GetPathOk ¶

func (o *ReferenceRep) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*ReferenceRep) HasHint ¶

func (o *ReferenceRep) HasHint() bool

HasHint returns a boolean if a field has been set.

func (ReferenceRep) MarshalJSON ¶

func (o ReferenceRep) MarshalJSON() ([]byte, error)

func (*ReferenceRep) SetHint ¶

func (o *ReferenceRep) SetHint(v string)

SetHint gets a reference to the given string and assigns it to the Hint field.

func (*ReferenceRep) SetHunks ¶

func (o *ReferenceRep) SetHunks(v []HunkRep)

SetHunks sets field value

func (*ReferenceRep) SetPath ¶

func (o *ReferenceRep) SetPath(v string)

SetPath sets field value

type RelativeDifferenceRep ¶

type RelativeDifferenceRep struct {
	// An upper bound of the relative difference between the treatment and the <code>fromTreatmentId</code>
	Upper *float32 `json:"upper,omitempty"`
	// A lower bound of the relative difference between the treatment and the <code>fromTreatmentId</code>
	Lower *float32 `json:"lower,omitempty"`
	// The treatment ID of the treatment against which the relative difference is calculated
	FromTreatmentId *string `json:"fromTreatmentId,omitempty"`
}

RelativeDifferenceRep struct for RelativeDifferenceRep

func NewRelativeDifferenceRep ¶

func NewRelativeDifferenceRep() *RelativeDifferenceRep

NewRelativeDifferenceRep instantiates a new RelativeDifferenceRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRelativeDifferenceRepWithDefaults ¶

func NewRelativeDifferenceRepWithDefaults() *RelativeDifferenceRep

NewRelativeDifferenceRepWithDefaults instantiates a new RelativeDifferenceRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RelativeDifferenceRep) GetFromTreatmentId ¶

func (o *RelativeDifferenceRep) GetFromTreatmentId() string

GetFromTreatmentId returns the FromTreatmentId field value if set, zero value otherwise.

func (*RelativeDifferenceRep) GetFromTreatmentIdOk ¶

func (o *RelativeDifferenceRep) GetFromTreatmentIdOk() (*string, bool)

GetFromTreatmentIdOk returns a tuple with the FromTreatmentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelativeDifferenceRep) GetLower ¶

func (o *RelativeDifferenceRep) GetLower() float32

GetLower returns the Lower field value if set, zero value otherwise.

func (*RelativeDifferenceRep) GetLowerOk ¶

func (o *RelativeDifferenceRep) GetLowerOk() (*float32, bool)

GetLowerOk returns a tuple with the Lower field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelativeDifferenceRep) GetUpper ¶

func (o *RelativeDifferenceRep) GetUpper() float32

GetUpper returns the Upper field value if set, zero value otherwise.

func (*RelativeDifferenceRep) GetUpperOk ¶

func (o *RelativeDifferenceRep) GetUpperOk() (*float32, bool)

GetUpperOk returns a tuple with the Upper field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelativeDifferenceRep) HasFromTreatmentId ¶

func (o *RelativeDifferenceRep) HasFromTreatmentId() bool

HasFromTreatmentId returns a boolean if a field has been set.

func (*RelativeDifferenceRep) HasLower ¶

func (o *RelativeDifferenceRep) HasLower() bool

HasLower returns a boolean if a field has been set.

func (*RelativeDifferenceRep) HasUpper ¶

func (o *RelativeDifferenceRep) HasUpper() bool

HasUpper returns a boolean if a field has been set.

func (RelativeDifferenceRep) MarshalJSON ¶

func (o RelativeDifferenceRep) MarshalJSON() ([]byte, error)

func (*RelativeDifferenceRep) SetFromTreatmentId ¶

func (o *RelativeDifferenceRep) SetFromTreatmentId(v string)

SetFromTreatmentId gets a reference to the given string and assigns it to the FromTreatmentId field.

func (*RelativeDifferenceRep) SetLower ¶

func (o *RelativeDifferenceRep) SetLower(v float32)

SetLower gets a reference to the given float32 and assigns it to the Lower field.

func (*RelativeDifferenceRep) SetUpper ¶

func (o *RelativeDifferenceRep) SetUpper(v float32)

SetUpper gets a reference to the given float32 and assigns it to the Upper field.

type RelayAutoConfigCollectionRep ¶

type RelayAutoConfigCollectionRep struct {
	// An array of Relay Proxy configurations
	Items []RelayAutoConfigRep `json:"items"`
}

RelayAutoConfigCollectionRep struct for RelayAutoConfigCollectionRep

func NewRelayAutoConfigCollectionRep ¶

func NewRelayAutoConfigCollectionRep(items []RelayAutoConfigRep) *RelayAutoConfigCollectionRep

NewRelayAutoConfigCollectionRep instantiates a new RelayAutoConfigCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRelayAutoConfigCollectionRepWithDefaults ¶

func NewRelayAutoConfigCollectionRepWithDefaults() *RelayAutoConfigCollectionRep

NewRelayAutoConfigCollectionRepWithDefaults instantiates a new RelayAutoConfigCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RelayAutoConfigCollectionRep) GetItems ¶

GetItems returns the Items field value

func (*RelayAutoConfigCollectionRep) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (RelayAutoConfigCollectionRep) MarshalJSON ¶

func (o RelayAutoConfigCollectionRep) MarshalJSON() ([]byte, error)

func (*RelayAutoConfigCollectionRep) SetItems ¶

SetItems sets field value

type RelayAutoConfigPost ¶

type RelayAutoConfigPost struct {
	// A human-friendly name for the Relay Proxy configuration
	Name string `json:"name"`
	// A description of what environments and projects the Relay Proxy should include or exclude. To learn more, read [Writing an inline policy](https://docs.launchdarkly.com/home/relay-proxy/automatic-configuration#writing-an-inline-policy).
	Policy []Statement `json:"policy"`
}

RelayAutoConfigPost struct for RelayAutoConfigPost

func NewRelayAutoConfigPost ¶

func NewRelayAutoConfigPost(name string, policy []Statement) *RelayAutoConfigPost

NewRelayAutoConfigPost instantiates a new RelayAutoConfigPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRelayAutoConfigPostWithDefaults ¶

func NewRelayAutoConfigPostWithDefaults() *RelayAutoConfigPost

NewRelayAutoConfigPostWithDefaults instantiates a new RelayAutoConfigPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RelayAutoConfigPost) GetName ¶

func (o *RelayAutoConfigPost) GetName() string

GetName returns the Name field value

func (*RelayAutoConfigPost) GetNameOk ¶

func (o *RelayAutoConfigPost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RelayAutoConfigPost) GetPolicy ¶

func (o *RelayAutoConfigPost) GetPolicy() []Statement

GetPolicy returns the Policy field value

func (*RelayAutoConfigPost) GetPolicyOk ¶

func (o *RelayAutoConfigPost) GetPolicyOk() ([]Statement, bool)

GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.

func (RelayAutoConfigPost) MarshalJSON ¶

func (o RelayAutoConfigPost) MarshalJSON() ([]byte, error)

func (*RelayAutoConfigPost) SetName ¶

func (o *RelayAutoConfigPost) SetName(v string)

SetName sets field value

func (*RelayAutoConfigPost) SetPolicy ¶

func (o *RelayAutoConfigPost) SetPolicy(v []Statement)

SetPolicy sets field value

type RelayAutoConfigRep ¶

type RelayAutoConfigRep struct {
	Id      string         `json:"_id"`
	Creator *MemberSummary `json:"_creator,omitempty"`
	Access  *Access        `json:"_access,omitempty"`
	// A human-friendly name for the Relay Proxy configuration
	Name string `json:"name"`
	// A description of what environments and projects the Relay Proxy should include or exclude
	Policy []Statement `json:"policy"`
	// The Relay Proxy configuration key
	FullKey string `json:"fullKey"`
	// The last few characters of the Relay Proxy configuration key, displayed in the LaunchDarkly UI
	DisplayKey   string `json:"displayKey"`
	CreationDate int64  `json:"creationDate"`
	LastModified int64  `json:"lastModified"`
}

RelayAutoConfigRep struct for RelayAutoConfigRep

func NewRelayAutoConfigRep ¶

func NewRelayAutoConfigRep(id string, name string, policy []Statement, fullKey string, displayKey string, creationDate int64, lastModified int64) *RelayAutoConfigRep

NewRelayAutoConfigRep instantiates a new RelayAutoConfigRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRelayAutoConfigRepWithDefaults ¶

func NewRelayAutoConfigRepWithDefaults() *RelayAutoConfigRep

NewRelayAutoConfigRepWithDefaults instantiates a new RelayAutoConfigRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RelayAutoConfigRep) GetAccess ¶

func (o *RelayAutoConfigRep) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*RelayAutoConfigRep) GetAccessOk ¶

func (o *RelayAutoConfigRep) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelayAutoConfigRep) GetCreationDate ¶

func (o *RelayAutoConfigRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*RelayAutoConfigRep) GetCreationDateOk ¶

func (o *RelayAutoConfigRep) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*RelayAutoConfigRep) GetCreator ¶

func (o *RelayAutoConfigRep) GetCreator() MemberSummary

GetCreator returns the Creator field value if set, zero value otherwise.

func (*RelayAutoConfigRep) GetCreatorOk ¶

func (o *RelayAutoConfigRep) GetCreatorOk() (*MemberSummary, bool)

GetCreatorOk returns a tuple with the Creator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelayAutoConfigRep) GetDisplayKey ¶

func (o *RelayAutoConfigRep) GetDisplayKey() string

GetDisplayKey returns the DisplayKey field value

func (*RelayAutoConfigRep) GetDisplayKeyOk ¶

func (o *RelayAutoConfigRep) GetDisplayKeyOk() (*string, bool)

GetDisplayKeyOk returns a tuple with the DisplayKey field value and a boolean to check if the value has been set.

func (*RelayAutoConfigRep) GetFullKey ¶

func (o *RelayAutoConfigRep) GetFullKey() string

GetFullKey returns the FullKey field value

func (*RelayAutoConfigRep) GetFullKeyOk ¶

func (o *RelayAutoConfigRep) GetFullKeyOk() (*string, bool)

GetFullKeyOk returns a tuple with the FullKey field value and a boolean to check if the value has been set.

func (*RelayAutoConfigRep) GetId ¶

func (o *RelayAutoConfigRep) GetId() string

GetId returns the Id field value

func (*RelayAutoConfigRep) GetIdOk ¶

func (o *RelayAutoConfigRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RelayAutoConfigRep) GetLastModified ¶

func (o *RelayAutoConfigRep) GetLastModified() int64

GetLastModified returns the LastModified field value

func (*RelayAutoConfigRep) GetLastModifiedOk ¶

func (o *RelayAutoConfigRep) GetLastModifiedOk() (*int64, bool)

GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set.

func (*RelayAutoConfigRep) GetName ¶

func (o *RelayAutoConfigRep) GetName() string

GetName returns the Name field value

func (*RelayAutoConfigRep) GetNameOk ¶

func (o *RelayAutoConfigRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RelayAutoConfigRep) GetPolicy ¶

func (o *RelayAutoConfigRep) GetPolicy() []Statement

GetPolicy returns the Policy field value

func (*RelayAutoConfigRep) GetPolicyOk ¶

func (o *RelayAutoConfigRep) GetPolicyOk() ([]Statement, bool)

GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.

func (*RelayAutoConfigRep) HasAccess ¶

func (o *RelayAutoConfigRep) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*RelayAutoConfigRep) HasCreator ¶

func (o *RelayAutoConfigRep) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (RelayAutoConfigRep) MarshalJSON ¶

func (o RelayAutoConfigRep) MarshalJSON() ([]byte, error)

func (*RelayAutoConfigRep) SetAccess ¶

func (o *RelayAutoConfigRep) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*RelayAutoConfigRep) SetCreationDate ¶

func (o *RelayAutoConfigRep) SetCreationDate(v int64)

SetCreationDate sets field value

func (*RelayAutoConfigRep) SetCreator ¶

func (o *RelayAutoConfigRep) SetCreator(v MemberSummary)

SetCreator gets a reference to the given MemberSummary and assigns it to the Creator field.

func (*RelayAutoConfigRep) SetDisplayKey ¶

func (o *RelayAutoConfigRep) SetDisplayKey(v string)

SetDisplayKey sets field value

func (*RelayAutoConfigRep) SetFullKey ¶

func (o *RelayAutoConfigRep) SetFullKey(v string)

SetFullKey sets field value

func (*RelayAutoConfigRep) SetId ¶

func (o *RelayAutoConfigRep) SetId(v string)

SetId sets field value

func (*RelayAutoConfigRep) SetLastModified ¶

func (o *RelayAutoConfigRep) SetLastModified(v int64)

SetLastModified sets field value

func (*RelayAutoConfigRep) SetName ¶

func (o *RelayAutoConfigRep) SetName(v string)

SetName sets field value

func (*RelayAutoConfigRep) SetPolicy ¶

func (o *RelayAutoConfigRep) SetPolicy(v []Statement)

SetPolicy sets field value

type RelayProxyConfigurationsApiService ¶

type RelayProxyConfigurationsApiService service

RelayProxyConfigurationsApiService RelayProxyConfigurationsApi service

func (*RelayProxyConfigurationsApiService) DeleteRelayAutoConfig ¶

DeleteRelayAutoConfig Delete Relay Proxy config by ID

Delete a Relay Proxy config.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The relay auto config id
@return ApiDeleteRelayAutoConfigRequest

func (*RelayProxyConfigurationsApiService) DeleteRelayAutoConfigExecute ¶

Execute executes the request

func (*RelayProxyConfigurationsApiService) GetRelayProxyConfig ¶

GetRelayProxyConfig Get Relay Proxy config

Get a single Relay Proxy auto config by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The relay auto config id
@return ApiGetRelayProxyConfigRequest

func (*RelayProxyConfigurationsApiService) GetRelayProxyConfigExecute ¶

Execute executes the request

@return RelayAutoConfigRep

func (*RelayProxyConfigurationsApiService) GetRelayProxyConfigs ¶

GetRelayProxyConfigs List Relay Proxy configs

Get a list of Relay Proxy configurations in the account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetRelayProxyConfigsRequest

func (*RelayProxyConfigurationsApiService) GetRelayProxyConfigsExecute ¶

Execute executes the request

@return RelayAutoConfigCollectionRep

func (*RelayProxyConfigurationsApiService) PatchRelayAutoConfig ¶

PatchRelayAutoConfig Update a Relay Proxy config

Update a Relay Proxy configuration. Updating a configuration uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The relay auto config id
@return ApiPatchRelayAutoConfigRequest

func (*RelayProxyConfigurationsApiService) PatchRelayAutoConfigExecute ¶

Execute executes the request

@return RelayAutoConfigRep

func (*RelayProxyConfigurationsApiService) PostRelayAutoConfig ¶

PostRelayAutoConfig Create a new Relay Proxy config

Create a Relay Proxy config.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostRelayAutoConfigRequest

func (*RelayProxyConfigurationsApiService) PostRelayAutoConfigExecute ¶

Execute executes the request

@return RelayAutoConfigRep

func (*RelayProxyConfigurationsApiService) ResetRelayAutoConfig ¶

ResetRelayAutoConfig Reset Relay Proxy configuration key

Reset a Relay Proxy configuration's secret key with an optional expiry time for the old key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The Relay Proxy configuration ID
@return ApiResetRelayAutoConfigRequest

func (*RelayProxyConfigurationsApiService) ResetRelayAutoConfigExecute ¶

Execute executes the request

@return RelayAutoConfigRep

type Release ¶

type Release struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// The release pipeline name
	Name string `json:"name"`
	// The release pipeline key
	ReleasePipelineKey string `json:"releasePipelineKey"`
	// The release pipeline description
	ReleasePipelineDescription string `json:"releasePipelineDescription"`
	// An ordered list of the release pipeline phases
	Phases []ReleasePhase `json:"phases"`
	// The release version
	Version int32 `json:"_version"`
}

Release struct for Release

func NewRelease ¶

func NewRelease(name string, releasePipelineKey string, releasePipelineDescription string, phases []ReleasePhase, version int32) *Release

NewRelease instantiates a new Release object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReleaseWithDefaults ¶

func NewReleaseWithDefaults() *Release

NewReleaseWithDefaults instantiates a new Release object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *Release) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Release) GetLinksOk ¶

func (o *Release) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Release) GetName ¶

func (o *Release) GetName() string

GetName returns the Name field value

func (*Release) GetNameOk ¶

func (o *Release) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Release) GetPhases ¶

func (o *Release) GetPhases() []ReleasePhase

GetPhases returns the Phases field value

func (*Release) GetPhasesOk ¶

func (o *Release) GetPhasesOk() ([]ReleasePhase, bool)

GetPhasesOk returns a tuple with the Phases field value and a boolean to check if the value has been set.

func (*Release) GetReleasePipelineDescription ¶

func (o *Release) GetReleasePipelineDescription() string

GetReleasePipelineDescription returns the ReleasePipelineDescription field value

func (*Release) GetReleasePipelineDescriptionOk ¶

func (o *Release) GetReleasePipelineDescriptionOk() (*string, bool)

GetReleasePipelineDescriptionOk returns a tuple with the ReleasePipelineDescription field value and a boolean to check if the value has been set.

func (*Release) GetReleasePipelineKey ¶

func (o *Release) GetReleasePipelineKey() string

GetReleasePipelineKey returns the ReleasePipelineKey field value

func (*Release) GetReleasePipelineKeyOk ¶

func (o *Release) GetReleasePipelineKeyOk() (*string, bool)

GetReleasePipelineKeyOk returns a tuple with the ReleasePipelineKey field value and a boolean to check if the value has been set.

func (*Release) GetVersion ¶

func (o *Release) GetVersion() int32

GetVersion returns the Version field value

func (*Release) GetVersionOk ¶

func (o *Release) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (o *Release) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (Release) MarshalJSON ¶

func (o Release) MarshalJSON() ([]byte, error)
func (o *Release) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*Release) SetName ¶

func (o *Release) SetName(v string)

SetName sets field value

func (*Release) SetPhases ¶

func (o *Release) SetPhases(v []ReleasePhase)

SetPhases sets field value

func (*Release) SetReleasePipelineDescription ¶

func (o *Release) SetReleasePipelineDescription(v string)

SetReleasePipelineDescription sets field value

func (*Release) SetReleasePipelineKey ¶

func (o *Release) SetReleasePipelineKey(v string)

SetReleasePipelineKey sets field value

func (*Release) SetVersion ¶

func (o *Release) SetVersion(v int32)

SetVersion sets field value

type ReleaseAudience ¶ added in v15.1.0

type ReleaseAudience struct {
	Environment EnvironmentSummary `json:"environment"`
	// The release phase name
	Name string `json:"name"`
}

ReleaseAudience struct for ReleaseAudience

func NewReleaseAudience ¶ added in v15.1.0

func NewReleaseAudience(environment EnvironmentSummary, name string) *ReleaseAudience

NewReleaseAudience instantiates a new ReleaseAudience object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReleaseAudienceWithDefaults ¶ added in v15.1.0

func NewReleaseAudienceWithDefaults() *ReleaseAudience

NewReleaseAudienceWithDefaults instantiates a new ReleaseAudience object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReleaseAudience) GetEnvironment ¶ added in v15.1.0

func (o *ReleaseAudience) GetEnvironment() EnvironmentSummary

GetEnvironment returns the Environment field value

func (*ReleaseAudience) GetEnvironmentOk ¶ added in v15.1.0

func (o *ReleaseAudience) GetEnvironmentOk() (*EnvironmentSummary, bool)

GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.

func (*ReleaseAudience) GetName ¶ added in v15.1.0

func (o *ReleaseAudience) GetName() string

GetName returns the Name field value

func (*ReleaseAudience) GetNameOk ¶ added in v15.1.0

func (o *ReleaseAudience) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (ReleaseAudience) MarshalJSON ¶ added in v15.1.0

func (o ReleaseAudience) MarshalJSON() ([]byte, error)

func (*ReleaseAudience) SetEnvironment ¶ added in v15.1.0

func (o *ReleaseAudience) SetEnvironment(v EnvironmentSummary)

SetEnvironment sets field value

func (*ReleaseAudience) SetName ¶ added in v15.1.0

func (o *ReleaseAudience) SetName(v string)

SetName sets field value

type ReleasePhase ¶

type ReleasePhase struct {
	// The phase ID
	Id string `json:"_id"`
	// The release phase name
	Name string `json:"_name"`
	// Whether this phase is complete
	Complete       bool         `json:"complete"`
	CreationDate   int64        `json:"_creationDate"`
	CompletionDate *int64       `json:"_completionDate,omitempty"`
	CompletedBy    *CompletedBy `json:"_completedBy,omitempty"`
	// A logical grouping of one or more environments that share attributes for rolling out changes
	Audiences []ReleaseAudience `json:"_audiences"`
}

ReleasePhase struct for ReleasePhase

func NewReleasePhase ¶

func NewReleasePhase(id string, name string, complete bool, creationDate int64, audiences []ReleaseAudience) *ReleasePhase

NewReleasePhase instantiates a new ReleasePhase object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReleasePhaseWithDefaults ¶

func NewReleasePhaseWithDefaults() *ReleasePhase

NewReleasePhaseWithDefaults instantiates a new ReleasePhase object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReleasePhase) GetAudiences ¶

func (o *ReleasePhase) GetAudiences() []ReleaseAudience

GetAudiences returns the Audiences field value

func (*ReleasePhase) GetAudiencesOk ¶

func (o *ReleasePhase) GetAudiencesOk() ([]ReleaseAudience, bool)

GetAudiencesOk returns a tuple with the Audiences field value and a boolean to check if the value has been set.

func (*ReleasePhase) GetComplete ¶

func (o *ReleasePhase) GetComplete() bool

GetComplete returns the Complete field value

func (*ReleasePhase) GetCompleteOk ¶

func (o *ReleasePhase) GetCompleteOk() (*bool, bool)

GetCompleteOk returns a tuple with the Complete field value and a boolean to check if the value has been set.

func (*ReleasePhase) GetCompletedBy ¶

func (o *ReleasePhase) GetCompletedBy() CompletedBy

GetCompletedBy returns the CompletedBy field value if set, zero value otherwise.

func (*ReleasePhase) GetCompletedByOk ¶

func (o *ReleasePhase) GetCompletedByOk() (*CompletedBy, bool)

GetCompletedByOk returns a tuple with the CompletedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReleasePhase) GetCompletionDate ¶

func (o *ReleasePhase) GetCompletionDate() int64

GetCompletionDate returns the CompletionDate field value if set, zero value otherwise.

func (*ReleasePhase) GetCompletionDateOk ¶

func (o *ReleasePhase) GetCompletionDateOk() (*int64, bool)

GetCompletionDateOk returns a tuple with the CompletionDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReleasePhase) GetCreationDate ¶

func (o *ReleasePhase) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*ReleasePhase) GetCreationDateOk ¶

func (o *ReleasePhase) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*ReleasePhase) GetId ¶

func (o *ReleasePhase) GetId() string

GetId returns the Id field value

func (*ReleasePhase) GetIdOk ¶

func (o *ReleasePhase) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ReleasePhase) GetName ¶

func (o *ReleasePhase) GetName() string

GetName returns the Name field value

func (*ReleasePhase) GetNameOk ¶

func (o *ReleasePhase) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ReleasePhase) HasCompletedBy ¶

func (o *ReleasePhase) HasCompletedBy() bool

HasCompletedBy returns a boolean if a field has been set.

func (*ReleasePhase) HasCompletionDate ¶

func (o *ReleasePhase) HasCompletionDate() bool

HasCompletionDate returns a boolean if a field has been set.

func (ReleasePhase) MarshalJSON ¶

func (o ReleasePhase) MarshalJSON() ([]byte, error)

func (*ReleasePhase) SetAudiences ¶

func (o *ReleasePhase) SetAudiences(v []ReleaseAudience)

SetAudiences sets field value

func (*ReleasePhase) SetComplete ¶

func (o *ReleasePhase) SetComplete(v bool)

SetComplete sets field value

func (*ReleasePhase) SetCompletedBy ¶

func (o *ReleasePhase) SetCompletedBy(v CompletedBy)

SetCompletedBy gets a reference to the given CompletedBy and assigns it to the CompletedBy field.

func (*ReleasePhase) SetCompletionDate ¶

func (o *ReleasePhase) SetCompletionDate(v int64)

SetCompletionDate gets a reference to the given int64 and assigns it to the CompletionDate field.

func (*ReleasePhase) SetCreationDate ¶

func (o *ReleasePhase) SetCreationDate(v int64)

SetCreationDate sets field value

func (*ReleasePhase) SetId ¶

func (o *ReleasePhase) SetId(v string)

SetId sets field value

func (*ReleasePhase) SetName ¶

func (o *ReleasePhase) SetName(v string)

SetName sets field value

type ReleasePipeline ¶

type ReleasePipeline struct {
	// Timestamp of when the release pipeline was created
	CreatedAt time.Time `json:"createdAt"`
	// The release pipeline description
	Description *string `json:"description,omitempty"`
	// The release pipeline key
	Key string `json:"key"`
	// The release pipeline name
	Name string `json:"name"`
	// An ordered list of the release pipeline phases. Each phase is a logical grouping of one or more environments that share attributes for rolling out changes.
	Phases []Phase `json:"phases"`
	// A list of the release pipeline's tags
	Tags []string `json:"tags,omitempty"`
	// The release pipeline version
	Version *int32  `json:"_version,omitempty"`
	Access  *Access `json:"_access,omitempty"`
}

ReleasePipeline struct for ReleasePipeline

func NewReleasePipeline ¶

func NewReleasePipeline(createdAt time.Time, key string, name string, phases []Phase) *ReleasePipeline

NewReleasePipeline instantiates a new ReleasePipeline object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReleasePipelineWithDefaults ¶

func NewReleasePipelineWithDefaults() *ReleasePipeline

NewReleasePipelineWithDefaults instantiates a new ReleasePipeline object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReleasePipeline) GetAccess ¶

func (o *ReleasePipeline) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*ReleasePipeline) GetAccessOk ¶

func (o *ReleasePipeline) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReleasePipeline) GetCreatedAt ¶

func (o *ReleasePipeline) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ReleasePipeline) GetCreatedAtOk ¶

func (o *ReleasePipeline) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*ReleasePipeline) GetDescription ¶

func (o *ReleasePipeline) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ReleasePipeline) GetDescriptionOk ¶

func (o *ReleasePipeline) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReleasePipeline) GetKey ¶

func (o *ReleasePipeline) GetKey() string

GetKey returns the Key field value

func (*ReleasePipeline) GetKeyOk ¶

func (o *ReleasePipeline) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ReleasePipeline) GetName ¶

func (o *ReleasePipeline) GetName() string

GetName returns the Name field value

func (*ReleasePipeline) GetNameOk ¶

func (o *ReleasePipeline) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ReleasePipeline) GetPhases ¶

func (o *ReleasePipeline) GetPhases() []Phase

GetPhases returns the Phases field value

func (*ReleasePipeline) GetPhasesOk ¶

func (o *ReleasePipeline) GetPhasesOk() ([]Phase, bool)

GetPhasesOk returns a tuple with the Phases field value and a boolean to check if the value has been set.

func (*ReleasePipeline) GetTags ¶

func (o *ReleasePipeline) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ReleasePipeline) GetTagsOk ¶

func (o *ReleasePipeline) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReleasePipeline) GetVersion ¶

func (o *ReleasePipeline) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*ReleasePipeline) GetVersionOk ¶

func (o *ReleasePipeline) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReleasePipeline) HasAccess ¶

func (o *ReleasePipeline) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*ReleasePipeline) HasDescription ¶

func (o *ReleasePipeline) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ReleasePipeline) HasTags ¶

func (o *ReleasePipeline) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ReleasePipeline) HasVersion ¶

func (o *ReleasePipeline) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ReleasePipeline) MarshalJSON ¶

func (o ReleasePipeline) MarshalJSON() ([]byte, error)

func (*ReleasePipeline) SetAccess ¶

func (o *ReleasePipeline) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*ReleasePipeline) SetCreatedAt ¶

func (o *ReleasePipeline) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ReleasePipeline) SetDescription ¶

func (o *ReleasePipeline) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ReleasePipeline) SetKey ¶

func (o *ReleasePipeline) SetKey(v string)

SetKey sets field value

func (*ReleasePipeline) SetName ¶

func (o *ReleasePipeline) SetName(v string)

SetName sets field value

func (*ReleasePipeline) SetPhases ¶

func (o *ReleasePipeline) SetPhases(v []Phase)

SetPhases sets field value

func (*ReleasePipeline) SetTags ¶

func (o *ReleasePipeline) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*ReleasePipeline) SetVersion ¶

func (o *ReleasePipeline) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type ReleasePipelineCollection ¶

type ReleasePipelineCollection struct {
	// An array of release pipelines
	Items []ReleasePipeline `json:"items"`
	// Total number of release pipelines
	TotalCount int32 `json:"totalCount"`
}

ReleasePipelineCollection struct for ReleasePipelineCollection

func NewReleasePipelineCollection ¶

func NewReleasePipelineCollection(items []ReleasePipeline, totalCount int32) *ReleasePipelineCollection

NewReleasePipelineCollection instantiates a new ReleasePipelineCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReleasePipelineCollectionWithDefaults ¶

func NewReleasePipelineCollectionWithDefaults() *ReleasePipelineCollection

NewReleasePipelineCollectionWithDefaults instantiates a new ReleasePipelineCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReleasePipelineCollection) GetItems ¶

GetItems returns the Items field value

func (*ReleasePipelineCollection) GetItemsOk ¶

func (o *ReleasePipelineCollection) GetItemsOk() ([]ReleasePipeline, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*ReleasePipelineCollection) GetTotalCount ¶

func (o *ReleasePipelineCollection) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*ReleasePipelineCollection) GetTotalCountOk ¶

func (o *ReleasePipelineCollection) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (ReleasePipelineCollection) MarshalJSON ¶

func (o ReleasePipelineCollection) MarshalJSON() ([]byte, error)

func (*ReleasePipelineCollection) SetItems ¶

func (o *ReleasePipelineCollection) SetItems(v []ReleasePipeline)

SetItems sets field value

func (*ReleasePipelineCollection) SetTotalCount ¶

func (o *ReleasePipelineCollection) SetTotalCount(v int32)

SetTotalCount sets field value

type ReleasePipelinesBetaApiService ¶

type ReleasePipelinesBetaApiService service

ReleasePipelinesBetaApiService ReleasePipelinesBetaApi service

func (*ReleasePipelinesBetaApiService) DeleteReleasePipeline ¶

func (a *ReleasePipelinesBetaApiService) DeleteReleasePipeline(ctx context.Context, projectKey string, pipelineKey string) ApiDeleteReleasePipelineRequest

DeleteReleasePipeline Delete release pipeline

Deletes a release pipeline.

You cannot delete the default release pipeline.

If you want to delete a release pipeline that is currently the default, create a second release pipeline and set it as the default. Then delete the first release pipeline. To change the default release pipeline, use the [Update project](/tag/Projects#operation/patchProject) API to set the `defaultReleasePipelineKey`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param pipelineKey The release pipeline key
@return ApiDeleteReleasePipelineRequest

func (*ReleasePipelinesBetaApiService) DeleteReleasePipelineExecute ¶

func (a *ReleasePipelinesBetaApiService) DeleteReleasePipelineExecute(r ApiDeleteReleasePipelineRequest) (*http.Response, error)

Execute executes the request

func (*ReleasePipelinesBetaApiService) GetAllReleasePipelines ¶

func (a *ReleasePipelinesBetaApiService) GetAllReleasePipelines(ctx context.Context, projectKey string) ApiGetAllReleasePipelinesRequest

GetAllReleasePipelines Get all release pipelines

Get all release pipelines for a project.

### Filtering release pipelines

LaunchDarkly supports the following fields for filters:

- `query` is a string that matches against the release pipeline `key`, `name`, and `description`. It is not case sensitive. For example: `?filter=query:examplePipeline`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiGetAllReleasePipelinesRequest

func (*ReleasePipelinesBetaApiService) GetAllReleasePipelinesExecute ¶

Execute executes the request

@return ReleasePipelineCollection

func (*ReleasePipelinesBetaApiService) GetReleasePipelineByKey ¶

func (a *ReleasePipelinesBetaApiService) GetReleasePipelineByKey(ctx context.Context, projectKey string, pipelineKey string) ApiGetReleasePipelineByKeyRequest

GetReleasePipelineByKey Get release pipeline by key

Get a release pipeline by key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param pipelineKey The release pipeline key
@return ApiGetReleasePipelineByKeyRequest

func (*ReleasePipelinesBetaApiService) GetReleasePipelineByKeyExecute ¶

Execute executes the request

@return ReleasePipeline

func (*ReleasePipelinesBetaApiService) PatchReleasePipeline ¶

func (a *ReleasePipelinesBetaApiService) PatchReleasePipeline(ctx context.Context, projectKey string, pipelineKey string) ApiPatchReleasePipelineRequest

PatchReleasePipeline Update a release pipeline

Updates a release pipeline. Updating a release pipeline uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param pipelineKey The release pipeline key
@return ApiPatchReleasePipelineRequest

func (*ReleasePipelinesBetaApiService) PatchReleasePipelineExecute ¶

Execute executes the request

@return ReleasePipeline

func (*ReleasePipelinesBetaApiService) PostReleasePipeline ¶

func (a *ReleasePipelinesBetaApiService) PostReleasePipeline(ctx context.Context, projectKey string) ApiPostReleasePipelineRequest

PostReleasePipeline Create a release pipeline

Creates a new release pipeline.

The first release pipeline you create is automatically set as the default release pipeline for your project. To change the default release pipeline, use the [Update project](/tag/Projects#operation/patchProject) API to set the `defaultReleasePipelineKey`.

You can create up to 20 release pipelines per project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@return ApiPostReleasePipelineRequest

func (*ReleasePipelinesBetaApiService) PostReleasePipelineExecute ¶

Execute executes the request

@return ReleasePipeline

type ReleasesBetaApiService ¶

type ReleasesBetaApiService service

ReleasesBetaApiService ReleasesBetaApi service

func (*ReleasesBetaApiService) GetReleaseByFlagKey ¶

func (a *ReleasesBetaApiService) GetReleaseByFlagKey(ctx context.Context, projectKey string, flagKey string) ApiGetReleaseByFlagKeyRequest

GetReleaseByFlagKey Get release for flag

Get currently active release for a flag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param flagKey The flag key
@return ApiGetReleaseByFlagKeyRequest

func (*ReleasesBetaApiService) GetReleaseByFlagKeyExecute ¶

func (a *ReleasesBetaApiService) GetReleaseByFlagKeyExecute(r ApiGetReleaseByFlagKeyRequest) (*Release, *http.Response, error)

Execute executes the request

@return Release

func (*ReleasesBetaApiService) PatchReleaseByFlagKey ¶

func (a *ReleasesBetaApiService) PatchReleaseByFlagKey(ctx context.Context, projectKey string, flagKey string) ApiPatchReleaseByFlagKeyRequest

PatchReleaseByFlagKey Patch release for flag

Update currently active release for a flag. Updating releases requires the [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) format. To learn more, read [Updates](/#section/Overview/Updates).

You can only use this endpoint to mark a release phase complete or incomplete. To indicate which phase to update, use the array index in the `path`. For example, to mark the first phase of a release as complete, use the following request body:

```

[
  {
    "op": "replace",
    "path": "/phase/0/complete",
    "value": true
  }
]

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param flagKey The flag key
@return ApiPatchReleaseByFlagKeyRequest

func (*ReleasesBetaApiService) PatchReleaseByFlagKeyExecute ¶

func (a *ReleasesBetaApiService) PatchReleaseByFlagKeyExecute(r ApiPatchReleaseByFlagKeyRequest) (*Release, *http.Response, error)

Execute executes the request

@return Release

type RepositoryCollectionRep ¶

type RepositoryCollectionRep struct {
	Links map[string]Link `json:"_links"`
	// An array of repositories
	Items []RepositoryRep `json:"items"`
}

RepositoryCollectionRep struct for RepositoryCollectionRep

func NewRepositoryCollectionRep ¶

func NewRepositoryCollectionRep(links map[string]Link, items []RepositoryRep) *RepositoryCollectionRep

NewRepositoryCollectionRep instantiates a new RepositoryCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRepositoryCollectionRepWithDefaults ¶

func NewRepositoryCollectionRepWithDefaults() *RepositoryCollectionRep

NewRepositoryCollectionRepWithDefaults instantiates a new RepositoryCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RepositoryCollectionRep) GetItems ¶

func (o *RepositoryCollectionRep) GetItems() []RepositoryRep

GetItems returns the Items field value

func (*RepositoryCollectionRep) GetItemsOk ¶

func (o *RepositoryCollectionRep) GetItemsOk() ([]RepositoryRep, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *RepositoryCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*RepositoryCollectionRep) GetLinksOk ¶

func (o *RepositoryCollectionRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (RepositoryCollectionRep) MarshalJSON ¶

func (o RepositoryCollectionRep) MarshalJSON() ([]byte, error)

func (*RepositoryCollectionRep) SetItems ¶

func (o *RepositoryCollectionRep) SetItems(v []RepositoryRep)

SetItems sets field value

func (o *RepositoryCollectionRep) SetLinks(v map[string]Link)

SetLinks sets field value

type RepositoryPost ¶

type RepositoryPost struct {
	// The repository name
	Name string `json:"name"`
	// A URL to access the repository
	SourceLink *string `json:"sourceLink,omitempty"`
	// A template for constructing a valid URL to view the commit
	CommitUrlTemplate *string `json:"commitUrlTemplate,omitempty"`
	// A template for constructing a valid URL to view the hunk
	HunkUrlTemplate *string `json:"hunkUrlTemplate,omitempty"`
	// The type of repository. If not specified, the default value is <code>custom</code>.
	Type *string `json:"type,omitempty"`
	// The repository's default branch. If not specified, the default value is <code>main</code>.
	DefaultBranch *string `json:"defaultBranch,omitempty"`
}

RepositoryPost struct for RepositoryPost

func NewRepositoryPost ¶

func NewRepositoryPost(name string) *RepositoryPost

NewRepositoryPost instantiates a new RepositoryPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRepositoryPostWithDefaults ¶

func NewRepositoryPostWithDefaults() *RepositoryPost

NewRepositoryPostWithDefaults instantiates a new RepositoryPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RepositoryPost) GetCommitUrlTemplate ¶

func (o *RepositoryPost) GetCommitUrlTemplate() string

GetCommitUrlTemplate returns the CommitUrlTemplate field value if set, zero value otherwise.

func (*RepositoryPost) GetCommitUrlTemplateOk ¶

func (o *RepositoryPost) GetCommitUrlTemplateOk() (*string, bool)

GetCommitUrlTemplateOk returns a tuple with the CommitUrlTemplate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryPost) GetDefaultBranch ¶

func (o *RepositoryPost) GetDefaultBranch() string

GetDefaultBranch returns the DefaultBranch field value if set, zero value otherwise.

func (*RepositoryPost) GetDefaultBranchOk ¶

func (o *RepositoryPost) GetDefaultBranchOk() (*string, bool)

GetDefaultBranchOk returns a tuple with the DefaultBranch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryPost) GetHunkUrlTemplate ¶

func (o *RepositoryPost) GetHunkUrlTemplate() string

GetHunkUrlTemplate returns the HunkUrlTemplate field value if set, zero value otherwise.

func (*RepositoryPost) GetHunkUrlTemplateOk ¶

func (o *RepositoryPost) GetHunkUrlTemplateOk() (*string, bool)

GetHunkUrlTemplateOk returns a tuple with the HunkUrlTemplate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryPost) GetName ¶

func (o *RepositoryPost) GetName() string

GetName returns the Name field value

func (*RepositoryPost) GetNameOk ¶

func (o *RepositoryPost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *RepositoryPost) GetSourceLink() string

GetSourceLink returns the SourceLink field value if set, zero value otherwise.

func (*RepositoryPost) GetSourceLinkOk ¶

func (o *RepositoryPost) GetSourceLinkOk() (*string, bool)

GetSourceLinkOk returns a tuple with the SourceLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryPost) GetType ¶

func (o *RepositoryPost) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*RepositoryPost) GetTypeOk ¶

func (o *RepositoryPost) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryPost) HasCommitUrlTemplate ¶

func (o *RepositoryPost) HasCommitUrlTemplate() bool

HasCommitUrlTemplate returns a boolean if a field has been set.

func (*RepositoryPost) HasDefaultBranch ¶

func (o *RepositoryPost) HasDefaultBranch() bool

HasDefaultBranch returns a boolean if a field has been set.

func (*RepositoryPost) HasHunkUrlTemplate ¶

func (o *RepositoryPost) HasHunkUrlTemplate() bool

HasHunkUrlTemplate returns a boolean if a field has been set.

func (o *RepositoryPost) HasSourceLink() bool

HasSourceLink returns a boolean if a field has been set.

func (*RepositoryPost) HasType ¶

func (o *RepositoryPost) HasType() bool

HasType returns a boolean if a field has been set.

func (RepositoryPost) MarshalJSON ¶

func (o RepositoryPost) MarshalJSON() ([]byte, error)

func (*RepositoryPost) SetCommitUrlTemplate ¶

func (o *RepositoryPost) SetCommitUrlTemplate(v string)

SetCommitUrlTemplate gets a reference to the given string and assigns it to the CommitUrlTemplate field.

func (*RepositoryPost) SetDefaultBranch ¶

func (o *RepositoryPost) SetDefaultBranch(v string)

SetDefaultBranch gets a reference to the given string and assigns it to the DefaultBranch field.

func (*RepositoryPost) SetHunkUrlTemplate ¶

func (o *RepositoryPost) SetHunkUrlTemplate(v string)

SetHunkUrlTemplate gets a reference to the given string and assigns it to the HunkUrlTemplate field.

func (*RepositoryPost) SetName ¶

func (o *RepositoryPost) SetName(v string)

SetName sets field value

func (o *RepositoryPost) SetSourceLink(v string)

SetSourceLink gets a reference to the given string and assigns it to the SourceLink field.

func (*RepositoryPost) SetType ¶

func (o *RepositoryPost) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type RepositoryRep ¶

type RepositoryRep struct {
	// The repository name
	Name string `json:"name"`
	// A URL to access the repository
	SourceLink *string `json:"sourceLink,omitempty"`
	// A template for constructing a valid URL to view the commit
	CommitUrlTemplate *string `json:"commitUrlTemplate,omitempty"`
	// A template for constructing a valid URL to view the hunk
	HunkUrlTemplate *string `json:"hunkUrlTemplate,omitempty"`
	// The type of repository
	Type string `json:"type"`
	// The repository's default branch
	DefaultBranch string `json:"defaultBranch"`
	// Whether or not a repository is enabled for code reference scanning
	Enabled bool `json:"enabled"`
	// The version of the repository's saved information
	Version int32 `json:"version"`
	// An array of the repository's branches that have been scanned for code references
	Branches []BranchRep            `json:"branches,omitempty"`
	Links    map[string]interface{} `json:"_links"`
	Access   *Access                `json:"_access,omitempty"`
}

RepositoryRep struct for RepositoryRep

func NewRepositoryRep ¶

func NewRepositoryRep(name string, type_ string, defaultBranch string, enabled bool, version int32, links map[string]interface{}) *RepositoryRep

NewRepositoryRep instantiates a new RepositoryRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRepositoryRepWithDefaults ¶

func NewRepositoryRepWithDefaults() *RepositoryRep

NewRepositoryRepWithDefaults instantiates a new RepositoryRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RepositoryRep) GetAccess ¶

func (o *RepositoryRep) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*RepositoryRep) GetAccessOk ¶

func (o *RepositoryRep) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryRep) GetBranches ¶

func (o *RepositoryRep) GetBranches() []BranchRep

GetBranches returns the Branches field value if set, zero value otherwise.

func (*RepositoryRep) GetBranchesOk ¶

func (o *RepositoryRep) GetBranchesOk() ([]BranchRep, bool)

GetBranchesOk returns a tuple with the Branches field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryRep) GetCommitUrlTemplate ¶

func (o *RepositoryRep) GetCommitUrlTemplate() string

GetCommitUrlTemplate returns the CommitUrlTemplate field value if set, zero value otherwise.

func (*RepositoryRep) GetCommitUrlTemplateOk ¶

func (o *RepositoryRep) GetCommitUrlTemplateOk() (*string, bool)

GetCommitUrlTemplateOk returns a tuple with the CommitUrlTemplate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryRep) GetDefaultBranch ¶

func (o *RepositoryRep) GetDefaultBranch() string

GetDefaultBranch returns the DefaultBranch field value

func (*RepositoryRep) GetDefaultBranchOk ¶

func (o *RepositoryRep) GetDefaultBranchOk() (*string, bool)

GetDefaultBranchOk returns a tuple with the DefaultBranch field value and a boolean to check if the value has been set.

func (*RepositoryRep) GetEnabled ¶

func (o *RepositoryRep) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*RepositoryRep) GetEnabledOk ¶

func (o *RepositoryRep) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*RepositoryRep) GetHunkUrlTemplate ¶

func (o *RepositoryRep) GetHunkUrlTemplate() string

GetHunkUrlTemplate returns the HunkUrlTemplate field value if set, zero value otherwise.

func (*RepositoryRep) GetHunkUrlTemplateOk ¶

func (o *RepositoryRep) GetHunkUrlTemplateOk() (*string, bool)

GetHunkUrlTemplateOk returns a tuple with the HunkUrlTemplate field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *RepositoryRep) GetLinks() map[string]interface{}

GetLinks returns the Links field value

func (*RepositoryRep) GetLinksOk ¶

func (o *RepositoryRep) GetLinksOk() (map[string]interface{}, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*RepositoryRep) GetName ¶

func (o *RepositoryRep) GetName() string

GetName returns the Name field value

func (*RepositoryRep) GetNameOk ¶

func (o *RepositoryRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *RepositoryRep) GetSourceLink() string

GetSourceLink returns the SourceLink field value if set, zero value otherwise.

func (*RepositoryRep) GetSourceLinkOk ¶

func (o *RepositoryRep) GetSourceLinkOk() (*string, bool)

GetSourceLinkOk returns a tuple with the SourceLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryRep) GetType ¶

func (o *RepositoryRep) GetType() string

GetType returns the Type field value

func (*RepositoryRep) GetTypeOk ¶

func (o *RepositoryRep) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RepositoryRep) GetVersion ¶

func (o *RepositoryRep) GetVersion() int32

GetVersion returns the Version field value

func (*RepositoryRep) GetVersionOk ¶

func (o *RepositoryRep) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*RepositoryRep) HasAccess ¶

func (o *RepositoryRep) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*RepositoryRep) HasBranches ¶

func (o *RepositoryRep) HasBranches() bool

HasBranches returns a boolean if a field has been set.

func (*RepositoryRep) HasCommitUrlTemplate ¶

func (o *RepositoryRep) HasCommitUrlTemplate() bool

HasCommitUrlTemplate returns a boolean if a field has been set.

func (*RepositoryRep) HasHunkUrlTemplate ¶

func (o *RepositoryRep) HasHunkUrlTemplate() bool

HasHunkUrlTemplate returns a boolean if a field has been set.

func (o *RepositoryRep) HasSourceLink() bool

HasSourceLink returns a boolean if a field has been set.

func (RepositoryRep) MarshalJSON ¶

func (o RepositoryRep) MarshalJSON() ([]byte, error)

func (*RepositoryRep) SetAccess ¶

func (o *RepositoryRep) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*RepositoryRep) SetBranches ¶

func (o *RepositoryRep) SetBranches(v []BranchRep)

SetBranches gets a reference to the given []BranchRep and assigns it to the Branches field.

func (*RepositoryRep) SetCommitUrlTemplate ¶

func (o *RepositoryRep) SetCommitUrlTemplate(v string)

SetCommitUrlTemplate gets a reference to the given string and assigns it to the CommitUrlTemplate field.

func (*RepositoryRep) SetDefaultBranch ¶

func (o *RepositoryRep) SetDefaultBranch(v string)

SetDefaultBranch sets field value

func (*RepositoryRep) SetEnabled ¶

func (o *RepositoryRep) SetEnabled(v bool)

SetEnabled sets field value

func (*RepositoryRep) SetHunkUrlTemplate ¶

func (o *RepositoryRep) SetHunkUrlTemplate(v string)

SetHunkUrlTemplate gets a reference to the given string and assigns it to the HunkUrlTemplate field.

func (o *RepositoryRep) SetLinks(v map[string]interface{})

SetLinks sets field value

func (*RepositoryRep) SetName ¶

func (o *RepositoryRep) SetName(v string)

SetName sets field value

func (o *RepositoryRep) SetSourceLink(v string)

SetSourceLink gets a reference to the given string and assigns it to the SourceLink field.

func (*RepositoryRep) SetType ¶

func (o *RepositoryRep) SetType(v string)

SetType sets field value

func (*RepositoryRep) SetVersion ¶

func (o *RepositoryRep) SetVersion(v int32)

SetVersion sets field value

type ResourceAccess ¶

type ResourceAccess struct {
	Action   *string `json:"action,omitempty"`
	Resource *string `json:"resource,omitempty"`
}

ResourceAccess struct for ResourceAccess

func NewResourceAccess ¶

func NewResourceAccess() *ResourceAccess

NewResourceAccess instantiates a new ResourceAccess object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResourceAccessWithDefaults ¶

func NewResourceAccessWithDefaults() *ResourceAccess

NewResourceAccessWithDefaults instantiates a new ResourceAccess object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResourceAccess) GetAction ¶

func (o *ResourceAccess) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*ResourceAccess) GetActionOk ¶

func (o *ResourceAccess) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceAccess) GetResource ¶

func (o *ResourceAccess) GetResource() string

GetResource returns the Resource field value if set, zero value otherwise.

func (*ResourceAccess) GetResourceOk ¶

func (o *ResourceAccess) GetResourceOk() (*string, bool)

GetResourceOk returns a tuple with the Resource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceAccess) HasAction ¶

func (o *ResourceAccess) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*ResourceAccess) HasResource ¶

func (o *ResourceAccess) HasResource() bool

HasResource returns a boolean if a field has been set.

func (ResourceAccess) MarshalJSON ¶

func (o ResourceAccess) MarshalJSON() ([]byte, error)

func (*ResourceAccess) SetAction ¶

func (o *ResourceAccess) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*ResourceAccess) SetResource ¶

func (o *ResourceAccess) SetResource(v string)

SetResource gets a reference to the given string and assigns it to the Resource field.

type ResourceIDResponse ¶

type ResourceIDResponse struct {
	Kind           *string `json:"kind,omitempty"`
	ProjectKey     *string `json:"projectKey,omitempty"`
	EnvironmentKey *string `json:"environmentKey,omitempty"`
	FlagKey        *string `json:"flagKey,omitempty"`
	Key            *string `json:"key,omitempty"`
}

ResourceIDResponse struct for ResourceIDResponse

func NewResourceIDResponse ¶

func NewResourceIDResponse() *ResourceIDResponse

NewResourceIDResponse instantiates a new ResourceIDResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResourceIDResponseWithDefaults ¶

func NewResourceIDResponseWithDefaults() *ResourceIDResponse

NewResourceIDResponseWithDefaults instantiates a new ResourceIDResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResourceIDResponse) GetEnvironmentKey ¶

func (o *ResourceIDResponse) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value if set, zero value otherwise.

func (*ResourceIDResponse) GetEnvironmentKeyOk ¶

func (o *ResourceIDResponse) GetEnvironmentKeyOk() (*string, bool)

GetEnvironmentKeyOk returns a tuple with the EnvironmentKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceIDResponse) GetFlagKey ¶

func (o *ResourceIDResponse) GetFlagKey() string

GetFlagKey returns the FlagKey field value if set, zero value otherwise.

func (*ResourceIDResponse) GetFlagKeyOk ¶

func (o *ResourceIDResponse) GetFlagKeyOk() (*string, bool)

GetFlagKeyOk returns a tuple with the FlagKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceIDResponse) GetKey ¶

func (o *ResourceIDResponse) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*ResourceIDResponse) GetKeyOk ¶

func (o *ResourceIDResponse) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceIDResponse) GetKind ¶

func (o *ResourceIDResponse) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ResourceIDResponse) GetKindOk ¶

func (o *ResourceIDResponse) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceIDResponse) GetProjectKey ¶

func (o *ResourceIDResponse) GetProjectKey() string

GetProjectKey returns the ProjectKey field value if set, zero value otherwise.

func (*ResourceIDResponse) GetProjectKeyOk ¶

func (o *ResourceIDResponse) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceIDResponse) HasEnvironmentKey ¶

func (o *ResourceIDResponse) HasEnvironmentKey() bool

HasEnvironmentKey returns a boolean if a field has been set.

func (*ResourceIDResponse) HasFlagKey ¶

func (o *ResourceIDResponse) HasFlagKey() bool

HasFlagKey returns a boolean if a field has been set.

func (*ResourceIDResponse) HasKey ¶

func (o *ResourceIDResponse) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ResourceIDResponse) HasKind ¶

func (o *ResourceIDResponse) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ResourceIDResponse) HasProjectKey ¶

func (o *ResourceIDResponse) HasProjectKey() bool

HasProjectKey returns a boolean if a field has been set.

func (ResourceIDResponse) MarshalJSON ¶

func (o ResourceIDResponse) MarshalJSON() ([]byte, error)

func (*ResourceIDResponse) SetEnvironmentKey ¶

func (o *ResourceIDResponse) SetEnvironmentKey(v string)

SetEnvironmentKey gets a reference to the given string and assigns it to the EnvironmentKey field.

func (*ResourceIDResponse) SetFlagKey ¶

func (o *ResourceIDResponse) SetFlagKey(v string)

SetFlagKey gets a reference to the given string and assigns it to the FlagKey field.

func (*ResourceIDResponse) SetKey ¶

func (o *ResourceIDResponse) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*ResourceIDResponse) SetKind ¶

func (o *ResourceIDResponse) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ResourceIDResponse) SetProjectKey ¶

func (o *ResourceIDResponse) SetProjectKey(v string)

SetProjectKey gets a reference to the given string and assigns it to the ProjectKey field.

type ResourceId ¶

type ResourceId struct {
	// The environment key
	EnvironmentKey *string `json:"environmentKey,omitempty"`
	// Deprecated, use <code>key</code> instead
	// Deprecated
	FlagKey *string `json:"flagKey,omitempty"`
	// The key of the flag or segment
	Key  *string `json:"key,omitempty"`
	Kind *string `json:"kind,omitempty"`
	// The project key
	ProjectKey *string `json:"projectKey,omitempty"`
}

ResourceId struct for ResourceId

func NewResourceId ¶

func NewResourceId() *ResourceId

NewResourceId instantiates a new ResourceId object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResourceIdWithDefaults ¶

func NewResourceIdWithDefaults() *ResourceId

NewResourceIdWithDefaults instantiates a new ResourceId object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResourceId) GetEnvironmentKey ¶

func (o *ResourceId) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field value if set, zero value otherwise.

func (*ResourceId) GetEnvironmentKeyOk ¶

func (o *ResourceId) GetEnvironmentKeyOk() (*string, bool)

GetEnvironmentKeyOk returns a tuple with the EnvironmentKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceId) GetFlagKey ¶

func (o *ResourceId) GetFlagKey() string

GetFlagKey returns the FlagKey field value if set, zero value otherwise. Deprecated

func (*ResourceId) GetFlagKeyOk ¶

func (o *ResourceId) GetFlagKeyOk() (*string, bool)

GetFlagKeyOk returns a tuple with the FlagKey field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*ResourceId) GetKey ¶

func (o *ResourceId) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*ResourceId) GetKeyOk ¶

func (o *ResourceId) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceId) GetKind ¶

func (o *ResourceId) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ResourceId) GetKindOk ¶

func (o *ResourceId) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceId) GetProjectKey ¶

func (o *ResourceId) GetProjectKey() string

GetProjectKey returns the ProjectKey field value if set, zero value otherwise.

func (*ResourceId) GetProjectKeyOk ¶

func (o *ResourceId) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceId) HasEnvironmentKey ¶

func (o *ResourceId) HasEnvironmentKey() bool

HasEnvironmentKey returns a boolean if a field has been set.

func (*ResourceId) HasFlagKey ¶

func (o *ResourceId) HasFlagKey() bool

HasFlagKey returns a boolean if a field has been set.

func (*ResourceId) HasKey ¶

func (o *ResourceId) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ResourceId) HasKind ¶

func (o *ResourceId) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ResourceId) HasProjectKey ¶

func (o *ResourceId) HasProjectKey() bool

HasProjectKey returns a boolean if a field has been set.

func (ResourceId) MarshalJSON ¶

func (o ResourceId) MarshalJSON() ([]byte, error)

func (*ResourceId) SetEnvironmentKey ¶

func (o *ResourceId) SetEnvironmentKey(v string)

SetEnvironmentKey gets a reference to the given string and assigns it to the EnvironmentKey field.

func (*ResourceId) SetFlagKey ¶

func (o *ResourceId) SetFlagKey(v string)

SetFlagKey gets a reference to the given string and assigns it to the FlagKey field. Deprecated

func (*ResourceId) SetKey ¶

func (o *ResourceId) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*ResourceId) SetKind ¶

func (o *ResourceId) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ResourceId) SetProjectKey ¶

func (o *ResourceId) SetProjectKey(v string)

SetProjectKey gets a reference to the given string and assigns it to the ProjectKey field.

type ReviewOutput ¶

type ReviewOutput struct {
	Id             string  `json:"_id"`
	Kind           string  `json:"kind"`
	CreationDate   *int64  `json:"creationDate,omitempty"`
	Comment        *string `json:"comment,omitempty"`
	MemberId       *string `json:"memberId,omitempty"`
	ServiceTokenId *string `json:"serviceTokenId,omitempty"`
}

ReviewOutput struct for ReviewOutput

func NewReviewOutput ¶

func NewReviewOutput(id string, kind string) *ReviewOutput

NewReviewOutput instantiates a new ReviewOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReviewOutputWithDefaults ¶

func NewReviewOutputWithDefaults() *ReviewOutput

NewReviewOutputWithDefaults instantiates a new ReviewOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReviewOutput) GetComment ¶

func (o *ReviewOutput) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*ReviewOutput) GetCommentOk ¶

func (o *ReviewOutput) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReviewOutput) GetCreationDate ¶

func (o *ReviewOutput) GetCreationDate() int64

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*ReviewOutput) GetCreationDateOk ¶

func (o *ReviewOutput) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReviewOutput) GetId ¶

func (o *ReviewOutput) GetId() string

GetId returns the Id field value

func (*ReviewOutput) GetIdOk ¶

func (o *ReviewOutput) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ReviewOutput) GetKind ¶

func (o *ReviewOutput) GetKind() string

GetKind returns the Kind field value

func (*ReviewOutput) GetKindOk ¶

func (o *ReviewOutput) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*ReviewOutput) GetMemberId ¶

func (o *ReviewOutput) GetMemberId() string

GetMemberId returns the MemberId field value if set, zero value otherwise.

func (*ReviewOutput) GetMemberIdOk ¶

func (o *ReviewOutput) GetMemberIdOk() (*string, bool)

GetMemberIdOk returns a tuple with the MemberId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReviewOutput) GetServiceTokenId ¶

func (o *ReviewOutput) GetServiceTokenId() string

GetServiceTokenId returns the ServiceTokenId field value if set, zero value otherwise.

func (*ReviewOutput) GetServiceTokenIdOk ¶

func (o *ReviewOutput) GetServiceTokenIdOk() (*string, bool)

GetServiceTokenIdOk returns a tuple with the ServiceTokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReviewOutput) HasComment ¶

func (o *ReviewOutput) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*ReviewOutput) HasCreationDate ¶

func (o *ReviewOutput) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*ReviewOutput) HasMemberId ¶

func (o *ReviewOutput) HasMemberId() bool

HasMemberId returns a boolean if a field has been set.

func (*ReviewOutput) HasServiceTokenId ¶

func (o *ReviewOutput) HasServiceTokenId() bool

HasServiceTokenId returns a boolean if a field has been set.

func (ReviewOutput) MarshalJSON ¶

func (o ReviewOutput) MarshalJSON() ([]byte, error)

func (*ReviewOutput) SetComment ¶

func (o *ReviewOutput) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*ReviewOutput) SetCreationDate ¶

func (o *ReviewOutput) SetCreationDate(v int64)

SetCreationDate gets a reference to the given int64 and assigns it to the CreationDate field.

func (*ReviewOutput) SetId ¶

func (o *ReviewOutput) SetId(v string)

SetId sets field value

func (*ReviewOutput) SetKind ¶

func (o *ReviewOutput) SetKind(v string)

SetKind sets field value

func (*ReviewOutput) SetMemberId ¶

func (o *ReviewOutput) SetMemberId(v string)

SetMemberId gets a reference to the given string and assigns it to the MemberId field.

func (*ReviewOutput) SetServiceTokenId ¶

func (o *ReviewOutput) SetServiceTokenId(v string)

SetServiceTokenId gets a reference to the given string and assigns it to the ServiceTokenId field.

type ReviewResponse ¶

type ReviewResponse struct {
	// The approval request ID
	Id string `json:"_id"`
	// The type of review action to take
	Kind         string `json:"kind"`
	CreationDate *int64 `json:"creationDate,omitempty"`
	// A comment describing the approval response
	Comment *string `json:"comment,omitempty"`
	// ID of account member that reviewed request
	MemberId *string `json:"memberId,omitempty"`
	// ID of account service token that reviewed request
	ServiceTokenId *string `json:"serviceTokenId,omitempty"`
}

ReviewResponse struct for ReviewResponse

func NewReviewResponse ¶

func NewReviewResponse(id string, kind string) *ReviewResponse

NewReviewResponse instantiates a new ReviewResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReviewResponseWithDefaults ¶

func NewReviewResponseWithDefaults() *ReviewResponse

NewReviewResponseWithDefaults instantiates a new ReviewResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReviewResponse) GetComment ¶

func (o *ReviewResponse) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*ReviewResponse) GetCommentOk ¶

func (o *ReviewResponse) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReviewResponse) GetCreationDate ¶

func (o *ReviewResponse) GetCreationDate() int64

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*ReviewResponse) GetCreationDateOk ¶

func (o *ReviewResponse) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReviewResponse) GetId ¶

func (o *ReviewResponse) GetId() string

GetId returns the Id field value

func (*ReviewResponse) GetIdOk ¶

func (o *ReviewResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ReviewResponse) GetKind ¶

func (o *ReviewResponse) GetKind() string

GetKind returns the Kind field value

func (*ReviewResponse) GetKindOk ¶

func (o *ReviewResponse) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*ReviewResponse) GetMemberId ¶

func (o *ReviewResponse) GetMemberId() string

GetMemberId returns the MemberId field value if set, zero value otherwise.

func (*ReviewResponse) GetMemberIdOk ¶

func (o *ReviewResponse) GetMemberIdOk() (*string, bool)

GetMemberIdOk returns a tuple with the MemberId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReviewResponse) GetServiceTokenId ¶

func (o *ReviewResponse) GetServiceTokenId() string

GetServiceTokenId returns the ServiceTokenId field value if set, zero value otherwise.

func (*ReviewResponse) GetServiceTokenIdOk ¶

func (o *ReviewResponse) GetServiceTokenIdOk() (*string, bool)

GetServiceTokenIdOk returns a tuple with the ServiceTokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReviewResponse) HasComment ¶

func (o *ReviewResponse) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*ReviewResponse) HasCreationDate ¶

func (o *ReviewResponse) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*ReviewResponse) HasMemberId ¶

func (o *ReviewResponse) HasMemberId() bool

HasMemberId returns a boolean if a field has been set.

func (*ReviewResponse) HasServiceTokenId ¶

func (o *ReviewResponse) HasServiceTokenId() bool

HasServiceTokenId returns a boolean if a field has been set.

func (ReviewResponse) MarshalJSON ¶

func (o ReviewResponse) MarshalJSON() ([]byte, error)

func (*ReviewResponse) SetComment ¶

func (o *ReviewResponse) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*ReviewResponse) SetCreationDate ¶

func (o *ReviewResponse) SetCreationDate(v int64)

SetCreationDate gets a reference to the given int64 and assigns it to the CreationDate field.

func (*ReviewResponse) SetId ¶

func (o *ReviewResponse) SetId(v string)

SetId sets field value

func (*ReviewResponse) SetKind ¶

func (o *ReviewResponse) SetKind(v string)

SetKind sets field value

func (*ReviewResponse) SetMemberId ¶

func (o *ReviewResponse) SetMemberId(v string)

SetMemberId gets a reference to the given string and assigns it to the MemberId field.

func (*ReviewResponse) SetServiceTokenId ¶

func (o *ReviewResponse) SetServiceTokenId(v string)

SetServiceTokenId gets a reference to the given string and assigns it to the ServiceTokenId field.

type Rollout ¶

type Rollout struct {
	Variations           []WeightedVariation      `json:"variations"`
	ExperimentAllocation *ExperimentAllocationRep `json:"experimentAllocation,omitempty"`
	Seed                 *int32                   `json:"seed,omitempty"`
	BucketBy             *string                  `json:"bucketBy,omitempty"`
	ContextKind          *string                  `json:"contextKind,omitempty"`
}

Rollout struct for Rollout

func NewRollout ¶

func NewRollout(variations []WeightedVariation) *Rollout

NewRollout instantiates a new Rollout object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRolloutWithDefaults ¶

func NewRolloutWithDefaults() *Rollout

NewRolloutWithDefaults instantiates a new Rollout object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Rollout) GetBucketBy ¶

func (o *Rollout) GetBucketBy() string

GetBucketBy returns the BucketBy field value if set, zero value otherwise.

func (*Rollout) GetBucketByOk ¶

func (o *Rollout) GetBucketByOk() (*string, bool)

GetBucketByOk returns a tuple with the BucketBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rollout) GetContextKind ¶

func (o *Rollout) GetContextKind() string

GetContextKind returns the ContextKind field value if set, zero value otherwise.

func (*Rollout) GetContextKindOk ¶

func (o *Rollout) GetContextKindOk() (*string, bool)

GetContextKindOk returns a tuple with the ContextKind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rollout) GetExperimentAllocation ¶

func (o *Rollout) GetExperimentAllocation() ExperimentAllocationRep

GetExperimentAllocation returns the ExperimentAllocation field value if set, zero value otherwise.

func (*Rollout) GetExperimentAllocationOk ¶

func (o *Rollout) GetExperimentAllocationOk() (*ExperimentAllocationRep, bool)

GetExperimentAllocationOk returns a tuple with the ExperimentAllocation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rollout) GetSeed ¶

func (o *Rollout) GetSeed() int32

GetSeed returns the Seed field value if set, zero value otherwise.

func (*Rollout) GetSeedOk ¶

func (o *Rollout) GetSeedOk() (*int32, bool)

GetSeedOk returns a tuple with the Seed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rollout) GetVariations ¶

func (o *Rollout) GetVariations() []WeightedVariation

GetVariations returns the Variations field value

func (*Rollout) GetVariationsOk ¶

func (o *Rollout) GetVariationsOk() ([]WeightedVariation, bool)

GetVariationsOk returns a tuple with the Variations field value and a boolean to check if the value has been set.

func (*Rollout) HasBucketBy ¶

func (o *Rollout) HasBucketBy() bool

HasBucketBy returns a boolean if a field has been set.

func (*Rollout) HasContextKind ¶

func (o *Rollout) HasContextKind() bool

HasContextKind returns a boolean if a field has been set.

func (*Rollout) HasExperimentAllocation ¶

func (o *Rollout) HasExperimentAllocation() bool

HasExperimentAllocation returns a boolean if a field has been set.

func (*Rollout) HasSeed ¶

func (o *Rollout) HasSeed() bool

HasSeed returns a boolean if a field has been set.

func (Rollout) MarshalJSON ¶

func (o Rollout) MarshalJSON() ([]byte, error)

func (*Rollout) SetBucketBy ¶

func (o *Rollout) SetBucketBy(v string)

SetBucketBy gets a reference to the given string and assigns it to the BucketBy field.

func (*Rollout) SetContextKind ¶

func (o *Rollout) SetContextKind(v string)

SetContextKind gets a reference to the given string and assigns it to the ContextKind field.

func (*Rollout) SetExperimentAllocation ¶

func (o *Rollout) SetExperimentAllocation(v ExperimentAllocationRep)

SetExperimentAllocation gets a reference to the given ExperimentAllocationRep and assigns it to the ExperimentAllocation field.

func (*Rollout) SetSeed ¶

func (o *Rollout) SetSeed(v int32)

SetSeed gets a reference to the given int32 and assigns it to the Seed field.

func (*Rollout) SetVariations ¶

func (o *Rollout) SetVariations(v []WeightedVariation)

SetVariations sets field value

type RootResponse ¶

type RootResponse struct {
	Links map[string]Link `json:"links"`
}

RootResponse struct for RootResponse

func NewRootResponse ¶

func NewRootResponse(links map[string]Link) *RootResponse

NewRootResponse instantiates a new RootResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRootResponseWithDefaults ¶

func NewRootResponseWithDefaults() *RootResponse

NewRootResponseWithDefaults instantiates a new RootResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *RootResponse) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*RootResponse) GetLinksOk ¶

func (o *RootResponse) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (RootResponse) MarshalJSON ¶

func (o RootResponse) MarshalJSON() ([]byte, error)
func (o *RootResponse) SetLinks(v map[string]Link)

SetLinks sets field value

type Rule ¶

type Rule struct {
	// The flag rule ID
	Id *string `json:"_id,omitempty"`
	// The index of the variation, from the array of variations for this flag
	Variation *int32   `json:"variation,omitempty"`
	Rollout   *Rollout `json:"rollout,omitempty"`
	// An array of clauses used for individual targeting based on attributes
	Clauses []Clause `json:"clauses"`
	// Whether LaunchDarkly tracks events for this rule
	TrackEvents bool `json:"trackEvents"`
	// The rule description
	Description *string `json:"description,omitempty"`
	Ref         *string `json:"ref,omitempty"`
}

Rule struct for Rule

func NewRule ¶

func NewRule(clauses []Clause, trackEvents bool) *Rule

NewRule instantiates a new Rule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRuleWithDefaults ¶

func NewRuleWithDefaults() *Rule

NewRuleWithDefaults instantiates a new Rule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Rule) GetClauses ¶

func (o *Rule) GetClauses() []Clause

GetClauses returns the Clauses field value

func (*Rule) GetClausesOk ¶

func (o *Rule) GetClausesOk() ([]Clause, bool)

GetClausesOk returns a tuple with the Clauses field value and a boolean to check if the value has been set.

func (*Rule) GetDescription ¶

func (o *Rule) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Rule) GetDescriptionOk ¶

func (o *Rule) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetId ¶

func (o *Rule) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Rule) GetIdOk ¶

func (o *Rule) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetRef ¶

func (o *Rule) GetRef() string

GetRef returns the Ref field value if set, zero value otherwise.

func (*Rule) GetRefOk ¶

func (o *Rule) GetRefOk() (*string, bool)

GetRefOk returns a tuple with the Ref field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetRollout ¶

func (o *Rule) GetRollout() Rollout

GetRollout returns the Rollout field value if set, zero value otherwise.

func (*Rule) GetRolloutOk ¶

func (o *Rule) GetRolloutOk() (*Rollout, bool)

GetRolloutOk returns a tuple with the Rollout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetTrackEvents ¶

func (o *Rule) GetTrackEvents() bool

GetTrackEvents returns the TrackEvents field value

func (*Rule) GetTrackEventsOk ¶

func (o *Rule) GetTrackEventsOk() (*bool, bool)

GetTrackEventsOk returns a tuple with the TrackEvents field value and a boolean to check if the value has been set.

func (*Rule) GetVariation ¶

func (o *Rule) GetVariation() int32

GetVariation returns the Variation field value if set, zero value otherwise.

func (*Rule) GetVariationOk ¶

func (o *Rule) GetVariationOk() (*int32, bool)

GetVariationOk returns a tuple with the Variation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) HasDescription ¶

func (o *Rule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Rule) HasId ¶

func (o *Rule) HasId() bool

HasId returns a boolean if a field has been set.

func (*Rule) HasRef ¶

func (o *Rule) HasRef() bool

HasRef returns a boolean if a field has been set.

func (*Rule) HasRollout ¶

func (o *Rule) HasRollout() bool

HasRollout returns a boolean if a field has been set.

func (*Rule) HasVariation ¶

func (o *Rule) HasVariation() bool

HasVariation returns a boolean if a field has been set.

func (Rule) MarshalJSON ¶

func (o Rule) MarshalJSON() ([]byte, error)

func (*Rule) SetClauses ¶

func (o *Rule) SetClauses(v []Clause)

SetClauses sets field value

func (*Rule) SetDescription ¶

func (o *Rule) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Rule) SetId ¶

func (o *Rule) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Rule) SetRef ¶

func (o *Rule) SetRef(v string)

SetRef gets a reference to the given string and assigns it to the Ref field.

func (*Rule) SetRollout ¶

func (o *Rule) SetRollout(v Rollout)

SetRollout gets a reference to the given Rollout and assigns it to the Rollout field.

func (*Rule) SetTrackEvents ¶

func (o *Rule) SetTrackEvents(v bool)

SetTrackEvents sets field value

func (*Rule) SetVariation ¶

func (o *Rule) SetVariation(v int32)

SetVariation gets a reference to the given int32 and assigns it to the Variation field.

type RuleClause ¶

type RuleClause struct {
	// The attribute the rule applies to, for example, last name or email address
	Attribute *string `json:"attribute,omitempty"`
	// The operator to apply to the given attribute
	Op *string `json:"op,omitempty"`
	// Whether the operator should be negated
	Negate *bool `json:"negate,omitempty"`
}

RuleClause struct for RuleClause

func NewRuleClause ¶

func NewRuleClause() *RuleClause

NewRuleClause instantiates a new RuleClause object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRuleClauseWithDefaults ¶

func NewRuleClauseWithDefaults() *RuleClause

NewRuleClauseWithDefaults instantiates a new RuleClause object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RuleClause) GetAttribute ¶

func (o *RuleClause) GetAttribute() string

GetAttribute returns the Attribute field value if set, zero value otherwise.

func (*RuleClause) GetAttributeOk ¶

func (o *RuleClause) GetAttributeOk() (*string, bool)

GetAttributeOk returns a tuple with the Attribute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleClause) GetNegate ¶

func (o *RuleClause) GetNegate() bool

GetNegate returns the Negate field value if set, zero value otherwise.

func (*RuleClause) GetNegateOk ¶

func (o *RuleClause) GetNegateOk() (*bool, bool)

GetNegateOk returns a tuple with the Negate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleClause) GetOp ¶

func (o *RuleClause) GetOp() string

GetOp returns the Op field value if set, zero value otherwise.

func (*RuleClause) GetOpOk ¶

func (o *RuleClause) GetOpOk() (*string, bool)

GetOpOk returns a tuple with the Op field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleClause) HasAttribute ¶

func (o *RuleClause) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*RuleClause) HasNegate ¶

func (o *RuleClause) HasNegate() bool

HasNegate returns a boolean if a field has been set.

func (*RuleClause) HasOp ¶

func (o *RuleClause) HasOp() bool

HasOp returns a boolean if a field has been set.

func (RuleClause) MarshalJSON ¶

func (o RuleClause) MarshalJSON() ([]byte, error)

func (*RuleClause) SetAttribute ¶

func (o *RuleClause) SetAttribute(v string)

SetAttribute gets a reference to the given string and assigns it to the Attribute field.

func (*RuleClause) SetNegate ¶

func (o *RuleClause) SetNegate(v bool)

SetNegate gets a reference to the given bool and assigns it to the Negate field.

func (*RuleClause) SetOp ¶

func (o *RuleClause) SetOp(v string)

SetOp gets a reference to the given string and assigns it to the Op field.

type ScheduledChangesApiService ¶

type ScheduledChangesApiService service

ScheduledChangesApiService ScheduledChangesApi service

func (*ScheduledChangesApiService) DeleteFlagConfigScheduledChanges ¶

func (a *ScheduledChangesApiService) DeleteFlagConfigScheduledChanges(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, id string) ApiDeleteFlagConfigScheduledChangesRequest

DeleteFlagConfigScheduledChanges Delete scheduled changes workflow

Delete a scheduled changes workflow.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param id The scheduled change id
@return ApiDeleteFlagConfigScheduledChangesRequest

func (*ScheduledChangesApiService) DeleteFlagConfigScheduledChangesExecute ¶

func (a *ScheduledChangesApiService) DeleteFlagConfigScheduledChangesExecute(r ApiDeleteFlagConfigScheduledChangesRequest) (*http.Response, error)

Execute executes the request

func (*ScheduledChangesApiService) GetFeatureFlagScheduledChange ¶

func (a *ScheduledChangesApiService) GetFeatureFlagScheduledChange(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, id string) ApiGetFeatureFlagScheduledChangeRequest

GetFeatureFlagScheduledChange Get a scheduled change

Get a scheduled change that will be applied to the feature flag by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param id The scheduled change id
@return ApiGetFeatureFlagScheduledChangeRequest

func (*ScheduledChangesApiService) GetFeatureFlagScheduledChangeExecute ¶

Execute executes the request

@return FeatureFlagScheduledChange

func (*ScheduledChangesApiService) GetFlagConfigScheduledChanges ¶

func (a *ScheduledChangesApiService) GetFlagConfigScheduledChanges(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string) ApiGetFlagConfigScheduledChangesRequest

GetFlagConfigScheduledChanges List scheduled changes

Get a list of scheduled changes that will be applied to the feature flag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@return ApiGetFlagConfigScheduledChangesRequest

func (*ScheduledChangesApiService) GetFlagConfigScheduledChangesExecute ¶

Execute executes the request

@return FeatureFlagScheduledChanges

func (*ScheduledChangesApiService) PatchFlagConfigScheduledChange ¶

func (a *ScheduledChangesApiService) PatchFlagConfigScheduledChange(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, id string) ApiPatchFlagConfigScheduledChangeRequest

PatchFlagConfigScheduledChange Update scheduled changes workflow

Update a scheduled change, overriding existing instructions with the new ones. Updating a scheduled change uses the semantic patch format.

To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

### Instructions

Semantic patch requests support the following `kind` instructions for updating scheduled changes.

<details> <summary>Click to expand instructions for <strong>updating scheduled changes</strong></summary>

#### deleteScheduledChange

Removes the scheduled change.

Here's an example:

```json

{
  "instructions": [{ "kind": "deleteScheduledChange" }]
}

```

#### replaceScheduledChangesInstructions

Removes the existing scheduled changes and replaces them with the new instructions.

##### Parameters

- `value`: An array of the new actions to perform when the execution date for these scheduled changes arrives. Supported scheduled actions are `turnFlagOn` and `turnFlagOff`.

Here's an example that replaces the scheduled changes with new instructions to turn flag targeting off:

```json

{
  "instructions": [
    {
      "kind": "replaceScheduledChangesInstructions",
      "value": [ {"kind": "turnFlagOff"} ]
    }
  ]
}

```

#### updateScheduledChangesExecutionDate

Updates the execution date for the scheduled changes.

##### Parameters

- `value`: the new execution date, in Unix milliseconds.

Here's an example:

```json

{
  "instructions": [
    {
      "kind": "updateScheduledChangesExecutionDate",
      "value": 1754092860000
    }
  ]
}

```

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param id The scheduled change ID
@return ApiPatchFlagConfigScheduledChangeRequest

func (*ScheduledChangesApiService) PatchFlagConfigScheduledChangeExecute ¶

Execute executes the request

@return FeatureFlagScheduledChange

func (*ScheduledChangesApiService) PostFlagConfigScheduledChanges ¶

func (a *ScheduledChangesApiService) PostFlagConfigScheduledChanges(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string) ApiPostFlagConfigScheduledChangesRequest

PostFlagConfigScheduledChanges Create scheduled changes workflow

Create scheduled changes for a feature flag. If the `ignoreConficts` query parameter is false and there are conflicts between these instructions and existing scheduled changes, the request will fail. If the parameter is true and there are conflicts, the request will succeed.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@return ApiPostFlagConfigScheduledChangesRequest

func (*ScheduledChangesApiService) PostFlagConfigScheduledChangesExecute ¶

Execute executes the request

@return FeatureFlagScheduledChange

type SdkListRep ¶

type SdkListRep struct {
	// The location and content type of related resources
	Links map[string]interface{} `json:"_links"`
	// The list of SDK names
	Sdks []string `json:"sdks"`
}

SdkListRep struct for SdkListRep

func NewSdkListRep ¶

func NewSdkListRep(links map[string]interface{}, sdks []string) *SdkListRep

NewSdkListRep instantiates a new SdkListRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSdkListRepWithDefaults ¶

func NewSdkListRepWithDefaults() *SdkListRep

NewSdkListRepWithDefaults instantiates a new SdkListRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *SdkListRep) GetLinks() map[string]interface{}

GetLinks returns the Links field value

func (*SdkListRep) GetLinksOk ¶

func (o *SdkListRep) GetLinksOk() (map[string]interface{}, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*SdkListRep) GetSdks ¶

func (o *SdkListRep) GetSdks() []string

GetSdks returns the Sdks field value

func (*SdkListRep) GetSdksOk ¶

func (o *SdkListRep) GetSdksOk() ([]string, bool)

GetSdksOk returns a tuple with the Sdks field value and a boolean to check if the value has been set.

func (SdkListRep) MarshalJSON ¶

func (o SdkListRep) MarshalJSON() ([]byte, error)
func (o *SdkListRep) SetLinks(v map[string]interface{})

SetLinks sets field value

func (*SdkListRep) SetSdks ¶

func (o *SdkListRep) SetSdks(v []string)

SetSdks sets field value

type SdkVersionListRep ¶

type SdkVersionListRep struct {
	// The location and content type of related resources
	Links map[string]interface{} `json:"_links"`
	// The list of SDK names and versions
	SdkVersions []SdkVersionRep `json:"sdkVersions"`
}

SdkVersionListRep struct for SdkVersionListRep

func NewSdkVersionListRep ¶

func NewSdkVersionListRep(links map[string]interface{}, sdkVersions []SdkVersionRep) *SdkVersionListRep

NewSdkVersionListRep instantiates a new SdkVersionListRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSdkVersionListRepWithDefaults ¶

func NewSdkVersionListRepWithDefaults() *SdkVersionListRep

NewSdkVersionListRepWithDefaults instantiates a new SdkVersionListRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *SdkVersionListRep) GetLinks() map[string]interface{}

GetLinks returns the Links field value

func (*SdkVersionListRep) GetLinksOk ¶

func (o *SdkVersionListRep) GetLinksOk() (map[string]interface{}, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*SdkVersionListRep) GetSdkVersions ¶

func (o *SdkVersionListRep) GetSdkVersions() []SdkVersionRep

GetSdkVersions returns the SdkVersions field value

func (*SdkVersionListRep) GetSdkVersionsOk ¶

func (o *SdkVersionListRep) GetSdkVersionsOk() ([]SdkVersionRep, bool)

GetSdkVersionsOk returns a tuple with the SdkVersions field value and a boolean to check if the value has been set.

func (SdkVersionListRep) MarshalJSON ¶

func (o SdkVersionListRep) MarshalJSON() ([]byte, error)
func (o *SdkVersionListRep) SetLinks(v map[string]interface{})

SetLinks sets field value

func (*SdkVersionListRep) SetSdkVersions ¶

func (o *SdkVersionListRep) SetSdkVersions(v []SdkVersionRep)

SetSdkVersions sets field value

type SdkVersionRep ¶

type SdkVersionRep struct {
	// The SDK name, or \"Unknown\"
	Sdk string `json:"sdk"`
	// The version number, or \"Unknown\"
	Version string `json:"version"`
}

SdkVersionRep struct for SdkVersionRep

func NewSdkVersionRep ¶

func NewSdkVersionRep(sdk string, version string) *SdkVersionRep

NewSdkVersionRep instantiates a new SdkVersionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSdkVersionRepWithDefaults ¶

func NewSdkVersionRepWithDefaults() *SdkVersionRep

NewSdkVersionRepWithDefaults instantiates a new SdkVersionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SdkVersionRep) GetSdk ¶

func (o *SdkVersionRep) GetSdk() string

GetSdk returns the Sdk field value

func (*SdkVersionRep) GetSdkOk ¶

func (o *SdkVersionRep) GetSdkOk() (*string, bool)

GetSdkOk returns a tuple with the Sdk field value and a boolean to check if the value has been set.

func (*SdkVersionRep) GetVersion ¶

func (o *SdkVersionRep) GetVersion() string

GetVersion returns the Version field value

func (*SdkVersionRep) GetVersionOk ¶

func (o *SdkVersionRep) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (SdkVersionRep) MarshalJSON ¶

func (o SdkVersionRep) MarshalJSON() ([]byte, error)

func (*SdkVersionRep) SetSdk ¶

func (o *SdkVersionRep) SetSdk(v string)

SetSdk sets field value

func (*SdkVersionRep) SetVersion ¶

func (o *SdkVersionRep) SetVersion(v string)

SetVersion sets field value

type SegmentBody ¶

type SegmentBody struct {
	// A human-friendly name for the segment
	Name string `json:"name"`
	// A unique key used to reference the segment
	Key string `json:"key"`
	// A description of the segment's purpose
	Description *string `json:"description,omitempty"`
	// Tags for the segment
	Tags []string `json:"tags,omitempty"`
	// Whether to create a standard segment (<code>false</code>) or a big segment (<code>true</code>). Standard segments include rule-based and smaller list-based segments. Big segments include larger list-based segments and synced segments. Only use a big segment if you need to add more than 15,000 individual targets.
	Unbounded *bool `json:"unbounded,omitempty"`
	// For big segments, the targeted context kind.
	UnboundedContextKind *string `json:"unboundedContextKind,omitempty"`
}

SegmentBody struct for SegmentBody

func NewSegmentBody ¶

func NewSegmentBody(name string, key string) *SegmentBody

NewSegmentBody instantiates a new SegmentBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSegmentBodyWithDefaults ¶

func NewSegmentBodyWithDefaults() *SegmentBody

NewSegmentBodyWithDefaults instantiates a new SegmentBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SegmentBody) GetDescription ¶

func (o *SegmentBody) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SegmentBody) GetDescriptionOk ¶

func (o *SegmentBody) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentBody) GetKey ¶

func (o *SegmentBody) GetKey() string

GetKey returns the Key field value

func (*SegmentBody) GetKeyOk ¶

func (o *SegmentBody) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*SegmentBody) GetName ¶

func (o *SegmentBody) GetName() string

GetName returns the Name field value

func (*SegmentBody) GetNameOk ¶

func (o *SegmentBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SegmentBody) GetTags ¶

func (o *SegmentBody) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SegmentBody) GetTagsOk ¶

func (o *SegmentBody) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentBody) GetUnbounded ¶

func (o *SegmentBody) GetUnbounded() bool

GetUnbounded returns the Unbounded field value if set, zero value otherwise.

func (*SegmentBody) GetUnboundedContextKind ¶

func (o *SegmentBody) GetUnboundedContextKind() string

GetUnboundedContextKind returns the UnboundedContextKind field value if set, zero value otherwise.

func (*SegmentBody) GetUnboundedContextKindOk ¶

func (o *SegmentBody) GetUnboundedContextKindOk() (*string, bool)

GetUnboundedContextKindOk returns a tuple with the UnboundedContextKind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentBody) GetUnboundedOk ¶

func (o *SegmentBody) GetUnboundedOk() (*bool, bool)

GetUnboundedOk returns a tuple with the Unbounded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentBody) HasDescription ¶

func (o *SegmentBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SegmentBody) HasTags ¶

func (o *SegmentBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SegmentBody) HasUnbounded ¶

func (o *SegmentBody) HasUnbounded() bool

HasUnbounded returns a boolean if a field has been set.

func (*SegmentBody) HasUnboundedContextKind ¶

func (o *SegmentBody) HasUnboundedContextKind() bool

HasUnboundedContextKind returns a boolean if a field has been set.

func (SegmentBody) MarshalJSON ¶

func (o SegmentBody) MarshalJSON() ([]byte, error)

func (*SegmentBody) SetDescription ¶

func (o *SegmentBody) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SegmentBody) SetKey ¶

func (o *SegmentBody) SetKey(v string)

SetKey sets field value

func (*SegmentBody) SetName ¶

func (o *SegmentBody) SetName(v string)

SetName sets field value

func (*SegmentBody) SetTags ¶

func (o *SegmentBody) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SegmentBody) SetUnbounded ¶

func (o *SegmentBody) SetUnbounded(v bool)

SetUnbounded gets a reference to the given bool and assigns it to the Unbounded field.

func (*SegmentBody) SetUnboundedContextKind ¶

func (o *SegmentBody) SetUnboundedContextKind(v string)

SetUnboundedContextKind gets a reference to the given string and assigns it to the UnboundedContextKind field.

type SegmentMetadata ¶

type SegmentMetadata struct {
	EnvId         *string `json:"envId,omitempty"`
	SegmentId     *string `json:"segmentId,omitempty"`
	Version       *int32  `json:"version,omitempty"`
	IncludedCount *int32  `json:"includedCount,omitempty"`
	ExcludedCount *int32  `json:"excludedCount,omitempty"`
	LastModified  *int64  `json:"lastModified,omitempty"`
	Deleted       *bool   `json:"deleted,omitempty"`
}

SegmentMetadata struct for SegmentMetadata

func NewSegmentMetadata ¶

func NewSegmentMetadata() *SegmentMetadata

NewSegmentMetadata instantiates a new SegmentMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSegmentMetadataWithDefaults ¶

func NewSegmentMetadataWithDefaults() *SegmentMetadata

NewSegmentMetadataWithDefaults instantiates a new SegmentMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SegmentMetadata) GetDeleted ¶

func (o *SegmentMetadata) GetDeleted() bool

GetDeleted returns the Deleted field value if set, zero value otherwise.

func (*SegmentMetadata) GetDeletedOk ¶

func (o *SegmentMetadata) GetDeletedOk() (*bool, bool)

GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentMetadata) GetEnvId ¶

func (o *SegmentMetadata) GetEnvId() string

GetEnvId returns the EnvId field value if set, zero value otherwise.

func (*SegmentMetadata) GetEnvIdOk ¶

func (o *SegmentMetadata) GetEnvIdOk() (*string, bool)

GetEnvIdOk returns a tuple with the EnvId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentMetadata) GetExcludedCount ¶

func (o *SegmentMetadata) GetExcludedCount() int32

GetExcludedCount returns the ExcludedCount field value if set, zero value otherwise.

func (*SegmentMetadata) GetExcludedCountOk ¶

func (o *SegmentMetadata) GetExcludedCountOk() (*int32, bool)

GetExcludedCountOk returns a tuple with the ExcludedCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentMetadata) GetIncludedCount ¶

func (o *SegmentMetadata) GetIncludedCount() int32

GetIncludedCount returns the IncludedCount field value if set, zero value otherwise.

func (*SegmentMetadata) GetIncludedCountOk ¶

func (o *SegmentMetadata) GetIncludedCountOk() (*int32, bool)

GetIncludedCountOk returns a tuple with the IncludedCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentMetadata) GetLastModified ¶

func (o *SegmentMetadata) GetLastModified() int64

GetLastModified returns the LastModified field value if set, zero value otherwise.

func (*SegmentMetadata) GetLastModifiedOk ¶

func (o *SegmentMetadata) GetLastModifiedOk() (*int64, bool)

GetLastModifiedOk returns a tuple with the LastModified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentMetadata) GetSegmentId ¶

func (o *SegmentMetadata) GetSegmentId() string

GetSegmentId returns the SegmentId field value if set, zero value otherwise.

func (*SegmentMetadata) GetSegmentIdOk ¶

func (o *SegmentMetadata) GetSegmentIdOk() (*string, bool)

GetSegmentIdOk returns a tuple with the SegmentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentMetadata) GetVersion ¶

func (o *SegmentMetadata) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*SegmentMetadata) GetVersionOk ¶

func (o *SegmentMetadata) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentMetadata) HasDeleted ¶

func (o *SegmentMetadata) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*SegmentMetadata) HasEnvId ¶

func (o *SegmentMetadata) HasEnvId() bool

HasEnvId returns a boolean if a field has been set.

func (*SegmentMetadata) HasExcludedCount ¶

func (o *SegmentMetadata) HasExcludedCount() bool

HasExcludedCount returns a boolean if a field has been set.

func (*SegmentMetadata) HasIncludedCount ¶

func (o *SegmentMetadata) HasIncludedCount() bool

HasIncludedCount returns a boolean if a field has been set.

func (*SegmentMetadata) HasLastModified ¶

func (o *SegmentMetadata) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*SegmentMetadata) HasSegmentId ¶

func (o *SegmentMetadata) HasSegmentId() bool

HasSegmentId returns a boolean if a field has been set.

func (*SegmentMetadata) HasVersion ¶

func (o *SegmentMetadata) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SegmentMetadata) MarshalJSON ¶

func (o SegmentMetadata) MarshalJSON() ([]byte, error)

func (*SegmentMetadata) SetDeleted ¶

func (o *SegmentMetadata) SetDeleted(v bool)

SetDeleted gets a reference to the given bool and assigns it to the Deleted field.

func (*SegmentMetadata) SetEnvId ¶

func (o *SegmentMetadata) SetEnvId(v string)

SetEnvId gets a reference to the given string and assigns it to the EnvId field.

func (*SegmentMetadata) SetExcludedCount ¶

func (o *SegmentMetadata) SetExcludedCount(v int32)

SetExcludedCount gets a reference to the given int32 and assigns it to the ExcludedCount field.

func (*SegmentMetadata) SetIncludedCount ¶

func (o *SegmentMetadata) SetIncludedCount(v int32)

SetIncludedCount gets a reference to the given int32 and assigns it to the IncludedCount field.

func (*SegmentMetadata) SetLastModified ¶

func (o *SegmentMetadata) SetLastModified(v int64)

SetLastModified gets a reference to the given int64 and assigns it to the LastModified field.

func (*SegmentMetadata) SetSegmentId ¶

func (o *SegmentMetadata) SetSegmentId(v string)

SetSegmentId gets a reference to the given string and assigns it to the SegmentId field.

func (*SegmentMetadata) SetVersion ¶

func (o *SegmentMetadata) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type SegmentTarget ¶

type SegmentTarget struct {
	Values      []string `json:"values,omitempty"`
	ContextKind *string  `json:"contextKind,omitempty"`
}

SegmentTarget struct for SegmentTarget

func NewSegmentTarget ¶

func NewSegmentTarget() *SegmentTarget

NewSegmentTarget instantiates a new SegmentTarget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSegmentTargetWithDefaults ¶

func NewSegmentTargetWithDefaults() *SegmentTarget

NewSegmentTargetWithDefaults instantiates a new SegmentTarget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SegmentTarget) GetContextKind ¶

func (o *SegmentTarget) GetContextKind() string

GetContextKind returns the ContextKind field value if set, zero value otherwise.

func (*SegmentTarget) GetContextKindOk ¶

func (o *SegmentTarget) GetContextKindOk() (*string, bool)

GetContextKindOk returns a tuple with the ContextKind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentTarget) GetValues ¶

func (o *SegmentTarget) GetValues() []string

GetValues returns the Values field value if set, zero value otherwise.

func (*SegmentTarget) GetValuesOk ¶

func (o *SegmentTarget) GetValuesOk() ([]string, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentTarget) HasContextKind ¶

func (o *SegmentTarget) HasContextKind() bool

HasContextKind returns a boolean if a field has been set.

func (*SegmentTarget) HasValues ¶

func (o *SegmentTarget) HasValues() bool

HasValues returns a boolean if a field has been set.

func (SegmentTarget) MarshalJSON ¶

func (o SegmentTarget) MarshalJSON() ([]byte, error)

func (*SegmentTarget) SetContextKind ¶

func (o *SegmentTarget) SetContextKind(v string)

SetContextKind gets a reference to the given string and assigns it to the ContextKind field.

func (*SegmentTarget) SetValues ¶

func (o *SegmentTarget) SetValues(v []string)

SetValues gets a reference to the given []string and assigns it to the Values field.

type SegmentUserList ¶

type SegmentUserList struct {
	Add    []string `json:"add,omitempty"`
	Remove []string `json:"remove,omitempty"`
}

SegmentUserList struct for SegmentUserList

func NewSegmentUserList ¶

func NewSegmentUserList() *SegmentUserList

NewSegmentUserList instantiates a new SegmentUserList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSegmentUserListWithDefaults ¶

func NewSegmentUserListWithDefaults() *SegmentUserList

NewSegmentUserListWithDefaults instantiates a new SegmentUserList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SegmentUserList) GetAdd ¶

func (o *SegmentUserList) GetAdd() []string

GetAdd returns the Add field value if set, zero value otherwise.

func (*SegmentUserList) GetAddOk ¶

func (o *SegmentUserList) GetAddOk() ([]string, bool)

GetAddOk returns a tuple with the Add field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentUserList) GetRemove ¶

func (o *SegmentUserList) GetRemove() []string

GetRemove returns the Remove field value if set, zero value otherwise.

func (*SegmentUserList) GetRemoveOk ¶

func (o *SegmentUserList) GetRemoveOk() ([]string, bool)

GetRemoveOk returns a tuple with the Remove field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentUserList) HasAdd ¶

func (o *SegmentUserList) HasAdd() bool

HasAdd returns a boolean if a field has been set.

func (*SegmentUserList) HasRemove ¶

func (o *SegmentUserList) HasRemove() bool

HasRemove returns a boolean if a field has been set.

func (SegmentUserList) MarshalJSON ¶

func (o SegmentUserList) MarshalJSON() ([]byte, error)

func (*SegmentUserList) SetAdd ¶

func (o *SegmentUserList) SetAdd(v []string)

SetAdd gets a reference to the given []string and assigns it to the Add field.

func (*SegmentUserList) SetRemove ¶

func (o *SegmentUserList) SetRemove(v []string)

SetRemove gets a reference to the given []string and assigns it to the Remove field.

type SegmentUserState ¶

type SegmentUserState struct {
	Included *SegmentUserList `json:"included,omitempty"`
	Excluded *SegmentUserList `json:"excluded,omitempty"`
}

SegmentUserState struct for SegmentUserState

func NewSegmentUserState ¶

func NewSegmentUserState() *SegmentUserState

NewSegmentUserState instantiates a new SegmentUserState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSegmentUserStateWithDefaults ¶

func NewSegmentUserStateWithDefaults() *SegmentUserState

NewSegmentUserStateWithDefaults instantiates a new SegmentUserState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SegmentUserState) GetExcluded ¶

func (o *SegmentUserState) GetExcluded() SegmentUserList

GetExcluded returns the Excluded field value if set, zero value otherwise.

func (*SegmentUserState) GetExcludedOk ¶

func (o *SegmentUserState) GetExcludedOk() (*SegmentUserList, bool)

GetExcludedOk returns a tuple with the Excluded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentUserState) GetIncluded ¶

func (o *SegmentUserState) GetIncluded() SegmentUserList

GetIncluded returns the Included field value if set, zero value otherwise.

func (*SegmentUserState) GetIncludedOk ¶

func (o *SegmentUserState) GetIncludedOk() (*SegmentUserList, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SegmentUserState) HasExcluded ¶

func (o *SegmentUserState) HasExcluded() bool

HasExcluded returns a boolean if a field has been set.

func (*SegmentUserState) HasIncluded ¶

func (o *SegmentUserState) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (SegmentUserState) MarshalJSON ¶

func (o SegmentUserState) MarshalJSON() ([]byte, error)

func (*SegmentUserState) SetExcluded ¶

func (o *SegmentUserState) SetExcluded(v SegmentUserList)

SetExcluded gets a reference to the given SegmentUserList and assigns it to the Excluded field.

func (*SegmentUserState) SetIncluded ¶

func (o *SegmentUserState) SetIncluded(v SegmentUserList)

SetIncluded gets a reference to the given SegmentUserList and assigns it to the Included field.

type SegmentsApiService ¶

type SegmentsApiService service

SegmentsApiService SegmentsApi service

func (*SegmentsApiService) DeleteSegment ¶

func (a *SegmentsApiService) DeleteSegment(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiDeleteSegmentRequest

DeleteSegment Delete segment

Delete a segment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiDeleteSegmentRequest

func (*SegmentsApiService) DeleteSegmentExecute ¶

func (a *SegmentsApiService) DeleteSegmentExecute(r ApiDeleteSegmentRequest) (*http.Response, error)

Execute executes the request

func (*SegmentsApiService) GetContextInstanceSegmentsMembershipByEnv ¶

func (a *SegmentsApiService) GetContextInstanceSegmentsMembershipByEnv(ctx context.Context, projectKey string, environmentKey string) ApiGetContextInstanceSegmentsMembershipByEnvRequest

GetContextInstanceSegmentsMembershipByEnv List segment memberships for context instance

For a given context instance with attributes, get membership details for all segments. In the request body, pass in the context instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetContextInstanceSegmentsMembershipByEnvRequest

func (*SegmentsApiService) GetContextInstanceSegmentsMembershipByEnvExecute ¶

Execute executes the request

@return ContextInstanceSegmentMemberships

func (*SegmentsApiService) GetExpiringTargetsForSegment ¶

func (a *SegmentsApiService) GetExpiringTargetsForSegment(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiGetExpiringTargetsForSegmentRequest

GetExpiringTargetsForSegment Get expiring targets for segment

Get a list of a segment's context targets that are scheduled for removal.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiGetExpiringTargetsForSegmentRequest

func (*SegmentsApiService) GetExpiringTargetsForSegmentExecute ¶

Execute executes the request

@return ExpiringTargetGetResponse

func (*SegmentsApiService) GetExpiringUserTargetsForSegment ¶

func (a *SegmentsApiService) GetExpiringUserTargetsForSegment(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiGetExpiringUserTargetsForSegmentRequest

GetExpiringUserTargetsForSegment Get expiring user targets for segment

> ### Contexts are now available > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Get expiring targets for segment](/tag/Segments#operation/getExpiringTargetsForSegment) instead of this endpoint. To learn more, read Contexts(https://docs.launchdarkly.com/home/contexts).

Get a list of a segment's user targets that are scheduled for removal.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiGetExpiringUserTargetsForSegmentRequest

func (*SegmentsApiService) GetExpiringUserTargetsForSegmentExecute ¶

Execute executes the request

@return ExpiringUserTargetGetResponse

func (*SegmentsApiService) GetSegment ¶

func (a *SegmentsApiService) GetSegment(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiGetSegmentRequest

GetSegment Get segment

Get a single segment by key.<br/><br/>Segments can be rule-based, list-based, or synced. Big segments include larger list-based segments and synced segments. Some fields in the response only apply to big segments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiGetSegmentRequest

func (*SegmentsApiService) GetSegmentExecute ¶

func (a *SegmentsApiService) GetSegmentExecute(r ApiGetSegmentRequest) (*UserSegment, *http.Response, error)

Execute executes the request

@return UserSegment

func (*SegmentsApiService) GetSegmentMembershipForContext ¶

func (a *SegmentsApiService) GetSegmentMembershipForContext(ctx context.Context, projectKey string, environmentKey string, segmentKey string, contextKey string) ApiGetSegmentMembershipForContextRequest

GetSegmentMembershipForContext Get big segment membership for context

Get the membership status (included/excluded) for a given context in this big segment. Big segments include larger list-based segments and synced segments. This operation does not support standard segments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@param contextKey The context key
@return ApiGetSegmentMembershipForContextRequest

func (*SegmentsApiService) GetSegmentMembershipForContextExecute ¶

func (a *SegmentsApiService) GetSegmentMembershipForContextExecute(r ApiGetSegmentMembershipForContextRequest) (*BigSegmentTarget, *http.Response, error)

Execute executes the request

@return BigSegmentTarget

func (*SegmentsApiService) GetSegmentMembershipForUser ¶

func (a *SegmentsApiService) GetSegmentMembershipForUser(ctx context.Context, projectKey string, environmentKey string, segmentKey string, userKey string) ApiGetSegmentMembershipForUserRequest

GetSegmentMembershipForUser Get big segment membership for user

> ### Contexts are now available > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Get expiring targets for segment](/tag/Segments#operation/getExpiringTargetsForSegment) instead of this endpoint. To learn more, read Contexts(https://docs.launchdarkly.com/home/contexts).

Get the membership status (included/excluded) for a given user in this big segment. This operation does not support standard segments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@param userKey The user key
@return ApiGetSegmentMembershipForUserRequest

func (*SegmentsApiService) GetSegmentMembershipForUserExecute ¶

func (a *SegmentsApiService) GetSegmentMembershipForUserExecute(r ApiGetSegmentMembershipForUserRequest) (*BigSegmentTarget, *http.Response, error)

Execute executes the request

@return BigSegmentTarget

func (*SegmentsApiService) GetSegments ¶

func (a *SegmentsApiService) GetSegments(ctx context.Context, projectKey string, environmentKey string) ApiGetSegmentsRequest

GetSegments List segments

Get a list of all segments in the given project.<br/><br/>Segments can be rule-based, list-based, or synced. Big segments include larger list-based segments and synced segments. Some fields in the response only apply to big segments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetSegmentsRequest

func (*SegmentsApiService) GetSegmentsExecute ¶

Execute executes the request

@return UserSegments

func (*SegmentsApiService) PatchExpiringTargetsForSegment ¶

func (a *SegmentsApiService) PatchExpiringTargetsForSegment(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiPatchExpiringTargetsForSegmentRequest

PatchExpiringTargetsForSegment Update expiring targets for segment

Update expiring context targets for a segment. Updating a context target expiration uses the semantic patch format.

To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

If the request is well-formed but any of its instructions failed to process, this operation returns status code `200`. In this case, the response `errors` array will be non-empty.

### Instructions

Semantic patch requests support the following `kind` instructions for updating expiring context targets.

<details> <summary>Click to expand instructions for <strong>updating expiring context targets</strong></summary>

#### addExpiringTarget

Schedules a date and time when LaunchDarkly will remove a context from segment targeting. The segment must already have the context as an individual target.

##### Parameters

- `targetType`: The type of individual target for this context. Must be either `included` or `excluded`. - `contextKey`: The context key. - `contextKind`: The kind of context being targeted. - `value`: The date when the context should expire from the segment targeting, in Unix milliseconds.

Here's an example:

```json

{
  "instructions": [{
    "kind": "addExpiringTarget",
    "targetType": "included",
    "contextKey": "user-key-123abc",
    "contextKind": "user",
    "value": 1754092860000
  }]
}

```

#### updateExpiringTarget

Updates the date and time when LaunchDarkly will remove a context from segment targeting.

##### Parameters

- `targetType`: The type of individual target for this context. Must be either `included` or `excluded`. - `contextKey`: The context key. - `contextKind`: The kind of context being targeted. - `value`: The new date when the context should expire from the segment targeting, in Unix milliseconds. - `version`: (Optional) The version of the expiring target to update. If included, update will fail if version doesn't match current version of the expiring target.

Here's an example:

```json

{
  "instructions": [{
    "kind": "updateExpiringTarget",
    "targetType": "included",
    "contextKey": "user-key-123abc",
    "contextKind": "user",
    "value": 1754179260000
  }]
}

```

#### removeExpiringTarget

Removes the scheduled expiration for the context in the segment.

##### Parameters

- `targetType`: The type of individual target for this context. Must be either `included` or `excluded`. - `contextKey`: The context key. - `contextKind`: The kind of context being targeted.

Here's an example:

```json

{
  "instructions": [{
    "kind": "removeExpiringTarget",
    "targetType": "included",
    "contextKey": "user-key-123abc",
    "contextKind": "user",
  }]
}

```

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiPatchExpiringTargetsForSegmentRequest

func (*SegmentsApiService) PatchExpiringTargetsForSegmentExecute ¶

Execute executes the request

@return ExpiringTargetPatchResponse

func (*SegmentsApiService) PatchExpiringUserTargetsForSegment ¶

func (a *SegmentsApiService) PatchExpiringUserTargetsForSegment(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiPatchExpiringUserTargetsForSegmentRequest

PatchExpiringUserTargetsForSegment Update expiring user targets for segment

> ### Contexts are now available > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Update expiring targets for segment](/tag/Segments#operation/patchExpiringTargetsForSegment) instead of this endpoint. To learn more, read Contexts(https://docs.launchdarkly.com/home/contexts).

Update expiring user targets for a segment. Updating a user target expiration uses the semantic patch format.

To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

If the request is well-formed but any of its instructions failed to process, this operation returns status code `200`. In this case, the response `errors` array will be non-empty.

### Instructions

Semantic patch requests support the following `kind` instructions for updating expiring user targets.

<details> <summary>Click to expand instructions for <strong>updating expiring user targets</strong></summary>

#### addExpireUserTargetDate

Schedules a date and time when LaunchDarkly will remove a user from segment targeting.

##### Parameters

- `targetType`: A segment's target type, must be either `included` or `excluded`. - `userKey`: The user key. - `value`: The date when the user should expire from the segment targeting, in Unix milliseconds.

#### updateExpireUserTargetDate

Updates the date and time when LaunchDarkly will remove a user from segment targeting.

##### Parameters

- `targetType`: A segment's target type, must be either `included` or `excluded`. - `userKey`: The user key. - `value`: The new date when the user should expire from the segment targeting, in Unix milliseconds. - `version`: The segment version.

#### removeExpireUserTargetDate

Removes the scheduled expiration for the user in the segment.

##### Parameters

- `targetType`: A segment's target type, must be either `included` or `excluded`. - `userKey`: The user key.

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiPatchExpiringUserTargetsForSegmentRequest

func (*SegmentsApiService) PatchExpiringUserTargetsForSegmentExecute ¶

Execute executes the request

@return ExpiringUserTargetPatchResponse

func (*SegmentsApiService) PatchSegment ¶

func (a *SegmentsApiService) PatchSegment(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiPatchSegmentRequest

PatchSegment Patch segment

Update a segment. The request body must be a valid semantic patch, JSON patch, or JSON merge patch. To learn more the different formats, read [Updates](/#section/Overview/Updates).

### Using semantic patches on a segment

To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

The body of a semantic patch request for updating segments requires an `environmentKey` in addition to `instructions` and an optional `comment`. The body of the request takes the following properties:

* `comment` (string): (Optional) A description of the update. * `environmentKey` (string): (Required) The key of the LaunchDarkly environment. * `instructions` (array): (Required) A list of actions the update should perform. Each action in the list must be an object with a `kind` property that indicates the instruction. If the action requires parameters, you must include those parameters as additional fields in the object.

### Instructions

Semantic patch requests support the following `kind` instructions for updating segments.

<details> <summary>Click to expand instructions for <strong>updating segments</strong></summary>

#### addIncludedTargets

Adds context keys to the individual context targets included in the segment for the specified `contextKind`. Returns an error if this causes the same context key to be both included and excluded.

##### Parameters

- `contextKind`: The context kind the targets should be added to. - `values`: List of keys.

Here's an example:

```json

{
  "instructions": [{
    "kind": "addIncludedTargets",
    "contextKind": "org",
    "values": [ "org-key-123abc", "org-key-456def" ]
  }]
}

```

#### addIncludedUsers

Adds user keys to the individual user targets included in the segment. Returns an error if this causes the same user key to be both included and excluded. If you are working with contexts, use `addIncludedTargets` instead of this instruction.

##### Parameters

- `values`: List of user keys.

Here's an example:

```json

{
  "instructions": [{
    "kind": "addIncludedUsers",
    "values": [ "user-key-123abc", "user-key-456def" ]
  }]
}

```

#### addExcludedTargets

Adds context keys to the individual context targets excluded in the segment for the specified `contextKind`. Returns an error if this causes the same context key to be both included and excluded.

##### Parameters

- `contextKind`: The context kind the targets should be added to. - `values`: List of keys.

Here's an example:

```json

{
  "instructions": [{
    "kind": "addExcludedTargets",
    "contextKind": "org",
    "values": [ "org-key-123abc", "org-key-456def" ]
  }]
}

```

#### addExcludedUsers

Adds user keys to the individual user targets excluded from the segment. Returns an error if this causes the same user key to be both included and excluded. If you are working with contexts, use `addExcludedTargets` instead of this instruction.

##### Parameters

- `values`: List of user keys.

Here's an example:

```json

{
  "instructions": [{
    "kind": "addExcludedUsers",
    "values": [ "user-key-123abc", "user-key-456def" ]
  }]
}

```

#### removeIncludedTargets

Removes context keys from the individual context targets included in the segment for the specified `contextKind`.

##### Parameters

- `contextKind`: The context kind the targets should be removed from. - `values`: List of keys.

Here's an example:

```json

{
  "instructions": [{
    "kind": "removeIncludedTargets",
    "contextKind": "org",
    "values": [ "org-key-123abc", "org-key-456def" ]
  }]
}

```

#### removeIncludedUsers

Removes user keys from the individual user targets included in the segment. If you are working with contexts, use `removeIncludedTargets` instead of this instruction.

##### Parameters

- `values`: List of user keys.

Here's an example:

```json

{
  "instructions": [{
    "kind": "removeIncludedUsers",
    "values": [ "user-key-123abc", "user-key-456def" ]
  }]
}

```

#### removeExcludedTargets

Removes context keys from the individual context targets excluded from the segment for the specified `contextKind`.

##### Parameters

- `contextKind`: The context kind the targets should be removed from. - `values`: List of keys.

Here's an example:

```json

{
  "instructions": [{
    "kind": "removeExcludedTargets",
    "contextKind": "org",
    "values": [ "org-key-123abc", "org-key-456def" ]
  }]
}

```

#### removeExcludedUsers

Removes user keys from the individual user targets excluded from the segment. If you are working with contexts, use `removeExcludedTargets` instead of this instruction.

##### Parameters

- `values`: List of user keys.

Here's an example:

```json

{
  "instructions": [{
    "kind": "removeExcludedUsers",
    "values": [ "user-key-123abc", "user-key-456def" ]
  }]
}

```

#### updateName

Updates the name of the segment.

##### Parameters

- `value`: Name of the segment.

Here's an example:

```json

{
  "instructions": [{
    "kind": "updateName",
    "value": "Updated segment name"
  }]
}

```

</details>

## Using JSON patches on a segment

If you do not include the header described above, you can use a [JSON patch](/reference#updates-using-json-patch) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes.

For example, to update the description for a segment with a JSON patch, use the following request body:

```json

{
  "patch": [
    {
      "op": "replace",
      "path": "/description",
      "value": "new description"
    }
  ]
}

```

To update fields in the segment that are arrays, set the `path` to the name of the field and then append `/<array index>`. Use `/0` to add the new entry to the beginning of the array. Use `/-` to add the new entry to the end of the array.

For example, to add a rule to a segment, use the following request body:

```json

{
  "patch":[
    {
      "op": "add",
      "path": "/rules/0",
      "value": {
        "clauses": [{ "contextKind": "user", "attribute": "email", "op": "endsWith", "values": [".edu"], "negate": false }]
      }
    }
  ]
}

```

To add or remove targets from segments, we recommend using semantic patch. Semantic patch for segments includes specific instructions for adding and removing both included and excluded targets.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiPatchSegmentRequest

func (*SegmentsApiService) PatchSegmentExecute ¶

func (a *SegmentsApiService) PatchSegmentExecute(r ApiPatchSegmentRequest) (*UserSegment, *http.Response, error)

Execute executes the request

@return UserSegment

func (*SegmentsApiService) PostSegment ¶

func (a *SegmentsApiService) PostSegment(ctx context.Context, projectKey string, environmentKey string) ApiPostSegmentRequest

PostSegment Create segment

Create a new segment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiPostSegmentRequest

func (*SegmentsApiService) PostSegmentExecute ¶

func (a *SegmentsApiService) PostSegmentExecute(r ApiPostSegmentRequest) (*UserSegment, *http.Response, error)

Execute executes the request

@return UserSegment

func (*SegmentsApiService) UpdateBigSegmentContextTargets ¶

func (a *SegmentsApiService) UpdateBigSegmentContextTargets(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiUpdateBigSegmentContextTargetsRequest

UpdateBigSegmentContextTargets Update context targets on a big segment

Update context targets included or excluded in a big segment. Big segments include larger list-based segments and synced segments. This operation does not support standard segments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiUpdateBigSegmentContextTargetsRequest

func (*SegmentsApiService) UpdateBigSegmentContextTargetsExecute ¶

func (a *SegmentsApiService) UpdateBigSegmentContextTargetsExecute(r ApiUpdateBigSegmentContextTargetsRequest) (*http.Response, error)

Execute executes the request

func (*SegmentsApiService) UpdateBigSegmentTargets ¶

func (a *SegmentsApiService) UpdateBigSegmentTargets(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiUpdateBigSegmentTargetsRequest

UpdateBigSegmentTargets Update user context targets on a big segment

Update user context targets included or excluded in a big segment. Big segments include larger list-based segments and synced segments. This operation does not support standard segments.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiUpdateBigSegmentTargetsRequest

func (*SegmentsApiService) UpdateBigSegmentTargetsExecute ¶

func (a *SegmentsApiService) UpdateBigSegmentTargetsExecute(r ApiUpdateBigSegmentTargetsRequest) (*http.Response, error)

Execute executes the request

type SegmentsBetaApiService ¶

type SegmentsBetaApiService service

SegmentsBetaApiService SegmentsBetaApi service

func (*SegmentsBetaApiService) CreateBigSegmentExport ¶

func (a *SegmentsBetaApiService) CreateBigSegmentExport(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiCreateBigSegmentExportRequest

CreateBigSegmentExport Create big segment export

Starts a new export process for a big segment. This is an export for a synced segment or a list-based segment that can include more than 15,000 entries.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiCreateBigSegmentExportRequest

func (*SegmentsBetaApiService) CreateBigSegmentExportExecute ¶

func (a *SegmentsBetaApiService) CreateBigSegmentExportExecute(r ApiCreateBigSegmentExportRequest) (*http.Response, error)

Execute executes the request

func (*SegmentsBetaApiService) CreateBigSegmentImport ¶

func (a *SegmentsBetaApiService) CreateBigSegmentImport(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiCreateBigSegmentImportRequest

CreateBigSegmentImport Create big segment import

Start a new import process for a big segment. This is an import for a list-based segment that can include more than 15,000 entries.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@return ApiCreateBigSegmentImportRequest

func (*SegmentsBetaApiService) CreateBigSegmentImportExecute ¶

func (a *SegmentsBetaApiService) CreateBigSegmentImportExecute(r ApiCreateBigSegmentImportRequest) (*http.Response, error)

Execute executes the request

func (*SegmentsBetaApiService) GetBigSegmentExport ¶

func (a *SegmentsBetaApiService) GetBigSegmentExport(ctx context.Context, projectKey string, environmentKey string, segmentKey string, exportID string) ApiGetBigSegmentExportRequest

GetBigSegmentExport Get big segment export

Returns information about a big segment export process. This is an export for a synced segment or a list-based segment that can include more than 15,000 entries.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@param exportID The export ID
@return ApiGetBigSegmentExportRequest

func (*SegmentsBetaApiService) GetBigSegmentExportExecute ¶

func (a *SegmentsBetaApiService) GetBigSegmentExportExecute(r ApiGetBigSegmentExportRequest) (*Export, *http.Response, error)

Execute executes the request

@return Export

func (*SegmentsBetaApiService) GetBigSegmentImport ¶

func (a *SegmentsBetaApiService) GetBigSegmentImport(ctx context.Context, projectKey string, environmentKey string, segmentKey string, importID string) ApiGetBigSegmentImportRequest

GetBigSegmentImport Get big segment import

Returns information about a big segment import process. This is the import of a list-based segment that can include more than 15,000 entries.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param segmentKey The segment key
@param importID The import ID
@return ApiGetBigSegmentImportRequest

func (*SegmentsBetaApiService) GetBigSegmentImportExecute ¶

func (a *SegmentsBetaApiService) GetBigSegmentImportExecute(r ApiGetBigSegmentImportRequest) (*Import, *http.Response, error)

Execute executes the request

@return Import

type Series ¶

type Series struct {
	// The timestamp
	Time int64 `json:"time"`
	// The value for the given timestamp
	Value float32 `json:"value"`
}

Series struct for Series

func NewSeries ¶

func NewSeries(time int64, value float32) *Series

NewSeries instantiates a new Series object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSeriesWithDefaults ¶

func NewSeriesWithDefaults() *Series

NewSeriesWithDefaults instantiates a new Series object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Series) GetTime ¶

func (o *Series) GetTime() int64

GetTime returns the Time field value

func (*Series) GetTimeOk ¶

func (o *Series) GetTimeOk() (*int64, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*Series) GetValue ¶

func (o *Series) GetValue() float32

GetValue returns the Value field value

func (*Series) GetValueOk ¶

func (o *Series) GetValueOk() (*float32, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (Series) MarshalJSON ¶

func (o Series) MarshalJSON() ([]byte, error)

func (*Series) SetTime ¶

func (o *Series) SetTime(v int64)

SetTime sets field value

func (*Series) SetValue ¶

func (o *Series) SetValue(v float32)

SetValue sets field value

type SeriesIntervalsRep ¶

type SeriesIntervalsRep struct {
	// An array of timestamps and values for a given meter
	Series []Series `json:"series"`
	// The location and content type of related resources
	Links map[string]interface{} `json:"_links"`
}

SeriesIntervalsRep struct for SeriesIntervalsRep

func NewSeriesIntervalsRep ¶

func NewSeriesIntervalsRep(series []Series, links map[string]interface{}) *SeriesIntervalsRep

NewSeriesIntervalsRep instantiates a new SeriesIntervalsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSeriesIntervalsRepWithDefaults ¶

func NewSeriesIntervalsRepWithDefaults() *SeriesIntervalsRep

NewSeriesIntervalsRepWithDefaults instantiates a new SeriesIntervalsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *SeriesIntervalsRep) GetLinks() map[string]interface{}

GetLinks returns the Links field value

func (*SeriesIntervalsRep) GetLinksOk ¶

func (o *SeriesIntervalsRep) GetLinksOk() (map[string]interface{}, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*SeriesIntervalsRep) GetSeries ¶

func (o *SeriesIntervalsRep) GetSeries() []Series

GetSeries returns the Series field value

func (*SeriesIntervalsRep) GetSeriesOk ¶

func (o *SeriesIntervalsRep) GetSeriesOk() ([]Series, bool)

GetSeriesOk returns a tuple with the Series field value and a boolean to check if the value has been set.

func (SeriesIntervalsRep) MarshalJSON ¶

func (o SeriesIntervalsRep) MarshalJSON() ([]byte, error)
func (o *SeriesIntervalsRep) SetLinks(v map[string]interface{})

SetLinks sets field value

func (*SeriesIntervalsRep) SetSeries ¶

func (o *SeriesIntervalsRep) SetSeries(v []Series)

SetSeries sets field value

type SeriesListRep ¶

type SeriesListRep struct {
	// The location and content type of related resources
	Links map[string]interface{} `json:"_links"`
	// Metadata about each series
	Metadata []map[string]interface{} `json:"metadata"`
	// An array of data points with timestamps. Each element of the array is an object with a 'time' field, whose value is the timestamp, and one or more key fields. If there are multiple key fields, they are labeled '0', '1', and so on, and are explained in the <code>metadata</code>.
	Series []map[string]int32 `json:"series"`
}

SeriesListRep struct for SeriesListRep

func NewSeriesListRep ¶

func NewSeriesListRep(links map[string]interface{}, metadata []map[string]interface{}, series []map[string]int32) *SeriesListRep

NewSeriesListRep instantiates a new SeriesListRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSeriesListRepWithDefaults ¶

func NewSeriesListRepWithDefaults() *SeriesListRep

NewSeriesListRepWithDefaults instantiates a new SeriesListRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *SeriesListRep) GetLinks() map[string]interface{}

GetLinks returns the Links field value

func (*SeriesListRep) GetLinksOk ¶

func (o *SeriesListRep) GetLinksOk() (map[string]interface{}, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*SeriesListRep) GetMetadata ¶

func (o *SeriesListRep) GetMetadata() []map[string]interface{}

GetMetadata returns the Metadata field value

func (*SeriesListRep) GetMetadataOk ¶

func (o *SeriesListRep) GetMetadataOk() ([]map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*SeriesListRep) GetSeries ¶

func (o *SeriesListRep) GetSeries() []map[string]int32

GetSeries returns the Series field value

func (*SeriesListRep) GetSeriesOk ¶

func (o *SeriesListRep) GetSeriesOk() ([]map[string]int32, bool)

GetSeriesOk returns a tuple with the Series field value and a boolean to check if the value has been set.

func (SeriesListRep) MarshalJSON ¶

func (o SeriesListRep) MarshalJSON() ([]byte, error)
func (o *SeriesListRep) SetLinks(v map[string]interface{})

SetLinks sets field value

func (*SeriesListRep) SetMetadata ¶

func (o *SeriesListRep) SetMetadata(v []map[string]interface{})

SetMetadata sets field value

func (*SeriesListRep) SetSeries ¶

func (o *SeriesListRep) SetSeries(v []map[string]int32)

SetSeries sets field value

type ServerConfiguration ¶

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations ¶

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL ¶

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable ¶

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SlicedResultsRep ¶

type SlicedResultsRep struct {
	// An attribute that results are sliced by
	Attribute *string `json:"attribute,omitempty"`
	// Attribute Value for 'attribute'
	AttributeValue *string `json:"attributeValue,omitempty"`
	// A list of the results for each treatment
	TreatmentResults []TreatmentResultRep `json:"treatmentResults,omitempty"`
}

SlicedResultsRep struct for SlicedResultsRep

func NewSlicedResultsRep ¶

func NewSlicedResultsRep() *SlicedResultsRep

NewSlicedResultsRep instantiates a new SlicedResultsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSlicedResultsRepWithDefaults ¶

func NewSlicedResultsRepWithDefaults() *SlicedResultsRep

NewSlicedResultsRepWithDefaults instantiates a new SlicedResultsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SlicedResultsRep) GetAttribute ¶

func (o *SlicedResultsRep) GetAttribute() string

GetAttribute returns the Attribute field value if set, zero value otherwise.

func (*SlicedResultsRep) GetAttributeOk ¶

func (o *SlicedResultsRep) GetAttributeOk() (*string, bool)

GetAttributeOk returns a tuple with the Attribute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SlicedResultsRep) GetAttributeValue ¶

func (o *SlicedResultsRep) GetAttributeValue() string

GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.

func (*SlicedResultsRep) GetAttributeValueOk ¶

func (o *SlicedResultsRep) GetAttributeValueOk() (*string, bool)

GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SlicedResultsRep) GetTreatmentResults ¶

func (o *SlicedResultsRep) GetTreatmentResults() []TreatmentResultRep

GetTreatmentResults returns the TreatmentResults field value if set, zero value otherwise.

func (*SlicedResultsRep) GetTreatmentResultsOk ¶

func (o *SlicedResultsRep) GetTreatmentResultsOk() ([]TreatmentResultRep, bool)

GetTreatmentResultsOk returns a tuple with the TreatmentResults field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SlicedResultsRep) HasAttribute ¶

func (o *SlicedResultsRep) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*SlicedResultsRep) HasAttributeValue ¶

func (o *SlicedResultsRep) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (*SlicedResultsRep) HasTreatmentResults ¶

func (o *SlicedResultsRep) HasTreatmentResults() bool

HasTreatmentResults returns a boolean if a field has been set.

func (SlicedResultsRep) MarshalJSON ¶

func (o SlicedResultsRep) MarshalJSON() ([]byte, error)

func (*SlicedResultsRep) SetAttribute ¶

func (o *SlicedResultsRep) SetAttribute(v string)

SetAttribute gets a reference to the given string and assigns it to the Attribute field.

func (*SlicedResultsRep) SetAttributeValue ¶

func (o *SlicedResultsRep) SetAttributeValue(v string)

SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.

func (*SlicedResultsRep) SetTreatmentResults ¶

func (o *SlicedResultsRep) SetTreatmentResults(v []TreatmentResultRep)

SetTreatmentResults gets a reference to the given []TreatmentResultRep and assigns it to the TreatmentResults field.

type SourceEnv ¶

type SourceEnv struct {
	// The key of the source environment to clone from
	Key *string `json:"key,omitempty"`
	// (Optional) The version number of the source environment to clone from. Used for optimistic locking
	Version *int32 `json:"version,omitempty"`
}

SourceEnv struct for SourceEnv

func NewSourceEnv ¶

func NewSourceEnv() *SourceEnv

NewSourceEnv instantiates a new SourceEnv object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceEnvWithDefaults ¶

func NewSourceEnvWithDefaults() *SourceEnv

NewSourceEnvWithDefaults instantiates a new SourceEnv object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceEnv) GetKey ¶

func (o *SourceEnv) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*SourceEnv) GetKeyOk ¶

func (o *SourceEnv) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceEnv) GetVersion ¶

func (o *SourceEnv) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*SourceEnv) GetVersionOk ¶

func (o *SourceEnv) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceEnv) HasKey ¶

func (o *SourceEnv) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*SourceEnv) HasVersion ¶

func (o *SourceEnv) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SourceEnv) MarshalJSON ¶

func (o SourceEnv) MarshalJSON() ([]byte, error)

func (*SourceEnv) SetKey ¶

func (o *SourceEnv) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*SourceEnv) SetVersion ¶

func (o *SourceEnv) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type SourceFlag ¶

type SourceFlag struct {
	// The environment key for the source environment
	Key string `json:"key"`
	// The version of the source flag from which to copy
	Version *int32 `json:"version,omitempty"`
}

SourceFlag struct for SourceFlag

func NewSourceFlag ¶

func NewSourceFlag(key string) *SourceFlag

NewSourceFlag instantiates a new SourceFlag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceFlagWithDefaults ¶

func NewSourceFlagWithDefaults() *SourceFlag

NewSourceFlagWithDefaults instantiates a new SourceFlag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceFlag) GetKey ¶

func (o *SourceFlag) GetKey() string

GetKey returns the Key field value

func (*SourceFlag) GetKeyOk ¶

func (o *SourceFlag) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*SourceFlag) GetVersion ¶

func (o *SourceFlag) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*SourceFlag) GetVersionOk ¶

func (o *SourceFlag) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceFlag) HasVersion ¶

func (o *SourceFlag) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SourceFlag) MarshalJSON ¶

func (o SourceFlag) MarshalJSON() ([]byte, error)

func (*SourceFlag) SetKey ¶

func (o *SourceFlag) SetKey(v string)

SetKey sets field value

func (*SourceFlag) SetVersion ¶

func (o *SourceFlag) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type StageInput ¶

type StageInput struct {
	// The stage name
	Name *string `json:"name,omitempty"`
	// Whether to execute the conditions in sequence for the given stage
	ExecuteConditionsInSequence *bool `json:"executeConditionsInSequence,omitempty"`
	// An array of conditions for the stage
	Conditions []ConditionInput `json:"conditions,omitempty"`
	Action     *ActionInput     `json:"action,omitempty"`
}

StageInput struct for StageInput

func NewStageInput ¶

func NewStageInput() *StageInput

NewStageInput instantiates a new StageInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStageInputWithDefaults ¶

func NewStageInputWithDefaults() *StageInput

NewStageInputWithDefaults instantiates a new StageInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StageInput) GetAction ¶

func (o *StageInput) GetAction() ActionInput

GetAction returns the Action field value if set, zero value otherwise.

func (*StageInput) GetActionOk ¶

func (o *StageInput) GetActionOk() (*ActionInput, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StageInput) GetConditions ¶

func (o *StageInput) GetConditions() []ConditionInput

GetConditions returns the Conditions field value if set, zero value otherwise.

func (*StageInput) GetConditionsOk ¶

func (o *StageInput) GetConditionsOk() ([]ConditionInput, bool)

GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StageInput) GetExecuteConditionsInSequence ¶

func (o *StageInput) GetExecuteConditionsInSequence() bool

GetExecuteConditionsInSequence returns the ExecuteConditionsInSequence field value if set, zero value otherwise.

func (*StageInput) GetExecuteConditionsInSequenceOk ¶

func (o *StageInput) GetExecuteConditionsInSequenceOk() (*bool, bool)

GetExecuteConditionsInSequenceOk returns a tuple with the ExecuteConditionsInSequence field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StageInput) GetName ¶

func (o *StageInput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*StageInput) GetNameOk ¶

func (o *StageInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StageInput) HasAction ¶

func (o *StageInput) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*StageInput) HasConditions ¶

func (o *StageInput) HasConditions() bool

HasConditions returns a boolean if a field has been set.

func (*StageInput) HasExecuteConditionsInSequence ¶

func (o *StageInput) HasExecuteConditionsInSequence() bool

HasExecuteConditionsInSequence returns a boolean if a field has been set.

func (*StageInput) HasName ¶

func (o *StageInput) HasName() bool

HasName returns a boolean if a field has been set.

func (StageInput) MarshalJSON ¶

func (o StageInput) MarshalJSON() ([]byte, error)

func (*StageInput) SetAction ¶

func (o *StageInput) SetAction(v ActionInput)

SetAction gets a reference to the given ActionInput and assigns it to the Action field.

func (*StageInput) SetConditions ¶

func (o *StageInput) SetConditions(v []ConditionInput)

SetConditions gets a reference to the given []ConditionInput and assigns it to the Conditions field.

func (*StageInput) SetExecuteConditionsInSequence ¶

func (o *StageInput) SetExecuteConditionsInSequence(v bool)

SetExecuteConditionsInSequence gets a reference to the given bool and assigns it to the ExecuteConditionsInSequence field.

func (*StageInput) SetName ¶

func (o *StageInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type StageOutput ¶

type StageOutput struct {
	// The ID of this stage
	Id string `json:"_id"`
	// The stage name
	Name *string `json:"name,omitempty"`
	// An array of conditions for the stage
	Conditions []ConditionOutput `json:"conditions"`
	Action     ActionOutput      `json:"action"`
	Execution  ExecutionOutput   `json:"_execution"`
}

StageOutput struct for StageOutput

func NewStageOutput ¶

func NewStageOutput(id string, conditions []ConditionOutput, action ActionOutput, execution ExecutionOutput) *StageOutput

NewStageOutput instantiates a new StageOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStageOutputWithDefaults ¶

func NewStageOutputWithDefaults() *StageOutput

NewStageOutputWithDefaults instantiates a new StageOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StageOutput) GetAction ¶

func (o *StageOutput) GetAction() ActionOutput

GetAction returns the Action field value

func (*StageOutput) GetActionOk ¶

func (o *StageOutput) GetActionOk() (*ActionOutput, bool)

GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.

func (*StageOutput) GetConditions ¶

func (o *StageOutput) GetConditions() []ConditionOutput

GetConditions returns the Conditions field value

func (*StageOutput) GetConditionsOk ¶

func (o *StageOutput) GetConditionsOk() ([]ConditionOutput, bool)

GetConditionsOk returns a tuple with the Conditions field value and a boolean to check if the value has been set.

func (*StageOutput) GetExecution ¶

func (o *StageOutput) GetExecution() ExecutionOutput

GetExecution returns the Execution field value

func (*StageOutput) GetExecutionOk ¶

func (o *StageOutput) GetExecutionOk() (*ExecutionOutput, bool)

GetExecutionOk returns a tuple with the Execution field value and a boolean to check if the value has been set.

func (*StageOutput) GetId ¶

func (o *StageOutput) GetId() string

GetId returns the Id field value

func (*StageOutput) GetIdOk ¶

func (o *StageOutput) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*StageOutput) GetName ¶

func (o *StageOutput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*StageOutput) GetNameOk ¶

func (o *StageOutput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StageOutput) HasName ¶

func (o *StageOutput) HasName() bool

HasName returns a boolean if a field has been set.

func (StageOutput) MarshalJSON ¶

func (o StageOutput) MarshalJSON() ([]byte, error)

func (*StageOutput) SetAction ¶

func (o *StageOutput) SetAction(v ActionOutput)

SetAction sets field value

func (*StageOutput) SetConditions ¶

func (o *StageOutput) SetConditions(v []ConditionOutput)

SetConditions sets field value

func (*StageOutput) SetExecution ¶

func (o *StageOutput) SetExecution(v ExecutionOutput)

SetExecution sets field value

func (*StageOutput) SetId ¶

func (o *StageOutput) SetId(v string)

SetId sets field value

func (*StageOutput) SetName ¶

func (o *StageOutput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type Statement ¶

type Statement struct {
	// Resource specifier strings
	Resources []string `json:"resources,omitempty"`
	// Targeted resources are the resources NOT in this list. The <code>resources</code> and <code>notActions</code> fields must be empty to use this field.
	NotResources []string `json:"notResources,omitempty"`
	// Actions to perform on a resource
	Actions []string `json:"actions,omitempty"`
	// Targeted actions are the actions NOT in this list. The <code>actions</code> and <code>notResources</code> fields must be empty to use this field.
	NotActions []string `json:"notActions,omitempty"`
	// Whether this statement should allow or deny actions on the resources.
	Effect string `json:"effect"`
}

Statement struct for Statement

func NewStatement ¶

func NewStatement(effect string) *Statement

NewStatement instantiates a new Statement object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStatementWithDefaults ¶

func NewStatementWithDefaults() *Statement

NewStatementWithDefaults instantiates a new Statement object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Statement) GetActions ¶

func (o *Statement) GetActions() []string

GetActions returns the Actions field value if set, zero value otherwise.

func (*Statement) GetActionsOk ¶

func (o *Statement) GetActionsOk() ([]string, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Statement) GetEffect ¶

func (o *Statement) GetEffect() string

GetEffect returns the Effect field value

func (*Statement) GetEffectOk ¶

func (o *Statement) GetEffectOk() (*string, bool)

GetEffectOk returns a tuple with the Effect field value and a boolean to check if the value has been set.

func (*Statement) GetNotActions ¶

func (o *Statement) GetNotActions() []string

GetNotActions returns the NotActions field value if set, zero value otherwise.

func (*Statement) GetNotActionsOk ¶

func (o *Statement) GetNotActionsOk() ([]string, bool)

GetNotActionsOk returns a tuple with the NotActions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Statement) GetNotResources ¶

func (o *Statement) GetNotResources() []string

GetNotResources returns the NotResources field value if set, zero value otherwise.

func (*Statement) GetNotResourcesOk ¶

func (o *Statement) GetNotResourcesOk() ([]string, bool)

GetNotResourcesOk returns a tuple with the NotResources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Statement) GetResources ¶

func (o *Statement) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*Statement) GetResourcesOk ¶

func (o *Statement) GetResourcesOk() ([]string, bool)

GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Statement) HasActions ¶

func (o *Statement) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*Statement) HasNotActions ¶

func (o *Statement) HasNotActions() bool

HasNotActions returns a boolean if a field has been set.

func (*Statement) HasNotResources ¶

func (o *Statement) HasNotResources() bool

HasNotResources returns a boolean if a field has been set.

func (*Statement) HasResources ¶

func (o *Statement) HasResources() bool

HasResources returns a boolean if a field has been set.

func (Statement) MarshalJSON ¶

func (o Statement) MarshalJSON() ([]byte, error)

func (*Statement) SetActions ¶

func (o *Statement) SetActions(v []string)

SetActions gets a reference to the given []string and assigns it to the Actions field.

func (*Statement) SetEffect ¶

func (o *Statement) SetEffect(v string)

SetEffect sets field value

func (*Statement) SetNotActions ¶

func (o *Statement) SetNotActions(v []string)

SetNotActions gets a reference to the given []string and assigns it to the NotActions field.

func (*Statement) SetNotResources ¶

func (o *Statement) SetNotResources(v []string)

SetNotResources gets a reference to the given []string and assigns it to the NotResources field.

func (*Statement) SetResources ¶

func (o *Statement) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

type StatementPost ¶

type StatementPost struct {
	// Resource specifier strings
	Resources []string `json:"resources,omitempty"`
	// Targeted resources are the resources NOT in this list. The <code>resources</code> field must be empty to use this field.
	NotResources []string `json:"notResources,omitempty"`
	// Actions to perform on a resource
	Actions []string `json:"actions,omitempty"`
	// Targeted actions are the actions NOT in this list. The <code>actions</code> field must be empty to use this field.
	NotActions []string `json:"notActions,omitempty"`
	// Whether this statement should allow or deny actions on the resources.
	Effect string `json:"effect"`
}

StatementPost struct for StatementPost

func NewStatementPost ¶

func NewStatementPost(effect string) *StatementPost

NewStatementPost instantiates a new StatementPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStatementPostWithDefaults ¶

func NewStatementPostWithDefaults() *StatementPost

NewStatementPostWithDefaults instantiates a new StatementPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StatementPost) GetActions ¶

func (o *StatementPost) GetActions() []string

GetActions returns the Actions field value if set, zero value otherwise.

func (*StatementPost) GetActionsOk ¶

func (o *StatementPost) GetActionsOk() ([]string, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StatementPost) GetEffect ¶

func (o *StatementPost) GetEffect() string

GetEffect returns the Effect field value

func (*StatementPost) GetEffectOk ¶

func (o *StatementPost) GetEffectOk() (*string, bool)

GetEffectOk returns a tuple with the Effect field value and a boolean to check if the value has been set.

func (*StatementPost) GetNotActions ¶

func (o *StatementPost) GetNotActions() []string

GetNotActions returns the NotActions field value if set, zero value otherwise.

func (*StatementPost) GetNotActionsOk ¶

func (o *StatementPost) GetNotActionsOk() ([]string, bool)

GetNotActionsOk returns a tuple with the NotActions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StatementPost) GetNotResources ¶

func (o *StatementPost) GetNotResources() []string

GetNotResources returns the NotResources field value if set, zero value otherwise.

func (*StatementPost) GetNotResourcesOk ¶

func (o *StatementPost) GetNotResourcesOk() ([]string, bool)

GetNotResourcesOk returns a tuple with the NotResources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StatementPost) GetResources ¶

func (o *StatementPost) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*StatementPost) GetResourcesOk ¶

func (o *StatementPost) GetResourcesOk() ([]string, bool)

GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StatementPost) HasActions ¶

func (o *StatementPost) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*StatementPost) HasNotActions ¶

func (o *StatementPost) HasNotActions() bool

HasNotActions returns a boolean if a field has been set.

func (*StatementPost) HasNotResources ¶

func (o *StatementPost) HasNotResources() bool

HasNotResources returns a boolean if a field has been set.

func (*StatementPost) HasResources ¶

func (o *StatementPost) HasResources() bool

HasResources returns a boolean if a field has been set.

func (StatementPost) MarshalJSON ¶

func (o StatementPost) MarshalJSON() ([]byte, error)

func (*StatementPost) SetActions ¶

func (o *StatementPost) SetActions(v []string)

SetActions gets a reference to the given []string and assigns it to the Actions field.

func (*StatementPost) SetEffect ¶

func (o *StatementPost) SetEffect(v string)

SetEffect sets field value

func (*StatementPost) SetNotActions ¶

func (o *StatementPost) SetNotActions(v []string)

SetNotActions gets a reference to the given []string and assigns it to the NotActions field.

func (*StatementPost) SetNotResources ¶

func (o *StatementPost) SetNotResources(v []string)

SetNotResources gets a reference to the given []string and assigns it to the NotResources field.

func (*StatementPost) SetResources ¶

func (o *StatementPost) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

type StatisticCollectionRep ¶

type StatisticCollectionRep struct {
	// A map of flag keys to a list of code reference statistics for each code repository in which the flag key appears
	Flags map[string][]StatisticRep `json:"flags"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

StatisticCollectionRep struct for StatisticCollectionRep

func NewStatisticCollectionRep ¶

func NewStatisticCollectionRep(flags map[string][]StatisticRep, links map[string]Link) *StatisticCollectionRep

NewStatisticCollectionRep instantiates a new StatisticCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStatisticCollectionRepWithDefaults ¶

func NewStatisticCollectionRepWithDefaults() *StatisticCollectionRep

NewStatisticCollectionRepWithDefaults instantiates a new StatisticCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StatisticCollectionRep) GetFlags ¶

func (o *StatisticCollectionRep) GetFlags() map[string][]StatisticRep

GetFlags returns the Flags field value

func (*StatisticCollectionRep) GetFlagsOk ¶

func (o *StatisticCollectionRep) GetFlagsOk() (*map[string][]StatisticRep, bool)

GetFlagsOk returns a tuple with the Flags field value and a boolean to check if the value has been set.

func (o *StatisticCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*StatisticCollectionRep) GetLinksOk ¶

func (o *StatisticCollectionRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (StatisticCollectionRep) MarshalJSON ¶

func (o StatisticCollectionRep) MarshalJSON() ([]byte, error)

func (*StatisticCollectionRep) SetFlags ¶

func (o *StatisticCollectionRep) SetFlags(v map[string][]StatisticRep)

SetFlags sets field value

func (o *StatisticCollectionRep) SetLinks(v map[string]Link)

SetLinks sets field value

type StatisticRep ¶

type StatisticRep struct {
	// The repository name
	Name string `json:"name"`
	// The type of repository
	Type string `json:"type"`
	// A URL to access the repository
	SourceLink string `json:"sourceLink"`
	// The repository's default branch
	DefaultBranch string `json:"defaultBranch"`
	// Whether or not a repository is enabled for code reference scanning
	Enabled bool `json:"enabled"`
	// The version of the repository's saved information
	Version int32 `json:"version"`
	// The number of code reference hunks in which the flag appears in this repository
	HunkCount int32 `json:"hunkCount"`
	// The number of files in which the flag appears in this repository
	FileCount int32 `json:"fileCount"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

StatisticRep struct for StatisticRep

func NewStatisticRep ¶

func NewStatisticRep(name string, type_ string, sourceLink string, defaultBranch string, enabled bool, version int32, hunkCount int32, fileCount int32, links map[string]Link) *StatisticRep

NewStatisticRep instantiates a new StatisticRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStatisticRepWithDefaults ¶

func NewStatisticRepWithDefaults() *StatisticRep

NewStatisticRepWithDefaults instantiates a new StatisticRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StatisticRep) GetDefaultBranch ¶

func (o *StatisticRep) GetDefaultBranch() string

GetDefaultBranch returns the DefaultBranch field value

func (*StatisticRep) GetDefaultBranchOk ¶

func (o *StatisticRep) GetDefaultBranchOk() (*string, bool)

GetDefaultBranchOk returns a tuple with the DefaultBranch field value and a boolean to check if the value has been set.

func (*StatisticRep) GetEnabled ¶

func (o *StatisticRep) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*StatisticRep) GetEnabledOk ¶

func (o *StatisticRep) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*StatisticRep) GetFileCount ¶

func (o *StatisticRep) GetFileCount() int32

GetFileCount returns the FileCount field value

func (*StatisticRep) GetFileCountOk ¶

func (o *StatisticRep) GetFileCountOk() (*int32, bool)

GetFileCountOk returns a tuple with the FileCount field value and a boolean to check if the value has been set.

func (*StatisticRep) GetHunkCount ¶

func (o *StatisticRep) GetHunkCount() int32

GetHunkCount returns the HunkCount field value

func (*StatisticRep) GetHunkCountOk ¶

func (o *StatisticRep) GetHunkCountOk() (*int32, bool)

GetHunkCountOk returns a tuple with the HunkCount field value and a boolean to check if the value has been set.

func (o *StatisticRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*StatisticRep) GetLinksOk ¶

func (o *StatisticRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*StatisticRep) GetName ¶

func (o *StatisticRep) GetName() string

GetName returns the Name field value

func (*StatisticRep) GetNameOk ¶

func (o *StatisticRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *StatisticRep) GetSourceLink() string

GetSourceLink returns the SourceLink field value

func (*StatisticRep) GetSourceLinkOk ¶

func (o *StatisticRep) GetSourceLinkOk() (*string, bool)

GetSourceLinkOk returns a tuple with the SourceLink field value and a boolean to check if the value has been set.

func (*StatisticRep) GetType ¶

func (o *StatisticRep) GetType() string

GetType returns the Type field value

func (*StatisticRep) GetTypeOk ¶

func (o *StatisticRep) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*StatisticRep) GetVersion ¶

func (o *StatisticRep) GetVersion() int32

GetVersion returns the Version field value

func (*StatisticRep) GetVersionOk ¶

func (o *StatisticRep) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (StatisticRep) MarshalJSON ¶

func (o StatisticRep) MarshalJSON() ([]byte, error)

func (*StatisticRep) SetDefaultBranch ¶

func (o *StatisticRep) SetDefaultBranch(v string)

SetDefaultBranch sets field value

func (*StatisticRep) SetEnabled ¶

func (o *StatisticRep) SetEnabled(v bool)

SetEnabled sets field value

func (*StatisticRep) SetFileCount ¶

func (o *StatisticRep) SetFileCount(v int32)

SetFileCount sets field value

func (*StatisticRep) SetHunkCount ¶

func (o *StatisticRep) SetHunkCount(v int32)

SetHunkCount sets field value

func (o *StatisticRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*StatisticRep) SetName ¶

func (o *StatisticRep) SetName(v string)

SetName sets field value

func (o *StatisticRep) SetSourceLink(v string)

SetSourceLink sets field value

func (*StatisticRep) SetType ¶

func (o *StatisticRep) SetType(v string)

SetType sets field value

func (*StatisticRep) SetVersion ¶

func (o *StatisticRep) SetVersion(v int32)

SetVersion sets field value

type StatisticsRoot ¶

type StatisticsRoot struct {
	// The location and content type of all projects that have code references
	Projects []Link `json:"projects,omitempty"`
	Self     *Link  `json:"self,omitempty"`
}

StatisticsRoot struct for StatisticsRoot

func NewStatisticsRoot ¶

func NewStatisticsRoot() *StatisticsRoot

NewStatisticsRoot instantiates a new StatisticsRoot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStatisticsRootWithDefaults ¶

func NewStatisticsRootWithDefaults() *StatisticsRoot

NewStatisticsRootWithDefaults instantiates a new StatisticsRoot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StatisticsRoot) GetProjects ¶

func (o *StatisticsRoot) GetProjects() []Link

GetProjects returns the Projects field value if set, zero value otherwise.

func (*StatisticsRoot) GetProjectsOk ¶

func (o *StatisticsRoot) GetProjectsOk() ([]Link, bool)

GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StatisticsRoot) GetSelf ¶

func (o *StatisticsRoot) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*StatisticsRoot) GetSelfOk ¶

func (o *StatisticsRoot) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StatisticsRoot) HasProjects ¶

func (o *StatisticsRoot) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*StatisticsRoot) HasSelf ¶

func (o *StatisticsRoot) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (StatisticsRoot) MarshalJSON ¶

func (o StatisticsRoot) MarshalJSON() ([]byte, error)

func (*StatisticsRoot) SetProjects ¶

func (o *StatisticsRoot) SetProjects(v []Link)

SetProjects gets a reference to the given []Link and assigns it to the Projects field.

func (*StatisticsRoot) SetSelf ¶

func (o *StatisticsRoot) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

type StatusConflictErrorRep ¶

type StatusConflictErrorRep struct {
	// Specific error code encountered
	Code string `json:"code"`
	// Description of the error
	Message string `json:"message"`
}

StatusConflictErrorRep struct for StatusConflictErrorRep

func NewStatusConflictErrorRep ¶

func NewStatusConflictErrorRep(code string, message string) *StatusConflictErrorRep

NewStatusConflictErrorRep instantiates a new StatusConflictErrorRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStatusConflictErrorRepWithDefaults ¶

func NewStatusConflictErrorRepWithDefaults() *StatusConflictErrorRep

NewStatusConflictErrorRepWithDefaults instantiates a new StatusConflictErrorRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StatusConflictErrorRep) GetCode ¶

func (o *StatusConflictErrorRep) GetCode() string

GetCode returns the Code field value

func (*StatusConflictErrorRep) GetCodeOk ¶

func (o *StatusConflictErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*StatusConflictErrorRep) GetMessage ¶

func (o *StatusConflictErrorRep) GetMessage() string

GetMessage returns the Message field value

func (*StatusConflictErrorRep) GetMessageOk ¶

func (o *StatusConflictErrorRep) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (StatusConflictErrorRep) MarshalJSON ¶

func (o StatusConflictErrorRep) MarshalJSON() ([]byte, error)

func (*StatusConflictErrorRep) SetCode ¶

func (o *StatusConflictErrorRep) SetCode(v string)

SetCode sets field value

func (*StatusConflictErrorRep) SetMessage ¶

func (o *StatusConflictErrorRep) SetMessage(v string)

SetMessage sets field value

type StatusServiceUnavailable ¶

type StatusServiceUnavailable struct {
	// Specific error code encountered
	Code string `json:"code"`
	// Description of the error
	Message string `json:"message"`
}

StatusServiceUnavailable struct for StatusServiceUnavailable

func NewStatusServiceUnavailable ¶

func NewStatusServiceUnavailable(code string, message string) *StatusServiceUnavailable

NewStatusServiceUnavailable instantiates a new StatusServiceUnavailable object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStatusServiceUnavailableWithDefaults ¶

func NewStatusServiceUnavailableWithDefaults() *StatusServiceUnavailable

NewStatusServiceUnavailableWithDefaults instantiates a new StatusServiceUnavailable object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StatusServiceUnavailable) GetCode ¶

func (o *StatusServiceUnavailable) GetCode() string

GetCode returns the Code field value

func (*StatusServiceUnavailable) GetCodeOk ¶

func (o *StatusServiceUnavailable) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*StatusServiceUnavailable) GetMessage ¶

func (o *StatusServiceUnavailable) GetMessage() string

GetMessage returns the Message field value

func (*StatusServiceUnavailable) GetMessageOk ¶

func (o *StatusServiceUnavailable) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (StatusServiceUnavailable) MarshalJSON ¶

func (o StatusServiceUnavailable) MarshalJSON() ([]byte, error)

func (*StatusServiceUnavailable) SetCode ¶

func (o *StatusServiceUnavailable) SetCode(v string)

SetCode sets field value

func (*StatusServiceUnavailable) SetMessage ¶

func (o *StatusServiceUnavailable) SetMessage(v string)

SetMessage sets field value

type StoreIntegrationError ¶

type StoreIntegrationError struct {
	StatusCode *int32  `json:"statusCode,omitempty"`
	Message    *string `json:"message,omitempty"`
	Timestamp  *int64  `json:"timestamp,omitempty"`
}

StoreIntegrationError struct for StoreIntegrationError

func NewStoreIntegrationError ¶

func NewStoreIntegrationError() *StoreIntegrationError

NewStoreIntegrationError instantiates a new StoreIntegrationError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStoreIntegrationErrorWithDefaults ¶

func NewStoreIntegrationErrorWithDefaults() *StoreIntegrationError

NewStoreIntegrationErrorWithDefaults instantiates a new StoreIntegrationError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StoreIntegrationError) GetMessage ¶

func (o *StoreIntegrationError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*StoreIntegrationError) GetMessageOk ¶

func (o *StoreIntegrationError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StoreIntegrationError) GetStatusCode ¶

func (o *StoreIntegrationError) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*StoreIntegrationError) GetStatusCodeOk ¶

func (o *StoreIntegrationError) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StoreIntegrationError) GetTimestamp ¶

func (o *StoreIntegrationError) GetTimestamp() int64

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*StoreIntegrationError) GetTimestampOk ¶

func (o *StoreIntegrationError) GetTimestampOk() (*int64, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StoreIntegrationError) HasMessage ¶

func (o *StoreIntegrationError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*StoreIntegrationError) HasStatusCode ¶

func (o *StoreIntegrationError) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*StoreIntegrationError) HasTimestamp ¶

func (o *StoreIntegrationError) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (StoreIntegrationError) MarshalJSON ¶

func (o StoreIntegrationError) MarshalJSON() ([]byte, error)

func (*StoreIntegrationError) SetMessage ¶

func (o *StoreIntegrationError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*StoreIntegrationError) SetStatusCode ¶

func (o *StoreIntegrationError) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (*StoreIntegrationError) SetTimestamp ¶

func (o *StoreIntegrationError) SetTimestamp(v int64)

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

type SubjectDataRep ¶

type SubjectDataRep struct {
	Links *map[string]Link `json:"_links,omitempty"`
	// The subject's name
	Name *string `json:"name,omitempty"`
	// The subject's avatar
	AvatarUrl *string `json:"avatarUrl,omitempty"`
}

SubjectDataRep struct for SubjectDataRep

func NewSubjectDataRep ¶

func NewSubjectDataRep() *SubjectDataRep

NewSubjectDataRep instantiates a new SubjectDataRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubjectDataRepWithDefaults ¶

func NewSubjectDataRepWithDefaults() *SubjectDataRep

NewSubjectDataRepWithDefaults instantiates a new SubjectDataRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubjectDataRep) GetAvatarUrl ¶

func (o *SubjectDataRep) GetAvatarUrl() string

GetAvatarUrl returns the AvatarUrl field value if set, zero value otherwise.

func (*SubjectDataRep) GetAvatarUrlOk ¶

func (o *SubjectDataRep) GetAvatarUrlOk() (*string, bool)

GetAvatarUrlOk returns a tuple with the AvatarUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SubjectDataRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*SubjectDataRep) GetLinksOk ¶

func (o *SubjectDataRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubjectDataRep) GetName ¶

func (o *SubjectDataRep) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SubjectDataRep) GetNameOk ¶

func (o *SubjectDataRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubjectDataRep) HasAvatarUrl ¶

func (o *SubjectDataRep) HasAvatarUrl() bool

HasAvatarUrl returns a boolean if a field has been set.

func (o *SubjectDataRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*SubjectDataRep) HasName ¶

func (o *SubjectDataRep) HasName() bool

HasName returns a boolean if a field has been set.

func (SubjectDataRep) MarshalJSON ¶

func (o SubjectDataRep) MarshalJSON() ([]byte, error)

func (*SubjectDataRep) SetAvatarUrl ¶

func (o *SubjectDataRep) SetAvatarUrl(v string)

SetAvatarUrl gets a reference to the given string and assigns it to the AvatarUrl field.

func (o *SubjectDataRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*SubjectDataRep) SetName ¶

func (o *SubjectDataRep) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type SubscriptionPost ¶

type SubscriptionPost struct {
	// A human-friendly name for your audit log subscription.
	Name       string          `json:"name"`
	Statements []StatementPost `json:"statements,omitempty"`
	// Whether or not you want your subscription to actively send events.
	On *bool `json:"on,omitempty"`
	// An array of tags for this subscription.
	Tags []string `json:"tags,omitempty"`
	// The unique set of fields required to configure an audit log subscription integration of this type. Refer to the <code>formVariables</code> field in the corresponding <code>manifest.json</code> at https://github.com/launchdarkly/integration-framework/tree/main/integrations for a full list of fields for the integration you wish to configure.
	Config map[string]interface{} `json:"config"`
	// Slack webhook receiver URL. Only necessary for legacy Slack webhook integrations.
	Url *string `json:"url,omitempty"`
	// Datadog API key. Only necessary for legacy Datadog webhook integrations.
	ApiKey *string `json:"apiKey,omitempty"`
}

SubscriptionPost struct for SubscriptionPost

func NewSubscriptionPost ¶

func NewSubscriptionPost(name string, config map[string]interface{}) *SubscriptionPost

NewSubscriptionPost instantiates a new SubscriptionPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubscriptionPostWithDefaults ¶

func NewSubscriptionPostWithDefaults() *SubscriptionPost

NewSubscriptionPostWithDefaults instantiates a new SubscriptionPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubscriptionPost) GetApiKey ¶

func (o *SubscriptionPost) GetApiKey() string

GetApiKey returns the ApiKey field value if set, zero value otherwise.

func (*SubscriptionPost) GetApiKeyOk ¶

func (o *SubscriptionPost) GetApiKeyOk() (*string, bool)

GetApiKeyOk returns a tuple with the ApiKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubscriptionPost) GetConfig ¶

func (o *SubscriptionPost) GetConfig() map[string]interface{}

GetConfig returns the Config field value

func (*SubscriptionPost) GetConfigOk ¶

func (o *SubscriptionPost) GetConfigOk() (map[string]interface{}, bool)

GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.

func (*SubscriptionPost) GetName ¶

func (o *SubscriptionPost) GetName() string

GetName returns the Name field value

func (*SubscriptionPost) GetNameOk ¶

func (o *SubscriptionPost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SubscriptionPost) GetOn ¶

func (o *SubscriptionPost) GetOn() bool

GetOn returns the On field value if set, zero value otherwise.

func (*SubscriptionPost) GetOnOk ¶

func (o *SubscriptionPost) GetOnOk() (*bool, bool)

GetOnOk returns a tuple with the On field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubscriptionPost) GetStatements ¶

func (o *SubscriptionPost) GetStatements() []StatementPost

GetStatements returns the Statements field value if set, zero value otherwise.

func (*SubscriptionPost) GetStatementsOk ¶

func (o *SubscriptionPost) GetStatementsOk() ([]StatementPost, bool)

GetStatementsOk returns a tuple with the Statements field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubscriptionPost) GetTags ¶

func (o *SubscriptionPost) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SubscriptionPost) GetTagsOk ¶

func (o *SubscriptionPost) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubscriptionPost) GetUrl ¶

func (o *SubscriptionPost) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*SubscriptionPost) GetUrlOk ¶

func (o *SubscriptionPost) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubscriptionPost) HasApiKey ¶

func (o *SubscriptionPost) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

func (*SubscriptionPost) HasOn ¶

func (o *SubscriptionPost) HasOn() bool

HasOn returns a boolean if a field has been set.

func (*SubscriptionPost) HasStatements ¶

func (o *SubscriptionPost) HasStatements() bool

HasStatements returns a boolean if a field has been set.

func (*SubscriptionPost) HasTags ¶

func (o *SubscriptionPost) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SubscriptionPost) HasUrl ¶

func (o *SubscriptionPost) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (SubscriptionPost) MarshalJSON ¶

func (o SubscriptionPost) MarshalJSON() ([]byte, error)

func (*SubscriptionPost) SetApiKey ¶

func (o *SubscriptionPost) SetApiKey(v string)

SetApiKey gets a reference to the given string and assigns it to the ApiKey field.

func (*SubscriptionPost) SetConfig ¶

func (o *SubscriptionPost) SetConfig(v map[string]interface{})

SetConfig sets field value

func (*SubscriptionPost) SetName ¶

func (o *SubscriptionPost) SetName(v string)

SetName sets field value

func (*SubscriptionPost) SetOn ¶

func (o *SubscriptionPost) SetOn(v bool)

SetOn gets a reference to the given bool and assigns it to the On field.

func (*SubscriptionPost) SetStatements ¶

func (o *SubscriptionPost) SetStatements(v []StatementPost)

SetStatements gets a reference to the given []StatementPost and assigns it to the Statements field.

func (*SubscriptionPost) SetTags ¶

func (o *SubscriptionPost) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SubscriptionPost) SetUrl ¶

func (o *SubscriptionPost) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type TagCollection ¶

type TagCollection struct {
	// List of tags
	Items []string        `json:"items"`
	Links map[string]Link `json:"_links"`
	// The total number of tags
	TotalCount *int32 `json:"totalCount,omitempty"`
}

TagCollection struct for TagCollection

func NewTagCollection ¶

func NewTagCollection(items []string, links map[string]Link) *TagCollection

NewTagCollection instantiates a new TagCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagCollectionWithDefaults ¶

func NewTagCollectionWithDefaults() *TagCollection

NewTagCollectionWithDefaults instantiates a new TagCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TagCollection) GetItems ¶

func (o *TagCollection) GetItems() []string

GetItems returns the Items field value

func (*TagCollection) GetItemsOk ¶

func (o *TagCollection) GetItemsOk() ([]string, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *TagCollection) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*TagCollection) GetLinksOk ¶

func (o *TagCollection) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*TagCollection) GetTotalCount ¶

func (o *TagCollection) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*TagCollection) GetTotalCountOk ¶

func (o *TagCollection) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TagCollection) HasTotalCount ¶

func (o *TagCollection) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (TagCollection) MarshalJSON ¶

func (o TagCollection) MarshalJSON() ([]byte, error)

func (*TagCollection) SetItems ¶

func (o *TagCollection) SetItems(v []string)

SetItems sets field value

func (o *TagCollection) SetLinks(v map[string]Link)

SetLinks sets field value

func (*TagCollection) SetTotalCount ¶

func (o *TagCollection) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type TagsApiService ¶

type TagsApiService service

TagsApiService TagsApi service

func (*TagsApiService) GetTags ¶

GetTags List tags

Get a list of tags.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTagsRequest

func (*TagsApiService) GetTagsExecute ¶

func (a *TagsApiService) GetTagsExecute(r ApiGetTagsRequest) (*TagCollection, *http.Response, error)

Execute executes the request

@return TagCollection

type Target ¶

type Target struct {
	// A list of the keys for targets that will receive this variation because of individual targeting
	Values []string `json:"values"`
	// The index, from the array of variations for this flag, of the variation to serve this list of targets
	Variation int32 `json:"variation"`
	// The context kind of the individual target
	ContextKind *string `json:"contextKind,omitempty"`
}

Target struct for Target

func NewTarget ¶

func NewTarget(values []string, variation int32) *Target

NewTarget instantiates a new Target object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTargetWithDefaults ¶

func NewTargetWithDefaults() *Target

NewTargetWithDefaults instantiates a new Target object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Target) GetContextKind ¶

func (o *Target) GetContextKind() string

GetContextKind returns the ContextKind field value if set, zero value otherwise.

func (*Target) GetContextKindOk ¶

func (o *Target) GetContextKindOk() (*string, bool)

GetContextKindOk returns a tuple with the ContextKind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Target) GetValues ¶

func (o *Target) GetValues() []string

GetValues returns the Values field value

func (*Target) GetValuesOk ¶

func (o *Target) GetValuesOk() ([]string, bool)

GetValuesOk returns a tuple with the Values field value and a boolean to check if the value has been set.

func (*Target) GetVariation ¶

func (o *Target) GetVariation() int32

GetVariation returns the Variation field value

func (*Target) GetVariationOk ¶

func (o *Target) GetVariationOk() (*int32, bool)

GetVariationOk returns a tuple with the Variation field value and a boolean to check if the value has been set.

func (*Target) HasContextKind ¶

func (o *Target) HasContextKind() bool

HasContextKind returns a boolean if a field has been set.

func (Target) MarshalJSON ¶

func (o Target) MarshalJSON() ([]byte, error)

func (*Target) SetContextKind ¶

func (o *Target) SetContextKind(v string)

SetContextKind gets a reference to the given string and assigns it to the ContextKind field.

func (*Target) SetValues ¶

func (o *Target) SetValues(v []string)

SetValues sets field value

func (*Target) SetVariation ¶

func (o *Target) SetVariation(v int32)

SetVariation sets field value

type TargetResourceRep ¶

type TargetResourceRep struct {
	Links *map[string]Link `json:"_links,omitempty"`
	// The name of the resource
	Name *string `json:"name,omitempty"`
	// The resource specifier
	Resources []string `json:"resources,omitempty"`
}

TargetResourceRep struct for TargetResourceRep

func NewTargetResourceRep ¶

func NewTargetResourceRep() *TargetResourceRep

NewTargetResourceRep instantiates a new TargetResourceRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTargetResourceRepWithDefaults ¶

func NewTargetResourceRepWithDefaults() *TargetResourceRep

NewTargetResourceRepWithDefaults instantiates a new TargetResourceRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *TargetResourceRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*TargetResourceRep) GetLinksOk ¶

func (o *TargetResourceRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TargetResourceRep) GetName ¶

func (o *TargetResourceRep) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TargetResourceRep) GetNameOk ¶

func (o *TargetResourceRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TargetResourceRep) GetResources ¶

func (o *TargetResourceRep) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*TargetResourceRep) GetResourcesOk ¶

func (o *TargetResourceRep) GetResourcesOk() ([]string, bool)

GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TargetResourceRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*TargetResourceRep) HasName ¶

func (o *TargetResourceRep) HasName() bool

HasName returns a boolean if a field has been set.

func (*TargetResourceRep) HasResources ¶

func (o *TargetResourceRep) HasResources() bool

HasResources returns a boolean if a field has been set.

func (TargetResourceRep) MarshalJSON ¶

func (o TargetResourceRep) MarshalJSON() ([]byte, error)
func (o *TargetResourceRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*TargetResourceRep) SetName ¶

func (o *TargetResourceRep) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*TargetResourceRep) SetResources ¶

func (o *TargetResourceRep) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

type Team ¶

type Team struct {
	// A description of the team
	Description *string `json:"description,omitempty"`
	// The team key
	Key *string `json:"key,omitempty"`
	// A human-friendly name for the team
	Name         *string `json:"name,omitempty"`
	Access       *Access `json:"_access,omitempty"`
	CreationDate *int64  `json:"_creationDate,omitempty"`
	// The location and content type of related resources
	Links        *map[string]Link `json:"_links,omitempty"`
	LastModified *int64           `json:"_lastModified,omitempty"`
	// The team version
	Version *int32 `json:"_version,omitempty"`
	// Whether the team has been synced with an external identity provider (IdP). Team sync is available to customers on an Enterprise plan.
	IdpSynced   *bool            `json:"_idpSynced,omitempty"`
	Roles       *TeamCustomRoles `json:"roles,omitempty"`
	Members     *TeamMembers     `json:"members,omitempty"`
	Projects    *TeamProjects    `json:"projects,omitempty"`
	Maintainers *TeamMaintainers `json:"maintainers,omitempty"`
}

Team struct for Team

func NewTeam ¶

func NewTeam() *Team

NewTeam instantiates a new Team object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamWithDefaults ¶

func NewTeamWithDefaults() *Team

NewTeamWithDefaults instantiates a new Team object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Team) GetAccess ¶

func (o *Team) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*Team) GetAccessOk ¶

func (o *Team) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetCreationDate ¶

func (o *Team) GetCreationDate() int64

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*Team) GetCreationDateOk ¶

func (o *Team) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetDescription ¶

func (o *Team) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Team) GetDescriptionOk ¶

func (o *Team) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetIdpSynced ¶

func (o *Team) GetIdpSynced() bool

GetIdpSynced returns the IdpSynced field value if set, zero value otherwise.

func (*Team) GetIdpSyncedOk ¶

func (o *Team) GetIdpSyncedOk() (*bool, bool)

GetIdpSyncedOk returns a tuple with the IdpSynced field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetKey ¶

func (o *Team) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*Team) GetKeyOk ¶

func (o *Team) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetLastModified ¶

func (o *Team) GetLastModified() int64

GetLastModified returns the LastModified field value if set, zero value otherwise.

func (*Team) GetLastModifiedOk ¶

func (o *Team) GetLastModifiedOk() (*int64, bool)

GetLastModifiedOk returns a tuple with the LastModified field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Team) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Team) GetLinksOk ¶

func (o *Team) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetMaintainers ¶

func (o *Team) GetMaintainers() TeamMaintainers

GetMaintainers returns the Maintainers field value if set, zero value otherwise.

func (*Team) GetMaintainersOk ¶

func (o *Team) GetMaintainersOk() (*TeamMaintainers, bool)

GetMaintainersOk returns a tuple with the Maintainers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetMembers ¶

func (o *Team) GetMembers() TeamMembers

GetMembers returns the Members field value if set, zero value otherwise.

func (*Team) GetMembersOk ¶

func (o *Team) GetMembersOk() (*TeamMembers, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetName ¶

func (o *Team) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Team) GetNameOk ¶

func (o *Team) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetProjects ¶

func (o *Team) GetProjects() TeamProjects

GetProjects returns the Projects field value if set, zero value otherwise.

func (*Team) GetProjectsOk ¶

func (o *Team) GetProjectsOk() (*TeamProjects, bool)

GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetRoles ¶

func (o *Team) GetRoles() TeamCustomRoles

GetRoles returns the Roles field value if set, zero value otherwise.

func (*Team) GetRolesOk ¶

func (o *Team) GetRolesOk() (*TeamCustomRoles, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) GetVersion ¶

func (o *Team) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*Team) GetVersionOk ¶

func (o *Team) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Team) HasAccess ¶

func (o *Team) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*Team) HasCreationDate ¶

func (o *Team) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*Team) HasDescription ¶

func (o *Team) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Team) HasIdpSynced ¶

func (o *Team) HasIdpSynced() bool

HasIdpSynced returns a boolean if a field has been set.

func (*Team) HasKey ¶

func (o *Team) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*Team) HasLastModified ¶

func (o *Team) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (o *Team) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Team) HasMaintainers ¶

func (o *Team) HasMaintainers() bool

HasMaintainers returns a boolean if a field has been set.

func (*Team) HasMembers ¶

func (o *Team) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*Team) HasName ¶

func (o *Team) HasName() bool

HasName returns a boolean if a field has been set.

func (*Team) HasProjects ¶

func (o *Team) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*Team) HasRoles ¶

func (o *Team) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*Team) HasVersion ¶

func (o *Team) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Team) MarshalJSON ¶

func (o Team) MarshalJSON() ([]byte, error)

func (*Team) SetAccess ¶

func (o *Team) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*Team) SetCreationDate ¶

func (o *Team) SetCreationDate(v int64)

SetCreationDate gets a reference to the given int64 and assigns it to the CreationDate field.

func (*Team) SetDescription ¶

func (o *Team) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Team) SetIdpSynced ¶

func (o *Team) SetIdpSynced(v bool)

SetIdpSynced gets a reference to the given bool and assigns it to the IdpSynced field.

func (*Team) SetKey ¶

func (o *Team) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*Team) SetLastModified ¶

func (o *Team) SetLastModified(v int64)

SetLastModified gets a reference to the given int64 and assigns it to the LastModified field.

func (o *Team) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*Team) SetMaintainers ¶

func (o *Team) SetMaintainers(v TeamMaintainers)

SetMaintainers gets a reference to the given TeamMaintainers and assigns it to the Maintainers field.

func (*Team) SetMembers ¶

func (o *Team) SetMembers(v TeamMembers)

SetMembers gets a reference to the given TeamMembers and assigns it to the Members field.

func (*Team) SetName ¶

func (o *Team) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Team) SetProjects ¶

func (o *Team) SetProjects(v TeamProjects)

SetProjects gets a reference to the given TeamProjects and assigns it to the Projects field.

func (*Team) SetRoles ¶

func (o *Team) SetRoles(v TeamCustomRoles)

SetRoles gets a reference to the given TeamCustomRoles and assigns it to the Roles field.

func (*Team) SetVersion ¶

func (o *Team) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type TeamCustomRole ¶

type TeamCustomRole struct {
	// The key of the custom role
	Key *string `json:"key,omitempty"`
	// The name of the custom role
	Name      *string       `json:"name,omitempty"`
	Projects  *TeamProjects `json:"projects,omitempty"`
	AppliedOn *int64        `json:"appliedOn,omitempty"`
}

TeamCustomRole struct for TeamCustomRole

func NewTeamCustomRole ¶

func NewTeamCustomRole() *TeamCustomRole

NewTeamCustomRole instantiates a new TeamCustomRole object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamCustomRoleWithDefaults ¶

func NewTeamCustomRoleWithDefaults() *TeamCustomRole

NewTeamCustomRoleWithDefaults instantiates a new TeamCustomRole object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TeamCustomRole) GetAppliedOn ¶

func (o *TeamCustomRole) GetAppliedOn() int64

GetAppliedOn returns the AppliedOn field value if set, zero value otherwise.

func (*TeamCustomRole) GetAppliedOnOk ¶

func (o *TeamCustomRole) GetAppliedOnOk() (*int64, bool)

GetAppliedOnOk returns a tuple with the AppliedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamCustomRole) GetKey ¶

func (o *TeamCustomRole) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*TeamCustomRole) GetKeyOk ¶

func (o *TeamCustomRole) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamCustomRole) GetName ¶

func (o *TeamCustomRole) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TeamCustomRole) GetNameOk ¶

func (o *TeamCustomRole) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamCustomRole) GetProjects ¶

func (o *TeamCustomRole) GetProjects() TeamProjects

GetProjects returns the Projects field value if set, zero value otherwise.

func (*TeamCustomRole) GetProjectsOk ¶

func (o *TeamCustomRole) GetProjectsOk() (*TeamProjects, bool)

GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamCustomRole) HasAppliedOn ¶

func (o *TeamCustomRole) HasAppliedOn() bool

HasAppliedOn returns a boolean if a field has been set.

func (*TeamCustomRole) HasKey ¶

func (o *TeamCustomRole) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*TeamCustomRole) HasName ¶

func (o *TeamCustomRole) HasName() bool

HasName returns a boolean if a field has been set.

func (*TeamCustomRole) HasProjects ¶

func (o *TeamCustomRole) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (TeamCustomRole) MarshalJSON ¶

func (o TeamCustomRole) MarshalJSON() ([]byte, error)

func (*TeamCustomRole) SetAppliedOn ¶

func (o *TeamCustomRole) SetAppliedOn(v int64)

SetAppliedOn gets a reference to the given int64 and assigns it to the AppliedOn field.

func (*TeamCustomRole) SetKey ¶

func (o *TeamCustomRole) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*TeamCustomRole) SetName ¶

func (o *TeamCustomRole) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*TeamCustomRole) SetProjects ¶

func (o *TeamCustomRole) SetProjects(v TeamProjects)

SetProjects gets a reference to the given TeamProjects and assigns it to the Projects field.

type TeamCustomRoles ¶

type TeamCustomRoles struct {
	// The number of custom roles assigned to this team
	TotalCount *int32 `json:"totalCount,omitempty"`
	// An array of the custom roles that have been assigned to this team
	Items []TeamCustomRole `json:"items,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

TeamCustomRoles struct for TeamCustomRoles

func NewTeamCustomRoles ¶

func NewTeamCustomRoles() *TeamCustomRoles

NewTeamCustomRoles instantiates a new TeamCustomRoles object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamCustomRolesWithDefaults ¶

func NewTeamCustomRolesWithDefaults() *TeamCustomRoles

NewTeamCustomRolesWithDefaults instantiates a new TeamCustomRoles object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TeamCustomRoles) GetItems ¶

func (o *TeamCustomRoles) GetItems() []TeamCustomRole

GetItems returns the Items field value if set, zero value otherwise.

func (*TeamCustomRoles) GetItemsOk ¶

func (o *TeamCustomRoles) GetItemsOk() ([]TeamCustomRole, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamCustomRoles) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*TeamCustomRoles) GetLinksOk ¶

func (o *TeamCustomRoles) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamCustomRoles) GetTotalCount ¶

func (o *TeamCustomRoles) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*TeamCustomRoles) GetTotalCountOk ¶

func (o *TeamCustomRoles) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamCustomRoles) HasItems ¶

func (o *TeamCustomRoles) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *TeamCustomRoles) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*TeamCustomRoles) HasTotalCount ¶

func (o *TeamCustomRoles) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (TeamCustomRoles) MarshalJSON ¶

func (o TeamCustomRoles) MarshalJSON() ([]byte, error)

func (*TeamCustomRoles) SetItems ¶

func (o *TeamCustomRoles) SetItems(v []TeamCustomRole)

SetItems gets a reference to the given []TeamCustomRole and assigns it to the Items field.

func (o *TeamCustomRoles) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*TeamCustomRoles) SetTotalCount ¶

func (o *TeamCustomRoles) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type TeamImportsRep ¶

type TeamImportsRep struct {
	// An array of details about the members requested to be added to this team
	Items []MemberImportItem `json:"items,omitempty"`
}

TeamImportsRep struct for TeamImportsRep

func NewTeamImportsRep ¶

func NewTeamImportsRep() *TeamImportsRep

NewTeamImportsRep instantiates a new TeamImportsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamImportsRepWithDefaults ¶

func NewTeamImportsRepWithDefaults() *TeamImportsRep

NewTeamImportsRepWithDefaults instantiates a new TeamImportsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TeamImportsRep) GetItems ¶

func (o *TeamImportsRep) GetItems() []MemberImportItem

GetItems returns the Items field value if set, zero value otherwise.

func (*TeamImportsRep) GetItemsOk ¶

func (o *TeamImportsRep) GetItemsOk() ([]MemberImportItem, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamImportsRep) HasItems ¶

func (o *TeamImportsRep) HasItems() bool

HasItems returns a boolean if a field has been set.

func (TeamImportsRep) MarshalJSON ¶

func (o TeamImportsRep) MarshalJSON() ([]byte, error)

func (*TeamImportsRep) SetItems ¶

func (o *TeamImportsRep) SetItems(v []MemberImportItem)

SetItems gets a reference to the given []MemberImportItem and assigns it to the Items field.

type TeamMaintainers ¶

type TeamMaintainers struct {
	// The number of maintainers of the team
	TotalCount *int32 `json:"totalCount,omitempty"`
	// Details on the members that have been assigned as maintainers of the team
	Items []MemberSummary `json:"items,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

TeamMaintainers struct for TeamMaintainers

func NewTeamMaintainers ¶

func NewTeamMaintainers() *TeamMaintainers

NewTeamMaintainers instantiates a new TeamMaintainers object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamMaintainersWithDefaults ¶

func NewTeamMaintainersWithDefaults() *TeamMaintainers

NewTeamMaintainersWithDefaults instantiates a new TeamMaintainers object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TeamMaintainers) GetItems ¶

func (o *TeamMaintainers) GetItems() []MemberSummary

GetItems returns the Items field value if set, zero value otherwise.

func (*TeamMaintainers) GetItemsOk ¶

func (o *TeamMaintainers) GetItemsOk() ([]MemberSummary, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamMaintainers) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*TeamMaintainers) GetLinksOk ¶

func (o *TeamMaintainers) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamMaintainers) GetTotalCount ¶

func (o *TeamMaintainers) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*TeamMaintainers) GetTotalCountOk ¶

func (o *TeamMaintainers) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamMaintainers) HasItems ¶

func (o *TeamMaintainers) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *TeamMaintainers) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*TeamMaintainers) HasTotalCount ¶

func (o *TeamMaintainers) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (TeamMaintainers) MarshalJSON ¶

func (o TeamMaintainers) MarshalJSON() ([]byte, error)

func (*TeamMaintainers) SetItems ¶

func (o *TeamMaintainers) SetItems(v []MemberSummary)

SetItems gets a reference to the given []MemberSummary and assigns it to the Items field.

func (o *TeamMaintainers) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*TeamMaintainers) SetTotalCount ¶

func (o *TeamMaintainers) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type TeamMembers ¶

type TeamMembers struct {
	// The total count of members that belong to the team
	TotalCount *int32 `json:"totalCount,omitempty"`
}

TeamMembers struct for TeamMembers

func NewTeamMembers ¶

func NewTeamMembers() *TeamMembers

NewTeamMembers instantiates a new TeamMembers object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamMembersWithDefaults ¶

func NewTeamMembersWithDefaults() *TeamMembers

NewTeamMembersWithDefaults instantiates a new TeamMembers object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TeamMembers) GetTotalCount ¶

func (o *TeamMembers) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*TeamMembers) GetTotalCountOk ¶

func (o *TeamMembers) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamMembers) HasTotalCount ¶

func (o *TeamMembers) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (TeamMembers) MarshalJSON ¶

func (o TeamMembers) MarshalJSON() ([]byte, error)

func (*TeamMembers) SetTotalCount ¶

func (o *TeamMembers) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type TeamPatchInput ¶

type TeamPatchInput struct {
	// Optional comment describing the update
	Comment      *string                  `json:"comment,omitempty"`
	Instructions []map[string]interface{} `json:"instructions"`
}

TeamPatchInput struct for TeamPatchInput

func NewTeamPatchInput ¶

func NewTeamPatchInput(instructions []map[string]interface{}) *TeamPatchInput

NewTeamPatchInput instantiates a new TeamPatchInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamPatchInputWithDefaults ¶

func NewTeamPatchInputWithDefaults() *TeamPatchInput

NewTeamPatchInputWithDefaults instantiates a new TeamPatchInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TeamPatchInput) GetComment ¶

func (o *TeamPatchInput) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*TeamPatchInput) GetCommentOk ¶

func (o *TeamPatchInput) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamPatchInput) GetInstructions ¶

func (o *TeamPatchInput) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*TeamPatchInput) GetInstructionsOk ¶

func (o *TeamPatchInput) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*TeamPatchInput) HasComment ¶

func (o *TeamPatchInput) HasComment() bool

HasComment returns a boolean if a field has been set.

func (TeamPatchInput) MarshalJSON ¶

func (o TeamPatchInput) MarshalJSON() ([]byte, error)

func (*TeamPatchInput) SetComment ¶

func (o *TeamPatchInput) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*TeamPatchInput) SetInstructions ¶

func (o *TeamPatchInput) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

type TeamPostInput ¶

type TeamPostInput struct {
	// List of custom role keys the team will access
	CustomRoleKeys []string `json:"customRoleKeys,omitempty"`
	// A description of the team
	Description *string `json:"description,omitempty"`
	// The team key
	Key string `json:"key"`
	// A list of member IDs who belong to the team
	MemberIDs []string `json:"memberIDs,omitempty"`
	// A human-friendly name for the team
	Name string `json:"name"`
	// A list of permission grants. Permission grants allow access to a specific action, without having to create or update a custom role.
	PermissionGrants []PermissionGrantInput `json:"permissionGrants,omitempty"`
}

TeamPostInput struct for TeamPostInput

func NewTeamPostInput ¶

func NewTeamPostInput(key string, name string) *TeamPostInput

NewTeamPostInput instantiates a new TeamPostInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamPostInputWithDefaults ¶

func NewTeamPostInputWithDefaults() *TeamPostInput

NewTeamPostInputWithDefaults instantiates a new TeamPostInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TeamPostInput) GetCustomRoleKeys ¶

func (o *TeamPostInput) GetCustomRoleKeys() []string

GetCustomRoleKeys returns the CustomRoleKeys field value if set, zero value otherwise.

func (*TeamPostInput) GetCustomRoleKeysOk ¶

func (o *TeamPostInput) GetCustomRoleKeysOk() ([]string, bool)

GetCustomRoleKeysOk returns a tuple with the CustomRoleKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamPostInput) GetDescription ¶

func (o *TeamPostInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*TeamPostInput) GetDescriptionOk ¶

func (o *TeamPostInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamPostInput) GetKey ¶

func (o *TeamPostInput) GetKey() string

GetKey returns the Key field value

func (*TeamPostInput) GetKeyOk ¶

func (o *TeamPostInput) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*TeamPostInput) GetMemberIDs ¶

func (o *TeamPostInput) GetMemberIDs() []string

GetMemberIDs returns the MemberIDs field value if set, zero value otherwise.

func (*TeamPostInput) GetMemberIDsOk ¶

func (o *TeamPostInput) GetMemberIDsOk() ([]string, bool)

GetMemberIDsOk returns a tuple with the MemberIDs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamPostInput) GetName ¶

func (o *TeamPostInput) GetName() string

GetName returns the Name field value

func (*TeamPostInput) GetNameOk ¶

func (o *TeamPostInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TeamPostInput) GetPermissionGrants ¶

func (o *TeamPostInput) GetPermissionGrants() []PermissionGrantInput

GetPermissionGrants returns the PermissionGrants field value if set, zero value otherwise.

func (*TeamPostInput) GetPermissionGrantsOk ¶

func (o *TeamPostInput) GetPermissionGrantsOk() ([]PermissionGrantInput, bool)

GetPermissionGrantsOk returns a tuple with the PermissionGrants field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamPostInput) HasCustomRoleKeys ¶

func (o *TeamPostInput) HasCustomRoleKeys() bool

HasCustomRoleKeys returns a boolean if a field has been set.

func (*TeamPostInput) HasDescription ¶

func (o *TeamPostInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TeamPostInput) HasMemberIDs ¶

func (o *TeamPostInput) HasMemberIDs() bool

HasMemberIDs returns a boolean if a field has been set.

func (*TeamPostInput) HasPermissionGrants ¶

func (o *TeamPostInput) HasPermissionGrants() bool

HasPermissionGrants returns a boolean if a field has been set.

func (TeamPostInput) MarshalJSON ¶

func (o TeamPostInput) MarshalJSON() ([]byte, error)

func (*TeamPostInput) SetCustomRoleKeys ¶

func (o *TeamPostInput) SetCustomRoleKeys(v []string)

SetCustomRoleKeys gets a reference to the given []string and assigns it to the CustomRoleKeys field.

func (*TeamPostInput) SetDescription ¶

func (o *TeamPostInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*TeamPostInput) SetKey ¶

func (o *TeamPostInput) SetKey(v string)

SetKey sets field value

func (*TeamPostInput) SetMemberIDs ¶

func (o *TeamPostInput) SetMemberIDs(v []string)

SetMemberIDs gets a reference to the given []string and assigns it to the MemberIDs field.

func (*TeamPostInput) SetName ¶

func (o *TeamPostInput) SetName(v string)

SetName sets field value

func (*TeamPostInput) SetPermissionGrants ¶

func (o *TeamPostInput) SetPermissionGrants(v []PermissionGrantInput)

SetPermissionGrants gets a reference to the given []PermissionGrantInput and assigns it to the PermissionGrants field.

type TeamProjects ¶

type TeamProjects struct {
	TotalCount *int32 `json:"totalCount,omitempty"`
	// Details on each project where team members have write privileges on at least one resource type (e.g. flags)
	Items []ProjectSummary `json:"items,omitempty"`
}

TeamProjects struct for TeamProjects

func NewTeamProjects ¶

func NewTeamProjects() *TeamProjects

NewTeamProjects instantiates a new TeamProjects object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamProjectsWithDefaults ¶

func NewTeamProjectsWithDefaults() *TeamProjects

NewTeamProjectsWithDefaults instantiates a new TeamProjects object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TeamProjects) GetItems ¶

func (o *TeamProjects) GetItems() []ProjectSummary

GetItems returns the Items field value if set, zero value otherwise.

func (*TeamProjects) GetItemsOk ¶

func (o *TeamProjects) GetItemsOk() ([]ProjectSummary, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamProjects) GetTotalCount ¶

func (o *TeamProjects) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*TeamProjects) GetTotalCountOk ¶

func (o *TeamProjects) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamProjects) HasItems ¶

func (o *TeamProjects) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*TeamProjects) HasTotalCount ¶

func (o *TeamProjects) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (TeamProjects) MarshalJSON ¶

func (o TeamProjects) MarshalJSON() ([]byte, error)

func (*TeamProjects) SetItems ¶

func (o *TeamProjects) SetItems(v []ProjectSummary)

SetItems gets a reference to the given []ProjectSummary and assigns it to the Items field.

func (*TeamProjects) SetTotalCount ¶

func (o *TeamProjects) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type Teams ¶

type Teams struct {
	// An array of teams
	Items []Team `json:"items,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// The number of teams
	TotalCount *int32 `json:"totalCount,omitempty"`
}

Teams struct for Teams

func NewTeams ¶

func NewTeams() *Teams

NewTeams instantiates a new Teams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamsWithDefaults ¶

func NewTeamsWithDefaults() *Teams

NewTeamsWithDefaults instantiates a new Teams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Teams) GetItems ¶

func (o *Teams) GetItems() []Team

GetItems returns the Items field value if set, zero value otherwise.

func (*Teams) GetItemsOk ¶

func (o *Teams) GetItemsOk() ([]Team, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Teams) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Teams) GetLinksOk ¶

func (o *Teams) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Teams) GetTotalCount ¶

func (o *Teams) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*Teams) GetTotalCountOk ¶

func (o *Teams) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Teams) HasItems ¶

func (o *Teams) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *Teams) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Teams) HasTotalCount ¶

func (o *Teams) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (Teams) MarshalJSON ¶

func (o Teams) MarshalJSON() ([]byte, error)

func (*Teams) SetItems ¶

func (o *Teams) SetItems(v []Team)

SetItems gets a reference to the given []Team and assigns it to the Items field.

func (o *Teams) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*Teams) SetTotalCount ¶

func (o *Teams) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type TeamsApiService ¶

type TeamsApiService service

TeamsApiService TeamsApi service

func (*TeamsApiService) DeleteTeam ¶

func (a *TeamsApiService) DeleteTeam(ctx context.Context, teamKey string) ApiDeleteTeamRequest

DeleteTeam Delete team

Delete a team by key. To learn more, read [Deleting a team](https://docs.launchdarkly.com/home/teams/managing#deleting-a-team).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamKey The team key
@return ApiDeleteTeamRequest

func (*TeamsApiService) DeleteTeamExecute ¶

func (a *TeamsApiService) DeleteTeamExecute(r ApiDeleteTeamRequest) (*http.Response, error)

Execute executes the request

func (*TeamsApiService) GetTeam ¶

func (a *TeamsApiService) GetTeam(ctx context.Context, teamKey string) ApiGetTeamRequest

GetTeam Get team

Fetch a team by key.

### Expanding the teams response LaunchDarkly supports four fields for expanding the "Get team" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with any of the following fields:

* `members` includes the total count of members that belong to the team. * `roles` includes a paginated list of the custom roles that you have assigned to the team. * `projects` includes a paginated list of the projects that the team has any write access to. * `maintainers` includes a paginated list of the maintainers that you have assigned to the team.

For example, `expand=members,roles` includes the `members` and `roles` fields in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamKey The team key.
@return ApiGetTeamRequest

func (*TeamsApiService) GetTeamExecute ¶

func (a *TeamsApiService) GetTeamExecute(r ApiGetTeamRequest) (*Team, *http.Response, error)

Execute executes the request

@return Team

func (*TeamsApiService) GetTeamMaintainers ¶

func (a *TeamsApiService) GetTeamMaintainers(ctx context.Context, teamKey string) ApiGetTeamMaintainersRequest

GetTeamMaintainers Get team maintainers

Fetch the maintainers that have been assigned to the team. To learn more, read [Managing team maintainers](https://docs.launchdarkly.com/home/teams/managing#managing-team-maintainers).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamKey The team key
@return ApiGetTeamMaintainersRequest

func (*TeamsApiService) GetTeamMaintainersExecute ¶

func (a *TeamsApiService) GetTeamMaintainersExecute(r ApiGetTeamMaintainersRequest) (*TeamMaintainers, *http.Response, error)

Execute executes the request

@return TeamMaintainers

func (*TeamsApiService) GetTeamRoles ¶

func (a *TeamsApiService) GetTeamRoles(ctx context.Context, teamKey string) ApiGetTeamRolesRequest

GetTeamRoles Get team custom roles

Fetch the custom roles that have been assigned to the team. To learn more, read [Managing team permissions](https://docs.launchdarkly.com/home/teams/managing#managing-team-permissions).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamKey The team key
@return ApiGetTeamRolesRequest

func (*TeamsApiService) GetTeamRolesExecute ¶

func (a *TeamsApiService) GetTeamRolesExecute(r ApiGetTeamRolesRequest) (*TeamCustomRoles, *http.Response, error)

Execute executes the request

@return TeamCustomRoles

func (*TeamsApiService) GetTeams ¶

GetTeams List teams

Return a list of teams.

By default, this returns the first 20 teams. Page through this list with the `limit` parameter and by following the `first`, `prev`, `next`, and `last` links in the `_links` field that returns. If those links do not appear, the pages they refer to don't exist. For example, the `first` and `prev` links will be missing from the response on the first page, because there is no previous page and you cannot return to the first page when you are already on the first page.

### Filtering teams

LaunchDarkly supports the following fields for filters:

- `query` is a string that matches against the teams' names and keys. It is not case-sensitive.

  • A request with `query:abc` returns teams with the string `abc` in their name or key.

- `nomembers` is a boolean that filters the list of teams who have 0 members

  • A request with `nomembers:true` returns teams that have 0 members
  • A request with `nomembers:false` returns teams that have 1 or more members

### Expanding the teams response LaunchDarkly supports four fields for expanding the "List teams" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with any of the following fields:

* `members` includes the total count of members that belong to the team. * `roles` includes a paginated list of the custom roles that you have assigned to the team. * `projects` includes a paginated list of the projects that the team has any write access to. * `maintainers` includes a paginated list of the maintainers that you have assigned to the team.

For example, `expand=members,roles` includes the `members` and `roles` fields in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTeamsRequest

func (*TeamsApiService) GetTeamsExecute ¶

func (a *TeamsApiService) GetTeamsExecute(r ApiGetTeamsRequest) (*Teams, *http.Response, error)

Execute executes the request

@return Teams

func (*TeamsApiService) PatchTeam ¶

func (a *TeamsApiService) PatchTeam(ctx context.Context, teamKey string) ApiPatchTeamRequest

PatchTeam Update team

Perform a partial update to a team. Updating a team uses the semantic patch format.

To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

### Instructions

Semantic patch requests support the following `kind` instructions for updating teams.

<details> <summary>Click to expand instructions for <strong>updating teams</strong></summary>

#### addCustomRoles

Adds custom roles to the team. Team members will have these custom roles granted to them.

##### Parameters

- `values`: List of custom role keys.

Here's an example:

```json

{
  "instructions": [{
    "kind": "addCustomRoles",
    "values": [ "example-custom-role" ]
  }]
}

```

#### removeCustomRoles

Removes custom roles from the team. The app will no longer grant these custom roles to the team members.

##### Parameters

- `values`: List of custom role keys.

Here's an example:

```json

{
  "instructions": [{
    "kind": "removeCustomRoles",
    "values": [ "example-custom-role" ]
  }]
}

```

#### addMembers

Adds members to the team.

##### Parameters

- `values`: List of member IDs to add.

Here's an example:

```json

{
  "instructions": [{
    "kind": "addMembers",
    "values": [ "1234a56b7c89d012345e678f", "507f1f77bcf86cd799439011" ]
  }]
}

```

#### removeMembers

Removes members from the team.

##### Parameters

- `values`: List of member IDs to remove.

Here's an example:

```json

{
  "instructions": [{
    "kind": "removeMembers",
    "values": [ "1234a56b7c89d012345e678f", "507f1f77bcf86cd799439011" ]
  }]
}

```

#### replaceMembers

Replaces the existing members of the team with the new members.

##### Parameters

- `values`: List of member IDs of the new members.

Here's an example:

```json

{
  "instructions": [{
    "kind": "replaceMembers",
    "values": [ "1234a56b7c89d012345e678f", "507f1f77bcf86cd799439011" ]
  }]
}

```

#### addPermissionGrants

Adds permission grants to members for the team. For example, a permission grant could allow a member to act as a team maintainer. A permission grant may have either an `actionSet` or a list of `actions` but not both at the same time. The members do not have to be team members to have a permission grant for the team.

##### Parameters

- `actionSet`: Name of the action set. - `actions`: List of actions. - `memberIDs`: List of member IDs.

Here's an example:

```json

{
  "instructions": [{
    "kind": "addPermissionGrants",
    "actions": [ "updateTeamName", "updateTeamDescription" ],
    "memberIDs": [ "1234a56b7c89d012345e678f", "507f1f77bcf86cd799439011" ]
  }]
}

```

#### removePermissionGrants

Removes permission grants from members for the team. A permission grant may have either an `actionSet` or a list of `actions` but not both at the same time. The `actionSet` and `actions` must match an existing permission grant.

##### Parameters

- `actionSet`: Name of the action set. - `actions`: List of actions. - `memberIDs`: List of member IDs.

Here's an example:

```json

{
  "instructions": [{
    "kind": "removePermissionGrants",
    "actions": [ "updateTeamName", "updateTeamDescription" ],
    "memberIDs": [ "1234a56b7c89d012345e678f", "507f1f77bcf86cd799439011" ]
  }]
}

```

#### updateDescription

Updates the description of the team.

##### Parameters

- `value`: The new description.

Here's an example:

```json

{
  "instructions": [{
    "kind": "updateDescription",
    "value": "Updated team description"
  }]
}

```

#### updateName

Updates the name of the team.

##### Parameters

- `value`: The new name.

Here's an example:

```json

{
  "instructions": [{
    "kind": "updateName",
    "value": "Updated team name"
  }]
}

```

</details>

### Expanding the teams response LaunchDarkly supports four fields for expanding the "Update team" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with any of the following fields:

* `members` includes the total count of members that belong to the team. * `roles` includes a paginated list of the custom roles that you have assigned to the team. * `projects` includes a paginated list of the projects that the team has any write access to. * `maintainers` includes a paginated list of the maintainers that you have assigned to the team.

For example, `expand=members,roles` includes the `members` and `roles` fields in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamKey The team key
@return ApiPatchTeamRequest

func (*TeamsApiService) PatchTeamExecute ¶

func (a *TeamsApiService) PatchTeamExecute(r ApiPatchTeamRequest) (*Team, *http.Response, error)

Execute executes the request

@return Team

func (*TeamsApiService) PostTeam ¶

PostTeam Create team

Create a team. To learn more, read [Creating a team](https://docs.launchdarkly.com/home/teams/creating).

### Expanding the teams response LaunchDarkly supports four fields for expanding the "Create team" response. By default, these fields are **not** included in the response.

To expand the response, append the `expand` query parameter and add a comma-separated list with any of the following fields:

* `members` includes the total count of members that belong to the team. * `roles` includes a paginated list of the custom roles that you have assigned to the team. * `projects` includes a paginated list of the projects that the team has any write access to. * `maintainers` includes a paginated list of the maintainers that you have assigned to the team.

For example, `expand=members,roles` includes the `members` and `roles` fields in the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostTeamRequest

func (*TeamsApiService) PostTeamExecute ¶

func (a *TeamsApiService) PostTeamExecute(r ApiPostTeamRequest) (*Team, *http.Response, error)

Execute executes the request

@return Team

func (*TeamsApiService) PostTeamMembers ¶

func (a *TeamsApiService) PostTeamMembers(ctx context.Context, teamKey string) ApiPostTeamMembersRequest

PostTeamMembers Add multiple members to team

Add multiple members to an existing team by uploading a CSV file of member email addresses. Your CSV file must include email addresses in the first column. You can include data in additional columns, but LaunchDarkly ignores all data outside the first column. Headers are optional. To learn more, read [Managing team members](https://docs.launchdarkly.com/home/teams/managing#managing-team-members).

**Members are only added on a `201` response.** A `207` indicates the CSV file contains a combination of valid and invalid entries. A `207` results in no members being added to the team.

On a `207` response, if an entry contains bad input, the `message` field contains the row number as well as the reason for the error. The `message` field is omitted if the entry is valid.

Example `207` response: ```json

{
  "items": [
    {
      "status": "success",
      "value": "new-team-member@acme.com"
    },
    {
      "message": "Line 2: empty row",
      "status": "error",
      "value": ""
    },
    {
      "message": "Line 3: email already exists in the specified team",
      "status": "error",
      "value": "existing-team-member@acme.com"
    },
    {
      "message": "Line 4: invalid email formatting",
      "status": "error",
      "value": "invalid email format"
    }
  ]
}

```

Message | Resolution --- | --- Empty row | This line is blank. Add an email address and try again. Duplicate entry | This email address appears in the file twice. Remove the email from the file and try again. Email already exists in the specified team | This member is already on your team. Remove the email from the file and try again. Invalid formatting | This email address is not formatted correctly. Fix the formatting and try again. Email does not belong to a LaunchDarkly member | The email address doesn't belong to a LaunchDarkly account member. Invite them to LaunchDarkly, then re-add them to the team.

On a `400` response, the `message` field may contain errors specific to this endpoint.

Example `400` response: ```json

{
  "code": "invalid_request",
  "message": "Unable to process file"
}

```

Message | Resolution --- | --- Unable to process file | LaunchDarkly could not process the file for an unspecified reason. Review your file for errors and try again. File exceeds 25mb | Break up your file into multiple files of less than 25mbs each. All emails have invalid formatting | None of the email addresses in the file are in the correct format. Fix the formatting and try again. All emails belong to existing team members | All listed members are already on this team. Populate the file with member emails that do not belong to the team and try again. File is empty | The CSV file does not contain any email addresses. Populate the file and try again. No emails belong to members of your LaunchDarkly organization | None of the email addresses belong to members of your LaunchDarkly account. Invite these members to LaunchDarkly, then re-add them to the team.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamKey The team key
@return ApiPostTeamMembersRequest

func (*TeamsApiService) PostTeamMembersExecute ¶

func (a *TeamsApiService) PostTeamMembersExecute(r ApiPostTeamMembersRequest) (*TeamImportsRep, *http.Response, error)

Execute executes the request

@return TeamImportsRep

type TeamsBetaApiService ¶

type TeamsBetaApiService service

TeamsBetaApiService TeamsBetaApi service

func (*TeamsBetaApiService) PatchTeams ¶

PatchTeams Update teams

Perform a partial update to multiple teams. Updating teams uses the semantic patch format.

To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

### Instructions

Semantic patch requests support the following `kind` instructions for updating teams.

<details> <summary>Click to expand instructions for <strong>updating teams</strong></summary>

#### addMembersToTeams

Add the members to teams.

##### Parameters

- `memberIDs`: List of member IDs to add. - `teamKeys`: List of teams to update.

Here's an example:

```json

{
  "instructions": [{
    "kind": "addMembersToTeams",
    "memberIDs": [
      "1234a56b7c89d012345e678f"
    ],
    "teamKeys": [
      "example-team-1",
      "example-team-2"
    ]
  }]
}

```

#### addAllMembersToTeams

Add all members to the team. Members that match any of the filters are **excluded** from the update.

##### Parameters

- `teamKeys`: List of teams to update. - `filterLastSeen`: (Optional) A JSON object with one of the following formats:

  • `{"never": true}` - Members that have never been active, such as those who have not accepted their invitation to LaunchDarkly, or have not logged in after being provisioned via SCIM.
  • `{"noData": true}` - Members that have not been active since LaunchDarkly began recording last seen timestamps.
  • `{"before": 1608672063611}` - Members that have not been active since the provided value, which should be a timestamp in Unix epoch milliseconds.

- `filterQuery`: (Optional) A string that matches against the members' emails and names. It is not case sensitive. - `filterRoles`: (Optional) A `|` separated list of roles and custom roles. For the purposes of this filtering, `Owner` counts as `Admin`. - `filterTeamKey`: (Optional) A string that matches against the key of the team the members belong to. It is not case sensitive. - `ignoredMemberIDs`: (Optional) A list of member IDs.

Here's an example:

```json

{
  "instructions": [{
    "kind": "addAllMembersToTeams",
    "teamKeys": [
      "example-team-1",
      "example-team-2"
    ],
    "filterLastSeen": { "never": true }
  }]
}

```

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPatchTeamsRequest

func (*TeamsBetaApiService) PatchTeamsExecute ¶

Execute executes the request

@return BulkEditTeamsRep

type TeamsPatchInput ¶

type TeamsPatchInput struct {
	// Optional comment describing the update
	Comment      *string                  `json:"comment,omitempty"`
	Instructions []map[string]interface{} `json:"instructions"`
}

TeamsPatchInput struct for TeamsPatchInput

func NewTeamsPatchInput ¶

func NewTeamsPatchInput(instructions []map[string]interface{}) *TeamsPatchInput

NewTeamsPatchInput instantiates a new TeamsPatchInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamsPatchInputWithDefaults ¶

func NewTeamsPatchInputWithDefaults() *TeamsPatchInput

NewTeamsPatchInputWithDefaults instantiates a new TeamsPatchInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TeamsPatchInput) GetComment ¶

func (o *TeamsPatchInput) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*TeamsPatchInput) GetCommentOk ¶

func (o *TeamsPatchInput) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamsPatchInput) GetInstructions ¶

func (o *TeamsPatchInput) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value

func (*TeamsPatchInput) GetInstructionsOk ¶

func (o *TeamsPatchInput) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value and a boolean to check if the value has been set.

func (*TeamsPatchInput) HasComment ¶

func (o *TeamsPatchInput) HasComment() bool

HasComment returns a boolean if a field has been set.

func (TeamsPatchInput) MarshalJSON ¶

func (o TeamsPatchInput) MarshalJSON() ([]byte, error)

func (*TeamsPatchInput) SetComment ¶

func (o *TeamsPatchInput) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*TeamsPatchInput) SetInstructions ¶

func (o *TeamsPatchInput) SetInstructions(v []map[string]interface{})

SetInstructions sets field value

type TimestampRep ¶

type TimestampRep struct {
	Milliseconds *int64  `json:"milliseconds,omitempty"`
	Seconds      *int64  `json:"seconds,omitempty"`
	Rfc3339      *string `json:"rfc3339,omitempty"`
	Simple       *string `json:"simple,omitempty"`
}

TimestampRep struct for TimestampRep

func NewTimestampRep ¶

func NewTimestampRep() *TimestampRep

NewTimestampRep instantiates a new TimestampRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimestampRepWithDefaults ¶

func NewTimestampRepWithDefaults() *TimestampRep

NewTimestampRepWithDefaults instantiates a new TimestampRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimestampRep) GetMilliseconds ¶

func (o *TimestampRep) GetMilliseconds() int64

GetMilliseconds returns the Milliseconds field value if set, zero value otherwise.

func (*TimestampRep) GetMillisecondsOk ¶

func (o *TimestampRep) GetMillisecondsOk() (*int64, bool)

GetMillisecondsOk returns a tuple with the Milliseconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimestampRep) GetRfc3339 ¶

func (o *TimestampRep) GetRfc3339() string

GetRfc3339 returns the Rfc3339 field value if set, zero value otherwise.

func (*TimestampRep) GetRfc3339Ok ¶

func (o *TimestampRep) GetRfc3339Ok() (*string, bool)

GetRfc3339Ok returns a tuple with the Rfc3339 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimestampRep) GetSeconds ¶

func (o *TimestampRep) GetSeconds() int64

GetSeconds returns the Seconds field value if set, zero value otherwise.

func (*TimestampRep) GetSecondsOk ¶

func (o *TimestampRep) GetSecondsOk() (*int64, bool)

GetSecondsOk returns a tuple with the Seconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimestampRep) GetSimple ¶

func (o *TimestampRep) GetSimple() string

GetSimple returns the Simple field value if set, zero value otherwise.

func (*TimestampRep) GetSimpleOk ¶

func (o *TimestampRep) GetSimpleOk() (*string, bool)

GetSimpleOk returns a tuple with the Simple field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimestampRep) HasMilliseconds ¶

func (o *TimestampRep) HasMilliseconds() bool

HasMilliseconds returns a boolean if a field has been set.

func (*TimestampRep) HasRfc3339 ¶

func (o *TimestampRep) HasRfc3339() bool

HasRfc3339 returns a boolean if a field has been set.

func (*TimestampRep) HasSeconds ¶

func (o *TimestampRep) HasSeconds() bool

HasSeconds returns a boolean if a field has been set.

func (*TimestampRep) HasSimple ¶

func (o *TimestampRep) HasSimple() bool

HasSimple returns a boolean if a field has been set.

func (TimestampRep) MarshalJSON ¶

func (o TimestampRep) MarshalJSON() ([]byte, error)

func (*TimestampRep) SetMilliseconds ¶

func (o *TimestampRep) SetMilliseconds(v int64)

SetMilliseconds gets a reference to the given int64 and assigns it to the Milliseconds field.

func (*TimestampRep) SetRfc3339 ¶

func (o *TimestampRep) SetRfc3339(v string)

SetRfc3339 gets a reference to the given string and assigns it to the Rfc3339 field.

func (*TimestampRep) SetSeconds ¶

func (o *TimestampRep) SetSeconds(v int64)

SetSeconds gets a reference to the given int64 and assigns it to the Seconds field.

func (*TimestampRep) SetSimple ¶

func (o *TimestampRep) SetSimple(v string)

SetSimple gets a reference to the given string and assigns it to the Simple field.

type Token ¶

type Token struct {
	Id       string         `json:"_id"`
	OwnerId  string         `json:"ownerId"`
	MemberId string         `json:"memberId"`
	Member   *MemberSummary `json:"_member,omitempty"`
	// A human-friendly name for the access token
	Name *string `json:"name,omitempty"`
	// A description for the access token
	Description  *string `json:"description,omitempty"`
	CreationDate int64   `json:"creationDate"`
	LastModified int64   `json:"lastModified"`
	// A list of custom role IDs to use as access limits for the access token
	CustomRoleIds []string `json:"customRoleIds,omitempty"`
	// An array of policy statements, with three attributes: effect, resources, actions. May be used in place of a built-in or custom role.
	InlineRole []Statement `json:"inlineRole,omitempty"`
	// Built-in role for the token
	Role *string `json:"role,omitempty"`
	// The token value. When creating or resetting, contains the entire token value. Otherwise, contains the last four characters.
	Token *string `json:"token,omitempty"`
	// Whether this is a service token or a personal token
	ServiceToken *bool `json:"serviceToken,omitempty"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The default API version for this token
	DefaultApiVersion *int32 `json:"defaultApiVersion,omitempty"`
	LastUsed          *int64 `json:"lastUsed,omitempty"`
}

Token struct for Token

func NewToken ¶

func NewToken(id string, ownerId string, memberId string, creationDate int64, lastModified int64, links map[string]Link) *Token

NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenWithDefaults ¶

func NewTokenWithDefaults() *Token

NewTokenWithDefaults instantiates a new Token object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Token) GetCreationDate ¶

func (o *Token) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*Token) GetCreationDateOk ¶

func (o *Token) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*Token) GetCustomRoleIds ¶

func (o *Token) GetCustomRoleIds() []string

GetCustomRoleIds returns the CustomRoleIds field value if set, zero value otherwise.

func (*Token) GetCustomRoleIdsOk ¶

func (o *Token) GetCustomRoleIdsOk() ([]string, bool)

GetCustomRoleIdsOk returns a tuple with the CustomRoleIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Token) GetDefaultApiVersion ¶

func (o *Token) GetDefaultApiVersion() int32

GetDefaultApiVersion returns the DefaultApiVersion field value if set, zero value otherwise.

func (*Token) GetDefaultApiVersionOk ¶

func (o *Token) GetDefaultApiVersionOk() (*int32, bool)

GetDefaultApiVersionOk returns a tuple with the DefaultApiVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Token) GetDescription ¶

func (o *Token) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Token) GetDescriptionOk ¶

func (o *Token) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Token) GetId ¶

func (o *Token) GetId() string

GetId returns the Id field value

func (*Token) GetIdOk ¶

func (o *Token) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Token) GetInlineRole ¶

func (o *Token) GetInlineRole() []Statement

GetInlineRole returns the InlineRole field value if set, zero value otherwise.

func (*Token) GetInlineRoleOk ¶

func (o *Token) GetInlineRoleOk() ([]Statement, bool)

GetInlineRoleOk returns a tuple with the InlineRole field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Token) GetLastModified ¶

func (o *Token) GetLastModified() int64

GetLastModified returns the LastModified field value

func (*Token) GetLastModifiedOk ¶

func (o *Token) GetLastModifiedOk() (*int64, bool)

GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set.

func (*Token) GetLastUsed ¶

func (o *Token) GetLastUsed() int64

GetLastUsed returns the LastUsed field value if set, zero value otherwise.

func (*Token) GetLastUsedOk ¶

func (o *Token) GetLastUsedOk() (*int64, bool)

GetLastUsedOk returns a tuple with the LastUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Token) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Token) GetLinksOk ¶

func (o *Token) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Token) GetMember ¶

func (o *Token) GetMember() MemberSummary

GetMember returns the Member field value if set, zero value otherwise.

func (*Token) GetMemberId ¶

func (o *Token) GetMemberId() string

GetMemberId returns the MemberId field value

func (*Token) GetMemberIdOk ¶

func (o *Token) GetMemberIdOk() (*string, bool)

GetMemberIdOk returns a tuple with the MemberId field value and a boolean to check if the value has been set.

func (*Token) GetMemberOk ¶

func (o *Token) GetMemberOk() (*MemberSummary, bool)

GetMemberOk returns a tuple with the Member field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Token) GetName ¶

func (o *Token) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Token) GetNameOk ¶

func (o *Token) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Token) GetOwnerId ¶

func (o *Token) GetOwnerId() string

GetOwnerId returns the OwnerId field value

func (*Token) GetOwnerIdOk ¶

func (o *Token) GetOwnerIdOk() (*string, bool)

GetOwnerIdOk returns a tuple with the OwnerId field value and a boolean to check if the value has been set.

func (*Token) GetRole ¶

func (o *Token) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*Token) GetRoleOk ¶

func (o *Token) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Token) GetServiceToken ¶

func (o *Token) GetServiceToken() bool

GetServiceToken returns the ServiceToken field value if set, zero value otherwise.

func (*Token) GetServiceTokenOk ¶

func (o *Token) GetServiceTokenOk() (*bool, bool)

GetServiceTokenOk returns a tuple with the ServiceToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Token) GetToken ¶

func (o *Token) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*Token) GetTokenOk ¶

func (o *Token) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Token) HasCustomRoleIds ¶

func (o *Token) HasCustomRoleIds() bool

HasCustomRoleIds returns a boolean if a field has been set.

func (*Token) HasDefaultApiVersion ¶

func (o *Token) HasDefaultApiVersion() bool

HasDefaultApiVersion returns a boolean if a field has been set.

func (*Token) HasDescription ¶

func (o *Token) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Token) HasInlineRole ¶

func (o *Token) HasInlineRole() bool

HasInlineRole returns a boolean if a field has been set.

func (*Token) HasLastUsed ¶

func (o *Token) HasLastUsed() bool

HasLastUsed returns a boolean if a field has been set.

func (*Token) HasMember ¶

func (o *Token) HasMember() bool

HasMember returns a boolean if a field has been set.

func (*Token) HasName ¶

func (o *Token) HasName() bool

HasName returns a boolean if a field has been set.

func (*Token) HasRole ¶

func (o *Token) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*Token) HasServiceToken ¶

func (o *Token) HasServiceToken() bool

HasServiceToken returns a boolean if a field has been set.

func (*Token) HasToken ¶

func (o *Token) HasToken() bool

HasToken returns a boolean if a field has been set.

func (Token) MarshalJSON ¶

func (o Token) MarshalJSON() ([]byte, error)

func (*Token) SetCreationDate ¶

func (o *Token) SetCreationDate(v int64)

SetCreationDate sets field value

func (*Token) SetCustomRoleIds ¶

func (o *Token) SetCustomRoleIds(v []string)

SetCustomRoleIds gets a reference to the given []string and assigns it to the CustomRoleIds field.

func (*Token) SetDefaultApiVersion ¶

func (o *Token) SetDefaultApiVersion(v int32)

SetDefaultApiVersion gets a reference to the given int32 and assigns it to the DefaultApiVersion field.

func (*Token) SetDescription ¶

func (o *Token) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Token) SetId ¶

func (o *Token) SetId(v string)

SetId sets field value

func (*Token) SetInlineRole ¶

func (o *Token) SetInlineRole(v []Statement)

SetInlineRole gets a reference to the given []Statement and assigns it to the InlineRole field.

func (*Token) SetLastModified ¶

func (o *Token) SetLastModified(v int64)

SetLastModified sets field value

func (*Token) SetLastUsed ¶

func (o *Token) SetLastUsed(v int64)

SetLastUsed gets a reference to the given int64 and assigns it to the LastUsed field.

func (o *Token) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Token) SetMember ¶

func (o *Token) SetMember(v MemberSummary)

SetMember gets a reference to the given MemberSummary and assigns it to the Member field.

func (*Token) SetMemberId ¶

func (o *Token) SetMemberId(v string)

SetMemberId sets field value

func (*Token) SetName ¶

func (o *Token) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Token) SetOwnerId ¶

func (o *Token) SetOwnerId(v string)

SetOwnerId sets field value

func (*Token) SetRole ¶

func (o *Token) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*Token) SetServiceToken ¶

func (o *Token) SetServiceToken(v bool)

SetServiceToken gets a reference to the given bool and assigns it to the ServiceToken field.

func (*Token) SetToken ¶

func (o *Token) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

type TokenSummary ¶

type TokenSummary struct {
	Links *map[string]Link `json:"_links,omitempty"`
	Id    *string          `json:"_id,omitempty"`
	// The name of the token
	Name *string `json:"name,omitempty"`
	// The last few characters of the token
	Ending *string `json:"ending,omitempty"`
	// Whether this is a service token
	ServiceToken *bool `json:"serviceToken,omitempty"`
}

TokenSummary struct for TokenSummary

func NewTokenSummary ¶

func NewTokenSummary() *TokenSummary

NewTokenSummary instantiates a new TokenSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenSummaryWithDefaults ¶

func NewTokenSummaryWithDefaults() *TokenSummary

NewTokenSummaryWithDefaults instantiates a new TokenSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenSummary) GetEnding ¶

func (o *TokenSummary) GetEnding() string

GetEnding returns the Ending field value if set, zero value otherwise.

func (*TokenSummary) GetEndingOk ¶

func (o *TokenSummary) GetEndingOk() (*string, bool)

GetEndingOk returns a tuple with the Ending field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenSummary) GetId ¶

func (o *TokenSummary) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TokenSummary) GetIdOk ¶

func (o *TokenSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TokenSummary) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*TokenSummary) GetLinksOk ¶

func (o *TokenSummary) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenSummary) GetName ¶

func (o *TokenSummary) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TokenSummary) GetNameOk ¶

func (o *TokenSummary) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenSummary) GetServiceToken ¶

func (o *TokenSummary) GetServiceToken() bool

GetServiceToken returns the ServiceToken field value if set, zero value otherwise.

func (*TokenSummary) GetServiceTokenOk ¶

func (o *TokenSummary) GetServiceTokenOk() (*bool, bool)

GetServiceTokenOk returns a tuple with the ServiceToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenSummary) HasEnding ¶

func (o *TokenSummary) HasEnding() bool

HasEnding returns a boolean if a field has been set.

func (*TokenSummary) HasId ¶

func (o *TokenSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (o *TokenSummary) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*TokenSummary) HasName ¶

func (o *TokenSummary) HasName() bool

HasName returns a boolean if a field has been set.

func (*TokenSummary) HasServiceToken ¶

func (o *TokenSummary) HasServiceToken() bool

HasServiceToken returns a boolean if a field has been set.

func (TokenSummary) MarshalJSON ¶

func (o TokenSummary) MarshalJSON() ([]byte, error)

func (*TokenSummary) SetEnding ¶

func (o *TokenSummary) SetEnding(v string)

SetEnding gets a reference to the given string and assigns it to the Ending field.

func (*TokenSummary) SetId ¶

func (o *TokenSummary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (o *TokenSummary) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*TokenSummary) SetName ¶

func (o *TokenSummary) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*TokenSummary) SetServiceToken ¶

func (o *TokenSummary) SetServiceToken(v bool)

SetServiceToken gets a reference to the given bool and assigns it to the ServiceToken field.

type Tokens ¶

type Tokens struct {
	// An array of access tokens
	Items []Token          `json:"items,omitempty"`
	Links *map[string]Link `json:"_links,omitempty"`
	// The number of access tokens returned
	TotalCount *int32 `json:"totalCount,omitempty"`
}

Tokens struct for Tokens

func NewTokens ¶

func NewTokens() *Tokens

NewTokens instantiates a new Tokens object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokensWithDefaults ¶

func NewTokensWithDefaults() *Tokens

NewTokensWithDefaults instantiates a new Tokens object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Tokens) GetItems ¶

func (o *Tokens) GetItems() []Token

GetItems returns the Items field value if set, zero value otherwise.

func (*Tokens) GetItemsOk ¶

func (o *Tokens) GetItemsOk() ([]Token, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Tokens) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Tokens) GetLinksOk ¶

func (o *Tokens) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tokens) GetTotalCount ¶

func (o *Tokens) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*Tokens) GetTotalCountOk ¶

func (o *Tokens) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tokens) HasItems ¶

func (o *Tokens) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *Tokens) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Tokens) HasTotalCount ¶

func (o *Tokens) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (Tokens) MarshalJSON ¶

func (o Tokens) MarshalJSON() ([]byte, error)

func (*Tokens) SetItems ¶

func (o *Tokens) SetItems(v []Token)

SetItems gets a reference to the given []Token and assigns it to the Items field.

func (o *Tokens) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*Tokens) SetTotalCount ¶

func (o *Tokens) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

type TreatmentInput ¶

type TreatmentInput struct {
	// The treatment name
	Name string `json:"name"`
	// Whether this treatment is the baseline to compare other treatments against
	Baseline bool `json:"baseline"`
	// The percentage of traffic allocated to this treatment during the iteration
	AllocationPercent string `json:"allocationPercent"`
	// Details on the flag and variation to use for this treatment
	Parameters []TreatmentParameterInput `json:"parameters"`
}

TreatmentInput struct for TreatmentInput

func NewTreatmentInput ¶

func NewTreatmentInput(name string, baseline bool, allocationPercent string, parameters []TreatmentParameterInput) *TreatmentInput

NewTreatmentInput instantiates a new TreatmentInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTreatmentInputWithDefaults ¶

func NewTreatmentInputWithDefaults() *TreatmentInput

NewTreatmentInputWithDefaults instantiates a new TreatmentInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TreatmentInput) GetAllocationPercent ¶

func (o *TreatmentInput) GetAllocationPercent() string

GetAllocationPercent returns the AllocationPercent field value

func (*TreatmentInput) GetAllocationPercentOk ¶

func (o *TreatmentInput) GetAllocationPercentOk() (*string, bool)

GetAllocationPercentOk returns a tuple with the AllocationPercent field value and a boolean to check if the value has been set.

func (*TreatmentInput) GetBaseline ¶

func (o *TreatmentInput) GetBaseline() bool

GetBaseline returns the Baseline field value

func (*TreatmentInput) GetBaselineOk ¶

func (o *TreatmentInput) GetBaselineOk() (*bool, bool)

GetBaselineOk returns a tuple with the Baseline field value and a boolean to check if the value has been set.

func (*TreatmentInput) GetName ¶

func (o *TreatmentInput) GetName() string

GetName returns the Name field value

func (*TreatmentInput) GetNameOk ¶

func (o *TreatmentInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TreatmentInput) GetParameters ¶

func (o *TreatmentInput) GetParameters() []TreatmentParameterInput

GetParameters returns the Parameters field value

func (*TreatmentInput) GetParametersOk ¶

func (o *TreatmentInput) GetParametersOk() ([]TreatmentParameterInput, bool)

GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.

func (TreatmentInput) MarshalJSON ¶

func (o TreatmentInput) MarshalJSON() ([]byte, error)

func (*TreatmentInput) SetAllocationPercent ¶

func (o *TreatmentInput) SetAllocationPercent(v string)

SetAllocationPercent sets field value

func (*TreatmentInput) SetBaseline ¶

func (o *TreatmentInput) SetBaseline(v bool)

SetBaseline sets field value

func (*TreatmentInput) SetName ¶

func (o *TreatmentInput) SetName(v string)

SetName sets field value

func (*TreatmentInput) SetParameters ¶

func (o *TreatmentInput) SetParameters(v []TreatmentParameterInput)

SetParameters sets field value

type TreatmentParameterInput ¶

type TreatmentParameterInput struct {
	// The flag key
	FlagKey string `json:"flagKey"`
	// The ID of the flag variation
	VariationId string `json:"variationId"`
}

TreatmentParameterInput struct for TreatmentParameterInput

func NewTreatmentParameterInput ¶

func NewTreatmentParameterInput(flagKey string, variationId string) *TreatmentParameterInput

NewTreatmentParameterInput instantiates a new TreatmentParameterInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTreatmentParameterInputWithDefaults ¶

func NewTreatmentParameterInputWithDefaults() *TreatmentParameterInput

NewTreatmentParameterInputWithDefaults instantiates a new TreatmentParameterInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TreatmentParameterInput) GetFlagKey ¶

func (o *TreatmentParameterInput) GetFlagKey() string

GetFlagKey returns the FlagKey field value

func (*TreatmentParameterInput) GetFlagKeyOk ¶

func (o *TreatmentParameterInput) GetFlagKeyOk() (*string, bool)

GetFlagKeyOk returns a tuple with the FlagKey field value and a boolean to check if the value has been set.

func (*TreatmentParameterInput) GetVariationId ¶

func (o *TreatmentParameterInput) GetVariationId() string

GetVariationId returns the VariationId field value

func (*TreatmentParameterInput) GetVariationIdOk ¶

func (o *TreatmentParameterInput) GetVariationIdOk() (*string, bool)

GetVariationIdOk returns a tuple with the VariationId field value and a boolean to check if the value has been set.

func (TreatmentParameterInput) MarshalJSON ¶

func (o TreatmentParameterInput) MarshalJSON() ([]byte, error)

func (*TreatmentParameterInput) SetFlagKey ¶

func (o *TreatmentParameterInput) SetFlagKey(v string)

SetFlagKey sets field value

func (*TreatmentParameterInput) SetVariationId ¶

func (o *TreatmentParameterInput) SetVariationId(v string)

SetVariationId sets field value

type TreatmentRep ¶

type TreatmentRep struct {
	// The treatment ID. This is the variation ID from the flag.
	Id *string `json:"_id,omitempty"`
	// The treatment name. This is the variation name from the flag.
	Name string `json:"name"`
	// The percentage of traffic allocated to this treatment during the iteration
	AllocationPercent string `json:"allocationPercent"`
	// Whether this treatment is the baseline to compare other treatments against
	Baseline *bool `json:"baseline,omitempty"`
	// Details on the flag and variation used for this treatment
	Parameters []ParameterRep `json:"parameters,omitempty"`
}

TreatmentRep struct for TreatmentRep

func NewTreatmentRep ¶

func NewTreatmentRep(name string, allocationPercent string) *TreatmentRep

NewTreatmentRep instantiates a new TreatmentRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTreatmentRepWithDefaults ¶

func NewTreatmentRepWithDefaults() *TreatmentRep

NewTreatmentRepWithDefaults instantiates a new TreatmentRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TreatmentRep) GetAllocationPercent ¶

func (o *TreatmentRep) GetAllocationPercent() string

GetAllocationPercent returns the AllocationPercent field value

func (*TreatmentRep) GetAllocationPercentOk ¶

func (o *TreatmentRep) GetAllocationPercentOk() (*string, bool)

GetAllocationPercentOk returns a tuple with the AllocationPercent field value and a boolean to check if the value has been set.

func (*TreatmentRep) GetBaseline ¶

func (o *TreatmentRep) GetBaseline() bool

GetBaseline returns the Baseline field value if set, zero value otherwise.

func (*TreatmentRep) GetBaselineOk ¶

func (o *TreatmentRep) GetBaselineOk() (*bool, bool)

GetBaselineOk returns a tuple with the Baseline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentRep) GetId ¶

func (o *TreatmentRep) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TreatmentRep) GetIdOk ¶

func (o *TreatmentRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentRep) GetName ¶

func (o *TreatmentRep) GetName() string

GetName returns the Name field value

func (*TreatmentRep) GetNameOk ¶

func (o *TreatmentRep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TreatmentRep) GetParameters ¶

func (o *TreatmentRep) GetParameters() []ParameterRep

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*TreatmentRep) GetParametersOk ¶

func (o *TreatmentRep) GetParametersOk() ([]ParameterRep, bool)

GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentRep) HasBaseline ¶

func (o *TreatmentRep) HasBaseline() bool

HasBaseline returns a boolean if a field has been set.

func (*TreatmentRep) HasId ¶

func (o *TreatmentRep) HasId() bool

HasId returns a boolean if a field has been set.

func (*TreatmentRep) HasParameters ¶

func (o *TreatmentRep) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (TreatmentRep) MarshalJSON ¶

func (o TreatmentRep) MarshalJSON() ([]byte, error)

func (*TreatmentRep) SetAllocationPercent ¶

func (o *TreatmentRep) SetAllocationPercent(v string)

SetAllocationPercent sets field value

func (*TreatmentRep) SetBaseline ¶

func (o *TreatmentRep) SetBaseline(v bool)

SetBaseline gets a reference to the given bool and assigns it to the Baseline field.

func (*TreatmentRep) SetId ¶

func (o *TreatmentRep) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*TreatmentRep) SetName ¶

func (o *TreatmentRep) SetName(v string)

SetName sets field value

func (*TreatmentRep) SetParameters ¶

func (o *TreatmentRep) SetParameters(v []ParameterRep)

SetParameters gets a reference to the given []ParameterRep and assigns it to the Parameters field.

type TreatmentResultRep ¶

type TreatmentResultRep struct {
	// The ID of the treatment
	TreatmentId *string `json:"treatmentId,omitempty"`
	// The name of the treatment
	TreatmentName *string `json:"treatmentName,omitempty"`
	// The average value of the variation in this sample. It doesn’t capture the uncertainty in the measurement, so it should not be the only measurement you use to make decisions.
	Mean             *float32             `json:"mean,omitempty"`
	CredibleInterval *CredibleIntervalRep `json:"credibleInterval,omitempty"`
	// The likelihood that this variation has the biggest effect on the primary metric. The variation with the highest probability is likely the best of the variations you're testing
	PBest *float32 `json:"pBest,omitempty"`
	// Estimates of the relative difference between this treatment's mean and the mean of each other treatment
	RelativeDifferences []RelativeDifferenceRep `json:"relativeDifferences,omitempty"`
	// The number of units exposed to this treatment that have event values, including those that are configured to default to 0
	Units *int64 `json:"units,omitempty"`
	// The number of units exposed to this treatment.
	Traffic      *int64        `json:"traffic,omitempty"`
	Distribution *Distribution `json:"distribution,omitempty"`
}

TreatmentResultRep struct for TreatmentResultRep

func NewTreatmentResultRep ¶

func NewTreatmentResultRep() *TreatmentResultRep

NewTreatmentResultRep instantiates a new TreatmentResultRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTreatmentResultRepWithDefaults ¶

func NewTreatmentResultRepWithDefaults() *TreatmentResultRep

NewTreatmentResultRepWithDefaults instantiates a new TreatmentResultRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TreatmentResultRep) GetCredibleInterval ¶

func (o *TreatmentResultRep) GetCredibleInterval() CredibleIntervalRep

GetCredibleInterval returns the CredibleInterval field value if set, zero value otherwise.

func (*TreatmentResultRep) GetCredibleIntervalOk ¶

func (o *TreatmentResultRep) GetCredibleIntervalOk() (*CredibleIntervalRep, bool)

GetCredibleIntervalOk returns a tuple with the CredibleInterval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentResultRep) GetDistribution ¶

func (o *TreatmentResultRep) GetDistribution() Distribution

GetDistribution returns the Distribution field value if set, zero value otherwise.

func (*TreatmentResultRep) GetDistributionOk ¶

func (o *TreatmentResultRep) GetDistributionOk() (*Distribution, bool)

GetDistributionOk returns a tuple with the Distribution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentResultRep) GetMean ¶

func (o *TreatmentResultRep) GetMean() float32

GetMean returns the Mean field value if set, zero value otherwise.

func (*TreatmentResultRep) GetMeanOk ¶

func (o *TreatmentResultRep) GetMeanOk() (*float32, bool)

GetMeanOk returns a tuple with the Mean field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentResultRep) GetPBest ¶

func (o *TreatmentResultRep) GetPBest() float32

GetPBest returns the PBest field value if set, zero value otherwise.

func (*TreatmentResultRep) GetPBestOk ¶

func (o *TreatmentResultRep) GetPBestOk() (*float32, bool)

GetPBestOk returns a tuple with the PBest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentResultRep) GetRelativeDifferences ¶

func (o *TreatmentResultRep) GetRelativeDifferences() []RelativeDifferenceRep

GetRelativeDifferences returns the RelativeDifferences field value if set, zero value otherwise.

func (*TreatmentResultRep) GetRelativeDifferencesOk ¶

func (o *TreatmentResultRep) GetRelativeDifferencesOk() ([]RelativeDifferenceRep, bool)

GetRelativeDifferencesOk returns a tuple with the RelativeDifferences field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentResultRep) GetTraffic ¶

func (o *TreatmentResultRep) GetTraffic() int64

GetTraffic returns the Traffic field value if set, zero value otherwise.

func (*TreatmentResultRep) GetTrafficOk ¶

func (o *TreatmentResultRep) GetTrafficOk() (*int64, bool)

GetTrafficOk returns a tuple with the Traffic field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentResultRep) GetTreatmentId ¶

func (o *TreatmentResultRep) GetTreatmentId() string

GetTreatmentId returns the TreatmentId field value if set, zero value otherwise.

func (*TreatmentResultRep) GetTreatmentIdOk ¶

func (o *TreatmentResultRep) GetTreatmentIdOk() (*string, bool)

GetTreatmentIdOk returns a tuple with the TreatmentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentResultRep) GetTreatmentName ¶

func (o *TreatmentResultRep) GetTreatmentName() string

GetTreatmentName returns the TreatmentName field value if set, zero value otherwise.

func (*TreatmentResultRep) GetTreatmentNameOk ¶

func (o *TreatmentResultRep) GetTreatmentNameOk() (*string, bool)

GetTreatmentNameOk returns a tuple with the TreatmentName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentResultRep) GetUnits ¶

func (o *TreatmentResultRep) GetUnits() int64

GetUnits returns the Units field value if set, zero value otherwise.

func (*TreatmentResultRep) GetUnitsOk ¶

func (o *TreatmentResultRep) GetUnitsOk() (*int64, bool)

GetUnitsOk returns a tuple with the Units field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreatmentResultRep) HasCredibleInterval ¶

func (o *TreatmentResultRep) HasCredibleInterval() bool

HasCredibleInterval returns a boolean if a field has been set.

func (*TreatmentResultRep) HasDistribution ¶

func (o *TreatmentResultRep) HasDistribution() bool

HasDistribution returns a boolean if a field has been set.

func (*TreatmentResultRep) HasMean ¶

func (o *TreatmentResultRep) HasMean() bool

HasMean returns a boolean if a field has been set.

func (*TreatmentResultRep) HasPBest ¶

func (o *TreatmentResultRep) HasPBest() bool

HasPBest returns a boolean if a field has been set.

func (*TreatmentResultRep) HasRelativeDifferences ¶

func (o *TreatmentResultRep) HasRelativeDifferences() bool

HasRelativeDifferences returns a boolean if a field has been set.

func (*TreatmentResultRep) HasTraffic ¶

func (o *TreatmentResultRep) HasTraffic() bool

HasTraffic returns a boolean if a field has been set.

func (*TreatmentResultRep) HasTreatmentId ¶

func (o *TreatmentResultRep) HasTreatmentId() bool

HasTreatmentId returns a boolean if a field has been set.

func (*TreatmentResultRep) HasTreatmentName ¶

func (o *TreatmentResultRep) HasTreatmentName() bool

HasTreatmentName returns a boolean if a field has been set.

func (*TreatmentResultRep) HasUnits ¶

func (o *TreatmentResultRep) HasUnits() bool

HasUnits returns a boolean if a field has been set.

func (TreatmentResultRep) MarshalJSON ¶

func (o TreatmentResultRep) MarshalJSON() ([]byte, error)

func (*TreatmentResultRep) SetCredibleInterval ¶

func (o *TreatmentResultRep) SetCredibleInterval(v CredibleIntervalRep)

SetCredibleInterval gets a reference to the given CredibleIntervalRep and assigns it to the CredibleInterval field.

func (*TreatmentResultRep) SetDistribution ¶

func (o *TreatmentResultRep) SetDistribution(v Distribution)

SetDistribution gets a reference to the given Distribution and assigns it to the Distribution field.

func (*TreatmentResultRep) SetMean ¶

func (o *TreatmentResultRep) SetMean(v float32)

SetMean gets a reference to the given float32 and assigns it to the Mean field.

func (*TreatmentResultRep) SetPBest ¶

func (o *TreatmentResultRep) SetPBest(v float32)

SetPBest gets a reference to the given float32 and assigns it to the PBest field.

func (*TreatmentResultRep) SetRelativeDifferences ¶

func (o *TreatmentResultRep) SetRelativeDifferences(v []RelativeDifferenceRep)

SetRelativeDifferences gets a reference to the given []RelativeDifferenceRep and assigns it to the RelativeDifferences field.

func (*TreatmentResultRep) SetTraffic ¶

func (o *TreatmentResultRep) SetTraffic(v int64)

SetTraffic gets a reference to the given int64 and assigns it to the Traffic field.

func (*TreatmentResultRep) SetTreatmentId ¶

func (o *TreatmentResultRep) SetTreatmentId(v string)

SetTreatmentId gets a reference to the given string and assigns it to the TreatmentId field.

func (*TreatmentResultRep) SetTreatmentName ¶

func (o *TreatmentResultRep) SetTreatmentName(v string)

SetTreatmentName gets a reference to the given string and assigns it to the TreatmentName field.

func (*TreatmentResultRep) SetUnits ¶

func (o *TreatmentResultRep) SetUnits(v int64)

SetUnits gets a reference to the given int64 and assigns it to the Units field.

type TriggerPost ¶

type TriggerPost struct {
	// Optional comment describing the trigger
	Comment *string `json:"comment,omitempty"`
	// The action to perform when triggering. This should be an array with a single object that looks like <code>{\"kind\": \"flag_action\"}</code>. Supported flag actions are <code>turnFlagOn</code> and <code>turnFlagOff</code>.
	Instructions []map[string]interface{} `json:"instructions,omitempty"`
	// The unique identifier of the integration for your trigger. Use <code>generic-trigger</code> for integrations not explicitly supported.
	IntegrationKey string `json:"integrationKey"`
}

TriggerPost struct for TriggerPost

func NewTriggerPost ¶

func NewTriggerPost(integrationKey string) *TriggerPost

NewTriggerPost instantiates a new TriggerPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTriggerPostWithDefaults ¶

func NewTriggerPostWithDefaults() *TriggerPost

NewTriggerPostWithDefaults instantiates a new TriggerPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TriggerPost) GetComment ¶

func (o *TriggerPost) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*TriggerPost) GetCommentOk ¶

func (o *TriggerPost) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerPost) GetInstructions ¶

func (o *TriggerPost) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value if set, zero value otherwise.

func (*TriggerPost) GetInstructionsOk ¶

func (o *TriggerPost) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerPost) GetIntegrationKey ¶

func (o *TriggerPost) GetIntegrationKey() string

GetIntegrationKey returns the IntegrationKey field value

func (*TriggerPost) GetIntegrationKeyOk ¶

func (o *TriggerPost) GetIntegrationKeyOk() (*string, bool)

GetIntegrationKeyOk returns a tuple with the IntegrationKey field value and a boolean to check if the value has been set.

func (*TriggerPost) HasComment ¶

func (o *TriggerPost) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*TriggerPost) HasInstructions ¶

func (o *TriggerPost) HasInstructions() bool

HasInstructions returns a boolean if a field has been set.

func (TriggerPost) MarshalJSON ¶

func (o TriggerPost) MarshalJSON() ([]byte, error)

func (*TriggerPost) SetComment ¶

func (o *TriggerPost) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*TriggerPost) SetInstructions ¶

func (o *TriggerPost) SetInstructions(v []map[string]interface{})

SetInstructions gets a reference to the given []map[string]interface{} and assigns it to the Instructions field.

func (*TriggerPost) SetIntegrationKey ¶

func (o *TriggerPost) SetIntegrationKey(v string)

SetIntegrationKey sets field value

type TriggerWorkflowCollectionRep ¶

type TriggerWorkflowCollectionRep struct {
	// An array of flag triggers
	Items []TriggerWorkflowRep `json:"items,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

TriggerWorkflowCollectionRep struct for TriggerWorkflowCollectionRep

func NewTriggerWorkflowCollectionRep ¶

func NewTriggerWorkflowCollectionRep() *TriggerWorkflowCollectionRep

NewTriggerWorkflowCollectionRep instantiates a new TriggerWorkflowCollectionRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTriggerWorkflowCollectionRepWithDefaults ¶

func NewTriggerWorkflowCollectionRepWithDefaults() *TriggerWorkflowCollectionRep

NewTriggerWorkflowCollectionRepWithDefaults instantiates a new TriggerWorkflowCollectionRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TriggerWorkflowCollectionRep) GetItems ¶

GetItems returns the Items field value if set, zero value otherwise.

func (*TriggerWorkflowCollectionRep) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TriggerWorkflowCollectionRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*TriggerWorkflowCollectionRep) GetLinksOk ¶

func (o *TriggerWorkflowCollectionRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowCollectionRep) HasItems ¶

func (o *TriggerWorkflowCollectionRep) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *TriggerWorkflowCollectionRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (TriggerWorkflowCollectionRep) MarshalJSON ¶

func (o TriggerWorkflowCollectionRep) MarshalJSON() ([]byte, error)

func (*TriggerWorkflowCollectionRep) SetItems ¶

SetItems gets a reference to the given []TriggerWorkflowRep and assigns it to the Items field.

func (o *TriggerWorkflowCollectionRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type TriggerWorkflowRep ¶

type TriggerWorkflowRep struct {
	Id *string `json:"_id,omitempty"`
	// The flag trigger version
	Version      *int32 `json:"_version,omitempty"`
	CreationDate *int64 `json:"_creationDate,omitempty"`
	// The ID of the flag trigger maintainer
	MaintainerId *string        `json:"_maintainerId,omitempty"`
	Maintainer   *MemberSummary `json:"_maintainer,omitempty"`
	// Whether the flag trigger is currently enabled
	Enabled *bool `json:"enabled,omitempty"`
	// The unique identifier of the integration for your trigger
	IntegrationKey  *string                  `json:"_integrationKey,omitempty"`
	Instructions    []map[string]interface{} `json:"instructions,omitempty"`
	LastTriggeredAt *int64                   `json:"_lastTriggeredAt,omitempty"`
	// Details on recent flag trigger requests.
	RecentTriggerBodies []RecentTriggerBody `json:"_recentTriggerBodies,omitempty"`
	// Number of times the trigger has been executed
	TriggerCount *int32 `json:"_triggerCount,omitempty"`
	// The unguessable URL for this flag trigger
	TriggerURL *string `json:"triggerURL,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

TriggerWorkflowRep struct for TriggerWorkflowRep

func NewTriggerWorkflowRep ¶

func NewTriggerWorkflowRep() *TriggerWorkflowRep

NewTriggerWorkflowRep instantiates a new TriggerWorkflowRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTriggerWorkflowRepWithDefaults ¶

func NewTriggerWorkflowRepWithDefaults() *TriggerWorkflowRep

NewTriggerWorkflowRepWithDefaults instantiates a new TriggerWorkflowRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TriggerWorkflowRep) GetCreationDate ¶

func (o *TriggerWorkflowRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetCreationDateOk ¶

func (o *TriggerWorkflowRep) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetEnabled ¶

func (o *TriggerWorkflowRep) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetEnabledOk ¶

func (o *TriggerWorkflowRep) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetId ¶

func (o *TriggerWorkflowRep) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetIdOk ¶

func (o *TriggerWorkflowRep) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetInstructions ¶

func (o *TriggerWorkflowRep) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetInstructionsOk ¶

func (o *TriggerWorkflowRep) GetInstructionsOk() ([]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetIntegrationKey ¶

func (o *TriggerWorkflowRep) GetIntegrationKey() string

GetIntegrationKey returns the IntegrationKey field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetIntegrationKeyOk ¶

func (o *TriggerWorkflowRep) GetIntegrationKeyOk() (*string, bool)

GetIntegrationKeyOk returns a tuple with the IntegrationKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetLastTriggeredAt ¶

func (o *TriggerWorkflowRep) GetLastTriggeredAt() int64

GetLastTriggeredAt returns the LastTriggeredAt field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetLastTriggeredAtOk ¶

func (o *TriggerWorkflowRep) GetLastTriggeredAtOk() (*int64, bool)

GetLastTriggeredAtOk returns a tuple with the LastTriggeredAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TriggerWorkflowRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetLinksOk ¶

func (o *TriggerWorkflowRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetMaintainer ¶

func (o *TriggerWorkflowRep) GetMaintainer() MemberSummary

GetMaintainer returns the Maintainer field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetMaintainerId ¶

func (o *TriggerWorkflowRep) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetMaintainerIdOk ¶

func (o *TriggerWorkflowRep) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetMaintainerOk ¶

func (o *TriggerWorkflowRep) GetMaintainerOk() (*MemberSummary, bool)

GetMaintainerOk returns a tuple with the Maintainer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetRecentTriggerBodies ¶

func (o *TriggerWorkflowRep) GetRecentTriggerBodies() []RecentTriggerBody

GetRecentTriggerBodies returns the RecentTriggerBodies field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetRecentTriggerBodiesOk ¶

func (o *TriggerWorkflowRep) GetRecentTriggerBodiesOk() ([]RecentTriggerBody, bool)

GetRecentTriggerBodiesOk returns a tuple with the RecentTriggerBodies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetTriggerCount ¶

func (o *TriggerWorkflowRep) GetTriggerCount() int32

GetTriggerCount returns the TriggerCount field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetTriggerCountOk ¶

func (o *TriggerWorkflowRep) GetTriggerCountOk() (*int32, bool)

GetTriggerCountOk returns a tuple with the TriggerCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetTriggerURL ¶

func (o *TriggerWorkflowRep) GetTriggerURL() string

GetTriggerURL returns the TriggerURL field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetTriggerURLOk ¶

func (o *TriggerWorkflowRep) GetTriggerURLOk() (*string, bool)

GetTriggerURLOk returns a tuple with the TriggerURL field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) GetVersion ¶

func (o *TriggerWorkflowRep) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*TriggerWorkflowRep) GetVersionOk ¶

func (o *TriggerWorkflowRep) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TriggerWorkflowRep) HasCreationDate ¶

func (o *TriggerWorkflowRep) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasEnabled ¶

func (o *TriggerWorkflowRep) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasId ¶

func (o *TriggerWorkflowRep) HasId() bool

HasId returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasInstructions ¶

func (o *TriggerWorkflowRep) HasInstructions() bool

HasInstructions returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasIntegrationKey ¶

func (o *TriggerWorkflowRep) HasIntegrationKey() bool

HasIntegrationKey returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasLastTriggeredAt ¶

func (o *TriggerWorkflowRep) HasLastTriggeredAt() bool

HasLastTriggeredAt returns a boolean if a field has been set.

func (o *TriggerWorkflowRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasMaintainer ¶

func (o *TriggerWorkflowRep) HasMaintainer() bool

HasMaintainer returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasMaintainerId ¶

func (o *TriggerWorkflowRep) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasRecentTriggerBodies ¶

func (o *TriggerWorkflowRep) HasRecentTriggerBodies() bool

HasRecentTriggerBodies returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasTriggerCount ¶

func (o *TriggerWorkflowRep) HasTriggerCount() bool

HasTriggerCount returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasTriggerURL ¶

func (o *TriggerWorkflowRep) HasTriggerURL() bool

HasTriggerURL returns a boolean if a field has been set.

func (*TriggerWorkflowRep) HasVersion ¶

func (o *TriggerWorkflowRep) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (TriggerWorkflowRep) MarshalJSON ¶

func (o TriggerWorkflowRep) MarshalJSON() ([]byte, error)

func (*TriggerWorkflowRep) SetCreationDate ¶

func (o *TriggerWorkflowRep) SetCreationDate(v int64)

SetCreationDate gets a reference to the given int64 and assigns it to the CreationDate field.

func (*TriggerWorkflowRep) SetEnabled ¶

func (o *TriggerWorkflowRep) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*TriggerWorkflowRep) SetId ¶

func (o *TriggerWorkflowRep) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*TriggerWorkflowRep) SetInstructions ¶

func (o *TriggerWorkflowRep) SetInstructions(v []map[string]interface{})

SetInstructions gets a reference to the given []map[string]interface{} and assigns it to the Instructions field.

func (*TriggerWorkflowRep) SetIntegrationKey ¶

func (o *TriggerWorkflowRep) SetIntegrationKey(v string)

SetIntegrationKey gets a reference to the given string and assigns it to the IntegrationKey field.

func (*TriggerWorkflowRep) SetLastTriggeredAt ¶

func (o *TriggerWorkflowRep) SetLastTriggeredAt(v int64)

SetLastTriggeredAt gets a reference to the given int64 and assigns it to the LastTriggeredAt field.

func (o *TriggerWorkflowRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*TriggerWorkflowRep) SetMaintainer ¶

func (o *TriggerWorkflowRep) SetMaintainer(v MemberSummary)

SetMaintainer gets a reference to the given MemberSummary and assigns it to the Maintainer field.

func (*TriggerWorkflowRep) SetMaintainerId ¶

func (o *TriggerWorkflowRep) SetMaintainerId(v string)

SetMaintainerId gets a reference to the given string and assigns it to the MaintainerId field.

func (*TriggerWorkflowRep) SetRecentTriggerBodies ¶

func (o *TriggerWorkflowRep) SetRecentTriggerBodies(v []RecentTriggerBody)

SetRecentTriggerBodies gets a reference to the given []RecentTriggerBody and assigns it to the RecentTriggerBodies field.

func (*TriggerWorkflowRep) SetTriggerCount ¶

func (o *TriggerWorkflowRep) SetTriggerCount(v int32)

SetTriggerCount gets a reference to the given int32 and assigns it to the TriggerCount field.

func (*TriggerWorkflowRep) SetTriggerURL ¶

func (o *TriggerWorkflowRep) SetTriggerURL(v string)

SetTriggerURL gets a reference to the given string and assigns it to the TriggerURL field.

func (*TriggerWorkflowRep) SetVersion ¶

func (o *TriggerWorkflowRep) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type UnauthorizedErrorRep ¶

type UnauthorizedErrorRep struct {
	// Specific error code encountered
	Code string `json:"code"`
	// Description of the error
	Message string `json:"message"`
}

UnauthorizedErrorRep struct for UnauthorizedErrorRep

func NewUnauthorizedErrorRep ¶

func NewUnauthorizedErrorRep(code string, message string) *UnauthorizedErrorRep

NewUnauthorizedErrorRep instantiates a new UnauthorizedErrorRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUnauthorizedErrorRepWithDefaults ¶

func NewUnauthorizedErrorRepWithDefaults() *UnauthorizedErrorRep

NewUnauthorizedErrorRepWithDefaults instantiates a new UnauthorizedErrorRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UnauthorizedErrorRep) GetCode ¶

func (o *UnauthorizedErrorRep) GetCode() string

GetCode returns the Code field value

func (*UnauthorizedErrorRep) GetCodeOk ¶

func (o *UnauthorizedErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*UnauthorizedErrorRep) GetMessage ¶

func (o *UnauthorizedErrorRep) GetMessage() string

GetMessage returns the Message field value

func (*UnauthorizedErrorRep) GetMessageOk ¶

func (o *UnauthorizedErrorRep) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (UnauthorizedErrorRep) MarshalJSON ¶

func (o UnauthorizedErrorRep) MarshalJSON() ([]byte, error)

func (*UnauthorizedErrorRep) SetCode ¶

func (o *UnauthorizedErrorRep) SetCode(v string)

SetCode sets field value

func (*UnauthorizedErrorRep) SetMessage ¶

func (o *UnauthorizedErrorRep) SetMessage(v string)

SetMessage sets field value

type UpsertContextKindPayload ¶

type UpsertContextKindPayload struct {
	// The context kind name
	Name string `json:"name"`
	// The context kind description
	Description *string `json:"description,omitempty"`
	// Alias for archived.
	HideInTargeting *bool `json:"hideInTargeting,omitempty"`
	// Whether the context kind is archived. Archived context kinds are unavailable for targeting.
	Archived *bool `json:"archived,omitempty"`
	// The context kind version. If not specified when the context kind is created, defaults to 1.
	Version *int32 `json:"version,omitempty"`
}

UpsertContextKindPayload struct for UpsertContextKindPayload

func NewUpsertContextKindPayload ¶

func NewUpsertContextKindPayload(name string) *UpsertContextKindPayload

NewUpsertContextKindPayload instantiates a new UpsertContextKindPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpsertContextKindPayloadWithDefaults ¶

func NewUpsertContextKindPayloadWithDefaults() *UpsertContextKindPayload

NewUpsertContextKindPayloadWithDefaults instantiates a new UpsertContextKindPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpsertContextKindPayload) GetArchived ¶

func (o *UpsertContextKindPayload) GetArchived() bool

GetArchived returns the Archived field value if set, zero value otherwise.

func (*UpsertContextKindPayload) GetArchivedOk ¶

func (o *UpsertContextKindPayload) GetArchivedOk() (*bool, bool)

GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpsertContextKindPayload) GetDescription ¶

func (o *UpsertContextKindPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpsertContextKindPayload) GetDescriptionOk ¶

func (o *UpsertContextKindPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpsertContextKindPayload) GetHideInTargeting ¶

func (o *UpsertContextKindPayload) GetHideInTargeting() bool

GetHideInTargeting returns the HideInTargeting field value if set, zero value otherwise.

func (*UpsertContextKindPayload) GetHideInTargetingOk ¶

func (o *UpsertContextKindPayload) GetHideInTargetingOk() (*bool, bool)

GetHideInTargetingOk returns a tuple with the HideInTargeting field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpsertContextKindPayload) GetName ¶

func (o *UpsertContextKindPayload) GetName() string

GetName returns the Name field value

func (*UpsertContextKindPayload) GetNameOk ¶

func (o *UpsertContextKindPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpsertContextKindPayload) GetVersion ¶

func (o *UpsertContextKindPayload) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*UpsertContextKindPayload) GetVersionOk ¶

func (o *UpsertContextKindPayload) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpsertContextKindPayload) HasArchived ¶

func (o *UpsertContextKindPayload) HasArchived() bool

HasArchived returns a boolean if a field has been set.

func (*UpsertContextKindPayload) HasDescription ¶

func (o *UpsertContextKindPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpsertContextKindPayload) HasHideInTargeting ¶

func (o *UpsertContextKindPayload) HasHideInTargeting() bool

HasHideInTargeting returns a boolean if a field has been set.

func (*UpsertContextKindPayload) HasVersion ¶

func (o *UpsertContextKindPayload) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (UpsertContextKindPayload) MarshalJSON ¶

func (o UpsertContextKindPayload) MarshalJSON() ([]byte, error)

func (*UpsertContextKindPayload) SetArchived ¶

func (o *UpsertContextKindPayload) SetArchived(v bool)

SetArchived gets a reference to the given bool and assigns it to the Archived field.

func (*UpsertContextKindPayload) SetDescription ¶

func (o *UpsertContextKindPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpsertContextKindPayload) SetHideInTargeting ¶

func (o *UpsertContextKindPayload) SetHideInTargeting(v bool)

SetHideInTargeting gets a reference to the given bool and assigns it to the HideInTargeting field.

func (*UpsertContextKindPayload) SetName ¶

func (o *UpsertContextKindPayload) SetName(v string)

SetName sets field value

func (*UpsertContextKindPayload) SetVersion ¶

func (o *UpsertContextKindPayload) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type UpsertFlagDefaultsPayload ¶

type UpsertFlagDefaultsPayload struct {
	// A list of default tags for each flag
	Tags []string `json:"tags"`
	// Whether the flag should be temporary by default
	Temporary                     bool                          `json:"temporary"`
	BooleanDefaults               BooleanFlagDefaults           `json:"booleanDefaults"`
	DefaultClientSideAvailability DefaultClientSideAvailability `json:"defaultClientSideAvailability"`
}

UpsertFlagDefaultsPayload struct for UpsertFlagDefaultsPayload

func NewUpsertFlagDefaultsPayload ¶

func NewUpsertFlagDefaultsPayload(tags []string, temporary bool, booleanDefaults BooleanFlagDefaults, defaultClientSideAvailability DefaultClientSideAvailability) *UpsertFlagDefaultsPayload

NewUpsertFlagDefaultsPayload instantiates a new UpsertFlagDefaultsPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpsertFlagDefaultsPayloadWithDefaults ¶

func NewUpsertFlagDefaultsPayloadWithDefaults() *UpsertFlagDefaultsPayload

NewUpsertFlagDefaultsPayloadWithDefaults instantiates a new UpsertFlagDefaultsPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpsertFlagDefaultsPayload) GetBooleanDefaults ¶

func (o *UpsertFlagDefaultsPayload) GetBooleanDefaults() BooleanFlagDefaults

GetBooleanDefaults returns the BooleanDefaults field value

func (*UpsertFlagDefaultsPayload) GetBooleanDefaultsOk ¶

func (o *UpsertFlagDefaultsPayload) GetBooleanDefaultsOk() (*BooleanFlagDefaults, bool)

GetBooleanDefaultsOk returns a tuple with the BooleanDefaults field value and a boolean to check if the value has been set.

func (*UpsertFlagDefaultsPayload) GetDefaultClientSideAvailability ¶

func (o *UpsertFlagDefaultsPayload) GetDefaultClientSideAvailability() DefaultClientSideAvailability

GetDefaultClientSideAvailability returns the DefaultClientSideAvailability field value

func (*UpsertFlagDefaultsPayload) GetDefaultClientSideAvailabilityOk ¶

func (o *UpsertFlagDefaultsPayload) GetDefaultClientSideAvailabilityOk() (*DefaultClientSideAvailability, bool)

GetDefaultClientSideAvailabilityOk returns a tuple with the DefaultClientSideAvailability field value and a boolean to check if the value has been set.

func (*UpsertFlagDefaultsPayload) GetTags ¶

func (o *UpsertFlagDefaultsPayload) GetTags() []string

GetTags returns the Tags field value

func (*UpsertFlagDefaultsPayload) GetTagsOk ¶

func (o *UpsertFlagDefaultsPayload) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*UpsertFlagDefaultsPayload) GetTemporary ¶

func (o *UpsertFlagDefaultsPayload) GetTemporary() bool

GetTemporary returns the Temporary field value

func (*UpsertFlagDefaultsPayload) GetTemporaryOk ¶

func (o *UpsertFlagDefaultsPayload) GetTemporaryOk() (*bool, bool)

GetTemporaryOk returns a tuple with the Temporary field value and a boolean to check if the value has been set.

func (UpsertFlagDefaultsPayload) MarshalJSON ¶

func (o UpsertFlagDefaultsPayload) MarshalJSON() ([]byte, error)

func (*UpsertFlagDefaultsPayload) SetBooleanDefaults ¶

func (o *UpsertFlagDefaultsPayload) SetBooleanDefaults(v BooleanFlagDefaults)

SetBooleanDefaults sets field value

func (*UpsertFlagDefaultsPayload) SetDefaultClientSideAvailability ¶

func (o *UpsertFlagDefaultsPayload) SetDefaultClientSideAvailability(v DefaultClientSideAvailability)

SetDefaultClientSideAvailability sets field value

func (*UpsertFlagDefaultsPayload) SetTags ¶

func (o *UpsertFlagDefaultsPayload) SetTags(v []string)

SetTags sets field value

func (*UpsertFlagDefaultsPayload) SetTemporary ¶

func (o *UpsertFlagDefaultsPayload) SetTemporary(v bool)

SetTemporary sets field value

type UpsertPayloadRep ¶

type UpsertPayloadRep struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// A list of default tags for each flag
	Tags []string `json:"tags"`
	// Whether the flag should be temporary by default
	Temporary                     bool                          `json:"temporary"`
	BooleanDefaults               BooleanFlagDefaults           `json:"booleanDefaults"`
	DefaultClientSideAvailability DefaultClientSideAvailability `json:"defaultClientSideAvailability"`
}

UpsertPayloadRep struct for UpsertPayloadRep

func NewUpsertPayloadRep ¶

func NewUpsertPayloadRep(tags []string, temporary bool, booleanDefaults BooleanFlagDefaults, defaultClientSideAvailability DefaultClientSideAvailability) *UpsertPayloadRep

NewUpsertPayloadRep instantiates a new UpsertPayloadRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpsertPayloadRepWithDefaults ¶

func NewUpsertPayloadRepWithDefaults() *UpsertPayloadRep

NewUpsertPayloadRepWithDefaults instantiates a new UpsertPayloadRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpsertPayloadRep) GetBooleanDefaults ¶

func (o *UpsertPayloadRep) GetBooleanDefaults() BooleanFlagDefaults

GetBooleanDefaults returns the BooleanDefaults field value

func (*UpsertPayloadRep) GetBooleanDefaultsOk ¶

func (o *UpsertPayloadRep) GetBooleanDefaultsOk() (*BooleanFlagDefaults, bool)

GetBooleanDefaultsOk returns a tuple with the BooleanDefaults field value and a boolean to check if the value has been set.

func (*UpsertPayloadRep) GetDefaultClientSideAvailability ¶

func (o *UpsertPayloadRep) GetDefaultClientSideAvailability() DefaultClientSideAvailability

GetDefaultClientSideAvailability returns the DefaultClientSideAvailability field value

func (*UpsertPayloadRep) GetDefaultClientSideAvailabilityOk ¶

func (o *UpsertPayloadRep) GetDefaultClientSideAvailabilityOk() (*DefaultClientSideAvailability, bool)

GetDefaultClientSideAvailabilityOk returns a tuple with the DefaultClientSideAvailability field value and a boolean to check if the value has been set.

func (o *UpsertPayloadRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*UpsertPayloadRep) GetLinksOk ¶

func (o *UpsertPayloadRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpsertPayloadRep) GetTags ¶

func (o *UpsertPayloadRep) GetTags() []string

GetTags returns the Tags field value

func (*UpsertPayloadRep) GetTagsOk ¶

func (o *UpsertPayloadRep) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*UpsertPayloadRep) GetTemporary ¶

func (o *UpsertPayloadRep) GetTemporary() bool

GetTemporary returns the Temporary field value

func (*UpsertPayloadRep) GetTemporaryOk ¶

func (o *UpsertPayloadRep) GetTemporaryOk() (*bool, bool)

GetTemporaryOk returns a tuple with the Temporary field value and a boolean to check if the value has been set.

func (o *UpsertPayloadRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (UpsertPayloadRep) MarshalJSON ¶

func (o UpsertPayloadRep) MarshalJSON() ([]byte, error)

func (*UpsertPayloadRep) SetBooleanDefaults ¶

func (o *UpsertPayloadRep) SetBooleanDefaults(v BooleanFlagDefaults)

SetBooleanDefaults sets field value

func (*UpsertPayloadRep) SetDefaultClientSideAvailability ¶

func (o *UpsertPayloadRep) SetDefaultClientSideAvailability(v DefaultClientSideAvailability)

SetDefaultClientSideAvailability sets field value

func (o *UpsertPayloadRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*UpsertPayloadRep) SetTags ¶

func (o *UpsertPayloadRep) SetTags(v []string)

SetTags sets field value

func (*UpsertPayloadRep) SetTemporary ¶

func (o *UpsertPayloadRep) SetTemporary(v bool)

SetTemporary sets field value

type UpsertResponseRep ¶

type UpsertResponseRep struct {
	// The status of the create or update operation
	Status *string `json:"status,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

UpsertResponseRep struct for UpsertResponseRep

func NewUpsertResponseRep ¶

func NewUpsertResponseRep() *UpsertResponseRep

NewUpsertResponseRep instantiates a new UpsertResponseRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpsertResponseRepWithDefaults ¶

func NewUpsertResponseRepWithDefaults() *UpsertResponseRep

NewUpsertResponseRepWithDefaults instantiates a new UpsertResponseRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *UpsertResponseRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*UpsertResponseRep) GetLinksOk ¶

func (o *UpsertResponseRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpsertResponseRep) GetStatus ¶

func (o *UpsertResponseRep) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*UpsertResponseRep) GetStatusOk ¶

func (o *UpsertResponseRep) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *UpsertResponseRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*UpsertResponseRep) HasStatus ¶

func (o *UpsertResponseRep) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (UpsertResponseRep) MarshalJSON ¶

func (o UpsertResponseRep) MarshalJSON() ([]byte, error)
func (o *UpsertResponseRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*UpsertResponseRep) SetStatus ¶

func (o *UpsertResponseRep) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type UrlPost ¶

type UrlPost struct {
	Kind      *string `json:"kind,omitempty"`
	Url       *string `json:"url,omitempty"`
	Substring *string `json:"substring,omitempty"`
	Pattern   *string `json:"pattern,omitempty"`
}

UrlPost struct for UrlPost

func NewUrlPost ¶

func NewUrlPost() *UrlPost

NewUrlPost instantiates a new UrlPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUrlPostWithDefaults ¶

func NewUrlPostWithDefaults() *UrlPost

NewUrlPostWithDefaults instantiates a new UrlPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UrlPost) GetKind ¶

func (o *UrlPost) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*UrlPost) GetKindOk ¶

func (o *UrlPost) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UrlPost) GetPattern ¶

func (o *UrlPost) GetPattern() string

GetPattern returns the Pattern field value if set, zero value otherwise.

func (*UrlPost) GetPatternOk ¶

func (o *UrlPost) GetPatternOk() (*string, bool)

GetPatternOk returns a tuple with the Pattern field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UrlPost) GetSubstring ¶

func (o *UrlPost) GetSubstring() string

GetSubstring returns the Substring field value if set, zero value otherwise.

func (*UrlPost) GetSubstringOk ¶

func (o *UrlPost) GetSubstringOk() (*string, bool)

GetSubstringOk returns a tuple with the Substring field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UrlPost) GetUrl ¶

func (o *UrlPost) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*UrlPost) GetUrlOk ¶

func (o *UrlPost) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UrlPost) HasKind ¶

func (o *UrlPost) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*UrlPost) HasPattern ¶

func (o *UrlPost) HasPattern() bool

HasPattern returns a boolean if a field has been set.

func (*UrlPost) HasSubstring ¶

func (o *UrlPost) HasSubstring() bool

HasSubstring returns a boolean if a field has been set.

func (*UrlPost) HasUrl ¶

func (o *UrlPost) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (UrlPost) MarshalJSON ¶

func (o UrlPost) MarshalJSON() ([]byte, error)

func (*UrlPost) SetKind ¶

func (o *UrlPost) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*UrlPost) SetPattern ¶

func (o *UrlPost) SetPattern(v string)

SetPattern gets a reference to the given string and assigns it to the Pattern field.

func (*UrlPost) SetSubstring ¶

func (o *UrlPost) SetSubstring(v string)

SetSubstring gets a reference to the given string and assigns it to the Substring field.

func (*UrlPost) SetUrl ¶

func (o *UrlPost) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type User ¶

type User struct {
	// The user key. This is the only mandatory user attribute.
	Key *string `json:"key,omitempty"`
	// If provided, used with the user key to generate a variation in percentage rollouts
	Secondary *string `json:"secondary,omitempty"`
	// The user's IP address
	Ip *string `json:"ip,omitempty"`
	// The user's country
	Country *string `json:"country,omitempty"`
	// The user's email
	Email *string `json:"email,omitempty"`
	// The user's first name
	FirstName *string `json:"firstName,omitempty"`
	// The user's last name
	LastName *string `json:"lastName,omitempty"`
	// An absolute URL to an avatar image.
	Avatar *string `json:"avatar,omitempty"`
	// The user's full name
	Name *string `json:"name,omitempty"`
	// Whether the user is anonymous. If true, this user does not appear on the Contexts list in the LaunchDarkly user interface.
	Anonymous *bool `json:"anonymous,omitempty"`
	// Any other custom attributes for this user. Custom attributes contain any other user data that you would like to use to conditionally target your users.
	Custom map[string]interface{} `json:"custom,omitempty"`
	// A list of attribute names that are marked as private. You can use these attributes in targeting rules and segments. If you are using a server-side SDK, the SDK will not send the private attribute back to LaunchDarkly. If you are using a client-side SDK, the SDK will send the private attribute back to LaunchDarkly for evaluation. However, the SDK won't send the attribute to LaunchDarkly in events data, LaunchDarkly won't store the private attribute, and the private attribute will not appear on the Contexts list.
	PrivateAttrs []string `json:"privateAttrs,omitempty"`
}

User struct for User

func NewUser ¶

func NewUser() *User

NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserWithDefaults ¶

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*User) GetAnonymous ¶

func (o *User) GetAnonymous() bool

GetAnonymous returns the Anonymous field value if set, zero value otherwise.

func (*User) GetAnonymousOk ¶

func (o *User) GetAnonymousOk() (*bool, bool)

GetAnonymousOk returns a tuple with the Anonymous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetAvatar ¶

func (o *User) GetAvatar() string

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*User) GetAvatarOk ¶

func (o *User) GetAvatarOk() (*string, bool)

GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetCountry ¶

func (o *User) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*User) GetCountryOk ¶

func (o *User) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetCustom ¶

func (o *User) GetCustom() map[string]interface{}

GetCustom returns the Custom field value if set, zero value otherwise.

func (*User) GetCustomOk ¶

func (o *User) GetCustomOk() (map[string]interface{}, bool)

GetCustomOk returns a tuple with the Custom field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetEmail ¶

func (o *User) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*User) GetEmailOk ¶

func (o *User) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetFirstName ¶

func (o *User) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*User) GetFirstNameOk ¶

func (o *User) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetIp ¶

func (o *User) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*User) GetIpOk ¶

func (o *User) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetKey ¶

func (o *User) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*User) GetKeyOk ¶

func (o *User) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetLastName ¶

func (o *User) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*User) GetLastNameOk ¶

func (o *User) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetName ¶

func (o *User) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*User) GetNameOk ¶

func (o *User) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetPrivateAttrs ¶

func (o *User) GetPrivateAttrs() []string

GetPrivateAttrs returns the PrivateAttrs field value if set, zero value otherwise.

func (*User) GetPrivateAttrsOk ¶

func (o *User) GetPrivateAttrsOk() ([]string, bool)

GetPrivateAttrsOk returns a tuple with the PrivateAttrs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetSecondary ¶

func (o *User) GetSecondary() string

GetSecondary returns the Secondary field value if set, zero value otherwise.

func (*User) GetSecondaryOk ¶

func (o *User) GetSecondaryOk() (*string, bool)

GetSecondaryOk returns a tuple with the Secondary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) HasAnonymous ¶

func (o *User) HasAnonymous() bool

HasAnonymous returns a boolean if a field has been set.

func (*User) HasAvatar ¶

func (o *User) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*User) HasCountry ¶

func (o *User) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*User) HasCustom ¶

func (o *User) HasCustom() bool

HasCustom returns a boolean if a field has been set.

func (*User) HasEmail ¶

func (o *User) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*User) HasFirstName ¶

func (o *User) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*User) HasIp ¶

func (o *User) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*User) HasKey ¶

func (o *User) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*User) HasLastName ¶

func (o *User) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*User) HasName ¶

func (o *User) HasName() bool

HasName returns a boolean if a field has been set.

func (*User) HasPrivateAttrs ¶

func (o *User) HasPrivateAttrs() bool

HasPrivateAttrs returns a boolean if a field has been set.

func (*User) HasSecondary ¶

func (o *User) HasSecondary() bool

HasSecondary returns a boolean if a field has been set.

func (User) MarshalJSON ¶

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetAnonymous ¶

func (o *User) SetAnonymous(v bool)

SetAnonymous gets a reference to the given bool and assigns it to the Anonymous field.

func (*User) SetAvatar ¶

func (o *User) SetAvatar(v string)

SetAvatar gets a reference to the given string and assigns it to the Avatar field.

func (*User) SetCountry ¶

func (o *User) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*User) SetCustom ¶

func (o *User) SetCustom(v map[string]interface{})

SetCustom gets a reference to the given map[string]interface{} and assigns it to the Custom field.

func (*User) SetEmail ¶

func (o *User) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*User) SetFirstName ¶

func (o *User) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*User) SetIp ¶

func (o *User) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*User) SetKey ¶

func (o *User) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*User) SetLastName ¶

func (o *User) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*User) SetName ¶

func (o *User) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*User) SetPrivateAttrs ¶

func (o *User) SetPrivateAttrs(v []string)

SetPrivateAttrs gets a reference to the given []string and assigns it to the PrivateAttrs field.

func (*User) SetSecondary ¶

func (o *User) SetSecondary(v string)

SetSecondary gets a reference to the given string and assigns it to the Secondary field.

type UserAttributeNamesRep ¶

type UserAttributeNamesRep struct {
	// private attributes
	Private []string `json:"private,omitempty"`
	// custom attributes
	Custom []string `json:"custom,omitempty"`
	// standard attributes
	Standard []string `json:"standard,omitempty"`
}

UserAttributeNamesRep struct for UserAttributeNamesRep

func NewUserAttributeNamesRep ¶

func NewUserAttributeNamesRep() *UserAttributeNamesRep

NewUserAttributeNamesRep instantiates a new UserAttributeNamesRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserAttributeNamesRepWithDefaults ¶

func NewUserAttributeNamesRepWithDefaults() *UserAttributeNamesRep

NewUserAttributeNamesRepWithDefaults instantiates a new UserAttributeNamesRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserAttributeNamesRep) GetCustom ¶

func (o *UserAttributeNamesRep) GetCustom() []string

GetCustom returns the Custom field value if set, zero value otherwise.

func (*UserAttributeNamesRep) GetCustomOk ¶

func (o *UserAttributeNamesRep) GetCustomOk() ([]string, bool)

GetCustomOk returns a tuple with the Custom field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributeNamesRep) GetPrivate ¶

func (o *UserAttributeNamesRep) GetPrivate() []string

GetPrivate returns the Private field value if set, zero value otherwise.

func (*UserAttributeNamesRep) GetPrivateOk ¶

func (o *UserAttributeNamesRep) GetPrivateOk() ([]string, bool)

GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributeNamesRep) GetStandard ¶

func (o *UserAttributeNamesRep) GetStandard() []string

GetStandard returns the Standard field value if set, zero value otherwise.

func (*UserAttributeNamesRep) GetStandardOk ¶

func (o *UserAttributeNamesRep) GetStandardOk() ([]string, bool)

GetStandardOk returns a tuple with the Standard field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributeNamesRep) HasCustom ¶

func (o *UserAttributeNamesRep) HasCustom() bool

HasCustom returns a boolean if a field has been set.

func (*UserAttributeNamesRep) HasPrivate ¶

func (o *UserAttributeNamesRep) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

func (*UserAttributeNamesRep) HasStandard ¶

func (o *UserAttributeNamesRep) HasStandard() bool

HasStandard returns a boolean if a field has been set.

func (UserAttributeNamesRep) MarshalJSON ¶

func (o UserAttributeNamesRep) MarshalJSON() ([]byte, error)

func (*UserAttributeNamesRep) SetCustom ¶

func (o *UserAttributeNamesRep) SetCustom(v []string)

SetCustom gets a reference to the given []string and assigns it to the Custom field.

func (*UserAttributeNamesRep) SetPrivate ¶

func (o *UserAttributeNamesRep) SetPrivate(v []string)

SetPrivate gets a reference to the given []string and assigns it to the Private field.

func (*UserAttributeNamesRep) SetStandard ¶

func (o *UserAttributeNamesRep) SetStandard(v []string)

SetStandard gets a reference to the given []string and assigns it to the Standard field.

type UserFlagSetting ¶

type UserFlagSetting struct {
	// The location and content type of related resources.
	Links map[string]Link `json:"_links"`
	// The value of the flag variation that the user receives. If there is no defined default rule, this is null.
	Value interface{} `json:"_value"`
	// Whether the user is explicitly targeted to receive a particular variation. The setting is false if you have turned off a feature flag for a user. It is null if you haven't assigned that user to a specific variation.
	Setting interface{}       `json:"setting"`
	Reason  *EvaluationReason `json:"reason,omitempty"`
}

UserFlagSetting struct for UserFlagSetting

func NewUserFlagSetting ¶

func NewUserFlagSetting(links map[string]Link, value interface{}, setting interface{}) *UserFlagSetting

NewUserFlagSetting instantiates a new UserFlagSetting object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserFlagSettingWithDefaults ¶

func NewUserFlagSettingWithDefaults() *UserFlagSetting

NewUserFlagSettingWithDefaults instantiates a new UserFlagSetting object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *UserFlagSetting) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*UserFlagSetting) GetLinksOk ¶

func (o *UserFlagSetting) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*UserFlagSetting) GetReason ¶

func (o *UserFlagSetting) GetReason() EvaluationReason

GetReason returns the Reason field value if set, zero value otherwise.

func (*UserFlagSetting) GetReasonOk ¶

func (o *UserFlagSetting) GetReasonOk() (*EvaluationReason, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserFlagSetting) GetSetting ¶

func (o *UserFlagSetting) GetSetting() interface{}

GetSetting returns the Setting field value If the value is explicit nil, the zero value for interface{} will be returned

func (*UserFlagSetting) GetSettingOk ¶

func (o *UserFlagSetting) GetSettingOk() (*interface{}, bool)

GetSettingOk returns a tuple with the Setting field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UserFlagSetting) GetValue ¶

func (o *UserFlagSetting) GetValue() interface{}

GetValue returns the Value field value If the value is explicit nil, the zero value for interface{} will be returned

func (*UserFlagSetting) GetValueOk ¶

func (o *UserFlagSetting) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UserFlagSetting) HasReason ¶

func (o *UserFlagSetting) HasReason() bool

HasReason returns a boolean if a field has been set.

func (UserFlagSetting) MarshalJSON ¶

func (o UserFlagSetting) MarshalJSON() ([]byte, error)
func (o *UserFlagSetting) SetLinks(v map[string]Link)

SetLinks sets field value

func (*UserFlagSetting) SetReason ¶

func (o *UserFlagSetting) SetReason(v EvaluationReason)

SetReason gets a reference to the given EvaluationReason and assigns it to the Reason field.

func (*UserFlagSetting) SetSetting ¶

func (o *UserFlagSetting) SetSetting(v interface{})

SetSetting sets field value

func (*UserFlagSetting) SetValue ¶

func (o *UserFlagSetting) SetValue(v interface{})

SetValue sets field value

type UserFlagSettings ¶

type UserFlagSettings struct {
	// An array of flag settings for the user
	Items map[string]UserFlagSetting `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
}

UserFlagSettings struct for UserFlagSettings

func NewUserFlagSettings ¶

func NewUserFlagSettings(items map[string]UserFlagSetting, links map[string]Link) *UserFlagSettings

NewUserFlagSettings instantiates a new UserFlagSettings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserFlagSettingsWithDefaults ¶

func NewUserFlagSettingsWithDefaults() *UserFlagSettings

NewUserFlagSettingsWithDefaults instantiates a new UserFlagSettings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserFlagSettings) GetItems ¶

func (o *UserFlagSettings) GetItems() map[string]UserFlagSetting

GetItems returns the Items field value

func (*UserFlagSettings) GetItemsOk ¶

func (o *UserFlagSettings) GetItemsOk() (*map[string]UserFlagSetting, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *UserFlagSettings) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*UserFlagSettings) GetLinksOk ¶

func (o *UserFlagSettings) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (UserFlagSettings) MarshalJSON ¶

func (o UserFlagSettings) MarshalJSON() ([]byte, error)

func (*UserFlagSettings) SetItems ¶

func (o *UserFlagSettings) SetItems(v map[string]UserFlagSetting)

SetItems sets field value

func (o *UserFlagSettings) SetLinks(v map[string]Link)

SetLinks sets field value

type UserRecord ¶

type UserRecord struct {
	// Timestamp of the last time this user was seen
	LastPing      *time.Time `json:"lastPing,omitempty"`
	EnvironmentId *string    `json:"environmentId,omitempty"`
	OwnerId       *string    `json:"ownerId,omitempty"`
	User          *User      `json:"user,omitempty"`
	// If this record is returned as part of a list, the value used to sort the list. This is only included when the <code>sort</code> query parameter is specified. It is a time, in Unix milliseconds, if the sort is by <code>lastSeen</code>. It is a user key if the sort is by <code>userKey</code>.
	SortValue interface{} `json:"sortValue,omitempty"`
	// The location and content type of related resources
	Links  *map[string]Link `json:"_links,omitempty"`
	Access *Access          `json:"_access,omitempty"`
}

UserRecord struct for UserRecord

func NewUserRecord ¶

func NewUserRecord() *UserRecord

NewUserRecord instantiates a new UserRecord object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserRecordWithDefaults ¶

func NewUserRecordWithDefaults() *UserRecord

NewUserRecordWithDefaults instantiates a new UserRecord object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserRecord) GetAccess ¶

func (o *UserRecord) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*UserRecord) GetAccessOk ¶

func (o *UserRecord) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRecord) GetEnvironmentId ¶

func (o *UserRecord) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.

func (*UserRecord) GetEnvironmentIdOk ¶

func (o *UserRecord) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRecord) GetLastPing ¶

func (o *UserRecord) GetLastPing() time.Time

GetLastPing returns the LastPing field value if set, zero value otherwise.

func (*UserRecord) GetLastPingOk ¶

func (o *UserRecord) GetLastPingOk() (*time.Time, bool)

GetLastPingOk returns a tuple with the LastPing field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *UserRecord) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*UserRecord) GetLinksOk ¶

func (o *UserRecord) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRecord) GetOwnerId ¶

func (o *UserRecord) GetOwnerId() string

GetOwnerId returns the OwnerId field value if set, zero value otherwise.

func (*UserRecord) GetOwnerIdOk ¶

func (o *UserRecord) GetOwnerIdOk() (*string, bool)

GetOwnerIdOk returns a tuple with the OwnerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRecord) GetSortValue ¶

func (o *UserRecord) GetSortValue() interface{}

GetSortValue returns the SortValue field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UserRecord) GetSortValueOk ¶

func (o *UserRecord) GetSortValueOk() (*interface{}, bool)

GetSortValueOk returns a tuple with the SortValue field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UserRecord) GetUser ¶

func (o *UserRecord) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*UserRecord) GetUserOk ¶

func (o *UserRecord) GetUserOk() (*User, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRecord) HasAccess ¶

func (o *UserRecord) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*UserRecord) HasEnvironmentId ¶

func (o *UserRecord) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*UserRecord) HasLastPing ¶

func (o *UserRecord) HasLastPing() bool

HasLastPing returns a boolean if a field has been set.

func (o *UserRecord) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*UserRecord) HasOwnerId ¶

func (o *UserRecord) HasOwnerId() bool

HasOwnerId returns a boolean if a field has been set.

func (*UserRecord) HasSortValue ¶

func (o *UserRecord) HasSortValue() bool

HasSortValue returns a boolean if a field has been set.

func (*UserRecord) HasUser ¶

func (o *UserRecord) HasUser() bool

HasUser returns a boolean if a field has been set.

func (UserRecord) MarshalJSON ¶

func (o UserRecord) MarshalJSON() ([]byte, error)

func (*UserRecord) SetAccess ¶

func (o *UserRecord) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*UserRecord) SetEnvironmentId ¶

func (o *UserRecord) SetEnvironmentId(v string)

SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.

func (*UserRecord) SetLastPing ¶

func (o *UserRecord) SetLastPing(v time.Time)

SetLastPing gets a reference to the given time.Time and assigns it to the LastPing field.

func (o *UserRecord) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*UserRecord) SetOwnerId ¶

func (o *UserRecord) SetOwnerId(v string)

SetOwnerId gets a reference to the given string and assigns it to the OwnerId field.

func (*UserRecord) SetSortValue ¶

func (o *UserRecord) SetSortValue(v interface{})

SetSortValue gets a reference to the given interface{} and assigns it to the SortValue field.

func (*UserRecord) SetUser ¶

func (o *UserRecord) SetUser(v User)

SetUser gets a reference to the given User and assigns it to the User field.

type UserSegment ¶

type UserSegment struct {
	// A human-friendly name for the segment.
	Name string `json:"name"`
	// A description of the segment's purpose. Defaults to <code>null</code> and is omitted in the response if not provided.
	Description *string `json:"description,omitempty"`
	// Tags for the segment. Defaults to an empty array.
	Tags             []string `json:"tags"`
	CreationDate     int64    `json:"creationDate"`
	LastModifiedDate int64    `json:"lastModifiedDate"`
	// A unique key used to reference the segment
	Key string `json:"key"`
	// An array of keys for included targets. Included individual targets are always segment members, regardless of segment rules. For list-based segments over 15,000 entries, also called big segments, this array is either empty or omitted.
	Included []string `json:"included,omitempty"`
	// An array of keys for excluded targets. Segment rules bypass individual excluded targets, so they will never be included based on rules. Excluded targets may still be included explicitly. This value is omitted for list-based segments over 15,000 entries, also called big segments.
	Excluded         []string        `json:"excluded,omitempty"`
	IncludedContexts []SegmentTarget `json:"includedContexts,omitempty"`
	ExcludedContexts []SegmentTarget `json:"excludedContexts,omitempty"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// An array of the targeting rules for this segment.
	Rules []UserSegmentRule `json:"rules"`
	// Version of the segment
	Version int32 `json:"version"`
	// Whether the segment has been deleted
	Deleted bool    `json:"deleted"`
	Access  *Access `json:"_access,omitempty"`
	// A list of flags targeting this segment. Only included when getting a single segment, using the <code>getSegment</code> endpoint.
	Flags []FlagListingRep `json:"_flags,omitempty"`
	// Whether this is a standard segment (<code>false</code>) or a big segment (<code>true</code>). Standard segments include rule-based segments and smaller list-based segments. Big segments include larger list-based segments and synced segments. If omitted, the segment is a standard segment.
	Unbounded *bool `json:"unbounded,omitempty"`
	// For big segments, the targeted context kind.
	UnboundedContextKind *string `json:"unboundedContextKind,omitempty"`
	// For big segments, how many times this segment has been created.
	Generation        int32            `json:"generation"`
	UnboundedMetadata *SegmentMetadata `json:"_unboundedMetadata,omitempty"`
	// The external data store backing this segment. Only applies to synced segments.
	External *string `json:"_external,omitempty"`
	// The URL for the external data store backing this segment. Only applies to synced segments.
	ExternalLink *string `json:"_externalLink,omitempty"`
	// Whether an import is currently in progress for the specified segment. Only applies to big segments.
	ImportInProgress *bool `json:"_importInProgress,omitempty"`
}

UserSegment struct for UserSegment

func NewUserSegment ¶

func NewUserSegment(name string, tags []string, creationDate int64, lastModifiedDate int64, key string, links map[string]Link, rules []UserSegmentRule, version int32, deleted bool, generation int32) *UserSegment

NewUserSegment instantiates a new UserSegment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserSegmentWithDefaults ¶

func NewUserSegmentWithDefaults() *UserSegment

NewUserSegmentWithDefaults instantiates a new UserSegment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserSegment) GetAccess ¶

func (o *UserSegment) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*UserSegment) GetAccessOk ¶

func (o *UserSegment) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetCreationDate ¶

func (o *UserSegment) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*UserSegment) GetCreationDateOk ¶

func (o *UserSegment) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*UserSegment) GetDeleted ¶

func (o *UserSegment) GetDeleted() bool

GetDeleted returns the Deleted field value

func (*UserSegment) GetDeletedOk ¶

func (o *UserSegment) GetDeletedOk() (*bool, bool)

GetDeletedOk returns a tuple with the Deleted field value and a boolean to check if the value has been set.

func (*UserSegment) GetDescription ¶

func (o *UserSegment) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UserSegment) GetDescriptionOk ¶

func (o *UserSegment) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetExcluded ¶

func (o *UserSegment) GetExcluded() []string

GetExcluded returns the Excluded field value if set, zero value otherwise.

func (*UserSegment) GetExcludedContexts ¶

func (o *UserSegment) GetExcludedContexts() []SegmentTarget

GetExcludedContexts returns the ExcludedContexts field value if set, zero value otherwise.

func (*UserSegment) GetExcludedContextsOk ¶

func (o *UserSegment) GetExcludedContextsOk() ([]SegmentTarget, bool)

GetExcludedContextsOk returns a tuple with the ExcludedContexts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetExcludedOk ¶

func (o *UserSegment) GetExcludedOk() ([]string, bool)

GetExcludedOk returns a tuple with the Excluded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetExternal ¶

func (o *UserSegment) GetExternal() string

GetExternal returns the External field value if set, zero value otherwise.

func (o *UserSegment) GetExternalLink() string

GetExternalLink returns the ExternalLink field value if set, zero value otherwise.

func (*UserSegment) GetExternalLinkOk ¶

func (o *UserSegment) GetExternalLinkOk() (*string, bool)

GetExternalLinkOk returns a tuple with the ExternalLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetExternalOk ¶

func (o *UserSegment) GetExternalOk() (*string, bool)

GetExternalOk returns a tuple with the External field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetFlags ¶

func (o *UserSegment) GetFlags() []FlagListingRep

GetFlags returns the Flags field value if set, zero value otherwise.

func (*UserSegment) GetFlagsOk ¶

func (o *UserSegment) GetFlagsOk() ([]FlagListingRep, bool)

GetFlagsOk returns a tuple with the Flags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetGeneration ¶

func (o *UserSegment) GetGeneration() int32

GetGeneration returns the Generation field value

func (*UserSegment) GetGenerationOk ¶

func (o *UserSegment) GetGenerationOk() (*int32, bool)

GetGenerationOk returns a tuple with the Generation field value and a boolean to check if the value has been set.

func (*UserSegment) GetImportInProgress ¶

func (o *UserSegment) GetImportInProgress() bool

GetImportInProgress returns the ImportInProgress field value if set, zero value otherwise.

func (*UserSegment) GetImportInProgressOk ¶

func (o *UserSegment) GetImportInProgressOk() (*bool, bool)

GetImportInProgressOk returns a tuple with the ImportInProgress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetIncluded ¶

func (o *UserSegment) GetIncluded() []string

GetIncluded returns the Included field value if set, zero value otherwise.

func (*UserSegment) GetIncludedContexts ¶

func (o *UserSegment) GetIncludedContexts() []SegmentTarget

GetIncludedContexts returns the IncludedContexts field value if set, zero value otherwise.

func (*UserSegment) GetIncludedContextsOk ¶

func (o *UserSegment) GetIncludedContextsOk() ([]SegmentTarget, bool)

GetIncludedContextsOk returns a tuple with the IncludedContexts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetIncludedOk ¶

func (o *UserSegment) GetIncludedOk() ([]string, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetKey ¶

func (o *UserSegment) GetKey() string

GetKey returns the Key field value

func (*UserSegment) GetKeyOk ¶

func (o *UserSegment) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*UserSegment) GetLastModifiedDate ¶

func (o *UserSegment) GetLastModifiedDate() int64

GetLastModifiedDate returns the LastModifiedDate field value

func (*UserSegment) GetLastModifiedDateOk ¶

func (o *UserSegment) GetLastModifiedDateOk() (*int64, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set.

func (o *UserSegment) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*UserSegment) GetLinksOk ¶

func (o *UserSegment) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*UserSegment) GetName ¶

func (o *UserSegment) GetName() string

GetName returns the Name field value

func (*UserSegment) GetNameOk ¶

func (o *UserSegment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UserSegment) GetRules ¶

func (o *UserSegment) GetRules() []UserSegmentRule

GetRules returns the Rules field value

func (*UserSegment) GetRulesOk ¶

func (o *UserSegment) GetRulesOk() ([]UserSegmentRule, bool)

GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set.

func (*UserSegment) GetTags ¶

func (o *UserSegment) GetTags() []string

GetTags returns the Tags field value

func (*UserSegment) GetTagsOk ¶

func (o *UserSegment) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*UserSegment) GetUnbounded ¶

func (o *UserSegment) GetUnbounded() bool

GetUnbounded returns the Unbounded field value if set, zero value otherwise.

func (*UserSegment) GetUnboundedContextKind ¶

func (o *UserSegment) GetUnboundedContextKind() string

GetUnboundedContextKind returns the UnboundedContextKind field value if set, zero value otherwise.

func (*UserSegment) GetUnboundedContextKindOk ¶

func (o *UserSegment) GetUnboundedContextKindOk() (*string, bool)

GetUnboundedContextKindOk returns a tuple with the UnboundedContextKind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetUnboundedMetadata ¶

func (o *UserSegment) GetUnboundedMetadata() SegmentMetadata

GetUnboundedMetadata returns the UnboundedMetadata field value if set, zero value otherwise.

func (*UserSegment) GetUnboundedMetadataOk ¶

func (o *UserSegment) GetUnboundedMetadataOk() (*SegmentMetadata, bool)

GetUnboundedMetadataOk returns a tuple with the UnboundedMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetUnboundedOk ¶

func (o *UserSegment) GetUnboundedOk() (*bool, bool)

GetUnboundedOk returns a tuple with the Unbounded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegment) GetVersion ¶

func (o *UserSegment) GetVersion() int32

GetVersion returns the Version field value

func (*UserSegment) GetVersionOk ¶

func (o *UserSegment) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*UserSegment) HasAccess ¶

func (o *UserSegment) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*UserSegment) HasDescription ¶

func (o *UserSegment) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UserSegment) HasExcluded ¶

func (o *UserSegment) HasExcluded() bool

HasExcluded returns a boolean if a field has been set.

func (*UserSegment) HasExcludedContexts ¶

func (o *UserSegment) HasExcludedContexts() bool

HasExcludedContexts returns a boolean if a field has been set.

func (*UserSegment) HasExternal ¶

func (o *UserSegment) HasExternal() bool

HasExternal returns a boolean if a field has been set.

func (o *UserSegment) HasExternalLink() bool

HasExternalLink returns a boolean if a field has been set.

func (*UserSegment) HasFlags ¶

func (o *UserSegment) HasFlags() bool

HasFlags returns a boolean if a field has been set.

func (*UserSegment) HasImportInProgress ¶

func (o *UserSegment) HasImportInProgress() bool

HasImportInProgress returns a boolean if a field has been set.

func (*UserSegment) HasIncluded ¶

func (o *UserSegment) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*UserSegment) HasIncludedContexts ¶

func (o *UserSegment) HasIncludedContexts() bool

HasIncludedContexts returns a boolean if a field has been set.

func (*UserSegment) HasUnbounded ¶

func (o *UserSegment) HasUnbounded() bool

HasUnbounded returns a boolean if a field has been set.

func (*UserSegment) HasUnboundedContextKind ¶

func (o *UserSegment) HasUnboundedContextKind() bool

HasUnboundedContextKind returns a boolean if a field has been set.

func (*UserSegment) HasUnboundedMetadata ¶

func (o *UserSegment) HasUnboundedMetadata() bool

HasUnboundedMetadata returns a boolean if a field has been set.

func (UserSegment) MarshalJSON ¶

func (o UserSegment) MarshalJSON() ([]byte, error)

func (*UserSegment) SetAccess ¶

func (o *UserSegment) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*UserSegment) SetCreationDate ¶

func (o *UserSegment) SetCreationDate(v int64)

SetCreationDate sets field value

func (*UserSegment) SetDeleted ¶

func (o *UserSegment) SetDeleted(v bool)

SetDeleted sets field value

func (*UserSegment) SetDescription ¶

func (o *UserSegment) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UserSegment) SetExcluded ¶

func (o *UserSegment) SetExcluded(v []string)

SetExcluded gets a reference to the given []string and assigns it to the Excluded field.

func (*UserSegment) SetExcludedContexts ¶

func (o *UserSegment) SetExcludedContexts(v []SegmentTarget)

SetExcludedContexts gets a reference to the given []SegmentTarget and assigns it to the ExcludedContexts field.

func (*UserSegment) SetExternal ¶

func (o *UserSegment) SetExternal(v string)

SetExternal gets a reference to the given string and assigns it to the External field.

func (o *UserSegment) SetExternalLink(v string)

SetExternalLink gets a reference to the given string and assigns it to the ExternalLink field.

func (*UserSegment) SetFlags ¶

func (o *UserSegment) SetFlags(v []FlagListingRep)

SetFlags gets a reference to the given []FlagListingRep and assigns it to the Flags field.

func (*UserSegment) SetGeneration ¶

func (o *UserSegment) SetGeneration(v int32)

SetGeneration sets field value

func (*UserSegment) SetImportInProgress ¶

func (o *UserSegment) SetImportInProgress(v bool)

SetImportInProgress gets a reference to the given bool and assigns it to the ImportInProgress field.

func (*UserSegment) SetIncluded ¶

func (o *UserSegment) SetIncluded(v []string)

SetIncluded gets a reference to the given []string and assigns it to the Included field.

func (*UserSegment) SetIncludedContexts ¶

func (o *UserSegment) SetIncludedContexts(v []SegmentTarget)

SetIncludedContexts gets a reference to the given []SegmentTarget and assigns it to the IncludedContexts field.

func (*UserSegment) SetKey ¶

func (o *UserSegment) SetKey(v string)

SetKey sets field value

func (*UserSegment) SetLastModifiedDate ¶

func (o *UserSegment) SetLastModifiedDate(v int64)

SetLastModifiedDate sets field value

func (o *UserSegment) SetLinks(v map[string]Link)

SetLinks sets field value

func (*UserSegment) SetName ¶

func (o *UserSegment) SetName(v string)

SetName sets field value

func (*UserSegment) SetRules ¶

func (o *UserSegment) SetRules(v []UserSegmentRule)

SetRules sets field value

func (*UserSegment) SetTags ¶

func (o *UserSegment) SetTags(v []string)

SetTags sets field value

func (*UserSegment) SetUnbounded ¶

func (o *UserSegment) SetUnbounded(v bool)

SetUnbounded gets a reference to the given bool and assigns it to the Unbounded field.

func (*UserSegment) SetUnboundedContextKind ¶

func (o *UserSegment) SetUnboundedContextKind(v string)

SetUnboundedContextKind gets a reference to the given string and assigns it to the UnboundedContextKind field.

func (*UserSegment) SetUnboundedMetadata ¶

func (o *UserSegment) SetUnboundedMetadata(v SegmentMetadata)

SetUnboundedMetadata gets a reference to the given SegmentMetadata and assigns it to the UnboundedMetadata field.

func (*UserSegment) SetVersion ¶

func (o *UserSegment) SetVersion(v int32)

SetVersion sets field value

type UserSegmentRule ¶

type UserSegmentRule struct {
	Id                 *string  `json:"_id,omitempty"`
	Clauses            []Clause `json:"clauses"`
	Weight             *int32   `json:"weight,omitempty"`
	RolloutContextKind *string  `json:"rolloutContextKind,omitempty"`
	BucketBy           *string  `json:"bucketBy,omitempty"`
	Description        *string  `json:"description,omitempty"`
}

UserSegmentRule struct for UserSegmentRule

func NewUserSegmentRule ¶

func NewUserSegmentRule(clauses []Clause) *UserSegmentRule

NewUserSegmentRule instantiates a new UserSegmentRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserSegmentRuleWithDefaults ¶

func NewUserSegmentRuleWithDefaults() *UserSegmentRule

NewUserSegmentRuleWithDefaults instantiates a new UserSegmentRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserSegmentRule) GetBucketBy ¶

func (o *UserSegmentRule) GetBucketBy() string

GetBucketBy returns the BucketBy field value if set, zero value otherwise.

func (*UserSegmentRule) GetBucketByOk ¶

func (o *UserSegmentRule) GetBucketByOk() (*string, bool)

GetBucketByOk returns a tuple with the BucketBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegmentRule) GetClauses ¶

func (o *UserSegmentRule) GetClauses() []Clause

GetClauses returns the Clauses field value

func (*UserSegmentRule) GetClausesOk ¶

func (o *UserSegmentRule) GetClausesOk() ([]Clause, bool)

GetClausesOk returns a tuple with the Clauses field value and a boolean to check if the value has been set.

func (*UserSegmentRule) GetDescription ¶

func (o *UserSegmentRule) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UserSegmentRule) GetDescriptionOk ¶

func (o *UserSegmentRule) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegmentRule) GetId ¶

func (o *UserSegmentRule) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UserSegmentRule) GetIdOk ¶

func (o *UserSegmentRule) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegmentRule) GetRolloutContextKind ¶

func (o *UserSegmentRule) GetRolloutContextKind() string

GetRolloutContextKind returns the RolloutContextKind field value if set, zero value otherwise.

func (*UserSegmentRule) GetRolloutContextKindOk ¶

func (o *UserSegmentRule) GetRolloutContextKindOk() (*string, bool)

GetRolloutContextKindOk returns a tuple with the RolloutContextKind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegmentRule) GetWeight ¶

func (o *UserSegmentRule) GetWeight() int32

GetWeight returns the Weight field value if set, zero value otherwise.

func (*UserSegmentRule) GetWeightOk ¶

func (o *UserSegmentRule) GetWeightOk() (*int32, bool)

GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserSegmentRule) HasBucketBy ¶

func (o *UserSegmentRule) HasBucketBy() bool

HasBucketBy returns a boolean if a field has been set.

func (*UserSegmentRule) HasDescription ¶

func (o *UserSegmentRule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UserSegmentRule) HasId ¶

func (o *UserSegmentRule) HasId() bool

HasId returns a boolean if a field has been set.

func (*UserSegmentRule) HasRolloutContextKind ¶

func (o *UserSegmentRule) HasRolloutContextKind() bool

HasRolloutContextKind returns a boolean if a field has been set.

func (*UserSegmentRule) HasWeight ¶

func (o *UserSegmentRule) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (UserSegmentRule) MarshalJSON ¶

func (o UserSegmentRule) MarshalJSON() ([]byte, error)

func (*UserSegmentRule) SetBucketBy ¶

func (o *UserSegmentRule) SetBucketBy(v string)

SetBucketBy gets a reference to the given string and assigns it to the BucketBy field.

func (*UserSegmentRule) SetClauses ¶

func (o *UserSegmentRule) SetClauses(v []Clause)

SetClauses sets field value

func (*UserSegmentRule) SetDescription ¶

func (o *UserSegmentRule) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UserSegmentRule) SetId ¶

func (o *UserSegmentRule) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UserSegmentRule) SetRolloutContextKind ¶

func (o *UserSegmentRule) SetRolloutContextKind(v string)

SetRolloutContextKind gets a reference to the given string and assigns it to the RolloutContextKind field.

func (*UserSegmentRule) SetWeight ¶

func (o *UserSegmentRule) SetWeight(v int32)

SetWeight gets a reference to the given int32 and assigns it to the Weight field.

type UserSegments ¶

type UserSegments struct {
	// An array of segments
	Items []UserSegment `json:"items"`
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The total number of segments
	TotalCount int32 `json:"totalCount"`
}

UserSegments struct for UserSegments

func NewUserSegments ¶

func NewUserSegments(items []UserSegment, links map[string]Link, totalCount int32) *UserSegments

NewUserSegments instantiates a new UserSegments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserSegmentsWithDefaults ¶

func NewUserSegmentsWithDefaults() *UserSegments

NewUserSegmentsWithDefaults instantiates a new UserSegments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserSegments) GetItems ¶

func (o *UserSegments) GetItems() []UserSegment

GetItems returns the Items field value

func (*UserSegments) GetItemsOk ¶

func (o *UserSegments) GetItemsOk() ([]UserSegment, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *UserSegments) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*UserSegments) GetLinksOk ¶

func (o *UserSegments) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*UserSegments) GetTotalCount ¶

func (o *UserSegments) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*UserSegments) GetTotalCountOk ¶

func (o *UserSegments) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (UserSegments) MarshalJSON ¶

func (o UserSegments) MarshalJSON() ([]byte, error)

func (*UserSegments) SetItems ¶

func (o *UserSegments) SetItems(v []UserSegment)

SetItems sets field value

func (o *UserSegments) SetLinks(v map[string]Link)

SetLinks sets field value

func (*UserSegments) SetTotalCount ¶

func (o *UserSegments) SetTotalCount(v int32)

SetTotalCount sets field value

type UserSettingsApiService ¶

type UserSettingsApiService service

UserSettingsApiService UserSettingsApi service

func (*UserSettingsApiService) GetExpiringFlagsForUser ¶

func (a *UserSettingsApiService) GetExpiringFlagsForUser(ctx context.Context, projectKey string, userKey string, environmentKey string) ApiGetExpiringFlagsForUserRequest

GetExpiringFlagsForUser Get expiring dates on flags for user

Get a list of flags for which the given user is scheduled for removal.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param userKey The user key
@param environmentKey The environment key
@return ApiGetExpiringFlagsForUserRequest

Deprecated

func (*UserSettingsApiService) GetExpiringFlagsForUserExecute ¶

Execute executes the request

@return ExpiringUserTargetGetResponse

Deprecated

func (*UserSettingsApiService) GetUserFlagSetting ¶

func (a *UserSettingsApiService) GetUserFlagSetting(ctx context.Context, projectKey string, environmentKey string, userKey string, featureFlagKey string) ApiGetUserFlagSettingRequest

GetUserFlagSetting Get flag setting for user

Get a single flag setting for a user by flag key. <br /><br />The `_value` is the flag variation that the user receives. The `setting` indicates whether you've explicitly targeted a user to receive a particular variation. For example, if you have turned off a feature flag for a user, this setting will be `false`. The example response indicates that the user `Abbie_Braun` has the `sort.order` flag enabled.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param userKey The user key
@param featureFlagKey The feature flag key
@return ApiGetUserFlagSettingRequest

Deprecated

func (*UserSettingsApiService) GetUserFlagSettingExecute ¶

Execute executes the request

@return UserFlagSetting

Deprecated

func (*UserSettingsApiService) GetUserFlagSettings ¶

func (a *UserSettingsApiService) GetUserFlagSettings(ctx context.Context, projectKey string, environmentKey string, userKey string) ApiGetUserFlagSettingsRequest

GetUserFlagSettings List flag settings for user

Get the current flag settings for a given user. <br /><br />The `_value` is the flag variation that the user receives. The `setting` indicates whether you've explicitly targeted a user to receive a particular variation. For example, if you have turned off a feature flag for a user, this setting will be `false`. The example response indicates that the user `Abbie_Braun` has the `sort.order` flag enabled and the `alternate.page` flag disabled, and that the user has not been explicitly targeted to receive a particular variation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param userKey The user key
@return ApiGetUserFlagSettingsRequest

Deprecated

func (*UserSettingsApiService) GetUserFlagSettingsExecute ¶

Execute executes the request

@return UserFlagSettings

Deprecated

func (*UserSettingsApiService) PatchExpiringFlagsForUser ¶

func (a *UserSettingsApiService) PatchExpiringFlagsForUser(ctx context.Context, projectKey string, userKey string, environmentKey string) ApiPatchExpiringFlagsForUserRequest

PatchExpiringFlagsForUser Update expiring user target for flags

Schedule the specified user for removal from individual targeting on one or more flags. The user must already be individually targeted for each flag.

You can add, update, or remove a scheduled removal date. You can only schedule a user for removal on a single variation per flag.

Updating an expiring target uses the semantic patch format. To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch).

### Instructions

Semantic patch requests support the following `kind` instructions for updating expiring user targets.

<details> <summary>Click to expand instructions for <strong>updating expiring user targets</strong></summary>

#### addExpireUserTargetDate

Adds a date and time that LaunchDarkly will remove the user from the flag's individual targeting.

##### Parameters

* `flagKey`: The flag key * `variationId`: ID of a variation on the flag * `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag.

#### updateExpireUserTargetDate

Updates the date and time that LaunchDarkly will remove the user from the flag's individual targeting.

##### Parameters

* `flagKey`: The flag key * `variationId`: ID of a variation on the flag * `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag. * `version`: The version of the expiring user target to update. If included, update will fail if version doesn't match current version of the expiring user target.

#### removeExpireUserTargetDate

Removes the scheduled removal of the user from the flag's individual targeting. The user will remain part of the flag's individual targeting until explicitly removed, or until another removal is scheduled.

##### Parameters

* `flagKey`: The flag key * `variationId`: ID of a variation on the flag

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param userKey The user key
@param environmentKey The environment key
@return ApiPatchExpiringFlagsForUserRequest

Deprecated

func (*UserSettingsApiService) PatchExpiringFlagsForUserExecute ¶

Execute executes the request

@return ExpiringUserTargetPatchResponse

Deprecated

func (*UserSettingsApiService) PutFlagSetting ¶

func (a *UserSettingsApiService) PutFlagSetting(ctx context.Context, projectKey string, environmentKey string, userKey string, featureFlagKey string) ApiPutFlagSettingRequest

PutFlagSetting Update flag settings for user

Enable or disable a feature flag for a user based on their key.

Omitting the `setting` attribute from the request body, or including a `setting` of `null`, erases the current setting for a user.

If you previously patched the flag, and the patch included the user's data, LaunchDarkly continues to use that data. If LaunchDarkly has never encountered the user's key before, it calculates the flag values based on the user key alone.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param userKey The user key
@param featureFlagKey The feature flag key
@return ApiPutFlagSettingRequest

Deprecated

func (*UserSettingsApiService) PutFlagSettingExecute ¶

func (a *UserSettingsApiService) PutFlagSettingExecute(r ApiPutFlagSettingRequest) (*http.Response, error)

Execute executes the request Deprecated

type Users ¶

type Users struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// The total number of users in the environment
	TotalCount int32 `json:"totalCount"`
	// Details on the users
	Items []UserRecord `json:"items"`
}

Users struct for Users

func NewUsers ¶

func NewUsers(totalCount int32, items []UserRecord) *Users

NewUsers instantiates a new Users object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUsersWithDefaults ¶

func NewUsersWithDefaults() *Users

NewUsersWithDefaults instantiates a new Users object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Users) GetItems ¶

func (o *Users) GetItems() []UserRecord

GetItems returns the Items field value

func (*Users) GetItemsOk ¶

func (o *Users) GetItemsOk() ([]UserRecord, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *Users) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*Users) GetLinksOk ¶

func (o *Users) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Users) GetTotalCount ¶

func (o *Users) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*Users) GetTotalCountOk ¶

func (o *Users) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (o *Users) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (Users) MarshalJSON ¶

func (o Users) MarshalJSON() ([]byte, error)

func (*Users) SetItems ¶

func (o *Users) SetItems(v []UserRecord)

SetItems sets field value

func (o *Users) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*Users) SetTotalCount ¶

func (o *Users) SetTotalCount(v int32)

SetTotalCount sets field value

type UsersApiService ¶

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) DeleteUser ¶

func (a *UsersApiService) DeleteUser(ctx context.Context, projectKey string, environmentKey string, userKey string) ApiDeleteUserRequest

DeleteUser Delete user

> ### Use contexts instead > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Delete context instances](/tag/Contexts#operation/deleteContextInstances) instead of this endpoint.

Delete a user by key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param userKey The user key
@return ApiDeleteUserRequest

Deprecated

func (*UsersApiService) DeleteUserExecute ¶

func (a *UsersApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*UsersApiService) GetSearchUsers ¶

func (a *UsersApiService) GetSearchUsers(ctx context.Context, projectKey string, environmentKey string) ApiGetSearchUsersRequest

GetSearchUsers Find users

> ### Use contexts instead > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Search for context instances](/tag/Contexts#operation/searchContextInstances) instead of this endpoint.

Search users in LaunchDarkly based on their last active date, a user attribute filter set, or a search query.

An example user attribute filter set is `filter=firstName:Anna,activeTrial:false`. This matches users that have the user attribute `firstName` set to `Anna`, that also have the attribute `activeTrial` set to `false`.

To paginate through results, follow the `next` link in the `_links` object. To learn more, read [Representations](/#section/Representations).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetSearchUsersRequest

Deprecated

func (*UsersApiService) GetSearchUsersExecute ¶

func (a *UsersApiService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) (*Users, *http.Response, error)

Execute executes the request

@return Users

Deprecated

func (*UsersApiService) GetUser ¶

func (a *UsersApiService) GetUser(ctx context.Context, projectKey string, environmentKey string, userKey string) ApiGetUserRequest

GetUser Get user

> ### Use contexts instead > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Get context instances](/tag/Contexts#operation/getContextInstances) instead of this endpoint.

Get a user by key. The `user` object contains all attributes sent in `variation` calls for that key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@param userKey The user key
@return ApiGetUserRequest

Deprecated

func (*UsersApiService) GetUserExecute ¶

func (a *UsersApiService) GetUserExecute(r ApiGetUserRequest) (*UserRecord, *http.Response, error)

Execute executes the request

@return UserRecord

Deprecated

func (*UsersApiService) GetUsers ¶

func (a *UsersApiService) GetUsers(ctx context.Context, projectKey string, environmentKey string) ApiGetUsersRequest

GetUsers List users

> ### Use contexts instead > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Search for contexts](/tag/Contexts#operation/searchContexts) instead of this endpoint.

List all users in the environment. Includes the total count of users. This is useful for exporting all users in the system for further analysis.

Each page displays users up to a set `limit`. The default is 20. To page through, follow the `next` link in the `_links` object. To learn more, read [Representations](/#section/Representations).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetUsersRequest

Deprecated

func (*UsersApiService) GetUsersExecute ¶

func (a *UsersApiService) GetUsersExecute(r ApiGetUsersRequest) (*UsersRep, *http.Response, error)

Execute executes the request

@return UsersRep

Deprecated

type UsersBetaApiService ¶

type UsersBetaApiService service

UsersBetaApiService UsersBetaApi service

func (*UsersBetaApiService) GetUserAttributeNames ¶

func (a *UsersBetaApiService) GetUserAttributeNames(ctx context.Context, projectKey string, environmentKey string) ApiGetUserAttributeNamesRequest

GetUserAttributeNames Get user attribute names

> ### Use contexts instead > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Get context attribute names ](/tag/Contexts#operation/getContextAttributeNames) instead of this endpoint.

Get all in-use user attributes in the specified environment. The set of in-use attributes typically consists of all attributes seen within the past 30 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param environmentKey The environment key
@return ApiGetUserAttributeNamesRequest

Deprecated

func (*UsersBetaApiService) GetUserAttributeNamesExecute ¶

Execute executes the request

@return UserAttributeNamesRep

Deprecated

type UsersRep ¶

type UsersRep struct {
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// The total number of users in the environment
	TotalCount int32 `json:"totalCount"`
	// Details on the users
	Items []UserRecord `json:"items"`
}

UsersRep struct for UsersRep

func NewUsersRep ¶

func NewUsersRep(totalCount int32, items []UserRecord) *UsersRep

NewUsersRep instantiates a new UsersRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUsersRepWithDefaults ¶

func NewUsersRepWithDefaults() *UsersRep

NewUsersRepWithDefaults instantiates a new UsersRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UsersRep) GetItems ¶

func (o *UsersRep) GetItems() []UserRecord

GetItems returns the Items field value

func (*UsersRep) GetItemsOk ¶

func (o *UsersRep) GetItemsOk() ([]UserRecord, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *UsersRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*UsersRep) GetLinksOk ¶

func (o *UsersRep) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsersRep) GetTotalCount ¶

func (o *UsersRep) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*UsersRep) GetTotalCountOk ¶

func (o *UsersRep) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (o *UsersRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (UsersRep) MarshalJSON ¶

func (o UsersRep) MarshalJSON() ([]byte, error)

func (*UsersRep) SetItems ¶

func (o *UsersRep) SetItems(v []UserRecord)

SetItems sets field value

func (o *UsersRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*UsersRep) SetTotalCount ¶

func (o *UsersRep) SetTotalCount(v int32)

SetTotalCount sets field value

type ValidationFailedErrorRep ¶

type ValidationFailedErrorRep struct {
	// Specific error code encountered
	Code string `json:"code"`
	// Description of the error
	Message string `json:"message"`
	// List of validation errors
	Errors []FailureReasonRep `json:"errors"`
}

ValidationFailedErrorRep struct for ValidationFailedErrorRep

func NewValidationFailedErrorRep ¶

func NewValidationFailedErrorRep(code string, message string, errors []FailureReasonRep) *ValidationFailedErrorRep

NewValidationFailedErrorRep instantiates a new ValidationFailedErrorRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewValidationFailedErrorRepWithDefaults ¶

func NewValidationFailedErrorRepWithDefaults() *ValidationFailedErrorRep

NewValidationFailedErrorRepWithDefaults instantiates a new ValidationFailedErrorRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ValidationFailedErrorRep) GetCode ¶

func (o *ValidationFailedErrorRep) GetCode() string

GetCode returns the Code field value

func (*ValidationFailedErrorRep) GetCodeOk ¶

func (o *ValidationFailedErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*ValidationFailedErrorRep) GetErrors ¶

func (o *ValidationFailedErrorRep) GetErrors() []FailureReasonRep

GetErrors returns the Errors field value

func (*ValidationFailedErrorRep) GetErrorsOk ¶

func (o *ValidationFailedErrorRep) GetErrorsOk() ([]FailureReasonRep, bool)

GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.

func (*ValidationFailedErrorRep) GetMessage ¶

func (o *ValidationFailedErrorRep) GetMessage() string

GetMessage returns the Message field value

func (*ValidationFailedErrorRep) GetMessageOk ¶

func (o *ValidationFailedErrorRep) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (ValidationFailedErrorRep) MarshalJSON ¶

func (o ValidationFailedErrorRep) MarshalJSON() ([]byte, error)

func (*ValidationFailedErrorRep) SetCode ¶

func (o *ValidationFailedErrorRep) SetCode(v string)

SetCode sets field value

func (*ValidationFailedErrorRep) SetErrors ¶

func (o *ValidationFailedErrorRep) SetErrors(v []FailureReasonRep)

SetErrors sets field value

func (*ValidationFailedErrorRep) SetMessage ¶

func (o *ValidationFailedErrorRep) SetMessage(v string)

SetMessage sets field value

type ValuePut ¶

type ValuePut struct {
	// The variation value to set for the context. Must match the flag's variation type.
	Setting interface{} `json:"setting,omitempty"`
	// Optional comment describing the change
	Comment *string `json:"comment,omitempty"`
}

ValuePut struct for ValuePut

func NewValuePut ¶

func NewValuePut() *ValuePut

NewValuePut instantiates a new ValuePut object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewValuePutWithDefaults ¶

func NewValuePutWithDefaults() *ValuePut

NewValuePutWithDefaults instantiates a new ValuePut object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ValuePut) GetComment ¶

func (o *ValuePut) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*ValuePut) GetCommentOk ¶

func (o *ValuePut) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ValuePut) GetSetting ¶

func (o *ValuePut) GetSetting() interface{}

GetSetting returns the Setting field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ValuePut) GetSettingOk ¶

func (o *ValuePut) GetSettingOk() (*interface{}, bool)

GetSettingOk returns a tuple with the Setting field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ValuePut) HasComment ¶

func (o *ValuePut) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*ValuePut) HasSetting ¶

func (o *ValuePut) HasSetting() bool

HasSetting returns a boolean if a field has been set.

func (ValuePut) MarshalJSON ¶

func (o ValuePut) MarshalJSON() ([]byte, error)

func (*ValuePut) SetComment ¶

func (o *ValuePut) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*ValuePut) SetSetting ¶

func (o *ValuePut) SetSetting(v interface{})

SetSetting gets a reference to the given interface{} and assigns it to the Setting field.

type Variation ¶

type Variation struct {
	// The ID of the variation. Leave empty when you are creating a flag.
	Id *string `json:"_id,omitempty"`
	// The value of the variation. For boolean flags, this must be <code>true</code> or <code>false</code>. For multivariate flags, this may be a string, number, or JSON object.
	Value interface{} `json:"value"`
	// Description of the variation. Defaults to an empty string, but is omitted from the response if not set.
	Description *string `json:"description,omitempty"`
	// A human-friendly name for the variation. Defaults to an empty string, but is omitted from the response if not set.
	Name *string `json:"name,omitempty"`
}

Variation struct for Variation

func NewVariation ¶

func NewVariation(value interface{}) *Variation

NewVariation instantiates a new Variation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVariationWithDefaults ¶

func NewVariationWithDefaults() *Variation

NewVariationWithDefaults instantiates a new Variation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Variation) GetDescription ¶

func (o *Variation) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Variation) GetDescriptionOk ¶

func (o *Variation) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Variation) GetId ¶

func (o *Variation) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Variation) GetIdOk ¶

func (o *Variation) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Variation) GetName ¶

func (o *Variation) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Variation) GetNameOk ¶

func (o *Variation) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Variation) GetValue ¶

func (o *Variation) GetValue() interface{}

GetValue returns the Value field value If the value is explicit nil, the zero value for interface{} will be returned

func (*Variation) GetValueOk ¶

func (o *Variation) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Variation) HasDescription ¶

func (o *Variation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Variation) HasId ¶

func (o *Variation) HasId() bool

HasId returns a boolean if a field has been set.

func (*Variation) HasName ¶

func (o *Variation) HasName() bool

HasName returns a boolean if a field has been set.

func (Variation) MarshalJSON ¶

func (o Variation) MarshalJSON() ([]byte, error)

func (*Variation) SetDescription ¶

func (o *Variation) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Variation) SetId ¶

func (o *Variation) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Variation) SetName ¶

func (o *Variation) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Variation) SetValue ¶

func (o *Variation) SetValue(v interface{})

SetValue sets field value

type VariationEvalSummary ¶

type VariationEvalSummary struct {
	// The variation value
	Value interface{} `json:"value,omitempty"`
	// The number of evaluations in the ten minutes before the flag event
	Before *int64 `json:"before,omitempty"`
	// The number of evaluations in the ten minutes after the flag event
	After *int64 `json:"after,omitempty"`
}

VariationEvalSummary struct for VariationEvalSummary

func NewVariationEvalSummary ¶

func NewVariationEvalSummary() *VariationEvalSummary

NewVariationEvalSummary instantiates a new VariationEvalSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVariationEvalSummaryWithDefaults ¶

func NewVariationEvalSummaryWithDefaults() *VariationEvalSummary

NewVariationEvalSummaryWithDefaults instantiates a new VariationEvalSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VariationEvalSummary) GetAfter ¶

func (o *VariationEvalSummary) GetAfter() int64

GetAfter returns the After field value if set, zero value otherwise.

func (*VariationEvalSummary) GetAfterOk ¶

func (o *VariationEvalSummary) GetAfterOk() (*int64, bool)

GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariationEvalSummary) GetBefore ¶

func (o *VariationEvalSummary) GetBefore() int64

GetBefore returns the Before field value if set, zero value otherwise.

func (*VariationEvalSummary) GetBeforeOk ¶

func (o *VariationEvalSummary) GetBeforeOk() (*int64, bool)

GetBeforeOk returns a tuple with the Before field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariationEvalSummary) GetValue ¶

func (o *VariationEvalSummary) GetValue() interface{}

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VariationEvalSummary) GetValueOk ¶

func (o *VariationEvalSummary) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VariationEvalSummary) HasAfter ¶

func (o *VariationEvalSummary) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (*VariationEvalSummary) HasBefore ¶

func (o *VariationEvalSummary) HasBefore() bool

HasBefore returns a boolean if a field has been set.

func (*VariationEvalSummary) HasValue ¶

func (o *VariationEvalSummary) HasValue() bool

HasValue returns a boolean if a field has been set.

func (VariationEvalSummary) MarshalJSON ¶

func (o VariationEvalSummary) MarshalJSON() ([]byte, error)

func (*VariationEvalSummary) SetAfter ¶

func (o *VariationEvalSummary) SetAfter(v int64)

SetAfter gets a reference to the given int64 and assigns it to the After field.

func (*VariationEvalSummary) SetBefore ¶

func (o *VariationEvalSummary) SetBefore(v int64)

SetBefore gets a reference to the given int64 and assigns it to the Before field.

func (*VariationEvalSummary) SetValue ¶

func (o *VariationEvalSummary) SetValue(v interface{})

SetValue gets a reference to the given interface{} and assigns it to the Value field.

type VariationOrRolloutRep ¶

type VariationOrRolloutRep struct {
	// The index of the variation, from the array of variations for this flag
	Variation *int32   `json:"variation,omitempty"`
	Rollout   *Rollout `json:"rollout,omitempty"`
}

VariationOrRolloutRep struct for VariationOrRolloutRep

func NewVariationOrRolloutRep ¶

func NewVariationOrRolloutRep() *VariationOrRolloutRep

NewVariationOrRolloutRep instantiates a new VariationOrRolloutRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVariationOrRolloutRepWithDefaults ¶

func NewVariationOrRolloutRepWithDefaults() *VariationOrRolloutRep

NewVariationOrRolloutRepWithDefaults instantiates a new VariationOrRolloutRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VariationOrRolloutRep) GetRollout ¶

func (o *VariationOrRolloutRep) GetRollout() Rollout

GetRollout returns the Rollout field value if set, zero value otherwise.

func (*VariationOrRolloutRep) GetRolloutOk ¶

func (o *VariationOrRolloutRep) GetRolloutOk() (*Rollout, bool)

GetRolloutOk returns a tuple with the Rollout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariationOrRolloutRep) GetVariation ¶

func (o *VariationOrRolloutRep) GetVariation() int32

GetVariation returns the Variation field value if set, zero value otherwise.

func (*VariationOrRolloutRep) GetVariationOk ¶

func (o *VariationOrRolloutRep) GetVariationOk() (*int32, bool)

GetVariationOk returns a tuple with the Variation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariationOrRolloutRep) HasRollout ¶

func (o *VariationOrRolloutRep) HasRollout() bool

HasRollout returns a boolean if a field has been set.

func (*VariationOrRolloutRep) HasVariation ¶

func (o *VariationOrRolloutRep) HasVariation() bool

HasVariation returns a boolean if a field has been set.

func (VariationOrRolloutRep) MarshalJSON ¶

func (o VariationOrRolloutRep) MarshalJSON() ([]byte, error)

func (*VariationOrRolloutRep) SetRollout ¶

func (o *VariationOrRolloutRep) SetRollout(v Rollout)

SetRollout gets a reference to the given Rollout and assigns it to the Rollout field.

func (*VariationOrRolloutRep) SetVariation ¶

func (o *VariationOrRolloutRep) SetVariation(v int32)

SetVariation gets a reference to the given int32 and assigns it to the Variation field.

type VariationSummary ¶

type VariationSummary struct {
	Rules          int32   `json:"rules"`
	NullRules      int32   `json:"nullRules"`
	Targets        int32   `json:"targets"`
	ContextTargets int32   `json:"contextTargets"`
	IsFallthrough  *bool   `json:"isFallthrough,omitempty"`
	IsOff          *bool   `json:"isOff,omitempty"`
	Rollout        *int32  `json:"rollout,omitempty"`
	BucketBy       *string `json:"bucketBy,omitempty"`
}

VariationSummary struct for VariationSummary

func NewVariationSummary ¶

func NewVariationSummary(rules int32, nullRules int32, targets int32, contextTargets int32) *VariationSummary

NewVariationSummary instantiates a new VariationSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVariationSummaryWithDefaults ¶

func NewVariationSummaryWithDefaults() *VariationSummary

NewVariationSummaryWithDefaults instantiates a new VariationSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VariationSummary) GetBucketBy ¶

func (o *VariationSummary) GetBucketBy() string

GetBucketBy returns the BucketBy field value if set, zero value otherwise.

func (*VariationSummary) GetBucketByOk ¶

func (o *VariationSummary) GetBucketByOk() (*string, bool)

GetBucketByOk returns a tuple with the BucketBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariationSummary) GetContextTargets ¶

func (o *VariationSummary) GetContextTargets() int32

GetContextTargets returns the ContextTargets field value

func (*VariationSummary) GetContextTargetsOk ¶

func (o *VariationSummary) GetContextTargetsOk() (*int32, bool)

GetContextTargetsOk returns a tuple with the ContextTargets field value and a boolean to check if the value has been set.

func (*VariationSummary) GetIsFallthrough ¶

func (o *VariationSummary) GetIsFallthrough() bool

GetIsFallthrough returns the IsFallthrough field value if set, zero value otherwise.

func (*VariationSummary) GetIsFallthroughOk ¶

func (o *VariationSummary) GetIsFallthroughOk() (*bool, bool)

GetIsFallthroughOk returns a tuple with the IsFallthrough field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariationSummary) GetIsOff ¶

func (o *VariationSummary) GetIsOff() bool

GetIsOff returns the IsOff field value if set, zero value otherwise.

func (*VariationSummary) GetIsOffOk ¶

func (o *VariationSummary) GetIsOffOk() (*bool, bool)

GetIsOffOk returns a tuple with the IsOff field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariationSummary) GetNullRules ¶

func (o *VariationSummary) GetNullRules() int32

GetNullRules returns the NullRules field value

func (*VariationSummary) GetNullRulesOk ¶

func (o *VariationSummary) GetNullRulesOk() (*int32, bool)

GetNullRulesOk returns a tuple with the NullRules field value and a boolean to check if the value has been set.

func (*VariationSummary) GetRollout ¶

func (o *VariationSummary) GetRollout() int32

GetRollout returns the Rollout field value if set, zero value otherwise.

func (*VariationSummary) GetRolloutOk ¶

func (o *VariationSummary) GetRolloutOk() (*int32, bool)

GetRolloutOk returns a tuple with the Rollout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VariationSummary) GetRules ¶

func (o *VariationSummary) GetRules() int32

GetRules returns the Rules field value

func (*VariationSummary) GetRulesOk ¶

func (o *VariationSummary) GetRulesOk() (*int32, bool)

GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set.

func (*VariationSummary) GetTargets ¶

func (o *VariationSummary) GetTargets() int32

GetTargets returns the Targets field value

func (*VariationSummary) GetTargetsOk ¶

func (o *VariationSummary) GetTargetsOk() (*int32, bool)

GetTargetsOk returns a tuple with the Targets field value and a boolean to check if the value has been set.

func (*VariationSummary) HasBucketBy ¶

func (o *VariationSummary) HasBucketBy() bool

HasBucketBy returns a boolean if a field has been set.

func (*VariationSummary) HasIsFallthrough ¶

func (o *VariationSummary) HasIsFallthrough() bool

HasIsFallthrough returns a boolean if a field has been set.

func (*VariationSummary) HasIsOff ¶

func (o *VariationSummary) HasIsOff() bool

HasIsOff returns a boolean if a field has been set.

func (*VariationSummary) HasRollout ¶

func (o *VariationSummary) HasRollout() bool

HasRollout returns a boolean if a field has been set.

func (VariationSummary) MarshalJSON ¶

func (o VariationSummary) MarshalJSON() ([]byte, error)

func (*VariationSummary) SetBucketBy ¶

func (o *VariationSummary) SetBucketBy(v string)

SetBucketBy gets a reference to the given string and assigns it to the BucketBy field.

func (*VariationSummary) SetContextTargets ¶

func (o *VariationSummary) SetContextTargets(v int32)

SetContextTargets sets field value

func (*VariationSummary) SetIsFallthrough ¶

func (o *VariationSummary) SetIsFallthrough(v bool)

SetIsFallthrough gets a reference to the given bool and assigns it to the IsFallthrough field.

func (*VariationSummary) SetIsOff ¶

func (o *VariationSummary) SetIsOff(v bool)

SetIsOff gets a reference to the given bool and assigns it to the IsOff field.

func (*VariationSummary) SetNullRules ¶

func (o *VariationSummary) SetNullRules(v int32)

SetNullRules sets field value

func (*VariationSummary) SetRollout ¶

func (o *VariationSummary) SetRollout(v int32)

SetRollout gets a reference to the given int32 and assigns it to the Rollout field.

func (*VariationSummary) SetRules ¶

func (o *VariationSummary) SetRules(v int32)

SetRules sets field value

func (*VariationSummary) SetTargets ¶

func (o *VariationSummary) SetTargets(v int32)

SetTargets sets field value

type VersionsRep ¶

type VersionsRep struct {
	// A list of all valid API versions. To learn more about our versioning, read [Versioning](https://apidocs.launchdarkly.com/#section/Overview/Versioning).
	ValidVersions  []int32 `json:"validVersions"`
	LatestVersion  int32   `json:"latestVersion"`
	CurrentVersion int32   `json:"currentVersion"`
	// Whether the version of the API currently is use is a beta version. This is always <code>true</code> if you add the <code>LD-API-Version: beta</code> header to your request.
	Beta *bool `json:"beta,omitempty"`
}

VersionsRep struct for VersionsRep

func NewVersionsRep ¶

func NewVersionsRep(validVersions []int32, latestVersion int32, currentVersion int32) *VersionsRep

NewVersionsRep instantiates a new VersionsRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionsRepWithDefaults ¶

func NewVersionsRepWithDefaults() *VersionsRep

NewVersionsRepWithDefaults instantiates a new VersionsRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionsRep) GetBeta ¶

func (o *VersionsRep) GetBeta() bool

GetBeta returns the Beta field value if set, zero value otherwise.

func (*VersionsRep) GetBetaOk ¶

func (o *VersionsRep) GetBetaOk() (*bool, bool)

GetBetaOk returns a tuple with the Beta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionsRep) GetCurrentVersion ¶

func (o *VersionsRep) GetCurrentVersion() int32

GetCurrentVersion returns the CurrentVersion field value

func (*VersionsRep) GetCurrentVersionOk ¶

func (o *VersionsRep) GetCurrentVersionOk() (*int32, bool)

GetCurrentVersionOk returns a tuple with the CurrentVersion field value and a boolean to check if the value has been set.

func (*VersionsRep) GetLatestVersion ¶

func (o *VersionsRep) GetLatestVersion() int32

GetLatestVersion returns the LatestVersion field value

func (*VersionsRep) GetLatestVersionOk ¶

func (o *VersionsRep) GetLatestVersionOk() (*int32, bool)

GetLatestVersionOk returns a tuple with the LatestVersion field value and a boolean to check if the value has been set.

func (*VersionsRep) GetValidVersions ¶

func (o *VersionsRep) GetValidVersions() []int32

GetValidVersions returns the ValidVersions field value

func (*VersionsRep) GetValidVersionsOk ¶

func (o *VersionsRep) GetValidVersionsOk() ([]int32, bool)

GetValidVersionsOk returns a tuple with the ValidVersions field value and a boolean to check if the value has been set.

func (*VersionsRep) HasBeta ¶

func (o *VersionsRep) HasBeta() bool

HasBeta returns a boolean if a field has been set.

func (VersionsRep) MarshalJSON ¶

func (o VersionsRep) MarshalJSON() ([]byte, error)

func (*VersionsRep) SetBeta ¶

func (o *VersionsRep) SetBeta(v bool)

SetBeta gets a reference to the given bool and assigns it to the Beta field.

func (*VersionsRep) SetCurrentVersion ¶

func (o *VersionsRep) SetCurrentVersion(v int32)

SetCurrentVersion sets field value

func (*VersionsRep) SetLatestVersion ¶

func (o *VersionsRep) SetLatestVersion(v int32)

SetLatestVersion sets field value

func (*VersionsRep) SetValidVersions ¶

func (o *VersionsRep) SetValidVersions(v []int32)

SetValidVersions sets field value

type Webhook ¶

type Webhook struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// The ID of this webhook
	Id string `json:"_id"`
	// A human-readable name for this webhook
	Name *string `json:"name,omitempty"`
	// The URL to which LaunchDarkly sends an HTTP POST payload for this webhook
	Url string `json:"url"`
	// The secret for this webhook
	Secret *string `json:"secret,omitempty"`
	// Represents a Custom role policy, defining a resource kinds filter the webhook responds to.
	Statements []Statement `json:"statements,omitempty"`
	// Whether or not this webhook is enabled
	On bool `json:"on"`
	// List of tags for this webhook
	Tags   []string `json:"tags"`
	Access *Access  `json:"_access,omitempty"`
}

Webhook struct for Webhook

func NewWebhook ¶

func NewWebhook(links map[string]Link, id string, url string, on bool, tags []string) *Webhook

NewWebhook instantiates a new Webhook object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookWithDefaults ¶

func NewWebhookWithDefaults() *Webhook

NewWebhookWithDefaults instantiates a new Webhook object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Webhook) GetAccess ¶

func (o *Webhook) GetAccess() Access

GetAccess returns the Access field value if set, zero value otherwise.

func (*Webhook) GetAccessOk ¶

func (o *Webhook) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetId ¶

func (o *Webhook) GetId() string

GetId returns the Id field value

func (*Webhook) GetIdOk ¶

func (o *Webhook) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (o *Webhook) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Webhook) GetLinksOk ¶

func (o *Webhook) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Webhook) GetName ¶

func (o *Webhook) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Webhook) GetNameOk ¶

func (o *Webhook) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetOn ¶

func (o *Webhook) GetOn() bool

GetOn returns the On field value

func (*Webhook) GetOnOk ¶

func (o *Webhook) GetOnOk() (*bool, bool)

GetOnOk returns a tuple with the On field value and a boolean to check if the value has been set.

func (*Webhook) GetSecret ¶

func (o *Webhook) GetSecret() string

GetSecret returns the Secret field value if set, zero value otherwise.

func (*Webhook) GetSecretOk ¶

func (o *Webhook) GetSecretOk() (*string, bool)

GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetStatements ¶

func (o *Webhook) GetStatements() []Statement

GetStatements returns the Statements field value if set, zero value otherwise.

func (*Webhook) GetStatementsOk ¶

func (o *Webhook) GetStatementsOk() ([]Statement, bool)

GetStatementsOk returns a tuple with the Statements field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetTags ¶

func (o *Webhook) GetTags() []string

GetTags returns the Tags field value

func (*Webhook) GetTagsOk ¶

func (o *Webhook) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*Webhook) GetUrl ¶

func (o *Webhook) GetUrl() string

GetUrl returns the Url field value

func (*Webhook) GetUrlOk ¶

func (o *Webhook) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*Webhook) HasAccess ¶

func (o *Webhook) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*Webhook) HasName ¶

func (o *Webhook) HasName() bool

HasName returns a boolean if a field has been set.

func (*Webhook) HasSecret ¶

func (o *Webhook) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (*Webhook) HasStatements ¶

func (o *Webhook) HasStatements() bool

HasStatements returns a boolean if a field has been set.

func (Webhook) MarshalJSON ¶

func (o Webhook) MarshalJSON() ([]byte, error)

func (*Webhook) SetAccess ¶

func (o *Webhook) SetAccess(v Access)

SetAccess gets a reference to the given Access and assigns it to the Access field.

func (*Webhook) SetId ¶

func (o *Webhook) SetId(v string)

SetId sets field value

func (o *Webhook) SetLinks(v map[string]Link)

SetLinks sets field value

func (*Webhook) SetName ¶

func (o *Webhook) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Webhook) SetOn ¶

func (o *Webhook) SetOn(v bool)

SetOn sets field value

func (*Webhook) SetSecret ¶

func (o *Webhook) SetSecret(v string)

SetSecret gets a reference to the given string and assigns it to the Secret field.

func (*Webhook) SetStatements ¶

func (o *Webhook) SetStatements(v []Statement)

SetStatements gets a reference to the given []Statement and assigns it to the Statements field.

func (*Webhook) SetTags ¶

func (o *Webhook) SetTags(v []string)

SetTags sets field value

func (*Webhook) SetUrl ¶

func (o *Webhook) SetUrl(v string)

SetUrl sets field value

type WebhookPost ¶

type WebhookPost struct {
	// A human-readable name for your webhook
	Name *string `json:"name,omitempty"`
	// The URL of the remote webhook
	Url string `json:"url"`
	// If sign is true, and the secret attribute is omitted, LaunchDarkly automatically generates a secret for you.
	Secret     *string         `json:"secret,omitempty"`
	Statements []StatementPost `json:"statements,omitempty"`
	// If sign is false, the webhook does not include a signature header, and the secret can be omitted.
	Sign bool `json:"sign"`
	// Whether or not this webhook is enabled.
	On bool `json:"on"`
	// List of tags for this webhook
	Tags []string `json:"tags,omitempty"`
}

WebhookPost struct for WebhookPost

func NewWebhookPost ¶

func NewWebhookPost(url string, sign bool, on bool) *WebhookPost

NewWebhookPost instantiates a new WebhookPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookPostWithDefaults ¶

func NewWebhookPostWithDefaults() *WebhookPost

NewWebhookPostWithDefaults instantiates a new WebhookPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookPost) GetName ¶

func (o *WebhookPost) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*WebhookPost) GetNameOk ¶

func (o *WebhookPost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookPost) GetOn ¶

func (o *WebhookPost) GetOn() bool

GetOn returns the On field value

func (*WebhookPost) GetOnOk ¶

func (o *WebhookPost) GetOnOk() (*bool, bool)

GetOnOk returns a tuple with the On field value and a boolean to check if the value has been set.

func (*WebhookPost) GetSecret ¶

func (o *WebhookPost) GetSecret() string

GetSecret returns the Secret field value if set, zero value otherwise.

func (*WebhookPost) GetSecretOk ¶

func (o *WebhookPost) GetSecretOk() (*string, bool)

GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookPost) GetSign ¶

func (o *WebhookPost) GetSign() bool

GetSign returns the Sign field value

func (*WebhookPost) GetSignOk ¶

func (o *WebhookPost) GetSignOk() (*bool, bool)

GetSignOk returns a tuple with the Sign field value and a boolean to check if the value has been set.

func (*WebhookPost) GetStatements ¶

func (o *WebhookPost) GetStatements() []StatementPost

GetStatements returns the Statements field value if set, zero value otherwise.

func (*WebhookPost) GetStatementsOk ¶

func (o *WebhookPost) GetStatementsOk() ([]StatementPost, bool)

GetStatementsOk returns a tuple with the Statements field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookPost) GetTags ¶

func (o *WebhookPost) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*WebhookPost) GetTagsOk ¶

func (o *WebhookPost) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookPost) GetUrl ¶

func (o *WebhookPost) GetUrl() string

GetUrl returns the Url field value

func (*WebhookPost) GetUrlOk ¶

func (o *WebhookPost) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*WebhookPost) HasName ¶

func (o *WebhookPost) HasName() bool

HasName returns a boolean if a field has been set.

func (*WebhookPost) HasSecret ¶

func (o *WebhookPost) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (*WebhookPost) HasStatements ¶

func (o *WebhookPost) HasStatements() bool

HasStatements returns a boolean if a field has been set.

func (*WebhookPost) HasTags ¶

func (o *WebhookPost) HasTags() bool

HasTags returns a boolean if a field has been set.

func (WebhookPost) MarshalJSON ¶

func (o WebhookPost) MarshalJSON() ([]byte, error)

func (*WebhookPost) SetName ¶

func (o *WebhookPost) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*WebhookPost) SetOn ¶

func (o *WebhookPost) SetOn(v bool)

SetOn sets field value

func (*WebhookPost) SetSecret ¶

func (o *WebhookPost) SetSecret(v string)

SetSecret gets a reference to the given string and assigns it to the Secret field.

func (*WebhookPost) SetSign ¶

func (o *WebhookPost) SetSign(v bool)

SetSign sets field value

func (*WebhookPost) SetStatements ¶

func (o *WebhookPost) SetStatements(v []StatementPost)

SetStatements gets a reference to the given []StatementPost and assigns it to the Statements field.

func (*WebhookPost) SetTags ¶

func (o *WebhookPost) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*WebhookPost) SetUrl ¶

func (o *WebhookPost) SetUrl(v string)

SetUrl sets field value

type Webhooks ¶

type Webhooks struct {
	// The location and content type of related resources
	Links map[string]Link `json:"_links"`
	// An array of webhooks
	Items []Webhook `json:"items"`
}

Webhooks struct for Webhooks

func NewWebhooks ¶

func NewWebhooks(links map[string]Link, items []Webhook) *Webhooks

NewWebhooks instantiates a new Webhooks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhooksWithDefaults ¶

func NewWebhooksWithDefaults() *Webhooks

NewWebhooksWithDefaults instantiates a new Webhooks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Webhooks) GetItems ¶

func (o *Webhooks) GetItems() []Webhook

GetItems returns the Items field value

func (*Webhooks) GetItemsOk ¶

func (o *Webhooks) GetItemsOk() ([]Webhook, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (o *Webhooks) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*Webhooks) GetLinksOk ¶

func (o *Webhooks) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (Webhooks) MarshalJSON ¶

func (o Webhooks) MarshalJSON() ([]byte, error)

func (*Webhooks) SetItems ¶

func (o *Webhooks) SetItems(v []Webhook)

SetItems sets field value

func (o *Webhooks) SetLinks(v map[string]Link)

SetLinks sets field value

type WebhooksApiService ¶

type WebhooksApiService service

WebhooksApiService WebhooksApi service

func (*WebhooksApiService) DeleteWebhook ¶

DeleteWebhook Delete webhook

Delete a webhook by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the webhook to delete
@return ApiDeleteWebhookRequest

func (*WebhooksApiService) DeleteWebhookExecute ¶

func (a *WebhooksApiService) DeleteWebhookExecute(r ApiDeleteWebhookRequest) (*http.Response, error)

Execute executes the request

func (*WebhooksApiService) GetAllWebhooks ¶

GetAllWebhooks List webhooks

Fetch a list of all webhooks.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllWebhooksRequest

func (*WebhooksApiService) GetAllWebhooksExecute ¶

func (a *WebhooksApiService) GetAllWebhooksExecute(r ApiGetAllWebhooksRequest) (*Webhooks, *http.Response, error)

Execute executes the request

@return Webhooks

func (*WebhooksApiService) GetWebhook ¶

GetWebhook Get webhook

Get a single webhook by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the webhook
@return ApiGetWebhookRequest

func (*WebhooksApiService) GetWebhookExecute ¶

func (a *WebhooksApiService) GetWebhookExecute(r ApiGetWebhookRequest) (*Webhook, *http.Response, error)

Execute executes the request

@return Webhook

func (*WebhooksApiService) PatchWebhook ¶

PatchWebhook Update webhook

Update a webhook's settings. Updating webhook settings uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the webhook to update
@return ApiPatchWebhookRequest

func (*WebhooksApiService) PatchWebhookExecute ¶

func (a *WebhooksApiService) PatchWebhookExecute(r ApiPatchWebhookRequest) (*Webhook, *http.Response, error)

Execute executes the request

@return Webhook

func (*WebhooksApiService) PostWebhook ¶

PostWebhook Creates a webhook

Create a new webhook.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostWebhookRequest

func (*WebhooksApiService) PostWebhookExecute ¶

func (a *WebhooksApiService) PostWebhookExecute(r ApiPostWebhookRequest) (*Webhook, *http.Response, error)

Execute executes the request

@return Webhook

type WeightedVariation ¶

type WeightedVariation struct {
	Variation int32 `json:"variation"`
	Weight    int32 `json:"weight"`
	Untracked *bool `json:"_untracked,omitempty"`
}

WeightedVariation struct for WeightedVariation

func NewWeightedVariation ¶

func NewWeightedVariation(variation int32, weight int32) *WeightedVariation

NewWeightedVariation instantiates a new WeightedVariation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWeightedVariationWithDefaults ¶

func NewWeightedVariationWithDefaults() *WeightedVariation

NewWeightedVariationWithDefaults instantiates a new WeightedVariation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WeightedVariation) GetUntracked ¶

func (o *WeightedVariation) GetUntracked() bool

GetUntracked returns the Untracked field value if set, zero value otherwise.

func (*WeightedVariation) GetUntrackedOk ¶

func (o *WeightedVariation) GetUntrackedOk() (*bool, bool)

GetUntrackedOk returns a tuple with the Untracked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WeightedVariation) GetVariation ¶

func (o *WeightedVariation) GetVariation() int32

GetVariation returns the Variation field value

func (*WeightedVariation) GetVariationOk ¶

func (o *WeightedVariation) GetVariationOk() (*int32, bool)

GetVariationOk returns a tuple with the Variation field value and a boolean to check if the value has been set.

func (*WeightedVariation) GetWeight ¶

func (o *WeightedVariation) GetWeight() int32

GetWeight returns the Weight field value

func (*WeightedVariation) GetWeightOk ¶

func (o *WeightedVariation) GetWeightOk() (*int32, bool)

GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.

func (*WeightedVariation) HasUntracked ¶

func (o *WeightedVariation) HasUntracked() bool

HasUntracked returns a boolean if a field has been set.

func (WeightedVariation) MarshalJSON ¶

func (o WeightedVariation) MarshalJSON() ([]byte, error)

func (*WeightedVariation) SetUntracked ¶

func (o *WeightedVariation) SetUntracked(v bool)

SetUntracked gets a reference to the given bool and assigns it to the Untracked field.

func (*WeightedVariation) SetVariation ¶

func (o *WeightedVariation) SetVariation(v int32)

SetVariation sets field value

func (*WeightedVariation) SetWeight ¶

func (o *WeightedVariation) SetWeight(v int32)

SetWeight sets field value

type WorkflowTemplateMetadata ¶

type WorkflowTemplateMetadata struct {
	Parameters []WorkflowTemplateParameter `json:"parameters,omitempty"`
}

WorkflowTemplateMetadata struct for WorkflowTemplateMetadata

func NewWorkflowTemplateMetadata ¶

func NewWorkflowTemplateMetadata() *WorkflowTemplateMetadata

NewWorkflowTemplateMetadata instantiates a new WorkflowTemplateMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWorkflowTemplateMetadataWithDefaults ¶

func NewWorkflowTemplateMetadataWithDefaults() *WorkflowTemplateMetadata

NewWorkflowTemplateMetadataWithDefaults instantiates a new WorkflowTemplateMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WorkflowTemplateMetadata) GetParameters ¶

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*WorkflowTemplateMetadata) GetParametersOk ¶

func (o *WorkflowTemplateMetadata) GetParametersOk() ([]WorkflowTemplateParameter, bool)

GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkflowTemplateMetadata) HasParameters ¶

func (o *WorkflowTemplateMetadata) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (WorkflowTemplateMetadata) MarshalJSON ¶

func (o WorkflowTemplateMetadata) MarshalJSON() ([]byte, error)

func (*WorkflowTemplateMetadata) SetParameters ¶

SetParameters gets a reference to the given []WorkflowTemplateParameter and assigns it to the Parameters field.

type WorkflowTemplateOutput ¶

type WorkflowTemplateOutput struct {
	Id           string          `json:"_id"`
	Key          string          `json:"_key"`
	Name         *string         `json:"name,omitempty"`
	CreationDate int64           `json:"_creationDate"`
	OwnerId      string          `json:"_ownerId"`
	MaintainerId string          `json:"_maintainerId"`
	Links        map[string]Link `json:"_links"`
	Description  *string         `json:"description,omitempty"`
	Stages       []StageOutput   `json:"stages,omitempty"`
}

WorkflowTemplateOutput struct for WorkflowTemplateOutput

func NewWorkflowTemplateOutput ¶

func NewWorkflowTemplateOutput(id string, key string, creationDate int64, ownerId string, maintainerId string, links map[string]Link) *WorkflowTemplateOutput

NewWorkflowTemplateOutput instantiates a new WorkflowTemplateOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWorkflowTemplateOutputWithDefaults ¶

func NewWorkflowTemplateOutputWithDefaults() *WorkflowTemplateOutput

NewWorkflowTemplateOutputWithDefaults instantiates a new WorkflowTemplateOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WorkflowTemplateOutput) GetCreationDate ¶

func (o *WorkflowTemplateOutput) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*WorkflowTemplateOutput) GetCreationDateOk ¶

func (o *WorkflowTemplateOutput) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field value and a boolean to check if the value has been set.

func (*WorkflowTemplateOutput) GetDescription ¶

func (o *WorkflowTemplateOutput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*WorkflowTemplateOutput) GetDescriptionOk ¶

func (o *WorkflowTemplateOutput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkflowTemplateOutput) GetId ¶

func (o *WorkflowTemplateOutput) GetId() string

GetId returns the Id field value

func (*WorkflowTemplateOutput) GetIdOk ¶

func (o *WorkflowTemplateOutput) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*WorkflowTemplateOutput) GetKey ¶

func (o *WorkflowTemplateOutput) GetKey() string

GetKey returns the Key field value

func (*WorkflowTemplateOutput) GetKeyOk ¶

func (o *WorkflowTemplateOutput) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (o *WorkflowTemplateOutput) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*WorkflowTemplateOutput) GetLinksOk ¶

func (o *WorkflowTemplateOutput) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*WorkflowTemplateOutput) GetMaintainerId ¶

func (o *WorkflowTemplateOutput) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value

func (*WorkflowTemplateOutput) GetMaintainerIdOk ¶

func (o *WorkflowTemplateOutput) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value and a boolean to check if the value has been set.

func (*WorkflowTemplateOutput) GetName ¶

func (o *WorkflowTemplateOutput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*WorkflowTemplateOutput) GetNameOk ¶

func (o *WorkflowTemplateOutput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkflowTemplateOutput) GetOwnerId ¶

func (o *WorkflowTemplateOutput) GetOwnerId() string

GetOwnerId returns the OwnerId field value

func (*WorkflowTemplateOutput) GetOwnerIdOk ¶

func (o *WorkflowTemplateOutput) GetOwnerIdOk() (*string, bool)

GetOwnerIdOk returns a tuple with the OwnerId field value and a boolean to check if the value has been set.

func (*WorkflowTemplateOutput) GetStages ¶

func (o *WorkflowTemplateOutput) GetStages() []StageOutput

GetStages returns the Stages field value if set, zero value otherwise.

func (*WorkflowTemplateOutput) GetStagesOk ¶

func (o *WorkflowTemplateOutput) GetStagesOk() ([]StageOutput, bool)

GetStagesOk returns a tuple with the Stages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkflowTemplateOutput) HasDescription ¶

func (o *WorkflowTemplateOutput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*WorkflowTemplateOutput) HasName ¶

func (o *WorkflowTemplateOutput) HasName() bool

HasName returns a boolean if a field has been set.

func (*WorkflowTemplateOutput) HasStages ¶

func (o *WorkflowTemplateOutput) HasStages() bool

HasStages returns a boolean if a field has been set.

func (WorkflowTemplateOutput) MarshalJSON ¶

func (o WorkflowTemplateOutput) MarshalJSON() ([]byte, error)

func (*WorkflowTemplateOutput) SetCreationDate ¶

func (o *WorkflowTemplateOutput) SetCreationDate(v int64)

SetCreationDate sets field value

func (*WorkflowTemplateOutput) SetDescription ¶

func (o *WorkflowTemplateOutput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*WorkflowTemplateOutput) SetId ¶

func (o *WorkflowTemplateOutput) SetId(v string)

SetId sets field value

func (*WorkflowTemplateOutput) SetKey ¶

func (o *WorkflowTemplateOutput) SetKey(v string)

SetKey sets field value

func (o *WorkflowTemplateOutput) SetLinks(v map[string]Link)

SetLinks sets field value

func (*WorkflowTemplateOutput) SetMaintainerId ¶

func (o *WorkflowTemplateOutput) SetMaintainerId(v string)

SetMaintainerId sets field value

func (*WorkflowTemplateOutput) SetName ¶

func (o *WorkflowTemplateOutput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*WorkflowTemplateOutput) SetOwnerId ¶

func (o *WorkflowTemplateOutput) SetOwnerId(v string)

SetOwnerId sets field value

func (*WorkflowTemplateOutput) SetStages ¶

func (o *WorkflowTemplateOutput) SetStages(v []StageOutput)

SetStages gets a reference to the given []StageOutput and assigns it to the Stages field.

type WorkflowTemplateParameter ¶

type WorkflowTemplateParameter struct {
	Id *string `json:"_id,omitempty"`
	// The path of the property to parameterize, relative to its parent condition or instruction
	Path    *string           `json:"path,omitempty"`
	Default *ParameterDefault `json:"default,omitempty"`
	// Whether the default value is valid for the target flag and environment
	Valid *bool `json:"valid,omitempty"`
}

WorkflowTemplateParameter struct for WorkflowTemplateParameter

func NewWorkflowTemplateParameter ¶

func NewWorkflowTemplateParameter() *WorkflowTemplateParameter

NewWorkflowTemplateParameter instantiates a new WorkflowTemplateParameter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWorkflowTemplateParameterWithDefaults ¶

func NewWorkflowTemplateParameterWithDefaults() *WorkflowTemplateParameter

NewWorkflowTemplateParameterWithDefaults instantiates a new WorkflowTemplateParameter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WorkflowTemplateParameter) GetDefault ¶

GetDefault returns the Default field value if set, zero value otherwise.

func (*WorkflowTemplateParameter) GetDefaultOk ¶

func (o *WorkflowTemplateParameter) GetDefaultOk() (*ParameterDefault, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkflowTemplateParameter) GetId ¶

func (o *WorkflowTemplateParameter) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*WorkflowTemplateParameter) GetIdOk ¶

func (o *WorkflowTemplateParameter) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkflowTemplateParameter) GetPath ¶

func (o *WorkflowTemplateParameter) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*WorkflowTemplateParameter) GetPathOk ¶

func (o *WorkflowTemplateParameter) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkflowTemplateParameter) GetValid ¶

func (o *WorkflowTemplateParameter) GetValid() bool

GetValid returns the Valid field value if set, zero value otherwise.

func (*WorkflowTemplateParameter) GetValidOk ¶

func (o *WorkflowTemplateParameter) GetValidOk() (*bool, bool)

GetValidOk returns a tuple with the Valid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkflowTemplateParameter) HasDefault ¶

func (o *WorkflowTemplateParameter) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*WorkflowTemplateParameter) HasId ¶

func (o *WorkflowTemplateParameter) HasId() bool

HasId returns a boolean if a field has been set.

func (*WorkflowTemplateParameter) HasPath ¶

func (o *WorkflowTemplateParameter) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*WorkflowTemplateParameter) HasValid ¶

func (o *WorkflowTemplateParameter) HasValid() bool

HasValid returns a boolean if a field has been set.

func (WorkflowTemplateParameter) MarshalJSON ¶

func (o WorkflowTemplateParameter) MarshalJSON() ([]byte, error)

func (*WorkflowTemplateParameter) SetDefault ¶

SetDefault gets a reference to the given ParameterDefault and assigns it to the Default field.

func (*WorkflowTemplateParameter) SetId ¶

func (o *WorkflowTemplateParameter) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*WorkflowTemplateParameter) SetPath ¶

func (o *WorkflowTemplateParameter) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*WorkflowTemplateParameter) SetValid ¶

func (o *WorkflowTemplateParameter) SetValid(v bool)

SetValid gets a reference to the given bool and assigns it to the Valid field.

type WorkflowTemplatesApiService ¶

type WorkflowTemplatesApiService service

WorkflowTemplatesApiService WorkflowTemplatesApi service

func (*WorkflowTemplatesApiService) CreateWorkflowTemplate ¶

CreateWorkflowTemplate Create workflow template

Create a template for a feature flag workflow

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateWorkflowTemplateRequest

func (*WorkflowTemplatesApiService) CreateWorkflowTemplateExecute ¶

Execute executes the request

@return WorkflowTemplateOutput

func (*WorkflowTemplatesApiService) DeleteWorkflowTemplate ¶

func (a *WorkflowTemplatesApiService) DeleteWorkflowTemplate(ctx context.Context, templateKey string) ApiDeleteWorkflowTemplateRequest

DeleteWorkflowTemplate Delete workflow template

Delete a workflow template

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param templateKey The template key
@return ApiDeleteWorkflowTemplateRequest

func (*WorkflowTemplatesApiService) DeleteWorkflowTemplateExecute ¶

func (a *WorkflowTemplatesApiService) DeleteWorkflowTemplateExecute(r ApiDeleteWorkflowTemplateRequest) (*http.Response, error)

Execute executes the request

func (*WorkflowTemplatesApiService) GetWorkflowTemplates ¶

GetWorkflowTemplates Get workflow templates

Get workflow templates belonging to an account, or can optionally return templates_endpoints.workflowTemplateSummariesListingOutputRep when summary query param is true

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetWorkflowTemplatesRequest

func (*WorkflowTemplatesApiService) GetWorkflowTemplatesExecute ¶

Execute executes the request

@return WorkflowTemplatesListingOutputRep

type WorkflowTemplatesListingOutputRep ¶

type WorkflowTemplatesListingOutputRep struct {
	Items []WorkflowTemplateOutput `json:"items"`
}

WorkflowTemplatesListingOutputRep struct for WorkflowTemplatesListingOutputRep

func NewWorkflowTemplatesListingOutputRep ¶

func NewWorkflowTemplatesListingOutputRep(items []WorkflowTemplateOutput) *WorkflowTemplatesListingOutputRep

NewWorkflowTemplatesListingOutputRep instantiates a new WorkflowTemplatesListingOutputRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWorkflowTemplatesListingOutputRepWithDefaults ¶

func NewWorkflowTemplatesListingOutputRepWithDefaults() *WorkflowTemplatesListingOutputRep

NewWorkflowTemplatesListingOutputRepWithDefaults instantiates a new WorkflowTemplatesListingOutputRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WorkflowTemplatesListingOutputRep) GetItems ¶

GetItems returns the Items field value

func (*WorkflowTemplatesListingOutputRep) GetItemsOk ¶

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (WorkflowTemplatesListingOutputRep) MarshalJSON ¶

func (o WorkflowTemplatesListingOutputRep) MarshalJSON() ([]byte, error)

func (*WorkflowTemplatesListingOutputRep) SetItems ¶

SetItems sets field value

type WorkflowsApiService ¶

type WorkflowsApiService service

WorkflowsApiService WorkflowsApi service

func (*WorkflowsApiService) DeleteWorkflow ¶

func (a *WorkflowsApiService) DeleteWorkflow(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, workflowId string) ApiDeleteWorkflowRequest

DeleteWorkflow Delete workflow

Delete a workflow from a feature flag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param workflowId The workflow id
@return ApiDeleteWorkflowRequest

func (*WorkflowsApiService) DeleteWorkflowExecute ¶

func (a *WorkflowsApiService) DeleteWorkflowExecute(r ApiDeleteWorkflowRequest) (*http.Response, error)

Execute executes the request

func (*WorkflowsApiService) GetCustomWorkflow ¶

func (a *WorkflowsApiService) GetCustomWorkflow(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, workflowId string) ApiGetCustomWorkflowRequest

GetCustomWorkflow Get custom workflow

Get a specific workflow by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param workflowId The workflow ID
@return ApiGetCustomWorkflowRequest

func (*WorkflowsApiService) GetCustomWorkflowExecute ¶

Execute executes the request

@return CustomWorkflowOutput

func (*WorkflowsApiService) GetWorkflows ¶

func (a *WorkflowsApiService) GetWorkflows(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string) ApiGetWorkflowsRequest

GetWorkflows Get workflows

Display workflows associated with a feature flag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@return ApiGetWorkflowsRequest

func (*WorkflowsApiService) GetWorkflowsExecute ¶

Execute executes the request

@return CustomWorkflowsListingOutput

func (*WorkflowsApiService) PostWorkflow ¶

func (a *WorkflowsApiService) PostWorkflow(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string) ApiPostWorkflowRequest

PostWorkflow Create workflow

Create a workflow for a feature flag. You can create a workflow directly, or you can apply a template to create a new workflow.

### Creating a workflow

You can use the create workflow endpoint to create a workflow directly by adding a `stages` array to the request body.

For each stage, define the `name`, `conditions` when the stage should be executed, and `action` that describes the stage.

<details> <summary>Click to expand example</summary>

_Example request body_ ```json

{
  "name": "Progressive rollout starting in two days",
  "description": "Turn flag targeting on and increase feature rollout in 10% increments each day",
  "stages": [
    {
      "name": "10% rollout on day 1",
      "conditions": [
        {
          "kind": "schedule",
          "scheduleKind": "relative", // or "absolute"
              //  If "scheduleKind" is "absolute", set "executionDate";
              // "waitDuration" and "waitDurationUnit" will be ignored
          "waitDuration": 2,
          "waitDurationUnit": "calendarDay"
        },
        {
          "kind": "ld-approval",
          "notifyMemberIds": [ "507f1f77bcf86cd799439011" ],
          "notifyTeamKeys": [ "team-key-123abc" ]
        }
      ],
      "action": {
        "instructions": [
          {
            "kind": "turnFlagOn"
          },
          {
            "kind": "updateFallthroughVariationOrRollout",
            "rolloutWeights": {
              "452f5fb5-7320-4ba3-81a1-8f4324f79d49": 90000,
              "fc15f6a4-05d3-4aa4-a997-446be461345d": 10000
            }
          }
        ]
      }
    }
  ]
}

``` </details>

### Creating a workflow by applying a workflow template

You can also create a workflow by applying a workflow template. If you pass a valid workflow template key as the `templateKey` query parameter with the request, the API will attempt to create a new workflow with the stages defined in the workflow template with the corresponding key.

#### Applicability of stages Templates are created in the context of a particular flag in a particular environment in a particular project. However, because workflows created from a template can be applied to any project, environment, and flag, some steps of the workflow may need to be updated in order to be applicable for the target resource.

You can pass a `dryRun` query parameter to tell the API to return a report of which steps of the workflow template are applicable in the target project/environment/flag, and which will need to be updated. When the `dryRun` query parameter is present the response body includes a `meta` property that holds a list of parameters that could potentially be inapplicable for the target resource. Each of these parameters will include a `valid` field. You will need to update any invalid parameters in order to create the new workflow. You can do this using the `parameters` property, which overrides the workflow template parameters.

#### Overriding template parameters You can use the `parameters` property in the request body to tell the API to override the specified workflow template parameters with new values that are specific to your target project/environment/flag.

<details> <summary>Click to expand example</summary>

_Example request body_ ```json

{
	"name": "workflow created from my-template",
	"description": "description of my workflow",
	"parameters": [
		{
			"_id": "62cf2bc4cadbeb7697943f3b",
			"path": "/clauses/0/values",
			"default": {
				"value": ["updated-segment"]
			}
		},
		{
			"_id": "62cf2bc4cadbeb7697943f3d",
			"path": "/variationId",
			"default": {
				"value": "abcd1234-abcd-1234-abcd-1234abcd12"
			}
		}
	]
}

``` </details>

If there are any steps in the template that are not applicable to the target resource, the workflow will not be created, and the `meta` property will be included in the response body detailing which parameters need to be updated.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@return ApiPostWorkflowRequest

func (*WorkflowsApiService) PostWorkflowExecute ¶

Execute executes the request

@return CustomWorkflowOutput

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL