apiclient

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// 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")
)
View Source
var AllowedBlockingEffectTypeEnumValues = []BlockingEffectType{
	"block",
	"simulate",
}

All allowed values of BlockingEffectType enum

View Source
var AllowedLabelColorEnumValues = []LabelColor{
	"gray",
	"red",
	"orange",
	"yellow",
	"green",
	"teal",
	"cyan",
	"blue",
	"purple",
	"pink",
}

All allowed values of LabelColor enum

View Source
var AllowedListFunctionalityEnumValues = []ListFunctionality{
	"add",
	"add/remove",
}

All allowed values of ListFunctionality enum

View Source
var AllowedListKindEnumValues = []ListKind{
	"string",
	"uuid",
	"ip",
	"country",
	"path",
	"asn",
}

All allowed values of ListKind enum

View Source
var AllowedListSubkindEnumValues = []ListSubkind{
	"spec_uuid",
	"endpoint_uuid",
}

All allowed values of ListSubkind enum

View Source
var AllowedRulesTestCaseAssertionConditionDefaultEnumValues = []RulesTestCaseAssertionConditionDefault{
	"equal",
	"not_equal",
	"greater_than",
	"less_than",
	"one_of",
}

All allowed values of RulesTestCaseAssertionConditionDefault enum

View Source
var AllowedRulesTestCaseAssertionConditionPresenceEnumValues = []RulesTestCaseAssertionConditionPresence{
	"contains",
	"not_contains",
}

All allowed values of RulesTestCaseAssertionConditionPresence enum

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

	ConnectorsAPI ConnectorsAPI

	EventMonitorsAPI EventMonitorsAPI

	LabelsAPI LabelsAPI

	ListsAPI ListsAPI

	LogBindingsAPI LogBindingsAPI

	NotificationTemplatesAPI NotificationTemplatesAPI

	RulesDependenciesAPI RulesDependenciesAPI

	RulesScriptsAPI RulesScriptsAPI

	RulesTestCasesAPI RulesTestCasesAPI

	SpecsAPI SpecsAPI
	TagsAPI  TagsAPI

	UserAPI UserAPI
	// 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"`
	// Whether the API binding is disabled.
	Disabled bool `json:"disabled"`
	// 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"`
	AdditionalProperties map[string]interface{}
}

ApiBinding struct for ApiBinding

func NewApiBinding

func NewApiBinding(id string, name string, disabled bool, 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) GetDisabled

func (o *ApiBinding) GetDisabled() bool

GetDisabled returns the Disabled field value

func (*ApiBinding) GetDisabledOk

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

GetDisabledOk returns a tuple with the Disabled 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) SetDisabled

func (o *ApiBinding) SetDisabled(v bool)

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

func (*ApiBinding) UnmarshalJSON

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

type ApiBindingPostBody

type ApiBindingPostBody struct {
	Name                 string   `json:"name"`
	Disabled             *bool    `json:"disabled,omitempty"`
	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"`
	AdditionalProperties map[string]interface{}
}

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

func (o *ApiBindingPostBody) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*ApiBindingPostBody) GetDisabledOk

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

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

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

func (o *ApiBindingPostBody) HasDisabled() bool

HasDisabled returns a boolean if a field 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) SetDisabled

func (o *ApiBindingPostBody) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

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)

func (*ApiBindingPostBody) UnmarshalJSON

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

type ApiBindings

type ApiBindings struct {
	// A list of API bindings.
	Items                []ApiBinding   `json:"items"`
	Meta                 CollectionMeta `json:"meta"`
	AdditionalProperties map[string]interface{}
}

ApiBindings struct for ApiBindings

func NewApiBindings

func NewApiBindings(items []ApiBinding, meta CollectionMeta) *ApiBindings

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

func NewApiBindingsWithDefaults

func NewApiBindingsWithDefaults() *ApiBindings

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

func (*ApiBindings) GetItems

func (o *ApiBindings) GetItems() []ApiBinding

GetItems returns the Items field value

func (*ApiBindings) GetItemsOk

func (o *ApiBindings) GetItemsOk() ([]ApiBinding, bool)

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

func (*ApiBindings) GetMeta

func (o *ApiBindings) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*ApiBindings) GetMetaOk

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

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

func (ApiBindings) MarshalJSON

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

func (*ApiBindings) SetItems

func (o *ApiBindings) SetItems(v []ApiBinding)

SetItems sets field value

func (*ApiBindings) SetMeta

func (o *ApiBindings) SetMeta(v CollectionMeta)

SetMeta sets field value

func (ApiBindings) ToMap

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

func (*ApiBindings) UnmarshalJSON

func (o *ApiBindings) UnmarshalJSON(data []byte) (err 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)

	/*
		GetAPIBindings Get API bindings

		Gets a list of API 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 ApiGetAPIBindingsRequest
	*/
	GetAPIBindings(ctx context.Context, orgId string) ApiGetAPIBindingsRequest

	// GetAPIBindingsExecute executes the request
	//  @return ApiBindings
	GetAPIBindingsExecute(r ApiGetAPIBindingsRequest) (*ApiBindings, *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) GetAPIBindings

GetAPIBindings Get API bindings

Gets a list of API 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 ApiGetAPIBindingsRequest

func (*ApiBindingsAPIService) GetAPIBindingsExecute

Execute executes the request

@return ApiBindings

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

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

func (ApiCreateConnectorRequest) ConnectorPostBody

func (r ApiCreateConnectorRequest) ConnectorPostBody(connectorPostBody ConnectorPostBody) ApiCreateConnectorRequest

Request body for creating a connector.

func (ApiCreateConnectorRequest) Execute

type ApiCreateEventMonitorRequest

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

func (ApiCreateEventMonitorRequest) EventMonitorPostBody

func (r ApiCreateEventMonitorRequest) EventMonitorPostBody(eventMonitorPostBody EventMonitorPostBody) ApiCreateEventMonitorRequest

Request body for creating an event monitor.

func (ApiCreateEventMonitorRequest) Execute

type ApiCreateLabelRequest added in v0.9.0

type ApiCreateLabelRequest struct {
	ApiService LabelsAPI
	// contains filtered or unexported fields
}

func (ApiCreateLabelRequest) Execute added in v0.9.0

func (r ApiCreateLabelRequest) Execute() (*Label, *http.Response, error)

func (ApiCreateLabelRequest) LabelPostBody added in v0.9.0

func (r ApiCreateLabelRequest) LabelPostBody(labelPostBody LabelPostBody) ApiCreateLabelRequest

Request body for creating a label.

type ApiCreateListRequest

type ApiCreateListRequest struct {
	ApiService ListsAPI
	// contains filtered or unexported fields
}

func (ApiCreateListRequest) Execute

func (r ApiCreateListRequest) Execute() (*List, *http.Response, error)

func (ApiCreateListRequest) ListPostBody

func (r ApiCreateListRequest) ListPostBody(listPostBody ListPostBody) ApiCreateListRequest

Request body for creating a list.

type ApiCreateLogBindingRequest

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

func (ApiCreateLogBindingRequest) Execute

func (ApiCreateLogBindingRequest) LogBindingPostBody

func (r ApiCreateLogBindingRequest) LogBindingPostBody(logBindingPostBody LogBindingPostBody) ApiCreateLogBindingRequest

Request body for creating a log binding.

type ApiCreateNotificationTemplateRequest

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

func (ApiCreateNotificationTemplateRequest) Execute

func (ApiCreateNotificationTemplateRequest) NotificationTemplatePostBody

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 ApiCreateRulesTestCaseRequest

type ApiCreateRulesTestCaseRequest struct {
	ApiService RulesTestCasesAPI
	// contains filtered or unexported fields
}

func (ApiCreateRulesTestCaseRequest) Execute

func (ApiCreateRulesTestCaseRequest) RulesTestCasePostBody

func (r ApiCreateRulesTestCaseRequest) RulesTestCasePostBody(rulesTestCasePostBody RulesTestCasePostBody) ApiCreateRulesTestCaseRequest

Request body for creating a rules test case.

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 ApiCreateTagRequest added in v0.9.0

type ApiCreateTagRequest struct {
	ApiService TagsAPI
	// contains filtered or unexported fields
}

func (ApiCreateTagRequest) Execute added in v0.9.0

func (r ApiCreateTagRequest) Execute() (*Tag, *http.Response, error)

func (ApiCreateTagRequest) TagPostBody added in v0.9.0

func (r ApiCreateTagRequest) TagPostBody(tagPostBody TagPostBody) ApiCreateTagRequest

Request body for creating a tag.

type ApiDeleteAPIBindingRequest

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

func (ApiDeleteAPIBindingRequest) Execute

type ApiDeleteConnectorRequest

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

func (ApiDeleteConnectorRequest) Execute

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

func (ApiDeleteConnectorRequest) IfMatch

If Match for ETag lock checks.

type ApiDeleteEventMonitorRequest

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

func (ApiDeleteEventMonitorRequest) Execute

func (ApiDeleteEventMonitorRequest) IfMatch

If Match for ETag lock checks.

type ApiDeleteLabelRequest added in v0.9.0

type ApiDeleteLabelRequest struct {
	ApiService LabelsAPI
	// contains filtered or unexported fields
}

func (ApiDeleteLabelRequest) Execute added in v0.9.0

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

func (ApiDeleteLabelRequest) IfMatch added in v0.9.0

If Match for ETag lock checks.

type ApiDeleteListRequest

type ApiDeleteListRequest struct {
	ApiService ListsAPI
	// contains filtered or unexported fields
}

func (ApiDeleteListRequest) Execute

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

func (ApiDeleteListRequest) IfMatch

If Match for ETag lock checks.

type ApiDeleteLogBindingRequest

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

func (ApiDeleteLogBindingRequest) Execute

func (ApiDeleteLogBindingRequest) IfMatch

If Match for ETag lock checks.

type ApiDeleteNotificationTemplateRequest

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

func (ApiDeleteNotificationTemplateRequest) Execute

func (ApiDeleteNotificationTemplateRequest) IfMatch

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 ApiDeleteRulesTestCaseRequest

type ApiDeleteRulesTestCaseRequest struct {
	ApiService RulesTestCasesAPI
	// contains filtered or unexported fields
}

func (ApiDeleteRulesTestCaseRequest) Execute

func (ApiDeleteRulesTestCaseRequest) 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 ApiDeleteTagRequest added in v0.9.0

type ApiDeleteTagRequest struct {
	ApiService TagsAPI
	// contains filtered or unexported fields
}

func (ApiDeleteTagRequest) Execute added in v0.9.0

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

func (ApiDeleteTagRequest) IfMatch added in v0.9.0

func (r ApiDeleteTagRequest) IfMatch(ifMatch string) ApiDeleteTagRequest

If Match for ETag lock checks.

type ApiGetAPIBindingRequest

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

func (ApiGetAPIBindingRequest) Execute

type ApiGetAPIBindingsRequest

type ApiGetAPIBindingsRequest struct {
	ApiService ApiBindingsAPI
	// contains filtered or unexported fields
}

func (ApiGetAPIBindingsRequest) CollectionId

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

Collection ID

func (ApiGetAPIBindingsRequest) Execute

func (ApiGetAPIBindingsRequest) MaxResults

func (r ApiGetAPIBindingsRequest) MaxResults(maxResults int32) ApiGetAPIBindingsRequest

The max number of results to return

func (ApiGetAPIBindingsRequest) Page

The page of results to return

func (ApiGetAPIBindingsRequest) SpecId

Spec ID

type ApiGetConnectorDestinationsRequest

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

func (ApiGetConnectorDestinationsRequest) Execute

type ApiGetConnectorRequest

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

func (ApiGetConnectorRequest) Execute

type ApiGetConnectorTypesRequest

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

func (ApiGetConnectorTypesRequest) Execute

func (ApiGetConnectorTypesRequest) MaxResults

The max number of results to return

func (ApiGetConnectorTypesRequest) Page

The page of results to return

type ApiGetConnectorsRequest

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

func (ApiGetConnectorsRequest) Execute

func (ApiGetConnectorsRequest) MaxResults

func (r ApiGetConnectorsRequest) MaxResults(maxResults int32) ApiGetConnectorsRequest

The max number of results to return

func (ApiGetConnectorsRequest) Page

The page of results to return

type ApiGetEventMonitorRequest

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

func (ApiGetEventMonitorRequest) Execute

type ApiGetEventMonitorsRequest

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

func (ApiGetEventMonitorsRequest) Execute

func (ApiGetEventMonitorsRequest) Label added in v0.9.0

Label slug

func (ApiGetEventMonitorsRequest) MaxResults

The max number of results to return

func (ApiGetEventMonitorsRequest) Page

The page of results to return

type ApiGetLabelRequest added in v0.9.0

type ApiGetLabelRequest struct {
	ApiService LabelsAPI
	// contains filtered or unexported fields
}

func (ApiGetLabelRequest) Execute added in v0.9.0

func (r ApiGetLabelRequest) Execute() (*Label, *http.Response, error)

type ApiGetLabelsRequest added in v0.9.0

type ApiGetLabelsRequest struct {
	ApiService LabelsAPI
	// contains filtered or unexported fields
}

func (ApiGetLabelsRequest) Execute added in v0.9.0

func (r ApiGetLabelsRequest) Execute() (*Labels, *http.Response, error)

func (ApiGetLabelsRequest) MaxResults added in v0.9.0

func (r ApiGetLabelsRequest) MaxResults(maxResults int32) ApiGetLabelsRequest

The max number of results to return

func (ApiGetLabelsRequest) Page added in v0.9.0

The page of results to return

type ApiGetListItemsRequest added in v0.10.0

type ApiGetListItemsRequest struct {
	ApiService ListsAPI
	// contains filtered or unexported fields
}

func (ApiGetListItemsRequest) Execute added in v0.10.0

type ApiGetListOptionsRequest

type ApiGetListOptionsRequest struct {
	ApiService ListsAPI
	// contains filtered or unexported fields
}

func (ApiGetListOptionsRequest) Execute

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

type ApiGetListRequest

type ApiGetListRequest struct {
	ApiService ListsAPI
	// contains filtered or unexported fields
}

func (ApiGetListRequest) Execute

func (r ApiGetListRequest) Execute() (*List, *http.Response, error)

type ApiGetListsOptionsRequest

type ApiGetListsOptionsRequest struct {
	ApiService ListsAPI
	// contains filtered or unexported fields
}

func (ApiGetListsOptionsRequest) Execute

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

type ApiGetListsRequest

type ApiGetListsRequest struct {
	ApiService ListsAPI
	// contains filtered or unexported fields
}

func (ApiGetListsRequest) Execute

func (r ApiGetListsRequest) Execute() (*Lists, *http.Response, error)

func (ApiGetListsRequest) Kind

The list kind to query for

func (ApiGetListsRequest) Label added in v0.9.0

func (r ApiGetListsRequest) Label(label []string) ApiGetListsRequest

Label slug

func (ApiGetListsRequest) MaxResults

func (r ApiGetListsRequest) MaxResults(maxResults int32) ApiGetListsRequest

The max number of results to return

func (ApiGetListsRequest) Page

The page of results to return

func (ApiGetListsRequest) Subkind

func (r ApiGetListsRequest) Subkind(subkind string) ApiGetListsRequest

The list subkind to query for

type ApiGetLogBindingRequest

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

func (ApiGetLogBindingRequest) Execute

type ApiGetLogBindingsRequest

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

func (ApiGetLogBindingsRequest) CollectionId

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

Collection ID

func (ApiGetLogBindingsRequest) Execute

func (ApiGetLogBindingsRequest) MaxResults

func (r ApiGetLogBindingsRequest) MaxResults(maxResults int32) ApiGetLogBindingsRequest

The max number of results to return

func (ApiGetLogBindingsRequest) Page

The page of results to return

func (ApiGetLogBindingsRequest) SpecId

Spec ID

type ApiGetNotificationTemplateRequest

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

func (ApiGetNotificationTemplateRequest) Execute

type ApiGetNotificationTemplatesRequest

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

func (ApiGetNotificationTemplatesRequest) Execute

func (ApiGetNotificationTemplatesRequest) MaxResults

The max number of results to return

func (ApiGetNotificationTemplatesRequest) Page

The page of results to return

type ApiGetObservedHostRequest

type ApiGetObservedHostRequest struct {
	ApiService ApiBindingsAPI
	// contains filtered or unexported fields
}

type ApiGetRulesScriptRequest

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

func (ApiGetRulesScriptRequest) Execute

func (ApiGetRulesScriptRequest) Revision

The revision to request

type ApiGetRulesScriptsRequest

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

func (ApiGetRulesScriptsRequest) ExcludeRevisions

func (r ApiGetRulesScriptsRequest) ExcludeRevisions(excludeRevisions bool) ApiGetRulesScriptsRequest

Whether to exclude the rule script revisions from the response

func (ApiGetRulesScriptsRequest) ExcludeSrc

func (r ApiGetRulesScriptsRequest) ExcludeSrc(excludeSrc bool) ApiGetRulesScriptsRequest

Whether to exclude the rule script src from the response

func (ApiGetRulesScriptsRequest) Execute

func (ApiGetRulesScriptsRequest) IsDisabled

Disabled status to filter results by

func (ApiGetRulesScriptsRequest) Label added in v0.9.0

Label slug

func (ApiGetRulesScriptsRequest) MaxResults

The max number of results to return

func (ApiGetRulesScriptsRequest) Page

The page of results to return

func (ApiGetRulesScriptsRequest) Type_

Type of rule script to filter results by

type ApiGetRulesScriptsSearchRequest

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

func (ApiGetRulesScriptsSearchRequest) MaxResults

The max number of results to return

func (ApiGetRulesScriptsSearchRequest) Search

Search string

type ApiGetRulesTestCaseRequest

type ApiGetRulesTestCaseRequest struct {
	ApiService RulesTestCasesAPI
	// contains filtered or unexported fields
}

func (ApiGetRulesTestCaseRequest) Execute

type ApiGetRulesTestCasesRequest

type ApiGetRulesTestCasesRequest struct {
	ApiService RulesTestCasesAPI
	// contains filtered or unexported fields
}

func (ApiGetRulesTestCasesRequest) Execute

func (ApiGetRulesTestCasesRequest) Label added in v0.9.0

Label slug

func (ApiGetRulesTestCasesRequest) MaxResults

The max number of results to return

func (ApiGetRulesTestCasesRequest) Page

The page of results to return

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 ApiGetSpecsRequest

type ApiGetSpecsRequest struct {
	ApiService SpecsAPI
	// contains filtered or unexported fields
}

func (ApiGetSpecsRequest) MaxResults

func (r ApiGetSpecsRequest) MaxResults(maxResults int32) ApiGetSpecsRequest

The max number of results to return

func (ApiGetSpecsRequest) Page

The page of results to return

type ApiGetTagRequest added in v0.9.0

type ApiGetTagRequest struct {
	ApiService TagsAPI
	// contains filtered or unexported fields
}

func (ApiGetTagRequest) Execute added in v0.9.0

func (r ApiGetTagRequest) Execute() (*Tag, *http.Response, error)

type ApiGetTagsRequest added in v0.9.0

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

func (ApiGetTagsRequest) Execute added in v0.9.0

func (r ApiGetTagsRequest) Execute() (*Tags, *http.Response, error)

type ApiGetTokenInfoRequest

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

func (ApiGetTokenInfoRequest) Execute

type ApiPutListRequest added in v0.10.0

type ApiPutListRequest struct {
	ApiService ListsAPI
	// contains filtered or unexported fields
}

func (ApiPutListRequest) Execute added in v0.10.0

func (r ApiPutListRequest) Execute() (*List, *http.Response, error)

func (ApiPutListRequest) IfMatch added in v0.10.0

func (r ApiPutListRequest) IfMatch(ifMatch string) ApiPutListRequest

If Match for ETag lock checks.

func (ApiPutListRequest) ListPutBody added in v0.10.0

func (r ApiPutListRequest) ListPutBody(listPutBody ListPutBody) ApiPutListRequest

Request body for patching a list.

type ApiSendConnectorNotificationRequest

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

func (ApiSendConnectorNotificationRequest) ConnectorNotificationPostBody

func (r ApiSendConnectorNotificationRequest) ConnectorNotificationPostBody(connectorNotificationPostBody ConnectorNotificationPostBody) ApiSendConnectorNotificationRequest

Request body for sending a connector notification.

func (ApiSendConnectorNotificationRequest) Execute

type ApiTestPostBody

type ApiTestPostBody struct {
	// The auth secret ID.
	AuthSecretId *string `json:"auth_secret_id,omitempty"`
	// Whether to use TLS.
	UseTls *bool `json:"use_tls,omitempty"`
	// The endpoint ID.
	EndpointId string `json:"endpoint_id"`
	// The binding ID.
	ApiBindingId string `json:"api_binding_id"`
	// 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"`
	AdditionalProperties map[string]interface{}
}

ApiTestPostBody struct for ApiTestPostBody

func NewApiTestPostBody

func NewApiTestPostBody(endpointId string, apiBindingId string) *ApiTestPostBody

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

func NewApiTestPostBodyWithDefaults

func NewApiTestPostBodyWithDefaults() *ApiTestPostBody

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

func (*ApiTestPostBody) GetApiBindingId

func (o *ApiTestPostBody) GetApiBindingId() string

GetApiBindingId returns the ApiBindingId field value

func (*ApiTestPostBody) GetApiBindingIdOk

func (o *ApiTestPostBody) GetApiBindingIdOk() (*string, bool)

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

func (*ApiTestPostBody) GetAuthSecretId

func (o *ApiTestPostBody) GetAuthSecretId() string

GetAuthSecretId returns the AuthSecretId field value if set, zero value otherwise.

func (*ApiTestPostBody) GetAuthSecretIdOk

func (o *ApiTestPostBody) GetAuthSecretIdOk() (*string, bool)

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

func (*ApiTestPostBody) GetBody

func (o *ApiTestPostBody) GetBody() string

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

func (*ApiTestPostBody) GetBodyOk

func (o *ApiTestPostBody) 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 (*ApiTestPostBody) GetCookieKeys

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

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

func (*ApiTestPostBody) GetCookieKeysOk

func (o *ApiTestPostBody) 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 (*ApiTestPostBody) GetCookieValues

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

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

func (*ApiTestPostBody) GetCookieValuesOk

func (o *ApiTestPostBody) 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 (*ApiTestPostBody) GetEndpointId

func (o *ApiTestPostBody) GetEndpointId() string

GetEndpointId returns the EndpointId field value

func (*ApiTestPostBody) GetEndpointIdOk

func (o *ApiTestPostBody) GetEndpointIdOk() (*string, bool)

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

func (*ApiTestPostBody) GetHeaderKeys

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

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

func (*ApiTestPostBody) GetHeaderKeysOk

func (o *ApiTestPostBody) 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 (*ApiTestPostBody) GetHeaderValues

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

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

func (*ApiTestPostBody) GetHeaderValuesOk

func (o *ApiTestPostBody) 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 (*ApiTestPostBody) GetUseTls

func (o *ApiTestPostBody) GetUseTls() bool

GetUseTls returns the UseTls field value if set, zero value otherwise.

func (*ApiTestPostBody) GetUseTlsOk

func (o *ApiTestPostBody) GetUseTlsOk() (*bool, bool)

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

func (*ApiTestPostBody) HasAuthSecretId

func (o *ApiTestPostBody) HasAuthSecretId() bool

HasAuthSecretId returns a boolean if a field has been set.

func (*ApiTestPostBody) HasBody

func (o *ApiTestPostBody) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*ApiTestPostBody) HasCookieKeys

func (o *ApiTestPostBody) HasCookieKeys() bool

HasCookieKeys returns a boolean if a field has been set.

func (*ApiTestPostBody) HasCookieValues

func (o *ApiTestPostBody) HasCookieValues() bool

HasCookieValues returns a boolean if a field has been set.

func (*ApiTestPostBody) HasHeaderKeys

func (o *ApiTestPostBody) HasHeaderKeys() bool

HasHeaderKeys returns a boolean if a field has been set.

func (*ApiTestPostBody) HasHeaderValues

func (o *ApiTestPostBody) HasHeaderValues() bool

HasHeaderValues returns a boolean if a field has been set.

func (*ApiTestPostBody) HasUseTls

func (o *ApiTestPostBody) HasUseTls() bool

HasUseTls returns a boolean if a field has been set.

func (ApiTestPostBody) MarshalJSON

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

func (*ApiTestPostBody) SetApiBindingId

func (o *ApiTestPostBody) SetApiBindingId(v string)

SetApiBindingId sets field value

func (*ApiTestPostBody) SetAuthSecretId

func (o *ApiTestPostBody) SetAuthSecretId(v string)

SetAuthSecretId gets a reference to the given string and assigns it to the AuthSecretId field.

func (*ApiTestPostBody) SetBody

func (o *ApiTestPostBody) SetBody(v string)

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

func (*ApiTestPostBody) SetCookieKeys

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

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

func (*ApiTestPostBody) SetCookieValues

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

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

func (*ApiTestPostBody) SetEndpointId

func (o *ApiTestPostBody) SetEndpointId(v string)

SetEndpointId sets field value

func (*ApiTestPostBody) SetHeaderKeys

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

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

func (*ApiTestPostBody) SetHeaderValues

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

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

func (*ApiTestPostBody) SetUseTls

func (o *ApiTestPostBody) SetUseTls(v bool)

SetUseTls gets a reference to the given bool and assigns it to the UseTls field.

func (ApiTestPostBody) ToMap

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

func (*ApiTestPostBody) UnmarshalJSON

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

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

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

func (ApiUpdateConnectorRequest) ConnectorPutBody

func (r ApiUpdateConnectorRequest) ConnectorPutBody(connectorPutBody ConnectorPutBody) ApiUpdateConnectorRequest

Request body for updating a connector.

func (ApiUpdateConnectorRequest) Execute

type ApiUpdateEventMonitorRequest

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

func (ApiUpdateEventMonitorRequest) EventMonitorPostBody

func (r ApiUpdateEventMonitorRequest) EventMonitorPostBody(eventMonitorPostBody EventMonitorPostBody) ApiUpdateEventMonitorRequest

Request body for creating an event monitor.

func (ApiUpdateEventMonitorRequest) Execute

func (ApiUpdateEventMonitorRequest) IfMatch

If Match for ETag lock checks.

type ApiUpdateLabelRequest added in v0.9.0

type ApiUpdateLabelRequest struct {
	ApiService LabelsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateLabelRequest) Execute added in v0.9.0

func (r ApiUpdateLabelRequest) Execute() (*Label, *http.Response, error)

func (ApiUpdateLabelRequest) IfMatch added in v0.9.0

If Match for ETag lock checks.

func (ApiUpdateLabelRequest) LabelPutBody added in v0.9.0

func (r ApiUpdateLabelRequest) LabelPutBody(labelPutBody LabelPutBody) ApiUpdateLabelRequest

Request body for updating a label.

type ApiUpdateListItemsRequest added in v0.10.0

type ApiUpdateListItemsRequest struct {
	ApiService ListsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateListItemsRequest) Execute added in v0.10.0

func (ApiUpdateListItemsRequest) ListItemsPatchBody added in v0.10.0

func (r ApiUpdateListItemsRequest) ListItemsPatchBody(listItemsPatchBody ListItemsPatchBody) ApiUpdateListItemsRequest

Request body for patching a list.

type ApiUpdateListRequest

type ApiUpdateListRequest struct {
	ApiService ListsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateListRequest) Execute

func (r ApiUpdateListRequest) Execute() (*List, *http.Response, error)

func (ApiUpdateListRequest) IfMatch

If Match for ETag lock checks.

func (ApiUpdateListRequest) ListPatchBody

func (r ApiUpdateListRequest) ListPatchBody(listPatchBody ListPatchBody) ApiUpdateListRequest

Request body for patching a list.

type ApiUpdateLogBindingRequest

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

func (ApiUpdateLogBindingRequest) Execute

func (ApiUpdateLogBindingRequest) IfMatch

If Match for ETag lock checks.

func (ApiUpdateLogBindingRequest) LogBindingPutBody

func (r ApiUpdateLogBindingRequest) LogBindingPutBody(logBindingPutBody LogBindingPutBody) ApiUpdateLogBindingRequest

Request body for creating a log binding.

type ApiUpdateNotificationTemplateRequest

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

func (ApiUpdateNotificationTemplateRequest) Execute

func (ApiUpdateNotificationTemplateRequest) IfMatch

If Match for ETag lock checks.

func (ApiUpdateNotificationTemplateRequest) NotificationTemplatePostBody

func (r ApiUpdateNotificationTemplateRequest) NotificationTemplatePostBody(notificationTemplatePostBody NotificationTemplatePostBody) ApiUpdateNotificationTemplateRequest

Request body for creating a notification template.

type ApiUpdateRulesDependenciesRequest

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

func (ApiUpdateRulesDependenciesRequest) Execute

func (ApiUpdateRulesDependenciesRequest) RulesDependenciesPutBodyInner

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 ApiUpdateRulesTestCaseRequest

type ApiUpdateRulesTestCaseRequest struct {
	ApiService RulesTestCasesAPI
	// contains filtered or unexported fields
}

func (ApiUpdateRulesTestCaseRequest) Execute

func (ApiUpdateRulesTestCaseRequest) IfMatch

If Match for ETag lock checks.

func (ApiUpdateRulesTestCaseRequest) RulesTestCasePostBody

func (r ApiUpdateRulesTestCaseRequest) RulesTestCasePostBody(rulesTestCasePostBody RulesTestCasePostBody) ApiUpdateRulesTestCaseRequest

Request body for creating a rules test case.

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 ApiUpdateTagRequest added in v0.9.0

type ApiUpdateTagRequest struct {
	ApiService TagsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateTagRequest) Execute added in v0.9.0

func (r ApiUpdateTagRequest) Execute() (*Tag, *http.Response, error)

func (ApiUpdateTagRequest) IfMatch added in v0.9.0

func (r ApiUpdateTagRequest) IfMatch(ifMatch string) ApiUpdateTagRequest

If Match for ETag lock checks.

func (ApiUpdateTagRequest) TagPutBody added in v0.9.0

func (r ApiUpdateTagRequest) TagPutBody(tagPutBody TagPutBody) ApiUpdateTagRequest

Request body for updating a tag.

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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*BasicError) UnmarshalJSON

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

type BlockingEffectType

type BlockingEffectType string

BlockingEffectType A string representing the type of blocking effect.

const (
	BLOCK    BlockingEffectType = "block"
	SIMULATE BlockingEffectType = "simulate"
)

List of blocking_effect_type

func NewBlockingEffectTypeFromValue

func NewBlockingEffectTypeFromValue(v string) (*BlockingEffectType, error)

NewBlockingEffectTypeFromValue returns a pointer to a valid BlockingEffectType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BlockingEffectType) IsValid

func (v BlockingEffectType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BlockingEffectType) Ptr

Ptr returns reference to blocking_effect_type value

func (*BlockingEffectType) UnmarshalJSON

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

type CollectionMeta

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"`
	AdditionalProperties map[string]interface{}
}

CollectionMeta Metadata about the collection.

func NewCollectionMeta

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

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

func (o *CollectionMeta) GetMaxResults() int32

GetMaxResults returns the MaxResults field value

func (*CollectionMeta) GetMaxResultsOk

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

func (o *CollectionMeta) GetTotal() int64

GetTotal returns the Total field value

func (*CollectionMeta) GetTotalOk

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

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

func (*CollectionMeta) SetMaxResults

func (o *CollectionMeta) SetMaxResults(v int32)

SetMaxResults sets field value

func (*CollectionMeta) SetTotal

func (o *CollectionMeta) SetTotal(v int64)

SetTotal sets field value

func (CollectionMeta) ToMap

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

func (*CollectionMeta) UnmarshalJSON

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

type CompilationDiagnostic

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

CompilationDiagnostic struct for CompilationDiagnostic

func NewCompilationDiagnostic

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

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

func (o *CompilationDiagnostic) GetCategory() int32

GetCategory returns the Category field value

func (*CompilationDiagnostic) GetCategoryOk

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

func (o *CompilationDiagnostic) GetCode() int32

GetCode returns the Code field value

func (*CompilationDiagnostic) GetCodeOk

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

func (o *CompilationDiagnostic) GetMessage() string

GetMessage returns the Message field value

func (*CompilationDiagnostic) GetMessageOk

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

GetRange returns the Range field value

func (*CompilationDiagnostic) GetRangeOk

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

func (CompilationDiagnostic) MarshalJSON

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

func (*CompilationDiagnostic) SetCategory

func (o *CompilationDiagnostic) SetCategory(v int32)

SetCategory sets field value

func (*CompilationDiagnostic) SetCode

func (o *CompilationDiagnostic) SetCode(v int32)

SetCode sets field value

func (*CompilationDiagnostic) SetMessage

func (o *CompilationDiagnostic) SetMessage(v string)

SetMessage sets field value

func (*CompilationDiagnostic) SetRange

SetRange sets field value

func (CompilationDiagnostic) ToMap

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

func (*CompilationDiagnostic) UnmarshalJSON

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

type CompilationDiagnosticRange

type CompilationDiagnosticRange struct {
	Start                int32  `json:"start"`
	End                  int32  `json:"end"`
	Source               string `json:"source"`
	AdditionalProperties map[string]interface{}
}

CompilationDiagnosticRange struct for CompilationDiagnosticRange

func NewCompilationDiagnosticRange

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

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

func (o *CompilationDiagnosticRange) GetEnd() int32

GetEnd returns the End field value

func (*CompilationDiagnosticRange) GetEndOk

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

func (o *CompilationDiagnosticRange) GetSource() string

GetSource returns the Source field value

func (*CompilationDiagnosticRange) GetSourceOk

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

func (o *CompilationDiagnosticRange) GetStart() int32

GetStart returns the Start field value

func (*CompilationDiagnosticRange) GetStartOk

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

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

func (*CompilationDiagnosticRange) SetEnd

func (o *CompilationDiagnosticRange) SetEnd(v int32)

SetEnd sets field value

func (*CompilationDiagnosticRange) SetSource

func (o *CompilationDiagnosticRange) SetSource(v string)

SetSource sets field value

func (*CompilationDiagnosticRange) SetStart

func (o *CompilationDiagnosticRange) SetStart(v int32)

SetStart sets field value

func (CompilationDiagnosticRange) ToMap

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

func (*CompilationDiagnosticRange) UnmarshalJSON

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

type CompilationDiagnostics

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

CompilationDiagnostics struct for CompilationDiagnostics

func NewCompilationDiagnostics

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

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

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

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

func (*CompilationDiagnostics) GetDiagnosticsOk

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

func (o *CompilationDiagnostics) GetMessage() string

GetMessage returns the Message field value

func (*CompilationDiagnostics) GetMessageOk

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

func (o *CompilationDiagnostics) HasDiagnostics() bool

HasDiagnostics returns a boolean if a field has been set.

func (CompilationDiagnostics) MarshalJSON

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

func (*CompilationDiagnostics) SetDiagnostics

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

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

func (*CompilationDiagnostics) SetMessage

func (o *CompilationDiagnostics) SetMessage(v string)

SetMessage sets field value

func (CompilationDiagnostics) ToMap

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

func (*CompilationDiagnostics) UnmarshalJSON

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

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"`
	AdditionalProperties map[string]interface{}
}

Connector struct for Connector

func NewConnector

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

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

func (o *Connector) GetConnectorTypeId() string

GetConnectorTypeId returns the ConnectorTypeId field value

func (*Connector) GetConnectorTypeIdOk

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

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

GetDestinations returns the Destinations field value

func (*Connector) GetDestinationsOk

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

func (o *Connector) GetId() string

GetId returns the Id field value

func (*Connector) GetIdOk

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

func (o *Connector) GetIsConnected() bool

GetIsConnected returns the IsConnected field value

func (*Connector) GetIsConnectedOk

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

func (o *Connector) GetName() string

GetName returns the Name field value

func (*Connector) GetNameOk

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

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

func (*Connector) SetConnectorTypeId

func (o *Connector) SetConnectorTypeId(v string)

SetConnectorTypeId sets field value

func (*Connector) SetDestinations

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

SetDestinations sets field value

func (*Connector) SetId

func (o *Connector) SetId(v string)

SetId sets field value

func (*Connector) SetIsConnected

func (o *Connector) SetIsConnected(v bool)

SetIsConnected sets field value

func (*Connector) SetName

func (o *Connector) SetName(v string)

SetName sets field value

func (Connector) ToMap

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

func (*Connector) UnmarshalJSON

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

type ConnectorDestination

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

ConnectorDestination struct for ConnectorDestination

func NewConnectorDestination

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

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

func (o *ConnectorDestination) GetId() string

GetId returns the Id field value

func (*ConnectorDestination) GetIdOk

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

func (o *ConnectorDestination) GetName() string

GetName returns the Name field value

func (*ConnectorDestination) GetNameOk

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

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

func (*ConnectorDestination) SetId

func (o *ConnectorDestination) SetId(v string)

SetId sets field value

func (*ConnectorDestination) SetName

func (o *ConnectorDestination) SetName(v string)

SetName sets field value

func (ConnectorDestination) ToMap

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

func (*ConnectorDestination) UnmarshalJSON

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

type ConnectorDestinations

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

ConnectorDestinations struct for ConnectorDestinations

func NewConnectorDestinations

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

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

GetItems returns the Items field value

func (*ConnectorDestinations) GetItemsOk

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

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

func (*ConnectorDestinations) SetItems

SetItems sets field value

func (ConnectorDestinations) ToMap

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

func (*ConnectorDestinations) UnmarshalJSON

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

type ConnectorNotificationPostBody

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,omitempty"`
	// An array of ids for where the notification should be sent.
	Destination          []string `json:"destination,omitempty"`
	AdditionalProperties map[string]interface{}
}

ConnectorNotificationPostBody struct for ConnectorNotificationPostBody

func NewConnectorNotificationPostBody

func NewConnectorNotificationPostBody(payload 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

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

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

GetDestination returns the Destination field value if set, zero value otherwise.

func (*ConnectorNotificationPostBody) GetDestinationOk

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

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

func (*ConnectorNotificationPostBody) GetPayload

func (o *ConnectorNotificationPostBody) GetPayload() string

GetPayload returns the Payload field value

func (*ConnectorNotificationPostBody) GetPayloadOk

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

func (o *ConnectorNotificationPostBody) GetSubject() string

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

func (*ConnectorNotificationPostBody) GetSubjectOk

func (o *ConnectorNotificationPostBody) 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 (*ConnectorNotificationPostBody) HasDestination

func (o *ConnectorNotificationPostBody) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*ConnectorNotificationPostBody) HasSubject

func (o *ConnectorNotificationPostBody) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (ConnectorNotificationPostBody) MarshalJSON

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

func (*ConnectorNotificationPostBody) SetDestination

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

SetDestination gets a reference to the given []string and assigns it to the Destination field.

func (*ConnectorNotificationPostBody) SetPayload

func (o *ConnectorNotificationPostBody) SetPayload(v string)

SetPayload sets field value

func (*ConnectorNotificationPostBody) SetSubject

func (o *ConnectorNotificationPostBody) SetSubject(v string)

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

func (ConnectorNotificationPostBody) ToMap

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

func (*ConnectorNotificationPostBody) UnmarshalJSON

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

type ConnectorPostBody

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"`
	AdditionalProperties map[string]interface{}
}

ConnectorPostBody struct for ConnectorPostBody

func NewConnectorPostBody

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

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

func (o *ConnectorPostBody) GetConfig() string

GetConfig returns the Config field value

func (*ConnectorPostBody) GetConfigOk

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

func (o *ConnectorPostBody) GetConnectorTypeId() string

GetConnectorTypeId returns the ConnectorTypeId field value

func (*ConnectorPostBody) GetConnectorTypeIdOk

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

func (o *ConnectorPostBody) GetName() string

GetName returns the Name field value

func (*ConnectorPostBody) GetNameOk

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

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

func (*ConnectorPostBody) SetConfig

func (o *ConnectorPostBody) SetConfig(v string)

SetConfig sets field value

func (*ConnectorPostBody) SetConnectorTypeId

func (o *ConnectorPostBody) SetConnectorTypeId(v string)

SetConnectorTypeId sets field value

func (*ConnectorPostBody) SetName

func (o *ConnectorPostBody) SetName(v string)

SetName sets field value

func (ConnectorPostBody) ToMap

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

func (*ConnectorPostBody) UnmarshalJSON

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

type ConnectorPutBody

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"`
	AdditionalProperties map[string]interface{}
}

ConnectorPutBody struct for ConnectorPutBody

func NewConnectorPutBody

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

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

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

GetDestinations returns the Destinations field value

func (*ConnectorPutBody) GetDestinationsOk

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

func (o *ConnectorPutBody) GetName() string

GetName returns the Name field value

func (*ConnectorPutBody) GetNameOk

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

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

func (*ConnectorPutBody) SetDestinations

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

SetDestinations sets field value

func (*ConnectorPutBody) SetName

func (o *ConnectorPutBody) SetName(v string)

SetName sets field value

func (ConnectorPutBody) ToMap

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

func (*ConnectorPutBody) UnmarshalJSON

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

type ConnectorType

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"`
	AdditionalProperties map[string]interface{}
}

ConnectorType struct for ConnectorType

func NewConnectorType

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

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

func (o *ConnectorType) GetConfigSchema() string

GetConfigSchema returns the ConfigSchema field value

func (*ConnectorType) GetConfigSchemaOk

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

func (o *ConnectorType) GetId() string

GetId returns the Id field value

func (*ConnectorType) GetIdOk

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

func (o *ConnectorType) GetName() string

GetName returns the Name field value

func (*ConnectorType) GetNameOk

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

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

func (*ConnectorType) SetConfigSchema

func (o *ConnectorType) SetConfigSchema(v string)

SetConfigSchema sets field value

func (*ConnectorType) SetId

func (o *ConnectorType) SetId(v string)

SetId sets field value

func (*ConnectorType) SetName

func (o *ConnectorType) SetName(v string)

SetName sets field value

func (ConnectorType) ToMap

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

func (*ConnectorType) UnmarshalJSON

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

type ConnectorTypes

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

ConnectorTypes struct for ConnectorTypes

func NewConnectorTypes

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

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

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

GetItems returns the Items field value

func (*ConnectorTypes) GetItemsOk

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

func (o *ConnectorTypes) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*ConnectorTypes) GetMetaOk

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

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

func (*ConnectorTypes) SetItems

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

SetItems sets field value

func (*ConnectorTypes) SetMeta

func (o *ConnectorTypes) SetMeta(v CollectionMeta)

SetMeta sets field value

func (ConnectorTypes) ToMap

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

func (*ConnectorTypes) UnmarshalJSON

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

type Connectors

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

Connectors struct for Connectors

func NewConnectors

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

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

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

GetItems returns the Items field value

func (*Connectors) GetItemsOk

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

func (o *Connectors) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*Connectors) GetMetaOk

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

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

func (*Connectors) SetItems

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

SetItems sets field value

func (*Connectors) SetMeta

func (o *Connectors) SetMeta(v CollectionMeta)

SetMeta sets field value

func (Connectors) ToMap

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

func (*Connectors) UnmarshalJSON

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

type ConnectorsAPI

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

type ConnectorsAPIService service

ConnectorsAPIService ConnectorsAPI service

func (*ConnectorsAPIService) CreateConnector

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

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

Execute executes the request

@return Connector

func (*ConnectorsAPIService) DeleteConnector

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

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

Execute executes the request

func (*ConnectorsAPIService) GetConnector

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

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

Execute executes the request

@return ConnectorDestinations

func (*ConnectorsAPIService) GetConnectorExecute

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

Execute executes the request

@return Connector

func (*ConnectorsAPIService) GetConnectorTypes

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

Execute executes the request

@return ConnectorTypes

func (*ConnectorsAPIService) GetConnectors

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

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

Execute executes the request

@return Connectors

func (*ConnectorsAPIService) SendConnectorNotification

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

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

Execute executes the request

func (*ConnectorsAPIService) UpdateConnector

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

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

Execute executes the request

@return Connector

type EventMonitor

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"`
	// The ids of the notification templates that the monitor is associated with.
	NotificationTemplateIds []string `json:"notification_template_ids"`
	// The applied labels.
	Labels []string `json:"labels"`
	// 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"`
	AdditionalProperties map[string]interface{}
}

EventMonitor struct for EventMonitor

func NewEventMonitor

func NewEventMonitor(id string, name string, description string, conditions []EventMonitorCondition, notificationTemplateIds []string, labels []string, createdBy string, createdAt time.Time, updatedBy NullableString, updatedAt NullableTime) *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

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

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

GetConditions returns the Conditions field value

func (*EventMonitor) GetConditionsOk

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

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

GetCreatedAt returns the CreatedAt field value

func (*EventMonitor) GetCreatedAtOk

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

func (o *EventMonitor) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*EventMonitor) GetCreatedByOk

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

func (o *EventMonitor) GetDescription() string

GetDescription returns the Description field value

func (*EventMonitor) GetDescriptionOk

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

func (o *EventMonitor) GetId() string

GetId returns the Id field value

func (*EventMonitor) GetIdOk

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) GetLabels added in v0.9.0

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

GetLabels returns the Labels field value

func (*EventMonitor) GetLabelsOk added in v0.9.0

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

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

func (*EventMonitor) GetName

func (o *EventMonitor) GetName() string

GetName returns the Name field value

func (*EventMonitor) GetNameOk

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

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

GetNotificationTemplateIds returns the NotificationTemplateIds field value

func (*EventMonitor) GetNotificationTemplateIdsOk

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

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

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

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

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

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

func (*EventMonitor) SetConditions

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

SetConditions sets field value

func (*EventMonitor) SetCreatedAt

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

SetCreatedAt sets field value

func (*EventMonitor) SetCreatedBy

func (o *EventMonitor) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*EventMonitor) SetDescription

func (o *EventMonitor) SetDescription(v string)

SetDescription sets field value

func (*EventMonitor) SetId

func (o *EventMonitor) SetId(v string)

SetId sets field value

func (*EventMonitor) SetLabels added in v0.9.0

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

SetLabels sets field value

func (*EventMonitor) SetName

func (o *EventMonitor) SetName(v string)

SetName sets field value

func (*EventMonitor) SetNotificationTemplateIds

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

SetNotificationTemplateIds sets field value

func (*EventMonitor) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*EventMonitor) SetUpdatedBy

func (o *EventMonitor) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (EventMonitor) ToMap

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

func (*EventMonitor) UnmarshalJSON

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

type EventMonitorCondition

type EventMonitorCondition struct {
	// The number of times a condition must be met before the monitor is triggered.
	Threshold int32 `json:"threshold"`
	// How condition values are compared to the threshold (less than, greater than, equal to)
	Comparator string `json:"comparator"`
	// The time offset from now() in the past in milliseconds.
	Delay int64 `json:"delay"`
	// The amount of time, in milliseconds, during which the conditions must be met.
	TimePeriod           int64                        `json:"time_period"`
	Details              EventMonitorConditionDetails `json:"details"`
	AdditionalProperties map[string]interface{}
}

EventMonitorCondition struct for EventMonitorCondition

func NewEventMonitorCondition

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

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

func (o *EventMonitorCondition) GetComparator() string

GetComparator returns the Comparator field value

func (*EventMonitorCondition) GetComparatorOk

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

func (o *EventMonitorCondition) GetDelay() int64

GetDelay returns the Delay field value

func (*EventMonitorCondition) GetDelayOk

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

GetDetails returns the Details field value

func (*EventMonitorCondition) GetDetailsOk

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

func (*EventMonitorCondition) GetThreshold

func (o *EventMonitorCondition) GetThreshold() int32

GetThreshold returns the Threshold field value

func (*EventMonitorCondition) GetThresholdOk

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

func (o *EventMonitorCondition) GetTimePeriod() int64

GetTimePeriod returns the TimePeriod field value

func (*EventMonitorCondition) GetTimePeriodOk

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

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

func (*EventMonitorCondition) SetComparator

func (o *EventMonitorCondition) SetComparator(v string)

SetComparator sets field value

func (*EventMonitorCondition) SetDelay

func (o *EventMonitorCondition) SetDelay(v int64)

SetDelay sets field value

func (*EventMonitorCondition) SetDetails

SetDetails sets field value

func (*EventMonitorCondition) SetThreshold

func (o *EventMonitorCondition) SetThreshold(v int32)

SetThreshold sets field value

func (*EventMonitorCondition) SetTimePeriod

func (o *EventMonitorCondition) SetTimePeriod(v int64)

SetTimePeriod sets field value

func (EventMonitorCondition) ToMap

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

func (*EventMonitorCondition) UnmarshalJSON

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

type EventMonitorConditionDetails

type EventMonitorConditionDetails struct {
	EventMonitorConditionEvent  *EventMonitorConditionEvent
	EventMonitorConditionMetric *EventMonitorConditionMetric
}

EventMonitorConditionDetails - struct for EventMonitorConditionDetails

func EventMonitorConditionEventAsEventMonitorConditionDetails

func EventMonitorConditionEventAsEventMonitorConditionDetails(v *EventMonitorConditionEvent) EventMonitorConditionDetails

EventMonitorConditionEventAsEventMonitorConditionDetails is a convenience function that returns EventMonitorConditionEvent wrapped in EventMonitorConditionDetails

func EventMonitorConditionMetricAsEventMonitorConditionDetails

func EventMonitorConditionMetricAsEventMonitorConditionDetails(v *EventMonitorConditionMetric) EventMonitorConditionDetails

EventMonitorConditionMetricAsEventMonitorConditionDetails is a convenience function that returns EventMonitorConditionMetric wrapped in EventMonitorConditionDetails

func (*EventMonitorConditionDetails) GetActualInstance

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

Get the actual instance

func (EventMonitorConditionDetails) MarshalJSON

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

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

func (*EventMonitorConditionDetails) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type EventMonitorConditionEvent

type EventMonitorConditionEvent struct {
	// The type that maps to which request schema we should be using.
	Type string `json:"type" validate:"regexp=^event$"`
	// 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"`
	AdditionalProperties map[string]interface{}
}

EventMonitorConditionEvent struct for EventMonitorConditionEvent

func NewEventMonitorConditionEvent

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

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

func (o *EventMonitorConditionEvent) GetAction() string

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

func (*EventMonitorConditionEvent) GetActionOk

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

func (o *EventMonitorConditionEvent) GetActor() string

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

func (*EventMonitorConditionEvent) GetActorOk

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

func (o *EventMonitorConditionEvent) GetActorType() string

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

func (*EventMonitorConditionEvent) GetActorTypeOk

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

func (o *EventMonitorConditionEvent) GetSource() string

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

func (*EventMonitorConditionEvent) GetSourceOk

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

func (o *EventMonitorConditionEvent) GetSubject() string

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

func (*EventMonitorConditionEvent) GetSubjectOk

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

func (o *EventMonitorConditionEvent) GetSubjectType() string

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

func (*EventMonitorConditionEvent) GetSubjectTypeOk

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

func (o *EventMonitorConditionEvent) GetType() string

GetType returns the Type field value

func (*EventMonitorConditionEvent) GetTypeOk

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

func (o *EventMonitorConditionEvent) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*EventMonitorConditionEvent) HasActor

func (o *EventMonitorConditionEvent) HasActor() bool

HasActor returns a boolean if a field has been set.

func (*EventMonitorConditionEvent) HasActorType

func (o *EventMonitorConditionEvent) HasActorType() bool

HasActorType returns a boolean if a field has been set.

func (*EventMonitorConditionEvent) HasSource

func (o *EventMonitorConditionEvent) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*EventMonitorConditionEvent) HasSubject

func (o *EventMonitorConditionEvent) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*EventMonitorConditionEvent) HasSubjectType

func (o *EventMonitorConditionEvent) HasSubjectType() bool

HasSubjectType returns a boolean if a field has been set.

func (EventMonitorConditionEvent) MarshalJSON

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

func (*EventMonitorConditionEvent) SetAction

func (o *EventMonitorConditionEvent) SetAction(v string)

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

func (*EventMonitorConditionEvent) SetActor

func (o *EventMonitorConditionEvent) SetActor(v string)

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

func (*EventMonitorConditionEvent) SetActorType

func (o *EventMonitorConditionEvent) SetActorType(v string)

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

func (*EventMonitorConditionEvent) SetSource

func (o *EventMonitorConditionEvent) SetSource(v string)

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

func (*EventMonitorConditionEvent) SetSubject

func (o *EventMonitorConditionEvent) SetSubject(v string)

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

func (*EventMonitorConditionEvent) SetSubjectType

func (o *EventMonitorConditionEvent) SetSubjectType(v string)

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

func (*EventMonitorConditionEvent) SetType

func (o *EventMonitorConditionEvent) SetType(v string)

SetType sets field value

func (EventMonitorConditionEvent) ToMap

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

func (*EventMonitorConditionEvent) UnmarshalJSON

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

type EventMonitorConditionMetric

type EventMonitorConditionMetric struct {
	// The type that maps to which request schema we should be using.
	Type string `json:"type" validate:"regexp=^metric$"`
	// 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"`
	AdditionalProperties map[string]interface{}
}

EventMonitorConditionMetric struct for EventMonitorConditionMetric

func NewEventMonitorConditionMetric

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

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

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

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

func (*EventMonitorConditionMetric) GetCollectionIdOk

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

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

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

func (*EventMonitorConditionMetric) GetEndpointIdOk

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

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

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

func (*EventMonitorConditionMetric) GetSpecIdOk

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

func (o *EventMonitorConditionMetric) GetTag() string

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

func (*EventMonitorConditionMetric) GetTagOk

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

func (o *EventMonitorConditionMetric) GetType() string

GetType returns the Type field value

func (*EventMonitorConditionMetric) GetTypeOk

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

func (o *EventMonitorConditionMetric) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*EventMonitorConditionMetric) HasEndpointId

func (o *EventMonitorConditionMetric) HasEndpointId() bool

HasEndpointId returns a boolean if a field has been set.

func (*EventMonitorConditionMetric) HasSpecId

func (o *EventMonitorConditionMetric) HasSpecId() bool

HasSpecId returns a boolean if a field has been set.

func (*EventMonitorConditionMetric) HasTag

func (o *EventMonitorConditionMetric) HasTag() bool

HasTag returns a boolean if a field has been set.

func (EventMonitorConditionMetric) MarshalJSON

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

func (*EventMonitorConditionMetric) SetCollectionId

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

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

func (*EventMonitorConditionMetric) SetEndpointId

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

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

func (*EventMonitorConditionMetric) SetSpecId

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

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

func (*EventMonitorConditionMetric) SetTag

func (o *EventMonitorConditionMetric) SetTag(v string)

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

func (*EventMonitorConditionMetric) SetType

func (o *EventMonitorConditionMetric) SetType(v string)

SetType sets field value

func (EventMonitorConditionMetric) ToMap

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

func (*EventMonitorConditionMetric) UnmarshalJSON

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

type EventMonitorConditionPostBody

type EventMonitorConditionPostBody struct {
	// The number of times a condition must be met before the monitor is triggered.
	Threshold int32 `json:"threshold"`
	// How condition values are compared to the threshold (less than, greater than, equal to)
	Comparator string `json:"comparator"`
	// The time offset from now() in the past in milliseconds.
	Delay int64 `json:"delay"`
	// The amount of time, in milliseconds, during which the conditions must be met.
	TimePeriod           int64                        `json:"time_period"`
	Details              EventMonitorConditionDetails `json:"details"`
	AdditionalProperties map[string]interface{}
}

EventMonitorConditionPostBody struct for EventMonitorConditionPostBody

func NewEventMonitorConditionPostBody

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

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

func (o *EventMonitorConditionPostBody) GetComparator() string

GetComparator returns the Comparator field value

func (*EventMonitorConditionPostBody) GetComparatorOk

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

func (o *EventMonitorConditionPostBody) GetDelay() int64

GetDelay returns the Delay field value

func (*EventMonitorConditionPostBody) GetDelayOk

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

GetDetails returns the Details field value

func (*EventMonitorConditionPostBody) GetDetailsOk

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

func (*EventMonitorConditionPostBody) GetThreshold

func (o *EventMonitorConditionPostBody) GetThreshold() int32

GetThreshold returns the Threshold field value

func (*EventMonitorConditionPostBody) GetThresholdOk

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

func (o *EventMonitorConditionPostBody) GetTimePeriod() int64

GetTimePeriod returns the TimePeriod field value

func (*EventMonitorConditionPostBody) GetTimePeriodOk

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

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

func (*EventMonitorConditionPostBody) SetComparator

func (o *EventMonitorConditionPostBody) SetComparator(v string)

SetComparator sets field value

func (*EventMonitorConditionPostBody) SetDelay

func (o *EventMonitorConditionPostBody) SetDelay(v int64)

SetDelay sets field value

func (*EventMonitorConditionPostBody) SetDetails

SetDetails sets field value

func (*EventMonitorConditionPostBody) SetThreshold

func (o *EventMonitorConditionPostBody) SetThreshold(v int32)

SetThreshold sets field value

func (*EventMonitorConditionPostBody) SetTimePeriod

func (o *EventMonitorConditionPostBody) SetTimePeriod(v int64)

SetTimePeriod sets field value

func (EventMonitorConditionPostBody) ToMap

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

func (*EventMonitorConditionPostBody) UnmarshalJSON

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

type EventMonitorPostBody

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"`
	// The applied labels.
	Labels               []string `json:"labels,omitempty"`
	AdditionalProperties map[string]interface{}
}

EventMonitorPostBody struct for EventMonitorPostBody

func NewEventMonitorPostBody

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

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

GetConditions returns the Conditions field value

func (*EventMonitorPostBody) GetConditionsOk

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

func (o *EventMonitorPostBody) GetDescription() string

GetDescription returns the Description field value

func (*EventMonitorPostBody) GetDescriptionOk

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) GetLabels added in v0.9.0

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

GetLabels returns the Labels field value if set, zero value otherwise.

func (*EventMonitorPostBody) GetLabelsOk added in v0.9.0

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

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

func (*EventMonitorPostBody) GetName

func (o *EventMonitorPostBody) GetName() string

GetName returns the Name field value

func (*EventMonitorPostBody) GetNameOk

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

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

GetNotificationTemplateIds returns the NotificationTemplateIds field value

func (*EventMonitorPostBody) GetNotificationTemplateIdsOk

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) HasLabels added in v0.9.0

func (o *EventMonitorPostBody) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (EventMonitorPostBody) MarshalJSON

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

func (*EventMonitorPostBody) SetConditions

SetConditions sets field value

func (*EventMonitorPostBody) SetDescription

func (o *EventMonitorPostBody) SetDescription(v string)

SetDescription sets field value

func (*EventMonitorPostBody) SetLabels added in v0.9.0

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

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*EventMonitorPostBody) SetName

func (o *EventMonitorPostBody) SetName(v string)

SetName sets field value

func (*EventMonitorPostBody) SetNotificationTemplateIds

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

SetNotificationTemplateIds sets field value

func (EventMonitorPostBody) ToMap

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

func (*EventMonitorPostBody) UnmarshalJSON

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

type EventMonitors

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

EventMonitors struct for EventMonitors

func NewEventMonitors

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

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

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

GetItems returns the Items field value

func (*EventMonitors) GetItemsOk

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

func (o *EventMonitors) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*EventMonitors) GetMetaOk

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

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

func (*EventMonitors) SetItems

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

SetItems sets field value

func (*EventMonitors) SetMeta

func (o *EventMonitors) SetMeta(v CollectionMeta)

SetMeta sets field value

func (EventMonitors) ToMap

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

func (*EventMonitors) UnmarshalJSON

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

type EventMonitorsAPI

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

type EventMonitorsAPIService service

EventMonitorsAPIService EventMonitorsAPI service

func (*EventMonitorsAPIService) CreateEventMonitor

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

Execute executes the request

@return EventMonitor

func (*EventMonitorsAPIService) DeleteEventMonitor

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

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

Execute executes the request

func (*EventMonitorsAPIService) GetEventMonitor

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

Execute executes the request

@return EventMonitor

func (*EventMonitorsAPIService) GetEventMonitors

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

Execute executes the request

@return EventMonitors

func (*EventMonitorsAPIService) UpdateEventMonitor

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

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

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"`
	AdditionalProperties map[string]interface{}
}

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

func NewInspectorReqMsg

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

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

func (o *InspectorReqMsg) GetBody() string

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

func (*InspectorReqMsg) GetBodyOk

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

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

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

func (*InspectorReqMsg) GetCookieKeysOk

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

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

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

func (*InspectorReqMsg) GetCookieValuesOk

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

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

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

func (*InspectorReqMsg) GetHeaderKeysOk

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

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

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

func (*InspectorReqMsg) GetHeaderValuesOk

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

func (o *InspectorReqMsg) GetMethod() string

GetMethod returns the Method field value

func (*InspectorReqMsg) GetMethodOk

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

func (o *InspectorReqMsg) GetRemoteAddr() string

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

func (*InspectorReqMsg) GetRemoteAddrOk

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

func (o *InspectorReqMsg) GetTruncatedBody() bool

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

func (*InspectorReqMsg) GetTruncatedBodyOk

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

func (o *InspectorReqMsg) GetUrl() string

GetUrl returns the Url field value

func (*InspectorReqMsg) GetUrlOk

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

func (o *InspectorReqMsg) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*InspectorReqMsg) HasCookieKeys

func (o *InspectorReqMsg) HasCookieKeys() bool

HasCookieKeys returns a boolean if a field has been set.

func (*InspectorReqMsg) HasCookieValues

func (o *InspectorReqMsg) HasCookieValues() bool

HasCookieValues returns a boolean if a field has been set.

func (*InspectorReqMsg) HasHeaderKeys

func (o *InspectorReqMsg) HasHeaderKeys() bool

HasHeaderKeys returns a boolean if a field has been set.

func (*InspectorReqMsg) HasHeaderValues

func (o *InspectorReqMsg) HasHeaderValues() bool

HasHeaderValues returns a boolean if a field has been set.

func (*InspectorReqMsg) HasRemoteAddr

func (o *InspectorReqMsg) HasRemoteAddr() bool

HasRemoteAddr returns a boolean if a field has been set.

func (*InspectorReqMsg) HasTruncatedBody

func (o *InspectorReqMsg) HasTruncatedBody() bool

HasTruncatedBody returns a boolean if a field has been set.

func (InspectorReqMsg) MarshalJSON

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

func (*InspectorReqMsg) SetBody

func (o *InspectorReqMsg) SetBody(v string)

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

func (*InspectorReqMsg) SetCookieKeys

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

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

func (*InspectorReqMsg) SetCookieValues

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

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

func (*InspectorReqMsg) SetHeaderKeys

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

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

func (*InspectorReqMsg) SetHeaderValues

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

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

func (*InspectorReqMsg) SetMethod

func (o *InspectorReqMsg) SetMethod(v string)

SetMethod sets field value

func (*InspectorReqMsg) SetRemoteAddr

func (o *InspectorReqMsg) SetRemoteAddr(v string)

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

func (*InspectorReqMsg) SetTruncatedBody

func (o *InspectorReqMsg) SetTruncatedBody(v bool)

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

func (*InspectorReqMsg) SetUrl

func (o *InspectorReqMsg) SetUrl(v string)

SetUrl sets field value

func (InspectorReqMsg) ToMap

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

func (*InspectorReqMsg) UnmarshalJSON

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

type InspectorReqMsgResponse

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"`
	AdditionalProperties map[string]interface{}
}

InspectorReqMsgResponse The result of inspecting an HTTP request.

func NewInspectorReqMsgResponse

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

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

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

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

func (*InspectorReqMsgResponse) GetAdditionalHeaderKeysOk

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

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

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

func (*InspectorReqMsgResponse) GetAdditionalHeaderValuesOk

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

func (o *InspectorReqMsgResponse) GetBlock() bool

GetBlock returns the Block field value

func (*InspectorReqMsgResponse) GetBlockOk

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

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

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

func (*InspectorReqMsgResponse) GetDeletedHeaderKeysOk

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

func (o *InspectorReqMsgResponse) GetError() string

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

func (*InspectorReqMsgResponse) GetErrorOk

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

func (o *InspectorReqMsgResponse) GetRedirectUrl() string

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

func (*InspectorReqMsgResponse) GetRedirectUrlOk

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

func (o *InspectorReqMsgResponse) GetStatusCode() int32

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

func (*InspectorReqMsgResponse) GetStatusCodeOk

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

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

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

func (*InspectorReqMsgResponse) GetTagsOk

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

func (o *InspectorReqMsgResponse) HasAdditionalHeaderKeys() bool

HasAdditionalHeaderKeys returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasAdditionalHeaderValues

func (o *InspectorReqMsgResponse) HasAdditionalHeaderValues() bool

HasAdditionalHeaderValues returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasDeletedHeaderKeys

func (o *InspectorReqMsgResponse) HasDeletedHeaderKeys() bool

HasDeletedHeaderKeys returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasError

func (o *InspectorReqMsgResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasRedirectUrl

func (o *InspectorReqMsgResponse) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasStatusCode

func (o *InspectorReqMsgResponse) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*InspectorReqMsgResponse) HasTags

func (o *InspectorReqMsgResponse) HasTags() bool

HasTags returns a boolean if a field has been set.

func (InspectorReqMsgResponse) MarshalJSON

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

func (*InspectorReqMsgResponse) SetAdditionalHeaderKeys

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

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

func (*InspectorReqMsgResponse) SetAdditionalHeaderValues

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

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

func (*InspectorReqMsgResponse) SetBlock

func (o *InspectorReqMsgResponse) SetBlock(v bool)

SetBlock sets field value

func (*InspectorReqMsgResponse) SetDeletedHeaderKeys

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

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

func (*InspectorReqMsgResponse) SetError

func (o *InspectorReqMsgResponse) SetError(v string)

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

func (*InspectorReqMsgResponse) SetRedirectUrl

func (o *InspectorReqMsgResponse) SetRedirectUrl(v string)

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

func (*InspectorReqMsgResponse) SetStatusCode

func (o *InspectorReqMsgResponse) SetStatusCode(v int32)

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

func (*InspectorReqMsgResponse) SetTags

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

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

func (InspectorReqMsgResponse) ToMap

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

func (*InspectorReqMsgResponse) UnmarshalJSON

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

type InspectorResMsg

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"`
	AdditionalProperties map[string]interface{}
}

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

func NewInspectorResMsg

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

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

func (o *InspectorResMsg) GetBody() string

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

func (*InspectorResMsg) GetBodyOk

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

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

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

func (*InspectorResMsg) GetHeaderKeysOk

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

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

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

func (*InspectorResMsg) GetHeaderValuesOk

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

func (o *InspectorResMsg) GetStatusCode() int32

GetStatusCode returns the StatusCode field value

func (*InspectorResMsg) GetStatusCodeOk

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

func (o *InspectorResMsg) GetTruncatedBody() bool

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

func (*InspectorResMsg) GetTruncatedBodyOk

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

func (o *InspectorResMsg) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*InspectorResMsg) HasHeaderKeys

func (o *InspectorResMsg) HasHeaderKeys() bool

HasHeaderKeys returns a boolean if a field has been set.

func (*InspectorResMsg) HasHeaderValues

func (o *InspectorResMsg) HasHeaderValues() bool

HasHeaderValues returns a boolean if a field has been set.

func (*InspectorResMsg) HasTruncatedBody

func (o *InspectorResMsg) HasTruncatedBody() bool

HasTruncatedBody returns a boolean if a field has been set.

func (InspectorResMsg) MarshalJSON

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

func (*InspectorResMsg) SetBody

func (o *InspectorResMsg) SetBody(v string)

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

func (*InspectorResMsg) SetHeaderKeys

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

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

func (*InspectorResMsg) SetHeaderValues

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

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

func (*InspectorResMsg) SetStatusCode

func (o *InspectorResMsg) SetStatusCode(v int32)

SetStatusCode sets field value

func (*InspectorResMsg) SetTruncatedBody

func (o *InspectorResMsg) SetTruncatedBody(v bool)

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

func (InspectorResMsg) ToMap

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

func (*InspectorResMsg) UnmarshalJSON

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

type InspectorResMsgResponse

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"`
	AdditionalProperties map[string]interface{}
}

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

func NewInspectorResMsgResponse

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

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

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

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

func (*InspectorResMsgResponse) GetAdditionalHeaderKeysOk

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

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

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

func (*InspectorResMsgResponse) GetAdditionalHeaderValuesOk

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

func (o *InspectorResMsgResponse) GetBlock() bool

GetBlock returns the Block field value

func (*InspectorResMsgResponse) GetBlockOk

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

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

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

func (*InspectorResMsgResponse) GetDeletedHeaderKeysOk

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

func (o *InspectorResMsgResponse) GetError() string

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

func (*InspectorResMsgResponse) GetErrorOk

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

func (o *InspectorResMsgResponse) GetRedirectUrl() string

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

func (*InspectorResMsgResponse) GetRedirectUrlOk

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

func (o *InspectorResMsgResponse) GetStatusCode() int32

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

func (*InspectorResMsgResponse) GetStatusCodeOk

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

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

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

func (*InspectorResMsgResponse) GetTagsOk

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

func (o *InspectorResMsgResponse) HasAdditionalHeaderKeys() bool

HasAdditionalHeaderKeys returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasAdditionalHeaderValues

func (o *InspectorResMsgResponse) HasAdditionalHeaderValues() bool

HasAdditionalHeaderValues returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasDeletedHeaderKeys

func (o *InspectorResMsgResponse) HasDeletedHeaderKeys() bool

HasDeletedHeaderKeys returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasError

func (o *InspectorResMsgResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasRedirectUrl

func (o *InspectorResMsgResponse) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasStatusCode

func (o *InspectorResMsgResponse) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*InspectorResMsgResponse) HasTags

func (o *InspectorResMsgResponse) HasTags() bool

HasTags returns a boolean if a field has been set.

func (InspectorResMsgResponse) MarshalJSON

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

func (*InspectorResMsgResponse) SetAdditionalHeaderKeys

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

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

func (*InspectorResMsgResponse) SetAdditionalHeaderValues

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

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

func (*InspectorResMsgResponse) SetBlock

func (o *InspectorResMsgResponse) SetBlock(v bool)

SetBlock sets field value

func (*InspectorResMsgResponse) SetDeletedHeaderKeys

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

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

func (*InspectorResMsgResponse) SetError

func (o *InspectorResMsgResponse) SetError(v string)

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

func (*InspectorResMsgResponse) SetRedirectUrl

func (o *InspectorResMsgResponse) SetRedirectUrl(v string)

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

func (*InspectorResMsgResponse) SetStatusCode

func (o *InspectorResMsgResponse) SetStatusCode(v int32)

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

func (*InspectorResMsgResponse) SetTags

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

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

func (InspectorResMsgResponse) ToMap

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

func (*InspectorResMsgResponse) UnmarshalJSON

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

type Label added in v0.9.0

type Label struct {
	// Slug of the label.
	Slug string `json:"slug"`
	// The display name of the label.
	DisplayName string `json:"display_name"`
	// The description of the label.
	Description string      `json:"description"`
	Color       LabelColor  `json:"color"`
	Items       *LabelItems `json:"items,omitempty"`
	// ID of the  member who created the label.
	CreatedBy string `json:"created_by"`
	// The date the label was created.
	CreatedAt time.Time `json:"created_at"`
	// ID of the member who last updated the label.
	UpdatedBy NullableString `json:"updated_by"`
	// The date of when the label was last updated.
	UpdatedAt            NullableTime `json:"updated_at"`
	AdditionalProperties map[string]interface{}
}

Label struct for Label

func NewLabel added in v0.9.0

func NewLabel(slug string, displayName string, description string, color LabelColor, createdBy string, createdAt time.Time, updatedBy NullableString, updatedAt NullableTime) *Label

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

func NewLabelWithDefaults added in v0.9.0

func NewLabelWithDefaults() *Label

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

func (*Label) GetColor added in v0.9.0

func (o *Label) GetColor() LabelColor

GetColor returns the Color field value

func (*Label) GetColorOk added in v0.9.0

func (o *Label) GetColorOk() (*LabelColor, bool)

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

func (*Label) GetCreatedAt added in v0.9.0

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

GetCreatedAt returns the CreatedAt field value

func (*Label) GetCreatedAtOk added in v0.9.0

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

func (o *Label) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Label) GetCreatedByOk added in v0.9.0

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

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

func (*Label) GetDescription added in v0.9.0

func (o *Label) GetDescription() string

GetDescription returns the Description field value

func (*Label) GetDescriptionOk added in v0.9.0

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

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

func (*Label) GetDisplayName added in v0.9.0

func (o *Label) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Label) GetDisplayNameOk added in v0.9.0

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

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

func (*Label) GetItems added in v0.9.0

func (o *Label) GetItems() LabelItems

GetItems returns the Items field value if set, zero value otherwise.

func (*Label) GetItemsOk added in v0.9.0

func (o *Label) GetItemsOk() (*LabelItems, bool)

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

func (*Label) GetSlug added in v0.9.0

func (o *Label) GetSlug() string

GetSlug returns the Slug field value

func (*Label) GetSlugOk added in v0.9.0

func (o *Label) GetSlugOk() (*string, bool)

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

func (*Label) GetUpdatedAt added in v0.9.0

func (o *Label) 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 (*Label) GetUpdatedAtOk added in v0.9.0

func (o *Label) 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 (*Label) GetUpdatedBy added in v0.9.0

func (o *Label) GetUpdatedBy() string

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

func (*Label) GetUpdatedByOk added in v0.9.0

func (o *Label) 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 (*Label) HasItems added in v0.9.0

func (o *Label) HasItems() bool

HasItems returns a boolean if a field has been set.

func (Label) MarshalJSON added in v0.9.0

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

func (*Label) SetColor added in v0.9.0

func (o *Label) SetColor(v LabelColor)

SetColor sets field value

func (*Label) SetCreatedAt added in v0.9.0

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

SetCreatedAt sets field value

func (*Label) SetCreatedBy added in v0.9.0

func (o *Label) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Label) SetDescription added in v0.9.0

func (o *Label) SetDescription(v string)

SetDescription sets field value

func (*Label) SetDisplayName added in v0.9.0

func (o *Label) SetDisplayName(v string)

SetDisplayName sets field value

func (*Label) SetItems added in v0.9.0

func (o *Label) SetItems(v LabelItems)

SetItems gets a reference to the given LabelItems and assigns it to the Items field.

func (*Label) SetSlug added in v0.9.0

func (o *Label) SetSlug(v string)

SetSlug sets field value

func (*Label) SetUpdatedAt added in v0.9.0

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

SetUpdatedAt sets field value

func (*Label) SetUpdatedBy added in v0.9.0

func (o *Label) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (Label) ToMap added in v0.9.0

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

func (*Label) UnmarshalJSON added in v0.9.0

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

type LabelColor added in v0.9.0

type LabelColor string

LabelColor The color of the label.

const (
	GRAY   LabelColor = "gray"
	RED    LabelColor = "red"
	ORANGE LabelColor = "orange"
	YELLOW LabelColor = "yellow"
	GREEN  LabelColor = "green"
	TEAL   LabelColor = "teal"
	CYAN   LabelColor = "cyan"
	BLUE   LabelColor = "blue"
	PURPLE LabelColor = "purple"
	PINK   LabelColor = "pink"
)

List of label_color

func NewLabelColorFromValue added in v0.9.0

func NewLabelColorFromValue(v string) (*LabelColor, error)

NewLabelColorFromValue returns a pointer to a valid LabelColor for the value passed as argument, or an error if the value passed is not allowed by the enum

func (LabelColor) IsValid added in v0.9.0

func (v LabelColor) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (LabelColor) Ptr added in v0.9.0

func (v LabelColor) Ptr() *LabelColor

Ptr returns reference to label_color value

func (*LabelColor) UnmarshalJSON added in v0.9.0

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

type LabelItems added in v0.9.0

type LabelItems struct {
	Rules                []string `json:"rules"`
	AdditionalProperties map[string]interface{}
}

LabelItems struct for LabelItems

func NewLabelItems added in v0.9.0

func NewLabelItems(rules []string) *LabelItems

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

func NewLabelItemsWithDefaults added in v0.9.0

func NewLabelItemsWithDefaults() *LabelItems

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

func (*LabelItems) GetRules added in v0.9.0

func (o *LabelItems) GetRules() []string

GetRules returns the Rules field value

func (*LabelItems) GetRulesOk added in v0.9.0

func (o *LabelItems) GetRulesOk() ([]string, bool)

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

func (LabelItems) MarshalJSON added in v0.9.0

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

func (*LabelItems) SetRules added in v0.9.0

func (o *LabelItems) SetRules(v []string)

SetRules sets field value

func (LabelItems) ToMap added in v0.9.0

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

func (*LabelItems) UnmarshalJSON added in v0.9.0

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

type LabelPostBody added in v0.9.0

type LabelPostBody struct {
	// Slug of the label.
	Slug string `json:"slug"`
	// The display name of the label.
	DisplayName *string `json:"display_name,omitempty"`
	// The description of the label.
	Description          *string     `json:"description,omitempty"`
	Color                *LabelColor `json:"color,omitempty"`
	AdditionalProperties map[string]interface{}
}

LabelPostBody struct for LabelPostBody

func NewLabelPostBody added in v0.9.0

func NewLabelPostBody(slug string) *LabelPostBody

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

func NewLabelPostBodyWithDefaults added in v0.9.0

func NewLabelPostBodyWithDefaults() *LabelPostBody

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

func (*LabelPostBody) GetColor added in v0.9.0

func (o *LabelPostBody) GetColor() LabelColor

GetColor returns the Color field value if set, zero value otherwise.

func (*LabelPostBody) GetColorOk added in v0.9.0

func (o *LabelPostBody) GetColorOk() (*LabelColor, bool)

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

func (*LabelPostBody) GetDescription added in v0.9.0

func (o *LabelPostBody) GetDescription() string

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

func (*LabelPostBody) GetDescriptionOk added in v0.9.0

func (o *LabelPostBody) 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 (*LabelPostBody) GetDisplayName added in v0.9.0

func (o *LabelPostBody) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*LabelPostBody) GetDisplayNameOk added in v0.9.0

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

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

func (*LabelPostBody) GetSlug added in v0.9.0

func (o *LabelPostBody) GetSlug() string

GetSlug returns the Slug field value

func (*LabelPostBody) GetSlugOk added in v0.9.0

func (o *LabelPostBody) GetSlugOk() (*string, bool)

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

func (*LabelPostBody) HasColor added in v0.9.0

func (o *LabelPostBody) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*LabelPostBody) HasDescription added in v0.9.0

func (o *LabelPostBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*LabelPostBody) HasDisplayName added in v0.9.0

func (o *LabelPostBody) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (LabelPostBody) MarshalJSON added in v0.9.0

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

func (*LabelPostBody) SetColor added in v0.9.0

func (o *LabelPostBody) SetColor(v LabelColor)

SetColor gets a reference to the given LabelColor and assigns it to the Color field.

func (*LabelPostBody) SetDescription added in v0.9.0

func (o *LabelPostBody) SetDescription(v string)

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

func (*LabelPostBody) SetDisplayName added in v0.9.0

func (o *LabelPostBody) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*LabelPostBody) SetSlug added in v0.9.0

func (o *LabelPostBody) SetSlug(v string)

SetSlug sets field value

func (LabelPostBody) ToMap added in v0.9.0

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

func (*LabelPostBody) UnmarshalJSON added in v0.9.0

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

type LabelPutBody added in v0.9.0

type LabelPutBody struct {
	// The display name of the label.
	DisplayName *string `json:"display_name,omitempty"`
	// The description of the label.
	Description          *string     `json:"description,omitempty"`
	Color                *LabelColor `json:"color,omitempty"`
	AdditionalProperties map[string]interface{}
}

LabelPutBody struct for LabelPutBody

func NewLabelPutBody added in v0.9.0

func NewLabelPutBody() *LabelPutBody

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

func NewLabelPutBodyWithDefaults added in v0.9.0

func NewLabelPutBodyWithDefaults() *LabelPutBody

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

func (*LabelPutBody) GetColor added in v0.9.0

func (o *LabelPutBody) GetColor() LabelColor

GetColor returns the Color field value if set, zero value otherwise.

func (*LabelPutBody) GetColorOk added in v0.9.0

func (o *LabelPutBody) GetColorOk() (*LabelColor, bool)

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

func (*LabelPutBody) GetDescription added in v0.9.0

func (o *LabelPutBody) GetDescription() string

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

func (*LabelPutBody) GetDescriptionOk added in v0.9.0

func (o *LabelPutBody) 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 (*LabelPutBody) GetDisplayName added in v0.9.0

func (o *LabelPutBody) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*LabelPutBody) GetDisplayNameOk added in v0.9.0

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

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

func (*LabelPutBody) HasColor added in v0.9.0

func (o *LabelPutBody) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*LabelPutBody) HasDescription added in v0.9.0

func (o *LabelPutBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*LabelPutBody) HasDisplayName added in v0.9.0

func (o *LabelPutBody) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (LabelPutBody) MarshalJSON added in v0.9.0

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

func (*LabelPutBody) SetColor added in v0.9.0

func (o *LabelPutBody) SetColor(v LabelColor)

SetColor gets a reference to the given LabelColor and assigns it to the Color field.

func (*LabelPutBody) SetDescription added in v0.9.0

func (o *LabelPutBody) SetDescription(v string)

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

func (*LabelPutBody) SetDisplayName added in v0.9.0

func (o *LabelPutBody) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (LabelPutBody) ToMap added in v0.9.0

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

func (*LabelPutBody) UnmarshalJSON added in v0.9.0

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

type Labels added in v0.9.0

type Labels struct {
	// A list of labels.
	Items                []Label        `json:"items"`
	Meta                 CollectionMeta `json:"meta"`
	AdditionalProperties map[string]interface{}
}

Labels struct for Labels

func NewLabels added in v0.9.0

func NewLabels(items []Label, meta CollectionMeta) *Labels

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

func NewLabelsWithDefaults added in v0.9.0

func NewLabelsWithDefaults() *Labels

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

func (*Labels) GetItems added in v0.9.0

func (o *Labels) GetItems() []Label

GetItems returns the Items field value

func (*Labels) GetItemsOk added in v0.9.0

func (o *Labels) GetItemsOk() ([]Label, bool)

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

func (*Labels) GetMeta added in v0.9.0

func (o *Labels) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*Labels) GetMetaOk added in v0.9.0

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

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

func (Labels) MarshalJSON added in v0.9.0

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

func (*Labels) SetItems added in v0.9.0

func (o *Labels) SetItems(v []Label)

SetItems sets field value

func (*Labels) SetMeta added in v0.9.0

func (o *Labels) SetMeta(v CollectionMeta)

SetMeta sets field value

func (Labels) ToMap added in v0.9.0

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

func (*Labels) UnmarshalJSON added in v0.9.0

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

type LabelsAPI added in v0.9.0

type LabelsAPI interface {

	/*
		CreateLabel Create a label

		Creates a label 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 ApiCreateLabelRequest
	*/
	CreateLabel(ctx context.Context, orgId string) ApiCreateLabelRequest

	// CreateLabelExecute executes the request
	//  @return Label
	CreateLabelExecute(r ApiCreateLabelRequest) (*Label, *http.Response, error)

	/*
		DeleteLabel Delete a label

		Deletes a label 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 labelSlug Label slug
		@return ApiDeleteLabelRequest
	*/
	DeleteLabel(ctx context.Context, orgId string, labelSlug string) ApiDeleteLabelRequest

	// DeleteLabelExecute executes the request
	DeleteLabelExecute(r ApiDeleteLabelRequest) (*http.Response, error)

	/*
		GetLabel Get a label

		Gets a label 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 labelSlug Label slug
		@return ApiGetLabelRequest
	*/
	GetLabel(ctx context.Context, orgId string, labelSlug string) ApiGetLabelRequest

	// GetLabelExecute executes the request
	//  @return Label
	GetLabelExecute(r ApiGetLabelRequest) (*Label, *http.Response, error)

	/*
		GetLabels Get labels

		Gets a list of labels 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 ApiGetLabelsRequest
	*/
	GetLabels(ctx context.Context, orgId string) ApiGetLabelsRequest

	// GetLabelsExecute executes the request
	//  @return Labels
	GetLabelsExecute(r ApiGetLabelsRequest) (*Labels, *http.Response, error)

	/*
		UpdateLabel Update a label

		Updates a label 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 labelSlug Label slug
		@return ApiUpdateLabelRequest
	*/
	UpdateLabel(ctx context.Context, orgId string, labelSlug string) ApiUpdateLabelRequest

	// UpdateLabelExecute executes the request
	//  @return Label
	UpdateLabelExecute(r ApiUpdateLabelRequest) (*Label, *http.Response, error)
}

type LabelsAPIService added in v0.9.0

type LabelsAPIService service

LabelsAPIService LabelsAPI service

func (*LabelsAPIService) CreateLabel added in v0.9.0

func (a *LabelsAPIService) CreateLabel(ctx context.Context, orgId string) ApiCreateLabelRequest

CreateLabel Create a label

Creates a label 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 ApiCreateLabelRequest

func (*LabelsAPIService) CreateLabelExecute added in v0.9.0

func (a *LabelsAPIService) CreateLabelExecute(r ApiCreateLabelRequest) (*Label, *http.Response, error)

Execute executes the request

@return Label

func (*LabelsAPIService) DeleteLabel added in v0.9.0

func (a *LabelsAPIService) DeleteLabel(ctx context.Context, orgId string, labelSlug string) ApiDeleteLabelRequest

DeleteLabel Delete a label

Deletes a label 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 labelSlug Label slug
@return ApiDeleteLabelRequest

func (*LabelsAPIService) DeleteLabelExecute added in v0.9.0

func (a *LabelsAPIService) DeleteLabelExecute(r ApiDeleteLabelRequest) (*http.Response, error)

Execute executes the request

func (*LabelsAPIService) GetLabel added in v0.9.0

func (a *LabelsAPIService) GetLabel(ctx context.Context, orgId string, labelSlug string) ApiGetLabelRequest

GetLabel Get a label

Gets a label 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 labelSlug Label slug
@return ApiGetLabelRequest

func (*LabelsAPIService) GetLabelExecute added in v0.9.0

func (a *LabelsAPIService) GetLabelExecute(r ApiGetLabelRequest) (*Label, *http.Response, error)

Execute executes the request

@return Label

func (*LabelsAPIService) GetLabels added in v0.9.0

func (a *LabelsAPIService) GetLabels(ctx context.Context, orgId string) ApiGetLabelsRequest

GetLabels Get labels

Gets a list of labels 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 ApiGetLabelsRequest

func (*LabelsAPIService) GetLabelsExecute added in v0.9.0

func (a *LabelsAPIService) GetLabelsExecute(r ApiGetLabelsRequest) (*Labels, *http.Response, error)

Execute executes the request

@return Labels

func (*LabelsAPIService) UpdateLabel added in v0.9.0

func (a *LabelsAPIService) UpdateLabel(ctx context.Context, orgId string, labelSlug string) ApiUpdateLabelRequest

UpdateLabel Update a label

Updates a label 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 labelSlug Label slug
@return ApiUpdateLabelRequest

func (*LabelsAPIService) UpdateLabelExecute added in v0.9.0

func (a *LabelsAPIService) UpdateLabelExecute(r ApiUpdateLabelRequest) (*Label, *http.Response, error)

Execute executes the request

@return Label

type List

type List struct {
	// ID of the list.
	Id string `json:"id"`
	// The name of the list.
	Name string `json:"name"`
	// The description of the list.
	Description string `json:"description"`
	// The applied labels.
	Labels []string `json:"labels"`
	// User ID of the user that created the list.
	CreatedBy string `json:"created_by"`
	// The date the list was created.
	CreatedAt     time.Time         `json:"created_at"`
	Kind          ListKind          `json:"kind"`
	Subkind       *ListSubkind      `json:"subkind,omitempty"`
	Functionality ListFunctionality `json:"functionality"`
	// The items in the list.
	Items                []ListItemsInner `json:"items"`
	AdditionalProperties map[string]interface{}
}

List struct for List

func NewList

func NewList(id string, name string, description string, labels []string, createdBy string, createdAt time.Time, kind ListKind, functionality ListFunctionality, items []ListItemsInner) *List

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

func NewListWithDefaults

func NewListWithDefaults() *List

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

func (*List) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*List) GetCreatedAtOk

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

func (o *List) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*List) GetCreatedByOk

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

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

func (*List) GetDescription added in v0.10.0

func (o *List) GetDescription() string

GetDescription returns the Description field value

func (*List) GetDescriptionOk added in v0.10.0

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

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

func (*List) GetFunctionality

func (o *List) GetFunctionality() ListFunctionality

GetFunctionality returns the Functionality field value

func (*List) GetFunctionalityOk

func (o *List) GetFunctionalityOk() (*ListFunctionality, bool)

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

func (*List) GetId

func (o *List) GetId() string

GetId returns the Id field value

func (*List) GetIdOk

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

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

func (*List) GetItems

func (o *List) GetItems() []ListItemsInner

GetItems returns the Items field value

func (*List) GetItemsOk

func (o *List) GetItemsOk() ([]ListItemsInner, bool)

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

func (*List) GetKind

func (o *List) GetKind() ListKind

GetKind returns the Kind field value

func (*List) GetKindOk

func (o *List) GetKindOk() (*ListKind, bool)

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

func (*List) GetLabels added in v0.9.0

func (o *List) GetLabels() []string

GetLabels returns the Labels field value

func (*List) GetLabelsOk added in v0.9.0

func (o *List) GetLabelsOk() ([]string, bool)

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

func (*List) GetName

func (o *List) GetName() string

GetName returns the Name field value

func (*List) GetNameOk

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

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

func (*List) GetSubkind

func (o *List) GetSubkind() ListSubkind

GetSubkind returns the Subkind field value if set, zero value otherwise.

func (*List) GetSubkindOk

func (o *List) GetSubkindOk() (*ListSubkind, bool)

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

func (*List) HasSubkind

func (o *List) HasSubkind() bool

HasSubkind returns a boolean if a field has been set.

func (List) MarshalJSON

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

func (*List) SetCreatedAt

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

SetCreatedAt sets field value

func (*List) SetCreatedBy

func (o *List) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*List) SetDescription added in v0.10.0

func (o *List) SetDescription(v string)

SetDescription sets field value

func (*List) SetFunctionality

func (o *List) SetFunctionality(v ListFunctionality)

SetFunctionality sets field value

func (*List) SetId

func (o *List) SetId(v string)

SetId sets field value

func (*List) SetItems

func (o *List) SetItems(v []ListItemsInner)

SetItems sets field value

func (*List) SetKind

func (o *List) SetKind(v ListKind)

SetKind sets field value

func (*List) SetLabels added in v0.9.0

func (o *List) SetLabels(v []string)

SetLabels sets field value

func (*List) SetName

func (o *List) SetName(v string)

SetName sets field value

func (*List) SetSubkind

func (o *List) SetSubkind(v ListSubkind)

SetSubkind gets a reference to the given ListSubkind and assigns it to the Subkind field.

func (List) ToMap

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

func (*List) UnmarshalJSON

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

type ListFunctionality

type ListFunctionality string

ListFunctionality The functionality of the list.

const (
	ADD        ListFunctionality = "add"
	ADD_REMOVE ListFunctionality = "add/remove"
)

List of list_functionality

func NewListFunctionalityFromValue

func NewListFunctionalityFromValue(v string) (*ListFunctionality, error)

NewListFunctionalityFromValue returns a pointer to a valid ListFunctionality for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ListFunctionality) IsValid

func (v ListFunctionality) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ListFunctionality) Ptr

Ptr returns reference to list_functionality value

func (*ListFunctionality) UnmarshalJSON

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

type ListItemsInner

type ListItemsInner struct {
	// The value of the item.
	Value string `json:"value"`
	// The expiration date of the item.
	Expiration           NullableTime `json:"expiration,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListItemsInner struct for ListItemsInner

func NewListItemsInner

func NewListItemsInner(value string) *ListItemsInner

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

func NewListItemsInnerWithDefaults

func NewListItemsInnerWithDefaults() *ListItemsInner

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

func (*ListItemsInner) GetExpiration

func (o *ListItemsInner) GetExpiration() time.Time

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

func (*ListItemsInner) GetExpirationOk

func (o *ListItemsInner) GetExpirationOk() (*time.Time, bool)

GetExpirationOk returns a tuple with the Expiration 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 (*ListItemsInner) GetValue

func (o *ListItemsInner) GetValue() string

GetValue returns the Value field value

func (*ListItemsInner) GetValueOk

func (o *ListItemsInner) GetValueOk() (*string, bool)

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

func (*ListItemsInner) HasExpiration

func (o *ListItemsInner) HasExpiration() bool

HasExpiration returns a boolean if a field has been set.

func (ListItemsInner) MarshalJSON

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

func (*ListItemsInner) SetExpiration

func (o *ListItemsInner) SetExpiration(v time.Time)

SetExpiration gets a reference to the given NullableTime and assigns it to the Expiration field.

func (*ListItemsInner) SetExpirationNil

func (o *ListItemsInner) SetExpirationNil()

SetExpirationNil sets the value for Expiration to be an explicit nil

func (*ListItemsInner) SetValue

func (o *ListItemsInner) SetValue(v string)

SetValue sets field value

func (ListItemsInner) ToMap

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

func (*ListItemsInner) UnmarshalJSON

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

func (*ListItemsInner) UnsetExpiration

func (o *ListItemsInner) UnsetExpiration()

UnsetExpiration ensures that no value is present for Expiration, not even an explicit nil

type ListItemsPatchBody added in v0.10.0

type ListItemsPatchBody struct {
	// The items in the list.
	Add []ListItemsInner `json:"add,omitempty"`
	// Items to remove from the list.
	Remove               []string `json:"remove,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListItemsPatchBody struct for ListItemsPatchBody

func NewListItemsPatchBody added in v0.10.0

func NewListItemsPatchBody() *ListItemsPatchBody

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

func NewListItemsPatchBodyWithDefaults added in v0.10.0

func NewListItemsPatchBodyWithDefaults() *ListItemsPatchBody

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

func (*ListItemsPatchBody) GetAdd added in v0.10.0

func (o *ListItemsPatchBody) GetAdd() []ListItemsInner

GetAdd returns the Add field value if set, zero value otherwise.

func (*ListItemsPatchBody) GetAddOk added in v0.10.0

func (o *ListItemsPatchBody) GetAddOk() ([]ListItemsInner, bool)

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

func (*ListItemsPatchBody) GetRemove added in v0.10.0

func (o *ListItemsPatchBody) GetRemove() []string

GetRemove returns the Remove field value if set, zero value otherwise.

func (*ListItemsPatchBody) GetRemoveOk added in v0.10.0

func (o *ListItemsPatchBody) GetRemoveOk() ([]string, bool)

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

func (*ListItemsPatchBody) HasAdd added in v0.10.0

func (o *ListItemsPatchBody) HasAdd() bool

HasAdd returns a boolean if a field has been set.

func (*ListItemsPatchBody) HasRemove added in v0.10.0

func (o *ListItemsPatchBody) HasRemove() bool

HasRemove returns a boolean if a field has been set.

func (ListItemsPatchBody) MarshalJSON added in v0.10.0

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

func (*ListItemsPatchBody) SetAdd added in v0.10.0

func (o *ListItemsPatchBody) SetAdd(v []ListItemsInner)

SetAdd gets a reference to the given []ListItemsInner and assigns it to the Add field.

func (*ListItemsPatchBody) SetRemove added in v0.10.0

func (o *ListItemsPatchBody) SetRemove(v []string)

SetRemove gets a reference to the given []string and assigns it to the Remove field.

func (ListItemsPatchBody) ToMap added in v0.10.0

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

func (*ListItemsPatchBody) UnmarshalJSON added in v0.10.0

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

type ListKind

type ListKind string

ListKind The kind of list.

const (
	STRING  ListKind = "string"
	UUID    ListKind = "uuid"
	IP      ListKind = "ip"
	COUNTRY ListKind = "country"
	PATH    ListKind = "path"
	ASN     ListKind = "asn"
)

List of list_kind

func NewListKindFromValue

func NewListKindFromValue(v string) (*ListKind, error)

NewListKindFromValue returns a pointer to a valid ListKind for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ListKind) IsValid

func (v ListKind) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ListKind) Ptr

func (v ListKind) Ptr() *ListKind

Ptr returns reference to list_kind value

func (*ListKind) UnmarshalJSON

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

type ListPatchBody

type ListPatchBody struct {
	// The new name of the list.
	Name *string `json:"name,omitempty"`
	// The description of the list.
	Description NullableString `json:"description,omitempty"`
	// The items in the list.
	Add []ListItemsInner `json:"add,omitempty"`
	// Items to remove from the list.
	Remove []string `json:"remove,omitempty"`
	// The applied labels.
	Labels               []string `json:"labels,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListPatchBody struct for ListPatchBody

func NewListPatchBody

func NewListPatchBody() *ListPatchBody

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

func NewListPatchBodyWithDefaults

func NewListPatchBodyWithDefaults() *ListPatchBody

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

func (*ListPatchBody) GetAdd

func (o *ListPatchBody) GetAdd() []ListItemsInner

GetAdd returns the Add field value if set, zero value otherwise.

func (*ListPatchBody) GetAddOk

func (o *ListPatchBody) GetAddOk() ([]ListItemsInner, bool)

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

func (*ListPatchBody) GetDescription added in v0.10.0

func (o *ListPatchBody) GetDescription() string

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

func (*ListPatchBody) GetDescriptionOk added in v0.10.0

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

func (*ListPatchBody) GetLabels added in v0.9.0

func (o *ListPatchBody) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ListPatchBody) GetLabelsOk added in v0.9.0

func (o *ListPatchBody) GetLabelsOk() ([]string, bool)

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

func (*ListPatchBody) GetName

func (o *ListPatchBody) GetName() string

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

func (*ListPatchBody) GetNameOk

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

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

func (*ListPatchBody) GetRemove

func (o *ListPatchBody) GetRemove() []string

GetRemove returns the Remove field value if set, zero value otherwise.

func (*ListPatchBody) GetRemoveOk

func (o *ListPatchBody) GetRemoveOk() ([]string, bool)

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

func (*ListPatchBody) HasAdd

func (o *ListPatchBody) HasAdd() bool

HasAdd returns a boolean if a field has been set.

func (*ListPatchBody) HasDescription added in v0.10.0

func (o *ListPatchBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ListPatchBody) HasLabels added in v0.9.0

func (o *ListPatchBody) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ListPatchBody) HasName

func (o *ListPatchBody) HasName() bool

HasName returns a boolean if a field has been set.

func (*ListPatchBody) HasRemove

func (o *ListPatchBody) HasRemove() bool

HasRemove returns a boolean if a field has been set.

func (ListPatchBody) MarshalJSON

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

func (*ListPatchBody) SetAdd

func (o *ListPatchBody) SetAdd(v []ListItemsInner)

SetAdd gets a reference to the given []ListItemsInner and assigns it to the Add field.

func (*ListPatchBody) SetDescription added in v0.10.0

func (o *ListPatchBody) SetDescription(v string)

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

func (*ListPatchBody) SetDescriptionNil added in v0.10.0

func (o *ListPatchBody) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*ListPatchBody) SetLabels added in v0.9.0

func (o *ListPatchBody) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*ListPatchBody) SetName

func (o *ListPatchBody) SetName(v string)

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

func (*ListPatchBody) SetRemove

func (o *ListPatchBody) SetRemove(v []string)

SetRemove gets a reference to the given []string and assigns it to the Remove field.

func (ListPatchBody) ToMap

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

func (*ListPatchBody) UnmarshalJSON

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

func (*ListPatchBody) UnsetDescription added in v0.10.0

func (o *ListPatchBody) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type ListPostBody

type ListPostBody struct {
	// The name of the list.
	Name string `json:"name"`
	// The description of the list.
	Description   *string            `json:"description,omitempty"`
	Kind          ListKind           `json:"kind"`
	Subkind       *ListSubkind       `json:"subkind,omitempty"`
	Functionality *ListFunctionality `json:"functionality,omitempty"`
	// The items in the list.
	Items []ListItemsInner `json:"items,omitempty"`
	// The applied labels.
	Labels               []string `json:"labels,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListPostBody struct for ListPostBody

func NewListPostBody

func NewListPostBody(name string, kind ListKind) *ListPostBody

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

func NewListPostBodyWithDefaults

func NewListPostBodyWithDefaults() *ListPostBody

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

func (*ListPostBody) GetDescription added in v0.10.0

func (o *ListPostBody) GetDescription() string

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

func (*ListPostBody) GetDescriptionOk added in v0.10.0

func (o *ListPostBody) 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 (*ListPostBody) GetFunctionality

func (o *ListPostBody) GetFunctionality() ListFunctionality

GetFunctionality returns the Functionality field value if set, zero value otherwise.

func (*ListPostBody) GetFunctionalityOk

func (o *ListPostBody) GetFunctionalityOk() (*ListFunctionality, bool)

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

func (*ListPostBody) GetItems

func (o *ListPostBody) GetItems() []ListItemsInner

GetItems returns the Items field value if set, zero value otherwise.

func (*ListPostBody) GetItemsOk

func (o *ListPostBody) GetItemsOk() ([]ListItemsInner, bool)

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

func (*ListPostBody) GetKind

func (o *ListPostBody) GetKind() ListKind

GetKind returns the Kind field value

func (*ListPostBody) GetKindOk

func (o *ListPostBody) GetKindOk() (*ListKind, bool)

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

func (*ListPostBody) GetLabels added in v0.9.0

func (o *ListPostBody) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ListPostBody) GetLabelsOk added in v0.9.0

func (o *ListPostBody) GetLabelsOk() ([]string, bool)

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

func (*ListPostBody) GetName

func (o *ListPostBody) GetName() string

GetName returns the Name field value

func (*ListPostBody) GetNameOk

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

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

func (*ListPostBody) GetSubkind

func (o *ListPostBody) GetSubkind() ListSubkind

GetSubkind returns the Subkind field value if set, zero value otherwise.

func (*ListPostBody) GetSubkindOk

func (o *ListPostBody) GetSubkindOk() (*ListSubkind, bool)

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

func (*ListPostBody) HasDescription added in v0.10.0

func (o *ListPostBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ListPostBody) HasFunctionality

func (o *ListPostBody) HasFunctionality() bool

HasFunctionality returns a boolean if a field has been set.

func (*ListPostBody) HasItems

func (o *ListPostBody) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ListPostBody) HasLabels added in v0.9.0

func (o *ListPostBody) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ListPostBody) HasSubkind

func (o *ListPostBody) HasSubkind() bool

HasSubkind returns a boolean if a field has been set.

func (ListPostBody) MarshalJSON

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

func (*ListPostBody) SetDescription added in v0.10.0

func (o *ListPostBody) SetDescription(v string)

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

func (*ListPostBody) SetFunctionality

func (o *ListPostBody) SetFunctionality(v ListFunctionality)

SetFunctionality gets a reference to the given ListFunctionality and assigns it to the Functionality field.

func (*ListPostBody) SetItems

func (o *ListPostBody) SetItems(v []ListItemsInner)

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

func (*ListPostBody) SetKind

func (o *ListPostBody) SetKind(v ListKind)

SetKind sets field value

func (*ListPostBody) SetLabels added in v0.9.0

func (o *ListPostBody) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*ListPostBody) SetName

func (o *ListPostBody) SetName(v string)

SetName sets field value

func (*ListPostBody) SetSubkind

func (o *ListPostBody) SetSubkind(v ListSubkind)

SetSubkind gets a reference to the given ListSubkind and assigns it to the Subkind field.

func (ListPostBody) ToMap

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

func (*ListPostBody) UnmarshalJSON

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

type ListPutBody added in v0.10.0

type ListPutBody struct {
	// The new name of the list.
	Name string `json:"name"`
	// The description of the list.
	Description *string      `json:"description,omitempty"`
	Subkind     *ListSubkind `json:"subkind,omitempty"`
	// The applied labels.
	Labels               []string `json:"labels,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListPutBody struct for ListPutBody

func NewListPutBody added in v0.10.0

func NewListPutBody(name string) *ListPutBody

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

func NewListPutBodyWithDefaults added in v0.10.0

func NewListPutBodyWithDefaults() *ListPutBody

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

func (*ListPutBody) GetDescription added in v0.10.0

func (o *ListPutBody) GetDescription() string

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

func (*ListPutBody) GetDescriptionOk added in v0.10.0

func (o *ListPutBody) 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 (*ListPutBody) GetLabels added in v0.10.0

func (o *ListPutBody) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ListPutBody) GetLabelsOk added in v0.10.0

func (o *ListPutBody) GetLabelsOk() ([]string, bool)

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

func (*ListPutBody) GetName added in v0.10.0

func (o *ListPutBody) GetName() string

GetName returns the Name field value

func (*ListPutBody) GetNameOk added in v0.10.0

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

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

func (*ListPutBody) GetSubkind added in v0.10.0

func (o *ListPutBody) GetSubkind() ListSubkind

GetSubkind returns the Subkind field value if set, zero value otherwise.

func (*ListPutBody) GetSubkindOk added in v0.10.0

func (o *ListPutBody) GetSubkindOk() (*ListSubkind, bool)

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

func (*ListPutBody) HasDescription added in v0.10.0

func (o *ListPutBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ListPutBody) HasLabels added in v0.10.0

func (o *ListPutBody) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ListPutBody) HasSubkind added in v0.10.0

func (o *ListPutBody) HasSubkind() bool

HasSubkind returns a boolean if a field has been set.

func (ListPutBody) MarshalJSON added in v0.10.0

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

func (*ListPutBody) SetDescription added in v0.10.0

func (o *ListPutBody) SetDescription(v string)

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

func (*ListPutBody) SetLabels added in v0.10.0

func (o *ListPutBody) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*ListPutBody) SetName added in v0.10.0

func (o *ListPutBody) SetName(v string)

SetName sets field value

func (*ListPutBody) SetSubkind added in v0.10.0

func (o *ListPutBody) SetSubkind(v ListSubkind)

SetSubkind gets a reference to the given ListSubkind and assigns it to the Subkind field.

func (ListPutBody) ToMap added in v0.10.0

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

func (*ListPutBody) UnmarshalJSON added in v0.10.0

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

type ListSubkind

type ListSubkind string

ListSubkind The subkind of list.

const (
	SPEC_UUID     ListSubkind = "spec_uuid"
	ENDPOINT_UUID ListSubkind = "endpoint_uuid"
)

List of list_subkind

func NewListSubkindFromValue

func NewListSubkindFromValue(v string) (*ListSubkind, error)

NewListSubkindFromValue returns a pointer to a valid ListSubkind for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ListSubkind) IsValid

func (v ListSubkind) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ListSubkind) Ptr

func (v ListSubkind) Ptr() *ListSubkind

Ptr returns reference to list_subkind value

func (*ListSubkind) UnmarshalJSON

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

type Lists

type Lists struct {
	// A list of lists.
	Items                []ListsItemsInner `json:"items"`
	Meta                 CollectionMeta    `json:"meta"`
	AdditionalProperties map[string]interface{}
}

Lists struct for Lists

func NewLists

func NewLists(items []ListsItemsInner, meta CollectionMeta) *Lists

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

func NewListsWithDefaults

func NewListsWithDefaults() *Lists

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

func (*Lists) GetItems

func (o *Lists) GetItems() []ListsItemsInner

GetItems returns the Items field value

func (*Lists) GetItemsOk

func (o *Lists) GetItemsOk() ([]ListsItemsInner, bool)

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

func (*Lists) GetMeta

func (o *Lists) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*Lists) GetMetaOk

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

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

func (Lists) MarshalJSON

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

func (*Lists) SetItems

func (o *Lists) SetItems(v []ListsItemsInner)

SetItems sets field value

func (*Lists) SetMeta

func (o *Lists) SetMeta(v CollectionMeta)

SetMeta sets field value

func (Lists) ToMap

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

func (*Lists) UnmarshalJSON

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

type ListsAPI

type ListsAPI interface {

	/*
		CreateList Create a list

		Creates a list 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 ApiCreateListRequest
	*/
	CreateList(ctx context.Context, orgId string) ApiCreateListRequest

	// CreateListExecute executes the request
	//  @return List
	CreateListExecute(r ApiCreateListRequest) (*List, *http.Response, error)

	/*
		DeleteList Delete a list

		Deletes a list 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 listId List ID
		@return ApiDeleteListRequest
	*/
	DeleteList(ctx context.Context, orgId string, listId string) ApiDeleteListRequest

	// DeleteListExecute executes the request
	DeleteListExecute(r ApiDeleteListRequest) (*http.Response, error)

	/*
		GetList Get a list

		Gets a list 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 listId List ID
		@return ApiGetListRequest
	*/
	GetList(ctx context.Context, orgId string, listId string) ApiGetListRequest

	// GetListExecute executes the request
	//  @return List
	GetListExecute(r ApiGetListRequest) (*List, *http.Response, error)

	/*
		GetListItems Get a lists items

		Gets a list items 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 listId List ID
		@return ApiGetListItemsRequest
	*/
	GetListItems(ctx context.Context, orgId string, listId string) ApiGetListItemsRequest

	// GetListItemsExecute executes the request
	//  @return []ListItemsInner
	GetListItemsExecute(r ApiGetListItemsRequest) ([]ListItemsInner, *http.Response, error)

	/*
		GetListOptions Get list options

		Gets options for a list.

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

	// GetListOptionsExecute executes the request
	GetListOptionsExecute(r ApiGetListOptionsRequest) (*http.Response, error)

	/*
		GetLists Get lists

		Gets a list of lists 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 ApiGetListsRequest
	*/
	GetLists(ctx context.Context, orgId string) ApiGetListsRequest

	// GetListsExecute executes the request
	//  @return Lists
	GetListsExecute(r ApiGetListsRequest) (*Lists, *http.Response, error)

	/*
		GetListsOptions Get list options

		Gets options for a list.

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

	// GetListsOptionsExecute executes the request
	GetListsOptionsExecute(r ApiGetListsOptionsRequest) (*http.Response, error)

	/*
		PutList Update a list

		Updates a list 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 listId List ID
		@return ApiPutListRequest
	*/
	PutList(ctx context.Context, orgId string, listId string) ApiPutListRequest

	// PutListExecute executes the request
	//  @return List
	PutListExecute(r ApiPutListRequest) (*List, *http.Response, error)

	/*
		UpdateList Update a list

		Updates a list 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 listId List ID
		@return ApiUpdateListRequest
	*/
	UpdateList(ctx context.Context, orgId string, listId string) ApiUpdateListRequest

	// UpdateListExecute executes the request
	//  @return List
	UpdateListExecute(r ApiUpdateListRequest) (*List, *http.Response, error)

	/*
		UpdateListItems Update list items

		Updates a list items 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 listId List ID
		@return ApiUpdateListItemsRequest
	*/
	UpdateListItems(ctx context.Context, orgId string, listId string) ApiUpdateListItemsRequest

	// UpdateListItemsExecute executes the request
	//  @return []ListItemsInner
	UpdateListItemsExecute(r ApiUpdateListItemsRequest) ([]ListItemsInner, *http.Response, error)
}

type ListsAPIService

type ListsAPIService service

ListsAPIService ListsAPI service

func (*ListsAPIService) CreateList

func (a *ListsAPIService) CreateList(ctx context.Context, orgId string) ApiCreateListRequest

CreateList Create a list

Creates a list 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 ApiCreateListRequest

func (*ListsAPIService) CreateListExecute

func (a *ListsAPIService) CreateListExecute(r ApiCreateListRequest) (*List, *http.Response, error)

Execute executes the request

@return List

func (*ListsAPIService) DeleteList

func (a *ListsAPIService) DeleteList(ctx context.Context, orgId string, listId string) ApiDeleteListRequest

DeleteList Delete a list

Deletes a list 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 listId List ID
@return ApiDeleteListRequest

func (*ListsAPIService) DeleteListExecute

func (a *ListsAPIService) DeleteListExecute(r ApiDeleteListRequest) (*http.Response, error)

Execute executes the request

func (*ListsAPIService) GetList

func (a *ListsAPIService) GetList(ctx context.Context, orgId string, listId string) ApiGetListRequest

GetList Get a list

Gets a list 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 listId List ID
@return ApiGetListRequest

func (*ListsAPIService) GetListExecute

func (a *ListsAPIService) GetListExecute(r ApiGetListRequest) (*List, *http.Response, error)

Execute executes the request

@return List

func (*ListsAPIService) GetListItems added in v0.10.0

func (a *ListsAPIService) GetListItems(ctx context.Context, orgId string, listId string) ApiGetListItemsRequest

GetListItems Get a lists items

Gets a list items 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 listId List ID
@return ApiGetListItemsRequest

func (*ListsAPIService) GetListItemsExecute added in v0.10.0

func (a *ListsAPIService) GetListItemsExecute(r ApiGetListItemsRequest) ([]ListItemsInner, *http.Response, error)

Execute executes the request

@return []ListItemsInner

func (*ListsAPIService) GetListOptions

func (a *ListsAPIService) GetListOptions(ctx context.Context, orgId string, listId string) ApiGetListOptionsRequest

GetListOptions Get list options

Gets options for a list.

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

func (*ListsAPIService) GetListOptionsExecute

func (a *ListsAPIService) GetListOptionsExecute(r ApiGetListOptionsRequest) (*http.Response, error)

Execute executes the request

func (*ListsAPIService) GetLists

func (a *ListsAPIService) GetLists(ctx context.Context, orgId string) ApiGetListsRequest

GetLists Get lists

Gets a list of lists 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 ApiGetListsRequest

func (*ListsAPIService) GetListsExecute

func (a *ListsAPIService) GetListsExecute(r ApiGetListsRequest) (*Lists, *http.Response, error)

Execute executes the request

@return Lists

func (*ListsAPIService) GetListsOptions

func (a *ListsAPIService) GetListsOptions(ctx context.Context, orgId string) ApiGetListsOptionsRequest

GetListsOptions Get list options

Gets options for a list.

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

func (*ListsAPIService) GetListsOptionsExecute

func (a *ListsAPIService) GetListsOptionsExecute(r ApiGetListsOptionsRequest) (*http.Response, error)

Execute executes the request

func (*ListsAPIService) PutList added in v0.10.0

func (a *ListsAPIService) PutList(ctx context.Context, orgId string, listId string) ApiPutListRequest

PutList Update a list

Updates a list 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 listId List ID
@return ApiPutListRequest

func (*ListsAPIService) PutListExecute added in v0.10.0

func (a *ListsAPIService) PutListExecute(r ApiPutListRequest) (*List, *http.Response, error)

Execute executes the request

@return List

func (*ListsAPIService) UpdateList

func (a *ListsAPIService) UpdateList(ctx context.Context, orgId string, listId string) ApiUpdateListRequest

UpdateList Update a list

Updates a list 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 listId List ID
@return ApiUpdateListRequest

func (*ListsAPIService) UpdateListExecute

func (a *ListsAPIService) UpdateListExecute(r ApiUpdateListRequest) (*List, *http.Response, error)

Execute executes the request

@return List

func (*ListsAPIService) UpdateListItems added in v0.10.0

func (a *ListsAPIService) UpdateListItems(ctx context.Context, orgId string, listId string) ApiUpdateListItemsRequest

UpdateListItems Update list items

Updates a list items 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 listId List ID
@return ApiUpdateListItemsRequest

func (*ListsAPIService) UpdateListItemsExecute added in v0.10.0

func (a *ListsAPIService) UpdateListItemsExecute(r ApiUpdateListItemsRequest) ([]ListItemsInner, *http.Response, error)

Execute executes the request

@return []ListItemsInner

type ListsItemsInner

type ListsItemsInner struct {
	// ID of the list.
	Id string `json:"id"`
	// The name of the list.
	Name string `json:"name"`
	// The description of the list.
	Description *string `json:"description,omitempty"`
	// User ID of the user that created the list.
	CreatedBy string `json:"created_by"`
	// The date the list was created.
	CreatedAt     time.Time          `json:"created_at"`
	Kind          ListKind           `json:"kind"`
	Subkind       *ListSubkind       `json:"subkind,omitempty"`
	Functionality *ListFunctionality `json:"functionality,omitempty"`
	// The applied labels.
	Labels               []string `json:"labels"`
	AdditionalProperties map[string]interface{}
}

ListsItemsInner struct for ListsItemsInner

func NewListsItemsInner

func NewListsItemsInner(id string, name string, createdBy string, createdAt time.Time, kind ListKind, labels []string) *ListsItemsInner

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

func NewListsItemsInnerWithDefaults

func NewListsItemsInnerWithDefaults() *ListsItemsInner

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

func (*ListsItemsInner) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*ListsItemsInner) GetCreatedAtOk

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

func (o *ListsItemsInner) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*ListsItemsInner) GetCreatedByOk

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

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

func (*ListsItemsInner) GetDescription added in v0.10.0

func (o *ListsItemsInner) GetDescription() string

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

func (*ListsItemsInner) GetDescriptionOk added in v0.10.0

func (o *ListsItemsInner) 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 (*ListsItemsInner) GetFunctionality

func (o *ListsItemsInner) GetFunctionality() ListFunctionality

GetFunctionality returns the Functionality field value if set, zero value otherwise.

func (*ListsItemsInner) GetFunctionalityOk

func (o *ListsItemsInner) GetFunctionalityOk() (*ListFunctionality, bool)

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

func (*ListsItemsInner) GetId

func (o *ListsItemsInner) GetId() string

GetId returns the Id field value

func (*ListsItemsInner) GetIdOk

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

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

func (*ListsItemsInner) GetKind

func (o *ListsItemsInner) GetKind() ListKind

GetKind returns the Kind field value

func (*ListsItemsInner) GetKindOk

func (o *ListsItemsInner) GetKindOk() (*ListKind, bool)

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

func (*ListsItemsInner) GetLabels added in v0.9.0

func (o *ListsItemsInner) GetLabels() []string

GetLabels returns the Labels field value

func (*ListsItemsInner) GetLabelsOk added in v0.9.0

func (o *ListsItemsInner) GetLabelsOk() ([]string, bool)

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

func (*ListsItemsInner) GetName

func (o *ListsItemsInner) GetName() string

GetName returns the Name field value

func (*ListsItemsInner) GetNameOk

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

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

func (*ListsItemsInner) GetSubkind

func (o *ListsItemsInner) GetSubkind() ListSubkind

GetSubkind returns the Subkind field value if set, zero value otherwise.

func (*ListsItemsInner) GetSubkindOk

func (o *ListsItemsInner) GetSubkindOk() (*ListSubkind, bool)

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

func (*ListsItemsInner) HasDescription added in v0.10.0

func (o *ListsItemsInner) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ListsItemsInner) HasFunctionality

func (o *ListsItemsInner) HasFunctionality() bool

HasFunctionality returns a boolean if a field has been set.

func (*ListsItemsInner) HasSubkind

func (o *ListsItemsInner) HasSubkind() bool

HasSubkind returns a boolean if a field has been set.

func (ListsItemsInner) MarshalJSON

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

func (*ListsItemsInner) SetCreatedAt

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

SetCreatedAt sets field value

func (*ListsItemsInner) SetCreatedBy

func (o *ListsItemsInner) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*ListsItemsInner) SetDescription added in v0.10.0

func (o *ListsItemsInner) SetDescription(v string)

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

func (*ListsItemsInner) SetFunctionality

func (o *ListsItemsInner) SetFunctionality(v ListFunctionality)

SetFunctionality gets a reference to the given ListFunctionality and assigns it to the Functionality field.

func (*ListsItemsInner) SetId

func (o *ListsItemsInner) SetId(v string)

SetId sets field value

func (*ListsItemsInner) SetKind

func (o *ListsItemsInner) SetKind(v ListKind)

SetKind sets field value

func (*ListsItemsInner) SetLabels added in v0.9.0

func (o *ListsItemsInner) SetLabels(v []string)

SetLabels sets field value

func (*ListsItemsInner) SetName

func (o *ListsItemsInner) SetName(v string)

SetName sets field value

func (*ListsItemsInner) SetSubkind

func (o *ListsItemsInner) SetSubkind(v ListSubkind)

SetSubkind gets a reference to the given ListSubkind and assigns it to the Subkind field.

func (ListsItemsInner) ToMap

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

func (*ListsItemsInner) UnmarshalJSON

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

type LogBinding

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"`
	AdditionalProperties map[string]interface{}
}

LogBinding struct for LogBinding

func NewLogBinding

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

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

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

GetCreatedAt returns the CreatedAt field value

func (*LogBinding) GetCreatedAtOk

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

func (o *LogBinding) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*LogBinding) GetCreatedByOk

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

func (o *LogBinding) GetId() string

GetId returns the Id field value

func (*LogBinding) GetIdOk

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

func (o *LogBinding) GetLogstreamId() string

GetLogstreamId returns the LogstreamId field value

func (*LogBinding) GetLogstreamIdOk

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

func (o *LogBinding) GetName() string

GetName returns the Name field value

func (*LogBinding) GetNameOk

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

func (o *LogBinding) GetPattern() string

GetPattern returns the Pattern field value

func (*LogBinding) GetPatternOk

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

func (o *LogBinding) GetPatternType() string

GetPatternType returns the PatternType field value

func (*LogBinding) GetPatternTypeOk

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

func (o *LogBinding) GetSpecId() string

GetSpecId returns the SpecId field value

func (*LogBinding) GetSpecIdOk

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

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

func (*LogBinding) SetCreatedAt

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

SetCreatedAt sets field value

func (*LogBinding) SetCreatedBy

func (o *LogBinding) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*LogBinding) SetId

func (o *LogBinding) SetId(v string)

SetId sets field value

func (*LogBinding) SetLogstreamId

func (o *LogBinding) SetLogstreamId(v string)

SetLogstreamId sets field value

func (*LogBinding) SetName

func (o *LogBinding) SetName(v string)

SetName sets field value

func (*LogBinding) SetPattern

func (o *LogBinding) SetPattern(v string)

SetPattern sets field value

func (*LogBinding) SetPatternType

func (o *LogBinding) SetPatternType(v string)

SetPatternType sets field value

func (*LogBinding) SetSpecId

func (o *LogBinding) SetSpecId(v string)

SetSpecId sets field value

func (LogBinding) ToMap

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

func (*LogBinding) UnmarshalJSON

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

type LogBindingPostBody

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"`
	AdditionalProperties map[string]interface{}
}

LogBindingPostBody struct for LogBindingPostBody

func NewLogBindingPostBody

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

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

func (o *LogBindingPostBody) GetLogstreamId() string

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

func (*LogBindingPostBody) GetLogstreamIdOk

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

func (o *LogBindingPostBody) GetName() string

GetName returns the Name field value

func (*LogBindingPostBody) GetNameOk

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

func (o *LogBindingPostBody) GetPattern() string

GetPattern returns the Pattern field value

func (*LogBindingPostBody) GetPatternOk

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

func (o *LogBindingPostBody) GetPatternType() string

GetPatternType returns the PatternType field value

func (*LogBindingPostBody) GetPatternTypeOk

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

func (o *LogBindingPostBody) GetSpecId() string

GetSpecId returns the SpecId field value

func (*LogBindingPostBody) GetSpecIdOk

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

func (o *LogBindingPostBody) HasLogstreamId() bool

HasLogstreamId returns a boolean if a field has been set.

func (LogBindingPostBody) MarshalJSON

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

func (*LogBindingPostBody) SetLogstreamId

func (o *LogBindingPostBody) SetLogstreamId(v string)

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

func (*LogBindingPostBody) SetName

func (o *LogBindingPostBody) SetName(v string)

SetName sets field value

func (*LogBindingPostBody) SetPattern

func (o *LogBindingPostBody) SetPattern(v string)

SetPattern sets field value

func (*LogBindingPostBody) SetPatternType

func (o *LogBindingPostBody) SetPatternType(v string)

SetPatternType sets field value

func (*LogBindingPostBody) SetSpecId

func (o *LogBindingPostBody) SetSpecId(v string)

SetSpecId sets field value

func (LogBindingPostBody) ToMap

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

func (*LogBindingPostBody) UnmarshalJSON

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

type LogBindingPutBody

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"`
	AdditionalProperties map[string]interface{}
}

LogBindingPutBody struct for LogBindingPutBody

func NewLogBindingPutBody

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

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

func (o *LogBindingPutBody) GetLogstreamId() string

GetLogstreamId returns the LogstreamId field value

func (*LogBindingPutBody) GetLogstreamIdOk

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

func (o *LogBindingPutBody) GetName() string

GetName returns the Name field value

func (*LogBindingPutBody) GetNameOk

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

func (o *LogBindingPutBody) GetPattern() string

GetPattern returns the Pattern field value

func (*LogBindingPutBody) GetPatternOk

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

func (o *LogBindingPutBody) GetPatternType() string

GetPatternType returns the PatternType field value

func (*LogBindingPutBody) GetPatternTypeOk

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

func (o *LogBindingPutBody) GetSpecId() string

GetSpecId returns the SpecId field value

func (*LogBindingPutBody) GetSpecIdOk

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

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

func (*LogBindingPutBody) SetLogstreamId

func (o *LogBindingPutBody) SetLogstreamId(v string)

SetLogstreamId sets field value

func (*LogBindingPutBody) SetName

func (o *LogBindingPutBody) SetName(v string)

SetName sets field value

func (*LogBindingPutBody) SetPattern

func (o *LogBindingPutBody) SetPattern(v string)

SetPattern sets field value

func (*LogBindingPutBody) SetPatternType

func (o *LogBindingPutBody) SetPatternType(v string)

SetPatternType sets field value

func (*LogBindingPutBody) SetSpecId

func (o *LogBindingPutBody) SetSpecId(v string)

SetSpecId sets field value

func (LogBindingPutBody) ToMap

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

func (*LogBindingPutBody) UnmarshalJSON

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

type LogBindings

type LogBindings struct {
	// A list of log bindings.
	Items                []LogBinding   `json:"items"`
	Meta                 CollectionMeta `json:"meta"`
	AdditionalProperties map[string]interface{}
}

LogBindings struct for LogBindings

func NewLogBindings

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

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

func (o *LogBindings) GetItems() []LogBinding

GetItems returns the Items field value

func (*LogBindings) GetItemsOk

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

func (o *LogBindings) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*LogBindings) GetMetaOk

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

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

func (*LogBindings) SetItems

func (o *LogBindings) SetItems(v []LogBinding)

SetItems sets field value

func (*LogBindings) SetMeta

func (o *LogBindings) SetMeta(v CollectionMeta)

SetMeta sets field value

func (LogBindings) ToMap

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

func (*LogBindings) UnmarshalJSON

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

type LogBindingsAPI

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

type LogBindingsAPIService service

LogBindingsAPIService LogBindingsAPI service

func (*LogBindingsAPIService) CreateLogBinding

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

func (a *LogBindingsAPIService) CreateLogBindingExecute(r ApiCreateLogBindingRequest) (*LogBinding, *http.Response, error)

Execute executes the request

@return LogBinding

func (*LogBindingsAPIService) DeleteLogBinding

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

func (a *LogBindingsAPIService) DeleteLogBindingExecute(r ApiDeleteLogBindingRequest) (*http.Response, error)

Execute executes the request

func (*LogBindingsAPIService) GetLogBinding

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

Execute executes the request

@return LogBinding

func (*LogBindingsAPIService) GetLogBindings

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

Execute executes the request

@return LogBindings

func (*LogBindingsAPIService) UpdateLogBinding

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

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

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"`
	AdditionalProperties map[string]interface{}
}

NotificationTemplate struct for NotificationTemplate

func NewNotificationTemplate

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

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

func (o *NotificationTemplate) GetConnectorId() string

GetConnectorId returns the ConnectorId field value

func (*NotificationTemplate) GetConnectorIdOk

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

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

GetCreatedAt returns the CreatedAt field value

func (*NotificationTemplate) GetCreatedAtOk

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

func (o *NotificationTemplate) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*NotificationTemplate) GetCreatedByOk

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

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

GetDestination returns the Destination field value

func (*NotificationTemplate) GetDestinationOk

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

func (o *NotificationTemplate) GetId() string

GetId returns the Id field value

func (*NotificationTemplate) GetIdOk

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

func (o *NotificationTemplate) GetName() string

GetName returns the Name field value

func (*NotificationTemplate) GetNameOk

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

func (o *NotificationTemplate) GetPayload() string

GetPayload returns the Payload field value

func (*NotificationTemplate) GetPayloadOk

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

func (o *NotificationTemplate) GetSubject() string

GetSubject returns the Subject field value

func (*NotificationTemplate) GetSubjectOk

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

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

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

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

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

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

func (*NotificationTemplate) SetConnectorId

func (o *NotificationTemplate) SetConnectorId(v string)

SetConnectorId sets field value

func (*NotificationTemplate) SetCreatedAt

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

SetCreatedAt sets field value

func (*NotificationTemplate) SetCreatedBy

func (o *NotificationTemplate) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*NotificationTemplate) SetDestination

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

SetDestination sets field value

func (*NotificationTemplate) SetId

func (o *NotificationTemplate) SetId(v string)

SetId sets field value

func (*NotificationTemplate) SetName

func (o *NotificationTemplate) SetName(v string)

SetName sets field value

func (*NotificationTemplate) SetPayload

func (o *NotificationTemplate) SetPayload(v string)

SetPayload sets field value

func (*NotificationTemplate) SetSubject

func (o *NotificationTemplate) SetSubject(v string)

SetSubject sets field value

func (*NotificationTemplate) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*NotificationTemplate) SetUpdatedBy

func (o *NotificationTemplate) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (NotificationTemplate) ToMap

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

func (*NotificationTemplate) UnmarshalJSON

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

type NotificationTemplatePostBody

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,omitempty"`
	// An array of ids for where the notification should be sent.
	Destination []string `json:"destination,omitempty"`
	// The payload to sign using a predefined hmac key. (Ex. \"{{timeTriggered}}.{{URL}}.{{REQUEST_BODY}}\")
	HmacPayloadToSign    *string `json:"hmac_payload_to_sign,omitempty"`
	AdditionalProperties map[string]interface{}
}

NotificationTemplatePostBody struct for NotificationTemplatePostBody

func NewNotificationTemplatePostBody

func NewNotificationTemplatePostBody(connectorId string, name string, payload 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

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

func (o *NotificationTemplatePostBody) GetConnectorId() string

GetConnectorId returns the ConnectorId field value

func (*NotificationTemplatePostBody) GetConnectorIdOk

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

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

GetDestination returns the Destination field value if set, zero value otherwise.

func (*NotificationTemplatePostBody) GetDestinationOk

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

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

func (*NotificationTemplatePostBody) GetHmacPayloadToSign

func (o *NotificationTemplatePostBody) GetHmacPayloadToSign() string

GetHmacPayloadToSign returns the HmacPayloadToSign field value if set, zero value otherwise.

func (*NotificationTemplatePostBody) GetHmacPayloadToSignOk

func (o *NotificationTemplatePostBody) GetHmacPayloadToSignOk() (*string, bool)

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

func (*NotificationTemplatePostBody) GetName

func (o *NotificationTemplatePostBody) GetName() string

GetName returns the Name field value

func (*NotificationTemplatePostBody) GetNameOk

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

func (o *NotificationTemplatePostBody) GetPayload() string

GetPayload returns the Payload field value

func (*NotificationTemplatePostBody) GetPayloadOk

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

func (o *NotificationTemplatePostBody) GetSubject() string

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

func (*NotificationTemplatePostBody) GetSubjectOk

func (o *NotificationTemplatePostBody) 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 (*NotificationTemplatePostBody) HasDestination

func (o *NotificationTemplatePostBody) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*NotificationTemplatePostBody) HasHmacPayloadToSign

func (o *NotificationTemplatePostBody) HasHmacPayloadToSign() bool

HasHmacPayloadToSign returns a boolean if a field has been set.

func (*NotificationTemplatePostBody) HasSubject

func (o *NotificationTemplatePostBody) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (NotificationTemplatePostBody) MarshalJSON

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

func (*NotificationTemplatePostBody) SetConnectorId

func (o *NotificationTemplatePostBody) SetConnectorId(v string)

SetConnectorId sets field value

func (*NotificationTemplatePostBody) SetDestination

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

SetDestination gets a reference to the given []string and assigns it to the Destination field.

func (*NotificationTemplatePostBody) SetHmacPayloadToSign

func (o *NotificationTemplatePostBody) SetHmacPayloadToSign(v string)

SetHmacPayloadToSign gets a reference to the given string and assigns it to the HmacPayloadToSign field.

func (*NotificationTemplatePostBody) SetName

func (o *NotificationTemplatePostBody) SetName(v string)

SetName sets field value

func (*NotificationTemplatePostBody) SetPayload

func (o *NotificationTemplatePostBody) SetPayload(v string)

SetPayload sets field value

func (*NotificationTemplatePostBody) SetSubject

func (o *NotificationTemplatePostBody) SetSubject(v string)

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

func (NotificationTemplatePostBody) ToMap

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

func (*NotificationTemplatePostBody) UnmarshalJSON

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

type NotificationTemplates

type NotificationTemplates struct {
	// A list of notification templates.
	Items                []NotificationTemplate `json:"items"`
	Meta                 CollectionMeta         `json:"meta"`
	AdditionalProperties map[string]interface{}
}

NotificationTemplates struct for NotificationTemplates

func NewNotificationTemplates

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

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

GetItems returns the Items field value

func (*NotificationTemplates) GetItemsOk

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

GetMeta returns the Meta field value

func (*NotificationTemplates) GetMetaOk

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

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

func (*NotificationTemplates) SetItems

SetItems sets field value

func (*NotificationTemplates) SetMeta

func (o *NotificationTemplates) SetMeta(v CollectionMeta)

SetMeta sets field value

func (NotificationTemplates) ToMap

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

func (*NotificationTemplates) UnmarshalJSON

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

type NotificationTemplatesAPI

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

type NotificationTemplatesAPIService service

NotificationTemplatesAPIService NotificationTemplatesAPI service

func (*NotificationTemplatesAPIService) CreateNotificationTemplate

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

Execute executes the request

@return NotificationTemplate

func (*NotificationTemplatesAPIService) DeleteNotificationTemplate

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

func (a *NotificationTemplatesAPIService) DeleteNotificationTemplateExecute(r ApiDeleteNotificationTemplateRequest) (*http.Response, error)

Execute executes the request

func (*NotificationTemplatesAPIService) GetNotificationTemplate

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

Execute executes the request

@return NotificationTemplate

func (*NotificationTemplatesAPIService) GetNotificationTemplates

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

Execute executes the request

@return NotificationTemplates

func (*NotificationTemplatesAPIService) UpdateNotificationTemplate

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

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 NullableApiBindings

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

func NewNullableApiBindings

func NewNullableApiBindings(val *ApiBindings) *NullableApiBindings

func (NullableApiBindings) Get

func (NullableApiBindings) IsSet

func (v NullableApiBindings) IsSet() bool

func (NullableApiBindings) MarshalJSON

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

func (*NullableApiBindings) Set

func (v *NullableApiBindings) Set(val *ApiBindings)

func (*NullableApiBindings) UnmarshalJSON

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

func (*NullableApiBindings) Unset

func (v *NullableApiBindings) Unset()

type NullableApiTestPostBody

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

func NewNullableApiTestPostBody

func NewNullableApiTestPostBody(val *ApiTestPostBody) *NullableApiTestPostBody

func (NullableApiTestPostBody) Get

func (NullableApiTestPostBody) IsSet

func (v NullableApiTestPostBody) IsSet() bool

func (NullableApiTestPostBody) MarshalJSON

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

func (*NullableApiTestPostBody) Set

func (*NullableApiTestPostBody) UnmarshalJSON

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

func (*NullableApiTestPostBody) Unset

func (v *NullableApiTestPostBody) 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 NullableBlockingEffectType

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

func NewNullableBlockingEffectType

func NewNullableBlockingEffectType(val *BlockingEffectType) *NullableBlockingEffectType

func (NullableBlockingEffectType) Get

func (NullableBlockingEffectType) IsSet

func (v NullableBlockingEffectType) IsSet() bool

func (NullableBlockingEffectType) MarshalJSON

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

func (*NullableBlockingEffectType) Set

func (*NullableBlockingEffectType) UnmarshalJSON

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

func (*NullableBlockingEffectType) Unset

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

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

func NewNullableCollectionMeta

func NewNullableCollectionMeta(val *CollectionMeta) *NullableCollectionMeta

func (NullableCollectionMeta) Get

func (NullableCollectionMeta) IsSet

func (v NullableCollectionMeta) IsSet() bool

func (NullableCollectionMeta) MarshalJSON

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

func (*NullableCollectionMeta) Set

func (*NullableCollectionMeta) UnmarshalJSON

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

func (*NullableCollectionMeta) Unset

func (v *NullableCollectionMeta) Unset()

type NullableCompilationDiagnostic

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

func (NullableCompilationDiagnostic) Get

func (NullableCompilationDiagnostic) IsSet

func (NullableCompilationDiagnostic) MarshalJSON

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

func (*NullableCompilationDiagnostic) Set

func (*NullableCompilationDiagnostic) UnmarshalJSON

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

func (*NullableCompilationDiagnostic) Unset

func (v *NullableCompilationDiagnostic) Unset()

type NullableCompilationDiagnosticRange

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

func (NullableCompilationDiagnosticRange) Get

func (NullableCompilationDiagnosticRange) IsSet

func (NullableCompilationDiagnosticRange) MarshalJSON

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

func (*NullableCompilationDiagnosticRange) Set

func (*NullableCompilationDiagnosticRange) UnmarshalJSON

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

func (*NullableCompilationDiagnosticRange) Unset

type NullableCompilationDiagnostics

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

func (NullableCompilationDiagnostics) Get

func (NullableCompilationDiagnostics) IsSet

func (NullableCompilationDiagnostics) MarshalJSON

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

func (*NullableCompilationDiagnostics) Set

func (*NullableCompilationDiagnostics) UnmarshalJSON

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

func (*NullableCompilationDiagnostics) Unset

func (v *NullableCompilationDiagnostics) Unset()

type NullableConnector

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

func NewNullableConnector

func NewNullableConnector(val *Connector) *NullableConnector

func (NullableConnector) Get

func (v NullableConnector) Get() *Connector

func (NullableConnector) IsSet

func (v NullableConnector) IsSet() bool

func (NullableConnector) MarshalJSON

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

func (*NullableConnector) Set

func (v *NullableConnector) Set(val *Connector)

func (*NullableConnector) UnmarshalJSON

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

func (*NullableConnector) Unset

func (v *NullableConnector) Unset()

type NullableConnectorDestination

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

func NewNullableConnectorDestination

func NewNullableConnectorDestination(val *ConnectorDestination) *NullableConnectorDestination

func (NullableConnectorDestination) Get

func (NullableConnectorDestination) IsSet

func (NullableConnectorDestination) MarshalJSON

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

func (*NullableConnectorDestination) Set

func (*NullableConnectorDestination) UnmarshalJSON

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

func (*NullableConnectorDestination) Unset

func (v *NullableConnectorDestination) Unset()

type NullableConnectorDestinations

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

func (NullableConnectorDestinations) Get

func (NullableConnectorDestinations) IsSet

func (NullableConnectorDestinations) MarshalJSON

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

func (*NullableConnectorDestinations) Set

func (*NullableConnectorDestinations) UnmarshalJSON

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

func (*NullableConnectorDestinations) Unset

func (v *NullableConnectorDestinations) Unset()

type NullableConnectorNotificationPostBody

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

func (NullableConnectorNotificationPostBody) Get

func (NullableConnectorNotificationPostBody) IsSet

func (NullableConnectorNotificationPostBody) MarshalJSON

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

func (*NullableConnectorNotificationPostBody) Set

func (*NullableConnectorNotificationPostBody) UnmarshalJSON

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

func (*NullableConnectorNotificationPostBody) Unset

type NullableConnectorPostBody

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

func NewNullableConnectorPostBody

func NewNullableConnectorPostBody(val *ConnectorPostBody) *NullableConnectorPostBody

func (NullableConnectorPostBody) Get

func (NullableConnectorPostBody) IsSet

func (v NullableConnectorPostBody) IsSet() bool

func (NullableConnectorPostBody) MarshalJSON

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

func (*NullableConnectorPostBody) Set

func (*NullableConnectorPostBody) UnmarshalJSON

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

func (*NullableConnectorPostBody) Unset

func (v *NullableConnectorPostBody) Unset()

type NullableConnectorPutBody

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

func NewNullableConnectorPutBody

func NewNullableConnectorPutBody(val *ConnectorPutBody) *NullableConnectorPutBody

func (NullableConnectorPutBody) Get

func (NullableConnectorPutBody) IsSet

func (v NullableConnectorPutBody) IsSet() bool

func (NullableConnectorPutBody) MarshalJSON

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

func (*NullableConnectorPutBody) Set

func (*NullableConnectorPutBody) UnmarshalJSON

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

func (*NullableConnectorPutBody) Unset

func (v *NullableConnectorPutBody) Unset()

type NullableConnectorType

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

func NewNullableConnectorType

func NewNullableConnectorType(val *ConnectorType) *NullableConnectorType

func (NullableConnectorType) Get

func (NullableConnectorType) IsSet

func (v NullableConnectorType) IsSet() bool

func (NullableConnectorType) MarshalJSON

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

func (*NullableConnectorType) Set

func (v *NullableConnectorType) Set(val *ConnectorType)

func (*NullableConnectorType) UnmarshalJSON

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

func (*NullableConnectorType) Unset

func (v *NullableConnectorType) Unset()

type NullableConnectorTypes

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

func NewNullableConnectorTypes

func NewNullableConnectorTypes(val *ConnectorTypes) *NullableConnectorTypes

func (NullableConnectorTypes) Get

func (NullableConnectorTypes) IsSet

func (v NullableConnectorTypes) IsSet() bool

func (NullableConnectorTypes) MarshalJSON

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

func (*NullableConnectorTypes) Set

func (*NullableConnectorTypes) UnmarshalJSON

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

func (*NullableConnectorTypes) Unset

func (v *NullableConnectorTypes) Unset()

type NullableConnectors

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

func NewNullableConnectors

func NewNullableConnectors(val *Connectors) *NullableConnectors

func (NullableConnectors) Get

func (v NullableConnectors) Get() *Connectors

func (NullableConnectors) IsSet

func (v NullableConnectors) IsSet() bool

func (NullableConnectors) MarshalJSON

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

func (*NullableConnectors) Set

func (v *NullableConnectors) Set(val *Connectors)

func (*NullableConnectors) UnmarshalJSON

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

func (*NullableConnectors) Unset

func (v *NullableConnectors) Unset()

type NullableEventMonitor

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

func NewNullableEventMonitor

func NewNullableEventMonitor(val *EventMonitor) *NullableEventMonitor

func (NullableEventMonitor) Get

func (NullableEventMonitor) IsSet

func (v NullableEventMonitor) IsSet() bool

func (NullableEventMonitor) MarshalJSON

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

func (*NullableEventMonitor) Set

func (v *NullableEventMonitor) Set(val *EventMonitor)

func (*NullableEventMonitor) UnmarshalJSON

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

func (*NullableEventMonitor) Unset

func (v *NullableEventMonitor) Unset()

type NullableEventMonitorCondition

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

func (NullableEventMonitorCondition) Get

func (NullableEventMonitorCondition) IsSet

func (NullableEventMonitorCondition) MarshalJSON

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

func (*NullableEventMonitorCondition) Set

func (*NullableEventMonitorCondition) UnmarshalJSON

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

func (*NullableEventMonitorCondition) Unset

func (v *NullableEventMonitorCondition) Unset()

type NullableEventMonitorConditionDetails

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

func (NullableEventMonitorConditionDetails) Get

func (NullableEventMonitorConditionDetails) IsSet

func (NullableEventMonitorConditionDetails) MarshalJSON

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

func (*NullableEventMonitorConditionDetails) Set

func (*NullableEventMonitorConditionDetails) UnmarshalJSON

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

func (*NullableEventMonitorConditionDetails) Unset

type NullableEventMonitorConditionEvent

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

func (NullableEventMonitorConditionEvent) Get

func (NullableEventMonitorConditionEvent) IsSet

func (NullableEventMonitorConditionEvent) MarshalJSON

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

func (*NullableEventMonitorConditionEvent) Set

func (*NullableEventMonitorConditionEvent) UnmarshalJSON

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

func (*NullableEventMonitorConditionEvent) Unset

type NullableEventMonitorConditionMetric

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

func (NullableEventMonitorConditionMetric) Get

func (NullableEventMonitorConditionMetric) IsSet

func (NullableEventMonitorConditionMetric) MarshalJSON

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

func (*NullableEventMonitorConditionMetric) Set

func (*NullableEventMonitorConditionMetric) UnmarshalJSON

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

func (*NullableEventMonitorConditionMetric) Unset

type NullableEventMonitorConditionPostBody

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

func (NullableEventMonitorConditionPostBody) Get

func (NullableEventMonitorConditionPostBody) IsSet

func (NullableEventMonitorConditionPostBody) MarshalJSON

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

func (*NullableEventMonitorConditionPostBody) Set

func (*NullableEventMonitorConditionPostBody) UnmarshalJSON

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

func (*NullableEventMonitorConditionPostBody) Unset

type NullableEventMonitorPostBody

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

func NewNullableEventMonitorPostBody

func NewNullableEventMonitorPostBody(val *EventMonitorPostBody) *NullableEventMonitorPostBody

func (NullableEventMonitorPostBody) Get

func (NullableEventMonitorPostBody) IsSet

func (NullableEventMonitorPostBody) MarshalJSON

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

func (*NullableEventMonitorPostBody) Set

func (*NullableEventMonitorPostBody) UnmarshalJSON

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

func (*NullableEventMonitorPostBody) Unset

func (v *NullableEventMonitorPostBody) Unset()

type NullableEventMonitors

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

func NewNullableEventMonitors

func NewNullableEventMonitors(val *EventMonitors) *NullableEventMonitors

func (NullableEventMonitors) Get

func (NullableEventMonitors) IsSet

func (v NullableEventMonitors) IsSet() bool

func (NullableEventMonitors) MarshalJSON

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

func (*NullableEventMonitors) Set

func (v *NullableEventMonitors) Set(val *EventMonitors)

func (*NullableEventMonitors) UnmarshalJSON

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

func (*NullableEventMonitors) Unset

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

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

func NewNullableInspectorReqMsg

func NewNullableInspectorReqMsg(val *InspectorReqMsg) *NullableInspectorReqMsg

func (NullableInspectorReqMsg) Get

func (NullableInspectorReqMsg) IsSet

func (v NullableInspectorReqMsg) IsSet() bool

func (NullableInspectorReqMsg) MarshalJSON

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

func (*NullableInspectorReqMsg) Set

func (*NullableInspectorReqMsg) UnmarshalJSON

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

func (*NullableInspectorReqMsg) Unset

func (v *NullableInspectorReqMsg) Unset()

type NullableInspectorReqMsgResponse

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

func (NullableInspectorReqMsgResponse) Get

func (NullableInspectorReqMsgResponse) IsSet

func (NullableInspectorReqMsgResponse) MarshalJSON

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

func (*NullableInspectorReqMsgResponse) Set

func (*NullableInspectorReqMsgResponse) UnmarshalJSON

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

func (*NullableInspectorReqMsgResponse) Unset

type NullableInspectorResMsg

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

func NewNullableInspectorResMsg

func NewNullableInspectorResMsg(val *InspectorResMsg) *NullableInspectorResMsg

func (NullableInspectorResMsg) Get

func (NullableInspectorResMsg) IsSet

func (v NullableInspectorResMsg) IsSet() bool

func (NullableInspectorResMsg) MarshalJSON

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

func (*NullableInspectorResMsg) Set

func (*NullableInspectorResMsg) UnmarshalJSON

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

func (*NullableInspectorResMsg) Unset

func (v *NullableInspectorResMsg) Unset()

type NullableInspectorResMsgResponse

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

func (NullableInspectorResMsgResponse) Get

func (NullableInspectorResMsgResponse) IsSet

func (NullableInspectorResMsgResponse) MarshalJSON

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

func (*NullableInspectorResMsgResponse) Set

func (*NullableInspectorResMsgResponse) UnmarshalJSON

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

func (*NullableInspectorResMsgResponse) Unset

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLabel added in v0.9.0

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

func NewNullableLabel added in v0.9.0

func NewNullableLabel(val *Label) *NullableLabel

func (NullableLabel) Get added in v0.9.0

func (v NullableLabel) Get() *Label

func (NullableLabel) IsSet added in v0.9.0

func (v NullableLabel) IsSet() bool

func (NullableLabel) MarshalJSON added in v0.9.0

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

func (*NullableLabel) Set added in v0.9.0

func (v *NullableLabel) Set(val *Label)

func (*NullableLabel) UnmarshalJSON added in v0.9.0

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

func (*NullableLabel) Unset added in v0.9.0

func (v *NullableLabel) Unset()

type NullableLabelColor added in v0.9.0

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

func NewNullableLabelColor added in v0.9.0

func NewNullableLabelColor(val *LabelColor) *NullableLabelColor

func (NullableLabelColor) Get added in v0.9.0

func (v NullableLabelColor) Get() *LabelColor

func (NullableLabelColor) IsSet added in v0.9.0

func (v NullableLabelColor) IsSet() bool

func (NullableLabelColor) MarshalJSON added in v0.9.0

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

func (*NullableLabelColor) Set added in v0.9.0

func (v *NullableLabelColor) Set(val *LabelColor)

func (*NullableLabelColor) UnmarshalJSON added in v0.9.0

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

func (*NullableLabelColor) Unset added in v0.9.0

func (v *NullableLabelColor) Unset()

type NullableLabelItems added in v0.9.0

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

func NewNullableLabelItems added in v0.9.0

func NewNullableLabelItems(val *LabelItems) *NullableLabelItems

func (NullableLabelItems) Get added in v0.9.0

func (v NullableLabelItems) Get() *LabelItems

func (NullableLabelItems) IsSet added in v0.9.0

func (v NullableLabelItems) IsSet() bool

func (NullableLabelItems) MarshalJSON added in v0.9.0

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

func (*NullableLabelItems) Set added in v0.9.0

func (v *NullableLabelItems) Set(val *LabelItems)

func (*NullableLabelItems) UnmarshalJSON added in v0.9.0

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

func (*NullableLabelItems) Unset added in v0.9.0

func (v *NullableLabelItems) Unset()

type NullableLabelPostBody added in v0.9.0

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

func NewNullableLabelPostBody added in v0.9.0

func NewNullableLabelPostBody(val *LabelPostBody) *NullableLabelPostBody

func (NullableLabelPostBody) Get added in v0.9.0

func (NullableLabelPostBody) IsSet added in v0.9.0

func (v NullableLabelPostBody) IsSet() bool

func (NullableLabelPostBody) MarshalJSON added in v0.9.0

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

func (*NullableLabelPostBody) Set added in v0.9.0

func (v *NullableLabelPostBody) Set(val *LabelPostBody)

func (*NullableLabelPostBody) UnmarshalJSON added in v0.9.0

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

func (*NullableLabelPostBody) Unset added in v0.9.0

func (v *NullableLabelPostBody) Unset()

type NullableLabelPutBody added in v0.9.0

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

func NewNullableLabelPutBody added in v0.9.0

func NewNullableLabelPutBody(val *LabelPutBody) *NullableLabelPutBody

func (NullableLabelPutBody) Get added in v0.9.0

func (NullableLabelPutBody) IsSet added in v0.9.0

func (v NullableLabelPutBody) IsSet() bool

func (NullableLabelPutBody) MarshalJSON added in v0.9.0

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

func (*NullableLabelPutBody) Set added in v0.9.0

func (v *NullableLabelPutBody) Set(val *LabelPutBody)

func (*NullableLabelPutBody) UnmarshalJSON added in v0.9.0

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

func (*NullableLabelPutBody) Unset added in v0.9.0

func (v *NullableLabelPutBody) Unset()

type NullableLabels added in v0.9.0

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

func NewNullableLabels added in v0.9.0

func NewNullableLabels(val *Labels) *NullableLabels

func (NullableLabels) Get added in v0.9.0

func (v NullableLabels) Get() *Labels

func (NullableLabels) IsSet added in v0.9.0

func (v NullableLabels) IsSet() bool

func (NullableLabels) MarshalJSON added in v0.9.0

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

func (*NullableLabels) Set added in v0.9.0

func (v *NullableLabels) Set(val *Labels)

func (*NullableLabels) UnmarshalJSON added in v0.9.0

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

func (*NullableLabels) Unset added in v0.9.0

func (v *NullableLabels) Unset()

type NullableList

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

func NewNullableList

func NewNullableList(val *List) *NullableList

func (NullableList) Get

func (v NullableList) Get() *List

func (NullableList) IsSet

func (v NullableList) IsSet() bool

func (NullableList) MarshalJSON

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

func (*NullableList) Set

func (v *NullableList) Set(val *List)

func (*NullableList) UnmarshalJSON

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

func (*NullableList) Unset

func (v *NullableList) Unset()

type NullableListFunctionality

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

func NewNullableListFunctionality

func NewNullableListFunctionality(val *ListFunctionality) *NullableListFunctionality

func (NullableListFunctionality) Get

func (NullableListFunctionality) IsSet

func (v NullableListFunctionality) IsSet() bool

func (NullableListFunctionality) MarshalJSON

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

func (*NullableListFunctionality) Set

func (*NullableListFunctionality) UnmarshalJSON

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

func (*NullableListFunctionality) Unset

func (v *NullableListFunctionality) Unset()

type NullableListItemsInner

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

func NewNullableListItemsInner

func NewNullableListItemsInner(val *ListItemsInner) *NullableListItemsInner

func (NullableListItemsInner) Get

func (NullableListItemsInner) IsSet

func (v NullableListItemsInner) IsSet() bool

func (NullableListItemsInner) MarshalJSON

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

func (*NullableListItemsInner) Set

func (*NullableListItemsInner) UnmarshalJSON

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

func (*NullableListItemsInner) Unset

func (v *NullableListItemsInner) Unset()

type NullableListItemsPatchBody added in v0.10.0

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

func NewNullableListItemsPatchBody added in v0.10.0

func NewNullableListItemsPatchBody(val *ListItemsPatchBody) *NullableListItemsPatchBody

func (NullableListItemsPatchBody) Get added in v0.10.0

func (NullableListItemsPatchBody) IsSet added in v0.10.0

func (v NullableListItemsPatchBody) IsSet() bool

func (NullableListItemsPatchBody) MarshalJSON added in v0.10.0

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

func (*NullableListItemsPatchBody) Set added in v0.10.0

func (*NullableListItemsPatchBody) UnmarshalJSON added in v0.10.0

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

func (*NullableListItemsPatchBody) Unset added in v0.10.0

func (v *NullableListItemsPatchBody) Unset()

type NullableListKind

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

func NewNullableListKind

func NewNullableListKind(val *ListKind) *NullableListKind

func (NullableListKind) Get

func (v NullableListKind) Get() *ListKind

func (NullableListKind) IsSet

func (v NullableListKind) IsSet() bool

func (NullableListKind) MarshalJSON

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

func (*NullableListKind) Set

func (v *NullableListKind) Set(val *ListKind)

func (*NullableListKind) UnmarshalJSON

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

func (*NullableListKind) Unset

func (v *NullableListKind) Unset()

type NullableListPatchBody

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

func NewNullableListPatchBody

func NewNullableListPatchBody(val *ListPatchBody) *NullableListPatchBody

func (NullableListPatchBody) Get

func (NullableListPatchBody) IsSet

func (v NullableListPatchBody) IsSet() bool

func (NullableListPatchBody) MarshalJSON

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

func (*NullableListPatchBody) Set

func (v *NullableListPatchBody) Set(val *ListPatchBody)

func (*NullableListPatchBody) UnmarshalJSON

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

func (*NullableListPatchBody) Unset

func (v *NullableListPatchBody) Unset()

type NullableListPostBody

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

func NewNullableListPostBody

func NewNullableListPostBody(val *ListPostBody) *NullableListPostBody

func (NullableListPostBody) Get

func (NullableListPostBody) IsSet

func (v NullableListPostBody) IsSet() bool

func (NullableListPostBody) MarshalJSON

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

func (*NullableListPostBody) Set

func (v *NullableListPostBody) Set(val *ListPostBody)

func (*NullableListPostBody) UnmarshalJSON

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

func (*NullableListPostBody) Unset

func (v *NullableListPostBody) Unset()

type NullableListPutBody added in v0.10.0

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

func NewNullableListPutBody added in v0.10.0

func NewNullableListPutBody(val *ListPutBody) *NullableListPutBody

func (NullableListPutBody) Get added in v0.10.0

func (NullableListPutBody) IsSet added in v0.10.0

func (v NullableListPutBody) IsSet() bool

func (NullableListPutBody) MarshalJSON added in v0.10.0

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

func (*NullableListPutBody) Set added in v0.10.0

func (v *NullableListPutBody) Set(val *ListPutBody)

func (*NullableListPutBody) UnmarshalJSON added in v0.10.0

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

func (*NullableListPutBody) Unset added in v0.10.0

func (v *NullableListPutBody) Unset()

type NullableListSubkind

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

func NewNullableListSubkind

func NewNullableListSubkind(val *ListSubkind) *NullableListSubkind

func (NullableListSubkind) Get

func (NullableListSubkind) IsSet

func (v NullableListSubkind) IsSet() bool

func (NullableListSubkind) MarshalJSON

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

func (*NullableListSubkind) Set

func (v *NullableListSubkind) Set(val *ListSubkind)

func (*NullableListSubkind) UnmarshalJSON

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

func (*NullableListSubkind) Unset

func (v *NullableListSubkind) Unset()

type NullableLists

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

func NewNullableLists

func NewNullableLists(val *Lists) *NullableLists

func (NullableLists) Get

func (v NullableLists) Get() *Lists

func (NullableLists) IsSet

func (v NullableLists) IsSet() bool

func (NullableLists) MarshalJSON

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

func (*NullableLists) Set

func (v *NullableLists) Set(val *Lists)

func (*NullableLists) UnmarshalJSON

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

func (*NullableLists) Unset

func (v *NullableLists) Unset()

type NullableListsItemsInner

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

func NewNullableListsItemsInner

func NewNullableListsItemsInner(val *ListsItemsInner) *NullableListsItemsInner

func (NullableListsItemsInner) Get

func (NullableListsItemsInner) IsSet

func (v NullableListsItemsInner) IsSet() bool

func (NullableListsItemsInner) MarshalJSON

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

func (*NullableListsItemsInner) Set

func (*NullableListsItemsInner) UnmarshalJSON

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

func (*NullableListsItemsInner) Unset

func (v *NullableListsItemsInner) Unset()

type NullableLogBinding

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

func NewNullableLogBinding

func NewNullableLogBinding(val *LogBinding) *NullableLogBinding

func (NullableLogBinding) Get

func (v NullableLogBinding) Get() *LogBinding

func (NullableLogBinding) IsSet

func (v NullableLogBinding) IsSet() bool

func (NullableLogBinding) MarshalJSON

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

func (*NullableLogBinding) Set

func (v *NullableLogBinding) Set(val *LogBinding)

func (*NullableLogBinding) UnmarshalJSON

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

func (*NullableLogBinding) Unset

func (v *NullableLogBinding) Unset()

type NullableLogBindingPostBody

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

func NewNullableLogBindingPostBody

func NewNullableLogBindingPostBody(val *LogBindingPostBody) *NullableLogBindingPostBody

func (NullableLogBindingPostBody) Get

func (NullableLogBindingPostBody) IsSet

func (v NullableLogBindingPostBody) IsSet() bool

func (NullableLogBindingPostBody) MarshalJSON

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

func (*NullableLogBindingPostBody) Set

func (*NullableLogBindingPostBody) UnmarshalJSON

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

func (*NullableLogBindingPostBody) Unset

func (v *NullableLogBindingPostBody) Unset()

type NullableLogBindingPutBody

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

func NewNullableLogBindingPutBody

func NewNullableLogBindingPutBody(val *LogBindingPutBody) *NullableLogBindingPutBody

func (NullableLogBindingPutBody) Get

func (NullableLogBindingPutBody) IsSet

func (v NullableLogBindingPutBody) IsSet() bool

func (NullableLogBindingPutBody) MarshalJSON

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

func (*NullableLogBindingPutBody) Set

func (*NullableLogBindingPutBody) UnmarshalJSON

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

func (*NullableLogBindingPutBody) Unset

func (v *NullableLogBindingPutBody) Unset()

type NullableLogBindings

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

func NewNullableLogBindings

func NewNullableLogBindings(val *LogBindings) *NullableLogBindings

func (NullableLogBindings) Get

func (NullableLogBindings) IsSet

func (v NullableLogBindings) IsSet() bool

func (NullableLogBindings) MarshalJSON

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

func (*NullableLogBindings) Set

func (v *NullableLogBindings) Set(val *LogBindings)

func (*NullableLogBindings) UnmarshalJSON

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

func (*NullableLogBindings) Unset

func (v *NullableLogBindings) Unset()

type NullableNotificationTemplate

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

func NewNullableNotificationTemplate

func NewNullableNotificationTemplate(val *NotificationTemplate) *NullableNotificationTemplate

func (NullableNotificationTemplate) Get

func (NullableNotificationTemplate) IsSet

func (NullableNotificationTemplate) MarshalJSON

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

func (*NullableNotificationTemplate) Set

func (*NullableNotificationTemplate) UnmarshalJSON

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

func (*NullableNotificationTemplate) Unset

func (v *NullableNotificationTemplate) Unset()

type NullableNotificationTemplatePostBody

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

func (NullableNotificationTemplatePostBody) Get

func (NullableNotificationTemplatePostBody) IsSet

func (NullableNotificationTemplatePostBody) MarshalJSON

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

func (*NullableNotificationTemplatePostBody) Set

func (*NullableNotificationTemplatePostBody) UnmarshalJSON

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

func (*NullableNotificationTemplatePostBody) Unset

type NullableNotificationTemplates

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

func (NullableNotificationTemplates) Get

func (NullableNotificationTemplates) IsSet

func (NullableNotificationTemplates) MarshalJSON

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

func (*NullableNotificationTemplates) Set

func (*NullableNotificationTemplates) UnmarshalJSON

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

func (*NullableNotificationTemplates) Unset

func (v *NullableNotificationTemplates) Unset()

type NullableProblemResponse

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

func NewNullableProblemResponse

func NewNullableProblemResponse(val *ProblemResponse) *NullableProblemResponse

func (NullableProblemResponse) Get

func (NullableProblemResponse) IsSet

func (v NullableProblemResponse) IsSet() bool

func (NullableProblemResponse) MarshalJSON

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

func (*NullableProblemResponse) Set

func (*NullableProblemResponse) UnmarshalJSON

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

func (*NullableProblemResponse) Unset

func (v *NullableProblemResponse) Unset()

type NullableRevision

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

func NewNullableRevision

func NewNullableRevision(val *Revision) *NullableRevision

func (NullableRevision) Get

func (v NullableRevision) Get() *Revision

func (NullableRevision) IsSet

func (v NullableRevision) IsSet() bool

func (NullableRevision) MarshalJSON

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

func (*NullableRevision) Set

func (v *NullableRevision) Set(val *Revision)

func (*NullableRevision) UnmarshalJSON

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

func (*NullableRevision) Unset

func (v *NullableRevision) Unset()

type NullableRulesDependenciesPutBodyInner

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

func (NullableRulesDependenciesPutBodyInner) Get

func (NullableRulesDependenciesPutBodyInner) IsSet

func (NullableRulesDependenciesPutBodyInner) MarshalJSON

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

func (*NullableRulesDependenciesPutBodyInner) Set

func (*NullableRulesDependenciesPutBodyInner) UnmarshalJSON

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

func (*NullableRulesDependenciesPutBodyInner) Unset

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

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

func NewNullableRulesScripts

func NewNullableRulesScripts(val *RulesScripts) *NullableRulesScripts

func (NullableRulesScripts) Get

func (NullableRulesScripts) IsSet

func (v NullableRulesScripts) IsSet() bool

func (NullableRulesScripts) MarshalJSON

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

func (*NullableRulesScripts) Set

func (v *NullableRulesScripts) Set(val *RulesScripts)

func (*NullableRulesScripts) UnmarshalJSON

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

func (*NullableRulesScripts) Unset

func (v *NullableRulesScripts) Unset()

type NullableRulesTestCase

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

func NewNullableRulesTestCase

func NewNullableRulesTestCase(val *RulesTestCase) *NullableRulesTestCase

func (NullableRulesTestCase) Get

func (NullableRulesTestCase) IsSet

func (v NullableRulesTestCase) IsSet() bool

func (NullableRulesTestCase) MarshalJSON

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

func (*NullableRulesTestCase) Set

func (v *NullableRulesTestCase) Set(val *RulesTestCase)

func (*NullableRulesTestCase) UnmarshalJSON

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

func (*NullableRulesTestCase) Unset

func (v *NullableRulesTestCase) Unset()

type NullableRulesTestCaseAssertion

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

func (NullableRulesTestCaseAssertion) Get

func (NullableRulesTestCaseAssertion) IsSet

func (NullableRulesTestCaseAssertion) MarshalJSON

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

func (*NullableRulesTestCaseAssertion) Set

func (*NullableRulesTestCaseAssertion) UnmarshalJSON

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

func (*NullableRulesTestCaseAssertion) Unset

func (v *NullableRulesTestCaseAssertion) Unset()

type NullableRulesTestCaseAssertionBlock

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

func (NullableRulesTestCaseAssertionBlock) Get

func (NullableRulesTestCaseAssertionBlock) IsSet

func (NullableRulesTestCaseAssertionBlock) MarshalJSON

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

func (*NullableRulesTestCaseAssertionBlock) Set

func (*NullableRulesTestCaseAssertionBlock) UnmarshalJSON

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

func (*NullableRulesTestCaseAssertionBlock) Unset

type NullableRulesTestCaseAssertionConditionDefault

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

func (NullableRulesTestCaseAssertionConditionDefault) Get

func (NullableRulesTestCaseAssertionConditionDefault) IsSet

func (NullableRulesTestCaseAssertionConditionDefault) MarshalJSON

func (*NullableRulesTestCaseAssertionConditionDefault) Set

func (*NullableRulesTestCaseAssertionConditionDefault) UnmarshalJSON

func (*NullableRulesTestCaseAssertionConditionDefault) Unset

type NullableRulesTestCaseAssertionConditionPresence

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

func (NullableRulesTestCaseAssertionConditionPresence) Get

func (NullableRulesTestCaseAssertionConditionPresence) IsSet

func (NullableRulesTestCaseAssertionConditionPresence) MarshalJSON

func (*NullableRulesTestCaseAssertionConditionPresence) Set

func (*NullableRulesTestCaseAssertionConditionPresence) UnmarshalJSON

func (*NullableRulesTestCaseAssertionConditionPresence) Unset

type NullableRulesTestCaseAssertionOutput

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

func (NullableRulesTestCaseAssertionOutput) Get

func (NullableRulesTestCaseAssertionOutput) IsSet

func (NullableRulesTestCaseAssertionOutput) MarshalJSON

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

func (*NullableRulesTestCaseAssertionOutput) Set

func (*NullableRulesTestCaseAssertionOutput) UnmarshalJSON

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

func (*NullableRulesTestCaseAssertionOutput) Unset

type NullableRulesTestCaseAssertionStatusCode

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

func (NullableRulesTestCaseAssertionStatusCode) Get

func (NullableRulesTestCaseAssertionStatusCode) IsSet

func (NullableRulesTestCaseAssertionStatusCode) MarshalJSON

func (*NullableRulesTestCaseAssertionStatusCode) Set

func (*NullableRulesTestCaseAssertionStatusCode) UnmarshalJSON

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

func (*NullableRulesTestCaseAssertionStatusCode) Unset

type NullableRulesTestCaseAssertionTags

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

func (NullableRulesTestCaseAssertionTags) Get

func (NullableRulesTestCaseAssertionTags) IsSet

func (NullableRulesTestCaseAssertionTags) MarshalJSON

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

func (*NullableRulesTestCaseAssertionTags) Set

func (*NullableRulesTestCaseAssertionTags) UnmarshalJSON

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

func (*NullableRulesTestCaseAssertionTags) Unset

type NullableRulesTestCaseMessageDefinitionPosition

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

func (NullableRulesTestCaseMessageDefinitionPosition) Get

func (NullableRulesTestCaseMessageDefinitionPosition) IsSet

func (NullableRulesTestCaseMessageDefinitionPosition) MarshalJSON

func (*NullableRulesTestCaseMessageDefinitionPosition) Set

func (*NullableRulesTestCaseMessageDefinitionPosition) UnmarshalJSON

func (*NullableRulesTestCaseMessageDefinitionPosition) Unset

type NullableRulesTestCaseMessagesInner

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

func (NullableRulesTestCaseMessagesInner) Get

func (NullableRulesTestCaseMessagesInner) IsSet

func (NullableRulesTestCaseMessagesInner) MarshalJSON

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

func (*NullableRulesTestCaseMessagesInner) Set

func (*NullableRulesTestCaseMessagesInner) UnmarshalJSON

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

func (*NullableRulesTestCaseMessagesInner) Unset

type NullableRulesTestCasePostBody

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

func (NullableRulesTestCasePostBody) Get

func (NullableRulesTestCasePostBody) IsSet

func (NullableRulesTestCasePostBody) MarshalJSON

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

func (*NullableRulesTestCasePostBody) Set

func (*NullableRulesTestCasePostBody) UnmarshalJSON

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

func (*NullableRulesTestCasePostBody) Unset

func (v *NullableRulesTestCasePostBody) Unset()

type NullableRulesTestCaseRunPostBody

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

func (NullableRulesTestCaseRunPostBody) Get

func (NullableRulesTestCaseRunPostBody) IsSet

func (NullableRulesTestCaseRunPostBody) MarshalJSON

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

func (*NullableRulesTestCaseRunPostBody) Set

func (*NullableRulesTestCaseRunPostBody) UnmarshalJSON

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

func (*NullableRulesTestCaseRunPostBody) Unset

type NullableRulesTestCaseRunPostBodyBlockingEffectOverridesInner

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

func (NullableRulesTestCaseRunPostBodyBlockingEffectOverridesInner) Get

func (NullableRulesTestCaseRunPostBodyBlockingEffectOverridesInner) IsSet

func (NullableRulesTestCaseRunPostBodyBlockingEffectOverridesInner) MarshalJSON

func (*NullableRulesTestCaseRunPostBodyBlockingEffectOverridesInner) Set

func (*NullableRulesTestCaseRunPostBodyBlockingEffectOverridesInner) UnmarshalJSON

func (*NullableRulesTestCaseRunPostBodyBlockingEffectOverridesInner) Unset

type NullableRulesTestCaseRunPostBodyDisabledOverridesInner

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

func (NullableRulesTestCaseRunPostBodyDisabledOverridesInner) Get

func (NullableRulesTestCaseRunPostBodyDisabledOverridesInner) IsSet

func (NullableRulesTestCaseRunPostBodyDisabledOverridesInner) MarshalJSON

func (*NullableRulesTestCaseRunPostBodyDisabledOverridesInner) Set

func (*NullableRulesTestCaseRunPostBodyDisabledOverridesInner) UnmarshalJSON

func (*NullableRulesTestCaseRunPostBodyDisabledOverridesInner) Unset

type NullableRulesTestCaseRunPostBodyEnabledOverridesInner

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

func (NullableRulesTestCaseRunPostBodyEnabledOverridesInner) Get

func (NullableRulesTestCaseRunPostBodyEnabledOverridesInner) IsSet

func (NullableRulesTestCaseRunPostBodyEnabledOverridesInner) MarshalJSON

func (*NullableRulesTestCaseRunPostBodyEnabledOverridesInner) Set

func (*NullableRulesTestCaseRunPostBodyEnabledOverridesInner) UnmarshalJSON

func (*NullableRulesTestCaseRunPostBodyEnabledOverridesInner) Unset

type NullableRulesTestCaseRunResultAssertionsInner

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

func (NullableRulesTestCaseRunResultAssertionsInner) Get

func (NullableRulesTestCaseRunResultAssertionsInner) IsSet

func (NullableRulesTestCaseRunResultAssertionsInner) MarshalJSON

func (*NullableRulesTestCaseRunResultAssertionsInner) Set

func (*NullableRulesTestCaseRunResultAssertionsInner) UnmarshalJSON

func (*NullableRulesTestCaseRunResultAssertionsInner) Unset

type NullableRulesTestCaseRunResultAssertionsInnerResultsInner

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

func (NullableRulesTestCaseRunResultAssertionsInnerResultsInner) Get

func (NullableRulesTestCaseRunResultAssertionsInnerResultsInner) IsSet

func (NullableRulesTestCaseRunResultAssertionsInnerResultsInner) MarshalJSON

func (*NullableRulesTestCaseRunResultAssertionsInnerResultsInner) Set

func (*NullableRulesTestCaseRunResultAssertionsInnerResultsInner) UnmarshalJSON

func (*NullableRulesTestCaseRunResultAssertionsInnerResultsInner) Unset

type NullableRulesTestCases

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

func NewNullableRulesTestCases

func NewNullableRulesTestCases(val *RulesTestCases) *NullableRulesTestCases

func (NullableRulesTestCases) Get

func (NullableRulesTestCases) IsSet

func (v NullableRulesTestCases) IsSet() bool

func (NullableRulesTestCases) MarshalJSON

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

func (*NullableRulesTestCases) Set

func (*NullableRulesTestCases) UnmarshalJSON

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

func (*NullableRulesTestCases) Unset

func (v *NullableRulesTestCases) 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 NullableTag added in v0.9.0

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

func NewNullableTag added in v0.9.0

func NewNullableTag(val *Tag) *NullableTag

func (NullableTag) Get added in v0.9.0

func (v NullableTag) Get() *Tag

func (NullableTag) IsSet added in v0.9.0

func (v NullableTag) IsSet() bool

func (NullableTag) MarshalJSON added in v0.9.0

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

func (*NullableTag) Set added in v0.9.0

func (v *NullableTag) Set(val *Tag)

func (*NullableTag) UnmarshalJSON added in v0.9.0

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

func (*NullableTag) Unset added in v0.9.0

func (v *NullableTag) Unset()

type NullableTagPostBody added in v0.9.0

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

func NewNullableTagPostBody added in v0.9.0

func NewNullableTagPostBody(val *TagPostBody) *NullableTagPostBody

func (NullableTagPostBody) Get added in v0.9.0

func (NullableTagPostBody) IsSet added in v0.9.0

func (v NullableTagPostBody) IsSet() bool

func (NullableTagPostBody) MarshalJSON added in v0.9.0

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

func (*NullableTagPostBody) Set added in v0.9.0

func (v *NullableTagPostBody) Set(val *TagPostBody)

func (*NullableTagPostBody) UnmarshalJSON added in v0.9.0

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

func (*NullableTagPostBody) Unset added in v0.9.0

func (v *NullableTagPostBody) Unset()

type NullableTagPutBody added in v0.9.0

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

func NewNullableTagPutBody added in v0.9.0

func NewNullableTagPutBody(val *TagPutBody) *NullableTagPutBody

func (NullableTagPutBody) Get added in v0.9.0

func (v NullableTagPutBody) Get() *TagPutBody

func (NullableTagPutBody) IsSet added in v0.9.0

func (v NullableTagPutBody) IsSet() bool

func (NullableTagPutBody) MarshalJSON added in v0.9.0

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

func (*NullableTagPutBody) Set added in v0.9.0

func (v *NullableTagPutBody) Set(val *TagPutBody)

func (*NullableTagPutBody) UnmarshalJSON added in v0.9.0

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

func (*NullableTagPutBody) Unset added in v0.9.0

func (v *NullableTagPutBody) Unset()

type NullableTagRemediation added in v0.9.0

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

func NewNullableTagRemediation added in v0.9.0

func NewNullableTagRemediation(val *TagRemediation) *NullableTagRemediation

func (NullableTagRemediation) Get added in v0.9.0

func (NullableTagRemediation) IsSet added in v0.9.0

func (v NullableTagRemediation) IsSet() bool

func (NullableTagRemediation) MarshalJSON added in v0.9.0

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

func (*NullableTagRemediation) Set added in v0.9.0

func (*NullableTagRemediation) UnmarshalJSON added in v0.9.0

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

func (*NullableTagRemediation) Unset added in v0.9.0

func (v *NullableTagRemediation) Unset()

type NullableTags added in v0.9.0

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

func NewNullableTags added in v0.9.0

func NewNullableTags(val *Tags) *NullableTags

func (NullableTags) Get added in v0.9.0

func (v NullableTags) Get() *Tags

func (NullableTags) IsSet added in v0.9.0

func (v NullableTags) IsSet() bool

func (NullableTags) MarshalJSON added in v0.9.0

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

func (*NullableTags) Set added in v0.9.0

func (v *NullableTags) Set(val *Tags)

func (*NullableTags) UnmarshalJSON added in v0.9.0

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

func (*NullableTags) Unset added in v0.9.0

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

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

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

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

func (o *ProblemResponse) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*ProblemResponse) GetDetailOk

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

func (o *ProblemResponse) GetInstance() string

GetInstance returns the Instance field value if set, zero value otherwise.

func (*ProblemResponse) GetInstanceOk

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

func (o *ProblemResponse) GetStatus() int32

GetStatus returns the Status field value

func (*ProblemResponse) GetStatusOk

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

func (o *ProblemResponse) GetTitle() string

GetTitle returns the Title field value

func (*ProblemResponse) GetTitleOk

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

func (o *ProblemResponse) GetType() string

GetType returns the Type field value

func (*ProblemResponse) GetTypeOk

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

func (o *ProblemResponse) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*ProblemResponse) HasInstance

func (o *ProblemResponse) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (ProblemResponse) MarshalJSON

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

func (*ProblemResponse) SetDetail

func (o *ProblemResponse) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*ProblemResponse) SetInstance

func (o *ProblemResponse) SetInstance(v string)

SetInstance gets a reference to the given string and assigns it to the Instance field.

func (*ProblemResponse) SetStatus

func (o *ProblemResponse) SetStatus(v int32)

SetStatus sets field value

func (*ProblemResponse) SetTitle

func (o *ProblemResponse) SetTitle(v string)

SetTitle sets field value

func (*ProblemResponse) SetType

func (o *ProblemResponse) SetType(v string)

SetType sets field value

func (ProblemResponse) ToMap

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

func (*ProblemResponse) UnmarshalJSON

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

type Revision

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"`
	AdditionalProperties map[string]interface{}
}

Revision struct for Revision

func NewRevision

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

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

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

GetCreatedAt returns the CreatedAt field value

func (*Revision) GetCreatedAtOk

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

func (o *Revision) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Revision) GetCreatedByOk

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

func (o *Revision) GetRevision() int32

GetRevision returns the Revision field value

func (*Revision) GetRevisionOk

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

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

func (*Revision) SetCreatedAt

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

SetCreatedAt sets field value

func (*Revision) SetCreatedBy

func (o *Revision) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Revision) SetRevision

func (o *Revision) SetRevision(v int32)

SetRevision sets field value

func (Revision) ToMap

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

func (*Revision) UnmarshalJSON

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

type RulesDependenciesAPI

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

type RulesDependenciesAPIService service

RulesDependenciesAPIService RulesDependenciesAPI service

func (*RulesDependenciesAPIService) UpdateRulesDependencies

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

Execute executes the request

@return []RulesDependenciesPutBodyInner

type RulesDependenciesPutBodyInner

type RulesDependenciesPutBodyInner struct {
	// The rule ID.
	RuleId string `json:"rule_id"`
	// The IDs of the rule dependencies.
	Dependencies         []string `json:"dependencies"`
	AdditionalProperties map[string]interface{}
}

RulesDependenciesPutBodyInner struct for RulesDependenciesPutBodyInner

func NewRulesDependenciesPutBodyInner

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

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

func (o *RulesDependenciesPutBodyInner) GetDependencies() []string

GetDependencies returns the Dependencies field value

func (*RulesDependenciesPutBodyInner) GetDependenciesOk

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

func (o *RulesDependenciesPutBodyInner) GetRuleId() string

GetRuleId returns the RuleId field value

func (*RulesDependenciesPutBodyInner) GetRuleIdOk

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

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

func (*RulesDependenciesPutBodyInner) SetDependencies

func (o *RulesDependenciesPutBodyInner) SetDependencies(v []string)

SetDependencies sets field value

func (*RulesDependenciesPutBodyInner) SetRuleId

func (o *RulesDependenciesPutBodyInner) SetRuleId(v string)

SetRuleId sets field value

func (RulesDependenciesPutBodyInner) ToMap

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

func (*RulesDependenciesPutBodyInner) UnmarshalJSON

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"`
	BlockingEffect           BlockingEffectType `json:"blocking_effect"`
	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"`
	// The applied labels.
	Labels    []string `json:"labels"`
	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"`
	AdditionalProperties map[string]interface{}
}

RulesScript struct for RulesScript

func NewRulesScript

func NewRulesScript(id string, name string, description string, type_ string, disabled bool, blockingEffect BlockingEffectType, src string, lang string, autogeneratedExplanation string, revision int32, revisions []Revision, dependencies []string, labels []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

func (o *RulesScript) GetAutogeneratedExplanation() string

GetAutogeneratedExplanation returns the AutogeneratedExplanation field value

func (*RulesScript) GetAutogeneratedExplanationOk

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

func (o *RulesScript) GetBlockingEffect() BlockingEffectType

GetBlockingEffect returns the BlockingEffect field value

func (*RulesScript) GetBlockingEffectOk

func (o *RulesScript) GetBlockingEffectOk() (*BlockingEffectType, bool)

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

func (*RulesScript) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*RulesScript) GetCreatedAtOk

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

func (o *RulesScript) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*RulesScript) GetCreatedByOk

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

func (o *RulesScript) GetDependencies() []string

GetDependencies returns the Dependencies field value

func (*RulesScript) GetDependenciesOk

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) GetLabels added in v0.9.0

func (o *RulesScript) GetLabels() []string

GetLabels returns the Labels field value

func (*RulesScript) GetLabelsOk added in v0.9.0

func (o *RulesScript) GetLabelsOk() ([]string, bool)

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

func (*RulesScript) GetLang

func (o *RulesScript) GetLang() string

GetLang returns the Lang field value

func (*RulesScript) GetLangOk

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

func (o *RulesScript) GetRevisions() []Revision

GetRevisions returns the Revisions field value

func (*RulesScript) GetRevisionsOk

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

func (o *RulesScript) GetType() string

GetType returns the Type field value

func (*RulesScript) GetTypeOk

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

func (o *RulesScript) SetAutogeneratedExplanation(v string)

SetAutogeneratedExplanation sets field value

func (*RulesScript) SetBlockingEffect

func (o *RulesScript) SetBlockingEffect(v BlockingEffectType)

SetBlockingEffect sets field value

func (*RulesScript) SetCreatedAt

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

SetCreatedAt sets field value

func (*RulesScript) SetCreatedBy

func (o *RulesScript) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*RulesScript) SetDependencies

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) SetLabels added in v0.9.0

func (o *RulesScript) SetLabels(v []string)

SetLabels sets field value

func (*RulesScript) SetLang

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

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

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

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"`
	BlockingEffect *BlockingEffectType `json:"blocking_effect,omitempty"`
	Src            string              `json:"src"`
	Lang           *string             `json:"lang,omitempty"`
	// The applied labels.
	Labels               []string `json:"labels,omitempty"`
	AdditionalProperties map[string]interface{}
}

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

func (o *RulesScriptPostBody) GetBlockingEffect() BlockingEffectType

GetBlockingEffect returns the BlockingEffect field value if set, zero value otherwise.

func (*RulesScriptPostBody) GetBlockingEffectOk

func (o *RulesScriptPostBody) GetBlockingEffectOk() (*BlockingEffectType, bool)

GetBlockingEffectOk returns a tuple with the BlockingEffect field value if set, nil otherwise and a boolean to check if the value has been 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) GetLabels added in v0.9.0

func (o *RulesScriptPostBody) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*RulesScriptPostBody) GetLabelsOk added in v0.9.0

func (o *RulesScriptPostBody) GetLabelsOk() ([]string, bool)

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

func (*RulesScriptPostBody) GetLang

func (o *RulesScriptPostBody) GetLang() string

GetLang returns the Lang field value if set, zero value otherwise.

func (*RulesScriptPostBody) GetLangOk

func (o *RulesScriptPostBody) GetLangOk() (*string, bool)

GetLangOk returns a tuple with the Lang field value if set, nil otherwise 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) HasBlockingEffect

func (o *RulesScriptPostBody) HasBlockingEffect() bool

HasBlockingEffect returns a boolean if a field has been set.

func (*RulesScriptPostBody) HasDescription

func (o *RulesScriptPostBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RulesScriptPostBody) HasLabels added in v0.9.0

func (o *RulesScriptPostBody) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*RulesScriptPostBody) HasLang

func (o *RulesScriptPostBody) HasLang() bool

HasLang returns a boolean if a field has been set.

func (RulesScriptPostBody) MarshalJSON

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

func (*RulesScriptPostBody) SetBlockingEffect

func (o *RulesScriptPostBody) SetBlockingEffect(v BlockingEffectType)

SetBlockingEffect gets a reference to the given BlockingEffectType and assigns it to the BlockingEffect field.

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) SetLabels added in v0.9.0

func (o *RulesScriptPostBody) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*RulesScriptPostBody) SetLang

func (o *RulesScriptPostBody) SetLang(v string)

SetLang gets a reference to the given string and assigns it to the Lang field.

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)

func (*RulesScriptPostBody) UnmarshalJSON

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

type RulesScripts

type RulesScripts struct {
	Items                []RulesScript  `json:"items"`
	Meta                 CollectionMeta `json:"meta"`
	AdditionalProperties map[string]interface{}
}

RulesScripts struct for RulesScripts

func NewRulesScripts

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

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

func (o *RulesScripts) GetItems() []RulesScript

GetItems returns the Items field value

func (*RulesScripts) GetItemsOk

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

func (o *RulesScripts) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*RulesScripts) GetMetaOk

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

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

func (*RulesScripts) SetItems

func (o *RulesScripts) SetItems(v []RulesScript)

SetItems sets field value

func (*RulesScripts) SetMeta

func (o *RulesScripts) SetMeta(v CollectionMeta)

SetMeta sets field value

func (RulesScripts) ToMap

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

func (*RulesScripts) UnmarshalJSON

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

type RulesScriptsAPI

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)

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

type RulesScriptsAPIService service

RulesScriptsAPIService RulesScriptsAPI service

func (*RulesScriptsAPIService) CreateRulesScript

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

Execute executes the request

@return RulesScript

func (*RulesScriptsAPIService) DeleteRulesScript

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

func (a *RulesScriptsAPIService) DeleteRulesScriptExecute(r ApiDeleteRulesScriptRequest) (*http.Response, error)

Execute executes the request

func (*RulesScriptsAPIService) GetRulesScript

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

Execute executes the request

@return RulesScript

func (*RulesScriptsAPIService) GetRulesScripts

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

Execute executes the request

@return RulesScripts

func (*RulesScriptsAPIService) UpdateRulesScript

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

Execute executes the request

@return RulesScript

type RulesTestCase

type RulesTestCase struct {
	// The unique identifier of the test case.
	Id string `json:"id"`
	// The name of the test case.
	Name string `json:"name"`
	// The description of the test case.
	Description string `json:"description"`
	// Whether the test case is required to pass when creating or updating rules.
	Required bool `json:"required"`
	// The messages of the test case.
	Messages []RulesTestCaseMessagesInner `json:"messages"`
	// Assertions for the test case.
	Assertions []RulesTestCaseAssertion `json:"assertions"`
	// The applied labels.
	Labels []string `json:"labels"`
	// The unique identifier of the user who created the test case.
	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"`
	// The unique identifier of the user who last updated the test case.
	UpdatedBy NullableString `json:"updated_by"`
	// The date and time in [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) format.
	UpdatedAt            NullableTime `json:"updated_at"`
	AdditionalProperties map[string]interface{}
}

RulesTestCase struct for RulesTestCase

func NewRulesTestCase

func NewRulesTestCase(id string, name string, description string, required bool, messages []RulesTestCaseMessagesInner, assertions []RulesTestCaseAssertion, labels []string, createdBy string, createdAt time.Time, updatedBy NullableString, updatedAt NullableTime) *RulesTestCase

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

func NewRulesTestCaseWithDefaults

func NewRulesTestCaseWithDefaults() *RulesTestCase

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

func (*RulesTestCase) GetAssertions

func (o *RulesTestCase) GetAssertions() []RulesTestCaseAssertion

GetAssertions returns the Assertions field value

func (*RulesTestCase) GetAssertionsOk

func (o *RulesTestCase) GetAssertionsOk() ([]RulesTestCaseAssertion, bool)

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

func (*RulesTestCase) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*RulesTestCase) GetCreatedAtOk

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

func (o *RulesTestCase) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*RulesTestCase) GetCreatedByOk

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

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

func (*RulesTestCase) GetDescription

func (o *RulesTestCase) GetDescription() string

GetDescription returns the Description field value

func (*RulesTestCase) GetDescriptionOk

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

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

func (*RulesTestCase) GetId

func (o *RulesTestCase) GetId() string

GetId returns the Id field value

func (*RulesTestCase) GetIdOk

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

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

func (*RulesTestCase) GetLabels added in v0.9.0

func (o *RulesTestCase) GetLabels() []string

GetLabels returns the Labels field value

func (*RulesTestCase) GetLabelsOk added in v0.9.0

func (o *RulesTestCase) GetLabelsOk() ([]string, bool)

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

func (*RulesTestCase) GetMessages

func (o *RulesTestCase) GetMessages() []RulesTestCaseMessagesInner

GetMessages returns the Messages field value

func (*RulesTestCase) GetMessagesOk

func (o *RulesTestCase) GetMessagesOk() ([]RulesTestCaseMessagesInner, bool)

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

func (*RulesTestCase) GetName

func (o *RulesTestCase) GetName() string

GetName returns the Name field value

func (*RulesTestCase) GetNameOk

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

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

func (*RulesTestCase) GetRequired

func (o *RulesTestCase) GetRequired() bool

GetRequired returns the Required field value

func (*RulesTestCase) GetRequiredOk

func (o *RulesTestCase) GetRequiredOk() (*bool, bool)

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

func (*RulesTestCase) GetUpdatedAt

func (o *RulesTestCase) 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 (*RulesTestCase) GetUpdatedAtOk

func (o *RulesTestCase) 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 (*RulesTestCase) GetUpdatedBy

func (o *RulesTestCase) GetUpdatedBy() string

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

func (*RulesTestCase) GetUpdatedByOk

func (o *RulesTestCase) 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 (RulesTestCase) MarshalJSON

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

func (*RulesTestCase) SetAssertions

func (o *RulesTestCase) SetAssertions(v []RulesTestCaseAssertion)

SetAssertions sets field value

func (*RulesTestCase) SetCreatedAt

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

SetCreatedAt sets field value

func (*RulesTestCase) SetCreatedBy

func (o *RulesTestCase) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*RulesTestCase) SetDescription

func (o *RulesTestCase) SetDescription(v string)

SetDescription sets field value

func (*RulesTestCase) SetId

func (o *RulesTestCase) SetId(v string)

SetId sets field value

func (*RulesTestCase) SetLabels added in v0.9.0

func (o *RulesTestCase) SetLabels(v []string)

SetLabels sets field value

func (*RulesTestCase) SetMessages

func (o *RulesTestCase) SetMessages(v []RulesTestCaseMessagesInner)

SetMessages sets field value

func (*RulesTestCase) SetName

func (o *RulesTestCase) SetName(v string)

SetName sets field value

func (*RulesTestCase) SetRequired

func (o *RulesTestCase) SetRequired(v bool)

SetRequired sets field value

func (*RulesTestCase) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*RulesTestCase) SetUpdatedBy

func (o *RulesTestCase) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (RulesTestCase) ToMap

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

func (*RulesTestCase) UnmarshalJSON

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

type RulesTestCaseAssertion

type RulesTestCaseAssertion struct {
	RulesTestCaseAssertionBlock      *RulesTestCaseAssertionBlock
	RulesTestCaseAssertionOutput     *RulesTestCaseAssertionOutput
	RulesTestCaseAssertionStatusCode *RulesTestCaseAssertionStatusCode
	RulesTestCaseAssertionTags       *RulesTestCaseAssertionTags
}

RulesTestCaseAssertion - struct for RulesTestCaseAssertion

func RulesTestCaseAssertionBlockAsRulesTestCaseAssertion

func RulesTestCaseAssertionBlockAsRulesTestCaseAssertion(v *RulesTestCaseAssertionBlock) RulesTestCaseAssertion

RulesTestCaseAssertionBlockAsRulesTestCaseAssertion is a convenience function that returns RulesTestCaseAssertionBlock wrapped in RulesTestCaseAssertion

func RulesTestCaseAssertionOutputAsRulesTestCaseAssertion

func RulesTestCaseAssertionOutputAsRulesTestCaseAssertion(v *RulesTestCaseAssertionOutput) RulesTestCaseAssertion

RulesTestCaseAssertionOutputAsRulesTestCaseAssertion is a convenience function that returns RulesTestCaseAssertionOutput wrapped in RulesTestCaseAssertion

func RulesTestCaseAssertionStatusCodeAsRulesTestCaseAssertion

func RulesTestCaseAssertionStatusCodeAsRulesTestCaseAssertion(v *RulesTestCaseAssertionStatusCode) RulesTestCaseAssertion

RulesTestCaseAssertionStatusCodeAsRulesTestCaseAssertion is a convenience function that returns RulesTestCaseAssertionStatusCode wrapped in RulesTestCaseAssertion

func RulesTestCaseAssertionTagsAsRulesTestCaseAssertion

func RulesTestCaseAssertionTagsAsRulesTestCaseAssertion(v *RulesTestCaseAssertionTags) RulesTestCaseAssertion

RulesTestCaseAssertionTagsAsRulesTestCaseAssertion is a convenience function that returns RulesTestCaseAssertionTags wrapped in RulesTestCaseAssertion

func (*RulesTestCaseAssertion) GetActualInstance

func (obj *RulesTestCaseAssertion) GetActualInstance() interface{}

Get the actual instance

func (RulesTestCaseAssertion) MarshalJSON

func (src RulesTestCaseAssertion) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*RulesTestCaseAssertion) UnmarshalJSON

func (dst *RulesTestCaseAssertion) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type RulesTestCaseAssertionBlock

type RulesTestCaseAssertionBlock struct {
	// The indexes of the messages in the test case the assertion applies to.
	MessageIndexes []int32 `json:"message_indexes"`
	AssertionType  string  `json:"assertion_type" validate:"regexp=^block$"`
	// The location of the assertion.
	Location string `json:"location"`
	// The expected value of the assertion.
	Expected bool `json:"expected"`
	// The description of the test case assertion.
	Description          *string `json:"description,omitempty"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseAssertionBlock struct for RulesTestCaseAssertionBlock

func NewRulesTestCaseAssertionBlock

func NewRulesTestCaseAssertionBlock(messageIndexes []int32, assertionType string, location string, expected bool) *RulesTestCaseAssertionBlock

NewRulesTestCaseAssertionBlock instantiates a new RulesTestCaseAssertionBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseAssertionBlockWithDefaults

func NewRulesTestCaseAssertionBlockWithDefaults() *RulesTestCaseAssertionBlock

NewRulesTestCaseAssertionBlockWithDefaults instantiates a new RulesTestCaseAssertionBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseAssertionBlock) GetAssertionType

func (o *RulesTestCaseAssertionBlock) GetAssertionType() string

GetAssertionType returns the AssertionType field value

func (*RulesTestCaseAssertionBlock) GetAssertionTypeOk

func (o *RulesTestCaseAssertionBlock) GetAssertionTypeOk() (*string, bool)

GetAssertionTypeOk returns a tuple with the AssertionType field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionBlock) GetDescription added in v0.9.0

func (o *RulesTestCaseAssertionBlock) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RulesTestCaseAssertionBlock) GetDescriptionOk added in v0.9.0

func (o *RulesTestCaseAssertionBlock) 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 (*RulesTestCaseAssertionBlock) GetExpected

func (o *RulesTestCaseAssertionBlock) GetExpected() bool

GetExpected returns the Expected field value

func (*RulesTestCaseAssertionBlock) GetExpectedOk

func (o *RulesTestCaseAssertionBlock) GetExpectedOk() (*bool, bool)

GetExpectedOk returns a tuple with the Expected field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionBlock) GetLocation

func (o *RulesTestCaseAssertionBlock) GetLocation() string

GetLocation returns the Location field value

func (*RulesTestCaseAssertionBlock) GetLocationOk

func (o *RulesTestCaseAssertionBlock) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionBlock) GetMessageIndexes

func (o *RulesTestCaseAssertionBlock) GetMessageIndexes() []int32

GetMessageIndexes returns the MessageIndexes field value

func (*RulesTestCaseAssertionBlock) GetMessageIndexesOk

func (o *RulesTestCaseAssertionBlock) GetMessageIndexesOk() ([]int32, bool)

GetMessageIndexesOk returns a tuple with the MessageIndexes field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionBlock) HasDescription added in v0.9.0

func (o *RulesTestCaseAssertionBlock) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (RulesTestCaseAssertionBlock) MarshalJSON

func (o RulesTestCaseAssertionBlock) MarshalJSON() ([]byte, error)

func (*RulesTestCaseAssertionBlock) SetAssertionType

func (o *RulesTestCaseAssertionBlock) SetAssertionType(v string)

SetAssertionType sets field value

func (*RulesTestCaseAssertionBlock) SetDescription added in v0.9.0

func (o *RulesTestCaseAssertionBlock) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RulesTestCaseAssertionBlock) SetExpected

func (o *RulesTestCaseAssertionBlock) SetExpected(v bool)

SetExpected sets field value

func (*RulesTestCaseAssertionBlock) SetLocation

func (o *RulesTestCaseAssertionBlock) SetLocation(v string)

SetLocation sets field value

func (*RulesTestCaseAssertionBlock) SetMessageIndexes

func (o *RulesTestCaseAssertionBlock) SetMessageIndexes(v []int32)

SetMessageIndexes sets field value

func (RulesTestCaseAssertionBlock) ToMap

func (o RulesTestCaseAssertionBlock) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseAssertionBlock) UnmarshalJSON

func (o *RulesTestCaseAssertionBlock) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseAssertionConditionDefault

type RulesTestCaseAssertionConditionDefault string

RulesTestCaseAssertionConditionDefault The condition to be met for the assertion to pass.

const (
	EQUAL        RulesTestCaseAssertionConditionDefault = "equal"
	NOT_EQUAL    RulesTestCaseAssertionConditionDefault = "not_equal"
	GREATER_THAN RulesTestCaseAssertionConditionDefault = "greater_than"
	LESS_THAN    RulesTestCaseAssertionConditionDefault = "less_than"
	ONE_OF       RulesTestCaseAssertionConditionDefault = "one_of"
)

List of rules_test_case_assertion_condition_default

func NewRulesTestCaseAssertionConditionDefaultFromValue

func NewRulesTestCaseAssertionConditionDefaultFromValue(v string) (*RulesTestCaseAssertionConditionDefault, error)

NewRulesTestCaseAssertionConditionDefaultFromValue returns a pointer to a valid RulesTestCaseAssertionConditionDefault for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RulesTestCaseAssertionConditionDefault) IsValid

IsValid return true if the value is valid for the enum, false otherwise

func (RulesTestCaseAssertionConditionDefault) Ptr

Ptr returns reference to rules_test_case_assertion_condition_default value

func (*RulesTestCaseAssertionConditionDefault) UnmarshalJSON

func (v *RulesTestCaseAssertionConditionDefault) UnmarshalJSON(src []byte) error

type RulesTestCaseAssertionConditionPresence

type RulesTestCaseAssertionConditionPresence string

RulesTestCaseAssertionConditionPresence The condition to be met for the assertion to pass.

const (
	CONTAINS     RulesTestCaseAssertionConditionPresence = "contains"
	NOT_CONTAINS RulesTestCaseAssertionConditionPresence = "not_contains"
)

List of rules_test_case_assertion_condition_presence

func NewRulesTestCaseAssertionConditionPresenceFromValue

func NewRulesTestCaseAssertionConditionPresenceFromValue(v string) (*RulesTestCaseAssertionConditionPresence, error)

NewRulesTestCaseAssertionConditionPresenceFromValue returns a pointer to a valid RulesTestCaseAssertionConditionPresence for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RulesTestCaseAssertionConditionPresence) IsValid

IsValid return true if the value is valid for the enum, false otherwise

func (RulesTestCaseAssertionConditionPresence) Ptr

Ptr returns reference to rules_test_case_assertion_condition_presence value

func (*RulesTestCaseAssertionConditionPresence) UnmarshalJSON

func (v *RulesTestCaseAssertionConditionPresence) UnmarshalJSON(src []byte) error

type RulesTestCaseAssertionOutput

type RulesTestCaseAssertionOutput struct {
	// The indexes of the messages in the test case the assertion applies to.
	MessageIndexes []int32                                 `json:"message_indexes"`
	AssertionType  string                                  `json:"assertion_type" validate:"regexp=^output$"`
	Condition      RulesTestCaseAssertionConditionPresence `json:"condition"`
	// The expected value of the assertion.
	Expected string `json:"expected"`
	// The description of the test case assertion.
	Description          *string `json:"description,omitempty"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseAssertionOutput struct for RulesTestCaseAssertionOutput

func NewRulesTestCaseAssertionOutput

func NewRulesTestCaseAssertionOutput(messageIndexes []int32, assertionType string, condition RulesTestCaseAssertionConditionPresence, expected string) *RulesTestCaseAssertionOutput

NewRulesTestCaseAssertionOutput instantiates a new RulesTestCaseAssertionOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseAssertionOutputWithDefaults

func NewRulesTestCaseAssertionOutputWithDefaults() *RulesTestCaseAssertionOutput

NewRulesTestCaseAssertionOutputWithDefaults instantiates a new RulesTestCaseAssertionOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseAssertionOutput) GetAssertionType

func (o *RulesTestCaseAssertionOutput) GetAssertionType() string

GetAssertionType returns the AssertionType field value

func (*RulesTestCaseAssertionOutput) GetAssertionTypeOk

func (o *RulesTestCaseAssertionOutput) GetAssertionTypeOk() (*string, bool)

GetAssertionTypeOk returns a tuple with the AssertionType field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionOutput) GetCondition

GetCondition returns the Condition field value

func (*RulesTestCaseAssertionOutput) GetConditionOk

GetConditionOk returns a tuple with the Condition field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionOutput) GetDescription added in v0.9.0

func (o *RulesTestCaseAssertionOutput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RulesTestCaseAssertionOutput) GetDescriptionOk added in v0.9.0

func (o *RulesTestCaseAssertionOutput) 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 (*RulesTestCaseAssertionOutput) GetExpected

func (o *RulesTestCaseAssertionOutput) GetExpected() string

GetExpected returns the Expected field value

func (*RulesTestCaseAssertionOutput) GetExpectedOk

func (o *RulesTestCaseAssertionOutput) GetExpectedOk() (*string, bool)

GetExpectedOk returns a tuple with the Expected field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionOutput) GetMessageIndexes

func (o *RulesTestCaseAssertionOutput) GetMessageIndexes() []int32

GetMessageIndexes returns the MessageIndexes field value

func (*RulesTestCaseAssertionOutput) GetMessageIndexesOk

func (o *RulesTestCaseAssertionOutput) GetMessageIndexesOk() ([]int32, bool)

GetMessageIndexesOk returns a tuple with the MessageIndexes field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionOutput) HasDescription added in v0.9.0

func (o *RulesTestCaseAssertionOutput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (RulesTestCaseAssertionOutput) MarshalJSON

func (o RulesTestCaseAssertionOutput) MarshalJSON() ([]byte, error)

func (*RulesTestCaseAssertionOutput) SetAssertionType

func (o *RulesTestCaseAssertionOutput) SetAssertionType(v string)

SetAssertionType sets field value

func (*RulesTestCaseAssertionOutput) SetCondition

SetCondition sets field value

func (*RulesTestCaseAssertionOutput) SetDescription added in v0.9.0

func (o *RulesTestCaseAssertionOutput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RulesTestCaseAssertionOutput) SetExpected

func (o *RulesTestCaseAssertionOutput) SetExpected(v string)

SetExpected sets field value

func (*RulesTestCaseAssertionOutput) SetMessageIndexes

func (o *RulesTestCaseAssertionOutput) SetMessageIndexes(v []int32)

SetMessageIndexes sets field value

func (RulesTestCaseAssertionOutput) ToMap

func (o RulesTestCaseAssertionOutput) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseAssertionOutput) UnmarshalJSON

func (o *RulesTestCaseAssertionOutput) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseAssertionStatusCode

type RulesTestCaseAssertionStatusCode struct {
	// The indexes of the messages in the test case the assertion applies to.
	MessageIndexes []int32 `json:"message_indexes"`
	AssertionType  string  `json:"assertion_type" validate:"regexp=^status_code$"`
	// The location of the assertion.
	Location  string                                 `json:"location"`
	Condition RulesTestCaseAssertionConditionDefault `json:"condition"`
	// The expected value of the assertion.
	Expected []int32 `json:"expected"`
	// The description of the test case assertion.
	Description          *string `json:"description,omitempty"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseAssertionStatusCode struct for RulesTestCaseAssertionStatusCode

func NewRulesTestCaseAssertionStatusCode

func NewRulesTestCaseAssertionStatusCode(messageIndexes []int32, assertionType string, location string, condition RulesTestCaseAssertionConditionDefault, expected []int32) *RulesTestCaseAssertionStatusCode

NewRulesTestCaseAssertionStatusCode instantiates a new RulesTestCaseAssertionStatusCode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseAssertionStatusCodeWithDefaults

func NewRulesTestCaseAssertionStatusCodeWithDefaults() *RulesTestCaseAssertionStatusCode

NewRulesTestCaseAssertionStatusCodeWithDefaults instantiates a new RulesTestCaseAssertionStatusCode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseAssertionStatusCode) GetAssertionType

func (o *RulesTestCaseAssertionStatusCode) GetAssertionType() string

GetAssertionType returns the AssertionType field value

func (*RulesTestCaseAssertionStatusCode) GetAssertionTypeOk

func (o *RulesTestCaseAssertionStatusCode) GetAssertionTypeOk() (*string, bool)

GetAssertionTypeOk returns a tuple with the AssertionType field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionStatusCode) GetCondition

GetCondition returns the Condition field value

func (*RulesTestCaseAssertionStatusCode) GetConditionOk

GetConditionOk returns a tuple with the Condition field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionStatusCode) GetDescription added in v0.9.0

func (o *RulesTestCaseAssertionStatusCode) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RulesTestCaseAssertionStatusCode) GetDescriptionOk added in v0.9.0

func (o *RulesTestCaseAssertionStatusCode) 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 (*RulesTestCaseAssertionStatusCode) GetExpected

func (o *RulesTestCaseAssertionStatusCode) GetExpected() []int32

GetExpected returns the Expected field value

func (*RulesTestCaseAssertionStatusCode) GetExpectedOk

func (o *RulesTestCaseAssertionStatusCode) GetExpectedOk() ([]int32, bool)

GetExpectedOk returns a tuple with the Expected field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionStatusCode) GetLocation

func (o *RulesTestCaseAssertionStatusCode) GetLocation() string

GetLocation returns the Location field value

func (*RulesTestCaseAssertionStatusCode) GetLocationOk

func (o *RulesTestCaseAssertionStatusCode) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionStatusCode) GetMessageIndexes

func (o *RulesTestCaseAssertionStatusCode) GetMessageIndexes() []int32

GetMessageIndexes returns the MessageIndexes field value

func (*RulesTestCaseAssertionStatusCode) GetMessageIndexesOk

func (o *RulesTestCaseAssertionStatusCode) GetMessageIndexesOk() ([]int32, bool)

GetMessageIndexesOk returns a tuple with the MessageIndexes field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionStatusCode) HasDescription added in v0.9.0

func (o *RulesTestCaseAssertionStatusCode) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (RulesTestCaseAssertionStatusCode) MarshalJSON

func (o RulesTestCaseAssertionStatusCode) MarshalJSON() ([]byte, error)

func (*RulesTestCaseAssertionStatusCode) SetAssertionType

func (o *RulesTestCaseAssertionStatusCode) SetAssertionType(v string)

SetAssertionType sets field value

func (*RulesTestCaseAssertionStatusCode) SetCondition

SetCondition sets field value

func (*RulesTestCaseAssertionStatusCode) SetDescription added in v0.9.0

func (o *RulesTestCaseAssertionStatusCode) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RulesTestCaseAssertionStatusCode) SetExpected

func (o *RulesTestCaseAssertionStatusCode) SetExpected(v []int32)

SetExpected sets field value

func (*RulesTestCaseAssertionStatusCode) SetLocation

func (o *RulesTestCaseAssertionStatusCode) SetLocation(v string)

SetLocation sets field value

func (*RulesTestCaseAssertionStatusCode) SetMessageIndexes

func (o *RulesTestCaseAssertionStatusCode) SetMessageIndexes(v []int32)

SetMessageIndexes sets field value

func (RulesTestCaseAssertionStatusCode) ToMap

func (o RulesTestCaseAssertionStatusCode) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseAssertionStatusCode) UnmarshalJSON

func (o *RulesTestCaseAssertionStatusCode) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseAssertionTags

type RulesTestCaseAssertionTags struct {
	// The indexes of the messages in the test case the assertion applies to.
	MessageIndexes []int32 `json:"message_indexes"`
	AssertionType  string  `json:"assertion_type" validate:"regexp=^tags$"`
	// The location of the assertion.
	Location  string                                  `json:"location"`
	Condition RulesTestCaseAssertionConditionPresence `json:"condition"`
	// The expected value of the assertion.
	Expected string `json:"expected"`
	// The description of the test case assertion.
	Description          *string `json:"description,omitempty"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseAssertionTags struct for RulesTestCaseAssertionTags

func NewRulesTestCaseAssertionTags

func NewRulesTestCaseAssertionTags(messageIndexes []int32, assertionType string, location string, condition RulesTestCaseAssertionConditionPresence, expected string) *RulesTestCaseAssertionTags

NewRulesTestCaseAssertionTags instantiates a new RulesTestCaseAssertionTags object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseAssertionTagsWithDefaults

func NewRulesTestCaseAssertionTagsWithDefaults() *RulesTestCaseAssertionTags

NewRulesTestCaseAssertionTagsWithDefaults instantiates a new RulesTestCaseAssertionTags object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseAssertionTags) GetAssertionType

func (o *RulesTestCaseAssertionTags) GetAssertionType() string

GetAssertionType returns the AssertionType field value

func (*RulesTestCaseAssertionTags) GetAssertionTypeOk

func (o *RulesTestCaseAssertionTags) GetAssertionTypeOk() (*string, bool)

GetAssertionTypeOk returns a tuple with the AssertionType field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionTags) GetCondition

GetCondition returns the Condition field value

func (*RulesTestCaseAssertionTags) GetConditionOk

GetConditionOk returns a tuple with the Condition field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionTags) GetDescription added in v0.9.0

func (o *RulesTestCaseAssertionTags) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RulesTestCaseAssertionTags) GetDescriptionOk added in v0.9.0

func (o *RulesTestCaseAssertionTags) 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 (*RulesTestCaseAssertionTags) GetExpected

func (o *RulesTestCaseAssertionTags) GetExpected() string

GetExpected returns the Expected field value

func (*RulesTestCaseAssertionTags) GetExpectedOk

func (o *RulesTestCaseAssertionTags) GetExpectedOk() (*string, bool)

GetExpectedOk returns a tuple with the Expected field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionTags) GetLocation

func (o *RulesTestCaseAssertionTags) GetLocation() string

GetLocation returns the Location field value

func (*RulesTestCaseAssertionTags) GetLocationOk

func (o *RulesTestCaseAssertionTags) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionTags) GetMessageIndexes

func (o *RulesTestCaseAssertionTags) GetMessageIndexes() []int32

GetMessageIndexes returns the MessageIndexes field value

func (*RulesTestCaseAssertionTags) GetMessageIndexesOk

func (o *RulesTestCaseAssertionTags) GetMessageIndexesOk() ([]int32, bool)

GetMessageIndexesOk returns a tuple with the MessageIndexes field value and a boolean to check if the value has been set.

func (*RulesTestCaseAssertionTags) HasDescription added in v0.9.0

func (o *RulesTestCaseAssertionTags) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (RulesTestCaseAssertionTags) MarshalJSON

func (o RulesTestCaseAssertionTags) MarshalJSON() ([]byte, error)

func (*RulesTestCaseAssertionTags) SetAssertionType

func (o *RulesTestCaseAssertionTags) SetAssertionType(v string)

SetAssertionType sets field value

func (*RulesTestCaseAssertionTags) SetCondition

SetCondition sets field value

func (*RulesTestCaseAssertionTags) SetDescription added in v0.9.0

func (o *RulesTestCaseAssertionTags) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RulesTestCaseAssertionTags) SetExpected

func (o *RulesTestCaseAssertionTags) SetExpected(v string)

SetExpected sets field value

func (*RulesTestCaseAssertionTags) SetLocation

func (o *RulesTestCaseAssertionTags) SetLocation(v string)

SetLocation sets field value

func (*RulesTestCaseAssertionTags) SetMessageIndexes

func (o *RulesTestCaseAssertionTags) SetMessageIndexes(v []int32)

SetMessageIndexes sets field value

func (RulesTestCaseAssertionTags) ToMap

func (o RulesTestCaseAssertionTags) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseAssertionTags) UnmarshalJSON

func (o *RulesTestCaseAssertionTags) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseMessageDefinitionPosition

type RulesTestCaseMessageDefinitionPosition struct {
	// The index of the message definition.
	Index int32 `json:"index"`
	// The count of the message in the message definition.
	Count                int32 `json:"count"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseMessageDefinitionPosition struct for RulesTestCaseMessageDefinitionPosition

func NewRulesTestCaseMessageDefinitionPosition

func NewRulesTestCaseMessageDefinitionPosition(index int32, count int32) *RulesTestCaseMessageDefinitionPosition

NewRulesTestCaseMessageDefinitionPosition instantiates a new RulesTestCaseMessageDefinitionPosition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseMessageDefinitionPositionWithDefaults

func NewRulesTestCaseMessageDefinitionPositionWithDefaults() *RulesTestCaseMessageDefinitionPosition

NewRulesTestCaseMessageDefinitionPositionWithDefaults instantiates a new RulesTestCaseMessageDefinitionPosition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseMessageDefinitionPosition) GetCount

GetCount returns the Count field value

func (*RulesTestCaseMessageDefinitionPosition) GetCountOk

GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.

func (*RulesTestCaseMessageDefinitionPosition) GetIndex

GetIndex returns the Index field value

func (*RulesTestCaseMessageDefinitionPosition) GetIndexOk

GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.

func (RulesTestCaseMessageDefinitionPosition) MarshalJSON

func (o RulesTestCaseMessageDefinitionPosition) MarshalJSON() ([]byte, error)

func (*RulesTestCaseMessageDefinitionPosition) SetCount

SetCount sets field value

func (*RulesTestCaseMessageDefinitionPosition) SetIndex

SetIndex sets field value

func (RulesTestCaseMessageDefinitionPosition) ToMap

func (o RulesTestCaseMessageDefinitionPosition) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseMessageDefinitionPosition) UnmarshalJSON

func (o *RulesTestCaseMessageDefinitionPosition) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseMessagesInner

type RulesTestCaseMessagesInner struct {
	Req InspectorReqMsg `json:"req"`
	Res InspectorResMsg `json:"res"`
	// The number of times to include the message in the test case.
	Count int32 `json:"count"`
	// The delay in milliseconds between message iterations.
	Delay int32 `json:"delay"`
	// The delay in milliseconds after a set of message iterations.
	PostDelay int32 `json:"post_delay"`
	// The description of the test case message.
	Description          *string `json:"description,omitempty"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseMessagesInner struct for RulesTestCaseMessagesInner

func NewRulesTestCaseMessagesInner

func NewRulesTestCaseMessagesInner(req InspectorReqMsg, res InspectorResMsg, count int32, delay int32, postDelay int32) *RulesTestCaseMessagesInner

NewRulesTestCaseMessagesInner instantiates a new RulesTestCaseMessagesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseMessagesInnerWithDefaults

func NewRulesTestCaseMessagesInnerWithDefaults() *RulesTestCaseMessagesInner

NewRulesTestCaseMessagesInnerWithDefaults instantiates a new RulesTestCaseMessagesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseMessagesInner) GetCount

func (o *RulesTestCaseMessagesInner) GetCount() int32

GetCount returns the Count field value

func (*RulesTestCaseMessagesInner) GetCountOk

func (o *RulesTestCaseMessagesInner) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.

func (*RulesTestCaseMessagesInner) GetDelay

func (o *RulesTestCaseMessagesInner) GetDelay() int32

GetDelay returns the Delay field value

func (*RulesTestCaseMessagesInner) GetDelayOk

func (o *RulesTestCaseMessagesInner) GetDelayOk() (*int32, bool)

GetDelayOk returns a tuple with the Delay field value and a boolean to check if the value has been set.

func (*RulesTestCaseMessagesInner) GetDescription added in v0.9.0

func (o *RulesTestCaseMessagesInner) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RulesTestCaseMessagesInner) GetDescriptionOk added in v0.9.0

func (o *RulesTestCaseMessagesInner) 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 (*RulesTestCaseMessagesInner) GetPostDelay

func (o *RulesTestCaseMessagesInner) GetPostDelay() int32

GetPostDelay returns the PostDelay field value

func (*RulesTestCaseMessagesInner) GetPostDelayOk

func (o *RulesTestCaseMessagesInner) GetPostDelayOk() (*int32, bool)

GetPostDelayOk returns a tuple with the PostDelay field value and a boolean to check if the value has been set.

func (*RulesTestCaseMessagesInner) GetReq

GetReq returns the Req field value

func (*RulesTestCaseMessagesInner) GetReqOk

GetReqOk returns a tuple with the Req field value and a boolean to check if the value has been set.

func (*RulesTestCaseMessagesInner) GetRes

GetRes returns the Res field value

func (*RulesTestCaseMessagesInner) GetResOk

GetResOk returns a tuple with the Res field value and a boolean to check if the value has been set.

func (*RulesTestCaseMessagesInner) HasDescription added in v0.9.0

func (o *RulesTestCaseMessagesInner) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (RulesTestCaseMessagesInner) MarshalJSON

func (o RulesTestCaseMessagesInner) MarshalJSON() ([]byte, error)

func (*RulesTestCaseMessagesInner) SetCount

func (o *RulesTestCaseMessagesInner) SetCount(v int32)

SetCount sets field value

func (*RulesTestCaseMessagesInner) SetDelay

func (o *RulesTestCaseMessagesInner) SetDelay(v int32)

SetDelay sets field value

func (*RulesTestCaseMessagesInner) SetDescription added in v0.9.0

func (o *RulesTestCaseMessagesInner) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RulesTestCaseMessagesInner) SetPostDelay

func (o *RulesTestCaseMessagesInner) SetPostDelay(v int32)

SetPostDelay sets field value

func (*RulesTestCaseMessagesInner) SetReq

SetReq sets field value

func (*RulesTestCaseMessagesInner) SetRes

SetRes sets field value

func (RulesTestCaseMessagesInner) ToMap

func (o RulesTestCaseMessagesInner) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseMessagesInner) UnmarshalJSON

func (o *RulesTestCaseMessagesInner) UnmarshalJSON(data []byte) (err error)

type RulesTestCasePostBody

type RulesTestCasePostBody struct {
	// The name of the test case
	Name string `json:"name"`
	// The description of the test case
	Description *string `json:"description,omitempty"`
	// Whether the test case is required to pass when creating or updating rules.
	Required *bool `json:"required,omitempty"`
	// The messages of the test case.
	Messages []RulesTestCaseMessagesInner `json:"messages"`
	// Assertions for the test case.
	Assertions []RulesTestCaseAssertion `json:"assertions,omitempty"`
	// The applied labels.
	Labels               []string `json:"labels,omitempty"`
	AdditionalProperties map[string]interface{}
}

RulesTestCasePostBody struct for RulesTestCasePostBody

func NewRulesTestCasePostBody

func NewRulesTestCasePostBody(name string, messages []RulesTestCaseMessagesInner) *RulesTestCasePostBody

NewRulesTestCasePostBody instantiates a new RulesTestCasePostBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCasePostBodyWithDefaults

func NewRulesTestCasePostBodyWithDefaults() *RulesTestCasePostBody

NewRulesTestCasePostBodyWithDefaults instantiates a new RulesTestCasePostBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCasePostBody) GetAssertions

func (o *RulesTestCasePostBody) GetAssertions() []RulesTestCaseAssertion

GetAssertions returns the Assertions field value if set, zero value otherwise.

func (*RulesTestCasePostBody) GetAssertionsOk

func (o *RulesTestCasePostBody) GetAssertionsOk() ([]RulesTestCaseAssertion, bool)

GetAssertionsOk returns a tuple with the Assertions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RulesTestCasePostBody) GetDescription

func (o *RulesTestCasePostBody) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RulesTestCasePostBody) GetDescriptionOk

func (o *RulesTestCasePostBody) 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 (*RulesTestCasePostBody) GetLabels added in v0.9.0

func (o *RulesTestCasePostBody) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*RulesTestCasePostBody) GetLabelsOk added in v0.9.0

func (o *RulesTestCasePostBody) GetLabelsOk() ([]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RulesTestCasePostBody) GetMessages

GetMessages returns the Messages field value

func (*RulesTestCasePostBody) GetMessagesOk

func (o *RulesTestCasePostBody) GetMessagesOk() ([]RulesTestCaseMessagesInner, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*RulesTestCasePostBody) GetName

func (o *RulesTestCasePostBody) GetName() string

GetName returns the Name field value

func (*RulesTestCasePostBody) GetNameOk

func (o *RulesTestCasePostBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RulesTestCasePostBody) GetRequired

func (o *RulesTestCasePostBody) GetRequired() bool

GetRequired returns the Required field value if set, zero value otherwise.

func (*RulesTestCasePostBody) GetRequiredOk

func (o *RulesTestCasePostBody) GetRequiredOk() (*bool, bool)

GetRequiredOk returns a tuple with the Required field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RulesTestCasePostBody) HasAssertions

func (o *RulesTestCasePostBody) HasAssertions() bool

HasAssertions returns a boolean if a field has been set.

func (*RulesTestCasePostBody) HasDescription

func (o *RulesTestCasePostBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RulesTestCasePostBody) HasLabels added in v0.9.0

func (o *RulesTestCasePostBody) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*RulesTestCasePostBody) HasRequired

func (o *RulesTestCasePostBody) HasRequired() bool

HasRequired returns a boolean if a field has been set.

func (RulesTestCasePostBody) MarshalJSON

func (o RulesTestCasePostBody) MarshalJSON() ([]byte, error)

func (*RulesTestCasePostBody) SetAssertions

func (o *RulesTestCasePostBody) SetAssertions(v []RulesTestCaseAssertion)

SetAssertions gets a reference to the given []RulesTestCaseAssertion and assigns it to the Assertions field.

func (*RulesTestCasePostBody) SetDescription

func (o *RulesTestCasePostBody) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RulesTestCasePostBody) SetLabels added in v0.9.0

func (o *RulesTestCasePostBody) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*RulesTestCasePostBody) SetMessages

SetMessages sets field value

func (*RulesTestCasePostBody) SetName

func (o *RulesTestCasePostBody) SetName(v string)

SetName sets field value

func (*RulesTestCasePostBody) SetRequired

func (o *RulesTestCasePostBody) SetRequired(v bool)

SetRequired gets a reference to the given bool and assigns it to the Required field.

func (RulesTestCasePostBody) ToMap

func (o RulesTestCasePostBody) ToMap() (map[string]interface{}, error)

func (*RulesTestCasePostBody) UnmarshalJSON

func (o *RulesTestCasePostBody) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseRunPostBody

type RulesTestCaseRunPostBody struct {
	// The messages of the test case.
	Messages []RulesTestCaseMessagesInner `json:"messages"`
	// Assertions for the test case.
	Assertions []RulesTestCaseAssertion `json:"assertions,omitempty"`
	// Define rule overrides for a test run.
	EnabledOverrides []RulesTestCaseRunPostBodyEnabledOverridesInner `json:"enabled_overrides,omitempty"`
	// A list of rule ids that should be disabled for the test run.
	DisabledOverrides []RulesTestCaseRunPostBodyDisabledOverridesInner `json:"disabled_overrides,omitempty"`
	// A list of rule ids that should have their blocking effect overridden for the test run.
	BlockingEffectOverrides []RulesTestCaseRunPostBodyBlockingEffectOverridesInner `json:"blocking_effect_overrides,omitempty"`
	AdditionalProperties    map[string]interface{}
}

RulesTestCaseRunPostBody struct for RulesTestCaseRunPostBody

func NewRulesTestCaseRunPostBody

func NewRulesTestCaseRunPostBody(messages []RulesTestCaseMessagesInner) *RulesTestCaseRunPostBody

NewRulesTestCaseRunPostBody instantiates a new RulesTestCaseRunPostBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseRunPostBodyWithDefaults

func NewRulesTestCaseRunPostBodyWithDefaults() *RulesTestCaseRunPostBody

NewRulesTestCaseRunPostBodyWithDefaults instantiates a new RulesTestCaseRunPostBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseRunPostBody) GetAssertions

func (o *RulesTestCaseRunPostBody) GetAssertions() []RulesTestCaseAssertion

GetAssertions returns the Assertions field value if set, zero value otherwise.

func (*RulesTestCaseRunPostBody) GetAssertionsOk

func (o *RulesTestCaseRunPostBody) GetAssertionsOk() ([]RulesTestCaseAssertion, bool)

GetAssertionsOk returns a tuple with the Assertions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RulesTestCaseRunPostBody) GetBlockingEffectOverrides

GetBlockingEffectOverrides returns the BlockingEffectOverrides field value if set, zero value otherwise.

func (*RulesTestCaseRunPostBody) GetBlockingEffectOverridesOk

GetBlockingEffectOverridesOk returns a tuple with the BlockingEffectOverrides field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RulesTestCaseRunPostBody) GetDisabledOverrides

GetDisabledOverrides returns the DisabledOverrides field value if set, zero value otherwise.

func (*RulesTestCaseRunPostBody) GetDisabledOverridesOk

GetDisabledOverridesOk returns a tuple with the DisabledOverrides field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RulesTestCaseRunPostBody) GetEnabledOverrides

GetEnabledOverrides returns the EnabledOverrides field value if set, zero value otherwise.

func (*RulesTestCaseRunPostBody) GetEnabledOverridesOk

GetEnabledOverridesOk returns a tuple with the EnabledOverrides field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RulesTestCaseRunPostBody) GetMessages

GetMessages returns the Messages field value

func (*RulesTestCaseRunPostBody) GetMessagesOk

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*RulesTestCaseRunPostBody) HasAssertions

func (o *RulesTestCaseRunPostBody) HasAssertions() bool

HasAssertions returns a boolean if a field has been set.

func (*RulesTestCaseRunPostBody) HasBlockingEffectOverrides

func (o *RulesTestCaseRunPostBody) HasBlockingEffectOverrides() bool

HasBlockingEffectOverrides returns a boolean if a field has been set.

func (*RulesTestCaseRunPostBody) HasDisabledOverrides

func (o *RulesTestCaseRunPostBody) HasDisabledOverrides() bool

HasDisabledOverrides returns a boolean if a field has been set.

func (*RulesTestCaseRunPostBody) HasEnabledOverrides

func (o *RulesTestCaseRunPostBody) HasEnabledOverrides() bool

HasEnabledOverrides returns a boolean if a field has been set.

func (RulesTestCaseRunPostBody) MarshalJSON

func (o RulesTestCaseRunPostBody) MarshalJSON() ([]byte, error)

func (*RulesTestCaseRunPostBody) SetAssertions

func (o *RulesTestCaseRunPostBody) SetAssertions(v []RulesTestCaseAssertion)

SetAssertions gets a reference to the given []RulesTestCaseAssertion and assigns it to the Assertions field.

func (*RulesTestCaseRunPostBody) SetBlockingEffectOverrides

SetBlockingEffectOverrides gets a reference to the given []RulesTestCaseRunPostBodyBlockingEffectOverridesInner and assigns it to the BlockingEffectOverrides field.

func (*RulesTestCaseRunPostBody) SetDisabledOverrides

SetDisabledOverrides gets a reference to the given []RulesTestCaseRunPostBodyDisabledOverridesInner and assigns it to the DisabledOverrides field.

func (*RulesTestCaseRunPostBody) SetEnabledOverrides

SetEnabledOverrides gets a reference to the given []RulesTestCaseRunPostBodyEnabledOverridesInner and assigns it to the EnabledOverrides field.

func (*RulesTestCaseRunPostBody) SetMessages

SetMessages sets field value

func (RulesTestCaseRunPostBody) ToMap

func (o RulesTestCaseRunPostBody) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseRunPostBody) UnmarshalJSON

func (o *RulesTestCaseRunPostBody) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseRunPostBodyBlockingEffectOverridesInner

type RulesTestCaseRunPostBodyBlockingEffectOverridesInner struct {
	RuleId               *string             `json:"rule_id,omitempty"`
	BlockingEffect       *BlockingEffectType `json:"blocking_effect,omitempty"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseRunPostBodyBlockingEffectOverridesInner struct for RulesTestCaseRunPostBodyBlockingEffectOverridesInner

func NewRulesTestCaseRunPostBodyBlockingEffectOverridesInner

func NewRulesTestCaseRunPostBodyBlockingEffectOverridesInner() *RulesTestCaseRunPostBodyBlockingEffectOverridesInner

NewRulesTestCaseRunPostBodyBlockingEffectOverridesInner instantiates a new RulesTestCaseRunPostBodyBlockingEffectOverridesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseRunPostBodyBlockingEffectOverridesInnerWithDefaults

func NewRulesTestCaseRunPostBodyBlockingEffectOverridesInnerWithDefaults() *RulesTestCaseRunPostBodyBlockingEffectOverridesInner

NewRulesTestCaseRunPostBodyBlockingEffectOverridesInnerWithDefaults instantiates a new RulesTestCaseRunPostBodyBlockingEffectOverridesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseRunPostBodyBlockingEffectOverridesInner) GetBlockingEffect

GetBlockingEffect returns the BlockingEffect field value if set, zero value otherwise.

func (*RulesTestCaseRunPostBodyBlockingEffectOverridesInner) GetBlockingEffectOk

GetBlockingEffectOk returns a tuple with the BlockingEffect field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RulesTestCaseRunPostBodyBlockingEffectOverridesInner) GetRuleId

GetRuleId returns the RuleId field value if set, zero value otherwise.

func (*RulesTestCaseRunPostBodyBlockingEffectOverridesInner) GetRuleIdOk

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 (*RulesTestCaseRunPostBodyBlockingEffectOverridesInner) HasBlockingEffect

HasBlockingEffect returns a boolean if a field has been set.

func (*RulesTestCaseRunPostBodyBlockingEffectOverridesInner) HasRuleId

HasRuleId returns a boolean if a field has been set.

func (RulesTestCaseRunPostBodyBlockingEffectOverridesInner) MarshalJSON

func (*RulesTestCaseRunPostBodyBlockingEffectOverridesInner) SetBlockingEffect

SetBlockingEffect gets a reference to the given BlockingEffectType and assigns it to the BlockingEffect field.

func (*RulesTestCaseRunPostBodyBlockingEffectOverridesInner) SetRuleId

SetRuleId gets a reference to the given string and assigns it to the RuleId field.

func (RulesTestCaseRunPostBodyBlockingEffectOverridesInner) ToMap

func (*RulesTestCaseRunPostBodyBlockingEffectOverridesInner) UnmarshalJSON

func (o *RulesTestCaseRunPostBodyBlockingEffectOverridesInner) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseRunPostBodyDisabledOverridesInner

type RulesTestCaseRunPostBodyDisabledOverridesInner struct {
	RuleId               *string `json:"rule_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseRunPostBodyDisabledOverridesInner struct for RulesTestCaseRunPostBodyDisabledOverridesInner

func NewRulesTestCaseRunPostBodyDisabledOverridesInner

func NewRulesTestCaseRunPostBodyDisabledOverridesInner() *RulesTestCaseRunPostBodyDisabledOverridesInner

NewRulesTestCaseRunPostBodyDisabledOverridesInner instantiates a new RulesTestCaseRunPostBodyDisabledOverridesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseRunPostBodyDisabledOverridesInnerWithDefaults

func NewRulesTestCaseRunPostBodyDisabledOverridesInnerWithDefaults() *RulesTestCaseRunPostBodyDisabledOverridesInner

NewRulesTestCaseRunPostBodyDisabledOverridesInnerWithDefaults instantiates a new RulesTestCaseRunPostBodyDisabledOverridesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseRunPostBodyDisabledOverridesInner) GetRuleId

GetRuleId returns the RuleId field value if set, zero value otherwise.

func (*RulesTestCaseRunPostBodyDisabledOverridesInner) GetRuleIdOk

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 (*RulesTestCaseRunPostBodyDisabledOverridesInner) HasRuleId

HasRuleId returns a boolean if a field has been set.

func (RulesTestCaseRunPostBodyDisabledOverridesInner) MarshalJSON

func (*RulesTestCaseRunPostBodyDisabledOverridesInner) SetRuleId

SetRuleId gets a reference to the given string and assigns it to the RuleId field.

func (RulesTestCaseRunPostBodyDisabledOverridesInner) ToMap

func (o RulesTestCaseRunPostBodyDisabledOverridesInner) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseRunPostBodyDisabledOverridesInner) UnmarshalJSON

func (o *RulesTestCaseRunPostBodyDisabledOverridesInner) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseRunPostBodyEnabledOverridesInner

type RulesTestCaseRunPostBodyEnabledOverridesInner struct {
	RuleId               *string `json:"rule_id,omitempty"`
	Src                  *string `json:"src,omitempty"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseRunPostBodyEnabledOverridesInner struct for RulesTestCaseRunPostBodyEnabledOverridesInner

func NewRulesTestCaseRunPostBodyEnabledOverridesInner

func NewRulesTestCaseRunPostBodyEnabledOverridesInner() *RulesTestCaseRunPostBodyEnabledOverridesInner

NewRulesTestCaseRunPostBodyEnabledOverridesInner instantiates a new RulesTestCaseRunPostBodyEnabledOverridesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseRunPostBodyEnabledOverridesInnerWithDefaults

func NewRulesTestCaseRunPostBodyEnabledOverridesInnerWithDefaults() *RulesTestCaseRunPostBodyEnabledOverridesInner

NewRulesTestCaseRunPostBodyEnabledOverridesInnerWithDefaults instantiates a new RulesTestCaseRunPostBodyEnabledOverridesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseRunPostBodyEnabledOverridesInner) GetRuleId

GetRuleId returns the RuleId field value if set, zero value otherwise.

func (*RulesTestCaseRunPostBodyEnabledOverridesInner) GetRuleIdOk

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 (*RulesTestCaseRunPostBodyEnabledOverridesInner) GetSrc

GetSrc returns the Src field value if set, zero value otherwise.

func (*RulesTestCaseRunPostBodyEnabledOverridesInner) GetSrcOk

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 (*RulesTestCaseRunPostBodyEnabledOverridesInner) HasRuleId

HasRuleId returns a boolean if a field has been set.

func (*RulesTestCaseRunPostBodyEnabledOverridesInner) HasSrc

HasSrc returns a boolean if a field has been set.

func (RulesTestCaseRunPostBodyEnabledOverridesInner) MarshalJSON

func (*RulesTestCaseRunPostBodyEnabledOverridesInner) SetRuleId

SetRuleId gets a reference to the given string and assigns it to the RuleId field.

func (*RulesTestCaseRunPostBodyEnabledOverridesInner) SetSrc

SetSrc gets a reference to the given string and assigns it to the Src field.

func (RulesTestCaseRunPostBodyEnabledOverridesInner) ToMap

func (o RulesTestCaseRunPostBodyEnabledOverridesInner) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseRunPostBodyEnabledOverridesInner) UnmarshalJSON

func (o *RulesTestCaseRunPostBodyEnabledOverridesInner) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseRunResultAssertionsInner

type RulesTestCaseRunResultAssertionsInner struct {
	// The results of the assertion.
	Results              []RulesTestCaseRunResultAssertionsInnerResultsInner `json:"results"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseRunResultAssertionsInner struct for RulesTestCaseRunResultAssertionsInner

func NewRulesTestCaseRunResultAssertionsInner

func NewRulesTestCaseRunResultAssertionsInner(results []RulesTestCaseRunResultAssertionsInnerResultsInner) *RulesTestCaseRunResultAssertionsInner

NewRulesTestCaseRunResultAssertionsInner instantiates a new RulesTestCaseRunResultAssertionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseRunResultAssertionsInnerWithDefaults

func NewRulesTestCaseRunResultAssertionsInnerWithDefaults() *RulesTestCaseRunResultAssertionsInner

NewRulesTestCaseRunResultAssertionsInnerWithDefaults instantiates a new RulesTestCaseRunResultAssertionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseRunResultAssertionsInner) GetResults

GetResults returns the Results field value

func (*RulesTestCaseRunResultAssertionsInner) GetResultsOk

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (RulesTestCaseRunResultAssertionsInner) MarshalJSON

func (o RulesTestCaseRunResultAssertionsInner) MarshalJSON() ([]byte, error)

func (*RulesTestCaseRunResultAssertionsInner) SetResults

SetResults sets field value

func (RulesTestCaseRunResultAssertionsInner) ToMap

func (o RulesTestCaseRunResultAssertionsInner) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseRunResultAssertionsInner) UnmarshalJSON

func (o *RulesTestCaseRunResultAssertionsInner) UnmarshalJSON(data []byte) (err error)

type RulesTestCaseRunResultAssertionsInnerResultsInner

type RulesTestCaseRunResultAssertionsInnerResultsInner struct {
	// The index of the message.
	MessageIndex      int32                                  `json:"message_index"`
	MessageDefinition RulesTestCaseMessageDefinitionPosition `json:"message_definition"`
	// Whether the assertion passed.
	Passed               bool `json:"passed"`
	AdditionalProperties map[string]interface{}
}

RulesTestCaseRunResultAssertionsInnerResultsInner struct for RulesTestCaseRunResultAssertionsInnerResultsInner

func NewRulesTestCaseRunResultAssertionsInnerResultsInner

func NewRulesTestCaseRunResultAssertionsInnerResultsInner(messageIndex int32, messageDefinition RulesTestCaseMessageDefinitionPosition, passed bool) *RulesTestCaseRunResultAssertionsInnerResultsInner

NewRulesTestCaseRunResultAssertionsInnerResultsInner instantiates a new RulesTestCaseRunResultAssertionsInnerResultsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCaseRunResultAssertionsInnerResultsInnerWithDefaults

func NewRulesTestCaseRunResultAssertionsInnerResultsInnerWithDefaults() *RulesTestCaseRunResultAssertionsInnerResultsInner

NewRulesTestCaseRunResultAssertionsInnerResultsInnerWithDefaults instantiates a new RulesTestCaseRunResultAssertionsInnerResultsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCaseRunResultAssertionsInnerResultsInner) GetMessageDefinition

GetMessageDefinition returns the MessageDefinition field value

func (*RulesTestCaseRunResultAssertionsInnerResultsInner) GetMessageDefinitionOk

GetMessageDefinitionOk returns a tuple with the MessageDefinition field value and a boolean to check if the value has been set.

func (*RulesTestCaseRunResultAssertionsInnerResultsInner) GetMessageIndex

GetMessageIndex returns the MessageIndex field value

func (*RulesTestCaseRunResultAssertionsInnerResultsInner) GetMessageIndexOk

GetMessageIndexOk returns a tuple with the MessageIndex field value and a boolean to check if the value has been set.

func (*RulesTestCaseRunResultAssertionsInnerResultsInner) GetPassed

GetPassed returns the Passed field value

func (*RulesTestCaseRunResultAssertionsInnerResultsInner) GetPassedOk

GetPassedOk returns a tuple with the Passed field value and a boolean to check if the value has been set.

func (RulesTestCaseRunResultAssertionsInnerResultsInner) MarshalJSON

func (*RulesTestCaseRunResultAssertionsInnerResultsInner) SetMessageDefinition

SetMessageDefinition sets field value

func (*RulesTestCaseRunResultAssertionsInnerResultsInner) SetMessageIndex

SetMessageIndex sets field value

func (*RulesTestCaseRunResultAssertionsInnerResultsInner) SetPassed

SetPassed sets field value

func (RulesTestCaseRunResultAssertionsInnerResultsInner) ToMap

func (o RulesTestCaseRunResultAssertionsInnerResultsInner) ToMap() (map[string]interface{}, error)

func (*RulesTestCaseRunResultAssertionsInnerResultsInner) UnmarshalJSON

func (o *RulesTestCaseRunResultAssertionsInnerResultsInner) UnmarshalJSON(data []byte) (err error)

type RulesTestCases

type RulesTestCases struct {
	Items                []RulesTestCase `json:"items"`
	Meta                 CollectionMeta  `json:"meta"`
	AdditionalProperties map[string]interface{}
}

RulesTestCases struct for RulesTestCases

func NewRulesTestCases

func NewRulesTestCases(items []RulesTestCase, meta CollectionMeta) *RulesTestCases

NewRulesTestCases instantiates a new RulesTestCases object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRulesTestCasesWithDefaults

func NewRulesTestCasesWithDefaults() *RulesTestCases

NewRulesTestCasesWithDefaults instantiates a new RulesTestCases object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RulesTestCases) GetItems

func (o *RulesTestCases) GetItems() []RulesTestCase

GetItems returns the Items field value

func (*RulesTestCases) GetItemsOk

func (o *RulesTestCases) GetItemsOk() ([]RulesTestCase, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*RulesTestCases) GetMeta

func (o *RulesTestCases) GetMeta() CollectionMeta

GetMeta returns the Meta field value

func (*RulesTestCases) GetMetaOk

func (o *RulesTestCases) GetMetaOk() (*CollectionMeta, bool)

GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.

func (RulesTestCases) MarshalJSON

func (o RulesTestCases) MarshalJSON() ([]byte, error)

func (*RulesTestCases) SetItems

func (o *RulesTestCases) SetItems(v []RulesTestCase)

SetItems sets field value

func (*RulesTestCases) SetMeta

func (o *RulesTestCases) SetMeta(v CollectionMeta)

SetMeta sets field value

func (RulesTestCases) ToMap

func (o RulesTestCases) ToMap() (map[string]interface{}, error)

func (*RulesTestCases) UnmarshalJSON

func (o *RulesTestCases) UnmarshalJSON(data []byte) (err error)

type RulesTestCasesAPI

type RulesTestCasesAPI interface {

	/*
		CreateRulesTestCase Create a new rules test case

		Creates a new rules test case 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 ApiCreateRulesTestCaseRequest
	*/
	CreateRulesTestCase(ctx context.Context, orgId string) ApiCreateRulesTestCaseRequest

	// CreateRulesTestCaseExecute executes the request
	//  @return RulesTestCase
	CreateRulesTestCaseExecute(r ApiCreateRulesTestCaseRequest) (*RulesTestCase, *http.Response, error)

	/*
		DeleteRulesTestCase Delete a rules test case

		Deletes a rules test case 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 rulesTestCaseId Rules test case ID
		@return ApiDeleteRulesTestCaseRequest
	*/
	DeleteRulesTestCase(ctx context.Context, orgId string, rulesTestCaseId string) ApiDeleteRulesTestCaseRequest

	// DeleteRulesTestCaseExecute executes the request
	DeleteRulesTestCaseExecute(r ApiDeleteRulesTestCaseRequest) (*http.Response, error)

	/*
		GetRulesTestCase Get a rules test case

		Gets a rules test case 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 rulesTestCaseId Rules test case ID
		@return ApiGetRulesTestCaseRequest
	*/
	GetRulesTestCase(ctx context.Context, orgId string, rulesTestCaseId string) ApiGetRulesTestCaseRequest

	// GetRulesTestCaseExecute executes the request
	//  @return RulesTestCase
	GetRulesTestCaseExecute(r ApiGetRulesTestCaseRequest) (*RulesTestCase, *http.Response, error)

	/*
		GetRulesTestCases Get rules test cases

		Gets a list of rules test cases 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 ApiGetRulesTestCasesRequest
	*/
	GetRulesTestCases(ctx context.Context, orgId string) ApiGetRulesTestCasesRequest

	// GetRulesTestCasesExecute executes the request
	//  @return RulesTestCases
	GetRulesTestCasesExecute(r ApiGetRulesTestCasesRequest) (*RulesTestCases, *http.Response, error)

	/*
		UpdateRulesTestCase Update a rules test case

		Updates a rules test case 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 rulesTestCaseId Rules test case ID
		@return ApiUpdateRulesTestCaseRequest
	*/
	UpdateRulesTestCase(ctx context.Context, orgId string, rulesTestCaseId string) ApiUpdateRulesTestCaseRequest

	// UpdateRulesTestCaseExecute executes the request
	//  @return RulesTestCase
	UpdateRulesTestCaseExecute(r ApiUpdateRulesTestCaseRequest) (*RulesTestCase, *http.Response, error)
}

type RulesTestCasesAPIService

type RulesTestCasesAPIService service

RulesTestCasesAPIService RulesTestCasesAPI service

func (*RulesTestCasesAPIService) CreateRulesTestCase

CreateRulesTestCase Create a new rules test case

Creates a new rules test case 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 ApiCreateRulesTestCaseRequest

func (*RulesTestCasesAPIService) CreateRulesTestCaseExecute

Execute executes the request

@return RulesTestCase

func (*RulesTestCasesAPIService) DeleteRulesTestCase

func (a *RulesTestCasesAPIService) DeleteRulesTestCase(ctx context.Context, orgId string, rulesTestCaseId string) ApiDeleteRulesTestCaseRequest

DeleteRulesTestCase Delete a rules test case

Deletes a rules test case 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 rulesTestCaseId Rules test case ID
@return ApiDeleteRulesTestCaseRequest

func (*RulesTestCasesAPIService) DeleteRulesTestCaseExecute

func (a *RulesTestCasesAPIService) DeleteRulesTestCaseExecute(r ApiDeleteRulesTestCaseRequest) (*http.Response, error)

Execute executes the request

func (*RulesTestCasesAPIService) GetRulesTestCase

func (a *RulesTestCasesAPIService) GetRulesTestCase(ctx context.Context, orgId string, rulesTestCaseId string) ApiGetRulesTestCaseRequest

GetRulesTestCase Get a rules test case

Gets a rules test case 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 rulesTestCaseId Rules test case ID
@return ApiGetRulesTestCaseRequest

func (*RulesTestCasesAPIService) GetRulesTestCaseExecute

Execute executes the request

@return RulesTestCase

func (*RulesTestCasesAPIService) GetRulesTestCases

GetRulesTestCases Get rules test cases

Gets a list of rules test cases 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 ApiGetRulesTestCasesRequest

func (*RulesTestCasesAPIService) GetRulesTestCasesExecute

Execute executes the request

@return RulesTestCases

func (*RulesTestCasesAPIService) UpdateRulesTestCase

func (a *RulesTestCasesAPIService) UpdateRulesTestCase(ctx context.Context, orgId string, rulesTestCaseId string) ApiUpdateRulesTestCaseRequest

UpdateRulesTestCase Update a rules test case

Updates a rules test case 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 rulesTestCaseId Rules test case ID
@return ApiUpdateRulesTestCaseRequest

func (*RulesTestCasesAPIService) UpdateRulesTestCaseExecute

Execute executes the request

@return RulesTestCase

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"`
	// The current revision of the spec.
	Revision int32 `json:"revision"`
	// A list of revisions for a spec.
	Revisions []Revision `json:"revisions"`
	// The analysis score for a spec.
	Score NullableFloat32 `json:"score"`
	// 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"`
	AdditionalProperties map[string]interface{}
}

Spec struct for Spec

func NewSpec

func NewSpec(id string, name string, spec string, revision int32, revisions []Revision, score NullableFloat32, 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) 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) GetRevisions

func (o *Spec) GetRevisions() []Revision

GetRevisions returns the Revisions field value

func (*Spec) GetRevisionsOk

func (o *Spec) GetRevisionsOk() ([]Revision, bool)

GetRevisionsOk returns a tuple with the Revisions 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 the value is explicit nil, the zero value for float32 will be returned

func (*Spec) GetScoreOk

func (o *Spec) GetScoreOk() (*float32, bool)

GetScoreOk returns a tuple with the Score 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) 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) 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) 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) SetRevisions

func (o *Spec) SetRevisions(v []Revision)

SetRevisions sets field value

func (*Spec) SetScore

func (o *Spec) SetScore(v float32)

SetScore sets field value

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) UnmarshalJSON

func (o *Spec) UnmarshalJSON(data []byte) (err error)

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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*SpecPostBody) UnmarshalJSON

func (o *SpecPostBody) UnmarshalJSON(data []byte) (err 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) 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 Tag added in v0.9.0

type Tag struct {
	// The tag name.
	Name string `json:"name"`
	// A formatted version of the tag name.
	DisplayName string `json:"display_name"`
	Type        string `json:"type"`
	// A description of the tag.
	Description string `json:"description"`
	// A risk statement for the tag.
	RiskStatement string           `json:"risk_statement"`
	Remediations  []TagRemediation `json:"remediations"`
	// An external URL for the tag.
	ExternalUrl string `json:"external_url"`
	// The category of the tag.
	Category string `json:"category"`
	// The applied labels.
	Labels []string `json:"labels"`
	// The unique identifier of the user who created the test case.
	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"`
	// The unique identifier of the user who last updated the test case.
	UpdatedBy NullableString `json:"updated_by"`
	// The date and time in [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) format.
	UpdatedAt            NullableTime `json:"updated_at"`
	AdditionalProperties map[string]interface{}
}

Tag struct for Tag

func NewTag added in v0.9.0

func NewTag(name string, displayName string, type_ string, description string, riskStatement string, remediations []TagRemediation, externalUrl string, category string, labels []string, createdBy string, createdAt time.Time, updatedBy NullableString, updatedAt NullableTime) *Tag

NewTag instantiates a new Tag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagWithDefaults added in v0.9.0

func NewTagWithDefaults() *Tag

NewTagWithDefaults instantiates a new Tag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Tag) GetCategory added in v0.9.0

func (o *Tag) GetCategory() string

GetCategory returns the Category field value

func (*Tag) GetCategoryOk added in v0.9.0

func (o *Tag) GetCategoryOk() (*string, bool)

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.

func (*Tag) GetCreatedAt added in v0.9.0

func (o *Tag) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Tag) GetCreatedAtOk added in v0.9.0

func (o *Tag) 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 (*Tag) GetCreatedBy added in v0.9.0

func (o *Tag) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Tag) GetCreatedByOk added in v0.9.0

func (o *Tag) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*Tag) GetDescription added in v0.9.0

func (o *Tag) GetDescription() string

GetDescription returns the Description field value

func (*Tag) GetDescriptionOk added in v0.9.0

func (o *Tag) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*Tag) GetDisplayName added in v0.9.0

func (o *Tag) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Tag) GetDisplayNameOk added in v0.9.0

func (o *Tag) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*Tag) GetExternalUrl added in v0.9.0

func (o *Tag) GetExternalUrl() string

GetExternalUrl returns the ExternalUrl field value

func (*Tag) GetExternalUrlOk added in v0.9.0

func (o *Tag) GetExternalUrlOk() (*string, bool)

GetExternalUrlOk returns a tuple with the ExternalUrl field value and a boolean to check if the value has been set.

func (*Tag) GetLabels added in v0.9.0

func (o *Tag) GetLabels() []string

GetLabels returns the Labels field value

func (*Tag) GetLabelsOk added in v0.9.0

func (o *Tag) GetLabelsOk() ([]string, bool)

GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.

func (*Tag) GetName added in v0.9.0

func (o *Tag) GetName() string

GetName returns the Name field value

func (*Tag) GetNameOk added in v0.9.0

func (o *Tag) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Tag) GetRemediations added in v0.9.0

func (o *Tag) GetRemediations() []TagRemediation

GetRemediations returns the Remediations field value

func (*Tag) GetRemediationsOk added in v0.9.0

func (o *Tag) GetRemediationsOk() ([]TagRemediation, bool)

GetRemediationsOk returns a tuple with the Remediations field value and a boolean to check if the value has been set.

func (*Tag) GetRiskStatement added in v0.9.0

func (o *Tag) GetRiskStatement() string

GetRiskStatement returns the RiskStatement field value

func (*Tag) GetRiskStatementOk added in v0.9.0

func (o *Tag) GetRiskStatementOk() (*string, bool)

GetRiskStatementOk returns a tuple with the RiskStatement field value and a boolean to check if the value has been set.

func (*Tag) GetType added in v0.9.0

func (o *Tag) GetType() string

GetType returns the Type field value

func (*Tag) GetTypeOk added in v0.9.0

func (o *Tag) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Tag) GetUpdatedAt added in v0.9.0

func (o *Tag) 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 (*Tag) GetUpdatedAtOk added in v0.9.0

func (o *Tag) 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 (*Tag) GetUpdatedBy added in v0.9.0

func (o *Tag) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Tag) GetUpdatedByOk added in v0.9.0

func (o *Tag) 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 (Tag) MarshalJSON added in v0.9.0

func (o Tag) MarshalJSON() ([]byte, error)

func (*Tag) SetCategory added in v0.9.0

func (o *Tag) SetCategory(v string)

SetCategory sets field value

func (*Tag) SetCreatedAt added in v0.9.0

func (o *Tag) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Tag) SetCreatedBy added in v0.9.0

func (o *Tag) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Tag) SetDescription added in v0.9.0

func (o *Tag) SetDescription(v string)

SetDescription sets field value

func (*Tag) SetDisplayName added in v0.9.0

func (o *Tag) SetDisplayName(v string)

SetDisplayName sets field value

func (*Tag) SetExternalUrl added in v0.9.0

func (o *Tag) SetExternalUrl(v string)

SetExternalUrl sets field value

func (*Tag) SetLabels added in v0.9.0

func (o *Tag) SetLabels(v []string)

SetLabels sets field value

func (*Tag) SetName added in v0.9.0

func (o *Tag) SetName(v string)

SetName sets field value

func (*Tag) SetRemediations added in v0.9.0

func (o *Tag) SetRemediations(v []TagRemediation)

SetRemediations sets field value

func (*Tag) SetRiskStatement added in v0.9.0

func (o *Tag) SetRiskStatement(v string)

SetRiskStatement sets field value

func (*Tag) SetType added in v0.9.0

func (o *Tag) SetType(v string)

SetType sets field value

func (*Tag) SetUpdatedAt added in v0.9.0

func (o *Tag) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*Tag) SetUpdatedBy added in v0.9.0

func (o *Tag) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (Tag) ToMap added in v0.9.0

func (o Tag) ToMap() (map[string]interface{}, error)

func (*Tag) UnmarshalJSON added in v0.9.0

func (o *Tag) UnmarshalJSON(data []byte) (err error)

type TagPostBody added in v0.9.0

type TagPostBody struct {
	// The tag name.
	Name string `json:"name"`
	// A description of the tag.
	Description *string `json:"description,omitempty"`
	// A risk statement for the tag.
	RiskStatement *string          `json:"risk_statement,omitempty"`
	Remediations  []TagRemediation `json:"remediations,omitempty"`
	// An external URL for the tag.
	ExternalUrl *string `json:"external_url,omitempty"`
	// The applied labels.
	Labels               []string `json:"labels,omitempty"`
	AdditionalProperties map[string]interface{}
}

TagPostBody struct for TagPostBody

func NewTagPostBody added in v0.9.0

func NewTagPostBody(name string) *TagPostBody

NewTagPostBody instantiates a new TagPostBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagPostBodyWithDefaults added in v0.9.0

func NewTagPostBodyWithDefaults() *TagPostBody

NewTagPostBodyWithDefaults instantiates a new TagPostBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TagPostBody) GetDescription added in v0.9.0

func (o *TagPostBody) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*TagPostBody) GetDescriptionOk added in v0.9.0

func (o *TagPostBody) 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 (*TagPostBody) GetExternalUrl added in v0.9.0

func (o *TagPostBody) GetExternalUrl() string

GetExternalUrl returns the ExternalUrl field value if set, zero value otherwise.

func (*TagPostBody) GetExternalUrlOk added in v0.9.0

func (o *TagPostBody) GetExternalUrlOk() (*string, bool)

GetExternalUrlOk returns a tuple with the ExternalUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TagPostBody) GetLabels added in v0.9.0

func (o *TagPostBody) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*TagPostBody) GetLabelsOk added in v0.9.0

func (o *TagPostBody) GetLabelsOk() ([]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TagPostBody) GetName added in v0.9.0

func (o *TagPostBody) GetName() string

GetName returns the Name field value

func (*TagPostBody) GetNameOk added in v0.9.0

func (o *TagPostBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TagPostBody) GetRemediations added in v0.9.0

func (o *TagPostBody) GetRemediations() []TagRemediation

GetRemediations returns the Remediations field value if set, zero value otherwise.

func (*TagPostBody) GetRemediationsOk added in v0.9.0

func (o *TagPostBody) GetRemediationsOk() ([]TagRemediation, bool)

GetRemediationsOk returns a tuple with the Remediations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TagPostBody) GetRiskStatement added in v0.9.0

func (o *TagPostBody) GetRiskStatement() string

GetRiskStatement returns the RiskStatement field value if set, zero value otherwise.

func (*TagPostBody) GetRiskStatementOk added in v0.9.0

func (o *TagPostBody) GetRiskStatementOk() (*string, bool)

GetRiskStatementOk returns a tuple with the RiskStatement field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TagPostBody) HasDescription added in v0.9.0

func (o *TagPostBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TagPostBody) HasExternalUrl added in v0.9.0

func (o *TagPostBody) HasExternalUrl() bool

HasExternalUrl returns a boolean if a field has been set.

func (*TagPostBody) HasLabels added in v0.9.0

func (o *TagPostBody) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*TagPostBody) HasRemediations added in v0.9.0

func (o *TagPostBody) HasRemediations() bool

HasRemediations returns a boolean if a field has been set.

func (*TagPostBody) HasRiskStatement added in v0.9.0

func (o *TagPostBody) HasRiskStatement() bool

HasRiskStatement returns a boolean if a field has been set.

func (TagPostBody) MarshalJSON added in v0.9.0

func (o TagPostBody) MarshalJSON() ([]byte, error)

func (*TagPostBody) SetDescription added in v0.9.0

func (o *TagPostBody) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*TagPostBody) SetExternalUrl added in v0.9.0

func (o *TagPostBody) SetExternalUrl(v string)

SetExternalUrl gets a reference to the given string and assigns it to the ExternalUrl field.

func (*TagPostBody) SetLabels added in v0.9.0

func (o *TagPostBody) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*TagPostBody) SetName added in v0.9.0

func (o *TagPostBody) SetName(v string)

SetName sets field value

func (*TagPostBody) SetRemediations added in v0.9.0

func (o *TagPostBody) SetRemediations(v []TagRemediation)

SetRemediations gets a reference to the given []TagRemediation and assigns it to the Remediations field.

func (*TagPostBody) SetRiskStatement added in v0.9.0

func (o *TagPostBody) SetRiskStatement(v string)

SetRiskStatement gets a reference to the given string and assigns it to the RiskStatement field.

func (TagPostBody) ToMap added in v0.9.0

func (o TagPostBody) ToMap() (map[string]interface{}, error)

func (*TagPostBody) UnmarshalJSON added in v0.9.0

func (o *TagPostBody) UnmarshalJSON(data []byte) (err error)

type TagPutBody added in v0.9.0

type TagPutBody struct {
	// A description of the tag.
	Description *string `json:"description,omitempty"`
	// A risk statement for the tag.
	RiskStatement *string          `json:"risk_statement,omitempty"`
	Remediations  []TagRemediation `json:"remediations,omitempty"`
	// An external URL for the tag.
	ExternalUrl *string `json:"external_url,omitempty"`
	// The applied labels.
	Labels               []string `json:"labels,omitempty"`
	AdditionalProperties map[string]interface{}
}

TagPutBody struct for TagPutBody

func NewTagPutBody added in v0.9.0

func NewTagPutBody() *TagPutBody

NewTagPutBody instantiates a new TagPutBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagPutBodyWithDefaults added in v0.9.0

func NewTagPutBodyWithDefaults() *TagPutBody

NewTagPutBodyWithDefaults instantiates a new TagPutBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TagPutBody) GetDescription added in v0.9.0

func (o *TagPutBody) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*TagPutBody) GetDescriptionOk added in v0.9.0

func (o *TagPutBody) 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 (*TagPutBody) GetExternalUrl added in v0.9.0

func (o *TagPutBody) GetExternalUrl() string

GetExternalUrl returns the ExternalUrl field value if set, zero value otherwise.

func (*TagPutBody) GetExternalUrlOk added in v0.9.0

func (o *TagPutBody) GetExternalUrlOk() (*string, bool)

GetExternalUrlOk returns a tuple with the ExternalUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TagPutBody) GetLabels added in v0.9.0

func (o *TagPutBody) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*TagPutBody) GetLabelsOk added in v0.9.0

func (o *TagPutBody) GetLabelsOk() ([]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TagPutBody) GetRemediations added in v0.9.0

func (o *TagPutBody) GetRemediations() []TagRemediation

GetRemediations returns the Remediations field value if set, zero value otherwise.

func (*TagPutBody) GetRemediationsOk added in v0.9.0

func (o *TagPutBody) GetRemediationsOk() ([]TagRemediation, bool)

GetRemediationsOk returns a tuple with the Remediations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TagPutBody) GetRiskStatement added in v0.9.0

func (o *TagPutBody) GetRiskStatement() string

GetRiskStatement returns the RiskStatement field value if set, zero value otherwise.

func (*TagPutBody) GetRiskStatementOk added in v0.9.0

func (o *TagPutBody) GetRiskStatementOk() (*string, bool)

GetRiskStatementOk returns a tuple with the RiskStatement field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TagPutBody) HasDescription added in v0.9.0

func (o *TagPutBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TagPutBody) HasExternalUrl added in v0.9.0

func (o *TagPutBody) HasExternalUrl() bool

HasExternalUrl returns a boolean if a field has been set.

func (*TagPutBody) HasLabels added in v0.9.0

func (o *TagPutBody) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*TagPutBody) HasRemediations added in v0.9.0

func (o *TagPutBody) HasRemediations() bool

HasRemediations returns a boolean if a field has been set.

func (*TagPutBody) HasRiskStatement added in v0.9.0

func (o *TagPutBody) HasRiskStatement() bool

HasRiskStatement returns a boolean if a field has been set.

func (TagPutBody) MarshalJSON added in v0.9.0

func (o TagPutBody) MarshalJSON() ([]byte, error)

func (*TagPutBody) SetDescription added in v0.9.0

func (o *TagPutBody) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*TagPutBody) SetExternalUrl added in v0.9.0

func (o *TagPutBody) SetExternalUrl(v string)

SetExternalUrl gets a reference to the given string and assigns it to the ExternalUrl field.

func (*TagPutBody) SetLabels added in v0.9.0

func (o *TagPutBody) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*TagPutBody) SetRemediations added in v0.9.0

func (o *TagPutBody) SetRemediations(v []TagRemediation)

SetRemediations gets a reference to the given []TagRemediation and assigns it to the Remediations field.

func (*TagPutBody) SetRiskStatement added in v0.9.0

func (o *TagPutBody) SetRiskStatement(v string)

SetRiskStatement gets a reference to the given string and assigns it to the RiskStatement field.

func (TagPutBody) ToMap added in v0.9.0

func (o TagPutBody) ToMap() (map[string]interface{}, error)

func (*TagPutBody) UnmarshalJSON added in v0.9.0

func (o *TagPutBody) UnmarshalJSON(data []byte) (err error)

type TagRemediation added in v0.9.0

type TagRemediation struct {
	// A description of the remediation.
	Description string `json:"description"`
	// Possible remediation action for the tag.
	Action               string `json:"action"`
	AdditionalProperties map[string]interface{}
}

TagRemediation struct for TagRemediation

func NewTagRemediation added in v0.9.0

func NewTagRemediation(description string, action string) *TagRemediation

NewTagRemediation instantiates a new TagRemediation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagRemediationWithDefaults added in v0.9.0

func NewTagRemediationWithDefaults() *TagRemediation

NewTagRemediationWithDefaults instantiates a new TagRemediation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TagRemediation) GetAction added in v0.9.0

func (o *TagRemediation) GetAction() string

GetAction returns the Action field value

func (*TagRemediation) GetActionOk added in v0.9.0

func (o *TagRemediation) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.

func (*TagRemediation) GetDescription added in v0.9.0

func (o *TagRemediation) GetDescription() string

GetDescription returns the Description field value

func (*TagRemediation) GetDescriptionOk added in v0.9.0

func (o *TagRemediation) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (TagRemediation) MarshalJSON added in v0.9.0

func (o TagRemediation) MarshalJSON() ([]byte, error)

func (*TagRemediation) SetAction added in v0.9.0

func (o *TagRemediation) SetAction(v string)

SetAction sets field value

func (*TagRemediation) SetDescription added in v0.9.0

func (o *TagRemediation) SetDescription(v string)

SetDescription sets field value

func (TagRemediation) ToMap added in v0.9.0

func (o TagRemediation) ToMap() (map[string]interface{}, error)

func (*TagRemediation) UnmarshalJSON added in v0.9.0

func (o *TagRemediation) UnmarshalJSON(data []byte) (err error)

type Tags added in v0.9.0

type Tags struct {
	// A list of tags.
	Items                []Tag           `json:"items"`
	Meta                 *CollectionMeta `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{}
}

Tags struct for Tags

func NewTags added in v0.9.0

func NewTags(items []Tag) *Tags

NewTags instantiates a new Tags object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagsWithDefaults added in v0.9.0

func NewTagsWithDefaults() *Tags

NewTagsWithDefaults instantiates a new Tags object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Tags) GetItems added in v0.9.0

func (o *Tags) GetItems() []Tag

GetItems returns the Items field value

func (*Tags) GetItemsOk added in v0.9.0

func (o *Tags) GetItemsOk() ([]Tag, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*Tags) GetMeta added in v0.9.0

func (o *Tags) GetMeta() CollectionMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*Tags) GetMetaOk added in v0.9.0

func (o *Tags) GetMetaOk() (*CollectionMeta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tags) HasMeta added in v0.9.0

func (o *Tags) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (Tags) MarshalJSON added in v0.9.0

func (o Tags) MarshalJSON() ([]byte, error)

func (*Tags) SetItems added in v0.9.0

func (o *Tags) SetItems(v []Tag)

SetItems sets field value

func (*Tags) SetMeta added in v0.9.0

func (o *Tags) SetMeta(v CollectionMeta)

SetMeta gets a reference to the given CollectionMeta and assigns it to the Meta field.

func (Tags) ToMap added in v0.9.0

func (o Tags) ToMap() (map[string]interface{}, error)

func (*Tags) UnmarshalJSON added in v0.9.0

func (o *Tags) UnmarshalJSON(data []byte) (err error)

type TagsAPI added in v0.9.0

type TagsAPI interface {

	/*
		CreateTag Create a tag

		Creates a tag 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 ApiCreateTagRequest
	*/
	CreateTag(ctx context.Context, orgId string) ApiCreateTagRequest

	// CreateTagExecute executes the request
	//  @return Tag
	CreateTagExecute(r ApiCreateTagRequest) (*Tag, *http.Response, error)

	/*
		DeleteTag Delete a tag

		Deletes a tag 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 tagName Tag name
		@return ApiDeleteTagRequest
	*/
	DeleteTag(ctx context.Context, orgId string, tagName string) ApiDeleteTagRequest

	// DeleteTagExecute executes the request
	DeleteTagExecute(r ApiDeleteTagRequest) (*http.Response, error)

	/*
		GetTag Get a tag

		Gets a tag 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 tagName Tag name
		@return ApiGetTagRequest
	*/
	GetTag(ctx context.Context, orgId string, tagName string) ApiGetTagRequest

	// GetTagExecute executes the request
	//  @return Tag
	GetTagExecute(r ApiGetTagRequest) (*Tag, *http.Response, error)

	/*
		GetTags Get tags

		Gets a list of tags 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 ApiGetTagsRequest
	*/
	GetTags(ctx context.Context, orgId string) ApiGetTagsRequest

	// GetTagsExecute executes the request
	//  @return Tags
	GetTagsExecute(r ApiGetTagsRequest) (*Tags, *http.Response, error)

	/*
		UpdateTag Update a tag

		Updates a tag 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 tagName Tag name
		@return ApiUpdateTagRequest
	*/
	UpdateTag(ctx context.Context, orgId string, tagName string) ApiUpdateTagRequest

	// UpdateTagExecute executes the request
	//  @return Tag
	UpdateTagExecute(r ApiUpdateTagRequest) (*Tag, *http.Response, error)
}

type TagsAPIService added in v0.9.0

type TagsAPIService service

TagsAPIService TagsAPI service

func (*TagsAPIService) CreateTag added in v0.9.0

func (a *TagsAPIService) CreateTag(ctx context.Context, orgId string) ApiCreateTagRequest

CreateTag Create a tag

Creates a tag 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 ApiCreateTagRequest

func (*TagsAPIService) CreateTagExecute added in v0.9.0

func (a *TagsAPIService) CreateTagExecute(r ApiCreateTagRequest) (*Tag, *http.Response, error)

Execute executes the request

@return Tag

func (*TagsAPIService) DeleteTag added in v0.9.0

func (a *TagsAPIService) DeleteTag(ctx context.Context, orgId string, tagName string) ApiDeleteTagRequest

DeleteTag Delete a tag

Deletes a tag 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 tagName Tag name
@return ApiDeleteTagRequest

func (*TagsAPIService) DeleteTagExecute added in v0.9.0

func (a *TagsAPIService) DeleteTagExecute(r ApiDeleteTagRequest) (*http.Response, error)

Execute executes the request

func (*TagsAPIService) GetTag added in v0.9.0

func (a *TagsAPIService) GetTag(ctx context.Context, orgId string, tagName string) ApiGetTagRequest

GetTag Get a tag

Gets a tag 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 tagName Tag name
@return ApiGetTagRequest

func (*TagsAPIService) GetTagExecute added in v0.9.0

func (a *TagsAPIService) GetTagExecute(r ApiGetTagRequest) (*Tag, *http.Response, error)

Execute executes the request

@return Tag

func (*TagsAPIService) GetTags added in v0.9.0

func (a *TagsAPIService) GetTags(ctx context.Context, orgId string) ApiGetTagsRequest

GetTags Get tags

Gets a list of tags 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 ApiGetTagsRequest

func (*TagsAPIService) GetTagsExecute added in v0.9.0

func (a *TagsAPIService) GetTagsExecute(r ApiGetTagsRequest) (*Tags, *http.Response, error)

Execute executes the request

@return Tags

func (*TagsAPIService) UpdateTag added in v0.9.0

func (a *TagsAPIService) UpdateTag(ctx context.Context, orgId string, tagName string) ApiUpdateTagRequest

UpdateTag Update a tag

Updates a tag 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 tagName Tag name
@return ApiUpdateTagRequest

func (*TagsAPIService) UpdateTagExecute added in v0.9.0

func (a *TagsAPIService) UpdateTagExecute(r ApiUpdateTagRequest) (*Tag, *http.Response, error)

Execute executes the request

@return Tag

type TokenInfo

type TokenInfo struct {
	// ID of the user.
	UserId string `json:"user_id"`
	// ID of the org.
	OrgId                string `json:"org_id"`
	AdditionalProperties map[string]interface{}
}

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)

func (*TokenInfo) UnmarshalJSON

func (o *TokenInfo) UnmarshalJSON(data []byte) (err 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