agentpushkit

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 21 Imported by: 0

README

Go API client for agentpushkit

The complete Agent Push Kit REST API. Application event ingestion uses an organization key beginning with apk_. Authenticated user operations accept either an Agent Push Kit login JWT or an agent access token beginning with apt_.

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: 0.1.0
  • Package version: 0.1.0
  • Generator version: 7.24.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://agentpushkit.com

Installation

Import the package in a go file in your project and run go mod tidy:

import agentpushkit "github.com/JustinBStrong/agent-push-kit-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 agentpushkit.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), agentpushkit.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 agentpushkit.ContextOperationServerIndices and agentpushkit.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to https://api.chatdna.co/agent-push-kit/v1

Class Method HTTP request Description
AccountAPI DeleteCurrentAccount Delete /me Delete the current user and customer accounts they own
AccountAPI GetCurrentAccount Get /me Get the current user and customer accounts
AgentTokensAPI CallMcp Post /mcp Connect through stateless MCP Streamable HTTP
AgentTokensAPI CreateAgentToken Post /agent-tokens Create a named non-expiring agent token
AgentTokensAPI ListAgentTokens Get /agent-tokens List agent access tokens without their secrets
AgentTokensAPI RevokeAgentToken Delete /agent-tokens/{tokenId} Revoke one of the current user's agent tokens
AuthenticationAPI CompletePasswordReset Post /auth/password-reset/complete Choose a new password and log in
AuthenticationAPI LoginWithApple Post /auth/apple Log in or attach an account using a Sign in with Apple identity token
AuthenticationAPI LoginWithGoogle Post /auth/google Log in or attach an account using a verified Google ID token
AuthenticationAPI LoginWithPassword Post /auth/login Log in with email and password
AuthenticationAPI Register Post /auth/register Create a user and first customer account
AuthenticationAPI RequestPasswordReset Post /auth/password-reset/request Email a single-use password reset token
CustomerAccountsAPI AddOrganizationMember Post /organizations/{organizationId}/members Add an already-registered user to a customer account
CustomerAccountsAPI CreateOrganization Post /organizations Create another Agent Push Kit customer account
CustomerAccountsAPI ListOrganizationMembers Get /organizations/{organizationId}/members List members of a customer account
CustomerAccountsAPI ListOrganizations Get /organizations List customer accounts available to the current user
CustomerAccountsAPI RegenerateOrganizationApiKey Post /organizations/{organizationId}/api-key/regenerate Rotate the application event-ingestion key
DevicesAPI GetWebPushConfiguration Get /web-push/configuration Get browser push availability and its public VAPID key
DevicesAPI RegisterDevice Post /devices Register or refresh an APNs device
DevicesAPI RegisterWebPushSubscription Post /web-push/subscriptions Register or refresh a browser push subscription
DevicesAPI RemoveDevice Delete /devices/{installationId} Disable push delivery to one installation
DevicesAPI RemoveWebPushSubscription Delete /web-push/subscriptions/{subscriptionId} Disable a browser push subscription
EventsAPI GetEvent Get /organizations/{organizationId}/events/{eventId} Get one event including metadata
EventsAPI ListEvents Get /organizations/{organizationId}/events List a paginated inbox
EventsAPI ListNotificationTypes Get /organizations/{organizationId}/types List distinct notification types
EventsAPI ListServices Get /organizations/{organizationId}/services List services discovered from ingested events
EventsAPI SearchEvents Post /organizations/{organizationId}/events/search Search events with a validated Boolean filter tree
EventsAPI SendEvent Post /events Send an event using an application ingestion key
EventsAPI SendEventAsUser Post /organizations/{organizationId}/events Send an event as an authenticated user or agent
HealthAPI GetHealth Get /health Check Agent Push Kit API health
PreferencesAPI ListPreferences Get /organizations/{organizationId}/preferences List service defaults and exact-type overrides
PreferencesAPI RemoveTypePreference Delete /services/{serviceId}/types/{type}/preference Remove an exact-type override so it inherits the service default
PreferencesAPI SetServicePreference Put /services/{serviceId}/preference Enable or disable pushes for a service by default
PreferencesAPI SetTypePreference Put /services/{serviceId}/types/{type}/preference Override push delivery for one exact notification type

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

UserOrAgent
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), agentpushkit.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
AgentToken
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), agentpushkit.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
OrganizationApiKey
  • Type: HTTP Bearer token authentication

Example

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

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

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

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

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

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

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	AccountAPI *AccountAPIService

	AgentTokensAPI *AgentTokensAPIService

	AuthenticationAPI *AuthenticationAPIService

	CustomerAccountsAPI *CustomerAccountsAPIService

	DevicesAPI *DevicesAPIService

	EventsAPI *EventsAPIService

	HealthAPI *HealthAPIService

	PreferencesAPI *PreferencesAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Agent Push Kit API API v0.1.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 AcceptedResponse

type AcceptedResponse struct {
	Accepted             bool `json:"accepted"`
	AdditionalProperties map[string]interface{}
}

AcceptedResponse struct for AcceptedResponse

func NewAcceptedResponse

func NewAcceptedResponse(accepted bool) *AcceptedResponse

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

func NewAcceptedResponseWithDefaults

func NewAcceptedResponseWithDefaults() *AcceptedResponse

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

func (*AcceptedResponse) GetAccepted

func (o *AcceptedResponse) GetAccepted() bool

GetAccepted returns the Accepted field value

func (*AcceptedResponse) GetAcceptedOk

func (o *AcceptedResponse) GetAcceptedOk() (*bool, bool)

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

func (AcceptedResponse) MarshalJSON

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

func (*AcceptedResponse) SetAccepted

func (o *AcceptedResponse) SetAccepted(v bool)

SetAccepted sets field value

func (AcceptedResponse) ToMap

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

func (*AcceptedResponse) UnmarshalJSON

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

type AccountAPIService

type AccountAPIService service

AccountAPIService AccountAPI service

func (*AccountAPIService) DeleteCurrentAccount

func (a *AccountAPIService) DeleteCurrentAccount(ctx context.Context) ApiDeleteCurrentAccountRequest

DeleteCurrentAccount Delete the current user and customer accounts they own

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

func (*AccountAPIService) DeleteCurrentAccountExecute

func (a *AccountAPIService) DeleteCurrentAccountExecute(r ApiDeleteCurrentAccountRequest) (*DeletedResponse, *http.Response, error)

Execute executes the request

@return DeletedResponse

func (*AccountAPIService) GetCurrentAccount

GetCurrentAccount Get the current user and customer accounts

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

func (*AccountAPIService) GetCurrentAccountExecute

func (a *AccountAPIService) GetCurrentAccountExecute(r ApiGetCurrentAccountRequest) (*CurrentAccount, *http.Response, error)

Execute executes the request

@return CurrentAccount

type AddMemberInput

type AddMemberInput struct {
	Email string `json:"email"`
}

AddMemberInput struct for AddMemberInput

func NewAddMemberInput

func NewAddMemberInput(email string) *AddMemberInput

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

func NewAddMemberInputWithDefaults

func NewAddMemberInputWithDefaults() *AddMemberInput

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

func (*AddMemberInput) GetEmail

func (o *AddMemberInput) GetEmail() string

GetEmail returns the Email field value

func (*AddMemberInput) GetEmailOk

func (o *AddMemberInput) GetEmailOk() (*string, bool)

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

func (AddMemberInput) MarshalJSON

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

func (*AddMemberInput) SetEmail

func (o *AddMemberInput) SetEmail(v string)

SetEmail sets field value

func (AddMemberInput) ToMap

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

func (*AddMemberInput) UnmarshalJSON

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

type AgentToken

type AgentToken struct {
	Id                   string       `json:"id"`
	Name                 string       `json:"name"`
	KeyPrefix            string       `json:"keyPrefix"`
	LastFour             string       `json:"lastFour"`
	CreatedAt            time.Time    `json:"createdAt"`
	LastUsedAt           NullableTime `json:"lastUsedAt"`
	RevokedAt            NullableTime `json:"revokedAt"`
	AdditionalProperties map[string]interface{}
}

AgentToken struct for AgentToken

func NewAgentToken

func NewAgentToken(id string, name string, keyPrefix string, lastFour string, createdAt time.Time, lastUsedAt NullableTime, revokedAt NullableTime) *AgentToken

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

func NewAgentTokenWithDefaults

func NewAgentTokenWithDefaults() *AgentToken

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

func (*AgentToken) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*AgentToken) GetCreatedAtOk

func (o *AgentToken) GetCreatedAtOk() (*time.Time, bool)

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

func (*AgentToken) GetId

func (o *AgentToken) GetId() string

GetId returns the Id field value

func (*AgentToken) GetIdOk

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

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

func (*AgentToken) GetKeyPrefix

func (o *AgentToken) GetKeyPrefix() string

GetKeyPrefix returns the KeyPrefix field value

func (*AgentToken) GetKeyPrefixOk

func (o *AgentToken) GetKeyPrefixOk() (*string, bool)

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

func (*AgentToken) GetLastFour

func (o *AgentToken) GetLastFour() string

GetLastFour returns the LastFour field value

func (*AgentToken) GetLastFourOk

func (o *AgentToken) GetLastFourOk() (*string, bool)

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

func (*AgentToken) GetLastUsedAt

func (o *AgentToken) GetLastUsedAt() time.Time

GetLastUsedAt returns the LastUsedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*AgentToken) GetLastUsedAtOk

func (o *AgentToken) GetLastUsedAtOk() (*time.Time, bool)

GetLastUsedAtOk returns a tuple with the LastUsedAt 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 (*AgentToken) GetName

func (o *AgentToken) GetName() string

GetName returns the Name field value

func (*AgentToken) GetNameOk

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

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

func (*AgentToken) GetRevokedAt

func (o *AgentToken) GetRevokedAt() time.Time

GetRevokedAt returns the RevokedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*AgentToken) GetRevokedAtOk

func (o *AgentToken) GetRevokedAtOk() (*time.Time, bool)

GetRevokedAtOk returns a tuple with the RevokedAt 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 (AgentToken) MarshalJSON

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

func (*AgentToken) SetCreatedAt

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

SetCreatedAt sets field value

func (*AgentToken) SetId

func (o *AgentToken) SetId(v string)

SetId sets field value

func (*AgentToken) SetKeyPrefix

func (o *AgentToken) SetKeyPrefix(v string)

SetKeyPrefix sets field value

func (*AgentToken) SetLastFour

func (o *AgentToken) SetLastFour(v string)

SetLastFour sets field value

func (*AgentToken) SetLastUsedAt

func (o *AgentToken) SetLastUsedAt(v time.Time)

SetLastUsedAt sets field value

func (*AgentToken) SetName

func (o *AgentToken) SetName(v string)

SetName sets field value

func (*AgentToken) SetRevokedAt

func (o *AgentToken) SetRevokedAt(v time.Time)

SetRevokedAt sets field value

func (AgentToken) ToMap

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

func (*AgentToken) UnmarshalJSON

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

type AgentTokenCreated

type AgentTokenCreated struct {
	Id                   string    `json:"id"`
	Name                 string    `json:"name"`
	KeyPrefix            string    `json:"keyPrefix"`
	LastFour             string    `json:"lastFour"`
	CreatedAt            time.Time `json:"createdAt"`
	LastUsedAt           time.Time `json:"lastUsedAt"`
	RevokedAt            time.Time `json:"revokedAt"`
	Token                string    `json:"token" validate:"regexp=^apt_"`
	AdditionalProperties map[string]interface{}
}

AgentTokenCreated struct for AgentTokenCreated

func NewAgentTokenCreated

func NewAgentTokenCreated(id string, name string, keyPrefix string, lastFour string, createdAt time.Time, lastUsedAt time.Time, revokedAt time.Time, token string) *AgentTokenCreated

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

func NewAgentTokenCreatedWithDefaults

func NewAgentTokenCreatedWithDefaults() *AgentTokenCreated

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

func (*AgentTokenCreated) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*AgentTokenCreated) GetCreatedAtOk

func (o *AgentTokenCreated) GetCreatedAtOk() (*time.Time, bool)

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

func (*AgentTokenCreated) GetId

func (o *AgentTokenCreated) GetId() string

GetId returns the Id field value

func (*AgentTokenCreated) GetIdOk

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

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

func (*AgentTokenCreated) GetKeyPrefix

func (o *AgentTokenCreated) GetKeyPrefix() string

GetKeyPrefix returns the KeyPrefix field value

func (*AgentTokenCreated) GetKeyPrefixOk

func (o *AgentTokenCreated) GetKeyPrefixOk() (*string, bool)

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

func (*AgentTokenCreated) GetLastFour

func (o *AgentTokenCreated) GetLastFour() string

GetLastFour returns the LastFour field value

func (*AgentTokenCreated) GetLastFourOk

func (o *AgentTokenCreated) GetLastFourOk() (*string, bool)

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

func (*AgentTokenCreated) GetLastUsedAt

func (o *AgentTokenCreated) GetLastUsedAt() time.Time

GetLastUsedAt returns the LastUsedAt field value

func (*AgentTokenCreated) GetLastUsedAtOk

func (o *AgentTokenCreated) GetLastUsedAtOk() (*time.Time, bool)

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

func (*AgentTokenCreated) GetName

func (o *AgentTokenCreated) GetName() string

GetName returns the Name field value

func (*AgentTokenCreated) GetNameOk

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

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

func (*AgentTokenCreated) GetRevokedAt

func (o *AgentTokenCreated) GetRevokedAt() time.Time

GetRevokedAt returns the RevokedAt field value

func (*AgentTokenCreated) GetRevokedAtOk

func (o *AgentTokenCreated) GetRevokedAtOk() (*time.Time, bool)

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

func (*AgentTokenCreated) GetToken

func (o *AgentTokenCreated) GetToken() string

GetToken returns the Token field value

func (*AgentTokenCreated) GetTokenOk

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

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

func (AgentTokenCreated) MarshalJSON

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

func (*AgentTokenCreated) SetCreatedAt

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

SetCreatedAt sets field value

func (*AgentTokenCreated) SetId

func (o *AgentTokenCreated) SetId(v string)

SetId sets field value

func (*AgentTokenCreated) SetKeyPrefix

func (o *AgentTokenCreated) SetKeyPrefix(v string)

SetKeyPrefix sets field value

func (*AgentTokenCreated) SetLastFour

func (o *AgentTokenCreated) SetLastFour(v string)

SetLastFour sets field value

func (*AgentTokenCreated) SetLastUsedAt

func (o *AgentTokenCreated) SetLastUsedAt(v time.Time)

SetLastUsedAt sets field value

func (*AgentTokenCreated) SetName

func (o *AgentTokenCreated) SetName(v string)

SetName sets field value

func (*AgentTokenCreated) SetRevokedAt

func (o *AgentTokenCreated) SetRevokedAt(v time.Time)

SetRevokedAt sets field value

func (*AgentTokenCreated) SetToken

func (o *AgentTokenCreated) SetToken(v string)

SetToken sets field value

func (AgentTokenCreated) ToMap

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

func (*AgentTokenCreated) UnmarshalJSON

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

type AgentTokensAPIService

type AgentTokensAPIService service

AgentTokensAPIService AgentTokensAPI service

func (*AgentTokensAPIService) CallMcp

CallMcp Connect through stateless MCP Streamable HTTP

This endpoint accepts only an `apt_` agent access token.

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

func (*AgentTokensAPIService) CallMcpExecute

func (a *AgentTokensAPIService) CallMcpExecute(r ApiCallMcpRequest) (*http.Response, error)

Execute executes the request

func (*AgentTokensAPIService) CreateAgentToken

CreateAgentToken Create a named non-expiring agent token

The raw `apt_` token is shown once. Store it before dismissing the response.

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

func (*AgentTokensAPIService) CreateAgentTokenExecute

Execute executes the request

@return AgentTokenCreated

func (*AgentTokensAPIService) ListAgentTokens

ListAgentTokens List agent access tokens without their secrets

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

func (*AgentTokensAPIService) ListAgentTokensExecute

func (a *AgentTokensAPIService) ListAgentTokensExecute(r ApiListAgentTokensRequest) ([]AgentToken, *http.Response, error)

Execute executes the request

@return []AgentToken

func (*AgentTokensAPIService) RevokeAgentToken

func (a *AgentTokensAPIService) RevokeAgentToken(ctx context.Context, tokenId string) ApiRevokeAgentTokenRequest

RevokeAgentToken Revoke one of the current user's agent tokens

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

func (*AgentTokensAPIService) RevokeAgentTokenExecute

Execute executes the request

@return RevokedResponse

type ApiAddOrganizationMemberRequest

type ApiAddOrganizationMemberRequest struct {
	ApiService *CustomerAccountsAPIService
	// contains filtered or unexported fields
}

func (ApiAddOrganizationMemberRequest) AddMemberInput

func (ApiAddOrganizationMemberRequest) Execute

type ApiCallMcpRequest

type ApiCallMcpRequest struct {
	ApiService *AgentTokensAPIService
	// contains filtered or unexported fields
}

func (ApiCallMcpRequest) Execute

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

func (ApiCallMcpRequest) RequestBody

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

type ApiCompletePasswordResetRequest

type ApiCompletePasswordResetRequest struct {
	ApiService *AuthenticationAPIService
	// contains filtered or unexported fields
}

func (ApiCompletePasswordResetRequest) Execute

func (ApiCompletePasswordResetRequest) PasswordResetCompleteInput

func (r ApiCompletePasswordResetRequest) PasswordResetCompleteInput(passwordResetCompleteInput PasswordResetCompleteInput) ApiCompletePasswordResetRequest

type ApiCreateAgentTokenRequest

type ApiCreateAgentTokenRequest struct {
	ApiService *AgentTokensAPIService
	// contains filtered or unexported fields
}

func (ApiCreateAgentTokenRequest) CreateAgentTokenInput

func (r ApiCreateAgentTokenRequest) CreateAgentTokenInput(createAgentTokenInput CreateAgentTokenInput) ApiCreateAgentTokenRequest

func (ApiCreateAgentTokenRequest) Execute

type ApiCreateOrganizationRequest

type ApiCreateOrganizationRequest struct {
	ApiService *CustomerAccountsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateOrganizationRequest) CreateOrganizationInput

func (r ApiCreateOrganizationRequest) CreateOrganizationInput(createOrganizationInput CreateOrganizationInput) ApiCreateOrganizationRequest

func (ApiCreateOrganizationRequest) Execute

type ApiDeleteCurrentAccountRequest

type ApiDeleteCurrentAccountRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteCurrentAccountRequest) Execute

type ApiGetCurrentAccountRequest

type ApiGetCurrentAccountRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiGetCurrentAccountRequest) Execute

type ApiGetEventRequest

type ApiGetEventRequest struct {
	ApiService *EventsAPIService
	// contains filtered or unexported fields
}

func (ApiGetEventRequest) Execute

func (r ApiGetEventRequest) Execute() (*EventDetail, *http.Response, error)

type ApiGetHealthRequest

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

func (ApiGetHealthRequest) Execute

type ApiGetWebPushConfigurationRequest

type ApiGetWebPushConfigurationRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetWebPushConfigurationRequest) Execute

type ApiKeySummary

type ApiKeySummary struct {
	KeyPrefix            *string    `json:"keyPrefix,omitempty"`
	LastFour             *string    `json:"lastFour,omitempty"`
	UpdatedAt            *time.Time `json:"updatedAt,omitempty"`
	AdditionalProperties map[string]interface{}
}

ApiKeySummary struct for ApiKeySummary

func NewApiKeySummary

func NewApiKeySummary() *ApiKeySummary

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

func NewApiKeySummaryWithDefaults

func NewApiKeySummaryWithDefaults() *ApiKeySummary

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

func (*ApiKeySummary) GetKeyPrefix

func (o *ApiKeySummary) GetKeyPrefix() string

GetKeyPrefix returns the KeyPrefix field value if set, zero value otherwise.

func (*ApiKeySummary) GetKeyPrefixOk

func (o *ApiKeySummary) GetKeyPrefixOk() (*string, bool)

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

func (*ApiKeySummary) GetLastFour

func (o *ApiKeySummary) GetLastFour() string

GetLastFour returns the LastFour field value if set, zero value otherwise.

func (*ApiKeySummary) GetLastFourOk

func (o *ApiKeySummary) GetLastFourOk() (*string, bool)

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

func (*ApiKeySummary) GetUpdatedAt

func (o *ApiKeySummary) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ApiKeySummary) GetUpdatedAtOk

func (o *ApiKeySummary) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ApiKeySummary) HasKeyPrefix

func (o *ApiKeySummary) HasKeyPrefix() bool

HasKeyPrefix returns a boolean if a field has been set.

func (*ApiKeySummary) HasLastFour

func (o *ApiKeySummary) HasLastFour() bool

HasLastFour returns a boolean if a field has been set.

func (*ApiKeySummary) HasUpdatedAt

func (o *ApiKeySummary) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ApiKeySummary) MarshalJSON

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

func (*ApiKeySummary) SetKeyPrefix

func (o *ApiKeySummary) SetKeyPrefix(v string)

SetKeyPrefix gets a reference to the given string and assigns it to the KeyPrefix field.

func (*ApiKeySummary) SetLastFour

func (o *ApiKeySummary) SetLastFour(v string)

SetLastFour gets a reference to the given string and assigns it to the LastFour field.

func (*ApiKeySummary) SetUpdatedAt

func (o *ApiKeySummary) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (ApiKeySummary) ToMap

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

func (*ApiKeySummary) UnmarshalJSON

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

type ApiListAgentTokensRequest

type ApiListAgentTokensRequest struct {
	ApiService *AgentTokensAPIService
	// contains filtered or unexported fields
}

func (ApiListAgentTokensRequest) Execute

type ApiListEventsRequest

type ApiListEventsRequest struct {
	ApiService *EventsAPIService
	// contains filtered or unexported fields
}

func (ApiListEventsRequest) Cursor

func (ApiListEventsRequest) Execute

func (r ApiListEventsRequest) Execute() (*EventPage, *http.Response, error)

func (ApiListEventsRequest) Limit

func (ApiListEventsRequest) Search

func (ApiListEventsRequest) Service

func (ApiListEventsRequest) Type_

type ApiListNotificationTypesRequest

type ApiListNotificationTypesRequest struct {
	ApiService *EventsAPIService
	// contains filtered or unexported fields
}

func (ApiListNotificationTypesRequest) Execute

func (ApiListNotificationTypesRequest) ServiceId

Optionally restrict types to one service ID.

type ApiListOrganizationMembersRequest

type ApiListOrganizationMembersRequest struct {
	ApiService *CustomerAccountsAPIService
	// contains filtered or unexported fields
}

func (ApiListOrganizationMembersRequest) Execute

type ApiListOrganizationsRequest

type ApiListOrganizationsRequest struct {
	ApiService *CustomerAccountsAPIService
	// contains filtered or unexported fields
}

func (ApiListOrganizationsRequest) Execute

type ApiListPreferencesRequest

type ApiListPreferencesRequest struct {
	ApiService *PreferencesAPIService
	// contains filtered or unexported fields
}

func (ApiListPreferencesRequest) Execute

type ApiListServicesRequest

type ApiListServicesRequest struct {
	ApiService *EventsAPIService
	// contains filtered or unexported fields
}

func (ApiListServicesRequest) Execute

func (r ApiListServicesRequest) Execute() ([]Service, *http.Response, error)

type ApiLoginWithAppleRequest

type ApiLoginWithAppleRequest struct {
	ApiService *AuthenticationAPIService
	// contains filtered or unexported fields
}

func (ApiLoginWithAppleRequest) Execute

func (ApiLoginWithAppleRequest) ProviderLoginInput

func (r ApiLoginWithAppleRequest) ProviderLoginInput(providerLoginInput ProviderLoginInput) ApiLoginWithAppleRequest

type ApiLoginWithGoogleRequest

type ApiLoginWithGoogleRequest struct {
	ApiService *AuthenticationAPIService
	// contains filtered or unexported fields
}

func (ApiLoginWithGoogleRequest) Execute

func (ApiLoginWithGoogleRequest) ProviderLoginInput

func (r ApiLoginWithGoogleRequest) ProviderLoginInput(providerLoginInput ProviderLoginInput) ApiLoginWithGoogleRequest

type ApiLoginWithPasswordRequest

type ApiLoginWithPasswordRequest struct {
	ApiService *AuthenticationAPIService
	// contains filtered or unexported fields
}

func (ApiLoginWithPasswordRequest) Execute

func (ApiLoginWithPasswordRequest) PasswordLoginInput

func (r ApiLoginWithPasswordRequest) PasswordLoginInput(passwordLoginInput PasswordLoginInput) ApiLoginWithPasswordRequest

type ApiRegenerateOrganizationApiKeyRequest

type ApiRegenerateOrganizationApiKeyRequest struct {
	ApiService *CustomerAccountsAPIService
	// contains filtered or unexported fields
}

func (ApiRegenerateOrganizationApiKeyRequest) Execute

type ApiRegisterDeviceRequest

type ApiRegisterDeviceRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiRegisterDeviceRequest) Execute

func (ApiRegisterDeviceRequest) RegisterDeviceInput

func (r ApiRegisterDeviceRequest) RegisterDeviceInput(registerDeviceInput RegisterDeviceInput) ApiRegisterDeviceRequest

type ApiRegisterRequest

type ApiRegisterRequest struct {
	ApiService *AuthenticationAPIService
	// contains filtered or unexported fields
}

func (ApiRegisterRequest) Execute

func (ApiRegisterRequest) RegisterInput

func (r ApiRegisterRequest) RegisterInput(registerInput RegisterInput) ApiRegisterRequest

type ApiRegisterWebPushSubscriptionRequest

type ApiRegisterWebPushSubscriptionRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiRegisterWebPushSubscriptionRequest) Execute

func (ApiRegisterWebPushSubscriptionRequest) RegisterWebPushSubscriptionInput

func (r ApiRegisterWebPushSubscriptionRequest) RegisterWebPushSubscriptionInput(registerWebPushSubscriptionInput RegisterWebPushSubscriptionInput) ApiRegisterWebPushSubscriptionRequest

type ApiRemoveDeviceRequest

type ApiRemoveDeviceRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveDeviceRequest) Execute

type ApiRemoveTypePreferenceRequest

type ApiRemoveTypePreferenceRequest struct {
	ApiService *PreferencesAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveTypePreferenceRequest) Execute

type ApiRemoveWebPushSubscriptionRequest

type ApiRemoveWebPushSubscriptionRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveWebPushSubscriptionRequest) Execute

type ApiRequestPasswordResetRequest

type ApiRequestPasswordResetRequest struct {
	ApiService *AuthenticationAPIService
	// contains filtered or unexported fields
}

func (ApiRequestPasswordResetRequest) Execute

func (ApiRequestPasswordResetRequest) PasswordResetRequestInput

func (r ApiRequestPasswordResetRequest) PasswordResetRequestInput(passwordResetRequestInput PasswordResetRequestInput) ApiRequestPasswordResetRequest

type ApiRevokeAgentTokenRequest

type ApiRevokeAgentTokenRequest struct {
	ApiService *AgentTokensAPIService
	// contains filtered or unexported fields
}

func (ApiRevokeAgentTokenRequest) Execute

type ApiSearchEventsRequest

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

func (ApiSearchEventsRequest) Execute

func (ApiSearchEventsRequest) SearchEventsInput

func (r ApiSearchEventsRequest) SearchEventsInput(searchEventsInput SearchEventsInput) ApiSearchEventsRequest

type ApiSendEventAsUserRequest

type ApiSendEventAsUserRequest struct {
	ApiService *EventsAPIService
	// contains filtered or unexported fields
}

func (ApiSendEventAsUserRequest) Execute

func (ApiSendEventAsUserRequest) SendEventInput

func (r ApiSendEventAsUserRequest) SendEventInput(sendEventInput SendEventInput) ApiSendEventAsUserRequest

type ApiSendEventRequest

type ApiSendEventRequest struct {
	ApiService *EventsAPIService
	// contains filtered or unexported fields
}

func (ApiSendEventRequest) Execute

func (ApiSendEventRequest) SendEventInput

func (r ApiSendEventRequest) SendEventInput(sendEventInput SendEventInput) ApiSendEventRequest

type ApiSetServicePreferenceRequest

type ApiSetServicePreferenceRequest struct {
	ApiService *PreferencesAPIService
	// contains filtered or unexported fields
}

func (ApiSetServicePreferenceRequest) Execute

func (ApiSetServicePreferenceRequest) SetEnabledInput

type ApiSetTypePreferenceRequest

type ApiSetTypePreferenceRequest struct {
	ApiService *PreferencesAPIService
	// contains filtered or unexported fields
}

func (ApiSetTypePreferenceRequest) Execute

func (ApiSetTypePreferenceRequest) SetEnabledInput

func (r ApiSetTypePreferenceRequest) SetEnabledInput(setEnabledInput SetEnabledInput) ApiSetTypePreferenceRequest

type AuthResponse

type AuthResponse struct {
	AccessToken   string         `json:"accessToken"`
	User          User           `json:"user"`
	Organizations []Organization `json:"organizations"`
	// Present only when a new customer account was created.
	BootstrapApiKey      *string `json:"bootstrapApiKey,omitempty"`
	AdditionalProperties map[string]interface{}
}

AuthResponse struct for AuthResponse

func NewAuthResponse

func NewAuthResponse(accessToken string, user User, organizations []Organization) *AuthResponse

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

func NewAuthResponseWithDefaults

func NewAuthResponseWithDefaults() *AuthResponse

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

func (*AuthResponse) GetAccessToken

func (o *AuthResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value

func (*AuthResponse) GetAccessTokenOk

func (o *AuthResponse) GetAccessTokenOk() (*string, bool)

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

func (*AuthResponse) GetBootstrapApiKey

func (o *AuthResponse) GetBootstrapApiKey() string

GetBootstrapApiKey returns the BootstrapApiKey field value if set, zero value otherwise.

func (*AuthResponse) GetBootstrapApiKeyOk

func (o *AuthResponse) GetBootstrapApiKeyOk() (*string, bool)

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

func (*AuthResponse) GetOrganizations

func (o *AuthResponse) GetOrganizations() []Organization

GetOrganizations returns the Organizations field value

func (*AuthResponse) GetOrganizationsOk

func (o *AuthResponse) GetOrganizationsOk() ([]Organization, bool)

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

func (*AuthResponse) GetUser

func (o *AuthResponse) GetUser() User

GetUser returns the User field value

func (*AuthResponse) GetUserOk

func (o *AuthResponse) GetUserOk() (*User, bool)

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

func (*AuthResponse) HasBootstrapApiKey

func (o *AuthResponse) HasBootstrapApiKey() bool

HasBootstrapApiKey returns a boolean if a field has been set.

func (AuthResponse) MarshalJSON

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

func (*AuthResponse) SetAccessToken

func (o *AuthResponse) SetAccessToken(v string)

SetAccessToken sets field value

func (*AuthResponse) SetBootstrapApiKey

func (o *AuthResponse) SetBootstrapApiKey(v string)

SetBootstrapApiKey gets a reference to the given string and assigns it to the BootstrapApiKey field.

func (*AuthResponse) SetOrganizations

func (o *AuthResponse) SetOrganizations(v []Organization)

SetOrganizations sets field value

func (*AuthResponse) SetUser

func (o *AuthResponse) SetUser(v User)

SetUser sets field value

func (AuthResponse) ToMap

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

func (*AuthResponse) UnmarshalJSON

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

type AuthenticationAPIService

type AuthenticationAPIService service

AuthenticationAPIService AuthenticationAPI service

func (*AuthenticationAPIService) CompletePasswordReset

CompletePasswordReset Choose a new password and log in

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

func (*AuthenticationAPIService) CompletePasswordResetExecute

Execute executes the request

@return AuthResponse

func (*AuthenticationAPIService) LoginWithApple

LoginWithApple Log in or attach an account using a Sign in with Apple identity token

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

func (*AuthenticationAPIService) LoginWithAppleExecute

Execute executes the request

@return AuthResponse

func (*AuthenticationAPIService) LoginWithGoogle

LoginWithGoogle Log in or attach an account using a verified Google ID token

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

func (*AuthenticationAPIService) LoginWithGoogleExecute

Execute executes the request

@return AuthResponse

func (*AuthenticationAPIService) LoginWithPassword

LoginWithPassword Log in with email and password

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

func (*AuthenticationAPIService) LoginWithPasswordExecute

Execute executes the request

@return AuthResponse

func (*AuthenticationAPIService) Register

Register Create a user and first customer account

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

func (*AuthenticationAPIService) RegisterExecute

Execute executes the request

@return AuthResponse

func (*AuthenticationAPIService) RequestPasswordReset

RequestPasswordReset Email a single-use password reset token

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

func (*AuthenticationAPIService) RequestPasswordResetExecute

Execute executes the request

@return AcceptedResponse

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

type CreateAgentTokenInput struct {
	Name string `json:"name"`
}

CreateAgentTokenInput struct for CreateAgentTokenInput

func NewCreateAgentTokenInput

func NewCreateAgentTokenInput(name string) *CreateAgentTokenInput

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

func NewCreateAgentTokenInputWithDefaults

func NewCreateAgentTokenInputWithDefaults() *CreateAgentTokenInput

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

func (*CreateAgentTokenInput) GetName

func (o *CreateAgentTokenInput) GetName() string

GetName returns the Name field value

func (*CreateAgentTokenInput) GetNameOk

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

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

func (CreateAgentTokenInput) MarshalJSON

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

func (*CreateAgentTokenInput) SetName

func (o *CreateAgentTokenInput) SetName(v string)

SetName sets field value

func (CreateAgentTokenInput) ToMap

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

func (*CreateAgentTokenInput) UnmarshalJSON

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

type CreateOrganizationInput

type CreateOrganizationInput struct {
	Name string `json:"name"`
}

CreateOrganizationInput struct for CreateOrganizationInput

func NewCreateOrganizationInput

func NewCreateOrganizationInput(name string) *CreateOrganizationInput

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

func NewCreateOrganizationInputWithDefaults

func NewCreateOrganizationInputWithDefaults() *CreateOrganizationInput

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

func (*CreateOrganizationInput) GetName

func (o *CreateOrganizationInput) GetName() string

GetName returns the Name field value

func (*CreateOrganizationInput) GetNameOk

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

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

func (CreateOrganizationInput) MarshalJSON

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

func (*CreateOrganizationInput) SetName

func (o *CreateOrganizationInput) SetName(v string)

SetName sets field value

func (CreateOrganizationInput) ToMap

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

func (*CreateOrganizationInput) UnmarshalJSON

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

type CurrentAccount

type CurrentAccount struct {
	User                 User           `json:"user"`
	Organizations        []Organization `json:"organizations"`
	AdditionalProperties map[string]interface{}
}

CurrentAccount struct for CurrentAccount

func NewCurrentAccount

func NewCurrentAccount(user User, organizations []Organization) *CurrentAccount

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

func NewCurrentAccountWithDefaults

func NewCurrentAccountWithDefaults() *CurrentAccount

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

func (*CurrentAccount) GetOrganizations

func (o *CurrentAccount) GetOrganizations() []Organization

GetOrganizations returns the Organizations field value

func (*CurrentAccount) GetOrganizationsOk

func (o *CurrentAccount) GetOrganizationsOk() ([]Organization, bool)

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

func (*CurrentAccount) GetUser

func (o *CurrentAccount) GetUser() User

GetUser returns the User field value

func (*CurrentAccount) GetUserOk

func (o *CurrentAccount) GetUserOk() (*User, bool)

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

func (CurrentAccount) MarshalJSON

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

func (*CurrentAccount) SetOrganizations

func (o *CurrentAccount) SetOrganizations(v []Organization)

SetOrganizations sets field value

func (*CurrentAccount) SetUser

func (o *CurrentAccount) SetUser(v User)

SetUser sets field value

func (CurrentAccount) ToMap

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

func (*CurrentAccount) UnmarshalJSON

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

type CustomerAccountsAPIService

type CustomerAccountsAPIService service

CustomerAccountsAPIService CustomerAccountsAPI service

func (*CustomerAccountsAPIService) AddOrganizationMember

func (a *CustomerAccountsAPIService) AddOrganizationMember(ctx context.Context, organizationId string) ApiAddOrganizationMemberRequest

AddOrganizationMember Add an already-registered user to a customer account

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

func (*CustomerAccountsAPIService) AddOrganizationMemberExecute

Execute executes the request

@return Membership

func (*CustomerAccountsAPIService) CreateOrganization

CreateOrganization Create another Agent Push Kit customer account

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

func (*CustomerAccountsAPIService) CreateOrganizationExecute

Execute executes the request

@return OrganizationCreated

func (*CustomerAccountsAPIService) ListOrganizationMembers

func (a *CustomerAccountsAPIService) ListOrganizationMembers(ctx context.Context, organizationId string) ApiListOrganizationMembersRequest

ListOrganizationMembers List members of a customer account

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

func (*CustomerAccountsAPIService) ListOrganizationMembersExecute

func (a *CustomerAccountsAPIService) ListOrganizationMembersExecute(r ApiListOrganizationMembersRequest) ([]Membership, *http.Response, error)

Execute executes the request

@return []Membership

func (*CustomerAccountsAPIService) ListOrganizations

ListOrganizations List customer accounts available to the current user

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

func (*CustomerAccountsAPIService) ListOrganizationsExecute

Execute executes the request

@return []Organization

func (*CustomerAccountsAPIService) RegenerateOrganizationApiKey

func (a *CustomerAccountsAPIService) RegenerateOrganizationApiKey(ctx context.Context, organizationId string) ApiRegenerateOrganizationApiKeyRequest

RegenerateOrganizationApiKey Rotate the application event-ingestion key

The previous `apk_` key stops working immediately. The replacement is returned only in this response.

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

func (*CustomerAccountsAPIService) RegenerateOrganizationApiKeyExecute

Execute executes the request

@return OrganizationApiKeyCreated

type DeletedResponse

type DeletedResponse struct {
	Deleted              bool `json:"deleted"`
	AdditionalProperties map[string]interface{}
}

DeletedResponse struct for DeletedResponse

func NewDeletedResponse

func NewDeletedResponse(deleted bool) *DeletedResponse

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

func NewDeletedResponseWithDefaults

func NewDeletedResponseWithDefaults() *DeletedResponse

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

func (*DeletedResponse) GetDeleted

func (o *DeletedResponse) GetDeleted() bool

GetDeleted returns the Deleted field value

func (*DeletedResponse) GetDeletedOk

func (o *DeletedResponse) GetDeletedOk() (*bool, bool)

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

func (DeletedResponse) MarshalJSON

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

func (*DeletedResponse) SetDeleted

func (o *DeletedResponse) SetDeleted(v bool)

SetDeleted sets field value

func (DeletedResponse) ToMap

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

func (*DeletedResponse) UnmarshalJSON

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

type DeliverySummary

type DeliverySummary struct {
	Sent                 int32 `json:"sent"`
	Failed               int32 `json:"failed"`
	SuppressedUsers      int32 `json:"suppressedUsers"`
	EligibleDevices      int32 `json:"eligibleDevices"`
	AdditionalProperties map[string]interface{}
}

DeliverySummary struct for DeliverySummary

func NewDeliverySummary

func NewDeliverySummary(sent int32, failed int32, suppressedUsers int32, eligibleDevices int32) *DeliverySummary

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

func NewDeliverySummaryWithDefaults

func NewDeliverySummaryWithDefaults() *DeliverySummary

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

func (*DeliverySummary) GetEligibleDevices

func (o *DeliverySummary) GetEligibleDevices() int32

GetEligibleDevices returns the EligibleDevices field value

func (*DeliverySummary) GetEligibleDevicesOk

func (o *DeliverySummary) GetEligibleDevicesOk() (*int32, bool)

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

func (*DeliverySummary) GetFailed

func (o *DeliverySummary) GetFailed() int32

GetFailed returns the Failed field value

func (*DeliverySummary) GetFailedOk

func (o *DeliverySummary) GetFailedOk() (*int32, bool)

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

func (*DeliverySummary) GetSent

func (o *DeliverySummary) GetSent() int32

GetSent returns the Sent field value

func (*DeliverySummary) GetSentOk

func (o *DeliverySummary) GetSentOk() (*int32, bool)

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

func (*DeliverySummary) GetSuppressedUsers

func (o *DeliverySummary) GetSuppressedUsers() int32

GetSuppressedUsers returns the SuppressedUsers field value

func (*DeliverySummary) GetSuppressedUsersOk

func (o *DeliverySummary) GetSuppressedUsersOk() (*int32, bool)

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

func (DeliverySummary) MarshalJSON

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

func (*DeliverySummary) SetEligibleDevices

func (o *DeliverySummary) SetEligibleDevices(v int32)

SetEligibleDevices sets field value

func (*DeliverySummary) SetFailed

func (o *DeliverySummary) SetFailed(v int32)

SetFailed sets field value

func (*DeliverySummary) SetSent

func (o *DeliverySummary) SetSent(v int32)

SetSent sets field value

func (*DeliverySummary) SetSuppressedUsers

func (o *DeliverySummary) SetSuppressedUsers(v int32)

SetSuppressedUsers sets field value

func (DeliverySummary) ToMap

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

func (*DeliverySummary) UnmarshalJSON

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

type Device

type Device struct {
	Id                   string         `json:"id"`
	InstallationId       string         `json:"installationId"`
	Environment          string         `json:"environment"`
	AppVersion           NullableString `json:"appVersion"`
	Enabled              bool           `json:"enabled"`
	LastSeenAt           time.Time      `json:"lastSeenAt"`
	AdditionalProperties map[string]interface{}
}

Device struct for Device

func NewDevice

func NewDevice(id string, installationId string, environment string, appVersion NullableString, enabled bool, lastSeenAt time.Time) *Device

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

func NewDeviceWithDefaults

func NewDeviceWithDefaults() *Device

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

func (*Device) GetAppVersion

func (o *Device) GetAppVersion() string

GetAppVersion returns the AppVersion field value If the value is explicit nil, the zero value for string will be returned

func (*Device) GetAppVersionOk

func (o *Device) GetAppVersionOk() (*string, bool)

GetAppVersionOk returns a tuple with the AppVersion 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 (*Device) GetEnabled

func (o *Device) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*Device) GetEnabledOk

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

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

func (*Device) GetEnvironment

func (o *Device) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*Device) GetEnvironmentOk

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

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

func (*Device) GetId

func (o *Device) GetId() string

GetId returns the Id field value

func (*Device) GetIdOk

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

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

func (*Device) GetInstallationId

func (o *Device) GetInstallationId() string

GetInstallationId returns the InstallationId field value

func (*Device) GetInstallationIdOk

func (o *Device) GetInstallationIdOk() (*string, bool)

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

func (*Device) GetLastSeenAt

func (o *Device) GetLastSeenAt() time.Time

GetLastSeenAt returns the LastSeenAt field value

func (*Device) GetLastSeenAtOk

func (o *Device) GetLastSeenAtOk() (*time.Time, bool)

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

func (Device) MarshalJSON

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

func (*Device) SetAppVersion

func (o *Device) SetAppVersion(v string)

SetAppVersion sets field value

func (*Device) SetEnabled

func (o *Device) SetEnabled(v bool)

SetEnabled sets field value

func (*Device) SetEnvironment

func (o *Device) SetEnvironment(v string)

SetEnvironment sets field value

func (*Device) SetId

func (o *Device) SetId(v string)

SetId sets field value

func (*Device) SetInstallationId

func (o *Device) SetInstallationId(v string)

SetInstallationId sets field value

func (*Device) SetLastSeenAt

func (o *Device) SetLastSeenAt(v time.Time)

SetLastSeenAt sets field value

func (Device) ToMap

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

func (*Device) UnmarshalJSON

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

type DevicesAPIService

type DevicesAPIService service

DevicesAPIService DevicesAPI service

func (*DevicesAPIService) GetWebPushConfiguration

func (a *DevicesAPIService) GetWebPushConfiguration(ctx context.Context) ApiGetWebPushConfigurationRequest

GetWebPushConfiguration Get browser push availability and its public VAPID key

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

func (*DevicesAPIService) GetWebPushConfigurationExecute

Execute executes the request

@return WebPushConfiguration

func (*DevicesAPIService) RegisterDevice

RegisterDevice Register or refresh an APNs device

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

func (*DevicesAPIService) RegisterDeviceExecute

func (a *DevicesAPIService) RegisterDeviceExecute(r ApiRegisterDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

func (*DevicesAPIService) RegisterWebPushSubscription

func (a *DevicesAPIService) RegisterWebPushSubscription(ctx context.Context) ApiRegisterWebPushSubscriptionRequest

RegisterWebPushSubscription Register or refresh a browser push subscription

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

func (*DevicesAPIService) RegisterWebPushSubscriptionExecute

func (a *DevicesAPIService) RegisterWebPushSubscriptionExecute(r ApiRegisterWebPushSubscriptionRequest) (*WebPushSubscription, *http.Response, error)

Execute executes the request

@return WebPushSubscription

func (*DevicesAPIService) RemoveDevice

func (a *DevicesAPIService) RemoveDevice(ctx context.Context, installationId string) ApiRemoveDeviceRequest

RemoveDevice Disable push delivery to one installation

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

func (*DevicesAPIService) RemoveDeviceExecute

Execute executes the request

@return DisabledResponse

func (*DevicesAPIService) RemoveWebPushSubscription

func (a *DevicesAPIService) RemoveWebPushSubscription(ctx context.Context, subscriptionId string) ApiRemoveWebPushSubscriptionRequest

RemoveWebPushSubscription Disable a browser push subscription

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

func (*DevicesAPIService) RemoveWebPushSubscriptionExecute

func (a *DevicesAPIService) RemoveWebPushSubscriptionExecute(r ApiRemoveWebPushSubscriptionRequest) (*DisabledResponse, *http.Response, error)

Execute executes the request

@return DisabledResponse

type DisabledResponse

type DisabledResponse struct {
	Disabled             bool `json:"disabled"`
	AdditionalProperties map[string]interface{}
}

DisabledResponse struct for DisabledResponse

func NewDisabledResponse

func NewDisabledResponse(disabled bool) *DisabledResponse

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

func NewDisabledResponseWithDefaults

func NewDisabledResponseWithDefaults() *DisabledResponse

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

func (*DisabledResponse) GetDisabled

func (o *DisabledResponse) GetDisabled() bool

GetDisabled returns the Disabled field value

func (*DisabledResponse) GetDisabledOk

func (o *DisabledResponse) GetDisabledOk() (*bool, bool)

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

func (DisabledResponse) MarshalJSON

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

func (*DisabledResponse) SetDisabled

func (o *DisabledResponse) SetDisabled(v bool)

SetDisabled sets field value

func (DisabledResponse) ToMap

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

func (*DisabledResponse) UnmarshalJSON

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

type ErrorResponse

type ErrorResponse struct {
	StatusCode           int32   `json:"statusCode"`
	Message              string  `json:"message"`
	Error                *string `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse(statusCode int32, message string) *ErrorResponse

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

func NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

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

func (*ErrorResponse) GetError

func (o *ErrorResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ErrorResponse) GetErrorOk

func (o *ErrorResponse) GetErrorOk() (*string, bool)

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

func (o *ErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*ErrorResponse) GetMessageOk

func (o *ErrorResponse) GetMessageOk() (*string, bool)

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

func (*ErrorResponse) GetStatusCode

func (o *ErrorResponse) GetStatusCode() int32

GetStatusCode returns the StatusCode field value

func (*ErrorResponse) GetStatusCodeOk

func (o *ErrorResponse) GetStatusCodeOk() (*int32, bool)

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

func (*ErrorResponse) HasError

func (o *ErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetError

func (o *ErrorResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ErrorResponse) SetMessage

func (o *ErrorResponse) SetMessage(v string)

SetMessage sets field value

func (*ErrorResponse) SetStatusCode

func (o *ErrorResponse) SetStatusCode(v int32)

SetStatusCode sets field value

func (ErrorResponse) ToMap

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

func (*ErrorResponse) UnmarshalJSON

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

type EventDetail

type EventDetail struct {
	Id                   string                 `json:"id"`
	Type                 string                 `json:"type"`
	Title                string                 `json:"title"`
	Body                 string                 `json:"body"`
	ExternalId           string                 `json:"externalId"`
	ActionUrl            string                 `json:"actionUrl"`
	CreatedAt            time.Time              `json:"createdAt"`
	Service              ServiceSummary         `json:"service"`
	ServiceId            string                 `json:"serviceId"`
	Metadata             map[string]interface{} `json:"metadata"`
	AdditionalProperties map[string]interface{}
}

EventDetail struct for EventDetail

func NewEventDetail

func NewEventDetail(id string, type_ string, title string, body string, externalId string, actionUrl string, createdAt time.Time, service ServiceSummary, serviceId string, metadata map[string]interface{}) *EventDetail

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

func NewEventDetailWithDefaults

func NewEventDetailWithDefaults() *EventDetail

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

func (*EventDetail) GetActionUrl

func (o *EventDetail) GetActionUrl() string

GetActionUrl returns the ActionUrl field value

func (*EventDetail) GetActionUrlOk

func (o *EventDetail) GetActionUrlOk() (*string, bool)

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

func (*EventDetail) GetBody

func (o *EventDetail) GetBody() string

GetBody returns the Body field value

func (*EventDetail) GetBodyOk

func (o *EventDetail) GetBodyOk() (*string, bool)

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

func (*EventDetail) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*EventDetail) GetCreatedAtOk

func (o *EventDetail) GetCreatedAtOk() (*time.Time, bool)

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

func (*EventDetail) GetExternalId

func (o *EventDetail) GetExternalId() string

GetExternalId returns the ExternalId field value

func (*EventDetail) GetExternalIdOk

func (o *EventDetail) GetExternalIdOk() (*string, bool)

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

func (*EventDetail) GetId

func (o *EventDetail) GetId() string

GetId returns the Id field value

func (*EventDetail) GetIdOk

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

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

func (*EventDetail) GetMetadata

func (o *EventDetail) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*EventDetail) GetMetadataOk

func (o *EventDetail) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EventDetail) GetService

func (o *EventDetail) GetService() ServiceSummary

GetService returns the Service field value

func (*EventDetail) GetServiceId

func (o *EventDetail) GetServiceId() string

GetServiceId returns the ServiceId field value

func (*EventDetail) GetServiceIdOk

func (o *EventDetail) GetServiceIdOk() (*string, bool)

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

func (*EventDetail) GetServiceOk

func (o *EventDetail) GetServiceOk() (*ServiceSummary, bool)

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

func (*EventDetail) GetTitle

func (o *EventDetail) GetTitle() string

GetTitle returns the Title field value

func (*EventDetail) GetTitleOk

func (o *EventDetail) GetTitleOk() (*string, bool)

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

func (*EventDetail) GetType

func (o *EventDetail) GetType() string

GetType returns the Type field value

func (*EventDetail) GetTypeOk

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

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

func (EventDetail) MarshalJSON

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

func (*EventDetail) SetActionUrl

func (o *EventDetail) SetActionUrl(v string)

SetActionUrl sets field value

func (*EventDetail) SetBody

func (o *EventDetail) SetBody(v string)

SetBody sets field value

func (*EventDetail) SetCreatedAt

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

SetCreatedAt sets field value

func (*EventDetail) SetExternalId

func (o *EventDetail) SetExternalId(v string)

SetExternalId sets field value

func (*EventDetail) SetId

func (o *EventDetail) SetId(v string)

SetId sets field value

func (*EventDetail) SetMetadata

func (o *EventDetail) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*EventDetail) SetService

func (o *EventDetail) SetService(v ServiceSummary)

SetService sets field value

func (*EventDetail) SetServiceId

func (o *EventDetail) SetServiceId(v string)

SetServiceId sets field value

func (*EventDetail) SetTitle

func (o *EventDetail) SetTitle(v string)

SetTitle sets field value

func (*EventDetail) SetType

func (o *EventDetail) SetType(v string)

SetType sets field value

func (EventDetail) ToMap

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

func (*EventDetail) UnmarshalJSON

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

type EventFilter

type EventFilter struct {
	FilterGroup         *FilterGroup
	FilterNot           *FilterNot
	TextFilterCondition *TextFilterCondition
	TimeFilterCondition *TimeFilterCondition
}

EventFilter - struct for EventFilter

func FilterGroupAsEventFilter

func FilterGroupAsEventFilter(v *FilterGroup) EventFilter

FilterGroupAsEventFilter is a convenience function that returns FilterGroup wrapped in EventFilter

func FilterNotAsEventFilter

func FilterNotAsEventFilter(v *FilterNot) EventFilter

FilterNotAsEventFilter is a convenience function that returns FilterNot wrapped in EventFilter

func TextFilterConditionAsEventFilter

func TextFilterConditionAsEventFilter(v *TextFilterCondition) EventFilter

TextFilterConditionAsEventFilter is a convenience function that returns TextFilterCondition wrapped in EventFilter

func TimeFilterConditionAsEventFilter

func TimeFilterConditionAsEventFilter(v *TimeFilterCondition) EventFilter

TimeFilterConditionAsEventFilter is a convenience function that returns TimeFilterCondition wrapped in EventFilter

func (*EventFilter) GetActualInstance

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

Get the actual instance

func (EventFilter) GetActualInstanceValue

func (obj EventFilter) GetActualInstanceValue() interface{}

Get the actual instance value

func (EventFilter) MarshalJSON

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

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

func (*EventFilter) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type EventPage

type EventPage struct {
	Events               []EventSummary `json:"events"`
	NextCursor           NullableString `json:"nextCursor"`
	AdditionalProperties map[string]interface{}
}

EventPage struct for EventPage

func NewEventPage

func NewEventPage(events []EventSummary, nextCursor NullableString) *EventPage

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

func NewEventPageWithDefaults

func NewEventPageWithDefaults() *EventPage

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

func (*EventPage) GetEvents

func (o *EventPage) GetEvents() []EventSummary

GetEvents returns the Events field value

func (*EventPage) GetEventsOk

func (o *EventPage) GetEventsOk() ([]EventSummary, bool)

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

func (*EventPage) GetNextCursor

func (o *EventPage) GetNextCursor() string

GetNextCursor returns the NextCursor field value If the value is explicit nil, the zero value for string will be returned

func (*EventPage) GetNextCursorOk

func (o *EventPage) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor 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 (EventPage) MarshalJSON

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

func (*EventPage) SetEvents

func (o *EventPage) SetEvents(v []EventSummary)

SetEvents sets field value

func (*EventPage) SetNextCursor

func (o *EventPage) SetNextCursor(v string)

SetNextCursor sets field value

func (EventPage) ToMap

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

func (*EventPage) UnmarshalJSON

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

type EventSummary

type EventSummary struct {
	Id                   string         `json:"id"`
	Type                 string         `json:"type"`
	Title                string         `json:"title"`
	Body                 string         `json:"body"`
	ExternalId           NullableString `json:"externalId"`
	ActionUrl            NullableString `json:"actionUrl"`
	CreatedAt            time.Time      `json:"createdAt"`
	Service              ServiceSummary `json:"service"`
	AdditionalProperties map[string]interface{}
}

EventSummary struct for EventSummary

func NewEventSummary

func NewEventSummary(id string, type_ string, title string, body string, externalId NullableString, actionUrl NullableString, createdAt time.Time, service ServiceSummary) *EventSummary

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

func NewEventSummaryWithDefaults

func NewEventSummaryWithDefaults() *EventSummary

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

func (*EventSummary) GetActionUrl

func (o *EventSummary) GetActionUrl() string

GetActionUrl returns the ActionUrl field value If the value is explicit nil, the zero value for string will be returned

func (*EventSummary) GetActionUrlOk

func (o *EventSummary) GetActionUrlOk() (*string, bool)

GetActionUrlOk returns a tuple with the ActionUrl 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 (*EventSummary) GetBody

func (o *EventSummary) GetBody() string

GetBody returns the Body field value

func (*EventSummary) GetBodyOk

func (o *EventSummary) GetBodyOk() (*string, bool)

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

func (*EventSummary) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*EventSummary) GetCreatedAtOk

func (o *EventSummary) GetCreatedAtOk() (*time.Time, bool)

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

func (*EventSummary) GetExternalId

func (o *EventSummary) GetExternalId() string

GetExternalId returns the ExternalId field value If the value is explicit nil, the zero value for string will be returned

func (*EventSummary) GetExternalIdOk

func (o *EventSummary) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId 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 (*EventSummary) GetId

func (o *EventSummary) GetId() string

GetId returns the Id field value

func (*EventSummary) GetIdOk

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

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

func (*EventSummary) GetService

func (o *EventSummary) GetService() ServiceSummary

GetService returns the Service field value

func (*EventSummary) GetServiceOk

func (o *EventSummary) GetServiceOk() (*ServiceSummary, bool)

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

func (*EventSummary) GetTitle

func (o *EventSummary) GetTitle() string

GetTitle returns the Title field value

func (*EventSummary) GetTitleOk

func (o *EventSummary) GetTitleOk() (*string, bool)

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

func (*EventSummary) GetType

func (o *EventSummary) GetType() string

GetType returns the Type field value

func (*EventSummary) GetTypeOk

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

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

func (EventSummary) MarshalJSON

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

func (*EventSummary) SetActionUrl

func (o *EventSummary) SetActionUrl(v string)

SetActionUrl sets field value

func (*EventSummary) SetBody

func (o *EventSummary) SetBody(v string)

SetBody sets field value

func (*EventSummary) SetCreatedAt

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

SetCreatedAt sets field value

func (*EventSummary) SetExternalId

func (o *EventSummary) SetExternalId(v string)

SetExternalId sets field value

func (*EventSummary) SetId

func (o *EventSummary) SetId(v string)

SetId sets field value

func (*EventSummary) SetService

func (o *EventSummary) SetService(v ServiceSummary)

SetService sets field value

func (*EventSummary) SetTitle

func (o *EventSummary) SetTitle(v string)

SetTitle sets field value

func (*EventSummary) SetType

func (o *EventSummary) SetType(v string)

SetType sets field value

func (EventSummary) ToMap

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

func (*EventSummary) UnmarshalJSON

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

type EventsAPIService

type EventsAPIService service

EventsAPIService EventsAPI service

func (*EventsAPIService) GetEvent

func (a *EventsAPIService) GetEvent(ctx context.Context, organizationId string, eventId string) ApiGetEventRequest

GetEvent Get one event including metadata

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

func (*EventsAPIService) GetEventExecute

func (a *EventsAPIService) GetEventExecute(r ApiGetEventRequest) (*EventDetail, *http.Response, error)

Execute executes the request

@return EventDetail

func (*EventsAPIService) ListEvents

func (a *EventsAPIService) ListEvents(ctx context.Context, organizationId string) ApiListEventsRequest

ListEvents List a paginated inbox

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

func (*EventsAPIService) ListEventsExecute

func (a *EventsAPIService) ListEventsExecute(r ApiListEventsRequest) (*EventPage, *http.Response, error)

Execute executes the request

@return EventPage

func (*EventsAPIService) ListNotificationTypes

func (a *EventsAPIService) ListNotificationTypes(ctx context.Context, organizationId string) ApiListNotificationTypesRequest

ListNotificationTypes List distinct notification types

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

func (*EventsAPIService) ListNotificationTypesExecute

func (a *EventsAPIService) ListNotificationTypesExecute(r ApiListNotificationTypesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*EventsAPIService) ListServices

func (a *EventsAPIService) ListServices(ctx context.Context, organizationId string) ApiListServicesRequest

ListServices List services discovered from ingested events

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

func (*EventsAPIService) ListServicesExecute

func (a *EventsAPIService) ListServicesExecute(r ApiListServicesRequest) ([]Service, *http.Response, error)

Execute executes the request

@return []Service

func (*EventsAPIService) SearchEvents

func (a *EventsAPIService) SearchEvents(ctx context.Context, organizationId string) ApiSearchEventsRequest

SearchEvents Search events with a validated Boolean filter tree

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

func (*EventsAPIService) SearchEventsExecute

func (a *EventsAPIService) SearchEventsExecute(r ApiSearchEventsRequest) (*EventPage, *http.Response, error)

Execute executes the request

@return EventPage

func (*EventsAPIService) SendEvent

SendEvent Send an event using an application ingestion key

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

func (*EventsAPIService) SendEventAsUser

func (a *EventsAPIService) SendEventAsUser(ctx context.Context, organizationId string) ApiSendEventAsUserRequest

SendEventAsUser Send an event as an authenticated user or agent

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

func (*EventsAPIService) SendEventAsUserExecute

func (a *EventsAPIService) SendEventAsUserExecute(r ApiSendEventAsUserRequest) (*IngestionResult, *http.Response, error)

Execute executes the request

@return IngestionResult

func (*EventsAPIService) SendEventExecute

Execute executes the request

@return IngestionResult

type FilterGroup

type FilterGroup struct {
	Operator string        `json:"operator"`
	Children []EventFilter `json:"children"`
}

FilterGroup struct for FilterGroup

func NewFilterGroup

func NewFilterGroup(operator string, children []EventFilter) *FilterGroup

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

func NewFilterGroupWithDefaults

func NewFilterGroupWithDefaults() *FilterGroup

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

func (*FilterGroup) GetChildren

func (o *FilterGroup) GetChildren() []EventFilter

GetChildren returns the Children field value

func (*FilterGroup) GetChildrenOk

func (o *FilterGroup) GetChildrenOk() ([]EventFilter, bool)

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

func (*FilterGroup) GetOperator

func (o *FilterGroup) GetOperator() string

GetOperator returns the Operator field value

func (*FilterGroup) GetOperatorOk

func (o *FilterGroup) GetOperatorOk() (*string, bool)

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

func (FilterGroup) MarshalJSON

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

func (*FilterGroup) SetChildren

func (o *FilterGroup) SetChildren(v []EventFilter)

SetChildren sets field value

func (*FilterGroup) SetOperator

func (o *FilterGroup) SetOperator(v string)

SetOperator sets field value

func (FilterGroup) ToMap

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

func (*FilterGroup) UnmarshalJSON

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

type FilterNot

type FilterNot struct {
	Operator string      `json:"operator"`
	Child    EventFilter `json:"child"`
}

FilterNot struct for FilterNot

func NewFilterNot

func NewFilterNot(operator string, child EventFilter) *FilterNot

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

func NewFilterNotWithDefaults

func NewFilterNotWithDefaults() *FilterNot

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

func (*FilterNot) GetChild

func (o *FilterNot) GetChild() EventFilter

GetChild returns the Child field value

func (*FilterNot) GetChildOk

func (o *FilterNot) GetChildOk() (*EventFilter, bool)

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

func (*FilterNot) GetOperator

func (o *FilterNot) GetOperator() string

GetOperator returns the Operator field value

func (*FilterNot) GetOperatorOk

func (o *FilterNot) GetOperatorOk() (*string, bool)

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

func (FilterNot) MarshalJSON

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

func (*FilterNot) SetChild

func (o *FilterNot) SetChild(v EventFilter)

SetChild sets field value

func (*FilterNot) SetOperator

func (o *FilterNot) SetOperator(v string)

SetOperator sets field value

func (FilterNot) ToMap

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

func (*FilterNot) UnmarshalJSON

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

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 HealthAPIService

type HealthAPIService service

HealthAPIService HealthAPI service

func (*HealthAPIService) GetHealth

GetHealth Check Agent Push Kit API health

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

func (*HealthAPIService) GetHealthExecute

Execute executes the request

@return HealthResponse

type HealthResponse

type HealthResponse struct {
	Status               string `json:"status"`
	Service              string `json:"service"`
	AdditionalProperties map[string]interface{}
}

HealthResponse struct for HealthResponse

func NewHealthResponse

func NewHealthResponse(status string, service string) *HealthResponse

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

func NewHealthResponseWithDefaults

func NewHealthResponseWithDefaults() *HealthResponse

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

func (*HealthResponse) GetService

func (o *HealthResponse) GetService() string

GetService returns the Service field value

func (*HealthResponse) GetServiceOk

func (o *HealthResponse) GetServiceOk() (*string, bool)

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

func (*HealthResponse) GetStatus

func (o *HealthResponse) GetStatus() string

GetStatus returns the Status field value

func (*HealthResponse) GetStatusOk

func (o *HealthResponse) GetStatusOk() (*string, bool)

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

func (HealthResponse) MarshalJSON

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

func (*HealthResponse) SetService

func (o *HealthResponse) SetService(v string)

SetService sets field value

func (*HealthResponse) SetStatus

func (o *HealthResponse) SetStatus(v string)

SetStatus sets field value

func (HealthResponse) ToMap

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

func (*HealthResponse) UnmarshalJSON

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

type IngestionResult

type IngestionResult struct {
	Event                EventDetail     `json:"event"`
	Duplicate            bool            `json:"duplicate"`
	Delivery             DeliverySummary `json:"delivery"`
	AdditionalProperties map[string]interface{}
}

IngestionResult struct for IngestionResult

func NewIngestionResult

func NewIngestionResult(event EventDetail, duplicate bool, delivery DeliverySummary) *IngestionResult

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

func NewIngestionResultWithDefaults

func NewIngestionResultWithDefaults() *IngestionResult

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

func (*IngestionResult) GetDelivery

func (o *IngestionResult) GetDelivery() DeliverySummary

GetDelivery returns the Delivery field value

func (*IngestionResult) GetDeliveryOk

func (o *IngestionResult) GetDeliveryOk() (*DeliverySummary, bool)

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

func (*IngestionResult) GetDuplicate

func (o *IngestionResult) GetDuplicate() bool

GetDuplicate returns the Duplicate field value

func (*IngestionResult) GetDuplicateOk

func (o *IngestionResult) GetDuplicateOk() (*bool, bool)

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

func (*IngestionResult) GetEvent

func (o *IngestionResult) GetEvent() EventDetail

GetEvent returns the Event field value

func (*IngestionResult) GetEventOk

func (o *IngestionResult) GetEventOk() (*EventDetail, bool)

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

func (IngestionResult) MarshalJSON

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

func (*IngestionResult) SetDelivery

func (o *IngestionResult) SetDelivery(v DeliverySummary)

SetDelivery sets field value

func (*IngestionResult) SetDuplicate

func (o *IngestionResult) SetDuplicate(v bool)

SetDuplicate sets field value

func (*IngestionResult) SetEvent

func (o *IngestionResult) SetEvent(v EventDetail)

SetEvent sets field value

func (IngestionResult) ToMap

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

func (*IngestionResult) UnmarshalJSON

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

type InheritedResponse

type InheritedResponse struct {
	Inherited            bool `json:"inherited"`
	AdditionalProperties map[string]interface{}
}

InheritedResponse struct for InheritedResponse

func NewInheritedResponse

func NewInheritedResponse(inherited bool) *InheritedResponse

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

func NewInheritedResponseWithDefaults

func NewInheritedResponseWithDefaults() *InheritedResponse

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

func (*InheritedResponse) GetInherited

func (o *InheritedResponse) GetInherited() bool

GetInherited returns the Inherited field value

func (*InheritedResponse) GetInheritedOk

func (o *InheritedResponse) GetInheritedOk() (*bool, bool)

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

func (InheritedResponse) MarshalJSON

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

func (*InheritedResponse) SetInherited

func (o *InheritedResponse) SetInherited(v bool)

SetInherited sets field value

func (InheritedResponse) ToMap

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

func (*InheritedResponse) UnmarshalJSON

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Membership

type Membership struct {
	Id                   string         `json:"id"`
	Role                 string         `json:"role"`
	CreatedAt            time.Time      `json:"createdAt"`
	User                 MembershipUser `json:"user"`
	AdditionalProperties map[string]interface{}
}

Membership struct for Membership

func NewMembership

func NewMembership(id string, role string, createdAt time.Time, user MembershipUser) *Membership

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

func NewMembershipWithDefaults

func NewMembershipWithDefaults() *Membership

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

func (*Membership) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Membership) GetCreatedAtOk

func (o *Membership) GetCreatedAtOk() (*time.Time, bool)

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

func (*Membership) GetId

func (o *Membership) GetId() string

GetId returns the Id field value

func (*Membership) GetIdOk

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

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

func (*Membership) GetRole

func (o *Membership) GetRole() string

GetRole returns the Role field value

func (*Membership) GetRoleOk

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

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

func (*Membership) GetUser

func (o *Membership) GetUser() MembershipUser

GetUser returns the User field value

func (*Membership) GetUserOk

func (o *Membership) GetUserOk() (*MembershipUser, bool)

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

func (Membership) MarshalJSON

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

func (*Membership) SetCreatedAt

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

SetCreatedAt sets field value

func (*Membership) SetId

func (o *Membership) SetId(v string)

SetId sets field value

func (*Membership) SetRole

func (o *Membership) SetRole(v string)

SetRole sets field value

func (*Membership) SetUser

func (o *Membership) SetUser(v MembershipUser)

SetUser sets field value

func (Membership) ToMap

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

func (*Membership) UnmarshalJSON

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

type MembershipUser

type MembershipUser struct {
	Id                   string         `json:"id"`
	Email                string         `json:"email"`
	DisplayName          NullableString `json:"displayName"`
	AdditionalProperties map[string]interface{}
}

MembershipUser struct for MembershipUser

func NewMembershipUser

func NewMembershipUser(id string, email string, displayName NullableString) *MembershipUser

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

func NewMembershipUserWithDefaults

func NewMembershipUserWithDefaults() *MembershipUser

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

func (*MembershipUser) GetDisplayName

func (o *MembershipUser) GetDisplayName() string

GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned

func (*MembershipUser) GetDisplayNameOk

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

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

func (*MembershipUser) GetEmail

func (o *MembershipUser) GetEmail() string

GetEmail returns the Email field value

func (*MembershipUser) GetEmailOk

func (o *MembershipUser) GetEmailOk() (*string, bool)

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

func (*MembershipUser) GetId

func (o *MembershipUser) GetId() string

GetId returns the Id field value

func (*MembershipUser) GetIdOk

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

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

func (MembershipUser) MarshalJSON

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

func (*MembershipUser) SetDisplayName

func (o *MembershipUser) SetDisplayName(v string)

SetDisplayName sets field value

func (*MembershipUser) SetEmail

func (o *MembershipUser) SetEmail(v string)

SetEmail sets field value

func (*MembershipUser) SetId

func (o *MembershipUser) SetId(v string)

SetId sets field value

func (MembershipUser) ToMap

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

func (*MembershipUser) UnmarshalJSON

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

type NullableAcceptedResponse

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

func NewNullableAcceptedResponse

func NewNullableAcceptedResponse(val *AcceptedResponse) *NullableAcceptedResponse

func (NullableAcceptedResponse) Get

func (NullableAcceptedResponse) IsSet

func (v NullableAcceptedResponse) IsSet() bool

func (NullableAcceptedResponse) MarshalJSON

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

func (*NullableAcceptedResponse) Set

func (*NullableAcceptedResponse) UnmarshalJSON

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

func (*NullableAcceptedResponse) Unset

func (v *NullableAcceptedResponse) Unset()

type NullableAddMemberInput

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

func NewNullableAddMemberInput

func NewNullableAddMemberInput(val *AddMemberInput) *NullableAddMemberInput

func (NullableAddMemberInput) Get

func (NullableAddMemberInput) IsSet

func (v NullableAddMemberInput) IsSet() bool

func (NullableAddMemberInput) MarshalJSON

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

func (*NullableAddMemberInput) Set

func (*NullableAddMemberInput) UnmarshalJSON

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

func (*NullableAddMemberInput) Unset

func (v *NullableAddMemberInput) Unset()

type NullableAgentToken

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

func NewNullableAgentToken

func NewNullableAgentToken(val *AgentToken) *NullableAgentToken

func (NullableAgentToken) Get

func (v NullableAgentToken) Get() *AgentToken

func (NullableAgentToken) IsSet

func (v NullableAgentToken) IsSet() bool

func (NullableAgentToken) MarshalJSON

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

func (*NullableAgentToken) Set

func (v *NullableAgentToken) Set(val *AgentToken)

func (*NullableAgentToken) UnmarshalJSON

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

func (*NullableAgentToken) Unset

func (v *NullableAgentToken) Unset()

type NullableAgentTokenCreated

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

func NewNullableAgentTokenCreated

func NewNullableAgentTokenCreated(val *AgentTokenCreated) *NullableAgentTokenCreated

func (NullableAgentTokenCreated) Get

func (NullableAgentTokenCreated) IsSet

func (v NullableAgentTokenCreated) IsSet() bool

func (NullableAgentTokenCreated) MarshalJSON

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

func (*NullableAgentTokenCreated) Set

func (*NullableAgentTokenCreated) UnmarshalJSON

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

func (*NullableAgentTokenCreated) Unset

func (v *NullableAgentTokenCreated) Unset()

type NullableApiKeySummary

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

func NewNullableApiKeySummary

func NewNullableApiKeySummary(val *ApiKeySummary) *NullableApiKeySummary

func (NullableApiKeySummary) Get

func (NullableApiKeySummary) IsSet

func (v NullableApiKeySummary) IsSet() bool

func (NullableApiKeySummary) MarshalJSON

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

func (*NullableApiKeySummary) Set

func (v *NullableApiKeySummary) Set(val *ApiKeySummary)

func (*NullableApiKeySummary) UnmarshalJSON

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

func (*NullableApiKeySummary) Unset

func (v *NullableApiKeySummary) Unset()

type NullableAuthResponse

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

func NewNullableAuthResponse

func NewNullableAuthResponse(val *AuthResponse) *NullableAuthResponse

func (NullableAuthResponse) Get

func (NullableAuthResponse) IsSet

func (v NullableAuthResponse) IsSet() bool

func (NullableAuthResponse) MarshalJSON

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

func (*NullableAuthResponse) Set

func (v *NullableAuthResponse) Set(val *AuthResponse)

func (*NullableAuthResponse) UnmarshalJSON

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

func (*NullableAuthResponse) Unset

func (v *NullableAuthResponse) 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 NullableCreateAgentTokenInput

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

func (NullableCreateAgentTokenInput) Get

func (NullableCreateAgentTokenInput) IsSet

func (NullableCreateAgentTokenInput) MarshalJSON

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

func (*NullableCreateAgentTokenInput) Set

func (*NullableCreateAgentTokenInput) UnmarshalJSON

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

func (*NullableCreateAgentTokenInput) Unset

func (v *NullableCreateAgentTokenInput) Unset()

type NullableCreateOrganizationInput

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

func (NullableCreateOrganizationInput) Get

func (NullableCreateOrganizationInput) IsSet

func (NullableCreateOrganizationInput) MarshalJSON

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

func (*NullableCreateOrganizationInput) Set

func (*NullableCreateOrganizationInput) UnmarshalJSON

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

func (*NullableCreateOrganizationInput) Unset

type NullableCurrentAccount

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

func NewNullableCurrentAccount

func NewNullableCurrentAccount(val *CurrentAccount) *NullableCurrentAccount

func (NullableCurrentAccount) Get

func (NullableCurrentAccount) IsSet

func (v NullableCurrentAccount) IsSet() bool

func (NullableCurrentAccount) MarshalJSON

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

func (*NullableCurrentAccount) Set

func (*NullableCurrentAccount) UnmarshalJSON

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

func (*NullableCurrentAccount) Unset

func (v *NullableCurrentAccount) Unset()

type NullableDeletedResponse

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

func NewNullableDeletedResponse

func NewNullableDeletedResponse(val *DeletedResponse) *NullableDeletedResponse

func (NullableDeletedResponse) Get

func (NullableDeletedResponse) IsSet

func (v NullableDeletedResponse) IsSet() bool

func (NullableDeletedResponse) MarshalJSON

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

func (*NullableDeletedResponse) Set

func (*NullableDeletedResponse) UnmarshalJSON

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

func (*NullableDeletedResponse) Unset

func (v *NullableDeletedResponse) Unset()

type NullableDeliverySummary

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

func NewNullableDeliverySummary

func NewNullableDeliverySummary(val *DeliverySummary) *NullableDeliverySummary

func (NullableDeliverySummary) Get

func (NullableDeliverySummary) IsSet

func (v NullableDeliverySummary) IsSet() bool

func (NullableDeliverySummary) MarshalJSON

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

func (*NullableDeliverySummary) Set

func (*NullableDeliverySummary) UnmarshalJSON

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

func (*NullableDeliverySummary) Unset

func (v *NullableDeliverySummary) Unset()

type NullableDevice

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

func NewNullableDevice

func NewNullableDevice(val *Device) *NullableDevice

func (NullableDevice) Get

func (v NullableDevice) Get() *Device

func (NullableDevice) IsSet

func (v NullableDevice) IsSet() bool

func (NullableDevice) MarshalJSON

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

func (*NullableDevice) Set

func (v *NullableDevice) Set(val *Device)

func (*NullableDevice) UnmarshalJSON

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

func (*NullableDevice) Unset

func (v *NullableDevice) Unset()

type NullableDisabledResponse

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

func NewNullableDisabledResponse

func NewNullableDisabledResponse(val *DisabledResponse) *NullableDisabledResponse

func (NullableDisabledResponse) Get

func (NullableDisabledResponse) IsSet

func (v NullableDisabledResponse) IsSet() bool

func (NullableDisabledResponse) MarshalJSON

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

func (*NullableDisabledResponse) Set

func (*NullableDisabledResponse) UnmarshalJSON

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

func (*NullableDisabledResponse) Unset

func (v *NullableDisabledResponse) Unset()

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) Unset()

type NullableEventDetail

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

func NewNullableEventDetail

func NewNullableEventDetail(val *EventDetail) *NullableEventDetail

func (NullableEventDetail) Get

func (NullableEventDetail) IsSet

func (v NullableEventDetail) IsSet() bool

func (NullableEventDetail) MarshalJSON

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

func (*NullableEventDetail) Set

func (v *NullableEventDetail) Set(val *EventDetail)

func (*NullableEventDetail) UnmarshalJSON

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

func (*NullableEventDetail) Unset

func (v *NullableEventDetail) Unset()

type NullableEventFilter

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

func NewNullableEventFilter

func NewNullableEventFilter(val *EventFilter) *NullableEventFilter

func (NullableEventFilter) Get

func (NullableEventFilter) IsSet

func (v NullableEventFilter) IsSet() bool

func (NullableEventFilter) MarshalJSON

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

func (*NullableEventFilter) Set

func (v *NullableEventFilter) Set(val *EventFilter)

func (*NullableEventFilter) UnmarshalJSON

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

func (*NullableEventFilter) Unset

func (v *NullableEventFilter) Unset()

type NullableEventPage

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

func NewNullableEventPage

func NewNullableEventPage(val *EventPage) *NullableEventPage

func (NullableEventPage) Get

func (v NullableEventPage) Get() *EventPage

func (NullableEventPage) IsSet

func (v NullableEventPage) IsSet() bool

func (NullableEventPage) MarshalJSON

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

func (*NullableEventPage) Set

func (v *NullableEventPage) Set(val *EventPage)

func (*NullableEventPage) UnmarshalJSON

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

func (*NullableEventPage) Unset

func (v *NullableEventPage) Unset()

type NullableEventSummary

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

func NewNullableEventSummary

func NewNullableEventSummary(val *EventSummary) *NullableEventSummary

func (NullableEventSummary) Get

func (NullableEventSummary) IsSet

func (v NullableEventSummary) IsSet() bool

func (NullableEventSummary) MarshalJSON

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

func (*NullableEventSummary) Set

func (v *NullableEventSummary) Set(val *EventSummary)

func (*NullableEventSummary) UnmarshalJSON

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

func (*NullableEventSummary) Unset

func (v *NullableEventSummary) Unset()

type NullableFilterGroup

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

func NewNullableFilterGroup

func NewNullableFilterGroup(val *FilterGroup) *NullableFilterGroup

func (NullableFilterGroup) Get

func (NullableFilterGroup) IsSet

func (v NullableFilterGroup) IsSet() bool

func (NullableFilterGroup) MarshalJSON

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

func (*NullableFilterGroup) Set

func (v *NullableFilterGroup) Set(val *FilterGroup)

func (*NullableFilterGroup) UnmarshalJSON

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

func (*NullableFilterGroup) Unset

func (v *NullableFilterGroup) Unset()

type NullableFilterNot

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

func NewNullableFilterNot

func NewNullableFilterNot(val *FilterNot) *NullableFilterNot

func (NullableFilterNot) Get

func (v NullableFilterNot) Get() *FilterNot

func (NullableFilterNot) IsSet

func (v NullableFilterNot) IsSet() bool

func (NullableFilterNot) MarshalJSON

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

func (*NullableFilterNot) Set

func (v *NullableFilterNot) Set(val *FilterNot)

func (*NullableFilterNot) UnmarshalJSON

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

func (*NullableFilterNot) Unset

func (v *NullableFilterNot) 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 NullableHealthResponse

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

func NewNullableHealthResponse

func NewNullableHealthResponse(val *HealthResponse) *NullableHealthResponse

func (NullableHealthResponse) Get

func (NullableHealthResponse) IsSet

func (v NullableHealthResponse) IsSet() bool

func (NullableHealthResponse) MarshalJSON

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

func (*NullableHealthResponse) Set

func (*NullableHealthResponse) UnmarshalJSON

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

func (*NullableHealthResponse) Unset

func (v *NullableHealthResponse) Unset()

type NullableIngestionResult

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

func NewNullableIngestionResult

func NewNullableIngestionResult(val *IngestionResult) *NullableIngestionResult

func (NullableIngestionResult) Get

func (NullableIngestionResult) IsSet

func (v NullableIngestionResult) IsSet() bool

func (NullableIngestionResult) MarshalJSON

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

func (*NullableIngestionResult) Set

func (*NullableIngestionResult) UnmarshalJSON

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

func (*NullableIngestionResult) Unset

func (v *NullableIngestionResult) Unset()

type NullableInheritedResponse

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

func NewNullableInheritedResponse

func NewNullableInheritedResponse(val *InheritedResponse) *NullableInheritedResponse

func (NullableInheritedResponse) Get

func (NullableInheritedResponse) IsSet

func (v NullableInheritedResponse) IsSet() bool

func (NullableInheritedResponse) MarshalJSON

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

func (*NullableInheritedResponse) Set

func (*NullableInheritedResponse) UnmarshalJSON

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

func (*NullableInheritedResponse) Unset

func (v *NullableInheritedResponse) 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 NullableMembership

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

func NewNullableMembership

func NewNullableMembership(val *Membership) *NullableMembership

func (NullableMembership) Get

func (v NullableMembership) Get() *Membership

func (NullableMembership) IsSet

func (v NullableMembership) IsSet() bool

func (NullableMembership) MarshalJSON

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

func (*NullableMembership) Set

func (v *NullableMembership) Set(val *Membership)

func (*NullableMembership) UnmarshalJSON

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

func (*NullableMembership) Unset

func (v *NullableMembership) Unset()

type NullableMembershipUser

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

func NewNullableMembershipUser

func NewNullableMembershipUser(val *MembershipUser) *NullableMembershipUser

func (NullableMembershipUser) Get

func (NullableMembershipUser) IsSet

func (v NullableMembershipUser) IsSet() bool

func (NullableMembershipUser) MarshalJSON

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

func (*NullableMembershipUser) Set

func (*NullableMembershipUser) UnmarshalJSON

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

func (*NullableMembershipUser) Unset

func (v *NullableMembershipUser) Unset()

type NullableOrganization

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

func NewNullableOrganization

func NewNullableOrganization(val *Organization) *NullableOrganization

func (NullableOrganization) Get

func (NullableOrganization) IsSet

func (v NullableOrganization) IsSet() bool

func (NullableOrganization) MarshalJSON

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

func (*NullableOrganization) Set

func (v *NullableOrganization) Set(val *Organization)

func (*NullableOrganization) UnmarshalJSON

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

func (*NullableOrganization) Unset

func (v *NullableOrganization) Unset()

type NullableOrganizationApiKeyCreated

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

func (NullableOrganizationApiKeyCreated) Get

func (NullableOrganizationApiKeyCreated) IsSet

func (NullableOrganizationApiKeyCreated) MarshalJSON

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

func (*NullableOrganizationApiKeyCreated) Set

func (*NullableOrganizationApiKeyCreated) UnmarshalJSON

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

func (*NullableOrganizationApiKeyCreated) Unset

type NullableOrganizationCount

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

func NewNullableOrganizationCount

func NewNullableOrganizationCount(val *OrganizationCount) *NullableOrganizationCount

func (NullableOrganizationCount) Get

func (NullableOrganizationCount) IsSet

func (v NullableOrganizationCount) IsSet() bool

func (NullableOrganizationCount) MarshalJSON

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

func (*NullableOrganizationCount) Set

func (*NullableOrganizationCount) UnmarshalJSON

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

func (*NullableOrganizationCount) Unset

func (v *NullableOrganizationCount) Unset()

type NullableOrganizationCreated

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

func NewNullableOrganizationCreated

func NewNullableOrganizationCreated(val *OrganizationCreated) *NullableOrganizationCreated

func (NullableOrganizationCreated) Get

func (NullableOrganizationCreated) IsSet

func (NullableOrganizationCreated) MarshalJSON

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

func (*NullableOrganizationCreated) Set

func (*NullableOrganizationCreated) UnmarshalJSON

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

func (*NullableOrganizationCreated) Unset

func (v *NullableOrganizationCreated) Unset()

type NullableOrganizationRecord

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

func NewNullableOrganizationRecord

func NewNullableOrganizationRecord(val *OrganizationRecord) *NullableOrganizationRecord

func (NullableOrganizationRecord) Get

func (NullableOrganizationRecord) IsSet

func (v NullableOrganizationRecord) IsSet() bool

func (NullableOrganizationRecord) MarshalJSON

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

func (*NullableOrganizationRecord) Set

func (*NullableOrganizationRecord) UnmarshalJSON

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

func (*NullableOrganizationRecord) Unset

func (v *NullableOrganizationRecord) Unset()

type NullablePasswordLoginInput

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

func NewNullablePasswordLoginInput

func NewNullablePasswordLoginInput(val *PasswordLoginInput) *NullablePasswordLoginInput

func (NullablePasswordLoginInput) Get

func (NullablePasswordLoginInput) IsSet

func (v NullablePasswordLoginInput) IsSet() bool

func (NullablePasswordLoginInput) MarshalJSON

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

func (*NullablePasswordLoginInput) Set

func (*NullablePasswordLoginInput) UnmarshalJSON

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

func (*NullablePasswordLoginInput) Unset

func (v *NullablePasswordLoginInput) Unset()

type NullablePasswordResetCompleteInput

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

func (NullablePasswordResetCompleteInput) Get

func (NullablePasswordResetCompleteInput) IsSet

func (NullablePasswordResetCompleteInput) MarshalJSON

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

func (*NullablePasswordResetCompleteInput) Set

func (*NullablePasswordResetCompleteInput) UnmarshalJSON

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

func (*NullablePasswordResetCompleteInput) Unset

type NullablePasswordResetRequestInput

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

func (NullablePasswordResetRequestInput) Get

func (NullablePasswordResetRequestInput) IsSet

func (NullablePasswordResetRequestInput) MarshalJSON

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

func (*NullablePasswordResetRequestInput) Set

func (*NullablePasswordResetRequestInput) UnmarshalJSON

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

func (*NullablePasswordResetRequestInput) Unset

type NullablePreferenceRecord

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

func NewNullablePreferenceRecord

func NewNullablePreferenceRecord(val *PreferenceRecord) *NullablePreferenceRecord

func (NullablePreferenceRecord) Get

func (NullablePreferenceRecord) IsSet

func (v NullablePreferenceRecord) IsSet() bool

func (NullablePreferenceRecord) MarshalJSON

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

func (*NullablePreferenceRecord) Set

func (*NullablePreferenceRecord) UnmarshalJSON

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

func (*NullablePreferenceRecord) Unset

func (v *NullablePreferenceRecord) Unset()

type NullableProviderLoginInput

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

func NewNullableProviderLoginInput

func NewNullableProviderLoginInput(val *ProviderLoginInput) *NullableProviderLoginInput

func (NullableProviderLoginInput) Get

func (NullableProviderLoginInput) IsSet

func (v NullableProviderLoginInput) IsSet() bool

func (NullableProviderLoginInput) MarshalJSON

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

func (*NullableProviderLoginInput) Set

func (*NullableProviderLoginInput) UnmarshalJSON

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

func (*NullableProviderLoginInput) Unset

func (v *NullableProviderLoginInput) Unset()

type NullableRegisterDeviceInput

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

func NewNullableRegisterDeviceInput

func NewNullableRegisterDeviceInput(val *RegisterDeviceInput) *NullableRegisterDeviceInput

func (NullableRegisterDeviceInput) Get

func (NullableRegisterDeviceInput) IsSet

func (NullableRegisterDeviceInput) MarshalJSON

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

func (*NullableRegisterDeviceInput) Set

func (*NullableRegisterDeviceInput) UnmarshalJSON

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

func (*NullableRegisterDeviceInput) Unset

func (v *NullableRegisterDeviceInput) Unset()

type NullableRegisterInput

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

func NewNullableRegisterInput

func NewNullableRegisterInput(val *RegisterInput) *NullableRegisterInput

func (NullableRegisterInput) Get

func (NullableRegisterInput) IsSet

func (v NullableRegisterInput) IsSet() bool

func (NullableRegisterInput) MarshalJSON

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

func (*NullableRegisterInput) Set

func (v *NullableRegisterInput) Set(val *RegisterInput)

func (*NullableRegisterInput) UnmarshalJSON

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

func (*NullableRegisterInput) Unset

func (v *NullableRegisterInput) Unset()

type NullableRegisterWebPushSubscriptionInput

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

func (NullableRegisterWebPushSubscriptionInput) Get

func (NullableRegisterWebPushSubscriptionInput) IsSet

func (NullableRegisterWebPushSubscriptionInput) MarshalJSON

func (*NullableRegisterWebPushSubscriptionInput) Set

func (*NullableRegisterWebPushSubscriptionInput) UnmarshalJSON

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

func (*NullableRegisterWebPushSubscriptionInput) Unset

type NullableRegisterWebPushSubscriptionInputKeys

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

func (NullableRegisterWebPushSubscriptionInputKeys) Get

func (NullableRegisterWebPushSubscriptionInputKeys) IsSet

func (NullableRegisterWebPushSubscriptionInputKeys) MarshalJSON

func (*NullableRegisterWebPushSubscriptionInputKeys) Set

func (*NullableRegisterWebPushSubscriptionInputKeys) UnmarshalJSON

func (*NullableRegisterWebPushSubscriptionInputKeys) Unset

type NullableRevokedResponse

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

func NewNullableRevokedResponse

func NewNullableRevokedResponse(val *RevokedResponse) *NullableRevokedResponse

func (NullableRevokedResponse) Get

func (NullableRevokedResponse) IsSet

func (v NullableRevokedResponse) IsSet() bool

func (NullableRevokedResponse) MarshalJSON

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

func (*NullableRevokedResponse) Set

func (*NullableRevokedResponse) UnmarshalJSON

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

func (*NullableRevokedResponse) Unset

func (v *NullableRevokedResponse) Unset()

type NullableSearchEventsInput

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

func NewNullableSearchEventsInput

func NewNullableSearchEventsInput(val *SearchEventsInput) *NullableSearchEventsInput

func (NullableSearchEventsInput) Get

func (NullableSearchEventsInput) IsSet

func (v NullableSearchEventsInput) IsSet() bool

func (NullableSearchEventsInput) MarshalJSON

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

func (*NullableSearchEventsInput) Set

func (*NullableSearchEventsInput) UnmarshalJSON

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

func (*NullableSearchEventsInput) Unset

func (v *NullableSearchEventsInput) Unset()

type NullableSendEventInput

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

func NewNullableSendEventInput

func NewNullableSendEventInput(val *SendEventInput) *NullableSendEventInput

func (NullableSendEventInput) Get

func (NullableSendEventInput) IsSet

func (v NullableSendEventInput) IsSet() bool

func (NullableSendEventInput) MarshalJSON

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

func (*NullableSendEventInput) Set

func (*NullableSendEventInput) UnmarshalJSON

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

func (*NullableSendEventInput) Unset

func (v *NullableSendEventInput) Unset()

type NullableService

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

func NewNullableService

func NewNullableService(val *Service) *NullableService

func (NullableService) Get

func (v NullableService) Get() *Service

func (NullableService) IsSet

func (v NullableService) IsSet() bool

func (NullableService) MarshalJSON

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

func (*NullableService) Set

func (v *NullableService) Set(val *Service)

func (*NullableService) UnmarshalJSON

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

func (*NullableService) Unset

func (v *NullableService) Unset()

type NullableServiceAllOfCount

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

func NewNullableServiceAllOfCount

func NewNullableServiceAllOfCount(val *ServiceAllOfCount) *NullableServiceAllOfCount

func (NullableServiceAllOfCount) Get

func (NullableServiceAllOfCount) IsSet

func (v NullableServiceAllOfCount) IsSet() bool

func (NullableServiceAllOfCount) MarshalJSON

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

func (*NullableServiceAllOfCount) Set

func (*NullableServiceAllOfCount) UnmarshalJSON

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

func (*NullableServiceAllOfCount) Unset

func (v *NullableServiceAllOfCount) Unset()

type NullableServicePreference

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

func NewNullableServicePreference

func NewNullableServicePreference(val *ServicePreference) *NullableServicePreference

func (NullableServicePreference) Get

func (NullableServicePreference) IsSet

func (v NullableServicePreference) IsSet() bool

func (NullableServicePreference) MarshalJSON

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

func (*NullableServicePreference) Set

func (*NullableServicePreference) UnmarshalJSON

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

func (*NullableServicePreference) Unset

func (v *NullableServicePreference) Unset()

type NullableServiceSummary

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

func NewNullableServiceSummary

func NewNullableServiceSummary(val *ServiceSummary) *NullableServiceSummary

func (NullableServiceSummary) Get

func (NullableServiceSummary) IsSet

func (v NullableServiceSummary) IsSet() bool

func (NullableServiceSummary) MarshalJSON

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

func (*NullableServiceSummary) Set

func (*NullableServiceSummary) UnmarshalJSON

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

func (*NullableServiceSummary) Unset

func (v *NullableServiceSummary) Unset()

type NullableSetEnabledInput

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

func NewNullableSetEnabledInput

func NewNullableSetEnabledInput(val *SetEnabledInput) *NullableSetEnabledInput

func (NullableSetEnabledInput) Get

func (NullableSetEnabledInput) IsSet

func (v NullableSetEnabledInput) IsSet() bool

func (NullableSetEnabledInput) MarshalJSON

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

func (*NullableSetEnabledInput) Set

func (*NullableSetEnabledInput) UnmarshalJSON

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

func (*NullableSetEnabledInput) Unset

func (v *NullableSetEnabledInput) 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 NullableTextFilterCondition

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

func NewNullableTextFilterCondition

func NewNullableTextFilterCondition(val *TextFilterCondition) *NullableTextFilterCondition

func (NullableTextFilterCondition) Get

func (NullableTextFilterCondition) IsSet

func (NullableTextFilterCondition) MarshalJSON

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

func (*NullableTextFilterCondition) Set

func (*NullableTextFilterCondition) UnmarshalJSON

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

func (*NullableTextFilterCondition) Unset

func (v *NullableTextFilterCondition) 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 NullableTimeFilterCondition

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

func NewNullableTimeFilterCondition

func NewNullableTimeFilterCondition(val *TimeFilterCondition) *NullableTimeFilterCondition

func (NullableTimeFilterCondition) Get

func (NullableTimeFilterCondition) IsSet

func (NullableTimeFilterCondition) MarshalJSON

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

func (*NullableTimeFilterCondition) Set

func (*NullableTimeFilterCondition) UnmarshalJSON

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

func (*NullableTimeFilterCondition) Unset

func (v *NullableTimeFilterCondition) Unset()

type NullableTypeOverride

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

func NewNullableTypeOverride

func NewNullableTypeOverride(val *TypeOverride) *NullableTypeOverride

func (NullableTypeOverride) Get

func (NullableTypeOverride) IsSet

func (v NullableTypeOverride) IsSet() bool

func (NullableTypeOverride) MarshalJSON

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

func (*NullableTypeOverride) Set

func (v *NullableTypeOverride) Set(val *TypeOverride)

func (*NullableTypeOverride) UnmarshalJSON

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

func (*NullableTypeOverride) Unset

func (v *NullableTypeOverride) 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 NullableWebPushConfiguration

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

func NewNullableWebPushConfiguration

func NewNullableWebPushConfiguration(val *WebPushConfiguration) *NullableWebPushConfiguration

func (NullableWebPushConfiguration) Get

func (NullableWebPushConfiguration) IsSet

func (NullableWebPushConfiguration) MarshalJSON

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

func (*NullableWebPushConfiguration) Set

func (*NullableWebPushConfiguration) UnmarshalJSON

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

func (*NullableWebPushConfiguration) Unset

func (v *NullableWebPushConfiguration) Unset()

type NullableWebPushSubscription

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

func NewNullableWebPushSubscription

func NewNullableWebPushSubscription(val *WebPushSubscription) *NullableWebPushSubscription

func (NullableWebPushSubscription) Get

func (NullableWebPushSubscription) IsSet

func (NullableWebPushSubscription) MarshalJSON

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

func (*NullableWebPushSubscription) Set

func (*NullableWebPushSubscription) UnmarshalJSON

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

func (*NullableWebPushSubscription) Unset

func (v *NullableWebPushSubscription) Unset()

type Organization

type Organization struct {
	Id                   string                `json:"id"`
	Name                 string                `json:"name"`
	Role                 string                `json:"role"`
	CreatedAt            time.Time             `json:"createdAt"`
	UpdatedAt            time.Time             `json:"updatedAt"`
	JoinedAt             time.Time             `json:"joinedAt"`
	ApiKey               NullableApiKeySummary `json:"apiKey,omitempty"`
	Count                *OrganizationCount    `json:"_count,omitempty"`
	AdditionalProperties map[string]interface{}
}

Organization struct for Organization

func NewOrganization

func NewOrganization(id string, name string, role string, createdAt time.Time, updatedAt time.Time, joinedAt time.Time) *Organization

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

func NewOrganizationWithDefaults

func NewOrganizationWithDefaults() *Organization

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

func (*Organization) GetApiKey

func (o *Organization) GetApiKey() ApiKeySummary

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

func (*Organization) GetApiKeyOk

func (o *Organization) GetApiKeyOk() (*ApiKeySummary, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Organization) GetCount

func (o *Organization) GetCount() OrganizationCount

GetCount returns the Count field value if set, zero value otherwise.

func (*Organization) GetCountOk

func (o *Organization) GetCountOk() (*OrganizationCount, 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 (*Organization) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Organization) GetCreatedAtOk

func (o *Organization) GetCreatedAtOk() (*time.Time, bool)

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

func (*Organization) GetId

func (o *Organization) GetId() string

GetId returns the Id field value

func (*Organization) GetIdOk

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

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

func (*Organization) GetJoinedAt

func (o *Organization) GetJoinedAt() time.Time

GetJoinedAt returns the JoinedAt field value

func (*Organization) GetJoinedAtOk

func (o *Organization) GetJoinedAtOk() (*time.Time, bool)

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

func (*Organization) GetName

func (o *Organization) GetName() string

GetName returns the Name field value

func (*Organization) GetNameOk

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

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

func (*Organization) GetRole

func (o *Organization) GetRole() string

GetRole returns the Role field value

func (*Organization) GetRoleOk

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

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

func (*Organization) GetUpdatedAt

func (o *Organization) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*Organization) GetUpdatedAtOk

func (o *Organization) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Organization) HasApiKey

func (o *Organization) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

func (*Organization) HasCount

func (o *Organization) HasCount() bool

HasCount returns a boolean if a field has been set.

func (Organization) MarshalJSON

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

func (*Organization) SetApiKey

func (o *Organization) SetApiKey(v ApiKeySummary)

SetApiKey gets a reference to the given NullableApiKeySummary and assigns it to the ApiKey field.

func (*Organization) SetApiKeyNil

func (o *Organization) SetApiKeyNil()

SetApiKeyNil sets the value for ApiKey to be an explicit nil

func (*Organization) SetCount

func (o *Organization) SetCount(v OrganizationCount)

SetCount gets a reference to the given OrganizationCount and assigns it to the Count field.

func (*Organization) SetCreatedAt

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

SetCreatedAt sets field value

func (*Organization) SetId

func (o *Organization) SetId(v string)

SetId sets field value

func (*Organization) SetJoinedAt

func (o *Organization) SetJoinedAt(v time.Time)

SetJoinedAt sets field value

func (*Organization) SetName

func (o *Organization) SetName(v string)

SetName sets field value

func (*Organization) SetRole

func (o *Organization) SetRole(v string)

SetRole sets field value

func (*Organization) SetUpdatedAt

func (o *Organization) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (Organization) ToMap

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

func (*Organization) UnmarshalJSON

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

func (*Organization) UnsetApiKey

func (o *Organization) UnsetApiKey()

UnsetApiKey ensures that no value is present for ApiKey, not even an explicit nil

type OrganizationApiKeyCreated

type OrganizationApiKeyCreated struct {
	KeyPrefix            string    `json:"keyPrefix"`
	LastFour             string    `json:"lastFour"`
	UpdatedAt            time.Time `json:"updatedAt"`
	ApiKey               string    `json:"apiKey" validate:"regexp=^apk_"`
	AdditionalProperties map[string]interface{}
}

OrganizationApiKeyCreated struct for OrganizationApiKeyCreated

func NewOrganizationApiKeyCreated

func NewOrganizationApiKeyCreated(keyPrefix string, lastFour string, updatedAt time.Time, apiKey string) *OrganizationApiKeyCreated

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

func NewOrganizationApiKeyCreatedWithDefaults

func NewOrganizationApiKeyCreatedWithDefaults() *OrganizationApiKeyCreated

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

func (*OrganizationApiKeyCreated) GetApiKey

func (o *OrganizationApiKeyCreated) GetApiKey() string

GetApiKey returns the ApiKey field value

func (*OrganizationApiKeyCreated) GetApiKeyOk

func (o *OrganizationApiKeyCreated) GetApiKeyOk() (*string, bool)

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

func (*OrganizationApiKeyCreated) GetKeyPrefix

func (o *OrganizationApiKeyCreated) GetKeyPrefix() string

GetKeyPrefix returns the KeyPrefix field value

func (*OrganizationApiKeyCreated) GetKeyPrefixOk

func (o *OrganizationApiKeyCreated) GetKeyPrefixOk() (*string, bool)

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

func (*OrganizationApiKeyCreated) GetLastFour

func (o *OrganizationApiKeyCreated) GetLastFour() string

GetLastFour returns the LastFour field value

func (*OrganizationApiKeyCreated) GetLastFourOk

func (o *OrganizationApiKeyCreated) GetLastFourOk() (*string, bool)

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

func (*OrganizationApiKeyCreated) GetUpdatedAt

func (o *OrganizationApiKeyCreated) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*OrganizationApiKeyCreated) GetUpdatedAtOk

func (o *OrganizationApiKeyCreated) GetUpdatedAtOk() (*time.Time, bool)

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

func (OrganizationApiKeyCreated) MarshalJSON

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

func (*OrganizationApiKeyCreated) SetApiKey

func (o *OrganizationApiKeyCreated) SetApiKey(v string)

SetApiKey sets field value

func (*OrganizationApiKeyCreated) SetKeyPrefix

func (o *OrganizationApiKeyCreated) SetKeyPrefix(v string)

SetKeyPrefix sets field value

func (*OrganizationApiKeyCreated) SetLastFour

func (o *OrganizationApiKeyCreated) SetLastFour(v string)

SetLastFour sets field value

func (*OrganizationApiKeyCreated) SetUpdatedAt

func (o *OrganizationApiKeyCreated) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (OrganizationApiKeyCreated) ToMap

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

func (*OrganizationApiKeyCreated) UnmarshalJSON

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

type OrganizationCount

type OrganizationCount struct {
	Memberships          *int32 `json:"memberships,omitempty"`
	Services             *int32 `json:"services,omitempty"`
	AdditionalProperties map[string]interface{}
}

OrganizationCount struct for OrganizationCount

func NewOrganizationCount

func NewOrganizationCount() *OrganizationCount

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

func NewOrganizationCountWithDefaults

func NewOrganizationCountWithDefaults() *OrganizationCount

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

func (*OrganizationCount) GetMemberships

func (o *OrganizationCount) GetMemberships() int32

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*OrganizationCount) GetMembershipsOk

func (o *OrganizationCount) GetMembershipsOk() (*int32, bool)

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

func (*OrganizationCount) GetServices

func (o *OrganizationCount) GetServices() int32

GetServices returns the Services field value if set, zero value otherwise.

func (*OrganizationCount) GetServicesOk

func (o *OrganizationCount) GetServicesOk() (*int32, bool)

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

func (*OrganizationCount) HasMemberships

func (o *OrganizationCount) HasMemberships() bool

HasMemberships returns a boolean if a field has been set.

func (*OrganizationCount) HasServices

func (o *OrganizationCount) HasServices() bool

HasServices returns a boolean if a field has been set.

func (OrganizationCount) MarshalJSON

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

func (*OrganizationCount) SetMemberships

func (o *OrganizationCount) SetMemberships(v int32)

SetMemberships gets a reference to the given int32 and assigns it to the Memberships field.

func (*OrganizationCount) SetServices

func (o *OrganizationCount) SetServices(v int32)

SetServices gets a reference to the given int32 and assigns it to the Services field.

func (OrganizationCount) ToMap

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

func (*OrganizationCount) UnmarshalJSON

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

type OrganizationCreated

type OrganizationCreated struct {
	Organization         OrganizationRecord `json:"organization"`
	ApiKey               string             `json:"apiKey" validate:"regexp=^apk_"`
	AdditionalProperties map[string]interface{}
}

OrganizationCreated struct for OrganizationCreated

func NewOrganizationCreated

func NewOrganizationCreated(organization OrganizationRecord, apiKey string) *OrganizationCreated

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

func NewOrganizationCreatedWithDefaults

func NewOrganizationCreatedWithDefaults() *OrganizationCreated

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

func (*OrganizationCreated) GetApiKey

func (o *OrganizationCreated) GetApiKey() string

GetApiKey returns the ApiKey field value

func (*OrganizationCreated) GetApiKeyOk

func (o *OrganizationCreated) GetApiKeyOk() (*string, bool)

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

func (*OrganizationCreated) GetOrganization

func (o *OrganizationCreated) GetOrganization() OrganizationRecord

GetOrganization returns the Organization field value

func (*OrganizationCreated) GetOrganizationOk

func (o *OrganizationCreated) GetOrganizationOk() (*OrganizationRecord, bool)

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

func (OrganizationCreated) MarshalJSON

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

func (*OrganizationCreated) SetApiKey

func (o *OrganizationCreated) SetApiKey(v string)

SetApiKey sets field value

func (*OrganizationCreated) SetOrganization

func (o *OrganizationCreated) SetOrganization(v OrganizationRecord)

SetOrganization sets field value

func (OrganizationCreated) ToMap

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

func (*OrganizationCreated) UnmarshalJSON

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

type OrganizationRecord

type OrganizationRecord struct {
	Id                   string    `json:"id"`
	Name                 string    `json:"name"`
	CreatedAt            time.Time `json:"createdAt"`
	UpdatedAt            time.Time `json:"updatedAt"`
	AdditionalProperties map[string]interface{}
}

OrganizationRecord struct for OrganizationRecord

func NewOrganizationRecord

func NewOrganizationRecord(id string, name string, createdAt time.Time, updatedAt time.Time) *OrganizationRecord

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

func NewOrganizationRecordWithDefaults

func NewOrganizationRecordWithDefaults() *OrganizationRecord

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

func (*OrganizationRecord) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*OrganizationRecord) GetCreatedAtOk

func (o *OrganizationRecord) GetCreatedAtOk() (*time.Time, bool)

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

func (*OrganizationRecord) GetId

func (o *OrganizationRecord) GetId() string

GetId returns the Id field value

func (*OrganizationRecord) GetIdOk

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

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

func (*OrganizationRecord) GetName

func (o *OrganizationRecord) GetName() string

GetName returns the Name field value

func (*OrganizationRecord) GetNameOk

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

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

func (*OrganizationRecord) GetUpdatedAt

func (o *OrganizationRecord) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*OrganizationRecord) GetUpdatedAtOk

func (o *OrganizationRecord) GetUpdatedAtOk() (*time.Time, bool)

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

func (OrganizationRecord) MarshalJSON

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

func (*OrganizationRecord) SetCreatedAt

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

SetCreatedAt sets field value

func (*OrganizationRecord) SetId

func (o *OrganizationRecord) SetId(v string)

SetId sets field value

func (*OrganizationRecord) SetName

func (o *OrganizationRecord) SetName(v string)

SetName sets field value

func (*OrganizationRecord) SetUpdatedAt

func (o *OrganizationRecord) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (OrganizationRecord) ToMap

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

func (*OrganizationRecord) UnmarshalJSON

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

type PasswordLoginInput

type PasswordLoginInput struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

PasswordLoginInput struct for PasswordLoginInput

func NewPasswordLoginInput

func NewPasswordLoginInput(email string, password string) *PasswordLoginInput

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

func NewPasswordLoginInputWithDefaults

func NewPasswordLoginInputWithDefaults() *PasswordLoginInput

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

func (*PasswordLoginInput) GetEmail

func (o *PasswordLoginInput) GetEmail() string

GetEmail returns the Email field value

func (*PasswordLoginInput) GetEmailOk

func (o *PasswordLoginInput) GetEmailOk() (*string, bool)

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

func (*PasswordLoginInput) GetPassword

func (o *PasswordLoginInput) GetPassword() string

GetPassword returns the Password field value

func (*PasswordLoginInput) GetPasswordOk

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

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

func (PasswordLoginInput) MarshalJSON

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

func (*PasswordLoginInput) SetEmail

func (o *PasswordLoginInput) SetEmail(v string)

SetEmail sets field value

func (*PasswordLoginInput) SetPassword

func (o *PasswordLoginInput) SetPassword(v string)

SetPassword sets field value

func (PasswordLoginInput) ToMap

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

func (*PasswordLoginInput) UnmarshalJSON

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

type PasswordResetCompleteInput

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

PasswordResetCompleteInput struct for PasswordResetCompleteInput

func NewPasswordResetCompleteInput

func NewPasswordResetCompleteInput(token string, password string) *PasswordResetCompleteInput

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

func NewPasswordResetCompleteInputWithDefaults

func NewPasswordResetCompleteInputWithDefaults() *PasswordResetCompleteInput

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

func (*PasswordResetCompleteInput) GetPassword

func (o *PasswordResetCompleteInput) GetPassword() string

GetPassword returns the Password field value

func (*PasswordResetCompleteInput) GetPasswordOk

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

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

func (*PasswordResetCompleteInput) GetToken

func (o *PasswordResetCompleteInput) GetToken() string

GetToken returns the Token field value

func (*PasswordResetCompleteInput) GetTokenOk

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

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

func (PasswordResetCompleteInput) MarshalJSON

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

func (*PasswordResetCompleteInput) SetPassword

func (o *PasswordResetCompleteInput) SetPassword(v string)

SetPassword sets field value

func (*PasswordResetCompleteInput) SetToken

func (o *PasswordResetCompleteInput) SetToken(v string)

SetToken sets field value

func (PasswordResetCompleteInput) ToMap

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

func (*PasswordResetCompleteInput) UnmarshalJSON

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

type PasswordResetRequestInput

type PasswordResetRequestInput struct {
	Email string `json:"email"`
}

PasswordResetRequestInput struct for PasswordResetRequestInput

func NewPasswordResetRequestInput

func NewPasswordResetRequestInput(email string) *PasswordResetRequestInput

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

func NewPasswordResetRequestInputWithDefaults

func NewPasswordResetRequestInputWithDefaults() *PasswordResetRequestInput

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

func (*PasswordResetRequestInput) GetEmail

func (o *PasswordResetRequestInput) GetEmail() string

GetEmail returns the Email field value

func (*PasswordResetRequestInput) GetEmailOk

func (o *PasswordResetRequestInput) GetEmailOk() (*string, bool)

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

func (PasswordResetRequestInput) MarshalJSON

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

func (*PasswordResetRequestInput) SetEmail

func (o *PasswordResetRequestInput) SetEmail(v string)

SetEmail sets field value

func (PasswordResetRequestInput) ToMap

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

func (*PasswordResetRequestInput) UnmarshalJSON

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

type PreferenceRecord

type PreferenceRecord struct {
	ServiceId            string    `json:"serviceId"`
	TypeKey              string    `json:"typeKey"`
	Enabled              bool      `json:"enabled"`
	UpdatedAt            time.Time `json:"updatedAt"`
	AdditionalProperties map[string]interface{}
}

PreferenceRecord struct for PreferenceRecord

func NewPreferenceRecord

func NewPreferenceRecord(serviceId string, typeKey string, enabled bool, updatedAt time.Time) *PreferenceRecord

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

func NewPreferenceRecordWithDefaults

func NewPreferenceRecordWithDefaults() *PreferenceRecord

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

func (*PreferenceRecord) GetEnabled

func (o *PreferenceRecord) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*PreferenceRecord) GetEnabledOk

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

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

func (*PreferenceRecord) GetServiceId

func (o *PreferenceRecord) GetServiceId() string

GetServiceId returns the ServiceId field value

func (*PreferenceRecord) GetServiceIdOk

func (o *PreferenceRecord) GetServiceIdOk() (*string, bool)

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

func (*PreferenceRecord) GetTypeKey

func (o *PreferenceRecord) GetTypeKey() string

GetTypeKey returns the TypeKey field value

func (*PreferenceRecord) GetTypeKeyOk

func (o *PreferenceRecord) GetTypeKeyOk() (*string, bool)

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

func (*PreferenceRecord) GetUpdatedAt

func (o *PreferenceRecord) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*PreferenceRecord) GetUpdatedAtOk

func (o *PreferenceRecord) GetUpdatedAtOk() (*time.Time, bool)

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

func (PreferenceRecord) MarshalJSON

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

func (*PreferenceRecord) SetEnabled

func (o *PreferenceRecord) SetEnabled(v bool)

SetEnabled sets field value

func (*PreferenceRecord) SetServiceId

func (o *PreferenceRecord) SetServiceId(v string)

SetServiceId sets field value

func (*PreferenceRecord) SetTypeKey

func (o *PreferenceRecord) SetTypeKey(v string)

SetTypeKey sets field value

func (*PreferenceRecord) SetUpdatedAt

func (o *PreferenceRecord) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (PreferenceRecord) ToMap

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

func (*PreferenceRecord) UnmarshalJSON

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

type PreferencesAPIService

type PreferencesAPIService service

PreferencesAPIService PreferencesAPI service

func (*PreferencesAPIService) ListPreferences

func (a *PreferencesAPIService) ListPreferences(ctx context.Context, organizationId string) ApiListPreferencesRequest

ListPreferences List service defaults and exact-type overrides

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

func (*PreferencesAPIService) ListPreferencesExecute

Execute executes the request

@return []ServicePreference

func (*PreferencesAPIService) RemoveTypePreference

func (a *PreferencesAPIService) RemoveTypePreference(ctx context.Context, serviceId string, type_ string) ApiRemoveTypePreferenceRequest

RemoveTypePreference Remove an exact-type override so it inherits the service default

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

func (*PreferencesAPIService) RemoveTypePreferenceExecute

Execute executes the request

@return InheritedResponse

func (*PreferencesAPIService) SetServicePreference

func (a *PreferencesAPIService) SetServicePreference(ctx context.Context, serviceId string) ApiSetServicePreferenceRequest

SetServicePreference Enable or disable pushes for a service by default

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

func (*PreferencesAPIService) SetServicePreferenceExecute

Execute executes the request

@return PreferenceRecord

func (*PreferencesAPIService) SetTypePreference

func (a *PreferencesAPIService) SetTypePreference(ctx context.Context, serviceId string, type_ string) ApiSetTypePreferenceRequest

SetTypePreference Override push delivery for one exact notification type

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

func (*PreferencesAPIService) SetTypePreferenceExecute

Execute executes the request

@return PreferenceRecord

type ProviderLoginInput

type ProviderLoginInput struct {
	IdToken     string  `json:"idToken"`
	DisplayName *string `json:"displayName,omitempty"`
}

ProviderLoginInput struct for ProviderLoginInput

func NewProviderLoginInput

func NewProviderLoginInput(idToken string) *ProviderLoginInput

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

func NewProviderLoginInputWithDefaults

func NewProviderLoginInputWithDefaults() *ProviderLoginInput

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

func (*ProviderLoginInput) GetDisplayName

func (o *ProviderLoginInput) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*ProviderLoginInput) GetDisplayNameOk

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

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

func (*ProviderLoginInput) GetIdToken

func (o *ProviderLoginInput) GetIdToken() string

GetIdToken returns the IdToken field value

func (*ProviderLoginInput) GetIdTokenOk

func (o *ProviderLoginInput) GetIdTokenOk() (*string, bool)

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

func (*ProviderLoginInput) HasDisplayName

func (o *ProviderLoginInput) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (ProviderLoginInput) MarshalJSON

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

func (*ProviderLoginInput) SetDisplayName

func (o *ProviderLoginInput) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*ProviderLoginInput) SetIdToken

func (o *ProviderLoginInput) SetIdToken(v string)

SetIdToken sets field value

func (ProviderLoginInput) ToMap

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

func (*ProviderLoginInput) UnmarshalJSON

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

type RegisterDeviceInput

type RegisterDeviceInput struct {
	DeviceToken    string  `json:"deviceToken"`
	InstallationId string  `json:"installationId"`
	Environment    string  `json:"environment"`
	AppVersion     *string `json:"appVersion,omitempty"`
}

RegisterDeviceInput struct for RegisterDeviceInput

func NewRegisterDeviceInput

func NewRegisterDeviceInput(deviceToken string, installationId string, environment string) *RegisterDeviceInput

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

func NewRegisterDeviceInputWithDefaults

func NewRegisterDeviceInputWithDefaults() *RegisterDeviceInput

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

func (*RegisterDeviceInput) GetAppVersion

func (o *RegisterDeviceInput) GetAppVersion() string

GetAppVersion returns the AppVersion field value if set, zero value otherwise.

func (*RegisterDeviceInput) GetAppVersionOk

func (o *RegisterDeviceInput) GetAppVersionOk() (*string, bool)

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

func (*RegisterDeviceInput) GetDeviceToken

func (o *RegisterDeviceInput) GetDeviceToken() string

GetDeviceToken returns the DeviceToken field value

func (*RegisterDeviceInput) GetDeviceTokenOk

func (o *RegisterDeviceInput) GetDeviceTokenOk() (*string, bool)

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

func (*RegisterDeviceInput) GetEnvironment

func (o *RegisterDeviceInput) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*RegisterDeviceInput) GetEnvironmentOk

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

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

func (*RegisterDeviceInput) GetInstallationId

func (o *RegisterDeviceInput) GetInstallationId() string

GetInstallationId returns the InstallationId field value

func (*RegisterDeviceInput) GetInstallationIdOk

func (o *RegisterDeviceInput) GetInstallationIdOk() (*string, bool)

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

func (*RegisterDeviceInput) HasAppVersion

func (o *RegisterDeviceInput) HasAppVersion() bool

HasAppVersion returns a boolean if a field has been set.

func (RegisterDeviceInput) MarshalJSON

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

func (*RegisterDeviceInput) SetAppVersion

func (o *RegisterDeviceInput) SetAppVersion(v string)

SetAppVersion gets a reference to the given string and assigns it to the AppVersion field.

func (*RegisterDeviceInput) SetDeviceToken

func (o *RegisterDeviceInput) SetDeviceToken(v string)

SetDeviceToken sets field value

func (*RegisterDeviceInput) SetEnvironment

func (o *RegisterDeviceInput) SetEnvironment(v string)

SetEnvironment sets field value

func (*RegisterDeviceInput) SetInstallationId

func (o *RegisterDeviceInput) SetInstallationId(v string)

SetInstallationId sets field value

func (RegisterDeviceInput) ToMap

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

func (*RegisterDeviceInput) UnmarshalJSON

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

type RegisterInput

type RegisterInput struct {
	Email       string  `json:"email"`
	Password    string  `json:"password"`
	DisplayName *string `json:"displayName,omitempty"`
}

RegisterInput struct for RegisterInput

func NewRegisterInput

func NewRegisterInput(email string, password string) *RegisterInput

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

func NewRegisterInputWithDefaults

func NewRegisterInputWithDefaults() *RegisterInput

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

func (*RegisterInput) GetDisplayName

func (o *RegisterInput) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*RegisterInput) GetDisplayNameOk

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

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

func (*RegisterInput) GetEmail

func (o *RegisterInput) GetEmail() string

GetEmail returns the Email field value

func (*RegisterInput) GetEmailOk

func (o *RegisterInput) GetEmailOk() (*string, bool)

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

func (*RegisterInput) GetPassword

func (o *RegisterInput) GetPassword() string

GetPassword returns the Password field value

func (*RegisterInput) GetPasswordOk

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

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

func (*RegisterInput) HasDisplayName

func (o *RegisterInput) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (RegisterInput) MarshalJSON

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

func (*RegisterInput) SetDisplayName

func (o *RegisterInput) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*RegisterInput) SetEmail

func (o *RegisterInput) SetEmail(v string)

SetEmail sets field value

func (*RegisterInput) SetPassword

func (o *RegisterInput) SetPassword(v string)

SetPassword sets field value

func (RegisterInput) ToMap

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

func (*RegisterInput) UnmarshalJSON

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

type RegisterWebPushSubscriptionInput

type RegisterWebPushSubscriptionInput struct {
	Endpoint             string                               `json:"endpoint"`
	Keys                 RegisterWebPushSubscriptionInputKeys `json:"keys"`
	AdditionalProperties map[string]interface{}
}

RegisterWebPushSubscriptionInput struct for RegisterWebPushSubscriptionInput

func NewRegisterWebPushSubscriptionInput

func NewRegisterWebPushSubscriptionInput(endpoint string, keys RegisterWebPushSubscriptionInputKeys) *RegisterWebPushSubscriptionInput

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

func NewRegisterWebPushSubscriptionInputWithDefaults

func NewRegisterWebPushSubscriptionInputWithDefaults() *RegisterWebPushSubscriptionInput

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

func (*RegisterWebPushSubscriptionInput) GetEndpoint

func (o *RegisterWebPushSubscriptionInput) GetEndpoint() string

GetEndpoint returns the Endpoint field value

func (*RegisterWebPushSubscriptionInput) GetEndpointOk

func (o *RegisterWebPushSubscriptionInput) GetEndpointOk() (*string, bool)

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

func (*RegisterWebPushSubscriptionInput) GetKeys

GetKeys returns the Keys field value

func (*RegisterWebPushSubscriptionInput) GetKeysOk

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

func (RegisterWebPushSubscriptionInput) MarshalJSON

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

func (*RegisterWebPushSubscriptionInput) SetEndpoint

func (o *RegisterWebPushSubscriptionInput) SetEndpoint(v string)

SetEndpoint sets field value

func (*RegisterWebPushSubscriptionInput) SetKeys

SetKeys sets field value

func (RegisterWebPushSubscriptionInput) ToMap

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

func (*RegisterWebPushSubscriptionInput) UnmarshalJSON

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

type RegisterWebPushSubscriptionInputKeys

type RegisterWebPushSubscriptionInputKeys struct {
	P256dh string `json:"p256dh"`
	Auth   string `json:"auth"`
}

RegisterWebPushSubscriptionInputKeys struct for RegisterWebPushSubscriptionInputKeys

func NewRegisterWebPushSubscriptionInputKeys

func NewRegisterWebPushSubscriptionInputKeys(p256dh string, auth string) *RegisterWebPushSubscriptionInputKeys

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

func NewRegisterWebPushSubscriptionInputKeysWithDefaults

func NewRegisterWebPushSubscriptionInputKeysWithDefaults() *RegisterWebPushSubscriptionInputKeys

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

func (*RegisterWebPushSubscriptionInputKeys) GetAuth

GetAuth returns the Auth field value

func (*RegisterWebPushSubscriptionInputKeys) GetAuthOk

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

func (*RegisterWebPushSubscriptionInputKeys) GetP256dh

GetP256dh returns the P256dh field value

func (*RegisterWebPushSubscriptionInputKeys) GetP256dhOk

func (o *RegisterWebPushSubscriptionInputKeys) GetP256dhOk() (*string, bool)

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

func (RegisterWebPushSubscriptionInputKeys) MarshalJSON

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

func (*RegisterWebPushSubscriptionInputKeys) SetAuth

SetAuth sets field value

func (*RegisterWebPushSubscriptionInputKeys) SetP256dh

SetP256dh sets field value

func (RegisterWebPushSubscriptionInputKeys) ToMap

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

func (*RegisterWebPushSubscriptionInputKeys) UnmarshalJSON

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

type RevokedResponse

type RevokedResponse struct {
	Revoked              bool `json:"revoked"`
	AdditionalProperties map[string]interface{}
}

RevokedResponse struct for RevokedResponse

func NewRevokedResponse

func NewRevokedResponse(revoked bool) *RevokedResponse

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

func NewRevokedResponseWithDefaults

func NewRevokedResponseWithDefaults() *RevokedResponse

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

func (*RevokedResponse) GetRevoked

func (o *RevokedResponse) GetRevoked() bool

GetRevoked returns the Revoked field value

func (*RevokedResponse) GetRevokedOk

func (o *RevokedResponse) GetRevokedOk() (*bool, bool)

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

func (RevokedResponse) MarshalJSON

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

func (*RevokedResponse) SetRevoked

func (o *RevokedResponse) SetRevoked(v bool)

SetRevoked sets field value

func (RevokedResponse) ToMap

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

func (*RevokedResponse) UnmarshalJSON

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

type SearchEventsInput

type SearchEventsInput struct {
	Filter EventFilter `json:"filter"`
	Cursor *string     `json:"cursor,omitempty"`
	Limit  *int32      `json:"limit,omitempty"`
}

SearchEventsInput struct for SearchEventsInput

func NewSearchEventsInput

func NewSearchEventsInput(filter EventFilter) *SearchEventsInput

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

func NewSearchEventsInputWithDefaults

func NewSearchEventsInputWithDefaults() *SearchEventsInput

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

func (*SearchEventsInput) GetCursor

func (o *SearchEventsInput) GetCursor() string

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*SearchEventsInput) GetCursorOk

func (o *SearchEventsInput) GetCursorOk() (*string, bool)

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

func (*SearchEventsInput) GetFilter

func (o *SearchEventsInput) GetFilter() EventFilter

GetFilter returns the Filter field value

func (*SearchEventsInput) GetFilterOk

func (o *SearchEventsInput) GetFilterOk() (*EventFilter, bool)

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

func (*SearchEventsInput) GetLimit

func (o *SearchEventsInput) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*SearchEventsInput) GetLimitOk

func (o *SearchEventsInput) GetLimitOk() (*int32, bool)

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

func (*SearchEventsInput) HasCursor

func (o *SearchEventsInput) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*SearchEventsInput) HasLimit

func (o *SearchEventsInput) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (SearchEventsInput) MarshalJSON

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

func (*SearchEventsInput) SetCursor

func (o *SearchEventsInput) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*SearchEventsInput) SetFilter

func (o *SearchEventsInput) SetFilter(v EventFilter)

SetFilter sets field value

func (*SearchEventsInput) SetLimit

func (o *SearchEventsInput) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (SearchEventsInput) ToMap

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

func (*SearchEventsInput) UnmarshalJSON

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

type SendEventInput

type SendEventInput struct {
	Service              string                 `json:"service"`
	ServiceDisplayName   *string                `json:"serviceDisplayName,omitempty"`
	Type                 string                 `json:"type"`
	Title                string                 `json:"title"`
	Body                 string                 `json:"body"`
	Metadata             map[string]interface{} `json:"metadata,omitempty"`
	ExternalId           *string                `json:"externalId,omitempty"`
	ActionUrl            *string                `json:"actionUrl,omitempty"`
	AdditionalProperties map[string]interface{}
}

SendEventInput struct for SendEventInput

func NewSendEventInput

func NewSendEventInput(service string, type_ string, title string, body string) *SendEventInput

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

func NewSendEventInputWithDefaults

func NewSendEventInputWithDefaults() *SendEventInput

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

func (*SendEventInput) GetActionUrl

func (o *SendEventInput) GetActionUrl() string

GetActionUrl returns the ActionUrl field value if set, zero value otherwise.

func (*SendEventInput) GetActionUrlOk

func (o *SendEventInput) GetActionUrlOk() (*string, bool)

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

func (*SendEventInput) GetBody

func (o *SendEventInput) GetBody() string

GetBody returns the Body field value

func (*SendEventInput) GetBodyOk

func (o *SendEventInput) GetBodyOk() (*string, bool)

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

func (*SendEventInput) GetExternalId

func (o *SendEventInput) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*SendEventInput) GetExternalIdOk

func (o *SendEventInput) GetExternalIdOk() (*string, bool)

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

func (*SendEventInput) GetMetadata

func (o *SendEventInput) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SendEventInput) GetMetadataOk

func (o *SendEventInput) GetMetadataOk() (map[string]interface{}, bool)

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

func (*SendEventInput) GetService

func (o *SendEventInput) GetService() string

GetService returns the Service field value

func (*SendEventInput) GetServiceDisplayName

func (o *SendEventInput) GetServiceDisplayName() string

GetServiceDisplayName returns the ServiceDisplayName field value if set, zero value otherwise.

func (*SendEventInput) GetServiceDisplayNameOk

func (o *SendEventInput) GetServiceDisplayNameOk() (*string, bool)

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

func (*SendEventInput) GetServiceOk

func (o *SendEventInput) GetServiceOk() (*string, bool)

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

func (*SendEventInput) GetTitle

func (o *SendEventInput) GetTitle() string

GetTitle returns the Title field value

func (*SendEventInput) GetTitleOk

func (o *SendEventInput) GetTitleOk() (*string, bool)

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

func (*SendEventInput) GetType

func (o *SendEventInput) GetType() string

GetType returns the Type field value

func (*SendEventInput) GetTypeOk

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

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

func (*SendEventInput) HasActionUrl

func (o *SendEventInput) HasActionUrl() bool

HasActionUrl returns a boolean if a field has been set.

func (*SendEventInput) HasExternalId

func (o *SendEventInput) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (*SendEventInput) HasMetadata

func (o *SendEventInput) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SendEventInput) HasServiceDisplayName

func (o *SendEventInput) HasServiceDisplayName() bool

HasServiceDisplayName returns a boolean if a field has been set.

func (SendEventInput) MarshalJSON

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

func (*SendEventInput) SetActionUrl

func (o *SendEventInput) SetActionUrl(v string)

SetActionUrl gets a reference to the given string and assigns it to the ActionUrl field.

func (*SendEventInput) SetBody

func (o *SendEventInput) SetBody(v string)

SetBody sets field value

func (*SendEventInput) SetExternalId

func (o *SendEventInput) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (*SendEventInput) SetMetadata

func (o *SendEventInput) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*SendEventInput) SetService

func (o *SendEventInput) SetService(v string)

SetService sets field value

func (*SendEventInput) SetServiceDisplayName

func (o *SendEventInput) SetServiceDisplayName(v string)

SetServiceDisplayName gets a reference to the given string and assigns it to the ServiceDisplayName field.

func (*SendEventInput) SetTitle

func (o *SendEventInput) SetTitle(v string)

SetTitle sets field value

func (*SendEventInput) SetType

func (o *SendEventInput) SetType(v string)

SetType sets field value

func (SendEventInput) ToMap

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

func (*SendEventInput) UnmarshalJSON

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

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type Service

type Service struct {
	Id                   string            `json:"id"`
	Name                 string            `json:"name"`
	DisplayName          string            `json:"displayName"`
	CreatedAt            time.Time         `json:"createdAt"`
	Count                ServiceAllOfCount `json:"_count"`
	AdditionalProperties map[string]interface{}
}

Service struct for Service

func NewService

func NewService(id string, name string, displayName string, createdAt time.Time, count ServiceAllOfCount) *Service

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

func NewServiceWithDefaults

func NewServiceWithDefaults() *Service

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

func (*Service) GetCount

func (o *Service) GetCount() ServiceAllOfCount

GetCount returns the Count field value

func (*Service) GetCountOk

func (o *Service) GetCountOk() (*ServiceAllOfCount, bool)

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

func (*Service) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Service) GetCreatedAtOk

func (o *Service) GetCreatedAtOk() (*time.Time, bool)

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

func (*Service) GetDisplayName

func (o *Service) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Service) GetDisplayNameOk

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

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

func (*Service) GetId

func (o *Service) GetId() string

GetId returns the Id field value

func (*Service) GetIdOk

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

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

func (*Service) GetName

func (o *Service) GetName() string

GetName returns the Name field value

func (*Service) GetNameOk

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

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

func (Service) MarshalJSON

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

func (*Service) SetCount

func (o *Service) SetCount(v ServiceAllOfCount)

SetCount sets field value

func (*Service) SetCreatedAt

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

SetCreatedAt sets field value

func (*Service) SetDisplayName

func (o *Service) SetDisplayName(v string)

SetDisplayName sets field value

func (*Service) SetId

func (o *Service) SetId(v string)

SetId sets field value

func (*Service) SetName

func (o *Service) SetName(v string)

SetName sets field value

func (Service) ToMap

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

func (*Service) UnmarshalJSON

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

type ServiceAllOfCount

type ServiceAllOfCount struct {
	Events               int32 `json:"events"`
	AdditionalProperties map[string]interface{}
}

ServiceAllOfCount struct for ServiceAllOfCount

func NewServiceAllOfCount

func NewServiceAllOfCount(events int32) *ServiceAllOfCount

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

func NewServiceAllOfCountWithDefaults

func NewServiceAllOfCountWithDefaults() *ServiceAllOfCount

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

func (*ServiceAllOfCount) GetEvents

func (o *ServiceAllOfCount) GetEvents() int32

GetEvents returns the Events field value

func (*ServiceAllOfCount) GetEventsOk

func (o *ServiceAllOfCount) GetEventsOk() (*int32, bool)

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

func (ServiceAllOfCount) MarshalJSON

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

func (*ServiceAllOfCount) SetEvents

func (o *ServiceAllOfCount) SetEvents(v int32)

SetEvents sets field value

func (ServiceAllOfCount) ToMap

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

func (*ServiceAllOfCount) UnmarshalJSON

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

type ServicePreference

type ServicePreference struct {
	Id                   string         `json:"id"`
	Name                 string         `json:"name"`
	DisplayName          string         `json:"displayName"`
	Enabled              bool           `json:"enabled"`
	TypeOverrides        []TypeOverride `json:"typeOverrides"`
	AdditionalProperties map[string]interface{}
}

ServicePreference struct for ServicePreference

func NewServicePreference

func NewServicePreference(id string, name string, displayName string, enabled bool, typeOverrides []TypeOverride) *ServicePreference

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

func NewServicePreferenceWithDefaults

func NewServicePreferenceWithDefaults() *ServicePreference

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

func (*ServicePreference) GetDisplayName

func (o *ServicePreference) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*ServicePreference) GetDisplayNameOk

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

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

func (*ServicePreference) GetEnabled

func (o *ServicePreference) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*ServicePreference) GetEnabledOk

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

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

func (*ServicePreference) GetId

func (o *ServicePreference) GetId() string

GetId returns the Id field value

func (*ServicePreference) GetIdOk

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

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

func (*ServicePreference) GetName

func (o *ServicePreference) GetName() string

GetName returns the Name field value

func (*ServicePreference) GetNameOk

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

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

func (*ServicePreference) GetTypeOverrides

func (o *ServicePreference) GetTypeOverrides() []TypeOverride

GetTypeOverrides returns the TypeOverrides field value

func (*ServicePreference) GetTypeOverridesOk

func (o *ServicePreference) GetTypeOverridesOk() ([]TypeOverride, bool)

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

func (ServicePreference) MarshalJSON

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

func (*ServicePreference) SetDisplayName

func (o *ServicePreference) SetDisplayName(v string)

SetDisplayName sets field value

func (*ServicePreference) SetEnabled

func (o *ServicePreference) SetEnabled(v bool)

SetEnabled sets field value

func (*ServicePreference) SetId

func (o *ServicePreference) SetId(v string)

SetId sets field value

func (*ServicePreference) SetName

func (o *ServicePreference) SetName(v string)

SetName sets field value

func (*ServicePreference) SetTypeOverrides

func (o *ServicePreference) SetTypeOverrides(v []TypeOverride)

SetTypeOverrides sets field value

func (ServicePreference) ToMap

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

func (*ServicePreference) UnmarshalJSON

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

type ServiceSummary

type ServiceSummary struct {
	Id                   string `json:"id"`
	Name                 string `json:"name"`
	DisplayName          string `json:"displayName"`
	AdditionalProperties map[string]interface{}
}

ServiceSummary struct for ServiceSummary

func NewServiceSummary

func NewServiceSummary(id string, name string, displayName string) *ServiceSummary

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

func NewServiceSummaryWithDefaults

func NewServiceSummaryWithDefaults() *ServiceSummary

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

func (*ServiceSummary) GetDisplayName

func (o *ServiceSummary) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*ServiceSummary) GetDisplayNameOk

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

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

func (*ServiceSummary) GetId

func (o *ServiceSummary) GetId() string

GetId returns the Id field value

func (*ServiceSummary) GetIdOk

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

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

func (*ServiceSummary) GetName

func (o *ServiceSummary) GetName() string

GetName returns the Name field value

func (*ServiceSummary) GetNameOk

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

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

func (ServiceSummary) MarshalJSON

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

func (*ServiceSummary) SetDisplayName

func (o *ServiceSummary) SetDisplayName(v string)

SetDisplayName sets field value

func (*ServiceSummary) SetId

func (o *ServiceSummary) SetId(v string)

SetId sets field value

func (*ServiceSummary) SetName

func (o *ServiceSummary) SetName(v string)

SetName sets field value

func (ServiceSummary) ToMap

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

func (*ServiceSummary) UnmarshalJSON

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

type SetEnabledInput

type SetEnabledInput struct {
	Enabled bool `json:"enabled"`
}

SetEnabledInput struct for SetEnabledInput

func NewSetEnabledInput

func NewSetEnabledInput(enabled bool) *SetEnabledInput

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

func NewSetEnabledInputWithDefaults

func NewSetEnabledInputWithDefaults() *SetEnabledInput

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

func (*SetEnabledInput) GetEnabled

func (o *SetEnabledInput) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*SetEnabledInput) GetEnabledOk

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

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

func (SetEnabledInput) MarshalJSON

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

func (*SetEnabledInput) SetEnabled

func (o *SetEnabledInput) SetEnabled(v bool)

SetEnabled sets field value

func (SetEnabledInput) ToMap

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

func (*SetEnabledInput) UnmarshalJSON

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

type TextFilterCondition

type TextFilterCondition struct {
	Field      string `json:"field"`
	Comparison string `json:"comparison"`
	Value      string `json:"value"`
}

TextFilterCondition struct for TextFilterCondition

func NewTextFilterCondition

func NewTextFilterCondition(field string, comparison string, value string) *TextFilterCondition

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

func NewTextFilterConditionWithDefaults

func NewTextFilterConditionWithDefaults() *TextFilterCondition

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

func (*TextFilterCondition) GetComparison

func (o *TextFilterCondition) GetComparison() string

GetComparison returns the Comparison field value

func (*TextFilterCondition) GetComparisonOk

func (o *TextFilterCondition) GetComparisonOk() (*string, bool)

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

func (*TextFilterCondition) GetField

func (o *TextFilterCondition) GetField() string

GetField returns the Field field value

func (*TextFilterCondition) GetFieldOk

func (o *TextFilterCondition) GetFieldOk() (*string, bool)

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

func (*TextFilterCondition) GetValue

func (o *TextFilterCondition) GetValue() string

GetValue returns the Value field value

func (*TextFilterCondition) GetValueOk

func (o *TextFilterCondition) GetValueOk() (*string, bool)

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

func (TextFilterCondition) MarshalJSON

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

func (*TextFilterCondition) SetComparison

func (o *TextFilterCondition) SetComparison(v string)

SetComparison sets field value

func (*TextFilterCondition) SetField

func (o *TextFilterCondition) SetField(v string)

SetField sets field value

func (*TextFilterCondition) SetValue

func (o *TextFilterCondition) SetValue(v string)

SetValue sets field value

func (TextFilterCondition) ToMap

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

func (*TextFilterCondition) UnmarshalJSON

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

type TimeFilterCondition

type TimeFilterCondition struct {
	Field      string    `json:"field"`
	Comparison string    `json:"comparison"`
	Value      time.Time `json:"value"`
}

TimeFilterCondition struct for TimeFilterCondition

func NewTimeFilterCondition

func NewTimeFilterCondition(field string, comparison string, value time.Time) *TimeFilterCondition

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

func NewTimeFilterConditionWithDefaults

func NewTimeFilterConditionWithDefaults() *TimeFilterCondition

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

func (*TimeFilterCondition) GetComparison

func (o *TimeFilterCondition) GetComparison() string

GetComparison returns the Comparison field value

func (*TimeFilterCondition) GetComparisonOk

func (o *TimeFilterCondition) GetComparisonOk() (*string, bool)

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

func (*TimeFilterCondition) GetField

func (o *TimeFilterCondition) GetField() string

GetField returns the Field field value

func (*TimeFilterCondition) GetFieldOk

func (o *TimeFilterCondition) GetFieldOk() (*string, bool)

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

func (*TimeFilterCondition) GetValue

func (o *TimeFilterCondition) GetValue() time.Time

GetValue returns the Value field value

func (*TimeFilterCondition) GetValueOk

func (o *TimeFilterCondition) GetValueOk() (*time.Time, bool)

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

func (TimeFilterCondition) MarshalJSON

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

func (*TimeFilterCondition) SetComparison

func (o *TimeFilterCondition) SetComparison(v string)

SetComparison sets field value

func (*TimeFilterCondition) SetField

func (o *TimeFilterCondition) SetField(v string)

SetField sets field value

func (*TimeFilterCondition) SetValue

func (o *TimeFilterCondition) SetValue(v time.Time)

SetValue sets field value

func (TimeFilterCondition) ToMap

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

func (*TimeFilterCondition) UnmarshalJSON

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

type TypeOverride

type TypeOverride struct {
	Type                 string    `json:"type"`
	Enabled              bool      `json:"enabled"`
	UpdatedAt            time.Time `json:"updatedAt"`
	AdditionalProperties map[string]interface{}
}

TypeOverride struct for TypeOverride

func NewTypeOverride

func NewTypeOverride(type_ string, enabled bool, updatedAt time.Time) *TypeOverride

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

func NewTypeOverrideWithDefaults

func NewTypeOverrideWithDefaults() *TypeOverride

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

func (*TypeOverride) GetEnabled

func (o *TypeOverride) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*TypeOverride) GetEnabledOk

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

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

func (*TypeOverride) GetType

func (o *TypeOverride) GetType() string

GetType returns the Type field value

func (*TypeOverride) GetTypeOk

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

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

func (*TypeOverride) GetUpdatedAt

func (o *TypeOverride) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*TypeOverride) GetUpdatedAtOk

func (o *TypeOverride) GetUpdatedAtOk() (*time.Time, bool)

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

func (TypeOverride) MarshalJSON

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

func (*TypeOverride) SetEnabled

func (o *TypeOverride) SetEnabled(v bool)

SetEnabled sets field value

func (*TypeOverride) SetType

func (o *TypeOverride) SetType(v string)

SetType sets field value

func (*TypeOverride) SetUpdatedAt

func (o *TypeOverride) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (TypeOverride) ToMap

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

func (*TypeOverride) UnmarshalJSON

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

type User

type User struct {
	Id                   string         `json:"id"`
	Email                string         `json:"email"`
	DisplayName          NullableString `json:"displayName"`
	HasPassword          bool           `json:"hasPassword"`
	HasGoogle            bool           `json:"hasGoogle"`
	HasApple             bool           `json:"hasApple"`
	AdditionalProperties map[string]interface{}
}

User struct for User

func NewUser

func NewUser(id string, email string, displayName NullableString, hasPassword bool, hasGoogle bool, hasApple bool) *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) GetDisplayName

func (o *User) GetDisplayName() string

GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned

func (*User) GetDisplayNameOk

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

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

func (*User) GetEmail

func (o *User) GetEmail() string

GetEmail returns the Email field value

func (*User) GetEmailOk

func (o *User) GetEmailOk() (*string, bool)

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

func (*User) GetHasApple

func (o *User) GetHasApple() bool

GetHasApple returns the HasApple field value

func (*User) GetHasAppleOk

func (o *User) GetHasAppleOk() (*bool, bool)

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

func (*User) GetHasGoogle

func (o *User) GetHasGoogle() bool

GetHasGoogle returns the HasGoogle field value

func (*User) GetHasGoogleOk

func (o *User) GetHasGoogleOk() (*bool, bool)

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

func (*User) GetHasPassword

func (o *User) GetHasPassword() bool

GetHasPassword returns the HasPassword field value

func (*User) GetHasPasswordOk

func (o *User) GetHasPasswordOk() (*bool, bool)

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

func (*User) GetId

func (o *User) GetId() string

GetId returns the Id field value

func (*User) GetIdOk

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

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

func (User) MarshalJSON

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

func (*User) SetDisplayName

func (o *User) SetDisplayName(v string)

SetDisplayName sets field value

func (*User) SetEmail

func (o *User) SetEmail(v string)

SetEmail sets field value

func (*User) SetHasApple

func (o *User) SetHasApple(v bool)

SetHasApple sets field value

func (*User) SetHasGoogle

func (o *User) SetHasGoogle(v bool)

SetHasGoogle sets field value

func (*User) SetHasPassword

func (o *User) SetHasPassword(v bool)

SetHasPassword sets field value

func (*User) SetId

func (o *User) SetId(v string)

SetId sets field value

func (User) ToMap

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

func (*User) UnmarshalJSON

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

type WebPushConfiguration

type WebPushConfiguration struct {
	Enabled              bool           `json:"enabled"`
	PublicKey            NullableString `json:"publicKey"`
	AdditionalProperties map[string]interface{}
}

WebPushConfiguration struct for WebPushConfiguration

func NewWebPushConfiguration

func NewWebPushConfiguration(enabled bool, publicKey NullableString) *WebPushConfiguration

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

func NewWebPushConfigurationWithDefaults

func NewWebPushConfigurationWithDefaults() *WebPushConfiguration

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

func (*WebPushConfiguration) GetEnabled

func (o *WebPushConfiguration) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*WebPushConfiguration) GetEnabledOk

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

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

func (*WebPushConfiguration) GetPublicKey

func (o *WebPushConfiguration) GetPublicKey() string

GetPublicKey returns the PublicKey field value If the value is explicit nil, the zero value for string will be returned

func (*WebPushConfiguration) GetPublicKeyOk

func (o *WebPushConfiguration) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey 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 (WebPushConfiguration) MarshalJSON

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

func (*WebPushConfiguration) SetEnabled

func (o *WebPushConfiguration) SetEnabled(v bool)

SetEnabled sets field value

func (*WebPushConfiguration) SetPublicKey

func (o *WebPushConfiguration) SetPublicKey(v string)

SetPublicKey sets field value

func (WebPushConfiguration) ToMap

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

func (*WebPushConfiguration) UnmarshalJSON

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

type WebPushSubscription

type WebPushSubscription struct {
	Id                   string    `json:"id"`
	Enabled              bool      `json:"enabled"`
	LastSeenAt           time.Time `json:"lastSeenAt"`
	AdditionalProperties map[string]interface{}
}

WebPushSubscription struct for WebPushSubscription

func NewWebPushSubscription

func NewWebPushSubscription(id string, enabled bool, lastSeenAt time.Time) *WebPushSubscription

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

func NewWebPushSubscriptionWithDefaults

func NewWebPushSubscriptionWithDefaults() *WebPushSubscription

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

func (*WebPushSubscription) GetEnabled

func (o *WebPushSubscription) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*WebPushSubscription) GetEnabledOk

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

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

func (*WebPushSubscription) GetId

func (o *WebPushSubscription) GetId() string

GetId returns the Id field value

func (*WebPushSubscription) GetIdOk

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

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

func (*WebPushSubscription) GetLastSeenAt

func (o *WebPushSubscription) GetLastSeenAt() time.Time

GetLastSeenAt returns the LastSeenAt field value

func (*WebPushSubscription) GetLastSeenAtOk

func (o *WebPushSubscription) GetLastSeenAtOk() (*time.Time, bool)

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

func (WebPushSubscription) MarshalJSON

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

func (*WebPushSubscription) SetEnabled

func (o *WebPushSubscription) SetEnabled(v bool)

SetEnabled sets field value

func (*WebPushSubscription) SetId

func (o *WebPushSubscription) SetId(v string)

SetId sets field value

func (*WebPushSubscription) SetLastSeenAt

func (o *WebPushSubscription) SetLastSeenAt(v time.Time)

SetLastSeenAt sets field value

func (WebPushSubscription) ToMap

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

func (*WebPushSubscription) UnmarshalJSON

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

Source Files

Directories

Path Synopsis
cmd
live-smoke command

Jump to

Keyboard shortcuts

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