ldapi

package module
v11.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

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

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, PUT, and REPORT 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

The API also supports 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 users.

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

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, users, 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: 11
  • 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 GetEvaluationsUsage Get /api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey} Get evaluations usage
AccountUsageBetaApi GetEventsUsage Get /api/v2/usage/events/{type} Get events 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 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
ApprovalsApi DeleteApprovalRequest Delete /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id} Delete approval request
ApprovalsApi GetApprovalForFlag Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id} Get approval request for a flag
ApprovalsApi GetApprovalsForFlag Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests List approval requests for a flag
ApprovalsApi PostApprovalRequest Post /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests Create approval request
ApprovalsApi PostApprovalRequestApplyRequest Post /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/apply Apply approval request
ApprovalsApi PostApprovalRequestReview Post /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/reviews Review approval request
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 feature flag 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
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 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 ResetExperiment Delete /api/v2/flags/{projectKey}/{featureFlagKey}/experiments/{environmentKey}/{metricKey}/results Reset experiment results
FeatureFlagsApi CopyFeatureFlag Post /api/v2/flags/{projectKey}/{featureFlagKey}/copy Copy feature flag
FeatureFlagsApi DeleteFeatureFlag Delete /api/v2/flags/{projectKey}/{featureFlagKey} Delete 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 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
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
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
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
OAuth2ClientsBetaApi CreateOAuth2Client Post /api/v2/oauth/clients Create a LaunchDarkly OAuth 2.0 client
OAuth2ClientsBetaApi DeleteOAuthClient Delete /api/v2/oauth/clients/{clientId} Delete OAuth 2.0 client
OAuth2ClientsBetaApi GetOAuthClientById Get /api/v2/oauth/clients/{clientId} Get client by ID
OAuth2ClientsBetaApi GetOAuthClients Get /api/v2/oauth/clients Get clients
OAuth2ClientsBetaApi 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
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 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 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 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 UpdateBigSegmentTargets Post /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/users Update 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
WorkflowTemplatesBetaApi CreateWorkflowTemplate Post /api/v2/templates Create workflow template
WorkflowTemplatesBetaApi DeleteWorkflowTemplate Delete /api/v2/templates/{templateKey} Delete workflow template
WorkflowTemplatesBetaApi GetWorkflowTemplates Get /api/v2/templates Get workflow templates
WorkflowsBetaApi DeleteWorkflow Delete /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId} Delete workflow
WorkflowsBetaApi GetCustomWorkflow Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId} Get custom workflow
WorkflowsBetaApi GetWorkflows Get /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows Get workflows
WorkflowsBetaApi 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

	ApprovalsApi *ApprovalsApiService

	AuditLogApi *AuditLogApiService

	CodeReferencesApi *CodeReferencesApiService

	CustomRolesApi *CustomRolesApiService

	DataExportDestinationsApi *DataExportDestinationsApiService

	EnvironmentsApi *EnvironmentsApiService

	ExperimentsBetaApi *ExperimentsBetaApiService

	FeatureFlagsApi *FeatureFlagsApiService

	FeatureFlagsBetaApi *FeatureFlagsBetaApiService

	FlagLinksBetaApi *FlagLinksBetaApiService

	FlagTriggersApi *FlagTriggersApiService

	FollowFlagsApi *FollowFlagsApiService

	IntegrationAuditLogSubscriptionsApi *IntegrationAuditLogSubscriptionsApiService

	IntegrationDeliveryConfigurationsBetaApi *IntegrationDeliveryConfigurationsBetaApiService

	MetricsApi *MetricsApiService

	OAuth2ClientsBetaApi *OAuth2ClientsBetaApiService

	OtherApi *OtherApiService

	ProjectsApi *ProjectsApiService

	RelayProxyConfigurationsApi *RelayProxyConfigurationsApiService

	ScheduledChangesApi *ScheduledChangesApiService

	SegmentsApi *SegmentsApiService

	SegmentsBetaApi *SegmentsBetaApiService

	TagsApi *TagsApiService

	TeamsApi *TeamsApiService

	TeamsBetaApi *TeamsBetaApiService

	UserSettingsApi *UserSettingsApiService

	UsersApi *UsersApiService

	UsersBetaApi *UsersBetaApiService

	WebhooksApi *WebhooksApiService

	WorkflowTemplatesBetaApi *WorkflowTemplatesBetaApiService

	WorkflowsBetaApi *WorkflowsBetaApiService
	// 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"`
	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"`
	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. The request should be a valid JSON Patch document describing the changes to be made to the access token.

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

  • 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. The request should be a valid JSON Patch document describing the changes to be made to the member.

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>`. Using `/0` appends to the beginning 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"
  }
]

```

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

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

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

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.

#### 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.

#### 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.

#### 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.

#### 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.

@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) 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) 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.

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

@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`.

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

type ApiCreateOAuth2ClientRequest struct {
	ApiService *OAuth2ClientsBetaApiService
	// 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 *WorkflowTemplatesBetaApiService
	// contains filtered or unexported fields
}

func (ApiCreateWorkflowTemplateRequest) CreateWorkflowTemplateInput ¶

func (r ApiCreateWorkflowTemplateRequest) CreateWorkflowTemplateInput(createWorkflowTemplateInput CreateWorkflowTemplateInput) ApiCreateWorkflowTemplateRequest

func (ApiCreateWorkflowTemplateRequest) Execute ¶

type ApiDeleteApprovalRequestRequest ¶

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

func (ApiDeleteApprovalRequestRequest) 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 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 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 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 *OAuth2ClientsBetaApiService
	// 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 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 *WorkflowsBetaApiService
	// contains filtered or unexported fields
}

func (ApiDeleteWorkflowRequest) Execute ¶

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

type ApiDeleteWorkflowTemplateRequest ¶

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

func (ApiDeleteWorkflowTemplateRequest) Execute ¶

type ApiGetAllWebhooksRequest ¶

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

func (ApiGetAllWebhooksRequest) Execute ¶

type ApiGetApprovalForFlagRequest ¶

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

func (ApiGetApprovalForFlagRequest) Execute ¶

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.

func (ApiGetAuditLogEntriesRequest) Q ¶

Text to search for. You can search for the full or partial name of the resource, or full or partial email address of the member who made a change.

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 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 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 *WorkflowsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetCustomWorkflowRequest) Execute ¶

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

type ApiGetExperimentResultsRequest ¶

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

func (ApiGetExperimentResultsRequest) Execute ¶

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

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

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

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 ¶

A boolean to filter the list to archived flags. When this is absent, only unarchived flags will be returned

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) 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 in API version &gt;&#x3D; 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary&#x3D;0 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 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 ApiGetFollowersByProjEnvRequest ¶

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

func (ApiGetFollowersByProjEnvRequest) Execute ¶

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

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 *OAuth2ClientsBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetOAuthClientByIdRequest) Execute ¶

type ApiGetOAuthClientsRequest ¶

type ApiGetOAuthClientsRequest struct {
	ApiService *OAuth2ClientsBetaApiService
	// 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 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 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() (*map[string]Link, *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 ¶

Specifies the first item to return in the collection

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

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) 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) 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 *WorkflowTemplatesBetaApiService
	// contains filtered or unexported fields
}

func (ApiGetWorkflowTemplatesRequest) Execute ¶

func (ApiGetWorkflowTemplatesRequest) Search ¶

The substring in either the name or description of a template

type ApiGetWorkflowsRequest ¶

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

func (ApiGetWorkflowsRequest) Execute ¶

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 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 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 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 *OAuth2ClientsBetaApiService
	// 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 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 ApiPostApprovalRequestApplyRequestRequest ¶

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

func (ApiPostApprovalRequestApplyRequestRequest) Execute ¶

func (ApiPostApprovalRequestApplyRequestRequest) PostApprovalRequestApplyRequest ¶

func (r ApiPostApprovalRequestApplyRequestRequest) PostApprovalRequestApplyRequest(postApprovalRequestApplyRequest PostApprovalRequestApplyRequest) ApiPostApprovalRequestApplyRequestRequest

type ApiPostApprovalRequestRequest ¶

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

func (ApiPostApprovalRequestRequest) CreateFlagConfigApprovalRequestRequest ¶

func (r ApiPostApprovalRequestRequest) CreateFlagConfigApprovalRequestRequest(createFlagConfigApprovalRequestRequest CreateFlagConfigApprovalRequestRequest) ApiPostApprovalRequestRequest

func (ApiPostApprovalRequestRequest) Execute ¶

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 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 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 *WorkflowsBetaApiService
	// contains filtered or unexported fields
}

func (ApiPostWorkflowRequest) CustomWorkflowInput ¶

func (r ApiPostWorkflowRequest) CustomWorkflowInput(customWorkflowInput CustomWorkflowInput) ApiPostWorkflowRequest

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

type ApiResetExperimentRequest ¶

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

func (ApiResetExperimentRequest) Execute ¶

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

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

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

func (ApiUpdateBigSegmentTargetsRequest) Execute ¶

func (ApiUpdateBigSegmentTargetsRequest) SegmentUserState ¶

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

type ApprovalConditionInput struct {
	Description     *string  `json:"description,omitempty"`
	NotifyMemberIds []string `json:"notifyMemberIds,omitempty"`
	NotifyTeamKeys  []string `json:"notifyTeamKeys,omitempty"`
}

ApprovalConditionInput struct for ApprovalConditionInput

func NewApprovalConditionInput ¶

func NewApprovalConditionInput() *ApprovalConditionInput

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

func NewApprovalConditionInputWithDefaults ¶

func NewApprovalConditionInputWithDefaults() *ApprovalConditionInput

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

func (*ApprovalConditionInput) GetDescription ¶

func (o *ApprovalConditionInput) GetDescription() string

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

func (*ApprovalConditionInput) GetDescriptionOk ¶

func (o *ApprovalConditionInput) 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 (*ApprovalConditionInput) GetNotifyMemberIds ¶

func (o *ApprovalConditionInput) GetNotifyMemberIds() []string

GetNotifyMemberIds returns the NotifyMemberIds field value if set, zero value otherwise.

func (*ApprovalConditionInput) GetNotifyMemberIdsOk ¶

func (o *ApprovalConditionInput) 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 (*ApprovalConditionInput) GetNotifyTeamKeys ¶

func (o *ApprovalConditionInput) GetNotifyTeamKeys() []string

GetNotifyTeamKeys returns the NotifyTeamKeys field value if set, zero value otherwise.

func (*ApprovalConditionInput) GetNotifyTeamKeysOk ¶

func (o *ApprovalConditionInput) 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 (*ApprovalConditionInput) HasDescription ¶

func (o *ApprovalConditionInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ApprovalConditionInput) HasNotifyMemberIds ¶

func (o *ApprovalConditionInput) HasNotifyMemberIds() bool

HasNotifyMemberIds returns a boolean if a field has been set.

func (*ApprovalConditionInput) HasNotifyTeamKeys ¶

func (o *ApprovalConditionInput) HasNotifyTeamKeys() bool

HasNotifyTeamKeys returns a boolean if a field has been set.

func (ApprovalConditionInput) MarshalJSON ¶

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

func (*ApprovalConditionInput) SetDescription ¶

func (o *ApprovalConditionInput) SetDescription(v string)

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

func (*ApprovalConditionInput) SetNotifyMemberIds ¶

func (o *ApprovalConditionInput) SetNotifyMemberIds(v []string)

SetNotifyMemberIds gets a reference to the given []string and assigns it to the NotifyMemberIds field.

func (*ApprovalConditionInput) SetNotifyTeamKeys ¶

func (o *ApprovalConditionInput) SetNotifyTeamKeys(v []string)

SetNotifyTeamKeys gets a reference to the given []string and assigns it to the NotifyTeamKeys field.

type ApprovalConditionOutput ¶

type ApprovalConditionOutput struct {
	Description     string         `json:"description"`
	NotifyMemberIds []string       `json:"notifyMemberIds"`
	AllReviews      []ReviewOutput `json:"allReviews"`
	ReviewStatus    string         `json:"reviewStatus"`
	AppliedDate     *int64         `json:"appliedDate,omitempty"`
}

ApprovalConditionOutput struct for ApprovalConditionOutput

func NewApprovalConditionOutput ¶

func NewApprovalConditionOutput(description string, notifyMemberIds []string, allReviews []ReviewOutput, reviewStatus string) *ApprovalConditionOutput

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

func NewApprovalConditionOutputWithDefaults ¶

func NewApprovalConditionOutputWithDefaults() *ApprovalConditionOutput

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

func (*ApprovalConditionOutput) GetAllReviews ¶

func (o *ApprovalConditionOutput) GetAllReviews() []ReviewOutput

GetAllReviews returns the AllReviews field value

func (*ApprovalConditionOutput) GetAllReviewsOk ¶

func (o *ApprovalConditionOutput) GetAllReviewsOk() ([]ReviewOutput, bool)

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

func (*ApprovalConditionOutput) GetAppliedDate ¶

func (o *ApprovalConditionOutput) GetAppliedDate() int64

GetAppliedDate returns the AppliedDate field value if set, zero value otherwise.

func (*ApprovalConditionOutput) GetAppliedDateOk ¶

func (o *ApprovalConditionOutput) 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 (*ApprovalConditionOutput) GetDescription ¶

func (o *ApprovalConditionOutput) GetDescription() string

GetDescription returns the Description field value

func (*ApprovalConditionOutput) GetDescriptionOk ¶

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

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

func (*ApprovalConditionOutput) GetNotifyMemberIds ¶

func (o *ApprovalConditionOutput) GetNotifyMemberIds() []string

GetNotifyMemberIds returns the NotifyMemberIds field value

func (*ApprovalConditionOutput) GetNotifyMemberIdsOk ¶

func (o *ApprovalConditionOutput) GetNotifyMemberIdsOk() ([]string, bool)

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

func (*ApprovalConditionOutput) GetReviewStatus ¶

func (o *ApprovalConditionOutput) GetReviewStatus() string

GetReviewStatus returns the ReviewStatus field value

func (*ApprovalConditionOutput) GetReviewStatusOk ¶

func (o *ApprovalConditionOutput) GetReviewStatusOk() (*string, bool)

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

func (*ApprovalConditionOutput) HasAppliedDate ¶

func (o *ApprovalConditionOutput) HasAppliedDate() bool

HasAppliedDate returns a boolean if a field has been set.

func (ApprovalConditionOutput) MarshalJSON ¶

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

func (*ApprovalConditionOutput) SetAllReviews ¶

func (o *ApprovalConditionOutput) SetAllReviews(v []ReviewOutput)

SetAllReviews sets field value

func (*ApprovalConditionOutput) SetAppliedDate ¶

func (o *ApprovalConditionOutput) SetAppliedDate(v int64)

SetAppliedDate gets a reference to the given int64 and assigns it to the AppliedDate field.

func (*ApprovalConditionOutput) SetDescription ¶

func (o *ApprovalConditionOutput) SetDescription(v string)

SetDescription sets field value

func (*ApprovalConditionOutput) SetNotifyMemberIds ¶

func (o *ApprovalConditionOutput) SetNotifyMemberIds(v []string)

SetNotifyMemberIds sets field value

func (*ApprovalConditionOutput) SetReviewStatus ¶

func (o *ApprovalConditionOutput) SetReviewStatus(v string)

SetReviewStatus 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, projectKey string, featureFlagKey string, environmentKey string, id string) ApiDeleteApprovalRequestRequest

DeleteApprovalRequest Delete approval request

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 ApiDeleteApprovalRequestRequest

func (*ApprovalsApiService) DeleteApprovalRequestExecute ¶

func (a *ApprovalsApiService) DeleteApprovalRequestExecute(r ApiDeleteApprovalRequestRequest) (*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) 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 ¶

func (a *ApprovalsApiService) PostApprovalRequest(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string) ApiPostApprovalRequestRequest

PostApprovalRequest Create approval request

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 ApiPostApprovalRequestRequest

func (*ApprovalsApiService) PostApprovalRequestApplyRequest ¶

func (a *ApprovalsApiService) PostApprovalRequestApplyRequest(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, id string) ApiPostApprovalRequestApplyRequestRequest

PostApprovalRequestApplyRequest 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 projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param id The feature flag approval request ID
@return ApiPostApprovalRequestApplyRequestRequest

func (*ApprovalsApiService) PostApprovalRequestApplyRequestExecute ¶

Execute executes the request

@return FlagConfigApprovalRequestResponse

func (*ApprovalsApiService) PostApprovalRequestExecute ¶

Execute executes the request

@return FlagConfigApprovalRequestResponse

func (*ApprovalsApiService) PostApprovalRequestReview ¶

func (a *ApprovalsApiService) PostApprovalRequestReview(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, 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 projectKey The project key
@param featureFlagKey The feature flag key
@param environmentKey The environment key
@param id The feature flag approval request ID
@return ApiPostApprovalRequestReviewRequest

func (*ApprovalsApiService) PostApprovalRequestReviewExecute ¶

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

type AuditLogApiService service

AuditLogApiService AuditLogApi service

func (*AuditLogApiService) GetAuditLogEntries ¶

GetAuditLogEntries List audit log feature flag 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.

@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   *TokenDataRep         `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() TokenDataRep

GetToken returns the Token field value if set, zero value otherwise.

func (*AuditLogEntryListingRep) GetTokenOk ¶

func (o *AuditLogEntryListingRep) GetTokenOk() (*TokenDataRep, 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 TokenDataRep)

SetToken gets a reference to the given TokenDataRep 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   *TokenDataRep         `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() TokenDataRep

GetToken returns the Token field value if set, zero value otherwise.

func (*AuditLogEntryRep) GetTokenOk ¶

func (o *AuditLogEntryRep) GetTokenOk() (*TokenDataRep, 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 TokenDataRep)

SetToken gets a reference to the given TokenDataRep 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 BigSegmentTarget ¶

type BigSegmentTarget struct {
	// The user key
	UserKey string `json:"userKey"`
	// Indicates whether the user is included.<br />Included users are always segment members, regardless of segment rules.
	Included bool `json:"included"`
	// Indicates whether the user is excluded.<br />Segment rules bypass excluded users, so they will never be included based on rules. Excluded users 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 {
	TrueDisplayName  *string `json:"trueDisplayName,omitempty"`
	FalseDisplayName *string `json:"falseDisplayName,omitempty"`
	TrueDescription  *string `json:"trueDescription,omitempty"`
	FalseDescription *string `json:"falseDescription,omitempty"`
	OnVariation      *int32  `json:"onVariation,omitempty"`
	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 {
	TrueDisplayName  string `json:"trueDisplayName"`
	FalseDisplayName string `json:"falseDisplayName"`
	TrueDescription  string `json:"trueDescription"`
	FalseDescription string `json:"falseDescription"`
	OnVariation      int32  `json:"onVariation"`
	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"`
	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) 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) 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) 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. The request must be a valid JSON Patch document describing the changes to be made to the repository.

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

type ConditionBaseOutput struct {
	Id        string          `json:"_id"`
	Kind      *string         `json:"kind,omitempty"`
	Execution ExecutionOutput `json:"_execution"`
}

ConditionBaseOutput struct for ConditionBaseOutput

func NewConditionBaseOutput ¶

func NewConditionBaseOutput(id string, execution ExecutionOutput) *ConditionBaseOutput

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

func NewConditionBaseOutputWithDefaults ¶

func NewConditionBaseOutputWithDefaults() *ConditionBaseOutput

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

func (*ConditionBaseOutput) GetExecution ¶

func (o *ConditionBaseOutput) GetExecution() ExecutionOutput

GetExecution returns the Execution field value

func (*ConditionBaseOutput) GetExecutionOk ¶

func (o *ConditionBaseOutput) GetExecutionOk() (*ExecutionOutput, bool)

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

func (*ConditionBaseOutput) GetId ¶

func (o *ConditionBaseOutput) GetId() string

GetId returns the Id field value

func (*ConditionBaseOutput) GetIdOk ¶

func (o *ConditionBaseOutput) GetIdOk() (*string, bool)

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

func (*ConditionBaseOutput) GetKind ¶

func (o *ConditionBaseOutput) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ConditionBaseOutput) GetKindOk ¶

func (o *ConditionBaseOutput) 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 (*ConditionBaseOutput) HasKind ¶

func (o *ConditionBaseOutput) HasKind() bool

HasKind returns a boolean if a field has been set.

func (ConditionBaseOutput) MarshalJSON ¶

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

func (*ConditionBaseOutput) SetExecution ¶

func (o *ConditionBaseOutput) SetExecution(v ExecutionOutput)

SetExecution sets field value

func (*ConditionBaseOutput) SetId ¶

func (o *ConditionBaseOutput) SetId(v string)

SetId sets field value

func (*ConditionBaseOutput) SetKind ¶

func (o *ConditionBaseOutput) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind 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"`
	Description     *string  `json:"description,omitempty"`
	NotifyMemberIds []string `json:"notifyMemberIds,omitempty"`
	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 CopiedFromEnv ¶

type CopiedFromEnv struct {
	// Key of feature flag copied
	Key     string `json:"key"`
	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 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 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 CustomRolePostData ¶

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

CustomRolePostData struct for CustomRolePostData

func NewCustomRolePostData ¶

func NewCustomRolePostData(name string, key string, policy []StatementPost) *CustomRolePostData

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

func NewCustomRolePostDataWithDefaults ¶

func NewCustomRolePostDataWithDefaults() *CustomRolePostData

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

func (*CustomRolePostData) GetBasePermissions ¶

func (o *CustomRolePostData) GetBasePermissions() string

GetBasePermissions returns the BasePermissions field value if set, zero value otherwise.

func (*CustomRolePostData) GetBasePermissionsOk ¶

func (o *CustomRolePostData) 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 (*CustomRolePostData) GetDescription ¶

func (o *CustomRolePostData) GetDescription() string

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

func (*CustomRolePostData) GetDescriptionOk ¶

func (o *CustomRolePostData) 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 (*CustomRolePostData) GetKey ¶

func (o *CustomRolePostData) GetKey() string

GetKey returns the Key field value

func (*CustomRolePostData) GetKeyOk ¶

func (o *CustomRolePostData) GetKeyOk() (*string, bool)

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

func (*CustomRolePostData) GetName ¶

func (o *CustomRolePostData) GetName() string

GetName returns the Name field value

func (*CustomRolePostData) GetNameOk ¶

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

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

func (*CustomRolePostData) GetPolicy ¶

func (o *CustomRolePostData) GetPolicy() []StatementPost

GetPolicy returns the Policy field value

func (*CustomRolePostData) GetPolicyOk ¶

func (o *CustomRolePostData) GetPolicyOk() ([]StatementPost, bool)

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

func (*CustomRolePostData) HasBasePermissions ¶

func (o *CustomRolePostData) HasBasePermissions() bool

HasBasePermissions returns a boolean if a field has been set.

func (*CustomRolePostData) HasDescription ¶

func (o *CustomRolePostData) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CustomRolePostData) MarshalJSON ¶

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

func (*CustomRolePostData) SetBasePermissions ¶

func (o *CustomRolePostData) SetBasePermissions(v string)

SetBasePermissions gets a reference to the given string and assigns it to the BasePermissions field.

func (*CustomRolePostData) SetDescription ¶

func (o *CustomRolePostData) SetDescription(v string)

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

func (*CustomRolePostData) SetKey ¶

func (o *CustomRolePostData) SetKey(v string)

SetKey sets field value

func (*CustomRolePostData) SetName ¶

func (o *CustomRolePostData) SetName(v string)

SetName sets field value

func (*CustomRolePostData) SetPolicy ¶

func (o *CustomRolePostData) 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. The request must be a valid JSON Patch document describing the changes to be made to the custom role. To add an element to the `policy` array, set the `path` to `/policy` and then append `/<array index>`. Using `/0` adds to the beginning 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,omitempty"`
	// The workflow description
	Description string `json:"description"`
	// 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(description 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

func (*CustomWorkflowInput) GetDescriptionOk ¶

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

GetDescriptionOk returns a tuple with the Description field value 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 if set, zero value otherwise.

func (*CustomWorkflowInput) GetNameOk ¶

func (o *CustomWorkflowInput) 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 (*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) HasMaintainerId ¶

func (o *CustomWorkflowInput) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

func (*CustomWorkflowInput) HasName ¶

func (o *CustomWorkflowInput) HasName() bool

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

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 gets a reference to the given string and assigns it to the Name field.

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 {
	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 {
	Index *int32  `json:"index,omitempty"`
	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. This requires a JSON Patch representation of the modified destination.

@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 users in mParticle * `anonymousUserIdentity`: The type of identifier you use to identify your anonymous 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 Database ¶

type Database struct {
	Id        *string `json:"Id,omitempty"`
	Label     *string `json:"Label,omitempty"`
	StartTime *int64  `json:"StartTime,omitempty"`
	Tracked   *bool   `json:"Tracked,omitempty"`
}

Database struct for Database

func NewDatabase ¶

func NewDatabase() *Database

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

func NewDatabaseWithDefaults ¶

func NewDatabaseWithDefaults() *Database

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

func (*Database) GetId ¶

func (o *Database) GetId() string

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

func (*Database) GetIdOk ¶

func (o *Database) 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 (*Database) GetLabel ¶

func (o *Database) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*Database) GetLabelOk ¶

func (o *Database) GetLabelOk() (*string, bool)

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

func (*Database) GetStartTime ¶

func (o *Database) GetStartTime() int64

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*Database) GetStartTimeOk ¶

func (o *Database) GetStartTimeOk() (*int64, bool)

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

func (*Database) GetTracked ¶

func (o *Database) GetTracked() bool

GetTracked returns the Tracked field value if set, zero value otherwise.

func (*Database) GetTrackedOk ¶

func (o *Database) GetTrackedOk() (*bool, bool)

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

func (*Database) HasId ¶

func (o *Database) HasId() bool

HasId returns a boolean if a field has been set.

func (*Database) HasLabel ¶

func (o *Database) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*Database) HasStartTime ¶

func (o *Database) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (*Database) HasTracked ¶

func (o *Database) HasTracked() bool

HasTracked returns a boolean if a field has been set.

func (Database) MarshalJSON ¶

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

func (*Database) SetId ¶

func (o *Database) SetId(v string)

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

func (*Database) SetLabel ¶

func (o *Database) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*Database) SetStartTime ¶

func (o *Database) SetStartTime(v int64)

SetStartTime gets a reference to the given int64 and assigns it to the StartTime field.

func (*Database) SetTracked ¶

func (o *Database) SetTracked(v bool)

SetTracked gets a reference to the given bool and assigns it to the Tracked field.

type DefaultClientSideAvailability ¶

type DefaultClientSideAvailability struct {
	UsingMobileKey     bool `json:"usingMobileKey"`
	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"`
	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, 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) 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) 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 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 Environment ¶

type Environment struct {
	// Links to other resources within the API. Includes the URL and content type of those resources
	Links map[string]Link `json:"_links"`
	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"`
	// API key to use with client-side SDKs.
	ApiKey string `json:"apiKey"`
	// API key to use with 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"`
	// Secure mode ensures that a user of the client-side SDK cannot impersonate another user.
	SecureMode bool `json:"secureMode"`
	// Enables tracking detailed information for new flags by default.
	DefaultTrackEvents bool `json:"defaultTrackEvents"`
	// Whether members who modify flags and user segments through the LaunchDarkly user interface are required to add a comment
	RequireComments bool `json:"requireComments"`
	// Whether members who modify flags and user 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"`
}

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) *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) 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) 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 a user of the client-side SDK cannot impersonate another 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"`
}

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) 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) 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) 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 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,omitempty"`
}

Environments struct for Environments

func NewEnvironments ¶

func NewEnvironments() *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 if set, zero value otherwise.

func (*Environments) GetItemsOk ¶

func (o *Environments) GetItemsOk() ([]Environment, 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 *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 (*Environments) HasItems ¶

func (o *Environments) HasItems() bool

HasItems returns a boolean if a field 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 gets a reference to the given []Environment and assigns it to the Items field.

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 `+` separate list of environment tags. It filters the list of environments that have all of the tags in the list.

For example, the 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.

### Sorting environments

LaunchDarkly supports two fields for sorting: - `name` sorts by environment name. - `createdOn` sorts by the creation date of the environment.

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. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the environment.

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

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

type ExecutionOutput struct {
	// The status of the execution of this workflow stage
	Status string `json:"status"`
}

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

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

func (*ExecutionOutput) SetStatus ¶

func (o *ExecutionOutput) SetStatus(v string)

SetStatus 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"`
	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) 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) 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) 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"`
	// A list of the results for each treatment
	TreatmentResults []TreatmentResultRep `json:"treatmentResults,omitempty"`
	MetricSeen       *MetricSeen          `json:"metricSeen,omitempty"`
	// The probability of a Sample Ratio Mismatch
	ProbabilityOfMismatch *float32 `json:"probabilityOfMismatch,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) GetTreatmentResults ¶

func (o *ExperimentBayesianResultsRep) GetTreatmentResults() []TreatmentResultRep

GetTreatmentResults returns the TreatmentResults field value if set, zero value otherwise.

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.

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

func (o *ExperimentBayesianResultsRep) SetTreatmentResults(v []TreatmentResultRep)

SetTreatmentResults gets a reference to the given []TreatmentResultRep and assigns it to the TreatmentResults field.

type ExperimentCollectionRep ¶

type ExperimentCollectionRep struct {
	// An array of experiments
	Items []Experiment `json:"items,omitempty"`
	// 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() *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 if set, zero value otherwise.

func (*ExperimentCollectionRep) GetItemsOk ¶

func (o *ExperimentCollectionRep) GetItemsOk() ([]Experiment, 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 *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 (*ExperimentCollectionRep) HasItems ¶

func (o *ExperimentCollectionRep) HasItems() bool

HasItems returns a boolean if a field 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 gets a reference to the given []Experiment and assigns it to the Items field.

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

type ExperimentExpandableProperties struct {
	DraftIteration *IterationRep `json:"draftIteration,omitempty"`
	// Details on the previous iterations for this experiment.
	PreviousIterations []IterationRep `json:"previousIterations,omitempty"`
}

ExperimentExpandableProperties struct for ExperimentExpandableProperties

func NewExperimentExpandableProperties ¶

func NewExperimentExpandableProperties() *ExperimentExpandableProperties

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

func NewExperimentExpandablePropertiesWithDefaults ¶

func NewExperimentExpandablePropertiesWithDefaults() *ExperimentExpandableProperties

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

func (*ExperimentExpandableProperties) GetDraftIteration ¶

func (o *ExperimentExpandableProperties) GetDraftIteration() IterationRep

GetDraftIteration returns the DraftIteration field value if set, zero value otherwise.

func (*ExperimentExpandableProperties) GetDraftIterationOk ¶

func (o *ExperimentExpandableProperties) 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 (*ExperimentExpandableProperties) GetPreviousIterations ¶

func (o *ExperimentExpandableProperties) GetPreviousIterations() []IterationRep

GetPreviousIterations returns the PreviousIterations field value if set, zero value otherwise.

func (*ExperimentExpandableProperties) GetPreviousIterationsOk ¶

func (o *ExperimentExpandableProperties) 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 (*ExperimentExpandableProperties) HasDraftIteration ¶

func (o *ExperimentExpandableProperties) HasDraftIteration() bool

HasDraftIteration returns a boolean if a field has been set.

func (*ExperimentExpandableProperties) HasPreviousIterations ¶

func (o *ExperimentExpandableProperties) HasPreviousIterations() bool

HasPreviousIterations returns a boolean if a field has been set.

func (ExperimentExpandableProperties) MarshalJSON ¶

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

func (*ExperimentExpandableProperties) SetDraftIteration ¶

func (o *ExperimentExpandableProperties) SetDraftIteration(v IterationRep)

SetDraftIteration gets a reference to the given IterationRep and assigns it to the DraftIteration field.

func (*ExperimentExpandableProperties) SetPreviousIterations ¶

func (o *ExperimentExpandableProperties) SetPreviousIterations(v []IterationRep)

SetPreviousIterations gets a reference to the given []IterationRep and assigns it to the PreviousIterations 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"`
	// The experiment key
	Key       string         `json:"key"`
	Iteration IterationInput `json:"iteration"`
}

ExperimentPost struct for ExperimentPost

func NewExperimentPost ¶

func NewExperimentPost(name string, maintainerId 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

func (*ExperimentPost) GetMaintainerIdOk ¶

func (o *ExperimentPost) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field value 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) 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 sets field value

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 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 discrete blocks of time. 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 a draft of an 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.

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

@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) 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.

@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

func (*ExperimentsBetaApiService) GetLegacyExperimentResultsExecute ¶

Execute executes the request

@return ExperimentResults

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.

#### updateDescription

Updates the experiment description.

##### Parameters

- `value`: The new description.

#### startIteration

Starts a new iteration for this experiment.

#### stopIteration

Stops the current iteration for this experiment.

##### Parameters

- `winningTreatmentId`: The ID of the winning treatment - `winningReason`: The reason for the winner

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

func (a *ExperimentsBetaApiService) ResetExperiment(ctx context.Context, projectKey string, featureFlagKey string, environmentKey string, metricKey string) ApiResetExperimentRequest

ResetExperiment Reset experiment results

Reset all experiment results by deleting all existing data for an experiment.

@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's key
@return ApiResetExperimentRequest

func (*ExperimentsBetaApiService) ResetExperimentExecute ¶

func (a *ExperimentsBetaApiService) ResetExperimentExecute(r ApiResetExperimentRequest) (*http.Response, error)

Execute executes the request

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 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 user 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 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
	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"`
	// 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"`
	Defaults     *Defaults `json:"defaults,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, 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) 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.

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.

func (*FeatureFlag) GetIncludeInSnippet ¶

func (o *FeatureFlag) GetIncludeInSnippet() bool

GetIncludeInSnippet returns the IncludeInSnippet field value if set, zero value otherwise.

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.

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

func (*FeatureFlag) SetIncludeInSnippet ¶

func (o *FeatureFlag) SetIncludeInSnippet(v bool)

SetIncludeInSnippet gets a reference to the given bool and assigns it to the IncludeInSnippet field.

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

func (o *FeatureFlag) SetName(v string)

SetName sets field value

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

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.

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.

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

func (*FeatureFlagBody) SetKey ¶

func (o *FeatureFlagBody) SetKey(v string)

SetKey sets field value

func (*FeatureFlagBody) SetName ¶

func (o *FeatureFlagBody) SetName(v string)

SetName sets field value

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 {
	On                     bool                   `json:"on"`
	Archived               bool                   `json:"archived"`
	Salt                   string                 `json:"salt"`
	Sel                    string                 `json:"sel"`
	LastModified           int64                  `json:"lastModified"`
	Version                int32                  `json:"version"`
	Targets                []Target               `json:"targets,omitempty"`
	Rules                  []Rule                 `json:"rules,omitempty"`
	Fallthrough            *VariationOrRolloutRep `json:"fallthrough,omitempty"`
	OffVariation           *int32                 `json:"offVariation,omitempty"`
	Prerequisites          []Prerequisite         `json:"prerequisites,omitempty"`
	Site                   Link                   `json:"_site"`
	Access                 *Access                `json:"_access,omitempty"`
	EnvironmentName        string                 `json:"_environmentName"`
	TrackEvents            bool                   `json:"trackEvents"`
	TrackEventsFallthrough bool                   `json:"trackEventsFallthrough"`
	DebugEventsUntilDate   *int64                 `json:"_debugEventsUntilDate,omitempty"`
	Summary                *FlagSummary           `json:"_summary,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) 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) 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) 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) HasDebugEventsUntilDate ¶

func (o *FeatureFlagConfig) HasDebugEventsUntilDate() bool

HasDebugEventsUntilDate 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) 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) 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) 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) 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,omitempty"`
	// feature flag key
	Key   *string          `json:"key,omitempty"`
	Links *map[string]Link `json:"_links,omitempty"`
}

FeatureFlagStatusAcrossEnvironments struct for FeatureFlagStatusAcrossEnvironments

func NewFeatureFlagStatusAcrossEnvironments ¶

func NewFeatureFlagStatusAcrossEnvironments() *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 if set, zero value otherwise.

func (*FeatureFlagStatusAcrossEnvironments) GetEnvironmentsOk ¶

func (o *FeatureFlagStatusAcrossEnvironments) GetEnvironmentsOk() (*map[string]FeatureFlagStatus, 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 (*FeatureFlagStatusAcrossEnvironments) GetKey ¶

GetKey returns the Key field value if set, zero value otherwise.

func (*FeatureFlagStatusAcrossEnvironments) GetKeyOk ¶

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

GetLinks returns the Links field value if set, zero value otherwise.

func (*FeatureFlagStatusAcrossEnvironments) GetLinksOk ¶

func (o *FeatureFlagStatusAcrossEnvironments) 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 (*FeatureFlagStatusAcrossEnvironments) HasEnvironments ¶

func (o *FeatureFlagStatusAcrossEnvironments) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

func (*FeatureFlagStatusAcrossEnvironments) HasKey ¶

HasKey returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (FeatureFlagStatusAcrossEnvironments) MarshalJSON ¶

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

func (*FeatureFlagStatusAcrossEnvironments) SetEnvironments ¶

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

func (*FeatureFlagStatusAcrossEnvironments) SetKey ¶

SetKey gets a reference to the given string and assigns it to the Key field.

func (o *FeatureFlagStatusAcrossEnvironments) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

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

func (a *FeatureFlagsApiService) GetExpiringUserTargets(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiGetExpiringUserTargetsRequest

GetExpiringUserTargets Get expiring user targets for feature flag

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.

@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`: the feature flag was created within the last seven days, and has not been requested yet - `active`: the feature flag was requested by your servers or clients within the last seven days - `inactive`: the feature flag was created more than seven days ago, and hasn't been requested by your servers or clients within the past seven days - `launched`: one variation of the feature flag has been rolled out to all your users for at least 7 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 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 features in the given project. By default, each feature 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.

### 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:

- `query` is a string that matches against the flags' keys and names. It is not case sensitive. - `archived` is a boolean with values of `true` or `false` that filters the list to archived flags. Setting the value to `true` returns only archived flags. When this is absent, only unarchived flags are returned. - `type` is a string allowing filtering to `temporary` or `permanent` flags. - `status` is a string allowing filtering to `new`, `inactive`, `active`, or `launched` flags in the specified environment. This filter also requires a `filterEnv` field to be set to a valid environment. For example: `filter=status:active,filterEnv:production`. - `tags` is a `+` separated list of tags. It filters the list to members who have all of the tags in the list. For example: `filter=tags:beta+test`. - `hasExperiment` is a boolean with values of `true` or `false` that returns any flags that are used in an experiment. - `hasDataExport` is a boolean with values of `true` or `false` that returns any flags that are exporting data in the specified environment. This includes flags that are exporting data from Experimentation. This filter also requires that you set a `filterEnv` field to a valid environment key. For example: `filter=hasDataExport:true,filterEnv:production` - `evaluated` is an object that contains a key of `after` and a value in Unix time in milliseconds. This returns all flags that have been evaluated since the time you specify in the environment provided. This filter also requires you to set a `filterEnv` field to a valid environment. For example: `filter=evaluated:{"after": 1590768455282},filterEnv:production`. - `filterEnv` is a string with the key of a valid environment. You can use the `filterEnv` field for filters that are environment-specific. If there are multiple environment-specific filters, you should only declare this parameter once. For example: `filter=evaluated:{"after": 1590768455282},filterEnv:production,status:active`.

By default, this 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.

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

func (a *FeatureFlagsApiService) PatchExpiringUserTargets(ctx context.Context, projectKey string, environmentKey string, featureFlagKey string) ApiPatchExpiringUserTargetsRequest

PatchExpiringUserTargets Update expiring user targets on feature flag

Schedule a user for removal from individual targeting on a feature flag. The flag must already individually target the user.

You can add, update, or remove a scheduled removal date. You can only schedule a user for removal on a single variation per flag.

This request only supports semantic patches. 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

#### 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`: The version of the flag variation to update. You can retrieve this by making a GET request for 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`: The version of the flag variation to update. You can retrieve this by making a GET request for the flag. * `userKey`: The user key for the user to remove from individual targeting

#### 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`: The version of the flag variation to update. You can retrieve this by making a GET request for the flag. * `userKey`: The user key for the user to remove from individual targeting

@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 or JSON patch.

### 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 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 feature flags.

<details> <summary>Click to expand instructions for turning flags on and off</summary>

#### turnFlagOff

Sets the flag's targeting state to **Off**.

For example, to turn a flag off, use this request body:

```json

{
  "environmentKey": "example-environment-key",
  "instructions": [ { "kind": "turnFlagOff" } ]
}

```

#### turnFlagOn

Sets the flag's targeting state to **On**.

For example, to turn a flag on, use this request body:

```json

{
  "environmentKey": "example-environment-key",
  "instructions": [ { "kind": "turnFlagOn" } ]
}

```

</details><br />

<details> <summary>Click to expand instructions for working with targeting and variations</summary>

#### 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 `attribute` (string), `op` (string), `negate` (boolean), and `values` (array of strings, numbers, or dates) properties.

#### 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.

#### 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` and `rolloutBucketBy` 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 `attribute` (string), `op` (string), `negate` (boolean), and `values` (array of strings, numbers, or dates) properties. - `beforeRuleId`: (Optional) ID of a flag rule. - `variationId`: ID of a variation of the flag. - `rolloutWeights`: Map of `variationId` to weight, in thousandths of a percent (0-100000). - `rolloutBucketBy`: (Optional) User attribute.

#### 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.

##### Parameters

- `values`: List of user keys. - `variationId`: ID of a variation on the flag.

#### addValuesToClause

Adds `values` to the values of the clause that `ruleId` and `clauseId` indicate.

##### Parameters

- `ruleId`: ID of a rule in the flag. - `clauseId`: ID of a clause in that rule. - `values`: Array of strings.

#### clearUserTargets

Removes all individual user targets from the variation that `variationId` specifies.

##### Parameters

- `variationId`: ID of a variation on the flag.

#### 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.

#### 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.

#### 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.

#### 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.

##### Parameters

- `values`: List of user keys. - `variationId`: ID of a flag variation.

#### removeValuesFromClause

Removes `values` from the values of the clause indicated by `ruleId` and `clauseId`.

##### Parameters

- `ruleId`: ID of a rule in the flag. - `clauseId`: ID of a clause in that rule. - `values`: Array of strings.

#### 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.

#### 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`.

For example, to replace prerequisites, use this request body:

```json

{
  "environmentKey": "example-environment-key",
  "instructions": [
    {
      "kind": "replacePrerequisites",
      "prerequisites": [
        {
          "key": "prereq-flag-key",
          "variationId": "variation-1"
        },
        {
          "key": "another-prereq-flag-key",
          "variationId": "variation-2"
        }
      ]
    }
  ]
}

```

#### replaceRules

Removes all targeting rules for the flag and replaces them with the list you provide.

##### Parameters

- `rules`: A list of rules.

For example, to replace rules, use this request body:

```json

{
  "environmentKey": "example-environment-key",
  "instructions": [
    {
      "kind": "replaceRules",
      "rules": [
        {
          "variationId": "variation-1",
          "description": "myRule",
          "clauses": [
            {
              "attribute": "segmentMatch",
              "op": "segmentMatch",
              "values": ["test"]
            }
          ],
          "trackEvents": true
        }
      ]
    }
  ]
}

```

#### replaceUserTargets

Removes all existing user targeting and replaces it with the list of targets you provide.

##### Parameters

- `targets`: A list of user targeting. Each item in the list must include a `variationId` and a list of `values`.

For example, to replace user targets, use this request body:

```json

{
  "environmentKey": "example-environment-key",
  "instructions": [
    {
      "kind": "replaceUserTargets",
      "targets": [
        {
          "variationId": "variation-1",
          "values": ["blah", "foo", "bar"]
        },
        {
          "variationId": "variation-2",
          "values": ["abc", "def"]
        }
      ]
    }
  ]
}

```

#### 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 `attribute` (string), `op` (string), `negate` (boolean), and `values` (array of strings, numbers, or dates) properties.

#### updateFallthroughVariationOrRollout

Updates the default or "fallthrough" rule for the flag, which the flag serves when a user matches none of the targeting rules. The rule can serve either the variation that `variationId` indicates, or a percent 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 user attribute.

#### 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.

#### 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.

#### 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.

#### 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.

#### 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 user attribute.

#### updateTrackEvents

Updates whether or not LaunchDarkly tracks events for the feature flag, for all rules.

##### Parameters

- `trackEvents`: Whether or not events are tracked.

#### updateTrackEventsFallthrough

Updates whether or not LaunchDarkly tracks events for the feature flag, for the default rule.

##### Parameters

- `trackEvents`: Whether or not events are tracked.

</details><br />

<details> <summary>Click to expand instructions for updating flag settings</summary>

#### addTags

Adds tags to the feature flag.

##### Parameters

- `values`: A list of tags to add.

#### 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 users.

#### makeFlagTemporary

Marks the feature flag as temporary.

#### removeMaintainer

Removes the flag's maintainer. To set a new maintainer, use the flag's **Settings** tab in the LaunchDarkly user interface.

#### removeTags

Removes tags from the feature flag.

##### Parameters

- `values`: A list of tags to remove.

#### 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 on availability for mobile SDKs. Use "usingEnvironmentId" to turn on availability for client-side SDKs.

#### 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.

#### updateDescription

Updates the feature flag description.

##### Parameters

- `value`: The new description.

#### updateName

Updates the feature flag name.

##### Parameters

- `value`: The new name.

</details><br />

<details> <summary>Click to expand instructions for updating the flag lifecycle</summary>

#### 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.

#### 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 users.

#### restoreFlag

Restores the feature flag if it was previously archived.

</details>

### Example

The body of a single semantic patch can contain many different instructions.

<details> <summary>Click to expand example semantic patch request body</summary>

```json

{
  "environmentKey": "production",
  "instructions": [
    {
      "kind": "turnFlagOn"
    },
    {
      "kind": "turnFlagOff"
    },
    {
      "kind": "addUserTargets",
      "variationId": "8bfb304e-d516-47e5-8727-e7f798e8992d",
      "values": ["userId", "userId2"]
    },
    {
      "kind": "removeUserTargets",
      "variationId": "8bfb304e-d516-47e5-8727-e7f798e8992d",
      "values": ["userId3", "userId4"]
    },
    {
      "kind": "updateFallthroughVariationOrRollout",
      "rolloutWeights": {
        "variationId": 50000,
        "variationId2": 50000
      },
      "rolloutBucketBy": null
    },
    {
      "kind": "addRule",
      "clauses": [
        {
          "attribute": "segmentMatch",
          "negate": false,
          "values": ["test-segment"]
        }
      ],
      "variationId": null,
      "rolloutWeights": {
        "variationId": 50000,
        "variationId2": 50000
      },
      "rolloutBucketBy": "key"
    },
    {
      "kind": "removeRule",
      "ruleId": "99f12464-a429-40fc-86cc-b27612188955"
    },
    {
      "kind": "reorderRules",
      "ruleIds": ["2f72974e-de68-4243-8dd3-739582147a1f", "8bfb304e-d516-47e5-8727-e7f798e8992d"]
    },
    {
      "kind": "addClauses",
      "ruleId": "1134",
      "clauses": [
        {
          "attribute": "email",
          "op": "in",
          "negate": false,
          "values": ["test@test.com"]
        }
      ]
    },
    {
      "kind": "removeClauses",
      "ruleId": "1242529",
      "clauseIds": ["8bfb304e-d516-47e5-8727-e7f798e8992d"]
    },
    {
      "kind": "updateClause",
      "ruleId": "2f72974e-de68-4243-8dd3-739582147a1f",
      "clauseId": "309845",
      "clause": {
        "attribute": "segmentMatch",
        "negate": false,
        "values": ["test-segment"]
      }
    },
    {
      "kind": "updateRuleVariationOrRollout",
      "ruleId": "2342",
      "rolloutWeights": null,
      "rolloutBucketBy": null
    },
    {
      "kind": "updateOffVariation",
      "variationId": "3242453"
    },
    {
      "kind": "addPrerequisite",
      "variationId": "234235",
      "key": "flagKey2"
    },
    {
      "kind": "updatePrerequisite",
      "variationId": "234235",
      "key": "flagKey2"
    },
    {
      "kind": "removePrerequisite",
      "key": "flagKey"
    }
  ]
}

``` </details>

### Using JSON Patches on a feature flag If you do not include the header described above, you can use [JSON patch](/reference#updates-using-json-patch).

When using the update feature flag endpoint to add individual users to a specific variation, there are two different patch documents, depending on whether users are already being individually targeted for the variation.

If a flag variation already has users individually targeted, the path for the JSON Patch operation is:

```json

{
  "op": "add",
  "path": "/environments/devint/targets/0/values/-",
  "value": "TestClient10"
}

```

If a flag variation does not already have users individually targeted, the path for the JSON Patch operation is:

```json [

{
  "op": "add",
  "path": "/environments/devint/targets/-",
  "value": { "variation": 0, "values": ["TestClient10"] }
}

] ```

### 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-(beta)).

### 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`.

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

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

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"`
	// 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]Link `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]Link) *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) 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]Link

GetLinks returns the Links field value

func (*FlagConfigApprovalRequestResponse) GetLinksOk ¶

func (o *FlagConfigApprovalRequestResponse) 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 (*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) 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) 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]Link)

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"`
	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 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 FlagDefaults ¶

type FlagDefaults struct {
	Tags                          []string                `json:"tags,omitempty"`
	Temporary                     *bool                   `json:"temporary,omitempty"`
	DefaultClientSideAvailability *ClientSideAvailability `json:"defaultClientSideAvailability,omitempty"`
	BooleanDefaults               *BooleanDefaults        `json:"booleanDefaults,omitempty"`
}

FlagDefaults struct for FlagDefaults

func NewFlagDefaults ¶

func NewFlagDefaults() *FlagDefaults

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

func NewFlagDefaultsWithDefaults ¶

func NewFlagDefaultsWithDefaults() *FlagDefaults

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

func (*FlagDefaults) GetBooleanDefaults ¶

func (o *FlagDefaults) GetBooleanDefaults() BooleanDefaults

GetBooleanDefaults returns the BooleanDefaults field value if set, zero value otherwise.

func (*FlagDefaults) GetBooleanDefaultsOk ¶

func (o *FlagDefaults) 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 (*FlagDefaults) GetDefaultClientSideAvailability ¶

func (o *FlagDefaults) GetDefaultClientSideAvailability() ClientSideAvailability

GetDefaultClientSideAvailability returns the DefaultClientSideAvailability field value if set, zero value otherwise.

func (*FlagDefaults) GetDefaultClientSideAvailabilityOk ¶

func (o *FlagDefaults) 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 (*FlagDefaults) GetTags ¶

func (o *FlagDefaults) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*FlagDefaults) GetTagsOk ¶

func (o *FlagDefaults) 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 (*FlagDefaults) GetTemporary ¶

func (o *FlagDefaults) GetTemporary() bool

GetTemporary returns the Temporary field value if set, zero value otherwise.

func (*FlagDefaults) GetTemporaryOk ¶

func (o *FlagDefaults) 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 (*FlagDefaults) HasBooleanDefaults ¶

func (o *FlagDefaults) HasBooleanDefaults() bool

HasBooleanDefaults returns a boolean if a field has been set.

func (*FlagDefaults) HasDefaultClientSideAvailability ¶

func (o *FlagDefaults) HasDefaultClientSideAvailability() bool

HasDefaultClientSideAvailability returns a boolean if a field has been set.

func (*FlagDefaults) HasTags ¶

func (o *FlagDefaults) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*FlagDefaults) HasTemporary ¶

func (o *FlagDefaults) HasTemporary() bool

HasTemporary returns a boolean if a field has been set.

func (FlagDefaults) MarshalJSON ¶

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

func (*FlagDefaults) SetBooleanDefaults ¶

func (o *FlagDefaults) SetBooleanDefaults(v BooleanDefaults)

SetBooleanDefaults gets a reference to the given BooleanDefaults and assigns it to the BooleanDefaults field.

func (*FlagDefaults) SetDefaultClientSideAvailability ¶

func (o *FlagDefaults) SetDefaultClientSideAvailability(v ClientSideAvailability)

SetDefaultClientSideAvailability gets a reference to the given ClientSideAvailability and assigns it to the DefaultClientSideAvailability field.

func (*FlagDefaults) SetTags ¶

func (o *FlagDefaults) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*FlagDefaults) SetTemporary ¶

func (o *FlagDefaults) SetTemporary(v bool)

SetTemporary gets a reference to the given bool and assigns it to the Temporary field.

type FlagDefaultsApiBaseRep ¶

type FlagDefaultsApiBaseRep struct {
	Links *map[string]Link `json:"_links,omitempty"`
}

FlagDefaultsApiBaseRep struct for FlagDefaultsApiBaseRep

func NewFlagDefaultsApiBaseRep ¶

func NewFlagDefaultsApiBaseRep() *FlagDefaultsApiBaseRep

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

func NewFlagDefaultsApiBaseRepWithDefaults ¶

func NewFlagDefaultsApiBaseRepWithDefaults() *FlagDefaultsApiBaseRep

NewFlagDefaultsApiBaseRepWithDefaults instantiates a new FlagDefaultsApiBaseRep object This constructor 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 *FlagDefaultsApiBaseRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*FlagDefaultsApiBaseRep) GetLinksOk ¶

func (o *FlagDefaultsApiBaseRep) 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 *FlagDefaultsApiBaseRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (FlagDefaultsApiBaseRep) MarshalJSON ¶

func (o FlagDefaultsApiBaseRep) MarshalJSON() ([]byte, error)
func (o *FlagDefaultsApiBaseRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

type FlagDefaultsRep ¶

type FlagDefaultsRep struct {
	Links                         *map[string]Link        `json:"_links,omitempty"`
	Tags                          []string                `json:"tags,omitempty"`
	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 (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 (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 (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 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,omitempty"`
}

FlagFollowersGetRep struct for FlagFollowersGetRep

func NewFlagFollowersGetRep ¶

func NewFlagFollowersGetRep(links map[string]Link) *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 if set, zero value otherwise.

func (*FlagFollowersGetRep) GetItemsOk ¶

func (o *FlagFollowersGetRep) GetItemsOk() ([]FollowFlagMember, 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 *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) HasItems ¶

func (o *FlagFollowersGetRep) HasItems() bool

HasItems returns a boolean if a field has been set.

func (FlagFollowersGetRep) MarshalJSON ¶

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

func (*FlagFollowersGetRep) SetItems ¶

func (o *FlagFollowersGetRep) SetItems(v []FollowFlagMember)

SetItems gets a reference to the given []FollowFlagMember and assigns it to the Items field.

func (o *FlagFollowersGetRep) SetLinks(v map[string]Link)

SetLinks sets field value

type FlagGlobalAttributesRep ¶

type FlagGlobalAttributesRep 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
	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"`
	// 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"`
	Defaults     *Defaults `json:"defaults,omitempty"`
}

FlagGlobalAttributesRep struct for FlagGlobalAttributesRep

func NewFlagGlobalAttributesRep ¶

func NewFlagGlobalAttributesRep(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) *FlagGlobalAttributesRep

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

func NewFlagGlobalAttributesRepWithDefaults ¶

func NewFlagGlobalAttributesRepWithDefaults() *FlagGlobalAttributesRep

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

func (*FlagGlobalAttributesRep) GetArchived ¶

func (o *FlagGlobalAttributesRep) GetArchived() bool

GetArchived returns the Archived field value

func (*FlagGlobalAttributesRep) GetArchivedDate ¶

func (o *FlagGlobalAttributesRep) GetArchivedDate() int64

GetArchivedDate returns the ArchivedDate field value if set, zero value otherwise.

func (*FlagGlobalAttributesRep) GetArchivedDateOk ¶

func (o *FlagGlobalAttributesRep) 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 (*FlagGlobalAttributesRep) GetArchivedOk ¶

func (o *FlagGlobalAttributesRep) GetArchivedOk() (*bool, bool)

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

func (*FlagGlobalAttributesRep) GetClientSideAvailability ¶

func (o *FlagGlobalAttributesRep) GetClientSideAvailability() ClientSideAvailability

GetClientSideAvailability returns the ClientSideAvailability field value if set, zero value otherwise.

func (*FlagGlobalAttributesRep) GetClientSideAvailabilityOk ¶

func (o *FlagGlobalAttributesRep) 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 (*FlagGlobalAttributesRep) GetCreationDate ¶

func (o *FlagGlobalAttributesRep) GetCreationDate() int64

GetCreationDate returns the CreationDate field value

func (*FlagGlobalAttributesRep) GetCreationDateOk ¶

func (o *FlagGlobalAttributesRep) GetCreationDateOk() (*int64, bool)

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

func (*FlagGlobalAttributesRep) GetCustomProperties ¶

func (o *FlagGlobalAttributesRep) GetCustomProperties() map[string]CustomProperty

GetCustomProperties returns the CustomProperties field value

func (*FlagGlobalAttributesRep) GetCustomPropertiesOk ¶

func (o *FlagGlobalAttributesRep) 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 (*FlagGlobalAttributesRep) GetDefaults ¶

func (o *FlagGlobalAttributesRep) GetDefaults() Defaults

GetDefaults returns the Defaults field value if set, zero value otherwise.

func (*FlagGlobalAttributesRep) GetDefaultsOk ¶

func (o *FlagGlobalAttributesRep) 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 (*FlagGlobalAttributesRep) GetDescription ¶

func (o *FlagGlobalAttributesRep) GetDescription() string

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

func (*FlagGlobalAttributesRep) GetDescriptionOk ¶

func (o *FlagGlobalAttributesRep) 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 (*FlagGlobalAttributesRep) GetExperiments ¶

func (o *FlagGlobalAttributesRep) GetExperiments() ExperimentInfoRep

GetExperiments returns the Experiments field value

func (*FlagGlobalAttributesRep) GetExperimentsOk ¶

func (o *FlagGlobalAttributesRep) GetExperimentsOk() (*ExperimentInfoRep, bool)

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

func (*FlagGlobalAttributesRep) GetGoalIds ¶

func (o *FlagGlobalAttributesRep) GetGoalIds() []string

GetGoalIds returns the GoalIds field value if set, zero value otherwise.

func (*FlagGlobalAttributesRep) GetGoalIdsOk ¶

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

func (*FlagGlobalAttributesRep) GetIncludeInSnippet ¶

func (o *FlagGlobalAttributesRep) GetIncludeInSnippet() bool

GetIncludeInSnippet returns the IncludeInSnippet field value if set, zero value otherwise.

func (*FlagGlobalAttributesRep) GetIncludeInSnippetOk ¶

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

func (*FlagGlobalAttributesRep) GetKey ¶

func (o *FlagGlobalAttributesRep) GetKey() string

GetKey returns the Key field value

func (*FlagGlobalAttributesRep) GetKeyOk ¶

func (o *FlagGlobalAttributesRep) GetKeyOk() (*string, bool)

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

func (*FlagGlobalAttributesRep) GetKind ¶

func (o *FlagGlobalAttributesRep) GetKind() string

GetKind returns the Kind field value

func (*FlagGlobalAttributesRep) GetKindOk ¶

func (o *FlagGlobalAttributesRep) 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 *FlagGlobalAttributesRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*FlagGlobalAttributesRep) GetLinksOk ¶

func (o *FlagGlobalAttributesRep) 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 (*FlagGlobalAttributesRep) GetMaintainer ¶

func (o *FlagGlobalAttributesRep) GetMaintainer() MemberSummary

GetMaintainer returns the Maintainer field value if set, zero value otherwise.

func (*FlagGlobalAttributesRep) GetMaintainerId ¶

func (o *FlagGlobalAttributesRep) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field value if set, zero value otherwise.

func (*FlagGlobalAttributesRep) GetMaintainerIdOk ¶

func (o *FlagGlobalAttributesRep) 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 (*FlagGlobalAttributesRep) GetMaintainerOk ¶

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

func (o *FlagGlobalAttributesRep) GetName() string

GetName returns the Name field value

func (*FlagGlobalAttributesRep) GetNameOk ¶

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

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

func (*FlagGlobalAttributesRep) GetTags ¶

func (o *FlagGlobalAttributesRep) GetTags() []string

GetTags returns the Tags field value

func (*FlagGlobalAttributesRep) GetTagsOk ¶

func (o *FlagGlobalAttributesRep) GetTagsOk() ([]string, bool)

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

func (*FlagGlobalAttributesRep) GetTemporary ¶

func (o *FlagGlobalAttributesRep) GetTemporary() bool

GetTemporary returns the Temporary field value

func (*FlagGlobalAttributesRep) GetTemporaryOk ¶

func (o *FlagGlobalAttributesRep) GetTemporaryOk() (*bool, bool)

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

func (*FlagGlobalAttributesRep) GetVariations ¶

func (o *FlagGlobalAttributesRep) GetVariations() []Variation

GetVariations returns the Variations field value

func (*FlagGlobalAttributesRep) GetVariationsOk ¶

func (o *FlagGlobalAttributesRep) GetVariationsOk() ([]Variation, bool)

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

func (*FlagGlobalAttributesRep) GetVersion ¶

func (o *FlagGlobalAttributesRep) GetVersion() int32

GetVersion returns the Version field value

func (*FlagGlobalAttributesRep) GetVersionOk ¶

func (o *FlagGlobalAttributesRep) GetVersionOk() (*int32, bool)

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

func (*FlagGlobalAttributesRep) HasArchivedDate ¶

func (o *FlagGlobalAttributesRep) HasArchivedDate() bool

HasArchivedDate returns a boolean if a field has been set.

func (*FlagGlobalAttributesRep) HasClientSideAvailability ¶

func (o *FlagGlobalAttributesRep) HasClientSideAvailability() bool

HasClientSideAvailability returns a boolean if a field has been set.

func (*FlagGlobalAttributesRep) HasDefaults ¶

func (o *FlagGlobalAttributesRep) HasDefaults() bool

HasDefaults returns a boolean if a field has been set.

func (*FlagGlobalAttributesRep) HasDescription ¶

func (o *FlagGlobalAttributesRep) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FlagGlobalAttributesRep) HasGoalIds ¶

func (o *FlagGlobalAttributesRep) HasGoalIds() bool

HasGoalIds returns a boolean if a field has been set.

func (*FlagGlobalAttributesRep) HasIncludeInSnippet ¶

func (o *FlagGlobalAttributesRep) HasIncludeInSnippet() bool

HasIncludeInSnippet returns a boolean if a field has been set.

func (*FlagGlobalAttributesRep) HasMaintainer ¶

func (o *FlagGlobalAttributesRep) HasMaintainer() bool

HasMaintainer returns a boolean if a field has been set.

func (*FlagGlobalAttributesRep) HasMaintainerId ¶

func (o *FlagGlobalAttributesRep) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

func (FlagGlobalAttributesRep) MarshalJSON ¶

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

func (*FlagGlobalAttributesRep) SetArchived ¶

func (o *FlagGlobalAttributesRep) SetArchived(v bool)

SetArchived sets field value

func (*FlagGlobalAttributesRep) SetArchivedDate ¶

func (o *FlagGlobalAttributesRep) SetArchivedDate(v int64)

SetArchivedDate gets a reference to the given int64 and assigns it to the ArchivedDate field.

func (*FlagGlobalAttributesRep) SetClientSideAvailability ¶

func (o *FlagGlobalAttributesRep) SetClientSideAvailability(v ClientSideAvailability)

SetClientSideAvailability gets a reference to the given ClientSideAvailability and assigns it to the ClientSideAvailability field.

func (*FlagGlobalAttributesRep) SetCreationDate ¶

func (o *FlagGlobalAttributesRep) SetCreationDate(v int64)

SetCreationDate sets field value

func (*FlagGlobalAttributesRep) SetCustomProperties ¶

func (o *FlagGlobalAttributesRep) SetCustomProperties(v map[string]CustomProperty)

SetCustomProperties sets field value

func (*FlagGlobalAttributesRep) SetDefaults ¶

func (o *FlagGlobalAttributesRep) SetDefaults(v Defaults)

SetDefaults gets a reference to the given Defaults and assigns it to the Defaults field.

func (*FlagGlobalAttributesRep) SetDescription ¶

func (o *FlagGlobalAttributesRep) SetDescription(v string)

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

func (*FlagGlobalAttributesRep) SetExperiments ¶

func (o *FlagGlobalAttributesRep) SetExperiments(v ExperimentInfoRep)

SetExperiments sets field value

func (*FlagGlobalAttributesRep) SetGoalIds ¶

func (o *FlagGlobalAttributesRep) SetGoalIds(v []string)

SetGoalIds gets a reference to the given []string and assigns it to the GoalIds field.

func (*FlagGlobalAttributesRep) SetIncludeInSnippet ¶

func (o *FlagGlobalAttributesRep) SetIncludeInSnippet(v bool)

SetIncludeInSnippet gets a reference to the given bool and assigns it to the IncludeInSnippet field.

func (*FlagGlobalAttributesRep) SetKey ¶

func (o *FlagGlobalAttributesRep) SetKey(v string)

SetKey sets field value

func (*FlagGlobalAttributesRep) SetKind ¶

func (o *FlagGlobalAttributesRep) SetKind(v string)

SetKind sets field value

func (o *FlagGlobalAttributesRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*FlagGlobalAttributesRep) SetMaintainer ¶

func (o *FlagGlobalAttributesRep) SetMaintainer(v MemberSummary)

SetMaintainer gets a reference to the given MemberSummary and assigns it to the Maintainer field.

func (*FlagGlobalAttributesRep) SetMaintainerId ¶

func (o *FlagGlobalAttributesRep) SetMaintainerId(v string)

SetMaintainerId gets a reference to the given string and assigns it to the MaintainerId field.

func (*FlagGlobalAttributesRep) SetName ¶

func (o *FlagGlobalAttributesRep) SetName(v string)

SetName sets field value

func (*FlagGlobalAttributesRep) SetTags ¶

func (o *FlagGlobalAttributesRep) SetTags(v []string)

SetTags sets field value

func (*FlagGlobalAttributesRep) SetTemporary ¶

func (o *FlagGlobalAttributesRep) SetTemporary(v bool)

SetTemporary sets field value

func (*FlagGlobalAttributesRep) SetVariations ¶

func (o *FlagGlobalAttributesRep) SetVariations(v []Variation)

SetVariations sets field value

func (*FlagGlobalAttributesRep) SetVersion ¶

func (o *FlagGlobalAttributesRep) SetVersion(v int32)

SetVersion 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. The request body must be a valid JSON patch document. 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 {
	Name  string           `json:"name"`
	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 FlagRep ¶

type FlagRep struct {
	// The targeting rule
	TargetingRule *string `json:"targetingRule,omitempty"`
	// The rule description
	TargetingRuleDescription *string `json:"targetingRuleDescription,omitempty"`
	// Clause(s) used for targeting certain users by their 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 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"`
	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.

#### 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`.

For example, to replace the trigger action instructions, use this request body:

```json

{
  "comment": "optional comment",
  "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.

#### disableTrigger

Disables the trigger. This saves the trigger configuration, but the trigger stops running. To re-enable, use `enableTrigger`.

#### enableTrigger

Enables the trigger. If you previously disabled the trigger, it begins running again.

@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
@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
@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,omitempty"`
	// Description of the error
	Message *string `json:"message,omitempty"`
}

ForbiddenErrorRep struct for ForbiddenErrorRep

func NewForbiddenErrorRep ¶

func NewForbiddenErrorRep() *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 if set, zero value otherwise.

func (*ForbiddenErrorRep) GetCodeOk ¶

func (o *ForbiddenErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise 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 if set, zero value otherwise.

func (*ForbiddenErrorRep) GetMessageOk ¶

func (o *ForbiddenErrorRep) 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 (*ForbiddenErrorRep) HasCode ¶

func (o *ForbiddenErrorRep) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ForbiddenErrorRep) HasMessage ¶

func (o *ForbiddenErrorRep) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ForbiddenErrorRep) MarshalJSON ¶

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

func (*ForbiddenErrorRep) SetCode ¶

func (o *ForbiddenErrorRep) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ForbiddenErrorRep) SetMessage ¶

func (o *ForbiddenErrorRep) SetMessage(v string)

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

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 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 flag variation to update. You can retrieve this by making a GET request for the flag. Required if <code>kind</code> is <code>updateExpireUserTargetDate</code>.
	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. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the 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 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 delivery 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.

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

type InvalidRequestErrorRep struct {
	// Specific error code encountered
	Code *string `json:"code,omitempty"`
	// Description of the error
	Message *string `json:"message,omitempty"`
}

InvalidRequestErrorRep struct for InvalidRequestErrorRep

func NewInvalidRequestErrorRep ¶

func NewInvalidRequestErrorRep() *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 if set, zero value otherwise.

func (*InvalidRequestErrorRep) GetCodeOk ¶

func (o *InvalidRequestErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise 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 if set, zero value otherwise.

func (*InvalidRequestErrorRep) GetMessageOk ¶

func (o *InvalidRequestErrorRep) 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 (*InvalidRequestErrorRep) HasCode ¶

func (o *InvalidRequestErrorRep) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*InvalidRequestErrorRep) HasMessage ¶

func (o *InvalidRequestErrorRep) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (InvalidRequestErrorRep) MarshalJSON ¶

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

func (*InvalidRequestErrorRep) SetCode ¶

func (o *InvalidRequestErrorRep) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*InvalidRequestErrorRep) SetMessage ¶

func (o *InvalidRequestErrorRep) SetMessage(v string)

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

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

type IterationExpandableProperties struct {
	// Details on the variations you are testing in the experiment
	Treatments []TreatmentRep `json:"treatments,omitempty"`
	// Details on the secondary metrics for this experiment
	SecondaryMetrics []MetricV2Rep `json:"secondaryMetrics,omitempty"`
}

IterationExpandableProperties struct for IterationExpandableProperties

func NewIterationExpandableProperties ¶

func NewIterationExpandableProperties() *IterationExpandableProperties

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

func NewIterationExpandablePropertiesWithDefaults ¶

func NewIterationExpandablePropertiesWithDefaults() *IterationExpandableProperties

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

func (*IterationExpandableProperties) GetSecondaryMetrics ¶

func (o *IterationExpandableProperties) GetSecondaryMetrics() []MetricV2Rep

GetSecondaryMetrics returns the SecondaryMetrics field value if set, zero value otherwise.

func (*IterationExpandableProperties) GetSecondaryMetricsOk ¶

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

func (*IterationExpandableProperties) GetTreatments ¶

func (o *IterationExpandableProperties) GetTreatments() []TreatmentRep

GetTreatments returns the Treatments field value if set, zero value otherwise.

func (*IterationExpandableProperties) GetTreatmentsOk ¶

func (o *IterationExpandableProperties) 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 (*IterationExpandableProperties) HasSecondaryMetrics ¶

func (o *IterationExpandableProperties) HasSecondaryMetrics() bool

HasSecondaryMetrics returns a boolean if a field has been set.

func (*IterationExpandableProperties) HasTreatments ¶

func (o *IterationExpandableProperties) HasTreatments() bool

HasTreatments returns a boolean if a field has been set.

func (IterationExpandableProperties) MarshalJSON ¶

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

func (*IterationExpandableProperties) SetSecondaryMetrics ¶

func (o *IterationExpandableProperties) SetSecondaryMetrics(v []MetricV2Rep)

SetSecondaryMetrics gets a reference to the given []MetricV2Rep and assigns it to the SecondaryMetrics field.

func (*IterationExpandableProperties) SetTreatments ¶

func (o *IterationExpandableProperties) SetTreatments(v []TreatmentRep)

SetTreatments gets a reference to the given []TreatmentRep and assigns it to the Treatments field.

type IterationInput ¶

type IterationInput struct {
	// The expected outcome of this experiment
	Hypothesis string `json:"hypothesis"`
	// Whether to allow the experiment to reassign users to different variations (true) or keep users assigned to their initial variation (false). Defaults to true.
	CanReshuffleTraffic *bool                `json:"canReshuffleTraffic,omitempty"`
	Metrics             []MetricInput        `json:"metrics"`
	Treatments          []TreatmentInput     `json:"treatments"`
	Flags               map[string]FlagInput `json:"flags"`
}

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) 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) 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) 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 with the probability to be best
	WinningTreatmentId *string `json:"winningTreatmentId,omitempty"`
	// The reason you stopped the experiment
	WinningReason *string `json:"winningReason,omitempty"`
	// Whether the experiment is allowed to reassign users to different variations (true) or must keep users assigned to their initial variation (false).
	CanReshuffleTraffic *bool `json:"canReshuffleTraffic,omitempty"`
	// Details on the flag used in this experiment
	Flags         *map[string]FlagRep `json:"flags,omitempty"`
	PrimaryMetric *MetricV2Rep        `json:"primaryMetric,omitempty"`
	// Details on the variations you are testing in the experiment
	Treatments []TreatmentRep `json:"treatments,omitempty"`
	// Details on the secondary metrics for this experiment
	SecondaryMetrics []MetricV2Rep `json:"secondaryMetrics,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) GetPrimaryMetric ¶

func (o *IterationRep) GetPrimaryMetric() MetricV2Rep

GetPrimaryMetric returns the PrimaryMetric field value if set, zero value otherwise.

func (*IterationRep) GetPrimaryMetricOk ¶

func (o *IterationRep) GetPrimaryMetricOk() (*MetricV2Rep, 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) GetSecondaryMetrics ¶

func (o *IterationRep) GetSecondaryMetrics() []MetricV2Rep

GetSecondaryMetrics returns the SecondaryMetrics field value if set, zero value otherwise.

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.

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

func (o *IterationRep) HasPrimaryMetric() bool

HasPrimaryMetric 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) SetPrimaryMetric ¶

func (o *IterationRep) SetPrimaryMetric(v MetricV2Rep)

SetPrimaryMetric gets a reference to the given MetricV2Rep and assigns it to the PrimaryMetric 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.

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

type MaintainerTeam struct {
	Key   *string          `json:"key,omitempty"`
	Name  *string          `json:"name,omitempty"`
	Links *map[string]Link `json:"_links,omitempty"`
}

MaintainerTeam struct for MaintainerTeam

func NewMaintainerTeam ¶

func NewMaintainerTeam() *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 if set, zero value otherwise.

func (*MaintainerTeam) GetKeyOk ¶

func (o *MaintainerTeam) 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 *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 if set, zero value otherwise.

func (*MaintainerTeam) GetNameOk ¶

func (o *MaintainerTeam) 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 (*MaintainerTeam) HasKey ¶

func (o *MaintainerTeam) HasKey() bool

HasKey returns a boolean if a field has been set.

func (o *MaintainerTeam) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*MaintainerTeam) HasName ¶

func (o *MaintainerTeam) HasName() bool

HasName 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 gets a reference to the given string and assigns it to the Key field.

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 gets a reference to the given string and assigns it to the Name field.

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 a 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"`
	// A list of actions to allow
	Actions []string `json:"actions"`
	// The resource for which the <code>actions</code> are allowed
	Resource string `json:"resource"`
}

MemberPermissionGrantSummaryRep struct for MemberPermissionGrantSummaryRep

func NewMemberPermissionGrantSummaryRep ¶

func NewMemberPermissionGrantSummaryRep(actionSet string, actions []string, 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

func (*MemberPermissionGrantSummaryRep) GetActionSetOk ¶

func (o *MemberPermissionGrantSummaryRep) GetActionSetOk() (*string, bool)

GetActionSetOk returns a tuple with the ActionSet field value 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

func (*MemberPermissionGrantSummaryRep) GetActionsOk ¶

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

GetActionsOk returns a tuple with the Actions field value 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) MarshalJSON ¶

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

func (*MemberPermissionGrantSummaryRep) SetActionSet ¶

func (o *MemberPermissionGrantSummaryRep) SetActionSet(v string)

SetActionSet sets field value

func (*MemberPermissionGrantSummaryRep) SetActions ¶

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

SetActions sets field value

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"`
	// 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 (*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 (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 (*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,omitempty"`
	// Description of the error
	Message *string `json:"message,omitempty"`
}

MethodNotAllowedErrorRep struct for MethodNotAllowedErrorRep

func NewMethodNotAllowedErrorRep ¶

func NewMethodNotAllowedErrorRep() *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 if set, zero value otherwise.

func (*MethodNotAllowedErrorRep) GetCodeOk ¶

func (o *MethodNotAllowedErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise 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 if set, zero value otherwise.

func (*MethodNotAllowedErrorRep) GetMessageOk ¶

func (o *MethodNotAllowedErrorRep) 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 (*MethodNotAllowedErrorRep) HasCode ¶

func (o *MethodNotAllowedErrorRep) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*MethodNotAllowedErrorRep) HasMessage ¶

func (o *MethodNotAllowedErrorRep) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (MethodNotAllowedErrorRep) MarshalJSON ¶

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

func (*MethodNotAllowedErrorRep) SetCode ¶

func (o *MethodNotAllowedErrorRep) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*MethodNotAllowedErrorRep) SetMessage ¶

func (o *MethodNotAllowedErrorRep) SetMessage(v string)

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

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

type MetricInput struct {
	// The metric key
	Key string `json:"key"`
	// Whether this is a primary metric (true) or a secondary metric (false)
	Primary bool `json:"primary"`
}

MetricInput struct for MetricInput

func NewMetricInput ¶

func NewMetricInput(key string, primary bool) *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) 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

func (*MetricInput) GetPrimaryOk ¶

func (o *MetricInput) GetPrimaryOk() (*bool, bool)

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

func (MetricInput) MarshalJSON ¶

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

func (*MetricInput) SetKey ¶

func (o *MetricInput) SetKey(v string)

SetKey sets field value

func (*MetricInput) SetPrimary ¶

func (o *MetricInput) SetPrimary(v bool)

SetPrimary sets field value

type MetricListingRep ¶

type MetricListingRep struct {
	// The number of experiments using this metric
	ExperimentCount *int32 `json:"experimentCount,omitempty"`
	// The ID of this metric
	Id string `json:"_id"`
	// 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 users taken an action (<code>false</code>).
	IsNumeric *bool `json:"isNumeric,omitempty"`
	// For numeric 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 name to use in your code
	EventKey *string `json:"eventKey,omitempty"`
}

MetricListingRep struct for MetricListingRep

func NewMetricListingRep ¶

func NewMetricListingRep(id 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) 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) 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) 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) 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) 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) HasAccess ¶

func (o *MetricListingRep) HasAccess() bool

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

func (o *MetricListingRep) SetName(v string)

SetName sets field value

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.

type MetricListingRepExpandableProperties ¶

type MetricListingRepExpandableProperties struct {
	// The number of experiments using this metric
	ExperimentCount *int32 `json:"experimentCount,omitempty"`
}

MetricListingRepExpandableProperties struct for MetricListingRepExpandableProperties

func NewMetricListingRepExpandableProperties ¶

func NewMetricListingRepExpandableProperties() *MetricListingRepExpandableProperties

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

func NewMetricListingRepExpandablePropertiesWithDefaults ¶

func NewMetricListingRepExpandablePropertiesWithDefaults() *MetricListingRepExpandableProperties

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

func (*MetricListingRepExpandableProperties) GetExperimentCount ¶

func (o *MetricListingRepExpandableProperties) GetExperimentCount() int32

GetExperimentCount returns the ExperimentCount field value if set, zero value otherwise.

func (*MetricListingRepExpandableProperties) GetExperimentCountOk ¶

func (o *MetricListingRepExpandableProperties) 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 (*MetricListingRepExpandableProperties) HasExperimentCount ¶

func (o *MetricListingRepExpandableProperties) HasExperimentCount() bool

HasExperimentCount returns a boolean if a field has been set.

func (MetricListingRepExpandableProperties) MarshalJSON ¶

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

func (*MetricListingRepExpandableProperties) SetExperimentCount ¶

func (o *MetricListingRepExpandableProperties) SetExperimentCount(v int32)

SetExperimentCount gets a reference to the given int32 and assigns it to the ExperimentCount field.

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.
	Selector *string `json:"selector,omitempty"`
	// One or more target URLs. Required for click and pageview metrics.
	Urls []UrlPost `json:"urls,omitempty"`
	// Whether the metric is active
	IsActive *bool `json:"isActive,omitempty"`
	// Whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when users taken an action (<code>false</code>). Required for custom metrics.
	IsNumeric *bool `json:"isNumeric,omitempty"`
	// The unit of measure. Only for numeric custom metrics.
	Unit *string `json:"unit,omitempty"`
	// The event name to use in your code. Required for custom metrics.
	EventKey *string `json:"eventKey,omitempty"`
	// Success criteria. Required for numeric custom metrics.
	SuccessCriteria *string `json:"successCriteria,omitempty"`
	// Tags for the metric
	Tags []string `json:"tags,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) 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) 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) 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) 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) HasDescription ¶

func (o *MetricPost) HasDescription() bool

HasDescription 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) 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) 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) SetDescription ¶

func (o *MetricPost) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description 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) 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) 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 ID of this metric
	Id string `json:"_id"`
	// 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 users taken an action (<code>false</code>).
	IsNumeric *bool `json:"isNumeric,omitempty"`
	// For numeric 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 name to use in your code
	EventKey    *string                  `json:"eventKey,omitempty"`
	Experiments []DependentExperimentRep `json:"experiments,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, 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) SetName ¶

func (o *MetricRep) SetName(v string)

SetName sets field value

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

type MetricRepExpandableProperties ¶

type MetricRepExpandableProperties struct {
	Experiments []DependentExperimentRep `json:"experiments,omitempty"`
}

MetricRepExpandableProperties struct for MetricRepExpandableProperties

func NewMetricRepExpandableProperties ¶

func NewMetricRepExpandableProperties() *MetricRepExpandableProperties

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

func NewMetricRepExpandablePropertiesWithDefaults ¶

func NewMetricRepExpandablePropertiesWithDefaults() *MetricRepExpandableProperties

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

func (*MetricRepExpandableProperties) GetExperiments ¶

GetExperiments returns the Experiments field value if set, zero value otherwise.

func (*MetricRepExpandableProperties) GetExperimentsOk ¶

func (o *MetricRepExpandableProperties) 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 (*MetricRepExpandableProperties) HasExperiments ¶

func (o *MetricRepExpandableProperties) HasExperiments() bool

HasExperiments returns a boolean if a field has been set.

func (MetricRepExpandableProperties) MarshalJSON ¶

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

func (*MetricRepExpandableProperties) SetExperiments ¶

SetExperiments gets a reference to the given []DependentExperimentRep and assigns it to the Experiments field.

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 metric name
	Name string `json:"name"`
	// The kind of event the metric tracks
	Kind string `json:"kind"`
	// 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) 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) MarshalJSON ¶

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

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

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

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.

@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 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,omitempty"`
	// Description of the error
	Message *string `json:"message,omitempty"`
}

NotFoundErrorRep struct for NotFoundErrorRep

func NewNotFoundErrorRep ¶

func NewNotFoundErrorRep() *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 if set, zero value otherwise.

func (*NotFoundErrorRep) GetCodeOk ¶

func (o *NotFoundErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise 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 if set, zero value otherwise.

func (*NotFoundErrorRep) GetMessageOk ¶

func (o *NotFoundErrorRep) 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 (*NotFoundErrorRep) HasCode ¶

func (o *NotFoundErrorRep) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*NotFoundErrorRep) HasMessage ¶

func (o *NotFoundErrorRep) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (NotFoundErrorRep) MarshalJSON ¶

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

func (*NotFoundErrorRep) SetCode ¶

func (o *NotFoundErrorRep) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*NotFoundErrorRep) SetMessage ¶

func (o *NotFoundErrorRep) SetMessage(v string)

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

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

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

func (NullableApprovalConditionInput) Get ¶

func (NullableApprovalConditionInput) IsSet ¶

func (NullableApprovalConditionInput) MarshalJSON ¶

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

func (*NullableApprovalConditionInput) Set ¶

func (*NullableApprovalConditionInput) UnmarshalJSON ¶

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

func (*NullableApprovalConditionInput) Unset ¶

func (v *NullableApprovalConditionInput) Unset()

type NullableApprovalConditionOutput ¶

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

func (NullableApprovalConditionOutput) Get ¶

func (NullableApprovalConditionOutput) IsSet ¶

func (NullableApprovalConditionOutput) MarshalJSON ¶

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

func (*NullableApprovalConditionOutput) Set ¶

func (*NullableApprovalConditionOutput) UnmarshalJSON ¶

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

func (*NullableApprovalConditionOutput) 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 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 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 NullableConditionBaseOutput ¶

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

func (NullableConditionBaseOutput) Get ¶

func (NullableConditionBaseOutput) IsSet ¶

func (NullableConditionBaseOutput) MarshalJSON ¶

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

func (*NullableConditionBaseOutput) Set ¶

func (*NullableConditionBaseOutput) UnmarshalJSON ¶

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

func (*NullableConditionBaseOutput) Unset ¶

func (v *NullableConditionBaseOutput) 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 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 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 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 NullableCustomRolePostData ¶

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

func NewNullableCustomRolePostData ¶

func NewNullableCustomRolePostData(val *CustomRolePostData) *NullableCustomRolePostData

func (NullableCustomRolePostData) Get ¶

func (NullableCustomRolePostData) IsSet ¶

func (v NullableCustomRolePostData) IsSet() bool

func (NullableCustomRolePostData) MarshalJSON ¶

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

func (*NullableCustomRolePostData) Set ¶

func (*NullableCustomRolePostData) UnmarshalJSON ¶

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

func (*NullableCustomRolePostData) Unset ¶

func (v *NullableCustomRolePostData) 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 NullableDatabase ¶

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

func NewNullableDatabase ¶

func NewNullableDatabase(val *Database) *NullableDatabase

func (NullableDatabase) Get ¶

func (v NullableDatabase) Get() *Database

func (NullableDatabase) IsSet ¶

func (v NullableDatabase) IsSet() bool

func (NullableDatabase) MarshalJSON ¶

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

func (*NullableDatabase) Set ¶

func (v *NullableDatabase) Set(val *Database)

func (*NullableDatabase) UnmarshalJSON ¶

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

func (*NullableDatabase) Unset ¶

func (v *NullableDatabase) 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 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 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 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 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 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 NullableExperimentExpandableProperties ¶

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

func (NullableExperimentExpandableProperties) Get ¶

func (NullableExperimentExpandableProperties) IsSet ¶

func (NullableExperimentExpandableProperties) MarshalJSON ¶

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

func (*NullableExperimentExpandableProperties) Set ¶

func (*NullableExperimentExpandableProperties) UnmarshalJSON ¶

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

func (*NullableExperimentExpandableProperties) 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 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 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 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 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 NullableFlagDefaults ¶

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

func NewNullableFlagDefaults ¶

func NewNullableFlagDefaults(val *FlagDefaults) *NullableFlagDefaults

func (NullableFlagDefaults) Get ¶

func (NullableFlagDefaults) IsSet ¶

func (v NullableFlagDefaults) IsSet() bool

func (NullableFlagDefaults) MarshalJSON ¶

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

func (*NullableFlagDefaults) Set ¶

func (v *NullableFlagDefaults) Set(val *FlagDefaults)

func (*NullableFlagDefaults) UnmarshalJSON ¶

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

func (*NullableFlagDefaults) Unset ¶

func (v *NullableFlagDefaults) Unset()

type NullableFlagDefaultsApiBaseRep ¶

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

func (NullableFlagDefaultsApiBaseRep) Get ¶

func (NullableFlagDefaultsApiBaseRep) IsSet ¶

func (NullableFlagDefaultsApiBaseRep) MarshalJSON ¶

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

func (*NullableFlagDefaultsApiBaseRep) Set ¶

func (*NullableFlagDefaultsApiBaseRep) UnmarshalJSON ¶

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

func (*NullableFlagDefaultsApiBaseRep) Unset ¶

func (v *NullableFlagDefaultsApiBaseRep) 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 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 NullableFlagGlobalAttributesRep ¶

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

func (NullableFlagGlobalAttributesRep) Get ¶

func (NullableFlagGlobalAttributesRep) IsSet ¶

func (NullableFlagGlobalAttributesRep) MarshalJSON ¶

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

func (*NullableFlagGlobalAttributesRep) Set ¶

func (*NullableFlagGlobalAttributesRep) UnmarshalJSON ¶

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

func (*NullableFlagGlobalAttributesRep) 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 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 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 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 NullableIterationExpandableProperties ¶

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

func (NullableIterationExpandableProperties) Get ¶

func (NullableIterationExpandableProperties) IsSet ¶

func (NullableIterationExpandableProperties) MarshalJSON ¶

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

func (*NullableIterationExpandableProperties) Set ¶

func (*NullableIterationExpandableProperties) UnmarshalJSON ¶

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

func (*NullableIterationExpandableProperties) 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 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 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 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 NullableMetricListingRepExpandableProperties ¶

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

func (NullableMetricListingRepExpandableProperties) Get ¶

func (NullableMetricListingRepExpandableProperties) IsSet ¶

func (NullableMetricListingRepExpandableProperties) MarshalJSON ¶

func (*NullableMetricListingRepExpandableProperties) Set ¶

func (*NullableMetricListingRepExpandableProperties) UnmarshalJSON ¶

func (*NullableMetricListingRepExpandableProperties) 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 NullableMetricRepExpandableProperties ¶

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

func (NullableMetricRepExpandableProperties) Get ¶

func (NullableMetricRepExpandableProperties) IsSet ¶

func (NullableMetricRepExpandableProperties) MarshalJSON ¶

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

func (*NullableMetricRepExpandableProperties) Set ¶

func (*NullableMetricRepExpandableProperties) UnmarshalJSON ¶

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

func (*NullableMetricRepExpandableProperties) 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 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 NullableParameterDefaultInput ¶

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

func (NullableParameterDefaultInput) Get ¶

func (NullableParameterDefaultInput) IsSet ¶

func (NullableParameterDefaultInput) MarshalJSON ¶

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

func (*NullableParameterDefaultInput) Set ¶

func (*NullableParameterDefaultInput) UnmarshalJSON ¶

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

func (*NullableParameterDefaultInput) Unset ¶

func (v *NullableParameterDefaultInput) 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 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 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 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 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 NullableProjectListingRep ¶

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

func NewNullableProjectListingRep ¶

func NewNullableProjectListingRep(val *ProjectListingRep) *NullableProjectListingRep

func (NullableProjectListingRep) Get ¶

func (NullableProjectListingRep) IsSet ¶

func (v NullableProjectListingRep) IsSet() bool

func (NullableProjectListingRep) MarshalJSON ¶

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

func (*NullableProjectListingRep) Set ¶

func (*NullableProjectListingRep) UnmarshalJSON ¶

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

func (*NullableProjectListingRep) Unset ¶

func (v *NullableProjectListingRep) 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 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 NullablePubNubDetailRep ¶

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

func NewNullablePubNubDetailRep ¶

func NewNullablePubNubDetailRep(val *PubNubDetailRep) *NullablePubNubDetailRep

func (NullablePubNubDetailRep) Get ¶

func (NullablePubNubDetailRep) IsSet ¶

func (v NullablePubNubDetailRep) IsSet() bool

func (NullablePubNubDetailRep) MarshalJSON ¶

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

func (*NullablePubNubDetailRep) Set ¶

func (*NullablePubNubDetailRep) UnmarshalJSON ¶

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

func (*NullablePubNubDetailRep) Unset ¶

func (v *NullablePubNubDetailRep) 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 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 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 NullableResolvedContext ¶

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

func NewNullableResolvedContext ¶

func NewNullableResolvedContext(val *ResolvedContext) *NullableResolvedContext

func (NullableResolvedContext) Get ¶

func (NullableResolvedContext) IsSet ¶

func (v NullableResolvedContext) IsSet() bool

func (NullableResolvedContext) MarshalJSON ¶

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

func (*NullableResolvedContext) Set ¶

func (*NullableResolvedContext) UnmarshalJSON ¶

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

func (*NullableResolvedContext) Unset ¶

func (v *NullableResolvedContext) Unset()

type NullableResolvedImage ¶

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

func NewNullableResolvedImage ¶

func NewNullableResolvedImage(val *ResolvedImage) *NullableResolvedImage

func (NullableResolvedImage) Get ¶

func (NullableResolvedImage) IsSet ¶

func (v NullableResolvedImage) IsSet() bool

func (NullableResolvedImage) MarshalJSON ¶

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

func (*NullableResolvedImage) Set ¶

func (v *NullableResolvedImage) Set(val *ResolvedImage)

func (*NullableResolvedImage) UnmarshalJSON ¶

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

func (*NullableResolvedImage) Unset ¶

func (v *NullableResolvedImage) Unset()

type NullableResolvedTitle ¶

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

func NewNullableResolvedTitle ¶

func NewNullableResolvedTitle(val *ResolvedTitle) *NullableResolvedTitle

func (NullableResolvedTitle) Get ¶

func (NullableResolvedTitle) IsSet ¶

func (v NullableResolvedTitle) IsSet() bool

func (NullableResolvedTitle) MarshalJSON ¶

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

func (*NullableResolvedTitle) Set ¶

func (v *NullableResolvedTitle) Set(val *ResolvedTitle)

func (*NullableResolvedTitle) UnmarshalJSON ¶

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

func (*NullableResolvedTitle) Unset ¶

func (v *NullableResolvedTitle) Unset()

type NullableResolvedUIBlockElement ¶

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

func (NullableResolvedUIBlockElement) Get ¶

func (NullableResolvedUIBlockElement) IsSet ¶

func (NullableResolvedUIBlockElement) MarshalJSON ¶

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

func (*NullableResolvedUIBlockElement) Set ¶

func (*NullableResolvedUIBlockElement) UnmarshalJSON ¶

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

func (*NullableResolvedUIBlockElement) Unset ¶

func (v *NullableResolvedUIBlockElement) Unset()

type NullableResolvedUIBlocks ¶

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

func NewNullableResolvedUIBlocks ¶

func NewNullableResolvedUIBlocks(val *ResolvedUIBlocks) *NullableResolvedUIBlocks

func (NullableResolvedUIBlocks) Get ¶

func (NullableResolvedUIBlocks) IsSet ¶

func (v NullableResolvedUIBlocks) IsSet() bool

func (NullableResolvedUIBlocks) MarshalJSON ¶

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

func (*NullableResolvedUIBlocks) Set ¶

func (*NullableResolvedUIBlocks) UnmarshalJSON ¶

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

func (*NullableResolvedUIBlocks) Unset ¶

func (v *NullableResolvedUIBlocks) 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 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 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 NullableScheduleConditionInput ¶

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

func (NullableScheduleConditionInput) Get ¶

func (NullableScheduleConditionInput) IsSet ¶

func (NullableScheduleConditionInput) MarshalJSON ¶

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

func (*NullableScheduleConditionInput) Set ¶

func (*NullableScheduleConditionInput) UnmarshalJSON ¶

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

func (*NullableScheduleConditionInput) Unset ¶

func (v *NullableScheduleConditionInput) Unset()

type NullableScheduleConditionOutput ¶

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

func (NullableScheduleConditionOutput) Get ¶

func (NullableScheduleConditionOutput) IsSet ¶

func (NullableScheduleConditionOutput) MarshalJSON ¶

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

func (*NullableScheduleConditionOutput) Set ¶

func (*NullableScheduleConditionOutput) UnmarshalJSON ¶

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

func (*NullableScheduleConditionOutput) 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 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 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 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 NullableStatementPostData ¶

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

func NewNullableStatementPostData ¶

func NewNullableStatementPostData(val *StatementPostData) *NullableStatementPostData

func (NullableStatementPostData) Get ¶

func (NullableStatementPostData) IsSet ¶

func (v NullableStatementPostData) IsSet() bool

func (NullableStatementPostData) MarshalJSON ¶

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

func (*NullableStatementPostData) Set ¶

func (*NullableStatementPostData) UnmarshalJSON ¶

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

func (*NullableStatementPostData) Unset ¶

func (v *NullableStatementPostData) 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 NullableStatisticsRep ¶

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

func NewNullableStatisticsRep ¶

func NewNullableStatisticsRep(val *StatisticsRep) *NullableStatisticsRep

func (NullableStatisticsRep) Get ¶

func (NullableStatisticsRep) IsSet ¶

func (v NullableStatisticsRep) IsSet() bool

func (NullableStatisticsRep) MarshalJSON ¶

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

func (*NullableStatisticsRep) Set ¶

func (v *NullableStatisticsRep) Set(val *StatisticsRep)

func (*NullableStatisticsRep) UnmarshalJSON ¶

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

func (*NullableStatisticsRep) Unset ¶

func (v *NullableStatisticsRep) 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 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 NullableTeamRepExpandableProperties ¶

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

func (NullableTeamRepExpandableProperties) Get ¶

func (NullableTeamRepExpandableProperties) IsSet ¶

func (NullableTeamRepExpandableProperties) MarshalJSON ¶

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

func (*NullableTeamRepExpandableProperties) Set ¶

func (*NullableTeamRepExpandableProperties) UnmarshalJSON ¶

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

func (*NullableTeamRepExpandableProperties) 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 NullableTitleRep ¶

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

func NewNullableTitleRep ¶

func NewNullableTitleRep(val *TitleRep) *NullableTitleRep

func (NullableTitleRep) Get ¶

func (v NullableTitleRep) Get() *TitleRep

func (NullableTitleRep) IsSet ¶

func (v NullableTitleRep) IsSet() bool

func (NullableTitleRep) MarshalJSON ¶

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

func (*NullableTitleRep) Set ¶

func (v *NullableTitleRep) Set(val *TitleRep)

func (*NullableTitleRep) UnmarshalJSON ¶

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

func (*NullableTitleRep) Unset ¶

func (v *NullableTitleRep) 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 NullableTokenDataRep ¶

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

func NewNullableTokenDataRep ¶

func NewNullableTokenDataRep(val *TokenDataRep) *NullableTokenDataRep

func (NullableTokenDataRep) Get ¶

func (NullableTokenDataRep) IsSet ¶

func (v NullableTokenDataRep) IsSet() bool

func (NullableTokenDataRep) MarshalJSON ¶

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

func (*NullableTokenDataRep) Set ¶

func (v *NullableTokenDataRep) Set(val *TokenDataRep)

func (*NullableTokenDataRep) UnmarshalJSON ¶

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

func (*NullableTokenDataRep) Unset ¶

func (v *NullableTokenDataRep) 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 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 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 NullableUserRecordRep ¶

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

func NewNullableUserRecordRep ¶

func NewNullableUserRecordRep(val *UserRecordRep) *NullableUserRecordRep

func (NullableUserRecordRep) Get ¶

func (NullableUserRecordRep) IsSet ¶

func (v NullableUserRecordRep) IsSet() bool

func (NullableUserRecordRep) MarshalJSON ¶

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

func (*NullableUserRecordRep) Set ¶

func (v *NullableUserRecordRep) Set(val *UserRecordRep)

func (*NullableUserRecordRep) UnmarshalJSON ¶

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

func (*NullableUserRecordRep) Unset ¶

func (v *NullableUserRecordRep) 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 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 NullableVariate ¶

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

func NewNullableVariate ¶

func NewNullableVariate(val *Variate) *NullableVariate

func (NullableVariate) Get ¶

func (v NullableVariate) Get() *Variate

func (NullableVariate) IsSet ¶

func (v NullableVariate) IsSet() bool

func (NullableVariate) MarshalJSON ¶

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

func (*NullableVariate) Set ¶

func (v *NullableVariate) Set(val *Variate)

func (*NullableVariate) UnmarshalJSON ¶

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

func (*NullableVariate) Unset ¶

func (v *NullableVariate) 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 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 NullableWorkflowTemplateParameterInput ¶

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

func (NullableWorkflowTemplateParameterInput) Get ¶

func (NullableWorkflowTemplateParameterInput) IsSet ¶

func (NullableWorkflowTemplateParameterInput) MarshalJSON ¶

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

func (*NullableWorkflowTemplateParameterInput) Set ¶

func (*NullableWorkflowTemplateParameterInput) UnmarshalJSON ¶

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

func (*NullableWorkflowTemplateParameterInput) 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 OAuth2ClientsBetaApiService ¶

type OAuth2ClientsBetaApiService service

OAuth2ClientsBetaApiService OAuth2ClientsBetaApi service

func (*OAuth2ClientsBetaApiService) 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 (*OAuth2ClientsBetaApiService) CreateOAuth2ClientExecute ¶

func (a *OAuth2ClientsBetaApiService) CreateOAuth2ClientExecute(r ApiCreateOAuth2ClientRequest) (*Client, *http.Response, error)

Execute executes the request

@return Client

func (*OAuth2ClientsBetaApiService) DeleteOAuthClient ¶

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 (*OAuth2ClientsBetaApiService) DeleteOAuthClientExecute ¶

func (a *OAuth2ClientsBetaApiService) DeleteOAuthClientExecute(r ApiDeleteOAuthClientRequest) (*http.Response, error)

Execute executes the request

func (*OAuth2ClientsBetaApiService) GetOAuthClientById ¶

func (a *OAuth2ClientsBetaApiService) 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 (*OAuth2ClientsBetaApiService) GetOAuthClientByIdExecute ¶

func (a *OAuth2ClientsBetaApiService) GetOAuthClientByIdExecute(r ApiGetOAuthClientByIdRequest) (*Client, *http.Response, error)

Execute executes the request

@return Client

func (*OAuth2ClientsBetaApiService) 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 (*OAuth2ClientsBetaApiService) GetOAuthClientsExecute ¶

Execute executes the request

@return ClientCollection

func (*OAuth2ClientsBetaApiService) PatchOAuthClient ¶

PatchOAuthClient Patch client by ID

Patch an existing OAuth 2.0 client by client ID. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the client. 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 (*OAuth2ClientsBetaApiService) PatchOAuthClientExecute ¶

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) (*map[string]Link, *http.Response, error)

Execute executes the request

@return map[string]Link

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

type ParameterDefaultInput struct {
	Value                 interface{} `json:"value,omitempty"`
	BooleanVariationValue *bool       `json:"booleanVariationValue,omitempty"`
}

ParameterDefaultInput struct for ParameterDefaultInput

func NewParameterDefaultInput ¶

func NewParameterDefaultInput() *ParameterDefaultInput

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

func NewParameterDefaultInputWithDefaults ¶

func NewParameterDefaultInputWithDefaults() *ParameterDefaultInput

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

func (*ParameterDefaultInput) GetBooleanVariationValue ¶

func (o *ParameterDefaultInput) GetBooleanVariationValue() bool

GetBooleanVariationValue returns the BooleanVariationValue field value if set, zero value otherwise.

func (*ParameterDefaultInput) GetBooleanVariationValueOk ¶

func (o *ParameterDefaultInput) 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 (*ParameterDefaultInput) GetValue ¶

func (o *ParameterDefaultInput) GetValue() interface{}

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

func (*ParameterDefaultInput) GetValueOk ¶

func (o *ParameterDefaultInput) 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 (*ParameterDefaultInput) HasBooleanVariationValue ¶

func (o *ParameterDefaultInput) HasBooleanVariationValue() bool

HasBooleanVariationValue returns a boolean if a field has been set.

func (*ParameterDefaultInput) HasValue ¶

func (o *ParameterDefaultInput) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ParameterDefaultInput) MarshalJSON ¶

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

func (*ParameterDefaultInput) SetBooleanVariationValue ¶

func (o *ParameterDefaultInput) SetBooleanVariationValue(v bool)

SetBooleanVariationValue gets a reference to the given bool and assigns it to the BooleanVariationValue field.

func (*ParameterDefaultInput) SetValue ¶

func (o *ParameterDefaultInput) 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,omitempty"`
	// Description of the error
	Message *string `json:"message,omitempty"`
}

PatchFailedErrorRep struct for PatchFailedErrorRep

func NewPatchFailedErrorRep ¶

func NewPatchFailedErrorRep() *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 if set, zero value otherwise.

func (*PatchFailedErrorRep) GetCodeOk ¶

func (o *PatchFailedErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise 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 if set, zero value otherwise.

func (*PatchFailedErrorRep) GetMessageOk ¶

func (o *PatchFailedErrorRep) 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 (*PatchFailedErrorRep) HasCode ¶

func (o *PatchFailedErrorRep) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*PatchFailedErrorRep) HasMessage ¶

func (o *PatchFailedErrorRep) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (PatchFailedErrorRep) MarshalJSON ¶

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

func (*PatchFailedErrorRep) SetCode ¶

func (o *PatchFailedErrorRep) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*PatchFailedErrorRep) SetMessage ¶

func (o *PatchFailedErrorRep) SetMessage(v string)

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

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 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 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 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 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"`
	// A list of tags for the project
	Tags         []string      `json:"tags"`
	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) 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) 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) HasDefaultClientSideAvailability ¶

func (o *Project) HasDefaultClientSideAvailability() bool

HasDefaultClientSideAvailability 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) SetDefaultClientSideAvailability ¶

func (o *Project) SetDefaultClientSideAvailability(v ClientSideAvailability)

SetDefaultClientSideAvailability gets a reference to the given ClientSideAvailability and assigns it to the DefaultClientSideAvailability 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 ProjectListingRep ¶

type ProjectListingRep 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"`
	// A list of tags for the project
	Tags []string `json:"tags"`
}

ProjectListingRep struct for ProjectListingRep

func NewProjectListingRep ¶

func NewProjectListingRep(links map[string]Link, id string, key string, includeInSnippetByDefault bool, name string, tags []string) *ProjectListingRep

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

func NewProjectListingRepWithDefaults ¶

func NewProjectListingRepWithDefaults() *ProjectListingRep

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

func (*ProjectListingRep) GetDefaultClientSideAvailability ¶

func (o *ProjectListingRep) GetDefaultClientSideAvailability() ClientSideAvailability

GetDefaultClientSideAvailability returns the DefaultClientSideAvailability field value if set, zero value otherwise.

func (*ProjectListingRep) GetDefaultClientSideAvailabilityOk ¶

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

func (o *ProjectListingRep) GetId() string

GetId returns the Id field value

func (*ProjectListingRep) GetIdOk ¶

func (o *ProjectListingRep) GetIdOk() (*string, bool)

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

func (*ProjectListingRep) GetIncludeInSnippetByDefault ¶

func (o *ProjectListingRep) GetIncludeInSnippetByDefault() bool

GetIncludeInSnippetByDefault returns the IncludeInSnippetByDefault field value

func (*ProjectListingRep) GetIncludeInSnippetByDefaultOk ¶

func (o *ProjectListingRep) GetIncludeInSnippetByDefaultOk() (*bool, bool)

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

func (*ProjectListingRep) GetKey ¶

func (o *ProjectListingRep) GetKey() string

GetKey returns the Key field value

func (*ProjectListingRep) GetKeyOk ¶

func (o *ProjectListingRep) 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 *ProjectListingRep) GetLinks() map[string]Link

GetLinks returns the Links field value

func (*ProjectListingRep) GetLinksOk ¶

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

func (o *ProjectListingRep) GetName() string

GetName returns the Name field value

func (*ProjectListingRep) GetNameOk ¶

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

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

func (*ProjectListingRep) GetTags ¶

func (o *ProjectListingRep) GetTags() []string

GetTags returns the Tags field value

func (*ProjectListingRep) GetTagsOk ¶

func (o *ProjectListingRep) GetTagsOk() ([]string, bool)

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

func (*ProjectListingRep) HasDefaultClientSideAvailability ¶

func (o *ProjectListingRep) HasDefaultClientSideAvailability() bool

HasDefaultClientSideAvailability returns a boolean if a field has been set.

func (ProjectListingRep) MarshalJSON ¶

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

func (*ProjectListingRep) SetDefaultClientSideAvailability ¶

func (o *ProjectListingRep) SetDefaultClientSideAvailability(v ClientSideAvailability)

SetDefaultClientSideAvailability gets a reference to the given ClientSideAvailability and assigns it to the DefaultClientSideAvailability field.

func (*ProjectListingRep) SetId ¶

func (o *ProjectListingRep) SetId(v string)

SetId sets field value

func (*ProjectListingRep) SetIncludeInSnippetByDefault ¶

func (o *ProjectListingRep) SetIncludeInSnippetByDefault(v bool)

SetIncludeInSnippetByDefault sets field value

func (*ProjectListingRep) SetKey ¶

func (o *ProjectListingRep) SetKey(v string)

SetKey sets field value

func (o *ProjectListingRep) SetLinks(v map[string]Link)

SetLinks sets field value

func (*ProjectListingRep) SetName ¶

func (o *ProjectListingRep) SetName(v string)

SetName sets field value

func (*ProjectListingRep) SetTags ¶

func (o *ProjectListingRep) 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"`
	// A list of tags for the project
	Tags []string `json:"tags"`
	// 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) 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) 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) HasDefaultClientSideAvailability ¶

func (o *ProjectRep) HasDefaultClientSideAvailability() bool

HasDefaultClientSideAvailability returns a boolean if a field has been set.

func (ProjectRep) MarshalJSON ¶

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

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) 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 location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
	// The project key
	Key *string `json:"key,omitempty"`
	// The project name
	Name *string `json:"name,omitempty"`
}

ProjectSummary struct for ProjectSummary

func NewProjectSummary ¶

func NewProjectSummary() *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) GetKey ¶

func (o *ProjectSummary) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*ProjectSummary) GetKeyOk ¶

func (o *ProjectSummary) 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 *ProjectSummary) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*ProjectSummary) GetLinksOk ¶

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

func (o *ProjectSummary) GetName() string

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

func (*ProjectSummary) GetNameOk ¶

func (o *ProjectSummary) 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 (*ProjectSummary) HasKey ¶

func (o *ProjectSummary) HasKey() bool

HasKey returns a boolean if a field has been set.

func (o *ProjectSummary) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ProjectSummary) HasName ¶

func (o *ProjectSummary) HasName() bool

HasName returns a boolean if a field has been set.

func (ProjectSummary) MarshalJSON ¶

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

func (*ProjectSummary) SetKey ¶

func (o *ProjectSummary) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (o *ProjectSummary) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*ProjectSummary) SetName ¶

func (o *ProjectSummary) SetName(v string)

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

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 `+` separate list of project tags. It filters the list of projects that have all of the tags in the list.

For example, the 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.

### 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. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the flag default.

@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. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the 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 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 PubNubDetailRep ¶

type PubNubDetailRep struct {
	Channel   *string `json:"channel,omitempty"`
	CipherKey *string `json:"cipherKey,omitempty"`
}

PubNubDetailRep struct for PubNubDetailRep

func NewPubNubDetailRep ¶

func NewPubNubDetailRep() *PubNubDetailRep

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

func NewPubNubDetailRepWithDefaults ¶

func NewPubNubDetailRepWithDefaults() *PubNubDetailRep

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

func (*PubNubDetailRep) GetChannel ¶

func (o *PubNubDetailRep) GetChannel() string

GetChannel returns the Channel field value if set, zero value otherwise.

func (*PubNubDetailRep) GetChannelOk ¶

func (o *PubNubDetailRep) GetChannelOk() (*string, bool)

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

func (*PubNubDetailRep) GetCipherKey ¶

func (o *PubNubDetailRep) GetCipherKey() string

GetCipherKey returns the CipherKey field value if set, zero value otherwise.

func (*PubNubDetailRep) GetCipherKeyOk ¶

func (o *PubNubDetailRep) GetCipherKeyOk() (*string, bool)

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

func (*PubNubDetailRep) HasChannel ¶

func (o *PubNubDetailRep) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (*PubNubDetailRep) HasCipherKey ¶

func (o *PubNubDetailRep) HasCipherKey() bool

HasCipherKey returns a boolean if a field has been set.

func (PubNubDetailRep) MarshalJSON ¶

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

func (*PubNubDetailRep) SetChannel ¶

func (o *PubNubDetailRep) SetChannel(v string)

SetChannel gets a reference to the given string and assigns it to the Channel field.

func (*PubNubDetailRep) SetCipherKey ¶

func (o *PubNubDetailRep) SetCipherKey(v string)

SetCipherKey gets a reference to the given string and assigns it to the CipherKey field.

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

type RateLimitedErrorRep struct {
	// Specific error code encountered
	Code *string `json:"code,omitempty"`
	// Description of the error
	Message *string `json:"message,omitempty"`
}

RateLimitedErrorRep struct for RateLimitedErrorRep

func NewRateLimitedErrorRep ¶

func NewRateLimitedErrorRep() *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 if set, zero value otherwise.

func (*RateLimitedErrorRep) GetCodeOk ¶

func (o *RateLimitedErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise 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 if set, zero value otherwise.

func (*RateLimitedErrorRep) GetMessageOk ¶

func (o *RateLimitedErrorRep) 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 (*RateLimitedErrorRep) HasCode ¶

func (o *RateLimitedErrorRep) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*RateLimitedErrorRep) HasMessage ¶

func (o *RateLimitedErrorRep) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (RateLimitedErrorRep) MarshalJSON ¶

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

func (*RateLimitedErrorRep) SetCode ¶

func (o *RateLimitedErrorRep) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*RateLimitedErrorRep) SetMessage ¶

func (o *RateLimitedErrorRep) SetMessage(v string)

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

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 {
	// The upper bound
	Upper *float32 `json:"upper,omitempty"`
	// The lower bound
	Lower *float32 `json:"lower,omitempty"`
	// The treatment ID
	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 config using the JSON patch format.

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

type ResolvedContext struct {
	Elements []ResolvedUIBlockElement `json:"elements,omitempty"`
}

ResolvedContext struct for ResolvedContext

func NewResolvedContext ¶

func NewResolvedContext() *ResolvedContext

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

func NewResolvedContextWithDefaults ¶

func NewResolvedContextWithDefaults() *ResolvedContext

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

func (*ResolvedContext) GetElements ¶

func (o *ResolvedContext) GetElements() []ResolvedUIBlockElement

GetElements returns the Elements field value if set, zero value otherwise.

func (*ResolvedContext) GetElementsOk ¶

func (o *ResolvedContext) GetElementsOk() ([]ResolvedUIBlockElement, bool)

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

func (*ResolvedContext) HasElements ¶

func (o *ResolvedContext) HasElements() bool

HasElements returns a boolean if a field has been set.

func (ResolvedContext) MarshalJSON ¶

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

func (*ResolvedContext) SetElements ¶

func (o *ResolvedContext) SetElements(v []ResolvedUIBlockElement)

SetElements gets a reference to the given []ResolvedUIBlockElement and assigns it to the Elements field.

type ResolvedImage ¶

type ResolvedImage struct {
	IsAvatar  *bool   `json:"isAvatar,omitempty"`
	IsIcon    *bool   `json:"isIcon,omitempty"`
	SourceUrl *string `json:"sourceUrl,omitempty"`
}

ResolvedImage struct for ResolvedImage

func NewResolvedImage ¶

func NewResolvedImage() *ResolvedImage

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

func NewResolvedImageWithDefaults ¶

func NewResolvedImageWithDefaults() *ResolvedImage

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

func (*ResolvedImage) GetIsAvatar ¶

func (o *ResolvedImage) GetIsAvatar() bool

GetIsAvatar returns the IsAvatar field value if set, zero value otherwise.

func (*ResolvedImage) GetIsAvatarOk ¶

func (o *ResolvedImage) GetIsAvatarOk() (*bool, bool)

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

func (*ResolvedImage) GetIsIcon ¶

func (o *ResolvedImage) GetIsIcon() bool

GetIsIcon returns the IsIcon field value if set, zero value otherwise.

func (*ResolvedImage) GetIsIconOk ¶

func (o *ResolvedImage) GetIsIconOk() (*bool, bool)

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

func (*ResolvedImage) GetSourceUrl ¶

func (o *ResolvedImage) GetSourceUrl() string

GetSourceUrl returns the SourceUrl field value if set, zero value otherwise.

func (*ResolvedImage) GetSourceUrlOk ¶

func (o *ResolvedImage) GetSourceUrlOk() (*string, bool)

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

func (*ResolvedImage) HasIsAvatar ¶

func (o *ResolvedImage) HasIsAvatar() bool

HasIsAvatar returns a boolean if a field has been set.

func (*ResolvedImage) HasIsIcon ¶

func (o *ResolvedImage) HasIsIcon() bool

HasIsIcon returns a boolean if a field has been set.

func (*ResolvedImage) HasSourceUrl ¶

func (o *ResolvedImage) HasSourceUrl() bool

HasSourceUrl returns a boolean if a field has been set.

func (ResolvedImage) MarshalJSON ¶

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

func (*ResolvedImage) SetIsAvatar ¶

func (o *ResolvedImage) SetIsAvatar(v bool)

SetIsAvatar gets a reference to the given bool and assigns it to the IsAvatar field.

func (*ResolvedImage) SetIsIcon ¶

func (o *ResolvedImage) SetIsIcon(v bool)

SetIsIcon gets a reference to the given bool and assigns it to the IsIcon field.

func (*ResolvedImage) SetSourceUrl ¶

func (o *ResolvedImage) SetSourceUrl(v string)

SetSourceUrl gets a reference to the given string and assigns it to the SourceUrl field.

type ResolvedTitle ¶

type ResolvedTitle struct {
	Elements        []ResolvedUIBlockElement `json:"elements,omitempty"`
	LinkToReference *bool                    `json:"linkToReference,omitempty"`
}

ResolvedTitle struct for ResolvedTitle

func NewResolvedTitle ¶

func NewResolvedTitle() *ResolvedTitle

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

func NewResolvedTitleWithDefaults ¶

func NewResolvedTitleWithDefaults() *ResolvedTitle

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

func (*ResolvedTitle) GetElements ¶

func (o *ResolvedTitle) GetElements() []ResolvedUIBlockElement

GetElements returns the Elements field value if set, zero value otherwise.

func (*ResolvedTitle) GetElementsOk ¶

func (o *ResolvedTitle) GetElementsOk() ([]ResolvedUIBlockElement, bool)

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

func (*ResolvedTitle) GetLinkToReference ¶

func (o *ResolvedTitle) GetLinkToReference() bool

GetLinkToReference returns the LinkToReference field value if set, zero value otherwise.

func (*ResolvedTitle) GetLinkToReferenceOk ¶

func (o *ResolvedTitle) GetLinkToReferenceOk() (*bool, bool)

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

func (*ResolvedTitle) HasElements ¶

func (o *ResolvedTitle) HasElements() bool

HasElements returns a boolean if a field has been set.

func (*ResolvedTitle) HasLinkToReference ¶

func (o *ResolvedTitle) HasLinkToReference() bool

HasLinkToReference returns a boolean if a field has been set.

func (ResolvedTitle) MarshalJSON ¶

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

func (*ResolvedTitle) SetElements ¶

func (o *ResolvedTitle) SetElements(v []ResolvedUIBlockElement)

SetElements gets a reference to the given []ResolvedUIBlockElement and assigns it to the Elements field.

func (*ResolvedTitle) SetLinkToReference ¶

func (o *ResolvedTitle) SetLinkToReference(v bool)

SetLinkToReference gets a reference to the given bool and assigns it to the LinkToReference field.

type ResolvedUIBlockElement ¶

type ResolvedUIBlockElement struct {
	IsBold      *bool   `json:"isBold,omitempty"`
	Text        *string `json:"text,omitempty"`
	Url         *string `json:"url,omitempty"`
	IsTimestamp *bool   `json:"isTimestamp,omitempty"`
}

ResolvedUIBlockElement struct for ResolvedUIBlockElement

func NewResolvedUIBlockElement ¶

func NewResolvedUIBlockElement() *ResolvedUIBlockElement

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

func NewResolvedUIBlockElementWithDefaults ¶

func NewResolvedUIBlockElementWithDefaults() *ResolvedUIBlockElement

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

func (*ResolvedUIBlockElement) GetIsBold ¶

func (o *ResolvedUIBlockElement) GetIsBold() bool

GetIsBold returns the IsBold field value if set, zero value otherwise.

func (*ResolvedUIBlockElement) GetIsBoldOk ¶

func (o *ResolvedUIBlockElement) GetIsBoldOk() (*bool, bool)

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

func (*ResolvedUIBlockElement) GetIsTimestamp ¶

func (o *ResolvedUIBlockElement) GetIsTimestamp() bool

GetIsTimestamp returns the IsTimestamp field value if set, zero value otherwise.

func (*ResolvedUIBlockElement) GetIsTimestampOk ¶

func (o *ResolvedUIBlockElement) GetIsTimestampOk() (*bool, bool)

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

func (*ResolvedUIBlockElement) GetText ¶

func (o *ResolvedUIBlockElement) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*ResolvedUIBlockElement) GetTextOk ¶

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

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

func (*ResolvedUIBlockElement) GetUrl ¶

func (o *ResolvedUIBlockElement) GetUrl() string

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

func (*ResolvedUIBlockElement) GetUrlOk ¶

func (o *ResolvedUIBlockElement) 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 (*ResolvedUIBlockElement) HasIsBold ¶

func (o *ResolvedUIBlockElement) HasIsBold() bool

HasIsBold returns a boolean if a field has been set.

func (*ResolvedUIBlockElement) HasIsTimestamp ¶

func (o *ResolvedUIBlockElement) HasIsTimestamp() bool

HasIsTimestamp returns a boolean if a field has been set.

func (*ResolvedUIBlockElement) HasText ¶

func (o *ResolvedUIBlockElement) HasText() bool

HasText returns a boolean if a field has been set.

func (*ResolvedUIBlockElement) HasUrl ¶

func (o *ResolvedUIBlockElement) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (ResolvedUIBlockElement) MarshalJSON ¶

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

func (*ResolvedUIBlockElement) SetIsBold ¶

func (o *ResolvedUIBlockElement) SetIsBold(v bool)

SetIsBold gets a reference to the given bool and assigns it to the IsBold field.

func (*ResolvedUIBlockElement) SetIsTimestamp ¶

func (o *ResolvedUIBlockElement) SetIsTimestamp(v bool)

SetIsTimestamp gets a reference to the given bool and assigns it to the IsTimestamp field.

func (*ResolvedUIBlockElement) SetText ¶

func (o *ResolvedUIBlockElement) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

func (*ResolvedUIBlockElement) SetUrl ¶

func (o *ResolvedUIBlockElement) SetUrl(v string)

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

type ResolvedUIBlocks ¶

type ResolvedUIBlocks struct {
	Image       *ResolvedImage   `json:"image,omitempty"`
	Context     *ResolvedContext `json:"context,omitempty"`
	Description *string          `json:"description,omitempty"`
	Name        *string          `json:"name,omitempty"`
	Title       *ResolvedTitle   `json:"title,omitempty"`
}

ResolvedUIBlocks struct for ResolvedUIBlocks

func NewResolvedUIBlocks ¶

func NewResolvedUIBlocks() *ResolvedUIBlocks

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

func NewResolvedUIBlocksWithDefaults ¶

func NewResolvedUIBlocksWithDefaults() *ResolvedUIBlocks

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

func (*ResolvedUIBlocks) GetContext ¶

func (o *ResolvedUIBlocks) GetContext() ResolvedContext

GetContext returns the Context field value if set, zero value otherwise.

func (*ResolvedUIBlocks) GetContextOk ¶

func (o *ResolvedUIBlocks) GetContextOk() (*ResolvedContext, bool)

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

func (*ResolvedUIBlocks) GetDescription ¶

func (o *ResolvedUIBlocks) GetDescription() string

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

func (*ResolvedUIBlocks) GetDescriptionOk ¶

func (o *ResolvedUIBlocks) 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 (*ResolvedUIBlocks) GetImage ¶

func (o *ResolvedUIBlocks) GetImage() ResolvedImage

GetImage returns the Image field value if set, zero value otherwise.

func (*ResolvedUIBlocks) GetImageOk ¶

func (o *ResolvedUIBlocks) GetImageOk() (*ResolvedImage, bool)

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

func (*ResolvedUIBlocks) GetName ¶

func (o *ResolvedUIBlocks) GetName() string

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

func (*ResolvedUIBlocks) GetNameOk ¶

func (o *ResolvedUIBlocks) 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 (*ResolvedUIBlocks) GetTitle ¶

func (o *ResolvedUIBlocks) GetTitle() ResolvedTitle

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

func (*ResolvedUIBlocks) GetTitleOk ¶

func (o *ResolvedUIBlocks) GetTitleOk() (*ResolvedTitle, 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 (*ResolvedUIBlocks) HasContext ¶

func (o *ResolvedUIBlocks) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ResolvedUIBlocks) HasDescription ¶

func (o *ResolvedUIBlocks) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResolvedUIBlocks) HasImage ¶

func (o *ResolvedUIBlocks) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*ResolvedUIBlocks) HasName ¶

func (o *ResolvedUIBlocks) HasName() bool

HasName returns a boolean if a field has been set.

func (*ResolvedUIBlocks) HasTitle ¶

func (o *ResolvedUIBlocks) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (ResolvedUIBlocks) MarshalJSON ¶

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

func (*ResolvedUIBlocks) SetContext ¶

func (o *ResolvedUIBlocks) SetContext(v ResolvedContext)

SetContext gets a reference to the given ResolvedContext and assigns it to the Context field.

func (*ResolvedUIBlocks) SetDescription ¶

func (o *ResolvedUIBlocks) SetDescription(v string)

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

func (*ResolvedUIBlocks) SetImage ¶

func (o *ResolvedUIBlocks) SetImage(v ResolvedImage)

SetImage gets a reference to the given ResolvedImage and assigns it to the Image field.

func (*ResolvedUIBlocks) SetName ¶

func (o *ResolvedUIBlocks) SetName(v string)

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

func (*ResolvedUIBlocks) SetTitle ¶

func (o *ResolvedUIBlocks) SetTitle(v ResolvedTitle)

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

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

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

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

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

type Rollout ¶

type Rollout struct {
	Variations           []WeightedVariation      `json:"variations"`
	ExperimentAllocation *ExperimentAllocationRep `json:"experimentAllocation,omitempty"`
	Seed                 *int32                   `json:"seed,omitempty"`
	BucketBy             *string                  `json:"bucketBy,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) 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) 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) 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 Rule ¶

type Rule struct {
	Id          *string  `json:"_id,omitempty"`
	Variation   *int32   `json:"variation,omitempty"`
	Rollout     *Rollout `json:"rollout,omitempty"`
	Clauses     []Clause `json:"clauses"`
	TrackEvents bool     `json:"trackEvents"`
	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 ScheduleConditionInput ¶

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

ScheduleConditionInput struct for ScheduleConditionInput

func NewScheduleConditionInput ¶

func NewScheduleConditionInput() *ScheduleConditionInput

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

func NewScheduleConditionInputWithDefaults ¶

func NewScheduleConditionInputWithDefaults() *ScheduleConditionInput

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

func (*ScheduleConditionInput) GetExecuteNow ¶

func (o *ScheduleConditionInput) GetExecuteNow() bool

GetExecuteNow returns the ExecuteNow field value if set, zero value otherwise.

func (*ScheduleConditionInput) GetExecuteNowOk ¶

func (o *ScheduleConditionInput) 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 (*ScheduleConditionInput) GetExecutionDate ¶

func (o *ScheduleConditionInput) GetExecutionDate() int64

GetExecutionDate returns the ExecutionDate field value if set, zero value otherwise.

func (*ScheduleConditionInput) GetExecutionDateOk ¶

func (o *ScheduleConditionInput) 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 (*ScheduleConditionInput) GetScheduleKind ¶

func (o *ScheduleConditionInput) GetScheduleKind() string

GetScheduleKind returns the ScheduleKind field value if set, zero value otherwise.

func (*ScheduleConditionInput) GetScheduleKindOk ¶

func (o *ScheduleConditionInput) 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 (*ScheduleConditionInput) GetWaitDuration ¶

func (o *ScheduleConditionInput) GetWaitDuration() int32

GetWaitDuration returns the WaitDuration field value if set, zero value otherwise.

func (*ScheduleConditionInput) GetWaitDurationOk ¶

func (o *ScheduleConditionInput) 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 (*ScheduleConditionInput) GetWaitDurationUnit ¶

func (o *ScheduleConditionInput) GetWaitDurationUnit() string

GetWaitDurationUnit returns the WaitDurationUnit field value if set, zero value otherwise.

func (*ScheduleConditionInput) GetWaitDurationUnitOk ¶

func (o *ScheduleConditionInput) 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 (*ScheduleConditionInput) HasExecuteNow ¶

func (o *ScheduleConditionInput) HasExecuteNow() bool

HasExecuteNow returns a boolean if a field has been set.

func (*ScheduleConditionInput) HasExecutionDate ¶

func (o *ScheduleConditionInput) HasExecutionDate() bool

HasExecutionDate returns a boolean if a field has been set.

func (*ScheduleConditionInput) HasScheduleKind ¶

func (o *ScheduleConditionInput) HasScheduleKind() bool

HasScheduleKind returns a boolean if a field has been set.

func (*ScheduleConditionInput) HasWaitDuration ¶

func (o *ScheduleConditionInput) HasWaitDuration() bool

HasWaitDuration returns a boolean if a field has been set.

func (*ScheduleConditionInput) HasWaitDurationUnit ¶

func (o *ScheduleConditionInput) HasWaitDurationUnit() bool

HasWaitDurationUnit returns a boolean if a field has been set.

func (ScheduleConditionInput) MarshalJSON ¶

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

func (*ScheduleConditionInput) SetExecuteNow ¶

func (o *ScheduleConditionInput) SetExecuteNow(v bool)

SetExecuteNow gets a reference to the given bool and assigns it to the ExecuteNow field.

func (*ScheduleConditionInput) SetExecutionDate ¶

func (o *ScheduleConditionInput) SetExecutionDate(v int64)

SetExecutionDate gets a reference to the given int64 and assigns it to the ExecutionDate field.

func (*ScheduleConditionInput) SetScheduleKind ¶

func (o *ScheduleConditionInput) SetScheduleKind(v string)

SetScheduleKind gets a reference to the given string and assigns it to the ScheduleKind field.

func (*ScheduleConditionInput) SetWaitDuration ¶

func (o *ScheduleConditionInput) SetWaitDuration(v int32)

SetWaitDuration gets a reference to the given int32 and assigns it to the WaitDuration field.

func (*ScheduleConditionInput) SetWaitDurationUnit ¶

func (o *ScheduleConditionInput) SetWaitDurationUnit(v string)

SetWaitDurationUnit gets a reference to the given string and assigns it to the WaitDurationUnit field.

type ScheduleConditionOutput ¶

type ScheduleConditionOutput struct {
	ScheduleKind     *string `json:"scheduleKind,omitempty"`
	ExecutionDate    *int64  `json:"executionDate,omitempty"`
	WaitDuration     *int32  `json:"waitDuration,omitempty"`
	WaitDurationUnit *string `json:"waitDurationUnit,omitempty"`
}

ScheduleConditionOutput struct for ScheduleConditionOutput

func NewScheduleConditionOutput ¶

func NewScheduleConditionOutput() *ScheduleConditionOutput

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

func NewScheduleConditionOutputWithDefaults ¶

func NewScheduleConditionOutputWithDefaults() *ScheduleConditionOutput

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

func (*ScheduleConditionOutput) GetExecutionDate ¶

func (o *ScheduleConditionOutput) GetExecutionDate() int64

GetExecutionDate returns the ExecutionDate field value if set, zero value otherwise.

func (*ScheduleConditionOutput) GetExecutionDateOk ¶

func (o *ScheduleConditionOutput) 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 (*ScheduleConditionOutput) GetScheduleKind ¶

func (o *ScheduleConditionOutput) GetScheduleKind() string

GetScheduleKind returns the ScheduleKind field value if set, zero value otherwise.

func (*ScheduleConditionOutput) GetScheduleKindOk ¶

func (o *ScheduleConditionOutput) 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 (*ScheduleConditionOutput) GetWaitDuration ¶

func (o *ScheduleConditionOutput) GetWaitDuration() int32

GetWaitDuration returns the WaitDuration field value if set, zero value otherwise.

func (*ScheduleConditionOutput) GetWaitDurationOk ¶

func (o *ScheduleConditionOutput) 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 (*ScheduleConditionOutput) GetWaitDurationUnit ¶

func (o *ScheduleConditionOutput) GetWaitDurationUnit() string

GetWaitDurationUnit returns the WaitDurationUnit field value if set, zero value otherwise.

func (*ScheduleConditionOutput) GetWaitDurationUnitOk ¶

func (o *ScheduleConditionOutput) 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 (*ScheduleConditionOutput) HasExecutionDate ¶

func (o *ScheduleConditionOutput) HasExecutionDate() bool

HasExecutionDate returns a boolean if a field has been set.

func (*ScheduleConditionOutput) HasScheduleKind ¶

func (o *ScheduleConditionOutput) HasScheduleKind() bool

HasScheduleKind returns a boolean if a field has been set.

func (*ScheduleConditionOutput) HasWaitDuration ¶

func (o *ScheduleConditionOutput) HasWaitDuration() bool

HasWaitDuration returns a boolean if a field has been set.

func (*ScheduleConditionOutput) HasWaitDurationUnit ¶

func (o *ScheduleConditionOutput) HasWaitDurationUnit() bool

HasWaitDurationUnit returns a boolean if a field has been set.

func (ScheduleConditionOutput) MarshalJSON ¶

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

func (*ScheduleConditionOutput) SetExecutionDate ¶

func (o *ScheduleConditionOutput) SetExecutionDate(v int64)

SetExecutionDate gets a reference to the given int64 and assigns it to the ExecutionDate field.

func (*ScheduleConditionOutput) SetScheduleKind ¶

func (o *ScheduleConditionOutput) SetScheduleKind(v string)

SetScheduleKind gets a reference to the given string and assigns it to the ScheduleKind field.

func (*ScheduleConditionOutput) SetWaitDuration ¶

func (o *ScheduleConditionOutput) SetWaitDuration(v int32)

SetWaitDuration gets a reference to the given int32 and assigns it to the WaitDuration field.

func (*ScheduleConditionOutput) SetWaitDurationUnit ¶

func (o *ScheduleConditionOutput) SetWaitDurationUnit(v string)

SetWaitDurationUnit gets a reference to the given string and assigns it to the WaitDurationUnit 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.

#### deleteScheduledChange

Removes the scheduled change.

#### 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`.

For example, to replace the scheduled changes, use this request body:

```json

{
  "comment": "optional comment",
  "instructions": [
    {
      "kind": "replaceScheduledChangesInstructions",
      "value": [ {"kind": "turnFlagOff"} ]
    }
  ]
}

```

#### updateScheduledChangesExecutionDate

Updates the execution date for the scheduled changes.

##### Parameters

- `value`: the new execution date, in Unix milliseconds.

@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 (false) or a Big Segment (true). Only use a Big Segment if you need to add more than 15,000 users.
	Unbounded *bool `json:"unbounded,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) 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) 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.

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"`
	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) 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) 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) 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 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 user 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) GetExpiringUserTargetsForSegment ¶

func (a *SegmentsApiService) GetExpiringUserTargetsForSegment(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiGetExpiringUserTargetsForSegmentRequest

GetExpiringUserTargetsForSegment Get expiring user targets for segment

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 user segment 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 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) GetSegmentMembershipForUser ¶

func (a *SegmentsApiService) GetSegmentMembershipForUser(ctx context.Context, projectKey string, environmentKey string, segmentKey string, userKey string) ApiGetSegmentMembershipForUserRequest

GetSegmentMembershipForUser Get Big Segment membership for user

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 user segments in 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
@param environmentKey The environment key
@return ApiGetSegmentsRequest

func (*SegmentsApiService) GetSegmentsExecute ¶

Execute executes the request

@return UserSegments

func (*SegmentsApiService) PatchExpiringUserTargetsForSegment ¶

func (a *SegmentsApiService) PatchExpiringUserTargetsForSegment(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiPatchExpiringUserTargetsForSegmentRequest

PatchExpiringUserTargetsForSegment Update expiring user targets for segment

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 user targets.

#### 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.

@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 user segment. The request body must be a valid semantic patch, JSON patch, or JSON merge patch.

### 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.

#### 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.

##### Parameters

- `values`: List of user keys.

#### 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.

##### Parameters

- `values`: List of user keys.

#### removeIncludedUsers

Removes user keys from the individual user targets included in the segment.

##### Parameters

- `values`: List of user keys.

#### removeExcludedUsers

Removes user keys from the individual user targets excluded from the segment.

##### Parameters

- `values`: List of user keys.

#### updateName

Updates the name of the segment.

##### Parameters

- `value`: Name of the segment.

## Using JSON patches on a segment

You can also use JSON patch. To learn more, read [Updates using JSON patches](/reference#updates-using-json-patch).

For example, to update the description for a segment, 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>`. Using `/0` adds the new entry to the beginning 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": [{ "attribute": "email", "op": "endsWith", "values": [".edu"], "negate": false }]
      }
    }
  ]
}

```

To add or remove users from segments, we recommend using semantic patch. Semantic patch for segments includes specific `instructions` for adding and removing both included and excluded users.

@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 user 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) UpdateBigSegmentTargets ¶

func (a *SegmentsApiService) UpdateBigSegmentTargets(ctx context.Context, projectKey string, environmentKey string, segmentKey string) ApiUpdateBigSegmentTargetsRequest

UpdateBigSegmentTargets Update targets on a Big Segment

Update targets included or excluded in a Big 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 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

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

@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 info about a Big Segment export process.

@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 info about a Big Segment import process.

@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 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
	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 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"`
	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"`
	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 StatementPostData ¶

type StatementPostData 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"`
	Effect     string   `json:"effect"`
}

StatementPostData struct for StatementPostData

func NewStatementPostData ¶

func NewStatementPostData(effect string) *StatementPostData

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

func NewStatementPostDataWithDefaults ¶

func NewStatementPostDataWithDefaults() *StatementPostData

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

func (*StatementPostData) GetActions ¶

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

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

func (*StatementPostData) GetActionsOk ¶

func (o *StatementPostData) 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 (*StatementPostData) GetEffect ¶

func (o *StatementPostData) GetEffect() string

GetEffect returns the Effect field value

func (*StatementPostData) GetEffectOk ¶

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

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

func (*StatementPostData) GetNotActions ¶

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

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

func (*StatementPostData) GetNotActionsOk ¶

func (o *StatementPostData) 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 (*StatementPostData) GetNotResources ¶

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

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

func (*StatementPostData) GetNotResourcesOk ¶

func (o *StatementPostData) 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 (*StatementPostData) GetResources ¶

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

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

func (*StatementPostData) GetResourcesOk ¶

func (o *StatementPostData) 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 (*StatementPostData) HasActions ¶

func (o *StatementPostData) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*StatementPostData) HasNotActions ¶

func (o *StatementPostData) HasNotActions() bool

HasNotActions returns a boolean if a field has been set.

func (*StatementPostData) HasNotResources ¶

func (o *StatementPostData) HasNotResources() bool

HasNotResources returns a boolean if a field has been set.

func (*StatementPostData) HasResources ¶

func (o *StatementPostData) HasResources() bool

HasResources returns a boolean if a field has been set.

func (StatementPostData) MarshalJSON ¶

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

func (*StatementPostData) SetActions ¶

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

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

func (*StatementPostData) SetEffect ¶

func (o *StatementPostData) SetEffect(v string)

SetEffect sets field value

func (*StatementPostData) SetNotActions ¶

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

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

func (*StatementPostData) SetNotResources ¶

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

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

func (*StatementPostData) SetResources ¶

func (o *StatementPostData) 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"`
	// 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, 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) 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) SetVersion ¶

func (o *StatisticRep) SetVersion(v int32)

SetVersion sets field value

type StatisticsRep ¶

type StatisticsRep struct {
	// A list of code reference statistics for each code repository
	Items []StatisticRep `json:"items,omitempty"`
	// The location and content type of related resources
	Links *map[string]Link `json:"_links,omitempty"`
}

StatisticsRep struct for StatisticsRep

func NewStatisticsRep ¶

func NewStatisticsRep() *StatisticsRep

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

func NewStatisticsRepWithDefaults ¶

func NewStatisticsRepWithDefaults() *StatisticsRep

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

func (*StatisticsRep) GetItems ¶

func (o *StatisticsRep) GetItems() []StatisticRep

GetItems returns the Items field value if set, zero value otherwise.

func (*StatisticsRep) GetItemsOk ¶

func (o *StatisticsRep) GetItemsOk() ([]StatisticRep, 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 *StatisticsRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*StatisticsRep) GetLinksOk ¶

func (o *StatisticsRep) 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 (*StatisticsRep) HasItems ¶

func (o *StatisticsRep) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *StatisticsRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (StatisticsRep) MarshalJSON ¶

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

func (*StatisticsRep) SetItems ¶

func (o *StatisticsRep) SetItems(v []StatisticRep)

SetItems gets a reference to the given []StatisticRep and assigns it to the Items field.

func (o *StatisticsRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

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,omitempty"`
	// Description of the error
	Message *string `json:"message,omitempty"`
}

StatusConflictErrorRep struct for StatusConflictErrorRep

func NewStatusConflictErrorRep ¶

func NewStatusConflictErrorRep() *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 if set, zero value otherwise.

func (*StatusConflictErrorRep) GetCodeOk ¶

func (o *StatusConflictErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise 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 if set, zero value otherwise.

func (*StatusConflictErrorRep) GetMessageOk ¶

func (o *StatusConflictErrorRep) 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 (*StatusConflictErrorRep) HasCode ¶

func (o *StatusConflictErrorRep) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*StatusConflictErrorRep) HasMessage ¶

func (o *StatusConflictErrorRep) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (StatusConflictErrorRep) MarshalJSON ¶

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

func (*StatusConflictErrorRep) SetCode ¶

func (o *StatusConflictErrorRep) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*StatusConflictErrorRep) SetMessage ¶

func (o *StatusConflictErrorRep) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message 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 {
	Values    []string `json:"values"`
	Variation int32    `json:"variation"`
}

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

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

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 custom role action
	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 TeamRepExpandableProperties ¶

type TeamRepExpandableProperties struct {
	Roles       *TeamCustomRoles `json:"roles,omitempty"`
	Members     *TeamMembers     `json:"members,omitempty"`
	Projects    *TeamProjects    `json:"projects,omitempty"`
	Maintainers *TeamMaintainers `json:"maintainers,omitempty"`
}

TeamRepExpandableProperties struct for TeamRepExpandableProperties

func NewTeamRepExpandableProperties ¶

func NewTeamRepExpandableProperties() *TeamRepExpandableProperties

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

func NewTeamRepExpandablePropertiesWithDefaults ¶

func NewTeamRepExpandablePropertiesWithDefaults() *TeamRepExpandableProperties

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

func (*TeamRepExpandableProperties) GetMaintainers ¶

func (o *TeamRepExpandableProperties) GetMaintainers() TeamMaintainers

GetMaintainers returns the Maintainers field value if set, zero value otherwise.

func (*TeamRepExpandableProperties) GetMaintainersOk ¶

func (o *TeamRepExpandableProperties) 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 (*TeamRepExpandableProperties) GetMembers ¶

func (o *TeamRepExpandableProperties) GetMembers() TeamMembers

GetMembers returns the Members field value if set, zero value otherwise.

func (*TeamRepExpandableProperties) GetMembersOk ¶

func (o *TeamRepExpandableProperties) 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 (*TeamRepExpandableProperties) GetProjects ¶

func (o *TeamRepExpandableProperties) GetProjects() TeamProjects

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

func (*TeamRepExpandableProperties) GetProjectsOk ¶

func (o *TeamRepExpandableProperties) 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 (*TeamRepExpandableProperties) GetRoles ¶

GetRoles returns the Roles field value if set, zero value otherwise.

func (*TeamRepExpandableProperties) GetRolesOk ¶

func (o *TeamRepExpandableProperties) 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 (*TeamRepExpandableProperties) HasMaintainers ¶

func (o *TeamRepExpandableProperties) HasMaintainers() bool

HasMaintainers returns a boolean if a field has been set.

func (*TeamRepExpandableProperties) HasMembers ¶

func (o *TeamRepExpandableProperties) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*TeamRepExpandableProperties) HasProjects ¶

func (o *TeamRepExpandableProperties) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*TeamRepExpandableProperties) HasRoles ¶

func (o *TeamRepExpandableProperties) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (TeamRepExpandableProperties) MarshalJSON ¶

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

func (*TeamRepExpandableProperties) SetMaintainers ¶

func (o *TeamRepExpandableProperties) SetMaintainers(v TeamMaintainers)

SetMaintainers gets a reference to the given TeamMaintainers and assigns it to the Maintainers field.

func (*TeamRepExpandableProperties) SetMembers ¶

func (o *TeamRepExpandableProperties) SetMembers(v TeamMembers)

SetMembers gets a reference to the given TeamMembers and assigns it to the Members field.

func (*TeamRepExpandableProperties) SetProjects ¶

func (o *TeamRepExpandableProperties) SetProjects(v TeamProjects)

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

func (*TeamRepExpandableProperties) SetRoles ¶

SetRoles gets a reference to the given TeamCustomRoles and assigns it to the Roles 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.

#### addCustomRoles

Adds custom roles to the team. Team members will have these custom roles granted to them.

##### Parameters

- `values`: List of custom role keys.

#### 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.

#### addMembers

Adds members to the team.

##### Parameters

- `values`: List of member IDs.

#### removeMembers

Removes members from the team.

##### Parameters

- `values`: List of member IDs.

#### 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.

#### removePermissionGrants

Removes permission grants from members for the team. 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.

#### updateDescription

Updates the description of the team.

##### Parameters

- `value`: The new description.

#### updateName

Updates the name of the team.

##### Parameters

- `value`: The new name.

### 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 user 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": "a-valid-email@launchdarkly.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@launchdarkly.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.

#### addMembersToTeams

Add the members to teams.

##### Parameters

- `memberIDs`: List of member IDs to add. - `teamKeys`: List of teams to update.

#### 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.

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

type TitleRep struct {
	Subject *SubjectDataRep       `json:"subject,omitempty"`
	Member  *MemberDataRep        `json:"member,omitempty"`
	Token   *TokenDataRep         `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"`
}

TitleRep struct for TitleRep

func NewTitleRep ¶

func NewTitleRep() *TitleRep

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

func NewTitleRepWithDefaults ¶

func NewTitleRepWithDefaults() *TitleRep

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

func (*TitleRep) GetApp ¶

func (o *TitleRep) GetApp() AuthorizedAppDataRep

GetApp returns the App field value if set, zero value otherwise.

func (*TitleRep) GetAppOk ¶

func (o *TitleRep) 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 (*TitleRep) GetMember ¶

func (o *TitleRep) GetMember() MemberDataRep

GetMember returns the Member field value if set, zero value otherwise.

func (*TitleRep) GetMemberOk ¶

func (o *TitleRep) 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 (*TitleRep) GetParent ¶

func (o *TitleRep) GetParent() ParentResourceRep

GetParent returns the Parent field value if set, zero value otherwise.

func (*TitleRep) GetParentOk ¶

func (o *TitleRep) 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 (*TitleRep) GetSubject ¶

func (o *TitleRep) GetSubject() SubjectDataRep

GetSubject returns the Subject field value if set, zero value otherwise.

func (*TitleRep) GetSubjectOk ¶

func (o *TitleRep) 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 (*TitleRep) GetTarget ¶

func (o *TitleRep) GetTarget() TargetResourceRep

GetTarget returns the Target field value if set, zero value otherwise.

func (*TitleRep) GetTargetOk ¶

func (o *TitleRep) 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 (*TitleRep) GetTitle ¶

func (o *TitleRep) GetTitle() string

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

func (*TitleRep) GetTitleOk ¶

func (o *TitleRep) 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 (*TitleRep) GetTitleVerb ¶

func (o *TitleRep) GetTitleVerb() string

GetTitleVerb returns the TitleVerb field value if set, zero value otherwise.

func (*TitleRep) GetTitleVerbOk ¶

func (o *TitleRep) 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 (*TitleRep) GetToken ¶

func (o *TitleRep) GetToken() TokenDataRep

GetToken returns the Token field value if set, zero value otherwise.

func (*TitleRep) GetTokenOk ¶

func (o *TitleRep) GetTokenOk() (*TokenDataRep, 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 (*TitleRep) HasApp ¶

func (o *TitleRep) HasApp() bool

HasApp returns a boolean if a field has been set.

func (*TitleRep) HasMember ¶

func (o *TitleRep) HasMember() bool

HasMember returns a boolean if a field has been set.

func (*TitleRep) HasParent ¶

func (o *TitleRep) HasParent() bool

HasParent returns a boolean if a field has been set.

func (*TitleRep) HasSubject ¶

func (o *TitleRep) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*TitleRep) HasTarget ¶

func (o *TitleRep) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*TitleRep) HasTitle ¶

func (o *TitleRep) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*TitleRep) HasTitleVerb ¶

func (o *TitleRep) HasTitleVerb() bool

HasTitleVerb returns a boolean if a field has been set.

func (*TitleRep) HasToken ¶

func (o *TitleRep) HasToken() bool

HasToken returns a boolean if a field has been set.

func (TitleRep) MarshalJSON ¶

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

func (*TitleRep) SetApp ¶

func (o *TitleRep) SetApp(v AuthorizedAppDataRep)

SetApp gets a reference to the given AuthorizedAppDataRep and assigns it to the App field.

func (*TitleRep) SetMember ¶

func (o *TitleRep) SetMember(v MemberDataRep)

SetMember gets a reference to the given MemberDataRep and assigns it to the Member field.

func (*TitleRep) SetParent ¶

func (o *TitleRep) SetParent(v ParentResourceRep)

SetParent gets a reference to the given ParentResourceRep and assigns it to the Parent field.

func (*TitleRep) SetSubject ¶

func (o *TitleRep) SetSubject(v SubjectDataRep)

SetSubject gets a reference to the given SubjectDataRep and assigns it to the Subject field.

func (*TitleRep) SetTarget ¶

func (o *TitleRep) SetTarget(v TargetResourceRep)

SetTarget gets a reference to the given TargetResourceRep and assigns it to the Target field.

func (*TitleRep) SetTitle ¶

func (o *TitleRep) SetTitle(v string)

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

func (*TitleRep) SetTitleVerb ¶

func (o *TitleRep) SetTitleVerb(v string)

SetTitleVerb gets a reference to the given string and assigns it to the TitleVerb field.

func (*TitleRep) SetToken ¶

func (o *TitleRep) SetToken(v TokenDataRep)

SetToken gets a reference to the given TokenDataRep and assigns it to the Token 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"`
	// Last four characters of the token value
	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 TokenDataRep ¶

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

TokenDataRep struct for TokenDataRep

func NewTokenDataRep ¶

func NewTokenDataRep() *TokenDataRep

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

func NewTokenDataRepWithDefaults ¶

func NewTokenDataRepWithDefaults() *TokenDataRep

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

func (*TokenDataRep) GetEnding ¶

func (o *TokenDataRep) GetEnding() string

GetEnding returns the Ending field value if set, zero value otherwise.

func (*TokenDataRep) GetEndingOk ¶

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

func (o *TokenDataRep) GetId() string

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

func (*TokenDataRep) GetIdOk ¶

func (o *TokenDataRep) 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 *TokenDataRep) GetLinks() map[string]Link

GetLinks returns the Links field value if set, zero value otherwise.

func (*TokenDataRep) GetLinksOk ¶

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

func (o *TokenDataRep) GetName() string

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

func (*TokenDataRep) GetNameOk ¶

func (o *TokenDataRep) 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 (*TokenDataRep) GetServiceToken ¶

func (o *TokenDataRep) GetServiceToken() bool

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

func (*TokenDataRep) GetServiceTokenOk ¶

func (o *TokenDataRep) 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 (*TokenDataRep) HasEnding ¶

func (o *TokenDataRep) HasEnding() bool

HasEnding returns a boolean if a field has been set.

func (*TokenDataRep) HasId ¶

func (o *TokenDataRep) HasId() bool

HasId returns a boolean if a field has been set.

func (o *TokenDataRep) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*TokenDataRep) HasName ¶

func (o *TokenDataRep) HasName() bool

HasName returns a boolean if a field has been set.

func (*TokenDataRep) HasServiceToken ¶

func (o *TokenDataRep) HasServiceToken() bool

HasServiceToken returns a boolean if a field has been set.

func (TokenDataRep) MarshalJSON ¶

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

func (*TokenDataRep) SetEnding ¶

func (o *TokenDataRep) SetEnding(v string)

SetEnding gets a reference to the given string and assigns it to the Ending field.

func (*TokenDataRep) SetId ¶

func (o *TokenDataRep) SetId(v string)

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

func (o *TokenDataRep) SetLinks(v map[string]Link)

SetLinks gets a reference to the given map[string]Link and assigns it to the Links field.

func (*TokenDataRep) SetName ¶

func (o *TokenDataRep) SetName(v string)

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

func (*TokenDataRep) SetServiceToken ¶

func (o *TokenDataRep) 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"`
}

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

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. Of all the variations in the experiment, the one with highest probability is likely the best option to choose.
	PBest *float32 `json:"pBest,omitempty"`
	// A list of the ranges of the metric that you should have 90% confidence in, for each treatment ID. For example, if the range of the relative differences is [-1%, 4%], you can have 90% confidence that the population difference is a number between 1% lower and 4% higher than the control.
	RelativeDifferences []RelativeDifferenceRep `json:"relativeDifferences,omitempty"`
	// The number of experiment users for this variation
	Units *int64 `json:"units,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) 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) 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) 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) 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) 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) 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,omitempty"`
	// Description of the error
	Message *string `json:"message,omitempty"`
}

UnauthorizedErrorRep struct for UnauthorizedErrorRep

func NewUnauthorizedErrorRep ¶

func NewUnauthorizedErrorRep() *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 if set, zero value otherwise.

func (*UnauthorizedErrorRep) GetCodeOk ¶

func (o *UnauthorizedErrorRep) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise 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 if set, zero value otherwise.

func (*UnauthorizedErrorRep) GetMessageOk ¶

func (o *UnauthorizedErrorRep) 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 (*UnauthorizedErrorRep) HasCode ¶

func (o *UnauthorizedErrorRep) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*UnauthorizedErrorRep) HasMessage ¶

func (o *UnauthorizedErrorRep) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (UnauthorizedErrorRep) MarshalJSON ¶

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

func (*UnauthorizedErrorRep) SetCode ¶

func (o *UnauthorizedErrorRep) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UnauthorizedErrorRep) SetMessage ¶

func (o *UnauthorizedErrorRep) SetMessage(v string)

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

type UpsertFlagDefaultsPayload ¶

type UpsertFlagDefaultsPayload struct {
	Tags                          []string                      `json:"tags"`
	Temporary                     bool                          `json:"temporary"`
	DefaultClientSideAvailability DefaultClientSideAvailability `json:"defaultClientSideAvailability"`
	BooleanDefaults               BooleanFlagDefaults           `json:"booleanDefaults"`
}

UpsertFlagDefaultsPayload struct for UpsertFlagDefaultsPayload

func NewUpsertFlagDefaultsPayload ¶

func NewUpsertFlagDefaultsPayload(tags []string, temporary bool, defaultClientSideAvailability DefaultClientSideAvailability, booleanDefaults BooleanFlagDefaults) *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 {
	Links                         *map[string]Link              `json:"_links,omitempty"`
	Tags                          []string                      `json:"tags"`
	Temporary                     bool                          `json:"temporary"`
	DefaultClientSideAvailability DefaultClientSideAvailability `json:"defaultClientSideAvailability"`
	BooleanDefaults               BooleanFlagDefaults           `json:"booleanDefaults"`
}

UpsertPayloadRep struct for UpsertPayloadRep

func NewUpsertPayloadRep ¶

func NewUpsertPayloadRep(tags []string, temporary bool, defaultClientSideAvailability DefaultClientSideAvailability, booleanDefaults BooleanFlagDefaults) *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 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. The avatar appears on the Users dashboard in the LaunchDarkly UI.
	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 Users dashboard in the LaunchDarkly UI.
	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 Users dashboard.
	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 UserRecordRep ¶

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

UserRecordRep struct for UserRecordRep

func NewUserRecordRep ¶

func NewUserRecordRep() *UserRecordRep

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

func NewUserRecordRepWithDefaults ¶

func NewUserRecordRepWithDefaults() *UserRecordRep

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

func (*UserRecordRep) GetEnvironmentId ¶

func (o *UserRecordRep) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.

func (*UserRecordRep) GetEnvironmentIdOk ¶

func (o *UserRecordRep) 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 (*UserRecordRep) GetLastPing ¶

func (o *UserRecordRep) GetLastPing() time.Time

GetLastPing returns the LastPing field value if set, zero value otherwise.

func (*UserRecordRep) GetLastPingOk ¶

func (o *UserRecordRep) 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 (*UserRecordRep) GetOwnerId ¶

func (o *UserRecordRep) GetOwnerId() string

GetOwnerId returns the OwnerId field value if set, zero value otherwise.

func (*UserRecordRep) GetOwnerIdOk ¶

func (o *UserRecordRep) 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 (*UserRecordRep) GetSortValue ¶

func (o *UserRecordRep) GetSortValue() interface{}

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

func (*UserRecordRep) GetSortValueOk ¶

func (o *UserRecordRep) 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 (*UserRecordRep) GetUser ¶

func (o *UserRecordRep) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*UserRecordRep) GetUserOk ¶

func (o *UserRecordRep) 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 (*UserRecordRep) HasEnvironmentId ¶

func (o *UserRecordRep) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*UserRecordRep) HasLastPing ¶

func (o *UserRecordRep) HasLastPing() bool

HasLastPing returns a boolean if a field has been set.

func (*UserRecordRep) HasOwnerId ¶

func (o *UserRecordRep) HasOwnerId() bool

HasOwnerId returns a boolean if a field has been set.

func (*UserRecordRep) HasSortValue ¶

func (o *UserRecordRep) HasSortValue() bool

HasSortValue returns a boolean if a field has been set.

func (*UserRecordRep) HasUser ¶

func (o *UserRecordRep) HasUser() bool

HasUser returns a boolean if a field has been set.

func (UserRecordRep) MarshalJSON ¶

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

func (*UserRecordRep) SetEnvironmentId ¶

func (o *UserRecordRep) SetEnvironmentId(v string)

SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.

func (*UserRecordRep) SetLastPing ¶

func (o *UserRecordRep) SetLastPing(v time.Time)

SetLastPing gets a reference to the given time.Time and assigns it to the LastPing field.

func (*UserRecordRep) SetOwnerId ¶

func (o *UserRecordRep) SetOwnerId(v string)

SetOwnerId gets a reference to the given string and assigns it to the OwnerId field.

func (*UserRecordRep) SetSortValue ¶

func (o *UserRecordRep) SetSortValue(v interface{})

SetSortValue gets a reference to the given interface{} and assigns it to the SortValue field.

func (*UserRecordRep) SetUser ¶

func (o *UserRecordRep) 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"`
	// A unique key used to reference the segment
	Key string `json:"key"`
	// An array of user keys for included users. Included users are always segment members, regardless of segment rules. For Big Segments this array is either empty or omitted.
	Included []string `json:"included,omitempty"`
	// An array of user keys for excluded users. Segment rules bypass excluded users, so they will never be included based on rules. Excluded users may still be included explicitly. This value is omitted for Big Segments.
	Excluded []string `json:"excluded,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"`
	Flags   []FlagListingRep `json:"_flags,omitempty"`
	// Whether this is a standard segment (<code>false</code>) or a Big Segment (<code>true</code>). If omitted, the segment is a standard segment.
	Unbounded *bool `json:"unbounded,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 Big Segments.
	External *string `json:"_external,omitempty"`
	// The URL for the external data store backing this segment. Only applies to Big 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, 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) 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) 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 (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) 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) 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) HasUnbounded ¶

func (o *UserSegment) HasUnbounded() bool

HasUnbounded 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) 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) SetKey ¶

func (o *UserSegment) SetKey(v string)

SetKey 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) 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"`
	BucketBy *string  `json:"bucketBy,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) 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) 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) HasId ¶

func (o *UserSegmentRule) HasId() bool

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

func (o *UserSegmentRule) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id 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"`
}

UserSegments struct for UserSegments

func NewUserSegments ¶

func NewUserSegments(items []UserSegment, links map[string]Link) *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) 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

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

func (*UserSettingsApiService) GetExpiringFlagsForUserExecute ¶

Execute executes the request

@return ExpiringUserTargetGetResponse

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

func (*UserSettingsApiService) GetUserFlagSettingExecute ¶

Execute executes the request

@return UserFlagSetting

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

func (*UserSettingsApiService) GetUserFlagSettingsExecute ¶

Execute executes the request

@return UserFlagSettings

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.

This request only supports semantic patches. 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

#### 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.

#### 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. * `version`: The version of the flag variation to update. You can retrieve this by making a GET request for the flag.

#### 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.

@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

func (*UserSettingsApiService) PatchExpiringFlagsForUserExecute ¶

Execute executes the request

@return ExpiringUserTargetPatchResponse

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

func (*UserSettingsApiService) PutFlagSettingExecute ¶

func (a *UserSettingsApiService) PutFlagSettingExecute(r ApiPutFlagSettingRequest) (*http.Response, error)

Execute executes the request

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

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

func (*UsersApiService) DeleteUserExecute ¶

func (a *UsersApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) GetSearchUsers ¶

func (a *UsersApiService) GetSearchUsers(ctx context.Context, projectKey string, environmentKey string) ApiGetSearchUsersRequest

GetSearchUsers Find users

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

> ### `offset` is deprecated > > `offset` is deprecated and will be removed in a future API version. You can still use `offset` and `limit` for pagination, but we recommend you use `sort` and `searchAfter` instead. `searchAfter` allows you to page through more than 10,000 users, but `offset` and `limit` do not.

@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

func (*UsersApiService) GetSearchUsersExecute ¶

func (a *UsersApiService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) (*Users, *http.Response, error)

Execute executes the request

@return Users

func (*UsersApiService) GetUser ¶

func (a *UsersApiService) GetUser(ctx context.Context, projectKey string, environmentKey string, userKey string) ApiGetUserRequest

GetUser Get user

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

func (*UsersApiService) GetUserExecute ¶

func (a *UsersApiService) GetUserExecute(r ApiGetUserRequest) (*UserRecord, *http.Response, error)

Execute executes the request

@return UserRecord

func (*UsersApiService) GetUsers ¶

func (a *UsersApiService) GetUsers(ctx context.Context, projectKey string, environmentKey string) ApiGetUsersRequest

GetUsers List users

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

func (*UsersApiService) GetUsersExecute ¶

func (a *UsersApiService) GetUsersExecute(r ApiGetUsersRequest) (*UsersRep, *http.Response, error)

Execute executes the request

@return UsersRep

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

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

func (*UsersBetaApiService) GetUserAttributeNamesExecute ¶

Execute executes the request

@return UserAttributeNamesRep

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

type ValuePut struct {
	// The variation value to set for the user. 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 Variate ¶

type Variate struct {
	Id          *string     `json:"id,omitempty"`
	Value       interface{} `json:"value"`
	Description *string     `json:"description,omitempty"`
	Name        *string     `json:"name,omitempty"`
}

Variate struct for Variate

func NewVariate ¶

func NewVariate(value interface{}) *Variate

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

func NewVariateWithDefaults ¶

func NewVariateWithDefaults() *Variate

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

func (*Variate) GetDescription ¶

func (o *Variate) GetDescription() string

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

func (*Variate) GetDescriptionOk ¶

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

func (o *Variate) GetId() string

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

func (*Variate) GetIdOk ¶

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

func (o *Variate) GetName() string

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

func (*Variate) GetNameOk ¶

func (o *Variate) 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 (*Variate) GetValue ¶

func (o *Variate) GetValue() interface{}

GetValue returns the Value field value If the value is explicit nil, the zero value for interface{} will be returned

func (*Variate) GetValueOk ¶

func (o *Variate) 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 (*Variate) HasDescription ¶

func (o *Variate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Variate) HasId ¶

func (o *Variate) HasId() bool

HasId returns a boolean if a field has been set.

func (*Variate) HasName ¶

func (o *Variate) HasName() bool

HasName returns a boolean if a field has been set.

func (Variate) MarshalJSON ¶

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

func (*Variate) SetDescription ¶

func (o *Variate) SetDescription(v string)

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

func (*Variate) SetId ¶

func (o *Variate) SetId(v string)

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

func (*Variate) SetName ¶

func (o *Variate) SetName(v string)

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

func (*Variate) SetValue ¶

func (o *Variate) SetValue(v interface{})

SetValue sets field value

type Variation ¶

type Variation struct {
	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 VariationOrRolloutRep ¶

type VariationOrRolloutRep struct {
	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"`
	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) *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) 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) 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. The request should be a valid JSON Patch document describing the changes to be made to the webhook.

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

type WorkflowTemplateParameterInput struct {
	Id      *string                `json:"_id,omitempty"`
	Path    *string                `json:"path,omitempty"`
	Default *ParameterDefaultInput `json:"default,omitempty"`
}

WorkflowTemplateParameterInput struct for WorkflowTemplateParameterInput

func NewWorkflowTemplateParameterInput ¶

func NewWorkflowTemplateParameterInput() *WorkflowTemplateParameterInput

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

func NewWorkflowTemplateParameterInputWithDefaults ¶

func NewWorkflowTemplateParameterInputWithDefaults() *WorkflowTemplateParameterInput

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

func (*WorkflowTemplateParameterInput) GetDefault ¶

GetDefault returns the Default field value if set, zero value otherwise.

func (*WorkflowTemplateParameterInput) GetDefaultOk ¶

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 (*WorkflowTemplateParameterInput) GetId ¶

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

func (*WorkflowTemplateParameterInput) GetIdOk ¶

func (o *WorkflowTemplateParameterInput) 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 (*WorkflowTemplateParameterInput) GetPath ¶

GetPath returns the Path field value if set, zero value otherwise.

func (*WorkflowTemplateParameterInput) GetPathOk ¶

func (o *WorkflowTemplateParameterInput) 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 (*WorkflowTemplateParameterInput) HasDefault ¶

func (o *WorkflowTemplateParameterInput) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*WorkflowTemplateParameterInput) HasId ¶

HasId returns a boolean if a field has been set.

func (*WorkflowTemplateParameterInput) HasPath ¶

func (o *WorkflowTemplateParameterInput) HasPath() bool

HasPath returns a boolean if a field has been set.

func (WorkflowTemplateParameterInput) MarshalJSON ¶

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

func (*WorkflowTemplateParameterInput) SetDefault ¶

SetDefault gets a reference to the given ParameterDefaultInput and assigns it to the Default field.

func (*WorkflowTemplateParameterInput) SetId ¶

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

func (*WorkflowTemplateParameterInput) SetPath ¶

func (o *WorkflowTemplateParameterInput) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

type WorkflowTemplatesBetaApiService ¶

type WorkflowTemplatesBetaApiService service

WorkflowTemplatesBetaApiService WorkflowTemplatesBetaApi service

func (*WorkflowTemplatesBetaApiService) 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 (*WorkflowTemplatesBetaApiService) CreateWorkflowTemplateExecute ¶

Execute executes the request

@return WorkflowTemplateOutput

func (*WorkflowTemplatesBetaApiService) DeleteWorkflowTemplate ¶

func (a *WorkflowTemplatesBetaApiService) 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 (*WorkflowTemplatesBetaApiService) DeleteWorkflowTemplateExecute ¶

Execute executes the request

func (*WorkflowTemplatesBetaApiService) 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 (*WorkflowTemplatesBetaApiService) 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 WorkflowsBetaApiService ¶

type WorkflowsBetaApiService service

WorkflowsBetaApiService WorkflowsBetaApi service

func (*WorkflowsBetaApiService) DeleteWorkflow ¶

func (a *WorkflowsBetaApiService) 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 (*WorkflowsBetaApiService) DeleteWorkflowExecute ¶

func (a *WorkflowsBetaApiService) DeleteWorkflowExecute(r ApiDeleteWorkflowRequest) (*http.Response, error)

Execute executes the request

func (*WorkflowsBetaApiService) GetCustomWorkflow ¶

func (a *WorkflowsBetaApiService) 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 (*WorkflowsBetaApiService) GetCustomWorkflowExecute ¶

Execute executes the request

@return CustomWorkflowOutput

func (*WorkflowsBetaApiService) GetWorkflows ¶

func (a *WorkflowsBetaApiService) 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 (*WorkflowsBetaApiService) GetWorkflowsExecute ¶

Execute executes the request

@return CustomWorkflowsListingOutput

func (*WorkflowsBetaApiService) PostWorkflow ¶

func (a *WorkflowsBetaApiService) 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.

_Example request body_ ```json

{
  "name": "Progressive rollout starting in two days",
  "description": "Turn flag on for 10% of users each day",
  "stages": [
    {
      "name": "10% rollout on day 1",
      "conditions": [
        {
          "kind": "schedule",
          "scheduleKind": "relative",
          "waitDuration": 2,
          "waitDurationUnit": "calendarDay"
        }
      ],
      "action": {
        "instructions": [
          {
            "kind": "turnFlagOn"
          },
          {
            "kind": "updateFallthroughVariationOrRollout",
            "rolloutWeights": {
              "452f5fb5-7320-4ba3-81a1-8f4324f79d49": 90000,
              "fc15f6a4-05d3-4aa4-a997-446be461345d": 10000
            }
          }
        ]
      }
    }
  ]
}

```

### 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 `dry-run` 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 `dry-run` 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.

_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"
			}
		}
	]
}

```

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