client

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	// 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 {
	ApiBindingsApi ApiBindingsApi

	LogBindingsAPI LogBindingsAPI

	RulesScriptsApi RulesScriptsAPI

	SpecsApi SpecsApi

	UserApi UserApi

	NotificationTemplatesAPI NotificationTemplatesAPI

	ConnectorsAPI ConnectorsAPI

	EventMonitorsAPI EventMonitorsAPI

	RulesDependenciesAPI RulesDependenciesAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the Impart Security v0 REST API API v0.0.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 ApiBinding

type ApiBinding struct {
	// The ID for an API binding.
	Id string `json:"id"`
	// The name of an API binding.
	Name string `json:"name"`
	// The spec ID associated with an API binding.
	SpecId string `json:"spec_id"`
	// The hostname for an API Binding.
	Hostname string `json:"hostname"`
	// The port for an API binding.
	Port int32 `json:"port"`
	// The base path for an API binding.
	BasePath string `json:"base_path"`
	// The upstream origin for an API binding.
	UpstreamOrigin string `json:"upstream_origin"`
	// The date when traffic to the API binding was last observed.
	ObservedAt NullableTime `json:"observed_at"`
	// ID of the member that created the API binding.
	CreatedBy string `json:"created_by"`
	// The date the API binding was created.
	CreatedAt time.Time `json:"created_at"`
	// How many HTTP hops are before the inspector. `-1` means the inspector will try to figure this out based on heuristics.
	Hops int32 `json:"hops"`
	// Instructs the inspector to extract hop-to-hop info from the `forwarded` header.
	UseForwarded bool `json:"use_forwarded"`
	// A list of headers which contain the forwarded client IP. Providing more than 1 header may be a security risk.
	ForwardedFor []string `json:"forwarded_for"`
	// A list of headers which contain the forwarded host.
	ForwardedHost []string `json:"forwarded_host"`
	// A list of headers which contain the forwarded HTTP protocol. The value may be HTTP, HTTPS, on/off, true/false, or 0/1.
	ForwardedProto []string `json:"forwarded_proto"`
	// A list of headers which contain the request ID. If no request ID is found a random one will be generated.
	ForwardedId []string `json:"forwarded_id"`
}

ApiBinding struct for ApiBinding

func NewApiBinding

func NewApiBinding(id string, name string, specId string, hostname string, port int32, basePath string, upstreamOrigin string, observedAt NullableTime, createdBy string, createdAt time.Time, hops int32, useForwarded bool, forwardedFor []string, forwardedHost []string, forwardedProto []string, forwardedId []string) *ApiBinding

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

func NewApiBindingWithDefaults

func NewApiBindingWithDefaults() *ApiBinding

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

func (*ApiBinding) GetBasePath

func (o *ApiBinding) GetBasePath() string

GetBasePath returns the BasePath field value

func (*ApiBinding) GetBasePathOk

func (o *ApiBinding) GetBasePathOk() (*string, bool)

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

func (*ApiBinding) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*ApiBinding) GetCreatedAtOk

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

func (o *ApiBinding) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*ApiBinding) GetCreatedByOk

func (o *ApiBinding) GetCreatedByOk() (*string, bool)

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

func (*ApiBinding) GetForwardedFor

func (o *ApiBinding) GetForwardedFor() []string

GetForwardedFor returns the ForwardedFor field value

func (*ApiBinding) GetForwardedForOk

func (o *ApiBinding) GetForwardedForOk() ([]string, bool)

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

func (*ApiBinding) GetForwardedHost

func (o *ApiBinding) GetForwardedHost() []string

GetForwardedHost returns the ForwardedHost field value

func (*ApiBinding) GetForwardedHostOk

func (o *ApiBinding) GetForwardedHostOk() ([]string, bool)

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

func (*ApiBinding) GetForwardedId

func (o *ApiBinding) GetForwardedId() []string

GetForwardedId returns the ForwardedId field value

func (*ApiBinding) GetForwardedIdOk

func (o *ApiBinding) GetForwardedIdOk() ([]string, bool)

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

func (*ApiBinding) GetForwardedProto

func (o *ApiBinding) GetForwardedProto() []string

GetForwardedProto returns the ForwardedProto field value

func (*ApiBinding) GetForwardedProtoOk

func (o *ApiBinding) GetForwardedProtoOk() ([]string, bool)

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

func (*ApiBinding) GetHops

func (o *ApiBinding) GetHops() int32

GetHops returns the Hops field value

func (*ApiBinding) GetHopsOk

func (o *ApiBinding) GetHopsOk() (*int32, bool)

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

func (*ApiBinding) GetHostname

func (o *ApiBinding) GetHostname() string

GetHostname returns the Hostname field value

func (*ApiBinding) GetHostnameOk

func (o *ApiBinding) GetHostnameOk() (*string, bool)

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

func (*ApiBinding) GetId

func (o *ApiBinding) GetId() string

GetId returns the Id field value

func (*ApiBinding) GetIdOk

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

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

func (*ApiBinding) GetName

func (o *ApiBinding) GetName() string

GetName returns the Name field value

func (*ApiBinding) GetNameOk

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

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

func (*ApiBinding) GetObservedAt

func (o *ApiBinding) GetObservedAt() time.Time

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

func (*ApiBinding) GetObservedAtOk

func (o *ApiBinding) GetObservedAtOk() (*time.Time, bool)

GetObservedAtOk returns a tuple with the ObservedAt 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 (*ApiBinding) GetPort

func (o *ApiBinding) GetPort() int32

GetPort returns the Port field value

func (*ApiBinding) GetPortOk

func (o *ApiBinding) GetPortOk() (*int32, bool)

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

func (*ApiBinding) GetSpecId

func (o *ApiBinding) GetSpecId() string

GetSpecId returns the SpecId field value

func (*ApiBinding) GetSpecIdOk

func (o *ApiBinding) GetSpecIdOk() (*string, bool)

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

func (*ApiBinding) GetUpstreamOrigin

func (o *ApiBinding) GetUpstreamOrigin() string

GetUpstreamOrigin returns the UpstreamOrigin field value

func (*ApiBinding) GetUpstreamOriginOk

func (o *ApiBinding) GetUpstreamOriginOk() (*string, bool)

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

func (*ApiBinding) GetUseForwarded

func (o *ApiBinding) GetUseForwarded() bool

GetUseForwarded returns the UseForwarded field value

func (*ApiBinding) GetUseForwardedOk

func (o *ApiBinding) GetUseForwardedOk() (*bool, bool)

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

func (ApiBinding) MarshalJSON

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

func (*ApiBinding) SetBasePath

func (o *ApiBinding) SetBasePath(v string)

SetBasePath sets field value

func (*ApiBinding) SetCreatedAt

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

SetCreatedAt sets field value

func (*ApiBinding) SetCreatedBy

func (o *ApiBinding) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*ApiBinding) SetForwardedFor

func (o *ApiBinding) SetForwardedFor(v []string)

SetForwardedFor sets field value

func (*ApiBinding) SetForwardedHost

func (o *ApiBinding) SetForwardedHost(v []string)

SetForwardedHost sets field value

func (*ApiBinding) SetForwardedId

func (o *ApiBinding) SetForwardedId(v []string)

SetForwardedId sets field value

func (*ApiBinding) SetForwardedProto

func (o *ApiBinding) SetForwardedProto(v []string)

SetForwardedProto sets field value

func (*ApiBinding) SetHops

func (o *ApiBinding) SetHops(v int32)

SetHops sets field value

func (*ApiBinding) SetHostname

func (o *ApiBinding) SetHostname(v string)

SetHostname sets field value

func (*ApiBinding) SetId

func (o *ApiBinding) SetId(v string)

SetId sets field value

func (*ApiBinding) SetName

func (o *ApiBinding) SetName(v string)

SetName sets field value

func (*ApiBinding) SetObservedAt

func (o *ApiBinding) SetObservedAt(v time.Time)

SetObservedAt sets field value

func (*ApiBinding) SetPort

func (o *ApiBinding) SetPort(v int32)

SetPort sets field value

func (*ApiBinding) SetSpecId

func (o *ApiBinding) SetSpecId(v string)

SetSpecId sets field value

func (*ApiBinding) SetUpstreamOrigin

func (o *ApiBinding) SetUpstreamOrigin(v string)

SetUpstreamOrigin sets field value

func (*ApiBinding) SetUseForwarded

func (o *ApiBinding) SetUseForwarded(v bool)

SetUseForwarded sets field value

func (ApiBinding) ToMap

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

type ApiBindingPostBody

type ApiBindingPostBody struct {
	Name           string   `json:"name"`
	SpecId         string   `json:"spec_id"`
	Hostname       string   `json:"hostname"`
	Port           int32    `json:"port"`
	BasePath       string   `json:"base_path"`
	UpstreamOrigin *string  `json:"upstream_origin,omitempty"`
	Hops           *int32   `json:"hops,omitempty"`
	UseForwarded   *bool    `json:"use_forwarded,omitempty"`
	ForwardedFor   []string `json:"forwarded_for,omitempty"`
	ForwardedHost  []string `json:"forwarded_host,omitempty"`
	ForwardedProto []string `json:"forwarded_proto,omitempty"`
	ForwardedId    []string `json:"forwarded_id,omitempty"`
}

ApiBindingPostBody struct for ApiBindingPostBody

func NewApiBindingPostBody

func NewApiBindingPostBody(name string, specId string, hostname string, port int32, basePath string) *ApiBindingPostBody

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

func NewApiBindingPostBodyWithDefaults

func NewApiBindingPostBodyWithDefaults() *ApiBindingPostBody

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

func (*ApiBindingPostBody) GetBasePath

func (o *ApiBindingPostBody) GetBasePath() string

GetBasePath returns the BasePath field value

func (*ApiBindingPostBody) GetBasePathOk

func (o *ApiBindingPostBody) GetBasePathOk() (*string, bool)

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

func (*ApiBindingPostBody) GetForwardedFor

func (o *ApiBindingPostBody) GetForwardedFor() []string

GetForwardedFor returns the ForwardedFor field value if set, zero value otherwise.

func (*ApiBindingPostBody) GetForwardedForOk

func (o *ApiBindingPostBody) GetForwardedForOk() ([]string, bool)

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

func (*ApiBindingPostBody) GetForwardedHost

func (o *ApiBindingPostBody) GetForwardedHost() []string

GetForwardedHost returns the ForwardedHost field value if set, zero value otherwise.

func (*ApiBindingPostBody) GetForwardedHostOk

func (o *ApiBindingPostBody) GetForwardedHostOk() ([]string, bool)

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

func (*ApiBindingPostBody) GetForwardedId

func (o *ApiBindingPostBody) GetForwardedId() []string

GetForwardedId returns the ForwardedId field value if set, zero value otherwise.

func (*ApiBindingPostBody) GetForwardedIdOk

func (o *ApiBindingPostBody) GetForwardedIdOk() ([]string, bool)

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

func (*ApiBindingPostBody) GetForwardedProto

func (o *ApiBindingPostBody) GetForwardedProto() []string

GetForwardedProto returns the ForwardedProto field value if set, zero value otherwise.

func (*ApiBindingPostBody) GetForwardedProtoOk

func (o *ApiBindingPostBody) GetForwardedProtoOk() ([]string, bool)

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

func (*ApiBindingPostBody) GetHops

func (o *ApiBindingPostBody) GetHops() int32

GetHops returns the Hops field value if set, zero value otherwise.

func (*ApiBindingPostBody) GetHopsOk

func (o *ApiBindingPostBody) GetHopsOk() (*int32, bool)

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

func (*ApiBindingPostBody) GetHostname

func (o *ApiBindingPostBody) GetHostname() string

GetHostname returns the Hostname field value

func (*ApiBindingPostBody) GetHostnameOk

func (o *ApiBindingPostBody) GetHostnameOk() (*string, bool)

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

func (*ApiBindingPostBody) GetName

func (o *ApiBindingPostBody) GetName() string

GetName returns the Name field value

func (*ApiBindingPostBody) GetNameOk

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

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

func (*ApiBindingPostBody) GetPort

func (o *ApiBindingPostBody) GetPort() int32

GetPort returns the Port field value

func (*ApiBindingPostBody) GetPortOk

func (o *ApiBindingPostBody) GetPortOk() (*int32, bool)

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

func (*ApiBindingPostBody) GetSpecId

func (o *ApiBindingPostBody) GetSpecId() string

GetSpecId returns the SpecId field value

func (*ApiBindingPostBody) GetSpecIdOk

func (o *ApiBindingPostBody) GetSpecIdOk() (*string, bool)

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

func (*ApiBindingPostBody) GetUpstreamOrigin

func (o *ApiBindingPostBody) GetUpstreamOrigin() string

GetUpstreamOrigin returns the UpstreamOrigin field value if set, zero value otherwise.

func (*ApiBindingPostBody) GetUpstreamOriginOk

func (o *ApiBindingPostBody) GetUpstreamOriginOk() (*string, bool)

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

func (*ApiBindingPostBody) GetUseForwarded

func (o *ApiBindingPostBody) GetUseForwarded() bool

GetUseForwarded returns the UseForwarded field value if set, zero value otherwise.

func (*ApiBindingPostBody) GetUseForwardedOk

func (o *ApiBindingPostBody) GetUseForwardedOk() (*bool, bool)

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

func (*ApiBindingPostBody) HasForwardedFor

func (o *ApiBindingPostBody) HasForwardedFor() bool

HasForwardedFor returns a boolean if a field has been set.

func (*ApiBindingPostBody) HasForwardedHost

func (o *ApiBindingPostBody) HasForwardedHost() bool

HasForwardedHost returns a boolean if a field has been set.

func (*ApiBindingPostBody) HasForwardedId

func (o *ApiBindingPostBody) HasForwardedId() bool

HasForwardedId returns a boolean if a field has been set.

func (*ApiBindingPostBody) HasForwardedProto

func (o *ApiBindingPostBody) HasForwardedProto() bool

HasForwardedProto returns a boolean if a field has been set.

func (*ApiBindingPostBody) HasHops

func (o *ApiBindingPostBody) HasHops() bool

HasHops returns a boolean if a field has been set.

func (*ApiBindingPostBody) HasUpstreamOrigin

func (o *ApiBindingPostBody) HasUpstreamOrigin() bool

HasUpstreamOrigin returns a boolean if a field has been set.

func (*ApiBindingPostBody) HasUseForwarded

func (o *ApiBindingPostBody) HasUseForwarded() bool

HasUseForwarded returns a boolean if a field has been set.

func (ApiBindingPostBody) MarshalJSON

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

func (*ApiBindingPostBody) SetBasePath

func (o *ApiBindingPostBody) SetBasePath(v string)

SetBasePath sets field value

func (*ApiBindingPostBody) SetForwardedFor

func (o *ApiBindingPostBody) SetForwardedFor(v []string)

SetForwardedFor gets a reference to the given []string and assigns it to the ForwardedFor field.

func (*ApiBindingPostBody) SetForwardedHost

func (o *ApiBindingPostBody) SetForwardedHost(v []string)

SetForwardedHost gets a reference to the given []string and assigns it to the ForwardedHost field.

func (*ApiBindingPostBody) SetForwardedId

func (o *ApiBindingPostBody) SetForwardedId(v []string)

SetForwardedId gets a reference to the given []string and assigns it to the ForwardedId field.

func (*ApiBindingPostBody) SetForwardedProto

func (o *ApiBindingPostBody) SetForwardedProto(v []string)

SetForwardedProto gets a reference to the given []string and assigns it to the ForwardedProto field.

func (*ApiBindingPostBody) SetHops

func (o *ApiBindingPostBody) SetHops(v int32)

SetHops gets a reference to the given int32 and assigns it to the Hops field.

func (*ApiBindingPostBody) SetHostname

func (o *ApiBindingPostBody) SetHostname(v string)

SetHostname sets field value

func (*ApiBindingPostBody) SetName

func (o *ApiBindingPostBody) SetName(v string)

SetName sets field value

func (*ApiBindingPostBody) SetPort

func (o *ApiBindingPostBody) SetPort(v int32)

SetPort sets field value

func (*ApiBindingPostBody) SetSpecId

func (o *ApiBindingPostBody) SetSpecId(v string)

SetSpecId sets field value

func (*ApiBindingPostBody) SetUpstreamOrigin

func (o *ApiBindingPostBody) SetUpstreamOrigin(v string)

SetUpstreamOrigin gets a reference to the given string and assigns it to the UpstreamOrigin field.

func (*ApiBindingPostBody) SetUseForwarded

func (o *ApiBindingPostBody) SetUseForwarded(v bool)

SetUseForwarded gets a reference to the given bool and assigns it to the UseForwarded field.

func (ApiBindingPostBody) ToMap

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

type ApiBindingsApi

type ApiBindingsApi interface {

	/*
		CreateAPIBinding Create an API binding

		Creates an API binding for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiCreateAPIBindingRequest
	*/
	CreateAPIBinding(ctx context.Context, orgId string) ApiCreateAPIBindingRequest

	// CreateAPIBindingExecute executes the request
	//  @return ApiBinding
	CreateAPIBindingExecute(r ApiCreateAPIBindingRequest) (*ApiBinding, *http.Response, error)

	/*
		DeleteAPIBinding Delete an API binding

		Deletes an API binding from an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param apiBindingId API Binding ID
		@return ApiDeleteAPIBindingRequest
	*/
	DeleteAPIBinding(ctx context.Context, orgId string, apiBindingId string) ApiDeleteAPIBindingRequest

	// DeleteAPIBindingExecute executes the request
	DeleteAPIBindingExecute(r ApiDeleteAPIBindingRequest) (*http.Response, error)

	/*
		GetAPIBinding Get an API binding

		Gets an API binding for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param apiBindingId API Binding ID
		@return ApiGetAPIBindingRequest
	*/
	GetAPIBinding(ctx context.Context, orgId string, apiBindingId string) ApiGetAPIBindingRequest

	// GetAPIBindingExecute executes the request
	//  @return ApiBinding
	GetAPIBindingExecute(r ApiGetAPIBindingRequest) (*ApiBinding, *http.Response, error)

	/*
		UpdateAPIBinding Update an API binding

		Updates an API binding for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param apiBindingId API Binding ID
		@return ApiUpdateAPIBindingRequest
	*/
	UpdateAPIBinding(ctx context.Context, orgId string, apiBindingId string) ApiUpdateAPIBindingRequest

	// UpdateAPIBindingExecute executes the request
	//  @return ApiBinding
	UpdateAPIBindingExecute(r ApiUpdateAPIBindingRequest) (*ApiBinding, *http.Response, error)
}

type ApiBindingsApiService

type ApiBindingsApiService service

ApiBindingsApiService ApiBindingsApi service

func (*ApiBindingsApiService) CreateAPIBinding

func (a *ApiBindingsApiService) CreateAPIBinding(ctx context.Context, orgId string) ApiCreateAPIBindingRequest

CreateAPIBinding Create an API binding

Creates an API binding for an organization.

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

func (*ApiBindingsApiService) CreateAPIBindingExecute

func (a *ApiBindingsApiService) CreateAPIBindingExecute(r ApiCreateAPIBindingRequest) (*ApiBinding, *http.Response, error)

Execute executes the request

@return ApiBinding

func (*ApiBindingsApiService) DeleteAPIBinding

func (a *ApiBindingsApiService) DeleteAPIBinding(ctx context.Context, orgId string, apiBindingId string) ApiDeleteAPIBindingRequest

DeleteAPIBinding Delete an API binding

Deletes an API binding from an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param apiBindingId API Binding ID
@return ApiDeleteAPIBindingRequest

func (*ApiBindingsApiService) DeleteAPIBindingExecute

func (a *ApiBindingsApiService) DeleteAPIBindingExecute(r ApiDeleteAPIBindingRequest) (*http.Response, error)

Execute executes the request

func (*ApiBindingsApiService) GetAPIBinding

func (a *ApiBindingsApiService) GetAPIBinding(ctx context.Context, orgId string, apiBindingId string) ApiGetAPIBindingRequest

GetAPIBinding Get an API binding

Gets an API binding for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param apiBindingId API Binding ID
@return ApiGetAPIBindingRequest

func (*ApiBindingsApiService) GetAPIBindingExecute

Execute executes the request

@return ApiBinding

func (*ApiBindingsApiService) UpdateAPIBinding

func (a *ApiBindingsApiService) UpdateAPIBinding(ctx context.Context, orgId string, apiBindingId string) ApiUpdateAPIBindingRequest

UpdateAPIBinding Update an API binding

Updates an API binding for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param apiBindingId API Binding ID
@return ApiUpdateAPIBindingRequest

func (*ApiBindingsApiService) UpdateAPIBindingExecute

func (a *ApiBindingsApiService) UpdateAPIBindingExecute(r ApiUpdateAPIBindingRequest) (*ApiBinding, *http.Response, error)

Execute executes the request

@return ApiBinding

type ApiCreateAPIBindingRequest

type ApiCreateAPIBindingRequest struct {
	ApiService ApiBindingsApi
	// contains filtered or unexported fields
}

func (ApiCreateAPIBindingRequest) ApiBindingPostBody

func (r ApiCreateAPIBindingRequest) ApiBindingPostBody(apiBindingPostBody ApiBindingPostBody) ApiCreateAPIBindingRequest

Request body for creating an API binding.

func (ApiCreateAPIBindingRequest) Execute

type ApiCreateConnectorRequest added in v0.4.0

type ApiCreateConnectorRequest struct {
	ApiService ConnectorsAPI
	// contains filtered or unexported fields
}

func (ApiCreateConnectorRequest) ConnectorPostBody added in v0.4.0

func (r ApiCreateConnectorRequest) ConnectorPostBody(connectorPostBody ConnectorPostBody) ApiCreateConnectorRequest

Request body for creating a connector.

func (ApiCreateConnectorRequest) Execute added in v0.4.0

type ApiCreateEventMonitorRequest added in v0.4.0

type ApiCreateEventMonitorRequest struct {
	ApiService EventMonitorsAPI
	// contains filtered or unexported fields
}

func (ApiCreateEventMonitorRequest) EventMonitorPostBody added in v0.4.0

func (r ApiCreateEventMonitorRequest) EventMonitorPostBody(eventMonitorPostBody EventMonitorPostBody) ApiCreateEventMonitorRequest

Request body for creating an event monitor.

func (ApiCreateEventMonitorRequest) Execute added in v0.4.0

type ApiCreateLogBindingRequest added in v0.2.0

type ApiCreateLogBindingRequest struct {
	ApiService LogBindingsAPI
	// contains filtered or unexported fields
}

func (ApiCreateLogBindingRequest) Execute added in v0.2.0

func (ApiCreateLogBindingRequest) LogBindingPostBody added in v0.2.0

func (r ApiCreateLogBindingRequest) LogBindingPostBody(logBindingPostBody LogBindingPostBody) ApiCreateLogBindingRequest

Request body for creating a log binding.

type ApiCreateNotificationTemplateRequest added in v0.4.0

type ApiCreateNotificationTemplateRequest struct {
	ApiService NotificationTemplatesAPI
	// contains filtered or unexported fields
}

func (ApiCreateNotificationTemplateRequest) Execute added in v0.4.0

func (ApiCreateNotificationTemplateRequest) NotificationTemplatePostBody added in v0.4.0

func (r ApiCreateNotificationTemplateRequest) NotificationTemplatePostBody(notificationTemplatePostBody NotificationTemplatePostBody) ApiCreateNotificationTemplateRequest

Request body for creating a notification template.

type ApiCreateRulesScriptRequest

type ApiCreateRulesScriptRequest struct {
	ApiService RulesScriptsAPI
	// contains filtered or unexported fields
}

func (ApiCreateRulesScriptRequest) Execute

func (ApiCreateRulesScriptRequest) RulesScriptPostBody

func (r ApiCreateRulesScriptRequest) RulesScriptPostBody(rulesScriptPostBody RulesScriptPostBody) ApiCreateRulesScriptRequest

Request body for creating a rules script.

type ApiCreateSpecRequest

type ApiCreateSpecRequest struct {
	ApiService SpecsApi
	// contains filtered or unexported fields
}

func (ApiCreateSpecRequest) Execute

func (r ApiCreateSpecRequest) Execute() (*Spec, *http.Response, error)

func (ApiCreateSpecRequest) SpecPostBody

func (r ApiCreateSpecRequest) SpecPostBody(specPostBody SpecPostBody) ApiCreateSpecRequest

Request body for creating a new spec.

type ApiDeleteAPIBindingRequest

type ApiDeleteAPIBindingRequest struct {
	ApiService ApiBindingsApi
	// contains filtered or unexported fields
}

func (ApiDeleteAPIBindingRequest) Execute

type ApiDeleteConnectorRequest added in v0.4.0

type ApiDeleteConnectorRequest struct {
	ApiService ConnectorsAPI
	// contains filtered or unexported fields
}

func (ApiDeleteConnectorRequest) Execute added in v0.4.0

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

func (ApiDeleteConnectorRequest) IfMatch added in v0.4.0

If Match for ETag lock checks.

type ApiDeleteEventMonitorRequest added in v0.4.0

type ApiDeleteEventMonitorRequest struct {
	ApiService EventMonitorsAPI
	// contains filtered or unexported fields
}

func (ApiDeleteEventMonitorRequest) Execute added in v0.4.0

func (ApiDeleteEventMonitorRequest) IfMatch added in v0.4.0

If Match for ETag lock checks.

type ApiDeleteLogBindingRequest added in v0.2.0

type ApiDeleteLogBindingRequest struct {
	ApiService LogBindingsAPI
	// contains filtered or unexported fields
}

func (ApiDeleteLogBindingRequest) Execute added in v0.2.0

func (ApiDeleteLogBindingRequest) IfMatch added in v0.2.0

If Match for ETag lock checks.

type ApiDeleteNotificationTemplateRequest added in v0.4.0

type ApiDeleteNotificationTemplateRequest struct {
	ApiService NotificationTemplatesAPI
	// contains filtered or unexported fields
}

func (ApiDeleteNotificationTemplateRequest) Execute added in v0.4.0

func (ApiDeleteNotificationTemplateRequest) IfMatch added in v0.4.0

If Match for ETag lock checks.

type ApiDeleteRulesScriptRequest

type ApiDeleteRulesScriptRequest struct {
	ApiService RulesScriptsAPI
	// contains filtered or unexported fields
}

func (ApiDeleteRulesScriptRequest) Execute

func (ApiDeleteRulesScriptRequest) IfMatch

If Match for ETag lock checks.

type ApiDeleteSpecRequest

type ApiDeleteSpecRequest struct {
	ApiService SpecsApi
	// contains filtered or unexported fields
}

func (ApiDeleteSpecRequest) Execute

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

func (ApiDeleteSpecRequest) IfMatch

If Match for ETag lock checks.

type ApiGetAPIBindingRequest

type ApiGetAPIBindingRequest struct {
	ApiService ApiBindingsApi
	// contains filtered or unexported fields
}

func (ApiGetAPIBindingRequest) Execute

type ApiGetConnectorDestinationsRequest added in v0.4.0

type ApiGetConnectorDestinationsRequest struct {
	ApiService ConnectorsAPI
	// contains filtered or unexported fields
}

func (ApiGetConnectorDestinationsRequest) Execute added in v0.4.0

type ApiGetConnectorRequest added in v0.4.0

type ApiGetConnectorRequest struct {
	ApiService ConnectorsAPI
	// contains filtered or unexported fields
}

func (ApiGetConnectorRequest) Execute added in v0.4.0

type ApiGetConnectorTypesRequest added in v0.4.0

type ApiGetConnectorTypesRequest struct {
	ApiService ConnectorsAPI
	// contains filtered or unexported fields
}

func (ApiGetConnectorTypesRequest) Execute added in v0.4.0

func (ApiGetConnectorTypesRequest) MaxResults added in v0.4.0

The max number of results to return

func (ApiGetConnectorTypesRequest) Page added in v0.4.0

The page of results to return

type ApiGetConnectorsRequest added in v0.4.0

type ApiGetConnectorsRequest struct {
	ApiService ConnectorsAPI
	// contains filtered or unexported fields
}

func (ApiGetConnectorsRequest) Execute added in v0.4.0

func (ApiGetConnectorsRequest) MaxResults added in v0.4.0

func (r ApiGetConnectorsRequest) MaxResults(maxResults int32) ApiGetConnectorsRequest

The max number of results to return

func (ApiGetConnectorsRequest) Page added in v0.4.0

The page of results to return

type ApiGetEventMonitorRequest added in v0.4.0

type ApiGetEventMonitorRequest struct {
	ApiService EventMonitorsAPI
	// contains filtered or unexported fields
}

func (ApiGetEventMonitorRequest) Execute added in v0.4.0

type ApiGetEventMonitorsRequest added in v0.4.0

type ApiGetEventMonitorsRequest struct {
	ApiService EventMonitorsAPI
	// contains filtered or unexported fields
}

func (ApiGetEventMonitorsRequest) Execute added in v0.4.0

func (ApiGetEventMonitorsRequest) MaxResults added in v0.4.0

The max number of results to return

func (ApiGetEventMonitorsRequest) Page added in v0.4.0

The page of results to return

type ApiGetLogBindingRequest added in v0.2.0

type ApiGetLogBindingRequest struct {
	ApiService LogBindingsAPI
	// contains filtered or unexported fields
}

func (ApiGetLogBindingRequest) Execute added in v0.2.0

type ApiGetLogBindingsRequest added in v0.2.0

type ApiGetLogBindingsRequest struct {
	ApiService LogBindingsAPI
	// contains filtered or unexported fields
}

func (ApiGetLogBindingsRequest) CollectionId added in v0.2.0

func (r ApiGetLogBindingsRequest) CollectionId(collectionId []string) ApiGetLogBindingsRequest

Collection ID

func (ApiGetLogBindingsRequest) Execute added in v0.2.0

func (ApiGetLogBindingsRequest) MaxResults added in v0.2.0

func (r ApiGetLogBindingsRequest) MaxResults(maxResults int32) ApiGetLogBindingsRequest

The max number of results to return

func (ApiGetLogBindingsRequest) Page added in v0.2.0

The page of results to return

func (ApiGetLogBindingsRequest) SpecId added in v0.2.0

Spec ID

type ApiGetNotificationTemplateRequest added in v0.4.0

type ApiGetNotificationTemplateRequest struct {
	ApiService NotificationTemplatesAPI
	// contains filtered or unexported fields
}

func (ApiGetNotificationTemplateRequest) Execute added in v0.4.0

type ApiGetNotificationTemplatesRequest added in v0.4.0

type ApiGetNotificationTemplatesRequest struct {
	ApiService NotificationTemplatesAPI
	// contains filtered or unexported fields
}

func (ApiGetNotificationTemplatesRequest) Execute added in v0.4.0

func (ApiGetNotificationTemplatesRequest) MaxResults added in v0.4.0

The max number of results to return

func (ApiGetNotificationTemplatesRequest) Page added in v0.4.0

The page of results to return

type ApiGetRulesScriptRequest

type ApiGetRulesScriptRequest struct {
	ApiService RulesScriptsAPI
	// contains filtered or unexported fields
}

func (ApiGetRulesScriptRequest) Execute

func (ApiGetRulesScriptRequest) Revision

The revision to request

type ApiGetRulesScriptsRequest added in v0.5.0

type ApiGetRulesScriptsRequest struct {
	ApiService RulesScriptsAPI
	// contains filtered or unexported fields
}

func (ApiGetRulesScriptsRequest) ExcludeRevisions added in v0.5.0

func (r ApiGetRulesScriptsRequest) ExcludeRevisions(excludeRevisions bool) ApiGetRulesScriptsRequest

Whether to exclude the rule script revisions from the response

func (ApiGetRulesScriptsRequest) ExcludeSrc added in v0.5.0

func (r ApiGetRulesScriptsRequest) ExcludeSrc(excludeSrc bool) ApiGetRulesScriptsRequest

Whether to exclude the rule script src from the response

func (ApiGetRulesScriptsRequest) Execute added in v0.5.0

func (ApiGetRulesScriptsRequest) MaxResults added in v0.5.0

The max number of results to return

func (ApiGetRulesScriptsRequest) Page added in v0.5.0

The page of results to return

func (ApiGetRulesScriptsRequest) Type_ added in v0.5.0

Type of rule script to filter results by

type ApiGetSpecAnalysesRequest

type ApiGetSpecAnalysesRequest struct {
	ApiService SpecsApi
	// contains filtered or unexported fields
}

func (ApiGetSpecAnalysesRequest) CollectionId

func (r ApiGetSpecAnalysesRequest) CollectionId(collectionId []string) ApiGetSpecAnalysesRequest

Collection ID

func (ApiGetSpecAnalysesRequest) MaxResults

The max number of results to return

func (ApiGetSpecAnalysesRequest) SpecId

Spec ID

type ApiGetSpecRequest

type ApiGetSpecRequest struct {
	ApiService SpecsApi
	// contains filtered or unexported fields
}

func (ApiGetSpecRequest) Execute

func (r ApiGetSpecRequest) Execute() (*Spec, *http.Response, error)

func (ApiGetSpecRequest) Revision

func (r ApiGetSpecRequest) Revision(revision int32) ApiGetSpecRequest

The revision to request

type ApiGetTokenInfoRequest

type ApiGetTokenInfoRequest struct {
	ApiService UserApi
	// contains filtered or unexported fields
}

func (ApiGetTokenInfoRequest) Execute

type ApiRulesTestRequest added in v0.5.0

type ApiRulesTestRequest struct {
	ApiService RulesScriptsAPI
	// contains filtered or unexported fields
}

func (ApiRulesTestRequest) Execute added in v0.5.0

func (r ApiRulesTestRequest) Execute() (*RulesTest, *http.Response, error)

func (ApiRulesTestRequest) RulesTestPostBody added in v0.5.0

func (r ApiRulesTestRequest) RulesTestPostBody(rulesTestPostBody RulesTestPostBody) ApiRulesTestRequest

Request body for testing rules.

type ApiSendConnectorNotificationRequest added in v0.4.0

type ApiSendConnectorNotificationRequest struct {
	ApiService ConnectorsAPI
	// contains filtered or unexported fields
}

func (ApiSendConnectorNotificationRequest) ConnectorNotificationPostBody added in v0.4.0

func (r ApiSendConnectorNotificationRequest) ConnectorNotificationPostBody(connectorNotificationPostBody ConnectorNotificationPostBody) ApiSendConnectorNotificationRequest

Request body for sending a connector notification.

func (ApiSendConnectorNotificationRequest) Execute added in v0.4.0

type ApiUpdateAPIBindingRequest

type ApiUpdateAPIBindingRequest struct {
	ApiService ApiBindingsApi
	// contains filtered or unexported fields
}

func (ApiUpdateAPIBindingRequest) ApiBindingPostBody

func (r ApiUpdateAPIBindingRequest) ApiBindingPostBody(apiBindingPostBody ApiBindingPostBody) ApiUpdateAPIBindingRequest

Request body for creating an API binding.

func (ApiUpdateAPIBindingRequest) Execute

type ApiUpdateConnectorRequest added in v0.4.0

type ApiUpdateConnectorRequest struct {
	ApiService ConnectorsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateConnectorRequest) ConnectorPutBody added in v0.4.0

func (r ApiUpdateConnectorRequest) ConnectorPutBody(connectorPutBody ConnectorPutBody) ApiUpdateConnectorRequest

Request body for updating a connector.

func (ApiUpdateConnectorRequest) Execute added in v0.4.0

type ApiUpdateEventMonitorRequest added in v0.4.0

type ApiUpdateEventMonitorRequest struct {
	ApiService EventMonitorsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateEventMonitorRequest) EventMonitorPostBody added in v0.4.0

func (r ApiUpdateEventMonitorRequest) EventMonitorPostBody(eventMonitorPostBody EventMonitorPostBody) ApiUpdateEventMonitorRequest

Request body for creating an event monitor.

func (ApiUpdateEventMonitorRequest) Execute added in v0.4.0

func (ApiUpdateEventMonitorRequest) IfMatch added in v0.4.0

If Match for ETag lock checks.

type ApiUpdateLogBindingRequest added in v0.2.0

type ApiUpdateLogBindingRequest struct {
	ApiService LogBindingsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateLogBindingRequest) Execute added in v0.2.0

func (ApiUpdateLogBindingRequest) IfMatch added in v0.2.0

If Match for ETag lock checks.

func (ApiUpdateLogBindingRequest) LogBindingPutBody added in v0.2.0

func (r ApiUpdateLogBindingRequest) LogBindingPutBody(logBindingPutBody LogBindingPutBody) ApiUpdateLogBindingRequest

Request body for creating a log binding.

type ApiUpdateNotificationTemplateRequest added in v0.4.0

type ApiUpdateNotificationTemplateRequest struct {
	ApiService NotificationTemplatesAPI
	// contains filtered or unexported fields
}

func (ApiUpdateNotificationTemplateRequest) Execute added in v0.4.0

func (ApiUpdateNotificationTemplateRequest) IfMatch added in v0.4.0

If Match for ETag lock checks.

func (ApiUpdateNotificationTemplateRequest) NotificationTemplatePostBody added in v0.4.0

func (r ApiUpdateNotificationTemplateRequest) NotificationTemplatePostBody(notificationTemplatePostBody NotificationTemplatePostBody) ApiUpdateNotificationTemplateRequest

Request body for creating a notification template.

type ApiUpdateRulesDependenciesRequest added in v0.5.0

type ApiUpdateRulesDependenciesRequest struct {
	ApiService RulesDependenciesAPI
	// contains filtered or unexported fields
}

func (ApiUpdateRulesDependenciesRequest) Execute added in v0.5.0

func (ApiUpdateRulesDependenciesRequest) RulesDependenciesPutBodyInner added in v0.5.0

func (r ApiUpdateRulesDependenciesRequest) RulesDependenciesPutBodyInner(rulesDependenciesPutBodyInner []RulesDependenciesPutBodyInner) ApiUpdateRulesDependenciesRequest

Request body for updating rule dependencies.

type ApiUpdateRulesScriptRequest

type ApiUpdateRulesScriptRequest struct {
	ApiService RulesScriptsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateRulesScriptRequest) Execute

func (ApiUpdateRulesScriptRequest) IfMatch

If Match for ETag lock checks.

func (ApiUpdateRulesScriptRequest) RulesScriptPostBody

func (r ApiUpdateRulesScriptRequest) RulesScriptPostBody(rulesScriptPostBody RulesScriptPostBody) ApiUpdateRulesScriptRequest

Request body for creating a rules script.

type ApiUpdateSpecRequest

type ApiUpdateSpecRequest struct {
	ApiService SpecsApi
	// contains filtered or unexported fields
}

func (ApiUpdateSpecRequest) Execute

func (r ApiUpdateSpecRequest) Execute() (*Spec, *http.Response, error)

func (ApiUpdateSpecRequest) IfMatch

If Match for ETag lock checks.

func (ApiUpdateSpecRequest) SpecPostBody

func (r ApiUpdateSpecRequest) SpecPostBody(specPostBody SpecPostBody) ApiUpdateSpecRequest

Request body for creating a new spec.

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 BasicError

type BasicError struct {
	// Output of the error message.
	Message string `json:"message"`
}

BasicError struct for BasicError

func NewBasicError

func NewBasicError(message string) *BasicError

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

func NewBasicErrorWithDefaults

func NewBasicErrorWithDefaults() *BasicError

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

func (*BasicError) GetMessage

func (o *BasicError) GetMessage() string

GetMessage returns the Message field value

func (*BasicError) GetMessageOk

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

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

func (BasicError) MarshalJSON

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

func (*BasicError) SetMessage

func (o *BasicError) SetMessage(v string)

SetMessage sets field value

func (BasicError) ToMap

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

type CollectionMeta added in v0.2.0

type CollectionMeta struct {
	// Total number of items available in the collection on the server.
	Total int64 `json:"total"`
	// Maximum number of items that can returned in the response. The actual number of items returned may be less than the specified max_results.
	MaxResults int32 `json:"max_results"`
}

CollectionMeta Metadata about the collection.

func NewCollectionMeta added in v0.2.0

func NewCollectionMeta(total int64, maxResults int32) *CollectionMeta

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

func NewCollectionMetaWithDefaults added in v0.2.0

func NewCollectionMetaWithDefaults() *CollectionMeta

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

func (*CollectionMeta) GetMaxResults added in v0.2.0

func (o *CollectionMeta) GetMaxResults() int32

GetMaxResults returns the MaxResults field value

func (*CollectionMeta) GetMaxResultsOk added in v0.2.0

func (o *CollectionMeta) GetMaxResultsOk() (*int32, bool)

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

func (*CollectionMeta) GetTotal added in v0.2.0

func (o *CollectionMeta) GetTotal() int64

GetTotal returns the Total field value

func (*CollectionMeta) GetTotalOk added in v0.2.0

func (o *CollectionMeta) GetTotalOk() (*int64, bool)

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

func (CollectionMeta) MarshalJSON added in v0.2.0

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

func (*CollectionMeta) SetMaxResults added in v0.2.0

func (o *CollectionMeta) SetMaxResults(v int32)

SetMaxResults sets field value

func (*CollectionMeta) SetTotal added in v0.2.0

func (o *CollectionMeta) SetTotal(v int64)

SetTotal sets field value

func (CollectionMeta) ToMap added in v0.2.0

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

func (*CollectionMeta) UnmarshalJSON added in v0.2.0

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

type CompilationDiagnostic added in v0.5.0

type CompilationDiagnostic struct {
	Code     int32                      `json:"code"`
	Category int32                      `json:"category"`
	Message  string                     `json:"message"`
	Range    CompilationDiagnosticRange `json:"range"`
}

CompilationDiagnostic struct for CompilationDiagnostic

func NewCompilationDiagnostic added in v0.5.0

func NewCompilationDiagnostic(code int32, category int32, message string, range_ CompilationDiagnosticRange) *CompilationDiagnostic

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

func NewCompilationDiagnosticWithDefaults added in v0.5.0

func NewCompilationDiagnosticWithDefaults() *CompilationDiagnostic

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

func (*CompilationDiagnostic) GetCategory added in v0.5.0

func (o *CompilationDiagnostic) GetCategory() int32

GetCategory returns the Category field value

func (*CompilationDiagnostic) GetCategoryOk added in v0.5.0

func (o *CompilationDiagnostic) GetCategoryOk() (*int32, bool)

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

func (*CompilationDiagnostic) GetCode added in v0.5.0

func (o *CompilationDiagnostic) GetCode() int32

GetCode returns the Code field value

func (*CompilationDiagnostic) GetCodeOk added in v0.5.0

func (o *CompilationDiagnostic) GetCodeOk() (*int32, bool)

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

func (*CompilationDiagnostic) GetMessage added in v0.5.0

func (o *CompilationDiagnostic) GetMessage() string

GetMessage returns the Message field value

func (*CompilationDiagnostic) GetMessageOk added in v0.5.0

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

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

func (*CompilationDiagnostic) GetRange added in v0.5.0

GetRange returns the Range field value

func (*CompilationDiagnostic) GetRangeOk added in v0.5.0

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

func (CompilationDiagnostic) MarshalJSON added in v0.5.0

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

func (*CompilationDiagnostic) SetCategory added in v0.5.0

func (o *CompilationDiagnostic) SetCategory(v int32)

SetCategory sets field value

func (*CompilationDiagnostic) SetCode added in v0.5.0

func (o *CompilationDiagnostic) SetCode(v int32)

SetCode sets field value

func (*CompilationDiagnostic) SetMessage added in v0.5.0

func (o *CompilationDiagnostic) SetMessage(v string)

SetMessage sets field value

func (*CompilationDiagnostic) SetRange added in v0.5.0

SetRange sets field value

func (CompilationDiagnostic) ToMap added in v0.5.0

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

func (*CompilationDiagnostic) UnmarshalJSON added in v0.5.0

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

type CompilationDiagnosticRange added in v0.5.0

type CompilationDiagnosticRange struct {
	Start  int32  `json:"start"`
	End    int32  `json:"end"`
	Source string `json:"source"`
}

CompilationDiagnosticRange struct for CompilationDiagnosticRange

func NewCompilationDiagnosticRange added in v0.5.0

func NewCompilationDiagnosticRange(start int32, end int32, source string) *CompilationDiagnosticRange

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

func NewCompilationDiagnosticRangeWithDefaults added in v0.5.0

func NewCompilationDiagnosticRangeWithDefaults() *CompilationDiagnosticRange

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

func (*CompilationDiagnosticRange) GetEnd added in v0.5.0

func (o *CompilationDiagnosticRange) GetEnd() int32

GetEnd returns the End field value

func (*CompilationDiagnosticRange) GetEndOk added in v0.5.0

func (o *CompilationDiagnosticRange) GetEndOk() (*int32, bool)

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

func (*CompilationDiagnosticRange) GetSource added in v0.5.0

func (o *CompilationDiagnosticRange) GetSource() string

GetSource returns the Source field value

func (*CompilationDiagnosticRange) GetSourceOk added in v0.5.0

func (o *CompilationDiagnosticRange) GetSourceOk() (*string, bool)

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

func (*CompilationDiagnosticRange) GetStart added in v0.5.0

func (o *CompilationDiagnosticRange) GetStart() int32

GetStart returns the Start field value

func (*CompilationDiagnosticRange) GetStartOk added in v0.5.0

func (o *CompilationDiagnosticRange) GetStartOk() (*int32, bool)

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

func (CompilationDiagnosticRange) MarshalJSON added in v0.5.0

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

func (*CompilationDiagnosticRange) SetEnd added in v0.5.0

func (o *CompilationDiagnosticRange) SetEnd(v int32)

SetEnd sets field value

func (*CompilationDiagnosticRange) SetSource added in v0.5.0

func (o *CompilationDiagnosticRange) SetSource(v string)

SetSource sets field value

func (*CompilationDiagnosticRange) SetStart added in v0.5.0

func (o *CompilationDiagnosticRange) SetStart(v int32)

SetStart sets field value

func (CompilationDiagnosticRange) ToMap added in v0.5.0

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

func (*CompilationDiagnosticRange) UnmarshalJSON added in v0.5.0

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

type CompilationDiagnostics added in v0.5.0

type CompilationDiagnostics struct {
	Message     string                  `json:"message"`
	Diagnostics []CompilationDiagnostic `json:"diagnostics,omitempty"`
}

CompilationDiagnostics struct for CompilationDiagnostics

func NewCompilationDiagnostics added in v0.5.0

func NewCompilationDiagnostics(message string) *CompilationDiagnostics

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

func NewCompilationDiagnosticsWithDefaults added in v0.5.0

func NewCompilationDiagnosticsWithDefaults() *CompilationDiagnostics

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

func (*CompilationDiagnostics) GetDiagnostics added in v0.5.0

func (o *CompilationDiagnostics) GetDiagnostics() []CompilationDiagnostic

GetDiagnostics returns the Diagnostics field value if set, zero value otherwise.

func (*CompilationDiagnostics) GetDiagnosticsOk added in v0.5.0

func (o *CompilationDiagnostics) GetDiagnosticsOk() ([]CompilationDiagnostic, bool)

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

func (*CompilationDiagnostics) GetMessage added in v0.5.0

func (o *CompilationDiagnostics) GetMessage() string

GetMessage returns the Message field value

func (*CompilationDiagnostics) GetMessageOk added in v0.5.0

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

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

func (*CompilationDiagnostics) HasDiagnostics added in v0.5.0

func (o *CompilationDiagnostics) HasDiagnostics() bool

HasDiagnostics returns a boolean if a field has been set.

func (CompilationDiagnostics) MarshalJSON added in v0.5.0

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

func (*CompilationDiagnostics) SetDiagnostics added in v0.5.0

func (o *CompilationDiagnostics) SetDiagnostics(v []CompilationDiagnostic)

SetDiagnostics gets a reference to the given []CompilationDiagnostic and assigns it to the Diagnostics field.

func (*CompilationDiagnostics) SetMessage added in v0.5.0

func (o *CompilationDiagnostics) SetMessage(v string)

SetMessage sets field value

func (CompilationDiagnostics) ToMap added in v0.5.0

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

func (*CompilationDiagnostics) UnmarshalJSON added in v0.5.0

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

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type Connector added in v0.4.0

type Connector struct {
	// The ID for a connector.
	Id string `json:"id"`
	// The name of the connector.
	Name string `json:"name"`
	// The ID of the connector type.
	ConnectorTypeId string `json:"connector_type_id"`
	// A boolean flag to indicate whether the connector has been authenticated.
	IsConnected bool `json:"is_connected"`
	// A list of connector destinations.
	Destinations []ConnectorDestination `json:"destinations"`
}

Connector struct for Connector

func NewConnector added in v0.4.0

func NewConnector(id string, name string, connectorTypeId string, isConnected bool, destinations []ConnectorDestination) *Connector

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

func NewConnectorWithDefaults added in v0.4.0

func NewConnectorWithDefaults() *Connector

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

func (*Connector) GetConnectorTypeId added in v0.4.0

func (o *Connector) GetConnectorTypeId() string

GetConnectorTypeId returns the ConnectorTypeId field value

func (*Connector) GetConnectorTypeIdOk added in v0.4.0

func (o *Connector) GetConnectorTypeIdOk() (*string, bool)

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

func (*Connector) GetDestinations added in v0.4.0

func (o *Connector) GetDestinations() []ConnectorDestination

GetDestinations returns the Destinations field value

func (*Connector) GetDestinationsOk added in v0.4.0

func (o *Connector) GetDestinationsOk() ([]ConnectorDestination, bool)

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

func (*Connector) GetId added in v0.4.0

func (o *Connector) GetId() string

GetId returns the Id field value

func (*Connector) GetIdOk added in v0.4.0

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

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

func (*Connector) GetIsConnected added in v0.4.0

func (o *Connector) GetIsConnected() bool

GetIsConnected returns the IsConnected field value

func (*Connector) GetIsConnectedOk added in v0.4.0

func (o *Connector) GetIsConnectedOk() (*bool, bool)

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

func (*Connector) GetName added in v0.4.0

func (o *Connector) GetName() string

GetName returns the Name field value

func (*Connector) GetNameOk added in v0.4.0

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

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

func (Connector) MarshalJSON added in v0.4.0

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

func (*Connector) SetConnectorTypeId added in v0.4.0

func (o *Connector) SetConnectorTypeId(v string)

SetConnectorTypeId sets field value

func (*Connector) SetDestinations added in v0.4.0

func (o *Connector) SetDestinations(v []ConnectorDestination)

SetDestinations sets field value

func (*Connector) SetId added in v0.4.0

func (o *Connector) SetId(v string)

SetId sets field value

func (*Connector) SetIsConnected added in v0.4.0

func (o *Connector) SetIsConnected(v bool)

SetIsConnected sets field value

func (*Connector) SetName added in v0.4.0

func (o *Connector) SetName(v string)

SetName sets field value

func (Connector) ToMap added in v0.4.0

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

func (*Connector) UnmarshalJSON added in v0.4.0

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

type ConnectorDestination added in v0.4.0

type ConnectorDestination struct {
	// The ID for a connector destination.
	Id string `json:"id"`
	// The name of the connector destination.
	Name string `json:"name"`
}

ConnectorDestination struct for ConnectorDestination

func NewConnectorDestination added in v0.4.0

func NewConnectorDestination(id string, name string) *ConnectorDestination

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

func NewConnectorDestinationWithDefaults added in v0.4.0

func NewConnectorDestinationWithDefaults() *ConnectorDestination

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

func (*ConnectorDestination) GetId added in v0.4.0

func (o *ConnectorDestination) GetId() string

GetId returns the Id field value

func (*ConnectorDestination) GetIdOk added in v0.4.0

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

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

func (*ConnectorDestination) GetName added in v0.4.0

func (o *ConnectorDestination) GetName() string

GetName returns the Name field value

func (*ConnectorDestination) GetNameOk added in v0.4.0

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

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

func (ConnectorDestination) MarshalJSON added in v0.4.0

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

func (*ConnectorDestination) SetId added in v0.4.0

func (o *ConnectorDestination) SetId(v string)

SetId sets field value

func (*ConnectorDestination) SetName added in v0.4.0

func (o *ConnectorDestination) SetName(v string)

SetName sets field value

func (ConnectorDestination) ToMap added in v0.4.0

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

func (*ConnectorDestination) UnmarshalJSON added in v0.4.0

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

type ConnectorDestinations added in v0.4.0

type ConnectorDestinations struct {
	// A list of connector destinations.
	Items []ConnectorDestination `json:"items"`
}

ConnectorDestinations struct for ConnectorDestinations

func NewConnectorDestinations added in v0.4.0

func NewConnectorDestinations(items []ConnectorDestination) *ConnectorDestinations

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

func NewConnectorDestinationsWithDefaults added in v0.4.0

func NewConnectorDestinationsWithDefaults() *ConnectorDestinations

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

func (*ConnectorDestinations) GetItems added in v0.4.0

GetItems returns the Items field value

func (*ConnectorDestinations) GetItemsOk added in v0.4.0

func (o *ConnectorDestinations) GetItemsOk() ([]ConnectorDestination, bool)

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

func (ConnectorDestinations) MarshalJSON added in v0.4.0

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

func (*ConnectorDestinations) SetItems added in v0.4.0

SetItems sets field value

func (ConnectorDestinations) ToMap added in v0.4.0

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

func (*ConnectorDestinations) UnmarshalJSON added in v0.4.0

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

type ConnectorNotificationPostBody added in v0.4.0

type ConnectorNotificationPostBody struct {
	// The text payload to be sent in the notification.
	Payload string `json:"payload"`
	// The text for the subject of the message payload.
	Subject string `json:"subject"`
	// An array of ids for where the notification should be sent.
	Destination []string `json:"destination"`
}

ConnectorNotificationPostBody struct for ConnectorNotificationPostBody

func NewConnectorNotificationPostBody added in v0.4.0

func NewConnectorNotificationPostBody(payload string, subject string, destination []string) *ConnectorNotificationPostBody

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

func NewConnectorNotificationPostBodyWithDefaults added in v0.4.0

func NewConnectorNotificationPostBodyWithDefaults() *ConnectorNotificationPostBody

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

func (*ConnectorNotificationPostBody) GetDestination added in v0.4.0

func (o *ConnectorNotificationPostBody) GetDestination() []string

GetDestination returns the Destination field value

func (*ConnectorNotificationPostBody) GetDestinationOk added in v0.4.0

func (o *ConnectorNotificationPostBody) GetDestinationOk() ([]string, bool)

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

func (*ConnectorNotificationPostBody) GetPayload added in v0.4.0

func (o *ConnectorNotificationPostBody) GetPayload() string

GetPayload returns the Payload field value

func (*ConnectorNotificationPostBody) GetPayloadOk added in v0.4.0

func (o *ConnectorNotificationPostBody) GetPayloadOk() (*string, bool)

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

func (*ConnectorNotificationPostBody) GetSubject added in v0.4.0

func (o *ConnectorNotificationPostBody) GetSubject() string

GetSubject returns the Subject field value

func (*ConnectorNotificationPostBody) GetSubjectOk added in v0.4.0

func (o *ConnectorNotificationPostBody) GetSubjectOk() (*string, bool)

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

func (ConnectorNotificationPostBody) MarshalJSON added in v0.4.0

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

func (*ConnectorNotificationPostBody) SetDestination added in v0.4.0

func (o *ConnectorNotificationPostBody) SetDestination(v []string)

SetDestination sets field value

func (*ConnectorNotificationPostBody) SetPayload added in v0.4.0

func (o *ConnectorNotificationPostBody) SetPayload(v string)

SetPayload sets field value

func (*ConnectorNotificationPostBody) SetSubject added in v0.4.0

func (o *ConnectorNotificationPostBody) SetSubject(v string)

SetSubject sets field value

func (ConnectorNotificationPostBody) ToMap added in v0.4.0

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

func (*ConnectorNotificationPostBody) UnmarshalJSON added in v0.4.0

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

type ConnectorPostBody added in v0.4.0

type ConnectorPostBody struct {
	// The name of the connector and what it represents.
	Name string `json:"name"`
	// The ID of the connector type.
	ConnectorTypeId string `json:"connector_type_id"`
	// A JSON blob of the fields that will be used to configure the connector
	Config string `json:"config"`
}

ConnectorPostBody struct for ConnectorPostBody

func NewConnectorPostBody added in v0.4.0

func NewConnectorPostBody(name string, connectorTypeId string, config string) *ConnectorPostBody

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

func NewConnectorPostBodyWithDefaults added in v0.4.0

func NewConnectorPostBodyWithDefaults() *ConnectorPostBody

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

func (*ConnectorPostBody) GetConfig added in v0.4.0

func (o *ConnectorPostBody) GetConfig() string

GetConfig returns the Config field value

func (*ConnectorPostBody) GetConfigOk added in v0.4.0

func (o *ConnectorPostBody) GetConfigOk() (*string, bool)

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

func (*ConnectorPostBody) GetConnectorTypeId added in v0.4.0

func (o *ConnectorPostBody) GetConnectorTypeId() string

GetConnectorTypeId returns the ConnectorTypeId field value

func (*ConnectorPostBody) GetConnectorTypeIdOk added in v0.4.0

func (o *ConnectorPostBody) GetConnectorTypeIdOk() (*string, bool)

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

func (*ConnectorPostBody) GetName added in v0.4.0

func (o *ConnectorPostBody) GetName() string

GetName returns the Name field value

func (*ConnectorPostBody) GetNameOk added in v0.4.0

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

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

func (ConnectorPostBody) MarshalJSON added in v0.4.0

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

func (*ConnectorPostBody) SetConfig added in v0.4.0

func (o *ConnectorPostBody) SetConfig(v string)

SetConfig sets field value

func (*ConnectorPostBody) SetConnectorTypeId added in v0.4.0

func (o *ConnectorPostBody) SetConnectorTypeId(v string)

SetConnectorTypeId sets field value

func (*ConnectorPostBody) SetName added in v0.4.0

func (o *ConnectorPostBody) SetName(v string)

SetName sets field value

func (ConnectorPostBody) ToMap added in v0.4.0

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

func (*ConnectorPostBody) UnmarshalJSON added in v0.4.0

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

type ConnectorPutBody added in v0.4.0

type ConnectorPutBody struct {
	// The name of the connector and what it represents.
	Name string `json:"name"`
	// A list of connector destinations.
	Destinations []ConnectorDestination `json:"destinations"`
}

ConnectorPutBody struct for ConnectorPutBody

func NewConnectorPutBody added in v0.4.0

func NewConnectorPutBody(name string, destinations []ConnectorDestination) *ConnectorPutBody

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

func NewConnectorPutBodyWithDefaults added in v0.4.0

func NewConnectorPutBodyWithDefaults() *ConnectorPutBody

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

func (*ConnectorPutBody) GetDestinations added in v0.4.0

func (o *ConnectorPutBody) GetDestinations() []ConnectorDestination

GetDestinations returns the Destinations field value

func (*ConnectorPutBody) GetDestinationsOk added in v0.4.0

func (o *ConnectorPutBody) GetDestinationsOk() ([]ConnectorDestination, bool)

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

func (*ConnectorPutBody) GetName added in v0.4.0

func (o *ConnectorPutBody) GetName() string

GetName returns the Name field value

func (*ConnectorPutBody) GetNameOk added in v0.4.0

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

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

func (ConnectorPutBody) MarshalJSON added in v0.4.0

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

func (*ConnectorPutBody) SetDestinations added in v0.4.0

func (o *ConnectorPutBody) SetDestinations(v []ConnectorDestination)

SetDestinations sets field value

func (*ConnectorPutBody) SetName added in v0.4.0

func (o *ConnectorPutBody) SetName(v string)

SetName sets field value

func (ConnectorPutBody) ToMap added in v0.4.0

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

func (*ConnectorPutBody) UnmarshalJSON added in v0.4.0

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

type ConnectorType added in v0.4.0

type ConnectorType struct {
	// The ID for a connector.
	Id string `json:"id"`
	// The name of the connector.
	Name string `json:"name"`
	// A JSON schema for the connector configuration.
	ConfigSchema string `json:"config_schema"`
}

ConnectorType struct for ConnectorType

func NewConnectorType added in v0.4.0

func NewConnectorType(id string, name string, configSchema string) *ConnectorType

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

func NewConnectorTypeWithDefaults added in v0.4.0

func NewConnectorTypeWithDefaults() *ConnectorType

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

func (*ConnectorType) GetConfigSchema added in v0.4.0

func (o *ConnectorType) GetConfigSchema() string

GetConfigSchema returns the ConfigSchema field value

func (*ConnectorType) GetConfigSchemaOk added in v0.4.0

func (o *ConnectorType) GetConfigSchemaOk() (*string, bool)

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

func (*ConnectorType) GetId added in v0.4.0

func (o *ConnectorType) GetId() string

GetId returns the Id field value

func (*ConnectorType) GetIdOk added in v0.4.0

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

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

func (*ConnectorType) GetName added in v0.4.0

func (o *ConnectorType) GetName() string

GetName returns the Name field value

func (*ConnectorType) GetNameOk added in v0.4.0

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

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

func (ConnectorType) MarshalJSON added in v0.4.0

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

func (*ConnectorType) SetConfigSchema added in v0.4.0

func (o *ConnectorType) SetConfigSchema(v string)

SetConfigSchema sets field value

func (*ConnectorType) SetId added in v0.4.0

func (o *ConnectorType) SetId(v string)

SetId sets field value

func (*ConnectorType) SetName added in v0.4.0

func (o *ConnectorType) SetName(v string)

SetName sets field value

func (ConnectorType) ToMap added in v0.4.0

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

func (*ConnectorType) UnmarshalJSON added in v0.4.0

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

type ConnectorTypes added in v0.4.0

type ConnectorTypes struct {
	// A list of connector types.
	Items []ConnectorType `json:"items"`
	Meta  CollectionMeta  `json:"meta"`
}

ConnectorTypes struct for ConnectorTypes

func NewConnectorTypes added in v0.4.0

func NewConnectorTypes(items []ConnectorType, meta CollectionMeta) *ConnectorTypes

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

func NewConnectorTypesWithDefaults added in v0.4.0

func NewConnectorTypesWithDefaults() *ConnectorTypes

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

func (*ConnectorTypes) GetItems added in v0.4.0

func (o *ConnectorTypes) GetItems() []ConnectorType

GetItems returns the Items field value

func (*ConnectorTypes) GetItemsOk added in v0.4.0

func (o *ConnectorTypes) GetItemsOk() ([]ConnectorType, bool)

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

func (*ConnectorTypes) GetMeta added in v0.4.0

func (o *ConnectorTypes) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*ConnectorTypes) GetMetaOk added in v0.4.0

func (o *ConnectorTypes) GetMetaOk() (*CollectionMeta, bool)

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

func (ConnectorTypes) MarshalJSON added in v0.4.0

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

func (*ConnectorTypes) SetItems added in v0.4.0

func (o *ConnectorTypes) SetItems(v []ConnectorType)

SetItems sets field value

func (*ConnectorTypes) SetMeta added in v0.4.0

func (o *ConnectorTypes) SetMeta(v CollectionMeta)

SetMeta sets field value

func (ConnectorTypes) ToMap added in v0.4.0

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

func (*ConnectorTypes) UnmarshalJSON added in v0.4.0

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

type Connectors added in v0.4.0

type Connectors struct {
	// A list of connectors.
	Items []Connector    `json:"items"`
	Meta  CollectionMeta `json:"meta"`
}

Connectors struct for Connectors

func NewConnectors added in v0.4.0

func NewConnectors(items []Connector, meta CollectionMeta) *Connectors

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

func NewConnectorsWithDefaults added in v0.4.0

func NewConnectorsWithDefaults() *Connectors

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

func (*Connectors) GetItems added in v0.4.0

func (o *Connectors) GetItems() []Connector

GetItems returns the Items field value

func (*Connectors) GetItemsOk added in v0.4.0

func (o *Connectors) GetItemsOk() ([]Connector, bool)

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

func (*Connectors) GetMeta added in v0.4.0

func (o *Connectors) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*Connectors) GetMetaOk added in v0.4.0

func (o *Connectors) GetMetaOk() (*CollectionMeta, bool)

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

func (Connectors) MarshalJSON added in v0.4.0

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

func (*Connectors) SetItems added in v0.4.0

func (o *Connectors) SetItems(v []Connector)

SetItems sets field value

func (*Connectors) SetMeta added in v0.4.0

func (o *Connectors) SetMeta(v CollectionMeta)

SetMeta sets field value

func (Connectors) ToMap added in v0.4.0

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

func (*Connectors) UnmarshalJSON added in v0.4.0

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

type ConnectorsAPI added in v0.4.0

type ConnectorsAPI interface {

	/*
		CreateConnector Create a connector

		Creates a connector for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiCreateConnectorRequest
	*/
	CreateConnector(ctx context.Context, orgId string) ApiCreateConnectorRequest

	// CreateConnectorExecute executes the request
	//  @return Connector
	CreateConnectorExecute(r ApiCreateConnectorRequest) (*Connector, *http.Response, error)

	/*
		DeleteConnector Delete a connector

		Deletes a connector from an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param connectorId Connector ID
		@return ApiDeleteConnectorRequest
	*/
	DeleteConnector(ctx context.Context, orgId string, connectorId string) ApiDeleteConnectorRequest

	// DeleteConnectorExecute executes the request
	DeleteConnectorExecute(r ApiDeleteConnectorRequest) (*http.Response, error)

	/*
		GetConnector Get a connector

		Gets a connector for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param connectorId Connector ID
		@return ApiGetConnectorRequest
	*/
	GetConnector(ctx context.Context, orgId string, connectorId string) ApiGetConnectorRequest

	// GetConnectorExecute executes the request
	//  @return Connector
	GetConnectorExecute(r ApiGetConnectorRequest) (*Connector, *http.Response, error)

	/*
		GetConnectorDestinations Get a connectors available destinations

		Gets a list of destinations for a given connector.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param connectorId Connector ID
		@return ApiGetConnectorDestinationsRequest
	*/
	GetConnectorDestinations(ctx context.Context, orgId string, connectorId string) ApiGetConnectorDestinationsRequest

	// GetConnectorDestinationsExecute executes the request
	//  @return ConnectorDestinations
	GetConnectorDestinationsExecute(r ApiGetConnectorDestinationsRequest) (*ConnectorDestinations, *http.Response, error)

	/*
		GetConnectorTypes Get connector types

		Gets a list of connector types for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiGetConnectorTypesRequest
	*/
	GetConnectorTypes(ctx context.Context, orgId string) ApiGetConnectorTypesRequest

	// GetConnectorTypesExecute executes the request
	//  @return ConnectorTypes
	GetConnectorTypesExecute(r ApiGetConnectorTypesRequest) (*ConnectorTypes, *http.Response, error)

	/*
		GetConnectors Get connectors

		Gets a list of connectors for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiGetConnectorsRequest
	*/
	GetConnectors(ctx context.Context, orgId string) ApiGetConnectorsRequest

	// GetConnectorsExecute executes the request
	//  @return Connectors
	GetConnectorsExecute(r ApiGetConnectorsRequest) (*Connectors, *http.Response, error)

	/*
		SendConnectorNotification Send a connector notification (eg. Slack message, Jira ticket, etc.)

		Sends a connector notification for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param connectorId Connector ID
		@return ApiSendConnectorNotificationRequest
	*/
	SendConnectorNotification(ctx context.Context, orgId string, connectorId string) ApiSendConnectorNotificationRequest

	// SendConnectorNotificationExecute executes the request
	SendConnectorNotificationExecute(r ApiSendConnectorNotificationRequest) (*http.Response, error)

	/*
		UpdateConnector Update a connector

		Updates a connector for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param connectorId Connector ID
		@return ApiUpdateConnectorRequest
	*/
	UpdateConnector(ctx context.Context, orgId string, connectorId string) ApiUpdateConnectorRequest

	// UpdateConnectorExecute executes the request
	//  @return Connector
	UpdateConnectorExecute(r ApiUpdateConnectorRequest) (*Connector, *http.Response, error)
}

type ConnectorsAPIService added in v0.4.0

type ConnectorsAPIService service

ConnectorsAPIService ConnectorsAPI service

func (*ConnectorsAPIService) CreateConnector added in v0.4.0

func (a *ConnectorsAPIService) CreateConnector(ctx context.Context, orgId string) ApiCreateConnectorRequest

CreateConnector Create a connector

Creates a connector for an organization.

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

func (*ConnectorsAPIService) CreateConnectorExecute added in v0.4.0

func (a *ConnectorsAPIService) CreateConnectorExecute(r ApiCreateConnectorRequest) (*Connector, *http.Response, error)

Execute executes the request

@return Connector

func (*ConnectorsAPIService) DeleteConnector added in v0.4.0

func (a *ConnectorsAPIService) DeleteConnector(ctx context.Context, orgId string, connectorId string) ApiDeleteConnectorRequest

DeleteConnector Delete a connector

Deletes a connector from an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param connectorId Connector ID
@return ApiDeleteConnectorRequest

func (*ConnectorsAPIService) DeleteConnectorExecute added in v0.4.0

func (a *ConnectorsAPIService) DeleteConnectorExecute(r ApiDeleteConnectorRequest) (*http.Response, error)

Execute executes the request

func (*ConnectorsAPIService) GetConnector added in v0.4.0

func (a *ConnectorsAPIService) GetConnector(ctx context.Context, orgId string, connectorId string) ApiGetConnectorRequest

GetConnector Get a connector

Gets a connector for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param connectorId Connector ID
@return ApiGetConnectorRequest

func (*ConnectorsAPIService) GetConnectorDestinations added in v0.4.0

func (a *ConnectorsAPIService) GetConnectorDestinations(ctx context.Context, orgId string, connectorId string) ApiGetConnectorDestinationsRequest

GetConnectorDestinations Get a connectors available destinations

Gets a list of destinations for a given connector.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param connectorId Connector ID
@return ApiGetConnectorDestinationsRequest

func (*ConnectorsAPIService) GetConnectorDestinationsExecute added in v0.4.0

Execute executes the request

@return ConnectorDestinations

func (*ConnectorsAPIService) GetConnectorExecute added in v0.4.0

func (a *ConnectorsAPIService) GetConnectorExecute(r ApiGetConnectorRequest) (*Connector, *http.Response, error)

Execute executes the request

@return Connector

func (*ConnectorsAPIService) GetConnectorTypes added in v0.4.0

func (a *ConnectorsAPIService) GetConnectorTypes(ctx context.Context, orgId string) ApiGetConnectorTypesRequest

GetConnectorTypes Get connector types

Gets a list of connector types for an organization.

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

func (*ConnectorsAPIService) GetConnectorTypesExecute added in v0.4.0

Execute executes the request

@return ConnectorTypes

func (*ConnectorsAPIService) GetConnectors added in v0.4.0

func (a *ConnectorsAPIService) GetConnectors(ctx context.Context, orgId string) ApiGetConnectorsRequest

GetConnectors Get connectors

Gets a list of connectors for an organization.

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

func (*ConnectorsAPIService) GetConnectorsExecute added in v0.4.0

func (a *ConnectorsAPIService) GetConnectorsExecute(r ApiGetConnectorsRequest) (*Connectors, *http.Response, error)

Execute executes the request

@return Connectors

func (*ConnectorsAPIService) SendConnectorNotification added in v0.4.0

func (a *ConnectorsAPIService) SendConnectorNotification(ctx context.Context, orgId string, connectorId string) ApiSendConnectorNotificationRequest

SendConnectorNotification Send a connector notification (eg. Slack message, Jira ticket, etc.)

Sends a connector notification for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param connectorId Connector ID
@return ApiSendConnectorNotificationRequest

func (*ConnectorsAPIService) SendConnectorNotificationExecute added in v0.4.0

func (a *ConnectorsAPIService) SendConnectorNotificationExecute(r ApiSendConnectorNotificationRequest) (*http.Response, error)

Execute executes the request

func (*ConnectorsAPIService) UpdateConnector added in v0.4.0

func (a *ConnectorsAPIService) UpdateConnector(ctx context.Context, orgId string, connectorId string) ApiUpdateConnectorRequest

UpdateConnector Update a connector

Updates a connector for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param connectorId Connector ID
@return ApiUpdateConnectorRequest

func (*ConnectorsAPIService) UpdateConnectorExecute added in v0.4.0

func (a *ConnectorsAPIService) UpdateConnectorExecute(r ApiUpdateConnectorRequest) (*Connector, *http.Response, error)

Execute executes the request

@return Connector

type EventMonitor added in v0.4.0

type EventMonitor struct {
	// The ID for an event monitor.
	Id string `json:"id"`
	// The name of the event monitor and what it represents.
	Name string `json:"name"`
	// A human readable string describing what this monitor is for.
	Description string `json:"description"`
	// Array of condition objects that (if all are true) will trigger the monitor.
	Conditions []EventMonitorCondition `json:"conditions"`
	// ID of the member who created the monitor.
	CreatedBy string `json:"created_by"`
	// The date the event monitor was created.
	CreatedAt time.Time `json:"created_at"`
	// ID of the member who last updated the monitor.
	UpdatedBy NullableString `json:"updated_by"`
	// The date the event monitor was last updated.
	UpdatedAt NullableTime `json:"updated_at"`
	// The ids of the notification templates that the monitor is associated with.
	NotificationTemplateIds []string `json:"notification_template_ids"`
}

EventMonitor struct for EventMonitor

func NewEventMonitor added in v0.4.0

func NewEventMonitor(id string, name string, description string, conditions []EventMonitorCondition, createdBy string, createdAt time.Time, updatedBy NullableString, updatedAt NullableTime, notificationTemplateIds []string) *EventMonitor

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

func NewEventMonitorWithDefaults added in v0.4.0

func NewEventMonitorWithDefaults() *EventMonitor

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

func (*EventMonitor) GetConditions added in v0.4.0

func (o *EventMonitor) GetConditions() []EventMonitorCondition

GetConditions returns the Conditions field value

func (*EventMonitor) GetConditionsOk added in v0.4.0

func (o *EventMonitor) GetConditionsOk() ([]EventMonitorCondition, bool)

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

func (*EventMonitor) GetCreatedAt added in v0.4.0

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

GetCreatedAt returns the CreatedAt field value

func (*EventMonitor) GetCreatedAtOk added in v0.4.0

func (o *EventMonitor) 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 (*EventMonitor) GetCreatedBy added in v0.4.0

func (o *EventMonitor) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*EventMonitor) GetCreatedByOk added in v0.4.0

func (o *EventMonitor) GetCreatedByOk() (*string, bool)

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

func (*EventMonitor) GetDescription added in v0.4.0

func (o *EventMonitor) GetDescription() string

GetDescription returns the Description field value

func (*EventMonitor) GetDescriptionOk added in v0.4.0

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

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

func (*EventMonitor) GetId added in v0.4.0

func (o *EventMonitor) GetId() string

GetId returns the Id field value

func (*EventMonitor) GetIdOk added in v0.4.0

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

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

func (*EventMonitor) GetName added in v0.4.0

func (o *EventMonitor) GetName() string

GetName returns the Name field value

func (*EventMonitor) GetNameOk added in v0.4.0

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

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

func (*EventMonitor) GetNotificationTemplateIds added in v0.4.0

func (o *EventMonitor) GetNotificationTemplateIds() []string

GetNotificationTemplateIds returns the NotificationTemplateIds field value

func (*EventMonitor) GetNotificationTemplateIdsOk added in v0.4.0

func (o *EventMonitor) GetNotificationTemplateIdsOk() ([]string, bool)

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

func (*EventMonitor) GetUpdatedAt added in v0.4.0

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

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

func (*EventMonitor) GetUpdatedAtOk added in v0.4.0

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

GetUpdatedAtOk returns a tuple with the UpdatedAt 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 (*EventMonitor) GetUpdatedBy added in v0.4.0

func (o *EventMonitor) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*EventMonitor) GetUpdatedByOk added in v0.4.0

func (o *EventMonitor) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy 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 (EventMonitor) MarshalJSON added in v0.4.0

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

func (*EventMonitor) SetConditions added in v0.4.0

func (o *EventMonitor) SetConditions(v []EventMonitorCondition)

SetConditions sets field value

func (*EventMonitor) SetCreatedAt added in v0.4.0

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

SetCreatedAt sets field value

func (*EventMonitor) SetCreatedBy added in v0.4.0

func (o *EventMonitor) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*EventMonitor) SetDescription added in v0.4.0

func (o *EventMonitor) SetDescription(v string)

SetDescription sets field value

func (*EventMonitor) SetId added in v0.4.0

func (o *EventMonitor) SetId(v string)

SetId sets field value

func (*EventMonitor) SetName added in v0.4.0

func (o *EventMonitor) SetName(v string)

SetName sets field value

func (*EventMonitor) SetNotificationTemplateIds added in v0.4.0

func (o *EventMonitor) SetNotificationTemplateIds(v []string)

SetNotificationTemplateIds sets field value

func (*EventMonitor) SetUpdatedAt added in v0.4.0

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

SetUpdatedAt sets field value

func (*EventMonitor) SetUpdatedBy added in v0.4.0

func (o *EventMonitor) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (EventMonitor) ToMap added in v0.4.0

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

func (*EventMonitor) UnmarshalJSON added in v0.4.0

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

type EventMonitorCondition added in v0.4.0

type EventMonitorCondition struct {
	// The number of times a condition can be met before it triggers its monitor.
	Threshold int32 `json:"threshold"`
	// How the condition should compare values (less than or greater than)
	Comparator string `json:"comparator"`
	// The time offset from now() in the past in milliseconds.
	Delay int64 `json:"delay"`
	// Indicates how far in the future from delay we will be looking in milliseconds.
	TimePeriod int64                        `json:"time_period"`
	Details    EventMonitorConditionDetails `json:"details"`
}

EventMonitorCondition struct for EventMonitorCondition

func NewEventMonitorCondition added in v0.4.0

func NewEventMonitorCondition(threshold int32, comparator string, delay int64, timePeriod int64, details EventMonitorConditionDetails) *EventMonitorCondition

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

func NewEventMonitorConditionWithDefaults added in v0.4.0

func NewEventMonitorConditionWithDefaults() *EventMonitorCondition

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

func (*EventMonitorCondition) GetComparator added in v0.4.0

func (o *EventMonitorCondition) GetComparator() string

GetComparator returns the Comparator field value

func (*EventMonitorCondition) GetComparatorOk added in v0.4.0

func (o *EventMonitorCondition) GetComparatorOk() (*string, bool)

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

func (*EventMonitorCondition) GetDelay added in v0.4.0

func (o *EventMonitorCondition) GetDelay() int64

GetDelay returns the Delay field value

func (*EventMonitorCondition) GetDelayOk added in v0.4.0

func (o *EventMonitorCondition) GetDelayOk() (*int64, bool)

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

func (*EventMonitorCondition) GetDetails added in v0.4.0

GetDetails returns the Details field value

func (*EventMonitorCondition) GetDetailsOk added in v0.4.0

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

func (*EventMonitorCondition) GetThreshold added in v0.4.0

func (o *EventMonitorCondition) GetThreshold() int32

GetThreshold returns the Threshold field value

func (*EventMonitorCondition) GetThresholdOk added in v0.4.0

func (o *EventMonitorCondition) GetThresholdOk() (*int32, bool)

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

func (*EventMonitorCondition) GetTimePeriod added in v0.4.0

func (o *EventMonitorCondition) GetTimePeriod() int64

GetTimePeriod returns the TimePeriod field value

func (*EventMonitorCondition) GetTimePeriodOk added in v0.4.0

func (o *EventMonitorCondition) GetTimePeriodOk() (*int64, bool)

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

func (EventMonitorCondition) MarshalJSON added in v0.4.0

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

func (*EventMonitorCondition) SetComparator added in v0.4.0

func (o *EventMonitorCondition) SetComparator(v string)

SetComparator sets field value

func (*EventMonitorCondition) SetDelay added in v0.4.0

func (o *EventMonitorCondition) SetDelay(v int64)

SetDelay sets field value

func (*EventMonitorCondition) SetDetails added in v0.4.0

SetDetails sets field value

func (*EventMonitorCondition) SetThreshold added in v0.4.0

func (o *EventMonitorCondition) SetThreshold(v int32)

SetThreshold sets field value

func (*EventMonitorCondition) SetTimePeriod added in v0.4.0

func (o *EventMonitorCondition) SetTimePeriod(v int64)

SetTimePeriod sets field value

func (EventMonitorCondition) ToMap added in v0.4.0

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

func (*EventMonitorCondition) UnmarshalJSON added in v0.4.0

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

type EventMonitorConditionDetails added in v0.4.0

type EventMonitorConditionDetails struct {
	EventMonitorConditionEvent  *EventMonitorConditionEvent
	EventMonitorConditionMetric *EventMonitorConditionMetric
}

EventMonitorConditionDetails - struct for EventMonitorConditionDetails

func EventMonitorConditionEventAsEventMonitorConditionDetails added in v0.4.0

func EventMonitorConditionEventAsEventMonitorConditionDetails(v *EventMonitorConditionEvent) EventMonitorConditionDetails

EventMonitorConditionEventAsEventMonitorConditionDetails is a convenience function that returns EventMonitorConditionEvent wrapped in EventMonitorConditionDetails

func EventMonitorConditionMetricAsEventMonitorConditionDetails added in v0.4.0

func EventMonitorConditionMetricAsEventMonitorConditionDetails(v *EventMonitorConditionMetric) EventMonitorConditionDetails

EventMonitorConditionMetricAsEventMonitorConditionDetails is a convenience function that returns EventMonitorConditionMetric wrapped in EventMonitorConditionDetails

func (*EventMonitorConditionDetails) GetActualInstance added in v0.4.0

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

Get the actual instance

func (EventMonitorConditionDetails) MarshalJSON added in v0.4.0

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

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

func (*EventMonitorConditionDetails) UnmarshalJSON added in v0.4.0

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

Unmarshal JSON data into one of the pointers in the struct

type EventMonitorConditionEvent added in v0.4.0

type EventMonitorConditionEvent struct {
	// The type that maps to which request schema we should be using.
	Type string `json:"type"`
	// The action taken by what the 'actor' represents
	Action *string `json:"action,omitempty"`
	// ID of the entity the actor is affecting
	Subject *string `json:"subject,omitempty"`
	// From where the event is being generated
	Source *string `json:"source,omitempty"`
	// The ID of the entity/user generating the event
	Actor *string `json:"actor,omitempty"`
	// A slug of the entity type that actor represents
	ActorType *string `json:"actor_type,omitempty"`
	// A slug of the entity type that subject represents
	SubjectType *string `json:"subject_type,omitempty"`
}

EventMonitorConditionEvent struct for EventMonitorConditionEvent

func NewEventMonitorConditionEvent added in v0.4.0

func NewEventMonitorConditionEvent(type_ string) *EventMonitorConditionEvent

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

func NewEventMonitorConditionEventWithDefaults added in v0.4.0

func NewEventMonitorConditionEventWithDefaults() *EventMonitorConditionEvent

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

func (*EventMonitorConditionEvent) GetAction added in v0.4.0

func (o *EventMonitorConditionEvent) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*EventMonitorConditionEvent) GetActionOk added in v0.4.0

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

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

func (*EventMonitorConditionEvent) GetActor added in v0.4.0

func (o *EventMonitorConditionEvent) GetActor() string

GetActor returns the Actor field value if set, zero value otherwise.

func (*EventMonitorConditionEvent) GetActorOk added in v0.4.0

func (o *EventMonitorConditionEvent) GetActorOk() (*string, bool)

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

func (*EventMonitorConditionEvent) GetActorType added in v0.4.0

func (o *EventMonitorConditionEvent) GetActorType() string

GetActorType returns the ActorType field value if set, zero value otherwise.

func (*EventMonitorConditionEvent) GetActorTypeOk added in v0.4.0

func (o *EventMonitorConditionEvent) GetActorTypeOk() (*string, bool)

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

func (*EventMonitorConditionEvent) GetSource added in v0.4.0

func (o *EventMonitorConditionEvent) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*EventMonitorConditionEvent) GetSourceOk added in v0.4.0

func (o *EventMonitorConditionEvent) GetSourceOk() (*string, bool)

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

func (*EventMonitorConditionEvent) GetSubject added in v0.4.0

func (o *EventMonitorConditionEvent) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*EventMonitorConditionEvent) GetSubjectOk added in v0.4.0

func (o *EventMonitorConditionEvent) GetSubjectOk() (*string, bool)

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

func (*EventMonitorConditionEvent) GetSubjectType added in v0.4.0

func (o *EventMonitorConditionEvent) GetSubjectType() string

GetSubjectType returns the SubjectType field value if set, zero value otherwise.

func (*EventMonitorConditionEvent) GetSubjectTypeOk added in v0.4.0

func (o *EventMonitorConditionEvent) GetSubjectTypeOk() (*string, bool)

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

func (*EventMonitorConditionEvent) GetType added in v0.4.0

func (o *EventMonitorConditionEvent) GetType() string

GetType returns the Type field value

func (*EventMonitorConditionEvent) GetTypeOk added in v0.4.0

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

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

func (*EventMonitorConditionEvent) HasAction added in v0.4.0

func (o *EventMonitorConditionEvent) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*EventMonitorConditionEvent) HasActor added in v0.4.0

func (o *EventMonitorConditionEvent) HasActor() bool

HasActor returns a boolean if a field has been set.

func (*EventMonitorConditionEvent) HasActorType added in v0.4.0

func (o *EventMonitorConditionEvent) HasActorType() bool

HasActorType returns a boolean if a field has been set.

func (*EventMonitorConditionEvent) HasSource added in v0.4.0

func (o *EventMonitorConditionEvent) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*EventMonitorConditionEvent) HasSubject added in v0.4.0

func (o *EventMonitorConditionEvent) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*EventMonitorConditionEvent) HasSubjectType added in v0.4.0

func (o *EventMonitorConditionEvent) HasSubjectType() bool

HasSubjectType returns a boolean if a field has been set.

func (EventMonitorConditionEvent) MarshalJSON added in v0.4.0

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

func (*EventMonitorConditionEvent) SetAction added in v0.4.0

func (o *EventMonitorConditionEvent) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*EventMonitorConditionEvent) SetActor added in v0.4.0

func (o *EventMonitorConditionEvent) SetActor(v string)

SetActor gets a reference to the given string and assigns it to the Actor field.

func (*EventMonitorConditionEvent) SetActorType added in v0.4.0

func (o *EventMonitorConditionEvent) SetActorType(v string)

SetActorType gets a reference to the given string and assigns it to the ActorType field.

func (*EventMonitorConditionEvent) SetSource added in v0.4.0

func (o *EventMonitorConditionEvent) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (*EventMonitorConditionEvent) SetSubject added in v0.4.0

func (o *EventMonitorConditionEvent) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*EventMonitorConditionEvent) SetSubjectType added in v0.4.0

func (o *EventMonitorConditionEvent) SetSubjectType(v string)

SetSubjectType gets a reference to the given string and assigns it to the SubjectType field.

func (*EventMonitorConditionEvent) SetType added in v0.4.0

func (o *EventMonitorConditionEvent) SetType(v string)

SetType sets field value

func (EventMonitorConditionEvent) ToMap added in v0.4.0

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

func (*EventMonitorConditionEvent) UnmarshalJSON added in v0.4.0

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

type EventMonitorConditionMetric added in v0.4.0

type EventMonitorConditionMetric struct {
	// The type that maps to which request schema we should be using.
	Type string `json:"type"`
	// The tag this condition operates on.
	Tag *string `json:"tag,omitempty"`
	// The spec IDs to filter for.
	SpecId []string `json:"spec_id,omitempty"`
	// The endpoint IDs to filter for.
	EndpointId []string `json:"endpoint_id,omitempty"`
	// The collection IDs to filter for.
	CollectionId []string `json:"collection_id,omitempty"`
}

EventMonitorConditionMetric struct for EventMonitorConditionMetric

func NewEventMonitorConditionMetric added in v0.4.0

func NewEventMonitorConditionMetric(type_ string) *EventMonitorConditionMetric

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

func NewEventMonitorConditionMetricWithDefaults added in v0.4.0

func NewEventMonitorConditionMetricWithDefaults() *EventMonitorConditionMetric

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

func (*EventMonitorConditionMetric) GetCollectionId added in v0.4.0

func (o *EventMonitorConditionMetric) GetCollectionId() []string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*EventMonitorConditionMetric) GetCollectionIdOk added in v0.4.0

func (o *EventMonitorConditionMetric) GetCollectionIdOk() ([]string, bool)

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

func (*EventMonitorConditionMetric) GetEndpointId added in v0.4.0

func (o *EventMonitorConditionMetric) GetEndpointId() []string

GetEndpointId returns the EndpointId field value if set, zero value otherwise.

func (*EventMonitorConditionMetric) GetEndpointIdOk added in v0.4.0

func (o *EventMonitorConditionMetric) GetEndpointIdOk() ([]string, bool)

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

func (*EventMonitorConditionMetric) GetSpecId added in v0.4.0

func (o *EventMonitorConditionMetric) GetSpecId() []string

GetSpecId returns the SpecId field value if set, zero value otherwise.

func (*EventMonitorConditionMetric) GetSpecIdOk added in v0.4.0

func (o *EventMonitorConditionMetric) GetSpecIdOk() ([]string, bool)

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

func (*EventMonitorConditionMetric) GetTag added in v0.4.0

func (o *EventMonitorConditionMetric) GetTag() string

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

func (*EventMonitorConditionMetric) GetTagOk added in v0.4.0

func (o *EventMonitorConditionMetric) GetTagOk() (*string, bool)

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

func (*EventMonitorConditionMetric) GetType added in v0.4.0

func (o *EventMonitorConditionMetric) GetType() string

GetType returns the Type field value

func (*EventMonitorConditionMetric) GetTypeOk added in v0.4.0

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

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

func (*EventMonitorConditionMetric) HasCollectionId added in v0.4.0

func (o *EventMonitorConditionMetric) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*EventMonitorConditionMetric) HasEndpointId added in v0.4.0

func (o *EventMonitorConditionMetric) HasEndpointId() bool

HasEndpointId returns a boolean if a field has been set.

func (*EventMonitorConditionMetric) HasSpecId added in v0.4.0

func (o *EventMonitorConditionMetric) HasSpecId() bool

HasSpecId returns a boolean if a field has been set.

func (*EventMonitorConditionMetric) HasTag added in v0.4.0

func (o *EventMonitorConditionMetric) HasTag() bool

HasTag returns a boolean if a field has been set.

func (EventMonitorConditionMetric) MarshalJSON added in v0.4.0

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

func (*EventMonitorConditionMetric) SetCollectionId added in v0.4.0

func (o *EventMonitorConditionMetric) SetCollectionId(v []string)

SetCollectionId gets a reference to the given []string and assigns it to the CollectionId field.

func (*EventMonitorConditionMetric) SetEndpointId added in v0.4.0

func (o *EventMonitorConditionMetric) SetEndpointId(v []string)

SetEndpointId gets a reference to the given []string and assigns it to the EndpointId field.

func (*EventMonitorConditionMetric) SetSpecId added in v0.4.0

func (o *EventMonitorConditionMetric) SetSpecId(v []string)

SetSpecId gets a reference to the given []string and assigns it to the SpecId field.

func (*EventMonitorConditionMetric) SetTag added in v0.4.0

func (o *EventMonitorConditionMetric) SetTag(v string)

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

func (*EventMonitorConditionMetric) SetType added in v0.4.0

func (o *EventMonitorConditionMetric) SetType(v string)

SetType sets field value

func (EventMonitorConditionMetric) ToMap added in v0.4.0

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

func (*EventMonitorConditionMetric) UnmarshalJSON added in v0.4.0

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

type EventMonitorConditionPostBody added in v0.4.0

type EventMonitorConditionPostBody struct {
	// The number of times a condition can be met before it triggers its monitor.
	Threshold int32 `json:"threshold"`
	// How the condition should compare values (less than or greater than)
	Comparator string `json:"comparator"`
	// The time offset from now() in the past in milliseconds.
	Delay int64 `json:"delay"`
	// Indicates how far in the future from delay we will be looking in milliseconds.
	TimePeriod int64                        `json:"time_period"`
	Details    EventMonitorConditionDetails `json:"details"`
}

EventMonitorConditionPostBody struct for EventMonitorConditionPostBody

func NewEventMonitorConditionPostBody added in v0.4.0

func NewEventMonitorConditionPostBody(threshold int32, comparator string, delay int64, timePeriod int64, details EventMonitorConditionDetails) *EventMonitorConditionPostBody

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

func NewEventMonitorConditionPostBodyWithDefaults added in v0.4.0

func NewEventMonitorConditionPostBodyWithDefaults() *EventMonitorConditionPostBody

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

func (*EventMonitorConditionPostBody) GetComparator added in v0.4.0

func (o *EventMonitorConditionPostBody) GetComparator() string

GetComparator returns the Comparator field value

func (*EventMonitorConditionPostBody) GetComparatorOk added in v0.4.0

func (o *EventMonitorConditionPostBody) GetComparatorOk() (*string, bool)

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

func (*EventMonitorConditionPostBody) GetDelay added in v0.4.0

func (o *EventMonitorConditionPostBody) GetDelay() int64

GetDelay returns the Delay field value

func (*EventMonitorConditionPostBody) GetDelayOk added in v0.4.0

func (o *EventMonitorConditionPostBody) GetDelayOk() (*int64, bool)

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

func (*EventMonitorConditionPostBody) GetDetails added in v0.4.0

GetDetails returns the Details field value

func (*EventMonitorConditionPostBody) GetDetailsOk added in v0.4.0

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

func (*EventMonitorConditionPostBody) GetThreshold added in v0.4.0

func (o *EventMonitorConditionPostBody) GetThreshold() int32

GetThreshold returns the Threshold field value

func (*EventMonitorConditionPostBody) GetThresholdOk added in v0.4.0

func (o *EventMonitorConditionPostBody) GetThresholdOk() (*int32, bool)

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

func (*EventMonitorConditionPostBody) GetTimePeriod added in v0.4.0

func (o *EventMonitorConditionPostBody) GetTimePeriod() int64

GetTimePeriod returns the TimePeriod field value

func (*EventMonitorConditionPostBody) GetTimePeriodOk added in v0.4.0

func (o *EventMonitorConditionPostBody) GetTimePeriodOk() (*int64, bool)

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

func (EventMonitorConditionPostBody) MarshalJSON added in v0.4.0

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

func (*EventMonitorConditionPostBody) SetComparator added in v0.4.0

func (o *EventMonitorConditionPostBody) SetComparator(v string)

SetComparator sets field value

func (*EventMonitorConditionPostBody) SetDelay added in v0.4.0

func (o *EventMonitorConditionPostBody) SetDelay(v int64)

SetDelay sets field value

func (*EventMonitorConditionPostBody) SetDetails added in v0.4.0

SetDetails sets field value

func (*EventMonitorConditionPostBody) SetThreshold added in v0.4.0

func (o *EventMonitorConditionPostBody) SetThreshold(v int32)

SetThreshold sets field value

func (*EventMonitorConditionPostBody) SetTimePeriod added in v0.4.0

func (o *EventMonitorConditionPostBody) SetTimePeriod(v int64)

SetTimePeriod sets field value

func (EventMonitorConditionPostBody) ToMap added in v0.4.0

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

func (*EventMonitorConditionPostBody) UnmarshalJSON added in v0.4.0

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

type EventMonitorPostBody added in v0.4.0

type EventMonitorPostBody struct {
	// The name of the event monitor and what it represents.
	Name string `json:"name"`
	// A human readable string describing what this monitor is for.
	Description string `json:"description"`
	// Array of condition objects that (if all are true) will trigger the monitor.
	Conditions []EventMonitorConditionPostBody `json:"conditions"`
	// The ids of the notification templates that the monitor is associated with.
	NotificationTemplateIds []string `json:"notification_template_ids"`
}

EventMonitorPostBody struct for EventMonitorPostBody

func NewEventMonitorPostBody added in v0.4.0

func NewEventMonitorPostBody(name string, description string, conditions []EventMonitorConditionPostBody, notificationTemplateIds []string) *EventMonitorPostBody

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

func NewEventMonitorPostBodyWithDefaults added in v0.4.0

func NewEventMonitorPostBodyWithDefaults() *EventMonitorPostBody

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

func (*EventMonitorPostBody) GetConditions added in v0.4.0

GetConditions returns the Conditions field value

func (*EventMonitorPostBody) GetConditionsOk added in v0.4.0

func (o *EventMonitorPostBody) GetConditionsOk() ([]EventMonitorConditionPostBody, bool)

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

func (*EventMonitorPostBody) GetDescription added in v0.4.0

func (o *EventMonitorPostBody) GetDescription() string

GetDescription returns the Description field value

func (*EventMonitorPostBody) GetDescriptionOk added in v0.4.0

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

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

func (*EventMonitorPostBody) GetName added in v0.4.0

func (o *EventMonitorPostBody) GetName() string

GetName returns the Name field value

func (*EventMonitorPostBody) GetNameOk added in v0.4.0

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

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

func (*EventMonitorPostBody) GetNotificationTemplateIds added in v0.4.0

func (o *EventMonitorPostBody) GetNotificationTemplateIds() []string

GetNotificationTemplateIds returns the NotificationTemplateIds field value

func (*EventMonitorPostBody) GetNotificationTemplateIdsOk added in v0.4.0

func (o *EventMonitorPostBody) GetNotificationTemplateIdsOk() ([]string, bool)

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

func (EventMonitorPostBody) MarshalJSON added in v0.4.0

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

func (*EventMonitorPostBody) SetConditions added in v0.4.0

SetConditions sets field value

func (*EventMonitorPostBody) SetDescription added in v0.4.0

func (o *EventMonitorPostBody) SetDescription(v string)

SetDescription sets field value

func (*EventMonitorPostBody) SetName added in v0.4.0

func (o *EventMonitorPostBody) SetName(v string)

SetName sets field value

func (*EventMonitorPostBody) SetNotificationTemplateIds added in v0.4.0

func (o *EventMonitorPostBody) SetNotificationTemplateIds(v []string)

SetNotificationTemplateIds sets field value

func (EventMonitorPostBody) ToMap added in v0.4.0

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

func (*EventMonitorPostBody) UnmarshalJSON added in v0.4.0

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

type EventMonitors added in v0.4.0

type EventMonitors struct {
	// A list of event monitors.
	Items []EventMonitor `json:"items"`
	Meta  CollectionMeta `json:"meta"`
}

EventMonitors struct for EventMonitors

func NewEventMonitors added in v0.4.0

func NewEventMonitors(items []EventMonitor, meta CollectionMeta) *EventMonitors

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

func NewEventMonitorsWithDefaults added in v0.4.0

func NewEventMonitorsWithDefaults() *EventMonitors

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

func (*EventMonitors) GetItems added in v0.4.0

func (o *EventMonitors) GetItems() []EventMonitor

GetItems returns the Items field value

func (*EventMonitors) GetItemsOk added in v0.4.0

func (o *EventMonitors) GetItemsOk() ([]EventMonitor, bool)

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

func (*EventMonitors) GetMeta added in v0.4.0

func (o *EventMonitors) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*EventMonitors) GetMetaOk added in v0.4.0

func (o *EventMonitors) GetMetaOk() (*CollectionMeta, bool)

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

func (EventMonitors) MarshalJSON added in v0.4.0

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

func (*EventMonitors) SetItems added in v0.4.0

func (o *EventMonitors) SetItems(v []EventMonitor)

SetItems sets field value

func (*EventMonitors) SetMeta added in v0.4.0

func (o *EventMonitors) SetMeta(v CollectionMeta)

SetMeta sets field value

func (EventMonitors) ToMap added in v0.4.0

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

func (*EventMonitors) UnmarshalJSON added in v0.4.0

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

type EventMonitorsAPI added in v0.4.0

type EventMonitorsAPI interface {

	/*
		CreateEventMonitor Create an event monitor

		Creates an event monitor for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiCreateEventMonitorRequest
	*/
	CreateEventMonitor(ctx context.Context, orgId string) ApiCreateEventMonitorRequest

	// CreateEventMonitorExecute executes the request
	//  @return EventMonitor
	CreateEventMonitorExecute(r ApiCreateEventMonitorRequest) (*EventMonitor, *http.Response, error)

	/*
		DeleteEventMonitor Delete an event monitor

		Deletes an event monitor from an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param eventMonitorId Event Monitor ID
		@return ApiDeleteEventMonitorRequest
	*/
	DeleteEventMonitor(ctx context.Context, orgId string, eventMonitorId string) ApiDeleteEventMonitorRequest

	// DeleteEventMonitorExecute executes the request
	DeleteEventMonitorExecute(r ApiDeleteEventMonitorRequest) (*http.Response, error)

	/*
		GetEventMonitor Get an event monitor

		Gets an event monitor for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param eventMonitorId Event Monitor ID
		@return ApiGetEventMonitorRequest
	*/
	GetEventMonitor(ctx context.Context, orgId string, eventMonitorId string) ApiGetEventMonitorRequest

	// GetEventMonitorExecute executes the request
	//  @return EventMonitor
	GetEventMonitorExecute(r ApiGetEventMonitorRequest) (*EventMonitor, *http.Response, error)

	/*
		GetEventMonitors Get event monitors

		Gets a list of event monitors for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiGetEventMonitorsRequest
	*/
	GetEventMonitors(ctx context.Context, orgId string) ApiGetEventMonitorsRequest

	// GetEventMonitorsExecute executes the request
	//  @return EventMonitors
	GetEventMonitorsExecute(r ApiGetEventMonitorsRequest) (*EventMonitors, *http.Response, error)

	/*
		UpdateEventMonitor update an event monitor

		updates an event monitor for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param eventMonitorId Event Monitor ID
		@return ApiUpdateEventMonitorRequest
	*/
	UpdateEventMonitor(ctx context.Context, orgId string, eventMonitorId string) ApiUpdateEventMonitorRequest

	// UpdateEventMonitorExecute executes the request
	//  @return EventMonitor
	UpdateEventMonitorExecute(r ApiUpdateEventMonitorRequest) (*EventMonitor, *http.Response, error)
}

type EventMonitorsAPIService added in v0.4.0

type EventMonitorsAPIService service

EventMonitorsAPIService EventMonitorsAPI service

func (*EventMonitorsAPIService) CreateEventMonitor added in v0.4.0

CreateEventMonitor Create an event monitor

Creates an event monitor for an organization.

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

func (*EventMonitorsAPIService) CreateEventMonitorExecute added in v0.4.0

Execute executes the request

@return EventMonitor

func (*EventMonitorsAPIService) DeleteEventMonitor added in v0.4.0

func (a *EventMonitorsAPIService) DeleteEventMonitor(ctx context.Context, orgId string, eventMonitorId string) ApiDeleteEventMonitorRequest

DeleteEventMonitor Delete an event monitor

Deletes an event monitor from an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param eventMonitorId Event Monitor ID
@return ApiDeleteEventMonitorRequest

func (*EventMonitorsAPIService) DeleteEventMonitorExecute added in v0.4.0

func (a *EventMonitorsAPIService) DeleteEventMonitorExecute(r ApiDeleteEventMonitorRequest) (*http.Response, error)

Execute executes the request

func (*EventMonitorsAPIService) GetEventMonitor added in v0.4.0

func (a *EventMonitorsAPIService) GetEventMonitor(ctx context.Context, orgId string, eventMonitorId string) ApiGetEventMonitorRequest

GetEventMonitor Get an event monitor

Gets an event monitor for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param eventMonitorId Event Monitor ID
@return ApiGetEventMonitorRequest

func (*EventMonitorsAPIService) GetEventMonitorExecute added in v0.4.0

Execute executes the request

@return EventMonitor

func (*EventMonitorsAPIService) GetEventMonitors added in v0.4.0

GetEventMonitors Get event monitors

Gets a list of event monitors for an organization.

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

func (*EventMonitorsAPIService) GetEventMonitorsExecute added in v0.4.0

Execute executes the request

@return EventMonitors

func (*EventMonitorsAPIService) UpdateEventMonitor added in v0.4.0

func (a *EventMonitorsAPIService) UpdateEventMonitor(ctx context.Context, orgId string, eventMonitorId string) ApiUpdateEventMonitorRequest

UpdateEventMonitor update an event monitor

updates an event monitor for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param eventMonitorId Event Monitor ID
@return ApiUpdateEventMonitorRequest

func (*EventMonitorsAPIService) UpdateEventMonitorExecute added in v0.4.0

Execute executes the request

@return EventMonitor

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 InspectorReqMsg added in v0.5.0

type InspectorReqMsg struct {
	// The request URL. The URL must be valid with either `http` or `https` as the schema. The host may be in the format `hostname:port` or `hostname`. If the port is not present, the default port for the schema is used. If no path is provided `/` is used. The URL may include query parameters.
	Url string `json:"url"`
	// The HTTP method requested by the client.
	Method string `json:"method"`
	// Indicates whether the request body was truncated.
	TruncatedBody *bool `json:"truncated_body,omitempty"`
	// The base64 encoded HTTP request body.
	Body *string `json:"body,omitempty"`
	// The HTTP request header keys. Each key should have a corresponding header_values at the matching index.
	HeaderKeys []string `json:"header_keys,omitempty"`
	// The HTTP request header values. Each value should have a corresponding header_keys at the matching index.
	HeaderValues []string `json:"header_values,omitempty"`
	// The HTTP request cookie keys. Each key should have a corresponding cookie_values at the matching index.
	CookieKeys []string `json:"cookie_keys,omitempty"`
	// The HTTP request cookie values. Each value should have a corresponding cookie_keys at the matching index.
	CookieValues []string `json:"cookie_values,omitempty"`
	// The address of the client. This will usually be a load balancer address.
	RemoteAddr *string `json:"remote_addr,omitempty"`
}

InspectorReqMsg An payload sent to the inspector to inspect an HTTP request.

func NewInspectorReqMsg added in v0.5.0

func NewInspectorReqMsg(url string, method string) *InspectorReqMsg

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

func NewInspectorReqMsgWithDefaults added in v0.5.0

func NewInspectorReqMsgWithDefaults() *InspectorReqMsg

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

func (*InspectorReqMsg) GetBody added in v0.5.0

func (o *InspectorReqMsg) GetBody() string

GetBody returns the Body field value if set, zero value otherwise.

func (*InspectorReqMsg) GetBodyOk added in v0.5.0

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

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

func (*InspectorReqMsg) GetCookieKeys added in v0.5.0

func (o *InspectorReqMsg) GetCookieKeys() []string

GetCookieKeys returns the CookieKeys field value if set, zero value otherwise.

func (*InspectorReqMsg) GetCookieKeysOk added in v0.5.0

func (o *InspectorReqMsg) GetCookieKeysOk() ([]string, bool)

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

func (*InspectorReqMsg) GetCookieValues added in v0.5.0

func (o *InspectorReqMsg) GetCookieValues() []string

GetCookieValues returns the CookieValues field value if set, zero value otherwise.

func (*InspectorReqMsg) GetCookieValuesOk added in v0.5.0

func (o *InspectorReqMsg) GetCookieValuesOk() ([]string, bool)

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

func (*InspectorReqMsg) GetHeaderKeys added in v0.5.0

func (o *InspectorReqMsg) GetHeaderKeys() []string

GetHeaderKeys returns the HeaderKeys field value if set, zero value otherwise.

func (*InspectorReqMsg) GetHeaderKeysOk added in v0.5.0

func (o *InspectorReqMsg) GetHeaderKeysOk() ([]string, bool)

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

func (*InspectorReqMsg) GetHeaderValues added in v0.5.0

func (o *InspectorReqMsg) GetHeaderValues() []string

GetHeaderValues returns the HeaderValues field value if set, zero value otherwise.

func (*InspectorReqMsg) GetHeaderValuesOk added in v0.5.0

func (o *InspectorReqMsg) GetHeaderValuesOk() ([]string, bool)

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

func (*InspectorReqMsg) GetMethod added in v0.5.0

func (o *InspectorReqMsg) GetMethod() string

GetMethod returns the Method field value

func (*InspectorReqMsg) GetMethodOk added in v0.5.0

func (o *InspectorReqMsg) GetMethodOk() (*string, bool)

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

func (*InspectorReqMsg) GetRemoteAddr added in v0.5.0

func (o *InspectorReqMsg) GetRemoteAddr() string

GetRemoteAddr returns the RemoteAddr field value if set, zero value otherwise.

func (*InspectorReqMsg) GetRemoteAddrOk added in v0.5.0

func (o *InspectorReqMsg) GetRemoteAddrOk() (*string, bool)

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

func (*InspectorReqMsg) GetTruncatedBody added in v0.5.0

func (o *InspectorReqMsg) GetTruncatedBody() bool

GetTruncatedBody returns the TruncatedBody field value if set, zero value otherwise.

func (*InspectorReqMsg) GetTruncatedBodyOk added in v0.5.0

func (o *InspectorReqMsg) GetTruncatedBodyOk() (*bool, bool)

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

func (*InspectorReqMsg) GetUrl added in v0.5.0

func (o *InspectorReqMsg) GetUrl() string

GetUrl returns the Url field value

func (*InspectorReqMsg) GetUrlOk added in v0.5.0

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

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

func (*InspectorReqMsg) HasBody added in v0.5.0

func (o *InspectorReqMsg) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*InspectorReqMsg) HasCookieKeys added in v0.5.0

func (o *InspectorReqMsg) HasCookieKeys() bool

HasCookieKeys returns a boolean if a field has been set.

func (*InspectorReqMsg) HasCookieValues added in v0.5.0

func (o *InspectorReqMsg) HasCookieValues() bool

HasCookieValues returns a boolean if a field has been set.

func (*InspectorReqMsg) HasHeaderKeys added in v0.5.0

func (o *InspectorReqMsg) HasHeaderKeys() bool

HasHeaderKeys returns a boolean if a field has been set.

func (*InspectorReqMsg) HasHeaderValues added in v0.5.0

func (o *InspectorReqMsg) HasHeaderValues() bool

HasHeaderValues returns a boolean if a field has been set.

func (*InspectorReqMsg) HasRemoteAddr added in v0.5.0

func (o *InspectorReqMsg) HasRemoteAddr() bool

HasRemoteAddr returns a boolean if a field has been set.

func (*InspectorReqMsg) HasTruncatedBody added in v0.5.0

func (o *InspectorReqMsg) HasTruncatedBody() bool

HasTruncatedBody returns a boolean if a field has been set.

func (InspectorReqMsg) MarshalJSON added in v0.5.0

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

func (*InspectorReqMsg) SetBody added in v0.5.0

func (o *InspectorReqMsg) SetBody(v string)

SetBody gets a reference to the given string and assigns it to the Body field.

func (*InspectorReqMsg) SetCookieKeys added in v0.5.0

func (o *InspectorReqMsg) SetCookieKeys(v []string)

SetCookieKeys gets a reference to the given []string and assigns it to the CookieKeys field.

func (*InspectorReqMsg) SetCookieValues added in v0.5.0

func (o *InspectorReqMsg) SetCookieValues(v []string)

SetCookieValues gets a reference to the given []string and assigns it to the CookieValues field.

func (*InspectorReqMsg) SetHeaderKeys added in v0.5.0

func (o *InspectorReqMsg) SetHeaderKeys(v []string)

SetHeaderKeys gets a reference to the given []string and assigns it to the HeaderKeys field.

func (*InspectorReqMsg) SetHeaderValues added in v0.5.0

func (o *InspectorReqMsg) SetHeaderValues(v []string)

SetHeaderValues gets a reference to the given []string and assigns it to the HeaderValues field.

func (*InspectorReqMsg) SetMethod added in v0.5.0

func (o *InspectorReqMsg) SetMethod(v string)

SetMethod sets field value

func (*InspectorReqMsg) SetRemoteAddr added in v0.5.0

func (o *InspectorReqMsg) SetRemoteAddr(v string)

SetRemoteAddr gets a reference to the given string and assigns it to the RemoteAddr field.

func (*InspectorReqMsg) SetTruncatedBody added in v0.5.0

func (o *InspectorReqMsg) SetTruncatedBody(v bool)

SetTruncatedBody gets a reference to the given bool and assigns it to the TruncatedBody field.

func (*InspectorReqMsg) SetUrl added in v0.5.0

func (o *InspectorReqMsg) SetUrl(v string)

SetUrl sets field value

func (InspectorReqMsg) ToMap added in v0.5.0

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

func (*InspectorReqMsg) UnmarshalJSON added in v0.5.0

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

type InspectorReqMsgResponse added in v0.5.0

type InspectorReqMsgResponse struct {
	// will contain any error encountered during the inspection. A non-empty error is equivalent to failing open.
	Error *string `json:"error,omitempty"`
	// If true, the request will be blocked. If false, the request will be allowed.
	Block bool `json:"block"`
	// The HTTP status code.
	StatusCode *int32 `json:"status_code,omitempty"`
	// The URL to redirect to.
	RedirectUrl *string `json:"redirect_url,omitempty"`
	// Additional HTTP header keys to add to the response. Each key should have a corresponding additional_header_values at the matching index.
	AdditionalHeaderKeys []string `json:"additional_header_keys,omitempty"`
	// Additional HTTP header values to add to the response. Each value should have a corresponding additional_header_keys at the matching index.
	AdditionalHeaderValues []string `json:"additional_header_values,omitempty"`
	// HTTP header keys to delete from the response.
	DeletedHeaderKeys []string `json:"deleted_header_keys,omitempty"`
	// Tags to apply.
	Tags []string `json:"tags,omitempty"`
}

InspectorReqMsgResponse The result of inspecting an HTTP request.

func NewInspectorReqMsgResponse added in v0.5.0

func NewInspectorReqMsgResponse(block bool) *InspectorReqMsgResponse

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

func NewInspectorReqMsgResponseWithDefaults added in v0.5.0

func NewInspectorReqMsgResponseWithDefaults() *InspectorReqMsgResponse

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

func (*InspectorReqMsgResponse) GetAdditionalHeaderKeys added in v0.5.0

func (o *InspectorReqMsgResponse) GetAdditionalHeaderKeys() []string

GetAdditionalHeaderKeys returns the AdditionalHeaderKeys field value if set, zero value otherwise.

func (*InspectorReqMsgResponse) GetAdditionalHeaderKeysOk added in v0.5.0

func (o *InspectorReqMsgResponse) GetAdditionalHeaderKeysOk() ([]string, bool)

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

func (*InspectorReqMsgResponse) GetAdditionalHeaderValues added in v0.5.0

func (o *InspectorReqMsgResponse) GetAdditionalHeaderValues() []string

GetAdditionalHeaderValues returns the AdditionalHeaderValues field value if set, zero value otherwise.

func (*InspectorReqMsgResponse) GetAdditionalHeaderValuesOk added in v0.5.0

func (o *InspectorReqMsgResponse) GetAdditionalHeaderValuesOk() ([]string, bool)

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

func (*InspectorReqMsgResponse) GetBlock added in v0.5.0

func (o *InspectorReqMsgResponse) GetBlock() bool

GetBlock returns the Block field value

func (*InspectorReqMsgResponse) GetBlockOk added in v0.5.0

func (o *InspectorReqMsgResponse) GetBlockOk() (*bool, bool)

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

func (*InspectorReqMsgResponse) GetDeletedHeaderKeys added in v0.5.0

func (o *InspectorReqMsgResponse) GetDeletedHeaderKeys() []string

GetDeletedHeaderKeys returns the DeletedHeaderKeys field value if set, zero value otherwise.

func (*InspectorReqMsgResponse) GetDeletedHeaderKeysOk added in v0.5.0

func (o *InspectorReqMsgResponse) GetDeletedHeaderKeysOk() ([]string, bool)

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

func (*InspectorReqMsgResponse) GetError added in v0.5.0

func (o *InspectorReqMsgResponse) GetError() string

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

func (*InspectorReqMsgResponse) GetErrorOk added in v0.5.0

func (o *InspectorReqMsgResponse) 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 (*InspectorReqMsgResponse) GetRedirectUrl added in v0.5.0

func (o *InspectorReqMsgResponse) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise.

func (*InspectorReqMsgResponse) GetRedirectUrlOk added in v0.5.0

func (o *InspectorReqMsgResponse) GetRedirectUrlOk() (*string, bool)

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

func (*InspectorReqMsgResponse) GetStatusCode added in v0.5.0

func (o *InspectorReqMsgResponse) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*InspectorReqMsgResponse) GetStatusCodeOk added in v0.5.0

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

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

func (*InspectorReqMsgResponse) GetTags added in v0.5.0

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

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

func (*InspectorReqMsgResponse) GetTagsOk added in v0.5.0

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

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

func (*InspectorReqMsgResponse) HasAdditionalHeaderKeys added in v0.5.0

func (o *InspectorReqMsgResponse) HasAdditionalHeaderKeys() bool

HasAdditionalHeaderKeys returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasAdditionalHeaderValues added in v0.5.0

func (o *InspectorReqMsgResponse) HasAdditionalHeaderValues() bool

HasAdditionalHeaderValues returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasDeletedHeaderKeys added in v0.5.0

func (o *InspectorReqMsgResponse) HasDeletedHeaderKeys() bool

HasDeletedHeaderKeys returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasError added in v0.5.0

func (o *InspectorReqMsgResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasRedirectUrl added in v0.5.0

func (o *InspectorReqMsgResponse) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasStatusCode added in v0.5.0

func (o *InspectorReqMsgResponse) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasTags added in v0.5.0

func (o *InspectorReqMsgResponse) HasTags() bool

HasTags returns a boolean if a field has been set.

func (InspectorReqMsgResponse) MarshalJSON added in v0.5.0

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

func (*InspectorReqMsgResponse) SetAdditionalHeaderKeys added in v0.5.0

func (o *InspectorReqMsgResponse) SetAdditionalHeaderKeys(v []string)

SetAdditionalHeaderKeys gets a reference to the given []string and assigns it to the AdditionalHeaderKeys field.

func (*InspectorReqMsgResponse) SetAdditionalHeaderValues added in v0.5.0

func (o *InspectorReqMsgResponse) SetAdditionalHeaderValues(v []string)

SetAdditionalHeaderValues gets a reference to the given []string and assigns it to the AdditionalHeaderValues field.

func (*InspectorReqMsgResponse) SetBlock added in v0.5.0

func (o *InspectorReqMsgResponse) SetBlock(v bool)

SetBlock sets field value

func (*InspectorReqMsgResponse) SetDeletedHeaderKeys added in v0.5.0

func (o *InspectorReqMsgResponse) SetDeletedHeaderKeys(v []string)

SetDeletedHeaderKeys gets a reference to the given []string and assigns it to the DeletedHeaderKeys field.

func (*InspectorReqMsgResponse) SetError added in v0.5.0

func (o *InspectorReqMsgResponse) SetError(v string)

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

func (*InspectorReqMsgResponse) SetRedirectUrl added in v0.5.0

func (o *InspectorReqMsgResponse) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given string and assigns it to the RedirectUrl field.

func (*InspectorReqMsgResponse) SetStatusCode added in v0.5.0

func (o *InspectorReqMsgResponse) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (*InspectorReqMsgResponse) SetTags added in v0.5.0

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

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

func (InspectorReqMsgResponse) ToMap added in v0.5.0

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

func (*InspectorReqMsgResponse) UnmarshalJSON added in v0.5.0

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

type InspectorResMsg added in v0.5.0

type InspectorResMsg struct {
	// Indicates whether the response body was truncated.
	TruncatedBody *bool `json:"truncated_body,omitempty"`
	// The base64 encoded HTTP response body.
	Body *string `json:"body,omitempty"`
	// The HTTP response header keys. Each key should have a corresponding header_values at the matching index.
	HeaderKeys []string `json:"header_keys,omitempty"`
	// The HTTP response header values. Each value should have a corresponding header_keys at the matching index.
	HeaderValues []string `json:"header_values,omitempty"`
	// The HTTP status code.
	StatusCode int32 `json:"status_code"`
}

InspectorResMsg An payload sent to the inspector to inspect an HTTP response.

func NewInspectorResMsg added in v0.5.0

func NewInspectorResMsg(statusCode int32) *InspectorResMsg

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

func NewInspectorResMsgWithDefaults added in v0.5.0

func NewInspectorResMsgWithDefaults() *InspectorResMsg

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

func (*InspectorResMsg) GetBody added in v0.5.0

func (o *InspectorResMsg) GetBody() string

GetBody returns the Body field value if set, zero value otherwise.

func (*InspectorResMsg) GetBodyOk added in v0.5.0

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

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

func (*InspectorResMsg) GetHeaderKeys added in v0.5.0

func (o *InspectorResMsg) GetHeaderKeys() []string

GetHeaderKeys returns the HeaderKeys field value if set, zero value otherwise.

func (*InspectorResMsg) GetHeaderKeysOk added in v0.5.0

func (o *InspectorResMsg) GetHeaderKeysOk() ([]string, bool)

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

func (*InspectorResMsg) GetHeaderValues added in v0.5.0

func (o *InspectorResMsg) GetHeaderValues() []string

GetHeaderValues returns the HeaderValues field value if set, zero value otherwise.

func (*InspectorResMsg) GetHeaderValuesOk added in v0.5.0

func (o *InspectorResMsg) GetHeaderValuesOk() ([]string, bool)

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

func (*InspectorResMsg) GetStatusCode added in v0.5.0

func (o *InspectorResMsg) GetStatusCode() int32

GetStatusCode returns the StatusCode field value

func (*InspectorResMsg) GetStatusCodeOk added in v0.5.0

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

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

func (*InspectorResMsg) GetTruncatedBody added in v0.5.0

func (o *InspectorResMsg) GetTruncatedBody() bool

GetTruncatedBody returns the TruncatedBody field value if set, zero value otherwise.

func (*InspectorResMsg) GetTruncatedBodyOk added in v0.5.0

func (o *InspectorResMsg) GetTruncatedBodyOk() (*bool, bool)

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

func (*InspectorResMsg) HasBody added in v0.5.0

func (o *InspectorResMsg) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*InspectorResMsg) HasHeaderKeys added in v0.5.0

func (o *InspectorResMsg) HasHeaderKeys() bool

HasHeaderKeys returns a boolean if a field has been set.

func (*InspectorResMsg) HasHeaderValues added in v0.5.0

func (o *InspectorResMsg) HasHeaderValues() bool

HasHeaderValues returns a boolean if a field has been set.

func (*InspectorResMsg) HasTruncatedBody added in v0.5.0

func (o *InspectorResMsg) HasTruncatedBody() bool

HasTruncatedBody returns a boolean if a field has been set.

func (InspectorResMsg) MarshalJSON added in v0.5.0

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

func (*InspectorResMsg) SetBody added in v0.5.0

func (o *InspectorResMsg) SetBody(v string)

SetBody gets a reference to the given string and assigns it to the Body field.

func (*InspectorResMsg) SetHeaderKeys added in v0.5.0

func (o *InspectorResMsg) SetHeaderKeys(v []string)

SetHeaderKeys gets a reference to the given []string and assigns it to the HeaderKeys field.

func (*InspectorResMsg) SetHeaderValues added in v0.5.0

func (o *InspectorResMsg) SetHeaderValues(v []string)

SetHeaderValues gets a reference to the given []string and assigns it to the HeaderValues field.

func (*InspectorResMsg) SetStatusCode added in v0.5.0

func (o *InspectorResMsg) SetStatusCode(v int32)

SetStatusCode sets field value

func (*InspectorResMsg) SetTruncatedBody added in v0.5.0

func (o *InspectorResMsg) SetTruncatedBody(v bool)

SetTruncatedBody gets a reference to the given bool and assigns it to the TruncatedBody field.

func (InspectorResMsg) ToMap added in v0.5.0

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

func (*InspectorResMsg) UnmarshalJSON added in v0.5.0

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

type InspectorResMsgResponse added in v0.5.0

type InspectorResMsgResponse struct {
	// will contain any error encountered during the inspection. A non-empty error is equivalent to failing open.
	Error *string `json:"error,omitempty"`
	// If true, the request will be blocked. If false, the request will be allowed.
	Block bool `json:"block"`
	// The HTTP status code.
	StatusCode *int32 `json:"status_code,omitempty"`
	// The URL to redirect to.
	RedirectUrl *string `json:"redirect_url,omitempty"`
	// Additional HTTP header keys to add to the response. Each key should have a corresponding additional_header_values at the matching index.
	AdditionalHeaderKeys []string `json:"additional_header_keys,omitempty"`
	// Additional HTTP header values to add to the response. Each value should have a corresponding additional_header_keys at the matching index.
	AdditionalHeaderValues []string `json:"additional_header_values,omitempty"`
	// HTTP header keys to delete from the response.
	DeletedHeaderKeys []string `json:"deleted_header_keys,omitempty"`
	// Tags to apply.
	Tags []string `json:"tags,omitempty"`
}

InspectorResMsgResponse The result of inspecting an HTTP response. Action can only be taken on the response if the request was not truncated.

func NewInspectorResMsgResponse added in v0.5.0

func NewInspectorResMsgResponse(block bool) *InspectorResMsgResponse

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

func NewInspectorResMsgResponseWithDefaults added in v0.5.0

func NewInspectorResMsgResponseWithDefaults() *InspectorResMsgResponse

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

func (*InspectorResMsgResponse) GetAdditionalHeaderKeys added in v0.5.0

func (o *InspectorResMsgResponse) GetAdditionalHeaderKeys() []string

GetAdditionalHeaderKeys returns the AdditionalHeaderKeys field value if set, zero value otherwise.

func (*InspectorResMsgResponse) GetAdditionalHeaderKeysOk added in v0.5.0

func (o *InspectorResMsgResponse) GetAdditionalHeaderKeysOk() ([]string, bool)

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

func (*InspectorResMsgResponse) GetAdditionalHeaderValues added in v0.5.0

func (o *InspectorResMsgResponse) GetAdditionalHeaderValues() []string

GetAdditionalHeaderValues returns the AdditionalHeaderValues field value if set, zero value otherwise.

func (*InspectorResMsgResponse) GetAdditionalHeaderValuesOk added in v0.5.0

func (o *InspectorResMsgResponse) GetAdditionalHeaderValuesOk() ([]string, bool)

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

func (*InspectorResMsgResponse) GetBlock added in v0.5.0

func (o *InspectorResMsgResponse) GetBlock() bool

GetBlock returns the Block field value

func (*InspectorResMsgResponse) GetBlockOk added in v0.5.0

func (o *InspectorResMsgResponse) GetBlockOk() (*bool, bool)

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

func (*InspectorResMsgResponse) GetDeletedHeaderKeys added in v0.5.0

func (o *InspectorResMsgResponse) GetDeletedHeaderKeys() []string

GetDeletedHeaderKeys returns the DeletedHeaderKeys field value if set, zero value otherwise.

func (*InspectorResMsgResponse) GetDeletedHeaderKeysOk added in v0.5.0

func (o *InspectorResMsgResponse) GetDeletedHeaderKeysOk() ([]string, bool)

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

func (*InspectorResMsgResponse) GetError added in v0.5.0

func (o *InspectorResMsgResponse) GetError() string

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

func (*InspectorResMsgResponse) GetErrorOk added in v0.5.0

func (o *InspectorResMsgResponse) 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 (*InspectorResMsgResponse) GetRedirectUrl added in v0.5.0

func (o *InspectorResMsgResponse) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise.

func (*InspectorResMsgResponse) GetRedirectUrlOk added in v0.5.0

func (o *InspectorResMsgResponse) GetRedirectUrlOk() (*string, bool)

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

func (*InspectorResMsgResponse) GetStatusCode added in v0.5.0

func (o *InspectorResMsgResponse) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*InspectorResMsgResponse) GetStatusCodeOk added in v0.5.0

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

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

func (*InspectorResMsgResponse) GetTags added in v0.5.0

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

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

func (*InspectorResMsgResponse) GetTagsOk added in v0.5.0

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

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

func (*InspectorResMsgResponse) HasAdditionalHeaderKeys added in v0.5.0

func (o *InspectorResMsgResponse) HasAdditionalHeaderKeys() bool

HasAdditionalHeaderKeys returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasAdditionalHeaderValues added in v0.5.0

func (o *InspectorResMsgResponse) HasAdditionalHeaderValues() bool

HasAdditionalHeaderValues returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasDeletedHeaderKeys added in v0.5.0

func (o *InspectorResMsgResponse) HasDeletedHeaderKeys() bool

HasDeletedHeaderKeys returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasError added in v0.5.0

func (o *InspectorResMsgResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasRedirectUrl added in v0.5.0

func (o *InspectorResMsgResponse) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasStatusCode added in v0.5.0

func (o *InspectorResMsgResponse) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasTags added in v0.5.0

func (o *InspectorResMsgResponse) HasTags() bool

HasTags returns a boolean if a field has been set.

func (InspectorResMsgResponse) MarshalJSON added in v0.5.0

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

func (*InspectorResMsgResponse) SetAdditionalHeaderKeys added in v0.5.0

func (o *InspectorResMsgResponse) SetAdditionalHeaderKeys(v []string)

SetAdditionalHeaderKeys gets a reference to the given []string and assigns it to the AdditionalHeaderKeys field.

func (*InspectorResMsgResponse) SetAdditionalHeaderValues added in v0.5.0

func (o *InspectorResMsgResponse) SetAdditionalHeaderValues(v []string)

SetAdditionalHeaderValues gets a reference to the given []string and assigns it to the AdditionalHeaderValues field.

func (*InspectorResMsgResponse) SetBlock added in v0.5.0

func (o *InspectorResMsgResponse) SetBlock(v bool)

SetBlock sets field value

func (*InspectorResMsgResponse) SetDeletedHeaderKeys added in v0.5.0

func (o *InspectorResMsgResponse) SetDeletedHeaderKeys(v []string)

SetDeletedHeaderKeys gets a reference to the given []string and assigns it to the DeletedHeaderKeys field.

func (*InspectorResMsgResponse) SetError added in v0.5.0

func (o *InspectorResMsgResponse) SetError(v string)

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

func (*InspectorResMsgResponse) SetRedirectUrl added in v0.5.0

func (o *InspectorResMsgResponse) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given string and assigns it to the RedirectUrl field.

func (*InspectorResMsgResponse) SetStatusCode added in v0.5.0

func (o *InspectorResMsgResponse) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (*InspectorResMsgResponse) SetTags added in v0.5.0

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

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

func (InspectorResMsgResponse) ToMap added in v0.5.0

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

func (*InspectorResMsgResponse) UnmarshalJSON added in v0.5.0

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

type LogBinding added in v0.2.0

type LogBinding struct {
	// The ID for a log binding.
	Id string `json:"id"`
	// The name of a log binding.
	Name string `json:"name"`
	// The logstream ID of a log binding.
	LogstreamId string `json:"logstream_id"`
	// The pattern type of a log binding.
	PatternType string `json:"pattern_type"`
	// The grok/json pattern of a log binding.
	Pattern string `json:"pattern"`
	// The spec ID associated with a log binding.
	SpecId string `json:"spec_id"`
	// ID of the member that created the Logq binding.
	CreatedBy string `json:"created_by"`
	// The date the log binding was created.
	CreatedAt time.Time `json:"created_at"`
}

LogBinding struct for LogBinding

func NewLogBinding added in v0.2.0

func NewLogBinding(id string, name string, logstreamId string, patternType string, pattern string, specId string, createdBy string, createdAt time.Time) *LogBinding

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

func NewLogBindingWithDefaults added in v0.2.0

func NewLogBindingWithDefaults() *LogBinding

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

func (*LogBinding) GetCreatedAt added in v0.2.0

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

GetCreatedAt returns the CreatedAt field value

func (*LogBinding) GetCreatedAtOk added in v0.2.0

func (o *LogBinding) 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 (*LogBinding) GetCreatedBy added in v0.2.0

func (o *LogBinding) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*LogBinding) GetCreatedByOk added in v0.2.0

func (o *LogBinding) GetCreatedByOk() (*string, bool)

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

func (*LogBinding) GetId added in v0.2.0

func (o *LogBinding) GetId() string

GetId returns the Id field value

func (*LogBinding) GetIdOk added in v0.2.0

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

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

func (*LogBinding) GetLogstreamId added in v0.2.0

func (o *LogBinding) GetLogstreamId() string

GetLogstreamId returns the LogstreamId field value

func (*LogBinding) GetLogstreamIdOk added in v0.2.0

func (o *LogBinding) GetLogstreamIdOk() (*string, bool)

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

func (*LogBinding) GetName added in v0.2.0

func (o *LogBinding) GetName() string

GetName returns the Name field value

func (*LogBinding) GetNameOk added in v0.2.0

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

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

func (*LogBinding) GetPattern added in v0.3.0

func (o *LogBinding) GetPattern() string

GetPattern returns the Pattern field value

func (*LogBinding) GetPatternOk added in v0.3.0

func (o *LogBinding) GetPatternOk() (*string, bool)

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

func (*LogBinding) GetPatternType added in v0.3.0

func (o *LogBinding) GetPatternType() string

GetPatternType returns the PatternType field value

func (*LogBinding) GetPatternTypeOk added in v0.3.0

func (o *LogBinding) GetPatternTypeOk() (*string, bool)

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

func (*LogBinding) GetSpecId added in v0.2.0

func (o *LogBinding) GetSpecId() string

GetSpecId returns the SpecId field value

func (*LogBinding) GetSpecIdOk added in v0.2.0

func (o *LogBinding) GetSpecIdOk() (*string, bool)

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

func (LogBinding) MarshalJSON added in v0.2.0

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

func (*LogBinding) SetCreatedAt added in v0.2.0

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

SetCreatedAt sets field value

func (*LogBinding) SetCreatedBy added in v0.2.0

func (o *LogBinding) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*LogBinding) SetId added in v0.2.0

func (o *LogBinding) SetId(v string)

SetId sets field value

func (*LogBinding) SetLogstreamId added in v0.2.0

func (o *LogBinding) SetLogstreamId(v string)

SetLogstreamId sets field value

func (*LogBinding) SetName added in v0.2.0

func (o *LogBinding) SetName(v string)

SetName sets field value

func (*LogBinding) SetPattern added in v0.3.0

func (o *LogBinding) SetPattern(v string)

SetPattern sets field value

func (*LogBinding) SetPatternType added in v0.3.0

func (o *LogBinding) SetPatternType(v string)

SetPatternType sets field value

func (*LogBinding) SetSpecId added in v0.2.0

func (o *LogBinding) SetSpecId(v string)

SetSpecId sets field value

func (LogBinding) ToMap added in v0.2.0

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

func (*LogBinding) UnmarshalJSON added in v0.2.0

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

type LogBindingPostBody added in v0.2.0

type LogBindingPostBody struct {
	Name        string  `json:"name"`
	SpecId      string  `json:"spec_id"`
	LogstreamId *string `json:"logstream_id,omitempty"`
	Pattern     string  `json:"pattern"`
	PatternType string  `json:"pattern_type"`
}

LogBindingPostBody struct for LogBindingPostBody

func NewLogBindingPostBody added in v0.2.0

func NewLogBindingPostBody(name string, specId string, pattern string, patternType string) *LogBindingPostBody

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

func NewLogBindingPostBodyWithDefaults added in v0.2.0

func NewLogBindingPostBodyWithDefaults() *LogBindingPostBody

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

func (*LogBindingPostBody) GetLogstreamId added in v0.2.0

func (o *LogBindingPostBody) GetLogstreamId() string

GetLogstreamId returns the LogstreamId field value if set, zero value otherwise.

func (*LogBindingPostBody) GetLogstreamIdOk added in v0.2.0

func (o *LogBindingPostBody) GetLogstreamIdOk() (*string, bool)

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

func (*LogBindingPostBody) GetName added in v0.2.0

func (o *LogBindingPostBody) GetName() string

GetName returns the Name field value

func (*LogBindingPostBody) GetNameOk added in v0.2.0

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

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

func (*LogBindingPostBody) GetPattern added in v0.3.0

func (o *LogBindingPostBody) GetPattern() string

GetPattern returns the Pattern field value

func (*LogBindingPostBody) GetPatternOk added in v0.3.0

func (o *LogBindingPostBody) GetPatternOk() (*string, bool)

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

func (*LogBindingPostBody) GetPatternType added in v0.3.0

func (o *LogBindingPostBody) GetPatternType() string

GetPatternType returns the PatternType field value

func (*LogBindingPostBody) GetPatternTypeOk added in v0.3.0

func (o *LogBindingPostBody) GetPatternTypeOk() (*string, bool)

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

func (*LogBindingPostBody) GetSpecId added in v0.2.0

func (o *LogBindingPostBody) GetSpecId() string

GetSpecId returns the SpecId field value

func (*LogBindingPostBody) GetSpecIdOk added in v0.2.0

func (o *LogBindingPostBody) GetSpecIdOk() (*string, bool)

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

func (*LogBindingPostBody) HasLogstreamId added in v0.2.0

func (o *LogBindingPostBody) HasLogstreamId() bool

HasLogstreamId returns a boolean if a field has been set.

func (LogBindingPostBody) MarshalJSON added in v0.2.0

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

func (*LogBindingPostBody) SetLogstreamId added in v0.2.0

func (o *LogBindingPostBody) SetLogstreamId(v string)

SetLogstreamId gets a reference to the given string and assigns it to the LogstreamId field.

func (*LogBindingPostBody) SetName added in v0.2.0

func (o *LogBindingPostBody) SetName(v string)

SetName sets field value

func (*LogBindingPostBody) SetPattern added in v0.3.0

func (o *LogBindingPostBody) SetPattern(v string)

SetPattern sets field value

func (*LogBindingPostBody) SetPatternType added in v0.3.0

func (o *LogBindingPostBody) SetPatternType(v string)

SetPatternType sets field value

func (*LogBindingPostBody) SetSpecId added in v0.2.0

func (o *LogBindingPostBody) SetSpecId(v string)

SetSpecId sets field value

func (LogBindingPostBody) ToMap added in v0.2.0

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

func (*LogBindingPostBody) UnmarshalJSON added in v0.2.0

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

type LogBindingPutBody added in v0.2.0

type LogBindingPutBody struct {
	Name        string `json:"name"`
	SpecId      string `json:"spec_id"`
	LogstreamId string `json:"logstream_id"`
	Pattern     string `json:"pattern"`
	PatternType string `json:"pattern_type"`
}

LogBindingPutBody struct for LogBindingPutBody

func NewLogBindingPutBody added in v0.2.0

func NewLogBindingPutBody(name string, specId string, logstreamId string, pattern string, patternType string) *LogBindingPutBody

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

func NewLogBindingPutBodyWithDefaults added in v0.2.0

func NewLogBindingPutBodyWithDefaults() *LogBindingPutBody

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

func (*LogBindingPutBody) GetLogstreamId added in v0.2.0

func (o *LogBindingPutBody) GetLogstreamId() string

GetLogstreamId returns the LogstreamId field value

func (*LogBindingPutBody) GetLogstreamIdOk added in v0.2.0

func (o *LogBindingPutBody) GetLogstreamIdOk() (*string, bool)

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

func (*LogBindingPutBody) GetName added in v0.2.0

func (o *LogBindingPutBody) GetName() string

GetName returns the Name field value

func (*LogBindingPutBody) GetNameOk added in v0.2.0

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

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

func (*LogBindingPutBody) GetPattern added in v0.3.0

func (o *LogBindingPutBody) GetPattern() string

GetPattern returns the Pattern field value

func (*LogBindingPutBody) GetPatternOk added in v0.3.0

func (o *LogBindingPutBody) GetPatternOk() (*string, bool)

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

func (*LogBindingPutBody) GetPatternType added in v0.3.0

func (o *LogBindingPutBody) GetPatternType() string

GetPatternType returns the PatternType field value

func (*LogBindingPutBody) GetPatternTypeOk added in v0.3.0

func (o *LogBindingPutBody) GetPatternTypeOk() (*string, bool)

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

func (*LogBindingPutBody) GetSpecId added in v0.2.0

func (o *LogBindingPutBody) GetSpecId() string

GetSpecId returns the SpecId field value

func (*LogBindingPutBody) GetSpecIdOk added in v0.2.0

func (o *LogBindingPutBody) GetSpecIdOk() (*string, bool)

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

func (LogBindingPutBody) MarshalJSON added in v0.2.0

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

func (*LogBindingPutBody) SetLogstreamId added in v0.2.0

func (o *LogBindingPutBody) SetLogstreamId(v string)

SetLogstreamId sets field value

func (*LogBindingPutBody) SetName added in v0.2.0

func (o *LogBindingPutBody) SetName(v string)

SetName sets field value

func (*LogBindingPutBody) SetPattern added in v0.3.0

func (o *LogBindingPutBody) SetPattern(v string)

SetPattern sets field value

func (*LogBindingPutBody) SetPatternType added in v0.3.0

func (o *LogBindingPutBody) SetPatternType(v string)

SetPatternType sets field value

func (*LogBindingPutBody) SetSpecId added in v0.2.0

func (o *LogBindingPutBody) SetSpecId(v string)

SetSpecId sets field value

func (LogBindingPutBody) ToMap added in v0.2.0

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

func (*LogBindingPutBody) UnmarshalJSON added in v0.2.0

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

type LogBindings added in v0.2.0

type LogBindings struct {
	// A list of log bindings.
	Items []LogBinding   `json:"items"`
	Meta  CollectionMeta `json:"meta"`
}

LogBindings struct for LogBindings

func NewLogBindings added in v0.2.0

func NewLogBindings(items []LogBinding, meta CollectionMeta) *LogBindings

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

func NewLogBindingsWithDefaults added in v0.2.0

func NewLogBindingsWithDefaults() *LogBindings

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

func (*LogBindings) GetItems added in v0.2.0

func (o *LogBindings) GetItems() []LogBinding

GetItems returns the Items field value

func (*LogBindings) GetItemsOk added in v0.2.0

func (o *LogBindings) GetItemsOk() ([]LogBinding, bool)

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

func (*LogBindings) GetMeta added in v0.2.0

func (o *LogBindings) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*LogBindings) GetMetaOk added in v0.2.0

func (o *LogBindings) GetMetaOk() (*CollectionMeta, bool)

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

func (LogBindings) MarshalJSON added in v0.2.0

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

func (*LogBindings) SetItems added in v0.2.0

func (o *LogBindings) SetItems(v []LogBinding)

SetItems sets field value

func (*LogBindings) SetMeta added in v0.2.0

func (o *LogBindings) SetMeta(v CollectionMeta)

SetMeta sets field value

func (LogBindings) ToMap added in v0.2.0

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

func (*LogBindings) UnmarshalJSON added in v0.2.0

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

type LogBindingsAPI added in v0.2.0

type LogBindingsAPI interface {

	/*
		CreateLogBinding Create a log binding

		Creates a log binding for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiCreateLogBindingRequest
	*/
	CreateLogBinding(ctx context.Context, orgId string) ApiCreateLogBindingRequest

	// CreateLogBindingExecute executes the request
	//  @return LogBinding
	CreateLogBindingExecute(r ApiCreateLogBindingRequest) (*LogBinding, *http.Response, error)

	/*
		DeleteLogBinding Delete a log binding

		Deletes a log binding from an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param logBindingId Log Binding ID
		@return ApiDeleteLogBindingRequest
	*/
	DeleteLogBinding(ctx context.Context, orgId string, logBindingId string) ApiDeleteLogBindingRequest

	// DeleteLogBindingExecute executes the request
	DeleteLogBindingExecute(r ApiDeleteLogBindingRequest) (*http.Response, error)

	/*
		GetLogBinding Get a log binding

		Gets a log binding for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param logBindingId Log Binding ID
		@return ApiGetLogBindingRequest
	*/
	GetLogBinding(ctx context.Context, orgId string, logBindingId string) ApiGetLogBindingRequest

	// GetLogBindingExecute executes the request
	//  @return LogBinding
	GetLogBindingExecute(r ApiGetLogBindingRequest) (*LogBinding, *http.Response, error)

	/*
		GetLogBindings Get log bindings

		Gets a list of log bindings for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiGetLogBindingsRequest
	*/
	GetLogBindings(ctx context.Context, orgId string) ApiGetLogBindingsRequest

	// GetLogBindingsExecute executes the request
	//  @return LogBindings
	GetLogBindingsExecute(r ApiGetLogBindingsRequest) (*LogBindings, *http.Response, error)

	/*
		UpdateLogBinding Update a log binding

		Updates a log binding for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param logBindingId Log Binding ID
		@return ApiUpdateLogBindingRequest
	*/
	UpdateLogBinding(ctx context.Context, orgId string, logBindingId string) ApiUpdateLogBindingRequest

	// UpdateLogBindingExecute executes the request
	//  @return LogBinding
	UpdateLogBindingExecute(r ApiUpdateLogBindingRequest) (*LogBinding, *http.Response, error)
}

type LogBindingsAPIService added in v0.2.0

type LogBindingsAPIService service

LogBindingsAPIService LogBindingsAPI service

func (*LogBindingsAPIService) CreateLogBinding added in v0.2.0

func (a *LogBindingsAPIService) CreateLogBinding(ctx context.Context, orgId string) ApiCreateLogBindingRequest

CreateLogBinding Create a log binding

Creates a log binding for an organization.

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

func (*LogBindingsAPIService) CreateLogBindingExecute added in v0.2.0

func (a *LogBindingsAPIService) CreateLogBindingExecute(r ApiCreateLogBindingRequest) (*LogBinding, *http.Response, error)

Execute executes the request

@return LogBinding

func (*LogBindingsAPIService) DeleteLogBinding added in v0.2.0

func (a *LogBindingsAPIService) DeleteLogBinding(ctx context.Context, orgId string, logBindingId string) ApiDeleteLogBindingRequest

DeleteLogBinding Delete a log binding

Deletes a log binding from an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param logBindingId Log Binding ID
@return ApiDeleteLogBindingRequest

func (*LogBindingsAPIService) DeleteLogBindingExecute added in v0.2.0

func (a *LogBindingsAPIService) DeleteLogBindingExecute(r ApiDeleteLogBindingRequest) (*http.Response, error)

Execute executes the request

func (*LogBindingsAPIService) GetLogBinding added in v0.2.0

func (a *LogBindingsAPIService) GetLogBinding(ctx context.Context, orgId string, logBindingId string) ApiGetLogBindingRequest

GetLogBinding Get a log binding

Gets a log binding for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param logBindingId Log Binding ID
@return ApiGetLogBindingRequest

func (*LogBindingsAPIService) GetLogBindingExecute added in v0.2.0

Execute executes the request

@return LogBinding

func (*LogBindingsAPIService) GetLogBindings added in v0.2.0

GetLogBindings Get log bindings

Gets a list of log bindings for an organization.

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

func (*LogBindingsAPIService) GetLogBindingsExecute added in v0.2.0

Execute executes the request

@return LogBindings

func (*LogBindingsAPIService) UpdateLogBinding added in v0.2.0

func (a *LogBindingsAPIService) UpdateLogBinding(ctx context.Context, orgId string, logBindingId string) ApiUpdateLogBindingRequest

UpdateLogBinding Update a log binding

Updates a log binding for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param logBindingId Log Binding ID
@return ApiUpdateLogBindingRequest

func (*LogBindingsAPIService) UpdateLogBindingExecute added in v0.2.0

func (a *LogBindingsAPIService) UpdateLogBindingExecute(r ApiUpdateLogBindingRequest) (*LogBinding, *http.Response, error)

Execute executes the request

@return LogBinding

type MappedNullable

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

type NotificationTemplate added in v0.4.0

type NotificationTemplate struct {
	// The ID of the notification template.
	Id string `json:"id"`
	// The ID of the connector.
	ConnectorId string `json:"connector_id"`
	// The name of the notification template.
	Name string `json:"name"`
	// The text payload to be sent in a notification.
	Payload string `json:"payload"`
	// The text for the subject of the message payload.
	Subject string `json:"subject"`
	// An array of ids for where the notification should be sent.
	Destination []string `json:"destination"`
	// ID of the  member who created the notification template.
	CreatedBy string `json:"created_by"`
	// The date the notification template was created.
	CreatedAt time.Time `json:"created_at"`
	// ID of the member who last updated the notification template.
	UpdatedBy NullableString `json:"updated_by"`
	// The date of when the notification template was last updated.
	UpdatedAt NullableTime `json:"updated_at"`
}

NotificationTemplate struct for NotificationTemplate

func NewNotificationTemplate added in v0.4.0

func NewNotificationTemplate(id string, connectorId string, name string, payload string, subject string, destination []string, createdBy string, createdAt time.Time, updatedBy NullableString, updatedAt NullableTime) *NotificationTemplate

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

func NewNotificationTemplateWithDefaults added in v0.4.0

func NewNotificationTemplateWithDefaults() *NotificationTemplate

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

func (*NotificationTemplate) GetConnectorId added in v0.4.0

func (o *NotificationTemplate) GetConnectorId() string

GetConnectorId returns the ConnectorId field value

func (*NotificationTemplate) GetConnectorIdOk added in v0.4.0

func (o *NotificationTemplate) GetConnectorIdOk() (*string, bool)

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

func (*NotificationTemplate) GetCreatedAt added in v0.4.0

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

GetCreatedAt returns the CreatedAt field value

func (*NotificationTemplate) GetCreatedAtOk added in v0.4.0

func (o *NotificationTemplate) 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 (*NotificationTemplate) GetCreatedBy added in v0.4.0

func (o *NotificationTemplate) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*NotificationTemplate) GetCreatedByOk added in v0.4.0

func (o *NotificationTemplate) GetCreatedByOk() (*string, bool)

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

func (*NotificationTemplate) GetDestination added in v0.4.0

func (o *NotificationTemplate) GetDestination() []string

GetDestination returns the Destination field value

func (*NotificationTemplate) GetDestinationOk added in v0.4.0

func (o *NotificationTemplate) GetDestinationOk() ([]string, bool)

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

func (*NotificationTemplate) GetId added in v0.4.0

func (o *NotificationTemplate) GetId() string

GetId returns the Id field value

func (*NotificationTemplate) GetIdOk added in v0.4.0

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

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

func (*NotificationTemplate) GetName added in v0.4.0

func (o *NotificationTemplate) GetName() string

GetName returns the Name field value

func (*NotificationTemplate) GetNameOk added in v0.4.0

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

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

func (*NotificationTemplate) GetPayload added in v0.4.0

func (o *NotificationTemplate) GetPayload() string

GetPayload returns the Payload field value

func (*NotificationTemplate) GetPayloadOk added in v0.4.0

func (o *NotificationTemplate) GetPayloadOk() (*string, bool)

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

func (*NotificationTemplate) GetSubject added in v0.4.0

func (o *NotificationTemplate) GetSubject() string

GetSubject returns the Subject field value

func (*NotificationTemplate) GetSubjectOk added in v0.4.0

func (o *NotificationTemplate) GetSubjectOk() (*string, bool)

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

func (*NotificationTemplate) GetUpdatedAt added in v0.4.0

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

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

func (*NotificationTemplate) GetUpdatedAtOk added in v0.4.0

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

GetUpdatedAtOk returns a tuple with the UpdatedAt 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 (*NotificationTemplate) GetUpdatedBy added in v0.4.0

func (o *NotificationTemplate) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*NotificationTemplate) GetUpdatedByOk added in v0.4.0

func (o *NotificationTemplate) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy 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 (NotificationTemplate) MarshalJSON added in v0.4.0

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

func (*NotificationTemplate) SetConnectorId added in v0.4.0

func (o *NotificationTemplate) SetConnectorId(v string)

SetConnectorId sets field value

func (*NotificationTemplate) SetCreatedAt added in v0.4.0

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

SetCreatedAt sets field value

func (*NotificationTemplate) SetCreatedBy added in v0.4.0

func (o *NotificationTemplate) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*NotificationTemplate) SetDestination added in v0.4.0

func (o *NotificationTemplate) SetDestination(v []string)

SetDestination sets field value

func (*NotificationTemplate) SetId added in v0.4.0

func (o *NotificationTemplate) SetId(v string)

SetId sets field value

func (*NotificationTemplate) SetName added in v0.4.0

func (o *NotificationTemplate) SetName(v string)

SetName sets field value

func (*NotificationTemplate) SetPayload added in v0.4.0

func (o *NotificationTemplate) SetPayload(v string)

SetPayload sets field value

func (*NotificationTemplate) SetSubject added in v0.4.0

func (o *NotificationTemplate) SetSubject(v string)

SetSubject sets field value

func (*NotificationTemplate) SetUpdatedAt added in v0.4.0

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

SetUpdatedAt sets field value

func (*NotificationTemplate) SetUpdatedBy added in v0.4.0

func (o *NotificationTemplate) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (NotificationTemplate) ToMap added in v0.4.0

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

func (*NotificationTemplate) UnmarshalJSON added in v0.4.0

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

type NotificationTemplatePostBody added in v0.4.0

type NotificationTemplatePostBody struct {
	// The ID of the connector.
	ConnectorId string `json:"connector_id"`
	// The name of the notification template.
	Name string `json:"name"`
	// The text payload to be sent in a notification.
	Payload string `json:"payload"`
	// The text for the subject of the message payload.
	Subject string `json:"subject"`
	// An array of ids for where the notification should be sent.
	Destination []string `json:"destination"`
}

NotificationTemplatePostBody struct for NotificationTemplatePostBody

func NewNotificationTemplatePostBody added in v0.4.0

func NewNotificationTemplatePostBody(connectorId string, name string, payload string, subject string, destination []string) *NotificationTemplatePostBody

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

func NewNotificationTemplatePostBodyWithDefaults added in v0.4.0

func NewNotificationTemplatePostBodyWithDefaults() *NotificationTemplatePostBody

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

func (*NotificationTemplatePostBody) GetConnectorId added in v0.4.0

func (o *NotificationTemplatePostBody) GetConnectorId() string

GetConnectorId returns the ConnectorId field value

func (*NotificationTemplatePostBody) GetConnectorIdOk added in v0.4.0

func (o *NotificationTemplatePostBody) GetConnectorIdOk() (*string, bool)

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

func (*NotificationTemplatePostBody) GetDestination added in v0.4.0

func (o *NotificationTemplatePostBody) GetDestination() []string

GetDestination returns the Destination field value

func (*NotificationTemplatePostBody) GetDestinationOk added in v0.4.0

func (o *NotificationTemplatePostBody) GetDestinationOk() ([]string, bool)

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

func (*NotificationTemplatePostBody) GetName added in v0.4.0

func (o *NotificationTemplatePostBody) GetName() string

GetName returns the Name field value

func (*NotificationTemplatePostBody) GetNameOk added in v0.4.0

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

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

func (*NotificationTemplatePostBody) GetPayload added in v0.4.0

func (o *NotificationTemplatePostBody) GetPayload() string

GetPayload returns the Payload field value

func (*NotificationTemplatePostBody) GetPayloadOk added in v0.4.0

func (o *NotificationTemplatePostBody) GetPayloadOk() (*string, bool)

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

func (*NotificationTemplatePostBody) GetSubject added in v0.4.0

func (o *NotificationTemplatePostBody) GetSubject() string

GetSubject returns the Subject field value

func (*NotificationTemplatePostBody) GetSubjectOk added in v0.4.0

func (o *NotificationTemplatePostBody) GetSubjectOk() (*string, bool)

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

func (NotificationTemplatePostBody) MarshalJSON added in v0.4.0

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

func (*NotificationTemplatePostBody) SetConnectorId added in v0.4.0

func (o *NotificationTemplatePostBody) SetConnectorId(v string)

SetConnectorId sets field value

func (*NotificationTemplatePostBody) SetDestination added in v0.4.0

func (o *NotificationTemplatePostBody) SetDestination(v []string)

SetDestination sets field value

func (*NotificationTemplatePostBody) SetName added in v0.4.0

func (o *NotificationTemplatePostBody) SetName(v string)

SetName sets field value

func (*NotificationTemplatePostBody) SetPayload added in v0.4.0

func (o *NotificationTemplatePostBody) SetPayload(v string)

SetPayload sets field value

func (*NotificationTemplatePostBody) SetSubject added in v0.4.0

func (o *NotificationTemplatePostBody) SetSubject(v string)

SetSubject sets field value

func (NotificationTemplatePostBody) ToMap added in v0.4.0

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

func (*NotificationTemplatePostBody) UnmarshalJSON added in v0.4.0

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

type NotificationTemplates added in v0.4.0

type NotificationTemplates struct {
	// A list of notification templates.
	Items []NotificationTemplate `json:"items"`
	Meta  CollectionMeta         `json:"meta"`
}

NotificationTemplates struct for NotificationTemplates

func NewNotificationTemplates added in v0.4.0

func NewNotificationTemplates(items []NotificationTemplate, meta CollectionMeta) *NotificationTemplates

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

func NewNotificationTemplatesWithDefaults added in v0.4.0

func NewNotificationTemplatesWithDefaults() *NotificationTemplates

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

func (*NotificationTemplates) GetItems added in v0.4.0

GetItems returns the Items field value

func (*NotificationTemplates) GetItemsOk added in v0.4.0

func (o *NotificationTemplates) GetItemsOk() ([]NotificationTemplate, bool)

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

func (*NotificationTemplates) GetMeta added in v0.4.0

GetMeta returns the Meta field value

func (*NotificationTemplates) GetMetaOk added in v0.4.0

func (o *NotificationTemplates) GetMetaOk() (*CollectionMeta, bool)

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

func (NotificationTemplates) MarshalJSON added in v0.4.0

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

func (*NotificationTemplates) SetItems added in v0.4.0

SetItems sets field value

func (*NotificationTemplates) SetMeta added in v0.4.0

func (o *NotificationTemplates) SetMeta(v CollectionMeta)

SetMeta sets field value

func (NotificationTemplates) ToMap added in v0.4.0

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

func (*NotificationTemplates) UnmarshalJSON added in v0.4.0

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

type NotificationTemplatesAPI added in v0.4.0

type NotificationTemplatesAPI interface {

	/*
		CreateNotificationTemplate Create a notification template

		Creates a notification template for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiCreateNotificationTemplateRequest
	*/
	CreateNotificationTemplate(ctx context.Context, orgId string) ApiCreateNotificationTemplateRequest

	// CreateNotificationTemplateExecute executes the request
	//  @return NotificationTemplate
	CreateNotificationTemplateExecute(r ApiCreateNotificationTemplateRequest) (*NotificationTemplate, *http.Response, error)

	/*
		DeleteNotificationTemplate Delete a notification template

		Deletes a notification template from an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param notificationTemplateId Notification Template ID
		@return ApiDeleteNotificationTemplateRequest
	*/
	DeleteNotificationTemplate(ctx context.Context, orgId string, notificationTemplateId string) ApiDeleteNotificationTemplateRequest

	// DeleteNotificationTemplateExecute executes the request
	DeleteNotificationTemplateExecute(r ApiDeleteNotificationTemplateRequest) (*http.Response, error)

	/*
		GetNotificationTemplate Get a notification template

		Gets a notification template for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param notificationTemplateId Notification Template ID
		@return ApiGetNotificationTemplateRequest
	*/
	GetNotificationTemplate(ctx context.Context, orgId string, notificationTemplateId string) ApiGetNotificationTemplateRequest

	// GetNotificationTemplateExecute executes the request
	//  @return NotificationTemplate
	GetNotificationTemplateExecute(r ApiGetNotificationTemplateRequest) (*NotificationTemplate, *http.Response, error)

	/*
		GetNotificationTemplates Get notification templates

		Gets a list of notification templates for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiGetNotificationTemplatesRequest
	*/
	GetNotificationTemplates(ctx context.Context, orgId string) ApiGetNotificationTemplatesRequest

	// GetNotificationTemplatesExecute executes the request
	//  @return NotificationTemplates
	GetNotificationTemplatesExecute(r ApiGetNotificationTemplatesRequest) (*NotificationTemplates, *http.Response, error)

	/*
		UpdateNotificationTemplate Update a notification template

		Updates a notification template for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param notificationTemplateId Notification Template ID
		@return ApiUpdateNotificationTemplateRequest
	*/
	UpdateNotificationTemplate(ctx context.Context, orgId string, notificationTemplateId string) ApiUpdateNotificationTemplateRequest

	// UpdateNotificationTemplateExecute executes the request
	//  @return NotificationTemplate
	UpdateNotificationTemplateExecute(r ApiUpdateNotificationTemplateRequest) (*NotificationTemplate, *http.Response, error)
}

type NotificationTemplatesAPIService added in v0.4.0

type NotificationTemplatesAPIService service

NotificationTemplatesAPIService NotificationTemplatesAPI service

func (*NotificationTemplatesAPIService) CreateNotificationTemplate added in v0.4.0

CreateNotificationTemplate Create a notification template

Creates a notification template for an organization.

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

func (*NotificationTemplatesAPIService) CreateNotificationTemplateExecute added in v0.4.0

Execute executes the request

@return NotificationTemplate

func (*NotificationTemplatesAPIService) DeleteNotificationTemplate added in v0.4.0

func (a *NotificationTemplatesAPIService) DeleteNotificationTemplate(ctx context.Context, orgId string, notificationTemplateId string) ApiDeleteNotificationTemplateRequest

DeleteNotificationTemplate Delete a notification template

Deletes a notification template from an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param notificationTemplateId Notification Template ID
@return ApiDeleteNotificationTemplateRequest

func (*NotificationTemplatesAPIService) DeleteNotificationTemplateExecute added in v0.4.0

func (a *NotificationTemplatesAPIService) DeleteNotificationTemplateExecute(r ApiDeleteNotificationTemplateRequest) (*http.Response, error)

Execute executes the request

func (*NotificationTemplatesAPIService) GetNotificationTemplate added in v0.4.0

func (a *NotificationTemplatesAPIService) GetNotificationTemplate(ctx context.Context, orgId string, notificationTemplateId string) ApiGetNotificationTemplateRequest

GetNotificationTemplate Get a notification template

Gets a notification template for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param notificationTemplateId Notification Template ID
@return ApiGetNotificationTemplateRequest

func (*NotificationTemplatesAPIService) GetNotificationTemplateExecute added in v0.4.0

Execute executes the request

@return NotificationTemplate

func (*NotificationTemplatesAPIService) GetNotificationTemplates added in v0.4.0

GetNotificationTemplates Get notification templates

Gets a list of notification templates for an organization.

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

func (*NotificationTemplatesAPIService) GetNotificationTemplatesExecute added in v0.4.0

Execute executes the request

@return NotificationTemplates

func (*NotificationTemplatesAPIService) UpdateNotificationTemplate added in v0.4.0

func (a *NotificationTemplatesAPIService) UpdateNotificationTemplate(ctx context.Context, orgId string, notificationTemplateId string) ApiUpdateNotificationTemplateRequest

UpdateNotificationTemplate Update a notification template

Updates a notification template for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param notificationTemplateId Notification Template ID
@return ApiUpdateNotificationTemplateRequest

func (*NotificationTemplatesAPIService) UpdateNotificationTemplateExecute added in v0.4.0

Execute executes the request

@return NotificationTemplate

type NullableApiBinding

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

func NewNullableApiBinding

func NewNullableApiBinding(val *ApiBinding) *NullableApiBinding

func (NullableApiBinding) Get

func (v NullableApiBinding) Get() *ApiBinding

func (NullableApiBinding) IsSet

func (v NullableApiBinding) IsSet() bool

func (NullableApiBinding) MarshalJSON

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

func (*NullableApiBinding) Set

func (v *NullableApiBinding) Set(val *ApiBinding)

func (*NullableApiBinding) UnmarshalJSON

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

func (*NullableApiBinding) Unset

func (v *NullableApiBinding) Unset()

type NullableApiBindingPostBody

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

func NewNullableApiBindingPostBody

func NewNullableApiBindingPostBody(val *ApiBindingPostBody) *NullableApiBindingPostBody

func (NullableApiBindingPostBody) Get

func (NullableApiBindingPostBody) IsSet

func (v NullableApiBindingPostBody) IsSet() bool

func (NullableApiBindingPostBody) MarshalJSON

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

func (*NullableApiBindingPostBody) Set

func (*NullableApiBindingPostBody) UnmarshalJSON

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

func (*NullableApiBindingPostBody) Unset

func (v *NullableApiBindingPostBody) Unset()

type NullableBasicError

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

func NewNullableBasicError

func NewNullableBasicError(val *BasicError) *NullableBasicError

func (NullableBasicError) Get

func (v NullableBasicError) Get() *BasicError

func (NullableBasicError) IsSet

func (v NullableBasicError) IsSet() bool

func (NullableBasicError) MarshalJSON

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

func (*NullableBasicError) Set

func (v *NullableBasicError) Set(val *BasicError)

func (*NullableBasicError) UnmarshalJSON

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

func (*NullableBasicError) Unset

func (v *NullableBasicError) 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 NullableCollectionMeta added in v0.2.0

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

func NewNullableCollectionMeta added in v0.2.0

func NewNullableCollectionMeta(val *CollectionMeta) *NullableCollectionMeta

func (NullableCollectionMeta) Get added in v0.2.0

func (NullableCollectionMeta) IsSet added in v0.2.0

func (v NullableCollectionMeta) IsSet() bool

func (NullableCollectionMeta) MarshalJSON added in v0.2.0

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

func (*NullableCollectionMeta) Set added in v0.2.0

func (*NullableCollectionMeta) UnmarshalJSON added in v0.2.0

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

func (*NullableCollectionMeta) Unset added in v0.2.0

func (v *NullableCollectionMeta) Unset()

type NullableCompilationDiagnostic added in v0.5.0

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

func NewNullableCompilationDiagnostic added in v0.5.0

func NewNullableCompilationDiagnostic(val *CompilationDiagnostic) *NullableCompilationDiagnostic

func (NullableCompilationDiagnostic) Get added in v0.5.0

func (NullableCompilationDiagnostic) IsSet added in v0.5.0

func (NullableCompilationDiagnostic) MarshalJSON added in v0.5.0

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

func (*NullableCompilationDiagnostic) Set added in v0.5.0

func (*NullableCompilationDiagnostic) UnmarshalJSON added in v0.5.0

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

func (*NullableCompilationDiagnostic) Unset added in v0.5.0

func (v *NullableCompilationDiagnostic) Unset()

type NullableCompilationDiagnosticRange added in v0.5.0

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

func NewNullableCompilationDiagnosticRange added in v0.5.0

func NewNullableCompilationDiagnosticRange(val *CompilationDiagnosticRange) *NullableCompilationDiagnosticRange

func (NullableCompilationDiagnosticRange) Get added in v0.5.0

func (NullableCompilationDiagnosticRange) IsSet added in v0.5.0

func (NullableCompilationDiagnosticRange) MarshalJSON added in v0.5.0

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

func (*NullableCompilationDiagnosticRange) Set added in v0.5.0

func (*NullableCompilationDiagnosticRange) UnmarshalJSON added in v0.5.0

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

func (*NullableCompilationDiagnosticRange) Unset added in v0.5.0

type NullableCompilationDiagnostics added in v0.5.0

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

func NewNullableCompilationDiagnostics added in v0.5.0

func NewNullableCompilationDiagnostics(val *CompilationDiagnostics) *NullableCompilationDiagnostics

func (NullableCompilationDiagnostics) Get added in v0.5.0

func (NullableCompilationDiagnostics) IsSet added in v0.5.0

func (NullableCompilationDiagnostics) MarshalJSON added in v0.5.0

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

func (*NullableCompilationDiagnostics) Set added in v0.5.0

func (*NullableCompilationDiagnostics) UnmarshalJSON added in v0.5.0

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

func (*NullableCompilationDiagnostics) Unset added in v0.5.0

func (v *NullableCompilationDiagnostics) Unset()

type NullableConnector added in v0.4.0

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

func NewNullableConnector added in v0.4.0

func NewNullableConnector(val *Connector) *NullableConnector

func (NullableConnector) Get added in v0.4.0

func (v NullableConnector) Get() *Connector

func (NullableConnector) IsSet added in v0.4.0

func (v NullableConnector) IsSet() bool

func (NullableConnector) MarshalJSON added in v0.4.0

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

func (*NullableConnector) Set added in v0.4.0

func (v *NullableConnector) Set(val *Connector)

func (*NullableConnector) UnmarshalJSON added in v0.4.0

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

func (*NullableConnector) Unset added in v0.4.0

func (v *NullableConnector) Unset()

type NullableConnectorDestination added in v0.4.0

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

func NewNullableConnectorDestination added in v0.4.0

func NewNullableConnectorDestination(val *ConnectorDestination) *NullableConnectorDestination

func (NullableConnectorDestination) Get added in v0.4.0

func (NullableConnectorDestination) IsSet added in v0.4.0

func (NullableConnectorDestination) MarshalJSON added in v0.4.0

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

func (*NullableConnectorDestination) Set added in v0.4.0

func (*NullableConnectorDestination) UnmarshalJSON added in v0.4.0

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

func (*NullableConnectorDestination) Unset added in v0.4.0

func (v *NullableConnectorDestination) Unset()

type NullableConnectorDestinations added in v0.4.0

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

func NewNullableConnectorDestinations added in v0.4.0

func NewNullableConnectorDestinations(val *ConnectorDestinations) *NullableConnectorDestinations

func (NullableConnectorDestinations) Get added in v0.4.0

func (NullableConnectorDestinations) IsSet added in v0.4.0

func (NullableConnectorDestinations) MarshalJSON added in v0.4.0

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

func (*NullableConnectorDestinations) Set added in v0.4.0

func (*NullableConnectorDestinations) UnmarshalJSON added in v0.4.0

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

func (*NullableConnectorDestinations) Unset added in v0.4.0

func (v *NullableConnectorDestinations) Unset()

type NullableConnectorNotificationPostBody added in v0.4.0

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

func NewNullableConnectorNotificationPostBody added in v0.4.0

func NewNullableConnectorNotificationPostBody(val *ConnectorNotificationPostBody) *NullableConnectorNotificationPostBody

func (NullableConnectorNotificationPostBody) Get added in v0.4.0

func (NullableConnectorNotificationPostBody) IsSet added in v0.4.0

func (NullableConnectorNotificationPostBody) MarshalJSON added in v0.4.0

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

func (*NullableConnectorNotificationPostBody) Set added in v0.4.0

func (*NullableConnectorNotificationPostBody) UnmarshalJSON added in v0.4.0

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

func (*NullableConnectorNotificationPostBody) Unset added in v0.4.0

type NullableConnectorPostBody added in v0.4.0

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

func NewNullableConnectorPostBody added in v0.4.0

func NewNullableConnectorPostBody(val *ConnectorPostBody) *NullableConnectorPostBody

func (NullableConnectorPostBody) Get added in v0.4.0

func (NullableConnectorPostBody) IsSet added in v0.4.0

func (v NullableConnectorPostBody) IsSet() bool

func (NullableConnectorPostBody) MarshalJSON added in v0.4.0

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

func (*NullableConnectorPostBody) Set added in v0.4.0

func (*NullableConnectorPostBody) UnmarshalJSON added in v0.4.0

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

func (*NullableConnectorPostBody) Unset added in v0.4.0

func (v *NullableConnectorPostBody) Unset()

type NullableConnectorPutBody added in v0.4.0

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

func NewNullableConnectorPutBody added in v0.4.0

func NewNullableConnectorPutBody(val *ConnectorPutBody) *NullableConnectorPutBody

func (NullableConnectorPutBody) Get added in v0.4.0

func (NullableConnectorPutBody) IsSet added in v0.4.0

func (v NullableConnectorPutBody) IsSet() bool

func (NullableConnectorPutBody) MarshalJSON added in v0.4.0

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

func (*NullableConnectorPutBody) Set added in v0.4.0

func (*NullableConnectorPutBody) UnmarshalJSON added in v0.4.0

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

func (*NullableConnectorPutBody) Unset added in v0.4.0

func (v *NullableConnectorPutBody) Unset()

type NullableConnectorType added in v0.4.0

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

func NewNullableConnectorType added in v0.4.0

func NewNullableConnectorType(val *ConnectorType) *NullableConnectorType

func (NullableConnectorType) Get added in v0.4.0

func (NullableConnectorType) IsSet added in v0.4.0

func (v NullableConnectorType) IsSet() bool

func (NullableConnectorType) MarshalJSON added in v0.4.0

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

func (*NullableConnectorType) Set added in v0.4.0

func (v *NullableConnectorType) Set(val *ConnectorType)

func (*NullableConnectorType) UnmarshalJSON added in v0.4.0

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

func (*NullableConnectorType) Unset added in v0.4.0

func (v *NullableConnectorType) Unset()

type NullableConnectorTypes added in v0.4.0

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

func NewNullableConnectorTypes added in v0.4.0

func NewNullableConnectorTypes(val *ConnectorTypes) *NullableConnectorTypes

func (NullableConnectorTypes) Get added in v0.4.0

func (NullableConnectorTypes) IsSet added in v0.4.0

func (v NullableConnectorTypes) IsSet() bool

func (NullableConnectorTypes) MarshalJSON added in v0.4.0

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

func (*NullableConnectorTypes) Set added in v0.4.0

func (*NullableConnectorTypes) UnmarshalJSON added in v0.4.0

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

func (*NullableConnectorTypes) Unset added in v0.4.0

func (v *NullableConnectorTypes) Unset()

type NullableConnectors added in v0.4.0

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

func NewNullableConnectors added in v0.4.0

func NewNullableConnectors(val *Connectors) *NullableConnectors

func (NullableConnectors) Get added in v0.4.0

func (v NullableConnectors) Get() *Connectors

func (NullableConnectors) IsSet added in v0.4.0

func (v NullableConnectors) IsSet() bool

func (NullableConnectors) MarshalJSON added in v0.4.0

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

func (*NullableConnectors) Set added in v0.4.0

func (v *NullableConnectors) Set(val *Connectors)

func (*NullableConnectors) UnmarshalJSON added in v0.4.0

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

func (*NullableConnectors) Unset added in v0.4.0

func (v *NullableConnectors) Unset()

type NullableEventMonitor added in v0.4.0

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

func NewNullableEventMonitor added in v0.4.0

func NewNullableEventMonitor(val *EventMonitor) *NullableEventMonitor

func (NullableEventMonitor) Get added in v0.4.0

func (NullableEventMonitor) IsSet added in v0.4.0

func (v NullableEventMonitor) IsSet() bool

func (NullableEventMonitor) MarshalJSON added in v0.4.0

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

func (*NullableEventMonitor) Set added in v0.4.0

func (v *NullableEventMonitor) Set(val *EventMonitor)

func (*NullableEventMonitor) UnmarshalJSON added in v0.4.0

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

func (*NullableEventMonitor) Unset added in v0.4.0

func (v *NullableEventMonitor) Unset()

type NullableEventMonitorCondition added in v0.4.0

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

func NewNullableEventMonitorCondition added in v0.4.0

func NewNullableEventMonitorCondition(val *EventMonitorCondition) *NullableEventMonitorCondition

func (NullableEventMonitorCondition) Get added in v0.4.0

func (NullableEventMonitorCondition) IsSet added in v0.4.0

func (NullableEventMonitorCondition) MarshalJSON added in v0.4.0

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

func (*NullableEventMonitorCondition) Set added in v0.4.0

func (*NullableEventMonitorCondition) UnmarshalJSON added in v0.4.0

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

func (*NullableEventMonitorCondition) Unset added in v0.4.0

func (v *NullableEventMonitorCondition) Unset()

type NullableEventMonitorConditionDetails added in v0.4.0

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

func NewNullableEventMonitorConditionDetails added in v0.4.0

func NewNullableEventMonitorConditionDetails(val *EventMonitorConditionDetails) *NullableEventMonitorConditionDetails

func (NullableEventMonitorConditionDetails) Get added in v0.4.0

func (NullableEventMonitorConditionDetails) IsSet added in v0.4.0

func (NullableEventMonitorConditionDetails) MarshalJSON added in v0.4.0

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

func (*NullableEventMonitorConditionDetails) Set added in v0.4.0

func (*NullableEventMonitorConditionDetails) UnmarshalJSON added in v0.4.0

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

func (*NullableEventMonitorConditionDetails) Unset added in v0.4.0

type NullableEventMonitorConditionEvent added in v0.4.0

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

func NewNullableEventMonitorConditionEvent added in v0.4.0

func NewNullableEventMonitorConditionEvent(val *EventMonitorConditionEvent) *NullableEventMonitorConditionEvent

func (NullableEventMonitorConditionEvent) Get added in v0.4.0

func (NullableEventMonitorConditionEvent) IsSet added in v0.4.0

func (NullableEventMonitorConditionEvent) MarshalJSON added in v0.4.0

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

func (*NullableEventMonitorConditionEvent) Set added in v0.4.0

func (*NullableEventMonitorConditionEvent) UnmarshalJSON added in v0.4.0

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

func (*NullableEventMonitorConditionEvent) Unset added in v0.4.0

type NullableEventMonitorConditionMetric added in v0.4.0

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

func NewNullableEventMonitorConditionMetric added in v0.4.0

func NewNullableEventMonitorConditionMetric(val *EventMonitorConditionMetric) *NullableEventMonitorConditionMetric

func (NullableEventMonitorConditionMetric) Get added in v0.4.0

func (NullableEventMonitorConditionMetric) IsSet added in v0.4.0

func (NullableEventMonitorConditionMetric) MarshalJSON added in v0.4.0

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

func (*NullableEventMonitorConditionMetric) Set added in v0.4.0

func (*NullableEventMonitorConditionMetric) UnmarshalJSON added in v0.4.0

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

func (*NullableEventMonitorConditionMetric) Unset added in v0.4.0

type NullableEventMonitorConditionPostBody added in v0.4.0

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

func NewNullableEventMonitorConditionPostBody added in v0.4.0

func NewNullableEventMonitorConditionPostBody(val *EventMonitorConditionPostBody) *NullableEventMonitorConditionPostBody

func (NullableEventMonitorConditionPostBody) Get added in v0.4.0

func (NullableEventMonitorConditionPostBody) IsSet added in v0.4.0

func (NullableEventMonitorConditionPostBody) MarshalJSON added in v0.4.0

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

func (*NullableEventMonitorConditionPostBody) Set added in v0.4.0

func (*NullableEventMonitorConditionPostBody) UnmarshalJSON added in v0.4.0

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

func (*NullableEventMonitorConditionPostBody) Unset added in v0.4.0

type NullableEventMonitorPostBody added in v0.4.0

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

func NewNullableEventMonitorPostBody added in v0.4.0

func NewNullableEventMonitorPostBody(val *EventMonitorPostBody) *NullableEventMonitorPostBody

func (NullableEventMonitorPostBody) Get added in v0.4.0

func (NullableEventMonitorPostBody) IsSet added in v0.4.0

func (NullableEventMonitorPostBody) MarshalJSON added in v0.4.0

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

func (*NullableEventMonitorPostBody) Set added in v0.4.0

func (*NullableEventMonitorPostBody) UnmarshalJSON added in v0.4.0

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

func (*NullableEventMonitorPostBody) Unset added in v0.4.0

func (v *NullableEventMonitorPostBody) Unset()

type NullableEventMonitors added in v0.4.0

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

func NewNullableEventMonitors added in v0.4.0

func NewNullableEventMonitors(val *EventMonitors) *NullableEventMonitors

func (NullableEventMonitors) Get added in v0.4.0

func (NullableEventMonitors) IsSet added in v0.4.0

func (v NullableEventMonitors) IsSet() bool

func (NullableEventMonitors) MarshalJSON added in v0.4.0

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

func (*NullableEventMonitors) Set added in v0.4.0

func (v *NullableEventMonitors) Set(val *EventMonitors)

func (*NullableEventMonitors) UnmarshalJSON added in v0.4.0

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

func (*NullableEventMonitors) Unset added in v0.4.0

func (v *NullableEventMonitors) 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 NullableInspectorReqMsg added in v0.5.0

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

func NewNullableInspectorReqMsg added in v0.5.0

func NewNullableInspectorReqMsg(val *InspectorReqMsg) *NullableInspectorReqMsg

func (NullableInspectorReqMsg) Get added in v0.5.0

func (NullableInspectorReqMsg) IsSet added in v0.5.0

func (v NullableInspectorReqMsg) IsSet() bool

func (NullableInspectorReqMsg) MarshalJSON added in v0.5.0

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

func (*NullableInspectorReqMsg) Set added in v0.5.0

func (*NullableInspectorReqMsg) UnmarshalJSON added in v0.5.0

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

func (*NullableInspectorReqMsg) Unset added in v0.5.0

func (v *NullableInspectorReqMsg) Unset()

type NullableInspectorReqMsgResponse added in v0.5.0

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

func NewNullableInspectorReqMsgResponse added in v0.5.0

func NewNullableInspectorReqMsgResponse(val *InspectorReqMsgResponse) *NullableInspectorReqMsgResponse

func (NullableInspectorReqMsgResponse) Get added in v0.5.0

func (NullableInspectorReqMsgResponse) IsSet added in v0.5.0

func (NullableInspectorReqMsgResponse) MarshalJSON added in v0.5.0

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

func (*NullableInspectorReqMsgResponse) Set added in v0.5.0

func (*NullableInspectorReqMsgResponse) UnmarshalJSON added in v0.5.0

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

func (*NullableInspectorReqMsgResponse) Unset added in v0.5.0

type NullableInspectorResMsg added in v0.5.0

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

func NewNullableInspectorResMsg added in v0.5.0

func NewNullableInspectorResMsg(val *InspectorResMsg) *NullableInspectorResMsg

func (NullableInspectorResMsg) Get added in v0.5.0

func (NullableInspectorResMsg) IsSet added in v0.5.0

func (v NullableInspectorResMsg) IsSet() bool

func (NullableInspectorResMsg) MarshalJSON added in v0.5.0

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

func (*NullableInspectorResMsg) Set added in v0.5.0

func (*NullableInspectorResMsg) UnmarshalJSON added in v0.5.0

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

func (*NullableInspectorResMsg) Unset added in v0.5.0

func (v *NullableInspectorResMsg) Unset()

type NullableInspectorResMsgResponse added in v0.5.0

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

func NewNullableInspectorResMsgResponse added in v0.5.0

func NewNullableInspectorResMsgResponse(val *InspectorResMsgResponse) *NullableInspectorResMsgResponse

func (NullableInspectorResMsgResponse) Get added in v0.5.0

func (NullableInspectorResMsgResponse) IsSet added in v0.5.0

func (NullableInspectorResMsgResponse) MarshalJSON added in v0.5.0

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

func (*NullableInspectorResMsgResponse) Set added in v0.5.0

func (*NullableInspectorResMsgResponse) UnmarshalJSON added in v0.5.0

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

func (*NullableInspectorResMsgResponse) Unset added in v0.5.0

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 NullableLogBinding added in v0.2.0

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

func NewNullableLogBinding added in v0.2.0

func NewNullableLogBinding(val *LogBinding) *NullableLogBinding

func (NullableLogBinding) Get added in v0.2.0

func (v NullableLogBinding) Get() *LogBinding

func (NullableLogBinding) IsSet added in v0.2.0

func (v NullableLogBinding) IsSet() bool

func (NullableLogBinding) MarshalJSON added in v0.2.0

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

func (*NullableLogBinding) Set added in v0.2.0

func (v *NullableLogBinding) Set(val *LogBinding)

func (*NullableLogBinding) UnmarshalJSON added in v0.2.0

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

func (*NullableLogBinding) Unset added in v0.2.0

func (v *NullableLogBinding) Unset()

type NullableLogBindingPostBody added in v0.2.0

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

func NewNullableLogBindingPostBody added in v0.2.0

func NewNullableLogBindingPostBody(val *LogBindingPostBody) *NullableLogBindingPostBody

func (NullableLogBindingPostBody) Get added in v0.2.0

func (NullableLogBindingPostBody) IsSet added in v0.2.0

func (v NullableLogBindingPostBody) IsSet() bool

func (NullableLogBindingPostBody) MarshalJSON added in v0.2.0

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

func (*NullableLogBindingPostBody) Set added in v0.2.0

func (*NullableLogBindingPostBody) UnmarshalJSON added in v0.2.0

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

func (*NullableLogBindingPostBody) Unset added in v0.2.0

func (v *NullableLogBindingPostBody) Unset()

type NullableLogBindingPutBody added in v0.2.0

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

func NewNullableLogBindingPutBody added in v0.2.0

func NewNullableLogBindingPutBody(val *LogBindingPutBody) *NullableLogBindingPutBody

func (NullableLogBindingPutBody) Get added in v0.2.0

func (NullableLogBindingPutBody) IsSet added in v0.2.0

func (v NullableLogBindingPutBody) IsSet() bool

func (NullableLogBindingPutBody) MarshalJSON added in v0.2.0

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

func (*NullableLogBindingPutBody) Set added in v0.2.0

func (*NullableLogBindingPutBody) UnmarshalJSON added in v0.2.0

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

func (*NullableLogBindingPutBody) Unset added in v0.2.0

func (v *NullableLogBindingPutBody) Unset()

type NullableLogBindings added in v0.2.0

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

func NewNullableLogBindings added in v0.2.0

func NewNullableLogBindings(val *LogBindings) *NullableLogBindings

func (NullableLogBindings) Get added in v0.2.0

func (NullableLogBindings) IsSet added in v0.2.0

func (v NullableLogBindings) IsSet() bool

func (NullableLogBindings) MarshalJSON added in v0.2.0

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

func (*NullableLogBindings) Set added in v0.2.0

func (v *NullableLogBindings) Set(val *LogBindings)

func (*NullableLogBindings) UnmarshalJSON added in v0.2.0

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

func (*NullableLogBindings) Unset added in v0.2.0

func (v *NullableLogBindings) Unset()

type NullableNotificationTemplate added in v0.4.0

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

func NewNullableNotificationTemplate added in v0.4.0

func NewNullableNotificationTemplate(val *NotificationTemplate) *NullableNotificationTemplate

func (NullableNotificationTemplate) Get added in v0.4.0

func (NullableNotificationTemplate) IsSet added in v0.4.0

func (NullableNotificationTemplate) MarshalJSON added in v0.4.0

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

func (*NullableNotificationTemplate) Set added in v0.4.0

func (*NullableNotificationTemplate) UnmarshalJSON added in v0.4.0

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

func (*NullableNotificationTemplate) Unset added in v0.4.0

func (v *NullableNotificationTemplate) Unset()

type NullableNotificationTemplatePostBody added in v0.4.0

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

func NewNullableNotificationTemplatePostBody added in v0.4.0

func NewNullableNotificationTemplatePostBody(val *NotificationTemplatePostBody) *NullableNotificationTemplatePostBody

func (NullableNotificationTemplatePostBody) Get added in v0.4.0

func (NullableNotificationTemplatePostBody) IsSet added in v0.4.0

func (NullableNotificationTemplatePostBody) MarshalJSON added in v0.4.0

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

func (*NullableNotificationTemplatePostBody) Set added in v0.4.0

func (*NullableNotificationTemplatePostBody) UnmarshalJSON added in v0.4.0

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

func (*NullableNotificationTemplatePostBody) Unset added in v0.4.0

type NullableNotificationTemplates added in v0.4.0

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

func NewNullableNotificationTemplates added in v0.4.0

func NewNullableNotificationTemplates(val *NotificationTemplates) *NullableNotificationTemplates

func (NullableNotificationTemplates) Get added in v0.4.0

func (NullableNotificationTemplates) IsSet added in v0.4.0

func (NullableNotificationTemplates) MarshalJSON added in v0.4.0

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

func (*NullableNotificationTemplates) Set added in v0.4.0

func (*NullableNotificationTemplates) UnmarshalJSON added in v0.4.0

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

func (*NullableNotificationTemplates) Unset added in v0.4.0

func (v *NullableNotificationTemplates) Unset()

type NullableProblemResponse added in v0.2.0

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

func NewNullableProblemResponse added in v0.2.0

func NewNullableProblemResponse(val *ProblemResponse) *NullableProblemResponse

func (NullableProblemResponse) Get added in v0.2.0

func (NullableProblemResponse) IsSet added in v0.2.0

func (v NullableProblemResponse) IsSet() bool

func (NullableProblemResponse) MarshalJSON added in v0.2.0

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

func (*NullableProblemResponse) Set added in v0.2.0

func (*NullableProblemResponse) UnmarshalJSON added in v0.2.0

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

func (*NullableProblemResponse) Unset added in v0.2.0

func (v *NullableProblemResponse) Unset()

type NullableRevision added in v0.5.0

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

func NewNullableRevision added in v0.5.0

func NewNullableRevision(val *Revision) *NullableRevision

func (NullableRevision) Get added in v0.5.0

func (v NullableRevision) Get() *Revision

func (NullableRevision) IsSet added in v0.5.0

func (v NullableRevision) IsSet() bool

func (NullableRevision) MarshalJSON added in v0.5.0

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

func (*NullableRevision) Set added in v0.5.0

func (v *NullableRevision) Set(val *Revision)

func (*NullableRevision) UnmarshalJSON added in v0.5.0

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

func (*NullableRevision) Unset added in v0.5.0

func (v *NullableRevision) Unset()

type NullableRulesDependenciesPutBodyInner added in v0.5.0

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

func NewNullableRulesDependenciesPutBodyInner added in v0.5.0

func NewNullableRulesDependenciesPutBodyInner(val *RulesDependenciesPutBodyInner) *NullableRulesDependenciesPutBodyInner

func (NullableRulesDependenciesPutBodyInner) Get added in v0.5.0

func (NullableRulesDependenciesPutBodyInner) IsSet added in v0.5.0

func (NullableRulesDependenciesPutBodyInner) MarshalJSON added in v0.5.0

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

func (*NullableRulesDependenciesPutBodyInner) Set added in v0.5.0

func (*NullableRulesDependenciesPutBodyInner) UnmarshalJSON added in v0.5.0

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

func (*NullableRulesDependenciesPutBodyInner) Unset added in v0.5.0

type NullableRulesScript

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

func NewNullableRulesScript

func NewNullableRulesScript(val *RulesScript) *NullableRulesScript

func (NullableRulesScript) Get

func (NullableRulesScript) IsSet

func (v NullableRulesScript) IsSet() bool

func (NullableRulesScript) MarshalJSON

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

func (*NullableRulesScript) Set

func (v *NullableRulesScript) Set(val *RulesScript)

func (*NullableRulesScript) UnmarshalJSON

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

func (*NullableRulesScript) Unset

func (v *NullableRulesScript) Unset()

type NullableRulesScriptPostBody

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

func NewNullableRulesScriptPostBody

func NewNullableRulesScriptPostBody(val *RulesScriptPostBody) *NullableRulesScriptPostBody

func (NullableRulesScriptPostBody) Get

func (NullableRulesScriptPostBody) IsSet

func (NullableRulesScriptPostBody) MarshalJSON

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

func (*NullableRulesScriptPostBody) Set

func (*NullableRulesScriptPostBody) UnmarshalJSON

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

func (*NullableRulesScriptPostBody) Unset

func (v *NullableRulesScriptPostBody) Unset()

type NullableRulesScripts added in v0.5.0

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

func NewNullableRulesScripts added in v0.5.0

func NewNullableRulesScripts(val *RulesScripts) *NullableRulesScripts

func (NullableRulesScripts) Get added in v0.5.0

func (NullableRulesScripts) IsSet added in v0.5.0

func (v NullableRulesScripts) IsSet() bool

func (NullableRulesScripts) MarshalJSON added in v0.5.0

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

func (*NullableRulesScripts) Set added in v0.5.0

func (v *NullableRulesScripts) Set(val *RulesScripts)

func (*NullableRulesScripts) UnmarshalJSON added in v0.5.0

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

func (*NullableRulesScripts) Unset added in v0.5.0

func (v *NullableRulesScripts) Unset()

type NullableRulesTest added in v0.5.0

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

func NewNullableRulesTest added in v0.5.0

func NewNullableRulesTest(val *RulesTest) *NullableRulesTest

func (NullableRulesTest) Get added in v0.5.0

func (v NullableRulesTest) Get() *RulesTest

func (NullableRulesTest) IsSet added in v0.5.0

func (v NullableRulesTest) IsSet() bool

func (NullableRulesTest) MarshalJSON added in v0.5.0

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

func (*NullableRulesTest) Set added in v0.5.0

func (v *NullableRulesTest) Set(val *RulesTest)

func (*NullableRulesTest) UnmarshalJSON added in v0.5.0

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

func (*NullableRulesTest) Unset added in v0.5.0

func (v *NullableRulesTest) Unset()

type NullableRulesTestOutputInner added in v0.5.0

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

func NewNullableRulesTestOutputInner added in v0.5.0

func NewNullableRulesTestOutputInner(val *RulesTestOutputInner) *NullableRulesTestOutputInner

func (NullableRulesTestOutputInner) Get added in v0.5.0

func (NullableRulesTestOutputInner) IsSet added in v0.5.0

func (NullableRulesTestOutputInner) MarshalJSON added in v0.5.0

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

func (*NullableRulesTestOutputInner) Set added in v0.5.0

func (*NullableRulesTestOutputInner) UnmarshalJSON added in v0.5.0

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

func (*NullableRulesTestOutputInner) Unset added in v0.5.0

func (v *NullableRulesTestOutputInner) Unset()

type NullableRulesTestPostBody added in v0.5.0

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

func NewNullableRulesTestPostBody added in v0.5.0

func NewNullableRulesTestPostBody(val *RulesTestPostBody) *NullableRulesTestPostBody

func (NullableRulesTestPostBody) Get added in v0.5.0

func (NullableRulesTestPostBody) IsSet added in v0.5.0

func (v NullableRulesTestPostBody) IsSet() bool

func (NullableRulesTestPostBody) MarshalJSON added in v0.5.0

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

func (*NullableRulesTestPostBody) Set added in v0.5.0

func (*NullableRulesTestPostBody) UnmarshalJSON added in v0.5.0

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

func (*NullableRulesTestPostBody) Unset added in v0.5.0

func (v *NullableRulesTestPostBody) Unset()

type NullableSpec

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

func NewNullableSpec

func NewNullableSpec(val *Spec) *NullableSpec

func (NullableSpec) Get

func (v NullableSpec) Get() *Spec

func (NullableSpec) IsSet

func (v NullableSpec) IsSet() bool

func (NullableSpec) MarshalJSON

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

func (*NullableSpec) Set

func (v *NullableSpec) Set(val *Spec)

func (*NullableSpec) UnmarshalJSON

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

func (*NullableSpec) Unset

func (v *NullableSpec) Unset()

type NullableSpecPostBody

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

func NewNullableSpecPostBody

func NewNullableSpecPostBody(val *SpecPostBody) *NullableSpecPostBody

func (NullableSpecPostBody) Get

func (NullableSpecPostBody) IsSet

func (v NullableSpecPostBody) IsSet() bool

func (NullableSpecPostBody) MarshalJSON

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

func (*NullableSpecPostBody) Set

func (v *NullableSpecPostBody) Set(val *SpecPostBody)

func (*NullableSpecPostBody) UnmarshalJSON

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

func (*NullableSpecPostBody) Unset

func (v *NullableSpecPostBody) 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 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 NullableTokenInfo

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

func NewNullableTokenInfo

func NewNullableTokenInfo(val *TokenInfo) *NullableTokenInfo

func (NullableTokenInfo) Get

func (v NullableTokenInfo) Get() *TokenInfo

func (NullableTokenInfo) IsSet

func (v NullableTokenInfo) IsSet() bool

func (NullableTokenInfo) MarshalJSON

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

func (*NullableTokenInfo) Set

func (v *NullableTokenInfo) Set(val *TokenInfo)

func (*NullableTokenInfo) UnmarshalJSON

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

func (*NullableTokenInfo) Unset

func (v *NullableTokenInfo) Unset()

type ProblemResponse added in v0.2.0

type ProblemResponse struct {
	// A URI reference that identifies the problem type.
	Type string `json:"type"`
	// A short, human-readable summary of the problem type.
	Title string `json:"title"`
	// The HTTP status code generated by the origin server for this occurrence of the problem.
	Status int32 `json:"status"`
	// A human-readable explanation specific to this occurrence of the problem.
	Detail *string `json:"detail,omitempty"`
	// A URI reference that identifies the specific occurrence of the problem.  It may or may not yield further information if dereferenced.
	Instance             *string `json:"instance,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProblemResponse struct for ProblemResponse

func NewProblemResponse added in v0.2.0

func NewProblemResponse(type_ string, title string, status int32) *ProblemResponse

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

func NewProblemResponseWithDefaults added in v0.2.0

func NewProblemResponseWithDefaults() *ProblemResponse

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

func (*ProblemResponse) GetDetail added in v0.2.0

func (o *ProblemResponse) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*ProblemResponse) GetDetailOk added in v0.2.0

func (o *ProblemResponse) GetDetailOk() (*string, bool)

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

func (*ProblemResponse) GetInstance added in v0.2.0

func (o *ProblemResponse) GetInstance() string

GetInstance returns the Instance field value if set, zero value otherwise.

func (*ProblemResponse) GetInstanceOk added in v0.2.0

func (o *ProblemResponse) GetInstanceOk() (*string, bool)

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

func (*ProblemResponse) GetStatus added in v0.2.0

func (o *ProblemResponse) GetStatus() int32

GetStatus returns the Status field value

func (*ProblemResponse) GetStatusOk added in v0.2.0

func (o *ProblemResponse) GetStatusOk() (*int32, bool)

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

func (*ProblemResponse) GetTitle added in v0.2.0

func (o *ProblemResponse) GetTitle() string

GetTitle returns the Title field value

func (*ProblemResponse) GetTitleOk added in v0.2.0

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

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

func (*ProblemResponse) GetType added in v0.2.0

func (o *ProblemResponse) GetType() string

GetType returns the Type field value

func (*ProblemResponse) GetTypeOk added in v0.2.0

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

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

func (*ProblemResponse) HasDetail added in v0.2.0

func (o *ProblemResponse) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*ProblemResponse) HasInstance added in v0.2.0

func (o *ProblemResponse) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (ProblemResponse) MarshalJSON added in v0.2.0

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

func (*ProblemResponse) SetDetail added in v0.2.0

func (o *ProblemResponse) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*ProblemResponse) SetInstance added in v0.2.0

func (o *ProblemResponse) SetInstance(v string)

SetInstance gets a reference to the given string and assigns it to the Instance field.

func (*ProblemResponse) SetStatus added in v0.2.0

func (o *ProblemResponse) SetStatus(v int32)

SetStatus sets field value

func (*ProblemResponse) SetTitle added in v0.2.0

func (o *ProblemResponse) SetTitle(v string)

SetTitle sets field value

func (*ProblemResponse) SetType added in v0.2.0

func (o *ProblemResponse) SetType(v string)

SetType sets field value

func (ProblemResponse) ToMap added in v0.2.0

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

func (*ProblemResponse) UnmarshalJSON added in v0.2.0

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

type Revision added in v0.5.0

type Revision struct {
	Revision  int32  `json:"revision"`
	CreatedBy string `json:"created_by"`
	// The date and time in [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) format.
	CreatedAt time.Time `json:"created_at"`
}

Revision struct for Revision

func NewRevision added in v0.5.0

func NewRevision(revision int32, createdBy string, createdAt time.Time) *Revision

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

func NewRevisionWithDefaults added in v0.5.0

func NewRevisionWithDefaults() *Revision

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

func (*Revision) GetCreatedAt added in v0.5.0

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

GetCreatedAt returns the CreatedAt field value

func (*Revision) GetCreatedAtOk added in v0.5.0

func (o *Revision) 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 (*Revision) GetCreatedBy added in v0.5.0

func (o *Revision) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Revision) GetCreatedByOk added in v0.5.0

func (o *Revision) GetCreatedByOk() (*string, bool)

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

func (*Revision) GetRevision added in v0.5.0

func (o *Revision) GetRevision() int32

GetRevision returns the Revision field value

func (*Revision) GetRevisionOk added in v0.5.0

func (o *Revision) GetRevisionOk() (*int32, bool)

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

func (Revision) MarshalJSON added in v0.5.0

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

func (*Revision) SetCreatedAt added in v0.5.0

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

SetCreatedAt sets field value

func (*Revision) SetCreatedBy added in v0.5.0

func (o *Revision) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Revision) SetRevision added in v0.5.0

func (o *Revision) SetRevision(v int32)

SetRevision sets field value

func (Revision) ToMap added in v0.5.0

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

func (*Revision) UnmarshalJSON added in v0.5.0

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

type RulesDependenciesAPI added in v0.5.0

type RulesDependenciesAPI interface {

	/*
		UpdateRulesDependencies Update rules dependencies

		Updates rules dependencies for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiUpdateRulesDependenciesRequest
	*/
	UpdateRulesDependencies(ctx context.Context, orgId string) ApiUpdateRulesDependenciesRequest

	// UpdateRulesDependenciesExecute executes the request
	//  @return []RulesDependenciesPutBodyInner
	UpdateRulesDependenciesExecute(r ApiUpdateRulesDependenciesRequest) ([]RulesDependenciesPutBodyInner, *http.Response, error)
}

type RulesDependenciesAPIService added in v0.5.0

type RulesDependenciesAPIService service

RulesDependenciesAPIService RulesDependenciesAPI service

func (*RulesDependenciesAPIService) UpdateRulesDependencies added in v0.5.0

UpdateRulesDependencies Update rules dependencies

Updates rules dependencies for an organization.

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

func (*RulesDependenciesAPIService) UpdateRulesDependenciesExecute added in v0.5.0

Execute executes the request

@return []RulesDependenciesPutBodyInner

type RulesDependenciesPutBodyInner added in v0.5.0

type RulesDependenciesPutBodyInner struct {
	// The rule ID.
	RuleId string `json:"rule_id"`
	// The IDs of the rule dependencies.
	Dependencies []string `json:"dependencies"`
}

RulesDependenciesPutBodyInner struct for RulesDependenciesPutBodyInner

func NewRulesDependenciesPutBodyInner added in v0.5.0

func NewRulesDependenciesPutBodyInner(ruleId string, dependencies []string) *RulesDependenciesPutBodyInner

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

func NewRulesDependenciesPutBodyInnerWithDefaults added in v0.5.0

func NewRulesDependenciesPutBodyInnerWithDefaults() *RulesDependenciesPutBodyInner

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

func (*RulesDependenciesPutBodyInner) GetDependencies added in v0.5.0

func (o *RulesDependenciesPutBodyInner) GetDependencies() []string

GetDependencies returns the Dependencies field value

func (*RulesDependenciesPutBodyInner) GetDependenciesOk added in v0.5.0

func (o *RulesDependenciesPutBodyInner) GetDependenciesOk() ([]string, bool)

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

func (*RulesDependenciesPutBodyInner) GetRuleId added in v0.5.0

func (o *RulesDependenciesPutBodyInner) GetRuleId() string

GetRuleId returns the RuleId field value

func (*RulesDependenciesPutBodyInner) GetRuleIdOk added in v0.5.0

func (o *RulesDependenciesPutBodyInner) GetRuleIdOk() (*string, bool)

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

func (RulesDependenciesPutBodyInner) MarshalJSON added in v0.5.0

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

func (*RulesDependenciesPutBodyInner) SetDependencies added in v0.5.0

func (o *RulesDependenciesPutBodyInner) SetDependencies(v []string)

SetDependencies sets field value

func (*RulesDependenciesPutBodyInner) SetRuleId added in v0.5.0

func (o *RulesDependenciesPutBodyInner) SetRuleId(v string)

SetRuleId sets field value

func (RulesDependenciesPutBodyInner) ToMap added in v0.5.0

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

func (*RulesDependenciesPutBodyInner) UnmarshalJSON added in v0.5.0

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

type RulesScript

type RulesScript struct {
	Id                       string     `json:"id"`
	Name                     string     `json:"name"`
	Description              string     `json:"description"`
	Type                     string     `json:"type"`
	Disabled                 bool       `json:"disabled"`
	Src                      string     `json:"src"`
	Lang                     string     `json:"lang"`
	AutogeneratedExplanation string     `json:"autogenerated_explanation"`
	Revision                 int32      `json:"revision"`
	Revisions                []Revision `json:"revisions"`
	Dependencies             []string   `json:"dependencies"`
	CreatedBy                string     `json:"created_by"`
	// The date and time in [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) format.
	CreatedAt time.Time      `json:"created_at"`
	UpdatedBy NullableString `json:"updated_by"`
	// The date and time in [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) format.
	UpdatedAt NullableTime `json:"updated_at"`
}

RulesScript struct for RulesScript

func NewRulesScript

func NewRulesScript(id string, name string, description string, type_ string, disabled bool, src string, lang string, autogeneratedExplanation string, revision int32, revisions []Revision, dependencies []string, createdBy string, createdAt time.Time, updatedBy NullableString, updatedAt NullableTime) *RulesScript

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

func NewRulesScriptWithDefaults

func NewRulesScriptWithDefaults() *RulesScript

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

func (*RulesScript) GetAutogeneratedExplanation added in v0.5.0

func (o *RulesScript) GetAutogeneratedExplanation() string

GetAutogeneratedExplanation returns the AutogeneratedExplanation field value

func (*RulesScript) GetAutogeneratedExplanationOk added in v0.5.0

func (o *RulesScript) GetAutogeneratedExplanationOk() (*string, bool)

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

func (*RulesScript) GetCreatedAt added in v0.5.0

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

GetCreatedAt returns the CreatedAt field value

func (*RulesScript) GetCreatedAtOk added in v0.5.0

func (o *RulesScript) 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 (*RulesScript) GetCreatedBy added in v0.5.0

func (o *RulesScript) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*RulesScript) GetCreatedByOk added in v0.5.0

func (o *RulesScript) GetCreatedByOk() (*string, bool)

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

func (*RulesScript) GetDependencies added in v0.5.0

func (o *RulesScript) GetDependencies() []string

GetDependencies returns the Dependencies field value

func (*RulesScript) GetDependenciesOk added in v0.5.0

func (o *RulesScript) GetDependenciesOk() ([]string, bool)

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

func (*RulesScript) GetDescription

func (o *RulesScript) GetDescription() string

GetDescription returns the Description field value

func (*RulesScript) GetDescriptionOk

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

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

func (*RulesScript) GetDisabled

func (o *RulesScript) GetDisabled() bool

GetDisabled returns the Disabled field value

func (*RulesScript) GetDisabledOk

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

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

func (*RulesScript) GetId

func (o *RulesScript) GetId() string

GetId returns the Id field value

func (*RulesScript) GetIdOk

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

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

func (*RulesScript) GetLang added in v0.5.0

func (o *RulesScript) GetLang() string

GetLang returns the Lang field value

func (*RulesScript) GetLangOk added in v0.5.0

func (o *RulesScript) GetLangOk() (*string, bool)

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

func (*RulesScript) GetName

func (o *RulesScript) GetName() string

GetName returns the Name field value

func (*RulesScript) GetNameOk

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

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

func (*RulesScript) GetRevision

func (o *RulesScript) GetRevision() int32

GetRevision returns the Revision field value

func (*RulesScript) GetRevisionOk

func (o *RulesScript) GetRevisionOk() (*int32, bool)

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

func (*RulesScript) GetRevisions added in v0.5.0

func (o *RulesScript) GetRevisions() []Revision

GetRevisions returns the Revisions field value

func (*RulesScript) GetRevisionsOk added in v0.5.0

func (o *RulesScript) GetRevisionsOk() ([]Revision, bool)

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

func (*RulesScript) GetSrc

func (o *RulesScript) GetSrc() string

GetSrc returns the Src field value

func (*RulesScript) GetSrcOk

func (o *RulesScript) GetSrcOk() (*string, bool)

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

func (*RulesScript) GetType added in v0.5.0

func (o *RulesScript) GetType() string

GetType returns the Type field value

func (*RulesScript) GetTypeOk added in v0.5.0

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

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

func (*RulesScript) GetUpdatedAt

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

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

func (*RulesScript) GetUpdatedAtOk

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

GetUpdatedAtOk returns a tuple with the UpdatedAt 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 (*RulesScript) GetUpdatedBy

func (o *RulesScript) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*RulesScript) GetUpdatedByOk

func (o *RulesScript) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy 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 (RulesScript) MarshalJSON

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

func (*RulesScript) SetAutogeneratedExplanation added in v0.5.0

func (o *RulesScript) SetAutogeneratedExplanation(v string)

SetAutogeneratedExplanation sets field value

func (*RulesScript) SetCreatedAt added in v0.5.0

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

SetCreatedAt sets field value

func (*RulesScript) SetCreatedBy added in v0.5.0

func (o *RulesScript) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*RulesScript) SetDependencies added in v0.5.0

func (o *RulesScript) SetDependencies(v []string)

SetDependencies sets field value

func (*RulesScript) SetDescription

func (o *RulesScript) SetDescription(v string)

SetDescription sets field value

func (*RulesScript) SetDisabled

func (o *RulesScript) SetDisabled(v bool)

SetDisabled sets field value

func (*RulesScript) SetId

func (o *RulesScript) SetId(v string)

SetId sets field value

func (*RulesScript) SetLang added in v0.5.0

func (o *RulesScript) SetLang(v string)

SetLang sets field value

func (*RulesScript) SetName

func (o *RulesScript) SetName(v string)

SetName sets field value

func (*RulesScript) SetRevision

func (o *RulesScript) SetRevision(v int32)

SetRevision sets field value

func (*RulesScript) SetRevisions added in v0.5.0

func (o *RulesScript) SetRevisions(v []Revision)

SetRevisions sets field value

func (*RulesScript) SetSrc

func (o *RulesScript) SetSrc(v string)

SetSrc sets field value

func (*RulesScript) SetType added in v0.5.0

func (o *RulesScript) SetType(v string)

SetType sets field value

func (*RulesScript) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*RulesScript) SetUpdatedBy

func (o *RulesScript) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (RulesScript) ToMap

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

func (*RulesScript) UnmarshalJSON added in v0.5.0

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

type RulesScriptPostBody

type RulesScriptPostBody struct {
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
	Disabled    bool    `json:"disabled"`
	Src         string  `json:"src"`
}

RulesScriptPostBody struct for RulesScriptPostBody

func NewRulesScriptPostBody

func NewRulesScriptPostBody(name string, disabled bool, src string) *RulesScriptPostBody

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

func NewRulesScriptPostBodyWithDefaults

func NewRulesScriptPostBodyWithDefaults() *RulesScriptPostBody

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

func (*RulesScriptPostBody) GetDescription

func (o *RulesScriptPostBody) GetDescription() string

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

func (*RulesScriptPostBody) GetDescriptionOk

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

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

func (*RulesScriptPostBody) GetDisabled

func (o *RulesScriptPostBody) GetDisabled() bool

GetDisabled returns the Disabled field value

func (*RulesScriptPostBody) GetDisabledOk

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

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

func (*RulesScriptPostBody) GetName

func (o *RulesScriptPostBody) GetName() string

GetName returns the Name field value

func (*RulesScriptPostBody) GetNameOk

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

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

func (*RulesScriptPostBody) GetSrc

func (o *RulesScriptPostBody) GetSrc() string

GetSrc returns the Src field value

func (*RulesScriptPostBody) GetSrcOk

func (o *RulesScriptPostBody) GetSrcOk() (*string, bool)

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

func (*RulesScriptPostBody) HasDescription

func (o *RulesScriptPostBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (RulesScriptPostBody) MarshalJSON

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

func (*RulesScriptPostBody) SetDescription

func (o *RulesScriptPostBody) SetDescription(v string)

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

func (*RulesScriptPostBody) SetDisabled

func (o *RulesScriptPostBody) SetDisabled(v bool)

SetDisabled sets field value

func (*RulesScriptPostBody) SetName

func (o *RulesScriptPostBody) SetName(v string)

SetName sets field value

func (*RulesScriptPostBody) SetSrc

func (o *RulesScriptPostBody) SetSrc(v string)

SetSrc sets field value

func (RulesScriptPostBody) ToMap

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

type RulesScripts added in v0.5.0

type RulesScripts struct {
	Items []RulesScript  `json:"items"`
	Meta  CollectionMeta `json:"meta"`
}

RulesScripts struct for RulesScripts

func NewRulesScripts added in v0.5.0

func NewRulesScripts(items []RulesScript, meta CollectionMeta) *RulesScripts

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

func NewRulesScriptsWithDefaults added in v0.5.0

func NewRulesScriptsWithDefaults() *RulesScripts

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

func (*RulesScripts) GetItems added in v0.5.0

func (o *RulesScripts) GetItems() []RulesScript

GetItems returns the Items field value

func (*RulesScripts) GetItemsOk added in v0.5.0

func (o *RulesScripts) GetItemsOk() ([]RulesScript, bool)

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

func (*RulesScripts) GetMeta added in v0.5.0

func (o *RulesScripts) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*RulesScripts) GetMetaOk added in v0.5.0

func (o *RulesScripts) GetMetaOk() (*CollectionMeta, bool)

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

func (RulesScripts) MarshalJSON added in v0.5.0

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

func (*RulesScripts) SetItems added in v0.5.0

func (o *RulesScripts) SetItems(v []RulesScript)

SetItems sets field value

func (*RulesScripts) SetMeta added in v0.5.0

func (o *RulesScripts) SetMeta(v CollectionMeta)

SetMeta sets field value

func (RulesScripts) ToMap added in v0.5.0

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

func (*RulesScripts) UnmarshalJSON added in v0.5.0

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

type RulesScriptsAPI added in v0.5.0

type RulesScriptsAPI interface {

	/*
		CreateRulesScript Create a new rules script

		Creates a new rules script for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiCreateRulesScriptRequest
	*/
	CreateRulesScript(ctx context.Context, orgId string) ApiCreateRulesScriptRequest

	// CreateRulesScriptExecute executes the request
	//  @return RulesScript
	CreateRulesScriptExecute(r ApiCreateRulesScriptRequest) (*RulesScript, *http.Response, error)

	/*
		DeleteRulesScript Delete a rules script

		Deletes a rules script for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param rulesScriptId Rules script ID
		@return ApiDeleteRulesScriptRequest
	*/
	DeleteRulesScript(ctx context.Context, orgId string, rulesScriptId string) ApiDeleteRulesScriptRequest

	// DeleteRulesScriptExecute executes the request
	DeleteRulesScriptExecute(r ApiDeleteRulesScriptRequest) (*http.Response, error)

	/*
		GetRulesScript Get a rules script

		Gets a rules script for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param rulesScriptId Rules script ID
		@return ApiGetRulesScriptRequest
	*/
	GetRulesScript(ctx context.Context, orgId string, rulesScriptId string) ApiGetRulesScriptRequest

	// GetRulesScriptExecute executes the request
	//  @return RulesScript
	GetRulesScriptExecute(r ApiGetRulesScriptRequest) (*RulesScript, *http.Response, error)

	/*
		GetRulesScripts Get rules scripts

		Gets a list of rules scripts for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiGetRulesScriptsRequest
	*/
	GetRulesScripts(ctx context.Context, orgId string) ApiGetRulesScriptsRequest

	// GetRulesScriptsExecute executes the request
	//  @return RulesScripts
	GetRulesScriptsExecute(r ApiGetRulesScriptsRequest) (*RulesScripts, *http.Response, error)

	/*
		RulesTest Test a rule

		Test a rule.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiRulesTestRequest
	*/
	RulesTest(ctx context.Context, orgId string) ApiRulesTestRequest

	// RulesTestExecute executes the request
	//  @return RulesTest
	RulesTestExecute(r ApiRulesTestRequest) (*RulesTest, *http.Response, error)

	/*
		UpdateRulesScript Update a rules script

		Updates a rules script for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param rulesScriptId Rules script ID
		@return ApiUpdateRulesScriptRequest
	*/
	UpdateRulesScript(ctx context.Context, orgId string, rulesScriptId string) ApiUpdateRulesScriptRequest

	// UpdateRulesScriptExecute executes the request
	//  @return RulesScript
	UpdateRulesScriptExecute(r ApiUpdateRulesScriptRequest) (*RulesScript, *http.Response, error)
}

type RulesScriptsAPIService added in v0.5.0

type RulesScriptsAPIService service

RulesScriptsAPIService RulesScriptsAPI service

func (*RulesScriptsAPIService) CreateRulesScript added in v0.5.0

func (a *RulesScriptsAPIService) CreateRulesScript(ctx context.Context, orgId string) ApiCreateRulesScriptRequest

CreateRulesScript Create a new rules script

Creates a new rules script for an organization.

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

func (*RulesScriptsAPIService) CreateRulesScriptExecute added in v0.5.0

Execute executes the request

@return RulesScript

func (*RulesScriptsAPIService) DeleteRulesScript added in v0.5.0

func (a *RulesScriptsAPIService) DeleteRulesScript(ctx context.Context, orgId string, rulesScriptId string) ApiDeleteRulesScriptRequest

DeleteRulesScript Delete a rules script

Deletes a rules script for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param rulesScriptId Rules script ID
@return ApiDeleteRulesScriptRequest

func (*RulesScriptsAPIService) DeleteRulesScriptExecute added in v0.5.0

func (a *RulesScriptsAPIService) DeleteRulesScriptExecute(r ApiDeleteRulesScriptRequest) (*http.Response, error)

Execute executes the request

func (*RulesScriptsAPIService) GetRulesScript added in v0.5.0

func (a *RulesScriptsAPIService) GetRulesScript(ctx context.Context, orgId string, rulesScriptId string) ApiGetRulesScriptRequest

GetRulesScript Get a rules script

Gets a rules script for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param rulesScriptId Rules script ID
@return ApiGetRulesScriptRequest

func (*RulesScriptsAPIService) GetRulesScriptExecute added in v0.5.0

Execute executes the request

@return RulesScript

func (*RulesScriptsAPIService) GetRulesScripts added in v0.5.0

GetRulesScripts Get rules scripts

Gets a list of rules scripts for an organization.

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

func (*RulesScriptsAPIService) GetRulesScriptsExecute added in v0.5.0

Execute executes the request

@return RulesScripts

func (*RulesScriptsAPIService) RulesTest added in v0.5.0

RulesTest Test a rule

Test a rule.

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

func (*RulesScriptsAPIService) RulesTestExecute added in v0.5.0

Execute executes the request

@return RulesTest

func (*RulesScriptsAPIService) UpdateRulesScript added in v0.5.0

func (a *RulesScriptsAPIService) UpdateRulesScript(ctx context.Context, orgId string, rulesScriptId string) ApiUpdateRulesScriptRequest

UpdateRulesScript Update a rules script

Updates a rules script for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param rulesScriptId Rules script ID
@return ApiUpdateRulesScriptRequest

func (*RulesScriptsAPIService) UpdateRulesScriptExecute added in v0.5.0

Execute executes the request

@return RulesScript

type RulesTest added in v0.5.0

type RulesTest struct {
	// The duration of time taken to execute the rules on the test input in microseconds.
	Duration    int32                   `json:"duration"`
	ReqResponse InspectorResMsgResponse `json:"req_response"`
	ResResponse InspectorReqMsgResponse `json:"res_response"`
	Output      []RulesTestOutputInner  `json:"output"`
}

RulesTest struct for RulesTest

func NewRulesTest added in v0.5.0

func NewRulesTest(duration int32, reqResponse InspectorResMsgResponse, resResponse InspectorReqMsgResponse, output []RulesTestOutputInner) *RulesTest

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

func NewRulesTestWithDefaults added in v0.5.0

func NewRulesTestWithDefaults() *RulesTest

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

func (*RulesTest) GetDuration added in v0.5.0

func (o *RulesTest) GetDuration() int32

GetDuration returns the Duration field value

func (*RulesTest) GetDurationOk added in v0.5.0

func (o *RulesTest) GetDurationOk() (*int32, bool)

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

func (*RulesTest) GetOutput added in v0.5.0

func (o *RulesTest) GetOutput() []RulesTestOutputInner

GetOutput returns the Output field value

func (*RulesTest) GetOutputOk added in v0.5.0

func (o *RulesTest) GetOutputOk() ([]RulesTestOutputInner, bool)

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

func (*RulesTest) GetReqResponse added in v0.5.0

func (o *RulesTest) GetReqResponse() InspectorResMsgResponse

GetReqResponse returns the ReqResponse field value

func (*RulesTest) GetReqResponseOk added in v0.5.0

func (o *RulesTest) GetReqResponseOk() (*InspectorResMsgResponse, bool)

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

func (*RulesTest) GetResResponse added in v0.5.0

func (o *RulesTest) GetResResponse() InspectorReqMsgResponse

GetResResponse returns the ResResponse field value

func (*RulesTest) GetResResponseOk added in v0.5.0

func (o *RulesTest) GetResResponseOk() (*InspectorReqMsgResponse, bool)

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

func (RulesTest) MarshalJSON added in v0.5.0

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

func (*RulesTest) SetDuration added in v0.5.0

func (o *RulesTest) SetDuration(v int32)

SetDuration sets field value

func (*RulesTest) SetOutput added in v0.5.0

func (o *RulesTest) SetOutput(v []RulesTestOutputInner)

SetOutput sets field value

func (*RulesTest) SetReqResponse added in v0.5.0

func (o *RulesTest) SetReqResponse(v InspectorResMsgResponse)

SetReqResponse sets field value

func (*RulesTest) SetResResponse added in v0.5.0

func (o *RulesTest) SetResResponse(v InspectorReqMsgResponse)

SetResResponse sets field value

func (RulesTest) ToMap added in v0.5.0

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

func (*RulesTest) UnmarshalJSON added in v0.5.0

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

type RulesTestOutputInner added in v0.5.0

type RulesTestOutputInner struct {
	// The message.
	Message string `json:"message"`
	// The timestamp, this is the time since the start of the test in microseconds.
	Timestamp int32 `json:"timestamp"`
	// The destination of the message. Either \"stderr\" or \"stdout\".
	Destination string `json:"destination"`
}

RulesTestOutputInner struct for RulesTestOutputInner

func NewRulesTestOutputInner added in v0.5.0

func NewRulesTestOutputInner(message string, timestamp int32, destination string) *RulesTestOutputInner

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

func NewRulesTestOutputInnerWithDefaults added in v0.5.0

func NewRulesTestOutputInnerWithDefaults() *RulesTestOutputInner

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

func (*RulesTestOutputInner) GetDestination added in v0.5.0

func (o *RulesTestOutputInner) GetDestination() string

GetDestination returns the Destination field value

func (*RulesTestOutputInner) GetDestinationOk added in v0.5.0

func (o *RulesTestOutputInner) GetDestinationOk() (*string, bool)

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

func (*RulesTestOutputInner) GetMessage added in v0.5.0

func (o *RulesTestOutputInner) GetMessage() string

GetMessage returns the Message field value

func (*RulesTestOutputInner) GetMessageOk added in v0.5.0

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

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

func (*RulesTestOutputInner) GetTimestamp added in v0.5.0

func (o *RulesTestOutputInner) GetTimestamp() int32

GetTimestamp returns the Timestamp field value

func (*RulesTestOutputInner) GetTimestampOk added in v0.5.0

func (o *RulesTestOutputInner) GetTimestampOk() (*int32, bool)

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

func (RulesTestOutputInner) MarshalJSON added in v0.5.0

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

func (*RulesTestOutputInner) SetDestination added in v0.5.0

func (o *RulesTestOutputInner) SetDestination(v string)

SetDestination sets field value

func (*RulesTestOutputInner) SetMessage added in v0.5.0

func (o *RulesTestOutputInner) SetMessage(v string)

SetMessage sets field value

func (*RulesTestOutputInner) SetTimestamp added in v0.5.0

func (o *RulesTestOutputInner) SetTimestamp(v int32)

SetTimestamp sets field value

func (RulesTestOutputInner) ToMap added in v0.5.0

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

func (*RulesTestOutputInner) UnmarshalJSON added in v0.5.0

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

type RulesTestPostBody added in v0.5.0

type RulesTestPostBody struct {
	Req    InspectorReqMsg `json:"req"`
	Res    InspectorResMsg `json:"res"`
	RuleId *string         `json:"rule_id,omitempty"`
	Src    *string         `json:"src,omitempty"`
}

RulesTestPostBody struct for RulesTestPostBody

func NewRulesTestPostBody added in v0.5.0

func NewRulesTestPostBody(req InspectorReqMsg, res InspectorResMsg) *RulesTestPostBody

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

func NewRulesTestPostBodyWithDefaults added in v0.5.0

func NewRulesTestPostBodyWithDefaults() *RulesTestPostBody

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

func (*RulesTestPostBody) GetReq added in v0.5.0

func (o *RulesTestPostBody) GetReq() InspectorReqMsg

GetReq returns the Req field value

func (*RulesTestPostBody) GetReqOk added in v0.5.0

func (o *RulesTestPostBody) GetReqOk() (*InspectorReqMsg, bool)

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

func (*RulesTestPostBody) GetRes added in v0.5.0

func (o *RulesTestPostBody) GetRes() InspectorResMsg

GetRes returns the Res field value

func (*RulesTestPostBody) GetResOk added in v0.5.0

func (o *RulesTestPostBody) GetResOk() (*InspectorResMsg, bool)

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

func (*RulesTestPostBody) GetRuleId added in v0.5.0

func (o *RulesTestPostBody) GetRuleId() string

GetRuleId returns the RuleId field value if set, zero value otherwise.

func (*RulesTestPostBody) GetRuleIdOk added in v0.5.0

func (o *RulesTestPostBody) GetRuleIdOk() (*string, bool)

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

func (*RulesTestPostBody) GetSrc added in v0.5.0

func (o *RulesTestPostBody) GetSrc() string

GetSrc returns the Src field value if set, zero value otherwise.

func (*RulesTestPostBody) GetSrcOk added in v0.5.0

func (o *RulesTestPostBody) GetSrcOk() (*string, bool)

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

func (*RulesTestPostBody) HasRuleId added in v0.5.0

func (o *RulesTestPostBody) HasRuleId() bool

HasRuleId returns a boolean if a field has been set.

func (*RulesTestPostBody) HasSrc added in v0.5.0

func (o *RulesTestPostBody) HasSrc() bool

HasSrc returns a boolean if a field has been set.

func (RulesTestPostBody) MarshalJSON added in v0.5.0

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

func (*RulesTestPostBody) SetReq added in v0.5.0

func (o *RulesTestPostBody) SetReq(v InspectorReqMsg)

SetReq sets field value

func (*RulesTestPostBody) SetRes added in v0.5.0

func (o *RulesTestPostBody) SetRes(v InspectorResMsg)

SetRes sets field value

func (*RulesTestPostBody) SetRuleId added in v0.5.0

func (o *RulesTestPostBody) SetRuleId(v string)

SetRuleId gets a reference to the given string and assigns it to the RuleId field.

func (*RulesTestPostBody) SetSrc added in v0.5.0

func (o *RulesTestPostBody) SetSrc(v string)

SetSrc gets a reference to the given string and assigns it to the Src field.

func (RulesTestPostBody) ToMap added in v0.5.0

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

func (*RulesTestPostBody) UnmarshalJSON added in v0.5.0

func (o *RulesTestPostBody) 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 Spec

type Spec struct {
	// The ID for a spec.
	Id string `json:"id"`
	// The name for a spec.
	Name string `json:"name"`
	// A specification in base64 encoding. Can be Swagger 2.0 or OAS 3.0.
	Spec string `json:"spec"`
	// A learning spec in base64 encoding.
	LearningSpec string `json:"learning_spec"`
	// The current revision of the spec.
	Revision int32 `json:"revision"`
	// The analysis score for a spec.
	Score NullableFloat32 `json:"score,omitempty"`
	// ID of the  member who created the spec.
	CreatedBy string `json:"created_by"`
	// The date the spec was created.
	CreatedAt time.Time `json:"created_at"`
	// ID of the member who last updated the spec.
	UpdatedBy NullableString `json:"updated_by"`
	// The date of when the spec was last updated.
	UpdatedAt NullableTime `json:"updated_at"`
}

Spec struct for Spec

func NewSpec

func NewSpec(id string, name string, spec string, learningSpec string, revision int32, createdBy string, createdAt time.Time, updatedBy NullableString, updatedAt NullableTime) *Spec

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

func NewSpecWithDefaults

func NewSpecWithDefaults() *Spec

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

func (*Spec) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Spec) GetCreatedAtOk

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

func (o *Spec) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Spec) GetCreatedByOk

func (o *Spec) GetCreatedByOk() (*string, bool)

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

func (*Spec) GetId

func (o *Spec) GetId() string

GetId returns the Id field value

func (*Spec) GetIdOk

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

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

func (*Spec) GetLearningSpec

func (o *Spec) GetLearningSpec() string

GetLearningSpec returns the LearningSpec field value

func (*Spec) GetLearningSpecOk

func (o *Spec) GetLearningSpecOk() (*string, bool)

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

func (*Spec) GetName

func (o *Spec) GetName() string

GetName returns the Name field value

func (*Spec) GetNameOk

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

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

func (*Spec) GetRevision

func (o *Spec) GetRevision() int32

GetRevision returns the Revision field value

func (*Spec) GetRevisionOk

func (o *Spec) GetRevisionOk() (*int32, bool)

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

func (*Spec) GetScore

func (o *Spec) GetScore() float32

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

func (*Spec) GetScoreOk

func (o *Spec) GetScoreOk() (*float32, bool)

GetScoreOk returns a tuple with the Score 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 (*Spec) GetSpec

func (o *Spec) GetSpec() string

GetSpec returns the Spec field value

func (*Spec) GetSpecOk

func (o *Spec) GetSpecOk() (*string, bool)

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

func (*Spec) GetUpdatedAt

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

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

func (*Spec) GetUpdatedAtOk

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

GetUpdatedAtOk returns a tuple with the UpdatedAt 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 (*Spec) GetUpdatedBy

func (o *Spec) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Spec) GetUpdatedByOk

func (o *Spec) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy 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 (*Spec) HasScore

func (o *Spec) HasScore() bool

HasScore returns a boolean if a field has been set.

func (Spec) MarshalJSON

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

func (*Spec) SetCreatedAt

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

SetCreatedAt sets field value

func (*Spec) SetCreatedBy

func (o *Spec) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Spec) SetId

func (o *Spec) SetId(v string)

SetId sets field value

func (*Spec) SetLearningSpec

func (o *Spec) SetLearningSpec(v string)

SetLearningSpec sets field value

func (*Spec) SetName

func (o *Spec) SetName(v string)

SetName sets field value

func (*Spec) SetRevision

func (o *Spec) SetRevision(v int32)

SetRevision sets field value

func (*Spec) SetScore

func (o *Spec) SetScore(v float32)

SetScore gets a reference to the given NullableFloat32 and assigns it to the Score field.

func (*Spec) SetScoreNil

func (o *Spec) SetScoreNil()

SetScoreNil sets the value for Score to be an explicit nil

func (*Spec) SetSpec

func (o *Spec) SetSpec(v string)

SetSpec sets field value

func (*Spec) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*Spec) SetUpdatedBy

func (o *Spec) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (Spec) ToMap

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

func (*Spec) UnsetScore

func (o *Spec) UnsetScore()

UnsetScore ensures that no value is present for Score, not even an explicit nil

type SpecPostBody

type SpecPostBody struct {
	// The name of a spec.
	Name string `json:"name"`
	// A specification. Can be Swagger 2.0 or OAS 3.0. Must be base64 encoded.
	Spec *string `json:"spec,omitempty"`
}

SpecPostBody struct for SpecPostBody

func NewSpecPostBody

func NewSpecPostBody(name string) *SpecPostBody

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

func NewSpecPostBodyWithDefaults

func NewSpecPostBodyWithDefaults() *SpecPostBody

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

func (*SpecPostBody) GetName

func (o *SpecPostBody) GetName() string

GetName returns the Name field value

func (*SpecPostBody) GetNameOk

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

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

func (*SpecPostBody) GetSpec

func (o *SpecPostBody) GetSpec() string

GetSpec returns the Spec field value if set, zero value otherwise.

func (*SpecPostBody) GetSpecOk

func (o *SpecPostBody) GetSpecOk() (*string, bool)

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

func (*SpecPostBody) HasSpec

func (o *SpecPostBody) HasSpec() bool

HasSpec returns a boolean if a field has been set.

func (SpecPostBody) MarshalJSON

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

func (*SpecPostBody) SetName

func (o *SpecPostBody) SetName(v string)

SetName sets field value

func (*SpecPostBody) SetSpec

func (o *SpecPostBody) SetSpec(v string)

SetSpec gets a reference to the given string and assigns it to the Spec field.

func (SpecPostBody) ToMap

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

type SpecsApi

type SpecsApi interface {

	/*
		CreateSpec Create a spec

		Creates a spec for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@return ApiCreateSpecRequest
	*/
	CreateSpec(ctx context.Context, orgId string) ApiCreateSpecRequest

	// CreateSpecExecute executes the request
	//  @return Spec
	CreateSpecExecute(r ApiCreateSpecRequest) (*Spec, *http.Response, error)

	/*
		DeleteSpec Delete a spec

		Deletes a spec for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param specId Spec ID
		@return ApiDeleteSpecRequest
	*/
	DeleteSpec(ctx context.Context, orgId string, specId string) ApiDeleteSpecRequest

	// DeleteSpecExecute executes the request
	DeleteSpecExecute(r ApiDeleteSpecRequest) (*http.Response, error)

	/*
		GetSpec Get a spec

		Gets a spec for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param specId Spec ID
		@return ApiGetSpecRequest
	*/
	GetSpec(ctx context.Context, orgId string, specId string) ApiGetSpecRequest

	// GetSpecExecute executes the request
	//  @return Spec
	GetSpecExecute(r ApiGetSpecRequest) (*Spec, *http.Response, error)

	/*
		UpdateSpec Update a spec

		Updates a spec for an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param orgId Organization ID
		@param specId Spec ID
		@return ApiUpdateSpecRequest
	*/
	UpdateSpec(ctx context.Context, orgId string, specId string) ApiUpdateSpecRequest

	// UpdateSpecExecute executes the request
	//  @return Spec
	UpdateSpecExecute(r ApiUpdateSpecRequest) (*Spec, *http.Response, error)
}

type SpecsApiService

type SpecsApiService service

SpecsApiService SpecsApi service

func (*SpecsApiService) CreateSpec

func (a *SpecsApiService) CreateSpec(ctx context.Context, orgId string) ApiCreateSpecRequest

CreateSpec Create a spec

Creates a spec for an organization.

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

func (*SpecsApiService) CreateSpecExecute

func (a *SpecsApiService) CreateSpecExecute(r ApiCreateSpecRequest) (*Spec, *http.Response, error)

Execute executes the request

@return Spec

func (*SpecsApiService) DeleteSpec

func (a *SpecsApiService) DeleteSpec(ctx context.Context, orgId string, specId string) ApiDeleteSpecRequest

DeleteSpec Delete a spec

Deletes a spec for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param specId Spec ID
@return ApiDeleteSpecRequest

func (*SpecsApiService) DeleteSpecExecute

func (a *SpecsApiService) DeleteSpecExecute(r ApiDeleteSpecRequest) (*http.Response, error)

Execute executes the request

func (*SpecsApiService) GetSpec

func (a *SpecsApiService) GetSpec(ctx context.Context, orgId string, specId string) ApiGetSpecRequest

GetSpec Get a spec

Gets a spec for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param specId Spec ID
@return ApiGetSpecRequest

func (*SpecsApiService) GetSpecAnalyses

func (a *SpecsApiService) GetSpecAnalyses(ctx context.Context, orgId string) ApiGetSpecAnalysesRequest

GetSpecAnalyses Get specs analysis

Gets a list of specs analysis for an organization.

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

func (*SpecsApiService) GetSpecExecute

func (a *SpecsApiService) GetSpecExecute(r ApiGetSpecRequest) (*Spec, *http.Response, error)

Execute executes the request

@return Spec

func (*SpecsApiService) UpdateSpec

func (a *SpecsApiService) UpdateSpec(ctx context.Context, orgId string, specId string) ApiUpdateSpecRequest

UpdateSpec Update a spec

Updates a spec for an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organization ID
@param specId Spec ID
@return ApiUpdateSpecRequest

func (*SpecsApiService) UpdateSpecExecute

func (a *SpecsApiService) UpdateSpecExecute(r ApiUpdateSpecRequest) (*Spec, *http.Response, error)

Execute executes the request

@return Spec

type TokenInfo

type TokenInfo struct {
	// ID of the user.
	UserId string `json:"user_id"`
	// ID of the org.
	OrgId string `json:"org_id"`
}

TokenInfo struct for TokenInfo

func NewTokenInfo

func NewTokenInfo(userId string, orgId string) *TokenInfo

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

func NewTokenInfoWithDefaults

func NewTokenInfoWithDefaults() *TokenInfo

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

func (*TokenInfo) GetOrgId

func (o *TokenInfo) GetOrgId() string

GetOrgId returns the OrgId field value

func (*TokenInfo) GetOrgIdOk

func (o *TokenInfo) GetOrgIdOk() (*string, bool)

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

func (*TokenInfo) GetUserId

func (o *TokenInfo) GetUserId() string

GetUserId returns the UserId field value

func (*TokenInfo) GetUserIdOk

func (o *TokenInfo) GetUserIdOk() (*string, bool)

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

func (TokenInfo) MarshalJSON

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

func (*TokenInfo) SetOrgId

func (o *TokenInfo) SetOrgId(v string)

SetOrgId sets field value

func (*TokenInfo) SetUserId

func (o *TokenInfo) SetUserId(v string)

SetUserId sets field value

func (TokenInfo) ToMap

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

type UserApi

type UserApi interface {

	/*
		GetTokenInfo Get token info

		Gets the token info for the current user.

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

	// GetTokenInfoExecute executes the request
	//  @return TokenInfo
	GetTokenInfoExecute(r ApiGetTokenInfoRequest) (*TokenInfo, *http.Response, error)
}

type UserApiService

type UserApiService service

UserApiService UserApi service

func (*UserApiService) GetTokenInfo

GetTokenInfo Get token info

Gets the token info for the current user.

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

func (*UserApiService) GetTokenInfoExecute

func (a *UserApiService) GetTokenInfoExecute(r ApiGetTokenInfoRequest) (*TokenInfo, *http.Response, error)

Execute executes the request

@return TokenInfo

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL