datadog

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 26 Imported by: 17

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

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

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

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

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

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

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

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

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

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

Functions ¶

func ContainsUnparsedObject ¶ added in v1.3.0

func ContainsUnparsedObject(i interface{}) (bool, interface{})

ContainsUnparsedObject returns true if the given data contains an unparsed object from the API.

func NewDefaultContext ¶

func NewDefaultContext(ctx context.Context) context.Context

NewDefaultContext returns a new context setup with environment variables.

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 {
	AuditApi *AuditApiService

	AuthNMappingsApi *AuthNMappingsApiService

	CloudWorkloadSecurityApi *CloudWorkloadSecurityApiService

	DashboardListsApi *DashboardListsApiService

	IncidentServicesApi *IncidentServicesApiService

	IncidentTeamsApi *IncidentTeamsApiService

	IncidentsApi *IncidentsApiService

	KeyManagementApi *KeyManagementApiService

	LogsApi *LogsApiService

	LogsArchivesApi *LogsArchivesApiService

	LogsMetricsApi *LogsMetricsApiService

	MetricsApi *MetricsApiService

	OpsgenieIntegrationApi *OpsgenieIntegrationApiService

	OrganizationsApi *OrganizationsApiService

	ProcessesApi *ProcessesApiService

	RolesApi *RolesApiService

	RUMApi *RUMApiService

	SecurityMonitoringApi *SecurityMonitoringApiService

	ServiceAccountsApi *ServiceAccountsApiService

	UsageMeteringApi *UsageMeteringApiService

	UsersApi *UsersApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Datadog API V2 Collection API v1.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) CallAPI ¶

func (c *APIClient) CallAPI(request *http.Request) (*http.Response, error)

CallAPI do the request.

func (*APIClient) GetConfig ¶

func (c *APIClient) GetConfig() *Configuration

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

func (*APIClient) PrepareRequest ¶

func (c *APIClient) PrepareRequest(
	ctx context.Context,
	path string, method string,
	postBody interface{},
	headerParams map[string]string,
	queryParams url.Values,
	formParams url.Values,
	formFile *FormFile) (localVarRequest *http.Request, err error)

PrepareRequest build the request.

type APIErrorResponse ¶

type APIErrorResponse struct {
	// A list of errors.
	Errors []string `json:"errors"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIErrorResponse API error response.

func NewAPIErrorResponse ¶

func NewAPIErrorResponse(errors []string) *APIErrorResponse

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

func NewAPIErrorResponseWithDefaults ¶

func NewAPIErrorResponseWithDefaults() *APIErrorResponse

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

func (*APIErrorResponse) GetErrors ¶

func (o *APIErrorResponse) GetErrors() []string

GetErrors returns the Errors field value.

func (*APIErrorResponse) GetErrorsOk ¶

func (o *APIErrorResponse) GetErrorsOk() (*[]string, bool)

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

func (APIErrorResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIErrorResponse) SetErrors ¶

func (o *APIErrorResponse) SetErrors(v []string)

SetErrors sets field value.

func (*APIErrorResponse) UnmarshalJSON ¶

func (o *APIErrorResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKey ¶

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIKeyCreateAttributes ¶

type APIKeyCreateAttributes struct {
	// Name of the API key.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIKeyCreateAttributes Attributes used to create an API Key.

func NewAPIKeyCreateAttributes ¶

func NewAPIKeyCreateAttributes(name string) *APIKeyCreateAttributes

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

func NewAPIKeyCreateAttributesWithDefaults ¶

func NewAPIKeyCreateAttributesWithDefaults() *APIKeyCreateAttributes

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

func (*APIKeyCreateAttributes) GetName ¶

func (o *APIKeyCreateAttributes) GetName() string

GetName returns the Name field value.

func (*APIKeyCreateAttributes) GetNameOk ¶

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

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

func (APIKeyCreateAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIKeyCreateAttributes) SetName ¶

func (o *APIKeyCreateAttributes) SetName(v string)

SetName sets field value.

func (*APIKeyCreateAttributes) UnmarshalJSON ¶

func (o *APIKeyCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKeyCreateData ¶

type APIKeyCreateData struct {
	// Attributes used to create an API Key.
	Attributes APIKeyCreateAttributes `json:"attributes"`
	// API Keys resource type.
	Type APIKeysType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIKeyCreateData Object used to create an API key.

func NewAPIKeyCreateData ¶

func NewAPIKeyCreateData(attributes APIKeyCreateAttributes, typeVar APIKeysType) *APIKeyCreateData

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

func NewAPIKeyCreateDataWithDefaults ¶

func NewAPIKeyCreateDataWithDefaults() *APIKeyCreateData

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

func (*APIKeyCreateData) GetAttributes ¶

func (o *APIKeyCreateData) GetAttributes() APIKeyCreateAttributes

GetAttributes returns the Attributes field value.

func (*APIKeyCreateData) GetAttributesOk ¶

func (o *APIKeyCreateData) GetAttributesOk() (*APIKeyCreateAttributes, bool)

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

func (*APIKeyCreateData) GetType ¶

func (o *APIKeyCreateData) GetType() APIKeysType

GetType returns the Type field value.

func (*APIKeyCreateData) GetTypeOk ¶

func (o *APIKeyCreateData) GetTypeOk() (*APIKeysType, bool)

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

func (APIKeyCreateData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIKeyCreateData) SetAttributes ¶

func (o *APIKeyCreateData) SetAttributes(v APIKeyCreateAttributes)

SetAttributes sets field value.

func (*APIKeyCreateData) SetType ¶

func (o *APIKeyCreateData) SetType(v APIKeysType)

SetType sets field value.

func (*APIKeyCreateData) UnmarshalJSON ¶

func (o *APIKeyCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKeyCreateRequest ¶

type APIKeyCreateRequest struct {
	// Object used to create an API key.
	Data APIKeyCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIKeyCreateRequest Request used to create an API key.

func NewAPIKeyCreateRequest ¶

func NewAPIKeyCreateRequest(data APIKeyCreateData) *APIKeyCreateRequest

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

func NewAPIKeyCreateRequestWithDefaults ¶

func NewAPIKeyCreateRequestWithDefaults() *APIKeyCreateRequest

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

func (*APIKeyCreateRequest) GetData ¶

GetData returns the Data field value.

func (*APIKeyCreateRequest) GetDataOk ¶

func (o *APIKeyCreateRequest) GetDataOk() (*APIKeyCreateData, bool)

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

func (APIKeyCreateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIKeyCreateRequest) SetData ¶

func (o *APIKeyCreateRequest) SetData(v APIKeyCreateData)

SetData sets field value.

func (*APIKeyCreateRequest) UnmarshalJSON ¶

func (o *APIKeyCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKeyRelationships ¶

type APIKeyRelationships struct {
	// Relationship to user.
	CreatedBy *RelationshipToUser `json:"created_by,omitempty"`
	// Relationship to user.
	ModifiedBy *RelationshipToUser `json:"modified_by,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIKeyRelationships Resources related to the API key.

func NewAPIKeyRelationships ¶

func NewAPIKeyRelationships() *APIKeyRelationships

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

func NewAPIKeyRelationshipsWithDefaults ¶

func NewAPIKeyRelationshipsWithDefaults() *APIKeyRelationships

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

func (*APIKeyRelationships) GetCreatedBy ¶

func (o *APIKeyRelationships) GetCreatedBy() RelationshipToUser

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*APIKeyRelationships) GetCreatedByOk ¶

func (o *APIKeyRelationships) GetCreatedByOk() (*RelationshipToUser, bool)

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

func (*APIKeyRelationships) GetModifiedBy ¶

func (o *APIKeyRelationships) GetModifiedBy() RelationshipToUser

GetModifiedBy returns the ModifiedBy field value if set, zero value otherwise.

func (*APIKeyRelationships) GetModifiedByOk ¶

func (o *APIKeyRelationships) GetModifiedByOk() (*RelationshipToUser, bool)

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

func (*APIKeyRelationships) HasCreatedBy ¶

func (o *APIKeyRelationships) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*APIKeyRelationships) HasModifiedBy ¶

func (o *APIKeyRelationships) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

func (APIKeyRelationships) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIKeyRelationships) SetCreatedBy ¶

func (o *APIKeyRelationships) SetCreatedBy(v RelationshipToUser)

SetCreatedBy gets a reference to the given RelationshipToUser and assigns it to the CreatedBy field.

func (*APIKeyRelationships) SetModifiedBy ¶

func (o *APIKeyRelationships) SetModifiedBy(v RelationshipToUser)

SetModifiedBy gets a reference to the given RelationshipToUser and assigns it to the ModifiedBy field.

func (*APIKeyRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *APIKeyRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKeyResponse ¶

type APIKeyResponse struct {
	// Datadog API key.
	Data *FullAPIKey `json:"data,omitempty"`
	// Array of objects related to the API key.
	Included []APIKeyResponseIncludedItem `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIKeyResponse Response for retrieving an API key.

func NewAPIKeyResponse ¶

func NewAPIKeyResponse() *APIKeyResponse

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

func NewAPIKeyResponseWithDefaults ¶

func NewAPIKeyResponseWithDefaults() *APIKeyResponse

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

func (*APIKeyResponse) GetData ¶

func (o *APIKeyResponse) GetData() FullAPIKey

GetData returns the Data field value if set, zero value otherwise.

func (*APIKeyResponse) GetDataOk ¶

func (o *APIKeyResponse) GetDataOk() (*FullAPIKey, bool)

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

func (*APIKeyResponse) GetIncluded ¶

func (o *APIKeyResponse) GetIncluded() []APIKeyResponseIncludedItem

GetIncluded returns the Included field value if set, zero value otherwise.

func (*APIKeyResponse) GetIncludedOk ¶

func (o *APIKeyResponse) GetIncludedOk() (*[]APIKeyResponseIncludedItem, bool)

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

func (*APIKeyResponse) HasData ¶

func (o *APIKeyResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*APIKeyResponse) HasIncluded ¶

func (o *APIKeyResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (APIKeyResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIKeyResponse) SetData ¶

func (o *APIKeyResponse) SetData(v FullAPIKey)

SetData gets a reference to the given FullAPIKey and assigns it to the Data field.

func (*APIKeyResponse) SetIncluded ¶

func (o *APIKeyResponse) SetIncluded(v []APIKeyResponseIncludedItem)

SetIncluded gets a reference to the given []APIKeyResponseIncludedItem and assigns it to the Included field.

func (*APIKeyResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *APIKeyResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKeyResponseIncludedItem ¶

type APIKeyResponseIncludedItem struct {
	User *User

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

APIKeyResponseIncludedItem - An object related to an API key.

func UserAsAPIKeyResponseIncludedItem ¶

func UserAsAPIKeyResponseIncludedItem(v *User) APIKeyResponseIncludedItem

UserAsAPIKeyResponseIncludedItem is a convenience function that returns User wrapped in APIKeyResponseIncludedItem.

func (*APIKeyResponseIncludedItem) GetActualInstance ¶

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

GetActualInstance returns the actual instance.

func (APIKeyResponseIncludedItem) MarshalJSON ¶

func (obj APIKeyResponseIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*APIKeyResponseIncludedItem) UnmarshalJSON ¶

func (obj *APIKeyResponseIncludedItem) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type APIKeyUpdateAttributes ¶

type APIKeyUpdateAttributes struct {
	// Name of the API key.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIKeyUpdateAttributes Attributes used to update an API Key.

func NewAPIKeyUpdateAttributes ¶

func NewAPIKeyUpdateAttributes(name string) *APIKeyUpdateAttributes

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

func NewAPIKeyUpdateAttributesWithDefaults ¶

func NewAPIKeyUpdateAttributesWithDefaults() *APIKeyUpdateAttributes

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

func (*APIKeyUpdateAttributes) GetName ¶

func (o *APIKeyUpdateAttributes) GetName() string

GetName returns the Name field value.

func (*APIKeyUpdateAttributes) GetNameOk ¶

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

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

func (APIKeyUpdateAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIKeyUpdateAttributes) SetName ¶

func (o *APIKeyUpdateAttributes) SetName(v string)

SetName sets field value.

func (*APIKeyUpdateAttributes) UnmarshalJSON ¶

func (o *APIKeyUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKeyUpdateData ¶

type APIKeyUpdateData struct {
	// Attributes used to update an API Key.
	Attributes APIKeyUpdateAttributes `json:"attributes"`
	// ID of the API key.
	Id string `json:"id"`
	// API Keys resource type.
	Type APIKeysType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIKeyUpdateData Object used to update an API key.

func NewAPIKeyUpdateData ¶

func NewAPIKeyUpdateData(attributes APIKeyUpdateAttributes, id string, typeVar APIKeysType) *APIKeyUpdateData

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

func NewAPIKeyUpdateDataWithDefaults ¶

func NewAPIKeyUpdateDataWithDefaults() *APIKeyUpdateData

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

func (*APIKeyUpdateData) GetAttributes ¶

func (o *APIKeyUpdateData) GetAttributes() APIKeyUpdateAttributes

GetAttributes returns the Attributes field value.

func (*APIKeyUpdateData) GetAttributesOk ¶

func (o *APIKeyUpdateData) GetAttributesOk() (*APIKeyUpdateAttributes, bool)

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

func (*APIKeyUpdateData) GetId ¶

func (o *APIKeyUpdateData) GetId() string

GetId returns the Id field value.

func (*APIKeyUpdateData) GetIdOk ¶

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

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

func (*APIKeyUpdateData) GetType ¶

func (o *APIKeyUpdateData) GetType() APIKeysType

GetType returns the Type field value.

func (*APIKeyUpdateData) GetTypeOk ¶

func (o *APIKeyUpdateData) GetTypeOk() (*APIKeysType, bool)

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

func (APIKeyUpdateData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIKeyUpdateData) SetAttributes ¶

func (o *APIKeyUpdateData) SetAttributes(v APIKeyUpdateAttributes)

SetAttributes sets field value.

func (*APIKeyUpdateData) SetId ¶

func (o *APIKeyUpdateData) SetId(v string)

SetId sets field value.

func (*APIKeyUpdateData) SetType ¶

func (o *APIKeyUpdateData) SetType(v APIKeysType)

SetType sets field value.

func (*APIKeyUpdateData) UnmarshalJSON ¶

func (o *APIKeyUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKeyUpdateRequest ¶

type APIKeyUpdateRequest struct {
	// Object used to update an API key.
	Data APIKeyUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIKeyUpdateRequest Request used to update an API key.

func NewAPIKeyUpdateRequest ¶

func NewAPIKeyUpdateRequest(data APIKeyUpdateData) *APIKeyUpdateRequest

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

func NewAPIKeyUpdateRequestWithDefaults ¶

func NewAPIKeyUpdateRequestWithDefaults() *APIKeyUpdateRequest

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

func (*APIKeyUpdateRequest) GetData ¶

GetData returns the Data field value.

func (*APIKeyUpdateRequest) GetDataOk ¶

func (o *APIKeyUpdateRequest) GetDataOk() (*APIKeyUpdateData, bool)

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

func (APIKeyUpdateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIKeyUpdateRequest) SetData ¶

func (o *APIKeyUpdateRequest) SetData(v APIKeyUpdateData)

SetData sets field value.

func (*APIKeyUpdateRequest) UnmarshalJSON ¶

func (o *APIKeyUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKeysResponse ¶

type APIKeysResponse struct {
	// Array of API keys.
	Data []PartialAPIKey `json:"data,omitempty"`
	// Array of objects related to the API key.
	Included []APIKeyResponseIncludedItem `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIKeysResponse Response for a list of API keys.

func NewAPIKeysResponse ¶

func NewAPIKeysResponse() *APIKeysResponse

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

func NewAPIKeysResponseWithDefaults ¶

func NewAPIKeysResponseWithDefaults() *APIKeysResponse

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

func (*APIKeysResponse) GetData ¶

func (o *APIKeysResponse) GetData() []PartialAPIKey

GetData returns the Data field value if set, zero value otherwise.

func (*APIKeysResponse) GetDataOk ¶

func (o *APIKeysResponse) GetDataOk() (*[]PartialAPIKey, bool)

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

func (*APIKeysResponse) GetIncluded ¶

func (o *APIKeysResponse) GetIncluded() []APIKeyResponseIncludedItem

GetIncluded returns the Included field value if set, zero value otherwise.

func (*APIKeysResponse) GetIncludedOk ¶

func (o *APIKeysResponse) GetIncludedOk() (*[]APIKeyResponseIncludedItem, bool)

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

func (*APIKeysResponse) HasData ¶

func (o *APIKeysResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*APIKeysResponse) HasIncluded ¶

func (o *APIKeysResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (APIKeysResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIKeysResponse) SetData ¶

func (o *APIKeysResponse) SetData(v []PartialAPIKey)

SetData gets a reference to the given []PartialAPIKey and assigns it to the Data field.

func (*APIKeysResponse) SetIncluded ¶

func (o *APIKeysResponse) SetIncluded(v []APIKeyResponseIncludedItem)

SetIncluded gets a reference to the given []APIKeyResponseIncludedItem and assigns it to the Included field.

func (*APIKeysResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *APIKeysResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKeysSort ¶

type APIKeysSort string

APIKeysSort Sorting options

const (
	APIKEYSSORT_CREATED_AT_ASCENDING   APIKeysSort = "created_at"
	APIKEYSSORT_CREATED_AT_DESCENDING  APIKeysSort = "-created_at"
	APIKEYSSORT_LAST4_ASCENDING        APIKeysSort = "last4"
	APIKEYSSORT_LAST4_DESCENDING       APIKeysSort = "-last4"
	APIKEYSSORT_MODIFIED_AT_ASCENDING  APIKeysSort = "modified_at"
	APIKEYSSORT_MODIFIED_AT_DESCENDING APIKeysSort = "-modified_at"
	APIKEYSSORT_NAME_ASCENDING         APIKeysSort = "name"
	APIKEYSSORT_NAME_DESCENDING        APIKeysSort = "-name"
)

List of APIKeysSort.

func NewAPIKeysSortFromValue ¶

func NewAPIKeysSortFromValue(v string) (*APIKeysSort, error)

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

func (*APIKeysSort) GetAllowedValues ¶ added in v1.1.0

func (v *APIKeysSort) GetAllowedValues() []APIKeysSort

GetAllowedValues reeturns the list of possible values.

func (APIKeysSort) IsValid ¶

func (v APIKeysSort) IsValid() bool

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

func (APIKeysSort) Ptr ¶

func (v APIKeysSort) Ptr() *APIKeysSort

Ptr returns reference to APIKeysSort value.

func (*APIKeysSort) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type APIKeysType ¶

type APIKeysType string

APIKeysType API Keys resource type.

const (
	APIKEYSTYPE_API_KEYS APIKeysType = "api_keys"
)

List of APIKeysType.

func NewAPIKeysTypeFromValue ¶

func NewAPIKeysTypeFromValue(v string) (*APIKeysType, error)

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

func (*APIKeysType) GetAllowedValues ¶ added in v1.1.0

func (v *APIKeysType) GetAllowedValues() []APIKeysType

GetAllowedValues reeturns the list of possible values.

func (APIKeysType) IsValid ¶

func (v APIKeysType) IsValid() bool

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

func (APIKeysType) Ptr ¶

func (v APIKeysType) Ptr() *APIKeysType

Ptr returns reference to APIKeysType value.

func (*APIKeysType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type ApplicationKeyCreateAttributes ¶

type ApplicationKeyCreateAttributes struct {
	// Name of the application key.
	Name string `json:"name"`
	// Array of scopes to grant the application key. This feature is in private beta, please contact Datadog support to enable scopes for your application keys.
	Scopes []string `json:"scopes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKeyCreateAttributes Attributes used to create an application Key.

func NewApplicationKeyCreateAttributes ¶

func NewApplicationKeyCreateAttributes(name string) *ApplicationKeyCreateAttributes

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

func NewApplicationKeyCreateAttributesWithDefaults ¶

func NewApplicationKeyCreateAttributesWithDefaults() *ApplicationKeyCreateAttributes

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

func (*ApplicationKeyCreateAttributes) GetName ¶

GetName returns the Name field value.

func (*ApplicationKeyCreateAttributes) GetNameOk ¶

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

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

func (*ApplicationKeyCreateAttributes) GetScopes ¶ added in v1.8.0

func (o *ApplicationKeyCreateAttributes) GetScopes() []string

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

func (*ApplicationKeyCreateAttributes) GetScopesOk ¶ added in v1.8.0

func (o *ApplicationKeyCreateAttributes) GetScopesOk() (*[]string, bool)

GetScopesOk returns a tuple with the Scopes 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 (*ApplicationKeyCreateAttributes) HasScopes ¶ added in v1.8.0

func (o *ApplicationKeyCreateAttributes) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (ApplicationKeyCreateAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKeyCreateAttributes) SetName ¶

func (o *ApplicationKeyCreateAttributes) SetName(v string)

SetName sets field value.

func (*ApplicationKeyCreateAttributes) SetScopes ¶ added in v1.8.0

func (o *ApplicationKeyCreateAttributes) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*ApplicationKeyCreateAttributes) UnmarshalJSON ¶

func (o *ApplicationKeyCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApplicationKeyCreateData ¶

type ApplicationKeyCreateData struct {
	// Attributes used to create an application Key.
	Attributes ApplicationKeyCreateAttributes `json:"attributes"`
	// Application Keys resource type.
	Type ApplicationKeysType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKeyCreateData Object used to create an application key.

func NewApplicationKeyCreateData ¶

func NewApplicationKeyCreateData(attributes ApplicationKeyCreateAttributes, typeVar ApplicationKeysType) *ApplicationKeyCreateData

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

func NewApplicationKeyCreateDataWithDefaults ¶

func NewApplicationKeyCreateDataWithDefaults() *ApplicationKeyCreateData

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

func (*ApplicationKeyCreateData) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*ApplicationKeyCreateData) GetAttributesOk ¶

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

func (*ApplicationKeyCreateData) GetType ¶

GetType returns the Type field value.

func (*ApplicationKeyCreateData) GetTypeOk ¶

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

func (ApplicationKeyCreateData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKeyCreateData) SetAttributes ¶

SetAttributes sets field value.

func (*ApplicationKeyCreateData) SetType ¶

SetType sets field value.

func (*ApplicationKeyCreateData) UnmarshalJSON ¶

func (o *ApplicationKeyCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApplicationKeyCreateRequest ¶

type ApplicationKeyCreateRequest struct {
	// Object used to create an application key.
	Data ApplicationKeyCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKeyCreateRequest Request used to create an application key.

func NewApplicationKeyCreateRequest ¶

func NewApplicationKeyCreateRequest(data ApplicationKeyCreateData) *ApplicationKeyCreateRequest

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

func NewApplicationKeyCreateRequestWithDefaults ¶

func NewApplicationKeyCreateRequestWithDefaults() *ApplicationKeyCreateRequest

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

func (*ApplicationKeyCreateRequest) GetData ¶

GetData returns the Data field value.

func (*ApplicationKeyCreateRequest) GetDataOk ¶

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

func (ApplicationKeyCreateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKeyCreateRequest) SetData ¶

SetData sets field value.

func (*ApplicationKeyCreateRequest) UnmarshalJSON ¶

func (o *ApplicationKeyCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApplicationKeyRelationships ¶

type ApplicationKeyRelationships struct {
	// Relationship to user.
	OwnedBy *RelationshipToUser `json:"owned_by,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKeyRelationships Resources related to the application key.

func NewApplicationKeyRelationships ¶

func NewApplicationKeyRelationships() *ApplicationKeyRelationships

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

func NewApplicationKeyRelationshipsWithDefaults ¶

func NewApplicationKeyRelationshipsWithDefaults() *ApplicationKeyRelationships

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

func (*ApplicationKeyRelationships) GetOwnedBy ¶ added in v1.3.0

GetOwnedBy returns the OwnedBy field value if set, zero value otherwise.

func (*ApplicationKeyRelationships) GetOwnedByOk ¶ added in v1.3.0

func (o *ApplicationKeyRelationships) GetOwnedByOk() (*RelationshipToUser, bool)

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

func (*ApplicationKeyRelationships) HasOwnedBy ¶ added in v1.3.0

func (o *ApplicationKeyRelationships) HasOwnedBy() bool

HasOwnedBy returns a boolean if a field has been set.

func (ApplicationKeyRelationships) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKeyRelationships) SetOwnedBy ¶ added in v1.3.0

SetOwnedBy gets a reference to the given RelationshipToUser and assigns it to the OwnedBy field.

func (*ApplicationKeyRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *ApplicationKeyRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApplicationKeyResponse ¶

type ApplicationKeyResponse struct {
	// Datadog application key.
	Data *FullApplicationKey `json:"data,omitempty"`
	// Array of objects related to the application key.
	Included []ApplicationKeyResponseIncludedItem `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKeyResponse Response for retrieving an application key.

func NewApplicationKeyResponse ¶

func NewApplicationKeyResponse() *ApplicationKeyResponse

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

func NewApplicationKeyResponseWithDefaults ¶

func NewApplicationKeyResponseWithDefaults() *ApplicationKeyResponse

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

func (*ApplicationKeyResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*ApplicationKeyResponse) GetDataOk ¶

func (o *ApplicationKeyResponse) GetDataOk() (*FullApplicationKey, bool)

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

func (*ApplicationKeyResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*ApplicationKeyResponse) GetIncludedOk ¶

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

func (*ApplicationKeyResponse) HasData ¶

func (o *ApplicationKeyResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*ApplicationKeyResponse) HasIncluded ¶

func (o *ApplicationKeyResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (ApplicationKeyResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKeyResponse) SetData ¶

SetData gets a reference to the given FullApplicationKey and assigns it to the Data field.

func (*ApplicationKeyResponse) SetIncluded ¶

SetIncluded gets a reference to the given []ApplicationKeyResponseIncludedItem and assigns it to the Included field.

func (*ApplicationKeyResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *ApplicationKeyResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApplicationKeyResponseIncludedItem ¶

type ApplicationKeyResponseIncludedItem struct {
	User *User
	Role *Role

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

ApplicationKeyResponseIncludedItem - An object related to an application key.

func RoleAsApplicationKeyResponseIncludedItem ¶

func RoleAsApplicationKeyResponseIncludedItem(v *Role) ApplicationKeyResponseIncludedItem

RoleAsApplicationKeyResponseIncludedItem is a convenience function that returns Role wrapped in ApplicationKeyResponseIncludedItem.

func UserAsApplicationKeyResponseIncludedItem ¶

func UserAsApplicationKeyResponseIncludedItem(v *User) ApplicationKeyResponseIncludedItem

UserAsApplicationKeyResponseIncludedItem is a convenience function that returns User wrapped in ApplicationKeyResponseIncludedItem.

func (*ApplicationKeyResponseIncludedItem) GetActualInstance ¶

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

GetActualInstance returns the actual instance.

func (ApplicationKeyResponseIncludedItem) MarshalJSON ¶

func (obj ApplicationKeyResponseIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*ApplicationKeyResponseIncludedItem) UnmarshalJSON ¶

func (obj *ApplicationKeyResponseIncludedItem) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type ApplicationKeyUpdateAttributes ¶

type ApplicationKeyUpdateAttributes struct {
	// Name of the application key.
	Name *string `json:"name,omitempty"`
	// Array of scopes to grant the application key. This feature is in private beta, please contact Datadog support to enable scopes for your application keys.
	Scopes []string `json:"scopes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKeyUpdateAttributes Attributes used to update an application Key.

func NewApplicationKeyUpdateAttributes ¶

func NewApplicationKeyUpdateAttributes() *ApplicationKeyUpdateAttributes

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

func NewApplicationKeyUpdateAttributesWithDefaults ¶

func NewApplicationKeyUpdateAttributesWithDefaults() *ApplicationKeyUpdateAttributes

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

func (*ApplicationKeyUpdateAttributes) GetName ¶

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

func (*ApplicationKeyUpdateAttributes) GetNameOk ¶

func (o *ApplicationKeyUpdateAttributes) 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 (*ApplicationKeyUpdateAttributes) GetScopes ¶ added in v1.8.0

func (o *ApplicationKeyUpdateAttributes) GetScopes() []string

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

func (*ApplicationKeyUpdateAttributes) GetScopesOk ¶ added in v1.8.0

func (o *ApplicationKeyUpdateAttributes) GetScopesOk() (*[]string, bool)

GetScopesOk returns a tuple with the Scopes 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 (*ApplicationKeyUpdateAttributes) HasName ¶ added in v1.8.0

func (o *ApplicationKeyUpdateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*ApplicationKeyUpdateAttributes) HasScopes ¶ added in v1.8.0

func (o *ApplicationKeyUpdateAttributes) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (ApplicationKeyUpdateAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKeyUpdateAttributes) SetName ¶

func (o *ApplicationKeyUpdateAttributes) SetName(v string)

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

func (*ApplicationKeyUpdateAttributes) SetScopes ¶ added in v1.8.0

func (o *ApplicationKeyUpdateAttributes) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*ApplicationKeyUpdateAttributes) UnmarshalJSON ¶

func (o *ApplicationKeyUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApplicationKeyUpdateData ¶

type ApplicationKeyUpdateData struct {
	// Attributes used to update an application Key.
	Attributes ApplicationKeyUpdateAttributes `json:"attributes"`
	// ID of the application key.
	Id string `json:"id"`
	// Application Keys resource type.
	Type ApplicationKeysType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKeyUpdateData Object used to update an application key.

func NewApplicationKeyUpdateData ¶

func NewApplicationKeyUpdateData(attributes ApplicationKeyUpdateAttributes, id string, typeVar ApplicationKeysType) *ApplicationKeyUpdateData

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

func NewApplicationKeyUpdateDataWithDefaults ¶

func NewApplicationKeyUpdateDataWithDefaults() *ApplicationKeyUpdateData

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

func (*ApplicationKeyUpdateData) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*ApplicationKeyUpdateData) GetAttributesOk ¶

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

func (*ApplicationKeyUpdateData) GetId ¶

func (o *ApplicationKeyUpdateData) GetId() string

GetId returns the Id field value.

func (*ApplicationKeyUpdateData) GetIdOk ¶

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

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

func (*ApplicationKeyUpdateData) GetType ¶

GetType returns the Type field value.

func (*ApplicationKeyUpdateData) GetTypeOk ¶

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

func (ApplicationKeyUpdateData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKeyUpdateData) SetAttributes ¶

SetAttributes sets field value.

func (*ApplicationKeyUpdateData) SetId ¶

func (o *ApplicationKeyUpdateData) SetId(v string)

SetId sets field value.

func (*ApplicationKeyUpdateData) SetType ¶

SetType sets field value.

func (*ApplicationKeyUpdateData) UnmarshalJSON ¶

func (o *ApplicationKeyUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApplicationKeyUpdateRequest ¶

type ApplicationKeyUpdateRequest struct {
	// Object used to update an application key.
	Data ApplicationKeyUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKeyUpdateRequest Request used to update an application key.

func NewApplicationKeyUpdateRequest ¶

func NewApplicationKeyUpdateRequest(data ApplicationKeyUpdateData) *ApplicationKeyUpdateRequest

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

func NewApplicationKeyUpdateRequestWithDefaults ¶

func NewApplicationKeyUpdateRequestWithDefaults() *ApplicationKeyUpdateRequest

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

func (*ApplicationKeyUpdateRequest) GetData ¶

GetData returns the Data field value.

func (*ApplicationKeyUpdateRequest) GetDataOk ¶

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

func (ApplicationKeyUpdateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKeyUpdateRequest) SetData ¶

SetData sets field value.

func (*ApplicationKeyUpdateRequest) UnmarshalJSON ¶

func (o *ApplicationKeyUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApplicationKeysSort ¶

type ApplicationKeysSort string

ApplicationKeysSort Sorting options

const (
	APPLICATIONKEYSSORT_CREATED_AT_ASCENDING  ApplicationKeysSort = "created_at"
	APPLICATIONKEYSSORT_CREATED_AT_DESCENDING ApplicationKeysSort = "-created_at"
	APPLICATIONKEYSSORT_LAST4_ASCENDING       ApplicationKeysSort = "last4"
	APPLICATIONKEYSSORT_LAST4_DESCENDING      ApplicationKeysSort = "-last4"
	APPLICATIONKEYSSORT_NAME_ASCENDING        ApplicationKeysSort = "name"
	APPLICATIONKEYSSORT_NAME_DESCENDING       ApplicationKeysSort = "-name"
)

List of ApplicationKeysSort.

func NewApplicationKeysSortFromValue ¶

func NewApplicationKeysSortFromValue(v string) (*ApplicationKeysSort, error)

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

func (*ApplicationKeysSort) GetAllowedValues ¶ added in v1.1.0

func (v *ApplicationKeysSort) GetAllowedValues() []ApplicationKeysSort

GetAllowedValues reeturns the list of possible values.

func (ApplicationKeysSort) IsValid ¶

func (v ApplicationKeysSort) IsValid() bool

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

func (ApplicationKeysSort) Ptr ¶

Ptr returns reference to ApplicationKeysSort value.

func (*ApplicationKeysSort) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type ApplicationKeysType ¶

type ApplicationKeysType string

ApplicationKeysType Application Keys resource type.

const (
	APPLICATIONKEYSTYPE_APPLICATION_KEYS ApplicationKeysType = "application_keys"
)

List of ApplicationKeysType.

func NewApplicationKeysTypeFromValue ¶

func NewApplicationKeysTypeFromValue(v string) (*ApplicationKeysType, error)

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

func (*ApplicationKeysType) GetAllowedValues ¶ added in v1.1.0

func (v *ApplicationKeysType) GetAllowedValues() []ApplicationKeysType

GetAllowedValues reeturns the list of possible values.

func (ApplicationKeysType) IsValid ¶

func (v ApplicationKeysType) IsValid() bool

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

func (ApplicationKeysType) Ptr ¶

Ptr returns reference to ApplicationKeysType value.

func (*ApplicationKeysType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditApiService ¶ added in v1.11.0

type AuditApiService service

AuditApiService AuditApi service.

func (*AuditApiService) ListAuditLogs ¶ added in v1.11.0

ListAuditLogs Get a list of Audit Logs events. List endpoint returns events that match a Audit Logs search query. [Results are paginated]1.

Use this endpoint to see your latest Audit Logs events.

func (*AuditApiService) ListAuditLogsWithPagination ¶ added in v1.14.0

func (a *AuditApiService) ListAuditLogsWithPagination(ctx _context.Context, o ...ListAuditLogsOptionalParameters) (<-chan AuditLogsEvent, func(), error)

ListAuditLogsWithPagination provides a paginated version of ListAuditLogs returning a channel with all items.

func (*AuditApiService) SearchAuditLogs ¶ added in v1.11.0

SearchAuditLogs Search Audit Logs events. List endpoint returns Audit Logs events that match an Audit search query. [Results are paginated]1.

Use this endpoint to build complex Audit Logs events filtering and search.

func (*AuditApiService) SearchAuditLogsWithPagination ¶ added in v1.14.0

func (a *AuditApiService) SearchAuditLogsWithPagination(ctx _context.Context, o ...SearchAuditLogsOptionalParameters) (<-chan AuditLogsEvent, func(), error)

SearchAuditLogsWithPagination provides a paginated version of SearchAuditLogs returning a channel with all items.

type AuditLogsEvent ¶ added in v1.11.0

type AuditLogsEvent struct {
	// JSON object containing all event attributes and their associated values.
	Attributes *AuditLogsEventAttributes `json:"attributes,omitempty"`
	// Unique ID of the event.
	Id *string `json:"id,omitempty"`
	// Type of the event.
	Type *AuditLogsEventType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsEvent Object description of an Audit Logs event after it is processed and stored by Datadog.

func NewAuditLogsEvent ¶ added in v1.11.0

func NewAuditLogsEvent() *AuditLogsEvent

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

func NewAuditLogsEventWithDefaults ¶ added in v1.11.0

func NewAuditLogsEventWithDefaults() *AuditLogsEvent

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

func (*AuditLogsEvent) GetAttributes ¶ added in v1.11.0

func (o *AuditLogsEvent) GetAttributes() AuditLogsEventAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*AuditLogsEvent) GetAttributesOk ¶ added in v1.11.0

func (o *AuditLogsEvent) GetAttributesOk() (*AuditLogsEventAttributes, bool)

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

func (*AuditLogsEvent) GetId ¶ added in v1.11.0

func (o *AuditLogsEvent) GetId() string

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

func (*AuditLogsEvent) GetIdOk ¶ added in v1.11.0

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

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

func (*AuditLogsEvent) GetType ¶ added in v1.11.0

func (o *AuditLogsEvent) GetType() AuditLogsEventType

GetType returns the Type field value if set, zero value otherwise.

func (*AuditLogsEvent) GetTypeOk ¶ added in v1.11.0

func (o *AuditLogsEvent) GetTypeOk() (*AuditLogsEventType, bool)

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

func (*AuditLogsEvent) HasAttributes ¶ added in v1.11.0

func (o *AuditLogsEvent) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuditLogsEvent) HasId ¶ added in v1.11.0

func (o *AuditLogsEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLogsEvent) HasType ¶ added in v1.11.0

func (o *AuditLogsEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (AuditLogsEvent) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsEvent) SetAttributes ¶ added in v1.11.0

func (o *AuditLogsEvent) SetAttributes(v AuditLogsEventAttributes)

SetAttributes gets a reference to the given AuditLogsEventAttributes and assigns it to the Attributes field.

func (*AuditLogsEvent) SetId ¶ added in v1.11.0

func (o *AuditLogsEvent) SetId(v string)

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

func (*AuditLogsEvent) SetType ¶ added in v1.11.0

func (o *AuditLogsEvent) SetType(v AuditLogsEventType)

SetType gets a reference to the given AuditLogsEventType and assigns it to the Type field.

func (*AuditLogsEvent) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsEvent) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuditLogsEventAttributes ¶ added in v1.11.0

type AuditLogsEventAttributes struct {
	// JSON object of attributes from Audit Logs events.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
	// Name of the application or service generating Audit Logs events.
	// This name is used to correlate Audit Logs to APM, so make sure you specify the same
	// value when you use both products.
	Service *string `json:"service,omitempty"`
	// Array of tags associated with your event.
	Tags []string `json:"tags,omitempty"`
	// Timestamp of your event.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsEventAttributes JSON object containing all event attributes and their associated values.

func NewAuditLogsEventAttributes ¶ added in v1.11.0

func NewAuditLogsEventAttributes() *AuditLogsEventAttributes

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

func NewAuditLogsEventAttributesWithDefaults ¶ added in v1.11.0

func NewAuditLogsEventAttributesWithDefaults() *AuditLogsEventAttributes

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

func (*AuditLogsEventAttributes) GetAttributes ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*AuditLogsEventAttributes) GetAttributesOk ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) GetAttributesOk() (*map[string]interface{}, bool)

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

func (*AuditLogsEventAttributes) GetService ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*AuditLogsEventAttributes) GetServiceOk ¶ added in v1.11.0

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

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

func (*AuditLogsEventAttributes) GetTags ¶ added in v1.11.0

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

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

func (*AuditLogsEventAttributes) GetTagsOk ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) 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 (*AuditLogsEventAttributes) GetTimestamp ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*AuditLogsEventAttributes) GetTimestampOk ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) GetTimestampOk() (*time.Time, bool)

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

func (*AuditLogsEventAttributes) HasAttributes ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuditLogsEventAttributes) HasService ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) HasService() bool

HasService returns a boolean if a field has been set.

func (*AuditLogsEventAttributes) HasTags ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*AuditLogsEventAttributes) HasTimestamp ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (AuditLogsEventAttributes) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsEventAttributes) SetAttributes ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*AuditLogsEventAttributes) SetService ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*AuditLogsEventAttributes) SetTags ¶ added in v1.11.0

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

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

func (*AuditLogsEventAttributes) SetTimestamp ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*AuditLogsEventAttributes) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsEventAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuditLogsEventType ¶ added in v1.11.0

type AuditLogsEventType string

AuditLogsEventType Type of the event.

const (
	AUDITLOGSEVENTTYPE_Audit AuditLogsEventType = "audit"
)

List of AuditLogsEventType.

func NewAuditLogsEventTypeFromValue ¶ added in v1.11.0

func NewAuditLogsEventTypeFromValue(v string) (*AuditLogsEventType, error)

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

func (*AuditLogsEventType) GetAllowedValues ¶ added in v1.11.0

func (v *AuditLogsEventType) GetAllowedValues() []AuditLogsEventType

GetAllowedValues reeturns the list of possible values.

func (AuditLogsEventType) IsValid ¶ added in v1.11.0

func (v AuditLogsEventType) IsValid() bool

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

func (AuditLogsEventType) Ptr ¶ added in v1.11.0

Ptr returns reference to AuditLogsEventType value.

func (*AuditLogsEventType) UnmarshalJSON ¶ added in v1.11.0

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

UnmarshalJSON deserializes the given payload.

type AuditLogsEventsResponse ¶ added in v1.11.0

type AuditLogsEventsResponse struct {
	// Array of events matching the request.
	Data []AuditLogsEvent `json:"data,omitempty"`
	// Links attributes.
	Links *AuditLogsResponseLinks `json:"links,omitempty"`
	// The metadata associated with a request.
	Meta *AuditLogsResponseMetadata `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsEventsResponse Response object with all events matching the request and pagination information.

func NewAuditLogsEventsResponse ¶ added in v1.11.0

func NewAuditLogsEventsResponse() *AuditLogsEventsResponse

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

func NewAuditLogsEventsResponseWithDefaults ¶ added in v1.11.0

func NewAuditLogsEventsResponseWithDefaults() *AuditLogsEventsResponse

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

func (*AuditLogsEventsResponse) GetData ¶ added in v1.11.0

func (o *AuditLogsEventsResponse) GetData() []AuditLogsEvent

GetData returns the Data field value if set, zero value otherwise.

func (*AuditLogsEventsResponse) GetDataOk ¶ added in v1.11.0

func (o *AuditLogsEventsResponse) GetDataOk() (*[]AuditLogsEvent, bool)

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

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

func (*AuditLogsEventsResponse) GetLinksOk ¶ added in v1.11.0

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

func (*AuditLogsEventsResponse) GetMeta ¶ added in v1.11.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*AuditLogsEventsResponse) GetMetaOk ¶ added in v1.11.0

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 (*AuditLogsEventsResponse) HasData ¶ added in v1.11.0

func (o *AuditLogsEventsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *AuditLogsEventsResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*AuditLogsEventsResponse) HasMeta ¶ added in v1.11.0

func (o *AuditLogsEventsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (AuditLogsEventsResponse) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsEventsResponse) SetData ¶ added in v1.11.0

func (o *AuditLogsEventsResponse) SetData(v []AuditLogsEvent)

SetData gets a reference to the given []AuditLogsEvent and assigns it to the Data field.

SetLinks gets a reference to the given AuditLogsResponseLinks and assigns it to the Links field.

func (*AuditLogsEventsResponse) SetMeta ¶ added in v1.11.0

SetMeta gets a reference to the given AuditLogsResponseMetadata and assigns it to the Meta field.

func (*AuditLogsEventsResponse) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsEventsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuditLogsQueryFilter ¶ added in v1.11.0

type AuditLogsQueryFilter struct {
	// Minimum time for the requested events. Supports date, math, and regular timestamps (in milliseconds).
	From *string `json:"from,omitempty"`
	// Search query following the Audit Logs search syntax.
	Query *string `json:"query,omitempty"`
	// Maximum time for the requested events. Supports date, math, and regular timestamps (in milliseconds).
	To *string `json:"to,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsQueryFilter Search and filter query settings.

func NewAuditLogsQueryFilter ¶ added in v1.11.0

func NewAuditLogsQueryFilter() *AuditLogsQueryFilter

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

func NewAuditLogsQueryFilterWithDefaults ¶ added in v1.11.0

func NewAuditLogsQueryFilterWithDefaults() *AuditLogsQueryFilter

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

func (*AuditLogsQueryFilter) GetFrom ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*AuditLogsQueryFilter) GetFromOk ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) GetFromOk() (*string, bool)

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

func (*AuditLogsQueryFilter) GetQuery ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*AuditLogsQueryFilter) GetQueryOk ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) GetQueryOk() (*string, bool)

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

func (*AuditLogsQueryFilter) GetTo ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*AuditLogsQueryFilter) GetToOk ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) GetToOk() (*string, bool)

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

func (*AuditLogsQueryFilter) HasFrom ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*AuditLogsQueryFilter) HasQuery ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*AuditLogsQueryFilter) HasTo ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (AuditLogsQueryFilter) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsQueryFilter) SetFrom ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*AuditLogsQueryFilter) SetQuery ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*AuditLogsQueryFilter) SetTo ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

func (*AuditLogsQueryFilter) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsQueryFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuditLogsQueryOptions ¶ added in v1.11.0

type AuditLogsQueryOptions struct {
	// Time offset (in seconds) to apply to the query.
	TimeOffset *int64 `json:"time_offset,omitempty"`
	// Timezone code. Can be specified as an offset, for example: "UTC+03:00".
	Timezone *string `json:"timezone,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsQueryOptions Global query options that are used during the query. Note: Specify either timezone or time offset, not both. Otherwise, the query fails.

func NewAuditLogsQueryOptions ¶ added in v1.11.0

func NewAuditLogsQueryOptions() *AuditLogsQueryOptions

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

func NewAuditLogsQueryOptionsWithDefaults ¶ added in v1.11.0

func NewAuditLogsQueryOptionsWithDefaults() *AuditLogsQueryOptions

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

func (*AuditLogsQueryOptions) GetTimeOffset ¶ added in v1.11.0

func (o *AuditLogsQueryOptions) GetTimeOffset() int64

GetTimeOffset returns the TimeOffset field value if set, zero value otherwise.

func (*AuditLogsQueryOptions) GetTimeOffsetOk ¶ added in v1.11.0

func (o *AuditLogsQueryOptions) GetTimeOffsetOk() (*int64, bool)

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

func (*AuditLogsQueryOptions) GetTimezone ¶ added in v1.11.0

func (o *AuditLogsQueryOptions) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*AuditLogsQueryOptions) GetTimezoneOk ¶ added in v1.11.0

func (o *AuditLogsQueryOptions) GetTimezoneOk() (*string, bool)

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

func (*AuditLogsQueryOptions) HasTimeOffset ¶ added in v1.11.0

func (o *AuditLogsQueryOptions) HasTimeOffset() bool

HasTimeOffset returns a boolean if a field has been set.

func (*AuditLogsQueryOptions) HasTimezone ¶ added in v1.11.0

func (o *AuditLogsQueryOptions) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (AuditLogsQueryOptions) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsQueryOptions) SetTimeOffset ¶ added in v1.11.0

func (o *AuditLogsQueryOptions) SetTimeOffset(v int64)

SetTimeOffset gets a reference to the given int64 and assigns it to the TimeOffset field.

func (*AuditLogsQueryOptions) SetTimezone ¶ added in v1.11.0

func (o *AuditLogsQueryOptions) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*AuditLogsQueryOptions) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsQueryOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuditLogsQueryPageOptions ¶ added in v1.11.0

type AuditLogsQueryPageOptions struct {
	// List following results with a cursor provided in the previous query.
	Cursor *string `json:"cursor,omitempty"`
	// Maximum number of events in the response.
	Limit *int32 `json:"limit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsQueryPageOptions Paging attributes for listing events.

func NewAuditLogsQueryPageOptions ¶ added in v1.11.0

func NewAuditLogsQueryPageOptions() *AuditLogsQueryPageOptions

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

func NewAuditLogsQueryPageOptionsWithDefaults ¶ added in v1.11.0

func NewAuditLogsQueryPageOptionsWithDefaults() *AuditLogsQueryPageOptions

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

func (*AuditLogsQueryPageOptions) GetCursor ¶ added in v1.11.0

func (o *AuditLogsQueryPageOptions) GetCursor() string

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*AuditLogsQueryPageOptions) GetCursorOk ¶ added in v1.11.0

func (o *AuditLogsQueryPageOptions) GetCursorOk() (*string, bool)

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

func (*AuditLogsQueryPageOptions) GetLimit ¶ added in v1.11.0

func (o *AuditLogsQueryPageOptions) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*AuditLogsQueryPageOptions) GetLimitOk ¶ added in v1.11.0

func (o *AuditLogsQueryPageOptions) GetLimitOk() (*int32, bool)

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

func (*AuditLogsQueryPageOptions) HasCursor ¶ added in v1.11.0

func (o *AuditLogsQueryPageOptions) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*AuditLogsQueryPageOptions) HasLimit ¶ added in v1.11.0

func (o *AuditLogsQueryPageOptions) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (AuditLogsQueryPageOptions) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsQueryPageOptions) SetCursor ¶ added in v1.11.0

func (o *AuditLogsQueryPageOptions) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*AuditLogsQueryPageOptions) SetLimit ¶ added in v1.11.0

func (o *AuditLogsQueryPageOptions) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*AuditLogsQueryPageOptions) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsQueryPageOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuditLogsResponseLinks struct {
	// Link for the next set of results. Note that the request can also be made using the
	// POST endpoint.
	Next *string `json:"next,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsResponseLinks Links attributes.

func NewAuditLogsResponseLinks() *AuditLogsResponseLinks

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

func NewAuditLogsResponseLinksWithDefaults ¶ added in v1.11.0

func NewAuditLogsResponseLinksWithDefaults() *AuditLogsResponseLinks

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

func (*AuditLogsResponseLinks) GetNext ¶ added in v1.11.0

func (o *AuditLogsResponseLinks) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*AuditLogsResponseLinks) GetNextOk ¶ added in v1.11.0

func (o *AuditLogsResponseLinks) GetNextOk() (*string, bool)

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

func (*AuditLogsResponseLinks) HasNext ¶ added in v1.11.0

func (o *AuditLogsResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (AuditLogsResponseLinks) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsResponseLinks) SetNext ¶ added in v1.11.0

func (o *AuditLogsResponseLinks) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*AuditLogsResponseLinks) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsResponseLinks) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuditLogsResponseMetadata ¶ added in v1.11.0

type AuditLogsResponseMetadata struct {
	// Time elapsed in milliseconds.
	Elapsed *int64 `json:"elapsed,omitempty"`
	// Paging attributes.
	Page *AuditLogsResponsePage `json:"page,omitempty"`
	// The identifier of the request.
	RequestId *string `json:"request_id,omitempty"`
	// The status of the response.
	Status *AuditLogsResponseStatus `json:"status,omitempty"`
	// A list of warnings (non-fatal errors) encountered. Partial results may return if
	// warnings are present in the response.
	Warnings []AuditLogsWarning `json:"warnings,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsResponseMetadata The metadata associated with a request.

func NewAuditLogsResponseMetadata ¶ added in v1.11.0

func NewAuditLogsResponseMetadata() *AuditLogsResponseMetadata

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

func NewAuditLogsResponseMetadataWithDefaults ¶ added in v1.11.0

func NewAuditLogsResponseMetadataWithDefaults() *AuditLogsResponseMetadata

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

func (*AuditLogsResponseMetadata) GetElapsed ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) GetElapsed() int64

GetElapsed returns the Elapsed field value if set, zero value otherwise.

func (*AuditLogsResponseMetadata) GetElapsedOk ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) GetElapsedOk() (*int64, bool)

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

func (*AuditLogsResponseMetadata) GetPage ¶ added in v1.11.0

GetPage returns the Page field value if set, zero value otherwise.

func (*AuditLogsResponseMetadata) GetPageOk ¶ added in v1.11.0

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

func (*AuditLogsResponseMetadata) GetRequestId ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*AuditLogsResponseMetadata) GetRequestIdOk ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) GetRequestIdOk() (*string, bool)

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

func (*AuditLogsResponseMetadata) GetStatus ¶ added in v1.11.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*AuditLogsResponseMetadata) GetStatusOk ¶ added in v1.11.0

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

func (*AuditLogsResponseMetadata) GetWarnings ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) GetWarnings() []AuditLogsWarning

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*AuditLogsResponseMetadata) GetWarningsOk ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) GetWarningsOk() (*[]AuditLogsWarning, bool)

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

func (*AuditLogsResponseMetadata) HasElapsed ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) HasElapsed() bool

HasElapsed returns a boolean if a field has been set.

func (*AuditLogsResponseMetadata) HasPage ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*AuditLogsResponseMetadata) HasRequestId ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*AuditLogsResponseMetadata) HasStatus ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*AuditLogsResponseMetadata) HasWarnings ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (AuditLogsResponseMetadata) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsResponseMetadata) SetElapsed ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) SetElapsed(v int64)

SetElapsed gets a reference to the given int64 and assigns it to the Elapsed field.

func (*AuditLogsResponseMetadata) SetPage ¶ added in v1.11.0

SetPage gets a reference to the given AuditLogsResponsePage and assigns it to the Page field.

func (*AuditLogsResponseMetadata) SetRequestId ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*AuditLogsResponseMetadata) SetStatus ¶ added in v1.11.0

SetStatus gets a reference to the given AuditLogsResponseStatus and assigns it to the Status field.

func (*AuditLogsResponseMetadata) SetWarnings ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) SetWarnings(v []AuditLogsWarning)

SetWarnings gets a reference to the given []AuditLogsWarning and assigns it to the Warnings field.

func (*AuditLogsResponseMetadata) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsResponseMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuditLogsResponsePage ¶ added in v1.11.0

type AuditLogsResponsePage struct {
	// The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of `page[cursor]`.
	After *string `json:"after,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsResponsePage Paging attributes.

func NewAuditLogsResponsePage ¶ added in v1.11.0

func NewAuditLogsResponsePage() *AuditLogsResponsePage

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

func NewAuditLogsResponsePageWithDefaults ¶ added in v1.11.0

func NewAuditLogsResponsePageWithDefaults() *AuditLogsResponsePage

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

func (*AuditLogsResponsePage) GetAfter ¶ added in v1.11.0

func (o *AuditLogsResponsePage) GetAfter() string

GetAfter returns the After field value if set, zero value otherwise.

func (*AuditLogsResponsePage) GetAfterOk ¶ added in v1.11.0

func (o *AuditLogsResponsePage) GetAfterOk() (*string, bool)

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

func (*AuditLogsResponsePage) HasAfter ¶ added in v1.11.0

func (o *AuditLogsResponsePage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (AuditLogsResponsePage) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsResponsePage) SetAfter ¶ added in v1.11.0

func (o *AuditLogsResponsePage) SetAfter(v string)

SetAfter gets a reference to the given string and assigns it to the After field.

func (*AuditLogsResponsePage) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsResponsePage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuditLogsResponseStatus ¶ added in v1.11.0

type AuditLogsResponseStatus string

AuditLogsResponseStatus The status of the response.

const (
	AUDITLOGSRESPONSESTATUS_DONE    AuditLogsResponseStatus = "done"
	AUDITLOGSRESPONSESTATUS_TIMEOUT AuditLogsResponseStatus = "timeout"
)

List of AuditLogsResponseStatus.

func NewAuditLogsResponseStatusFromValue ¶ added in v1.11.0

func NewAuditLogsResponseStatusFromValue(v string) (*AuditLogsResponseStatus, error)

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

func (*AuditLogsResponseStatus) GetAllowedValues ¶ added in v1.11.0

func (v *AuditLogsResponseStatus) GetAllowedValues() []AuditLogsResponseStatus

GetAllowedValues reeturns the list of possible values.

func (AuditLogsResponseStatus) IsValid ¶ added in v1.11.0

func (v AuditLogsResponseStatus) IsValid() bool

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

func (AuditLogsResponseStatus) Ptr ¶ added in v1.11.0

Ptr returns reference to AuditLogsResponseStatus value.

func (*AuditLogsResponseStatus) UnmarshalJSON ¶ added in v1.11.0

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

UnmarshalJSON deserializes the given payload.

type AuditLogsSearchEventsRequest ¶ added in v1.11.0

type AuditLogsSearchEventsRequest struct {
	// Search and filter query settings.
	Filter *AuditLogsQueryFilter `json:"filter,omitempty"`
	// Global query options that are used during the query.
	// Note: Specify either timezone or time offset, not both. Otherwise, the query fails.
	Options *AuditLogsQueryOptions `json:"options,omitempty"`
	// Paging attributes for listing events.
	Page *AuditLogsQueryPageOptions `json:"page,omitempty"`
	// Sort parameters when querying events.
	Sort *AuditLogsSort `json:"sort,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsSearchEventsRequest The request for a Audit Logs events list.

func NewAuditLogsSearchEventsRequest ¶ added in v1.11.0

func NewAuditLogsSearchEventsRequest() *AuditLogsSearchEventsRequest

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

func NewAuditLogsSearchEventsRequestWithDefaults ¶ added in v1.11.0

func NewAuditLogsSearchEventsRequestWithDefaults() *AuditLogsSearchEventsRequest

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

func (*AuditLogsSearchEventsRequest) GetFilter ¶ added in v1.11.0

GetFilter returns the Filter field value if set, zero value otherwise.

func (*AuditLogsSearchEventsRequest) GetFilterOk ¶ added in v1.11.0

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

func (*AuditLogsSearchEventsRequest) GetOptions ¶ added in v1.11.0

GetOptions returns the Options field value if set, zero value otherwise.

func (*AuditLogsSearchEventsRequest) GetOptionsOk ¶ added in v1.11.0

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

func (*AuditLogsSearchEventsRequest) GetPage ¶ added in v1.11.0

GetPage returns the Page field value if set, zero value otherwise.

func (*AuditLogsSearchEventsRequest) GetPageOk ¶ added in v1.11.0

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

func (*AuditLogsSearchEventsRequest) GetSort ¶ added in v1.11.0

GetSort returns the Sort field value if set, zero value otherwise.

func (*AuditLogsSearchEventsRequest) GetSortOk ¶ added in v1.11.0

func (o *AuditLogsSearchEventsRequest) GetSortOk() (*AuditLogsSort, bool)

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

func (*AuditLogsSearchEventsRequest) HasFilter ¶ added in v1.11.0

func (o *AuditLogsSearchEventsRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*AuditLogsSearchEventsRequest) HasOptions ¶ added in v1.11.0

func (o *AuditLogsSearchEventsRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*AuditLogsSearchEventsRequest) HasPage ¶ added in v1.11.0

func (o *AuditLogsSearchEventsRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*AuditLogsSearchEventsRequest) HasSort ¶ added in v1.11.0

func (o *AuditLogsSearchEventsRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (AuditLogsSearchEventsRequest) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsSearchEventsRequest) SetFilter ¶ added in v1.11.0

SetFilter gets a reference to the given AuditLogsQueryFilter and assigns it to the Filter field.

func (*AuditLogsSearchEventsRequest) SetOptions ¶ added in v1.11.0

SetOptions gets a reference to the given AuditLogsQueryOptions and assigns it to the Options field.

func (*AuditLogsSearchEventsRequest) SetPage ¶ added in v1.11.0

SetPage gets a reference to the given AuditLogsQueryPageOptions and assigns it to the Page field.

func (*AuditLogsSearchEventsRequest) SetSort ¶ added in v1.11.0

SetSort gets a reference to the given AuditLogsSort and assigns it to the Sort field.

func (*AuditLogsSearchEventsRequest) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsSearchEventsRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuditLogsSort ¶ added in v1.11.0

type AuditLogsSort string

AuditLogsSort Sort parameters when querying events.

const (
	AUDITLOGSSORT_TIMESTAMP_ASCENDING  AuditLogsSort = "timestamp"
	AUDITLOGSSORT_TIMESTAMP_DESCENDING AuditLogsSort = "-timestamp"
)

List of AuditLogsSort.

func NewAuditLogsSortFromValue ¶ added in v1.11.0

func NewAuditLogsSortFromValue(v string) (*AuditLogsSort, error)

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

func (*AuditLogsSort) GetAllowedValues ¶ added in v1.11.0

func (v *AuditLogsSort) GetAllowedValues() []AuditLogsSort

GetAllowedValues reeturns the list of possible values.

func (AuditLogsSort) IsValid ¶ added in v1.11.0

func (v AuditLogsSort) IsValid() bool

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

func (AuditLogsSort) Ptr ¶ added in v1.11.0

func (v AuditLogsSort) Ptr() *AuditLogsSort

Ptr returns reference to AuditLogsSort value.

func (*AuditLogsSort) UnmarshalJSON ¶ added in v1.11.0

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

UnmarshalJSON deserializes the given payload.

type AuditLogsWarning ¶ added in v1.11.0

type AuditLogsWarning struct {
	// Unique code for this type of warning.
	Code *string `json:"code,omitempty"`
	// Detailed explanation of this specific warning.
	Detail *string `json:"detail,omitempty"`
	// Short human-readable summary of the warning.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuditLogsWarning Warning message indicating something that went wrong with the query.

func NewAuditLogsWarning ¶ added in v1.11.0

func NewAuditLogsWarning() *AuditLogsWarning

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

func NewAuditLogsWarningWithDefaults ¶ added in v1.11.0

func NewAuditLogsWarningWithDefaults() *AuditLogsWarning

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

func (*AuditLogsWarning) GetCode ¶ added in v1.11.0

func (o *AuditLogsWarning) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*AuditLogsWarning) GetCodeOk ¶ added in v1.11.0

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

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

func (*AuditLogsWarning) GetDetail ¶ added in v1.11.0

func (o *AuditLogsWarning) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*AuditLogsWarning) GetDetailOk ¶ added in v1.11.0

func (o *AuditLogsWarning) 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 (*AuditLogsWarning) GetTitle ¶ added in v1.11.0

func (o *AuditLogsWarning) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*AuditLogsWarning) GetTitleOk ¶ added in v1.11.0

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

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

func (*AuditLogsWarning) HasCode ¶ added in v1.11.0

func (o *AuditLogsWarning) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*AuditLogsWarning) HasDetail ¶ added in v1.11.0

func (o *AuditLogsWarning) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*AuditLogsWarning) HasTitle ¶ added in v1.11.0

func (o *AuditLogsWarning) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (AuditLogsWarning) MarshalJSON ¶ added in v1.11.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsWarning) SetCode ¶ added in v1.11.0

func (o *AuditLogsWarning) SetCode(v string)

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

func (*AuditLogsWarning) SetDetail ¶ added in v1.11.0

func (o *AuditLogsWarning) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*AuditLogsWarning) SetTitle ¶ added in v1.11.0

func (o *AuditLogsWarning) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*AuditLogsWarning) UnmarshalJSON ¶ added in v1.11.0

func (o *AuditLogsWarning) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMapping ¶ added in v1.9.0

type AuthNMapping struct {
	// Attributes of AuthN Mapping.
	Attributes *AuthNMappingAttributes `json:"attributes,omitempty"`
	// ID of the AuthN Mapping.
	Id string `json:"id"`
	// All relationships associated with AuthN Mapping.
	Relationships *AuthNMappingRelationships `json:"relationships,omitempty"`
	// AuthN Mappings resource type.
	Type AuthNMappingsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMapping The AuthN Mapping object returned by API.

func NewAuthNMapping ¶ added in v1.9.0

func NewAuthNMapping(id string, typeVar AuthNMappingsType) *AuthNMapping

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

func NewAuthNMappingWithDefaults ¶ added in v1.9.0

func NewAuthNMappingWithDefaults() *AuthNMapping

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

func (*AuthNMapping) GetAttributes ¶ added in v1.9.0

func (o *AuthNMapping) GetAttributes() AuthNMappingAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*AuthNMapping) GetAttributesOk ¶ added in v1.9.0

func (o *AuthNMapping) GetAttributesOk() (*AuthNMappingAttributes, bool)

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

func (*AuthNMapping) GetId ¶ added in v1.9.0

func (o *AuthNMapping) GetId() string

GetId returns the Id field value.

func (*AuthNMapping) GetIdOk ¶ added in v1.9.0

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

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

func (*AuthNMapping) GetRelationships ¶ added in v1.9.0

func (o *AuthNMapping) GetRelationships() AuthNMappingRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*AuthNMapping) GetRelationshipsOk ¶ added in v1.9.0

func (o *AuthNMapping) GetRelationshipsOk() (*AuthNMappingRelationships, bool)

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

func (*AuthNMapping) GetType ¶ added in v1.9.0

func (o *AuthNMapping) GetType() AuthNMappingsType

GetType returns the Type field value.

func (*AuthNMapping) GetTypeOk ¶ added in v1.9.0

func (o *AuthNMapping) GetTypeOk() (*AuthNMappingsType, bool)

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

func (*AuthNMapping) HasAttributes ¶ added in v1.9.0

func (o *AuthNMapping) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuthNMapping) HasRelationships ¶ added in v1.9.0

func (o *AuthNMapping) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (AuthNMapping) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMapping) SetAttributes ¶ added in v1.9.0

func (o *AuthNMapping) SetAttributes(v AuthNMappingAttributes)

SetAttributes gets a reference to the given AuthNMappingAttributes and assigns it to the Attributes field.

func (*AuthNMapping) SetId ¶ added in v1.9.0

func (o *AuthNMapping) SetId(v string)

SetId sets field value.

func (*AuthNMapping) SetRelationships ¶ added in v1.9.0

func (o *AuthNMapping) SetRelationships(v AuthNMappingRelationships)

SetRelationships gets a reference to the given AuthNMappingRelationships and assigns it to the Relationships field.

func (*AuthNMapping) SetType ¶ added in v1.9.0

func (o *AuthNMapping) SetType(v AuthNMappingsType)

SetType sets field value.

func (*AuthNMapping) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMapping) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingAttributes ¶ added in v1.9.0

type AuthNMappingAttributes struct {
	// Key portion of a key/value pair of the attribute sent from the Identity Provider.
	AttributeKey *string `json:"attribute_key,omitempty"`
	// Value portion of a key/value pair of the attribute sent from the Identity Provider.
	AttributeValue *string `json:"attribute_value,omitempty"`
	// Creation time of the AuthN Mapping.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Time of last AuthN Mapping modification.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// The ID of the SAML assertion attribute.
	SamlAssertionAttributeId *string `json:"saml_assertion_attribute_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingAttributes Attributes of AuthN Mapping.

func NewAuthNMappingAttributes ¶ added in v1.9.0

func NewAuthNMappingAttributes() *AuthNMappingAttributes

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

func NewAuthNMappingAttributesWithDefaults ¶ added in v1.9.0

func NewAuthNMappingAttributesWithDefaults() *AuthNMappingAttributes

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

func (*AuthNMappingAttributes) GetAttributeKey ¶ added in v1.9.0

func (o *AuthNMappingAttributes) GetAttributeKey() string

GetAttributeKey returns the AttributeKey field value if set, zero value otherwise.

func (*AuthNMappingAttributes) GetAttributeKeyOk ¶ added in v1.9.0

func (o *AuthNMappingAttributes) GetAttributeKeyOk() (*string, bool)

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

func (*AuthNMappingAttributes) GetAttributeValue ¶ added in v1.9.0

func (o *AuthNMappingAttributes) GetAttributeValue() string

GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.

func (*AuthNMappingAttributes) GetAttributeValueOk ¶ added in v1.9.0

func (o *AuthNMappingAttributes) GetAttributeValueOk() (*string, bool)

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

func (*AuthNMappingAttributes) GetCreatedAt ¶ added in v1.9.0

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AuthNMappingAttributes) GetCreatedAtOk ¶ added in v1.9.0

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

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

func (*AuthNMappingAttributes) GetModifiedAt ¶ added in v1.9.0

func (o *AuthNMappingAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*AuthNMappingAttributes) GetModifiedAtOk ¶ added in v1.9.0

func (o *AuthNMappingAttributes) GetModifiedAtOk() (*time.Time, bool)

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

func (*AuthNMappingAttributes) GetSamlAssertionAttributeId ¶ added in v1.9.0

func (o *AuthNMappingAttributes) GetSamlAssertionAttributeId() string

GetSamlAssertionAttributeId returns the SamlAssertionAttributeId field value if set, zero value otherwise.

func (*AuthNMappingAttributes) GetSamlAssertionAttributeIdOk ¶ added in v1.9.0

func (o *AuthNMappingAttributes) GetSamlAssertionAttributeIdOk() (*string, bool)

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

func (*AuthNMappingAttributes) HasAttributeKey ¶ added in v1.9.0

func (o *AuthNMappingAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

func (*AuthNMappingAttributes) HasAttributeValue ¶ added in v1.9.0

func (o *AuthNMappingAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (*AuthNMappingAttributes) HasCreatedAt ¶ added in v1.9.0

func (o *AuthNMappingAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AuthNMappingAttributes) HasModifiedAt ¶ added in v1.9.0

func (o *AuthNMappingAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*AuthNMappingAttributes) HasSamlAssertionAttributeId ¶ added in v1.9.0

func (o *AuthNMappingAttributes) HasSamlAssertionAttributeId() bool

HasSamlAssertionAttributeId returns a boolean if a field has been set.

func (AuthNMappingAttributes) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingAttributes) SetAttributeKey ¶ added in v1.9.0

func (o *AuthNMappingAttributes) SetAttributeKey(v string)

SetAttributeKey gets a reference to the given string and assigns it to the AttributeKey field.

func (*AuthNMappingAttributes) SetAttributeValue ¶ added in v1.9.0

func (o *AuthNMappingAttributes) SetAttributeValue(v string)

SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.

func (*AuthNMappingAttributes) SetCreatedAt ¶ added in v1.9.0

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AuthNMappingAttributes) SetModifiedAt ¶ added in v1.9.0

func (o *AuthNMappingAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*AuthNMappingAttributes) SetSamlAssertionAttributeId ¶ added in v1.9.0

func (o *AuthNMappingAttributes) SetSamlAssertionAttributeId(v string)

SetSamlAssertionAttributeId gets a reference to the given string and assigns it to the SamlAssertionAttributeId field.

func (*AuthNMappingAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingCreateAttributes ¶ added in v1.9.0

type AuthNMappingCreateAttributes struct {
	// Key portion of a key/value pair of the attribute sent from the Identity Provider.
	AttributeKey *string `json:"attribute_key,omitempty"`
	// Value portion of a key/value pair of the attribute sent from the Identity Provider.
	AttributeValue *string `json:"attribute_value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingCreateAttributes Key/Value pair of attributes used for create request.

func NewAuthNMappingCreateAttributes ¶ added in v1.9.0

func NewAuthNMappingCreateAttributes() *AuthNMappingCreateAttributes

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

func NewAuthNMappingCreateAttributesWithDefaults ¶ added in v1.9.0

func NewAuthNMappingCreateAttributesWithDefaults() *AuthNMappingCreateAttributes

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

func (*AuthNMappingCreateAttributes) GetAttributeKey ¶ added in v1.9.0

func (o *AuthNMappingCreateAttributes) GetAttributeKey() string

GetAttributeKey returns the AttributeKey field value if set, zero value otherwise.

func (*AuthNMappingCreateAttributes) GetAttributeKeyOk ¶ added in v1.9.0

func (o *AuthNMappingCreateAttributes) GetAttributeKeyOk() (*string, bool)

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

func (*AuthNMappingCreateAttributes) GetAttributeValue ¶ added in v1.9.0

func (o *AuthNMappingCreateAttributes) GetAttributeValue() string

GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.

func (*AuthNMappingCreateAttributes) GetAttributeValueOk ¶ added in v1.9.0

func (o *AuthNMappingCreateAttributes) GetAttributeValueOk() (*string, bool)

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

func (*AuthNMappingCreateAttributes) HasAttributeKey ¶ added in v1.9.0

func (o *AuthNMappingCreateAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

func (*AuthNMappingCreateAttributes) HasAttributeValue ¶ added in v1.9.0

func (o *AuthNMappingCreateAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (AuthNMappingCreateAttributes) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingCreateAttributes) SetAttributeKey ¶ added in v1.9.0

func (o *AuthNMappingCreateAttributes) SetAttributeKey(v string)

SetAttributeKey gets a reference to the given string and assigns it to the AttributeKey field.

func (*AuthNMappingCreateAttributes) SetAttributeValue ¶ added in v1.9.0

func (o *AuthNMappingCreateAttributes) SetAttributeValue(v string)

SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.

func (*AuthNMappingCreateAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingCreateData ¶ added in v1.9.0

type AuthNMappingCreateData struct {
	// Key/Value pair of attributes used for create request.
	Attributes *AuthNMappingCreateAttributes `json:"attributes,omitempty"`
	// Relationship of AuthN Mapping create object to Role.
	Relationships *AuthNMappingCreateRelationships `json:"relationships,omitempty"`
	// AuthN Mappings resource type.
	Type AuthNMappingsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingCreateData Data for creating an AuthN Mapping.

func NewAuthNMappingCreateData ¶ added in v1.9.0

func NewAuthNMappingCreateData(typeVar AuthNMappingsType) *AuthNMappingCreateData

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

func NewAuthNMappingCreateDataWithDefaults ¶ added in v1.9.0

func NewAuthNMappingCreateDataWithDefaults() *AuthNMappingCreateData

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

func (*AuthNMappingCreateData) GetAttributes ¶ added in v1.9.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*AuthNMappingCreateData) GetAttributesOk ¶ added in v1.9.0

func (o *AuthNMappingCreateData) GetAttributesOk() (*AuthNMappingCreateAttributes, bool)

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

func (*AuthNMappingCreateData) GetRelationships ¶ added in v1.9.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*AuthNMappingCreateData) GetRelationshipsOk ¶ added in v1.9.0

func (o *AuthNMappingCreateData) GetRelationshipsOk() (*AuthNMappingCreateRelationships, bool)

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

func (*AuthNMappingCreateData) GetType ¶ added in v1.9.0

GetType returns the Type field value.

func (*AuthNMappingCreateData) GetTypeOk ¶ added in v1.9.0

func (o *AuthNMappingCreateData) GetTypeOk() (*AuthNMappingsType, bool)

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

func (*AuthNMappingCreateData) HasAttributes ¶ added in v1.9.0

func (o *AuthNMappingCreateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuthNMappingCreateData) HasRelationships ¶ added in v1.9.0

func (o *AuthNMappingCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (AuthNMappingCreateData) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingCreateData) SetAttributes ¶ added in v1.9.0

SetAttributes gets a reference to the given AuthNMappingCreateAttributes and assigns it to the Attributes field.

func (*AuthNMappingCreateData) SetRelationships ¶ added in v1.9.0

SetRelationships gets a reference to the given AuthNMappingCreateRelationships and assigns it to the Relationships field.

func (*AuthNMappingCreateData) SetType ¶ added in v1.9.0

SetType sets field value.

func (*AuthNMappingCreateData) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingCreateRelationships ¶ added in v1.9.0

type AuthNMappingCreateRelationships struct {
	// Relationship to role.
	Role *RelationshipToRole `json:"role,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingCreateRelationships Relationship of AuthN Mapping create object to Role.

func NewAuthNMappingCreateRelationships ¶ added in v1.9.0

func NewAuthNMappingCreateRelationships() *AuthNMappingCreateRelationships

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

func NewAuthNMappingCreateRelationshipsWithDefaults ¶ added in v1.9.0

func NewAuthNMappingCreateRelationshipsWithDefaults() *AuthNMappingCreateRelationships

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

func (*AuthNMappingCreateRelationships) GetRole ¶ added in v1.9.0

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

func (*AuthNMappingCreateRelationships) GetRoleOk ¶ added in v1.9.0

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

func (*AuthNMappingCreateRelationships) HasRole ¶ added in v1.9.0

HasRole returns a boolean if a field has been set.

func (AuthNMappingCreateRelationships) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingCreateRelationships) SetRole ¶ added in v1.9.0

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

func (*AuthNMappingCreateRelationships) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingCreateRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingCreateRequest ¶ added in v1.9.0

type AuthNMappingCreateRequest struct {
	// Data for creating an AuthN Mapping.
	Data AuthNMappingCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingCreateRequest Request for creating an AuthN Mapping.

func NewAuthNMappingCreateRequest ¶ added in v1.9.0

func NewAuthNMappingCreateRequest(data AuthNMappingCreateData) *AuthNMappingCreateRequest

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

func NewAuthNMappingCreateRequestWithDefaults ¶ added in v1.9.0

func NewAuthNMappingCreateRequestWithDefaults() *AuthNMappingCreateRequest

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

func (*AuthNMappingCreateRequest) GetData ¶ added in v1.9.0

GetData returns the Data field value.

func (*AuthNMappingCreateRequest) GetDataOk ¶ added in v1.9.0

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

func (AuthNMappingCreateRequest) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingCreateRequest) SetData ¶ added in v1.9.0

SetData sets field value.

func (*AuthNMappingCreateRequest) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingIncluded ¶ added in v1.9.0

type AuthNMappingIncluded struct {
	SAMLAssertionAttribute *SAMLAssertionAttribute
	Role                   *Role

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

AuthNMappingIncluded - Included data in the AuthN Mapping response.

func RoleAsAuthNMappingIncluded ¶ added in v1.9.0

func RoleAsAuthNMappingIncluded(v *Role) AuthNMappingIncluded

RoleAsAuthNMappingIncluded is a convenience function that returns Role wrapped in AuthNMappingIncluded.

func SAMLAssertionAttributeAsAuthNMappingIncluded ¶ added in v1.9.0

func SAMLAssertionAttributeAsAuthNMappingIncluded(v *SAMLAssertionAttribute) AuthNMappingIncluded

SAMLAssertionAttributeAsAuthNMappingIncluded is a convenience function that returns SAMLAssertionAttribute wrapped in AuthNMappingIncluded.

func (*AuthNMappingIncluded) GetActualInstance ¶ added in v1.9.0

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

GetActualInstance returns the actual instance.

func (AuthNMappingIncluded) MarshalJSON ¶ added in v1.9.0

func (obj AuthNMappingIncluded) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*AuthNMappingIncluded) UnmarshalJSON ¶ added in v1.9.0

func (obj *AuthNMappingIncluded) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type AuthNMappingRelationships ¶ added in v1.9.0

type AuthNMappingRelationships struct {
	// Relationship to role.
	Role *RelationshipToRole `json:"role,omitempty"`
	// AuthN Mapping relationship to SAML Assertion Attribute.
	SamlAssertionAttribute *RelationshipToSAMLAssertionAttribute `json:"saml_assertion_attribute,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingRelationships All relationships associated with AuthN Mapping.

func NewAuthNMappingRelationships ¶ added in v1.9.0

func NewAuthNMappingRelationships() *AuthNMappingRelationships

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

func NewAuthNMappingRelationshipsWithDefaults ¶ added in v1.9.0

func NewAuthNMappingRelationshipsWithDefaults() *AuthNMappingRelationships

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

func (*AuthNMappingRelationships) GetRole ¶ added in v1.9.0

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

func (*AuthNMappingRelationships) GetRoleOk ¶ added in v1.9.0

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

func (*AuthNMappingRelationships) GetSamlAssertionAttribute ¶ added in v1.9.0

func (o *AuthNMappingRelationships) GetSamlAssertionAttribute() RelationshipToSAMLAssertionAttribute

GetSamlAssertionAttribute returns the SamlAssertionAttribute field value if set, zero value otherwise.

func (*AuthNMappingRelationships) GetSamlAssertionAttributeOk ¶ added in v1.9.0

func (o *AuthNMappingRelationships) GetSamlAssertionAttributeOk() (*RelationshipToSAMLAssertionAttribute, bool)

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

func (*AuthNMappingRelationships) HasRole ¶ added in v1.9.0

func (o *AuthNMappingRelationships) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*AuthNMappingRelationships) HasSamlAssertionAttribute ¶ added in v1.9.0

func (o *AuthNMappingRelationships) HasSamlAssertionAttribute() bool

HasSamlAssertionAttribute returns a boolean if a field has been set.

func (AuthNMappingRelationships) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingRelationships) SetRole ¶ added in v1.9.0

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

func (*AuthNMappingRelationships) SetSamlAssertionAttribute ¶ added in v1.9.0

func (o *AuthNMappingRelationships) SetSamlAssertionAttribute(v RelationshipToSAMLAssertionAttribute)

SetSamlAssertionAttribute gets a reference to the given RelationshipToSAMLAssertionAttribute and assigns it to the SamlAssertionAttribute field.

func (*AuthNMappingRelationships) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingResponse ¶ added in v1.9.0

type AuthNMappingResponse struct {
	// The AuthN Mapping object returned by API.
	Data *AuthNMapping `json:"data,omitempty"`
	// Included data in the AuthN Mapping response.
	Included []AuthNMappingIncluded `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingResponse AuthN Mapping response from the API.

func NewAuthNMappingResponse ¶ added in v1.9.0

func NewAuthNMappingResponse() *AuthNMappingResponse

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

func NewAuthNMappingResponseWithDefaults ¶ added in v1.9.0

func NewAuthNMappingResponseWithDefaults() *AuthNMappingResponse

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

func (*AuthNMappingResponse) GetData ¶ added in v1.9.0

func (o *AuthNMappingResponse) GetData() AuthNMapping

GetData returns the Data field value if set, zero value otherwise.

func (*AuthNMappingResponse) GetDataOk ¶ added in v1.9.0

func (o *AuthNMappingResponse) GetDataOk() (*AuthNMapping, bool)

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

func (*AuthNMappingResponse) GetIncluded ¶ added in v1.15.0

func (o *AuthNMappingResponse) GetIncluded() []AuthNMappingIncluded

GetIncluded returns the Included field value if set, zero value otherwise.

func (*AuthNMappingResponse) GetIncludedOk ¶ added in v1.15.0

func (o *AuthNMappingResponse) GetIncludedOk() (*[]AuthNMappingIncluded, bool)

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

func (*AuthNMappingResponse) HasData ¶ added in v1.9.0

func (o *AuthNMappingResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*AuthNMappingResponse) HasIncluded ¶ added in v1.15.0

func (o *AuthNMappingResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (AuthNMappingResponse) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingResponse) SetData ¶ added in v1.9.0

func (o *AuthNMappingResponse) SetData(v AuthNMapping)

SetData gets a reference to the given AuthNMapping and assigns it to the Data field.

func (*AuthNMappingResponse) SetIncluded ¶ added in v1.15.0

func (o *AuthNMappingResponse) SetIncluded(v []AuthNMappingIncluded)

SetIncluded gets a reference to the given []AuthNMappingIncluded and assigns it to the Included field.

func (*AuthNMappingResponse) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingUpdateAttributes ¶ added in v1.9.0

type AuthNMappingUpdateAttributes struct {
	// Key portion of a key/value pair of the attribute sent from the Identity Provider.
	AttributeKey *string `json:"attribute_key,omitempty"`
	// Value portion of a key/value pair of the attribute sent from the Identity Provider.
	AttributeValue *string `json:"attribute_value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingUpdateAttributes Key/Value pair of attributes used for update request.

func NewAuthNMappingUpdateAttributes ¶ added in v1.9.0

func NewAuthNMappingUpdateAttributes() *AuthNMappingUpdateAttributes

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

func NewAuthNMappingUpdateAttributesWithDefaults ¶ added in v1.9.0

func NewAuthNMappingUpdateAttributesWithDefaults() *AuthNMappingUpdateAttributes

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

func (*AuthNMappingUpdateAttributes) GetAttributeKey ¶ added in v1.9.0

func (o *AuthNMappingUpdateAttributes) GetAttributeKey() string

GetAttributeKey returns the AttributeKey field value if set, zero value otherwise.

func (*AuthNMappingUpdateAttributes) GetAttributeKeyOk ¶ added in v1.9.0

func (o *AuthNMappingUpdateAttributes) GetAttributeKeyOk() (*string, bool)

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

func (*AuthNMappingUpdateAttributes) GetAttributeValue ¶ added in v1.9.0

func (o *AuthNMappingUpdateAttributes) GetAttributeValue() string

GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.

func (*AuthNMappingUpdateAttributes) GetAttributeValueOk ¶ added in v1.9.0

func (o *AuthNMappingUpdateAttributes) GetAttributeValueOk() (*string, bool)

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

func (*AuthNMappingUpdateAttributes) HasAttributeKey ¶ added in v1.9.0

func (o *AuthNMappingUpdateAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

func (*AuthNMappingUpdateAttributes) HasAttributeValue ¶ added in v1.9.0

func (o *AuthNMappingUpdateAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (AuthNMappingUpdateAttributes) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingUpdateAttributes) SetAttributeKey ¶ added in v1.9.0

func (o *AuthNMappingUpdateAttributes) SetAttributeKey(v string)

SetAttributeKey gets a reference to the given string and assigns it to the AttributeKey field.

func (*AuthNMappingUpdateAttributes) SetAttributeValue ¶ added in v1.9.0

func (o *AuthNMappingUpdateAttributes) SetAttributeValue(v string)

SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.

func (*AuthNMappingUpdateAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingUpdateData ¶ added in v1.9.0

type AuthNMappingUpdateData struct {
	// Key/Value pair of attributes used for update request.
	Attributes *AuthNMappingUpdateAttributes `json:"attributes,omitempty"`
	// ID of the AuthN Mapping.
	Id string `json:"id"`
	// Relationship of AuthN Mapping update object to Role.
	Relationships *AuthNMappingUpdateRelationships `json:"relationships,omitempty"`
	// AuthN Mappings resource type.
	Type AuthNMappingsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingUpdateData Data for updating an AuthN Mapping.

func NewAuthNMappingUpdateData ¶ added in v1.9.0

func NewAuthNMappingUpdateData(id string, typeVar AuthNMappingsType) *AuthNMappingUpdateData

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

func NewAuthNMappingUpdateDataWithDefaults ¶ added in v1.9.0

func NewAuthNMappingUpdateDataWithDefaults() *AuthNMappingUpdateData

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

func (*AuthNMappingUpdateData) GetAttributes ¶ added in v1.9.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*AuthNMappingUpdateData) GetAttributesOk ¶ added in v1.9.0

func (o *AuthNMappingUpdateData) GetAttributesOk() (*AuthNMappingUpdateAttributes, bool)

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

func (*AuthNMappingUpdateData) GetId ¶ added in v1.9.0

func (o *AuthNMappingUpdateData) GetId() string

GetId returns the Id field value.

func (*AuthNMappingUpdateData) GetIdOk ¶ added in v1.9.0

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

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

func (*AuthNMappingUpdateData) GetRelationships ¶ added in v1.9.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*AuthNMappingUpdateData) GetRelationshipsOk ¶ added in v1.9.0

func (o *AuthNMappingUpdateData) GetRelationshipsOk() (*AuthNMappingUpdateRelationships, bool)

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

func (*AuthNMappingUpdateData) GetType ¶ added in v1.9.0

GetType returns the Type field value.

func (*AuthNMappingUpdateData) GetTypeOk ¶ added in v1.9.0

func (o *AuthNMappingUpdateData) GetTypeOk() (*AuthNMappingsType, bool)

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

func (*AuthNMappingUpdateData) HasAttributes ¶ added in v1.9.0

func (o *AuthNMappingUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuthNMappingUpdateData) HasRelationships ¶ added in v1.9.0

func (o *AuthNMappingUpdateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (AuthNMappingUpdateData) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingUpdateData) SetAttributes ¶ added in v1.9.0

SetAttributes gets a reference to the given AuthNMappingUpdateAttributes and assigns it to the Attributes field.

func (*AuthNMappingUpdateData) SetId ¶ added in v1.9.0

func (o *AuthNMappingUpdateData) SetId(v string)

SetId sets field value.

func (*AuthNMappingUpdateData) SetRelationships ¶ added in v1.9.0

SetRelationships gets a reference to the given AuthNMappingUpdateRelationships and assigns it to the Relationships field.

func (*AuthNMappingUpdateData) SetType ¶ added in v1.9.0

SetType sets field value.

func (*AuthNMappingUpdateData) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingUpdateRelationships ¶ added in v1.9.0

type AuthNMappingUpdateRelationships struct {
	// Relationship to role.
	Role *RelationshipToRole `json:"role,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingUpdateRelationships Relationship of AuthN Mapping update object to Role.

func NewAuthNMappingUpdateRelationships ¶ added in v1.9.0

func NewAuthNMappingUpdateRelationships() *AuthNMappingUpdateRelationships

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

func NewAuthNMappingUpdateRelationshipsWithDefaults ¶ added in v1.9.0

func NewAuthNMappingUpdateRelationshipsWithDefaults() *AuthNMappingUpdateRelationships

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

func (*AuthNMappingUpdateRelationships) GetRole ¶ added in v1.9.0

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

func (*AuthNMappingUpdateRelationships) GetRoleOk ¶ added in v1.9.0

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

func (*AuthNMappingUpdateRelationships) HasRole ¶ added in v1.9.0

HasRole returns a boolean if a field has been set.

func (AuthNMappingUpdateRelationships) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingUpdateRelationships) SetRole ¶ added in v1.9.0

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

func (*AuthNMappingUpdateRelationships) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingUpdateRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingUpdateRequest ¶ added in v1.9.0

type AuthNMappingUpdateRequest struct {
	// Data for updating an AuthN Mapping.
	Data AuthNMappingUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingUpdateRequest Request to update an AuthN Mapping.

func NewAuthNMappingUpdateRequest ¶ added in v1.9.0

func NewAuthNMappingUpdateRequest(data AuthNMappingUpdateData) *AuthNMappingUpdateRequest

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

func NewAuthNMappingUpdateRequestWithDefaults ¶ added in v1.9.0

func NewAuthNMappingUpdateRequestWithDefaults() *AuthNMappingUpdateRequest

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

func (*AuthNMappingUpdateRequest) GetData ¶ added in v1.9.0

GetData returns the Data field value.

func (*AuthNMappingUpdateRequest) GetDataOk ¶ added in v1.9.0

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

func (AuthNMappingUpdateRequest) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingUpdateRequest) SetData ¶ added in v1.9.0

SetData sets field value.

func (*AuthNMappingUpdateRequest) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingsApiService ¶ added in v1.9.0

type AuthNMappingsApiService service

AuthNMappingsApiService AuthNMappingsApi service.

func (*AuthNMappingsApiService) CreateAuthNMapping ¶ added in v1.9.0

CreateAuthNMapping Create an AuthN Mapping. Create an AuthN Mapping.

func (*AuthNMappingsApiService) DeleteAuthNMapping ¶ added in v1.9.0

func (a *AuthNMappingsApiService) DeleteAuthNMapping(ctx _context.Context, authnMappingId string) (*_nethttp.Response, error)

DeleteAuthNMapping Delete an AuthN Mapping. Delete an AuthN Mapping specified by AuthN Mapping UUID.

func (*AuthNMappingsApiService) GetAuthNMapping ¶ added in v1.9.0

func (a *AuthNMappingsApiService) GetAuthNMapping(ctx _context.Context, authnMappingId string) (AuthNMappingResponse, *_nethttp.Response, error)

GetAuthNMapping Get an AuthN Mapping by UUID. Get an AuthN Mapping specified by the AuthN Mapping UUID.

func (*AuthNMappingsApiService) ListAuthNMappings ¶ added in v1.9.0

ListAuthNMappings List all AuthN Mappings. List all AuthN Mappings in the org.

func (*AuthNMappingsApiService) UpdateAuthNMapping ¶ added in v1.9.0

UpdateAuthNMapping Edit an AuthN Mapping. Edit an AuthN Mapping.

type AuthNMappingsResponse ¶ added in v1.9.0

type AuthNMappingsResponse struct {
	// Array of returned AuthN Mappings.
	Data []AuthNMapping `json:"data,omitempty"`
	// Included data in the AuthN Mapping response.
	Included []AuthNMappingIncluded `json:"included,omitempty"`
	// Object describing meta attributes of response.
	Meta *ResponseMetaAttributes `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingsResponse Array of AuthN Mappings response.

func NewAuthNMappingsResponse ¶ added in v1.9.0

func NewAuthNMappingsResponse() *AuthNMappingsResponse

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

func NewAuthNMappingsResponseWithDefaults ¶ added in v1.9.0

func NewAuthNMappingsResponseWithDefaults() *AuthNMappingsResponse

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

func (*AuthNMappingsResponse) GetData ¶ added in v1.9.0

func (o *AuthNMappingsResponse) GetData() []AuthNMapping

GetData returns the Data field value if set, zero value otherwise.

func (*AuthNMappingsResponse) GetDataOk ¶ added in v1.9.0

func (o *AuthNMappingsResponse) GetDataOk() (*[]AuthNMapping, bool)

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

func (*AuthNMappingsResponse) GetIncluded ¶ added in v1.15.0

func (o *AuthNMappingsResponse) GetIncluded() []AuthNMappingIncluded

GetIncluded returns the Included field value if set, zero value otherwise.

func (*AuthNMappingsResponse) GetIncludedOk ¶ added in v1.15.0

func (o *AuthNMappingsResponse) GetIncludedOk() (*[]AuthNMappingIncluded, bool)

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

func (*AuthNMappingsResponse) GetMeta ¶ added in v1.9.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*AuthNMappingsResponse) GetMetaOk ¶ added in v1.9.0

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 (*AuthNMappingsResponse) HasData ¶ added in v1.9.0

func (o *AuthNMappingsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*AuthNMappingsResponse) HasIncluded ¶ added in v1.15.0

func (o *AuthNMappingsResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*AuthNMappingsResponse) HasMeta ¶ added in v1.9.0

func (o *AuthNMappingsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (AuthNMappingsResponse) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingsResponse) SetData ¶ added in v1.9.0

func (o *AuthNMappingsResponse) SetData(v []AuthNMapping)

SetData gets a reference to the given []AuthNMapping and assigns it to the Data field.

func (*AuthNMappingsResponse) SetIncluded ¶ added in v1.15.0

func (o *AuthNMappingsResponse) SetIncluded(v []AuthNMappingIncluded)

SetIncluded gets a reference to the given []AuthNMappingIncluded and assigns it to the Included field.

func (*AuthNMappingsResponse) SetMeta ¶ added in v1.9.0

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

func (*AuthNMappingsResponse) UnmarshalJSON ¶ added in v1.9.0

func (o *AuthNMappingsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthNMappingsSort ¶ added in v1.9.0

type AuthNMappingsSort string

AuthNMappingsSort Sorting options for AuthN Mappings.

const (
	AUTHNMAPPINGSSORT_CREATED_AT_ASCENDING                      AuthNMappingsSort = "created_at"
	AUTHNMAPPINGSSORT_CREATED_AT_DESCENDING                     AuthNMappingsSort = "-created_at"
	AUTHNMAPPINGSSORT_ROLE_ID_ASCENDING                         AuthNMappingsSort = "role_id"
	AUTHNMAPPINGSSORT_ROLE_ID_DESCENDING                        AuthNMappingsSort = "-role_id"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_ID_ASCENDING     AuthNMappingsSort = "saml_assertion_attribute_id"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_ID_DESCENDING    AuthNMappingsSort = "-saml_assertion_attribute_id"
	AUTHNMAPPINGSSORT_ROLE_NAME_ASCENDING                       AuthNMappingsSort = "role.name"
	AUTHNMAPPINGSSORT_ROLE_NAME_DESCENDING                      AuthNMappingsSort = "-role.name"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_KEY_ASCENDING    AuthNMappingsSort = "saml_assertion_attribute.attribute_key"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_KEY_DESCENDING   AuthNMappingsSort = "-saml_assertion_attribute.attribute_key"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_VALUE_ASCENDING  AuthNMappingsSort = "saml_assertion_attribute.attribute_value"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_VALUE_DESCENDING AuthNMappingsSort = "-saml_assertion_attribute.attribute_value"
)

List of AuthNMappingsSort.

func NewAuthNMappingsSortFromValue ¶ added in v1.9.0

func NewAuthNMappingsSortFromValue(v string) (*AuthNMappingsSort, error)

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

func (*AuthNMappingsSort) GetAllowedValues ¶ added in v1.9.0

func (v *AuthNMappingsSort) GetAllowedValues() []AuthNMappingsSort

GetAllowedValues reeturns the list of possible values.

func (AuthNMappingsSort) IsValid ¶ added in v1.9.0

func (v AuthNMappingsSort) IsValid() bool

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

func (AuthNMappingsSort) Ptr ¶ added in v1.9.0

Ptr returns reference to AuthNMappingsSort value.

func (*AuthNMappingsSort) UnmarshalJSON ¶ added in v1.9.0

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingsType ¶ added in v1.9.0

type AuthNMappingsType string

AuthNMappingsType AuthN Mappings resource type.

const (
	AUTHNMAPPINGSTYPE_AUTHN_MAPPINGS AuthNMappingsType = "authn_mappings"
)

List of AuthNMappingsType.

func NewAuthNMappingsTypeFromValue ¶ added in v1.9.0

func NewAuthNMappingsTypeFromValue(v string) (*AuthNMappingsType, error)

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

func (*AuthNMappingsType) GetAllowedValues ¶ added in v1.9.0

func (v *AuthNMappingsType) GetAllowedValues() []AuthNMappingsType

GetAllowedValues reeturns the list of possible values.

func (AuthNMappingsType) IsValid ¶ added in v1.9.0

func (v AuthNMappingsType) IsValid() bool

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

func (AuthNMappingsType) Ptr ¶ added in v1.9.0

Ptr returns reference to AuthNMappingsType value.

func (*AuthNMappingsType) UnmarshalJSON ¶ added in v1.9.0

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

UnmarshalJSON deserializes the given payload.

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 ChargebackBreakdown ¶ added in v1.14.0

type ChargebackBreakdown struct {
	// The type of charge for a particular product.
	ChargeType *string `json:"charge_type,omitempty"`
	// The cost for a particular product and charge type during a given month.
	Cost *float64 `json:"cost,omitempty"`
	// The product for which cost is being reported.
	ProductName *string `json:"product_name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ChargebackBreakdown Charges breakdown.

func NewChargebackBreakdown ¶ added in v1.14.0

func NewChargebackBreakdown() *ChargebackBreakdown

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

func NewChargebackBreakdownWithDefaults ¶ added in v1.14.0

func NewChargebackBreakdownWithDefaults() *ChargebackBreakdown

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

func (*ChargebackBreakdown) GetChargeType ¶ added in v1.14.0

func (o *ChargebackBreakdown) GetChargeType() string

GetChargeType returns the ChargeType field value if set, zero value otherwise.

func (*ChargebackBreakdown) GetChargeTypeOk ¶ added in v1.14.0

func (o *ChargebackBreakdown) GetChargeTypeOk() (*string, bool)

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

func (*ChargebackBreakdown) GetCost ¶ added in v1.14.0

func (o *ChargebackBreakdown) GetCost() float64

GetCost returns the Cost field value if set, zero value otherwise.

func (*ChargebackBreakdown) GetCostOk ¶ added in v1.14.0

func (o *ChargebackBreakdown) GetCostOk() (*float64, bool)

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

func (*ChargebackBreakdown) GetProductName ¶ added in v1.14.0

func (o *ChargebackBreakdown) GetProductName() string

GetProductName returns the ProductName field value if set, zero value otherwise.

func (*ChargebackBreakdown) GetProductNameOk ¶ added in v1.14.0

func (o *ChargebackBreakdown) GetProductNameOk() (*string, bool)

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

func (*ChargebackBreakdown) HasChargeType ¶ added in v1.14.0

func (o *ChargebackBreakdown) HasChargeType() bool

HasChargeType returns a boolean if a field has been set.

func (*ChargebackBreakdown) HasCost ¶ added in v1.14.0

func (o *ChargebackBreakdown) HasCost() bool

HasCost returns a boolean if a field has been set.

func (*ChargebackBreakdown) HasProductName ¶ added in v1.14.0

func (o *ChargebackBreakdown) HasProductName() bool

HasProductName returns a boolean if a field has been set.

func (ChargebackBreakdown) MarshalJSON ¶ added in v1.14.0

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

MarshalJSON serializes the struct using spec logic.

func (*ChargebackBreakdown) SetChargeType ¶ added in v1.14.0

func (o *ChargebackBreakdown) SetChargeType(v string)

SetChargeType gets a reference to the given string and assigns it to the ChargeType field.

func (*ChargebackBreakdown) SetCost ¶ added in v1.14.0

func (o *ChargebackBreakdown) SetCost(v float64)

SetCost gets a reference to the given float64 and assigns it to the Cost field.

func (*ChargebackBreakdown) SetProductName ¶ added in v1.14.0

func (o *ChargebackBreakdown) SetProductName(v string)

SetProductName gets a reference to the given string and assigns it to the ProductName field.

func (*ChargebackBreakdown) UnmarshalJSON ¶ added in v1.14.0

func (o *ChargebackBreakdown) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleAttributes ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleAttributes struct {
	// The category of the Agent rule.
	Category *string `json:"category,omitempty"`
	// When the Agent rule was created, timestamp in milliseconds.
	CreationDate *int64 `json:"creationDate,omitempty"`
	// The attributes of the user who created the Agent rule.
	Creator *CloudWorkloadSecurityAgentRuleCreatorAttributes `json:"creator,omitempty"`
	// Whether the rule is included by default.
	DefaultRule *bool `json:"defaultRule,omitempty"`
	// The description of the Agent rule.
	Description *string `json:"description,omitempty"`
	// Whether the Agent rule is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// The SECL expression of the Agent rule.
	Expression *string `json:"expression,omitempty"`
	// The name of the Agent rule.
	Name *string `json:"name,omitempty"`
	// When the Agent rule was last updated, timestamp in milliseconds.
	UpdatedAt *int64 `json:"updatedAt,omitempty"`
	// The attributes of the user who last updated the Agent rule.
	Updater *CloudWorkloadSecurityAgentRuleUpdaterAttributes `json:"updater,omitempty"`
	// The version of the Agent rule.
	Version *int64 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleAttributes A Cloud Workload Security Agent rule returned by the API.

func NewCloudWorkloadSecurityAgentRuleAttributes ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleAttributes() *CloudWorkloadSecurityAgentRuleAttributes

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

func NewCloudWorkloadSecurityAgentRuleAttributesWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleAttributes

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCategory ¶ added in v1.8.0

GetCategory returns the Category field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCategoryOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCategoryOk() (*string, bool)

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreationDate ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCreationDate() int64

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreationDateOk ¶ added in v1.8.0

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

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreator ¶ added in v1.8.0

GetCreator returns the Creator field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreatorOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRule ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRule() bool

GetDefaultRule returns the DefaultRule field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRuleOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRuleOk() (*bool, bool)

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetDescription ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetDescriptionOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) 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 (*CloudWorkloadSecurityAgentRuleAttributes) GetEnabled ¶ added in v1.8.0

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetEnabledOk ¶ added in v1.8.0

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

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetExpression ¶ added in v1.8.0

GetExpression returns the Expression field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetExpressionOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetExpressionOk() (*string, bool)

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetName ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetNameOk ¶ added in v1.8.0

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 (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAt ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAtOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAtOk() (*int64, bool)

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdater ¶ added in v1.8.0

GetUpdater returns the Updater field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdaterOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetVersion ¶ added in v1.8.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetVersionOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetVersionOk() (*int64, bool)

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

func (*CloudWorkloadSecurityAgentRuleAttributes) HasCategory ¶ added in v1.8.0

HasCategory returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasCreationDate ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasCreator ¶ added in v1.8.0

HasCreator returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasDefaultRule ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) HasDefaultRule() bool

HasDefaultRule returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasDescription ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasEnabled ¶ added in v1.8.0

HasEnabled returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasExpression ¶ added in v1.8.0

HasExpression returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasName ¶ added in v1.8.0

HasName returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasUpdatedAt ¶ added in v1.8.0

HasUpdatedAt returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasUpdater ¶ added in v1.8.0

HasUpdater returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasVersion ¶ added in v1.8.0

HasVersion returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleAttributes) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetCategory ¶ added in v1.8.0

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetCreationDate ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) SetCreationDate(v int64)

SetCreationDate gets a reference to the given int64 and assigns it to the CreationDate field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetCreator ¶ added in v1.8.0

SetCreator gets a reference to the given CloudWorkloadSecurityAgentRuleCreatorAttributes and assigns it to the Creator field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetDefaultRule ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) SetDefaultRule(v bool)

SetDefaultRule gets a reference to the given bool and assigns it to the DefaultRule field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetDescription ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) SetDescription(v string)

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

func (*CloudWorkloadSecurityAgentRuleAttributes) SetEnabled ¶ added in v1.8.0

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetExpression ¶ added in v1.8.0

SetExpression gets a reference to the given string and assigns it to the Expression field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetName ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleAttributes) SetUpdatedAt ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleAttributes) SetUpdater ¶ added in v1.8.0

SetUpdater gets a reference to the given CloudWorkloadSecurityAgentRuleUpdaterAttributes and assigns it to the Updater field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetVersion ¶ added in v1.8.0

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*CloudWorkloadSecurityAgentRuleAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleCreateAttributes ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleCreateAttributes struct {
	// The description of the Agent rule.
	Description *string `json:"description,omitempty"`
	// Whether the Agent rule is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// The SECL expression of the Agent rule.
	Expression string `json:"expression"`
	// The name of the Agent rule.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleCreateAttributes Create a new Cloud Workload Security Agent rule.

func NewCloudWorkloadSecurityAgentRuleCreateAttributes ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreateAttributes(expression string, name string) *CloudWorkloadSecurityAgentRuleCreateAttributes

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

func NewCloudWorkloadSecurityAgentRuleCreateAttributesWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreateAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleCreateAttributes

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

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetDescription ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetDescriptionOk ¶ added in v1.8.0

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 (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetEnabled ¶ added in v1.8.0

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetEnabledOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpression ¶ added in v1.8.0

GetExpression returns the Expression field value.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpressionOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetName ¶ added in v1.8.0

GetName returns the Name field value.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetNameOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) HasDescription ¶ added in v1.8.0

HasDescription returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) HasEnabled ¶ added in v1.8.0

HasEnabled returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleCreateAttributes) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetDescription ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetEnabled ¶ added in v1.8.0

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetExpression ¶ added in v1.8.0

SetExpression sets field value.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetName ¶ added in v1.8.0

SetName sets field value.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleCreateData ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleCreateData struct {
	// Create a new Cloud Workload Security Agent rule.
	Attributes CloudWorkloadSecurityAgentRuleCreateAttributes `json:"attributes"`
	// The type of the resource. The value should always be `agent_rule`.
	Type CloudWorkloadSecurityAgentRuleType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleCreateData Object for a single Agent rule.

func NewCloudWorkloadSecurityAgentRuleCreateData ¶ added in v1.8.0

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

func NewCloudWorkloadSecurityAgentRuleCreateDataWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreateDataWithDefaults() *CloudWorkloadSecurityAgentRuleCreateData

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

func (*CloudWorkloadSecurityAgentRuleCreateData) GetAttributes ¶ added in v1.8.0

GetAttributes returns the Attributes field value.

func (*CloudWorkloadSecurityAgentRuleCreateData) GetAttributesOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleCreateData) GetType ¶ added in v1.8.0

GetType returns the Type field value.

func (*CloudWorkloadSecurityAgentRuleCreateData) GetTypeOk ¶ added in v1.8.0

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

func (CloudWorkloadSecurityAgentRuleCreateData) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleCreateData) SetAttributes ¶ added in v1.8.0

SetAttributes sets field value.

func (*CloudWorkloadSecurityAgentRuleCreateData) SetType ¶ added in v1.8.0

SetType sets field value.

func (*CloudWorkloadSecurityAgentRuleCreateData) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleCreateRequest ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleCreateRequest struct {
	// Object for a single Agent rule.
	Data CloudWorkloadSecurityAgentRuleCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleCreateRequest Request object that includes the Agent rule to create.

func NewCloudWorkloadSecurityAgentRuleCreateRequest ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreateRequest(data CloudWorkloadSecurityAgentRuleCreateData) *CloudWorkloadSecurityAgentRuleCreateRequest

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

func NewCloudWorkloadSecurityAgentRuleCreateRequestWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreateRequestWithDefaults() *CloudWorkloadSecurityAgentRuleCreateRequest

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

func (*CloudWorkloadSecurityAgentRuleCreateRequest) GetData ¶ added in v1.8.0

GetData returns the Data field value.

func (*CloudWorkloadSecurityAgentRuleCreateRequest) GetDataOk ¶ added in v1.8.0

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

func (CloudWorkloadSecurityAgentRuleCreateRequest) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleCreateRequest) SetData ¶ added in v1.8.0

SetData sets field value.

func (*CloudWorkloadSecurityAgentRuleCreateRequest) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleCreatorAttributes ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleCreatorAttributes struct {
	// The handle of the user.
	Handle *string `json:"handle,omitempty"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleCreatorAttributes The attributes of the user who created the Agent rule.

func NewCloudWorkloadSecurityAgentRuleCreatorAttributes ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreatorAttributes() *CloudWorkloadSecurityAgentRuleCreatorAttributes

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

func NewCloudWorkloadSecurityAgentRuleCreatorAttributesWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreatorAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleCreatorAttributes

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

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetHandle ¶ added in v1.8.0

GetHandle returns the Handle field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetHandleOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetName ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetNameOk ¶ added in v1.8.0

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 (*CloudWorkloadSecurityAgentRuleCreatorAttributes) HasHandle ¶ added in v1.8.0

HasHandle returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) HasName ¶ added in v1.8.0

HasName returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleCreatorAttributes) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) SetHandle ¶ added in v1.8.0

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) SetName ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleData ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleData struct {
	// A Cloud Workload Security Agent rule returned by the API.
	Attributes *CloudWorkloadSecurityAgentRuleAttributes `json:"attributes,omitempty"`
	// The ID of the Agent rule.
	Id *string `json:"id,omitempty"`
	// The type of the resource. The value should always be `agent_rule`.
	Type *CloudWorkloadSecurityAgentRuleType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleData Object for a single Agent rule.

func NewCloudWorkloadSecurityAgentRuleData ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleData() *CloudWorkloadSecurityAgentRuleData

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

func NewCloudWorkloadSecurityAgentRuleDataWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleDataWithDefaults() *CloudWorkloadSecurityAgentRuleData

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

func (*CloudWorkloadSecurityAgentRuleData) GetAttributes ¶ added in v1.8.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleData) GetAttributesOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleData) GetId ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleData) GetIdOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleData) GetType ¶ added in v1.8.0

GetType returns the Type field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleData) GetTypeOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleData) HasAttributes ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleData) HasId ¶ added in v1.8.0

HasId returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleData) HasType ¶ added in v1.8.0

HasType returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleData) MarshalJSON ¶ added in v1.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleData) SetAttributes ¶ added in v1.8.0

SetAttributes gets a reference to the given CloudWorkloadSecurityAgentRuleAttributes and assigns it to the Attributes field.

func (*CloudWorkloadSecurityAgentRuleData) SetId ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleData) SetType ¶ added in v1.8.0

SetType gets a reference to the given CloudWorkloadSecurityAgentRuleType and assigns it to the Type field.

func (*CloudWorkloadSecurityAgentRuleData) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleResponse ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleResponse struct {
	// Object for a single Agent rule.
	Data *CloudWorkloadSecurityAgentRuleData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleResponse Response object that includes an Agent rule.

func NewCloudWorkloadSecurityAgentRuleResponse ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleResponse() *CloudWorkloadSecurityAgentRuleResponse

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

func NewCloudWorkloadSecurityAgentRuleResponseWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleResponseWithDefaults() *CloudWorkloadSecurityAgentRuleResponse

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

func (*CloudWorkloadSecurityAgentRuleResponse) GetData ¶ added in v1.8.0

GetData returns the Data field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleResponse) GetDataOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleResponse) HasData ¶ added in v1.8.0

HasData returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleResponse) MarshalJSON ¶ added in v1.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleResponse) SetData ¶ added in v1.8.0

SetData gets a reference to the given CloudWorkloadSecurityAgentRuleData and assigns it to the Data field.

func (*CloudWorkloadSecurityAgentRuleResponse) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleType ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleType string

CloudWorkloadSecurityAgentRuleType The type of the resource. The value should always be `agent_rule`.

const (
	CLOUDWORKLOADSECURITYAGENTRULETYPE_AGENT_RULE CloudWorkloadSecurityAgentRuleType = "agent_rule"
)

List of CloudWorkloadSecurityAgentRuleType.

func NewCloudWorkloadSecurityAgentRuleTypeFromValue ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleTypeFromValue(v string) (*CloudWorkloadSecurityAgentRuleType, error)

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

func (*CloudWorkloadSecurityAgentRuleType) GetAllowedValues ¶ added in v1.8.0

GetAllowedValues reeturns the list of possible values.

func (CloudWorkloadSecurityAgentRuleType) IsValid ¶ added in v1.8.0

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

func (CloudWorkloadSecurityAgentRuleType) Ptr ¶ added in v1.8.0

Ptr returns reference to CloudWorkloadSecurityAgentRuleType value.

func (*CloudWorkloadSecurityAgentRuleType) UnmarshalJSON ¶ added in v1.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleUpdateAttributes ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleUpdateAttributes struct {
	// The description of the Agent rule.
	Description *string `json:"description,omitempty"`
	// Whether the Agent rule is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// The SECL expression of the Agent rule.
	Expression *string `json:"expression,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleUpdateAttributes Update an existing Cloud Workload Security Agent rule.

func NewCloudWorkloadSecurityAgentRuleUpdateAttributes ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdateAttributes() *CloudWorkloadSecurityAgentRuleUpdateAttributes

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

func NewCloudWorkloadSecurityAgentRuleUpdateAttributesWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdateAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleUpdateAttributes

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

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetDescription ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetDescriptionOk ¶ added in v1.8.0

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 (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetEnabled ¶ added in v1.8.0

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetEnabledOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetExpression ¶ added in v1.8.0

GetExpression returns the Expression field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetExpressionOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasDescription ¶ added in v1.8.0

HasDescription returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasEnabled ¶ added in v1.8.0

HasEnabled returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasExpression ¶ added in v1.8.0

HasExpression returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleUpdateAttributes) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetDescription ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetEnabled ¶ added in v1.8.0

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetExpression ¶ added in v1.8.0

SetExpression gets a reference to the given string and assigns it to the Expression field.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleUpdateData ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleUpdateData struct {
	// Update an existing Cloud Workload Security Agent rule.
	Attributes CloudWorkloadSecurityAgentRuleUpdateAttributes `json:"attributes"`
	// The type of the resource. The value should always be `agent_rule`.
	Type CloudWorkloadSecurityAgentRuleType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleUpdateData Object for a single Agent rule.

func NewCloudWorkloadSecurityAgentRuleUpdateData ¶ added in v1.8.0

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

func NewCloudWorkloadSecurityAgentRuleUpdateDataWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdateDataWithDefaults() *CloudWorkloadSecurityAgentRuleUpdateData

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

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetAttributes ¶ added in v1.8.0

GetAttributes returns the Attributes field value.

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetAttributesOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetType ¶ added in v1.8.0

GetType returns the Type field value.

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetTypeOk ¶ added in v1.8.0

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

func (CloudWorkloadSecurityAgentRuleUpdateData) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleUpdateData) SetAttributes ¶ added in v1.8.0

SetAttributes sets field value.

func (*CloudWorkloadSecurityAgentRuleUpdateData) SetType ¶ added in v1.8.0

SetType sets field value.

func (*CloudWorkloadSecurityAgentRuleUpdateData) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleUpdateRequest ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleUpdateRequest struct {
	// Object for a single Agent rule.
	Data CloudWorkloadSecurityAgentRuleUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleUpdateRequest Request object that includes the Agent rule with the attributes to update.

func NewCloudWorkloadSecurityAgentRuleUpdateRequest ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdateRequest(data CloudWorkloadSecurityAgentRuleUpdateData) *CloudWorkloadSecurityAgentRuleUpdateRequest

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

func NewCloudWorkloadSecurityAgentRuleUpdateRequestWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdateRequestWithDefaults() *CloudWorkloadSecurityAgentRuleUpdateRequest

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

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) GetData ¶ added in v1.8.0

GetData returns the Data field value.

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) GetDataOk ¶ added in v1.8.0

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

func (CloudWorkloadSecurityAgentRuleUpdateRequest) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) SetData ¶ added in v1.8.0

SetData sets field value.

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleUpdaterAttributes ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleUpdaterAttributes struct {
	// The handle of the user.
	Handle *string `json:"handle,omitempty"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleUpdaterAttributes The attributes of the user who last updated the Agent rule.

func NewCloudWorkloadSecurityAgentRuleUpdaterAttributes ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdaterAttributes() *CloudWorkloadSecurityAgentRuleUpdaterAttributes

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

func NewCloudWorkloadSecurityAgentRuleUpdaterAttributesWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdaterAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleUpdaterAttributes

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

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetHandle ¶ added in v1.8.0

GetHandle returns the Handle field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetHandleOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetName ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetNameOk ¶ added in v1.8.0

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 (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasHandle ¶ added in v1.8.0

HasHandle returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasName ¶ added in v1.8.0

HasName returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleUpdaterAttributes) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetHandle ¶ added in v1.8.0

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetName ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRulesListResponse ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRulesListResponse struct {
	// A list of Agent rules objects.
	Data []CloudWorkloadSecurityAgentRuleData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRulesListResponse Response object that includes a list of Agent rule.

func NewCloudWorkloadSecurityAgentRulesListResponse ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRulesListResponse() *CloudWorkloadSecurityAgentRulesListResponse

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

func NewCloudWorkloadSecurityAgentRulesListResponseWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRulesListResponseWithDefaults() *CloudWorkloadSecurityAgentRulesListResponse

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

func (*CloudWorkloadSecurityAgentRulesListResponse) GetData ¶ added in v1.8.0

GetData returns the Data field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRulesListResponse) GetDataOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRulesListResponse) HasData ¶ added in v1.8.0

HasData returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRulesListResponse) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRulesListResponse) SetData ¶ added in v1.8.0

SetData gets a reference to the given []CloudWorkloadSecurityAgentRuleData and assigns it to the Data field.

func (*CloudWorkloadSecurityAgentRulesListResponse) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRulesListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityApiService ¶ added in v1.8.0

type CloudWorkloadSecurityApiService service

CloudWorkloadSecurityApiService CloudWorkloadSecurityApi service.

func (*CloudWorkloadSecurityApiService) CreateCloudWorkloadSecurityAgentRule ¶ added in v1.8.0

CreateCloudWorkloadSecurityAgentRule Create a Cloud Workload Security Agent rule. Create a new Agent rule with the given parameters.

func (*CloudWorkloadSecurityApiService) DeleteCloudWorkloadSecurityAgentRule ¶ added in v1.8.0

func (a *CloudWorkloadSecurityApiService) DeleteCloudWorkloadSecurityAgentRule(ctx _context.Context, agentRuleId string) (*_nethttp.Response, error)

DeleteCloudWorkloadSecurityAgentRule Delete a Cloud Workload Security Agent rule. Delete a specific Agent rule.

func (*CloudWorkloadSecurityApiService) DownloadCloudWorkloadPolicyFile ¶ added in v1.8.0

func (a *CloudWorkloadSecurityApiService) DownloadCloudWorkloadPolicyFile(ctx _context.Context) (*os.File, *_nethttp.Response, error)

DownloadCloudWorkloadPolicyFile Get the latest Cloud Workload Security policy. The download endpoint generates a Cloud Workload Security policy file from your currently active Cloud Workload Security rules, and downloads them as a .policy file. This file can then be deployed to your agents to update the policy running in your environment.

func (*CloudWorkloadSecurityApiService) GetCloudWorkloadSecurityAgentRule ¶ added in v1.8.0

func (a *CloudWorkloadSecurityApiService) GetCloudWorkloadSecurityAgentRule(ctx _context.Context, agentRuleId string) (CloudWorkloadSecurityAgentRuleResponse, *_nethttp.Response, error)

GetCloudWorkloadSecurityAgentRule Get a Cloud Workload Security Agent rule. Get the details of a specific Agent rule.

func (*CloudWorkloadSecurityApiService) ListCloudWorkloadSecurityAgentRules ¶ added in v1.8.0

ListCloudWorkloadSecurityAgentRules Get all Cloud Workload Security Agent rules. Get the list of Agent rules.

func (*CloudWorkloadSecurityApiService) UpdateCloudWorkloadSecurityAgentRule ¶ added in v1.8.0

UpdateCloudWorkloadSecurityAgentRule Update a Cloud Workload Security Agent rule. Update a specific Agent rule. Returns the Agent rule object when the request is successful.

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"`
	Compress         bool              `json:"compress,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
	// contains filtered or unexported fields
}

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

func (c *Configuration) GetUnstableOperations() []string

GetUnstableOperations returns a slice with all unstable operation Ids.

func (*Configuration) IsUnstableOperation ¶

func (c *Configuration) IsUnstableOperation(operation string) bool

IsUnstableOperation determines whether an operation is an unstable operation. This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo".

func (*Configuration) IsUnstableOperationEnabled ¶

func (c *Configuration) IsUnstableOperationEnabled(operation string) bool

IsUnstableOperationEnabled determines whether an unstable operation is enabled. This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" Returns true if the operation is unstable and it is enabled, false otherwise.

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.

func (*Configuration) SetUnstableOperationEnabled ¶

func (c *Configuration) SetUnstableOperationEnabled(operation string, enabled bool) bool

SetUnstableOperationEnabled sets an unstable operation as enabled (true) or disabled (false). This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" Returns true if the operation is marked as unstable and thus was enabled/disabled, false otherwise.

type ContentEncoding ¶ added in v1.6.0

type ContentEncoding string

ContentEncoding HTTP header used to compress the media-type.

const (
	CONTENTENCODING_GZIP    ContentEncoding = "gzip"
	CONTENTENCODING_DEFLATE ContentEncoding = "deflate"
)

List of ContentEncoding.

func NewContentEncodingFromValue ¶ added in v1.6.0

func NewContentEncodingFromValue(v string) (*ContentEncoding, error)

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

func (*ContentEncoding) GetAllowedValues ¶ added in v1.6.0

func (v *ContentEncoding) GetAllowedValues() []ContentEncoding

GetAllowedValues reeturns the list of possible values.

func (ContentEncoding) IsValid ¶ added in v1.6.0

func (v ContentEncoding) IsValid() bool

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

func (ContentEncoding) Ptr ¶ added in v1.6.0

Ptr returns reference to ContentEncoding value.

func (*ContentEncoding) UnmarshalJSON ¶ added in v1.6.0

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

UnmarshalJSON deserializes the given payload.

type CostByOrg ¶ added in v1.14.0

type CostByOrg struct {
	// Cost attributes data.
	Attributes *CostByOrgAttributes `json:"attributes,omitempty"`
	// Unique ID of the response.
	Id *string `json:"id,omitempty"`
	// Type of cost data.
	Type *CostByOrgType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CostByOrg Cost data.

func NewCostByOrg ¶ added in v1.14.0

func NewCostByOrg() *CostByOrg

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

func NewCostByOrgWithDefaults ¶ added in v1.14.0

func NewCostByOrgWithDefaults() *CostByOrg

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

func (*CostByOrg) GetAttributes ¶ added in v1.14.0

func (o *CostByOrg) GetAttributes() CostByOrgAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*CostByOrg) GetAttributesOk ¶ added in v1.14.0

func (o *CostByOrg) GetAttributesOk() (*CostByOrgAttributes, bool)

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

func (*CostByOrg) GetId ¶ added in v1.14.0

func (o *CostByOrg) GetId() string

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

func (*CostByOrg) GetIdOk ¶ added in v1.14.0

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

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

func (*CostByOrg) GetType ¶ added in v1.14.0

func (o *CostByOrg) GetType() CostByOrgType

GetType returns the Type field value if set, zero value otherwise.

func (*CostByOrg) GetTypeOk ¶ added in v1.14.0

func (o *CostByOrg) GetTypeOk() (*CostByOrgType, bool)

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

func (*CostByOrg) HasAttributes ¶ added in v1.14.0

func (o *CostByOrg) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CostByOrg) HasId ¶ added in v1.14.0

func (o *CostByOrg) HasId() bool

HasId returns a boolean if a field has been set.

func (*CostByOrg) HasType ¶ added in v1.14.0

func (o *CostByOrg) HasType() bool

HasType returns a boolean if a field has been set.

func (CostByOrg) MarshalJSON ¶ added in v1.14.0

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

MarshalJSON serializes the struct using spec logic.

func (*CostByOrg) SetAttributes ¶ added in v1.14.0

func (o *CostByOrg) SetAttributes(v CostByOrgAttributes)

SetAttributes gets a reference to the given CostByOrgAttributes and assigns it to the Attributes field.

func (*CostByOrg) SetId ¶ added in v1.14.0

func (o *CostByOrg) SetId(v string)

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

func (*CostByOrg) SetType ¶ added in v1.14.0

func (o *CostByOrg) SetType(v CostByOrgType)

SetType gets a reference to the given CostByOrgType and assigns it to the Type field.

func (*CostByOrg) UnmarshalJSON ¶ added in v1.14.0

func (o *CostByOrg) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CostByOrgAttributes ¶ added in v1.14.0

type CostByOrgAttributes struct {
	// List of charges data reported for the requested month.
	Charges []ChargebackBreakdown `json:"charges,omitempty"`
	// The month requested.
	Date *time.Time `json:"date,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// The total cost of products for the month.
	TotalCost *float64 `json:"total_cost,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CostByOrgAttributes Cost attributes data.

func NewCostByOrgAttributes ¶ added in v1.14.0

func NewCostByOrgAttributes() *CostByOrgAttributes

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

func NewCostByOrgAttributesWithDefaults ¶ added in v1.14.0

func NewCostByOrgAttributesWithDefaults() *CostByOrgAttributes

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

func (*CostByOrgAttributes) GetCharges ¶ added in v1.14.0

func (o *CostByOrgAttributes) GetCharges() []ChargebackBreakdown

GetCharges returns the Charges field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetChargesOk ¶ added in v1.14.0

func (o *CostByOrgAttributes) GetChargesOk() (*[]ChargebackBreakdown, bool)

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

func (*CostByOrgAttributes) GetDate ¶ added in v1.14.0

func (o *CostByOrgAttributes) GetDate() time.Time

GetDate returns the Date field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetDateOk ¶ added in v1.14.0

func (o *CostByOrgAttributes) GetDateOk() (*time.Time, bool)

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

func (*CostByOrgAttributes) GetOrgName ¶ added in v1.14.0

func (o *CostByOrgAttributes) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetOrgNameOk ¶ added in v1.14.0

func (o *CostByOrgAttributes) GetOrgNameOk() (*string, bool)

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

func (*CostByOrgAttributes) GetPublicId ¶ added in v1.14.0

func (o *CostByOrgAttributes) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetPublicIdOk ¶ added in v1.14.0

func (o *CostByOrgAttributes) GetPublicIdOk() (*string, bool)

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

func (*CostByOrgAttributes) GetTotalCost ¶ added in v1.14.0

func (o *CostByOrgAttributes) GetTotalCost() float64

GetTotalCost returns the TotalCost field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetTotalCostOk ¶ added in v1.14.0

func (o *CostByOrgAttributes) GetTotalCostOk() (*float64, bool)

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

func (*CostByOrgAttributes) HasCharges ¶ added in v1.14.0

func (o *CostByOrgAttributes) HasCharges() bool

HasCharges returns a boolean if a field has been set.

func (*CostByOrgAttributes) HasDate ¶ added in v1.14.0

func (o *CostByOrgAttributes) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*CostByOrgAttributes) HasOrgName ¶ added in v1.14.0

func (o *CostByOrgAttributes) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*CostByOrgAttributes) HasPublicId ¶ added in v1.14.0

func (o *CostByOrgAttributes) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*CostByOrgAttributes) HasTotalCost ¶ added in v1.14.0

func (o *CostByOrgAttributes) HasTotalCost() bool

HasTotalCost returns a boolean if a field has been set.

func (CostByOrgAttributes) MarshalJSON ¶ added in v1.14.0

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

MarshalJSON serializes the struct using spec logic.

func (*CostByOrgAttributes) SetCharges ¶ added in v1.14.0

func (o *CostByOrgAttributes) SetCharges(v []ChargebackBreakdown)

SetCharges gets a reference to the given []ChargebackBreakdown and assigns it to the Charges field.

func (*CostByOrgAttributes) SetDate ¶ added in v1.14.0

func (o *CostByOrgAttributes) SetDate(v time.Time)

SetDate gets a reference to the given time.Time and assigns it to the Date field.

func (*CostByOrgAttributes) SetOrgName ¶ added in v1.14.0

func (o *CostByOrgAttributes) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*CostByOrgAttributes) SetPublicId ¶ added in v1.14.0

func (o *CostByOrgAttributes) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*CostByOrgAttributes) SetTotalCost ¶ added in v1.14.0

func (o *CostByOrgAttributes) SetTotalCost(v float64)

SetTotalCost gets a reference to the given float64 and assigns it to the TotalCost field.

func (*CostByOrgAttributes) UnmarshalJSON ¶ added in v1.14.0

func (o *CostByOrgAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CostByOrgResponse ¶ added in v1.14.0

type CostByOrgResponse struct {
	// Response containing Chargeback Summary.
	Data []CostByOrg `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CostByOrgResponse Chargeback Summary response.

func NewCostByOrgResponse ¶ added in v1.14.0

func NewCostByOrgResponse() *CostByOrgResponse

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

func NewCostByOrgResponseWithDefaults ¶ added in v1.14.0

func NewCostByOrgResponseWithDefaults() *CostByOrgResponse

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

func (*CostByOrgResponse) GetData ¶ added in v1.14.0

func (o *CostByOrgResponse) GetData() []CostByOrg

GetData returns the Data field value if set, zero value otherwise.

func (*CostByOrgResponse) GetDataOk ¶ added in v1.14.0

func (o *CostByOrgResponse) GetDataOk() (*[]CostByOrg, bool)

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

func (*CostByOrgResponse) HasData ¶ added in v1.14.0

func (o *CostByOrgResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (CostByOrgResponse) MarshalJSON ¶ added in v1.14.0

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

MarshalJSON serializes the struct using spec logic.

func (*CostByOrgResponse) SetData ¶ added in v1.14.0

func (o *CostByOrgResponse) SetData(v []CostByOrg)

SetData gets a reference to the given []CostByOrg and assigns it to the Data field.

func (*CostByOrgResponse) UnmarshalJSON ¶ added in v1.14.0

func (o *CostByOrgResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CostByOrgType ¶ added in v1.14.0

type CostByOrgType string

CostByOrgType Type of cost data.

const (
	COSTBYORGTYPE_COST_BY_ORG CostByOrgType = "cost_by_org"
)

List of CostByOrgType.

func NewCostByOrgTypeFromValue ¶ added in v1.14.0

func NewCostByOrgTypeFromValue(v string) (*CostByOrgType, error)

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

func (*CostByOrgType) GetAllowedValues ¶ added in v1.14.0

func (v *CostByOrgType) GetAllowedValues() []CostByOrgType

GetAllowedValues reeturns the list of possible values.

func (CostByOrgType) IsValid ¶ added in v1.14.0

func (v CostByOrgType) IsValid() bool

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

func (CostByOrgType) Ptr ¶ added in v1.14.0

func (v CostByOrgType) Ptr() *CostByOrgType

Ptr returns reference to CostByOrgType value.

func (*CostByOrgType) UnmarshalJSON ¶ added in v1.14.0

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

UnmarshalJSON deserializes the given payload.

type Creator ¶

type Creator struct {
	// Email of the creator.
	Email *string `json:"email,omitempty"`
	// Handle of the creator.
	Handle *string `json:"handle,omitempty"`
	// Name of the creator.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Creator Creator of the object.

func NewCreator ¶

func NewCreator() *Creator

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

func NewCreatorWithDefaults ¶

func NewCreatorWithDefaults() *Creator

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

func (*Creator) GetEmail ¶

func (o *Creator) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*Creator) GetEmailOk ¶

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

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

func (*Creator) GetHandle ¶

func (o *Creator) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*Creator) GetHandleOk ¶

func (o *Creator) GetHandleOk() (*string, bool)

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

func (*Creator) GetName ¶

func (o *Creator) GetName() string

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

func (*Creator) GetNameOk ¶

func (o *Creator) 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 (*Creator) HasEmail ¶

func (o *Creator) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*Creator) HasHandle ¶

func (o *Creator) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*Creator) HasName ¶

func (o *Creator) HasName() bool

HasName returns a boolean if a field has been set.

func (Creator) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*Creator) SetEmail ¶

func (o *Creator) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*Creator) SetHandle ¶

func (o *Creator) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*Creator) SetName ¶

func (o *Creator) SetName(v string)

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

func (*Creator) UnmarshalJSON ¶ added in v1.3.0

func (o *Creator) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListAddItemsRequest ¶

type DashboardListAddItemsRequest struct {
	// List of dashboards to add the dashboard list.
	Dashboards []DashboardListItemRequest `json:"dashboards,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListAddItemsRequest Request containing a list of dashboards to add.

func NewDashboardListAddItemsRequest ¶

func NewDashboardListAddItemsRequest() *DashboardListAddItemsRequest

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

func NewDashboardListAddItemsRequestWithDefaults ¶

func NewDashboardListAddItemsRequestWithDefaults() *DashboardListAddItemsRequest

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

func (*DashboardListAddItemsRequest) GetDashboards ¶

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*DashboardListAddItemsRequest) GetDashboardsOk ¶

func (o *DashboardListAddItemsRequest) GetDashboardsOk() (*[]DashboardListItemRequest, bool)

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

func (*DashboardListAddItemsRequest) HasDashboards ¶

func (o *DashboardListAddItemsRequest) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (DashboardListAddItemsRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListAddItemsRequest) SetDashboards ¶

SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.

func (*DashboardListAddItemsRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListAddItemsRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListAddItemsResponse ¶

type DashboardListAddItemsResponse struct {
	// List of dashboards added to the dashboard list.
	AddedDashboardsToList []DashboardListItemResponse `json:"added_dashboards_to_list,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListAddItemsResponse Response containing a list of added dashboards.

func NewDashboardListAddItemsResponse ¶

func NewDashboardListAddItemsResponse() *DashboardListAddItemsResponse

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

func NewDashboardListAddItemsResponseWithDefaults ¶

func NewDashboardListAddItemsResponseWithDefaults() *DashboardListAddItemsResponse

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

func (*DashboardListAddItemsResponse) GetAddedDashboardsToList ¶

func (o *DashboardListAddItemsResponse) GetAddedDashboardsToList() []DashboardListItemResponse

GetAddedDashboardsToList returns the AddedDashboardsToList field value if set, zero value otherwise.

func (*DashboardListAddItemsResponse) GetAddedDashboardsToListOk ¶

func (o *DashboardListAddItemsResponse) GetAddedDashboardsToListOk() (*[]DashboardListItemResponse, bool)

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

func (*DashboardListAddItemsResponse) HasAddedDashboardsToList ¶

func (o *DashboardListAddItemsResponse) HasAddedDashboardsToList() bool

HasAddedDashboardsToList returns a boolean if a field has been set.

func (DashboardListAddItemsResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListAddItemsResponse) SetAddedDashboardsToList ¶

func (o *DashboardListAddItemsResponse) SetAddedDashboardsToList(v []DashboardListItemResponse)

SetAddedDashboardsToList gets a reference to the given []DashboardListItemResponse and assigns it to the AddedDashboardsToList field.

func (*DashboardListAddItemsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListAddItemsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListDeleteItemsRequest ¶

type DashboardListDeleteItemsRequest struct {
	// List of dashboards to delete from the dashboard list.
	Dashboards []DashboardListItemRequest `json:"dashboards,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListDeleteItemsRequest Request containing a list of dashboards to delete.

func NewDashboardListDeleteItemsRequest ¶

func NewDashboardListDeleteItemsRequest() *DashboardListDeleteItemsRequest

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

func NewDashboardListDeleteItemsRequestWithDefaults ¶

func NewDashboardListDeleteItemsRequestWithDefaults() *DashboardListDeleteItemsRequest

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

func (*DashboardListDeleteItemsRequest) GetDashboards ¶

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*DashboardListDeleteItemsRequest) GetDashboardsOk ¶

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

func (*DashboardListDeleteItemsRequest) HasDashboards ¶

func (o *DashboardListDeleteItemsRequest) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (DashboardListDeleteItemsRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListDeleteItemsRequest) SetDashboards ¶

SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.

func (*DashboardListDeleteItemsRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListDeleteItemsRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListDeleteItemsResponse ¶

type DashboardListDeleteItemsResponse struct {
	// List of dashboards deleted from the dashboard list.
	DeletedDashboardsFromList []DashboardListItemResponse `json:"deleted_dashboards_from_list,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListDeleteItemsResponse Response containing a list of deleted dashboards.

func NewDashboardListDeleteItemsResponse ¶

func NewDashboardListDeleteItemsResponse() *DashboardListDeleteItemsResponse

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

func NewDashboardListDeleteItemsResponseWithDefaults ¶

func NewDashboardListDeleteItemsResponseWithDefaults() *DashboardListDeleteItemsResponse

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

func (*DashboardListDeleteItemsResponse) GetDeletedDashboardsFromList ¶

func (o *DashboardListDeleteItemsResponse) GetDeletedDashboardsFromList() []DashboardListItemResponse

GetDeletedDashboardsFromList returns the DeletedDashboardsFromList field value if set, zero value otherwise.

func (*DashboardListDeleteItemsResponse) GetDeletedDashboardsFromListOk ¶

func (o *DashboardListDeleteItemsResponse) GetDeletedDashboardsFromListOk() (*[]DashboardListItemResponse, bool)

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

func (*DashboardListDeleteItemsResponse) HasDeletedDashboardsFromList ¶

func (o *DashboardListDeleteItemsResponse) HasDeletedDashboardsFromList() bool

HasDeletedDashboardsFromList returns a boolean if a field has been set.

func (DashboardListDeleteItemsResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListDeleteItemsResponse) SetDeletedDashboardsFromList ¶

func (o *DashboardListDeleteItemsResponse) SetDeletedDashboardsFromList(v []DashboardListItemResponse)

SetDeletedDashboardsFromList gets a reference to the given []DashboardListItemResponse and assigns it to the DeletedDashboardsFromList field.

func (*DashboardListDeleteItemsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListDeleteItemsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListItem ¶

type DashboardListItem struct {
	// Creator of the object.
	Author *Creator `json:"author,omitempty"`
	// Date of creation of the dashboard.
	Created *time.Time `json:"created,omitempty"`
	// URL to the icon of the dashboard.
	Icon *string `json:"icon,omitempty"`
	// ID of the dashboard.
	Id string `json:"id"`
	// Whether or not the dashboard is in the favorites.
	IsFavorite *bool `json:"is_favorite,omitempty"`
	// Whether or not the dashboard is read only.
	IsReadOnly *bool `json:"is_read_only,omitempty"`
	// Whether the dashboard is publicly shared or not.
	IsShared *bool `json:"is_shared,omitempty"`
	// Date of last edition of the dashboard.
	Modified *time.Time `json:"modified,omitempty"`
	// Popularity of the dashboard.
	Popularity *int32 `json:"popularity,omitempty"`
	// Title of the dashboard.
	Title *string `json:"title,omitempty"`
	// The type of the dashboard.
	Type DashboardType `json:"type"`
	// URL path to the dashboard.
	Url *string `json:"url,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListItem A dashboard within a list.

func NewDashboardListItem ¶

func NewDashboardListItem(id string, typeVar DashboardType) *DashboardListItem

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

func NewDashboardListItemWithDefaults ¶

func NewDashboardListItemWithDefaults() *DashboardListItem

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

func (*DashboardListItem) GetAuthor ¶

func (o *DashboardListItem) GetAuthor() Creator

GetAuthor returns the Author field value if set, zero value otherwise.

func (*DashboardListItem) GetAuthorOk ¶

func (o *DashboardListItem) GetAuthorOk() (*Creator, bool)

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

func (*DashboardListItem) GetCreated ¶

func (o *DashboardListItem) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*DashboardListItem) GetCreatedOk ¶

func (o *DashboardListItem) GetCreatedOk() (*time.Time, bool)

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

func (*DashboardListItem) GetIcon ¶

func (o *DashboardListItem) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*DashboardListItem) GetIconOk ¶

func (o *DashboardListItem) GetIconOk() (*string, bool)

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

func (*DashboardListItem) GetId ¶

func (o *DashboardListItem) GetId() string

GetId returns the Id field value.

func (*DashboardListItem) GetIdOk ¶

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

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

func (*DashboardListItem) GetIsFavorite ¶

func (o *DashboardListItem) GetIsFavorite() bool

GetIsFavorite returns the IsFavorite field value if set, zero value otherwise.

func (*DashboardListItem) GetIsFavoriteOk ¶

func (o *DashboardListItem) GetIsFavoriteOk() (*bool, bool)

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

func (*DashboardListItem) GetIsReadOnly ¶

func (o *DashboardListItem) GetIsReadOnly() bool

GetIsReadOnly returns the IsReadOnly field value if set, zero value otherwise.

func (*DashboardListItem) GetIsReadOnlyOk ¶

func (o *DashboardListItem) GetIsReadOnlyOk() (*bool, bool)

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

func (*DashboardListItem) GetIsShared ¶

func (o *DashboardListItem) GetIsShared() bool

GetIsShared returns the IsShared field value if set, zero value otherwise.

func (*DashboardListItem) GetIsSharedOk ¶

func (o *DashboardListItem) GetIsSharedOk() (*bool, bool)

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

func (*DashboardListItem) GetModified ¶

func (o *DashboardListItem) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*DashboardListItem) GetModifiedOk ¶

func (o *DashboardListItem) GetModifiedOk() (*time.Time, bool)

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

func (*DashboardListItem) GetPopularity ¶

func (o *DashboardListItem) GetPopularity() int32

GetPopularity returns the Popularity field value if set, zero value otherwise.

func (*DashboardListItem) GetPopularityOk ¶

func (o *DashboardListItem) GetPopularityOk() (*int32, bool)

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

func (*DashboardListItem) GetTitle ¶

func (o *DashboardListItem) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*DashboardListItem) GetTitleOk ¶

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

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

func (*DashboardListItem) GetType ¶

func (o *DashboardListItem) GetType() DashboardType

GetType returns the Type field value.

func (*DashboardListItem) GetTypeOk ¶

func (o *DashboardListItem) GetTypeOk() (*DashboardType, bool)

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

func (*DashboardListItem) GetUrl ¶

func (o *DashboardListItem) GetUrl() string

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

func (*DashboardListItem) GetUrlOk ¶

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

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

func (*DashboardListItem) HasAuthor ¶

func (o *DashboardListItem) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (*DashboardListItem) HasCreated ¶

func (o *DashboardListItem) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*DashboardListItem) HasIcon ¶

func (o *DashboardListItem) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*DashboardListItem) HasIsFavorite ¶

func (o *DashboardListItem) HasIsFavorite() bool

HasIsFavorite returns a boolean if a field has been set.

func (*DashboardListItem) HasIsReadOnly ¶

func (o *DashboardListItem) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*DashboardListItem) HasIsShared ¶

func (o *DashboardListItem) HasIsShared() bool

HasIsShared returns a boolean if a field has been set.

func (*DashboardListItem) HasModified ¶

func (o *DashboardListItem) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*DashboardListItem) HasPopularity ¶

func (o *DashboardListItem) HasPopularity() bool

HasPopularity returns a boolean if a field has been set.

func (*DashboardListItem) HasTitle ¶

func (o *DashboardListItem) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DashboardListItem) HasUrl ¶

func (o *DashboardListItem) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (DashboardListItem) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListItem) SetAuthor ¶

func (o *DashboardListItem) SetAuthor(v Creator)

SetAuthor gets a reference to the given Creator and assigns it to the Author field.

func (*DashboardListItem) SetCreated ¶

func (o *DashboardListItem) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*DashboardListItem) SetIcon ¶

func (o *DashboardListItem) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*DashboardListItem) SetId ¶

func (o *DashboardListItem) SetId(v string)

SetId sets field value.

func (*DashboardListItem) SetIsFavorite ¶

func (o *DashboardListItem) SetIsFavorite(v bool)

SetIsFavorite gets a reference to the given bool and assigns it to the IsFavorite field.

func (*DashboardListItem) SetIsReadOnly ¶

func (o *DashboardListItem) SetIsReadOnly(v bool)

SetIsReadOnly gets a reference to the given bool and assigns it to the IsReadOnly field.

func (*DashboardListItem) SetIsShared ¶

func (o *DashboardListItem) SetIsShared(v bool)

SetIsShared gets a reference to the given bool and assigns it to the IsShared field.

func (*DashboardListItem) SetModified ¶

func (o *DashboardListItem) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*DashboardListItem) SetPopularity ¶

func (o *DashboardListItem) SetPopularity(v int32)

SetPopularity gets a reference to the given int32 and assigns it to the Popularity field.

func (*DashboardListItem) SetTitle ¶

func (o *DashboardListItem) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*DashboardListItem) SetType ¶

func (o *DashboardListItem) SetType(v DashboardType)

SetType sets field value.

func (*DashboardListItem) SetUrl ¶

func (o *DashboardListItem) SetUrl(v string)

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

func (*DashboardListItem) UnmarshalJSON ¶

func (o *DashboardListItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListItemRequest ¶

type DashboardListItemRequest struct {
	// ID of the dashboard.
	Id string `json:"id"`
	// The type of the dashboard.
	Type DashboardType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListItemRequest A dashboard within a list.

func NewDashboardListItemRequest ¶

func NewDashboardListItemRequest(id string, typeVar DashboardType) *DashboardListItemRequest

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

func NewDashboardListItemRequestWithDefaults ¶

func NewDashboardListItemRequestWithDefaults() *DashboardListItemRequest

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

func (*DashboardListItemRequest) GetId ¶

func (o *DashboardListItemRequest) GetId() string

GetId returns the Id field value.

func (*DashboardListItemRequest) GetIdOk ¶

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

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

func (*DashboardListItemRequest) GetType ¶

GetType returns the Type field value.

func (*DashboardListItemRequest) GetTypeOk ¶

func (o *DashboardListItemRequest) GetTypeOk() (*DashboardType, bool)

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

func (DashboardListItemRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListItemRequest) SetId ¶

func (o *DashboardListItemRequest) SetId(v string)

SetId sets field value.

func (*DashboardListItemRequest) SetType ¶

SetType sets field value.

func (*DashboardListItemRequest) UnmarshalJSON ¶

func (o *DashboardListItemRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListItemResponse ¶

type DashboardListItemResponse struct {
	// ID of the dashboard.
	Id string `json:"id"`
	// The type of the dashboard.
	Type DashboardType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListItemResponse A dashboard within a list.

func NewDashboardListItemResponse ¶

func NewDashboardListItemResponse(id string, typeVar DashboardType) *DashboardListItemResponse

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

func NewDashboardListItemResponseWithDefaults ¶

func NewDashboardListItemResponseWithDefaults() *DashboardListItemResponse

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

func (*DashboardListItemResponse) GetId ¶

func (o *DashboardListItemResponse) GetId() string

GetId returns the Id field value.

func (*DashboardListItemResponse) GetIdOk ¶

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

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

func (*DashboardListItemResponse) GetType ¶

GetType returns the Type field value.

func (*DashboardListItemResponse) GetTypeOk ¶

func (o *DashboardListItemResponse) GetTypeOk() (*DashboardType, bool)

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

func (DashboardListItemResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListItemResponse) SetId ¶

func (o *DashboardListItemResponse) SetId(v string)

SetId sets field value.

func (*DashboardListItemResponse) SetType ¶

SetType sets field value.

func (*DashboardListItemResponse) UnmarshalJSON ¶

func (o *DashboardListItemResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListItems ¶

type DashboardListItems struct {
	// List of dashboards in the dashboard list.
	Dashboards []DashboardListItem `json:"dashboards"`
	// Number of dashboards in the dashboard list.
	Total *int64 `json:"total,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListItems Dashboards within a list.

func NewDashboardListItems ¶

func NewDashboardListItems(dashboards []DashboardListItem) *DashboardListItems

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

func NewDashboardListItemsWithDefaults ¶

func NewDashboardListItemsWithDefaults() *DashboardListItems

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

func (*DashboardListItems) GetDashboards ¶

func (o *DashboardListItems) GetDashboards() []DashboardListItem

GetDashboards returns the Dashboards field value.

func (*DashboardListItems) GetDashboardsOk ¶

func (o *DashboardListItems) GetDashboardsOk() (*[]DashboardListItem, bool)

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

func (*DashboardListItems) GetTotal ¶

func (o *DashboardListItems) GetTotal() int64

GetTotal returns the Total field value if set, zero value otherwise.

func (*DashboardListItems) GetTotalOk ¶

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

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

func (*DashboardListItems) HasTotal ¶

func (o *DashboardListItems) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (DashboardListItems) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListItems) SetDashboards ¶

func (o *DashboardListItems) SetDashboards(v []DashboardListItem)

SetDashboards sets field value.

func (*DashboardListItems) SetTotal ¶

func (o *DashboardListItems) SetTotal(v int64)

SetTotal gets a reference to the given int64 and assigns it to the Total field.

func (*DashboardListItems) UnmarshalJSON ¶

func (o *DashboardListItems) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListUpdateItemsRequest ¶

type DashboardListUpdateItemsRequest struct {
	// List of dashboards to update the dashboard list to.
	Dashboards []DashboardListItemRequest `json:"dashboards,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListUpdateItemsRequest Request containing the list of dashboards to update to.

func NewDashboardListUpdateItemsRequest ¶

func NewDashboardListUpdateItemsRequest() *DashboardListUpdateItemsRequest

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

func NewDashboardListUpdateItemsRequestWithDefaults ¶

func NewDashboardListUpdateItemsRequestWithDefaults() *DashboardListUpdateItemsRequest

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

func (*DashboardListUpdateItemsRequest) GetDashboards ¶

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*DashboardListUpdateItemsRequest) GetDashboardsOk ¶

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

func (*DashboardListUpdateItemsRequest) HasDashboards ¶

func (o *DashboardListUpdateItemsRequest) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (DashboardListUpdateItemsRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListUpdateItemsRequest) SetDashboards ¶

SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.

func (*DashboardListUpdateItemsRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListUpdateItemsRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListUpdateItemsResponse ¶

type DashboardListUpdateItemsResponse struct {
	// List of dashboards in the dashboard list.
	Dashboards []DashboardListItemResponse `json:"dashboards,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListUpdateItemsResponse Response containing a list of updated dashboards.

func NewDashboardListUpdateItemsResponse ¶

func NewDashboardListUpdateItemsResponse() *DashboardListUpdateItemsResponse

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

func NewDashboardListUpdateItemsResponseWithDefaults ¶

func NewDashboardListUpdateItemsResponseWithDefaults() *DashboardListUpdateItemsResponse

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

func (*DashboardListUpdateItemsResponse) GetDashboards ¶

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*DashboardListUpdateItemsResponse) GetDashboardsOk ¶

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

func (*DashboardListUpdateItemsResponse) HasDashboards ¶

func (o *DashboardListUpdateItemsResponse) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (DashboardListUpdateItemsResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListUpdateItemsResponse) SetDashboards ¶

SetDashboards gets a reference to the given []DashboardListItemResponse and assigns it to the Dashboards field.

func (*DashboardListUpdateItemsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListUpdateItemsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListsApiService ¶

type DashboardListsApiService service

DashboardListsApiService DashboardListsApi service.

func (*DashboardListsApiService) CreateDashboardListItems ¶

CreateDashboardListItems Add Items to a Dashboard List. Add dashboards to an existing dashboard list.

func (*DashboardListsApiService) DeleteDashboardListItems ¶

DeleteDashboardListItems Delete items from a dashboard list. Delete dashboards from an existing dashboard list.

func (*DashboardListsApiService) GetDashboardListItems ¶

func (a *DashboardListsApiService) GetDashboardListItems(ctx _context.Context, dashboardListId int64) (DashboardListItems, *_nethttp.Response, error)

GetDashboardListItems Get items of a Dashboard List. Fetch the dashboard list’s dashboard definitions.

func (*DashboardListsApiService) UpdateDashboardListItems ¶

UpdateDashboardListItems Update items of a dashboard list. Update dashboards of an existing dashboard list.

type DashboardType ¶

type DashboardType string

DashboardType The type of the dashboard.

const (
	DASHBOARDTYPE_CUSTOM_TIMEBOARD        DashboardType = "custom_timeboard"
	DASHBOARDTYPE_CUSTOM_SCREENBOARD      DashboardType = "custom_screenboard"
	DASHBOARDTYPE_INTEGRATION_SCREENBOARD DashboardType = "integration_screenboard"
	DASHBOARDTYPE_INTEGRATION_TIMEBOARD   DashboardType = "integration_timeboard"
	DASHBOARDTYPE_HOST_TIMEBOARD          DashboardType = "host_timeboard"
)

List of DashboardType.

func NewDashboardTypeFromValue ¶

func NewDashboardTypeFromValue(v string) (*DashboardType, error)

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

func (*DashboardType) GetAllowedValues ¶ added in v1.1.0

func (v *DashboardType) GetAllowedValues() []DashboardType

GetAllowedValues reeturns the list of possible values.

func (DashboardType) IsValid ¶

func (v DashboardType) IsValid() bool

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

func (DashboardType) Ptr ¶

func (v DashboardType) Ptr() *DashboardType

Ptr returns reference to DashboardType value.

func (*DashboardType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type EstimateMetricsOutputSeriesOptionalParameters ¶ added in v1.14.0

type EstimateMetricsOutputSeriesOptionalParameters struct {
	FilterGroups          *string
	FilterHoursAgo        *int32
	FilterNumAggregations *int32
	FilterPct             *bool
	FilterTimespanH       *int32
}

EstimateMetricsOutputSeriesOptionalParameters holds optional parameters for EstimateMetricsOutputSeries.

func NewEstimateMetricsOutputSeriesOptionalParameters ¶ added in v1.14.0

func NewEstimateMetricsOutputSeriesOptionalParameters() *EstimateMetricsOutputSeriesOptionalParameters

NewEstimateMetricsOutputSeriesOptionalParameters creates an empty struct for parameters.

func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterGroups ¶ added in v1.14.0

WithFilterGroups sets the corresponding parameter name and returns the struct.

func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterHoursAgo ¶ added in v1.14.0

WithFilterHoursAgo sets the corresponding parameter name and returns the struct.

func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterNumAggregations ¶ added in v1.14.0

func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterNumAggregations(filterNumAggregations int32) *EstimateMetricsOutputSeriesOptionalParameters

WithFilterNumAggregations sets the corresponding parameter name and returns the struct.

func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterPct ¶ added in v1.14.0

WithFilterPct sets the corresponding parameter name and returns the struct.

func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterTimespanH ¶ added in v1.14.0

WithFilterTimespanH sets the corresponding parameter name and returns the struct.

type FormFile ¶ added in v1.12.0

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

FormFile holds parameters for a file in multipart/form-data request.

type FullAPIKey ¶

type FullAPIKey struct {
	// Attributes of a full API key.
	Attributes *FullAPIKeyAttributes `json:"attributes,omitempty"`
	// ID of the API key.
	Id *string `json:"id,omitempty"`
	// Resources related to the API key.
	Relationships *APIKeyRelationships `json:"relationships,omitempty"`
	// API Keys resource type.
	Type *APIKeysType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FullAPIKey Datadog API key.

func NewFullAPIKey ¶

func NewFullAPIKey() *FullAPIKey

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

func NewFullAPIKeyWithDefaults ¶

func NewFullAPIKeyWithDefaults() *FullAPIKey

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

func (*FullAPIKey) GetAttributes ¶

func (o *FullAPIKey) GetAttributes() FullAPIKeyAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*FullAPIKey) GetAttributesOk ¶

func (o *FullAPIKey) GetAttributesOk() (*FullAPIKeyAttributes, bool)

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

func (*FullAPIKey) GetId ¶

func (o *FullAPIKey) GetId() string

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

func (*FullAPIKey) GetIdOk ¶

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

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

func (*FullAPIKey) GetRelationships ¶

func (o *FullAPIKey) GetRelationships() APIKeyRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*FullAPIKey) GetRelationshipsOk ¶

func (o *FullAPIKey) GetRelationshipsOk() (*APIKeyRelationships, bool)

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

func (*FullAPIKey) GetType ¶

func (o *FullAPIKey) GetType() APIKeysType

GetType returns the Type field value if set, zero value otherwise.

func (*FullAPIKey) GetTypeOk ¶

func (o *FullAPIKey) GetTypeOk() (*APIKeysType, bool)

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

func (*FullAPIKey) HasAttributes ¶

func (o *FullAPIKey) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*FullAPIKey) HasId ¶

func (o *FullAPIKey) HasId() bool

HasId returns a boolean if a field has been set.

func (*FullAPIKey) HasRelationships ¶

func (o *FullAPIKey) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*FullAPIKey) HasType ¶

func (o *FullAPIKey) HasType() bool

HasType returns a boolean if a field has been set.

func (FullAPIKey) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*FullAPIKey) SetAttributes ¶

func (o *FullAPIKey) SetAttributes(v FullAPIKeyAttributes)

SetAttributes gets a reference to the given FullAPIKeyAttributes and assigns it to the Attributes field.

func (*FullAPIKey) SetId ¶

func (o *FullAPIKey) SetId(v string)

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

func (*FullAPIKey) SetRelationships ¶

func (o *FullAPIKey) SetRelationships(v APIKeyRelationships)

SetRelationships gets a reference to the given APIKeyRelationships and assigns it to the Relationships field.

func (*FullAPIKey) SetType ¶

func (o *FullAPIKey) SetType(v APIKeysType)

SetType gets a reference to the given APIKeysType and assigns it to the Type field.

func (*FullAPIKey) UnmarshalJSON ¶ added in v1.3.0

func (o *FullAPIKey) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FullAPIKeyAttributes ¶

type FullAPIKeyAttributes struct {
	// Creation date of the API key.
	CreatedAt *string `json:"created_at,omitempty"`
	// The API key.
	Key *string `json:"key,omitempty"`
	// The last four characters of the API key.
	Last4 *string `json:"last4,omitempty"`
	// Date the API key was last modified.
	ModifiedAt *string `json:"modified_at,omitempty"`
	// Name of the API key.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FullAPIKeyAttributes Attributes of a full API key.

func NewFullAPIKeyAttributes ¶

func NewFullAPIKeyAttributes() *FullAPIKeyAttributes

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

func NewFullAPIKeyAttributesWithDefaults ¶

func NewFullAPIKeyAttributesWithDefaults() *FullAPIKeyAttributes

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

func (*FullAPIKeyAttributes) GetCreatedAt ¶

func (o *FullAPIKeyAttributes) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*FullAPIKeyAttributes) GetCreatedAtOk ¶

func (o *FullAPIKeyAttributes) GetCreatedAtOk() (*string, bool)

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

func (*FullAPIKeyAttributes) GetKey ¶

func (o *FullAPIKeyAttributes) GetKey() string

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

func (*FullAPIKeyAttributes) GetKeyOk ¶

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

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

func (*FullAPIKeyAttributes) GetLast4 ¶

func (o *FullAPIKeyAttributes) GetLast4() string

GetLast4 returns the Last4 field value if set, zero value otherwise.

func (*FullAPIKeyAttributes) GetLast4Ok ¶

func (o *FullAPIKeyAttributes) GetLast4Ok() (*string, bool)

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

func (*FullAPIKeyAttributes) GetModifiedAt ¶

func (o *FullAPIKeyAttributes) GetModifiedAt() string

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*FullAPIKeyAttributes) GetModifiedAtOk ¶

func (o *FullAPIKeyAttributes) GetModifiedAtOk() (*string, bool)

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

func (*FullAPIKeyAttributes) GetName ¶

func (o *FullAPIKeyAttributes) GetName() string

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

func (*FullAPIKeyAttributes) GetNameOk ¶

func (o *FullAPIKeyAttributes) 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 (*FullAPIKeyAttributes) HasCreatedAt ¶

func (o *FullAPIKeyAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FullAPIKeyAttributes) HasKey ¶

func (o *FullAPIKeyAttributes) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*FullAPIKeyAttributes) HasLast4 ¶

func (o *FullAPIKeyAttributes) HasLast4() bool

HasLast4 returns a boolean if a field has been set.

func (*FullAPIKeyAttributes) HasModifiedAt ¶

func (o *FullAPIKeyAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*FullAPIKeyAttributes) HasName ¶

func (o *FullAPIKeyAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (FullAPIKeyAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*FullAPIKeyAttributes) SetCreatedAt ¶

func (o *FullAPIKeyAttributes) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*FullAPIKeyAttributes) SetKey ¶

func (o *FullAPIKeyAttributes) SetKey(v string)

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

func (*FullAPIKeyAttributes) SetLast4 ¶

func (o *FullAPIKeyAttributes) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*FullAPIKeyAttributes) SetModifiedAt ¶

func (o *FullAPIKeyAttributes) SetModifiedAt(v string)

SetModifiedAt gets a reference to the given string and assigns it to the ModifiedAt field.

func (*FullAPIKeyAttributes) SetName ¶

func (o *FullAPIKeyAttributes) SetName(v string)

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

func (*FullAPIKeyAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *FullAPIKeyAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FullApplicationKey ¶

type FullApplicationKey struct {
	// Attributes of a full application key.
	Attributes *FullApplicationKeyAttributes `json:"attributes,omitempty"`
	// ID of the application key.
	Id *string `json:"id,omitempty"`
	// Resources related to the application key.
	Relationships *ApplicationKeyRelationships `json:"relationships,omitempty"`
	// Application Keys resource type.
	Type *ApplicationKeysType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FullApplicationKey Datadog application key.

func NewFullApplicationKey ¶

func NewFullApplicationKey() *FullApplicationKey

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

func NewFullApplicationKeyWithDefaults ¶

func NewFullApplicationKeyWithDefaults() *FullApplicationKey

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

func (*FullApplicationKey) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*FullApplicationKey) GetAttributesOk ¶

func (o *FullApplicationKey) GetAttributesOk() (*FullApplicationKeyAttributes, bool)

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

func (*FullApplicationKey) GetId ¶

func (o *FullApplicationKey) GetId() string

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

func (*FullApplicationKey) GetIdOk ¶

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

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

func (*FullApplicationKey) GetRelationships ¶

func (o *FullApplicationKey) GetRelationships() ApplicationKeyRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*FullApplicationKey) GetRelationshipsOk ¶

func (o *FullApplicationKey) GetRelationshipsOk() (*ApplicationKeyRelationships, bool)

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

func (*FullApplicationKey) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*FullApplicationKey) GetTypeOk ¶

func (o *FullApplicationKey) GetTypeOk() (*ApplicationKeysType, bool)

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

func (*FullApplicationKey) HasAttributes ¶

func (o *FullApplicationKey) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*FullApplicationKey) HasId ¶

func (o *FullApplicationKey) HasId() bool

HasId returns a boolean if a field has been set.

func (*FullApplicationKey) HasRelationships ¶

func (o *FullApplicationKey) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*FullApplicationKey) HasType ¶

func (o *FullApplicationKey) HasType() bool

HasType returns a boolean if a field has been set.

func (FullApplicationKey) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*FullApplicationKey) SetAttributes ¶

SetAttributes gets a reference to the given FullApplicationKeyAttributes and assigns it to the Attributes field.

func (*FullApplicationKey) SetId ¶

func (o *FullApplicationKey) SetId(v string)

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

func (*FullApplicationKey) SetRelationships ¶

func (o *FullApplicationKey) SetRelationships(v ApplicationKeyRelationships)

SetRelationships gets a reference to the given ApplicationKeyRelationships and assigns it to the Relationships field.

func (*FullApplicationKey) SetType ¶

SetType gets a reference to the given ApplicationKeysType and assigns it to the Type field.

func (*FullApplicationKey) UnmarshalJSON ¶ added in v1.3.0

func (o *FullApplicationKey) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FullApplicationKeyAttributes ¶

type FullApplicationKeyAttributes struct {
	// Creation date of the application key.
	CreatedAt *string `json:"created_at,omitempty"`
	// The application key.
	Key *string `json:"key,omitempty"`
	// The last four characters of the application key.
	Last4 *string `json:"last4,omitempty"`
	// Name of the application key.
	Name *string `json:"name,omitempty"`
	// Array of scopes to grant the application key. This feature is in private beta, please contact Datadog support to enable scopes for your application keys.
	Scopes []string `json:"scopes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FullApplicationKeyAttributes Attributes of a full application key.

func NewFullApplicationKeyAttributes ¶

func NewFullApplicationKeyAttributes() *FullApplicationKeyAttributes

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

func NewFullApplicationKeyAttributesWithDefaults ¶

func NewFullApplicationKeyAttributesWithDefaults() *FullApplicationKeyAttributes

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

func (*FullApplicationKeyAttributes) GetCreatedAt ¶

func (o *FullApplicationKeyAttributes) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*FullApplicationKeyAttributes) GetCreatedAtOk ¶

func (o *FullApplicationKeyAttributes) GetCreatedAtOk() (*string, bool)

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

func (*FullApplicationKeyAttributes) GetKey ¶

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

func (*FullApplicationKeyAttributes) GetKeyOk ¶

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

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

func (*FullApplicationKeyAttributes) GetLast4 ¶

func (o *FullApplicationKeyAttributes) GetLast4() string

GetLast4 returns the Last4 field value if set, zero value otherwise.

func (*FullApplicationKeyAttributes) GetLast4Ok ¶

func (o *FullApplicationKeyAttributes) GetLast4Ok() (*string, bool)

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

func (*FullApplicationKeyAttributes) GetName ¶

func (o *FullApplicationKeyAttributes) GetName() string

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

func (*FullApplicationKeyAttributes) GetNameOk ¶

func (o *FullApplicationKeyAttributes) 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 (*FullApplicationKeyAttributes) GetScopes ¶ added in v1.8.0

func (o *FullApplicationKeyAttributes) GetScopes() []string

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

func (*FullApplicationKeyAttributes) GetScopesOk ¶ added in v1.8.0

func (o *FullApplicationKeyAttributes) GetScopesOk() (*[]string, bool)

GetScopesOk returns a tuple with the Scopes 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 (*FullApplicationKeyAttributes) HasCreatedAt ¶

func (o *FullApplicationKeyAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FullApplicationKeyAttributes) HasKey ¶

func (o *FullApplicationKeyAttributes) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*FullApplicationKeyAttributes) HasLast4 ¶

func (o *FullApplicationKeyAttributes) HasLast4() bool

HasLast4 returns a boolean if a field has been set.

func (*FullApplicationKeyAttributes) HasName ¶

func (o *FullApplicationKeyAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*FullApplicationKeyAttributes) HasScopes ¶ added in v1.8.0

func (o *FullApplicationKeyAttributes) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (FullApplicationKeyAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*FullApplicationKeyAttributes) SetCreatedAt ¶

func (o *FullApplicationKeyAttributes) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*FullApplicationKeyAttributes) SetKey ¶

func (o *FullApplicationKeyAttributes) SetKey(v string)

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

func (*FullApplicationKeyAttributes) SetLast4 ¶

func (o *FullApplicationKeyAttributes) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*FullApplicationKeyAttributes) SetName ¶

func (o *FullApplicationKeyAttributes) SetName(v string)

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

func (*FullApplicationKeyAttributes) SetScopes ¶ added in v1.8.0

func (o *FullApplicationKeyAttributes) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*FullApplicationKeyAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *FullApplicationKeyAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

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

type GetAPIKeyOptionalParameters struct {
	Include *string
}

GetAPIKeyOptionalParameters holds optional parameters for GetAPIKey.

func NewGetAPIKeyOptionalParameters ¶

func NewGetAPIKeyOptionalParameters() *GetAPIKeyOptionalParameters

NewGetAPIKeyOptionalParameters creates an empty struct for parameters.

func (*GetAPIKeyOptionalParameters) WithInclude ¶

WithInclude sets the corresponding parameter name and returns the struct.

type GetApplicationKeyOptionalParameters ¶ added in v1.2.0

type GetApplicationKeyOptionalParameters struct {
	Include *string
}

GetApplicationKeyOptionalParameters holds optional parameters for GetApplicationKey.

func NewGetApplicationKeyOptionalParameters ¶ added in v1.2.0

func NewGetApplicationKeyOptionalParameters() *GetApplicationKeyOptionalParameters

NewGetApplicationKeyOptionalParameters creates an empty struct for parameters.

func (*GetApplicationKeyOptionalParameters) WithInclude ¶ added in v1.2.0

WithInclude sets the corresponding parameter name and returns the struct.

type GetCostByOrgOptionalParameters ¶ added in v1.14.0

type GetCostByOrgOptionalParameters struct {
	EndMonth *time.Time
}

GetCostByOrgOptionalParameters holds optional parameters for GetCostByOrg.

func NewGetCostByOrgOptionalParameters ¶ added in v1.14.0

func NewGetCostByOrgOptionalParameters() *GetCostByOrgOptionalParameters

NewGetCostByOrgOptionalParameters creates an empty struct for parameters.

func (*GetCostByOrgOptionalParameters) WithEndMonth ¶ added in v1.14.0

WithEndMonth sets the corresponding parameter name and returns the struct.

type GetEstimatedCostByOrgOptionalParameters ¶ added in v1.15.0

type GetEstimatedCostByOrgOptionalParameters struct {
	StartMonth *time.Time
	EndMonth   *time.Time
	StartDate  *time.Time
	EndDate    *time.Time
}

GetEstimatedCostByOrgOptionalParameters holds optional parameters for GetEstimatedCostByOrg.

func NewGetEstimatedCostByOrgOptionalParameters ¶ added in v1.15.0

func NewGetEstimatedCostByOrgOptionalParameters() *GetEstimatedCostByOrgOptionalParameters

NewGetEstimatedCostByOrgOptionalParameters creates an empty struct for parameters.

func (*GetEstimatedCostByOrgOptionalParameters) WithEndDate ¶ added in v1.15.0

WithEndDate sets the corresponding parameter name and returns the struct.

func (*GetEstimatedCostByOrgOptionalParameters) WithEndMonth ¶ added in v1.15.0

WithEndMonth sets the corresponding parameter name and returns the struct.

func (*GetEstimatedCostByOrgOptionalParameters) WithStartDate ¶ added in v1.15.0

WithStartDate sets the corresponding parameter name and returns the struct.

func (*GetEstimatedCostByOrgOptionalParameters) WithStartMonth ¶ added in v1.15.0

WithStartMonth sets the corresponding parameter name and returns the struct.

type GetHourlyUsageOptionalParameters ¶ added in v1.16.0

type GetHourlyUsageOptionalParameters struct {
	FilterTimestampEnd       *time.Time
	FilterIncludeDescendants *bool
	FilterVersions           *string
	PageLimit                *int32
	PageNextRecordId         *string
}

GetHourlyUsageOptionalParameters holds optional parameters for GetHourlyUsage.

func NewGetHourlyUsageOptionalParameters ¶ added in v1.16.0

func NewGetHourlyUsageOptionalParameters() *GetHourlyUsageOptionalParameters

NewGetHourlyUsageOptionalParameters creates an empty struct for parameters.

func (*GetHourlyUsageOptionalParameters) WithFilterIncludeDescendants ¶ added in v1.16.0

func (r *GetHourlyUsageOptionalParameters) WithFilterIncludeDescendants(filterIncludeDescendants bool) *GetHourlyUsageOptionalParameters

WithFilterIncludeDescendants sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageOptionalParameters) WithFilterTimestampEnd ¶ added in v1.16.0

func (r *GetHourlyUsageOptionalParameters) WithFilterTimestampEnd(filterTimestampEnd time.Time) *GetHourlyUsageOptionalParameters

WithFilterTimestampEnd sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageOptionalParameters) WithFilterVersions ¶ added in v1.16.0

func (r *GetHourlyUsageOptionalParameters) WithFilterVersions(filterVersions string) *GetHourlyUsageOptionalParameters

WithFilterVersions sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageOptionalParameters) WithPageLimit ¶ added in v1.16.0

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageOptionalParameters) WithPageNextRecordId ¶ added in v1.16.0

func (r *GetHourlyUsageOptionalParameters) WithPageNextRecordId(pageNextRecordId string) *GetHourlyUsageOptionalParameters

WithPageNextRecordId sets the corresponding parameter name and returns the struct.

type GetIncidentOptionalParameters ¶

type GetIncidentOptionalParameters struct {
	Include *[]IncidentRelatedObject
}

GetIncidentOptionalParameters holds optional parameters for GetIncident.

func NewGetIncidentOptionalParameters ¶

func NewGetIncidentOptionalParameters() *GetIncidentOptionalParameters

NewGetIncidentOptionalParameters creates an empty struct for parameters.

func (*GetIncidentOptionalParameters) WithInclude ¶

WithInclude sets the corresponding parameter name and returns the struct.

type GetIncidentServiceOptionalParameters ¶

type GetIncidentServiceOptionalParameters struct {
	Include *IncidentRelatedObject
}

GetIncidentServiceOptionalParameters holds optional parameters for GetIncidentService.

func NewGetIncidentServiceOptionalParameters ¶

func NewGetIncidentServiceOptionalParameters() *GetIncidentServiceOptionalParameters

NewGetIncidentServiceOptionalParameters creates an empty struct for parameters.

func (*GetIncidentServiceOptionalParameters) WithInclude ¶

WithInclude sets the corresponding parameter name and returns the struct.

type GetIncidentTeamOptionalParameters ¶

type GetIncidentTeamOptionalParameters struct {
	Include *IncidentRelatedObject
}

GetIncidentTeamOptionalParameters holds optional parameters for GetIncidentTeam.

func NewGetIncidentTeamOptionalParameters ¶

func NewGetIncidentTeamOptionalParameters() *GetIncidentTeamOptionalParameters

NewGetIncidentTeamOptionalParameters creates an empty struct for parameters.

func (*GetIncidentTeamOptionalParameters) WithInclude ¶

WithInclude sets the corresponding parameter name and returns the struct.

type GetUsageApplicationSecurityMonitoringOptionalParameters ¶ added in v1.14.0

type GetUsageApplicationSecurityMonitoringOptionalParameters struct {
	EndHr *time.Time
}

GetUsageApplicationSecurityMonitoringOptionalParameters holds optional parameters for GetUsageApplicationSecurityMonitoring.

func NewGetUsageApplicationSecurityMonitoringOptionalParameters ¶ added in v1.14.0

func NewGetUsageApplicationSecurityMonitoringOptionalParameters() *GetUsageApplicationSecurityMonitoringOptionalParameters

NewGetUsageApplicationSecurityMonitoringOptionalParameters creates an empty struct for parameters.

func (*GetUsageApplicationSecurityMonitoringOptionalParameters) WithEndHr ¶ added in v1.14.0

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageLambdaTracedInvocationsOptionalParameters ¶ added in v1.14.0

type GetUsageLambdaTracedInvocationsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageLambdaTracedInvocationsOptionalParameters holds optional parameters for GetUsageLambdaTracedInvocations.

func NewGetUsageLambdaTracedInvocationsOptionalParameters ¶ added in v1.14.0

func NewGetUsageLambdaTracedInvocationsOptionalParameters() *GetUsageLambdaTracedInvocationsOptionalParameters

NewGetUsageLambdaTracedInvocationsOptionalParameters creates an empty struct for parameters.

func (*GetUsageLambdaTracedInvocationsOptionalParameters) WithEndHr ¶ added in v1.14.0

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageObservabilityPipelinesOptionalParameters ¶ added in v1.14.0

type GetUsageObservabilityPipelinesOptionalParameters struct {
	EndHr *time.Time
}

GetUsageObservabilityPipelinesOptionalParameters holds optional parameters for GetUsageObservabilityPipelines.

func NewGetUsageObservabilityPipelinesOptionalParameters ¶ added in v1.14.0

func NewGetUsageObservabilityPipelinesOptionalParameters() *GetUsageObservabilityPipelinesOptionalParameters

NewGetUsageObservabilityPipelinesOptionalParameters creates an empty struct for parameters.

func (*GetUsageObservabilityPipelinesOptionalParameters) WithEndHr ¶ added in v1.14.0

WithEndHr sets the corresponding parameter name and returns the struct.

type HTTPLogError ¶ added in v1.6.0

type HTTPLogError struct {
	// Error message.
	Detail *string `json:"detail,omitempty"`
	// Error code.
	Status *string `json:"status,omitempty"`
	// Error title.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HTTPLogError List of errors.

func NewHTTPLogError ¶ added in v1.6.0

func NewHTTPLogError() *HTTPLogError

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

func NewHTTPLogErrorWithDefaults ¶ added in v1.6.0

func NewHTTPLogErrorWithDefaults() *HTTPLogError

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

func (*HTTPLogError) GetDetail ¶ added in v1.6.0

func (o *HTTPLogError) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*HTTPLogError) GetDetailOk ¶ added in v1.6.0

func (o *HTTPLogError) 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 (*HTTPLogError) GetStatus ¶ added in v1.6.0

func (o *HTTPLogError) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*HTTPLogError) GetStatusOk ¶ added in v1.6.0

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

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

func (*HTTPLogError) GetTitle ¶ added in v1.6.0

func (o *HTTPLogError) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*HTTPLogError) GetTitleOk ¶ added in v1.6.0

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

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

func (*HTTPLogError) HasDetail ¶ added in v1.6.0

func (o *HTTPLogError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*HTTPLogError) HasStatus ¶ added in v1.6.0

func (o *HTTPLogError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*HTTPLogError) HasTitle ¶ added in v1.6.0

func (o *HTTPLogError) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (HTTPLogError) MarshalJSON ¶ added in v1.6.0

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

MarshalJSON serializes the struct using spec logic.

func (*HTTPLogError) SetDetail ¶ added in v1.6.0

func (o *HTTPLogError) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*HTTPLogError) SetStatus ¶ added in v1.6.0

func (o *HTTPLogError) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*HTTPLogError) SetTitle ¶ added in v1.6.0

func (o *HTTPLogError) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*HTTPLogError) UnmarshalJSON ¶ added in v1.6.0

func (o *HTTPLogError) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HTTPLogErrors ¶ added in v1.6.0

type HTTPLogErrors struct {
	// Structured errors.
	Errors []HTTPLogError `json:"errors,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HTTPLogErrors Invalid query performed.

func NewHTTPLogErrors ¶ added in v1.6.0

func NewHTTPLogErrors() *HTTPLogErrors

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

func NewHTTPLogErrorsWithDefaults ¶ added in v1.6.0

func NewHTTPLogErrorsWithDefaults() *HTTPLogErrors

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

func (*HTTPLogErrors) GetErrors ¶ added in v1.6.0

func (o *HTTPLogErrors) GetErrors() []HTTPLogError

GetErrors returns the Errors field value if set, zero value otherwise.

func (*HTTPLogErrors) GetErrorsOk ¶ added in v1.6.0

func (o *HTTPLogErrors) GetErrorsOk() (*[]HTTPLogError, bool)

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

func (*HTTPLogErrors) HasErrors ¶ added in v1.6.0

func (o *HTTPLogErrors) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (HTTPLogErrors) MarshalJSON ¶ added in v1.6.0

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

MarshalJSON serializes the struct using spec logic.

func (*HTTPLogErrors) SetErrors ¶ added in v1.6.0

func (o *HTTPLogErrors) SetErrors(v []HTTPLogError)

SetErrors gets a reference to the given []HTTPLogError and assigns it to the Errors field.

func (*HTTPLogErrors) UnmarshalJSON ¶ added in v1.6.0

func (o *HTTPLogErrors) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HTTPLogItem ¶ added in v1.6.0

type HTTPLogItem struct {
	// The integration name associated with your log: the technology from which the log originated.
	// When it matches an integration name, Datadog automatically installs the corresponding parsers and facets.
	// See [reserved attributes](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes).
	Ddsource *string `json:"ddsource,omitempty"`
	// Tags associated with your logs.
	Ddtags *string `json:"ddtags,omitempty"`
	// The name of the originating host of the log.
	Hostname *string `json:"hostname,omitempty"`
	// The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes)
	// of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry.
	// That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
	Message string `json:"message"`
	// The name of the application or service generating the log events.
	// It is used to switch from Logs to APM, so make sure you define the same value when you use both products.
	// See [reserved attributes](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes).
	Service *string `json:"service,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]string
}

HTTPLogItem Logs that are sent over HTTP.

func NewHTTPLogItem ¶ added in v1.6.0

func NewHTTPLogItem(message string) *HTTPLogItem

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

func NewHTTPLogItemWithDefaults ¶ added in v1.6.0

func NewHTTPLogItemWithDefaults() *HTTPLogItem

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

func (*HTTPLogItem) GetDdsource ¶ added in v1.6.0

func (o *HTTPLogItem) GetDdsource() string

GetDdsource returns the Ddsource field value if set, zero value otherwise.

func (*HTTPLogItem) GetDdsourceOk ¶ added in v1.6.0

func (o *HTTPLogItem) GetDdsourceOk() (*string, bool)

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

func (*HTTPLogItem) GetDdtags ¶ added in v1.6.0

func (o *HTTPLogItem) GetDdtags() string

GetDdtags returns the Ddtags field value if set, zero value otherwise.

func (*HTTPLogItem) GetDdtagsOk ¶ added in v1.6.0

func (o *HTTPLogItem) GetDdtagsOk() (*string, bool)

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

func (*HTTPLogItem) GetHostname ¶ added in v1.6.0

func (o *HTTPLogItem) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*HTTPLogItem) GetHostnameOk ¶ added in v1.6.0

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

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

func (*HTTPLogItem) GetMessage ¶ added in v1.6.0

func (o *HTTPLogItem) GetMessage() string

GetMessage returns the Message field value.

func (*HTTPLogItem) GetMessageOk ¶ added in v1.6.0

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

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

func (*HTTPLogItem) GetService ¶ added in v1.6.0

func (o *HTTPLogItem) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*HTTPLogItem) GetServiceOk ¶ added in v1.6.0

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

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

func (*HTTPLogItem) HasDdsource ¶ added in v1.6.0

func (o *HTTPLogItem) HasDdsource() bool

HasDdsource returns a boolean if a field has been set.

func (*HTTPLogItem) HasDdtags ¶ added in v1.6.0

func (o *HTTPLogItem) HasDdtags() bool

HasDdtags returns a boolean if a field has been set.

func (*HTTPLogItem) HasHostname ¶ added in v1.6.0

func (o *HTTPLogItem) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*HTTPLogItem) HasService ¶ added in v1.6.0

func (o *HTTPLogItem) HasService() bool

HasService returns a boolean if a field has been set.

func (HTTPLogItem) MarshalJSON ¶ added in v1.6.0

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

MarshalJSON serializes the struct using spec logic.

func (*HTTPLogItem) SetDdsource ¶ added in v1.6.0

func (o *HTTPLogItem) SetDdsource(v string)

SetDdsource gets a reference to the given string and assigns it to the Ddsource field.

func (*HTTPLogItem) SetDdtags ¶ added in v1.6.0

func (o *HTTPLogItem) SetDdtags(v string)

SetDdtags gets a reference to the given string and assigns it to the Ddtags field.

func (*HTTPLogItem) SetHostname ¶ added in v1.6.0

func (o *HTTPLogItem) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*HTTPLogItem) SetMessage ¶ added in v1.6.0

func (o *HTTPLogItem) SetMessage(v string)

SetMessage sets field value.

func (*HTTPLogItem) SetService ¶ added in v1.6.0

func (o *HTTPLogItem) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*HTTPLogItem) UnmarshalJSON ¶ added in v1.6.0

func (o *HTTPLogItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsage ¶ added in v1.16.0

type HourlyUsage struct {
	// Attributes of hourly usage for a product family for an org for a time period.
	Attributes *HourlyUsageAttributes `json:"attributes,omitempty"`
	// Unique ID of the response.
	Id *string `json:"id,omitempty"`
	// Type of usage data.
	Type *UsageTimeSeriesType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HourlyUsage Hourly usage for a product family for an org.

func NewHourlyUsage ¶ added in v1.16.0

func NewHourlyUsage() *HourlyUsage

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

func NewHourlyUsageWithDefaults ¶ added in v1.16.0

func NewHourlyUsageWithDefaults() *HourlyUsage

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

func (*HourlyUsage) GetAttributes ¶ added in v1.16.0

func (o *HourlyUsage) GetAttributes() HourlyUsageAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*HourlyUsage) GetAttributesOk ¶ added in v1.16.0

func (o *HourlyUsage) GetAttributesOk() (*HourlyUsageAttributes, bool)

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

func (*HourlyUsage) GetId ¶ added in v1.16.0

func (o *HourlyUsage) GetId() string

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

func (*HourlyUsage) GetIdOk ¶ added in v1.16.0

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

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

func (*HourlyUsage) GetType ¶ added in v1.16.0

func (o *HourlyUsage) GetType() UsageTimeSeriesType

GetType returns the Type field value if set, zero value otherwise.

func (*HourlyUsage) GetTypeOk ¶ added in v1.16.0

func (o *HourlyUsage) GetTypeOk() (*UsageTimeSeriesType, bool)

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

func (*HourlyUsage) HasAttributes ¶ added in v1.16.0

func (o *HourlyUsage) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*HourlyUsage) HasId ¶ added in v1.16.0

func (o *HourlyUsage) HasId() bool

HasId returns a boolean if a field has been set.

func (*HourlyUsage) HasType ¶ added in v1.16.0

func (o *HourlyUsage) HasType() bool

HasType returns a boolean if a field has been set.

func (HourlyUsage) MarshalJSON ¶ added in v1.16.0

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

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsage) SetAttributes ¶ added in v1.16.0

func (o *HourlyUsage) SetAttributes(v HourlyUsageAttributes)

SetAttributes gets a reference to the given HourlyUsageAttributes and assigns it to the Attributes field.

func (*HourlyUsage) SetId ¶ added in v1.16.0

func (o *HourlyUsage) SetId(v string)

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

func (*HourlyUsage) SetType ¶ added in v1.16.0

func (o *HourlyUsage) SetType(v UsageTimeSeriesType)

SetType gets a reference to the given UsageTimeSeriesType and assigns it to the Type field.

func (*HourlyUsage) UnmarshalJSON ¶ added in v1.16.0

func (o *HourlyUsage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsageAttributes ¶ added in v1.16.0

type HourlyUsageAttributes struct {
	// List of the measured usage values for the product family for the org for the time period.
	Measurements []HourlyUsageMeasurement `json:"measurements,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The product for which usage is being reported.
	ProductFamily *string `json:"product_family,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// The region of the Datadog instance that the organization belongs to.
	Region *string `json:"region,omitempty"`
	// Datetime in ISO-8601 format, UTC. The hour for the usage.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HourlyUsageAttributes Attributes of hourly usage for a product family for an org for a time period.

func NewHourlyUsageAttributes ¶ added in v1.16.0

func NewHourlyUsageAttributes() *HourlyUsageAttributes

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

func NewHourlyUsageAttributesWithDefaults ¶ added in v1.16.0

func NewHourlyUsageAttributesWithDefaults() *HourlyUsageAttributes

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

func (*HourlyUsageAttributes) GetMeasurements ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetMeasurements() []HourlyUsageMeasurement

GetMeasurements returns the Measurements field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetMeasurementsOk ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetMeasurementsOk() (*[]HourlyUsageMeasurement, bool)

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

func (*HourlyUsageAttributes) GetOrgName ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetOrgNameOk ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetOrgNameOk() (*string, bool)

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

func (*HourlyUsageAttributes) GetProductFamily ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetProductFamily() string

GetProductFamily returns the ProductFamily field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetProductFamilyOk ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetProductFamilyOk() (*string, bool)

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

func (*HourlyUsageAttributes) GetPublicId ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetPublicIdOk ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetPublicIdOk() (*string, bool)

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

func (*HourlyUsageAttributes) GetRegion ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetRegionOk ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetRegionOk() (*string, bool)

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

func (*HourlyUsageAttributes) GetTimestamp ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetTimestampOk ¶ added in v1.16.0

func (o *HourlyUsageAttributes) GetTimestampOk() (*time.Time, bool)

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

func (*HourlyUsageAttributes) HasMeasurements ¶ added in v1.16.0

func (o *HourlyUsageAttributes) HasMeasurements() bool

HasMeasurements returns a boolean if a field has been set.

func (*HourlyUsageAttributes) HasOrgName ¶ added in v1.16.0

func (o *HourlyUsageAttributes) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*HourlyUsageAttributes) HasProductFamily ¶ added in v1.16.0

func (o *HourlyUsageAttributes) HasProductFamily() bool

HasProductFamily returns a boolean if a field has been set.

func (*HourlyUsageAttributes) HasPublicId ¶ added in v1.16.0

func (o *HourlyUsageAttributes) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*HourlyUsageAttributes) HasRegion ¶ added in v1.16.0

func (o *HourlyUsageAttributes) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*HourlyUsageAttributes) HasTimestamp ¶ added in v1.16.0

func (o *HourlyUsageAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (HourlyUsageAttributes) MarshalJSON ¶ added in v1.16.0

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

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageAttributes) SetMeasurements ¶ added in v1.16.0

func (o *HourlyUsageAttributes) SetMeasurements(v []HourlyUsageMeasurement)

SetMeasurements gets a reference to the given []HourlyUsageMeasurement and assigns it to the Measurements field.

func (*HourlyUsageAttributes) SetOrgName ¶ added in v1.16.0

func (o *HourlyUsageAttributes) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*HourlyUsageAttributes) SetProductFamily ¶ added in v1.16.0

func (o *HourlyUsageAttributes) SetProductFamily(v string)

SetProductFamily gets a reference to the given string and assigns it to the ProductFamily field.

func (*HourlyUsageAttributes) SetPublicId ¶ added in v1.16.0

func (o *HourlyUsageAttributes) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*HourlyUsageAttributes) SetRegion ¶ added in v1.16.0

func (o *HourlyUsageAttributes) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*HourlyUsageAttributes) SetTimestamp ¶ added in v1.16.0

func (o *HourlyUsageAttributes) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*HourlyUsageAttributes) UnmarshalJSON ¶ added in v1.16.0

func (o *HourlyUsageAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsageMeasurement ¶ added in v1.16.0

type HourlyUsageMeasurement struct {
	// Type of usage.
	UsageType *string `json:"usage_type,omitempty"`
	// Contains the number measured for the given usage_type during the hour.
	Value NullableInt64 `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HourlyUsageMeasurement Usage amount for a given usage type.

func NewHourlyUsageMeasurement ¶ added in v1.16.0

func NewHourlyUsageMeasurement() *HourlyUsageMeasurement

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

func NewHourlyUsageMeasurementWithDefaults ¶ added in v1.16.0

func NewHourlyUsageMeasurementWithDefaults() *HourlyUsageMeasurement

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

func (*HourlyUsageMeasurement) GetUsageType ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) GetUsageType() string

GetUsageType returns the UsageType field value if set, zero value otherwise.

func (*HourlyUsageMeasurement) GetUsageTypeOk ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) GetUsageTypeOk() (*string, bool)

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

func (*HourlyUsageMeasurement) GetValue ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) GetValue() int64

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

func (*HourlyUsageMeasurement) GetValueOk ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) GetValueOk() (*int64, bool)

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

func (*HourlyUsageMeasurement) HasUsageType ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) HasUsageType() bool

HasUsageType returns a boolean if a field has been set.

func (*HourlyUsageMeasurement) HasValue ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) HasValue() bool

HasValue returns a boolean if a field has been set.

func (HourlyUsageMeasurement) MarshalJSON ¶ added in v1.16.0

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

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageMeasurement) SetUsageType ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) SetUsageType(v string)

SetUsageType gets a reference to the given string and assigns it to the UsageType field.

func (*HourlyUsageMeasurement) SetValue ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) SetValue(v int64)

SetValue gets a reference to the given NullableInt64 and assigns it to the Value field.

func (*HourlyUsageMeasurement) SetValueNil ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil.

func (*HourlyUsageMeasurement) UnmarshalJSON ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*HourlyUsageMeasurement) UnsetValue ¶ added in v1.16.0

func (o *HourlyUsageMeasurement) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil.

type HourlyUsageMetadata ¶ added in v1.16.0

type HourlyUsageMetadata struct {
	// The metadata for the current pagination.
	Pagination *HourlyUsagePagination `json:"pagination,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HourlyUsageMetadata The object containing document metadata.

func NewHourlyUsageMetadata ¶ added in v1.16.0

func NewHourlyUsageMetadata() *HourlyUsageMetadata

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

func NewHourlyUsageMetadataWithDefaults ¶ added in v1.16.0

func NewHourlyUsageMetadataWithDefaults() *HourlyUsageMetadata

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

func (*HourlyUsageMetadata) GetPagination ¶ added in v1.16.0

func (o *HourlyUsageMetadata) GetPagination() HourlyUsagePagination

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*HourlyUsageMetadata) GetPaginationOk ¶ added in v1.16.0

func (o *HourlyUsageMetadata) GetPaginationOk() (*HourlyUsagePagination, bool)

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

func (*HourlyUsageMetadata) HasPagination ¶ added in v1.16.0

func (o *HourlyUsageMetadata) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (HourlyUsageMetadata) MarshalJSON ¶ added in v1.16.0

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

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageMetadata) SetPagination ¶ added in v1.16.0

func (o *HourlyUsageMetadata) SetPagination(v HourlyUsagePagination)

SetPagination gets a reference to the given HourlyUsagePagination and assigns it to the Pagination field.

func (*HourlyUsageMetadata) UnmarshalJSON ¶ added in v1.16.0

func (o *HourlyUsageMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsagePagination ¶ added in v1.16.0

type HourlyUsagePagination struct {
	// The cursor to get the next results (if any). To make the next request, use the same parameters and add `next_record_id`.
	NextRecordId NullableString `json:"next_record_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HourlyUsagePagination The metadata for the current pagination.

func NewHourlyUsagePagination ¶ added in v1.16.0

func NewHourlyUsagePagination() *HourlyUsagePagination

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

func NewHourlyUsagePaginationWithDefaults ¶ added in v1.16.0

func NewHourlyUsagePaginationWithDefaults() *HourlyUsagePagination

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

func (*HourlyUsagePagination) GetNextRecordId ¶ added in v1.16.0

func (o *HourlyUsagePagination) GetNextRecordId() string

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

func (*HourlyUsagePagination) GetNextRecordIdOk ¶ added in v1.16.0

func (o *HourlyUsagePagination) GetNextRecordIdOk() (*string, bool)

GetNextRecordIdOk returns a tuple with the NextRecordId 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 (*HourlyUsagePagination) HasNextRecordId ¶ added in v1.16.0

func (o *HourlyUsagePagination) HasNextRecordId() bool

HasNextRecordId returns a boolean if a field has been set.

func (HourlyUsagePagination) MarshalJSON ¶ added in v1.16.0

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

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsagePagination) SetNextRecordId ¶ added in v1.16.0

func (o *HourlyUsagePagination) SetNextRecordId(v string)

SetNextRecordId gets a reference to the given NullableString and assigns it to the NextRecordId field.

func (*HourlyUsagePagination) SetNextRecordIdNil ¶ added in v1.16.0

func (o *HourlyUsagePagination) SetNextRecordIdNil()

SetNextRecordIdNil sets the value for NextRecordId to be an explicit nil.

func (*HourlyUsagePagination) UnmarshalJSON ¶ added in v1.16.0

func (o *HourlyUsagePagination) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*HourlyUsagePagination) UnsetNextRecordId ¶ added in v1.16.0

func (o *HourlyUsagePagination) UnsetNextRecordId()

UnsetNextRecordId ensures that no value is present for NextRecordId, not even an explicit nil.

type HourlyUsageResponse ¶ added in v1.16.0

type HourlyUsageResponse struct {
	// Response containing hourly usage.
	Data []HourlyUsage `json:"data,omitempty"`
	// The object containing document metadata.
	Meta *HourlyUsageMetadata `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HourlyUsageResponse Hourly usage response.

func NewHourlyUsageResponse ¶ added in v1.16.0

func NewHourlyUsageResponse() *HourlyUsageResponse

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

func NewHourlyUsageResponseWithDefaults ¶ added in v1.16.0

func NewHourlyUsageResponseWithDefaults() *HourlyUsageResponse

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

func (*HourlyUsageResponse) GetData ¶ added in v1.16.0

func (o *HourlyUsageResponse) GetData() []HourlyUsage

GetData returns the Data field value if set, zero value otherwise.

func (*HourlyUsageResponse) GetDataOk ¶ added in v1.16.0

func (o *HourlyUsageResponse) GetDataOk() (*[]HourlyUsage, bool)

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

func (*HourlyUsageResponse) GetMeta ¶ added in v1.16.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*HourlyUsageResponse) GetMetaOk ¶ added in v1.16.0

func (o *HourlyUsageResponse) GetMetaOk() (*HourlyUsageMetadata, 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 (*HourlyUsageResponse) HasData ¶ added in v1.16.0

func (o *HourlyUsageResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*HourlyUsageResponse) HasMeta ¶ added in v1.16.0

func (o *HourlyUsageResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (HourlyUsageResponse) MarshalJSON ¶ added in v1.16.0

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

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageResponse) SetData ¶ added in v1.16.0

func (o *HourlyUsageResponse) SetData(v []HourlyUsage)

SetData gets a reference to the given []HourlyUsage and assigns it to the Data field.

func (*HourlyUsageResponse) SetMeta ¶ added in v1.16.0

SetMeta gets a reference to the given HourlyUsageMetadata and assigns it to the Meta field.

func (*HourlyUsageResponse) UnmarshalJSON ¶ added in v1.16.0

func (o *HourlyUsageResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsageType ¶ added in v1.14.0

type HourlyUsageType string

HourlyUsageType Usage type that is being measured.

const (
	HOURLYUSAGETYPE_APP_SEC_HOST_COUNT                       HourlyUsageType = "app_sec_host_count"
	HOURLYUSAGETYPE_OBSERVABILITY_PIPELINES_BYTES_PROCESSSED HourlyUsageType = "observability_pipelines_bytes_processed"
	HOURLYUSAGETYPE_LAMBDA_TRACED_INVOCATIONS_COUNT          HourlyUsageType = "lambda_traced_invocations_count"
)

List of HourlyUsageType.

func NewHourlyUsageTypeFromValue ¶ added in v1.14.0

func NewHourlyUsageTypeFromValue(v string) (*HourlyUsageType, error)

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

func (*HourlyUsageType) GetAllowedValues ¶ added in v1.14.0

func (v *HourlyUsageType) GetAllowedValues() []HourlyUsageType

GetAllowedValues reeturns the list of possible values.

func (HourlyUsageType) IsValid ¶ added in v1.14.0

func (v HourlyUsageType) IsValid() bool

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

func (HourlyUsageType) Ptr ¶ added in v1.14.0

Ptr returns reference to HourlyUsageType value.

func (*HourlyUsageType) UnmarshalJSON ¶ added in v1.14.0

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

UnmarshalJSON deserializes the given payload.

type IdPMetadataFormData ¶ added in v1.13.0

type IdPMetadataFormData struct {
	// The IdP metadata XML file
	IdpFile **os.File `json:"idp_file,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IdPMetadataFormData The form data submitted to upload IdP metadata

func NewIdPMetadataFormData ¶ added in v1.13.0

func NewIdPMetadataFormData() *IdPMetadataFormData

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

func NewIdPMetadataFormDataWithDefaults ¶ added in v1.13.0

func NewIdPMetadataFormDataWithDefaults() *IdPMetadataFormData

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

func (*IdPMetadataFormData) GetIdpFile ¶ added in v1.13.0

func (o *IdPMetadataFormData) GetIdpFile() *os.File

GetIdpFile returns the IdpFile field value if set, zero value otherwise.

func (*IdPMetadataFormData) GetIdpFileOk ¶ added in v1.13.0

func (o *IdPMetadataFormData) GetIdpFileOk() (**os.File, bool)

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

func (*IdPMetadataFormData) HasIdpFile ¶ added in v1.13.0

func (o *IdPMetadataFormData) HasIdpFile() bool

HasIdpFile returns a boolean if a field has been set.

func (IdPMetadataFormData) MarshalJSON ¶ added in v1.13.0

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

MarshalJSON serializes the struct using spec logic.

func (*IdPMetadataFormData) SetIdpFile ¶ added in v1.13.0

func (o *IdPMetadataFormData) SetIdpFile(v *os.File)

SetIdpFile gets a reference to the given *os.File and assigns it to the IdpFile field.

func (*IdPMetadataFormData) UnmarshalJSON ¶ added in v1.13.0

func (o *IdPMetadataFormData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentCreateAttributes ¶

type IncidentCreateAttributes struct {
	// A flag indicating whether the incident caused customer impact.
	CustomerImpacted bool `json:"customer_impacted"`
	// A condensed view of the user-defined fields for which to create initial selections.
	Fields map[string]IncidentFieldAttributes `json:"fields,omitempty"`
	// An array of initial timeline cells to be placed at the beginning of the incident timeline.
	InitialCells []IncidentTimelineCellCreateAttributes `json:"initial_cells,omitempty"`
	// Notification handles that will be notified of the incident at creation.
	NotificationHandles []IncidentNotificationHandle `json:"notification_handles,omitempty"`
	// The title of the incident, which summarizes what happened.
	Title string `json:"title"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentCreateAttributes The incident's attributes for a create request.

func NewIncidentCreateAttributes ¶

func NewIncidentCreateAttributes(customerImpacted bool, title string) *IncidentCreateAttributes

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

func NewIncidentCreateAttributesWithDefaults ¶

func NewIncidentCreateAttributesWithDefaults() *IncidentCreateAttributes

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

func (*IncidentCreateAttributes) GetCustomerImpacted ¶

func (o *IncidentCreateAttributes) GetCustomerImpacted() bool

GetCustomerImpacted returns the CustomerImpacted field value.

func (*IncidentCreateAttributes) GetCustomerImpactedOk ¶

func (o *IncidentCreateAttributes) GetCustomerImpactedOk() (*bool, bool)

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

func (*IncidentCreateAttributes) GetFields ¶

GetFields returns the Fields field value if set, zero value otherwise.

func (*IncidentCreateAttributes) GetFieldsOk ¶

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

func (*IncidentCreateAttributes) GetInitialCells ¶ added in v1.3.0

GetInitialCells returns the InitialCells field value if set, zero value otherwise.

func (*IncidentCreateAttributes) GetInitialCellsOk ¶ added in v1.3.0

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

func (*IncidentCreateAttributes) GetNotificationHandles ¶

func (o *IncidentCreateAttributes) GetNotificationHandles() []IncidentNotificationHandle

GetNotificationHandles returns the NotificationHandles field value if set, zero value otherwise.

func (*IncidentCreateAttributes) GetNotificationHandlesOk ¶

func (o *IncidentCreateAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)

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

func (*IncidentCreateAttributes) GetTitle ¶

func (o *IncidentCreateAttributes) GetTitle() string

GetTitle returns the Title field value.

func (*IncidentCreateAttributes) GetTitleOk ¶

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

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

func (*IncidentCreateAttributes) HasFields ¶

func (o *IncidentCreateAttributes) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*IncidentCreateAttributes) HasInitialCells ¶ added in v1.3.0

func (o *IncidentCreateAttributes) HasInitialCells() bool

HasInitialCells returns a boolean if a field has been set.

func (*IncidentCreateAttributes) HasNotificationHandles ¶

func (o *IncidentCreateAttributes) HasNotificationHandles() bool

HasNotificationHandles returns a boolean if a field has been set.

func (IncidentCreateAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentCreateAttributes) SetCustomerImpacted ¶

func (o *IncidentCreateAttributes) SetCustomerImpacted(v bool)

SetCustomerImpacted sets field value.

func (*IncidentCreateAttributes) SetFields ¶

SetFields gets a reference to the given map[string]IncidentFieldAttributes and assigns it to the Fields field.

func (*IncidentCreateAttributes) SetInitialCells ¶ added in v1.3.0

SetInitialCells gets a reference to the given []IncidentTimelineCellCreateAttributes and assigns it to the InitialCells field.

func (*IncidentCreateAttributes) SetNotificationHandles ¶

func (o *IncidentCreateAttributes) SetNotificationHandles(v []IncidentNotificationHandle)

SetNotificationHandles gets a reference to the given []IncidentNotificationHandle and assigns it to the NotificationHandles field.

func (*IncidentCreateAttributes) SetTitle ¶

func (o *IncidentCreateAttributes) SetTitle(v string)

SetTitle sets field value.

func (*IncidentCreateAttributes) UnmarshalJSON ¶

func (o *IncidentCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentCreateData ¶

type IncidentCreateData struct {
	// The incident's attributes for a create request.
	Attributes IncidentCreateAttributes `json:"attributes"`
	// The relationships the incident will have with other resources once created.
	Relationships *IncidentCreateRelationships `json:"relationships,omitempty"`
	// Incident resource type.
	Type IncidentType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentCreateData Incident data for a create request.

func NewIncidentCreateData ¶

func NewIncidentCreateData(attributes IncidentCreateAttributes, typeVar IncidentType) *IncidentCreateData

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

func NewIncidentCreateDataWithDefaults ¶

func NewIncidentCreateDataWithDefaults() *IncidentCreateData

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

func (*IncidentCreateData) GetAttributes ¶

func (o *IncidentCreateData) GetAttributes() IncidentCreateAttributes

GetAttributes returns the Attributes field value.

func (*IncidentCreateData) GetAttributesOk ¶

func (o *IncidentCreateData) GetAttributesOk() (*IncidentCreateAttributes, bool)

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

func (*IncidentCreateData) GetRelationships ¶

func (o *IncidentCreateData) GetRelationships() IncidentCreateRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*IncidentCreateData) GetRelationshipsOk ¶

func (o *IncidentCreateData) GetRelationshipsOk() (*IncidentCreateRelationships, bool)

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

func (*IncidentCreateData) GetType ¶

func (o *IncidentCreateData) GetType() IncidentType

GetType returns the Type field value.

func (*IncidentCreateData) GetTypeOk ¶

func (o *IncidentCreateData) GetTypeOk() (*IncidentType, bool)

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

func (*IncidentCreateData) HasRelationships ¶

func (o *IncidentCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (IncidentCreateData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentCreateData) SetAttributes ¶

func (o *IncidentCreateData) SetAttributes(v IncidentCreateAttributes)

SetAttributes sets field value.

func (*IncidentCreateData) SetRelationships ¶

func (o *IncidentCreateData) SetRelationships(v IncidentCreateRelationships)

SetRelationships gets a reference to the given IncidentCreateRelationships and assigns it to the Relationships field.

func (*IncidentCreateData) SetType ¶

func (o *IncidentCreateData) SetType(v IncidentType)

SetType sets field value.

func (*IncidentCreateData) UnmarshalJSON ¶

func (o *IncidentCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentCreateRelationships ¶

type IncidentCreateRelationships struct {
	// Relationship to user.
	CommanderUser NullableRelationshipToUser `json:"commander_user"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentCreateRelationships The relationships the incident will have with other resources once created.

func NewIncidentCreateRelationships ¶

func NewIncidentCreateRelationships(commanderUser NullableRelationshipToUser) *IncidentCreateRelationships

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

func NewIncidentCreateRelationshipsWithDefaults ¶

func NewIncidentCreateRelationshipsWithDefaults() *IncidentCreateRelationships

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

func (*IncidentCreateRelationships) GetCommanderUser ¶ added in v1.9.0

GetCommanderUser returns the CommanderUser field value.

func (*IncidentCreateRelationships) GetCommanderUserOk ¶ added in v1.9.0

func (o *IncidentCreateRelationships) GetCommanderUserOk() (*NullableRelationshipToUser, bool)

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

func (IncidentCreateRelationships) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentCreateRelationships) SetCommanderUser ¶ added in v1.9.0

SetCommanderUser sets field value.

func (*IncidentCreateRelationships) UnmarshalJSON ¶

func (o *IncidentCreateRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentCreateRequest ¶

type IncidentCreateRequest struct {
	// Incident data for a create request.
	Data IncidentCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentCreateRequest Create request for an incident.

func NewIncidentCreateRequest ¶

func NewIncidentCreateRequest(data IncidentCreateData) *IncidentCreateRequest

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

func NewIncidentCreateRequestWithDefaults ¶

func NewIncidentCreateRequestWithDefaults() *IncidentCreateRequest

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

func (*IncidentCreateRequest) GetData ¶

GetData returns the Data field value.

func (*IncidentCreateRequest) GetDataOk ¶

func (o *IncidentCreateRequest) GetDataOk() (*IncidentCreateData, bool)

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

func (IncidentCreateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentCreateRequest) SetData ¶

SetData sets field value.

func (*IncidentCreateRequest) UnmarshalJSON ¶

func (o *IncidentCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentFieldAttributes ¶

type IncidentFieldAttributes struct {
	IncidentFieldAttributesSingleValue   *IncidentFieldAttributesSingleValue
	IncidentFieldAttributesMultipleValue *IncidentFieldAttributesMultipleValue

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentFieldAttributes - Dynamic fields for which selections can be made, with field names as keys.

func IncidentFieldAttributesMultipleValueAsIncidentFieldAttributes ¶

func IncidentFieldAttributesMultipleValueAsIncidentFieldAttributes(v *IncidentFieldAttributesMultipleValue) IncidentFieldAttributes

IncidentFieldAttributesMultipleValueAsIncidentFieldAttributes is a convenience function that returns IncidentFieldAttributesMultipleValue wrapped in IncidentFieldAttributes.

func IncidentFieldAttributesSingleValueAsIncidentFieldAttributes ¶

func IncidentFieldAttributesSingleValueAsIncidentFieldAttributes(v *IncidentFieldAttributesSingleValue) IncidentFieldAttributes

IncidentFieldAttributesSingleValueAsIncidentFieldAttributes is a convenience function that returns IncidentFieldAttributesSingleValue wrapped in IncidentFieldAttributes.

func (*IncidentFieldAttributes) GetActualInstance ¶

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

GetActualInstance returns the actual instance.

func (IncidentFieldAttributes) MarshalJSON ¶

func (obj IncidentFieldAttributes) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*IncidentFieldAttributes) UnmarshalJSON ¶

func (obj *IncidentFieldAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type IncidentFieldAttributesMultipleValue ¶

type IncidentFieldAttributesMultipleValue struct {
	// Type of the multiple value field definitions.
	Type *IncidentFieldAttributesValueType `json:"type,omitempty"`
	// The multiple values selected for this field.
	Value []string `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentFieldAttributesMultipleValue A field with potentially multiple values selected.

func NewIncidentFieldAttributesMultipleValue ¶

func NewIncidentFieldAttributesMultipleValue() *IncidentFieldAttributesMultipleValue

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

func NewIncidentFieldAttributesMultipleValueWithDefaults ¶

func NewIncidentFieldAttributesMultipleValueWithDefaults() *IncidentFieldAttributesMultipleValue

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

func (*IncidentFieldAttributesMultipleValue) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*IncidentFieldAttributesMultipleValue) GetTypeOk ¶

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

func (*IncidentFieldAttributesMultipleValue) GetValue ¶

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

func (*IncidentFieldAttributesMultipleValue) GetValueOk ¶

func (o *IncidentFieldAttributesMultipleValue) GetValueOk() (*[]string, bool)

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

func (*IncidentFieldAttributesMultipleValue) HasType ¶

HasType returns a boolean if a field has been set.

func (*IncidentFieldAttributesMultipleValue) HasValue ¶

HasValue returns a boolean if a field has been set.

func (IncidentFieldAttributesMultipleValue) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentFieldAttributesMultipleValue) SetType ¶

SetType gets a reference to the given IncidentFieldAttributesValueType and assigns it to the Type field.

func (*IncidentFieldAttributesMultipleValue) SetValue ¶

SetValue gets a reference to the given []string and assigns it to the Value field.

func (*IncidentFieldAttributesMultipleValue) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentFieldAttributesMultipleValue) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentFieldAttributesSingleValue ¶

type IncidentFieldAttributesSingleValue struct {
	// Type of the single value field definitions.
	Type *IncidentFieldAttributesSingleValueType `json:"type,omitempty"`
	// The single value selected for this field.
	Value NullableString `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentFieldAttributesSingleValue A field with a single value selected.

func NewIncidentFieldAttributesSingleValue ¶

func NewIncidentFieldAttributesSingleValue() *IncidentFieldAttributesSingleValue

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

func NewIncidentFieldAttributesSingleValueWithDefaults ¶

func NewIncidentFieldAttributesSingleValueWithDefaults() *IncidentFieldAttributesSingleValue

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

func (*IncidentFieldAttributesSingleValue) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*IncidentFieldAttributesSingleValue) GetTypeOk ¶

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

func (*IncidentFieldAttributesSingleValue) GetValue ¶

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

func (*IncidentFieldAttributesSingleValue) GetValueOk ¶

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

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

func (*IncidentFieldAttributesSingleValue) HasType ¶

HasType returns a boolean if a field has been set.

func (*IncidentFieldAttributesSingleValue) HasValue ¶

HasValue returns a boolean if a field has been set.

func (IncidentFieldAttributesSingleValue) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentFieldAttributesSingleValue) SetType ¶

SetType gets a reference to the given IncidentFieldAttributesSingleValueType and assigns it to the Type field.

func (*IncidentFieldAttributesSingleValue) SetValue ¶

SetValue gets a reference to the given NullableString and assigns it to the Value field.

func (*IncidentFieldAttributesSingleValue) SetValueNil ¶ added in v1.5.0

func (o *IncidentFieldAttributesSingleValue) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil.

func (*IncidentFieldAttributesSingleValue) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentFieldAttributesSingleValue) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*IncidentFieldAttributesSingleValue) UnsetValue ¶ added in v1.5.0

func (o *IncidentFieldAttributesSingleValue) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil.

type IncidentFieldAttributesSingleValueType ¶

type IncidentFieldAttributesSingleValueType string

IncidentFieldAttributesSingleValueType Type of the single value field definitions.

const (
	INCIDENTFIELDATTRIBUTESSINGLEVALUETYPE_DROPDOWN IncidentFieldAttributesSingleValueType = "dropdown"
	INCIDENTFIELDATTRIBUTESSINGLEVALUETYPE_TEXTBOX  IncidentFieldAttributesSingleValueType = "textbox"
)

List of IncidentFieldAttributesSingleValueType.

func NewIncidentFieldAttributesSingleValueTypeFromValue ¶

func NewIncidentFieldAttributesSingleValueTypeFromValue(v string) (*IncidentFieldAttributesSingleValueType, error)

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

func (*IncidentFieldAttributesSingleValueType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (IncidentFieldAttributesSingleValueType) IsValid ¶

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

func (IncidentFieldAttributesSingleValueType) Ptr ¶

Ptr returns reference to IncidentFieldAttributesSingleValueType value.

func (*IncidentFieldAttributesSingleValueType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type IncidentFieldAttributesValueType ¶

type IncidentFieldAttributesValueType string

IncidentFieldAttributesValueType Type of the multiple value field definitions.

const (
	INCIDENTFIELDATTRIBUTESVALUETYPE_MULTISELECT  IncidentFieldAttributesValueType = "multiselect"
	INCIDENTFIELDATTRIBUTESVALUETYPE_TEXTARRAY    IncidentFieldAttributesValueType = "textarray"
	INCIDENTFIELDATTRIBUTESVALUETYPE_METRICTAG    IncidentFieldAttributesValueType = "metrictag"
	INCIDENTFIELDATTRIBUTESVALUETYPE_AUTOCOMPLETE IncidentFieldAttributesValueType = "autocomplete"
)

List of IncidentFieldAttributesValueType.

func NewIncidentFieldAttributesValueTypeFromValue ¶

func NewIncidentFieldAttributesValueTypeFromValue(v string) (*IncidentFieldAttributesValueType, error)

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

func (*IncidentFieldAttributesValueType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (IncidentFieldAttributesValueType) IsValid ¶

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

func (IncidentFieldAttributesValueType) Ptr ¶

Ptr returns reference to IncidentFieldAttributesValueType value.

func (*IncidentFieldAttributesValueType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type IncidentIntegrationMetadataType ¶

type IncidentIntegrationMetadataType string

IncidentIntegrationMetadataType Integration metadata resource type.

const (
	INCIDENTINTEGRATIONMETADATATYPE_INCIDENT_INTEGRATIONS IncidentIntegrationMetadataType = "incident_integrations"
)

List of IncidentIntegrationMetadataType.

func NewIncidentIntegrationMetadataTypeFromValue ¶

func NewIncidentIntegrationMetadataTypeFromValue(v string) (*IncidentIntegrationMetadataType, error)

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

func (*IncidentIntegrationMetadataType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (IncidentIntegrationMetadataType) IsValid ¶

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

func (IncidentIntegrationMetadataType) Ptr ¶

Ptr returns reference to IncidentIntegrationMetadataType value.

func (*IncidentIntegrationMetadataType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type IncidentNotificationHandle ¶ added in v1.3.0

type IncidentNotificationHandle struct {
	// The name of the notified handle.
	DisplayName *string `json:"display_name,omitempty"`
	// The email address used for the notification.
	Handle *string `json:"handle,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentNotificationHandle A notification handle that will be notified at incident creation.

func NewIncidentNotificationHandle ¶ added in v1.3.0

func NewIncidentNotificationHandle() *IncidentNotificationHandle

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

func NewIncidentNotificationHandleWithDefaults ¶ added in v1.3.0

func NewIncidentNotificationHandleWithDefaults() *IncidentNotificationHandle

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

func (*IncidentNotificationHandle) GetDisplayName ¶ added in v1.3.0

func (o *IncidentNotificationHandle) GetDisplayName() string

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

func (*IncidentNotificationHandle) GetDisplayNameOk ¶ added in v1.3.0

func (o *IncidentNotificationHandle) 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 (*IncidentNotificationHandle) GetHandle ¶ added in v1.3.0

func (o *IncidentNotificationHandle) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*IncidentNotificationHandle) GetHandleOk ¶ added in v1.3.0

func (o *IncidentNotificationHandle) GetHandleOk() (*string, bool)

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

func (*IncidentNotificationHandle) HasDisplayName ¶ added in v1.3.0

func (o *IncidentNotificationHandle) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*IncidentNotificationHandle) HasHandle ¶ added in v1.3.0

func (o *IncidentNotificationHandle) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (IncidentNotificationHandle) MarshalJSON ¶ added in v1.3.0

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentNotificationHandle) SetDisplayName ¶ added in v1.3.0

func (o *IncidentNotificationHandle) SetDisplayName(v string)

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

func (*IncidentNotificationHandle) SetHandle ¶ added in v1.3.0

func (o *IncidentNotificationHandle) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*IncidentNotificationHandle) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentNotificationHandle) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentPostmortemType ¶

type IncidentPostmortemType string

IncidentPostmortemType Incident postmortem resource type.

const (
	INCIDENTPOSTMORTEMTYPE_INCIDENT_POSTMORTEMS IncidentPostmortemType = "incident_postmortems"
)

List of IncidentPostmortemType.

func NewIncidentPostmortemTypeFromValue ¶

func NewIncidentPostmortemTypeFromValue(v string) (*IncidentPostmortemType, error)

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

func (*IncidentPostmortemType) GetAllowedValues ¶ added in v1.1.0

func (v *IncidentPostmortemType) GetAllowedValues() []IncidentPostmortemType

GetAllowedValues reeturns the list of possible values.

func (IncidentPostmortemType) IsValid ¶

func (v IncidentPostmortemType) IsValid() bool

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

func (IncidentPostmortemType) Ptr ¶

Ptr returns reference to IncidentPostmortemType value.

func (*IncidentPostmortemType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type IncidentRelatedObject ¶

type IncidentRelatedObject string

IncidentRelatedObject Object related to an incident.

const (
	INCIDENTRELATEDOBJECT_USERS IncidentRelatedObject = "users"
)

List of IncidentRelatedObject.

func NewIncidentRelatedObjectFromValue ¶

func NewIncidentRelatedObjectFromValue(v string) (*IncidentRelatedObject, error)

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

func (*IncidentRelatedObject) GetAllowedValues ¶ added in v1.1.0

func (v *IncidentRelatedObject) GetAllowedValues() []IncidentRelatedObject

GetAllowedValues reeturns the list of possible values.

func (IncidentRelatedObject) IsValid ¶

func (v IncidentRelatedObject) IsValid() bool

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

func (IncidentRelatedObject) Ptr ¶

Ptr returns reference to IncidentRelatedObject value.

func (*IncidentRelatedObject) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type IncidentResponse ¶

type IncidentResponse struct {
	// Incident data from a response.
	Data IncidentResponseData `json:"data"`
	// Included related resources that the user requested.
	Included []IncidentResponseIncludedItem `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentResponse Response with an incident.

func NewIncidentResponse ¶

func NewIncidentResponse(data IncidentResponseData) *IncidentResponse

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

func NewIncidentResponseWithDefaults ¶

func NewIncidentResponseWithDefaults() *IncidentResponse

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

func (*IncidentResponse) GetData ¶

GetData returns the Data field value.

func (*IncidentResponse) GetDataOk ¶

func (o *IncidentResponse) GetDataOk() (*IncidentResponseData, bool)

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

func (*IncidentResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentResponse) GetIncludedOk ¶

func (o *IncidentResponse) GetIncludedOk() (*[]IncidentResponseIncludedItem, bool)

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

func (*IncidentResponse) HasIncluded ¶

func (o *IncidentResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (IncidentResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentResponse) SetData ¶

func (o *IncidentResponse) SetData(v IncidentResponseData)

SetData sets field value.

func (*IncidentResponse) SetIncluded ¶

func (o *IncidentResponse) SetIncluded(v []IncidentResponseIncludedItem)

SetIncluded gets a reference to the given []IncidentResponseIncludedItem and assigns it to the Included field.

func (*IncidentResponse) UnmarshalJSON ¶

func (o *IncidentResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentResponseAttributes ¶

type IncidentResponseAttributes struct {
	// Timestamp when the incident was created.
	Created *time.Time `json:"created,omitempty"`
	// Length of the incident's customer impact in seconds.
	// Equals the difference between `customer_impact_start` and `customer_impact_end`.
	CustomerImpactDuration *int64 `json:"customer_impact_duration,omitempty"`
	// Timestamp when customers were no longer impacted by the incident.
	CustomerImpactEnd NullableTime `json:"customer_impact_end,omitempty"`
	// A summary of the impact customers experienced during the incident.
	CustomerImpactScope NullableString `json:"customer_impact_scope,omitempty"`
	// Timestamp when customers began being impacted by the incident.
	CustomerImpactStart NullableTime `json:"customer_impact_start,omitempty"`
	// A flag indicating whether the incident caused customer impact.
	CustomerImpacted *bool `json:"customer_impacted,omitempty"`
	// Timestamp when the incident was detected.
	Detected NullableTime `json:"detected,omitempty"`
	// A condensed view of the user-defined fields attached to incidents.
	Fields map[string]IncidentFieldAttributes `json:"fields,omitempty"`
	// Timestamp when the incident was last modified.
	Modified *time.Time `json:"modified,omitempty"`
	// Notification handles that will be notified of the incident during update.
	NotificationHandles []IncidentNotificationHandle `json:"notification_handles,omitempty"`
	// The UUID of the postmortem object attached to the incident.
	PostmortemId *string `json:"postmortem_id,omitempty"`
	// The monotonically increasing integer ID for the incident.
	PublicId *int64 `json:"public_id,omitempty"`
	// Timestamp when the incident's state was set to resolved.
	Resolved NullableTime `json:"resolved,omitempty"`
	// The amount of time in seconds to detect the incident.
	// Equals the difference between `customer_impact_start` and `detected`.
	TimeToDetect *int64 `json:"time_to_detect,omitempty"`
	// The amount of time in seconds to call incident after detection. Equals the difference of `detected` and `created`.
	TimeToInternalResponse *int64 `json:"time_to_internal_response,omitempty"`
	// The amount of time in seconds to resolve customer impact after detecting the issue. Equals the difference between `customer_impact_end` and `detected`.
	TimeToRepair *int64 `json:"time_to_repair,omitempty"`
	// The amount of time in seconds to resolve the incident after it was created. Equals the difference between `created` and `resolved`.
	TimeToResolve *int64 `json:"time_to_resolve,omitempty"`
	// The title of the incident, which summarizes what happened.
	Title string `json:"title"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentResponseAttributes The incident's attributes from a response.

func NewIncidentResponseAttributes ¶

func NewIncidentResponseAttributes(title string) *IncidentResponseAttributes

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

func NewIncidentResponseAttributesWithDefaults ¶

func NewIncidentResponseAttributesWithDefaults() *IncidentResponseAttributes

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

func (*IncidentResponseAttributes) GetCreated ¶

func (o *IncidentResponseAttributes) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetCreatedOk ¶

func (o *IncidentResponseAttributes) GetCreatedOk() (*time.Time, bool)

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

func (*IncidentResponseAttributes) GetCustomerImpactDuration ¶

func (o *IncidentResponseAttributes) GetCustomerImpactDuration() int64

GetCustomerImpactDuration returns the CustomerImpactDuration field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetCustomerImpactDurationOk ¶

func (o *IncidentResponseAttributes) GetCustomerImpactDurationOk() (*int64, bool)

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

func (*IncidentResponseAttributes) GetCustomerImpactEnd ¶

func (o *IncidentResponseAttributes) GetCustomerImpactEnd() time.Time

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

func (*IncidentResponseAttributes) GetCustomerImpactEndOk ¶

func (o *IncidentResponseAttributes) GetCustomerImpactEndOk() (*time.Time, bool)

GetCustomerImpactEndOk returns a tuple with the CustomerImpactEnd 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 (*IncidentResponseAttributes) GetCustomerImpactScope ¶

func (o *IncidentResponseAttributes) GetCustomerImpactScope() string

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

func (*IncidentResponseAttributes) GetCustomerImpactScopeOk ¶

func (o *IncidentResponseAttributes) GetCustomerImpactScopeOk() (*string, bool)

GetCustomerImpactScopeOk returns a tuple with the CustomerImpactScope 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 (*IncidentResponseAttributes) GetCustomerImpactStart ¶

func (o *IncidentResponseAttributes) GetCustomerImpactStart() time.Time

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

func (*IncidentResponseAttributes) GetCustomerImpactStartOk ¶

func (o *IncidentResponseAttributes) GetCustomerImpactStartOk() (*time.Time, bool)

GetCustomerImpactStartOk returns a tuple with the CustomerImpactStart 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 (*IncidentResponseAttributes) GetCustomerImpacted ¶

func (o *IncidentResponseAttributes) GetCustomerImpacted() bool

GetCustomerImpacted returns the CustomerImpacted field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetCustomerImpactedOk ¶

func (o *IncidentResponseAttributes) GetCustomerImpactedOk() (*bool, bool)

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

func (*IncidentResponseAttributes) GetDetected ¶

func (o *IncidentResponseAttributes) GetDetected() time.Time

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

func (*IncidentResponseAttributes) GetDetectedOk ¶

func (o *IncidentResponseAttributes) GetDetectedOk() (*time.Time, bool)

GetDetectedOk returns a tuple with the Detected 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 (*IncidentResponseAttributes) GetFields ¶

GetFields returns the Fields field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetFieldsOk ¶

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

func (*IncidentResponseAttributes) GetModified ¶

func (o *IncidentResponseAttributes) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetModifiedOk ¶

func (o *IncidentResponseAttributes) GetModifiedOk() (*time.Time, bool)

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

func (*IncidentResponseAttributes) GetNotificationHandles ¶

func (o *IncidentResponseAttributes) GetNotificationHandles() []IncidentNotificationHandle

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

func (*IncidentResponseAttributes) GetNotificationHandlesOk ¶

func (o *IncidentResponseAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)

GetNotificationHandlesOk returns a tuple with the NotificationHandles 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 (*IncidentResponseAttributes) GetPostmortemId ¶

func (o *IncidentResponseAttributes) GetPostmortemId() string

GetPostmortemId returns the PostmortemId field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetPostmortemIdOk ¶

func (o *IncidentResponseAttributes) GetPostmortemIdOk() (*string, bool)

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

func (*IncidentResponseAttributes) GetPublicId ¶

func (o *IncidentResponseAttributes) GetPublicId() int64

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetPublicIdOk ¶

func (o *IncidentResponseAttributes) GetPublicIdOk() (*int64, bool)

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

func (*IncidentResponseAttributes) GetResolved ¶

func (o *IncidentResponseAttributes) GetResolved() time.Time

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

func (*IncidentResponseAttributes) GetResolvedOk ¶

func (o *IncidentResponseAttributes) GetResolvedOk() (*time.Time, bool)

GetResolvedOk returns a tuple with the Resolved 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 (*IncidentResponseAttributes) GetTimeToDetect ¶

func (o *IncidentResponseAttributes) GetTimeToDetect() int64

GetTimeToDetect returns the TimeToDetect field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetTimeToDetectOk ¶

func (o *IncidentResponseAttributes) GetTimeToDetectOk() (*int64, bool)

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

func (*IncidentResponseAttributes) GetTimeToInternalResponse ¶

func (o *IncidentResponseAttributes) GetTimeToInternalResponse() int64

GetTimeToInternalResponse returns the TimeToInternalResponse field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetTimeToInternalResponseOk ¶

func (o *IncidentResponseAttributes) GetTimeToInternalResponseOk() (*int64, bool)

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

func (*IncidentResponseAttributes) GetTimeToRepair ¶

func (o *IncidentResponseAttributes) GetTimeToRepair() int64

GetTimeToRepair returns the TimeToRepair field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetTimeToRepairOk ¶

func (o *IncidentResponseAttributes) GetTimeToRepairOk() (*int64, bool)

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

func (*IncidentResponseAttributes) GetTimeToResolve ¶

func (o *IncidentResponseAttributes) GetTimeToResolve() int64

GetTimeToResolve returns the TimeToResolve field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetTimeToResolveOk ¶

func (o *IncidentResponseAttributes) GetTimeToResolveOk() (*int64, bool)

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

func (*IncidentResponseAttributes) GetTitle ¶

func (o *IncidentResponseAttributes) GetTitle() string

GetTitle returns the Title field value.

func (*IncidentResponseAttributes) GetTitleOk ¶

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

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

func (*IncidentResponseAttributes) HasCreated ¶

func (o *IncidentResponseAttributes) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasCustomerImpactDuration ¶

func (o *IncidentResponseAttributes) HasCustomerImpactDuration() bool

HasCustomerImpactDuration returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasCustomerImpactEnd ¶

func (o *IncidentResponseAttributes) HasCustomerImpactEnd() bool

HasCustomerImpactEnd returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasCustomerImpactScope ¶

func (o *IncidentResponseAttributes) HasCustomerImpactScope() bool

HasCustomerImpactScope returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasCustomerImpactStart ¶

func (o *IncidentResponseAttributes) HasCustomerImpactStart() bool

HasCustomerImpactStart returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasCustomerImpacted ¶

func (o *IncidentResponseAttributes) HasCustomerImpacted() bool

HasCustomerImpacted returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasDetected ¶

func (o *IncidentResponseAttributes) HasDetected() bool

HasDetected returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasFields ¶

func (o *IncidentResponseAttributes) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasModified ¶

func (o *IncidentResponseAttributes) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasNotificationHandles ¶

func (o *IncidentResponseAttributes) HasNotificationHandles() bool

HasNotificationHandles returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasPostmortemId ¶

func (o *IncidentResponseAttributes) HasPostmortemId() bool

HasPostmortemId returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasPublicId ¶

func (o *IncidentResponseAttributes) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasResolved ¶

func (o *IncidentResponseAttributes) HasResolved() bool

HasResolved returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasTimeToDetect ¶

func (o *IncidentResponseAttributes) HasTimeToDetect() bool

HasTimeToDetect returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasTimeToInternalResponse ¶

func (o *IncidentResponseAttributes) HasTimeToInternalResponse() bool

HasTimeToInternalResponse returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasTimeToRepair ¶

func (o *IncidentResponseAttributes) HasTimeToRepair() bool

HasTimeToRepair returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasTimeToResolve ¶

func (o *IncidentResponseAttributes) HasTimeToResolve() bool

HasTimeToResolve returns a boolean if a field has been set.

func (IncidentResponseAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentResponseAttributes) SetCreated ¶

func (o *IncidentResponseAttributes) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*IncidentResponseAttributes) SetCustomerImpactDuration ¶

func (o *IncidentResponseAttributes) SetCustomerImpactDuration(v int64)

SetCustomerImpactDuration gets a reference to the given int64 and assigns it to the CustomerImpactDuration field.

func (*IncidentResponseAttributes) SetCustomerImpactEnd ¶

func (o *IncidentResponseAttributes) SetCustomerImpactEnd(v time.Time)

SetCustomerImpactEnd gets a reference to the given NullableTime and assigns it to the CustomerImpactEnd field.

func (*IncidentResponseAttributes) SetCustomerImpactEndNil ¶

func (o *IncidentResponseAttributes) SetCustomerImpactEndNil()

SetCustomerImpactEndNil sets the value for CustomerImpactEnd to be an explicit nil.

func (*IncidentResponseAttributes) SetCustomerImpactScope ¶

func (o *IncidentResponseAttributes) SetCustomerImpactScope(v string)

SetCustomerImpactScope gets a reference to the given NullableString and assigns it to the CustomerImpactScope field.

func (*IncidentResponseAttributes) SetCustomerImpactScopeNil ¶

func (o *IncidentResponseAttributes) SetCustomerImpactScopeNil()

SetCustomerImpactScopeNil sets the value for CustomerImpactScope to be an explicit nil.

func (*IncidentResponseAttributes) SetCustomerImpactStart ¶

func (o *IncidentResponseAttributes) SetCustomerImpactStart(v time.Time)

SetCustomerImpactStart gets a reference to the given NullableTime and assigns it to the CustomerImpactStart field.

func (*IncidentResponseAttributes) SetCustomerImpactStartNil ¶

func (o *IncidentResponseAttributes) SetCustomerImpactStartNil()

SetCustomerImpactStartNil sets the value for CustomerImpactStart to be an explicit nil.

func (*IncidentResponseAttributes) SetCustomerImpacted ¶

func (o *IncidentResponseAttributes) SetCustomerImpacted(v bool)

SetCustomerImpacted gets a reference to the given bool and assigns it to the CustomerImpacted field.

func (*IncidentResponseAttributes) SetDetected ¶

func (o *IncidentResponseAttributes) SetDetected(v time.Time)

SetDetected gets a reference to the given NullableTime and assigns it to the Detected field.

func (*IncidentResponseAttributes) SetDetectedNil ¶

func (o *IncidentResponseAttributes) SetDetectedNil()

SetDetectedNil sets the value for Detected to be an explicit nil.

func (*IncidentResponseAttributes) SetFields ¶

SetFields gets a reference to the given map[string]IncidentFieldAttributes and assigns it to the Fields field.

func (*IncidentResponseAttributes) SetModified ¶

func (o *IncidentResponseAttributes) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*IncidentResponseAttributes) SetNotificationHandles ¶

func (o *IncidentResponseAttributes) SetNotificationHandles(v []IncidentNotificationHandle)

SetNotificationHandles gets a reference to the given []IncidentNotificationHandle and assigns it to the NotificationHandles field.

func (*IncidentResponseAttributes) SetPostmortemId ¶

func (o *IncidentResponseAttributes) SetPostmortemId(v string)

SetPostmortemId gets a reference to the given string and assigns it to the PostmortemId field.

func (*IncidentResponseAttributes) SetPublicId ¶

func (o *IncidentResponseAttributes) SetPublicId(v int64)

SetPublicId gets a reference to the given int64 and assigns it to the PublicId field.

func (*IncidentResponseAttributes) SetResolved ¶

func (o *IncidentResponseAttributes) SetResolved(v time.Time)

SetResolved gets a reference to the given NullableTime and assigns it to the Resolved field.

func (*IncidentResponseAttributes) SetResolvedNil ¶

func (o *IncidentResponseAttributes) SetResolvedNil()

SetResolvedNil sets the value for Resolved to be an explicit nil.

func (*IncidentResponseAttributes) SetTimeToDetect ¶

func (o *IncidentResponseAttributes) SetTimeToDetect(v int64)

SetTimeToDetect gets a reference to the given int64 and assigns it to the TimeToDetect field.

func (*IncidentResponseAttributes) SetTimeToInternalResponse ¶

func (o *IncidentResponseAttributes) SetTimeToInternalResponse(v int64)

SetTimeToInternalResponse gets a reference to the given int64 and assigns it to the TimeToInternalResponse field.

func (*IncidentResponseAttributes) SetTimeToRepair ¶

func (o *IncidentResponseAttributes) SetTimeToRepair(v int64)

SetTimeToRepair gets a reference to the given int64 and assigns it to the TimeToRepair field.

func (*IncidentResponseAttributes) SetTimeToResolve ¶

func (o *IncidentResponseAttributes) SetTimeToResolve(v int64)

SetTimeToResolve gets a reference to the given int64 and assigns it to the TimeToResolve field.

func (*IncidentResponseAttributes) SetTitle ¶

func (o *IncidentResponseAttributes) SetTitle(v string)

SetTitle sets field value.

func (*IncidentResponseAttributes) UnmarshalJSON ¶

func (o *IncidentResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*IncidentResponseAttributes) UnsetCustomerImpactEnd ¶

func (o *IncidentResponseAttributes) UnsetCustomerImpactEnd()

UnsetCustomerImpactEnd ensures that no value is present for CustomerImpactEnd, not even an explicit nil.

func (*IncidentResponseAttributes) UnsetCustomerImpactScope ¶

func (o *IncidentResponseAttributes) UnsetCustomerImpactScope()

UnsetCustomerImpactScope ensures that no value is present for CustomerImpactScope, not even an explicit nil.

func (*IncidentResponseAttributes) UnsetCustomerImpactStart ¶

func (o *IncidentResponseAttributes) UnsetCustomerImpactStart()

UnsetCustomerImpactStart ensures that no value is present for CustomerImpactStart, not even an explicit nil.

func (*IncidentResponseAttributes) UnsetDetected ¶

func (o *IncidentResponseAttributes) UnsetDetected()

UnsetDetected ensures that no value is present for Detected, not even an explicit nil.

func (*IncidentResponseAttributes) UnsetResolved ¶

func (o *IncidentResponseAttributes) UnsetResolved()

UnsetResolved ensures that no value is present for Resolved, not even an explicit nil.

type IncidentResponseData ¶

type IncidentResponseData struct {
	// The incident's attributes from a response.
	Attributes *IncidentResponseAttributes `json:"attributes,omitempty"`
	// The incident's ID.
	Id string `json:"id"`
	// The incident's relationships from a response.
	Relationships *IncidentResponseRelationships `json:"relationships,omitempty"`
	// Incident resource type.
	Type IncidentType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentResponseData Incident data from a response.

func NewIncidentResponseData ¶

func NewIncidentResponseData(id string, typeVar IncidentType) *IncidentResponseData

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

func NewIncidentResponseDataWithDefaults ¶

func NewIncidentResponseDataWithDefaults() *IncidentResponseData

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

func (*IncidentResponseData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentResponseData) GetAttributesOk ¶

func (o *IncidentResponseData) GetAttributesOk() (*IncidentResponseAttributes, bool)

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

func (*IncidentResponseData) GetId ¶

func (o *IncidentResponseData) GetId() string

GetId returns the Id field value.

func (*IncidentResponseData) GetIdOk ¶

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

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

func (*IncidentResponseData) GetRelationships ¶

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*IncidentResponseData) GetRelationshipsOk ¶

func (o *IncidentResponseData) GetRelationshipsOk() (*IncidentResponseRelationships, bool)

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

func (*IncidentResponseData) GetType ¶

func (o *IncidentResponseData) GetType() IncidentType

GetType returns the Type field value.

func (*IncidentResponseData) GetTypeOk ¶

func (o *IncidentResponseData) GetTypeOk() (*IncidentType, bool)

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

func (*IncidentResponseData) HasAttributes ¶

func (o *IncidentResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IncidentResponseData) HasRelationships ¶

func (o *IncidentResponseData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (IncidentResponseData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentResponseData) SetAttributes ¶

SetAttributes gets a reference to the given IncidentResponseAttributes and assigns it to the Attributes field.

func (*IncidentResponseData) SetId ¶

func (o *IncidentResponseData) SetId(v string)

SetId sets field value.

func (*IncidentResponseData) SetRelationships ¶

func (o *IncidentResponseData) SetRelationships(v IncidentResponseRelationships)

SetRelationships gets a reference to the given IncidentResponseRelationships and assigns it to the Relationships field.

func (*IncidentResponseData) SetType ¶

func (o *IncidentResponseData) SetType(v IncidentType)

SetType sets field value.

func (*IncidentResponseData) UnmarshalJSON ¶

func (o *IncidentResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentResponseIncludedItem ¶

type IncidentResponseIncludedItem struct {
	User *User

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentResponseIncludedItem - An object related to an incident that is included in the response.

func UserAsIncidentResponseIncludedItem ¶

func UserAsIncidentResponseIncludedItem(v *User) IncidentResponseIncludedItem

UserAsIncidentResponseIncludedItem is a convenience function that returns User wrapped in IncidentResponseIncludedItem.

func (*IncidentResponseIncludedItem) GetActualInstance ¶

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

GetActualInstance returns the actual instance.

func (IncidentResponseIncludedItem) MarshalJSON ¶

func (obj IncidentResponseIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*IncidentResponseIncludedItem) UnmarshalJSON ¶

func (obj *IncidentResponseIncludedItem) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type IncidentResponseMeta ¶ added in v1.9.0

type IncidentResponseMeta struct {
	// Pagination properties.
	Pagination *IncidentResponseMetaPagination `json:"pagination,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentResponseMeta The metadata object containing pagination metadata.

func NewIncidentResponseMeta ¶ added in v1.9.0

func NewIncidentResponseMeta() *IncidentResponseMeta

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

func NewIncidentResponseMetaWithDefaults ¶ added in v1.9.0

func NewIncidentResponseMetaWithDefaults() *IncidentResponseMeta

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

func (*IncidentResponseMeta) GetPagination ¶ added in v1.9.0

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*IncidentResponseMeta) GetPaginationOk ¶ added in v1.9.0

func (o *IncidentResponseMeta) GetPaginationOk() (*IncidentResponseMetaPagination, bool)

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

func (*IncidentResponseMeta) HasPagination ¶ added in v1.9.0

func (o *IncidentResponseMeta) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (IncidentResponseMeta) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentResponseMeta) SetPagination ¶ added in v1.9.0

SetPagination gets a reference to the given IncidentResponseMetaPagination and assigns it to the Pagination field.

func (*IncidentResponseMeta) UnmarshalJSON ¶ added in v1.9.0

func (o *IncidentResponseMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentResponseMetaPagination ¶ added in v1.9.0

type IncidentResponseMetaPagination struct {
	// The index of the first element in the next page of results. Equal to page size added to the current offset.
	NextOffset *int64 `json:"next_offset,omitempty"`
	// The index of the first element in the results.
	Offset *int64 `json:"offset,omitempty"`
	// Maximum size of pages to return.
	Size *int64 `json:"size,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentResponseMetaPagination Pagination properties.

func NewIncidentResponseMetaPagination ¶ added in v1.9.0

func NewIncidentResponseMetaPagination() *IncidentResponseMetaPagination

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

func NewIncidentResponseMetaPaginationWithDefaults ¶ added in v1.9.0

func NewIncidentResponseMetaPaginationWithDefaults() *IncidentResponseMetaPagination

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

func (*IncidentResponseMetaPagination) GetNextOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) GetNextOffset() int64

GetNextOffset returns the NextOffset field value if set, zero value otherwise.

func (*IncidentResponseMetaPagination) GetNextOffsetOk ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) GetNextOffsetOk() (*int64, bool)

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

func (*IncidentResponseMetaPagination) GetOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) GetOffset() int64

GetOffset returns the Offset field value if set, zero value otherwise.

func (*IncidentResponseMetaPagination) GetOffsetOk ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) GetOffsetOk() (*int64, bool)

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

func (*IncidentResponseMetaPagination) GetSize ¶ added in v1.9.0

GetSize returns the Size field value if set, zero value otherwise.

func (*IncidentResponseMetaPagination) GetSizeOk ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) GetSizeOk() (*int64, bool)

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

func (*IncidentResponseMetaPagination) HasNextOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) HasNextOffset() bool

HasNextOffset returns a boolean if a field has been set.

func (*IncidentResponseMetaPagination) HasOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*IncidentResponseMetaPagination) HasSize ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) HasSize() bool

HasSize returns a boolean if a field has been set.

func (IncidentResponseMetaPagination) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentResponseMetaPagination) SetNextOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) SetNextOffset(v int64)

SetNextOffset gets a reference to the given int64 and assigns it to the NextOffset field.

func (*IncidentResponseMetaPagination) SetOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) SetOffset(v int64)

SetOffset gets a reference to the given int64 and assigns it to the Offset field.

func (*IncidentResponseMetaPagination) SetSize ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*IncidentResponseMetaPagination) UnmarshalJSON ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentResponseRelationships ¶

type IncidentResponseRelationships struct {
	// Relationship to user.
	CommanderUser *NullableRelationshipToUser `json:"commander_user,omitempty"`
	// Relationship to user.
	CreatedByUser *RelationshipToUser `json:"created_by_user,omitempty"`
	// A relationship reference for multiple integration metadata objects.
	Integrations *RelationshipToIncidentIntegrationMetadatas `json:"integrations,omitempty"`
	// Relationship to user.
	LastModifiedByUser *RelationshipToUser `json:"last_modified_by_user,omitempty"`
	// A relationship reference for postmortems.
	Postmortem *RelationshipToIncidentPostmortem `json:"postmortem,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentResponseRelationships The incident's relationships from a response.

func NewIncidentResponseRelationships ¶

func NewIncidentResponseRelationships() *IncidentResponseRelationships

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

func NewIncidentResponseRelationshipsWithDefaults ¶

func NewIncidentResponseRelationshipsWithDefaults() *IncidentResponseRelationships

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

func (*IncidentResponseRelationships) GetCommanderUser ¶

GetCommanderUser returns the CommanderUser field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetCommanderUserOk ¶

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

func (*IncidentResponseRelationships) GetCreatedByUser ¶

func (o *IncidentResponseRelationships) GetCreatedByUser() RelationshipToUser

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetCreatedByUserOk ¶

func (o *IncidentResponseRelationships) GetCreatedByUserOk() (*RelationshipToUser, bool)

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

func (*IncidentResponseRelationships) GetIntegrations ¶

GetIntegrations returns the Integrations field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetIntegrationsOk ¶

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

func (*IncidentResponseRelationships) GetLastModifiedByUser ¶

func (o *IncidentResponseRelationships) GetLastModifiedByUser() RelationshipToUser

GetLastModifiedByUser returns the LastModifiedByUser field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetLastModifiedByUserOk ¶

func (o *IncidentResponseRelationships) GetLastModifiedByUserOk() (*RelationshipToUser, bool)

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

func (*IncidentResponseRelationships) GetPostmortem ¶

GetPostmortem returns the Postmortem field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetPostmortemOk ¶

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

func (*IncidentResponseRelationships) HasCommanderUser ¶

func (o *IncidentResponseRelationships) HasCommanderUser() bool

HasCommanderUser returns a boolean if a field has been set.

func (*IncidentResponseRelationships) HasCreatedByUser ¶

func (o *IncidentResponseRelationships) HasCreatedByUser() bool

HasCreatedByUser returns a boolean if a field has been set.

func (*IncidentResponseRelationships) HasIntegrations ¶

func (o *IncidentResponseRelationships) HasIntegrations() bool

HasIntegrations returns a boolean if a field has been set.

func (*IncidentResponseRelationships) HasLastModifiedByUser ¶

func (o *IncidentResponseRelationships) HasLastModifiedByUser() bool

HasLastModifiedByUser returns a boolean if a field has been set.

func (*IncidentResponseRelationships) HasPostmortem ¶

func (o *IncidentResponseRelationships) HasPostmortem() bool

HasPostmortem returns a boolean if a field has been set.

func (IncidentResponseRelationships) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentResponseRelationships) SetCommanderUser ¶

SetCommanderUser gets a reference to the given NullableRelationshipToUser and assigns it to the CommanderUser field.

func (*IncidentResponseRelationships) SetCreatedByUser ¶

func (o *IncidentResponseRelationships) SetCreatedByUser(v RelationshipToUser)

SetCreatedByUser gets a reference to the given RelationshipToUser and assigns it to the CreatedByUser field.

func (*IncidentResponseRelationships) SetIntegrations ¶

SetIntegrations gets a reference to the given RelationshipToIncidentIntegrationMetadatas and assigns it to the Integrations field.

func (*IncidentResponseRelationships) SetLastModifiedByUser ¶

func (o *IncidentResponseRelationships) SetLastModifiedByUser(v RelationshipToUser)

SetLastModifiedByUser gets a reference to the given RelationshipToUser and assigns it to the LastModifiedByUser field.

func (*IncidentResponseRelationships) SetPostmortem ¶

SetPostmortem gets a reference to the given RelationshipToIncidentPostmortem and assigns it to the Postmortem field.

func (*IncidentResponseRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentResponseRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServiceCreateAttributes ¶

type IncidentServiceCreateAttributes struct {
	// Name of the incident service.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServiceCreateAttributes The incident service's attributes for a create request.

func NewIncidentServiceCreateAttributes ¶

func NewIncidentServiceCreateAttributes(name string) *IncidentServiceCreateAttributes

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

func NewIncidentServiceCreateAttributesWithDefaults ¶

func NewIncidentServiceCreateAttributesWithDefaults() *IncidentServiceCreateAttributes

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

func (*IncidentServiceCreateAttributes) GetName ¶

GetName returns the Name field value.

func (*IncidentServiceCreateAttributes) GetNameOk ¶

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

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

func (IncidentServiceCreateAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServiceCreateAttributes) SetName ¶

SetName sets field value.

func (*IncidentServiceCreateAttributes) UnmarshalJSON ¶

func (o *IncidentServiceCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServiceCreateData ¶

type IncidentServiceCreateData struct {
	// The incident service's attributes for a create request.
	Attributes *IncidentServiceCreateAttributes `json:"attributes,omitempty"`
	// The incident service's relationships.
	Relationships *IncidentServiceRelationships `json:"relationships,omitempty"`
	// Incident service resource type.
	Type IncidentServiceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServiceCreateData Incident Service payload for create requests.

func NewIncidentServiceCreateData ¶

func NewIncidentServiceCreateData(typeVar IncidentServiceType) *IncidentServiceCreateData

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

func NewIncidentServiceCreateDataWithDefaults ¶

func NewIncidentServiceCreateDataWithDefaults() *IncidentServiceCreateData

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

func (*IncidentServiceCreateData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentServiceCreateData) GetAttributesOk ¶

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

func (*IncidentServiceCreateData) GetRelationships ¶

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*IncidentServiceCreateData) GetRelationshipsOk ¶

func (o *IncidentServiceCreateData) GetRelationshipsOk() (*IncidentServiceRelationships, bool)

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

func (*IncidentServiceCreateData) GetType ¶

GetType returns the Type field value.

func (*IncidentServiceCreateData) GetTypeOk ¶

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

func (*IncidentServiceCreateData) HasAttributes ¶

func (o *IncidentServiceCreateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IncidentServiceCreateData) HasRelationships ¶

func (o *IncidentServiceCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (IncidentServiceCreateData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServiceCreateData) SetAttributes ¶

SetAttributes gets a reference to the given IncidentServiceCreateAttributes and assigns it to the Attributes field.

func (*IncidentServiceCreateData) SetRelationships ¶

SetRelationships gets a reference to the given IncidentServiceRelationships and assigns it to the Relationships field.

func (*IncidentServiceCreateData) SetType ¶

SetType sets field value.

func (*IncidentServiceCreateData) UnmarshalJSON ¶

func (o *IncidentServiceCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServiceCreateRequest ¶

type IncidentServiceCreateRequest struct {
	// Incident Service payload for create requests.
	Data IncidentServiceCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServiceCreateRequest Create request with an incident service payload.

func NewIncidentServiceCreateRequest ¶

func NewIncidentServiceCreateRequest(data IncidentServiceCreateData) *IncidentServiceCreateRequest

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

func NewIncidentServiceCreateRequestWithDefaults ¶

func NewIncidentServiceCreateRequestWithDefaults() *IncidentServiceCreateRequest

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

func (*IncidentServiceCreateRequest) GetData ¶

GetData returns the Data field value.

func (*IncidentServiceCreateRequest) GetDataOk ¶

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

func (IncidentServiceCreateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServiceCreateRequest) SetData ¶

SetData sets field value.

func (*IncidentServiceCreateRequest) UnmarshalJSON ¶

func (o *IncidentServiceCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServiceIncludedItems ¶

type IncidentServiceIncludedItems struct {
	User *User

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentServiceIncludedItems - An object related to an incident service which is present in the included payload.

func UserAsIncidentServiceIncludedItems ¶

func UserAsIncidentServiceIncludedItems(v *User) IncidentServiceIncludedItems

UserAsIncidentServiceIncludedItems is a convenience function that returns User wrapped in IncidentServiceIncludedItems.

func (*IncidentServiceIncludedItems) GetActualInstance ¶

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

GetActualInstance returns the actual instance.

func (IncidentServiceIncludedItems) MarshalJSON ¶

func (obj IncidentServiceIncludedItems) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*IncidentServiceIncludedItems) UnmarshalJSON ¶

func (obj *IncidentServiceIncludedItems) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type IncidentServiceRelationships ¶

type IncidentServiceRelationships struct {
	// Relationship to user.
	CreatedBy *RelationshipToUser `json:"created_by,omitempty"`
	// Relationship to user.
	LastModifiedBy *RelationshipToUser `json:"last_modified_by,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServiceRelationships The incident service's relationships.

func NewIncidentServiceRelationships ¶

func NewIncidentServiceRelationships() *IncidentServiceRelationships

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

func NewIncidentServiceRelationshipsWithDefaults ¶

func NewIncidentServiceRelationshipsWithDefaults() *IncidentServiceRelationships

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

func (*IncidentServiceRelationships) GetCreatedBy ¶

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*IncidentServiceRelationships) GetCreatedByOk ¶

func (o *IncidentServiceRelationships) GetCreatedByOk() (*RelationshipToUser, bool)

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

func (*IncidentServiceRelationships) GetLastModifiedBy ¶

func (o *IncidentServiceRelationships) GetLastModifiedBy() RelationshipToUser

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*IncidentServiceRelationships) GetLastModifiedByOk ¶

func (o *IncidentServiceRelationships) GetLastModifiedByOk() (*RelationshipToUser, bool)

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

func (*IncidentServiceRelationships) HasCreatedBy ¶

func (o *IncidentServiceRelationships) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*IncidentServiceRelationships) HasLastModifiedBy ¶

func (o *IncidentServiceRelationships) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (IncidentServiceRelationships) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServiceRelationships) SetCreatedBy ¶

SetCreatedBy gets a reference to the given RelationshipToUser and assigns it to the CreatedBy field.

func (*IncidentServiceRelationships) SetLastModifiedBy ¶

func (o *IncidentServiceRelationships) SetLastModifiedBy(v RelationshipToUser)

SetLastModifiedBy gets a reference to the given RelationshipToUser and assigns it to the LastModifiedBy field.

func (*IncidentServiceRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentServiceRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServiceResponse ¶

type IncidentServiceResponse struct {
	// Incident Service data from responses.
	Data IncidentServiceResponseData `json:"data"`
	// Included objects from relationships.
	Included []IncidentServiceIncludedItems `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServiceResponse Response with an incident service payload.

func NewIncidentServiceResponse ¶

func NewIncidentServiceResponse(data IncidentServiceResponseData) *IncidentServiceResponse

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

func NewIncidentServiceResponseWithDefaults ¶

func NewIncidentServiceResponseWithDefaults() *IncidentServiceResponse

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

func (*IncidentServiceResponse) GetData ¶

GetData returns the Data field value.

func (*IncidentServiceResponse) GetDataOk ¶

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

func (*IncidentServiceResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentServiceResponse) GetIncludedOk ¶

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

func (*IncidentServiceResponse) HasIncluded ¶

func (o *IncidentServiceResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (IncidentServiceResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServiceResponse) SetData ¶

SetData sets field value.

func (*IncidentServiceResponse) SetIncluded ¶

SetIncluded gets a reference to the given []IncidentServiceIncludedItems and assigns it to the Included field.

func (*IncidentServiceResponse) UnmarshalJSON ¶

func (o *IncidentServiceResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServiceResponseAttributes ¶

type IncidentServiceResponseAttributes struct {
	// Timestamp of when the incident service was created.
	Created *time.Time `json:"created,omitempty"`
	// Timestamp of when the incident service was modified.
	Modified *time.Time `json:"modified,omitempty"`
	// Name of the incident service.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServiceResponseAttributes The incident service's attributes from a response.

func NewIncidentServiceResponseAttributes ¶

func NewIncidentServiceResponseAttributes() *IncidentServiceResponseAttributes

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

func NewIncidentServiceResponseAttributesWithDefaults ¶

func NewIncidentServiceResponseAttributesWithDefaults() *IncidentServiceResponseAttributes

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

func (*IncidentServiceResponseAttributes) GetCreated ¶

GetCreated returns the Created field value if set, zero value otherwise.

func (*IncidentServiceResponseAttributes) GetCreatedOk ¶

func (o *IncidentServiceResponseAttributes) GetCreatedOk() (*time.Time, bool)

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

func (*IncidentServiceResponseAttributes) GetModified ¶

func (o *IncidentServiceResponseAttributes) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*IncidentServiceResponseAttributes) GetModifiedOk ¶

func (o *IncidentServiceResponseAttributes) GetModifiedOk() (*time.Time, bool)

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

func (*IncidentServiceResponseAttributes) GetName ¶

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

func (*IncidentServiceResponseAttributes) GetNameOk ¶

func (o *IncidentServiceResponseAttributes) 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 (*IncidentServiceResponseAttributes) HasCreated ¶

func (o *IncidentServiceResponseAttributes) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*IncidentServiceResponseAttributes) HasModified ¶

func (o *IncidentServiceResponseAttributes) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*IncidentServiceResponseAttributes) HasName ¶

HasName returns a boolean if a field has been set.

func (IncidentServiceResponseAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServiceResponseAttributes) SetCreated ¶

func (o *IncidentServiceResponseAttributes) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*IncidentServiceResponseAttributes) SetModified ¶

func (o *IncidentServiceResponseAttributes) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*IncidentServiceResponseAttributes) SetName ¶

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

func (*IncidentServiceResponseAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentServiceResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServiceResponseData ¶

type IncidentServiceResponseData struct {
	// The incident service's attributes from a response.
	Attributes *IncidentServiceResponseAttributes `json:"attributes,omitempty"`
	// The incident service's ID.
	Id string `json:"id"`
	// The incident service's relationships.
	Relationships *IncidentServiceRelationships `json:"relationships,omitempty"`
	// Incident service resource type.
	Type IncidentServiceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServiceResponseData Incident Service data from responses.

func NewIncidentServiceResponseData ¶

func NewIncidentServiceResponseData(id string, typeVar IncidentServiceType) *IncidentServiceResponseData

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

func NewIncidentServiceResponseDataWithDefaults ¶

func NewIncidentServiceResponseDataWithDefaults() *IncidentServiceResponseData

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

func (*IncidentServiceResponseData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentServiceResponseData) GetAttributesOk ¶

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

func (*IncidentServiceResponseData) GetId ¶

GetId returns the Id field value.

func (*IncidentServiceResponseData) GetIdOk ¶

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

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

func (*IncidentServiceResponseData) GetRelationships ¶

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*IncidentServiceResponseData) GetRelationshipsOk ¶

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

func (*IncidentServiceResponseData) GetType ¶

GetType returns the Type field value.

func (*IncidentServiceResponseData) GetTypeOk ¶

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

func (*IncidentServiceResponseData) HasAttributes ¶

func (o *IncidentServiceResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IncidentServiceResponseData) HasRelationships ¶

func (o *IncidentServiceResponseData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (IncidentServiceResponseData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServiceResponseData) SetAttributes ¶

SetAttributes gets a reference to the given IncidentServiceResponseAttributes and assigns it to the Attributes field.

func (*IncidentServiceResponseData) SetId ¶

func (o *IncidentServiceResponseData) SetId(v string)

SetId sets field value.

func (*IncidentServiceResponseData) SetRelationships ¶

SetRelationships gets a reference to the given IncidentServiceRelationships and assigns it to the Relationships field.

func (*IncidentServiceResponseData) SetType ¶

SetType sets field value.

func (*IncidentServiceResponseData) UnmarshalJSON ¶

func (o *IncidentServiceResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServiceType ¶

type IncidentServiceType string

IncidentServiceType Incident service resource type.

const (
	INCIDENTSERVICETYPE_SERVICES IncidentServiceType = "services"
)

List of IncidentServiceType.

func NewIncidentServiceTypeFromValue ¶

func NewIncidentServiceTypeFromValue(v string) (*IncidentServiceType, error)

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

func (*IncidentServiceType) GetAllowedValues ¶ added in v1.1.0

func (v *IncidentServiceType) GetAllowedValues() []IncidentServiceType

GetAllowedValues reeturns the list of possible values.

func (IncidentServiceType) IsValid ¶

func (v IncidentServiceType) IsValid() bool

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

func (IncidentServiceType) Ptr ¶

Ptr returns reference to IncidentServiceType value.

func (*IncidentServiceType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type IncidentServiceUpdateAttributes ¶

type IncidentServiceUpdateAttributes struct {
	// Name of the incident service.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServiceUpdateAttributes The incident service's attributes for an update request.

func NewIncidentServiceUpdateAttributes ¶

func NewIncidentServiceUpdateAttributes(name string) *IncidentServiceUpdateAttributes

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

func NewIncidentServiceUpdateAttributesWithDefaults ¶

func NewIncidentServiceUpdateAttributesWithDefaults() *IncidentServiceUpdateAttributes

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

func (*IncidentServiceUpdateAttributes) GetName ¶

GetName returns the Name field value.

func (*IncidentServiceUpdateAttributes) GetNameOk ¶

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

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

func (IncidentServiceUpdateAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServiceUpdateAttributes) SetName ¶

SetName sets field value.

func (*IncidentServiceUpdateAttributes) UnmarshalJSON ¶

func (o *IncidentServiceUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServiceUpdateData ¶

type IncidentServiceUpdateData struct {
	// The incident service's attributes for an update request.
	Attributes *IncidentServiceUpdateAttributes `json:"attributes,omitempty"`
	// The incident service's ID.
	Id *string `json:"id,omitempty"`
	// The incident service's relationships.
	Relationships *IncidentServiceRelationships `json:"relationships,omitempty"`
	// Incident service resource type.
	Type IncidentServiceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServiceUpdateData Incident Service payload for update requests.

func NewIncidentServiceUpdateData ¶

func NewIncidentServiceUpdateData(typeVar IncidentServiceType) *IncidentServiceUpdateData

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

func NewIncidentServiceUpdateDataWithDefaults ¶

func NewIncidentServiceUpdateDataWithDefaults() *IncidentServiceUpdateData

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

func (*IncidentServiceUpdateData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentServiceUpdateData) GetAttributesOk ¶

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

func (*IncidentServiceUpdateData) GetId ¶

func (o *IncidentServiceUpdateData) GetId() string

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

func (*IncidentServiceUpdateData) GetIdOk ¶

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

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

func (*IncidentServiceUpdateData) GetRelationships ¶

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*IncidentServiceUpdateData) GetRelationshipsOk ¶

func (o *IncidentServiceUpdateData) GetRelationshipsOk() (*IncidentServiceRelationships, bool)

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

func (*IncidentServiceUpdateData) GetType ¶

GetType returns the Type field value.

func (*IncidentServiceUpdateData) GetTypeOk ¶

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

func (*IncidentServiceUpdateData) HasAttributes ¶

func (o *IncidentServiceUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IncidentServiceUpdateData) HasId ¶

func (o *IncidentServiceUpdateData) HasId() bool

HasId returns a boolean if a field has been set.

func (*IncidentServiceUpdateData) HasRelationships ¶

func (o *IncidentServiceUpdateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (IncidentServiceUpdateData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServiceUpdateData) SetAttributes ¶

SetAttributes gets a reference to the given IncidentServiceUpdateAttributes and assigns it to the Attributes field.

func (*IncidentServiceUpdateData) SetId ¶

func (o *IncidentServiceUpdateData) SetId(v string)

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

func (*IncidentServiceUpdateData) SetRelationships ¶

SetRelationships gets a reference to the given IncidentServiceRelationships and assigns it to the Relationships field.

func (*IncidentServiceUpdateData) SetType ¶

SetType sets field value.

func (*IncidentServiceUpdateData) UnmarshalJSON ¶

func (o *IncidentServiceUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServiceUpdateRequest ¶

type IncidentServiceUpdateRequest struct {
	// Incident Service payload for update requests.
	Data IncidentServiceUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServiceUpdateRequest Update request with an incident service payload.

func NewIncidentServiceUpdateRequest ¶

func NewIncidentServiceUpdateRequest(data IncidentServiceUpdateData) *IncidentServiceUpdateRequest

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

func NewIncidentServiceUpdateRequestWithDefaults ¶

func NewIncidentServiceUpdateRequestWithDefaults() *IncidentServiceUpdateRequest

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

func (*IncidentServiceUpdateRequest) GetData ¶

GetData returns the Data field value.

func (*IncidentServiceUpdateRequest) GetDataOk ¶

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

func (IncidentServiceUpdateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServiceUpdateRequest) SetData ¶

SetData sets field value.

func (*IncidentServiceUpdateRequest) UnmarshalJSON ¶

func (o *IncidentServiceUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentServicesApiService ¶

type IncidentServicesApiService service

IncidentServicesApiService IncidentServicesApi service.

func (*IncidentServicesApiService) CreateIncidentService ¶

CreateIncidentService Create a new incident service. Creates a new incident service.

func (*IncidentServicesApiService) DeleteIncidentService ¶

func (a *IncidentServicesApiService) DeleteIncidentService(ctx _context.Context, serviceId string) (*_nethttp.Response, error)

DeleteIncidentService Delete an existing incident service. Deletes an existing incident service.

func (*IncidentServicesApiService) GetIncidentService ¶

GetIncidentService Get details of an incident service. Get details of an incident service. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services.

func (*IncidentServicesApiService) ListIncidentServices ¶

ListIncidentServices Get a list of all incident services. Get all incident services uploaded for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services.

func (*IncidentServicesApiService) UpdateIncidentService ¶

UpdateIncidentService Update an existing incident service. Updates an existing incident service. Only provide the attributes which should be updated as this request is a partial update.

type IncidentServicesResponse ¶

type IncidentServicesResponse struct {
	// An array of incident services.
	Data []IncidentServiceResponseData `json:"data"`
	// Included related resources which the user requested.
	Included []IncidentServiceIncludedItems `json:"included,omitempty"`
	// The metadata object containing pagination metadata.
	Meta *IncidentResponseMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServicesResponse Response with a list of incident service payloads.

func NewIncidentServicesResponse ¶

func NewIncidentServicesResponse(data []IncidentServiceResponseData) *IncidentServicesResponse

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

func NewIncidentServicesResponseWithDefaults ¶

func NewIncidentServicesResponseWithDefaults() *IncidentServicesResponse

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

func (*IncidentServicesResponse) GetData ¶

GetData returns the Data field value.

func (*IncidentServicesResponse) GetDataOk ¶

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

func (*IncidentServicesResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentServicesResponse) GetIncludedOk ¶

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

func (*IncidentServicesResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*IncidentServicesResponse) GetMetaOk ¶

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

func (*IncidentServicesResponse) HasIncluded ¶

func (o *IncidentServicesResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*IncidentServicesResponse) HasMeta ¶

func (o *IncidentServicesResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (IncidentServicesResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentServicesResponse) SetData ¶

SetData sets field value.

func (*IncidentServicesResponse) SetIncluded ¶

SetIncluded gets a reference to the given []IncidentServiceIncludedItems and assigns it to the Included field.

func (*IncidentServicesResponse) SetMeta ¶

SetMeta gets a reference to the given IncidentResponseMeta and assigns it to the Meta field.

func (*IncidentServicesResponse) UnmarshalJSON ¶

func (o *IncidentServicesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamCreateAttributes ¶

type IncidentTeamCreateAttributes struct {
	// Name of the incident team.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamCreateAttributes The incident team's attributes for a create request.

func NewIncidentTeamCreateAttributes ¶

func NewIncidentTeamCreateAttributes(name string) *IncidentTeamCreateAttributes

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

func NewIncidentTeamCreateAttributesWithDefaults ¶

func NewIncidentTeamCreateAttributesWithDefaults() *IncidentTeamCreateAttributes

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

func (*IncidentTeamCreateAttributes) GetName ¶

func (o *IncidentTeamCreateAttributes) GetName() string

GetName returns the Name field value.

func (*IncidentTeamCreateAttributes) GetNameOk ¶

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

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

func (IncidentTeamCreateAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamCreateAttributes) SetName ¶

func (o *IncidentTeamCreateAttributes) SetName(v string)

SetName sets field value.

func (*IncidentTeamCreateAttributes) UnmarshalJSON ¶

func (o *IncidentTeamCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamCreateData ¶

type IncidentTeamCreateData struct {
	// The incident team's attributes for a create request.
	Attributes *IncidentTeamCreateAttributes `json:"attributes,omitempty"`
	// The incident team's relationships.
	Relationships *IncidentTeamRelationships `json:"relationships,omitempty"`
	// Incident Team resource type.
	Type IncidentTeamType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamCreateData Incident Team data for a create request.

func NewIncidentTeamCreateData ¶

func NewIncidentTeamCreateData(typeVar IncidentTeamType) *IncidentTeamCreateData

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

func NewIncidentTeamCreateDataWithDefaults ¶

func NewIncidentTeamCreateDataWithDefaults() *IncidentTeamCreateData

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

func (*IncidentTeamCreateData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentTeamCreateData) GetAttributesOk ¶

func (o *IncidentTeamCreateData) GetAttributesOk() (*IncidentTeamCreateAttributes, bool)

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

func (*IncidentTeamCreateData) GetRelationships ¶

func (o *IncidentTeamCreateData) GetRelationships() IncidentTeamRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*IncidentTeamCreateData) GetRelationshipsOk ¶

func (o *IncidentTeamCreateData) GetRelationshipsOk() (*IncidentTeamRelationships, bool)

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

func (*IncidentTeamCreateData) GetType ¶

GetType returns the Type field value.

func (*IncidentTeamCreateData) GetTypeOk ¶

func (o *IncidentTeamCreateData) GetTypeOk() (*IncidentTeamType, bool)

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

func (*IncidentTeamCreateData) HasAttributes ¶

func (o *IncidentTeamCreateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IncidentTeamCreateData) HasRelationships ¶

func (o *IncidentTeamCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (IncidentTeamCreateData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamCreateData) SetAttributes ¶

SetAttributes gets a reference to the given IncidentTeamCreateAttributes and assigns it to the Attributes field.

func (*IncidentTeamCreateData) SetRelationships ¶

func (o *IncidentTeamCreateData) SetRelationships(v IncidentTeamRelationships)

SetRelationships gets a reference to the given IncidentTeamRelationships and assigns it to the Relationships field.

func (*IncidentTeamCreateData) SetType ¶

SetType sets field value.

func (*IncidentTeamCreateData) UnmarshalJSON ¶

func (o *IncidentTeamCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamCreateRequest ¶

type IncidentTeamCreateRequest struct {
	// Incident Team data for a create request.
	Data IncidentTeamCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamCreateRequest Create request with an incident team payload.

func NewIncidentTeamCreateRequest ¶

func NewIncidentTeamCreateRequest(data IncidentTeamCreateData) *IncidentTeamCreateRequest

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

func NewIncidentTeamCreateRequestWithDefaults ¶

func NewIncidentTeamCreateRequestWithDefaults() *IncidentTeamCreateRequest

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

func (*IncidentTeamCreateRequest) GetData ¶

GetData returns the Data field value.

func (*IncidentTeamCreateRequest) GetDataOk ¶

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

func (IncidentTeamCreateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamCreateRequest) SetData ¶

SetData sets field value.

func (*IncidentTeamCreateRequest) UnmarshalJSON ¶

func (o *IncidentTeamCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamIncludedItems ¶

type IncidentTeamIncludedItems struct {
	User *User

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentTeamIncludedItems - An object related to an incident team which is present in the included payload.

func UserAsIncidentTeamIncludedItems ¶

func UserAsIncidentTeamIncludedItems(v *User) IncidentTeamIncludedItems

UserAsIncidentTeamIncludedItems is a convenience function that returns User wrapped in IncidentTeamIncludedItems.

func (*IncidentTeamIncludedItems) GetActualInstance ¶

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

GetActualInstance returns the actual instance.

func (IncidentTeamIncludedItems) MarshalJSON ¶

func (obj IncidentTeamIncludedItems) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*IncidentTeamIncludedItems) UnmarshalJSON ¶

func (obj *IncidentTeamIncludedItems) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type IncidentTeamRelationships ¶

type IncidentTeamRelationships struct {
	// Relationship to user.
	CreatedBy *RelationshipToUser `json:"created_by,omitempty"`
	// Relationship to user.
	LastModifiedBy *RelationshipToUser `json:"last_modified_by,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamRelationships The incident team's relationships.

func NewIncidentTeamRelationships ¶

func NewIncidentTeamRelationships() *IncidentTeamRelationships

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

func NewIncidentTeamRelationshipsWithDefaults ¶

func NewIncidentTeamRelationshipsWithDefaults() *IncidentTeamRelationships

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

func (*IncidentTeamRelationships) GetCreatedBy ¶

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*IncidentTeamRelationships) GetCreatedByOk ¶

func (o *IncidentTeamRelationships) GetCreatedByOk() (*RelationshipToUser, bool)

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

func (*IncidentTeamRelationships) GetLastModifiedBy ¶

func (o *IncidentTeamRelationships) GetLastModifiedBy() RelationshipToUser

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*IncidentTeamRelationships) GetLastModifiedByOk ¶

func (o *IncidentTeamRelationships) GetLastModifiedByOk() (*RelationshipToUser, bool)

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

func (*IncidentTeamRelationships) HasCreatedBy ¶

func (o *IncidentTeamRelationships) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*IncidentTeamRelationships) HasLastModifiedBy ¶

func (o *IncidentTeamRelationships) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (IncidentTeamRelationships) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamRelationships) SetCreatedBy ¶

func (o *IncidentTeamRelationships) SetCreatedBy(v RelationshipToUser)

SetCreatedBy gets a reference to the given RelationshipToUser and assigns it to the CreatedBy field.

func (*IncidentTeamRelationships) SetLastModifiedBy ¶

func (o *IncidentTeamRelationships) SetLastModifiedBy(v RelationshipToUser)

SetLastModifiedBy gets a reference to the given RelationshipToUser and assigns it to the LastModifiedBy field.

func (*IncidentTeamRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentTeamRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamResponse ¶

type IncidentTeamResponse struct {
	// Incident Team data from a response.
	Data IncidentTeamResponseData `json:"data"`
	// Included objects from relationships.
	Included []IncidentTeamIncludedItems `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamResponse Response with an incident team payload.

func NewIncidentTeamResponse ¶

func NewIncidentTeamResponse(data IncidentTeamResponseData) *IncidentTeamResponse

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

func NewIncidentTeamResponseWithDefaults ¶

func NewIncidentTeamResponseWithDefaults() *IncidentTeamResponse

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

func (*IncidentTeamResponse) GetData ¶

GetData returns the Data field value.

func (*IncidentTeamResponse) GetDataOk ¶

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

func (*IncidentTeamResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentTeamResponse) GetIncludedOk ¶

func (o *IncidentTeamResponse) GetIncludedOk() (*[]IncidentTeamIncludedItems, bool)

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

func (*IncidentTeamResponse) HasIncluded ¶

func (o *IncidentTeamResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (IncidentTeamResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamResponse) SetData ¶

SetData sets field value.

func (*IncidentTeamResponse) SetIncluded ¶

func (o *IncidentTeamResponse) SetIncluded(v []IncidentTeamIncludedItems)

SetIncluded gets a reference to the given []IncidentTeamIncludedItems and assigns it to the Included field.

func (*IncidentTeamResponse) UnmarshalJSON ¶

func (o *IncidentTeamResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamResponseAttributes ¶

type IncidentTeamResponseAttributes struct {
	// Timestamp of when the incident team was created.
	Created *time.Time `json:"created,omitempty"`
	// Timestamp of when the incident team was modified.
	Modified *time.Time `json:"modified,omitempty"`
	// Name of the incident team.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamResponseAttributes The incident team's attributes from a response.

func NewIncidentTeamResponseAttributes ¶

func NewIncidentTeamResponseAttributes() *IncidentTeamResponseAttributes

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

func NewIncidentTeamResponseAttributesWithDefaults ¶

func NewIncidentTeamResponseAttributesWithDefaults() *IncidentTeamResponseAttributes

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

func (*IncidentTeamResponseAttributes) GetCreated ¶

func (o *IncidentTeamResponseAttributes) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*IncidentTeamResponseAttributes) GetCreatedOk ¶

func (o *IncidentTeamResponseAttributes) GetCreatedOk() (*time.Time, bool)

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

func (*IncidentTeamResponseAttributes) GetModified ¶

func (o *IncidentTeamResponseAttributes) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*IncidentTeamResponseAttributes) GetModifiedOk ¶

func (o *IncidentTeamResponseAttributes) GetModifiedOk() (*time.Time, bool)

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

func (*IncidentTeamResponseAttributes) GetName ¶

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

func (*IncidentTeamResponseAttributes) GetNameOk ¶

func (o *IncidentTeamResponseAttributes) 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 (*IncidentTeamResponseAttributes) HasCreated ¶

func (o *IncidentTeamResponseAttributes) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*IncidentTeamResponseAttributes) HasModified ¶

func (o *IncidentTeamResponseAttributes) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*IncidentTeamResponseAttributes) HasName ¶

func (o *IncidentTeamResponseAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (IncidentTeamResponseAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamResponseAttributes) SetCreated ¶

func (o *IncidentTeamResponseAttributes) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*IncidentTeamResponseAttributes) SetModified ¶

func (o *IncidentTeamResponseAttributes) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*IncidentTeamResponseAttributes) SetName ¶

func (o *IncidentTeamResponseAttributes) SetName(v string)

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

func (*IncidentTeamResponseAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentTeamResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamResponseData ¶

type IncidentTeamResponseData struct {
	// The incident team's attributes from a response.
	Attributes *IncidentTeamResponseAttributes `json:"attributes,omitempty"`
	// The incident team's ID.
	Id *string `json:"id,omitempty"`
	// The incident team's relationships.
	Relationships *IncidentTeamRelationships `json:"relationships,omitempty"`
	// Incident Team resource type.
	Type *IncidentTeamType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamResponseData Incident Team data from a response.

func NewIncidentTeamResponseData ¶

func NewIncidentTeamResponseData() *IncidentTeamResponseData

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

func NewIncidentTeamResponseDataWithDefaults ¶

func NewIncidentTeamResponseDataWithDefaults() *IncidentTeamResponseData

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

func (*IncidentTeamResponseData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentTeamResponseData) GetAttributesOk ¶

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

func (*IncidentTeamResponseData) GetId ¶

func (o *IncidentTeamResponseData) GetId() string

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

func (*IncidentTeamResponseData) GetIdOk ¶

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

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

func (*IncidentTeamResponseData) GetRelationships ¶

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*IncidentTeamResponseData) GetRelationshipsOk ¶

func (o *IncidentTeamResponseData) GetRelationshipsOk() (*IncidentTeamRelationships, bool)

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

func (*IncidentTeamResponseData) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*IncidentTeamResponseData) GetTypeOk ¶

func (o *IncidentTeamResponseData) GetTypeOk() (*IncidentTeamType, bool)

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

func (*IncidentTeamResponseData) HasAttributes ¶

func (o *IncidentTeamResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IncidentTeamResponseData) HasId ¶

func (o *IncidentTeamResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*IncidentTeamResponseData) HasRelationships ¶

func (o *IncidentTeamResponseData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*IncidentTeamResponseData) HasType ¶

func (o *IncidentTeamResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (IncidentTeamResponseData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamResponseData) SetAttributes ¶

SetAttributes gets a reference to the given IncidentTeamResponseAttributes and assigns it to the Attributes field.

func (*IncidentTeamResponseData) SetId ¶

func (o *IncidentTeamResponseData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IncidentTeamResponseData) SetRelationships ¶

func (o *IncidentTeamResponseData) SetRelationships(v IncidentTeamRelationships)

SetRelationships gets a reference to the given IncidentTeamRelationships and assigns it to the Relationships field.

func (*IncidentTeamResponseData) SetType ¶

SetType gets a reference to the given IncidentTeamType and assigns it to the Type field.

func (*IncidentTeamResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentTeamResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamType ¶

type IncidentTeamType string

IncidentTeamType Incident Team resource type.

const (
	INCIDENTTEAMTYPE_TEAMS IncidentTeamType = "teams"
)

List of IncidentTeamType.

func NewIncidentTeamTypeFromValue ¶

func NewIncidentTeamTypeFromValue(v string) (*IncidentTeamType, error)

NewIncidentTeamTypeFromValue returns a pointer to a valid IncidentTeamType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IncidentTeamType) GetAllowedValues ¶ added in v1.1.0

func (v *IncidentTeamType) GetAllowedValues() []IncidentTeamType

GetAllowedValues reeturns the list of possible values.

func (IncidentTeamType) IsValid ¶

func (v IncidentTeamType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (IncidentTeamType) Ptr ¶

Ptr returns reference to IncidentTeamType value.

func (*IncidentTeamType) UnmarshalJSON ¶

func (v *IncidentTeamType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IncidentTeamUpdateAttributes ¶

type IncidentTeamUpdateAttributes struct {
	// Name of the incident team.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamUpdateAttributes The incident team's attributes for an update request.

func NewIncidentTeamUpdateAttributes ¶

func NewIncidentTeamUpdateAttributes(name string) *IncidentTeamUpdateAttributes

NewIncidentTeamUpdateAttributes instantiates a new IncidentTeamUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentTeamUpdateAttributesWithDefaults ¶

func NewIncidentTeamUpdateAttributesWithDefaults() *IncidentTeamUpdateAttributes

NewIncidentTeamUpdateAttributesWithDefaults instantiates a new IncidentTeamUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentTeamUpdateAttributes) GetName ¶

func (o *IncidentTeamUpdateAttributes) GetName() string

GetName returns the Name field value.

func (*IncidentTeamUpdateAttributes) GetNameOk ¶

func (o *IncidentTeamUpdateAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (IncidentTeamUpdateAttributes) MarshalJSON ¶

func (o IncidentTeamUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamUpdateAttributes) SetName ¶

func (o *IncidentTeamUpdateAttributes) SetName(v string)

SetName sets field value.

func (*IncidentTeamUpdateAttributes) UnmarshalJSON ¶

func (o *IncidentTeamUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamUpdateData ¶

type IncidentTeamUpdateData struct {
	// The incident team's attributes for an update request.
	Attributes *IncidentTeamUpdateAttributes `json:"attributes,omitempty"`
	// The incident team's ID.
	Id *string `json:"id,omitempty"`
	// The incident team's relationships.
	Relationships *IncidentTeamRelationships `json:"relationships,omitempty"`
	// Incident Team resource type.
	Type IncidentTeamType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamUpdateData Incident Team data for an update request.

func NewIncidentTeamUpdateData ¶

func NewIncidentTeamUpdateData(typeVar IncidentTeamType) *IncidentTeamUpdateData

NewIncidentTeamUpdateData instantiates a new IncidentTeamUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentTeamUpdateDataWithDefaults ¶

func NewIncidentTeamUpdateDataWithDefaults() *IncidentTeamUpdateData

NewIncidentTeamUpdateDataWithDefaults instantiates a new IncidentTeamUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentTeamUpdateData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentTeamUpdateData) GetAttributesOk ¶

func (o *IncidentTeamUpdateData) GetAttributesOk() (*IncidentTeamUpdateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentTeamUpdateData) GetId ¶

func (o *IncidentTeamUpdateData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IncidentTeamUpdateData) GetIdOk ¶

func (o *IncidentTeamUpdateData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentTeamUpdateData) GetRelationships ¶

func (o *IncidentTeamUpdateData) GetRelationships() IncidentTeamRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*IncidentTeamUpdateData) GetRelationshipsOk ¶

func (o *IncidentTeamUpdateData) GetRelationshipsOk() (*IncidentTeamRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentTeamUpdateData) GetType ¶

GetType returns the Type field value.

func (*IncidentTeamUpdateData) GetTypeOk ¶

func (o *IncidentTeamUpdateData) GetTypeOk() (*IncidentTeamType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*IncidentTeamUpdateData) HasAttributes ¶

func (o *IncidentTeamUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IncidentTeamUpdateData) HasId ¶

func (o *IncidentTeamUpdateData) HasId() bool

HasId returns a boolean if a field has been set.

func (*IncidentTeamUpdateData) HasRelationships ¶

func (o *IncidentTeamUpdateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (IncidentTeamUpdateData) MarshalJSON ¶

func (o IncidentTeamUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamUpdateData) SetAttributes ¶

SetAttributes gets a reference to the given IncidentTeamUpdateAttributes and assigns it to the Attributes field.

func (*IncidentTeamUpdateData) SetId ¶

func (o *IncidentTeamUpdateData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IncidentTeamUpdateData) SetRelationships ¶

func (o *IncidentTeamUpdateData) SetRelationships(v IncidentTeamRelationships)

SetRelationships gets a reference to the given IncidentTeamRelationships and assigns it to the Relationships field.

func (*IncidentTeamUpdateData) SetType ¶

SetType sets field value.

func (*IncidentTeamUpdateData) UnmarshalJSON ¶

func (o *IncidentTeamUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamUpdateRequest ¶

type IncidentTeamUpdateRequest struct {
	// Incident Team data for an update request.
	Data IncidentTeamUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamUpdateRequest Update request with an incident team payload.

func NewIncidentTeamUpdateRequest ¶

func NewIncidentTeamUpdateRequest(data IncidentTeamUpdateData) *IncidentTeamUpdateRequest

NewIncidentTeamUpdateRequest instantiates a new IncidentTeamUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentTeamUpdateRequestWithDefaults ¶

func NewIncidentTeamUpdateRequestWithDefaults() *IncidentTeamUpdateRequest

NewIncidentTeamUpdateRequestWithDefaults instantiates a new IncidentTeamUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentTeamUpdateRequest) GetData ¶

GetData returns the Data field value.

func (*IncidentTeamUpdateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (IncidentTeamUpdateRequest) MarshalJSON ¶

func (o IncidentTeamUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamUpdateRequest) SetData ¶

SetData sets field value.

func (*IncidentTeamUpdateRequest) UnmarshalJSON ¶

func (o *IncidentTeamUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTeamsApiService ¶

type IncidentTeamsApiService service

IncidentTeamsApiService IncidentTeamsApi service.

func (*IncidentTeamsApiService) CreateIncidentTeam ¶

CreateIncidentTeam Create a new incident team. Creates a new incident team.

func (*IncidentTeamsApiService) DeleteIncidentTeam ¶

func (a *IncidentTeamsApiService) DeleteIncidentTeam(ctx _context.Context, teamId string) (*_nethttp.Response, error)

DeleteIncidentTeam Delete an existing incident team. Deletes an existing incident team.

func (*IncidentTeamsApiService) GetIncidentTeam ¶

GetIncidentTeam Get details of an incident team. Get details of an incident team. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident teams.

func (*IncidentTeamsApiService) ListIncidentTeams ¶

ListIncidentTeams Get a list of all incident teams. Get all incident teams for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident teams.

func (*IncidentTeamsApiService) UpdateIncidentTeam ¶

UpdateIncidentTeam Update an existing incident team. Updates an existing incident team. Only provide the attributes which should be updated as this request is a partial update.

type IncidentTeamsResponse ¶

type IncidentTeamsResponse struct {
	// An array of incident teams.
	Data []IncidentTeamResponseData `json:"data"`
	// Included related resources which the user requested.
	Included []IncidentTeamIncludedItems `json:"included,omitempty"`
	// The metadata object containing pagination metadata.
	Meta *IncidentResponseMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamsResponse Response with a list of incident team payloads.

func NewIncidentTeamsResponse ¶

func NewIncidentTeamsResponse(data []IncidentTeamResponseData) *IncidentTeamsResponse

NewIncidentTeamsResponse instantiates a new IncidentTeamsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentTeamsResponseWithDefaults ¶

func NewIncidentTeamsResponseWithDefaults() *IncidentTeamsResponse

NewIncidentTeamsResponseWithDefaults instantiates a new IncidentTeamsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentTeamsResponse) GetData ¶

GetData returns the Data field value.

func (*IncidentTeamsResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*IncidentTeamsResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentTeamsResponse) GetIncludedOk ¶

func (o *IncidentTeamsResponse) GetIncludedOk() (*[]IncidentTeamIncludedItems, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentTeamsResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*IncidentTeamsResponse) GetMetaOk ¶

func (o *IncidentTeamsResponse) GetMetaOk() (*IncidentResponseMeta, 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 (*IncidentTeamsResponse) HasIncluded ¶

func (o *IncidentTeamsResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*IncidentTeamsResponse) HasMeta ¶

func (o *IncidentTeamsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (IncidentTeamsResponse) MarshalJSON ¶

func (o IncidentTeamsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentTeamsResponse) SetData ¶

SetData sets field value.

func (*IncidentTeamsResponse) SetIncluded ¶

SetIncluded gets a reference to the given []IncidentTeamIncludedItems and assigns it to the Included field.

func (*IncidentTeamsResponse) SetMeta ¶

SetMeta gets a reference to the given IncidentResponseMeta and assigns it to the Meta field.

func (*IncidentTeamsResponse) UnmarshalJSON ¶

func (o *IncidentTeamsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTimelineCellCreateAttributes ¶

type IncidentTimelineCellCreateAttributes struct {
	IncidentTimelineCellMarkdownCreateAttributes *IncidentTimelineCellMarkdownCreateAttributes

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentTimelineCellCreateAttributes - The timeline cell's attributes for a create request.

func IncidentTimelineCellMarkdownCreateAttributesAsIncidentTimelineCellCreateAttributes ¶

func IncidentTimelineCellMarkdownCreateAttributesAsIncidentTimelineCellCreateAttributes(v *IncidentTimelineCellMarkdownCreateAttributes) IncidentTimelineCellCreateAttributes

IncidentTimelineCellMarkdownCreateAttributesAsIncidentTimelineCellCreateAttributes is a convenience function that returns IncidentTimelineCellMarkdownCreateAttributes wrapped in IncidentTimelineCellCreateAttributes.

func (*IncidentTimelineCellCreateAttributes) GetActualInstance ¶

func (obj *IncidentTimelineCellCreateAttributes) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (IncidentTimelineCellCreateAttributes) MarshalJSON ¶

func (obj IncidentTimelineCellCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*IncidentTimelineCellCreateAttributes) UnmarshalJSON ¶

func (obj *IncidentTimelineCellCreateAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type IncidentTimelineCellMarkdownContentType ¶

type IncidentTimelineCellMarkdownContentType string

IncidentTimelineCellMarkdownContentType Type of the Markdown timeline cell.

const (
	INCIDENTTIMELINECELLMARKDOWNCONTENTTYPE_MARKDOWN IncidentTimelineCellMarkdownContentType = "markdown"
)

List of IncidentTimelineCellMarkdownContentType.

func NewIncidentTimelineCellMarkdownContentTypeFromValue ¶

func NewIncidentTimelineCellMarkdownContentTypeFromValue(v string) (*IncidentTimelineCellMarkdownContentType, error)

NewIncidentTimelineCellMarkdownContentTypeFromValue returns a pointer to a valid IncidentTimelineCellMarkdownContentType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IncidentTimelineCellMarkdownContentType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (IncidentTimelineCellMarkdownContentType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (IncidentTimelineCellMarkdownContentType) Ptr ¶

Ptr returns reference to IncidentTimelineCellMarkdownContentType value.

func (*IncidentTimelineCellMarkdownContentType) UnmarshalJSON ¶

func (v *IncidentTimelineCellMarkdownContentType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IncidentTimelineCellMarkdownCreateAttributes ¶

type IncidentTimelineCellMarkdownCreateAttributes struct {
	// Type of the Markdown timeline cell.
	CellType IncidentTimelineCellMarkdownContentType `json:"cell_type"`
	// The Markdown timeline cell contents.
	Content IncidentTimelineCellMarkdownCreateAttributesContent `json:"content"`
	// A flag indicating whether the timeline cell is important and should be highlighted.
	Important *bool `json:"important,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTimelineCellMarkdownCreateAttributes Timeline cell data for Markdown timeline cells for a create request.

func NewIncidentTimelineCellMarkdownCreateAttributes ¶

NewIncidentTimelineCellMarkdownCreateAttributes instantiates a new IncidentTimelineCellMarkdownCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentTimelineCellMarkdownCreateAttributesWithDefaults ¶

func NewIncidentTimelineCellMarkdownCreateAttributesWithDefaults() *IncidentTimelineCellMarkdownCreateAttributes

NewIncidentTimelineCellMarkdownCreateAttributesWithDefaults instantiates a new IncidentTimelineCellMarkdownCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentTimelineCellMarkdownCreateAttributes) GetCellType ¶

GetCellType returns the CellType field value.

func (*IncidentTimelineCellMarkdownCreateAttributes) GetCellTypeOk ¶

GetCellTypeOk returns a tuple with the CellType field value and a boolean to check if the value has been set.

func (*IncidentTimelineCellMarkdownCreateAttributes) GetContent ¶

GetContent returns the Content field value.

func (*IncidentTimelineCellMarkdownCreateAttributes) GetContentOk ¶

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (*IncidentTimelineCellMarkdownCreateAttributes) GetImportant ¶

GetImportant returns the Important field value if set, zero value otherwise.

func (*IncidentTimelineCellMarkdownCreateAttributes) GetImportantOk ¶

func (o *IncidentTimelineCellMarkdownCreateAttributes) GetImportantOk() (*bool, bool)

GetImportantOk returns a tuple with the Important field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentTimelineCellMarkdownCreateAttributes) HasImportant ¶

HasImportant returns a boolean if a field has been set.

func (IncidentTimelineCellMarkdownCreateAttributes) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*IncidentTimelineCellMarkdownCreateAttributes) SetCellType ¶

SetCellType sets field value.

func (*IncidentTimelineCellMarkdownCreateAttributes) SetContent ¶

SetContent sets field value.

func (*IncidentTimelineCellMarkdownCreateAttributes) SetImportant ¶

SetImportant gets a reference to the given bool and assigns it to the Important field.

func (*IncidentTimelineCellMarkdownCreateAttributes) UnmarshalJSON ¶

func (o *IncidentTimelineCellMarkdownCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentTimelineCellMarkdownCreateAttributesContent ¶

type IncidentTimelineCellMarkdownCreateAttributesContent struct {
	// The Markdown content of the cell.
	Content *string `json:"content,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTimelineCellMarkdownCreateAttributesContent The Markdown timeline cell contents.

func NewIncidentTimelineCellMarkdownCreateAttributesContent ¶

func NewIncidentTimelineCellMarkdownCreateAttributesContent() *IncidentTimelineCellMarkdownCreateAttributesContent

NewIncidentTimelineCellMarkdownCreateAttributesContent instantiates a new IncidentTimelineCellMarkdownCreateAttributesContent object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentTimelineCellMarkdownCreateAttributesContentWithDefaults ¶

func NewIncidentTimelineCellMarkdownCreateAttributesContentWithDefaults() *IncidentTimelineCellMarkdownCreateAttributesContent

NewIncidentTimelineCellMarkdownCreateAttributesContentWithDefaults instantiates a new IncidentTimelineCellMarkdownCreateAttributesContent object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentTimelineCellMarkdownCreateAttributesContent) GetContent ¶

GetContent returns the Content field value if set, zero value otherwise.

func (*IncidentTimelineCellMarkdownCreateAttributesContent) GetContentOk ¶

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentTimelineCellMarkdownCreateAttributesContent) HasContent ¶

HasContent returns a boolean if a field has been set.

func (IncidentTimelineCellMarkdownCreateAttributesContent) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*IncidentTimelineCellMarkdownCreateAttributesContent) SetContent ¶

SetContent gets a reference to the given string and assigns it to the Content field.

func (*IncidentTimelineCellMarkdownCreateAttributesContent) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentTimelineCellMarkdownCreateAttributesContent) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentType ¶

type IncidentType string

IncidentType Incident resource type.

const (
	INCIDENTTYPE_INCIDENTS IncidentType = "incidents"
)

List of IncidentType.

func NewIncidentTypeFromValue ¶

func NewIncidentTypeFromValue(v string) (*IncidentType, error)

NewIncidentTypeFromValue returns a pointer to a valid IncidentType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IncidentType) GetAllowedValues ¶ added in v1.1.0

func (v *IncidentType) GetAllowedValues() []IncidentType

GetAllowedValues reeturns the list of possible values.

func (IncidentType) IsValid ¶

func (v IncidentType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (IncidentType) Ptr ¶

func (v IncidentType) Ptr() *IncidentType

Ptr returns reference to IncidentType value.

func (*IncidentType) UnmarshalJSON ¶

func (v *IncidentType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IncidentUpdateAttributes ¶

type IncidentUpdateAttributes struct {
	// Timestamp when customers were no longer impacted by the incident.
	CustomerImpactEnd NullableTime `json:"customer_impact_end,omitempty"`
	// A summary of the impact customers experienced during the incident.
	CustomerImpactScope *string `json:"customer_impact_scope,omitempty"`
	// Timestamp when customers began being impacted by the incident.
	CustomerImpactStart NullableTime `json:"customer_impact_start,omitempty"`
	// A flag indicating whether the incident caused customer impact.
	CustomerImpacted *bool `json:"customer_impacted,omitempty"`
	// Timestamp when the incident was detected.
	Detected NullableTime `json:"detected,omitempty"`
	// A condensed view of the user-defined fields for which to update selections.
	Fields map[string]IncidentFieldAttributes `json:"fields,omitempty"`
	// Notification handles that will be notified of the incident during update.
	NotificationHandles []IncidentNotificationHandle `json:"notification_handles,omitempty"`
	// Timestamp when the incident's state was set to resolved.
	Resolved NullableTime `json:"resolved,omitempty"`
	// The title of the incident, which summarizes what happened.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentUpdateAttributes The incident's attributes for an update request.

func NewIncidentUpdateAttributes ¶

func NewIncidentUpdateAttributes() *IncidentUpdateAttributes

NewIncidentUpdateAttributes instantiates a new IncidentUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentUpdateAttributesWithDefaults ¶

func NewIncidentUpdateAttributesWithDefaults() *IncidentUpdateAttributes

NewIncidentUpdateAttributesWithDefaults instantiates a new IncidentUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentUpdateAttributes) GetCustomerImpactEnd ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactEnd() time.Time

GetCustomerImpactEnd returns the CustomerImpactEnd field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentUpdateAttributes) GetCustomerImpactEndOk ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactEndOk() (*time.Time, bool)

GetCustomerImpactEndOk returns a tuple with the CustomerImpactEnd 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 (*IncidentUpdateAttributes) GetCustomerImpactScope ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactScope() string

GetCustomerImpactScope returns the CustomerImpactScope field value if set, zero value otherwise.

func (*IncidentUpdateAttributes) GetCustomerImpactScopeOk ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactScopeOk() (*string, bool)

GetCustomerImpactScopeOk returns a tuple with the CustomerImpactScope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateAttributes) GetCustomerImpactStart ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactStart() time.Time

GetCustomerImpactStart returns the CustomerImpactStart field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentUpdateAttributes) GetCustomerImpactStartOk ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactStartOk() (*time.Time, bool)

GetCustomerImpactStartOk returns a tuple with the CustomerImpactStart 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 (*IncidentUpdateAttributes) GetCustomerImpacted ¶

func (o *IncidentUpdateAttributes) GetCustomerImpacted() bool

GetCustomerImpacted returns the CustomerImpacted field value if set, zero value otherwise.

func (*IncidentUpdateAttributes) GetCustomerImpactedOk ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactedOk() (*bool, bool)

GetCustomerImpactedOk returns a tuple with the CustomerImpacted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateAttributes) GetDetected ¶

func (o *IncidentUpdateAttributes) GetDetected() time.Time

GetDetected returns the Detected field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentUpdateAttributes) GetDetectedOk ¶

func (o *IncidentUpdateAttributes) GetDetectedOk() (*time.Time, bool)

GetDetectedOk returns a tuple with the Detected 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 (*IncidentUpdateAttributes) GetFields ¶

GetFields returns the Fields field value if set, zero value otherwise.

func (*IncidentUpdateAttributes) GetFieldsOk ¶

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateAttributes) GetNotificationHandles ¶

func (o *IncidentUpdateAttributes) GetNotificationHandles() []IncidentNotificationHandle

GetNotificationHandles returns the NotificationHandles field value if set, zero value otherwise.

func (*IncidentUpdateAttributes) GetNotificationHandlesOk ¶

func (o *IncidentUpdateAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)

GetNotificationHandlesOk returns a tuple with the NotificationHandles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateAttributes) GetResolved ¶

func (o *IncidentUpdateAttributes) GetResolved() time.Time

GetResolved returns the Resolved field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentUpdateAttributes) GetResolvedOk ¶

func (o *IncidentUpdateAttributes) GetResolvedOk() (*time.Time, bool)

GetResolvedOk returns a tuple with the Resolved 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 (*IncidentUpdateAttributes) GetTitle ¶

func (o *IncidentUpdateAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*IncidentUpdateAttributes) GetTitleOk ¶

func (o *IncidentUpdateAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateAttributes) HasCustomerImpactEnd ¶

func (o *IncidentUpdateAttributes) HasCustomerImpactEnd() bool

HasCustomerImpactEnd returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasCustomerImpactScope ¶

func (o *IncidentUpdateAttributes) HasCustomerImpactScope() bool

HasCustomerImpactScope returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasCustomerImpactStart ¶

func (o *IncidentUpdateAttributes) HasCustomerImpactStart() bool

HasCustomerImpactStart returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasCustomerImpacted ¶

func (o *IncidentUpdateAttributes) HasCustomerImpacted() bool

HasCustomerImpacted returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasDetected ¶

func (o *IncidentUpdateAttributes) HasDetected() bool

HasDetected returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasFields ¶

func (o *IncidentUpdateAttributes) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasNotificationHandles ¶

func (o *IncidentUpdateAttributes) HasNotificationHandles() bool

HasNotificationHandles returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasResolved ¶

func (o *IncidentUpdateAttributes) HasResolved() bool

HasResolved returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasTitle ¶

func (o *IncidentUpdateAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (IncidentUpdateAttributes) MarshalJSON ¶

func (o IncidentUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentUpdateAttributes) SetCustomerImpactEnd ¶

func (o *IncidentUpdateAttributes) SetCustomerImpactEnd(v time.Time)

SetCustomerImpactEnd gets a reference to the given NullableTime and assigns it to the CustomerImpactEnd field.

func (*IncidentUpdateAttributes) SetCustomerImpactEndNil ¶

func (o *IncidentUpdateAttributes) SetCustomerImpactEndNil()

SetCustomerImpactEndNil sets the value for CustomerImpactEnd to be an explicit nil.

func (*IncidentUpdateAttributes) SetCustomerImpactScope ¶

func (o *IncidentUpdateAttributes) SetCustomerImpactScope(v string)

SetCustomerImpactScope gets a reference to the given string and assigns it to the CustomerImpactScope field.

func (*IncidentUpdateAttributes) SetCustomerImpactStart ¶

func (o *IncidentUpdateAttributes) SetCustomerImpactStart(v time.Time)

SetCustomerImpactStart gets a reference to the given NullableTime and assigns it to the CustomerImpactStart field.

func (*IncidentUpdateAttributes) SetCustomerImpactStartNil ¶

func (o *IncidentUpdateAttributes) SetCustomerImpactStartNil()

SetCustomerImpactStartNil sets the value for CustomerImpactStart to be an explicit nil.

func (*IncidentUpdateAttributes) SetCustomerImpacted ¶

func (o *IncidentUpdateAttributes) SetCustomerImpacted(v bool)

SetCustomerImpacted gets a reference to the given bool and assigns it to the CustomerImpacted field.

func (*IncidentUpdateAttributes) SetDetected ¶

func (o *IncidentUpdateAttributes) SetDetected(v time.Time)

SetDetected gets a reference to the given NullableTime and assigns it to the Detected field.

func (*IncidentUpdateAttributes) SetDetectedNil ¶

func (o *IncidentUpdateAttributes) SetDetectedNil()

SetDetectedNil sets the value for Detected to be an explicit nil.

func (*IncidentUpdateAttributes) SetFields ¶

SetFields gets a reference to the given map[string]IncidentFieldAttributes and assigns it to the Fields field.

func (*IncidentUpdateAttributes) SetNotificationHandles ¶

func (o *IncidentUpdateAttributes) SetNotificationHandles(v []IncidentNotificationHandle)

SetNotificationHandles gets a reference to the given []IncidentNotificationHandle and assigns it to the NotificationHandles field.

func (*IncidentUpdateAttributes) SetResolved ¶

func (o *IncidentUpdateAttributes) SetResolved(v time.Time)

SetResolved gets a reference to the given NullableTime and assigns it to the Resolved field.

func (*IncidentUpdateAttributes) SetResolvedNil ¶

func (o *IncidentUpdateAttributes) SetResolvedNil()

SetResolvedNil sets the value for Resolved to be an explicit nil.

func (*IncidentUpdateAttributes) SetTitle ¶

func (o *IncidentUpdateAttributes) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*IncidentUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*IncidentUpdateAttributes) UnsetCustomerImpactEnd ¶

func (o *IncidentUpdateAttributes) UnsetCustomerImpactEnd()

UnsetCustomerImpactEnd ensures that no value is present for CustomerImpactEnd, not even an explicit nil.

func (*IncidentUpdateAttributes) UnsetCustomerImpactStart ¶

func (o *IncidentUpdateAttributes) UnsetCustomerImpactStart()

UnsetCustomerImpactStart ensures that no value is present for CustomerImpactStart, not even an explicit nil.

func (*IncidentUpdateAttributes) UnsetDetected ¶

func (o *IncidentUpdateAttributes) UnsetDetected()

UnsetDetected ensures that no value is present for Detected, not even an explicit nil.

func (*IncidentUpdateAttributes) UnsetResolved ¶

func (o *IncidentUpdateAttributes) UnsetResolved()

UnsetResolved ensures that no value is present for Resolved, not even an explicit nil.

type IncidentUpdateData ¶

type IncidentUpdateData struct {
	// The incident's attributes for an update request.
	Attributes *IncidentUpdateAttributes `json:"attributes,omitempty"`
	// The team's ID.
	Id string `json:"id"`
	// The incident's relationships for an update request.
	Relationships *IncidentUpdateRelationships `json:"relationships,omitempty"`
	// Incident resource type.
	Type IncidentType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentUpdateData Incident data for an update request.

func NewIncidentUpdateData ¶

func NewIncidentUpdateData(id string, typeVar IncidentType) *IncidentUpdateData

NewIncidentUpdateData instantiates a new IncidentUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentUpdateDataWithDefaults ¶

func NewIncidentUpdateDataWithDefaults() *IncidentUpdateData

NewIncidentUpdateDataWithDefaults instantiates a new IncidentUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentUpdateData) GetAttributes ¶

func (o *IncidentUpdateData) GetAttributes() IncidentUpdateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentUpdateData) GetAttributesOk ¶

func (o *IncidentUpdateData) GetAttributesOk() (*IncidentUpdateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateData) GetId ¶

func (o *IncidentUpdateData) GetId() string

GetId returns the Id field value.

func (*IncidentUpdateData) GetIdOk ¶

func (o *IncidentUpdateData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*IncidentUpdateData) GetRelationships ¶

func (o *IncidentUpdateData) GetRelationships() IncidentUpdateRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*IncidentUpdateData) GetRelationshipsOk ¶

func (o *IncidentUpdateData) GetRelationshipsOk() (*IncidentUpdateRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateData) GetType ¶

func (o *IncidentUpdateData) GetType() IncidentType

GetType returns the Type field value.

func (*IncidentUpdateData) GetTypeOk ¶

func (o *IncidentUpdateData) GetTypeOk() (*IncidentType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*IncidentUpdateData) HasAttributes ¶

func (o *IncidentUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IncidentUpdateData) HasRelationships ¶

func (o *IncidentUpdateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (IncidentUpdateData) MarshalJSON ¶

func (o IncidentUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentUpdateData) SetAttributes ¶

func (o *IncidentUpdateData) SetAttributes(v IncidentUpdateAttributes)

SetAttributes gets a reference to the given IncidentUpdateAttributes and assigns it to the Attributes field.

func (*IncidentUpdateData) SetId ¶

func (o *IncidentUpdateData) SetId(v string)

SetId sets field value.

func (*IncidentUpdateData) SetRelationships ¶

func (o *IncidentUpdateData) SetRelationships(v IncidentUpdateRelationships)

SetRelationships gets a reference to the given IncidentUpdateRelationships and assigns it to the Relationships field.

func (*IncidentUpdateData) SetType ¶

func (o *IncidentUpdateData) SetType(v IncidentType)

SetType sets field value.

func (*IncidentUpdateData) UnmarshalJSON ¶

func (o *IncidentUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentUpdateRelationships ¶

type IncidentUpdateRelationships struct {
	// Relationship to user.
	CommanderUser *NullableRelationshipToUser `json:"commander_user,omitempty"`
	// A relationship reference for multiple integration metadata objects.
	Integrations *RelationshipToIncidentIntegrationMetadatas `json:"integrations,omitempty"`
	// A relationship reference for postmortems.
	Postmortem *RelationshipToIncidentPostmortem `json:"postmortem,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentUpdateRelationships The incident's relationships for an update request.

func NewIncidentUpdateRelationships ¶

func NewIncidentUpdateRelationships() *IncidentUpdateRelationships

NewIncidentUpdateRelationships instantiates a new IncidentUpdateRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentUpdateRelationshipsWithDefaults ¶

func NewIncidentUpdateRelationshipsWithDefaults() *IncidentUpdateRelationships

NewIncidentUpdateRelationshipsWithDefaults instantiates a new IncidentUpdateRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentUpdateRelationships) GetCommanderUser ¶

GetCommanderUser returns the CommanderUser field value if set, zero value otherwise.

func (*IncidentUpdateRelationships) GetCommanderUserOk ¶

func (o *IncidentUpdateRelationships) GetCommanderUserOk() (*NullableRelationshipToUser, bool)

GetCommanderUserOk returns a tuple with the CommanderUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateRelationships) GetIntegrations ¶

GetIntegrations returns the Integrations field value if set, zero value otherwise.

func (*IncidentUpdateRelationships) GetIntegrationsOk ¶

GetIntegrationsOk returns a tuple with the Integrations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateRelationships) GetPostmortem ¶

GetPostmortem returns the Postmortem field value if set, zero value otherwise.

func (*IncidentUpdateRelationships) GetPostmortemOk ¶

GetPostmortemOk returns a tuple with the Postmortem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateRelationships) HasCommanderUser ¶

func (o *IncidentUpdateRelationships) HasCommanderUser() bool

HasCommanderUser returns a boolean if a field has been set.

func (*IncidentUpdateRelationships) HasIntegrations ¶

func (o *IncidentUpdateRelationships) HasIntegrations() bool

HasIntegrations returns a boolean if a field has been set.

func (*IncidentUpdateRelationships) HasPostmortem ¶

func (o *IncidentUpdateRelationships) HasPostmortem() bool

HasPostmortem returns a boolean if a field has been set.

func (IncidentUpdateRelationships) MarshalJSON ¶

func (o IncidentUpdateRelationships) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentUpdateRelationships) SetCommanderUser ¶

SetCommanderUser gets a reference to the given NullableRelationshipToUser and assigns it to the CommanderUser field.

func (*IncidentUpdateRelationships) SetIntegrations ¶

SetIntegrations gets a reference to the given RelationshipToIncidentIntegrationMetadatas and assigns it to the Integrations field.

func (*IncidentUpdateRelationships) SetPostmortem ¶

SetPostmortem gets a reference to the given RelationshipToIncidentPostmortem and assigns it to the Postmortem field.

func (*IncidentUpdateRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentUpdateRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentUpdateRequest ¶

type IncidentUpdateRequest struct {
	// Incident data for an update request.
	Data IncidentUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentUpdateRequest Update request for an incident.

func NewIncidentUpdateRequest ¶

func NewIncidentUpdateRequest(data IncidentUpdateData) *IncidentUpdateRequest

NewIncidentUpdateRequest instantiates a new IncidentUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentUpdateRequestWithDefaults ¶

func NewIncidentUpdateRequestWithDefaults() *IncidentUpdateRequest

NewIncidentUpdateRequestWithDefaults instantiates a new IncidentUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentUpdateRequest) GetData ¶

GetData returns the Data field value.

func (*IncidentUpdateRequest) GetDataOk ¶

func (o *IncidentUpdateRequest) GetDataOk() (*IncidentUpdateData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (IncidentUpdateRequest) MarshalJSON ¶

func (o IncidentUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentUpdateRequest) SetData ¶

SetData sets field value.

func (*IncidentUpdateRequest) UnmarshalJSON ¶

func (o *IncidentUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentsApiService ¶

type IncidentsApiService service

IncidentsApiService IncidentsApi service.

func (*IncidentsApiService) CreateIncident ¶

CreateIncident Create an incident. Create an incident.

func (*IncidentsApiService) DeleteIncident ¶

func (a *IncidentsApiService) DeleteIncident(ctx _context.Context, incidentId string) (*_nethttp.Response, error)

DeleteIncident Delete an existing incident. Deletes an existing incident from the users organization.

func (*IncidentsApiService) GetIncident ¶

GetIncident Get the details of an incident. Get the details of an incident by `incident_id`.

func (*IncidentsApiService) ListIncidents ¶

ListIncidents Get a list of incidents. Get all incidents for the user's organization.

func (*IncidentsApiService) ListIncidentsWithPagination ¶ added in v1.14.0

func (a *IncidentsApiService) ListIncidentsWithPagination(ctx _context.Context, o ...ListIncidentsOptionalParameters) (<-chan IncidentResponseData, func(), error)

ListIncidentsWithPagination provides a paginated version of ListIncidents returning a channel with all items.

func (*IncidentsApiService) UpdateIncident ¶

UpdateIncident Update an existing incident. Updates an incident. Provide only the attributes that should be updated as this request is a partial update.

type IncidentsResponse ¶

type IncidentsResponse struct {
	// An array of incidents.
	Data []IncidentResponseData `json:"data"`
	// Included related resources that the user requested.
	Included []IncidentResponseIncludedItem `json:"included,omitempty"`
	// The metadata object containing pagination metadata.
	Meta *IncidentResponseMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentsResponse Response with a list of incidents.

func NewIncidentsResponse ¶

func NewIncidentsResponse(data []IncidentResponseData) *IncidentsResponse

NewIncidentsResponse instantiates a new IncidentsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentsResponseWithDefaults ¶

func NewIncidentsResponseWithDefaults() *IncidentsResponse

NewIncidentsResponseWithDefaults instantiates a new IncidentsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentsResponse) GetData ¶

func (o *IncidentsResponse) GetData() []IncidentResponseData

GetData returns the Data field value.

func (*IncidentsResponse) GetDataOk ¶

func (o *IncidentsResponse) GetDataOk() (*[]IncidentResponseData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*IncidentsResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentsResponse) GetIncludedOk ¶

func (o *IncidentsResponse) GetIncludedOk() (*[]IncidentResponseIncludedItem, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentsResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*IncidentsResponse) GetMetaOk ¶

func (o *IncidentsResponse) GetMetaOk() (*IncidentResponseMeta, 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 (*IncidentsResponse) HasIncluded ¶

func (o *IncidentsResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*IncidentsResponse) HasMeta ¶

func (o *IncidentsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (IncidentsResponse) MarshalJSON ¶

func (o IncidentsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentsResponse) SetData ¶

func (o *IncidentsResponse) SetData(v []IncidentResponseData)

SetData sets field value.

func (*IncidentsResponse) SetIncluded ¶

func (o *IncidentsResponse) SetIncluded(v []IncidentResponseIncludedItem)

SetIncluded gets a reference to the given []IncidentResponseIncludedItem and assigns it to the Included field.

func (*IncidentsResponse) SetMeta ¶

SetMeta gets a reference to the given IncidentResponseMeta and assigns it to the Meta field.

func (*IncidentsResponse) UnmarshalJSON ¶

func (o *IncidentsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IntakePayloadAccepted ¶ added in v1.14.0

type IntakePayloadAccepted struct {
	// A list of errors.
	Errors []string `json:"errors,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IntakePayloadAccepted The payload accepted for intake.

func NewIntakePayloadAccepted ¶ added in v1.14.0

func NewIntakePayloadAccepted() *IntakePayloadAccepted

NewIntakePayloadAccepted instantiates a new IntakePayloadAccepted object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIntakePayloadAcceptedWithDefaults ¶ added in v1.14.0

func NewIntakePayloadAcceptedWithDefaults() *IntakePayloadAccepted

NewIntakePayloadAcceptedWithDefaults instantiates a new IntakePayloadAccepted object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IntakePayloadAccepted) GetErrors ¶ added in v1.15.0

func (o *IntakePayloadAccepted) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*IntakePayloadAccepted) GetErrorsOk ¶ added in v1.15.0

func (o *IntakePayloadAccepted) GetErrorsOk() (*[]string, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntakePayloadAccepted) HasErrors ¶ added in v1.15.0

func (o *IntakePayloadAccepted) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (IntakePayloadAccepted) MarshalJSON ¶ added in v1.14.0

func (o IntakePayloadAccepted) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IntakePayloadAccepted) SetErrors ¶ added in v1.15.0

func (o *IntakePayloadAccepted) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (*IntakePayloadAccepted) UnmarshalJSON ¶ added in v1.14.0

func (o *IntakePayloadAccepted) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type KeyManagementApiService ¶

type KeyManagementApiService service

KeyManagementApiService KeyManagementApi service.

func (*KeyManagementApiService) CreateAPIKey ¶

CreateAPIKey Create an API key. Create an API key.

func (*KeyManagementApiService) CreateCurrentUserApplicationKey ¶

CreateCurrentUserApplicationKey Create an application key for current user. Create an application key for current user

func (*KeyManagementApiService) DeleteAPIKey ¶

func (a *KeyManagementApiService) DeleteAPIKey(ctx _context.Context, apiKeyId string) (*_nethttp.Response, error)

DeleteAPIKey Delete an API key. Delete an API key.

func (*KeyManagementApiService) DeleteApplicationKey ¶

func (a *KeyManagementApiService) DeleteApplicationKey(ctx _context.Context, appKeyId string) (*_nethttp.Response, error)

DeleteApplicationKey Delete an application key. Delete an application key

func (*KeyManagementApiService) DeleteCurrentUserApplicationKey ¶

func (a *KeyManagementApiService) DeleteCurrentUserApplicationKey(ctx _context.Context, appKeyId string) (*_nethttp.Response, error)

DeleteCurrentUserApplicationKey Delete an application key owned by current user. Delete an application key owned by current user

func (*KeyManagementApiService) GetAPIKey ¶

GetAPIKey Get API key. Get an API key.

func (*KeyManagementApiService) GetApplicationKey ¶ added in v1.2.0

GetApplicationKey Get an application key. Get an application key for your org.

func (*KeyManagementApiService) GetCurrentUserApplicationKey ¶

func (a *KeyManagementApiService) GetCurrentUserApplicationKey(ctx _context.Context, appKeyId string) (ApplicationKeyResponse, *_nethttp.Response, error)

GetCurrentUserApplicationKey Get one application key owned by current user. Get an application key owned by current user

func (*KeyManagementApiService) ListAPIKeys ¶

ListAPIKeys Get all API keys. List all API keys available for your account.

func (*KeyManagementApiService) ListApplicationKeys ¶

ListApplicationKeys Get all application keys. List all application keys available for your org

func (*KeyManagementApiService) ListCurrentUserApplicationKeys ¶

ListCurrentUserApplicationKeys Get all application keys owned by current user. List all application keys available for current user

func (*KeyManagementApiService) UpdateAPIKey ¶

UpdateAPIKey Edit an API key. Update an API key.

func (*KeyManagementApiService) UpdateApplicationKey ¶

UpdateApplicationKey Edit an application key. Edit an application key

func (*KeyManagementApiService) UpdateCurrentUserApplicationKey ¶

func (a *KeyManagementApiService) UpdateCurrentUserApplicationKey(ctx _context.Context, appKeyId string, body ApplicationKeyUpdateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)

UpdateCurrentUserApplicationKey Edit an application key owned by current user. Edit an application key owned by current user

type ListAPIKeysOptionalParameters ¶

type ListAPIKeysOptionalParameters struct {
	PageSize              *int64
	PageNumber            *int64
	Sort                  *APIKeysSort
	Filter                *string
	FilterCreatedAtStart  *string
	FilterCreatedAtEnd    *string
	FilterModifiedAtStart *string
	FilterModifiedAtEnd   *string
	Include               *string
}

ListAPIKeysOptionalParameters holds optional parameters for ListAPIKeys.

func NewListAPIKeysOptionalParameters ¶

func NewListAPIKeysOptionalParameters() *ListAPIKeysOptionalParameters

NewListAPIKeysOptionalParameters creates an empty struct for parameters.

func (*ListAPIKeysOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListAPIKeysOptionalParameters) WithFilterCreatedAtEnd ¶

func (r *ListAPIKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListAPIKeysOptionalParameters

WithFilterCreatedAtEnd sets the corresponding parameter name and returns the struct.

func (*ListAPIKeysOptionalParameters) WithFilterCreatedAtStart ¶

func (r *ListAPIKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListAPIKeysOptionalParameters

WithFilterCreatedAtStart sets the corresponding parameter name and returns the struct.

func (*ListAPIKeysOptionalParameters) WithFilterModifiedAtEnd ¶

func (r *ListAPIKeysOptionalParameters) WithFilterModifiedAtEnd(filterModifiedAtEnd string) *ListAPIKeysOptionalParameters

WithFilterModifiedAtEnd sets the corresponding parameter name and returns the struct.

func (*ListAPIKeysOptionalParameters) WithFilterModifiedAtStart ¶

func (r *ListAPIKeysOptionalParameters) WithFilterModifiedAtStart(filterModifiedAtStart string) *ListAPIKeysOptionalParameters

WithFilterModifiedAtStart sets the corresponding parameter name and returns the struct.

func (*ListAPIKeysOptionalParameters) WithInclude ¶

WithInclude sets the corresponding parameter name and returns the struct.

func (*ListAPIKeysOptionalParameters) WithPageNumber ¶

func (r *ListAPIKeysOptionalParameters) WithPageNumber(pageNumber int64) *ListAPIKeysOptionalParameters

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListAPIKeysOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListAPIKeysOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListApplicationKeysOptionalParameters ¶

type ListApplicationKeysOptionalParameters struct {
	PageSize             *int64
	PageNumber           *int64
	Sort                 *ApplicationKeysSort
	Filter               *string
	FilterCreatedAtStart *string
	FilterCreatedAtEnd   *string
}

ListApplicationKeysOptionalParameters holds optional parameters for ListApplicationKeys.

func NewListApplicationKeysOptionalParameters ¶

func NewListApplicationKeysOptionalParameters() *ListApplicationKeysOptionalParameters

NewListApplicationKeysOptionalParameters creates an empty struct for parameters.

func (*ListApplicationKeysOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListApplicationKeysOptionalParameters) WithFilterCreatedAtEnd ¶

func (r *ListApplicationKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListApplicationKeysOptionalParameters

WithFilterCreatedAtEnd sets the corresponding parameter name and returns the struct.

func (*ListApplicationKeysOptionalParameters) WithFilterCreatedAtStart ¶

func (r *ListApplicationKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListApplicationKeysOptionalParameters

WithFilterCreatedAtStart sets the corresponding parameter name and returns the struct.

func (*ListApplicationKeysOptionalParameters) WithPageNumber ¶

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListApplicationKeysOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListApplicationKeysOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListApplicationKeysResponse ¶

type ListApplicationKeysResponse struct {
	// Array of application keys.
	Data []PartialApplicationKey `json:"data,omitempty"`
	// Array of objects related to the application key.
	Included []ApplicationKeyResponseIncludedItem `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ListApplicationKeysResponse Response for a list of application keys.

func NewListApplicationKeysResponse ¶

func NewListApplicationKeysResponse() *ListApplicationKeysResponse

NewListApplicationKeysResponse instantiates a new ListApplicationKeysResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewListApplicationKeysResponseWithDefaults ¶

func NewListApplicationKeysResponseWithDefaults() *ListApplicationKeysResponse

NewListApplicationKeysResponseWithDefaults instantiates a new ListApplicationKeysResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ListApplicationKeysResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*ListApplicationKeysResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListApplicationKeysResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*ListApplicationKeysResponse) GetIncludedOk ¶

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListApplicationKeysResponse) HasData ¶

func (o *ListApplicationKeysResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListApplicationKeysResponse) HasIncluded ¶

func (o *ListApplicationKeysResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (ListApplicationKeysResponse) MarshalJSON ¶

func (o ListApplicationKeysResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ListApplicationKeysResponse) SetData ¶

SetData gets a reference to the given []PartialApplicationKey and assigns it to the Data field.

func (*ListApplicationKeysResponse) SetIncluded ¶

SetIncluded gets a reference to the given []ApplicationKeyResponseIncludedItem and assigns it to the Included field.

func (*ListApplicationKeysResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *ListApplicationKeysResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ListAuditLogsOptionalParameters ¶ added in v1.11.0

type ListAuditLogsOptionalParameters struct {
	FilterQuery *string
	FilterFrom  *time.Time
	FilterTo    *time.Time
	Sort        *AuditLogsSort
	PageCursor  *string
	PageLimit   *int32
}

ListAuditLogsOptionalParameters holds optional parameters for ListAuditLogs.

func NewListAuditLogsOptionalParameters ¶ added in v1.11.0

func NewListAuditLogsOptionalParameters() *ListAuditLogsOptionalParameters

NewListAuditLogsOptionalParameters creates an empty struct for parameters.

func (*ListAuditLogsOptionalParameters) WithFilterFrom ¶ added in v1.11.0

WithFilterFrom sets the corresponding parameter name and returns the struct.

func (*ListAuditLogsOptionalParameters) WithFilterQuery ¶ added in v1.11.0

WithFilterQuery sets the corresponding parameter name and returns the struct.

func (*ListAuditLogsOptionalParameters) WithFilterTo ¶ added in v1.11.0

WithFilterTo sets the corresponding parameter name and returns the struct.

func (*ListAuditLogsOptionalParameters) WithPageCursor ¶ added in v1.11.0

WithPageCursor sets the corresponding parameter name and returns the struct.

func (*ListAuditLogsOptionalParameters) WithPageLimit ¶ added in v1.11.0

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*ListAuditLogsOptionalParameters) WithSort ¶ added in v1.11.0

WithSort sets the corresponding parameter name and returns the struct.

type ListAuthNMappingsOptionalParameters ¶ added in v1.9.0

type ListAuthNMappingsOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
	Sort       *AuthNMappingsSort
	Filter     *string
}

ListAuthNMappingsOptionalParameters holds optional parameters for ListAuthNMappings.

func NewListAuthNMappingsOptionalParameters ¶ added in v1.9.0

func NewListAuthNMappingsOptionalParameters() *ListAuthNMappingsOptionalParameters

NewListAuthNMappingsOptionalParameters creates an empty struct for parameters.

func (*ListAuthNMappingsOptionalParameters) WithFilter ¶ added in v1.9.0

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListAuthNMappingsOptionalParameters) WithPageNumber ¶ added in v1.9.0

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListAuthNMappingsOptionalParameters) WithPageSize ¶ added in v1.9.0

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListAuthNMappingsOptionalParameters) WithSort ¶ added in v1.9.0

WithSort sets the corresponding parameter name and returns the struct.

type ListCurrentUserApplicationKeysOptionalParameters ¶

type ListCurrentUserApplicationKeysOptionalParameters struct {
	PageSize             *int64
	PageNumber           *int64
	Sort                 *ApplicationKeysSort
	Filter               *string
	FilterCreatedAtStart *string
	FilterCreatedAtEnd   *string
}

ListCurrentUserApplicationKeysOptionalParameters holds optional parameters for ListCurrentUserApplicationKeys.

func NewListCurrentUserApplicationKeysOptionalParameters ¶

func NewListCurrentUserApplicationKeysOptionalParameters() *ListCurrentUserApplicationKeysOptionalParameters

NewListCurrentUserApplicationKeysOptionalParameters creates an empty struct for parameters.

func (*ListCurrentUserApplicationKeysOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListCurrentUserApplicationKeysOptionalParameters) WithFilterCreatedAtEnd ¶

WithFilterCreatedAtEnd sets the corresponding parameter name and returns the struct.

func (*ListCurrentUserApplicationKeysOptionalParameters) WithFilterCreatedAtStart ¶

WithFilterCreatedAtStart sets the corresponding parameter name and returns the struct.

func (*ListCurrentUserApplicationKeysOptionalParameters) WithPageNumber ¶

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListCurrentUserApplicationKeysOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListCurrentUserApplicationKeysOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListIncidentServicesOptionalParameters ¶

type ListIncidentServicesOptionalParameters struct {
	Include    *IncidentRelatedObject
	PageSize   *int64
	PageOffset *int64
	Filter     *string
}

ListIncidentServicesOptionalParameters holds optional parameters for ListIncidentServices.

func NewListIncidentServicesOptionalParameters ¶

func NewListIncidentServicesOptionalParameters() *ListIncidentServicesOptionalParameters

NewListIncidentServicesOptionalParameters creates an empty struct for parameters.

func (*ListIncidentServicesOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListIncidentServicesOptionalParameters) WithInclude ¶

WithInclude sets the corresponding parameter name and returns the struct.

func (*ListIncidentServicesOptionalParameters) WithPageOffset ¶

WithPageOffset sets the corresponding parameter name and returns the struct.

func (*ListIncidentServicesOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

type ListIncidentTeamsOptionalParameters ¶

type ListIncidentTeamsOptionalParameters struct {
	Include    *IncidentRelatedObject
	PageSize   *int64
	PageOffset *int64
	Filter     *string
}

ListIncidentTeamsOptionalParameters holds optional parameters for ListIncidentTeams.

func NewListIncidentTeamsOptionalParameters ¶

func NewListIncidentTeamsOptionalParameters() *ListIncidentTeamsOptionalParameters

NewListIncidentTeamsOptionalParameters creates an empty struct for parameters.

func (*ListIncidentTeamsOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListIncidentTeamsOptionalParameters) WithInclude ¶

WithInclude sets the corresponding parameter name and returns the struct.

func (*ListIncidentTeamsOptionalParameters) WithPageOffset ¶

WithPageOffset sets the corresponding parameter name and returns the struct.

func (*ListIncidentTeamsOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

type ListIncidentsOptionalParameters ¶

type ListIncidentsOptionalParameters struct {
	Include    *[]IncidentRelatedObject
	PageSize   *int64
	PageOffset *int64
}

ListIncidentsOptionalParameters holds optional parameters for ListIncidents.

func NewListIncidentsOptionalParameters ¶

func NewListIncidentsOptionalParameters() *ListIncidentsOptionalParameters

NewListIncidentsOptionalParameters creates an empty struct for parameters.

func (*ListIncidentsOptionalParameters) WithInclude ¶

WithInclude sets the corresponding parameter name and returns the struct.

func (*ListIncidentsOptionalParameters) WithPageOffset ¶

WithPageOffset sets the corresponding parameter name and returns the struct.

func (*ListIncidentsOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

type ListLogsGetOptionalParameters ¶

type ListLogsGetOptionalParameters struct {
	FilterQuery *string
	FilterIndex *string
	FilterFrom  *time.Time
	FilterTo    *time.Time
	Sort        *LogsSort
	PageCursor  *string
	PageLimit   *int32
}

ListLogsGetOptionalParameters holds optional parameters for ListLogsGet.

func NewListLogsGetOptionalParameters ¶

func NewListLogsGetOptionalParameters() *ListLogsGetOptionalParameters

NewListLogsGetOptionalParameters creates an empty struct for parameters.

func (*ListLogsGetOptionalParameters) WithFilterFrom ¶

WithFilterFrom sets the corresponding parameter name and returns the struct.

func (*ListLogsGetOptionalParameters) WithFilterIndex ¶

func (r *ListLogsGetOptionalParameters) WithFilterIndex(filterIndex string) *ListLogsGetOptionalParameters

WithFilterIndex sets the corresponding parameter name and returns the struct.

func (*ListLogsGetOptionalParameters) WithFilterQuery ¶

func (r *ListLogsGetOptionalParameters) WithFilterQuery(filterQuery string) *ListLogsGetOptionalParameters

WithFilterQuery sets the corresponding parameter name and returns the struct.

func (*ListLogsGetOptionalParameters) WithFilterTo ¶

WithFilterTo sets the corresponding parameter name and returns the struct.

func (*ListLogsGetOptionalParameters) WithPageCursor ¶

WithPageCursor sets the corresponding parameter name and returns the struct.

func (*ListLogsGetOptionalParameters) WithPageLimit ¶

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*ListLogsGetOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListLogsOptionalParameters ¶

type ListLogsOptionalParameters struct {
	Body *LogsListRequest
}

ListLogsOptionalParameters holds optional parameters for ListLogs.

func NewListLogsOptionalParameters ¶

func NewListLogsOptionalParameters() *ListLogsOptionalParameters

NewListLogsOptionalParameters creates an empty struct for parameters.

func (*ListLogsOptionalParameters) WithBody ¶

WithBody sets the corresponding parameter name and returns the struct.

type ListProcessesOptionalParameters ¶

type ListProcessesOptionalParameters struct {
	Search     *string
	Tags       *string
	From       *int64
	To         *int64
	PageLimit  *int32
	PageCursor *string
}

ListProcessesOptionalParameters holds optional parameters for ListProcesses.

func NewListProcessesOptionalParameters ¶

func NewListProcessesOptionalParameters() *ListProcessesOptionalParameters

NewListProcessesOptionalParameters creates an empty struct for parameters.

func (*ListProcessesOptionalParameters) WithFrom ¶

WithFrom sets the corresponding parameter name and returns the struct.

func (*ListProcessesOptionalParameters) WithPageCursor ¶

WithPageCursor sets the corresponding parameter name and returns the struct.

func (*ListProcessesOptionalParameters) WithPageLimit ¶

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*ListProcessesOptionalParameters) WithSearch ¶

WithSearch sets the corresponding parameter name and returns the struct.

func (*ListProcessesOptionalParameters) WithTags ¶

WithTags sets the corresponding parameter name and returns the struct.

func (*ListProcessesOptionalParameters) WithTo ¶

WithTo sets the corresponding parameter name and returns the struct.

type ListRUMEventsOptionalParameters ¶ added in v1.11.0

type ListRUMEventsOptionalParameters struct {
	FilterQuery *string
	FilterFrom  *time.Time
	FilterTo    *time.Time
	Sort        *RUMSort
	PageCursor  *string
	PageLimit   *int32
}

ListRUMEventsOptionalParameters holds optional parameters for ListRUMEvents.

func NewListRUMEventsOptionalParameters ¶ added in v1.11.0

func NewListRUMEventsOptionalParameters() *ListRUMEventsOptionalParameters

NewListRUMEventsOptionalParameters creates an empty struct for parameters.

func (*ListRUMEventsOptionalParameters) WithFilterFrom ¶ added in v1.11.0

WithFilterFrom sets the corresponding parameter name and returns the struct.

func (*ListRUMEventsOptionalParameters) WithFilterQuery ¶ added in v1.11.0

WithFilterQuery sets the corresponding parameter name and returns the struct.

func (*ListRUMEventsOptionalParameters) WithFilterTo ¶ added in v1.11.0

WithFilterTo sets the corresponding parameter name and returns the struct.

func (*ListRUMEventsOptionalParameters) WithPageCursor ¶ added in v1.11.0

WithPageCursor sets the corresponding parameter name and returns the struct.

func (*ListRUMEventsOptionalParameters) WithPageLimit ¶ added in v1.11.0

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*ListRUMEventsOptionalParameters) WithSort ¶ added in v1.11.0

WithSort sets the corresponding parameter name and returns the struct.

type ListRoleUsersOptionalParameters ¶

type ListRoleUsersOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
	Sort       *string
	Filter     *string
}

ListRoleUsersOptionalParameters holds optional parameters for ListRoleUsers.

func NewListRoleUsersOptionalParameters ¶

func NewListRoleUsersOptionalParameters() *ListRoleUsersOptionalParameters

NewListRoleUsersOptionalParameters creates an empty struct for parameters.

func (*ListRoleUsersOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListRoleUsersOptionalParameters) WithPageNumber ¶

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListRoleUsersOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListRoleUsersOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListRolesOptionalParameters ¶

type ListRolesOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
	Sort       *RolesSort
	Filter     *string
}

ListRolesOptionalParameters holds optional parameters for ListRoles.

func NewListRolesOptionalParameters ¶

func NewListRolesOptionalParameters() *ListRolesOptionalParameters

NewListRolesOptionalParameters creates an empty struct for parameters.

func (*ListRolesOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListRolesOptionalParameters) WithPageNumber ¶

func (r *ListRolesOptionalParameters) WithPageNumber(pageNumber int64) *ListRolesOptionalParameters

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListRolesOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListRolesOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListSecurityMonitoringRulesOptionalParameters ¶

type ListSecurityMonitoringRulesOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
}

ListSecurityMonitoringRulesOptionalParameters holds optional parameters for ListSecurityMonitoringRules.

func NewListSecurityMonitoringRulesOptionalParameters ¶

func NewListSecurityMonitoringRulesOptionalParameters() *ListSecurityMonitoringRulesOptionalParameters

NewListSecurityMonitoringRulesOptionalParameters creates an empty struct for parameters.

func (*ListSecurityMonitoringRulesOptionalParameters) WithPageNumber ¶

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListSecurityMonitoringRulesOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

type ListSecurityMonitoringSignalsOptionalParameters ¶

type ListSecurityMonitoringSignalsOptionalParameters struct {
	FilterQuery *string
	FilterFrom  *time.Time
	FilterTo    *time.Time
	Sort        *SecurityMonitoringSignalsSort
	PageCursor  *string
	PageLimit   *int32
}

ListSecurityMonitoringSignalsOptionalParameters holds optional parameters for ListSecurityMonitoringSignals.

func NewListSecurityMonitoringSignalsOptionalParameters ¶

func NewListSecurityMonitoringSignalsOptionalParameters() *ListSecurityMonitoringSignalsOptionalParameters

NewListSecurityMonitoringSignalsOptionalParameters creates an empty struct for parameters.

func (*ListSecurityMonitoringSignalsOptionalParameters) WithFilterFrom ¶

WithFilterFrom sets the corresponding parameter name and returns the struct.

func (*ListSecurityMonitoringSignalsOptionalParameters) WithFilterQuery ¶

WithFilterQuery sets the corresponding parameter name and returns the struct.

func (*ListSecurityMonitoringSignalsOptionalParameters) WithFilterTo ¶

WithFilterTo sets the corresponding parameter name and returns the struct.

func (*ListSecurityMonitoringSignalsOptionalParameters) WithPageCursor ¶

WithPageCursor sets the corresponding parameter name and returns the struct.

func (*ListSecurityMonitoringSignalsOptionalParameters) WithPageLimit ¶

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*ListSecurityMonitoringSignalsOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListServiceAccountApplicationKeysOptionalParameters ¶ added in v1.3.0

type ListServiceAccountApplicationKeysOptionalParameters struct {
	PageSize             *int64
	PageNumber           *int64
	Sort                 *ApplicationKeysSort
	Filter               *string
	FilterCreatedAtStart *string
	FilterCreatedAtEnd   *string
}

ListServiceAccountApplicationKeysOptionalParameters holds optional parameters for ListServiceAccountApplicationKeys.

func NewListServiceAccountApplicationKeysOptionalParameters ¶ added in v1.3.0

func NewListServiceAccountApplicationKeysOptionalParameters() *ListServiceAccountApplicationKeysOptionalParameters

NewListServiceAccountApplicationKeysOptionalParameters creates an empty struct for parameters.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilter ¶ added in v1.3.0

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtEnd ¶ added in v1.3.0

WithFilterCreatedAtEnd sets the corresponding parameter name and returns the struct.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtStart ¶ added in v1.3.0

WithFilterCreatedAtStart sets the corresponding parameter name and returns the struct.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithPageNumber ¶ added in v1.3.0

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithPageSize ¶ added in v1.3.0

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithSort ¶ added in v1.3.0

WithSort sets the corresponding parameter name and returns the struct.

type ListTagConfigurationsOptionalParameters ¶

type ListTagConfigurationsOptionalParameters struct {
	FilterConfigured         *bool
	FilterTagsConfigured     *string
	FilterMetricType         *MetricTagConfigurationMetricTypes
	FilterIncludePercentiles *bool
	FilterTags               *string
	WindowSeconds            *int64
}

ListTagConfigurationsOptionalParameters holds optional parameters for ListTagConfigurations.

func NewListTagConfigurationsOptionalParameters ¶

func NewListTagConfigurationsOptionalParameters() *ListTagConfigurationsOptionalParameters

NewListTagConfigurationsOptionalParameters creates an empty struct for parameters.

func (*ListTagConfigurationsOptionalParameters) WithFilterConfigured ¶

WithFilterConfigured sets the corresponding parameter name and returns the struct.

func (*ListTagConfigurationsOptionalParameters) WithFilterIncludePercentiles ¶

func (r *ListTagConfigurationsOptionalParameters) WithFilterIncludePercentiles(filterIncludePercentiles bool) *ListTagConfigurationsOptionalParameters

WithFilterIncludePercentiles sets the corresponding parameter name and returns the struct.

func (*ListTagConfigurationsOptionalParameters) WithFilterMetricType ¶

WithFilterMetricType sets the corresponding parameter name and returns the struct.

func (*ListTagConfigurationsOptionalParameters) WithFilterTags ¶

WithFilterTags sets the corresponding parameter name and returns the struct.

func (*ListTagConfigurationsOptionalParameters) WithFilterTagsConfigured ¶

func (r *ListTagConfigurationsOptionalParameters) WithFilterTagsConfigured(filterTagsConfigured string) *ListTagConfigurationsOptionalParameters

WithFilterTagsConfigured sets the corresponding parameter name and returns the struct.

func (*ListTagConfigurationsOptionalParameters) WithWindowSeconds ¶

WithWindowSeconds sets the corresponding parameter name and returns the struct.

type ListUsersOptionalParameters ¶

type ListUsersOptionalParameters struct {
	PageSize     *int64
	PageNumber   *int64
	Sort         *string
	SortDir      *QuerySortOrder
	Filter       *string
	FilterStatus *string
}

ListUsersOptionalParameters holds optional parameters for ListUsers.

func NewListUsersOptionalParameters ¶

func NewListUsersOptionalParameters() *ListUsersOptionalParameters

NewListUsersOptionalParameters creates an empty struct for parameters.

func (*ListUsersOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListUsersOptionalParameters) WithFilterStatus ¶

func (r *ListUsersOptionalParameters) WithFilterStatus(filterStatus string) *ListUsersOptionalParameters

WithFilterStatus sets the corresponding parameter name and returns the struct.

func (*ListUsersOptionalParameters) WithPageNumber ¶

func (r *ListUsersOptionalParameters) WithPageNumber(pageNumber int64) *ListUsersOptionalParameters

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListUsersOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListUsersOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

func (*ListUsersOptionalParameters) WithSortDir ¶

WithSortDir sets the corresponding parameter name and returns the struct.

type Log ¶

type Log struct {
	// JSON object containing all log attributes and their associated values.
	Attributes *LogAttributes `json:"attributes,omitempty"`
	// Unique ID of the Log.
	Id *string `json:"id,omitempty"`
	// Type of the event.
	Type *LogType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Log Object description of a log after being processed and stored by Datadog.

func NewLog ¶

func NewLog() *Log

NewLog instantiates a new Log object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogWithDefaults ¶

func NewLogWithDefaults() *Log

NewLogWithDefaults instantiates a new Log object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*Log) GetAttributes ¶

func (o *Log) GetAttributes() LogAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Log) GetAttributesOk ¶

func (o *Log) GetAttributesOk() (*LogAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Log) GetId ¶

func (o *Log) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Log) GetIdOk ¶

func (o *Log) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Log) GetType ¶

func (o *Log) GetType() LogType

GetType returns the Type field value if set, zero value otherwise.

func (*Log) GetTypeOk ¶

func (o *Log) GetTypeOk() (*LogType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Log) HasAttributes ¶

func (o *Log) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Log) HasId ¶

func (o *Log) HasId() bool

HasId returns a boolean if a field has been set.

func (*Log) HasType ¶

func (o *Log) HasType() bool

HasType returns a boolean if a field has been set.

func (Log) MarshalJSON ¶

func (o Log) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Log) SetAttributes ¶

func (o *Log) SetAttributes(v LogAttributes)

SetAttributes gets a reference to the given LogAttributes and assigns it to the Attributes field.

func (*Log) SetId ¶

func (o *Log) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Log) SetType ¶

func (o *Log) SetType(v LogType)

SetType gets a reference to the given LogType and assigns it to the Type field.

func (*Log) UnmarshalJSON ¶ added in v1.3.0

func (o *Log) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogAttributes ¶

type LogAttributes struct {
	// JSON object of attributes from your log.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
	// Name of the machine from where the logs are being sent.
	Host *string `json:"host,omitempty"`
	// The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes)
	// of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry.
	// That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
	Message *string `json:"message,omitempty"`
	// The name of the application or service generating the log events.
	// It is used to switch from Logs to APM, so make sure you define the same
	// value when you use both products.
	Service *string `json:"service,omitempty"`
	// Status of the message associated with your log.
	Status *string `json:"status,omitempty"`
	// Array of tags associated with your log.
	Tags []string `json:"tags,omitempty"`
	// Timestamp of your log.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogAttributes JSON object containing all log attributes and their associated values.

func NewLogAttributes ¶

func NewLogAttributes() *LogAttributes

NewLogAttributes instantiates a new LogAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogAttributesWithDefaults ¶

func NewLogAttributesWithDefaults() *LogAttributes

NewLogAttributesWithDefaults instantiates a new LogAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogAttributes) GetAttributes ¶

func (o *LogAttributes) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*LogAttributes) GetAttributesOk ¶

func (o *LogAttributes) GetAttributesOk() (*map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogAttributes) GetHost ¶

func (o *LogAttributes) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*LogAttributes) GetHostOk ¶

func (o *LogAttributes) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogAttributes) GetMessage ¶

func (o *LogAttributes) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*LogAttributes) GetMessageOk ¶

func (o *LogAttributes) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogAttributes) GetService ¶

func (o *LogAttributes) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*LogAttributes) GetServiceOk ¶

func (o *LogAttributes) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogAttributes) GetStatus ¶

func (o *LogAttributes) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*LogAttributes) GetStatusOk ¶

func (o *LogAttributes) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogAttributes) GetTags ¶

func (o *LogAttributes) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*LogAttributes) GetTagsOk ¶

func (o *LogAttributes) 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 (*LogAttributes) GetTimestamp ¶

func (o *LogAttributes) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*LogAttributes) GetTimestampOk ¶

func (o *LogAttributes) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogAttributes) HasAttributes ¶

func (o *LogAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*LogAttributes) HasHost ¶

func (o *LogAttributes) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*LogAttributes) HasMessage ¶

func (o *LogAttributes) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*LogAttributes) HasService ¶

func (o *LogAttributes) HasService() bool

HasService returns a boolean if a field has been set.

func (*LogAttributes) HasStatus ¶

func (o *LogAttributes) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*LogAttributes) HasTags ¶

func (o *LogAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*LogAttributes) HasTimestamp ¶

func (o *LogAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (LogAttributes) MarshalJSON ¶

func (o LogAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogAttributes) SetAttributes ¶

func (o *LogAttributes) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*LogAttributes) SetHost ¶

func (o *LogAttributes) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*LogAttributes) SetMessage ¶

func (o *LogAttributes) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*LogAttributes) SetService ¶

func (o *LogAttributes) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*LogAttributes) SetStatus ¶

func (o *LogAttributes) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*LogAttributes) SetTags ¶

func (o *LogAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*LogAttributes) SetTimestamp ¶

func (o *LogAttributes) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*LogAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *LogAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogType ¶

type LogType string

LogType Type of the event.

const (
	LOGTYPE_LOG LogType = "log"
)

List of LogType.

func NewLogTypeFromValue ¶

func NewLogTypeFromValue(v string) (*LogType, error)

NewLogTypeFromValue returns a pointer to a valid LogType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogType) GetAllowedValues ¶ added in v1.1.0

func (v *LogType) GetAllowedValues() []LogType

GetAllowedValues reeturns the list of possible values.

func (LogType) IsValid ¶

func (v LogType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogType) Ptr ¶

func (v LogType) Ptr() *LogType

Ptr returns reference to LogType value.

func (*LogType) UnmarshalJSON ¶

func (v *LogType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsAggregateBucket ¶

type LogsAggregateBucket struct {
	// The key, value pairs for each group by
	By map[string]string `json:"by,omitempty"`
	// A map of the metric name -> value for regular compute or list of values for a timeseries
	Computes map[string]LogsAggregateBucketValue `json:"computes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAggregateBucket A bucket values

func NewLogsAggregateBucket ¶

func NewLogsAggregateBucket() *LogsAggregateBucket

NewLogsAggregateBucket instantiates a new LogsAggregateBucket object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsAggregateBucketWithDefaults ¶

func NewLogsAggregateBucketWithDefaults() *LogsAggregateBucket

NewLogsAggregateBucketWithDefaults instantiates a new LogsAggregateBucket object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsAggregateBucket) GetBy ¶

func (o *LogsAggregateBucket) GetBy() map[string]string

GetBy returns the By field value if set, zero value otherwise.

func (*LogsAggregateBucket) GetByOk ¶

func (o *LogsAggregateBucket) GetByOk() (*map[string]string, bool)

GetByOk returns a tuple with the By field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateBucket) GetComputes ¶

GetComputes returns the Computes field value if set, zero value otherwise.

func (*LogsAggregateBucket) GetComputesOk ¶

func (o *LogsAggregateBucket) GetComputesOk() (*map[string]LogsAggregateBucketValue, bool)

GetComputesOk returns a tuple with the Computes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateBucket) HasBy ¶

func (o *LogsAggregateBucket) HasBy() bool

HasBy returns a boolean if a field has been set.

func (*LogsAggregateBucket) HasComputes ¶

func (o *LogsAggregateBucket) HasComputes() bool

HasComputes returns a boolean if a field has been set.

func (LogsAggregateBucket) MarshalJSON ¶

func (o LogsAggregateBucket) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAggregateBucket) SetBy ¶

func (o *LogsAggregateBucket) SetBy(v map[string]string)

SetBy gets a reference to the given map[string]string and assigns it to the By field.

func (*LogsAggregateBucket) SetComputes ¶

func (o *LogsAggregateBucket) SetComputes(v map[string]LogsAggregateBucketValue)

SetComputes gets a reference to the given map[string]LogsAggregateBucketValue and assigns it to the Computes field.

func (*LogsAggregateBucket) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateBucket) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsAggregateBucketValue ¶

type LogsAggregateBucketValue struct {
	LogsAggregateBucketValueSingleString *string
	LogsAggregateBucketValueSingleNumber *float64
	LogsAggregateBucketValueTimeseries   *LogsAggregateBucketValueTimeseries

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

LogsAggregateBucketValue - A bucket value, can be either a timeseries or a single value

func LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue ¶ added in v1.11.0

func LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue(v *float64) LogsAggregateBucketValue

LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue is a convenience function that returns float64 wrapped in LogsAggregateBucketValue.

func LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue ¶ added in v1.11.0

func LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue(v *string) LogsAggregateBucketValue

LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue is a convenience function that returns string wrapped in LogsAggregateBucketValue.

func LogsAggregateBucketValueTimeseriesAsLogsAggregateBucketValue ¶

func LogsAggregateBucketValueTimeseriesAsLogsAggregateBucketValue(v *LogsAggregateBucketValueTimeseries) LogsAggregateBucketValue

LogsAggregateBucketValueTimeseriesAsLogsAggregateBucketValue is a convenience function that returns LogsAggregateBucketValueTimeseries wrapped in LogsAggregateBucketValue.

func (*LogsAggregateBucketValue) GetActualInstance ¶

func (obj *LogsAggregateBucketValue) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (LogsAggregateBucketValue) MarshalJSON ¶

func (obj LogsAggregateBucketValue) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*LogsAggregateBucketValue) UnmarshalJSON ¶

func (obj *LogsAggregateBucketValue) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type LogsAggregateBucketValueTimeseries ¶

type LogsAggregateBucketValueTimeseries struct {
	Items []LogsAggregateBucketValueTimeseriesPoint

	// UnparsedObject contains the raw value of the array if there was an error when deserializing into the struct
	UnparsedObject []interface{} `json:-`
}

LogsAggregateBucketValueTimeseries A timeseries array

func NewLogsAggregateBucketValueTimeseries ¶

func NewLogsAggregateBucketValueTimeseries() *LogsAggregateBucketValueTimeseries

NewLogsAggregateBucketValueTimeseries instantiates a new LogsAggregateBucketValueTimeseries object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsAggregateBucketValueTimeseriesWithDefaults ¶

func NewLogsAggregateBucketValueTimeseriesWithDefaults() *LogsAggregateBucketValueTimeseries

NewLogsAggregateBucketValueTimeseriesWithDefaults instantiates a new LogsAggregateBucketValueTimeseries object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (LogsAggregateBucketValueTimeseries) MarshalJSON ¶

func (o LogsAggregateBucketValueTimeseries) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAggregateBucketValueTimeseries) UnmarshalJSON ¶

func (o *LogsAggregateBucketValueTimeseries) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsAggregateBucketValueTimeseriesPoint ¶

type LogsAggregateBucketValueTimeseriesPoint struct {
	// The time value for this point
	Time *string `json:"time,omitempty"`
	// The value for this point
	Value *float64 `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAggregateBucketValueTimeseriesPoint A timeseries point

func NewLogsAggregateBucketValueTimeseriesPoint ¶

func NewLogsAggregateBucketValueTimeseriesPoint() *LogsAggregateBucketValueTimeseriesPoint

NewLogsAggregateBucketValueTimeseriesPoint instantiates a new LogsAggregateBucketValueTimeseriesPoint object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsAggregateBucketValueTimeseriesPointWithDefaults ¶

func NewLogsAggregateBucketValueTimeseriesPointWithDefaults() *LogsAggregateBucketValueTimeseriesPoint

NewLogsAggregateBucketValueTimeseriesPointWithDefaults instantiates a new LogsAggregateBucketValueTimeseriesPoint object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsAggregateBucketValueTimeseriesPoint) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*LogsAggregateBucketValueTimeseriesPoint) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateBucketValueTimeseriesPoint) GetValue ¶

GetValue returns the Value field value if set, zero value otherwise.

func (*LogsAggregateBucketValueTimeseriesPoint) GetValueOk ¶

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateBucketValueTimeseriesPoint) HasTime ¶

HasTime returns a boolean if a field has been set.

func (*LogsAggregateBucketValueTimeseriesPoint) HasValue ¶

HasValue returns a boolean if a field has been set.

func (LogsAggregateBucketValueTimeseriesPoint) MarshalJSON ¶

func (o LogsAggregateBucketValueTimeseriesPoint) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAggregateBucketValueTimeseriesPoint) SetTime ¶

SetTime gets a reference to the given string and assigns it to the Time field.

func (*LogsAggregateBucketValueTimeseriesPoint) SetValue ¶

SetValue gets a reference to the given float64 and assigns it to the Value field.

func (*LogsAggregateBucketValueTimeseriesPoint) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateBucketValueTimeseriesPoint) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsAggregateRequest ¶

type LogsAggregateRequest struct {
	// The list of metrics or timeseries to compute for the retrieved buckets.
	Compute []LogsCompute `json:"compute,omitempty"`
	// The search and filter query settings
	Filter *LogsQueryFilter `json:"filter,omitempty"`
	// The rules for the group by
	GroupBy []LogsGroupBy `json:"group_by,omitempty"`
	// Global query options that are used during the query.
	// Note: You should only supply timezone or time offset but not both otherwise the query will fail.
	Options *LogsQueryOptions `json:"options,omitempty"`
	// Paging settings
	Page *LogsAggregateRequestPage `json:"page,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAggregateRequest The object sent with the request to retrieve a list of logs from your organization.

func NewLogsAggregateRequest ¶

func NewLogsAggregateRequest() *LogsAggregateRequest

NewLogsAggregateRequest instantiates a new LogsAggregateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsAggregateRequestWithDefaults ¶

func NewLogsAggregateRequestWithDefaults() *LogsAggregateRequest

NewLogsAggregateRequestWithDefaults instantiates a new LogsAggregateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsAggregateRequest) GetCompute ¶

func (o *LogsAggregateRequest) GetCompute() []LogsCompute

GetCompute returns the Compute field value if set, zero value otherwise.

func (*LogsAggregateRequest) GetComputeOk ¶

func (o *LogsAggregateRequest) GetComputeOk() (*[]LogsCompute, bool)

GetComputeOk returns a tuple with the Compute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateRequest) GetFilter ¶

func (o *LogsAggregateRequest) GetFilter() LogsQueryFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsAggregateRequest) GetFilterOk ¶

func (o *LogsAggregateRequest) GetFilterOk() (*LogsQueryFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateRequest) GetGroupBy ¶

func (o *LogsAggregateRequest) GetGroupBy() []LogsGroupBy

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*LogsAggregateRequest) GetGroupByOk ¶

func (o *LogsAggregateRequest) GetGroupByOk() (*[]LogsGroupBy, bool)

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateRequest) GetOptions ¶

func (o *LogsAggregateRequest) GetOptions() LogsQueryOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*LogsAggregateRequest) GetOptionsOk ¶

func (o *LogsAggregateRequest) GetOptionsOk() (*LogsQueryOptions, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateRequest) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*LogsAggregateRequest) GetPageOk ¶

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateRequest) HasCompute ¶

func (o *LogsAggregateRequest) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*LogsAggregateRequest) HasFilter ¶

func (o *LogsAggregateRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsAggregateRequest) HasGroupBy ¶

func (o *LogsAggregateRequest) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*LogsAggregateRequest) HasOptions ¶

func (o *LogsAggregateRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*LogsAggregateRequest) HasPage ¶

func (o *LogsAggregateRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (LogsAggregateRequest) MarshalJSON ¶

func (o LogsAggregateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAggregateRequest) SetCompute ¶

func (o *LogsAggregateRequest) SetCompute(v []LogsCompute)

SetCompute gets a reference to the given []LogsCompute and assigns it to the Compute field.

func (*LogsAggregateRequest) SetFilter ¶

func (o *LogsAggregateRequest) SetFilter(v LogsQueryFilter)

SetFilter gets a reference to the given LogsQueryFilter and assigns it to the Filter field.

func (*LogsAggregateRequest) SetGroupBy ¶

func (o *LogsAggregateRequest) SetGroupBy(v []LogsGroupBy)

SetGroupBy gets a reference to the given []LogsGroupBy and assigns it to the GroupBy field.

func (*LogsAggregateRequest) SetOptions ¶

func (o *LogsAggregateRequest) SetOptions(v LogsQueryOptions)

SetOptions gets a reference to the given LogsQueryOptions and assigns it to the Options field.

func (*LogsAggregateRequest) SetPage ¶

SetPage gets a reference to the given LogsAggregateRequestPage and assigns it to the Page field.

func (*LogsAggregateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsAggregateRequestPage ¶

type LogsAggregateRequestPage struct {
	// The returned paging point to use to get the next results
	Cursor *string `json:"cursor,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAggregateRequestPage Paging settings

func NewLogsAggregateRequestPage ¶

func NewLogsAggregateRequestPage() *LogsAggregateRequestPage

NewLogsAggregateRequestPage instantiates a new LogsAggregateRequestPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsAggregateRequestPageWithDefaults ¶

func NewLogsAggregateRequestPageWithDefaults() *LogsAggregateRequestPage

NewLogsAggregateRequestPageWithDefaults instantiates a new LogsAggregateRequestPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsAggregateRequestPage) GetCursor ¶

func (o *LogsAggregateRequestPage) GetCursor() string

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*LogsAggregateRequestPage) GetCursorOk ¶

func (o *LogsAggregateRequestPage) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateRequestPage) HasCursor ¶

func (o *LogsAggregateRequestPage) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (LogsAggregateRequestPage) MarshalJSON ¶

func (o LogsAggregateRequestPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAggregateRequestPage) SetCursor ¶

func (o *LogsAggregateRequestPage) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*LogsAggregateRequestPage) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateRequestPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsAggregateResponse ¶

type LogsAggregateResponse struct {
	// The query results
	Data *LogsAggregateResponseData `json:"data,omitempty"`
	// The metadata associated with a request
	Meta *LogsResponseMetadata `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAggregateResponse The response object for the logs aggregate API endpoint

func NewLogsAggregateResponse ¶

func NewLogsAggregateResponse() *LogsAggregateResponse

NewLogsAggregateResponse instantiates a new LogsAggregateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsAggregateResponseWithDefaults ¶

func NewLogsAggregateResponseWithDefaults() *LogsAggregateResponse

NewLogsAggregateResponseWithDefaults instantiates a new LogsAggregateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsAggregateResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*LogsAggregateResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*LogsAggregateResponse) GetMetaOk ¶

func (o *LogsAggregateResponse) GetMetaOk() (*LogsResponseMetadata, 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 (*LogsAggregateResponse) HasData ¶

func (o *LogsAggregateResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*LogsAggregateResponse) HasMeta ¶

func (o *LogsAggregateResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (LogsAggregateResponse) MarshalJSON ¶

func (o LogsAggregateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAggregateResponse) SetData ¶

SetData gets a reference to the given LogsAggregateResponseData and assigns it to the Data field.

func (*LogsAggregateResponse) SetMeta ¶

SetMeta gets a reference to the given LogsResponseMetadata and assigns it to the Meta field.

func (*LogsAggregateResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsAggregateResponseData ¶

type LogsAggregateResponseData struct {
	// The list of matching buckets, one item per bucket
	Buckets []LogsAggregateBucket `json:"buckets,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAggregateResponseData The query results

func NewLogsAggregateResponseData ¶

func NewLogsAggregateResponseData() *LogsAggregateResponseData

NewLogsAggregateResponseData instantiates a new LogsAggregateResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsAggregateResponseDataWithDefaults ¶

func NewLogsAggregateResponseDataWithDefaults() *LogsAggregateResponseData

NewLogsAggregateResponseDataWithDefaults instantiates a new LogsAggregateResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsAggregateResponseData) GetBuckets ¶

GetBuckets returns the Buckets field value if set, zero value otherwise.

func (*LogsAggregateResponseData) GetBucketsOk ¶

func (o *LogsAggregateResponseData) GetBucketsOk() (*[]LogsAggregateBucket, bool)

GetBucketsOk returns a tuple with the Buckets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateResponseData) HasBuckets ¶

func (o *LogsAggregateResponseData) HasBuckets() bool

HasBuckets returns a boolean if a field has been set.

func (LogsAggregateResponseData) MarshalJSON ¶

func (o LogsAggregateResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAggregateResponseData) SetBuckets ¶

SetBuckets gets a reference to the given []LogsAggregateBucket and assigns it to the Buckets field.

func (*LogsAggregateResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsAggregateResponseStatus ¶

type LogsAggregateResponseStatus string

LogsAggregateResponseStatus The status of the response

const (
	LOGSAGGREGATERESPONSESTATUS_DONE    LogsAggregateResponseStatus = "done"
	LOGSAGGREGATERESPONSESTATUS_TIMEOUT LogsAggregateResponseStatus = "timeout"
)

List of LogsAggregateResponseStatus.

func NewLogsAggregateResponseStatusFromValue ¶

func NewLogsAggregateResponseStatusFromValue(v string) (*LogsAggregateResponseStatus, error)

NewLogsAggregateResponseStatusFromValue returns a pointer to a valid LogsAggregateResponseStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsAggregateResponseStatus) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (LogsAggregateResponseStatus) IsValid ¶

func (v LogsAggregateResponseStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsAggregateResponseStatus) Ptr ¶

Ptr returns reference to LogsAggregateResponseStatus value.

func (*LogsAggregateResponseStatus) UnmarshalJSON ¶

func (v *LogsAggregateResponseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsAggregateSort ¶

type LogsAggregateSort struct {
	// An aggregation function
	Aggregation *LogsAggregationFunction `json:"aggregation,omitempty"`
	// The metric to sort by (only used for `type=measure`)
	Metric *string `json:"metric,omitempty"`
	// The order to use, ascending or descending
	Order *LogsSortOrder `json:"order,omitempty"`
	// The type of sorting algorithm
	Type *LogsAggregateSortType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAggregateSort A sort rule

func NewLogsAggregateSort ¶

func NewLogsAggregateSort() *LogsAggregateSort

NewLogsAggregateSort instantiates a new LogsAggregateSort object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsAggregateSortWithDefaults ¶

func NewLogsAggregateSortWithDefaults() *LogsAggregateSort

NewLogsAggregateSortWithDefaults instantiates a new LogsAggregateSort object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsAggregateSort) GetAggregation ¶

func (o *LogsAggregateSort) GetAggregation() LogsAggregationFunction

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*LogsAggregateSort) GetAggregationOk ¶

func (o *LogsAggregateSort) GetAggregationOk() (*LogsAggregationFunction, bool)

GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateSort) GetMetric ¶

func (o *LogsAggregateSort) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*LogsAggregateSort) GetMetricOk ¶

func (o *LogsAggregateSort) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateSort) GetOrder ¶

func (o *LogsAggregateSort) GetOrder() LogsSortOrder

GetOrder returns the Order field value if set, zero value otherwise.

func (*LogsAggregateSort) GetOrderOk ¶

func (o *LogsAggregateSort) GetOrderOk() (*LogsSortOrder, bool)

GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateSort) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*LogsAggregateSort) GetTypeOk ¶

func (o *LogsAggregateSort) GetTypeOk() (*LogsAggregateSortType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateSort) HasAggregation ¶

func (o *LogsAggregateSort) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*LogsAggregateSort) HasMetric ¶

func (o *LogsAggregateSort) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*LogsAggregateSort) HasOrder ¶

func (o *LogsAggregateSort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*LogsAggregateSort) HasType ¶

func (o *LogsAggregateSort) HasType() bool

HasType returns a boolean if a field has been set.

func (LogsAggregateSort) MarshalJSON ¶

func (o LogsAggregateSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAggregateSort) SetAggregation ¶

func (o *LogsAggregateSort) SetAggregation(v LogsAggregationFunction)

SetAggregation gets a reference to the given LogsAggregationFunction and assigns it to the Aggregation field.

func (*LogsAggregateSort) SetMetric ¶

func (o *LogsAggregateSort) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*LogsAggregateSort) SetOrder ¶

func (o *LogsAggregateSort) SetOrder(v LogsSortOrder)

SetOrder gets a reference to the given LogsSortOrder and assigns it to the Order field.

func (*LogsAggregateSort) SetType ¶

SetType gets a reference to the given LogsAggregateSortType and assigns it to the Type field.

func (*LogsAggregateSort) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateSort) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsAggregateSortType ¶

type LogsAggregateSortType string

LogsAggregateSortType The type of sorting algorithm

const (
	LOGSAGGREGATESORTTYPE_ALPHABETICAL LogsAggregateSortType = "alphabetical"
	LOGSAGGREGATESORTTYPE_MEASURE      LogsAggregateSortType = "measure"
)

List of LogsAggregateSortType.

func NewLogsAggregateSortTypeFromValue ¶

func NewLogsAggregateSortTypeFromValue(v string) (*LogsAggregateSortType, error)

NewLogsAggregateSortTypeFromValue returns a pointer to a valid LogsAggregateSortType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsAggregateSortType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsAggregateSortType) GetAllowedValues() []LogsAggregateSortType

GetAllowedValues reeturns the list of possible values.

func (LogsAggregateSortType) IsValid ¶

func (v LogsAggregateSortType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsAggregateSortType) Ptr ¶

Ptr returns reference to LogsAggregateSortType value.

func (*LogsAggregateSortType) UnmarshalJSON ¶

func (v *LogsAggregateSortType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsAggregationFunction ¶

type LogsAggregationFunction string

LogsAggregationFunction An aggregation function

const (
	LOGSAGGREGATIONFUNCTION_COUNT         LogsAggregationFunction = "count"
	LOGSAGGREGATIONFUNCTION_CARDINALITY   LogsAggregationFunction = "cardinality"
	LOGSAGGREGATIONFUNCTION_PERCENTILE_75 LogsAggregationFunction = "pc75"
	LOGSAGGREGATIONFUNCTION_PERCENTILE_90 LogsAggregationFunction = "pc90"
	LOGSAGGREGATIONFUNCTION_PERCENTILE_95 LogsAggregationFunction = "pc95"
	LOGSAGGREGATIONFUNCTION_PERCENTILE_98 LogsAggregationFunction = "pc98"
	LOGSAGGREGATIONFUNCTION_PERCENTILE_99 LogsAggregationFunction = "pc99"
	LOGSAGGREGATIONFUNCTION_SUM           LogsAggregationFunction = "sum"
	LOGSAGGREGATIONFUNCTION_MIN           LogsAggregationFunction = "min"
	LOGSAGGREGATIONFUNCTION_MAX           LogsAggregationFunction = "max"
	LOGSAGGREGATIONFUNCTION_AVG           LogsAggregationFunction = "avg"
	LOGSAGGREGATIONFUNCTION_MEDIAN        LogsAggregationFunction = "median"
)

List of LogsAggregationFunction.

func NewLogsAggregationFunctionFromValue ¶

func NewLogsAggregationFunctionFromValue(v string) (*LogsAggregationFunction, error)

NewLogsAggregationFunctionFromValue returns a pointer to a valid LogsAggregationFunction for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsAggregationFunction) GetAllowedValues ¶ added in v1.1.0

func (v *LogsAggregationFunction) GetAllowedValues() []LogsAggregationFunction

GetAllowedValues reeturns the list of possible values.

func (LogsAggregationFunction) IsValid ¶

func (v LogsAggregationFunction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsAggregationFunction) Ptr ¶

Ptr returns reference to LogsAggregationFunction value.

func (*LogsAggregationFunction) UnmarshalJSON ¶

func (v *LogsAggregationFunction) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsApiService ¶

type LogsApiService service

LogsApiService LogsApi service.

func (*LogsApiService) AggregateLogs ¶

AggregateLogs Aggregate events. The API endpoint to aggregate events into buckets and compute metrics and timeseries.

func (*LogsApiService) ListLogs ¶

ListLogs Search logs. List endpoint returns logs that match a log search query. [Results are paginated][1].

Use this endpoint to build complex logs filtering and search.

**If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].**

[1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives

func (*LogsApiService) ListLogsGet ¶

ListLogsGet Get a list of logs. List endpoint returns logs that match a log search query. [Results are paginated][1].

Use this endpoint to see your latest logs.

**If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].**

[1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives

func (*LogsApiService) ListLogsGetWithPagination ¶ added in v1.14.0

func (a *LogsApiService) ListLogsGetWithPagination(ctx _context.Context, o ...ListLogsGetOptionalParameters) (<-chan Log, func(), error)

ListLogsGetWithPagination provides a paginated version of ListLogsGet returning a channel with all items.

func (*LogsApiService) ListLogsWithPagination ¶ added in v1.14.0

func (a *LogsApiService) ListLogsWithPagination(ctx _context.Context, o ...ListLogsOptionalParameters) (<-chan Log, func(), error)

ListLogsWithPagination provides a paginated version of ListLogs returning a channel with all items.

func (*LogsApiService) SubmitLog ¶ added in v1.6.0

func (a *LogsApiService) SubmitLog(ctx _context.Context, body []HTTPLogItem, o ...SubmitLogOptionalParameters) (interface{}, *_nethttp.Response, error)

SubmitLog Send logs. Send your logs to your Datadog platform over HTTP. Limits per HTTP request are:

- Maximum content size per payload (uncompressed): 5MB - Maximum size for a single log: 1MB - Maximum array size if sending multiple logs in an array: 1000 entries

Any log exceeding 1MB is accepted and truncated by Datadog: - For a single log request, the API truncates the log at 1MB and returns a 2xx. - For a multi-logs request, the API processes all logs, truncates only logs larger than 1MB, and returns a 2xx.

Datadog recommends sending your logs compressed. Add the `Content-Encoding: gzip` header to the request when sending compressed logs.

The status codes answered by the HTTP API are: - 202: Accepted: the request has been accepted for processing - 400: Bad request (likely an issue in the payload formatting) - 401: Unauthorized (likely a missing API Key) - 403: Permission issue (likely using an invalid API Key) - 408: Request Timeout, request should be retried after some time - 413: Payload too large (batch is above 5MB uncompressed) - 429: Too Many Requests, request should be retried after some time - 500: Internal Server Error, the server encountered an unexpected condition that prevented it from fulfilling the request, request should be retried after some time - 503: Service Unavailable, the server is not ready to handle the request probably because it is overloaded, request should be retried after some time

type LogsArchive ¶

type LogsArchive struct {
	// The definition of an archive.
	Data *LogsArchiveDefinition `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchive The logs archive.

func NewLogsArchive ¶

func NewLogsArchive() *LogsArchive

NewLogsArchive instantiates a new LogsArchive object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveWithDefaults ¶

func NewLogsArchiveWithDefaults() *LogsArchive

NewLogsArchiveWithDefaults instantiates a new LogsArchive object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchive) GetData ¶

func (o *LogsArchive) GetData() LogsArchiveDefinition

GetData returns the Data field value if set, zero value otherwise.

func (*LogsArchive) GetDataOk ¶

func (o *LogsArchive) GetDataOk() (*LogsArchiveDefinition, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchive) HasData ¶

func (o *LogsArchive) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsArchive) MarshalJSON ¶

func (o LogsArchive) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchive) SetData ¶

func (o *LogsArchive) SetData(v LogsArchiveDefinition)

SetData gets a reference to the given LogsArchiveDefinition and assigns it to the Data field.

func (*LogsArchive) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsArchive) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveAttributes ¶

type LogsArchiveAttributes struct {
	// An archive's destination.
	Destination NullableLogsArchiveDestination `json:"destination"`
	// To store the tags in the archive, set the value "true".
	// If it is set to "false", the tags will be deleted when the logs are sent to the archive.
	IncludeTags *bool `json:"include_tags,omitempty"`
	// The archive name.
	Name string `json:"name"`
	// The archive query/filter. Logs matching this query are included in the archive.
	Query string `json:"query"`
	// Maximum scan size for rehydration from this archive.
	RehydrationMaxScanSizeInGb NullableInt64 `json:"rehydration_max_scan_size_in_gb,omitempty"`
	// An array of tags to add to rehydrated logs from an archive.
	RehydrationTags []string `json:"rehydration_tags,omitempty"`
	// The state of the archive.
	State *LogsArchiveState `json:"state,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveAttributes The attributes associated with the archive.

func NewLogsArchiveAttributes ¶

func NewLogsArchiveAttributes(destination NullableLogsArchiveDestination, name string, query string) *LogsArchiveAttributes

NewLogsArchiveAttributes instantiates a new LogsArchiveAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveAttributesWithDefaults ¶

func NewLogsArchiveAttributesWithDefaults() *LogsArchiveAttributes

NewLogsArchiveAttributesWithDefaults instantiates a new LogsArchiveAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveAttributes) GetDestination ¶

func (o *LogsArchiveAttributes) GetDestination() LogsArchiveDestination

GetDestination returns the Destination field value. If the value is explicit nil, the zero value for LogsArchiveDestination will be returned.

func (*LogsArchiveAttributes) GetDestinationOk ¶

func (o *LogsArchiveAttributes) GetDestinationOk() (*LogsArchiveDestination, bool)

GetDestinationOk returns a tuple with the Destination 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 (*LogsArchiveAttributes) GetIncludeTags ¶

func (o *LogsArchiveAttributes) GetIncludeTags() bool

GetIncludeTags returns the IncludeTags field value if set, zero value otherwise.

func (*LogsArchiveAttributes) GetIncludeTagsOk ¶

func (o *LogsArchiveAttributes) GetIncludeTagsOk() (*bool, bool)

GetIncludeTagsOk returns a tuple with the IncludeTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveAttributes) GetName ¶

func (o *LogsArchiveAttributes) GetName() string

GetName returns the Name field value.

func (*LogsArchiveAttributes) GetNameOk ¶

func (o *LogsArchiveAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*LogsArchiveAttributes) GetQuery ¶

func (o *LogsArchiveAttributes) GetQuery() string

GetQuery returns the Query field value.

func (*LogsArchiveAttributes) GetQueryOk ¶

func (o *LogsArchiveAttributes) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (*LogsArchiveAttributes) GetRehydrationMaxScanSizeInGb ¶ added in v1.14.0

func (o *LogsArchiveAttributes) GetRehydrationMaxScanSizeInGb() int64

GetRehydrationMaxScanSizeInGb returns the RehydrationMaxScanSizeInGb field value if set, zero value otherwise (both if not set or set to explicit null).

func (*LogsArchiveAttributes) GetRehydrationMaxScanSizeInGbOk ¶ added in v1.14.0

func (o *LogsArchiveAttributes) GetRehydrationMaxScanSizeInGbOk() (*int64, bool)

GetRehydrationMaxScanSizeInGbOk returns a tuple with the RehydrationMaxScanSizeInGb 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 (*LogsArchiveAttributes) GetRehydrationTags ¶

func (o *LogsArchiveAttributes) GetRehydrationTags() []string

GetRehydrationTags returns the RehydrationTags field value if set, zero value otherwise.

func (*LogsArchiveAttributes) GetRehydrationTagsOk ¶

func (o *LogsArchiveAttributes) GetRehydrationTagsOk() (*[]string, bool)

GetRehydrationTagsOk returns a tuple with the RehydrationTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveAttributes) GetState ¶

GetState returns the State field value if set, zero value otherwise.

func (*LogsArchiveAttributes) GetStateOk ¶

func (o *LogsArchiveAttributes) GetStateOk() (*LogsArchiveState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveAttributes) HasIncludeTags ¶

func (o *LogsArchiveAttributes) HasIncludeTags() bool

HasIncludeTags returns a boolean if a field has been set.

func (*LogsArchiveAttributes) HasRehydrationMaxScanSizeInGb ¶ added in v1.14.0

func (o *LogsArchiveAttributes) HasRehydrationMaxScanSizeInGb() bool

HasRehydrationMaxScanSizeInGb returns a boolean if a field has been set.

func (*LogsArchiveAttributes) HasRehydrationTags ¶

func (o *LogsArchiveAttributes) HasRehydrationTags() bool

HasRehydrationTags returns a boolean if a field has been set.

func (*LogsArchiveAttributes) HasState ¶

func (o *LogsArchiveAttributes) HasState() bool

HasState returns a boolean if a field has been set.

func (LogsArchiveAttributes) MarshalJSON ¶

func (o LogsArchiveAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveAttributes) SetDestination ¶

func (o *LogsArchiveAttributes) SetDestination(v LogsArchiveDestination)

SetDestination sets field value.

func (*LogsArchiveAttributes) SetIncludeTags ¶

func (o *LogsArchiveAttributes) SetIncludeTags(v bool)

SetIncludeTags gets a reference to the given bool and assigns it to the IncludeTags field.

func (*LogsArchiveAttributes) SetName ¶

func (o *LogsArchiveAttributes) SetName(v string)

SetName sets field value.

func (*LogsArchiveAttributes) SetQuery ¶

func (o *LogsArchiveAttributes) SetQuery(v string)

SetQuery sets field value.

func (*LogsArchiveAttributes) SetRehydrationMaxScanSizeInGb ¶ added in v1.14.0

func (o *LogsArchiveAttributes) SetRehydrationMaxScanSizeInGb(v int64)

SetRehydrationMaxScanSizeInGb gets a reference to the given NullableInt64 and assigns it to the RehydrationMaxScanSizeInGb field.

func (*LogsArchiveAttributes) SetRehydrationMaxScanSizeInGbNil ¶ added in v1.14.0

func (o *LogsArchiveAttributes) SetRehydrationMaxScanSizeInGbNil()

SetRehydrationMaxScanSizeInGbNil sets the value for RehydrationMaxScanSizeInGb to be an explicit nil.

func (*LogsArchiveAttributes) SetRehydrationTags ¶

func (o *LogsArchiveAttributes) SetRehydrationTags(v []string)

SetRehydrationTags gets a reference to the given []string and assigns it to the RehydrationTags field.

func (*LogsArchiveAttributes) SetState ¶

func (o *LogsArchiveAttributes) SetState(v LogsArchiveState)

SetState gets a reference to the given LogsArchiveState and assigns it to the State field.

func (*LogsArchiveAttributes) UnmarshalJSON ¶

func (o *LogsArchiveAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*LogsArchiveAttributes) UnsetRehydrationMaxScanSizeInGb ¶ added in v1.14.0

func (o *LogsArchiveAttributes) UnsetRehydrationMaxScanSizeInGb()

UnsetRehydrationMaxScanSizeInGb ensures that no value is present for RehydrationMaxScanSizeInGb, not even an explicit nil.

type LogsArchiveCreateRequest ¶

type LogsArchiveCreateRequest struct {
	// The definition of an archive.
	Data *LogsArchiveCreateRequestDefinition `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveCreateRequest The logs archive.

func NewLogsArchiveCreateRequest ¶

func NewLogsArchiveCreateRequest() *LogsArchiveCreateRequest

NewLogsArchiveCreateRequest instantiates a new LogsArchiveCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveCreateRequestWithDefaults ¶

func NewLogsArchiveCreateRequestWithDefaults() *LogsArchiveCreateRequest

NewLogsArchiveCreateRequestWithDefaults instantiates a new LogsArchiveCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveCreateRequest) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*LogsArchiveCreateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveCreateRequest) HasData ¶

func (o *LogsArchiveCreateRequest) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsArchiveCreateRequest) MarshalJSON ¶

func (o LogsArchiveCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveCreateRequest) SetData ¶

SetData gets a reference to the given LogsArchiveCreateRequestDefinition and assigns it to the Data field.

func (*LogsArchiveCreateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsArchiveCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveCreateRequestAttributes ¶

type LogsArchiveCreateRequestAttributes struct {
	// An archive's destination.
	Destination LogsArchiveCreateRequestDestination `json:"destination"`
	// To store the tags in the archive, set the value "true".
	// If it is set to "false", the tags will be deleted when the logs are sent to the archive.
	IncludeTags *bool `json:"include_tags,omitempty"`
	// The archive name.
	Name string `json:"name"`
	// The archive query/filter. Logs matching this query are included in the archive.
	Query string `json:"query"`
	// Maximum scan size for rehydration from this archive.
	RehydrationMaxScanSizeInGb NullableInt64 `json:"rehydration_max_scan_size_in_gb,omitempty"`
	// An array of tags to add to rehydrated logs from an archive.
	RehydrationTags []string `json:"rehydration_tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveCreateRequestAttributes The attributes associated with the archive.

func NewLogsArchiveCreateRequestAttributes ¶

func NewLogsArchiveCreateRequestAttributes(destination LogsArchiveCreateRequestDestination, name string, query string) *LogsArchiveCreateRequestAttributes

NewLogsArchiveCreateRequestAttributes instantiates a new LogsArchiveCreateRequestAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveCreateRequestAttributesWithDefaults ¶

func NewLogsArchiveCreateRequestAttributesWithDefaults() *LogsArchiveCreateRequestAttributes

NewLogsArchiveCreateRequestAttributesWithDefaults instantiates a new LogsArchiveCreateRequestAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveCreateRequestAttributes) GetDestination ¶

GetDestination returns the Destination field value.

func (*LogsArchiveCreateRequestAttributes) GetDestinationOk ¶

GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.

func (*LogsArchiveCreateRequestAttributes) GetIncludeTags ¶

func (o *LogsArchiveCreateRequestAttributes) GetIncludeTags() bool

GetIncludeTags returns the IncludeTags field value if set, zero value otherwise.

func (*LogsArchiveCreateRequestAttributes) GetIncludeTagsOk ¶

func (o *LogsArchiveCreateRequestAttributes) GetIncludeTagsOk() (*bool, bool)

GetIncludeTagsOk returns a tuple with the IncludeTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveCreateRequestAttributes) GetName ¶

GetName returns the Name field value.

func (*LogsArchiveCreateRequestAttributes) GetNameOk ¶

func (o *LogsArchiveCreateRequestAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*LogsArchiveCreateRequestAttributes) GetQuery ¶

GetQuery returns the Query field value.

func (*LogsArchiveCreateRequestAttributes) GetQueryOk ¶

func (o *LogsArchiveCreateRequestAttributes) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (*LogsArchiveCreateRequestAttributes) GetRehydrationMaxScanSizeInGb ¶ added in v1.14.0

func (o *LogsArchiveCreateRequestAttributes) GetRehydrationMaxScanSizeInGb() int64

GetRehydrationMaxScanSizeInGb returns the RehydrationMaxScanSizeInGb field value if set, zero value otherwise (both if not set or set to explicit null).

func (*LogsArchiveCreateRequestAttributes) GetRehydrationMaxScanSizeInGbOk ¶ added in v1.14.0

func (o *LogsArchiveCreateRequestAttributes) GetRehydrationMaxScanSizeInGbOk() (*int64, bool)

GetRehydrationMaxScanSizeInGbOk returns a tuple with the RehydrationMaxScanSizeInGb 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 (*LogsArchiveCreateRequestAttributes) GetRehydrationTags ¶

func (o *LogsArchiveCreateRequestAttributes) GetRehydrationTags() []string

GetRehydrationTags returns the RehydrationTags field value if set, zero value otherwise.

func (*LogsArchiveCreateRequestAttributes) GetRehydrationTagsOk ¶

func (o *LogsArchiveCreateRequestAttributes) GetRehydrationTagsOk() (*[]string, bool)

GetRehydrationTagsOk returns a tuple with the RehydrationTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveCreateRequestAttributes) HasIncludeTags ¶

func (o *LogsArchiveCreateRequestAttributes) HasIncludeTags() bool

HasIncludeTags returns a boolean if a field has been set.

func (*LogsArchiveCreateRequestAttributes) HasRehydrationMaxScanSizeInGb ¶ added in v1.14.0

func (o *LogsArchiveCreateRequestAttributes) HasRehydrationMaxScanSizeInGb() bool

HasRehydrationMaxScanSizeInGb returns a boolean if a field has been set.

func (*LogsArchiveCreateRequestAttributes) HasRehydrationTags ¶

func (o *LogsArchiveCreateRequestAttributes) HasRehydrationTags() bool

HasRehydrationTags returns a boolean if a field has been set.

func (LogsArchiveCreateRequestAttributes) MarshalJSON ¶

func (o LogsArchiveCreateRequestAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveCreateRequestAttributes) SetDestination ¶

SetDestination sets field value.

func (*LogsArchiveCreateRequestAttributes) SetIncludeTags ¶

func (o *LogsArchiveCreateRequestAttributes) SetIncludeTags(v bool)

SetIncludeTags gets a reference to the given bool and assigns it to the IncludeTags field.

func (*LogsArchiveCreateRequestAttributes) SetName ¶

SetName sets field value.

func (*LogsArchiveCreateRequestAttributes) SetQuery ¶

SetQuery sets field value.

func (*LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGb ¶ added in v1.14.0

func (o *LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGb(v int64)

SetRehydrationMaxScanSizeInGb gets a reference to the given NullableInt64 and assigns it to the RehydrationMaxScanSizeInGb field.

func (*LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGbNil ¶ added in v1.14.0

func (o *LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGbNil()

SetRehydrationMaxScanSizeInGbNil sets the value for RehydrationMaxScanSizeInGb to be an explicit nil.

func (*LogsArchiveCreateRequestAttributes) SetRehydrationTags ¶

func (o *LogsArchiveCreateRequestAttributes) SetRehydrationTags(v []string)

SetRehydrationTags gets a reference to the given []string and assigns it to the RehydrationTags field.

func (*LogsArchiveCreateRequestAttributes) UnmarshalJSON ¶

func (o *LogsArchiveCreateRequestAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*LogsArchiveCreateRequestAttributes) UnsetRehydrationMaxScanSizeInGb ¶ added in v1.14.0

func (o *LogsArchiveCreateRequestAttributes) UnsetRehydrationMaxScanSizeInGb()

UnsetRehydrationMaxScanSizeInGb ensures that no value is present for RehydrationMaxScanSizeInGb, not even an explicit nil.

type LogsArchiveCreateRequestDefinition ¶

type LogsArchiveCreateRequestDefinition struct {
	// The attributes associated with the archive.
	Attributes *LogsArchiveCreateRequestAttributes `json:"attributes,omitempty"`
	// The type of the resource. The value should always be archives.
	Type string `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveCreateRequestDefinition The definition of an archive.

func NewLogsArchiveCreateRequestDefinition ¶

func NewLogsArchiveCreateRequestDefinition(typeVar string) *LogsArchiveCreateRequestDefinition

NewLogsArchiveCreateRequestDefinition instantiates a new LogsArchiveCreateRequestDefinition object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveCreateRequestDefinitionWithDefaults ¶

func NewLogsArchiveCreateRequestDefinitionWithDefaults() *LogsArchiveCreateRequestDefinition

NewLogsArchiveCreateRequestDefinitionWithDefaults instantiates a new LogsArchiveCreateRequestDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveCreateRequestDefinition) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*LogsArchiveCreateRequestDefinition) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveCreateRequestDefinition) GetType ¶

GetType returns the Type field value.

func (*LogsArchiveCreateRequestDefinition) GetTypeOk ¶

func (o *LogsArchiveCreateRequestDefinition) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsArchiveCreateRequestDefinition) HasAttributes ¶

func (o *LogsArchiveCreateRequestDefinition) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (LogsArchiveCreateRequestDefinition) MarshalJSON ¶

func (o LogsArchiveCreateRequestDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveCreateRequestDefinition) SetAttributes ¶

SetAttributes gets a reference to the given LogsArchiveCreateRequestAttributes and assigns it to the Attributes field.

func (*LogsArchiveCreateRequestDefinition) SetType ¶

SetType sets field value.

func (*LogsArchiveCreateRequestDefinition) UnmarshalJSON ¶

func (o *LogsArchiveCreateRequestDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveCreateRequestDestination ¶

type LogsArchiveCreateRequestDestination struct {
	LogsArchiveDestinationAzure *LogsArchiveDestinationAzure
	LogsArchiveDestinationGCS   *LogsArchiveDestinationGCS
	LogsArchiveDestinationS3    *LogsArchiveDestinationS3

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

LogsArchiveCreateRequestDestination - An archive's destination.

func LogsArchiveDestinationAzureAsLogsArchiveCreateRequestDestination ¶

func LogsArchiveDestinationAzureAsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationAzure) LogsArchiveCreateRequestDestination

LogsArchiveDestinationAzureAsLogsArchiveCreateRequestDestination is a convenience function that returns LogsArchiveDestinationAzure wrapped in LogsArchiveCreateRequestDestination.

func LogsArchiveDestinationGCSAsLogsArchiveCreateRequestDestination ¶

func LogsArchiveDestinationGCSAsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationGCS) LogsArchiveCreateRequestDestination

LogsArchiveDestinationGCSAsLogsArchiveCreateRequestDestination is a convenience function that returns LogsArchiveDestinationGCS wrapped in LogsArchiveCreateRequestDestination.

func LogsArchiveDestinationS3AsLogsArchiveCreateRequestDestination ¶

func LogsArchiveDestinationS3AsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationS3) LogsArchiveCreateRequestDestination

LogsArchiveDestinationS3AsLogsArchiveCreateRequestDestination is a convenience function that returns LogsArchiveDestinationS3 wrapped in LogsArchiveCreateRequestDestination.

func (*LogsArchiveCreateRequestDestination) GetActualInstance ¶

func (obj *LogsArchiveCreateRequestDestination) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (LogsArchiveCreateRequestDestination) MarshalJSON ¶

func (obj LogsArchiveCreateRequestDestination) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*LogsArchiveCreateRequestDestination) UnmarshalJSON ¶

func (obj *LogsArchiveCreateRequestDestination) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type LogsArchiveDefinition ¶

type LogsArchiveDefinition struct {
	// The attributes associated with the archive.
	Attributes *LogsArchiveAttributes `json:"attributes,omitempty"`
	// The archive ID.
	Id *string `json:"id,omitempty"`
	// The type of the resource. The value should always be archives.
	Type string `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveDefinition The definition of an archive.

func NewLogsArchiveDefinition ¶

func NewLogsArchiveDefinition(typeVar string) *LogsArchiveDefinition

NewLogsArchiveDefinition instantiates a new LogsArchiveDefinition object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveDefinitionWithDefaults ¶

func NewLogsArchiveDefinitionWithDefaults() *LogsArchiveDefinition

NewLogsArchiveDefinitionWithDefaults instantiates a new LogsArchiveDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveDefinition) GetAttributes ¶

func (o *LogsArchiveDefinition) GetAttributes() LogsArchiveAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*LogsArchiveDefinition) GetAttributesOk ¶

func (o *LogsArchiveDefinition) GetAttributesOk() (*LogsArchiveAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveDefinition) GetId ¶

func (o *LogsArchiveDefinition) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*LogsArchiveDefinition) GetIdOk ¶

func (o *LogsArchiveDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveDefinition) GetType ¶

func (o *LogsArchiveDefinition) GetType() string

GetType returns the Type field value.

func (*LogsArchiveDefinition) GetTypeOk ¶

func (o *LogsArchiveDefinition) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsArchiveDefinition) HasAttributes ¶

func (o *LogsArchiveDefinition) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*LogsArchiveDefinition) HasId ¶

func (o *LogsArchiveDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (LogsArchiveDefinition) MarshalJSON ¶

func (o LogsArchiveDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveDefinition) SetAttributes ¶

func (o *LogsArchiveDefinition) SetAttributes(v LogsArchiveAttributes)

SetAttributes gets a reference to the given LogsArchiveAttributes and assigns it to the Attributes field.

func (*LogsArchiveDefinition) SetId ¶

func (o *LogsArchiveDefinition) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*LogsArchiveDefinition) SetType ¶

func (o *LogsArchiveDefinition) SetType(v string)

SetType sets field value.

func (*LogsArchiveDefinition) UnmarshalJSON ¶

func (o *LogsArchiveDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveDestination ¶

type LogsArchiveDestination struct {
	LogsArchiveDestinationAzure *LogsArchiveDestinationAzure
	LogsArchiveDestinationGCS   *LogsArchiveDestinationGCS
	LogsArchiveDestinationS3    *LogsArchiveDestinationS3

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

LogsArchiveDestination - An archive's destination.

func LogsArchiveDestinationAzureAsLogsArchiveDestination ¶

func LogsArchiveDestinationAzureAsLogsArchiveDestination(v *LogsArchiveDestinationAzure) LogsArchiveDestination

LogsArchiveDestinationAzureAsLogsArchiveDestination is a convenience function that returns LogsArchiveDestinationAzure wrapped in LogsArchiveDestination.

func LogsArchiveDestinationGCSAsLogsArchiveDestination ¶

func LogsArchiveDestinationGCSAsLogsArchiveDestination(v *LogsArchiveDestinationGCS) LogsArchiveDestination

LogsArchiveDestinationGCSAsLogsArchiveDestination is a convenience function that returns LogsArchiveDestinationGCS wrapped in LogsArchiveDestination.

func LogsArchiveDestinationS3AsLogsArchiveDestination ¶

func LogsArchiveDestinationS3AsLogsArchiveDestination(v *LogsArchiveDestinationS3) LogsArchiveDestination

LogsArchiveDestinationS3AsLogsArchiveDestination is a convenience function that returns LogsArchiveDestinationS3 wrapped in LogsArchiveDestination.

func (*LogsArchiveDestination) GetActualInstance ¶

func (obj *LogsArchiveDestination) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (LogsArchiveDestination) MarshalJSON ¶

func (obj LogsArchiveDestination) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*LogsArchiveDestination) UnmarshalJSON ¶

func (obj *LogsArchiveDestination) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type LogsArchiveDestinationAzure ¶

type LogsArchiveDestinationAzure struct {
	// The container where the archive will be stored.
	Container string `json:"container"`
	// The Azure archive's integration destination.
	Integration LogsArchiveIntegrationAzure `json:"integration"`
	// The archive path.
	Path *string `json:"path,omitempty"`
	// The region where the archive will be stored.
	Region *string `json:"region,omitempty"`
	// The associated storage account.
	StorageAccount string `json:"storage_account"`
	// Type of the Azure archive destination.
	Type LogsArchiveDestinationAzureType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveDestinationAzure The Azure archive destination.

func NewLogsArchiveDestinationAzure ¶

func NewLogsArchiveDestinationAzure(container string, integration LogsArchiveIntegrationAzure, storageAccount string, typeVar LogsArchiveDestinationAzureType) *LogsArchiveDestinationAzure

NewLogsArchiveDestinationAzure instantiates a new LogsArchiveDestinationAzure object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveDestinationAzureWithDefaults ¶

func NewLogsArchiveDestinationAzureWithDefaults() *LogsArchiveDestinationAzure

NewLogsArchiveDestinationAzureWithDefaults instantiates a new LogsArchiveDestinationAzure object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveDestinationAzure) GetContainer ¶

func (o *LogsArchiveDestinationAzure) GetContainer() string

GetContainer returns the Container field value.

func (*LogsArchiveDestinationAzure) GetContainerOk ¶

func (o *LogsArchiveDestinationAzure) GetContainerOk() (*string, bool)

GetContainerOk returns a tuple with the Container field value and a boolean to check if the value has been set.

func (*LogsArchiveDestinationAzure) GetIntegration ¶

GetIntegration returns the Integration field value.

func (*LogsArchiveDestinationAzure) GetIntegrationOk ¶

GetIntegrationOk returns a tuple with the Integration field value and a boolean to check if the value has been set.

func (*LogsArchiveDestinationAzure) GetPath ¶

func (o *LogsArchiveDestinationAzure) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsArchiveDestinationAzure) GetPathOk ¶

func (o *LogsArchiveDestinationAzure) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveDestinationAzure) GetRegion ¶

func (o *LogsArchiveDestinationAzure) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*LogsArchiveDestinationAzure) GetRegionOk ¶

func (o *LogsArchiveDestinationAzure) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveDestinationAzure) GetStorageAccount ¶

func (o *LogsArchiveDestinationAzure) GetStorageAccount() string

GetStorageAccount returns the StorageAccount field value.

func (*LogsArchiveDestinationAzure) GetStorageAccountOk ¶

func (o *LogsArchiveDestinationAzure) GetStorageAccountOk() (*string, bool)

GetStorageAccountOk returns a tuple with the StorageAccount field value and a boolean to check if the value has been set.

func (*LogsArchiveDestinationAzure) GetType ¶

GetType returns the Type field value.

func (*LogsArchiveDestinationAzure) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsArchiveDestinationAzure) HasPath ¶

func (o *LogsArchiveDestinationAzure) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*LogsArchiveDestinationAzure) HasRegion ¶

func (o *LogsArchiveDestinationAzure) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (LogsArchiveDestinationAzure) MarshalJSON ¶

func (o LogsArchiveDestinationAzure) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveDestinationAzure) SetContainer ¶

func (o *LogsArchiveDestinationAzure) SetContainer(v string)

SetContainer sets field value.

func (*LogsArchiveDestinationAzure) SetIntegration ¶

SetIntegration sets field value.

func (*LogsArchiveDestinationAzure) SetPath ¶

func (o *LogsArchiveDestinationAzure) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsArchiveDestinationAzure) SetRegion ¶

func (o *LogsArchiveDestinationAzure) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*LogsArchiveDestinationAzure) SetStorageAccount ¶

func (o *LogsArchiveDestinationAzure) SetStorageAccount(v string)

SetStorageAccount sets field value.

func (*LogsArchiveDestinationAzure) SetType ¶

SetType sets field value.

func (*LogsArchiveDestinationAzure) UnmarshalJSON ¶

func (o *LogsArchiveDestinationAzure) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveDestinationAzureType ¶

type LogsArchiveDestinationAzureType string

LogsArchiveDestinationAzureType Type of the Azure archive destination.

const (
	LOGSARCHIVEDESTINATIONAZURETYPE_AZURE LogsArchiveDestinationAzureType = "azure"
)

List of LogsArchiveDestinationAzureType.

func NewLogsArchiveDestinationAzureTypeFromValue ¶

func NewLogsArchiveDestinationAzureTypeFromValue(v string) (*LogsArchiveDestinationAzureType, error)

NewLogsArchiveDestinationAzureTypeFromValue returns a pointer to a valid LogsArchiveDestinationAzureType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsArchiveDestinationAzureType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (LogsArchiveDestinationAzureType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsArchiveDestinationAzureType) Ptr ¶

Ptr returns reference to LogsArchiveDestinationAzureType value.

func (*LogsArchiveDestinationAzureType) UnmarshalJSON ¶

func (v *LogsArchiveDestinationAzureType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsArchiveDestinationGCS ¶

type LogsArchiveDestinationGCS struct {
	// The bucket where the archive will be stored.
	Bucket string `json:"bucket"`
	// The GCS archive's integration destination.
	Integration LogsArchiveIntegrationGCS `json:"integration"`
	// The archive path.
	Path *string `json:"path,omitempty"`
	// Type of the GCS archive destination.
	Type LogsArchiveDestinationGCSType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveDestinationGCS The GCS archive destination.

func NewLogsArchiveDestinationGCS ¶

func NewLogsArchiveDestinationGCS(bucket string, integration LogsArchiveIntegrationGCS, typeVar LogsArchiveDestinationGCSType) *LogsArchiveDestinationGCS

NewLogsArchiveDestinationGCS instantiates a new LogsArchiveDestinationGCS object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveDestinationGCSWithDefaults ¶

func NewLogsArchiveDestinationGCSWithDefaults() *LogsArchiveDestinationGCS

NewLogsArchiveDestinationGCSWithDefaults instantiates a new LogsArchiveDestinationGCS object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveDestinationGCS) GetBucket ¶

func (o *LogsArchiveDestinationGCS) GetBucket() string

GetBucket returns the Bucket field value.

func (*LogsArchiveDestinationGCS) GetBucketOk ¶

func (o *LogsArchiveDestinationGCS) GetBucketOk() (*string, bool)

GetBucketOk returns a tuple with the Bucket field value and a boolean to check if the value has been set.

func (*LogsArchiveDestinationGCS) GetIntegration ¶

GetIntegration returns the Integration field value.

func (*LogsArchiveDestinationGCS) GetIntegrationOk ¶

func (o *LogsArchiveDestinationGCS) GetIntegrationOk() (*LogsArchiveIntegrationGCS, bool)

GetIntegrationOk returns a tuple with the Integration field value and a boolean to check if the value has been set.

func (*LogsArchiveDestinationGCS) GetPath ¶

func (o *LogsArchiveDestinationGCS) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsArchiveDestinationGCS) GetPathOk ¶

func (o *LogsArchiveDestinationGCS) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveDestinationGCS) GetType ¶

GetType returns the Type field value.

func (*LogsArchiveDestinationGCS) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsArchiveDestinationGCS) HasPath ¶

func (o *LogsArchiveDestinationGCS) HasPath() bool

HasPath returns a boolean if a field has been set.

func (LogsArchiveDestinationGCS) MarshalJSON ¶

func (o LogsArchiveDestinationGCS) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveDestinationGCS) SetBucket ¶

func (o *LogsArchiveDestinationGCS) SetBucket(v string)

SetBucket sets field value.

func (*LogsArchiveDestinationGCS) SetIntegration ¶

SetIntegration sets field value.

func (*LogsArchiveDestinationGCS) SetPath ¶

func (o *LogsArchiveDestinationGCS) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsArchiveDestinationGCS) SetType ¶

SetType sets field value.

func (*LogsArchiveDestinationGCS) UnmarshalJSON ¶

func (o *LogsArchiveDestinationGCS) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveDestinationGCSType ¶

type LogsArchiveDestinationGCSType string

LogsArchiveDestinationGCSType Type of the GCS archive destination.

const (
	LOGSARCHIVEDESTINATIONGCSTYPE_GCS LogsArchiveDestinationGCSType = "gcs"
)

List of LogsArchiveDestinationGCSType.

func NewLogsArchiveDestinationGCSTypeFromValue ¶

func NewLogsArchiveDestinationGCSTypeFromValue(v string) (*LogsArchiveDestinationGCSType, error)

NewLogsArchiveDestinationGCSTypeFromValue returns a pointer to a valid LogsArchiveDestinationGCSType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsArchiveDestinationGCSType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (LogsArchiveDestinationGCSType) IsValid ¶

func (v LogsArchiveDestinationGCSType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsArchiveDestinationGCSType) Ptr ¶

Ptr returns reference to LogsArchiveDestinationGCSType value.

func (*LogsArchiveDestinationGCSType) UnmarshalJSON ¶

func (v *LogsArchiveDestinationGCSType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsArchiveDestinationS3 ¶

type LogsArchiveDestinationS3 struct {
	// The bucket where the archive will be stored.
	Bucket string `json:"bucket"`
	// The S3 Archive's integration destination.
	Integration LogsArchiveIntegrationS3 `json:"integration"`
	// The archive path.
	Path *string `json:"path,omitempty"`
	// Type of the S3 archive destination.
	Type LogsArchiveDestinationS3Type `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveDestinationS3 The S3 archive destination.

func NewLogsArchiveDestinationS3 ¶

func NewLogsArchiveDestinationS3(bucket string, integration LogsArchiveIntegrationS3, typeVar LogsArchiveDestinationS3Type) *LogsArchiveDestinationS3

NewLogsArchiveDestinationS3 instantiates a new LogsArchiveDestinationS3 object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveDestinationS3WithDefaults ¶

func NewLogsArchiveDestinationS3WithDefaults() *LogsArchiveDestinationS3

NewLogsArchiveDestinationS3WithDefaults instantiates a new LogsArchiveDestinationS3 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveDestinationS3) GetBucket ¶

func (o *LogsArchiveDestinationS3) GetBucket() string

GetBucket returns the Bucket field value.

func (*LogsArchiveDestinationS3) GetBucketOk ¶

func (o *LogsArchiveDestinationS3) GetBucketOk() (*string, bool)

GetBucketOk returns a tuple with the Bucket field value and a boolean to check if the value has been set.

func (*LogsArchiveDestinationS3) GetIntegration ¶

GetIntegration returns the Integration field value.

func (*LogsArchiveDestinationS3) GetIntegrationOk ¶

func (o *LogsArchiveDestinationS3) GetIntegrationOk() (*LogsArchiveIntegrationS3, bool)

GetIntegrationOk returns a tuple with the Integration field value and a boolean to check if the value has been set.

func (*LogsArchiveDestinationS3) GetPath ¶

func (o *LogsArchiveDestinationS3) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsArchiveDestinationS3) GetPathOk ¶

func (o *LogsArchiveDestinationS3) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveDestinationS3) GetType ¶

GetType returns the Type field value.

func (*LogsArchiveDestinationS3) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsArchiveDestinationS3) HasPath ¶

func (o *LogsArchiveDestinationS3) HasPath() bool

HasPath returns a boolean if a field has been set.

func (LogsArchiveDestinationS3) MarshalJSON ¶

func (o LogsArchiveDestinationS3) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveDestinationS3) SetBucket ¶

func (o *LogsArchiveDestinationS3) SetBucket(v string)

SetBucket sets field value.

func (*LogsArchiveDestinationS3) SetIntegration ¶

SetIntegration sets field value.

func (*LogsArchiveDestinationS3) SetPath ¶

func (o *LogsArchiveDestinationS3) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsArchiveDestinationS3) SetType ¶

SetType sets field value.

func (*LogsArchiveDestinationS3) UnmarshalJSON ¶

func (o *LogsArchiveDestinationS3) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveDestinationS3Type ¶

type LogsArchiveDestinationS3Type string

LogsArchiveDestinationS3Type Type of the S3 archive destination.

const (
	LOGSARCHIVEDESTINATIONS3TYPE_S3 LogsArchiveDestinationS3Type = "s3"
)

List of LogsArchiveDestinationS3Type.

func NewLogsArchiveDestinationS3TypeFromValue ¶

func NewLogsArchiveDestinationS3TypeFromValue(v string) (*LogsArchiveDestinationS3Type, error)

NewLogsArchiveDestinationS3TypeFromValue returns a pointer to a valid LogsArchiveDestinationS3Type for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsArchiveDestinationS3Type) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (LogsArchiveDestinationS3Type) IsValid ¶

func (v LogsArchiveDestinationS3Type) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsArchiveDestinationS3Type) Ptr ¶

Ptr returns reference to LogsArchiveDestinationS3Type value.

func (*LogsArchiveDestinationS3Type) UnmarshalJSON ¶

func (v *LogsArchiveDestinationS3Type) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsArchiveIntegrationAzure ¶

type LogsArchiveIntegrationAzure struct {
	// A client ID.
	ClientId string `json:"client_id"`
	// A tenant ID.
	TenantId string `json:"tenant_id"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveIntegrationAzure The Azure archive's integration destination.

func NewLogsArchiveIntegrationAzure ¶

func NewLogsArchiveIntegrationAzure(clientId string, tenantId string) *LogsArchiveIntegrationAzure

NewLogsArchiveIntegrationAzure instantiates a new LogsArchiveIntegrationAzure object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveIntegrationAzureWithDefaults ¶

func NewLogsArchiveIntegrationAzureWithDefaults() *LogsArchiveIntegrationAzure

NewLogsArchiveIntegrationAzureWithDefaults instantiates a new LogsArchiveIntegrationAzure object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveIntegrationAzure) GetClientId ¶

func (o *LogsArchiveIntegrationAzure) GetClientId() string

GetClientId returns the ClientId field value.

func (*LogsArchiveIntegrationAzure) GetClientIdOk ¶

func (o *LogsArchiveIntegrationAzure) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.

func (*LogsArchiveIntegrationAzure) GetTenantId ¶

func (o *LogsArchiveIntegrationAzure) GetTenantId() string

GetTenantId returns the TenantId field value.

func (*LogsArchiveIntegrationAzure) GetTenantIdOk ¶

func (o *LogsArchiveIntegrationAzure) GetTenantIdOk() (*string, bool)

GetTenantIdOk returns a tuple with the TenantId field value and a boolean to check if the value has been set.

func (LogsArchiveIntegrationAzure) MarshalJSON ¶

func (o LogsArchiveIntegrationAzure) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveIntegrationAzure) SetClientId ¶

func (o *LogsArchiveIntegrationAzure) SetClientId(v string)

SetClientId sets field value.

func (*LogsArchiveIntegrationAzure) SetTenantId ¶

func (o *LogsArchiveIntegrationAzure) SetTenantId(v string)

SetTenantId sets field value.

func (*LogsArchiveIntegrationAzure) UnmarshalJSON ¶

func (o *LogsArchiveIntegrationAzure) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveIntegrationGCS ¶

type LogsArchiveIntegrationGCS struct {
	// A client email.
	ClientEmail string `json:"client_email"`
	// A project ID.
	ProjectId string `json:"project_id"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveIntegrationGCS The GCS archive's integration destination.

func NewLogsArchiveIntegrationGCS ¶

func NewLogsArchiveIntegrationGCS(clientEmail string, projectId string) *LogsArchiveIntegrationGCS

NewLogsArchiveIntegrationGCS instantiates a new LogsArchiveIntegrationGCS object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveIntegrationGCSWithDefaults ¶

func NewLogsArchiveIntegrationGCSWithDefaults() *LogsArchiveIntegrationGCS

NewLogsArchiveIntegrationGCSWithDefaults instantiates a new LogsArchiveIntegrationGCS object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveIntegrationGCS) GetClientEmail ¶

func (o *LogsArchiveIntegrationGCS) GetClientEmail() string

GetClientEmail returns the ClientEmail field value.

func (*LogsArchiveIntegrationGCS) GetClientEmailOk ¶

func (o *LogsArchiveIntegrationGCS) GetClientEmailOk() (*string, bool)

GetClientEmailOk returns a tuple with the ClientEmail field value and a boolean to check if the value has been set.

func (*LogsArchiveIntegrationGCS) GetProjectId ¶

func (o *LogsArchiveIntegrationGCS) GetProjectId() string

GetProjectId returns the ProjectId field value.

func (*LogsArchiveIntegrationGCS) GetProjectIdOk ¶

func (o *LogsArchiveIntegrationGCS) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (LogsArchiveIntegrationGCS) MarshalJSON ¶

func (o LogsArchiveIntegrationGCS) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveIntegrationGCS) SetClientEmail ¶

func (o *LogsArchiveIntegrationGCS) SetClientEmail(v string)

SetClientEmail sets field value.

func (*LogsArchiveIntegrationGCS) SetProjectId ¶

func (o *LogsArchiveIntegrationGCS) SetProjectId(v string)

SetProjectId sets field value.

func (*LogsArchiveIntegrationGCS) UnmarshalJSON ¶

func (o *LogsArchiveIntegrationGCS) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveIntegrationS3 ¶

type LogsArchiveIntegrationS3 struct {
	// The account ID for the integration.
	AccountId string `json:"account_id"`
	// The path of the integration.
	RoleName string `json:"role_name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveIntegrationS3 The S3 Archive's integration destination.

func NewLogsArchiveIntegrationS3 ¶

func NewLogsArchiveIntegrationS3(accountId string, roleName string) *LogsArchiveIntegrationS3

NewLogsArchiveIntegrationS3 instantiates a new LogsArchiveIntegrationS3 object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveIntegrationS3WithDefaults ¶

func NewLogsArchiveIntegrationS3WithDefaults() *LogsArchiveIntegrationS3

NewLogsArchiveIntegrationS3WithDefaults instantiates a new LogsArchiveIntegrationS3 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveIntegrationS3) GetAccountId ¶

func (o *LogsArchiveIntegrationS3) GetAccountId() string

GetAccountId returns the AccountId field value.

func (*LogsArchiveIntegrationS3) GetAccountIdOk ¶

func (o *LogsArchiveIntegrationS3) GetAccountIdOk() (*string, bool)

GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set.

func (*LogsArchiveIntegrationS3) GetRoleName ¶

func (o *LogsArchiveIntegrationS3) GetRoleName() string

GetRoleName returns the RoleName field value.

func (*LogsArchiveIntegrationS3) GetRoleNameOk ¶

func (o *LogsArchiveIntegrationS3) GetRoleNameOk() (*string, bool)

GetRoleNameOk returns a tuple with the RoleName field value and a boolean to check if the value has been set.

func (LogsArchiveIntegrationS3) MarshalJSON ¶

func (o LogsArchiveIntegrationS3) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveIntegrationS3) SetAccountId ¶

func (o *LogsArchiveIntegrationS3) SetAccountId(v string)

SetAccountId sets field value.

func (*LogsArchiveIntegrationS3) SetRoleName ¶

func (o *LogsArchiveIntegrationS3) SetRoleName(v string)

SetRoleName sets field value.

func (*LogsArchiveIntegrationS3) UnmarshalJSON ¶

func (o *LogsArchiveIntegrationS3) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveOrder ¶

type LogsArchiveOrder struct {
	// The definition of an archive order.
	Data *LogsArchiveOrderDefinition `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveOrder A ordered list of archive IDs.

func NewLogsArchiveOrder ¶

func NewLogsArchiveOrder() *LogsArchiveOrder

NewLogsArchiveOrder instantiates a new LogsArchiveOrder object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveOrderWithDefaults ¶

func NewLogsArchiveOrderWithDefaults() *LogsArchiveOrder

NewLogsArchiveOrderWithDefaults instantiates a new LogsArchiveOrder object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveOrder) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*LogsArchiveOrder) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchiveOrder) HasData ¶

func (o *LogsArchiveOrder) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsArchiveOrder) MarshalJSON ¶

func (o LogsArchiveOrder) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveOrder) SetData ¶

SetData gets a reference to the given LogsArchiveOrderDefinition and assigns it to the Data field.

func (*LogsArchiveOrder) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsArchiveOrder) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveOrderAttributes ¶

type LogsArchiveOrderAttributes struct {
	// An ordered array of `<ARCHIVE_ID>` strings, the order of archive IDs in the array
	// define the overall archives order for Datadog.
	ArchiveIds []string `json:"archive_ids"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveOrderAttributes The attributes associated with the archive order.

func NewLogsArchiveOrderAttributes ¶

func NewLogsArchiveOrderAttributes(archiveIds []string) *LogsArchiveOrderAttributes

NewLogsArchiveOrderAttributes instantiates a new LogsArchiveOrderAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveOrderAttributesWithDefaults ¶

func NewLogsArchiveOrderAttributesWithDefaults() *LogsArchiveOrderAttributes

NewLogsArchiveOrderAttributesWithDefaults instantiates a new LogsArchiveOrderAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveOrderAttributes) GetArchiveIds ¶

func (o *LogsArchiveOrderAttributes) GetArchiveIds() []string

GetArchiveIds returns the ArchiveIds field value.

func (*LogsArchiveOrderAttributes) GetArchiveIdsOk ¶

func (o *LogsArchiveOrderAttributes) GetArchiveIdsOk() (*[]string, bool)

GetArchiveIdsOk returns a tuple with the ArchiveIds field value and a boolean to check if the value has been set.

func (LogsArchiveOrderAttributes) MarshalJSON ¶

func (o LogsArchiveOrderAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveOrderAttributes) SetArchiveIds ¶

func (o *LogsArchiveOrderAttributes) SetArchiveIds(v []string)

SetArchiveIds sets field value.

func (*LogsArchiveOrderAttributes) UnmarshalJSON ¶

func (o *LogsArchiveOrderAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveOrderDefinition ¶

type LogsArchiveOrderDefinition struct {
	// The attributes associated with the archive order.
	Attributes LogsArchiveOrderAttributes `json:"attributes"`
	// Type of the archive order definition.
	Type LogsArchiveOrderDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchiveOrderDefinition The definition of an archive order.

func NewLogsArchiveOrderDefinition ¶

func NewLogsArchiveOrderDefinition(attributes LogsArchiveOrderAttributes, typeVar LogsArchiveOrderDefinitionType) *LogsArchiveOrderDefinition

NewLogsArchiveOrderDefinition instantiates a new LogsArchiveOrderDefinition object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchiveOrderDefinitionWithDefaults ¶

func NewLogsArchiveOrderDefinitionWithDefaults() *LogsArchiveOrderDefinition

NewLogsArchiveOrderDefinitionWithDefaults instantiates a new LogsArchiveOrderDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchiveOrderDefinition) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*LogsArchiveOrderDefinition) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*LogsArchiveOrderDefinition) GetType ¶

GetType returns the Type field value.

func (*LogsArchiveOrderDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (LogsArchiveOrderDefinition) MarshalJSON ¶

func (o LogsArchiveOrderDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchiveOrderDefinition) SetAttributes ¶

SetAttributes sets field value.

func (*LogsArchiveOrderDefinition) SetType ¶

SetType sets field value.

func (*LogsArchiveOrderDefinition) UnmarshalJSON ¶

func (o *LogsArchiveOrderDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchiveOrderDefinitionType ¶

type LogsArchiveOrderDefinitionType string

LogsArchiveOrderDefinitionType Type of the archive order definition.

const (
	LOGSARCHIVEORDERDEFINITIONTYPE_ARCHIVE_ORDER LogsArchiveOrderDefinitionType = "archive_order"
)

List of LogsArchiveOrderDefinitionType.

func NewLogsArchiveOrderDefinitionTypeFromValue ¶

func NewLogsArchiveOrderDefinitionTypeFromValue(v string) (*LogsArchiveOrderDefinitionType, error)

NewLogsArchiveOrderDefinitionTypeFromValue returns a pointer to a valid LogsArchiveOrderDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsArchiveOrderDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (LogsArchiveOrderDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsArchiveOrderDefinitionType) Ptr ¶

Ptr returns reference to LogsArchiveOrderDefinitionType value.

func (*LogsArchiveOrderDefinitionType) UnmarshalJSON ¶

func (v *LogsArchiveOrderDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsArchiveState ¶

type LogsArchiveState string

LogsArchiveState The state of the archive.

const (
	LOGSARCHIVESTATE_UNKNOWN             LogsArchiveState = "UNKNOWN"
	LOGSARCHIVESTATE_WORKING             LogsArchiveState = "WORKING"
	LOGSARCHIVESTATE_FAILING             LogsArchiveState = "FAILING"
	LOGSARCHIVESTATE_WORKING_AUTH_LEGACY LogsArchiveState = "WORKING_AUTH_LEGACY"
)

List of LogsArchiveState.

func NewLogsArchiveStateFromValue ¶

func NewLogsArchiveStateFromValue(v string) (*LogsArchiveState, error)

NewLogsArchiveStateFromValue returns a pointer to a valid LogsArchiveState for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsArchiveState) GetAllowedValues ¶ added in v1.1.0

func (v *LogsArchiveState) GetAllowedValues() []LogsArchiveState

GetAllowedValues reeturns the list of possible values.

func (LogsArchiveState) IsValid ¶

func (v LogsArchiveState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsArchiveState) Ptr ¶

Ptr returns reference to LogsArchiveState value.

func (*LogsArchiveState) UnmarshalJSON ¶

func (v *LogsArchiveState) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsArchives ¶

type LogsArchives struct {
	// A list of archives.
	Data []LogsArchiveDefinition `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchives The available archives.

func NewLogsArchives ¶

func NewLogsArchives() *LogsArchives

NewLogsArchives instantiates a new LogsArchives object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsArchivesWithDefaults ¶

func NewLogsArchivesWithDefaults() *LogsArchives

NewLogsArchivesWithDefaults instantiates a new LogsArchives object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsArchives) GetData ¶

func (o *LogsArchives) GetData() []LogsArchiveDefinition

GetData returns the Data field value if set, zero value otherwise.

func (*LogsArchives) GetDataOk ¶

func (o *LogsArchives) GetDataOk() (*[]LogsArchiveDefinition, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchives) HasData ¶

func (o *LogsArchives) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsArchives) MarshalJSON ¶

func (o LogsArchives) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArchives) SetData ¶

func (o *LogsArchives) SetData(v []LogsArchiveDefinition)

SetData gets a reference to the given []LogsArchiveDefinition and assigns it to the Data field.

func (*LogsArchives) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsArchives) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchivesApiService ¶

type LogsArchivesApiService service

LogsArchivesApiService LogsArchivesApi service.

func (*LogsArchivesApiService) AddReadRoleToArchive ¶

func (a *LogsArchivesApiService) AddReadRoleToArchive(ctx _context.Context, archiveId string, body RelationshipToRole) (*_nethttp.Response, error)

AddReadRoleToArchive Grant role to an archive. Adds a read role to an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))

func (*LogsArchivesApiService) CreateLogsArchive ¶

CreateLogsArchive Create an archive. Create an archive in your organization.

func (*LogsArchivesApiService) DeleteLogsArchive ¶

func (a *LogsArchivesApiService) DeleteLogsArchive(ctx _context.Context, archiveId string) (*_nethttp.Response, error)

DeleteLogsArchive Delete an archive. Delete a given archive from your organization.

func (*LogsArchivesApiService) GetLogsArchive ¶

func (a *LogsArchivesApiService) GetLogsArchive(ctx _context.Context, archiveId string) (LogsArchive, *_nethttp.Response, error)

GetLogsArchive Get an archive. Get a specific archive from your organization.

func (*LogsArchivesApiService) GetLogsArchiveOrder ¶

GetLogsArchiveOrder Get archive order. Get the current order of your archives. This endpoint takes no JSON arguments.

func (*LogsArchivesApiService) ListArchiveReadRoles ¶

func (a *LogsArchivesApiService) ListArchiveReadRoles(ctx _context.Context, archiveId string) (RolesResponse, *_nethttp.Response, error)

ListArchiveReadRoles List read roles for an archive. Returns all read roles a given archive is restricted to.

func (*LogsArchivesApiService) ListLogsArchives ¶

ListLogsArchives Get all archives. Get the list of configured logs archives with their definitions.

func (*LogsArchivesApiService) RemoveRoleFromArchive ¶

func (a *LogsArchivesApiService) RemoveRoleFromArchive(ctx _context.Context, archiveId string, body RelationshipToRole) (*_nethttp.Response, error)

RemoveRoleFromArchive Revoke role from an archive. Removes a role from an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))

func (*LogsArchivesApiService) UpdateLogsArchive ¶

UpdateLogsArchive Update an archive. Update a given archive configuration.

**Note**: Using this method updates your archive configuration by **replacing** your current configuration with the new one sent to your Datadog organization.

func (*LogsArchivesApiService) UpdateLogsArchiveOrder ¶

UpdateLogsArchiveOrder Update archive order. Update the order of your archives. Since logs are processed sequentially, reordering an archive may change the structure and content of the data processed by other archives.

**Note**: Using the `PUT` method updates your archive's order by replacing the current order with the new one.

type LogsCompute ¶

type LogsCompute struct {
	// An aggregation function
	Aggregation LogsAggregationFunction `json:"aggregation"`
	// The time buckets' size (only used for type=timeseries)
	// Defaults to a resolution of 150 points
	Interval *string `json:"interval,omitempty"`
	// The metric to use
	Metric *string `json:"metric,omitempty"`
	// The type of compute
	Type *LogsComputeType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsCompute A compute rule to compute metrics or timeseries

func NewLogsCompute ¶

func NewLogsCompute(aggregation LogsAggregationFunction) *LogsCompute

NewLogsCompute instantiates a new LogsCompute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsComputeWithDefaults ¶

func NewLogsComputeWithDefaults() *LogsCompute

NewLogsComputeWithDefaults instantiates a new LogsCompute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsCompute) GetAggregation ¶

func (o *LogsCompute) GetAggregation() LogsAggregationFunction

GetAggregation returns the Aggregation field value.

func (*LogsCompute) GetAggregationOk ¶

func (o *LogsCompute) GetAggregationOk() (*LogsAggregationFunction, bool)

GetAggregationOk returns a tuple with the Aggregation field value and a boolean to check if the value has been set.

func (*LogsCompute) GetInterval ¶

func (o *LogsCompute) GetInterval() string

GetInterval returns the Interval field value if set, zero value otherwise.

func (*LogsCompute) GetIntervalOk ¶

func (o *LogsCompute) GetIntervalOk() (*string, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsCompute) GetMetric ¶

func (o *LogsCompute) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*LogsCompute) GetMetricOk ¶

func (o *LogsCompute) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsCompute) GetType ¶

func (o *LogsCompute) GetType() LogsComputeType

GetType returns the Type field value if set, zero value otherwise.

func (*LogsCompute) GetTypeOk ¶

func (o *LogsCompute) GetTypeOk() (*LogsComputeType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsCompute) HasInterval ¶

func (o *LogsCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*LogsCompute) HasMetric ¶

func (o *LogsCompute) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*LogsCompute) HasType ¶

func (o *LogsCompute) HasType() bool

HasType returns a boolean if a field has been set.

func (LogsCompute) MarshalJSON ¶

func (o LogsCompute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsCompute) SetAggregation ¶

func (o *LogsCompute) SetAggregation(v LogsAggregationFunction)

SetAggregation sets field value.

func (*LogsCompute) SetInterval ¶

func (o *LogsCompute) SetInterval(v string)

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (*LogsCompute) SetMetric ¶

func (o *LogsCompute) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*LogsCompute) SetType ¶

func (o *LogsCompute) SetType(v LogsComputeType)

SetType gets a reference to the given LogsComputeType and assigns it to the Type field.

func (*LogsCompute) UnmarshalJSON ¶

func (o *LogsCompute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsComputeType ¶

type LogsComputeType string

LogsComputeType The type of compute

const (
	LOGSCOMPUTETYPE_TIMESERIES LogsComputeType = "timeseries"
	LOGSCOMPUTETYPE_TOTAL      LogsComputeType = "total"
)

List of LogsComputeType.

func NewLogsComputeTypeFromValue ¶

func NewLogsComputeTypeFromValue(v string) (*LogsComputeType, error)

NewLogsComputeTypeFromValue returns a pointer to a valid LogsComputeType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsComputeType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsComputeType) GetAllowedValues() []LogsComputeType

GetAllowedValues reeturns the list of possible values.

func (LogsComputeType) IsValid ¶

func (v LogsComputeType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsComputeType) Ptr ¶

Ptr returns reference to LogsComputeType value.

func (*LogsComputeType) UnmarshalJSON ¶

func (v *LogsComputeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsGroupBy ¶

type LogsGroupBy struct {
	// The name of the facet to use (required)
	Facet string `json:"facet"`
	// Used to perform a histogram computation (only for measure facets).
	// Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.
	Histogram *LogsGroupByHistogram `json:"histogram,omitempty"`
	// The maximum buckets to return for this group by
	Limit *int64 `json:"limit,omitempty"`
	// The value to use for logs that don't have the facet used to group by
	Missing *LogsGroupByMissing `json:"missing,omitempty"`
	// A sort rule
	Sort *LogsAggregateSort `json:"sort,omitempty"`
	// A resulting object to put the given computes in over all the matching records.
	Total *LogsGroupByTotal `json:"total,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsGroupBy A group by rule

func NewLogsGroupBy ¶

func NewLogsGroupBy(facet string) *LogsGroupBy

NewLogsGroupBy instantiates a new LogsGroupBy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsGroupByWithDefaults ¶

func NewLogsGroupByWithDefaults() *LogsGroupBy

NewLogsGroupByWithDefaults instantiates a new LogsGroupBy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsGroupBy) GetFacet ¶

func (o *LogsGroupBy) GetFacet() string

GetFacet returns the Facet field value.

func (*LogsGroupBy) GetFacetOk ¶

func (o *LogsGroupBy) GetFacetOk() (*string, bool)

GetFacetOk returns a tuple with the Facet field value and a boolean to check if the value has been set.

func (*LogsGroupBy) GetHistogram ¶

func (o *LogsGroupBy) GetHistogram() LogsGroupByHistogram

GetHistogram returns the Histogram field value if set, zero value otherwise.

func (*LogsGroupBy) GetHistogramOk ¶

func (o *LogsGroupBy) GetHistogramOk() (*LogsGroupByHistogram, bool)

GetHistogramOk returns a tuple with the Histogram field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsGroupBy) GetLimit ¶

func (o *LogsGroupBy) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*LogsGroupBy) GetLimitOk ¶

func (o *LogsGroupBy) GetLimitOk() (*int64, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsGroupBy) GetMissing ¶

func (o *LogsGroupBy) GetMissing() LogsGroupByMissing

GetMissing returns the Missing field value if set, zero value otherwise.

func (*LogsGroupBy) GetMissingOk ¶

func (o *LogsGroupBy) GetMissingOk() (*LogsGroupByMissing, bool)

GetMissingOk returns a tuple with the Missing field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsGroupBy) GetSort ¶

func (o *LogsGroupBy) GetSort() LogsAggregateSort

GetSort returns the Sort field value if set, zero value otherwise.

func (*LogsGroupBy) GetSortOk ¶

func (o *LogsGroupBy) GetSortOk() (*LogsAggregateSort, bool)

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsGroupBy) GetTotal ¶

func (o *LogsGroupBy) GetTotal() LogsGroupByTotal

GetTotal returns the Total field value if set, zero value otherwise.

func (*LogsGroupBy) GetTotalOk ¶

func (o *LogsGroupBy) GetTotalOk() (*LogsGroupByTotal, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsGroupBy) HasHistogram ¶

func (o *LogsGroupBy) HasHistogram() bool

HasHistogram returns a boolean if a field has been set.

func (*LogsGroupBy) HasLimit ¶

func (o *LogsGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*LogsGroupBy) HasMissing ¶

func (o *LogsGroupBy) HasMissing() bool

HasMissing returns a boolean if a field has been set.

func (*LogsGroupBy) HasSort ¶

func (o *LogsGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*LogsGroupBy) HasTotal ¶

func (o *LogsGroupBy) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (LogsGroupBy) MarshalJSON ¶

func (o LogsGroupBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsGroupBy) SetFacet ¶

func (o *LogsGroupBy) SetFacet(v string)

SetFacet sets field value.

func (*LogsGroupBy) SetHistogram ¶

func (o *LogsGroupBy) SetHistogram(v LogsGroupByHistogram)

SetHistogram gets a reference to the given LogsGroupByHistogram and assigns it to the Histogram field.

func (*LogsGroupBy) SetLimit ¶

func (o *LogsGroupBy) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*LogsGroupBy) SetMissing ¶

func (o *LogsGroupBy) SetMissing(v LogsGroupByMissing)

SetMissing gets a reference to the given LogsGroupByMissing and assigns it to the Missing field.

func (*LogsGroupBy) SetSort ¶

func (o *LogsGroupBy) SetSort(v LogsAggregateSort)

SetSort gets a reference to the given LogsAggregateSort and assigns it to the Sort field.

func (*LogsGroupBy) SetTotal ¶

func (o *LogsGroupBy) SetTotal(v LogsGroupByTotal)

SetTotal gets a reference to the given LogsGroupByTotal and assigns it to the Total field.

func (*LogsGroupBy) UnmarshalJSON ¶

func (o *LogsGroupBy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsGroupByHistogram ¶

type LogsGroupByHistogram struct {
	// The bin size of the histogram buckets
	Interval float64 `json:"interval"`
	// The maximum value for the measure used in the histogram
	// (values greater than this one are filtered out)
	Max float64 `json:"max"`
	// The minimum value for the measure used in the histogram
	// (values smaller than this one are filtered out)
	Min float64 `json:"min"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsGroupByHistogram Used to perform a histogram computation (only for measure facets). Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.

func NewLogsGroupByHistogram ¶

func NewLogsGroupByHistogram(interval float64, max float64, min float64) *LogsGroupByHistogram

NewLogsGroupByHistogram instantiates a new LogsGroupByHistogram object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsGroupByHistogramWithDefaults ¶

func NewLogsGroupByHistogramWithDefaults() *LogsGroupByHistogram

NewLogsGroupByHistogramWithDefaults instantiates a new LogsGroupByHistogram object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsGroupByHistogram) GetInterval ¶

func (o *LogsGroupByHistogram) GetInterval() float64

GetInterval returns the Interval field value.

func (*LogsGroupByHistogram) GetIntervalOk ¶

func (o *LogsGroupByHistogram) GetIntervalOk() (*float64, bool)

GetIntervalOk returns a tuple with the Interval field value and a boolean to check if the value has been set.

func (*LogsGroupByHistogram) GetMax ¶

func (o *LogsGroupByHistogram) GetMax() float64

GetMax returns the Max field value.

func (*LogsGroupByHistogram) GetMaxOk ¶

func (o *LogsGroupByHistogram) GetMaxOk() (*float64, bool)

GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.

func (*LogsGroupByHistogram) GetMin ¶

func (o *LogsGroupByHistogram) GetMin() float64

GetMin returns the Min field value.

func (*LogsGroupByHistogram) GetMinOk ¶

func (o *LogsGroupByHistogram) GetMinOk() (*float64, bool)

GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.

func (LogsGroupByHistogram) MarshalJSON ¶

func (o LogsGroupByHistogram) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsGroupByHistogram) SetInterval ¶

func (o *LogsGroupByHistogram) SetInterval(v float64)

SetInterval sets field value.

func (*LogsGroupByHistogram) SetMax ¶

func (o *LogsGroupByHistogram) SetMax(v float64)

SetMax sets field value.

func (*LogsGroupByHistogram) SetMin ¶

func (o *LogsGroupByHistogram) SetMin(v float64)

SetMin sets field value.

func (*LogsGroupByHistogram) UnmarshalJSON ¶

func (o *LogsGroupByHistogram) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsGroupByMissing ¶

type LogsGroupByMissing struct {
	LogsGroupByMissingString *string
	LogsGroupByMissingNumber *float64

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

LogsGroupByMissing - The value to use for logs that don't have the facet used to group by

func LogsGroupByMissingNumberAsLogsGroupByMissing ¶ added in v1.11.0

func LogsGroupByMissingNumberAsLogsGroupByMissing(v *float64) LogsGroupByMissing

LogsGroupByMissingNumberAsLogsGroupByMissing is a convenience function that returns float64 wrapped in LogsGroupByMissing.

func LogsGroupByMissingStringAsLogsGroupByMissing ¶ added in v1.11.0

func LogsGroupByMissingStringAsLogsGroupByMissing(v *string) LogsGroupByMissing

LogsGroupByMissingStringAsLogsGroupByMissing is a convenience function that returns string wrapped in LogsGroupByMissing.

func (*LogsGroupByMissing) GetActualInstance ¶

func (obj *LogsGroupByMissing) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (LogsGroupByMissing) MarshalJSON ¶

func (obj LogsGroupByMissing) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*LogsGroupByMissing) UnmarshalJSON ¶

func (obj *LogsGroupByMissing) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type LogsGroupByTotal ¶

type LogsGroupByTotal struct {
	LogsGroupByTotalBoolean *bool
	LogsGroupByTotalString  *string
	LogsGroupByTotalNumber  *float64

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

LogsGroupByTotal - A resulting object to put the given computes in over all the matching records.

func LogsGroupByTotalBooleanAsLogsGroupByTotal ¶ added in v1.11.0

func LogsGroupByTotalBooleanAsLogsGroupByTotal(v *bool) LogsGroupByTotal

LogsGroupByTotalBooleanAsLogsGroupByTotal is a convenience function that returns bool wrapped in LogsGroupByTotal.

func LogsGroupByTotalNumberAsLogsGroupByTotal ¶ added in v1.11.0

func LogsGroupByTotalNumberAsLogsGroupByTotal(v *float64) LogsGroupByTotal

LogsGroupByTotalNumberAsLogsGroupByTotal is a convenience function that returns float64 wrapped in LogsGroupByTotal.

func LogsGroupByTotalStringAsLogsGroupByTotal ¶ added in v1.11.0

func LogsGroupByTotalStringAsLogsGroupByTotal(v *string) LogsGroupByTotal

LogsGroupByTotalStringAsLogsGroupByTotal is a convenience function that returns string wrapped in LogsGroupByTotal.

func (*LogsGroupByTotal) GetActualInstance ¶

func (obj *LogsGroupByTotal) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (LogsGroupByTotal) MarshalJSON ¶

func (obj LogsGroupByTotal) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*LogsGroupByTotal) UnmarshalJSON ¶

func (obj *LogsGroupByTotal) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type LogsListRequest ¶

type LogsListRequest struct {
	// The search and filter query settings
	Filter *LogsQueryFilter `json:"filter,omitempty"`
	// Global query options that are used during the query.
	// Note: You should only supply timezone or time offset but not both otherwise the query will fail.
	Options *LogsQueryOptions `json:"options,omitempty"`
	// Paging attributes for listing logs.
	Page *LogsListRequestPage `json:"page,omitempty"`
	// Sort parameters when querying logs.
	Sort *LogsSort `json:"sort,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsListRequest The request for a logs list.

func NewLogsListRequest ¶

func NewLogsListRequest() *LogsListRequest

NewLogsListRequest instantiates a new LogsListRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsListRequestWithDefaults ¶

func NewLogsListRequestWithDefaults() *LogsListRequest

NewLogsListRequestWithDefaults instantiates a new LogsListRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsListRequest) GetFilter ¶

func (o *LogsListRequest) GetFilter() LogsQueryFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsListRequest) GetFilterOk ¶

func (o *LogsListRequest) GetFilterOk() (*LogsQueryFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequest) GetOptions ¶

func (o *LogsListRequest) GetOptions() LogsQueryOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*LogsListRequest) GetOptionsOk ¶

func (o *LogsListRequest) GetOptionsOk() (*LogsQueryOptions, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequest) GetPage ¶

func (o *LogsListRequest) GetPage() LogsListRequestPage

GetPage returns the Page field value if set, zero value otherwise.

func (*LogsListRequest) GetPageOk ¶

func (o *LogsListRequest) GetPageOk() (*LogsListRequestPage, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequest) GetSort ¶

func (o *LogsListRequest) GetSort() LogsSort

GetSort returns the Sort field value if set, zero value otherwise.

func (*LogsListRequest) GetSortOk ¶

func (o *LogsListRequest) GetSortOk() (*LogsSort, bool)

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequest) HasFilter ¶

func (o *LogsListRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsListRequest) HasOptions ¶

func (o *LogsListRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*LogsListRequest) HasPage ¶

func (o *LogsListRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*LogsListRequest) HasSort ¶

func (o *LogsListRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (LogsListRequest) MarshalJSON ¶

func (o LogsListRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsListRequest) SetFilter ¶

func (o *LogsListRequest) SetFilter(v LogsQueryFilter)

SetFilter gets a reference to the given LogsQueryFilter and assigns it to the Filter field.

func (*LogsListRequest) SetOptions ¶

func (o *LogsListRequest) SetOptions(v LogsQueryOptions)

SetOptions gets a reference to the given LogsQueryOptions and assigns it to the Options field.

func (*LogsListRequest) SetPage ¶

func (o *LogsListRequest) SetPage(v LogsListRequestPage)

SetPage gets a reference to the given LogsListRequestPage and assigns it to the Page field.

func (*LogsListRequest) SetSort ¶

func (o *LogsListRequest) SetSort(v LogsSort)

SetSort gets a reference to the given LogsSort and assigns it to the Sort field.

func (*LogsListRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsListRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsListRequestPage ¶

type LogsListRequestPage struct {
	// List following results with a cursor provided in the previous query.
	Cursor *string `json:"cursor,omitempty"`
	// Maximum number of logs in the response.
	Limit *int32 `json:"limit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsListRequestPage Paging attributes for listing logs.

func NewLogsListRequestPage ¶

func NewLogsListRequestPage() *LogsListRequestPage

NewLogsListRequestPage instantiates a new LogsListRequestPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsListRequestPageWithDefaults ¶

func NewLogsListRequestPageWithDefaults() *LogsListRequestPage

NewLogsListRequestPageWithDefaults instantiates a new LogsListRequestPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsListRequestPage) GetCursor ¶

func (o *LogsListRequestPage) GetCursor() string

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*LogsListRequestPage) GetCursorOk ¶

func (o *LogsListRequestPage) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequestPage) GetLimit ¶

func (o *LogsListRequestPage) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*LogsListRequestPage) GetLimitOk ¶

func (o *LogsListRequestPage) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequestPage) HasCursor ¶

func (o *LogsListRequestPage) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*LogsListRequestPage) HasLimit ¶

func (o *LogsListRequestPage) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (LogsListRequestPage) MarshalJSON ¶

func (o LogsListRequestPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsListRequestPage) SetCursor ¶

func (o *LogsListRequestPage) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*LogsListRequestPage) SetLimit ¶

func (o *LogsListRequestPage) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*LogsListRequestPage) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsListRequestPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsListResponse ¶

type LogsListResponse struct {
	// Array of logs matching the request.
	Data []Log `json:"data,omitempty"`
	// Links attributes.
	Links *LogsListResponseLinks `json:"links,omitempty"`
	// The metadata associated with a request
	Meta *LogsResponseMetadata `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsListResponse Response object with all logs matching the request and pagination information.

func NewLogsListResponse ¶

func NewLogsListResponse() *LogsListResponse

NewLogsListResponse instantiates a new LogsListResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsListResponseWithDefaults ¶

func NewLogsListResponseWithDefaults() *LogsListResponse

NewLogsListResponseWithDefaults instantiates a new LogsListResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsListResponse) GetData ¶

func (o *LogsListResponse) GetData() []Log

GetData returns the Data field value if set, zero value otherwise.

func (*LogsListResponse) GetDataOk ¶

func (o *LogsListResponse) GetDataOk() (*[]Log, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*LogsListResponse) GetLinksOk ¶

func (o *LogsListResponse) GetLinksOk() (*LogsListResponseLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*LogsListResponse) GetMetaOk ¶

func (o *LogsListResponse) GetMetaOk() (*LogsResponseMetadata, 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 (*LogsListResponse) HasData ¶

func (o *LogsListResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *LogsListResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*LogsListResponse) HasMeta ¶

func (o *LogsListResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (LogsListResponse) MarshalJSON ¶

func (o LogsListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsListResponse) SetData ¶

func (o *LogsListResponse) SetData(v []Log)

SetData gets a reference to the given []Log and assigns it to the Data field.

func (o *LogsListResponse) SetLinks(v LogsListResponseLinks)

SetLinks gets a reference to the given LogsListResponseLinks and assigns it to the Links field.

func (*LogsListResponse) SetMeta ¶

func (o *LogsListResponse) SetMeta(v LogsResponseMetadata)

SetMeta gets a reference to the given LogsResponseMetadata and assigns it to the Meta field.

func (*LogsListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsListResponseLinks struct {
	// Link for the next set of results. Note that the request can also be made using the
	// POST endpoint.
	Next *string `json:"next,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsListResponseLinks Links attributes.

func NewLogsListResponseLinks() *LogsListResponseLinks

NewLogsListResponseLinks instantiates a new LogsListResponseLinks object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsListResponseLinksWithDefaults ¶

func NewLogsListResponseLinksWithDefaults() *LogsListResponseLinks

NewLogsListResponseLinksWithDefaults instantiates a new LogsListResponseLinks object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsListResponseLinks) GetNext ¶

func (o *LogsListResponseLinks) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*LogsListResponseLinks) GetNextOk ¶

func (o *LogsListResponseLinks) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListResponseLinks) HasNext ¶

func (o *LogsListResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (LogsListResponseLinks) MarshalJSON ¶

func (o LogsListResponseLinks) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsListResponseLinks) SetNext ¶

func (o *LogsListResponseLinks) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*LogsListResponseLinks) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsListResponseLinks) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricCompute ¶

type LogsMetricCompute struct {
	// The type of aggregation to use.
	AggregationType LogsMetricComputeAggregationType `json:"aggregation_type"`
	// The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution").
	Path *string `json:"path,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricCompute The compute rule to compute the log-based metric.

func NewLogsMetricCompute ¶

func NewLogsMetricCompute(aggregationType LogsMetricComputeAggregationType) *LogsMetricCompute

NewLogsMetricCompute instantiates a new LogsMetricCompute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricComputeWithDefaults ¶

func NewLogsMetricComputeWithDefaults() *LogsMetricCompute

NewLogsMetricComputeWithDefaults instantiates a new LogsMetricCompute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricCompute) GetAggregationType ¶

func (o *LogsMetricCompute) GetAggregationType() LogsMetricComputeAggregationType

GetAggregationType returns the AggregationType field value.

func (*LogsMetricCompute) GetAggregationTypeOk ¶

func (o *LogsMetricCompute) GetAggregationTypeOk() (*LogsMetricComputeAggregationType, bool)

GetAggregationTypeOk returns a tuple with the AggregationType field value and a boolean to check if the value has been set.

func (*LogsMetricCompute) GetPath ¶

func (o *LogsMetricCompute) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsMetricCompute) GetPathOk ¶

func (o *LogsMetricCompute) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricCompute) HasPath ¶

func (o *LogsMetricCompute) HasPath() bool

HasPath returns a boolean if a field has been set.

func (LogsMetricCompute) MarshalJSON ¶

func (o LogsMetricCompute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricCompute) SetAggregationType ¶

func (o *LogsMetricCompute) SetAggregationType(v LogsMetricComputeAggregationType)

SetAggregationType sets field value.

func (*LogsMetricCompute) SetPath ¶

func (o *LogsMetricCompute) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsMetricCompute) UnmarshalJSON ¶

func (o *LogsMetricCompute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricComputeAggregationType ¶

type LogsMetricComputeAggregationType string

LogsMetricComputeAggregationType The type of aggregation to use.

const (
	LOGSMETRICCOMPUTEAGGREGATIONTYPE_COUNT        LogsMetricComputeAggregationType = "count"
	LOGSMETRICCOMPUTEAGGREGATIONTYPE_DISTRIBUTION LogsMetricComputeAggregationType = "distribution"
)

List of LogsMetricComputeAggregationType.

func NewLogsMetricComputeAggregationTypeFromValue ¶

func NewLogsMetricComputeAggregationTypeFromValue(v string) (*LogsMetricComputeAggregationType, error)

NewLogsMetricComputeAggregationTypeFromValue returns a pointer to a valid LogsMetricComputeAggregationType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsMetricComputeAggregationType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (LogsMetricComputeAggregationType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsMetricComputeAggregationType) Ptr ¶

Ptr returns reference to LogsMetricComputeAggregationType value.

func (*LogsMetricComputeAggregationType) UnmarshalJSON ¶

func (v *LogsMetricComputeAggregationType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsMetricCreateAttributes ¶

type LogsMetricCreateAttributes struct {
	// The compute rule to compute the log-based metric.
	Compute LogsMetricCompute `json:"compute"`
	// The log-based metric filter. Logs matching this filter will be aggregated in this metric.
	Filter *LogsMetricFilter `json:"filter,omitempty"`
	// The rules for the group by.
	GroupBy []LogsMetricGroupBy `json:"group_by,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricCreateAttributes The object describing the Datadog log-based metric to create.

func NewLogsMetricCreateAttributes ¶

func NewLogsMetricCreateAttributes(compute LogsMetricCompute) *LogsMetricCreateAttributes

NewLogsMetricCreateAttributes instantiates a new LogsMetricCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricCreateAttributesWithDefaults ¶

func NewLogsMetricCreateAttributesWithDefaults() *LogsMetricCreateAttributes

NewLogsMetricCreateAttributesWithDefaults instantiates a new LogsMetricCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricCreateAttributes) GetCompute ¶

GetCompute returns the Compute field value.

func (*LogsMetricCreateAttributes) GetComputeOk ¶

func (o *LogsMetricCreateAttributes) GetComputeOk() (*LogsMetricCompute, bool)

GetComputeOk returns a tuple with the Compute field value and a boolean to check if the value has been set.

func (*LogsMetricCreateAttributes) GetFilter ¶

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsMetricCreateAttributes) GetFilterOk ¶

func (o *LogsMetricCreateAttributes) GetFilterOk() (*LogsMetricFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricCreateAttributes) GetGroupBy ¶

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*LogsMetricCreateAttributes) GetGroupByOk ¶

func (o *LogsMetricCreateAttributes) GetGroupByOk() (*[]LogsMetricGroupBy, bool)

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricCreateAttributes) HasFilter ¶

func (o *LogsMetricCreateAttributes) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsMetricCreateAttributes) HasGroupBy ¶

func (o *LogsMetricCreateAttributes) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (LogsMetricCreateAttributes) MarshalJSON ¶

func (o LogsMetricCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricCreateAttributes) SetCompute ¶

SetCompute sets field value.

func (*LogsMetricCreateAttributes) SetFilter ¶

SetFilter gets a reference to the given LogsMetricFilter and assigns it to the Filter field.

func (*LogsMetricCreateAttributes) SetGroupBy ¶

func (o *LogsMetricCreateAttributes) SetGroupBy(v []LogsMetricGroupBy)

SetGroupBy gets a reference to the given []LogsMetricGroupBy and assigns it to the GroupBy field.

func (*LogsMetricCreateAttributes) UnmarshalJSON ¶

func (o *LogsMetricCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricCreateData ¶

type LogsMetricCreateData struct {
	// The object describing the Datadog log-based metric to create.
	Attributes LogsMetricCreateAttributes `json:"attributes"`
	// The name of the log-based metric.
	Id string `json:"id"`
	// The type of the resource. The value should always be logs_metrics.
	Type LogsMetricType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricCreateData The new log-based metric properties.

func NewLogsMetricCreateData ¶

func NewLogsMetricCreateData(attributes LogsMetricCreateAttributes, id string, typeVar LogsMetricType) *LogsMetricCreateData

NewLogsMetricCreateData instantiates a new LogsMetricCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricCreateDataWithDefaults ¶

func NewLogsMetricCreateDataWithDefaults() *LogsMetricCreateData

NewLogsMetricCreateDataWithDefaults instantiates a new LogsMetricCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricCreateData) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*LogsMetricCreateData) GetAttributesOk ¶

func (o *LogsMetricCreateData) GetAttributesOk() (*LogsMetricCreateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*LogsMetricCreateData) GetId ¶

func (o *LogsMetricCreateData) GetId() string

GetId returns the Id field value.

func (*LogsMetricCreateData) GetIdOk ¶

func (o *LogsMetricCreateData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*LogsMetricCreateData) GetType ¶

func (o *LogsMetricCreateData) GetType() LogsMetricType

GetType returns the Type field value.

func (*LogsMetricCreateData) GetTypeOk ¶

func (o *LogsMetricCreateData) GetTypeOk() (*LogsMetricType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (LogsMetricCreateData) MarshalJSON ¶

func (o LogsMetricCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricCreateData) SetAttributes ¶

SetAttributes sets field value.

func (*LogsMetricCreateData) SetId ¶

func (o *LogsMetricCreateData) SetId(v string)

SetId sets field value.

func (*LogsMetricCreateData) SetType ¶

func (o *LogsMetricCreateData) SetType(v LogsMetricType)

SetType sets field value.

func (*LogsMetricCreateData) UnmarshalJSON ¶

func (o *LogsMetricCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricCreateRequest ¶

type LogsMetricCreateRequest struct {
	// The new log-based metric properties.
	Data LogsMetricCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricCreateRequest The new log-based metric body.

func NewLogsMetricCreateRequest ¶

func NewLogsMetricCreateRequest(data LogsMetricCreateData) *LogsMetricCreateRequest

NewLogsMetricCreateRequest instantiates a new LogsMetricCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricCreateRequestWithDefaults ¶

func NewLogsMetricCreateRequestWithDefaults() *LogsMetricCreateRequest

NewLogsMetricCreateRequestWithDefaults instantiates a new LogsMetricCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricCreateRequest) GetData ¶

GetData returns the Data field value.

func (*LogsMetricCreateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (LogsMetricCreateRequest) MarshalJSON ¶

func (o LogsMetricCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricCreateRequest) SetData ¶

SetData sets field value.

func (*LogsMetricCreateRequest) UnmarshalJSON ¶

func (o *LogsMetricCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricFilter ¶

type LogsMetricFilter struct {
	// The search query - following the log search syntax.
	Query *string `json:"query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricFilter The log-based metric filter. Logs matching this filter will be aggregated in this metric.

func NewLogsMetricFilter ¶

func NewLogsMetricFilter() *LogsMetricFilter

NewLogsMetricFilter instantiates a new LogsMetricFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricFilterWithDefaults ¶

func NewLogsMetricFilterWithDefaults() *LogsMetricFilter

NewLogsMetricFilterWithDefaults instantiates a new LogsMetricFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricFilter) GetQuery ¶

func (o *LogsMetricFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*LogsMetricFilter) GetQueryOk ¶

func (o *LogsMetricFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricFilter) HasQuery ¶

func (o *LogsMetricFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (LogsMetricFilter) MarshalJSON ¶

func (o LogsMetricFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricFilter) SetQuery ¶

func (o *LogsMetricFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*LogsMetricFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricGroupBy ¶

type LogsMetricGroupBy struct {
	// The path to the value the log-based metric will be aggregated over.
	Path string `json:"path"`
	// Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
	TagName *string `json:"tag_name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricGroupBy A group by rule.

func NewLogsMetricGroupBy ¶

func NewLogsMetricGroupBy(path string) *LogsMetricGroupBy

NewLogsMetricGroupBy instantiates a new LogsMetricGroupBy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricGroupByWithDefaults ¶

func NewLogsMetricGroupByWithDefaults() *LogsMetricGroupBy

NewLogsMetricGroupByWithDefaults instantiates a new LogsMetricGroupBy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricGroupBy) GetPath ¶

func (o *LogsMetricGroupBy) GetPath() string

GetPath returns the Path field value.

func (*LogsMetricGroupBy) GetPathOk ¶

func (o *LogsMetricGroupBy) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*LogsMetricGroupBy) GetTagName ¶

func (o *LogsMetricGroupBy) GetTagName() string

GetTagName returns the TagName field value if set, zero value otherwise.

func (*LogsMetricGroupBy) GetTagNameOk ¶

func (o *LogsMetricGroupBy) GetTagNameOk() (*string, bool)

GetTagNameOk returns a tuple with the TagName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricGroupBy) HasTagName ¶

func (o *LogsMetricGroupBy) HasTagName() bool

HasTagName returns a boolean if a field has been set.

func (LogsMetricGroupBy) MarshalJSON ¶

func (o LogsMetricGroupBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricGroupBy) SetPath ¶

func (o *LogsMetricGroupBy) SetPath(v string)

SetPath sets field value.

func (*LogsMetricGroupBy) SetTagName ¶

func (o *LogsMetricGroupBy) SetTagName(v string)

SetTagName gets a reference to the given string and assigns it to the TagName field.

func (*LogsMetricGroupBy) UnmarshalJSON ¶

func (o *LogsMetricGroupBy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricResponse ¶

type LogsMetricResponse struct {
	// The log-based metric properties.
	Data *LogsMetricResponseData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricResponse The log-based metric object.

func NewLogsMetricResponse ¶

func NewLogsMetricResponse() *LogsMetricResponse

NewLogsMetricResponse instantiates a new LogsMetricResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricResponseWithDefaults ¶

func NewLogsMetricResponseWithDefaults() *LogsMetricResponse

NewLogsMetricResponseWithDefaults instantiates a new LogsMetricResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*LogsMetricResponse) GetDataOk ¶

func (o *LogsMetricResponse) GetDataOk() (*LogsMetricResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponse) HasData ¶

func (o *LogsMetricResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsMetricResponse) MarshalJSON ¶

func (o LogsMetricResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricResponse) SetData ¶

SetData gets a reference to the given LogsMetricResponseData and assigns it to the Data field.

func (*LogsMetricResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricResponseAttributes ¶

type LogsMetricResponseAttributes struct {
	// The compute rule to compute the log-based metric.
	Compute *LogsMetricResponseCompute `json:"compute,omitempty"`
	// The log-based metric filter. Logs matching this filter will be aggregated in this metric.
	Filter *LogsMetricResponseFilter `json:"filter,omitempty"`
	// The rules for the group by.
	GroupBy []LogsMetricResponseGroupBy `json:"group_by,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricResponseAttributes The object describing a Datadog log-based metric.

func NewLogsMetricResponseAttributes ¶

func NewLogsMetricResponseAttributes() *LogsMetricResponseAttributes

NewLogsMetricResponseAttributes instantiates a new LogsMetricResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricResponseAttributesWithDefaults ¶

func NewLogsMetricResponseAttributesWithDefaults() *LogsMetricResponseAttributes

NewLogsMetricResponseAttributesWithDefaults instantiates a new LogsMetricResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricResponseAttributes) GetCompute ¶

GetCompute returns the Compute field value if set, zero value otherwise.

func (*LogsMetricResponseAttributes) GetComputeOk ¶

GetComputeOk returns a tuple with the Compute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseAttributes) GetFilter ¶

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsMetricResponseAttributes) GetFilterOk ¶

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseAttributes) GetGroupBy ¶

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*LogsMetricResponseAttributes) GetGroupByOk ¶

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseAttributes) HasCompute ¶

func (o *LogsMetricResponseAttributes) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*LogsMetricResponseAttributes) HasFilter ¶

func (o *LogsMetricResponseAttributes) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsMetricResponseAttributes) HasGroupBy ¶

func (o *LogsMetricResponseAttributes) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (LogsMetricResponseAttributes) MarshalJSON ¶

func (o LogsMetricResponseAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricResponseAttributes) SetCompute ¶

SetCompute gets a reference to the given LogsMetricResponseCompute and assigns it to the Compute field.

func (*LogsMetricResponseAttributes) SetFilter ¶

SetFilter gets a reference to the given LogsMetricResponseFilter and assigns it to the Filter field.

func (*LogsMetricResponseAttributes) SetGroupBy ¶

SetGroupBy gets a reference to the given []LogsMetricResponseGroupBy and assigns it to the GroupBy field.

func (*LogsMetricResponseAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricResponseCompute ¶

type LogsMetricResponseCompute struct {
	// The type of aggregation to use.
	AggregationType *LogsMetricResponseComputeAggregationType `json:"aggregation_type,omitempty"`
	// The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution").
	Path *string `json:"path,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricResponseCompute The compute rule to compute the log-based metric.

func NewLogsMetricResponseCompute ¶

func NewLogsMetricResponseCompute() *LogsMetricResponseCompute

NewLogsMetricResponseCompute instantiates a new LogsMetricResponseCompute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricResponseComputeWithDefaults ¶

func NewLogsMetricResponseComputeWithDefaults() *LogsMetricResponseCompute

NewLogsMetricResponseComputeWithDefaults instantiates a new LogsMetricResponseCompute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricResponseCompute) GetAggregationType ¶

GetAggregationType returns the AggregationType field value if set, zero value otherwise.

func (*LogsMetricResponseCompute) GetAggregationTypeOk ¶

GetAggregationTypeOk returns a tuple with the AggregationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseCompute) GetPath ¶

func (o *LogsMetricResponseCompute) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsMetricResponseCompute) GetPathOk ¶

func (o *LogsMetricResponseCompute) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseCompute) HasAggregationType ¶

func (o *LogsMetricResponseCompute) HasAggregationType() bool

HasAggregationType returns a boolean if a field has been set.

func (*LogsMetricResponseCompute) HasPath ¶

func (o *LogsMetricResponseCompute) HasPath() bool

HasPath returns a boolean if a field has been set.

func (LogsMetricResponseCompute) MarshalJSON ¶

func (o LogsMetricResponseCompute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricResponseCompute) SetAggregationType ¶

SetAggregationType gets a reference to the given LogsMetricResponseComputeAggregationType and assigns it to the AggregationType field.

func (*LogsMetricResponseCompute) SetPath ¶

func (o *LogsMetricResponseCompute) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsMetricResponseCompute) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponseCompute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricResponseComputeAggregationType ¶

type LogsMetricResponseComputeAggregationType string

LogsMetricResponseComputeAggregationType The type of aggregation to use.

const (
	LOGSMETRICRESPONSECOMPUTEAGGREGATIONTYPE_COUNT        LogsMetricResponseComputeAggregationType = "count"
	LOGSMETRICRESPONSECOMPUTEAGGREGATIONTYPE_DISTRIBUTION LogsMetricResponseComputeAggregationType = "distribution"
)

List of LogsMetricResponseComputeAggregationType.

func NewLogsMetricResponseComputeAggregationTypeFromValue ¶

func NewLogsMetricResponseComputeAggregationTypeFromValue(v string) (*LogsMetricResponseComputeAggregationType, error)

NewLogsMetricResponseComputeAggregationTypeFromValue returns a pointer to a valid LogsMetricResponseComputeAggregationType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsMetricResponseComputeAggregationType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (LogsMetricResponseComputeAggregationType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsMetricResponseComputeAggregationType) Ptr ¶

Ptr returns reference to LogsMetricResponseComputeAggregationType value.

func (*LogsMetricResponseComputeAggregationType) UnmarshalJSON ¶

func (v *LogsMetricResponseComputeAggregationType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsMetricResponseData ¶

type LogsMetricResponseData struct {
	// The object describing a Datadog log-based metric.
	Attributes *LogsMetricResponseAttributes `json:"attributes,omitempty"`
	// The name of the log-based metric.
	Id *string `json:"id,omitempty"`
	// The type of the resource. The value should always be logs_metrics.
	Type *LogsMetricType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricResponseData The log-based metric properties.

func NewLogsMetricResponseData ¶

func NewLogsMetricResponseData() *LogsMetricResponseData

NewLogsMetricResponseData instantiates a new LogsMetricResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricResponseDataWithDefaults ¶

func NewLogsMetricResponseDataWithDefaults() *LogsMetricResponseData

NewLogsMetricResponseDataWithDefaults instantiates a new LogsMetricResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricResponseData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*LogsMetricResponseData) GetAttributesOk ¶

func (o *LogsMetricResponseData) GetAttributesOk() (*LogsMetricResponseAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseData) GetId ¶

func (o *LogsMetricResponseData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*LogsMetricResponseData) GetIdOk ¶

func (o *LogsMetricResponseData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseData) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*LogsMetricResponseData) GetTypeOk ¶

func (o *LogsMetricResponseData) GetTypeOk() (*LogsMetricType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseData) HasAttributes ¶

func (o *LogsMetricResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*LogsMetricResponseData) HasId ¶

func (o *LogsMetricResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*LogsMetricResponseData) HasType ¶

func (o *LogsMetricResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (LogsMetricResponseData) MarshalJSON ¶

func (o LogsMetricResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricResponseData) SetAttributes ¶

SetAttributes gets a reference to the given LogsMetricResponseAttributes and assigns it to the Attributes field.

func (*LogsMetricResponseData) SetId ¶

func (o *LogsMetricResponseData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*LogsMetricResponseData) SetType ¶

func (o *LogsMetricResponseData) SetType(v LogsMetricType)

SetType gets a reference to the given LogsMetricType and assigns it to the Type field.

func (*LogsMetricResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricResponseFilter ¶

type LogsMetricResponseFilter struct {
	// The search query - following the log search syntax.
	Query *string `json:"query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricResponseFilter The log-based metric filter. Logs matching this filter will be aggregated in this metric.

func NewLogsMetricResponseFilter ¶

func NewLogsMetricResponseFilter() *LogsMetricResponseFilter

NewLogsMetricResponseFilter instantiates a new LogsMetricResponseFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricResponseFilterWithDefaults ¶

func NewLogsMetricResponseFilterWithDefaults() *LogsMetricResponseFilter

NewLogsMetricResponseFilterWithDefaults instantiates a new LogsMetricResponseFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricResponseFilter) GetQuery ¶

func (o *LogsMetricResponseFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*LogsMetricResponseFilter) GetQueryOk ¶

func (o *LogsMetricResponseFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseFilter) HasQuery ¶

func (o *LogsMetricResponseFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (LogsMetricResponseFilter) MarshalJSON ¶

func (o LogsMetricResponseFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricResponseFilter) SetQuery ¶

func (o *LogsMetricResponseFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*LogsMetricResponseFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponseFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricResponseGroupBy ¶

type LogsMetricResponseGroupBy struct {
	// The path to the value the log-based metric will be aggregated over.
	Path *string `json:"path,omitempty"`
	// Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
	TagName *string `json:"tag_name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricResponseGroupBy A group by rule.

func NewLogsMetricResponseGroupBy ¶

func NewLogsMetricResponseGroupBy() *LogsMetricResponseGroupBy

NewLogsMetricResponseGroupBy instantiates a new LogsMetricResponseGroupBy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricResponseGroupByWithDefaults ¶

func NewLogsMetricResponseGroupByWithDefaults() *LogsMetricResponseGroupBy

NewLogsMetricResponseGroupByWithDefaults instantiates a new LogsMetricResponseGroupBy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricResponseGroupBy) GetPath ¶

func (o *LogsMetricResponseGroupBy) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsMetricResponseGroupBy) GetPathOk ¶

func (o *LogsMetricResponseGroupBy) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseGroupBy) GetTagName ¶

func (o *LogsMetricResponseGroupBy) GetTagName() string

GetTagName returns the TagName field value if set, zero value otherwise.

func (*LogsMetricResponseGroupBy) GetTagNameOk ¶

func (o *LogsMetricResponseGroupBy) GetTagNameOk() (*string, bool)

GetTagNameOk returns a tuple with the TagName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseGroupBy) HasPath ¶

func (o *LogsMetricResponseGroupBy) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*LogsMetricResponseGroupBy) HasTagName ¶

func (o *LogsMetricResponseGroupBy) HasTagName() bool

HasTagName returns a boolean if a field has been set.

func (LogsMetricResponseGroupBy) MarshalJSON ¶

func (o LogsMetricResponseGroupBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricResponseGroupBy) SetPath ¶

func (o *LogsMetricResponseGroupBy) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsMetricResponseGroupBy) SetTagName ¶

func (o *LogsMetricResponseGroupBy) SetTagName(v string)

SetTagName gets a reference to the given string and assigns it to the TagName field.

func (*LogsMetricResponseGroupBy) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponseGroupBy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricType ¶

type LogsMetricType string

LogsMetricType The type of the resource. The value should always be logs_metrics.

const (
	LOGSMETRICTYPE_LOGS_METRICS LogsMetricType = "logs_metrics"
)

List of LogsMetricType.

func NewLogsMetricTypeFromValue ¶

func NewLogsMetricTypeFromValue(v string) (*LogsMetricType, error)

NewLogsMetricTypeFromValue returns a pointer to a valid LogsMetricType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsMetricType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsMetricType) GetAllowedValues() []LogsMetricType

GetAllowedValues reeturns the list of possible values.

func (LogsMetricType) IsValid ¶

func (v LogsMetricType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsMetricType) Ptr ¶

func (v LogsMetricType) Ptr() *LogsMetricType

Ptr returns reference to LogsMetricType value.

func (*LogsMetricType) UnmarshalJSON ¶

func (v *LogsMetricType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsMetricUpdateAttributes ¶

type LogsMetricUpdateAttributes struct {
	// The log-based metric filter. Logs matching this filter will be aggregated in this metric.
	Filter *LogsMetricFilter `json:"filter,omitempty"`
	// The rules for the group by.
	GroupBy []LogsMetricGroupBy `json:"group_by,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricUpdateAttributes The log-based metric properties that will be updated.

func NewLogsMetricUpdateAttributes ¶

func NewLogsMetricUpdateAttributes() *LogsMetricUpdateAttributes

NewLogsMetricUpdateAttributes instantiates a new LogsMetricUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricUpdateAttributesWithDefaults ¶

func NewLogsMetricUpdateAttributesWithDefaults() *LogsMetricUpdateAttributes

NewLogsMetricUpdateAttributesWithDefaults instantiates a new LogsMetricUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricUpdateAttributes) GetFilter ¶

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsMetricUpdateAttributes) GetFilterOk ¶

func (o *LogsMetricUpdateAttributes) GetFilterOk() (*LogsMetricFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricUpdateAttributes) GetGroupBy ¶

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*LogsMetricUpdateAttributes) GetGroupByOk ¶

func (o *LogsMetricUpdateAttributes) GetGroupByOk() (*[]LogsMetricGroupBy, bool)

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricUpdateAttributes) HasFilter ¶

func (o *LogsMetricUpdateAttributes) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsMetricUpdateAttributes) HasGroupBy ¶

func (o *LogsMetricUpdateAttributes) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (LogsMetricUpdateAttributes) MarshalJSON ¶

func (o LogsMetricUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricUpdateAttributes) SetFilter ¶

SetFilter gets a reference to the given LogsMetricFilter and assigns it to the Filter field.

func (*LogsMetricUpdateAttributes) SetGroupBy ¶

func (o *LogsMetricUpdateAttributes) SetGroupBy(v []LogsMetricGroupBy)

SetGroupBy gets a reference to the given []LogsMetricGroupBy and assigns it to the GroupBy field.

func (*LogsMetricUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricUpdateData ¶

type LogsMetricUpdateData struct {
	// The log-based metric properties that will be updated.
	Attributes LogsMetricUpdateAttributes `json:"attributes"`
	// The type of the resource. The value should always be logs_metrics.
	Type LogsMetricType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricUpdateData The new log-based metric properties.

func NewLogsMetricUpdateData ¶

func NewLogsMetricUpdateData(attributes LogsMetricUpdateAttributes, typeVar LogsMetricType) *LogsMetricUpdateData

NewLogsMetricUpdateData instantiates a new LogsMetricUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricUpdateDataWithDefaults ¶

func NewLogsMetricUpdateDataWithDefaults() *LogsMetricUpdateData

NewLogsMetricUpdateDataWithDefaults instantiates a new LogsMetricUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricUpdateData) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*LogsMetricUpdateData) GetAttributesOk ¶

func (o *LogsMetricUpdateData) GetAttributesOk() (*LogsMetricUpdateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*LogsMetricUpdateData) GetType ¶

func (o *LogsMetricUpdateData) GetType() LogsMetricType

GetType returns the Type field value.

func (*LogsMetricUpdateData) GetTypeOk ¶

func (o *LogsMetricUpdateData) GetTypeOk() (*LogsMetricType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (LogsMetricUpdateData) MarshalJSON ¶

func (o LogsMetricUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricUpdateData) SetAttributes ¶

SetAttributes sets field value.

func (*LogsMetricUpdateData) SetType ¶

func (o *LogsMetricUpdateData) SetType(v LogsMetricType)

SetType sets field value.

func (*LogsMetricUpdateData) UnmarshalJSON ¶

func (o *LogsMetricUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricUpdateRequest ¶

type LogsMetricUpdateRequest struct {
	// The new log-based metric properties.
	Data LogsMetricUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricUpdateRequest The new log-based metric body.

func NewLogsMetricUpdateRequest ¶

func NewLogsMetricUpdateRequest(data LogsMetricUpdateData) *LogsMetricUpdateRequest

NewLogsMetricUpdateRequest instantiates a new LogsMetricUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricUpdateRequestWithDefaults ¶

func NewLogsMetricUpdateRequestWithDefaults() *LogsMetricUpdateRequest

NewLogsMetricUpdateRequestWithDefaults instantiates a new LogsMetricUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricUpdateRequest) GetData ¶

GetData returns the Data field value.

func (*LogsMetricUpdateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (LogsMetricUpdateRequest) MarshalJSON ¶

func (o LogsMetricUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricUpdateRequest) SetData ¶

SetData sets field value.

func (*LogsMetricUpdateRequest) UnmarshalJSON ¶

func (o *LogsMetricUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricsApiService ¶

type LogsMetricsApiService service

LogsMetricsApiService LogsMetricsApi service.

func (*LogsMetricsApiService) CreateLogsMetric ¶

CreateLogsMetric Create a log-based metric. Create a metric based on your ingested logs in your organization. Returns the log-based metric object from the request body when the request is successful.

func (*LogsMetricsApiService) DeleteLogsMetric ¶

func (a *LogsMetricsApiService) DeleteLogsMetric(ctx _context.Context, metricId string) (*_nethttp.Response, error)

DeleteLogsMetric Delete a log-based metric. Delete a specific log-based metric from your organization.

func (*LogsMetricsApiService) GetLogsMetric ¶

GetLogsMetric Get a log-based metric. Get a specific log-based metric from your organization.

func (*LogsMetricsApiService) ListLogsMetrics ¶

ListLogsMetrics Get all log-based metrics. Get the list of configured log-based metrics with their definitions.

func (*LogsMetricsApiService) UpdateLogsMetric ¶

UpdateLogsMetric Update a log-based metric. Update a specific log-based metric from your organization. Returns the log-based metric object from the request body when the request is successful.

type LogsMetricsResponse ¶

type LogsMetricsResponse struct {
	// A list of log-based metric objects.
	Data []LogsMetricResponseData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricsResponse All the available log-based metric objects.

func NewLogsMetricsResponse ¶

func NewLogsMetricsResponse() *LogsMetricsResponse

NewLogsMetricsResponse instantiates a new LogsMetricsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricsResponseWithDefaults ¶

func NewLogsMetricsResponseWithDefaults() *LogsMetricsResponse

NewLogsMetricsResponseWithDefaults instantiates a new LogsMetricsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricsResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*LogsMetricsResponse) GetDataOk ¶

func (o *LogsMetricsResponse) GetDataOk() (*[]LogsMetricResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricsResponse) HasData ¶

func (o *LogsMetricsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsMetricsResponse) MarshalJSON ¶

func (o LogsMetricsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricsResponse) SetData ¶

SetData gets a reference to the given []LogsMetricResponseData and assigns it to the Data field.

func (*LogsMetricsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsQueryFilter ¶

type LogsQueryFilter struct {
	// The minimum time for the requested logs, supports date math and regular timestamps (milliseconds).
	From *string `json:"from,omitempty"`
	// For customers with multiple indexes, the indexes to search. Defaults to ['*'] which means all indexes.
	Indexes []string `json:"indexes,omitempty"`
	// The search query - following the log search syntax.
	Query *string `json:"query,omitempty"`
	// The maximum time for the requested logs, supports date math and regular timestamps (milliseconds).
	To *string `json:"to,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsQueryFilter The search and filter query settings

func NewLogsQueryFilter ¶

func NewLogsQueryFilter() *LogsQueryFilter

NewLogsQueryFilter instantiates a new LogsQueryFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsQueryFilterWithDefaults ¶

func NewLogsQueryFilterWithDefaults() *LogsQueryFilter

NewLogsQueryFilterWithDefaults instantiates a new LogsQueryFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsQueryFilter) GetFrom ¶

func (o *LogsQueryFilter) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*LogsQueryFilter) GetFromOk ¶

func (o *LogsQueryFilter) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryFilter) GetIndexes ¶

func (o *LogsQueryFilter) GetIndexes() []string

GetIndexes returns the Indexes field value if set, zero value otherwise.

func (*LogsQueryFilter) GetIndexesOk ¶

func (o *LogsQueryFilter) GetIndexesOk() (*[]string, bool)

GetIndexesOk returns a tuple with the Indexes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryFilter) GetQuery ¶

func (o *LogsQueryFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*LogsQueryFilter) GetQueryOk ¶

func (o *LogsQueryFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryFilter) GetTo ¶

func (o *LogsQueryFilter) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*LogsQueryFilter) GetToOk ¶

func (o *LogsQueryFilter) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryFilter) HasFrom ¶

func (o *LogsQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*LogsQueryFilter) HasIndexes ¶

func (o *LogsQueryFilter) HasIndexes() bool

HasIndexes returns a boolean if a field has been set.

func (*LogsQueryFilter) HasQuery ¶

func (o *LogsQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*LogsQueryFilter) HasTo ¶

func (o *LogsQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (LogsQueryFilter) MarshalJSON ¶

func (o LogsQueryFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsQueryFilter) SetFrom ¶

func (o *LogsQueryFilter) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*LogsQueryFilter) SetIndexes ¶

func (o *LogsQueryFilter) SetIndexes(v []string)

SetIndexes gets a reference to the given []string and assigns it to the Indexes field.

func (*LogsQueryFilter) SetQuery ¶

func (o *LogsQueryFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*LogsQueryFilter) SetTo ¶

func (o *LogsQueryFilter) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

func (*LogsQueryFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsQueryFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsQueryOptions ¶

type LogsQueryOptions struct {
	// The time offset (in seconds) to apply to the query.
	TimeOffset *int64 `json:"timeOffset,omitempty"`
	// The timezone can be specified both as an offset, for example: "UTC+03:00".
	Timezone *string `json:"timezone,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsQueryOptions Global query options that are used during the query. Note: You should only supply timezone or time offset but not both otherwise the query will fail.

func NewLogsQueryOptions ¶

func NewLogsQueryOptions() *LogsQueryOptions

NewLogsQueryOptions instantiates a new LogsQueryOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsQueryOptionsWithDefaults ¶

func NewLogsQueryOptionsWithDefaults() *LogsQueryOptions

NewLogsQueryOptionsWithDefaults instantiates a new LogsQueryOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsQueryOptions) GetTimeOffset ¶

func (o *LogsQueryOptions) GetTimeOffset() int64

GetTimeOffset returns the TimeOffset field value if set, zero value otherwise.

func (*LogsQueryOptions) GetTimeOffsetOk ¶

func (o *LogsQueryOptions) GetTimeOffsetOk() (*int64, bool)

GetTimeOffsetOk returns a tuple with the TimeOffset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryOptions) GetTimezone ¶

func (o *LogsQueryOptions) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*LogsQueryOptions) GetTimezoneOk ¶

func (o *LogsQueryOptions) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryOptions) HasTimeOffset ¶

func (o *LogsQueryOptions) HasTimeOffset() bool

HasTimeOffset returns a boolean if a field has been set.

func (*LogsQueryOptions) HasTimezone ¶

func (o *LogsQueryOptions) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (LogsQueryOptions) MarshalJSON ¶

func (o LogsQueryOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsQueryOptions) SetTimeOffset ¶

func (o *LogsQueryOptions) SetTimeOffset(v int64)

SetTimeOffset gets a reference to the given int64 and assigns it to the TimeOffset field.

func (*LogsQueryOptions) SetTimezone ¶

func (o *LogsQueryOptions) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*LogsQueryOptions) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsQueryOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsResponseMetadata ¶

type LogsResponseMetadata struct {
	// The time elapsed in milliseconds
	Elapsed *int64 `json:"elapsed,omitempty"`
	// Paging attributes.
	Page *LogsResponseMetadataPage `json:"page,omitempty"`
	// The identifier of the request
	RequestId *string `json:"request_id,omitempty"`
	// The status of the response
	Status *LogsAggregateResponseStatus `json:"status,omitempty"`
	// A list of warnings (non fatal errors) encountered, partial results might be returned if
	// warnings are present in the response.
	Warnings []LogsWarning `json:"warnings,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsResponseMetadata The metadata associated with a request

func NewLogsResponseMetadata ¶

func NewLogsResponseMetadata() *LogsResponseMetadata

NewLogsResponseMetadata instantiates a new LogsResponseMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsResponseMetadataWithDefaults ¶

func NewLogsResponseMetadataWithDefaults() *LogsResponseMetadata

NewLogsResponseMetadataWithDefaults instantiates a new LogsResponseMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsResponseMetadata) GetElapsed ¶

func (o *LogsResponseMetadata) GetElapsed() int64

GetElapsed returns the Elapsed field value if set, zero value otherwise.

func (*LogsResponseMetadata) GetElapsedOk ¶

func (o *LogsResponseMetadata) GetElapsedOk() (*int64, bool)

GetElapsedOk returns a tuple with the Elapsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsResponseMetadata) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*LogsResponseMetadata) GetPageOk ¶

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsResponseMetadata) GetRequestId ¶

func (o *LogsResponseMetadata) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*LogsResponseMetadata) GetRequestIdOk ¶

func (o *LogsResponseMetadata) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsResponseMetadata) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*LogsResponseMetadata) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsResponseMetadata) GetWarnings ¶

func (o *LogsResponseMetadata) GetWarnings() []LogsWarning

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*LogsResponseMetadata) GetWarningsOk ¶

func (o *LogsResponseMetadata) GetWarningsOk() (*[]LogsWarning, bool)

GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsResponseMetadata) HasElapsed ¶

func (o *LogsResponseMetadata) HasElapsed() bool

HasElapsed returns a boolean if a field has been set.

func (*LogsResponseMetadata) HasPage ¶

func (o *LogsResponseMetadata) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*LogsResponseMetadata) HasRequestId ¶

func (o *LogsResponseMetadata) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*LogsResponseMetadata) HasStatus ¶

func (o *LogsResponseMetadata) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*LogsResponseMetadata) HasWarnings ¶

func (o *LogsResponseMetadata) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (LogsResponseMetadata) MarshalJSON ¶

func (o LogsResponseMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsResponseMetadata) SetElapsed ¶

func (o *LogsResponseMetadata) SetElapsed(v int64)

SetElapsed gets a reference to the given int64 and assigns it to the Elapsed field.

func (*LogsResponseMetadata) SetPage ¶

SetPage gets a reference to the given LogsResponseMetadataPage and assigns it to the Page field.

func (*LogsResponseMetadata) SetRequestId ¶

func (o *LogsResponseMetadata) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*LogsResponseMetadata) SetStatus ¶

SetStatus gets a reference to the given LogsAggregateResponseStatus and assigns it to the Status field.

func (*LogsResponseMetadata) SetWarnings ¶

func (o *LogsResponseMetadata) SetWarnings(v []LogsWarning)

SetWarnings gets a reference to the given []LogsWarning and assigns it to the Warnings field.

func (*LogsResponseMetadata) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsResponseMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsResponseMetadataPage ¶

type LogsResponseMetadataPage struct {
	// The cursor to use to get the next results, if any. To make the next request, use the same.
	// parameters with the addition of the `page[cursor]`.
	After *string `json:"after,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsResponseMetadataPage Paging attributes.

func NewLogsResponseMetadataPage ¶

func NewLogsResponseMetadataPage() *LogsResponseMetadataPage

NewLogsResponseMetadataPage instantiates a new LogsResponseMetadataPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsResponseMetadataPageWithDefaults ¶

func NewLogsResponseMetadataPageWithDefaults() *LogsResponseMetadataPage

NewLogsResponseMetadataPageWithDefaults instantiates a new LogsResponseMetadataPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsResponseMetadataPage) GetAfter ¶

func (o *LogsResponseMetadataPage) GetAfter() string

GetAfter returns the After field value if set, zero value otherwise.

func (*LogsResponseMetadataPage) GetAfterOk ¶

func (o *LogsResponseMetadataPage) GetAfterOk() (*string, bool)

GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsResponseMetadataPage) HasAfter ¶

func (o *LogsResponseMetadataPage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (LogsResponseMetadataPage) MarshalJSON ¶

func (o LogsResponseMetadataPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsResponseMetadataPage) SetAfter ¶

func (o *LogsResponseMetadataPage) SetAfter(v string)

SetAfter gets a reference to the given string and assigns it to the After field.

func (*LogsResponseMetadataPage) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsResponseMetadataPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsSort ¶

type LogsSort string

LogsSort Sort parameters when querying logs.

const (
	LOGSSORT_TIMESTAMP_ASCENDING  LogsSort = "timestamp"
	LOGSSORT_TIMESTAMP_DESCENDING LogsSort = "-timestamp"
)

List of LogsSort.

func NewLogsSortFromValue ¶

func NewLogsSortFromValue(v string) (*LogsSort, error)

NewLogsSortFromValue returns a pointer to a valid LogsSort for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsSort) GetAllowedValues ¶ added in v1.1.0

func (v *LogsSort) GetAllowedValues() []LogsSort

GetAllowedValues reeturns the list of possible values.

func (LogsSort) IsValid ¶

func (v LogsSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsSort) Ptr ¶

func (v LogsSort) Ptr() *LogsSort

Ptr returns reference to LogsSort value.

func (*LogsSort) UnmarshalJSON ¶

func (v *LogsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsSortOrder ¶

type LogsSortOrder string

LogsSortOrder The order to use, ascending or descending

const (
	LOGSSORTORDER_ASCENDING  LogsSortOrder = "asc"
	LOGSSORTORDER_DESCENDING LogsSortOrder = "desc"
)

List of LogsSortOrder.

func NewLogsSortOrderFromValue ¶

func NewLogsSortOrderFromValue(v string) (*LogsSortOrder, error)

NewLogsSortOrderFromValue returns a pointer to a valid LogsSortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsSortOrder) GetAllowedValues ¶ added in v1.1.0

func (v *LogsSortOrder) GetAllowedValues() []LogsSortOrder

GetAllowedValues reeturns the list of possible values.

func (LogsSortOrder) IsValid ¶

func (v LogsSortOrder) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsSortOrder) Ptr ¶

func (v LogsSortOrder) Ptr() *LogsSortOrder

Ptr returns reference to LogsSortOrder value.

func (*LogsSortOrder) UnmarshalJSON ¶

func (v *LogsSortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsWarning ¶

type LogsWarning struct {
	// A unique code for this type of warning
	Code *string `json:"code,omitempty"`
	// A detailed explanation of this specific warning
	Detail *string `json:"detail,omitempty"`
	// A short human-readable summary of the warning
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsWarning A warning message indicating something that went wrong with the query

func NewLogsWarning ¶

func NewLogsWarning() *LogsWarning

NewLogsWarning instantiates a new LogsWarning object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsWarningWithDefaults ¶

func NewLogsWarningWithDefaults() *LogsWarning

NewLogsWarningWithDefaults instantiates a new LogsWarning object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsWarning) GetCode ¶

func (o *LogsWarning) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*LogsWarning) GetCodeOk ¶

func (o *LogsWarning) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsWarning) GetDetail ¶

func (o *LogsWarning) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*LogsWarning) GetDetailOk ¶

func (o *LogsWarning) 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 (*LogsWarning) GetTitle ¶

func (o *LogsWarning) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*LogsWarning) GetTitleOk ¶

func (o *LogsWarning) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsWarning) HasCode ¶

func (o *LogsWarning) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*LogsWarning) HasDetail ¶

func (o *LogsWarning) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*LogsWarning) HasTitle ¶

func (o *LogsWarning) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (LogsWarning) MarshalJSON ¶

func (o LogsWarning) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsWarning) SetCode ¶

func (o *LogsWarning) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*LogsWarning) SetDetail ¶

func (o *LogsWarning) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*LogsWarning) SetTitle ¶

func (o *LogsWarning) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*LogsWarning) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsWarning) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Metric ¶

type Metric struct {
	// The metric name for this resource.
	Id *string `json:"id,omitempty"`
	// The metric resource type.
	Type *MetricType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Metric Object for a single metric tag configuration.

func NewMetric ¶

func NewMetric() *Metric

NewMetric instantiates a new Metric object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricWithDefaults ¶

func NewMetricWithDefaults() *Metric

NewMetricWithDefaults instantiates a new Metric object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*Metric) GetId ¶

func (o *Metric) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Metric) GetIdOk ¶

func (o *Metric) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metric) GetType ¶

func (o *Metric) GetType() MetricType

GetType returns the Type field value if set, zero value otherwise.

func (*Metric) GetTypeOk ¶

func (o *Metric) GetTypeOk() (*MetricType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metric) HasId ¶

func (o *Metric) HasId() bool

HasId returns a boolean if a field has been set.

func (*Metric) HasType ¶

func (o *Metric) HasType() bool

HasType returns a boolean if a field has been set.

func (Metric) MarshalJSON ¶

func (o Metric) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Metric) SetId ¶

func (o *Metric) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Metric) SetType ¶

func (o *Metric) SetType(v MetricType)

SetType gets a reference to the given MetricType and assigns it to the Type field.

func (*Metric) UnmarshalJSON ¶ added in v1.3.0

func (o *Metric) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricAllTags ¶

type MetricAllTags struct {
	// Object containing the definition of a metric's tags.
	Attributes *MetricAllTagsAttributes `json:"attributes,omitempty"`
	// The metric name for this resource.
	Id *string `json:"id,omitempty"`
	// The metric resource type.
	Type *MetricType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricAllTags Object for a single metric's indexed tags.

func NewMetricAllTags ¶

func NewMetricAllTags() *MetricAllTags

NewMetricAllTags instantiates a new MetricAllTags object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricAllTagsWithDefaults ¶

func NewMetricAllTagsWithDefaults() *MetricAllTags

NewMetricAllTagsWithDefaults instantiates a new MetricAllTags object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricAllTags) GetAttributes ¶

func (o *MetricAllTags) GetAttributes() MetricAllTagsAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricAllTags) GetAttributesOk ¶

func (o *MetricAllTags) GetAttributesOk() (*MetricAllTagsAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricAllTags) GetId ¶

func (o *MetricAllTags) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MetricAllTags) GetIdOk ¶

func (o *MetricAllTags) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricAllTags) GetType ¶

func (o *MetricAllTags) GetType() MetricType

GetType returns the Type field value if set, zero value otherwise.

func (*MetricAllTags) GetTypeOk ¶

func (o *MetricAllTags) GetTypeOk() (*MetricType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricAllTags) HasAttributes ¶

func (o *MetricAllTags) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*MetricAllTags) HasId ¶

func (o *MetricAllTags) HasId() bool

HasId returns a boolean if a field has been set.

func (*MetricAllTags) HasType ¶

func (o *MetricAllTags) HasType() bool

HasType returns a boolean if a field has been set.

func (MetricAllTags) MarshalJSON ¶

func (o MetricAllTags) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricAllTags) SetAttributes ¶

func (o *MetricAllTags) SetAttributes(v MetricAllTagsAttributes)

SetAttributes gets a reference to the given MetricAllTagsAttributes and assigns it to the Attributes field.

func (*MetricAllTags) SetId ¶

func (o *MetricAllTags) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricAllTags) SetType ¶

func (o *MetricAllTags) SetType(v MetricType)

SetType gets a reference to the given MetricType and assigns it to the Type field.

func (*MetricAllTags) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricAllTags) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricAllTagsAttributes ¶

type MetricAllTagsAttributes struct {
	// List of indexed tag value pairs.
	Tags []string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricAllTagsAttributes Object containing the definition of a metric's tags.

func NewMetricAllTagsAttributes ¶

func NewMetricAllTagsAttributes() *MetricAllTagsAttributes

NewMetricAllTagsAttributes instantiates a new MetricAllTagsAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricAllTagsAttributesWithDefaults ¶

func NewMetricAllTagsAttributesWithDefaults() *MetricAllTagsAttributes

NewMetricAllTagsAttributesWithDefaults instantiates a new MetricAllTagsAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricAllTagsAttributes) GetTags ¶

func (o *MetricAllTagsAttributes) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricAllTagsAttributes) GetTagsOk ¶

func (o *MetricAllTagsAttributes) 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 (*MetricAllTagsAttributes) HasTags ¶

func (o *MetricAllTagsAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (MetricAllTagsAttributes) MarshalJSON ¶

func (o MetricAllTagsAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricAllTagsAttributes) SetTags ¶

func (o *MetricAllTagsAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricAllTagsAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricAllTagsAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricAllTagsResponse ¶

type MetricAllTagsResponse struct {
	// Object for a single metric's indexed tags.
	Data *MetricAllTags `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricAllTagsResponse Response object that includes a single metric's indexed tags.

func NewMetricAllTagsResponse ¶

func NewMetricAllTagsResponse() *MetricAllTagsResponse

NewMetricAllTagsResponse instantiates a new MetricAllTagsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricAllTagsResponseWithDefaults ¶

func NewMetricAllTagsResponseWithDefaults() *MetricAllTagsResponse

NewMetricAllTagsResponseWithDefaults instantiates a new MetricAllTagsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricAllTagsResponse) GetData ¶

func (o *MetricAllTagsResponse) GetData() MetricAllTags

GetData returns the Data field value if set, zero value otherwise.

func (*MetricAllTagsResponse) GetDataOk ¶

func (o *MetricAllTagsResponse) GetDataOk() (*MetricAllTags, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricAllTagsResponse) HasData ¶

func (o *MetricAllTagsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (MetricAllTagsResponse) MarshalJSON ¶

func (o MetricAllTagsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricAllTagsResponse) SetData ¶

func (o *MetricAllTagsResponse) SetData(v MetricAllTags)

SetData gets a reference to the given MetricAllTags and assigns it to the Data field.

func (*MetricAllTagsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricAllTagsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkConfigureTagsType ¶ added in v1.9.0

type MetricBulkConfigureTagsType string

MetricBulkConfigureTagsType The metric bulk configure tags resource.

const (
	METRICBULKCONFIGURETAGSTYPE_BULK_MANAGE_TAGS MetricBulkConfigureTagsType = "metric_bulk_configure_tags"
)

List of MetricBulkConfigureTagsType.

func NewMetricBulkConfigureTagsTypeFromValue ¶ added in v1.9.0

func NewMetricBulkConfigureTagsTypeFromValue(v string) (*MetricBulkConfigureTagsType, error)

NewMetricBulkConfigureTagsTypeFromValue returns a pointer to a valid MetricBulkConfigureTagsType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricBulkConfigureTagsType) GetAllowedValues ¶ added in v1.9.0

GetAllowedValues reeturns the list of possible values.

func (MetricBulkConfigureTagsType) IsValid ¶ added in v1.9.0

func (v MetricBulkConfigureTagsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricBulkConfigureTagsType) Ptr ¶ added in v1.9.0

Ptr returns reference to MetricBulkConfigureTagsType value.

func (*MetricBulkConfigureTagsType) UnmarshalJSON ¶ added in v1.9.0

func (v *MetricBulkConfigureTagsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigCreate ¶ added in v1.9.0

type MetricBulkTagConfigCreate struct {
	// Optional parameters for bulk creating metric tag configurations.
	Attributes *MetricBulkTagConfigCreateAttributes `json:"attributes,omitempty"`
	// A text prefix to match against metric names.
	Id string `json:"id"`
	// The metric bulk configure tags resource.
	Type MetricBulkConfigureTagsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigCreate Request object to bulk configure tags for metrics matching the given prefix.

func NewMetricBulkTagConfigCreate ¶ added in v1.9.0

func NewMetricBulkTagConfigCreate(id string, typeVar MetricBulkConfigureTagsType) *MetricBulkTagConfigCreate

NewMetricBulkTagConfigCreate instantiates a new MetricBulkTagConfigCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricBulkTagConfigCreateWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigCreateWithDefaults() *MetricBulkTagConfigCreate

NewMetricBulkTagConfigCreateWithDefaults instantiates a new MetricBulkTagConfigCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricBulkTagConfigCreate) GetAttributes ¶ added in v1.9.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricBulkTagConfigCreate) GetAttributesOk ¶ added in v1.9.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigCreate) GetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreate) GetId() string

GetId returns the Id field value.

func (*MetricBulkTagConfigCreate) GetIdOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreate) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigCreate) GetType ¶ added in v1.9.0

GetType returns the Type field value.

func (*MetricBulkTagConfigCreate) GetTypeOk ¶ added in v1.9.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigCreate) HasAttributes ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricBulkTagConfigCreate) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigCreate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigCreate) SetAttributes ¶ added in v1.9.0

SetAttributes gets a reference to the given MetricBulkTagConfigCreateAttributes and assigns it to the Attributes field.

func (*MetricBulkTagConfigCreate) SetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreate) SetId(v string)

SetId sets field value.

func (*MetricBulkTagConfigCreate) SetType ¶ added in v1.9.0

SetType sets field value.

func (*MetricBulkTagConfigCreate) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigCreateAttributes ¶ added in v1.9.0

type MetricBulkTagConfigCreateAttributes struct {
	// A list of account emails to notify when the configuration is applied.
	Emails []string `json:"emails,omitempty"`
	// A list of tag names to apply to the configuration.
	Tags []string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigCreateAttributes Optional parameters for bulk creating metric tag configurations.

func NewMetricBulkTagConfigCreateAttributes ¶ added in v1.9.0

func NewMetricBulkTagConfigCreateAttributes() *MetricBulkTagConfigCreateAttributes

NewMetricBulkTagConfigCreateAttributes instantiates a new MetricBulkTagConfigCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricBulkTagConfigCreateAttributesWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigCreateAttributesWithDefaults() *MetricBulkTagConfigCreateAttributes

NewMetricBulkTagConfigCreateAttributesWithDefaults instantiates a new MetricBulkTagConfigCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricBulkTagConfigCreateAttributes) GetEmails ¶ added in v1.9.0

GetEmails returns the Emails field value if set, zero value otherwise.

func (*MetricBulkTagConfigCreateAttributes) GetEmailsOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreateAttributes) GetEmailsOk() (*[]string, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigCreateAttributes) GetTags ¶ added in v1.9.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricBulkTagConfigCreateAttributes) GetTagsOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreateAttributes) 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 (*MetricBulkTagConfigCreateAttributes) HasEmails ¶ added in v1.9.0

HasEmails returns a boolean if a field has been set.

func (*MetricBulkTagConfigCreateAttributes) HasTags ¶ added in v1.9.0

HasTags returns a boolean if a field has been set.

func (MetricBulkTagConfigCreateAttributes) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigCreateAttributes) SetEmails ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreateAttributes) SetEmails(v []string)

SetEmails gets a reference to the given []string and assigns it to the Emails field.

func (*MetricBulkTagConfigCreateAttributes) SetTags ¶ added in v1.9.0

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricBulkTagConfigCreateAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigCreateRequest ¶ added in v1.9.0

type MetricBulkTagConfigCreateRequest struct {
	// Request object to bulk configure tags for metrics matching the given prefix.
	Data MetricBulkTagConfigCreate `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigCreateRequest Wrapper object for a single bulk tag configuration request.

func NewMetricBulkTagConfigCreateRequest ¶ added in v1.9.0

func NewMetricBulkTagConfigCreateRequest(data MetricBulkTagConfigCreate) *MetricBulkTagConfigCreateRequest

NewMetricBulkTagConfigCreateRequest instantiates a new MetricBulkTagConfigCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricBulkTagConfigCreateRequestWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigCreateRequestWithDefaults() *MetricBulkTagConfigCreateRequest

NewMetricBulkTagConfigCreateRequestWithDefaults instantiates a new MetricBulkTagConfigCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricBulkTagConfigCreateRequest) GetData ¶ added in v1.9.0

GetData returns the Data field value.

func (*MetricBulkTagConfigCreateRequest) GetDataOk ¶ added in v1.9.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (MetricBulkTagConfigCreateRequest) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigCreateRequest) SetData ¶ added in v1.9.0

SetData sets field value.

func (*MetricBulkTagConfigCreateRequest) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigDelete ¶ added in v1.9.0

type MetricBulkTagConfigDelete struct {
	// Optional parameters for bulk deleting metric tag configurations.
	Attributes *MetricBulkTagConfigDeleteAttributes `json:"attributes,omitempty"`
	// A text prefix to match against metric names.
	Id string `json:"id"`
	// The metric bulk configure tags resource.
	Type MetricBulkConfigureTagsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigDelete Request object to bulk delete all tag configurations for metrics matching the given prefix.

func NewMetricBulkTagConfigDelete ¶ added in v1.9.0

func NewMetricBulkTagConfigDelete(id string, typeVar MetricBulkConfigureTagsType) *MetricBulkTagConfigDelete

NewMetricBulkTagConfigDelete instantiates a new MetricBulkTagConfigDelete object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricBulkTagConfigDeleteWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigDeleteWithDefaults() *MetricBulkTagConfigDelete

NewMetricBulkTagConfigDeleteWithDefaults instantiates a new MetricBulkTagConfigDelete object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricBulkTagConfigDelete) GetAttributes ¶ added in v1.9.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricBulkTagConfigDelete) GetAttributesOk ¶ added in v1.9.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigDelete) GetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigDelete) GetId() string

GetId returns the Id field value.

func (*MetricBulkTagConfigDelete) GetIdOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigDelete) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigDelete) GetType ¶ added in v1.9.0

GetType returns the Type field value.

func (*MetricBulkTagConfigDelete) GetTypeOk ¶ added in v1.9.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigDelete) HasAttributes ¶ added in v1.9.0

func (o *MetricBulkTagConfigDelete) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricBulkTagConfigDelete) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigDelete) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigDelete) SetAttributes ¶ added in v1.9.0

SetAttributes gets a reference to the given MetricBulkTagConfigDeleteAttributes and assigns it to the Attributes field.

func (*MetricBulkTagConfigDelete) SetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigDelete) SetId(v string)

SetId sets field value.

func (*MetricBulkTagConfigDelete) SetType ¶ added in v1.9.0

SetType sets field value.

func (*MetricBulkTagConfigDelete) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigDelete) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigDeleteAttributes ¶ added in v1.9.0

type MetricBulkTagConfigDeleteAttributes struct {
	// A list of account emails to notify when the configuration is applied.
	Emails []string `json:"emails,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigDeleteAttributes Optional parameters for bulk deleting metric tag configurations.

func NewMetricBulkTagConfigDeleteAttributes ¶ added in v1.9.0

func NewMetricBulkTagConfigDeleteAttributes() *MetricBulkTagConfigDeleteAttributes

NewMetricBulkTagConfigDeleteAttributes instantiates a new MetricBulkTagConfigDeleteAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricBulkTagConfigDeleteAttributesWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigDeleteAttributesWithDefaults() *MetricBulkTagConfigDeleteAttributes

NewMetricBulkTagConfigDeleteAttributesWithDefaults instantiates a new MetricBulkTagConfigDeleteAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricBulkTagConfigDeleteAttributes) GetEmails ¶ added in v1.9.0

GetEmails returns the Emails field value if set, zero value otherwise.

func (*MetricBulkTagConfigDeleteAttributes) GetEmailsOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigDeleteAttributes) GetEmailsOk() (*[]string, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigDeleteAttributes) HasEmails ¶ added in v1.9.0

HasEmails returns a boolean if a field has been set.

func (MetricBulkTagConfigDeleteAttributes) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigDeleteAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigDeleteAttributes) SetEmails ¶ added in v1.9.0

func (o *MetricBulkTagConfigDeleteAttributes) SetEmails(v []string)

SetEmails gets a reference to the given []string and assigns it to the Emails field.

func (*MetricBulkTagConfigDeleteAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigDeleteAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigDeleteRequest ¶ added in v1.9.0

type MetricBulkTagConfigDeleteRequest struct {
	// Request object to bulk delete all tag configurations for metrics matching the given prefix.
	Data MetricBulkTagConfigDelete `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigDeleteRequest Wrapper object for a single bulk tag deletion request.

func NewMetricBulkTagConfigDeleteRequest ¶ added in v1.9.0

func NewMetricBulkTagConfigDeleteRequest(data MetricBulkTagConfigDelete) *MetricBulkTagConfigDeleteRequest

NewMetricBulkTagConfigDeleteRequest instantiates a new MetricBulkTagConfigDeleteRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricBulkTagConfigDeleteRequestWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigDeleteRequestWithDefaults() *MetricBulkTagConfigDeleteRequest

NewMetricBulkTagConfigDeleteRequestWithDefaults instantiates a new MetricBulkTagConfigDeleteRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricBulkTagConfigDeleteRequest) GetData ¶ added in v1.9.0

GetData returns the Data field value.

func (*MetricBulkTagConfigDeleteRequest) GetDataOk ¶ added in v1.9.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (MetricBulkTagConfigDeleteRequest) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigDeleteRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigDeleteRequest) SetData ¶ added in v1.9.0

SetData sets field value.

func (*MetricBulkTagConfigDeleteRequest) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigDeleteRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigResponse ¶ added in v1.9.0

type MetricBulkTagConfigResponse struct {
	// The status of a request to bulk configure metric tags.
	// It contains the fields from the original request for reference.
	Data *MetricBulkTagConfigStatus `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigResponse Wrapper for a single bulk tag configuration status response.

func NewMetricBulkTagConfigResponse ¶ added in v1.9.0

func NewMetricBulkTagConfigResponse() *MetricBulkTagConfigResponse

NewMetricBulkTagConfigResponse instantiates a new MetricBulkTagConfigResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricBulkTagConfigResponseWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigResponseWithDefaults() *MetricBulkTagConfigResponse

NewMetricBulkTagConfigResponseWithDefaults instantiates a new MetricBulkTagConfigResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricBulkTagConfigResponse) GetData ¶ added in v1.9.0

GetData returns the Data field value if set, zero value otherwise.

func (*MetricBulkTagConfigResponse) GetDataOk ¶ added in v1.9.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigResponse) HasData ¶ added in v1.9.0

func (o *MetricBulkTagConfigResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (MetricBulkTagConfigResponse) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigResponse) SetData ¶ added in v1.9.0

SetData gets a reference to the given MetricBulkTagConfigStatus and assigns it to the Data field.

func (*MetricBulkTagConfigResponse) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigStatus ¶ added in v1.9.0

type MetricBulkTagConfigStatus struct {
	// Optional attributes for the status of a bulk tag configuration request.
	Attributes *MetricBulkTagConfigStatusAttributes `json:"attributes,omitempty"`
	// A text prefix to match against metric names.
	Id string `json:"id"`
	// The metric bulk configure tags resource.
	Type MetricBulkConfigureTagsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigStatus The status of a request to bulk configure metric tags. It contains the fields from the original request for reference.

func NewMetricBulkTagConfigStatus ¶ added in v1.9.0

func NewMetricBulkTagConfigStatus(id string, typeVar MetricBulkConfigureTagsType) *MetricBulkTagConfigStatus

NewMetricBulkTagConfigStatus instantiates a new MetricBulkTagConfigStatus object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricBulkTagConfigStatusWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigStatusWithDefaults() *MetricBulkTagConfigStatus

NewMetricBulkTagConfigStatusWithDefaults instantiates a new MetricBulkTagConfigStatus object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricBulkTagConfigStatus) GetAttributes ¶ added in v1.9.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatus) GetAttributesOk ¶ added in v1.9.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatus) GetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatus) GetId() string

GetId returns the Id field value.

func (*MetricBulkTagConfigStatus) GetIdOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatus) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatus) GetType ¶ added in v1.9.0

GetType returns the Type field value.

func (*MetricBulkTagConfigStatus) GetTypeOk ¶ added in v1.9.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatus) HasAttributes ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatus) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricBulkTagConfigStatus) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigStatus) SetAttributes ¶ added in v1.9.0

SetAttributes gets a reference to the given MetricBulkTagConfigStatusAttributes and assigns it to the Attributes field.

func (*MetricBulkTagConfigStatus) SetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatus) SetId(v string)

SetId sets field value.

func (*MetricBulkTagConfigStatus) SetType ¶ added in v1.9.0

SetType sets field value.

func (*MetricBulkTagConfigStatus) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatus) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigStatusAttributes ¶ added in v1.9.0

type MetricBulkTagConfigStatusAttributes struct {
	// A list of account emails to notify when the configuration is applied.
	Emails []string `json:"emails,omitempty"`
	// The status of the request.
	Status *string `json:"status,omitempty"`
	// A list of tag names to apply to the configuration.
	Tags []string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigStatusAttributes Optional attributes for the status of a bulk tag configuration request.

func NewMetricBulkTagConfigStatusAttributes ¶ added in v1.9.0

func NewMetricBulkTagConfigStatusAttributes() *MetricBulkTagConfigStatusAttributes

NewMetricBulkTagConfigStatusAttributes instantiates a new MetricBulkTagConfigStatusAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricBulkTagConfigStatusAttributesWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigStatusAttributesWithDefaults() *MetricBulkTagConfigStatusAttributes

NewMetricBulkTagConfigStatusAttributesWithDefaults instantiates a new MetricBulkTagConfigStatusAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricBulkTagConfigStatusAttributes) GetEmails ¶ added in v1.9.0

GetEmails returns the Emails field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatusAttributes) GetEmailsOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatusAttributes) GetEmailsOk() (*[]string, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatusAttributes) GetStatus ¶ added in v1.9.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatusAttributes) GetStatusOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatusAttributes) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatusAttributes) GetTags ¶ added in v1.9.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatusAttributes) GetTagsOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatusAttributes) 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 (*MetricBulkTagConfigStatusAttributes) HasEmails ¶ added in v1.9.0

HasEmails returns a boolean if a field has been set.

func (*MetricBulkTagConfigStatusAttributes) HasStatus ¶ added in v1.9.0

HasStatus returns a boolean if a field has been set.

func (*MetricBulkTagConfigStatusAttributes) HasTags ¶ added in v1.9.0

HasTags returns a boolean if a field has been set.

func (MetricBulkTagConfigStatusAttributes) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigStatusAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigStatusAttributes) SetEmails ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatusAttributes) SetEmails(v []string)

SetEmails gets a reference to the given []string and assigns it to the Emails field.

func (*MetricBulkTagConfigStatusAttributes) SetStatus ¶ added in v1.9.0

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*MetricBulkTagConfigStatusAttributes) SetTags ¶ added in v1.9.0

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricBulkTagConfigStatusAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatusAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricContentEncoding ¶ added in v1.14.0

type MetricContentEncoding string

MetricContentEncoding HTTP header used to compress the media-type.

const (
	METRICCONTENTENCODING_DEFLATE MetricContentEncoding = "deflate"
)

List of MetricContentEncoding.

func NewMetricContentEncodingFromValue ¶ added in v1.14.0

func NewMetricContentEncodingFromValue(v string) (*MetricContentEncoding, error)

NewMetricContentEncodingFromValue returns a pointer to a valid MetricContentEncoding for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricContentEncoding) GetAllowedValues ¶ added in v1.14.0

func (v *MetricContentEncoding) GetAllowedValues() []MetricContentEncoding

GetAllowedValues reeturns the list of possible values.

func (MetricContentEncoding) IsValid ¶ added in v1.14.0

func (v MetricContentEncoding) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricContentEncoding) Ptr ¶ added in v1.14.0

Ptr returns reference to MetricContentEncoding value.

func (*MetricContentEncoding) UnmarshalJSON ¶ added in v1.14.0

func (v *MetricContentEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricCustomAggregation ¶ added in v1.6.0

type MetricCustomAggregation struct {
	// A space aggregation for use in query.
	Space MetricCustomSpaceAggregation `json:"space"`
	// A time aggregation for use in query.
	Time MetricCustomTimeAggregation `json:"time"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricCustomAggregation A time and space aggregation combination for use in query.

func NewMetricCustomAggregation ¶ added in v1.6.0

NewMetricCustomAggregation instantiates a new MetricCustomAggregation object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricCustomAggregationWithDefaults ¶ added in v1.6.0

func NewMetricCustomAggregationWithDefaults() *MetricCustomAggregation

NewMetricCustomAggregationWithDefaults instantiates a new MetricCustomAggregation object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricCustomAggregation) GetSpace ¶ added in v1.6.0

GetSpace returns the Space field value.

func (*MetricCustomAggregation) GetSpaceOk ¶ added in v1.6.0

GetSpaceOk returns a tuple with the Space field value and a boolean to check if the value has been set.

func (*MetricCustomAggregation) GetTime ¶ added in v1.6.0

GetTime returns the Time field value.

func (*MetricCustomAggregation) GetTimeOk ¶ added in v1.6.0

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (MetricCustomAggregation) MarshalJSON ¶ added in v1.6.0

func (o MetricCustomAggregation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricCustomAggregation) SetSpace ¶ added in v1.6.0

SetSpace sets field value.

func (*MetricCustomAggregation) SetTime ¶ added in v1.6.0

SetTime sets field value.

func (*MetricCustomAggregation) UnmarshalJSON ¶ added in v1.6.0

func (o *MetricCustomAggregation) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricCustomSpaceAggregation ¶ added in v1.6.0

type MetricCustomSpaceAggregation string

MetricCustomSpaceAggregation A space aggregation for use in query.

const (
	METRICCUSTOMSPACEAGGREGATION_AVG MetricCustomSpaceAggregation = "avg"
	METRICCUSTOMSPACEAGGREGATION_MAX MetricCustomSpaceAggregation = "max"
	METRICCUSTOMSPACEAGGREGATION_MIN MetricCustomSpaceAggregation = "min"
	METRICCUSTOMSPACEAGGREGATION_SUM MetricCustomSpaceAggregation = "sum"
)

List of MetricCustomSpaceAggregation.

func NewMetricCustomSpaceAggregationFromValue ¶ added in v1.6.0

func NewMetricCustomSpaceAggregationFromValue(v string) (*MetricCustomSpaceAggregation, error)

NewMetricCustomSpaceAggregationFromValue returns a pointer to a valid MetricCustomSpaceAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricCustomSpaceAggregation) GetAllowedValues ¶ added in v1.6.0

GetAllowedValues reeturns the list of possible values.

func (MetricCustomSpaceAggregation) IsValid ¶ added in v1.6.0

func (v MetricCustomSpaceAggregation) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricCustomSpaceAggregation) Ptr ¶ added in v1.6.0

Ptr returns reference to MetricCustomSpaceAggregation value.

func (*MetricCustomSpaceAggregation) UnmarshalJSON ¶ added in v1.6.0

func (v *MetricCustomSpaceAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricCustomTimeAggregation ¶ added in v1.6.0

type MetricCustomTimeAggregation string

MetricCustomTimeAggregation A time aggregation for use in query.

const (
	METRICCUSTOMTIMEAGGREGATION_AVG   MetricCustomTimeAggregation = "avg"
	METRICCUSTOMTIMEAGGREGATION_COUNT MetricCustomTimeAggregation = "count"
	METRICCUSTOMTIMEAGGREGATION_MAX   MetricCustomTimeAggregation = "max"
	METRICCUSTOMTIMEAGGREGATION_MIN   MetricCustomTimeAggregation = "min"
	METRICCUSTOMTIMEAGGREGATION_SUM   MetricCustomTimeAggregation = "sum"
)

List of MetricCustomTimeAggregation.

func NewMetricCustomTimeAggregationFromValue ¶ added in v1.6.0

func NewMetricCustomTimeAggregationFromValue(v string) (*MetricCustomTimeAggregation, error)

NewMetricCustomTimeAggregationFromValue returns a pointer to a valid MetricCustomTimeAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricCustomTimeAggregation) GetAllowedValues ¶ added in v1.6.0

GetAllowedValues reeturns the list of possible values.

func (MetricCustomTimeAggregation) IsValid ¶ added in v1.6.0

func (v MetricCustomTimeAggregation) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricCustomTimeAggregation) Ptr ¶ added in v1.6.0

Ptr returns reference to MetricCustomTimeAggregation value.

func (*MetricCustomTimeAggregation) UnmarshalJSON ¶ added in v1.6.0

func (v *MetricCustomTimeAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricDistinctVolume ¶

type MetricDistinctVolume struct {
	// Object containing the definition of a metric's distinct volume.
	Attributes *MetricDistinctVolumeAttributes `json:"attributes,omitempty"`
	// The metric name for this resource.
	Id *string `json:"id,omitempty"`
	// The metric distinct volume type.
	Type *MetricDistinctVolumeType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricDistinctVolume Object for a single metric's distinct volume.

func NewMetricDistinctVolume ¶

func NewMetricDistinctVolume() *MetricDistinctVolume

NewMetricDistinctVolume instantiates a new MetricDistinctVolume object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricDistinctVolumeWithDefaults ¶

func NewMetricDistinctVolumeWithDefaults() *MetricDistinctVolume

NewMetricDistinctVolumeWithDefaults instantiates a new MetricDistinctVolume object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricDistinctVolume) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricDistinctVolume) GetAttributesOk ¶

func (o *MetricDistinctVolume) GetAttributesOk() (*MetricDistinctVolumeAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricDistinctVolume) GetId ¶

func (o *MetricDistinctVolume) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MetricDistinctVolume) GetIdOk ¶

func (o *MetricDistinctVolume) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricDistinctVolume) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*MetricDistinctVolume) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricDistinctVolume) HasAttributes ¶

func (o *MetricDistinctVolume) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*MetricDistinctVolume) HasId ¶

func (o *MetricDistinctVolume) HasId() bool

HasId returns a boolean if a field has been set.

func (*MetricDistinctVolume) HasType ¶

func (o *MetricDistinctVolume) HasType() bool

HasType returns a boolean if a field has been set.

func (MetricDistinctVolume) MarshalJSON ¶

func (o MetricDistinctVolume) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricDistinctVolume) SetAttributes ¶

SetAttributes gets a reference to the given MetricDistinctVolumeAttributes and assigns it to the Attributes field.

func (*MetricDistinctVolume) SetId ¶

func (o *MetricDistinctVolume) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricDistinctVolume) SetType ¶

SetType gets a reference to the given MetricDistinctVolumeType and assigns it to the Type field.

func (*MetricDistinctVolume) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricDistinctVolume) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricDistinctVolumeAttributes ¶

type MetricDistinctVolumeAttributes struct {
	// Distinct volume for the given metric.
	DistinctVolume *int64 `json:"distinct_volume,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricDistinctVolumeAttributes Object containing the definition of a metric's distinct volume.

func NewMetricDistinctVolumeAttributes ¶

func NewMetricDistinctVolumeAttributes() *MetricDistinctVolumeAttributes

NewMetricDistinctVolumeAttributes instantiates a new MetricDistinctVolumeAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricDistinctVolumeAttributesWithDefaults ¶

func NewMetricDistinctVolumeAttributesWithDefaults() *MetricDistinctVolumeAttributes

NewMetricDistinctVolumeAttributesWithDefaults instantiates a new MetricDistinctVolumeAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricDistinctVolumeAttributes) GetDistinctVolume ¶

func (o *MetricDistinctVolumeAttributes) GetDistinctVolume() int64

GetDistinctVolume returns the DistinctVolume field value if set, zero value otherwise.

func (*MetricDistinctVolumeAttributes) GetDistinctVolumeOk ¶

func (o *MetricDistinctVolumeAttributes) GetDistinctVolumeOk() (*int64, bool)

GetDistinctVolumeOk returns a tuple with the DistinctVolume field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricDistinctVolumeAttributes) HasDistinctVolume ¶

func (o *MetricDistinctVolumeAttributes) HasDistinctVolume() bool

HasDistinctVolume returns a boolean if a field has been set.

func (MetricDistinctVolumeAttributes) MarshalJSON ¶

func (o MetricDistinctVolumeAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricDistinctVolumeAttributes) SetDistinctVolume ¶

func (o *MetricDistinctVolumeAttributes) SetDistinctVolume(v int64)

SetDistinctVolume gets a reference to the given int64 and assigns it to the DistinctVolume field.

func (*MetricDistinctVolumeAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricDistinctVolumeAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricDistinctVolumeType ¶

type MetricDistinctVolumeType string

MetricDistinctVolumeType The metric distinct volume type.

const (
	METRICDISTINCTVOLUMETYPE_DISTINCT_METRIC_VOLUMES MetricDistinctVolumeType = "distinct_metric_volumes"
)

List of MetricDistinctVolumeType.

func NewMetricDistinctVolumeTypeFromValue ¶

func NewMetricDistinctVolumeTypeFromValue(v string) (*MetricDistinctVolumeType, error)

NewMetricDistinctVolumeTypeFromValue returns a pointer to a valid MetricDistinctVolumeType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricDistinctVolumeType) GetAllowedValues ¶ added in v1.1.0

func (v *MetricDistinctVolumeType) GetAllowedValues() []MetricDistinctVolumeType

GetAllowedValues reeturns the list of possible values.

func (MetricDistinctVolumeType) IsValid ¶

func (v MetricDistinctVolumeType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricDistinctVolumeType) Ptr ¶

Ptr returns reference to MetricDistinctVolumeType value.

func (*MetricDistinctVolumeType) UnmarshalJSON ¶

func (v *MetricDistinctVolumeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricEstimate ¶ added in v1.14.0

type MetricEstimate struct {
	// Object containing the definition of a metric estimate attribute.
	Attributes *MetricEstimateAttributes `json:"attributes,omitempty"`
	// The metric name for this resource.
	Id *string `json:"id,omitempty"`
	// The metric estimate resource type.
	Type *MetricEstimateResourceType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricEstimate Object for a metric cardinality estimate.

func NewMetricEstimate ¶ added in v1.14.0

func NewMetricEstimate() *MetricEstimate

NewMetricEstimate instantiates a new MetricEstimate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricEstimateWithDefaults ¶ added in v1.14.0

func NewMetricEstimateWithDefaults() *MetricEstimate

NewMetricEstimateWithDefaults instantiates a new MetricEstimate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricEstimate) GetAttributes ¶ added in v1.14.0

func (o *MetricEstimate) GetAttributes() MetricEstimateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricEstimate) GetAttributesOk ¶ added in v1.14.0

func (o *MetricEstimate) GetAttributesOk() (*MetricEstimateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricEstimate) GetId ¶ added in v1.14.0

func (o *MetricEstimate) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MetricEstimate) GetIdOk ¶ added in v1.14.0

func (o *MetricEstimate) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricEstimate) GetType ¶ added in v1.14.0

GetType returns the Type field value if set, zero value otherwise.

func (*MetricEstimate) GetTypeOk ¶ added in v1.14.0

func (o *MetricEstimate) GetTypeOk() (*MetricEstimateResourceType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricEstimate) HasAttributes ¶ added in v1.14.0

func (o *MetricEstimate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*MetricEstimate) HasId ¶ added in v1.14.0

func (o *MetricEstimate) HasId() bool

HasId returns a boolean if a field has been set.

func (*MetricEstimate) HasType ¶ added in v1.14.0

func (o *MetricEstimate) HasType() bool

HasType returns a boolean if a field has been set.

func (MetricEstimate) MarshalJSON ¶ added in v1.14.0

func (o MetricEstimate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricEstimate) SetAttributes ¶ added in v1.14.0

func (o *MetricEstimate) SetAttributes(v MetricEstimateAttributes)

SetAttributes gets a reference to the given MetricEstimateAttributes and assigns it to the Attributes field.

func (*MetricEstimate) SetId ¶ added in v1.14.0

func (o *MetricEstimate) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricEstimate) SetType ¶ added in v1.14.0

SetType gets a reference to the given MetricEstimateResourceType and assigns it to the Type field.

func (*MetricEstimate) UnmarshalJSON ¶ added in v1.14.0

func (o *MetricEstimate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricEstimateAttributes ¶ added in v1.14.0

type MetricEstimateAttributes struct {
	// Estimate type based on the queried configuration. By default, `count_or_gauge` is returned. `distribution` is returned for distribution metrics without percentiles enabled. Lastly, `percentile` is returned if `filter[pct]=true` is queried with a distribution metric.
	EstimateType *MetricEstimateType `json:"estimate_type,omitempty"`
	// Timestamp when the cardinality estimate was requested.
	EstimatedAt *time.Time `json:"estimated_at,omitempty"`
	// Estimated cardinality of the metric based on the queried configuration.
	EstimatedOutputSeries *int64 `json:"estimated_output_series,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricEstimateAttributes Object containing the definition of a metric estimate attribute.

func NewMetricEstimateAttributes ¶ added in v1.14.0

func NewMetricEstimateAttributes() *MetricEstimateAttributes

NewMetricEstimateAttributes instantiates a new MetricEstimateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricEstimateAttributesWithDefaults ¶ added in v1.14.0

func NewMetricEstimateAttributesWithDefaults() *MetricEstimateAttributes

NewMetricEstimateAttributesWithDefaults instantiates a new MetricEstimateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricEstimateAttributes) GetEstimateType ¶ added in v1.14.0

func (o *MetricEstimateAttributes) GetEstimateType() MetricEstimateType

GetEstimateType returns the EstimateType field value if set, zero value otherwise.

func (*MetricEstimateAttributes) GetEstimateTypeOk ¶ added in v1.14.0

func (o *MetricEstimateAttributes) GetEstimateTypeOk() (*MetricEstimateType, bool)

GetEstimateTypeOk returns a tuple with the EstimateType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricEstimateAttributes) GetEstimatedAt ¶ added in v1.14.0

func (o *MetricEstimateAttributes) GetEstimatedAt() time.Time

GetEstimatedAt returns the EstimatedAt field value if set, zero value otherwise.

func (*MetricEstimateAttributes) GetEstimatedAtOk ¶ added in v1.14.0

func (o *MetricEstimateAttributes) GetEstimatedAtOk() (*time.Time, bool)

GetEstimatedAtOk returns a tuple with the EstimatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricEstimateAttributes) GetEstimatedOutputSeries ¶ added in v1.14.0

func (o *MetricEstimateAttributes) GetEstimatedOutputSeries() int64

GetEstimatedOutputSeries returns the EstimatedOutputSeries field value if set, zero value otherwise.

func (*MetricEstimateAttributes) GetEstimatedOutputSeriesOk ¶ added in v1.14.0

func (o *MetricEstimateAttributes) GetEstimatedOutputSeriesOk() (*int64, bool)

GetEstimatedOutputSeriesOk returns a tuple with the EstimatedOutputSeries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricEstimateAttributes) HasEstimateType ¶ added in v1.14.0

func (o *MetricEstimateAttributes) HasEstimateType() bool

HasEstimateType returns a boolean if a field has been set.

func (*MetricEstimateAttributes) HasEstimatedAt ¶ added in v1.14.0

func (o *MetricEstimateAttributes) HasEstimatedAt() bool

HasEstimatedAt returns a boolean if a field has been set.

func (*MetricEstimateAttributes) HasEstimatedOutputSeries ¶ added in v1.14.0

func (o *MetricEstimateAttributes) HasEstimatedOutputSeries() bool

HasEstimatedOutputSeries returns a boolean if a field has been set.

func (MetricEstimateAttributes) MarshalJSON ¶ added in v1.14.0

func (o MetricEstimateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricEstimateAttributes) SetEstimateType ¶ added in v1.14.0

func (o *MetricEstimateAttributes) SetEstimateType(v MetricEstimateType)

SetEstimateType gets a reference to the given MetricEstimateType and assigns it to the EstimateType field.

func (*MetricEstimateAttributes) SetEstimatedAt ¶ added in v1.14.0

func (o *MetricEstimateAttributes) SetEstimatedAt(v time.Time)

SetEstimatedAt gets a reference to the given time.Time and assigns it to the EstimatedAt field.

func (*MetricEstimateAttributes) SetEstimatedOutputSeries ¶ added in v1.14.0

func (o *MetricEstimateAttributes) SetEstimatedOutputSeries(v int64)

SetEstimatedOutputSeries gets a reference to the given int64 and assigns it to the EstimatedOutputSeries field.

func (*MetricEstimateAttributes) UnmarshalJSON ¶ added in v1.14.0

func (o *MetricEstimateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricEstimateResourceType ¶ added in v1.14.0

type MetricEstimateResourceType string

MetricEstimateResourceType The metric estimate resource type.

const (
	METRICESTIMATERESOURCETYPE_METRIC_CARDINALITY_ESTIMATE MetricEstimateResourceType = "metric_cardinality_estimate"
)

List of MetricEstimateResourceType.

func NewMetricEstimateResourceTypeFromValue ¶ added in v1.14.0

func NewMetricEstimateResourceTypeFromValue(v string) (*MetricEstimateResourceType, error)

NewMetricEstimateResourceTypeFromValue returns a pointer to a valid MetricEstimateResourceType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricEstimateResourceType) GetAllowedValues ¶ added in v1.14.0

GetAllowedValues reeturns the list of possible values.

func (MetricEstimateResourceType) IsValid ¶ added in v1.14.0

func (v MetricEstimateResourceType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricEstimateResourceType) Ptr ¶ added in v1.14.0

Ptr returns reference to MetricEstimateResourceType value.

func (*MetricEstimateResourceType) UnmarshalJSON ¶ added in v1.14.0

func (v *MetricEstimateResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricEstimateResponse ¶ added in v1.14.0

type MetricEstimateResponse struct {
	// Object for a metric cardinality estimate.
	Data *MetricEstimate `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricEstimateResponse Response object that includes metric cardinality estimates.

func NewMetricEstimateResponse ¶ added in v1.14.0

func NewMetricEstimateResponse() *MetricEstimateResponse

NewMetricEstimateResponse instantiates a new MetricEstimateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricEstimateResponseWithDefaults ¶ added in v1.14.0

func NewMetricEstimateResponseWithDefaults() *MetricEstimateResponse

NewMetricEstimateResponseWithDefaults instantiates a new MetricEstimateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricEstimateResponse) GetData ¶ added in v1.14.0

GetData returns the Data field value if set, zero value otherwise.

func (*MetricEstimateResponse) GetDataOk ¶ added in v1.14.0

func (o *MetricEstimateResponse) GetDataOk() (*MetricEstimate, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricEstimateResponse) HasData ¶ added in v1.14.0

func (o *MetricEstimateResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (MetricEstimateResponse) MarshalJSON ¶ added in v1.14.0

func (o MetricEstimateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricEstimateResponse) SetData ¶ added in v1.14.0

func (o *MetricEstimateResponse) SetData(v MetricEstimate)

SetData gets a reference to the given MetricEstimate and assigns it to the Data field.

func (*MetricEstimateResponse) UnmarshalJSON ¶ added in v1.14.0

func (o *MetricEstimateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricEstimateType ¶ added in v1.14.0

type MetricEstimateType string

MetricEstimateType Estimate type based on the queried configuration. By default, `count_or_gauge` is returned. `distribution` is returned for distribution metrics without percentiles enabled. Lastly, `percentile` is returned if `filter[pct]=true` is queried with a distribution metric.

const (
	METRICESTIMATETYPE_COUNT_OR_GAUGE MetricEstimateType = "count_or_gauge"
	METRICESTIMATETYPE_DISTRIBUTION   MetricEstimateType = "distribution"
	METRICESTIMATETYPE_PERCENTILE     MetricEstimateType = "percentile"
)

List of MetricEstimateType.

func NewMetricEstimateTypeFromValue ¶ added in v1.14.0

func NewMetricEstimateTypeFromValue(v string) (*MetricEstimateType, error)

NewMetricEstimateTypeFromValue returns a pointer to a valid MetricEstimateType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricEstimateType) GetAllowedValues ¶ added in v1.14.0

func (v *MetricEstimateType) GetAllowedValues() []MetricEstimateType

GetAllowedValues reeturns the list of possible values.

func (MetricEstimateType) IsValid ¶ added in v1.14.0

func (v MetricEstimateType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricEstimateType) Ptr ¶ added in v1.14.0

Ptr returns reference to MetricEstimateType value.

func (*MetricEstimateType) UnmarshalJSON ¶ added in v1.14.0

func (v *MetricEstimateType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricIngestedIndexedVolume ¶

type MetricIngestedIndexedVolume struct {
	// Object containing the definition of a metric's ingested and indexed volume.
	Attributes *MetricIngestedIndexedVolumeAttributes `json:"attributes,omitempty"`
	// The metric name for this resource.
	Id *string `json:"id,omitempty"`
	// The metric ingested and indexed volume type.
	Type *MetricIngestedIndexedVolumeType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricIngestedIndexedVolume Object for a single metric's ingested and indexed volume.

func NewMetricIngestedIndexedVolume ¶

func NewMetricIngestedIndexedVolume() *MetricIngestedIndexedVolume

NewMetricIngestedIndexedVolume instantiates a new MetricIngestedIndexedVolume object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricIngestedIndexedVolumeWithDefaults ¶

func NewMetricIngestedIndexedVolumeWithDefaults() *MetricIngestedIndexedVolume

NewMetricIngestedIndexedVolumeWithDefaults instantiates a new MetricIngestedIndexedVolume object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricIngestedIndexedVolume) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricIngestedIndexedVolume) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricIngestedIndexedVolume) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*MetricIngestedIndexedVolume) GetIdOk ¶

func (o *MetricIngestedIndexedVolume) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricIngestedIndexedVolume) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*MetricIngestedIndexedVolume) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricIngestedIndexedVolume) HasAttributes ¶

func (o *MetricIngestedIndexedVolume) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*MetricIngestedIndexedVolume) HasId ¶

func (o *MetricIngestedIndexedVolume) HasId() bool

HasId returns a boolean if a field has been set.

func (*MetricIngestedIndexedVolume) HasType ¶

func (o *MetricIngestedIndexedVolume) HasType() bool

HasType returns a boolean if a field has been set.

func (MetricIngestedIndexedVolume) MarshalJSON ¶

func (o MetricIngestedIndexedVolume) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricIngestedIndexedVolume) SetAttributes ¶

SetAttributes gets a reference to the given MetricIngestedIndexedVolumeAttributes and assigns it to the Attributes field.

func (*MetricIngestedIndexedVolume) SetId ¶

func (o *MetricIngestedIndexedVolume) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricIngestedIndexedVolume) SetType ¶

SetType gets a reference to the given MetricIngestedIndexedVolumeType and assigns it to the Type field.

func (*MetricIngestedIndexedVolume) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricIngestedIndexedVolume) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricIngestedIndexedVolumeAttributes ¶

type MetricIngestedIndexedVolumeAttributes struct {
	// Indexed volume for the given metric.
	IndexedVolume *int64 `json:"indexed_volume,omitempty"`
	// Ingested volume for the given metric.
	IngestedVolume *int64 `json:"ingested_volume,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricIngestedIndexedVolumeAttributes Object containing the definition of a metric's ingested and indexed volume.

func NewMetricIngestedIndexedVolumeAttributes ¶

func NewMetricIngestedIndexedVolumeAttributes() *MetricIngestedIndexedVolumeAttributes

NewMetricIngestedIndexedVolumeAttributes instantiates a new MetricIngestedIndexedVolumeAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricIngestedIndexedVolumeAttributesWithDefaults ¶

func NewMetricIngestedIndexedVolumeAttributesWithDefaults() *MetricIngestedIndexedVolumeAttributes

NewMetricIngestedIndexedVolumeAttributesWithDefaults instantiates a new MetricIngestedIndexedVolumeAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricIngestedIndexedVolumeAttributes) GetIndexedVolume ¶

func (o *MetricIngestedIndexedVolumeAttributes) GetIndexedVolume() int64

GetIndexedVolume returns the IndexedVolume field value if set, zero value otherwise.

func (*MetricIngestedIndexedVolumeAttributes) GetIndexedVolumeOk ¶

func (o *MetricIngestedIndexedVolumeAttributes) GetIndexedVolumeOk() (*int64, bool)

GetIndexedVolumeOk returns a tuple with the IndexedVolume field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricIngestedIndexedVolumeAttributes) GetIngestedVolume ¶

func (o *MetricIngestedIndexedVolumeAttributes) GetIngestedVolume() int64

GetIngestedVolume returns the IngestedVolume field value if set, zero value otherwise.

func (*MetricIngestedIndexedVolumeAttributes) GetIngestedVolumeOk ¶

func (o *MetricIngestedIndexedVolumeAttributes) GetIngestedVolumeOk() (*int64, bool)

GetIngestedVolumeOk returns a tuple with the IngestedVolume field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricIngestedIndexedVolumeAttributes) HasIndexedVolume ¶

func (o *MetricIngestedIndexedVolumeAttributes) HasIndexedVolume() bool

HasIndexedVolume returns a boolean if a field has been set.

func (*MetricIngestedIndexedVolumeAttributes) HasIngestedVolume ¶

func (o *MetricIngestedIndexedVolumeAttributes) HasIngestedVolume() bool

HasIngestedVolume returns a boolean if a field has been set.

func (MetricIngestedIndexedVolumeAttributes) MarshalJSON ¶

func (o MetricIngestedIndexedVolumeAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricIngestedIndexedVolumeAttributes) SetIndexedVolume ¶

func (o *MetricIngestedIndexedVolumeAttributes) SetIndexedVolume(v int64)

SetIndexedVolume gets a reference to the given int64 and assigns it to the IndexedVolume field.

func (*MetricIngestedIndexedVolumeAttributes) SetIngestedVolume ¶

func (o *MetricIngestedIndexedVolumeAttributes) SetIngestedVolume(v int64)

SetIngestedVolume gets a reference to the given int64 and assigns it to the IngestedVolume field.

func (*MetricIngestedIndexedVolumeAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricIngestedIndexedVolumeAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricIngestedIndexedVolumeType ¶

type MetricIngestedIndexedVolumeType string

MetricIngestedIndexedVolumeType The metric ingested and indexed volume type.

const (
	METRICINGESTEDINDEXEDVOLUMETYPE_METRIC_VOLUMES MetricIngestedIndexedVolumeType = "metric_volumes"
)

List of MetricIngestedIndexedVolumeType.

func NewMetricIngestedIndexedVolumeTypeFromValue ¶

func NewMetricIngestedIndexedVolumeTypeFromValue(v string) (*MetricIngestedIndexedVolumeType, error)

NewMetricIngestedIndexedVolumeTypeFromValue returns a pointer to a valid MetricIngestedIndexedVolumeType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricIngestedIndexedVolumeType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (MetricIngestedIndexedVolumeType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricIngestedIndexedVolumeType) Ptr ¶

Ptr returns reference to MetricIngestedIndexedVolumeType value.

func (*MetricIngestedIndexedVolumeType) UnmarshalJSON ¶

func (v *MetricIngestedIndexedVolumeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricIntakeType ¶ added in v1.14.0

type MetricIntakeType int32

MetricIntakeType The type of metric. The available types are `0` (unspecified), `1` (count), `2` (rate), and `3` (gauge).

const (
	METRICINTAKETYPE_UNSPECIFIED MetricIntakeType = 0
	METRICINTAKETYPE_COUNT       MetricIntakeType = 1
	METRICINTAKETYPE_RATE        MetricIntakeType = 2
	METRICINTAKETYPE_GAUGE       MetricIntakeType = 3
)

List of MetricIntakeType.

func NewMetricIntakeTypeFromValue ¶ added in v1.14.0

func NewMetricIntakeTypeFromValue(v int32) (*MetricIntakeType, error)

NewMetricIntakeTypeFromValue returns a pointer to a valid MetricIntakeType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricIntakeType) GetAllowedValues ¶ added in v1.14.0

func (v *MetricIntakeType) GetAllowedValues() []MetricIntakeType

GetAllowedValues reeturns the list of possible values.

func (MetricIntakeType) IsValid ¶ added in v1.14.0

func (v MetricIntakeType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricIntakeType) Ptr ¶ added in v1.14.0

Ptr returns reference to MetricIntakeType value.

func (*MetricIntakeType) UnmarshalJSON ¶ added in v1.14.0

func (v *MetricIntakeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricMetadata ¶ added in v1.14.0

type MetricMetadata struct {
	// Metric origin information.
	Origin *MetricOrigin `json:"origin,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricMetadata Metadata for the metric.

func NewMetricMetadata ¶ added in v1.14.0

func NewMetricMetadata() *MetricMetadata

NewMetricMetadata instantiates a new MetricMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricMetadataWithDefaults ¶ added in v1.14.0

func NewMetricMetadataWithDefaults() *MetricMetadata

NewMetricMetadataWithDefaults instantiates a new MetricMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricMetadata) GetOrigin ¶ added in v1.14.0

func (o *MetricMetadata) GetOrigin() MetricOrigin

GetOrigin returns the Origin field value if set, zero value otherwise.

func (*MetricMetadata) GetOriginOk ¶ added in v1.14.0

func (o *MetricMetadata) GetOriginOk() (*MetricOrigin, bool)

GetOriginOk returns a tuple with the Origin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricMetadata) HasOrigin ¶ added in v1.14.0

func (o *MetricMetadata) HasOrigin() bool

HasOrigin returns a boolean if a field has been set.

func (MetricMetadata) MarshalJSON ¶ added in v1.14.0

func (o MetricMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricMetadata) SetOrigin ¶ added in v1.14.0

func (o *MetricMetadata) SetOrigin(v MetricOrigin)

SetOrigin gets a reference to the given MetricOrigin and assigns it to the Origin field.

func (*MetricMetadata) UnmarshalJSON ¶ added in v1.14.0

func (o *MetricMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricOrigin ¶ added in v1.14.0

type MetricOrigin struct {
	// The origin metric type code
	MetricType *int32 `json:"metric_type,omitempty"`
	// The origin product code
	Product *int32 `json:"product,omitempty"`
	// The origin service code
	Service *int32 `json:"service,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricOrigin Metric origin information.

func NewMetricOrigin ¶ added in v1.14.0

func NewMetricOrigin() *MetricOrigin

NewMetricOrigin instantiates a new MetricOrigin object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricOriginWithDefaults ¶ added in v1.14.0

func NewMetricOriginWithDefaults() *MetricOrigin

NewMetricOriginWithDefaults instantiates a new MetricOrigin object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricOrigin) GetMetricType ¶ added in v1.14.0

func (o *MetricOrigin) GetMetricType() int32

GetMetricType returns the MetricType field value if set, zero value otherwise.

func (*MetricOrigin) GetMetricTypeOk ¶ added in v1.14.0

func (o *MetricOrigin) GetMetricTypeOk() (*int32, bool)

GetMetricTypeOk returns a tuple with the MetricType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricOrigin) GetProduct ¶ added in v1.14.0

func (o *MetricOrigin) GetProduct() int32

GetProduct returns the Product field value if set, zero value otherwise.

func (*MetricOrigin) GetProductOk ¶ added in v1.14.0

func (o *MetricOrigin) GetProductOk() (*int32, bool)

GetProductOk returns a tuple with the Product field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricOrigin) GetService ¶ added in v1.14.0

func (o *MetricOrigin) GetService() int32

GetService returns the Service field value if set, zero value otherwise.

func (*MetricOrigin) GetServiceOk ¶ added in v1.14.0

func (o *MetricOrigin) GetServiceOk() (*int32, bool)

GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricOrigin) HasMetricType ¶ added in v1.14.0

func (o *MetricOrigin) HasMetricType() bool

HasMetricType returns a boolean if a field has been set.

func (*MetricOrigin) HasProduct ¶ added in v1.14.0

func (o *MetricOrigin) HasProduct() bool

HasProduct returns a boolean if a field has been set.

func (*MetricOrigin) HasService ¶ added in v1.14.0

func (o *MetricOrigin) HasService() bool

HasService returns a boolean if a field has been set.

func (MetricOrigin) MarshalJSON ¶ added in v1.14.0

func (o MetricOrigin) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricOrigin) SetMetricType ¶ added in v1.14.0

func (o *MetricOrigin) SetMetricType(v int32)

SetMetricType gets a reference to the given int32 and assigns it to the MetricType field.

func (*MetricOrigin) SetProduct ¶ added in v1.14.0

func (o *MetricOrigin) SetProduct(v int32)

SetProduct gets a reference to the given int32 and assigns it to the Product field.

func (*MetricOrigin) SetService ¶ added in v1.14.0

func (o *MetricOrigin) SetService(v int32)

SetService gets a reference to the given int32 and assigns it to the Service field.

func (*MetricOrigin) UnmarshalJSON ¶ added in v1.14.0

func (o *MetricOrigin) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricPayload ¶ added in v1.14.0

type MetricPayload struct {
	// A list of time series to submit to Datadog.
	Series []MetricSeries `json:"series"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricPayload The metrics' payload.

func NewMetricPayload ¶ added in v1.14.0

func NewMetricPayload(series []MetricSeries) *MetricPayload

NewMetricPayload instantiates a new MetricPayload object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricPayloadWithDefaults ¶ added in v1.14.0

func NewMetricPayloadWithDefaults() *MetricPayload

NewMetricPayloadWithDefaults instantiates a new MetricPayload object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricPayload) GetSeries ¶ added in v1.14.0

func (o *MetricPayload) GetSeries() []MetricSeries

GetSeries returns the Series field value.

func (*MetricPayload) GetSeriesOk ¶ added in v1.14.0

func (o *MetricPayload) GetSeriesOk() (*[]MetricSeries, bool)

GetSeriesOk returns a tuple with the Series field value and a boolean to check if the value has been set.

func (MetricPayload) MarshalJSON ¶ added in v1.14.0

func (o MetricPayload) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricPayload) SetSeries ¶ added in v1.14.0

func (o *MetricPayload) SetSeries(v []MetricSeries)

SetSeries sets field value.

func (*MetricPayload) UnmarshalJSON ¶ added in v1.14.0

func (o *MetricPayload) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricPoint ¶ added in v1.14.0

type MetricPoint struct {
	// The timestamp should be in seconds and current.
	// Current is defined as not more than 10 minutes in the future or more than 1 hour in the past.
	Timestamp *int64 `json:"timestamp,omitempty"`
	// The numeric value format should be a 64bit float gauge-type value.
	Value *float64 `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricPoint A point object is of the form `{POSIX_timestamp, numeric_value}`.

func NewMetricPoint ¶ added in v1.14.0

func NewMetricPoint() *MetricPoint

NewMetricPoint instantiates a new MetricPoint object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricPointWithDefaults ¶ added in v1.14.0

func NewMetricPointWithDefaults() *MetricPoint

NewMetricPointWithDefaults instantiates a new MetricPoint object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricPoint) GetTimestamp ¶ added in v1.14.0

func (o *MetricPoint) GetTimestamp() int64

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*MetricPoint) GetTimestampOk ¶ added in v1.14.0

func (o *MetricPoint) GetTimestampOk() (*int64, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPoint) GetValue ¶ added in v1.14.0

func (o *MetricPoint) GetValue() float64

GetValue returns the Value field value if set, zero value otherwise.

func (*MetricPoint) GetValueOk ¶ added in v1.14.0

func (o *MetricPoint) GetValueOk() (*float64, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricPoint) HasTimestamp ¶ added in v1.14.0

func (o *MetricPoint) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*MetricPoint) HasValue ¶ added in v1.14.0

func (o *MetricPoint) HasValue() bool

HasValue returns a boolean if a field has been set.

func (MetricPoint) MarshalJSON ¶ added in v1.14.0

func (o MetricPoint) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricPoint) SetTimestamp ¶ added in v1.14.0

func (o *MetricPoint) SetTimestamp(v int64)

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

func (*MetricPoint) SetValue ¶ added in v1.14.0

func (o *MetricPoint) SetValue(v float64)

SetValue gets a reference to the given float64 and assigns it to the Value field.

func (*MetricPoint) UnmarshalJSON ¶ added in v1.14.0

func (o *MetricPoint) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricResource ¶ added in v1.14.0

type MetricResource struct {
	// The name of the metric.
	Name *string `json:"name,omitempty"`
	// The type of metric.
	Type *string `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricResource Metric resource.

func NewMetricResource ¶ added in v1.14.0

func NewMetricResource() *MetricResource

NewMetricResource instantiates a new MetricResource object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricResourceWithDefaults ¶ added in v1.14.0

func NewMetricResourceWithDefaults() *MetricResource

NewMetricResourceWithDefaults instantiates a new MetricResource object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricResource) GetName ¶ added in v1.14.0

func (o *MetricResource) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MetricResource) GetNameOk ¶ added in v1.14.0

func (o *MetricResource) 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 (*MetricResource) GetType ¶ added in v1.14.0

func (o *MetricResource) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*MetricResource) GetTypeOk ¶ added in v1.14.0

func (o *MetricResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricResource) HasName ¶ added in v1.14.0

func (o *MetricResource) HasName() bool

HasName returns a boolean if a field has been set.

func (*MetricResource) HasType ¶ added in v1.14.0

func (o *MetricResource) HasType() bool

HasType returns a boolean if a field has been set.

func (MetricResource) MarshalJSON ¶ added in v1.14.0

func (o MetricResource) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricResource) SetName ¶ added in v1.14.0

func (o *MetricResource) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MetricResource) SetType ¶ added in v1.14.0

func (o *MetricResource) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*MetricResource) UnmarshalJSON ¶ added in v1.14.0

func (o *MetricResource) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricSeries ¶ added in v1.14.0

type MetricSeries struct {
	// If the type of the metric is rate or count, define the corresponding interval.
	Interval *int64 `json:"interval,omitempty"`
	// Metadata for the metric.
	Metadata *MetricMetadata `json:"metadata,omitempty"`
	// The name of the timeseries.
	Metric string `json:"metric"`
	// Points relating to a metric. All points must be objects with timestamp and a scalar value (cannot be a string). Timestamps should be in POSIX time in seconds, and cannot be more than ten minutes in the future or more than one hour in the past.
	Points []MetricPoint `json:"points"`
	// A list of resources to associate with this metric.
	Resources []MetricResource `json:"resources,omitempty"`
	// The source type name.
	SourceTypeName *string `json:"source_type_name,omitempty"`
	// A list of tags associated with the metric.
	Tags []string `json:"tags,omitempty"`
	// The type of metric. The available types are `0` (unspecified), `1` (count), `2` (rate), and `3` (gauge).
	Type *MetricIntakeType `json:"type,omitempty"`
	// The unit of point value.
	Unit *string `json:"unit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricSeries A metric to submit to Datadog. See [Datadog metrics](https://docs.datadoghq.com/developers/metrics/#custom-metrics-properties).

func NewMetricSeries ¶ added in v1.14.0

func NewMetricSeries(metric string, points []MetricPoint) *MetricSeries

NewMetricSeries instantiates a new MetricSeries object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricSeriesWithDefaults ¶ added in v1.14.0

func NewMetricSeriesWithDefaults() *MetricSeries

NewMetricSeriesWithDefaults instantiates a new MetricSeries object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricSeries) GetInterval ¶ added in v1.14.0

func (o *MetricSeries) GetInterval() int64

GetInterval returns the Interval field value if set, zero value otherwise.

func (*MetricSeries) GetIntervalOk ¶ added in v1.14.0

func (o *MetricSeries) GetIntervalOk() (*int64, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSeries) GetMetadata ¶ added in v1.14.0

func (o *MetricSeries) GetMetadata() MetricMetadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*MetricSeries) GetMetadataOk ¶ added in v1.14.0

func (o *MetricSeries) GetMetadataOk() (*MetricMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSeries) GetMetric ¶ added in v1.14.0

func (o *MetricSeries) GetMetric() string

GetMetric returns the Metric field value.

func (*MetricSeries) GetMetricOk ¶ added in v1.14.0

func (o *MetricSeries) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value and a boolean to check if the value has been set.

func (*MetricSeries) GetPoints ¶ added in v1.14.0

func (o *MetricSeries) GetPoints() []MetricPoint

GetPoints returns the Points field value.

func (*MetricSeries) GetPointsOk ¶ added in v1.14.0

func (o *MetricSeries) GetPointsOk() (*[]MetricPoint, bool)

GetPointsOk returns a tuple with the Points field value and a boolean to check if the value has been set.

func (*MetricSeries) GetResources ¶ added in v1.14.0

func (o *MetricSeries) GetResources() []MetricResource

GetResources returns the Resources field value if set, zero value otherwise.

func (*MetricSeries) GetResourcesOk ¶ added in v1.14.0

func (o *MetricSeries) GetResourcesOk() (*[]MetricResource, bool)

GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSeries) GetSourceTypeName ¶ added in v1.14.0

func (o *MetricSeries) GetSourceTypeName() string

GetSourceTypeName returns the SourceTypeName field value if set, zero value otherwise.

func (*MetricSeries) GetSourceTypeNameOk ¶ added in v1.14.0

func (o *MetricSeries) GetSourceTypeNameOk() (*string, bool)

GetSourceTypeNameOk returns a tuple with the SourceTypeName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSeries) GetTags ¶ added in v1.14.0

func (o *MetricSeries) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricSeries) GetTagsOk ¶ added in v1.14.0

func (o *MetricSeries) 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 (*MetricSeries) GetType ¶ added in v1.14.0

func (o *MetricSeries) GetType() MetricIntakeType

GetType returns the Type field value if set, zero value otherwise.

func (*MetricSeries) GetTypeOk ¶ added in v1.14.0

func (o *MetricSeries) GetTypeOk() (*MetricIntakeType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSeries) GetUnit ¶ added in v1.14.0

func (o *MetricSeries) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*MetricSeries) GetUnitOk ¶ added in v1.14.0

func (o *MetricSeries) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSeries) HasInterval ¶ added in v1.14.0

func (o *MetricSeries) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*MetricSeries) HasMetadata ¶ added in v1.14.0

func (o *MetricSeries) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*MetricSeries) HasResources ¶ added in v1.14.0

func (o *MetricSeries) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*MetricSeries) HasSourceTypeName ¶ added in v1.14.0

func (o *MetricSeries) HasSourceTypeName() bool

HasSourceTypeName returns a boolean if a field has been set.

func (*MetricSeries) HasTags ¶ added in v1.14.0

func (o *MetricSeries) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*MetricSeries) HasType ¶ added in v1.14.0

func (o *MetricSeries) HasType() bool

HasType returns a boolean if a field has been set.

func (*MetricSeries) HasUnit ¶ added in v1.14.0

func (o *MetricSeries) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (MetricSeries) MarshalJSON ¶ added in v1.14.0

func (o MetricSeries) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricSeries) SetInterval ¶ added in v1.14.0

func (o *MetricSeries) SetInterval(v int64)

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*MetricSeries) SetMetadata ¶ added in v1.14.0

func (o *MetricSeries) SetMetadata(v MetricMetadata)

SetMetadata gets a reference to the given MetricMetadata and assigns it to the Metadata field.

func (*MetricSeries) SetMetric ¶ added in v1.14.0

func (o *MetricSeries) SetMetric(v string)

SetMetric sets field value.

func (*MetricSeries) SetPoints ¶ added in v1.14.0

func (o *MetricSeries) SetPoints(v []MetricPoint)

SetPoints sets field value.

func (*MetricSeries) SetResources ¶ added in v1.14.0

func (o *MetricSeries) SetResources(v []MetricResource)

SetResources gets a reference to the given []MetricResource and assigns it to the Resources field.

func (*MetricSeries) SetSourceTypeName ¶ added in v1.14.0

func (o *MetricSeries) SetSourceTypeName(v string)

SetSourceTypeName gets a reference to the given string and assigns it to the SourceTypeName field.

func (*MetricSeries) SetTags ¶ added in v1.14.0

func (o *MetricSeries) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricSeries) SetType ¶ added in v1.14.0

func (o *MetricSeries) SetType(v MetricIntakeType)

SetType gets a reference to the given MetricIntakeType and assigns it to the Type field.

func (*MetricSeries) SetUnit ¶ added in v1.14.0

func (o *MetricSeries) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*MetricSeries) UnmarshalJSON ¶ added in v1.14.0

func (o *MetricSeries) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricTagConfiguration ¶

type MetricTagConfiguration struct {
	// Object containing the definition of a metric tag configuration attributes.
	Attributes *MetricTagConfigurationAttributes `json:"attributes,omitempty"`
	// The metric name for this resource.
	Id *string `json:"id,omitempty"`
	// The metric tag configuration resource type.
	Type *MetricTagConfigurationType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfiguration Object for a single metric tag configuration.

func NewMetricTagConfiguration ¶

func NewMetricTagConfiguration() *MetricTagConfiguration

NewMetricTagConfiguration instantiates a new MetricTagConfiguration object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricTagConfigurationWithDefaults ¶

func NewMetricTagConfigurationWithDefaults() *MetricTagConfiguration

NewMetricTagConfigurationWithDefaults instantiates a new MetricTagConfiguration object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricTagConfiguration) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricTagConfiguration) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfiguration) GetId ¶

func (o *MetricTagConfiguration) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MetricTagConfiguration) GetIdOk ¶

func (o *MetricTagConfiguration) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfiguration) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*MetricTagConfiguration) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfiguration) HasAttributes ¶

func (o *MetricTagConfiguration) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*MetricTagConfiguration) HasId ¶

func (o *MetricTagConfiguration) HasId() bool

HasId returns a boolean if a field has been set.

func (*MetricTagConfiguration) HasType ¶

func (o *MetricTagConfiguration) HasType() bool

HasType returns a boolean if a field has been set.

func (MetricTagConfiguration) MarshalJSON ¶

func (o MetricTagConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricTagConfiguration) SetAttributes ¶

SetAttributes gets a reference to the given MetricTagConfigurationAttributes and assigns it to the Attributes field.

func (*MetricTagConfiguration) SetId ¶

func (o *MetricTagConfiguration) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricTagConfiguration) SetType ¶

SetType gets a reference to the given MetricTagConfigurationType and assigns it to the Type field.

func (*MetricTagConfiguration) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricTagConfiguration) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricTagConfigurationAttributes ¶

type MetricTagConfigurationAttributes struct {
	// A list of queryable aggregation combinations for a count, rate, or gauge metric.
	// By default, count and rate metrics require the (time: sum, space: sum) aggregation and
	// Gauge metrics require the (time: avg, space: avg) aggregation.
	// Additional time & space combinations are also available:
	//
	// - time: avg, space: avg
	// - time: avg, space: max
	// - time: avg, space: min
	// - time: avg, space: sum
	// - time: count, space: sum
	// - time: max, space: max
	// - time: min, space: min
	// - time: sum, space: avg
	// - time: sum, space: sum
	//
	// Can only be applied to metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
	Aggregations []MetricCustomAggregation `json:"aggregations,omitempty"`
	// Timestamp when the tag configuration was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Toggle to turn on/off percentile aggregations for distribution metrics.
	// Only present when the `metric_type` is `distribution`.
	IncludePercentiles *bool `json:"include_percentiles,omitempty"`
	// The metric's type.
	MetricType *MetricTagConfigurationMetricTypes `json:"metric_type,omitempty"`
	// Timestamp when the tag configuration was last modified.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// List of tag keys on which to group.
	Tags []string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationAttributes Object containing the definition of a metric tag configuration attributes.

func NewMetricTagConfigurationAttributes ¶

func NewMetricTagConfigurationAttributes() *MetricTagConfigurationAttributes

NewMetricTagConfigurationAttributes instantiates a new MetricTagConfigurationAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricTagConfigurationAttributesWithDefaults ¶

func NewMetricTagConfigurationAttributesWithDefaults() *MetricTagConfigurationAttributes

NewMetricTagConfigurationAttributesWithDefaults instantiates a new MetricTagConfigurationAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricTagConfigurationAttributes) GetAggregations ¶ added in v1.6.0

GetAggregations returns the Aggregations field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetAggregationsOk ¶ added in v1.6.0

func (o *MetricTagConfigurationAttributes) GetAggregationsOk() (*[]MetricCustomAggregation, bool)

GetAggregationsOk returns a tuple with the Aggregations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) GetCreatedAt ¶

func (o *MetricTagConfigurationAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetCreatedAtOk ¶

func (o *MetricTagConfigurationAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) GetIncludePercentiles ¶

func (o *MetricTagConfigurationAttributes) GetIncludePercentiles() bool

GetIncludePercentiles returns the IncludePercentiles field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetIncludePercentilesOk ¶

func (o *MetricTagConfigurationAttributes) GetIncludePercentilesOk() (*bool, bool)

GetIncludePercentilesOk returns a tuple with the IncludePercentiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) GetMetricType ¶

GetMetricType returns the MetricType field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetMetricTypeOk ¶

GetMetricTypeOk returns a tuple with the MetricType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) GetModifiedAt ¶

func (o *MetricTagConfigurationAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetModifiedAtOk ¶

func (o *MetricTagConfigurationAttributes) GetModifiedAtOk() (*time.Time, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetTagsOk ¶

func (o *MetricTagConfigurationAttributes) 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 (*MetricTagConfigurationAttributes) HasAggregations ¶ added in v1.6.0

func (o *MetricTagConfigurationAttributes) HasAggregations() bool

HasAggregations returns a boolean if a field has been set.

func (*MetricTagConfigurationAttributes) HasCreatedAt ¶

func (o *MetricTagConfigurationAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*MetricTagConfigurationAttributes) HasIncludePercentiles ¶

func (o *MetricTagConfigurationAttributes) HasIncludePercentiles() bool

HasIncludePercentiles returns a boolean if a field has been set.

func (*MetricTagConfigurationAttributes) HasMetricType ¶

func (o *MetricTagConfigurationAttributes) HasMetricType() bool

HasMetricType returns a boolean if a field has been set.

func (*MetricTagConfigurationAttributes) HasModifiedAt ¶

func (o *MetricTagConfigurationAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*MetricTagConfigurationAttributes) HasTags ¶

HasTags returns a boolean if a field has been set.

func (MetricTagConfigurationAttributes) MarshalJSON ¶

func (o MetricTagConfigurationAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricTagConfigurationAttributes) SetAggregations ¶ added in v1.6.0

SetAggregations gets a reference to the given []MetricCustomAggregation and assigns it to the Aggregations field.

func (*MetricTagConfigurationAttributes) SetCreatedAt ¶

func (o *MetricTagConfigurationAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*MetricTagConfigurationAttributes) SetIncludePercentiles ¶

func (o *MetricTagConfigurationAttributes) SetIncludePercentiles(v bool)

SetIncludePercentiles gets a reference to the given bool and assigns it to the IncludePercentiles field.

func (*MetricTagConfigurationAttributes) SetMetricType ¶

SetMetricType gets a reference to the given MetricTagConfigurationMetricTypes and assigns it to the MetricType field.

func (*MetricTagConfigurationAttributes) SetModifiedAt ¶

func (o *MetricTagConfigurationAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*MetricTagConfigurationAttributes) SetTags ¶

func (o *MetricTagConfigurationAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricTagConfigurationAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricTagConfigurationAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricTagConfigurationCreateAttributes ¶

type MetricTagConfigurationCreateAttributes struct {
	// A list of queryable aggregation combinations for a count, rate, or gauge metric.
	// By default, count and rate metrics require the (time: sum, space: sum) aggregation and
	// Gauge metrics require the (time: avg, space: avg) aggregation.
	// Additional time & space combinations are also available:
	//
	// - time: avg, space: avg
	// - time: avg, space: max
	// - time: avg, space: min
	// - time: avg, space: sum
	// - time: count, space: sum
	// - time: max, space: max
	// - time: min, space: min
	// - time: sum, space: avg
	// - time: sum, space: sum
	//
	// Can only be applied to metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
	Aggregations []MetricCustomAggregation `json:"aggregations,omitempty"`
	// Toggle to include/exclude percentiles for a distribution metric.
	// Defaults to false. Can only be applied to metrics that have a `metric_type` of `distribution`.
	IncludePercentiles *bool `json:"include_percentiles,omitempty"`
	// The metric's type.
	MetricType MetricTagConfigurationMetricTypes `json:"metric_type"`
	// A list of tag keys that will be queryable for your metric.
	Tags []string `json:"tags"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationCreateAttributes Object containing the definition of a metric tag configuration to be created.

func NewMetricTagConfigurationCreateAttributes ¶

func NewMetricTagConfigurationCreateAttributes(metricType MetricTagConfigurationMetricTypes, tags []string) *MetricTagConfigurationCreateAttributes

NewMetricTagConfigurationCreateAttributes instantiates a new MetricTagConfigurationCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricTagConfigurationCreateAttributesWithDefaults ¶

func NewMetricTagConfigurationCreateAttributesWithDefaults() *MetricTagConfigurationCreateAttributes

NewMetricTagConfigurationCreateAttributesWithDefaults instantiates a new MetricTagConfigurationCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricTagConfigurationCreateAttributes) GetAggregations ¶ added in v1.6.0

GetAggregations returns the Aggregations field value if set, zero value otherwise.

func (*MetricTagConfigurationCreateAttributes) GetAggregationsOk ¶ added in v1.6.0

GetAggregationsOk returns a tuple with the Aggregations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateAttributes) GetIncludePercentiles ¶

func (o *MetricTagConfigurationCreateAttributes) GetIncludePercentiles() bool

GetIncludePercentiles returns the IncludePercentiles field value if set, zero value otherwise.

func (*MetricTagConfigurationCreateAttributes) GetIncludePercentilesOk ¶

func (o *MetricTagConfigurationCreateAttributes) GetIncludePercentilesOk() (*bool, bool)

GetIncludePercentilesOk returns a tuple with the IncludePercentiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateAttributes) GetMetricType ¶

GetMetricType returns the MetricType field value.

func (*MetricTagConfigurationCreateAttributes) GetMetricTypeOk ¶

GetMetricTypeOk returns a tuple with the MetricType field value and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateAttributes) GetTags ¶

GetTags returns the Tags field value.

func (*MetricTagConfigurationCreateAttributes) GetTagsOk ¶

func (o *MetricTagConfigurationCreateAttributes) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateAttributes) HasAggregations ¶ added in v1.6.0

func (o *MetricTagConfigurationCreateAttributes) HasAggregations() bool

HasAggregations returns a boolean if a field has been set.

func (*MetricTagConfigurationCreateAttributes) HasIncludePercentiles ¶

func (o *MetricTagConfigurationCreateAttributes) HasIncludePercentiles() bool

HasIncludePercentiles returns a boolean if a field has been set.

func (MetricTagConfigurationCreateAttributes) MarshalJSON ¶

func (o MetricTagConfigurationCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricTagConfigurationCreateAttributes) SetAggregations ¶ added in v1.6.0

SetAggregations gets a reference to the given []MetricCustomAggregation and assigns it to the Aggregations field.

func (*MetricTagConfigurationCreateAttributes) SetIncludePercentiles ¶

func (o *MetricTagConfigurationCreateAttributes) SetIncludePercentiles(v bool)

SetIncludePercentiles gets a reference to the given bool and assigns it to the IncludePercentiles field.

func (*MetricTagConfigurationCreateAttributes) SetMetricType ¶

SetMetricType sets field value.

func (*MetricTagConfigurationCreateAttributes) SetTags ¶

SetTags sets field value.

func (*MetricTagConfigurationCreateAttributes) UnmarshalJSON ¶

func (o *MetricTagConfigurationCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricTagConfigurationCreateData ¶

type MetricTagConfigurationCreateData struct {
	// Object containing the definition of a metric tag configuration to be created.
	Attributes *MetricTagConfigurationCreateAttributes `json:"attributes,omitempty"`
	// The metric name for this resource.
	Id string `json:"id"`
	// The metric tag configuration resource type.
	Type MetricTagConfigurationType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationCreateData Object for a single metric to be configure tags on.

func NewMetricTagConfigurationCreateData ¶

func NewMetricTagConfigurationCreateData(id string, typeVar MetricTagConfigurationType) *MetricTagConfigurationCreateData

NewMetricTagConfigurationCreateData instantiates a new MetricTagConfigurationCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricTagConfigurationCreateDataWithDefaults ¶

func NewMetricTagConfigurationCreateDataWithDefaults() *MetricTagConfigurationCreateData

NewMetricTagConfigurationCreateDataWithDefaults instantiates a new MetricTagConfigurationCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricTagConfigurationCreateData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricTagConfigurationCreateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateData) GetId ¶

GetId returns the Id field value.

func (*MetricTagConfigurationCreateData) GetIdOk ¶

func (o *MetricTagConfigurationCreateData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateData) GetType ¶

GetType returns the Type field value.

func (*MetricTagConfigurationCreateData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateData) HasAttributes ¶

func (o *MetricTagConfigurationCreateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricTagConfigurationCreateData) MarshalJSON ¶

func (o MetricTagConfigurationCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricTagConfigurationCreateData) SetAttributes ¶

SetAttributes gets a reference to the given MetricTagConfigurationCreateAttributes and assigns it to the Attributes field.

func (*MetricTagConfigurationCreateData) SetId ¶

SetId sets field value.

func (*MetricTagConfigurationCreateData) SetType ¶

SetType sets field value.

func (*MetricTagConfigurationCreateData) UnmarshalJSON ¶

func (o *MetricTagConfigurationCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricTagConfigurationCreateRequest ¶

type MetricTagConfigurationCreateRequest struct {
	// Object for a single metric to be configure tags on.
	Data MetricTagConfigurationCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationCreateRequest Request object that includes the metric that you would like to configure tags for.

func NewMetricTagConfigurationCreateRequest ¶

func NewMetricTagConfigurationCreateRequest(data MetricTagConfigurationCreateData) *MetricTagConfigurationCreateRequest

NewMetricTagConfigurationCreateRequest instantiates a new MetricTagConfigurationCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricTagConfigurationCreateRequestWithDefaults ¶

func NewMetricTagConfigurationCreateRequestWithDefaults() *MetricTagConfigurationCreateRequest

NewMetricTagConfigurationCreateRequestWithDefaults instantiates a new MetricTagConfigurationCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricTagConfigurationCreateRequest) GetData ¶

GetData returns the Data field value.

func (*MetricTagConfigurationCreateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (MetricTagConfigurationCreateRequest) MarshalJSON ¶

func (o MetricTagConfigurationCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricTagConfigurationCreateRequest) SetData ¶

SetData sets field value.

func (*MetricTagConfigurationCreateRequest) UnmarshalJSON ¶

func (o *MetricTagConfigurationCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricTagConfigurationMetricTypes ¶

type MetricTagConfigurationMetricTypes string

MetricTagConfigurationMetricTypes The metric's type.

const (
	METRICTAGCONFIGURATIONMETRICTYPES_GAUGE        MetricTagConfigurationMetricTypes = "gauge"
	METRICTAGCONFIGURATIONMETRICTYPES_COUNT        MetricTagConfigurationMetricTypes = "count"
	METRICTAGCONFIGURATIONMETRICTYPES_RATE         MetricTagConfigurationMetricTypes = "rate"
	METRICTAGCONFIGURATIONMETRICTYPES_DISTRIBUTION MetricTagConfigurationMetricTypes = "distribution"
)

List of MetricTagConfigurationMetricTypes.

func NewMetricTagConfigurationMetricTypesFromValue ¶

func NewMetricTagConfigurationMetricTypesFromValue(v string) (*MetricTagConfigurationMetricTypes, error)

NewMetricTagConfigurationMetricTypesFromValue returns a pointer to a valid MetricTagConfigurationMetricTypes for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricTagConfigurationMetricTypes) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (MetricTagConfigurationMetricTypes) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricTagConfigurationMetricTypes) Ptr ¶

Ptr returns reference to MetricTagConfigurationMetricTypes value.

func (*MetricTagConfigurationMetricTypes) UnmarshalJSON ¶

func (v *MetricTagConfigurationMetricTypes) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricTagConfigurationResponse ¶

type MetricTagConfigurationResponse struct {
	// Object for a single metric tag configuration.
	Data *MetricTagConfiguration `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationResponse Response object which includes a single metric's tag configuration.

func NewMetricTagConfigurationResponse ¶

func NewMetricTagConfigurationResponse() *MetricTagConfigurationResponse

NewMetricTagConfigurationResponse instantiates a new MetricTagConfigurationResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricTagConfigurationResponseWithDefaults ¶

func NewMetricTagConfigurationResponseWithDefaults() *MetricTagConfigurationResponse

NewMetricTagConfigurationResponseWithDefaults instantiates a new MetricTagConfigurationResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricTagConfigurationResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*MetricTagConfigurationResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationResponse) HasData ¶

func (o *MetricTagConfigurationResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (MetricTagConfigurationResponse) MarshalJSON ¶

func (o MetricTagConfigurationResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricTagConfigurationResponse) SetData ¶

SetData gets a reference to the given MetricTagConfiguration and assigns it to the Data field.

func (*MetricTagConfigurationResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricTagConfigurationResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricTagConfigurationType ¶

type MetricTagConfigurationType string

MetricTagConfigurationType The metric tag configuration resource type.

const (
	METRICTAGCONFIGURATIONTYPE_MANAGE_TAGS MetricTagConfigurationType = "manage_tags"
)

List of MetricTagConfigurationType.

func NewMetricTagConfigurationTypeFromValue ¶

func NewMetricTagConfigurationTypeFromValue(v string) (*MetricTagConfigurationType, error)

NewMetricTagConfigurationTypeFromValue returns a pointer to a valid MetricTagConfigurationType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricTagConfigurationType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (MetricTagConfigurationType) IsValid ¶

func (v MetricTagConfigurationType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricTagConfigurationType) Ptr ¶

Ptr returns reference to MetricTagConfigurationType value.

func (*MetricTagConfigurationType) UnmarshalJSON ¶

func (v *MetricTagConfigurationType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricTagConfigurationUpdateAttributes ¶

type MetricTagConfigurationUpdateAttributes struct {
	// A list of queryable aggregation combinations for a count, rate, or gauge metric.
	// By default, count and rate metrics require the (time: sum, space: sum) aggregation and
	// Gauge metrics require the (time: avg, space: avg) aggregation.
	// Additional time & space combinations are also available:
	//
	// - time: avg, space: avg
	// - time: avg, space: max
	// - time: avg, space: min
	// - time: avg, space: sum
	// - time: count, space: sum
	// - time: max, space: max
	// - time: min, space: min
	// - time: sum, space: avg
	// - time: sum, space: sum
	//
	// Can only be applied to metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
	Aggregations []MetricCustomAggregation `json:"aggregations,omitempty"`
	// Toggle to include/exclude percentiles for a distribution metric.
	// Defaults to false. Can only be applied to metrics that have a `metric_type` of `distribution`.
	IncludePercentiles *bool `json:"include_percentiles,omitempty"`
	// A list of tag keys that will be queryable for your metric.
	Tags []string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationUpdateAttributes Object containing the definition of a metric tag configuration to be updated.

func NewMetricTagConfigurationUpdateAttributes ¶

func NewMetricTagConfigurationUpdateAttributes() *MetricTagConfigurationUpdateAttributes

NewMetricTagConfigurationUpdateAttributes instantiates a new MetricTagConfigurationUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricTagConfigurationUpdateAttributesWithDefaults ¶

func NewMetricTagConfigurationUpdateAttributesWithDefaults() *MetricTagConfigurationUpdateAttributes

NewMetricTagConfigurationUpdateAttributesWithDefaults instantiates a new MetricTagConfigurationUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricTagConfigurationUpdateAttributes) GetAggregations ¶ added in v1.6.0

GetAggregations returns the Aggregations field value if set, zero value otherwise.

func (*MetricTagConfigurationUpdateAttributes) GetAggregationsOk ¶ added in v1.6.0

GetAggregationsOk returns a tuple with the Aggregations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationUpdateAttributes) GetIncludePercentiles ¶

func (o *MetricTagConfigurationUpdateAttributes) GetIncludePercentiles() bool

GetIncludePercentiles returns the IncludePercentiles field value if set, zero value otherwise.

func (*MetricTagConfigurationUpdateAttributes) GetIncludePercentilesOk ¶

func (o *MetricTagConfigurationUpdateAttributes) GetIncludePercentilesOk() (*bool, bool)

GetIncludePercentilesOk returns a tuple with the IncludePercentiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationUpdateAttributes) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricTagConfigurationUpdateAttributes) GetTagsOk ¶

func (o *MetricTagConfigurationUpdateAttributes) 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 (*MetricTagConfigurationUpdateAttributes) HasAggregations ¶ added in v1.6.0

func (o *MetricTagConfigurationUpdateAttributes) HasAggregations() bool

HasAggregations returns a boolean if a field has been set.

func (*MetricTagConfigurationUpdateAttributes) HasIncludePercentiles ¶

func (o *MetricTagConfigurationUpdateAttributes) HasIncludePercentiles() bool

HasIncludePercentiles returns a boolean if a field has been set.

func (*MetricTagConfigurationUpdateAttributes) HasTags ¶

HasTags returns a boolean if a field has been set.

func (MetricTagConfigurationUpdateAttributes) MarshalJSON ¶

func (o MetricTagConfigurationUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricTagConfigurationUpdateAttributes) SetAggregations ¶ added in v1.6.0

SetAggregations gets a reference to the given []MetricCustomAggregation and assigns it to the Aggregations field.

func (*MetricTagConfigurationUpdateAttributes) SetIncludePercentiles ¶

func (o *MetricTagConfigurationUpdateAttributes) SetIncludePercentiles(v bool)

SetIncludePercentiles gets a reference to the given bool and assigns it to the IncludePercentiles field.

func (*MetricTagConfigurationUpdateAttributes) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricTagConfigurationUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricTagConfigurationUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricTagConfigurationUpdateData ¶

type MetricTagConfigurationUpdateData struct {
	// Object containing the definition of a metric tag configuration to be updated.
	Attributes *MetricTagConfigurationUpdateAttributes `json:"attributes,omitempty"`
	// The metric name for this resource.
	Id string `json:"id"`
	// The metric tag configuration resource type.
	Type MetricTagConfigurationType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationUpdateData Object for a single tag configuration to be edited.

func NewMetricTagConfigurationUpdateData ¶

func NewMetricTagConfigurationUpdateData(id string, typeVar MetricTagConfigurationType) *MetricTagConfigurationUpdateData

NewMetricTagConfigurationUpdateData instantiates a new MetricTagConfigurationUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricTagConfigurationUpdateDataWithDefaults ¶

func NewMetricTagConfigurationUpdateDataWithDefaults() *MetricTagConfigurationUpdateData

NewMetricTagConfigurationUpdateDataWithDefaults instantiates a new MetricTagConfigurationUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricTagConfigurationUpdateData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricTagConfigurationUpdateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationUpdateData) GetId ¶

GetId returns the Id field value.

func (*MetricTagConfigurationUpdateData) GetIdOk ¶

func (o *MetricTagConfigurationUpdateData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricTagConfigurationUpdateData) GetType ¶

GetType returns the Type field value.

func (*MetricTagConfigurationUpdateData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricTagConfigurationUpdateData) HasAttributes ¶

func (o *MetricTagConfigurationUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricTagConfigurationUpdateData) MarshalJSON ¶

func (o MetricTagConfigurationUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricTagConfigurationUpdateData) SetAttributes ¶

SetAttributes gets a reference to the given MetricTagConfigurationUpdateAttributes and assigns it to the Attributes field.

func (*MetricTagConfigurationUpdateData) SetId ¶

SetId sets field value.

func (*MetricTagConfigurationUpdateData) SetType ¶

SetType sets field value.

func (*MetricTagConfigurationUpdateData) UnmarshalJSON ¶

func (o *MetricTagConfigurationUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricTagConfigurationUpdateRequest ¶

type MetricTagConfigurationUpdateRequest struct {
	// Object for a single tag configuration to be edited.
	Data MetricTagConfigurationUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationUpdateRequest Request object that includes the metric that you would like to edit the tag configuration on.

func NewMetricTagConfigurationUpdateRequest ¶

func NewMetricTagConfigurationUpdateRequest(data MetricTagConfigurationUpdateData) *MetricTagConfigurationUpdateRequest

NewMetricTagConfigurationUpdateRequest instantiates a new MetricTagConfigurationUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricTagConfigurationUpdateRequestWithDefaults ¶

func NewMetricTagConfigurationUpdateRequestWithDefaults() *MetricTagConfigurationUpdateRequest

NewMetricTagConfigurationUpdateRequestWithDefaults instantiates a new MetricTagConfigurationUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricTagConfigurationUpdateRequest) GetData ¶

GetData returns the Data field value.

func (*MetricTagConfigurationUpdateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (MetricTagConfigurationUpdateRequest) MarshalJSON ¶

func (o MetricTagConfigurationUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricTagConfigurationUpdateRequest) SetData ¶

SetData sets field value.

func (*MetricTagConfigurationUpdateRequest) UnmarshalJSON ¶

func (o *MetricTagConfigurationUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricType ¶

type MetricType string

MetricType The metric resource type.

const (
	METRICTYPE_METRICS MetricType = "metrics"
)

List of MetricType.

func NewMetricTypeFromValue ¶

func NewMetricTypeFromValue(v string) (*MetricType, error)

NewMetricTypeFromValue returns a pointer to a valid MetricType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricType) GetAllowedValues ¶ added in v1.1.0

func (v *MetricType) GetAllowedValues() []MetricType

GetAllowedValues reeturns the list of possible values.

func (MetricType) IsValid ¶

func (v MetricType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricType) Ptr ¶

func (v MetricType) Ptr() *MetricType

Ptr returns reference to MetricType value.

func (*MetricType) UnmarshalJSON ¶

func (v *MetricType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricVolumes ¶

type MetricVolumes struct {
	MetricDistinctVolume        *MetricDistinctVolume
	MetricIngestedIndexedVolume *MetricIngestedIndexedVolume

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

MetricVolumes - Possible response objects for a metric's volume.

func MetricDistinctVolumeAsMetricVolumes ¶

func MetricDistinctVolumeAsMetricVolumes(v *MetricDistinctVolume) MetricVolumes

MetricDistinctVolumeAsMetricVolumes is a convenience function that returns MetricDistinctVolume wrapped in MetricVolumes.

func MetricIngestedIndexedVolumeAsMetricVolumes ¶

func MetricIngestedIndexedVolumeAsMetricVolumes(v *MetricIngestedIndexedVolume) MetricVolumes

MetricIngestedIndexedVolumeAsMetricVolumes is a convenience function that returns MetricIngestedIndexedVolume wrapped in MetricVolumes.

func (*MetricVolumes) GetActualInstance ¶

func (obj *MetricVolumes) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (MetricVolumes) MarshalJSON ¶

func (obj MetricVolumes) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*MetricVolumes) UnmarshalJSON ¶

func (obj *MetricVolumes) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type MetricVolumesResponse ¶

type MetricVolumesResponse struct {
	// Possible response objects for a metric's volume.
	Data *MetricVolumes `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricVolumesResponse Response object which includes a single metric's volume.

func NewMetricVolumesResponse ¶

func NewMetricVolumesResponse() *MetricVolumesResponse

NewMetricVolumesResponse instantiates a new MetricVolumesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricVolumesResponseWithDefaults ¶

func NewMetricVolumesResponseWithDefaults() *MetricVolumesResponse

NewMetricVolumesResponseWithDefaults instantiates a new MetricVolumesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricVolumesResponse) GetData ¶

func (o *MetricVolumesResponse) GetData() MetricVolumes

GetData returns the Data field value if set, zero value otherwise.

func (*MetricVolumesResponse) GetDataOk ¶

func (o *MetricVolumesResponse) GetDataOk() (*MetricVolumes, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricVolumesResponse) HasData ¶

func (o *MetricVolumesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (MetricVolumesResponse) MarshalJSON ¶

func (o MetricVolumesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricVolumesResponse) SetData ¶

func (o *MetricVolumesResponse) SetData(v MetricVolumes)

SetData gets a reference to the given MetricVolumes and assigns it to the Data field.

func (*MetricVolumesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricVolumesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricsAndMetricTagConfigurations ¶

type MetricsAndMetricTagConfigurations struct {
	Metric                 *Metric
	MetricTagConfiguration *MetricTagConfiguration

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

MetricsAndMetricTagConfigurations - Object for a metrics and metric tag configurations.

func MetricAsMetricsAndMetricTagConfigurations ¶

func MetricAsMetricsAndMetricTagConfigurations(v *Metric) MetricsAndMetricTagConfigurations

MetricAsMetricsAndMetricTagConfigurations is a convenience function that returns Metric wrapped in MetricsAndMetricTagConfigurations.

func MetricTagConfigurationAsMetricsAndMetricTagConfigurations ¶

func MetricTagConfigurationAsMetricsAndMetricTagConfigurations(v *MetricTagConfiguration) MetricsAndMetricTagConfigurations

MetricTagConfigurationAsMetricsAndMetricTagConfigurations is a convenience function that returns MetricTagConfiguration wrapped in MetricsAndMetricTagConfigurations.

func (*MetricsAndMetricTagConfigurations) GetActualInstance ¶

func (obj *MetricsAndMetricTagConfigurations) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (MetricsAndMetricTagConfigurations) MarshalJSON ¶

func (obj MetricsAndMetricTagConfigurations) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*MetricsAndMetricTagConfigurations) UnmarshalJSON ¶

func (obj *MetricsAndMetricTagConfigurations) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type MetricsAndMetricTagConfigurationsResponse ¶

type MetricsAndMetricTagConfigurationsResponse struct {
	// Array of metrics and metric tag configurations.
	Data []MetricsAndMetricTagConfigurations `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricsAndMetricTagConfigurationsResponse Response object that includes metrics and metric tag configurations.

func NewMetricsAndMetricTagConfigurationsResponse ¶

func NewMetricsAndMetricTagConfigurationsResponse() *MetricsAndMetricTagConfigurationsResponse

NewMetricsAndMetricTagConfigurationsResponse instantiates a new MetricsAndMetricTagConfigurationsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricsAndMetricTagConfigurationsResponseWithDefaults ¶

func NewMetricsAndMetricTagConfigurationsResponseWithDefaults() *MetricsAndMetricTagConfigurationsResponse

NewMetricsAndMetricTagConfigurationsResponseWithDefaults instantiates a new MetricsAndMetricTagConfigurationsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricsAndMetricTagConfigurationsResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*MetricsAndMetricTagConfigurationsResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsAndMetricTagConfigurationsResponse) HasData ¶

HasData returns a boolean if a field has been set.

func (MetricsAndMetricTagConfigurationsResponse) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*MetricsAndMetricTagConfigurationsResponse) SetData ¶

SetData gets a reference to the given []MetricsAndMetricTagConfigurations and assigns it to the Data field.

func (*MetricsAndMetricTagConfigurationsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricsAndMetricTagConfigurationsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricsApiService ¶

type MetricsApiService service

MetricsApiService MetricsApi service.

func (*MetricsApiService) CreateBulkTagsMetricsConfiguration ¶ added in v1.9.0

CreateBulkTagsMetricsConfiguration Configure tags for multiple metrics. Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. If multiple calls include the same metric, the last configuration applied (not by submit order) is used, do not expect deterministic ordering of concurrent calls. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.

func (*MetricsApiService) CreateTagConfiguration ¶

CreateTagConfiguration Create a tag configuration. Create and define a list of queryable tag keys for an existing count/gauge/rate/distribution metric. Optionally, include percentile aggregations on any distribution metric or configure custom aggregations on any count, rate, or gauge metric. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.

func (*MetricsApiService) DeleteBulkTagsMetricsConfiguration ¶ added in v1.9.0

DeleteBulkTagsMetricsConfiguration Configure tags for multiple metrics. Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.

func (*MetricsApiService) DeleteTagConfiguration ¶

func (a *MetricsApiService) DeleteTagConfiguration(ctx _context.Context, metricName string) (*_nethttp.Response, error)

DeleteTagConfiguration Delete a tag configuration. Deletes a metric's tag configuration. Can only be used with application keys from users with the `Manage Tags for Metrics` permission.

func (*MetricsApiService) EstimateMetricsOutputSeries ¶ added in v1.14.0

EstimateMetricsOutputSeries Tag Configuration Cardinality Estimator. Returns the estimated cardinality for a metric with a given tag, percentile and number of aggregations configuration using Metrics without Limits&trade;.

func (*MetricsApiService) ListTagConfigurationByName ¶

func (a *MetricsApiService) ListTagConfigurationByName(ctx _context.Context, metricName string) (MetricTagConfigurationResponse, *_nethttp.Response, error)

ListTagConfigurationByName List tag configuration by name. Returns the tag configuration for the given metric name.

func (*MetricsApiService) ListTagConfigurations ¶

ListTagConfigurations List tag configurations. Returns all configured count/gauge/rate/distribution metric names (with additional filters if specified).

func (*MetricsApiService) ListTagsByMetricName ¶

func (a *MetricsApiService) ListTagsByMetricName(ctx _context.Context, metricName string) (MetricAllTagsResponse, *_nethttp.Response, error)

ListTagsByMetricName List tags by metric name. View indexed tag key-value pairs for a given metric name.

func (*MetricsApiService) ListVolumesByMetricName ¶

func (a *MetricsApiService) ListVolumesByMetricName(ctx _context.Context, metricName string) (MetricVolumesResponse, *_nethttp.Response, error)

ListVolumesByMetricName List distinct metric volumes by metric name. View distinct metrics volumes for the given metric name.

Custom metrics generated in-app from other products will return `null` for ingested volumes.

func (*MetricsApiService) SubmitMetrics ¶ added in v1.14.0

SubmitMetrics Submit metrics. The metrics end-point allows you to post time-series data that can be graphed on Datadog’s dashboards. The maximum payload size is 500 kilobytes (512000 bytes). Compressed payloads must have a decompressed size of less than 5 megabytes (5242880 bytes).

If you’re submitting metrics directly to the Datadog API without using DogStatsD, expect:

- 64 bits for the timestamp - 64 bits for the value - 20 bytes for the metric names - 50 bytes for the timeseries - The full payload is approximately 100 bytes.

func (*MetricsApiService) UpdateTagConfiguration ¶

UpdateTagConfiguration Update a tag configuration. Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations of a count, rate, or gauge metric. Can only be used with application keys from users with the `Manage Tags for Metrics` permission.

type NullableAPIKeyResponseIncludedItem ¶

type NullableAPIKeyResponseIncludedItem struct {
	// contains filtered or unexported fields
}

NullableAPIKeyResponseIncludedItem handles when a null is used for APIKeyResponseIncludedItem.

func NewNullableAPIKeyResponseIncludedItem ¶

func NewNullableAPIKeyResponseIncludedItem(val *APIKeyResponseIncludedItem) *NullableAPIKeyResponseIncludedItem

NewNullableAPIKeyResponseIncludedItem initializes the struct as if Set has been called.

func (NullableAPIKeyResponseIncludedItem) Get ¶

Get returns the associated value.

func (NullableAPIKeyResponseIncludedItem) IsSet ¶

IsSet returns whether Set has been called.

func (NullableAPIKeyResponseIncludedItem) MarshalJSON ¶

func (v NullableAPIKeyResponseIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAPIKeyResponseIncludedItem) Set ¶

Set changes the value and indicates it's been called.

func (*NullableAPIKeyResponseIncludedItem) UnmarshalJSON ¶

func (v *NullableAPIKeyResponseIncludedItem) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAPIKeyResponseIncludedItem) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableAPIKeysSort ¶

type NullableAPIKeysSort struct {
	// contains filtered or unexported fields
}

NullableAPIKeysSort handles when a null is used for APIKeysSort.

func NewNullableAPIKeysSort ¶

func NewNullableAPIKeysSort(val *APIKeysSort) *NullableAPIKeysSort

NewNullableAPIKeysSort initializes the struct as if Set has been called.

func (NullableAPIKeysSort) Get ¶

Get returns the associated value.

func (NullableAPIKeysSort) IsSet ¶

func (v NullableAPIKeysSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAPIKeysSort) MarshalJSON ¶

func (v NullableAPIKeysSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAPIKeysSort) Set ¶

func (v *NullableAPIKeysSort) Set(val *APIKeysSort)

Set changes the value and indicates it's been called.

func (*NullableAPIKeysSort) UnmarshalJSON ¶

func (v *NullableAPIKeysSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAPIKeysSort) Unset ¶

func (v *NullableAPIKeysSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableAPIKeysType ¶

type NullableAPIKeysType struct {
	// contains filtered or unexported fields
}

NullableAPIKeysType handles when a null is used for APIKeysType.

func NewNullableAPIKeysType ¶

func NewNullableAPIKeysType(val *APIKeysType) *NullableAPIKeysType

NewNullableAPIKeysType initializes the struct as if Set has been called.

func (NullableAPIKeysType) Get ¶

Get returns the associated value.

func (NullableAPIKeysType) IsSet ¶

func (v NullableAPIKeysType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAPIKeysType) MarshalJSON ¶

func (v NullableAPIKeysType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAPIKeysType) Set ¶

func (v *NullableAPIKeysType) Set(val *APIKeysType)

Set changes the value and indicates it's been called.

func (*NullableAPIKeysType) UnmarshalJSON ¶

func (v *NullableAPIKeysType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAPIKeysType) Unset ¶

func (v *NullableAPIKeysType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableApplicationKeyResponseIncludedItem ¶

type NullableApplicationKeyResponseIncludedItem struct {
	// contains filtered or unexported fields
}

NullableApplicationKeyResponseIncludedItem handles when a null is used for ApplicationKeyResponseIncludedItem.

func NewNullableApplicationKeyResponseIncludedItem ¶

func NewNullableApplicationKeyResponseIncludedItem(val *ApplicationKeyResponseIncludedItem) *NullableApplicationKeyResponseIncludedItem

NewNullableApplicationKeyResponseIncludedItem initializes the struct as if Set has been called.

func (NullableApplicationKeyResponseIncludedItem) Get ¶

Get returns the associated value.

func (NullableApplicationKeyResponseIncludedItem) IsSet ¶

IsSet returns whether Set has been called.

func (NullableApplicationKeyResponseIncludedItem) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableApplicationKeyResponseIncludedItem) Set ¶

Set changes the value and indicates it's been called.

func (*NullableApplicationKeyResponseIncludedItem) UnmarshalJSON ¶

func (v *NullableApplicationKeyResponseIncludedItem) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableApplicationKeyResponseIncludedItem) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableApplicationKeysSort ¶

type NullableApplicationKeysSort struct {
	// contains filtered or unexported fields
}

NullableApplicationKeysSort handles when a null is used for ApplicationKeysSort.

func NewNullableApplicationKeysSort ¶

func NewNullableApplicationKeysSort(val *ApplicationKeysSort) *NullableApplicationKeysSort

NewNullableApplicationKeysSort initializes the struct as if Set has been called.

func (NullableApplicationKeysSort) Get ¶

Get returns the associated value.

func (NullableApplicationKeysSort) IsSet ¶

IsSet returns whether Set has been called.

func (NullableApplicationKeysSort) MarshalJSON ¶

func (v NullableApplicationKeysSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableApplicationKeysSort) Set ¶

Set changes the value and indicates it's been called.

func (*NullableApplicationKeysSort) UnmarshalJSON ¶

func (v *NullableApplicationKeysSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableApplicationKeysSort) Unset ¶

func (v *NullableApplicationKeysSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableApplicationKeysType ¶

type NullableApplicationKeysType struct {
	// contains filtered or unexported fields
}

NullableApplicationKeysType handles when a null is used for ApplicationKeysType.

func NewNullableApplicationKeysType ¶

func NewNullableApplicationKeysType(val *ApplicationKeysType) *NullableApplicationKeysType

NewNullableApplicationKeysType initializes the struct as if Set has been called.

func (NullableApplicationKeysType) Get ¶

Get returns the associated value.

func (NullableApplicationKeysType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableApplicationKeysType) MarshalJSON ¶

func (v NullableApplicationKeysType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableApplicationKeysType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableApplicationKeysType) UnmarshalJSON ¶

func (v *NullableApplicationKeysType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableApplicationKeysType) Unset ¶

func (v *NullableApplicationKeysType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableAuditLogsEventType ¶ added in v1.11.0

type NullableAuditLogsEventType struct {
	// contains filtered or unexported fields
}

NullableAuditLogsEventType handles when a null is used for AuditLogsEventType.

func NewNullableAuditLogsEventType ¶ added in v1.11.0

func NewNullableAuditLogsEventType(val *AuditLogsEventType) *NullableAuditLogsEventType

NewNullableAuditLogsEventType initializes the struct as if Set has been called.

func (NullableAuditLogsEventType) Get ¶ added in v1.11.0

Get returns the associated value.

func (NullableAuditLogsEventType) IsSet ¶ added in v1.11.0

func (v NullableAuditLogsEventType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAuditLogsEventType) MarshalJSON ¶ added in v1.11.0

func (v NullableAuditLogsEventType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuditLogsEventType) Set ¶ added in v1.11.0

Set changes the value and indicates it's been called.

func (*NullableAuditLogsEventType) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableAuditLogsEventType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuditLogsEventType) Unset ¶ added in v1.11.0

func (v *NullableAuditLogsEventType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableAuditLogsResponseStatus ¶ added in v1.11.0

type NullableAuditLogsResponseStatus struct {
	// contains filtered or unexported fields
}

NullableAuditLogsResponseStatus handles when a null is used for AuditLogsResponseStatus.

func NewNullableAuditLogsResponseStatus ¶ added in v1.11.0

func NewNullableAuditLogsResponseStatus(val *AuditLogsResponseStatus) *NullableAuditLogsResponseStatus

NewNullableAuditLogsResponseStatus initializes the struct as if Set has been called.

func (NullableAuditLogsResponseStatus) Get ¶ added in v1.11.0

Get returns the associated value.

func (NullableAuditLogsResponseStatus) IsSet ¶ added in v1.11.0

IsSet returns whether Set has been called.

func (NullableAuditLogsResponseStatus) MarshalJSON ¶ added in v1.11.0

func (v NullableAuditLogsResponseStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuditLogsResponseStatus) Set ¶ added in v1.11.0

Set changes the value and indicates it's been called.

func (*NullableAuditLogsResponseStatus) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableAuditLogsResponseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuditLogsResponseStatus) Unset ¶ added in v1.11.0

Unset sets the value to nil and resets the set flag.

type NullableAuditLogsSort ¶ added in v1.11.0

type NullableAuditLogsSort struct {
	// contains filtered or unexported fields
}

NullableAuditLogsSort handles when a null is used for AuditLogsSort.

func NewNullableAuditLogsSort ¶ added in v1.11.0

func NewNullableAuditLogsSort(val *AuditLogsSort) *NullableAuditLogsSort

NewNullableAuditLogsSort initializes the struct as if Set has been called.

func (NullableAuditLogsSort) Get ¶ added in v1.11.0

Get returns the associated value.

func (NullableAuditLogsSort) IsSet ¶ added in v1.11.0

func (v NullableAuditLogsSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAuditLogsSort) MarshalJSON ¶ added in v1.11.0

func (v NullableAuditLogsSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuditLogsSort) Set ¶ added in v1.11.0

func (v *NullableAuditLogsSort) Set(val *AuditLogsSort)

Set changes the value and indicates it's been called.

func (*NullableAuditLogsSort) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableAuditLogsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuditLogsSort) Unset ¶ added in v1.11.0

func (v *NullableAuditLogsSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableAuthNMappingIncluded ¶ added in v1.9.0

type NullableAuthNMappingIncluded struct {
	// contains filtered or unexported fields
}

NullableAuthNMappingIncluded handles when a null is used for AuthNMappingIncluded.

func NewNullableAuthNMappingIncluded ¶ added in v1.9.0

func NewNullableAuthNMappingIncluded(val *AuthNMappingIncluded) *NullableAuthNMappingIncluded

NewNullableAuthNMappingIncluded initializes the struct as if Set has been called.

func (NullableAuthNMappingIncluded) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableAuthNMappingIncluded) IsSet ¶ added in v1.9.0

IsSet returns whether Set has been called.

func (NullableAuthNMappingIncluded) MarshalJSON ¶ added in v1.9.0

func (v NullableAuthNMappingIncluded) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuthNMappingIncluded) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableAuthNMappingIncluded) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableAuthNMappingIncluded) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuthNMappingIncluded) Unset ¶ added in v1.9.0

func (v *NullableAuthNMappingIncluded) Unset()

Unset sets the value to nil and resets the set flag/

type NullableAuthNMappingsSort ¶ added in v1.9.0

type NullableAuthNMappingsSort struct {
	// contains filtered or unexported fields
}

NullableAuthNMappingsSort handles when a null is used for AuthNMappingsSort.

func NewNullableAuthNMappingsSort ¶ added in v1.9.0

func NewNullableAuthNMappingsSort(val *AuthNMappingsSort) *NullableAuthNMappingsSort

NewNullableAuthNMappingsSort initializes the struct as if Set has been called.

func (NullableAuthNMappingsSort) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableAuthNMappingsSort) IsSet ¶ added in v1.9.0

func (v NullableAuthNMappingsSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAuthNMappingsSort) MarshalJSON ¶ added in v1.9.0

func (v NullableAuthNMappingsSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuthNMappingsSort) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableAuthNMappingsSort) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableAuthNMappingsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuthNMappingsSort) Unset ¶ added in v1.9.0

func (v *NullableAuthNMappingsSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableAuthNMappingsType ¶ added in v1.9.0

type NullableAuthNMappingsType struct {
	// contains filtered or unexported fields
}

NullableAuthNMappingsType handles when a null is used for AuthNMappingsType.

func NewNullableAuthNMappingsType ¶ added in v1.9.0

func NewNullableAuthNMappingsType(val *AuthNMappingsType) *NullableAuthNMappingsType

NewNullableAuthNMappingsType initializes the struct as if Set has been called.

func (NullableAuthNMappingsType) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableAuthNMappingsType) IsSet ¶ added in v1.9.0

func (v NullableAuthNMappingsType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAuthNMappingsType) MarshalJSON ¶ added in v1.9.0

func (v NullableAuthNMappingsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuthNMappingsType) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableAuthNMappingsType) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableAuthNMappingsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuthNMappingsType) Unset ¶ added in v1.9.0

func (v *NullableAuthNMappingsType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableBool ¶

type NullableBool struct {
	// contains filtered or unexported fields
}

NullableBool is a struct to hold a nullable boolean value.

func NewNullableBool ¶

func NewNullableBool(val *bool) *NullableBool

NewNullableBool instantiates a new nullable bool.

func (NullableBool) Get ¶

func (v NullableBool) Get() *bool

Get returns the value associated with the nullable bool.

func (NullableBool) IsSet ¶

func (v NullableBool) IsSet() bool

IsSet returns true if the value has been set.

func (NullableBool) MarshalJSON ¶

func (v NullableBool) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableBool) Set ¶

func (v *NullableBool) Set(val *bool)

Set sets the value associated with the nullable bool.

func (*NullableBool) UnmarshalJSON ¶

func (v *NullableBool) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableBool) Unset ¶

func (v *NullableBool) Unset()

Unset resets fields of the nullable bool.

type NullableCloudWorkloadSecurityAgentRuleType ¶ added in v1.8.0

type NullableCloudWorkloadSecurityAgentRuleType struct {
	// contains filtered or unexported fields
}

NullableCloudWorkloadSecurityAgentRuleType handles when a null is used for CloudWorkloadSecurityAgentRuleType.

func NewNullableCloudWorkloadSecurityAgentRuleType ¶ added in v1.8.0

func NewNullableCloudWorkloadSecurityAgentRuleType(val *CloudWorkloadSecurityAgentRuleType) *NullableCloudWorkloadSecurityAgentRuleType

NewNullableCloudWorkloadSecurityAgentRuleType initializes the struct as if Set has been called.

func (NullableCloudWorkloadSecurityAgentRuleType) Get ¶ added in v1.8.0

Get returns the associated value.

func (NullableCloudWorkloadSecurityAgentRuleType) IsSet ¶ added in v1.8.0

IsSet returns whether Set has been called.

func (NullableCloudWorkloadSecurityAgentRuleType) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the associated value.

func (*NullableCloudWorkloadSecurityAgentRuleType) Set ¶ added in v1.8.0

Set changes the value and indicates it's been called.

func (*NullableCloudWorkloadSecurityAgentRuleType) UnmarshalJSON ¶ added in v1.8.0

func (v *NullableCloudWorkloadSecurityAgentRuleType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCloudWorkloadSecurityAgentRuleType) Unset ¶ added in v1.8.0

Unset sets the value to nil and resets the set flag.

type NullableContentEncoding ¶ added in v1.6.0

type NullableContentEncoding struct {
	// contains filtered or unexported fields
}

NullableContentEncoding handles when a null is used for ContentEncoding.

func NewNullableContentEncoding ¶ added in v1.6.0

func NewNullableContentEncoding(val *ContentEncoding) *NullableContentEncoding

NewNullableContentEncoding initializes the struct as if Set has been called.

func (NullableContentEncoding) Get ¶ added in v1.6.0

Get returns the associated value.

func (NullableContentEncoding) IsSet ¶ added in v1.6.0

func (v NullableContentEncoding) IsSet() bool

IsSet returns whether Set has been called.

func (NullableContentEncoding) MarshalJSON ¶ added in v1.6.0

func (v NullableContentEncoding) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableContentEncoding) Set ¶ added in v1.6.0

Set changes the value and indicates it's been called.

func (*NullableContentEncoding) UnmarshalJSON ¶ added in v1.6.0

func (v *NullableContentEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableContentEncoding) Unset ¶ added in v1.6.0

func (v *NullableContentEncoding) Unset()

Unset sets the value to nil and resets the set flag.

type NullableCostByOrgType ¶ added in v1.14.0

type NullableCostByOrgType struct {
	// contains filtered or unexported fields
}

NullableCostByOrgType handles when a null is used for CostByOrgType.

func NewNullableCostByOrgType ¶ added in v1.14.0

func NewNullableCostByOrgType(val *CostByOrgType) *NullableCostByOrgType

NewNullableCostByOrgType initializes the struct as if Set has been called.

func (NullableCostByOrgType) Get ¶ added in v1.14.0

Get returns the associated value.

func (NullableCostByOrgType) IsSet ¶ added in v1.14.0

func (v NullableCostByOrgType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableCostByOrgType) MarshalJSON ¶ added in v1.14.0

func (v NullableCostByOrgType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCostByOrgType) Set ¶ added in v1.14.0

func (v *NullableCostByOrgType) Set(val *CostByOrgType)

Set changes the value and indicates it's been called.

func (*NullableCostByOrgType) UnmarshalJSON ¶ added in v1.14.0

func (v *NullableCostByOrgType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCostByOrgType) Unset ¶ added in v1.14.0

func (v *NullableCostByOrgType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableDashboardType ¶

type NullableDashboardType struct {
	// contains filtered or unexported fields
}

NullableDashboardType handles when a null is used for DashboardType.

func NewNullableDashboardType ¶

func NewNullableDashboardType(val *DashboardType) *NullableDashboardType

NewNullableDashboardType initializes the struct as if Set has been called.

func (NullableDashboardType) Get ¶

Get returns the associated value.

func (NullableDashboardType) IsSet ¶

func (v NullableDashboardType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableDashboardType) MarshalJSON ¶

func (v NullableDashboardType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableDashboardType) Set ¶

func (v *NullableDashboardType) Set(val *DashboardType)

Set changes the value and indicates it's been called.

func (*NullableDashboardType) UnmarshalJSON ¶

func (v *NullableDashboardType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDashboardType) Unset ¶

func (v *NullableDashboardType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableFloat32 ¶

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

NullableFloat32 is a struct to hold a nullable float32 value.

func NewNullableFloat32 ¶

func NewNullableFloat32(val *float32) *NullableFloat32

NewNullableFloat32 instantiates a new nullable float32.

func (NullableFloat32) Get ¶

func (v NullableFloat32) Get() *float32

Get returns the value associated with the nullable float32.

func (NullableFloat32) IsSet ¶

func (v NullableFloat32) IsSet() bool

IsSet returns true if the value has been set.

func (NullableFloat32) MarshalJSON ¶

func (v NullableFloat32) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableFloat32) Set ¶

func (v *NullableFloat32) Set(val *float32)

Set sets the value associated with the nullable float32.

func (*NullableFloat32) UnmarshalJSON ¶

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableFloat32) Unset ¶

func (v *NullableFloat32) Unset()

Unset resets fields of the nullable float32.

type NullableFloat64 ¶

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

NullableFloat64 is a struct to hold a nullable float64 value.

func NewNullableFloat64 ¶

func NewNullableFloat64(val *float64) *NullableFloat64

NewNullableFloat64 instantiates a new nullable float64.

func (NullableFloat64) Get ¶

func (v NullableFloat64) Get() *float64

Get returns the value associated with the nullable float64.

func (NullableFloat64) IsSet ¶

func (v NullableFloat64) IsSet() bool

IsSet returns true if the value has been set.

func (NullableFloat64) MarshalJSON ¶

func (v NullableFloat64) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableFloat64) Set ¶

func (v *NullableFloat64) Set(val *float64)

Set sets the value associated with the nullable float64.

func (*NullableFloat64) UnmarshalJSON ¶

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableFloat64) Unset ¶

func (v *NullableFloat64) Unset()

Unset resets fields of the nullable float64.

type NullableHourlyUsageType ¶ added in v1.14.0

type NullableHourlyUsageType struct {
	// contains filtered or unexported fields
}

NullableHourlyUsageType handles when a null is used for HourlyUsageType.

func NewNullableHourlyUsageType ¶ added in v1.14.0

func NewNullableHourlyUsageType(val *HourlyUsageType) *NullableHourlyUsageType

NewNullableHourlyUsageType initializes the struct as if Set has been called.

func (NullableHourlyUsageType) Get ¶ added in v1.14.0

Get returns the associated value.

func (NullableHourlyUsageType) IsSet ¶ added in v1.14.0

func (v NullableHourlyUsageType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableHourlyUsageType) MarshalJSON ¶ added in v1.14.0

func (v NullableHourlyUsageType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableHourlyUsageType) Set ¶ added in v1.14.0

Set changes the value and indicates it's been called.

func (*NullableHourlyUsageType) UnmarshalJSON ¶ added in v1.14.0

func (v *NullableHourlyUsageType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableHourlyUsageType) Unset ¶ added in v1.14.0

func (v *NullableHourlyUsageType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableIncidentFieldAttributes ¶

type NullableIncidentFieldAttributes struct {
	// contains filtered or unexported fields
}

NullableIncidentFieldAttributes handles when a null is used for IncidentFieldAttributes.

func NewNullableIncidentFieldAttributes ¶

func NewNullableIncidentFieldAttributes(val *IncidentFieldAttributes) *NullableIncidentFieldAttributes

NewNullableIncidentFieldAttributes initializes the struct as if Set has been called.

func (NullableIncidentFieldAttributes) Get ¶

Get returns the associated value.

func (NullableIncidentFieldAttributes) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentFieldAttributes) MarshalJSON ¶

func (v NullableIncidentFieldAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentFieldAttributes) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentFieldAttributes) UnmarshalJSON ¶

func (v *NullableIncidentFieldAttributes) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentFieldAttributes) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableIncidentFieldAttributesSingleValueType ¶

type NullableIncidentFieldAttributesSingleValueType struct {
	// contains filtered or unexported fields
}

NullableIncidentFieldAttributesSingleValueType handles when a null is used for IncidentFieldAttributesSingleValueType.

func NewNullableIncidentFieldAttributesSingleValueType ¶

func NewNullableIncidentFieldAttributesSingleValueType(val *IncidentFieldAttributesSingleValueType) *NullableIncidentFieldAttributesSingleValueType

NewNullableIncidentFieldAttributesSingleValueType initializes the struct as if Set has been called.

func (NullableIncidentFieldAttributesSingleValueType) Get ¶

Get returns the associated value.

func (NullableIncidentFieldAttributesSingleValueType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentFieldAttributesSingleValueType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableIncidentFieldAttributesSingleValueType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentFieldAttributesSingleValueType) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentFieldAttributesSingleValueType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableIncidentFieldAttributesValueType ¶

type NullableIncidentFieldAttributesValueType struct {
	// contains filtered or unexported fields
}

NullableIncidentFieldAttributesValueType handles when a null is used for IncidentFieldAttributesValueType.

func NewNullableIncidentFieldAttributesValueType ¶

func NewNullableIncidentFieldAttributesValueType(val *IncidentFieldAttributesValueType) *NullableIncidentFieldAttributesValueType

NewNullableIncidentFieldAttributesValueType initializes the struct as if Set has been called.

func (NullableIncidentFieldAttributesValueType) Get ¶

Get returns the associated value.

func (NullableIncidentFieldAttributesValueType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentFieldAttributesValueType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableIncidentFieldAttributesValueType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentFieldAttributesValueType) UnmarshalJSON ¶

func (v *NullableIncidentFieldAttributesValueType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentFieldAttributesValueType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableIncidentIntegrationMetadataType ¶

type NullableIncidentIntegrationMetadataType struct {
	// contains filtered or unexported fields
}

NullableIncidentIntegrationMetadataType handles when a null is used for IncidentIntegrationMetadataType.

func NewNullableIncidentIntegrationMetadataType ¶

func NewNullableIncidentIntegrationMetadataType(val *IncidentIntegrationMetadataType) *NullableIncidentIntegrationMetadataType

NewNullableIncidentIntegrationMetadataType initializes the struct as if Set has been called.

func (NullableIncidentIntegrationMetadataType) Get ¶

Get returns the associated value.

func (NullableIncidentIntegrationMetadataType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentIntegrationMetadataType) MarshalJSON ¶

func (v NullableIncidentIntegrationMetadataType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentIntegrationMetadataType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentIntegrationMetadataType) UnmarshalJSON ¶

func (v *NullableIncidentIntegrationMetadataType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentIntegrationMetadataType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableIncidentPostmortemType ¶

type NullableIncidentPostmortemType struct {
	// contains filtered or unexported fields
}

NullableIncidentPostmortemType handles when a null is used for IncidentPostmortemType.

func NewNullableIncidentPostmortemType ¶

func NewNullableIncidentPostmortemType(val *IncidentPostmortemType) *NullableIncidentPostmortemType

NewNullableIncidentPostmortemType initializes the struct as if Set has been called.

func (NullableIncidentPostmortemType) Get ¶

Get returns the associated value.

func (NullableIncidentPostmortemType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentPostmortemType) MarshalJSON ¶

func (v NullableIncidentPostmortemType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentPostmortemType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentPostmortemType) UnmarshalJSON ¶

func (v *NullableIncidentPostmortemType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentPostmortemType) Unset ¶

func (v *NullableIncidentPostmortemType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableIncidentRelatedObject ¶

type NullableIncidentRelatedObject struct {
	// contains filtered or unexported fields
}

NullableIncidentRelatedObject handles when a null is used for IncidentRelatedObject.

func NewNullableIncidentRelatedObject ¶

func NewNullableIncidentRelatedObject(val *IncidentRelatedObject) *NullableIncidentRelatedObject

NewNullableIncidentRelatedObject initializes the struct as if Set has been called.

func (NullableIncidentRelatedObject) Get ¶

Get returns the associated value.

func (NullableIncidentRelatedObject) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentRelatedObject) MarshalJSON ¶

func (v NullableIncidentRelatedObject) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentRelatedObject) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentRelatedObject) UnmarshalJSON ¶

func (v *NullableIncidentRelatedObject) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentRelatedObject) Unset ¶

func (v *NullableIncidentRelatedObject) Unset()

Unset sets the value to nil and resets the set flag.

type NullableIncidentResponseIncludedItem ¶

type NullableIncidentResponseIncludedItem struct {
	// contains filtered or unexported fields
}

NullableIncidentResponseIncludedItem handles when a null is used for IncidentResponseIncludedItem.

func NewNullableIncidentResponseIncludedItem ¶

func NewNullableIncidentResponseIncludedItem(val *IncidentResponseIncludedItem) *NullableIncidentResponseIncludedItem

NewNullableIncidentResponseIncludedItem initializes the struct as if Set has been called.

func (NullableIncidentResponseIncludedItem) Get ¶

Get returns the associated value.

func (NullableIncidentResponseIncludedItem) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentResponseIncludedItem) MarshalJSON ¶

func (v NullableIncidentResponseIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentResponseIncludedItem) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentResponseIncludedItem) UnmarshalJSON ¶

func (v *NullableIncidentResponseIncludedItem) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentResponseIncludedItem) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableIncidentServiceIncludedItems ¶

type NullableIncidentServiceIncludedItems struct {
	// contains filtered or unexported fields
}

NullableIncidentServiceIncludedItems handles when a null is used for IncidentServiceIncludedItems.

func NewNullableIncidentServiceIncludedItems ¶

func NewNullableIncidentServiceIncludedItems(val *IncidentServiceIncludedItems) *NullableIncidentServiceIncludedItems

NewNullableIncidentServiceIncludedItems initializes the struct as if Set has been called.

func (NullableIncidentServiceIncludedItems) Get ¶

Get returns the associated value.

func (NullableIncidentServiceIncludedItems) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentServiceIncludedItems) MarshalJSON ¶

func (v NullableIncidentServiceIncludedItems) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentServiceIncludedItems) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentServiceIncludedItems) UnmarshalJSON ¶

func (v *NullableIncidentServiceIncludedItems) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentServiceIncludedItems) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableIncidentServiceType ¶

type NullableIncidentServiceType struct {
	// contains filtered or unexported fields
}

NullableIncidentServiceType handles when a null is used for IncidentServiceType.

func NewNullableIncidentServiceType ¶

func NewNullableIncidentServiceType(val *IncidentServiceType) *NullableIncidentServiceType

NewNullableIncidentServiceType initializes the struct as if Set has been called.

func (NullableIncidentServiceType) Get ¶

Get returns the associated value.

func (NullableIncidentServiceType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentServiceType) MarshalJSON ¶

func (v NullableIncidentServiceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentServiceType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentServiceType) UnmarshalJSON ¶

func (v *NullableIncidentServiceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentServiceType) Unset ¶

func (v *NullableIncidentServiceType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableIncidentTeamIncludedItems ¶

type NullableIncidentTeamIncludedItems struct {
	// contains filtered or unexported fields
}

NullableIncidentTeamIncludedItems handles when a null is used for IncidentTeamIncludedItems.

func NewNullableIncidentTeamIncludedItems ¶

func NewNullableIncidentTeamIncludedItems(val *IncidentTeamIncludedItems) *NullableIncidentTeamIncludedItems

NewNullableIncidentTeamIncludedItems initializes the struct as if Set has been called.

func (NullableIncidentTeamIncludedItems) Get ¶

Get returns the associated value.

func (NullableIncidentTeamIncludedItems) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentTeamIncludedItems) MarshalJSON ¶

func (v NullableIncidentTeamIncludedItems) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentTeamIncludedItems) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentTeamIncludedItems) UnmarshalJSON ¶

func (v *NullableIncidentTeamIncludedItems) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentTeamIncludedItems) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableIncidentTeamType ¶

type NullableIncidentTeamType struct {
	// contains filtered or unexported fields
}

NullableIncidentTeamType handles when a null is used for IncidentTeamType.

func NewNullableIncidentTeamType ¶

func NewNullableIncidentTeamType(val *IncidentTeamType) *NullableIncidentTeamType

NewNullableIncidentTeamType initializes the struct as if Set has been called.

func (NullableIncidentTeamType) Get ¶

Get returns the associated value.

func (NullableIncidentTeamType) IsSet ¶

func (v NullableIncidentTeamType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableIncidentTeamType) MarshalJSON ¶

func (v NullableIncidentTeamType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentTeamType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentTeamType) UnmarshalJSON ¶

func (v *NullableIncidentTeamType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentTeamType) Unset ¶

func (v *NullableIncidentTeamType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableIncidentTimelineCellCreateAttributes ¶

type NullableIncidentTimelineCellCreateAttributes struct {
	// contains filtered or unexported fields
}

NullableIncidentTimelineCellCreateAttributes handles when a null is used for IncidentTimelineCellCreateAttributes.

func NewNullableIncidentTimelineCellCreateAttributes ¶

func NewNullableIncidentTimelineCellCreateAttributes(val *IncidentTimelineCellCreateAttributes) *NullableIncidentTimelineCellCreateAttributes

NewNullableIncidentTimelineCellCreateAttributes initializes the struct as if Set has been called.

func (NullableIncidentTimelineCellCreateAttributes) Get ¶

Get returns the associated value.

func (NullableIncidentTimelineCellCreateAttributes) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentTimelineCellCreateAttributes) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableIncidentTimelineCellCreateAttributes) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentTimelineCellCreateAttributes) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentTimelineCellCreateAttributes) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableIncidentTimelineCellMarkdownContentType ¶

type NullableIncidentTimelineCellMarkdownContentType struct {
	// contains filtered or unexported fields
}

NullableIncidentTimelineCellMarkdownContentType handles when a null is used for IncidentTimelineCellMarkdownContentType.

func NewNullableIncidentTimelineCellMarkdownContentType ¶

func NewNullableIncidentTimelineCellMarkdownContentType(val *IncidentTimelineCellMarkdownContentType) *NullableIncidentTimelineCellMarkdownContentType

NewNullableIncidentTimelineCellMarkdownContentType initializes the struct as if Set has been called.

func (NullableIncidentTimelineCellMarkdownContentType) Get ¶

Get returns the associated value.

func (NullableIncidentTimelineCellMarkdownContentType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIncidentTimelineCellMarkdownContentType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableIncidentTimelineCellMarkdownContentType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIncidentTimelineCellMarkdownContentType) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentTimelineCellMarkdownContentType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableIncidentType ¶

type NullableIncidentType struct {
	// contains filtered or unexported fields
}

NullableIncidentType handles when a null is used for IncidentType.

func NewNullableIncidentType ¶

func NewNullableIncidentType(val *IncidentType) *NullableIncidentType

NewNullableIncidentType initializes the struct as if Set has been called.

func (NullableIncidentType) Get ¶

Get returns the associated value.

func (NullableIncidentType) IsSet ¶

func (v NullableIncidentType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableIncidentType) MarshalJSON ¶

func (v NullableIncidentType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentType) Set ¶

func (v *NullableIncidentType) Set(val *IncidentType)

Set changes the value and indicates it's been called.

func (*NullableIncidentType) UnmarshalJSON ¶

func (v *NullableIncidentType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentType) Unset ¶

func (v *NullableIncidentType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableInt ¶

type NullableInt struct {
	// contains filtered or unexported fields
}

NullableInt is a struct to hold a nullable int value.

func NewNullableInt ¶

func NewNullableInt(val *int) *NullableInt

NewNullableInt instantiates a new nullable int.

func (NullableInt) Get ¶

func (v NullableInt) Get() *int

Get returns the value associated with the nullable int.

func (NullableInt) IsSet ¶

func (v NullableInt) IsSet() bool

IsSet returns true if the value has been set.

func (NullableInt) MarshalJSON ¶

func (v NullableInt) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableInt) Set ¶

func (v *NullableInt) Set(val *int)

Set sets the value associated with the nullable int.

func (*NullableInt) UnmarshalJSON ¶

func (v *NullableInt) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableInt) Unset ¶

func (v *NullableInt) Unset()

Unset resets fields of the nullable int.

type NullableInt32 ¶

type NullableInt32 struct {
	// contains filtered or unexported fields
}

NullableInt32 is a struct to hold a nullable int32 value.

func NewNullableInt32 ¶

func NewNullableInt32(val *int32) *NullableInt32

NewNullableInt32 instantiates a new nullable int32.

func (NullableInt32) Get ¶

func (v NullableInt32) Get() *int32

Get returns the value associated with the nullable int32.

func (NullableInt32) IsSet ¶

func (v NullableInt32) IsSet() bool

IsSet returns true if the value has been set.

func (NullableInt32) MarshalJSON ¶

func (v NullableInt32) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableInt32) Set ¶

func (v *NullableInt32) Set(val *int32)

Set sets the value associated with the nullable int32.

func (*NullableInt32) UnmarshalJSON ¶

func (v *NullableInt32) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableInt32) Unset ¶

func (v *NullableInt32) Unset()

Unset resets fields of the nullable int32.

type NullableInt64 ¶

type NullableInt64 struct {
	// contains filtered or unexported fields
}

NullableInt64 is a struct to hold a nullable int64 value.

func NewNullableInt64 ¶

func NewNullableInt64(val *int64) *NullableInt64

NewNullableInt64 instantiates a new nullable int64.

func (NullableInt64) Get ¶

func (v NullableInt64) Get() *int64

Get returns the value associated with the nullable int64.

func (NullableInt64) IsSet ¶

func (v NullableInt64) IsSet() bool

IsSet returns true if the value has been set.

func (NullableInt64) MarshalJSON ¶

func (v NullableInt64) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableInt64) Set ¶

func (v *NullableInt64) Set(val *int64)

Set sets the value associated with the nullable int64.

func (*NullableInt64) UnmarshalJSON ¶

func (v *NullableInt64) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableInt64) Unset ¶

func (v *NullableInt64) Unset()

Unset resets fields of the nullable int64.

type NullableLogType ¶

type NullableLogType struct {
	// contains filtered or unexported fields
}

NullableLogType handles when a null is used for LogType.

func NewNullableLogType ¶

func NewNullableLogType(val *LogType) *NullableLogType

NewNullableLogType initializes the struct as if Set has been called.

func (NullableLogType) Get ¶

func (v NullableLogType) Get() *LogType

Get returns the associated value.

func (NullableLogType) IsSet ¶

func (v NullableLogType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogType) MarshalJSON ¶

func (v NullableLogType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogType) Set ¶

func (v *NullableLogType) Set(val *LogType)

Set changes the value and indicates it's been called.

func (*NullableLogType) UnmarshalJSON ¶

func (v *NullableLogType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogType) Unset ¶

func (v *NullableLogType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsAggregateBucketValue ¶

type NullableLogsAggregateBucketValue struct {
	// contains filtered or unexported fields
}

NullableLogsAggregateBucketValue handles when a null is used for LogsAggregateBucketValue.

func NewNullableLogsAggregateBucketValue ¶

func NewNullableLogsAggregateBucketValue(val *LogsAggregateBucketValue) *NullableLogsAggregateBucketValue

NewNullableLogsAggregateBucketValue initializes the struct as if Set has been called.

func (NullableLogsAggregateBucketValue) Get ¶

Get returns the associated value.

func (NullableLogsAggregateBucketValue) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsAggregateBucketValue) MarshalJSON ¶

func (v NullableLogsAggregateBucketValue) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsAggregateBucketValue) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsAggregateBucketValue) UnmarshalJSON ¶

func (v *NullableLogsAggregateBucketValue) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsAggregateBucketValue) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableLogsAggregateResponseStatus ¶

type NullableLogsAggregateResponseStatus struct {
	// contains filtered or unexported fields
}

NullableLogsAggregateResponseStatus handles when a null is used for LogsAggregateResponseStatus.

func NewNullableLogsAggregateResponseStatus ¶

func NewNullableLogsAggregateResponseStatus(val *LogsAggregateResponseStatus) *NullableLogsAggregateResponseStatus

NewNullableLogsAggregateResponseStatus initializes the struct as if Set has been called.

func (NullableLogsAggregateResponseStatus) Get ¶

Get returns the associated value.

func (NullableLogsAggregateResponseStatus) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsAggregateResponseStatus) MarshalJSON ¶

func (v NullableLogsAggregateResponseStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsAggregateResponseStatus) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsAggregateResponseStatus) UnmarshalJSON ¶

func (v *NullableLogsAggregateResponseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsAggregateResponseStatus) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsAggregateSortType ¶

type NullableLogsAggregateSortType struct {
	// contains filtered or unexported fields
}

NullableLogsAggregateSortType handles when a null is used for LogsAggregateSortType.

func NewNullableLogsAggregateSortType ¶

func NewNullableLogsAggregateSortType(val *LogsAggregateSortType) *NullableLogsAggregateSortType

NewNullableLogsAggregateSortType initializes the struct as if Set has been called.

func (NullableLogsAggregateSortType) Get ¶

Get returns the associated value.

func (NullableLogsAggregateSortType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsAggregateSortType) MarshalJSON ¶

func (v NullableLogsAggregateSortType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsAggregateSortType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsAggregateSortType) UnmarshalJSON ¶

func (v *NullableLogsAggregateSortType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsAggregateSortType) Unset ¶

func (v *NullableLogsAggregateSortType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsAggregationFunction ¶

type NullableLogsAggregationFunction struct {
	// contains filtered or unexported fields
}

NullableLogsAggregationFunction handles when a null is used for LogsAggregationFunction.

func NewNullableLogsAggregationFunction ¶

func NewNullableLogsAggregationFunction(val *LogsAggregationFunction) *NullableLogsAggregationFunction

NewNullableLogsAggregationFunction initializes the struct as if Set has been called.

func (NullableLogsAggregationFunction) Get ¶

Get returns the associated value.

func (NullableLogsAggregationFunction) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsAggregationFunction) MarshalJSON ¶

func (v NullableLogsAggregationFunction) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsAggregationFunction) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsAggregationFunction) UnmarshalJSON ¶

func (v *NullableLogsAggregationFunction) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsAggregationFunction) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsArchiveCreateRequestDestination ¶

type NullableLogsArchiveCreateRequestDestination struct {
	// contains filtered or unexported fields
}

NullableLogsArchiveCreateRequestDestination handles when a null is used for LogsArchiveCreateRequestDestination.

func NewNullableLogsArchiveCreateRequestDestination ¶

func NewNullableLogsArchiveCreateRequestDestination(val *LogsArchiveCreateRequestDestination) *NullableLogsArchiveCreateRequestDestination

NewNullableLogsArchiveCreateRequestDestination initializes the struct as if Set has been called.

func (NullableLogsArchiveCreateRequestDestination) Get ¶

Get returns the associated value.

func (NullableLogsArchiveCreateRequestDestination) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsArchiveCreateRequestDestination) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableLogsArchiveCreateRequestDestination) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsArchiveCreateRequestDestination) UnmarshalJSON ¶

func (v *NullableLogsArchiveCreateRequestDestination) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsArchiveCreateRequestDestination) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableLogsArchiveDestination ¶

type NullableLogsArchiveDestination struct {
	// contains filtered or unexported fields
}

NullableLogsArchiveDestination handles when a null is used for LogsArchiveDestination.

func NewNullableLogsArchiveDestination ¶

func NewNullableLogsArchiveDestination(val *LogsArchiveDestination) *NullableLogsArchiveDestination

NewNullableLogsArchiveDestination initializes the struct as if Set has been called.

func (NullableLogsArchiveDestination) Get ¶

Get returns the associated value.

func (NullableLogsArchiveDestination) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsArchiveDestination) MarshalJSON ¶

func (v NullableLogsArchiveDestination) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsArchiveDestination) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsArchiveDestination) UnmarshalJSON ¶

func (v *NullableLogsArchiveDestination) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsArchiveDestination) Unset ¶

func (v *NullableLogsArchiveDestination) Unset()

Unset sets the value to nil and resets the set flag/

type NullableLogsArchiveDestinationAzureType ¶

type NullableLogsArchiveDestinationAzureType struct {
	// contains filtered or unexported fields
}

NullableLogsArchiveDestinationAzureType handles when a null is used for LogsArchiveDestinationAzureType.

func NewNullableLogsArchiveDestinationAzureType ¶

func NewNullableLogsArchiveDestinationAzureType(val *LogsArchiveDestinationAzureType) *NullableLogsArchiveDestinationAzureType

NewNullableLogsArchiveDestinationAzureType initializes the struct as if Set has been called.

func (NullableLogsArchiveDestinationAzureType) Get ¶

Get returns the associated value.

func (NullableLogsArchiveDestinationAzureType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsArchiveDestinationAzureType) MarshalJSON ¶

func (v NullableLogsArchiveDestinationAzureType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsArchiveDestinationAzureType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsArchiveDestinationAzureType) UnmarshalJSON ¶

func (v *NullableLogsArchiveDestinationAzureType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsArchiveDestinationAzureType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsArchiveDestinationGCSType ¶

type NullableLogsArchiveDestinationGCSType struct {
	// contains filtered or unexported fields
}

NullableLogsArchiveDestinationGCSType handles when a null is used for LogsArchiveDestinationGCSType.

func NewNullableLogsArchiveDestinationGCSType ¶

func NewNullableLogsArchiveDestinationGCSType(val *LogsArchiveDestinationGCSType) *NullableLogsArchiveDestinationGCSType

NewNullableLogsArchiveDestinationGCSType initializes the struct as if Set has been called.

func (NullableLogsArchiveDestinationGCSType) Get ¶

Get returns the associated value.

func (NullableLogsArchiveDestinationGCSType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsArchiveDestinationGCSType) MarshalJSON ¶

func (v NullableLogsArchiveDestinationGCSType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsArchiveDestinationGCSType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsArchiveDestinationGCSType) UnmarshalJSON ¶

func (v *NullableLogsArchiveDestinationGCSType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsArchiveDestinationGCSType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsArchiveDestinationS3Type ¶

type NullableLogsArchiveDestinationS3Type struct {
	// contains filtered or unexported fields
}

NullableLogsArchiveDestinationS3Type handles when a null is used for LogsArchiveDestinationS3Type.

func NewNullableLogsArchiveDestinationS3Type ¶

func NewNullableLogsArchiveDestinationS3Type(val *LogsArchiveDestinationS3Type) *NullableLogsArchiveDestinationS3Type

NewNullableLogsArchiveDestinationS3Type initializes the struct as if Set has been called.

func (NullableLogsArchiveDestinationS3Type) Get ¶

Get returns the associated value.

func (NullableLogsArchiveDestinationS3Type) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsArchiveDestinationS3Type) MarshalJSON ¶

func (v NullableLogsArchiveDestinationS3Type) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsArchiveDestinationS3Type) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsArchiveDestinationS3Type) UnmarshalJSON ¶

func (v *NullableLogsArchiveDestinationS3Type) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsArchiveDestinationS3Type) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsArchiveOrderDefinitionType ¶

type NullableLogsArchiveOrderDefinitionType struct {
	// contains filtered or unexported fields
}

NullableLogsArchiveOrderDefinitionType handles when a null is used for LogsArchiveOrderDefinitionType.

func NewNullableLogsArchiveOrderDefinitionType ¶

func NewNullableLogsArchiveOrderDefinitionType(val *LogsArchiveOrderDefinitionType) *NullableLogsArchiveOrderDefinitionType

NewNullableLogsArchiveOrderDefinitionType initializes the struct as if Set has been called.

func (NullableLogsArchiveOrderDefinitionType) Get ¶

Get returns the associated value.

func (NullableLogsArchiveOrderDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsArchiveOrderDefinitionType) MarshalJSON ¶

func (v NullableLogsArchiveOrderDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsArchiveOrderDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsArchiveOrderDefinitionType) UnmarshalJSON ¶

func (v *NullableLogsArchiveOrderDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsArchiveOrderDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsArchiveState ¶

type NullableLogsArchiveState struct {
	// contains filtered or unexported fields
}

NullableLogsArchiveState handles when a null is used for LogsArchiveState.

func NewNullableLogsArchiveState ¶

func NewNullableLogsArchiveState(val *LogsArchiveState) *NullableLogsArchiveState

NewNullableLogsArchiveState initializes the struct as if Set has been called.

func (NullableLogsArchiveState) Get ¶

Get returns the associated value.

func (NullableLogsArchiveState) IsSet ¶

func (v NullableLogsArchiveState) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsArchiveState) MarshalJSON ¶

func (v NullableLogsArchiveState) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsArchiveState) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsArchiveState) UnmarshalJSON ¶

func (v *NullableLogsArchiveState) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsArchiveState) Unset ¶

func (v *NullableLogsArchiveState) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsComputeType ¶

type NullableLogsComputeType struct {
	// contains filtered or unexported fields
}

NullableLogsComputeType handles when a null is used for LogsComputeType.

func NewNullableLogsComputeType ¶

func NewNullableLogsComputeType(val *LogsComputeType) *NullableLogsComputeType

NewNullableLogsComputeType initializes the struct as if Set has been called.

func (NullableLogsComputeType) Get ¶

Get returns the associated value.

func (NullableLogsComputeType) IsSet ¶

func (v NullableLogsComputeType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsComputeType) MarshalJSON ¶

func (v NullableLogsComputeType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsComputeType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsComputeType) UnmarshalJSON ¶

func (v *NullableLogsComputeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsComputeType) Unset ¶

func (v *NullableLogsComputeType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsGroupByMissing ¶

type NullableLogsGroupByMissing struct {
	// contains filtered or unexported fields
}

NullableLogsGroupByMissing handles when a null is used for LogsGroupByMissing.

func NewNullableLogsGroupByMissing ¶

func NewNullableLogsGroupByMissing(val *LogsGroupByMissing) *NullableLogsGroupByMissing

NewNullableLogsGroupByMissing initializes the struct as if Set has been called.

func (NullableLogsGroupByMissing) Get ¶

Get returns the associated value.

func (NullableLogsGroupByMissing) IsSet ¶

func (v NullableLogsGroupByMissing) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsGroupByMissing) MarshalJSON ¶

func (v NullableLogsGroupByMissing) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsGroupByMissing) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsGroupByMissing) UnmarshalJSON ¶

func (v *NullableLogsGroupByMissing) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsGroupByMissing) Unset ¶

func (v *NullableLogsGroupByMissing) Unset()

Unset sets the value to nil and resets the set flag/

type NullableLogsGroupByTotal ¶

type NullableLogsGroupByTotal struct {
	// contains filtered or unexported fields
}

NullableLogsGroupByTotal handles when a null is used for LogsGroupByTotal.

func NewNullableLogsGroupByTotal ¶

func NewNullableLogsGroupByTotal(val *LogsGroupByTotal) *NullableLogsGroupByTotal

NewNullableLogsGroupByTotal initializes the struct as if Set has been called.

func (NullableLogsGroupByTotal) Get ¶

Get returns the associated value.

func (NullableLogsGroupByTotal) IsSet ¶

func (v NullableLogsGroupByTotal) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsGroupByTotal) MarshalJSON ¶

func (v NullableLogsGroupByTotal) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsGroupByTotal) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsGroupByTotal) UnmarshalJSON ¶

func (v *NullableLogsGroupByTotal) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsGroupByTotal) Unset ¶

func (v *NullableLogsGroupByTotal) Unset()

Unset sets the value to nil and resets the set flag/

type NullableLogsMetricComputeAggregationType ¶

type NullableLogsMetricComputeAggregationType struct {
	// contains filtered or unexported fields
}

NullableLogsMetricComputeAggregationType handles when a null is used for LogsMetricComputeAggregationType.

func NewNullableLogsMetricComputeAggregationType ¶

func NewNullableLogsMetricComputeAggregationType(val *LogsMetricComputeAggregationType) *NullableLogsMetricComputeAggregationType

NewNullableLogsMetricComputeAggregationType initializes the struct as if Set has been called.

func (NullableLogsMetricComputeAggregationType) Get ¶

Get returns the associated value.

func (NullableLogsMetricComputeAggregationType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsMetricComputeAggregationType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableLogsMetricComputeAggregationType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsMetricComputeAggregationType) UnmarshalJSON ¶

func (v *NullableLogsMetricComputeAggregationType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsMetricComputeAggregationType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsMetricResponseComputeAggregationType ¶

type NullableLogsMetricResponseComputeAggregationType struct {
	// contains filtered or unexported fields
}

NullableLogsMetricResponseComputeAggregationType handles when a null is used for LogsMetricResponseComputeAggregationType.

func NewNullableLogsMetricResponseComputeAggregationType ¶

func NewNullableLogsMetricResponseComputeAggregationType(val *LogsMetricResponseComputeAggregationType) *NullableLogsMetricResponseComputeAggregationType

NewNullableLogsMetricResponseComputeAggregationType initializes the struct as if Set has been called.

func (NullableLogsMetricResponseComputeAggregationType) Get ¶

Get returns the associated value.

func (NullableLogsMetricResponseComputeAggregationType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsMetricResponseComputeAggregationType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableLogsMetricResponseComputeAggregationType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsMetricResponseComputeAggregationType) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsMetricResponseComputeAggregationType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsMetricType ¶

type NullableLogsMetricType struct {
	// contains filtered or unexported fields
}

NullableLogsMetricType handles when a null is used for LogsMetricType.

func NewNullableLogsMetricType ¶

func NewNullableLogsMetricType(val *LogsMetricType) *NullableLogsMetricType

NewNullableLogsMetricType initializes the struct as if Set has been called.

func (NullableLogsMetricType) Get ¶

Get returns the associated value.

func (NullableLogsMetricType) IsSet ¶

func (v NullableLogsMetricType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsMetricType) MarshalJSON ¶

func (v NullableLogsMetricType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsMetricType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsMetricType) UnmarshalJSON ¶

func (v *NullableLogsMetricType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsMetricType) Unset ¶

func (v *NullableLogsMetricType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsSort ¶

type NullableLogsSort struct {
	// contains filtered or unexported fields
}

NullableLogsSort handles when a null is used for LogsSort.

func NewNullableLogsSort ¶

func NewNullableLogsSort(val *LogsSort) *NullableLogsSort

NewNullableLogsSort initializes the struct as if Set has been called.

func (NullableLogsSort) Get ¶

func (v NullableLogsSort) Get() *LogsSort

Get returns the associated value.

func (NullableLogsSort) IsSet ¶

func (v NullableLogsSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsSort) MarshalJSON ¶

func (v NullableLogsSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsSort) Set ¶

func (v *NullableLogsSort) Set(val *LogsSort)

Set changes the value and indicates it's been called.

func (*NullableLogsSort) UnmarshalJSON ¶

func (v *NullableLogsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsSort) Unset ¶

func (v *NullableLogsSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsSortOrder ¶

type NullableLogsSortOrder struct {
	// contains filtered or unexported fields
}

NullableLogsSortOrder handles when a null is used for LogsSortOrder.

func NewNullableLogsSortOrder ¶

func NewNullableLogsSortOrder(val *LogsSortOrder) *NullableLogsSortOrder

NewNullableLogsSortOrder initializes the struct as if Set has been called.

func (NullableLogsSortOrder) Get ¶

Get returns the associated value.

func (NullableLogsSortOrder) IsSet ¶

func (v NullableLogsSortOrder) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsSortOrder) MarshalJSON ¶

func (v NullableLogsSortOrder) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsSortOrder) Set ¶

func (v *NullableLogsSortOrder) Set(val *LogsSortOrder)

Set changes the value and indicates it's been called.

func (*NullableLogsSortOrder) UnmarshalJSON ¶

func (v *NullableLogsSortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsSortOrder) Unset ¶

func (v *NullableLogsSortOrder) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMetricBulkConfigureTagsType ¶ added in v1.9.0

type NullableMetricBulkConfigureTagsType struct {
	// contains filtered or unexported fields
}

NullableMetricBulkConfigureTagsType handles when a null is used for MetricBulkConfigureTagsType.

func NewNullableMetricBulkConfigureTagsType ¶ added in v1.9.0

func NewNullableMetricBulkConfigureTagsType(val *MetricBulkConfigureTagsType) *NullableMetricBulkConfigureTagsType

NewNullableMetricBulkConfigureTagsType initializes the struct as if Set has been called.

func (NullableMetricBulkConfigureTagsType) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableMetricBulkConfigureTagsType) IsSet ¶ added in v1.9.0

IsSet returns whether Set has been called.

func (NullableMetricBulkConfigureTagsType) MarshalJSON ¶ added in v1.9.0

func (v NullableMetricBulkConfigureTagsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricBulkConfigureTagsType) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableMetricBulkConfigureTagsType) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableMetricBulkConfigureTagsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricBulkConfigureTagsType) Unset ¶ added in v1.9.0

Unset sets the value to nil and resets the set flag.

type NullableMetricContentEncoding ¶ added in v1.14.0

type NullableMetricContentEncoding struct {
	// contains filtered or unexported fields
}

NullableMetricContentEncoding handles when a null is used for MetricContentEncoding.

func NewNullableMetricContentEncoding ¶ added in v1.14.0

func NewNullableMetricContentEncoding(val *MetricContentEncoding) *NullableMetricContentEncoding

NewNullableMetricContentEncoding initializes the struct as if Set has been called.

func (NullableMetricContentEncoding) Get ¶ added in v1.14.0

Get returns the associated value.

func (NullableMetricContentEncoding) IsSet ¶ added in v1.14.0

IsSet returns whether Set has been called.

func (NullableMetricContentEncoding) MarshalJSON ¶ added in v1.14.0

func (v NullableMetricContentEncoding) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricContentEncoding) Set ¶ added in v1.14.0

Set changes the value and indicates it's been called.

func (*NullableMetricContentEncoding) UnmarshalJSON ¶ added in v1.14.0

func (v *NullableMetricContentEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricContentEncoding) Unset ¶ added in v1.14.0

func (v *NullableMetricContentEncoding) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMetricCustomSpaceAggregation ¶ added in v1.6.0

type NullableMetricCustomSpaceAggregation struct {
	// contains filtered or unexported fields
}

NullableMetricCustomSpaceAggregation handles when a null is used for MetricCustomSpaceAggregation.

func NewNullableMetricCustomSpaceAggregation ¶ added in v1.6.0

func NewNullableMetricCustomSpaceAggregation(val *MetricCustomSpaceAggregation) *NullableMetricCustomSpaceAggregation

NewNullableMetricCustomSpaceAggregation initializes the struct as if Set has been called.

func (NullableMetricCustomSpaceAggregation) Get ¶ added in v1.6.0

Get returns the associated value.

func (NullableMetricCustomSpaceAggregation) IsSet ¶ added in v1.6.0

IsSet returns whether Set has been called.

func (NullableMetricCustomSpaceAggregation) MarshalJSON ¶ added in v1.6.0

func (v NullableMetricCustomSpaceAggregation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricCustomSpaceAggregation) Set ¶ added in v1.6.0

Set changes the value and indicates it's been called.

func (*NullableMetricCustomSpaceAggregation) UnmarshalJSON ¶ added in v1.6.0

func (v *NullableMetricCustomSpaceAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricCustomSpaceAggregation) Unset ¶ added in v1.6.0

Unset sets the value to nil and resets the set flag.

type NullableMetricCustomTimeAggregation ¶ added in v1.6.0

type NullableMetricCustomTimeAggregation struct {
	// contains filtered or unexported fields
}

NullableMetricCustomTimeAggregation handles when a null is used for MetricCustomTimeAggregation.

func NewNullableMetricCustomTimeAggregation ¶ added in v1.6.0

func NewNullableMetricCustomTimeAggregation(val *MetricCustomTimeAggregation) *NullableMetricCustomTimeAggregation

NewNullableMetricCustomTimeAggregation initializes the struct as if Set has been called.

func (NullableMetricCustomTimeAggregation) Get ¶ added in v1.6.0

Get returns the associated value.

func (NullableMetricCustomTimeAggregation) IsSet ¶ added in v1.6.0

IsSet returns whether Set has been called.

func (NullableMetricCustomTimeAggregation) MarshalJSON ¶ added in v1.6.0

func (v NullableMetricCustomTimeAggregation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricCustomTimeAggregation) Set ¶ added in v1.6.0

Set changes the value and indicates it's been called.

func (*NullableMetricCustomTimeAggregation) UnmarshalJSON ¶ added in v1.6.0

func (v *NullableMetricCustomTimeAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricCustomTimeAggregation) Unset ¶ added in v1.6.0

Unset sets the value to nil and resets the set flag.

type NullableMetricDistinctVolumeType ¶

type NullableMetricDistinctVolumeType struct {
	// contains filtered or unexported fields
}

NullableMetricDistinctVolumeType handles when a null is used for MetricDistinctVolumeType.

func NewNullableMetricDistinctVolumeType ¶

func NewNullableMetricDistinctVolumeType(val *MetricDistinctVolumeType) *NullableMetricDistinctVolumeType

NewNullableMetricDistinctVolumeType initializes the struct as if Set has been called.

func (NullableMetricDistinctVolumeType) Get ¶

Get returns the associated value.

func (NullableMetricDistinctVolumeType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMetricDistinctVolumeType) MarshalJSON ¶

func (v NullableMetricDistinctVolumeType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricDistinctVolumeType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricDistinctVolumeType) UnmarshalJSON ¶

func (v *NullableMetricDistinctVolumeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricDistinctVolumeType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableMetricEstimateResourceType ¶ added in v1.14.0

type NullableMetricEstimateResourceType struct {
	// contains filtered or unexported fields
}

NullableMetricEstimateResourceType handles when a null is used for MetricEstimateResourceType.

func NewNullableMetricEstimateResourceType ¶ added in v1.14.0

func NewNullableMetricEstimateResourceType(val *MetricEstimateResourceType) *NullableMetricEstimateResourceType

NewNullableMetricEstimateResourceType initializes the struct as if Set has been called.

func (NullableMetricEstimateResourceType) Get ¶ added in v1.14.0

Get returns the associated value.

func (NullableMetricEstimateResourceType) IsSet ¶ added in v1.14.0

IsSet returns whether Set has been called.

func (NullableMetricEstimateResourceType) MarshalJSON ¶ added in v1.14.0

func (v NullableMetricEstimateResourceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricEstimateResourceType) Set ¶ added in v1.14.0

Set changes the value and indicates it's been called.

func (*NullableMetricEstimateResourceType) UnmarshalJSON ¶ added in v1.14.0

func (v *NullableMetricEstimateResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricEstimateResourceType) Unset ¶ added in v1.14.0

Unset sets the value to nil and resets the set flag.

type NullableMetricEstimateType ¶ added in v1.14.0

type NullableMetricEstimateType struct {
	// contains filtered or unexported fields
}

NullableMetricEstimateType handles when a null is used for MetricEstimateType.

func NewNullableMetricEstimateType ¶ added in v1.14.0

func NewNullableMetricEstimateType(val *MetricEstimateType) *NullableMetricEstimateType

NewNullableMetricEstimateType initializes the struct as if Set has been called.

func (NullableMetricEstimateType) Get ¶ added in v1.14.0

Get returns the associated value.

func (NullableMetricEstimateType) IsSet ¶ added in v1.14.0

func (v NullableMetricEstimateType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMetricEstimateType) MarshalJSON ¶ added in v1.14.0

func (v NullableMetricEstimateType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricEstimateType) Set ¶ added in v1.14.0

Set changes the value and indicates it's been called.

func (*NullableMetricEstimateType) UnmarshalJSON ¶ added in v1.14.0

func (v *NullableMetricEstimateType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricEstimateType) Unset ¶ added in v1.14.0

func (v *NullableMetricEstimateType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMetricIngestedIndexedVolumeType ¶

type NullableMetricIngestedIndexedVolumeType struct {
	// contains filtered or unexported fields
}

NullableMetricIngestedIndexedVolumeType handles when a null is used for MetricIngestedIndexedVolumeType.

func NewNullableMetricIngestedIndexedVolumeType ¶

func NewNullableMetricIngestedIndexedVolumeType(val *MetricIngestedIndexedVolumeType) *NullableMetricIngestedIndexedVolumeType

NewNullableMetricIngestedIndexedVolumeType initializes the struct as if Set has been called.

func (NullableMetricIngestedIndexedVolumeType) Get ¶

Get returns the associated value.

func (NullableMetricIngestedIndexedVolumeType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMetricIngestedIndexedVolumeType) MarshalJSON ¶

func (v NullableMetricIngestedIndexedVolumeType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricIngestedIndexedVolumeType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricIngestedIndexedVolumeType) UnmarshalJSON ¶

func (v *NullableMetricIngestedIndexedVolumeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricIngestedIndexedVolumeType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableMetricIntakeType ¶ added in v1.14.0

type NullableMetricIntakeType struct {
	// contains filtered or unexported fields
}

NullableMetricIntakeType handles when a null is used for MetricIntakeType.

func NewNullableMetricIntakeType ¶ added in v1.14.0

func NewNullableMetricIntakeType(val *MetricIntakeType) *NullableMetricIntakeType

NewNullableMetricIntakeType initializes the struct as if Set has been called.

func (NullableMetricIntakeType) Get ¶ added in v1.14.0

Get returns the associated value.

func (NullableMetricIntakeType) IsSet ¶ added in v1.14.0

func (v NullableMetricIntakeType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMetricIntakeType) MarshalJSON ¶ added in v1.14.0

func (v NullableMetricIntakeType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricIntakeType) Set ¶ added in v1.14.0

Set changes the value and indicates it's been called.

func (*NullableMetricIntakeType) UnmarshalJSON ¶ added in v1.14.0

func (v *NullableMetricIntakeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricIntakeType) Unset ¶ added in v1.14.0

func (v *NullableMetricIntakeType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMetricTagConfigurationMetricTypes ¶

type NullableMetricTagConfigurationMetricTypes struct {
	// contains filtered or unexported fields
}

NullableMetricTagConfigurationMetricTypes handles when a null is used for MetricTagConfigurationMetricTypes.

func NewNullableMetricTagConfigurationMetricTypes ¶

func NewNullableMetricTagConfigurationMetricTypes(val *MetricTagConfigurationMetricTypes) *NullableMetricTagConfigurationMetricTypes

NewNullableMetricTagConfigurationMetricTypes initializes the struct as if Set has been called.

func (NullableMetricTagConfigurationMetricTypes) Get ¶

Get returns the associated value.

func (NullableMetricTagConfigurationMetricTypes) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMetricTagConfigurationMetricTypes) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableMetricTagConfigurationMetricTypes) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricTagConfigurationMetricTypes) UnmarshalJSON ¶

func (v *NullableMetricTagConfigurationMetricTypes) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricTagConfigurationMetricTypes) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableMetricTagConfigurationType ¶

type NullableMetricTagConfigurationType struct {
	// contains filtered or unexported fields
}

NullableMetricTagConfigurationType handles when a null is used for MetricTagConfigurationType.

func NewNullableMetricTagConfigurationType ¶

func NewNullableMetricTagConfigurationType(val *MetricTagConfigurationType) *NullableMetricTagConfigurationType

NewNullableMetricTagConfigurationType initializes the struct as if Set has been called.

func (NullableMetricTagConfigurationType) Get ¶

Get returns the associated value.

func (NullableMetricTagConfigurationType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMetricTagConfigurationType) MarshalJSON ¶

func (v NullableMetricTagConfigurationType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricTagConfigurationType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricTagConfigurationType) UnmarshalJSON ¶

func (v *NullableMetricTagConfigurationType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricTagConfigurationType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableMetricType ¶

type NullableMetricType struct {
	// contains filtered or unexported fields
}

NullableMetricType handles when a null is used for MetricType.

func NewNullableMetricType ¶

func NewNullableMetricType(val *MetricType) *NullableMetricType

NewNullableMetricType initializes the struct as if Set has been called.

func (NullableMetricType) Get ¶

func (v NullableMetricType) Get() *MetricType

Get returns the associated value.

func (NullableMetricType) IsSet ¶

func (v NullableMetricType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMetricType) MarshalJSON ¶

func (v NullableMetricType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricType) Set ¶

func (v *NullableMetricType) Set(val *MetricType)

Set changes the value and indicates it's been called.

func (*NullableMetricType) UnmarshalJSON ¶

func (v *NullableMetricType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricType) Unset ¶

func (v *NullableMetricType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMetricVolumes ¶

type NullableMetricVolumes struct {
	// contains filtered or unexported fields
}

NullableMetricVolumes handles when a null is used for MetricVolumes.

func NewNullableMetricVolumes ¶

func NewNullableMetricVolumes(val *MetricVolumes) *NullableMetricVolumes

NewNullableMetricVolumes initializes the struct as if Set has been called.

func (NullableMetricVolumes) Get ¶

Get returns the associated value.

func (NullableMetricVolumes) IsSet ¶

func (v NullableMetricVolumes) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMetricVolumes) MarshalJSON ¶

func (v NullableMetricVolumes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricVolumes) Set ¶

func (v *NullableMetricVolumes) Set(val *MetricVolumes)

Set changes the value and indicates it's been called.

func (*NullableMetricVolumes) UnmarshalJSON ¶

func (v *NullableMetricVolumes) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricVolumes) Unset ¶

func (v *NullableMetricVolumes) Unset()

Unset sets the value to nil and resets the set flag/

type NullableMetricsAndMetricTagConfigurations ¶

type NullableMetricsAndMetricTagConfigurations struct {
	// contains filtered or unexported fields
}

NullableMetricsAndMetricTagConfigurations handles when a null is used for MetricsAndMetricTagConfigurations.

func NewNullableMetricsAndMetricTagConfigurations ¶

func NewNullableMetricsAndMetricTagConfigurations(val *MetricsAndMetricTagConfigurations) *NullableMetricsAndMetricTagConfigurations

NewNullableMetricsAndMetricTagConfigurations initializes the struct as if Set has been called.

func (NullableMetricsAndMetricTagConfigurations) Get ¶

Get returns the associated value.

func (NullableMetricsAndMetricTagConfigurations) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMetricsAndMetricTagConfigurations) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableMetricsAndMetricTagConfigurations) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricsAndMetricTagConfigurations) UnmarshalJSON ¶

func (v *NullableMetricsAndMetricTagConfigurations) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricsAndMetricTagConfigurations) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableNullableRelationshipToUserData ¶ added in v1.9.0

type NullableNullableRelationshipToUserData struct {
	// contains filtered or unexported fields
}

NullableNullableRelationshipToUserData handles when a null is used for NullableRelationshipToUserData.

func NewNullableNullableRelationshipToUserData ¶ added in v1.9.0

func NewNullableNullableRelationshipToUserData(val *NullableRelationshipToUserData) *NullableNullableRelationshipToUserData

NewNullableNullableRelationshipToUserData initializes the struct as if Set has been called.

func (NullableNullableRelationshipToUserData) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableNullableRelationshipToUserData) IsSet ¶ added in v1.9.0

IsSet returns whether Set has been called.

func (NullableNullableRelationshipToUserData) MarshalJSON ¶ added in v1.9.0

func (v NullableNullableRelationshipToUserData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNullableRelationshipToUserData) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableNullableRelationshipToUserData) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableNullableRelationshipToUserData) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNullableRelationshipToUserData) Unset ¶ added in v1.9.0

Unset sets the value to nil and resets the set flag/

type NullableOpsgenieServiceRegionType ¶ added in v1.15.0

type NullableOpsgenieServiceRegionType struct {
	// contains filtered or unexported fields
}

NullableOpsgenieServiceRegionType handles when a null is used for OpsgenieServiceRegionType.

func NewNullableOpsgenieServiceRegionType ¶ added in v1.15.0

func NewNullableOpsgenieServiceRegionType(val *OpsgenieServiceRegionType) *NullableOpsgenieServiceRegionType

NewNullableOpsgenieServiceRegionType initializes the struct as if Set has been called.

func (NullableOpsgenieServiceRegionType) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableOpsgenieServiceRegionType) IsSet ¶ added in v1.15.0

IsSet returns whether Set has been called.

func (NullableOpsgenieServiceRegionType) MarshalJSON ¶ added in v1.15.0

func (v NullableOpsgenieServiceRegionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableOpsgenieServiceRegionType) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableOpsgenieServiceRegionType) UnmarshalJSON ¶ added in v1.15.0

func (v *NullableOpsgenieServiceRegionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableOpsgenieServiceRegionType) Unset ¶ added in v1.15.0

Unset sets the value to nil and resets the set flag.

type NullableOpsgenieServiceType ¶ added in v1.15.0

type NullableOpsgenieServiceType struct {
	// contains filtered or unexported fields
}

NullableOpsgenieServiceType handles when a null is used for OpsgenieServiceType.

func NewNullableOpsgenieServiceType ¶ added in v1.15.0

func NewNullableOpsgenieServiceType(val *OpsgenieServiceType) *NullableOpsgenieServiceType

NewNullableOpsgenieServiceType initializes the struct as if Set has been called.

func (NullableOpsgenieServiceType) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableOpsgenieServiceType) IsSet ¶ added in v1.15.0

IsSet returns whether Set has been called.

func (NullableOpsgenieServiceType) MarshalJSON ¶ added in v1.15.0

func (v NullableOpsgenieServiceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableOpsgenieServiceType) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableOpsgenieServiceType) UnmarshalJSON ¶ added in v1.15.0

func (v *NullableOpsgenieServiceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableOpsgenieServiceType) Unset ¶ added in v1.15.0

func (v *NullableOpsgenieServiceType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableOrganizationsType ¶

type NullableOrganizationsType struct {
	// contains filtered or unexported fields
}

NullableOrganizationsType handles when a null is used for OrganizationsType.

func NewNullableOrganizationsType ¶

func NewNullableOrganizationsType(val *OrganizationsType) *NullableOrganizationsType

NewNullableOrganizationsType initializes the struct as if Set has been called.

func (NullableOrganizationsType) Get ¶

Get returns the associated value.

func (NullableOrganizationsType) IsSet ¶

func (v NullableOrganizationsType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableOrganizationsType) MarshalJSON ¶

func (v NullableOrganizationsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableOrganizationsType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableOrganizationsType) UnmarshalJSON ¶

func (v *NullableOrganizationsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableOrganizationsType) Unset ¶

func (v *NullableOrganizationsType) Unset()

Unset sets the value to nil and resets the set flag.

type NullablePermissionsType ¶

type NullablePermissionsType struct {
	// contains filtered or unexported fields
}

NullablePermissionsType handles when a null is used for PermissionsType.

func NewNullablePermissionsType ¶

func NewNullablePermissionsType(val *PermissionsType) *NullablePermissionsType

NewNullablePermissionsType initializes the struct as if Set has been called.

func (NullablePermissionsType) Get ¶

Get returns the associated value.

func (NullablePermissionsType) IsSet ¶

func (v NullablePermissionsType) IsSet() bool

IsSet returns whether Set has been called.

func (NullablePermissionsType) MarshalJSON ¶

func (v NullablePermissionsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullablePermissionsType) Set ¶

Set changes the value and indicates it's been called.

func (*NullablePermissionsType) UnmarshalJSON ¶

func (v *NullablePermissionsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullablePermissionsType) Unset ¶

func (v *NullablePermissionsType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableProcessSummaryType ¶

type NullableProcessSummaryType struct {
	// contains filtered or unexported fields
}

NullableProcessSummaryType handles when a null is used for ProcessSummaryType.

func NewNullableProcessSummaryType ¶

func NewNullableProcessSummaryType(val *ProcessSummaryType) *NullableProcessSummaryType

NewNullableProcessSummaryType initializes the struct as if Set has been called.

func (NullableProcessSummaryType) Get ¶

Get returns the associated value.

func (NullableProcessSummaryType) IsSet ¶

func (v NullableProcessSummaryType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableProcessSummaryType) MarshalJSON ¶

func (v NullableProcessSummaryType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableProcessSummaryType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableProcessSummaryType) UnmarshalJSON ¶

func (v *NullableProcessSummaryType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableProcessSummaryType) Unset ¶

func (v *NullableProcessSummaryType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableQuerySortOrder ¶

type NullableQuerySortOrder struct {
	// contains filtered or unexported fields
}

NullableQuerySortOrder handles when a null is used for QuerySortOrder.

func NewNullableQuerySortOrder ¶

func NewNullableQuerySortOrder(val *QuerySortOrder) *NullableQuerySortOrder

NewNullableQuerySortOrder initializes the struct as if Set has been called.

func (NullableQuerySortOrder) Get ¶

Get returns the associated value.

func (NullableQuerySortOrder) IsSet ¶

func (v NullableQuerySortOrder) IsSet() bool

IsSet returns whether Set has been called.

func (NullableQuerySortOrder) MarshalJSON ¶

func (v NullableQuerySortOrder) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableQuerySortOrder) Set ¶

Set changes the value and indicates it's been called.

func (*NullableQuerySortOrder) UnmarshalJSON ¶

func (v *NullableQuerySortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableQuerySortOrder) Unset ¶

func (v *NullableQuerySortOrder) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMAggregateBucketValue ¶ added in v1.12.0

type NullableRUMAggregateBucketValue struct {
	// contains filtered or unexported fields
}

NullableRUMAggregateBucketValue handles when a null is used for RUMAggregateBucketValue.

func NewNullableRUMAggregateBucketValue ¶ added in v1.12.0

func NewNullableRUMAggregateBucketValue(val *RUMAggregateBucketValue) *NullableRUMAggregateBucketValue

NewNullableRUMAggregateBucketValue initializes the struct as if Set has been called.

func (NullableRUMAggregateBucketValue) Get ¶ added in v1.12.0

Get returns the associated value.

func (NullableRUMAggregateBucketValue) IsSet ¶ added in v1.12.0

IsSet returns whether Set has been called.

func (NullableRUMAggregateBucketValue) MarshalJSON ¶ added in v1.12.0

func (v NullableRUMAggregateBucketValue) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMAggregateBucketValue) Set ¶ added in v1.12.0

Set changes the value and indicates it's been called.

func (*NullableRUMAggregateBucketValue) UnmarshalJSON ¶ added in v1.12.0

func (v *NullableRUMAggregateBucketValue) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMAggregateBucketValue) Unset ¶ added in v1.12.0

Unset sets the value to nil and resets the set flag/

type NullableRUMAggregateSortType ¶ added in v1.12.0

type NullableRUMAggregateSortType struct {
	// contains filtered or unexported fields
}

NullableRUMAggregateSortType handles when a null is used for RUMAggregateSortType.

func NewNullableRUMAggregateSortType ¶ added in v1.12.0

func NewNullableRUMAggregateSortType(val *RUMAggregateSortType) *NullableRUMAggregateSortType

NewNullableRUMAggregateSortType initializes the struct as if Set has been called.

func (NullableRUMAggregateSortType) Get ¶ added in v1.12.0

Get returns the associated value.

func (NullableRUMAggregateSortType) IsSet ¶ added in v1.12.0

IsSet returns whether Set has been called.

func (NullableRUMAggregateSortType) MarshalJSON ¶ added in v1.12.0

func (v NullableRUMAggregateSortType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMAggregateSortType) Set ¶ added in v1.12.0

Set changes the value and indicates it's been called.

func (*NullableRUMAggregateSortType) UnmarshalJSON ¶ added in v1.12.0

func (v *NullableRUMAggregateSortType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMAggregateSortType) Unset ¶ added in v1.12.0

func (v *NullableRUMAggregateSortType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMAggregationFunction ¶ added in v1.12.0

type NullableRUMAggregationFunction struct {
	// contains filtered or unexported fields
}

NullableRUMAggregationFunction handles when a null is used for RUMAggregationFunction.

func NewNullableRUMAggregationFunction ¶ added in v1.12.0

func NewNullableRUMAggregationFunction(val *RUMAggregationFunction) *NullableRUMAggregationFunction

NewNullableRUMAggregationFunction initializes the struct as if Set has been called.

func (NullableRUMAggregationFunction) Get ¶ added in v1.12.0

Get returns the associated value.

func (NullableRUMAggregationFunction) IsSet ¶ added in v1.12.0

IsSet returns whether Set has been called.

func (NullableRUMAggregationFunction) MarshalJSON ¶ added in v1.12.0

func (v NullableRUMAggregationFunction) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMAggregationFunction) Set ¶ added in v1.12.0

Set changes the value and indicates it's been called.

func (*NullableRUMAggregationFunction) UnmarshalJSON ¶ added in v1.12.0

func (v *NullableRUMAggregationFunction) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMAggregationFunction) Unset ¶ added in v1.12.0

func (v *NullableRUMAggregationFunction) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMComputeType ¶ added in v1.12.0

type NullableRUMComputeType struct {
	// contains filtered or unexported fields
}

NullableRUMComputeType handles when a null is used for RUMComputeType.

func NewNullableRUMComputeType ¶ added in v1.12.0

func NewNullableRUMComputeType(val *RUMComputeType) *NullableRUMComputeType

NewNullableRUMComputeType initializes the struct as if Set has been called.

func (NullableRUMComputeType) Get ¶ added in v1.12.0

Get returns the associated value.

func (NullableRUMComputeType) IsSet ¶ added in v1.12.0

func (v NullableRUMComputeType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMComputeType) MarshalJSON ¶ added in v1.12.0

func (v NullableRUMComputeType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMComputeType) Set ¶ added in v1.12.0

Set changes the value and indicates it's been called.

func (*NullableRUMComputeType) UnmarshalJSON ¶ added in v1.12.0

func (v *NullableRUMComputeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMComputeType) Unset ¶ added in v1.12.0

func (v *NullableRUMComputeType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMEventType ¶ added in v1.11.0

type NullableRUMEventType struct {
	// contains filtered or unexported fields
}

NullableRUMEventType handles when a null is used for RUMEventType.

func NewNullableRUMEventType ¶ added in v1.11.0

func NewNullableRUMEventType(val *RUMEventType) *NullableRUMEventType

NewNullableRUMEventType initializes the struct as if Set has been called.

func (NullableRUMEventType) Get ¶ added in v1.11.0

Get returns the associated value.

func (NullableRUMEventType) IsSet ¶ added in v1.11.0

func (v NullableRUMEventType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMEventType) MarshalJSON ¶ added in v1.11.0

func (v NullableRUMEventType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMEventType) Set ¶ added in v1.11.0

func (v *NullableRUMEventType) Set(val *RUMEventType)

Set changes the value and indicates it's been called.

func (*NullableRUMEventType) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableRUMEventType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMEventType) Unset ¶ added in v1.11.0

func (v *NullableRUMEventType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMGroupByMissing ¶ added in v1.12.0

type NullableRUMGroupByMissing struct {
	// contains filtered or unexported fields
}

NullableRUMGroupByMissing handles when a null is used for RUMGroupByMissing.

func NewNullableRUMGroupByMissing ¶ added in v1.12.0

func NewNullableRUMGroupByMissing(val *RUMGroupByMissing) *NullableRUMGroupByMissing

NewNullableRUMGroupByMissing initializes the struct as if Set has been called.

func (NullableRUMGroupByMissing) Get ¶ added in v1.12.0

Get returns the associated value.

func (NullableRUMGroupByMissing) IsSet ¶ added in v1.12.0

func (v NullableRUMGroupByMissing) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMGroupByMissing) MarshalJSON ¶ added in v1.12.0

func (v NullableRUMGroupByMissing) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMGroupByMissing) Set ¶ added in v1.12.0

Set changes the value and indicates it's been called.

func (*NullableRUMGroupByMissing) UnmarshalJSON ¶ added in v1.12.0

func (v *NullableRUMGroupByMissing) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMGroupByMissing) Unset ¶ added in v1.12.0

func (v *NullableRUMGroupByMissing) Unset()

Unset sets the value to nil and resets the set flag/

type NullableRUMGroupByTotal ¶ added in v1.12.0

type NullableRUMGroupByTotal struct {
	// contains filtered or unexported fields
}

NullableRUMGroupByTotal handles when a null is used for RUMGroupByTotal.

func NewNullableRUMGroupByTotal ¶ added in v1.12.0

func NewNullableRUMGroupByTotal(val *RUMGroupByTotal) *NullableRUMGroupByTotal

NewNullableRUMGroupByTotal initializes the struct as if Set has been called.

func (NullableRUMGroupByTotal) Get ¶ added in v1.12.0

Get returns the associated value.

func (NullableRUMGroupByTotal) IsSet ¶ added in v1.12.0

func (v NullableRUMGroupByTotal) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMGroupByTotal) MarshalJSON ¶ added in v1.12.0

func (v NullableRUMGroupByTotal) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMGroupByTotal) Set ¶ added in v1.12.0

Set changes the value and indicates it's been called.

func (*NullableRUMGroupByTotal) UnmarshalJSON ¶ added in v1.12.0

func (v *NullableRUMGroupByTotal) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMGroupByTotal) Unset ¶ added in v1.12.0

func (v *NullableRUMGroupByTotal) Unset()

Unset sets the value to nil and resets the set flag/

type NullableRUMResponseStatus ¶ added in v1.11.0

type NullableRUMResponseStatus struct {
	// contains filtered or unexported fields
}

NullableRUMResponseStatus handles when a null is used for RUMResponseStatus.

func NewNullableRUMResponseStatus ¶ added in v1.11.0

func NewNullableRUMResponseStatus(val *RUMResponseStatus) *NullableRUMResponseStatus

NewNullableRUMResponseStatus initializes the struct as if Set has been called.

func (NullableRUMResponseStatus) Get ¶ added in v1.11.0

Get returns the associated value.

func (NullableRUMResponseStatus) IsSet ¶ added in v1.11.0

func (v NullableRUMResponseStatus) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMResponseStatus) MarshalJSON ¶ added in v1.11.0

func (v NullableRUMResponseStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMResponseStatus) Set ¶ added in v1.11.0

Set changes the value and indicates it's been called.

func (*NullableRUMResponseStatus) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableRUMResponseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMResponseStatus) Unset ¶ added in v1.11.0

func (v *NullableRUMResponseStatus) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMSort ¶ added in v1.11.0

type NullableRUMSort struct {
	// contains filtered or unexported fields
}

NullableRUMSort handles when a null is used for RUMSort.

func NewNullableRUMSort ¶ added in v1.11.0

func NewNullableRUMSort(val *RUMSort) *NullableRUMSort

NewNullableRUMSort initializes the struct as if Set has been called.

func (NullableRUMSort) Get ¶ added in v1.11.0

func (v NullableRUMSort) Get() *RUMSort

Get returns the associated value.

func (NullableRUMSort) IsSet ¶ added in v1.11.0

func (v NullableRUMSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMSort) MarshalJSON ¶ added in v1.11.0

func (v NullableRUMSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMSort) Set ¶ added in v1.11.0

func (v *NullableRUMSort) Set(val *RUMSort)

Set changes the value and indicates it's been called.

func (*NullableRUMSort) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableRUMSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMSort) Unset ¶ added in v1.11.0

func (v *NullableRUMSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMSortOrder ¶ added in v1.12.0

type NullableRUMSortOrder struct {
	// contains filtered or unexported fields
}

NullableRUMSortOrder handles when a null is used for RUMSortOrder.

func NewNullableRUMSortOrder ¶ added in v1.12.0

func NewNullableRUMSortOrder(val *RUMSortOrder) *NullableRUMSortOrder

NewNullableRUMSortOrder initializes the struct as if Set has been called.

func (NullableRUMSortOrder) Get ¶ added in v1.12.0

Get returns the associated value.

func (NullableRUMSortOrder) IsSet ¶ added in v1.12.0

func (v NullableRUMSortOrder) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMSortOrder) MarshalJSON ¶ added in v1.12.0

func (v NullableRUMSortOrder) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMSortOrder) Set ¶ added in v1.12.0

func (v *NullableRUMSortOrder) Set(val *RUMSortOrder)

Set changes the value and indicates it's been called.

func (*NullableRUMSortOrder) UnmarshalJSON ¶ added in v1.12.0

func (v *NullableRUMSortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMSortOrder) Unset ¶ added in v1.12.0

func (v *NullableRUMSortOrder) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRelationshipToUser ¶

type NullableRelationshipToUser struct {
	// Relationship to user object.
	Data NullableNullableRelationshipToUserData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NullableRelationshipToUser Relationship to user.

func NewNullableRelationshipToUser ¶

func NewNullableRelationshipToUser(data NullableNullableRelationshipToUserData) *NullableRelationshipToUser

NewNullableRelationshipToUser instantiates a new NullableRelationshipToUser object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewNullableRelationshipToUserWithDefaults ¶ added in v1.9.0

func NewNullableRelationshipToUserWithDefaults() *NullableRelationshipToUser

NewNullableRelationshipToUserWithDefaults instantiates a new NullableRelationshipToUser object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*NullableRelationshipToUser) GetData ¶ added in v1.9.0

GetData returns the Data field value. If the value is explicit nil, the zero value for NullableRelationshipToUserData will be returned.

func (*NullableRelationshipToUser) GetDataOk ¶ added in v1.9.0

GetDataOk returns a tuple with the Data 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 (NullableRelationshipToUser) MarshalJSON ¶

func (o NullableRelationshipToUser) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NullableRelationshipToUser) SetData ¶ added in v1.9.0

SetData sets field value.

func (*NullableRelationshipToUser) UnmarshalJSON ¶

func (o *NullableRelationshipToUser) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NullableRelationshipToUserData ¶

type NullableRelationshipToUserData struct {
	// A unique identifier that represents the user.
	Id string `json:"id"`
	// Users resource type.
	Type UsersType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NullableRelationshipToUserData Relationship to user object.

func NewNullableRelationshipToUserData ¶

func NewNullableRelationshipToUserData(id string, typeVar UsersType) *NullableRelationshipToUserData

NewNullableRelationshipToUserData instantiates a new NullableRelationshipToUserData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewNullableRelationshipToUserDataWithDefaults ¶ added in v1.9.0

func NewNullableRelationshipToUserDataWithDefaults() *NullableRelationshipToUserData

NewNullableRelationshipToUserDataWithDefaults instantiates a new NullableRelationshipToUserData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*NullableRelationshipToUserData) GetId ¶ added in v1.9.0

GetId returns the Id field value.

func (*NullableRelationshipToUserData) GetIdOk ¶ added in v1.9.0

func (o *NullableRelationshipToUserData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*NullableRelationshipToUserData) GetType ¶ added in v1.9.0

GetType returns the Type field value.

func (*NullableRelationshipToUserData) GetTypeOk ¶ added in v1.9.0

func (o *NullableRelationshipToUserData) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NullableRelationshipToUserData) MarshalJSON ¶

func (o NullableRelationshipToUserData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NullableRelationshipToUserData) SetId ¶ added in v1.9.0

SetId sets field value.

func (*NullableRelationshipToUserData) SetType ¶ added in v1.9.0

SetType sets field value.

func (*NullableRelationshipToUserData) UnmarshalJSON ¶

func (o *NullableRelationshipToUserData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NullableRolesSort ¶

type NullableRolesSort struct {
	// contains filtered or unexported fields
}

NullableRolesSort handles when a null is used for RolesSort.

func NewNullableRolesSort ¶

func NewNullableRolesSort(val *RolesSort) *NullableRolesSort

NewNullableRolesSort initializes the struct as if Set has been called.

func (NullableRolesSort) Get ¶

func (v NullableRolesSort) Get() *RolesSort

Get returns the associated value.

func (NullableRolesSort) IsSet ¶

func (v NullableRolesSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRolesSort) MarshalJSON ¶

func (v NullableRolesSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRolesSort) Set ¶

func (v *NullableRolesSort) Set(val *RolesSort)

Set changes the value and indicates it's been called.

func (*NullableRolesSort) UnmarshalJSON ¶

func (v *NullableRolesSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRolesSort) Unset ¶

func (v *NullableRolesSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRolesType ¶

type NullableRolesType struct {
	// contains filtered or unexported fields
}

NullableRolesType handles when a null is used for RolesType.

func NewNullableRolesType ¶

func NewNullableRolesType(val *RolesType) *NullableRolesType

NewNullableRolesType initializes the struct as if Set has been called.

func (NullableRolesType) Get ¶

func (v NullableRolesType) Get() *RolesType

Get returns the associated value.

func (NullableRolesType) IsSet ¶

func (v NullableRolesType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRolesType) MarshalJSON ¶

func (v NullableRolesType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRolesType) Set ¶

func (v *NullableRolesType) Set(val *RolesType)

Set changes the value and indicates it's been called.

func (*NullableRolesType) UnmarshalJSON ¶

func (v *NullableRolesType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRolesType) Unset ¶

func (v *NullableRolesType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSAMLAssertionAttributesType ¶ added in v1.9.0

type NullableSAMLAssertionAttributesType struct {
	// contains filtered or unexported fields
}

NullableSAMLAssertionAttributesType handles when a null is used for SAMLAssertionAttributesType.

func NewNullableSAMLAssertionAttributesType ¶ added in v1.9.0

func NewNullableSAMLAssertionAttributesType(val *SAMLAssertionAttributesType) *NullableSAMLAssertionAttributesType

NewNullableSAMLAssertionAttributesType initializes the struct as if Set has been called.

func (NullableSAMLAssertionAttributesType) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableSAMLAssertionAttributesType) IsSet ¶ added in v1.9.0

IsSet returns whether Set has been called.

func (NullableSAMLAssertionAttributesType) MarshalJSON ¶ added in v1.9.0

func (v NullableSAMLAssertionAttributesType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSAMLAssertionAttributesType) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableSAMLAssertionAttributesType) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableSAMLAssertionAttributesType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSAMLAssertionAttributesType) Unset ¶ added in v1.9.0

Unset sets the value to nil and resets the set flag.

type NullableSecurityFilterFilteredDataType ¶

type NullableSecurityFilterFilteredDataType struct {
	// contains filtered or unexported fields
}

NullableSecurityFilterFilteredDataType handles when a null is used for SecurityFilterFilteredDataType.

func NewNullableSecurityFilterFilteredDataType ¶

func NewNullableSecurityFilterFilteredDataType(val *SecurityFilterFilteredDataType) *NullableSecurityFilterFilteredDataType

NewNullableSecurityFilterFilteredDataType initializes the struct as if Set has been called.

func (NullableSecurityFilterFilteredDataType) Get ¶

Get returns the associated value.

func (NullableSecurityFilterFilteredDataType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityFilterFilteredDataType) MarshalJSON ¶

func (v NullableSecurityFilterFilteredDataType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityFilterFilteredDataType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityFilterFilteredDataType) UnmarshalJSON ¶

func (v *NullableSecurityFilterFilteredDataType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityFilterFilteredDataType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityFilterType ¶

type NullableSecurityFilterType struct {
	// contains filtered or unexported fields
}

NullableSecurityFilterType handles when a null is used for SecurityFilterType.

func NewNullableSecurityFilterType ¶

func NewNullableSecurityFilterType(val *SecurityFilterType) *NullableSecurityFilterType

NewNullableSecurityFilterType initializes the struct as if Set has been called.

func (NullableSecurityFilterType) Get ¶

Get returns the associated value.

func (NullableSecurityFilterType) IsSet ¶

func (v NullableSecurityFilterType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableSecurityFilterType) MarshalJSON ¶

func (v NullableSecurityFilterType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityFilterType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityFilterType) UnmarshalJSON ¶

func (v *NullableSecurityFilterType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityFilterType) Unset ¶

func (v *NullableSecurityFilterType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringFilterAction ¶

type NullableSecurityMonitoringFilterAction struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringFilterAction handles when a null is used for SecurityMonitoringFilterAction.

func NewNullableSecurityMonitoringFilterAction ¶

func NewNullableSecurityMonitoringFilterAction(val *SecurityMonitoringFilterAction) *NullableSecurityMonitoringFilterAction

NewNullableSecurityMonitoringFilterAction initializes the struct as if Set has been called.

func (NullableSecurityMonitoringFilterAction) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringFilterAction) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringFilterAction) MarshalJSON ¶

func (v NullableSecurityMonitoringFilterAction) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringFilterAction) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringFilterAction) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringFilterAction) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringFilterAction) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleDetectionMethod ¶

type NullableSecurityMonitoringRuleDetectionMethod struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleDetectionMethod handles when a null is used for SecurityMonitoringRuleDetectionMethod.

func NewNullableSecurityMonitoringRuleDetectionMethod ¶

func NewNullableSecurityMonitoringRuleDetectionMethod(val *SecurityMonitoringRuleDetectionMethod) *NullableSecurityMonitoringRuleDetectionMethod

NewNullableSecurityMonitoringRuleDetectionMethod initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleDetectionMethod) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleDetectionMethod) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleDetectionMethod) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleDetectionMethod) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleDetectionMethod) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleDetectionMethod) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleEvaluationWindow ¶

type NullableSecurityMonitoringRuleEvaluationWindow struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleEvaluationWindow handles when a null is used for SecurityMonitoringRuleEvaluationWindow.

func NewNullableSecurityMonitoringRuleEvaluationWindow ¶

func NewNullableSecurityMonitoringRuleEvaluationWindow(val *SecurityMonitoringRuleEvaluationWindow) *NullableSecurityMonitoringRuleEvaluationWindow

NewNullableSecurityMonitoringRuleEvaluationWindow initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleEvaluationWindow) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleEvaluationWindow) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleEvaluationWindow) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleEvaluationWindow) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleEvaluationWindow) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleEvaluationWindow) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleHardcodedEvaluatorType ¶ added in v1.14.0

type NullableSecurityMonitoringRuleHardcodedEvaluatorType struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleHardcodedEvaluatorType handles when a null is used for SecurityMonitoringRuleHardcodedEvaluatorType.

func NewNullableSecurityMonitoringRuleHardcodedEvaluatorType ¶ added in v1.14.0

func NewNullableSecurityMonitoringRuleHardcodedEvaluatorType(val *SecurityMonitoringRuleHardcodedEvaluatorType) *NullableSecurityMonitoringRuleHardcodedEvaluatorType

NewNullableSecurityMonitoringRuleHardcodedEvaluatorType initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleHardcodedEvaluatorType) Get ¶ added in v1.14.0

Get returns the associated value.

func (NullableSecurityMonitoringRuleHardcodedEvaluatorType) IsSet ¶ added in v1.14.0

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleHardcodedEvaluatorType) MarshalJSON ¶ added in v1.14.0

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleHardcodedEvaluatorType) Set ¶ added in v1.14.0

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleHardcodedEvaluatorType) UnmarshalJSON ¶ added in v1.14.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleHardcodedEvaluatorType) Unset ¶ added in v1.14.0

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleKeepAlive ¶

type NullableSecurityMonitoringRuleKeepAlive struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleKeepAlive handles when a null is used for SecurityMonitoringRuleKeepAlive.

func NewNullableSecurityMonitoringRuleKeepAlive ¶

func NewNullableSecurityMonitoringRuleKeepAlive(val *SecurityMonitoringRuleKeepAlive) *NullableSecurityMonitoringRuleKeepAlive

NewNullableSecurityMonitoringRuleKeepAlive initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleKeepAlive) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleKeepAlive) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleKeepAlive) MarshalJSON ¶

func (v NullableSecurityMonitoringRuleKeepAlive) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleKeepAlive) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleKeepAlive) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringRuleKeepAlive) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleKeepAlive) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleMaxSignalDuration ¶

type NullableSecurityMonitoringRuleMaxSignalDuration struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleMaxSignalDuration handles when a null is used for SecurityMonitoringRuleMaxSignalDuration.

func NewNullableSecurityMonitoringRuleMaxSignalDuration ¶

func NewNullableSecurityMonitoringRuleMaxSignalDuration(val *SecurityMonitoringRuleMaxSignalDuration) *NullableSecurityMonitoringRuleMaxSignalDuration

NewNullableSecurityMonitoringRuleMaxSignalDuration initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleMaxSignalDuration) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleMaxSignalDuration) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleMaxSignalDuration) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleMaxSignalDuration) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleMaxSignalDuration) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleNewValueOptionsForgetAfter ¶

type NullableSecurityMonitoringRuleNewValueOptionsForgetAfter struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleNewValueOptionsForgetAfter handles when a null is used for SecurityMonitoringRuleNewValueOptionsForgetAfter.

func NewNullableSecurityMonitoringRuleNewValueOptionsForgetAfter ¶

func NewNullableSecurityMonitoringRuleNewValueOptionsForgetAfter(val *SecurityMonitoringRuleNewValueOptionsForgetAfter) *NullableSecurityMonitoringRuleNewValueOptionsForgetAfter

NewNullableSecurityMonitoringRuleNewValueOptionsForgetAfter initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleNewValueOptionsLearningDuration ¶

type NullableSecurityMonitoringRuleNewValueOptionsLearningDuration struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleNewValueOptionsLearningDuration handles when a null is used for SecurityMonitoringRuleNewValueOptionsLearningDuration.

func NewNullableSecurityMonitoringRuleNewValueOptionsLearningDuration ¶

func NewNullableSecurityMonitoringRuleNewValueOptionsLearningDuration(val *SecurityMonitoringRuleNewValueOptionsLearningDuration) *NullableSecurityMonitoringRuleNewValueOptionsLearningDuration

NewNullableSecurityMonitoringRuleNewValueOptionsLearningDuration initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleNewValueOptionsLearningMethod ¶ added in v1.15.0

type NullableSecurityMonitoringRuleNewValueOptionsLearningMethod struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleNewValueOptionsLearningMethod handles when a null is used for SecurityMonitoringRuleNewValueOptionsLearningMethod.

func NewNullableSecurityMonitoringRuleNewValueOptionsLearningMethod ¶ added in v1.15.0

func NewNullableSecurityMonitoringRuleNewValueOptionsLearningMethod(val *SecurityMonitoringRuleNewValueOptionsLearningMethod) *NullableSecurityMonitoringRuleNewValueOptionsLearningMethod

NewNullableSecurityMonitoringRuleNewValueOptionsLearningMethod initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) IsSet ¶ added in v1.15.0

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) MarshalJSON ¶ added in v1.15.0

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) UnmarshalJSON ¶ added in v1.15.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Unset ¶ added in v1.15.0

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold ¶ added in v1.15.0

type NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold handles when a null is used for SecurityMonitoringRuleNewValueOptionsLearningThreshold.

func NewNullableSecurityMonitoringRuleNewValueOptionsLearningThreshold ¶ added in v1.15.0

func NewNullableSecurityMonitoringRuleNewValueOptionsLearningThreshold(val *SecurityMonitoringRuleNewValueOptionsLearningThreshold) *NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold

NewNullableSecurityMonitoringRuleNewValueOptionsLearningThreshold initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) IsSet ¶ added in v1.15.0

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) MarshalJSON ¶ added in v1.15.0

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) UnmarshalJSON ¶ added in v1.15.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Unset ¶ added in v1.15.0

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleQueryAggregation ¶

type NullableSecurityMonitoringRuleQueryAggregation struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleQueryAggregation handles when a null is used for SecurityMonitoringRuleQueryAggregation.

func NewNullableSecurityMonitoringRuleQueryAggregation ¶

func NewNullableSecurityMonitoringRuleQueryAggregation(val *SecurityMonitoringRuleQueryAggregation) *NullableSecurityMonitoringRuleQueryAggregation

NewNullableSecurityMonitoringRuleQueryAggregation initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleQueryAggregation) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleQueryAggregation) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleQueryAggregation) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleQueryAggregation) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleQueryAggregation) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleQueryAggregation) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleSeverity ¶

type NullableSecurityMonitoringRuleSeverity struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleSeverity handles when a null is used for SecurityMonitoringRuleSeverity.

func NewNullableSecurityMonitoringRuleSeverity ¶

func NewNullableSecurityMonitoringRuleSeverity(val *SecurityMonitoringRuleSeverity) *NullableSecurityMonitoringRuleSeverity

NewNullableSecurityMonitoringRuleSeverity initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleSeverity) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleSeverity) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleSeverity) MarshalJSON ¶

func (v NullableSecurityMonitoringRuleSeverity) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleSeverity) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleSeverity) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringRuleSeverity) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleSeverity) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleTypeCreate ¶ added in v1.3.0

type NullableSecurityMonitoringRuleTypeCreate struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleTypeCreate handles when a null is used for SecurityMonitoringRuleTypeCreate.

func NewNullableSecurityMonitoringRuleTypeCreate ¶ added in v1.3.0

func NewNullableSecurityMonitoringRuleTypeCreate(val *SecurityMonitoringRuleTypeCreate) *NullableSecurityMonitoringRuleTypeCreate

NewNullableSecurityMonitoringRuleTypeCreate initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleTypeCreate) Get ¶ added in v1.3.0

Get returns the associated value.

func (NullableSecurityMonitoringRuleTypeCreate) IsSet ¶ added in v1.3.0

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleTypeCreate) MarshalJSON ¶ added in v1.3.0

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleTypeCreate) Set ¶ added in v1.3.0

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleTypeCreate) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableSecurityMonitoringRuleTypeCreate) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleTypeCreate) Unset ¶ added in v1.3.0

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleTypeRead ¶ added in v1.3.0

type NullableSecurityMonitoringRuleTypeRead struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleTypeRead handles when a null is used for SecurityMonitoringRuleTypeRead.

func NewNullableSecurityMonitoringRuleTypeRead ¶ added in v1.3.0

func NewNullableSecurityMonitoringRuleTypeRead(val *SecurityMonitoringRuleTypeRead) *NullableSecurityMonitoringRuleTypeRead

NewNullableSecurityMonitoringRuleTypeRead initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleTypeRead) Get ¶ added in v1.3.0

Get returns the associated value.

func (NullableSecurityMonitoringRuleTypeRead) IsSet ¶ added in v1.3.0

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleTypeRead) MarshalJSON ¶ added in v1.3.0

func (v NullableSecurityMonitoringRuleTypeRead) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleTypeRead) Set ¶ added in v1.3.0

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleTypeRead) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableSecurityMonitoringRuleTypeRead) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleTypeRead) Unset ¶ added in v1.3.0

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringSignalArchiveReason ¶ added in v1.16.0

type NullableSecurityMonitoringSignalArchiveReason struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringSignalArchiveReason handles when a null is used for SecurityMonitoringSignalArchiveReason.

func NewNullableSecurityMonitoringSignalArchiveReason ¶ added in v1.16.0

func NewNullableSecurityMonitoringSignalArchiveReason(val *SecurityMonitoringSignalArchiveReason) *NullableSecurityMonitoringSignalArchiveReason

NewNullableSecurityMonitoringSignalArchiveReason initializes the struct as if Set has been called.

func (NullableSecurityMonitoringSignalArchiveReason) Get ¶ added in v1.16.0

Get returns the associated value.

func (NullableSecurityMonitoringSignalArchiveReason) IsSet ¶ added in v1.16.0

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringSignalArchiveReason) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringSignalArchiveReason) Set ¶ added in v1.16.0

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringSignalArchiveReason) UnmarshalJSON ¶ added in v1.16.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringSignalArchiveReason) Unset ¶ added in v1.16.0

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringSignalState ¶ added in v1.16.0

type NullableSecurityMonitoringSignalState struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringSignalState handles when a null is used for SecurityMonitoringSignalState.

func NewNullableSecurityMonitoringSignalState ¶ added in v1.16.0

func NewNullableSecurityMonitoringSignalState(val *SecurityMonitoringSignalState) *NullableSecurityMonitoringSignalState

NewNullableSecurityMonitoringSignalState initializes the struct as if Set has been called.

func (NullableSecurityMonitoringSignalState) Get ¶ added in v1.16.0

Get returns the associated value.

func (NullableSecurityMonitoringSignalState) IsSet ¶ added in v1.16.0

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringSignalState) MarshalJSON ¶ added in v1.16.0

func (v NullableSecurityMonitoringSignalState) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringSignalState) Set ¶ added in v1.16.0

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringSignalState) UnmarshalJSON ¶ added in v1.16.0

func (v *NullableSecurityMonitoringSignalState) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringSignalState) Unset ¶ added in v1.16.0

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringSignalType ¶

type NullableSecurityMonitoringSignalType struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringSignalType handles when a null is used for SecurityMonitoringSignalType.

func NewNullableSecurityMonitoringSignalType ¶

func NewNullableSecurityMonitoringSignalType(val *SecurityMonitoringSignalType) *NullableSecurityMonitoringSignalType

NewNullableSecurityMonitoringSignalType initializes the struct as if Set has been called.

func (NullableSecurityMonitoringSignalType) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringSignalType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringSignalType) MarshalJSON ¶

func (v NullableSecurityMonitoringSignalType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringSignalType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringSignalType) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringSignalType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringSignalType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringSignalsSort ¶

type NullableSecurityMonitoringSignalsSort struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringSignalsSort handles when a null is used for SecurityMonitoringSignalsSort.

func NewNullableSecurityMonitoringSignalsSort ¶

func NewNullableSecurityMonitoringSignalsSort(val *SecurityMonitoringSignalsSort) *NullableSecurityMonitoringSignalsSort

NewNullableSecurityMonitoringSignalsSort initializes the struct as if Set has been called.

func (NullableSecurityMonitoringSignalsSort) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringSignalsSort) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringSignalsSort) MarshalJSON ¶

func (v NullableSecurityMonitoringSignalsSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringSignalsSort) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringSignalsSort) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringSignalsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringSignalsSort) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableString ¶

type NullableString struct {
	// contains filtered or unexported fields
}

NullableString is a struct to hold a nullable string value.

func NewNullableString ¶

func NewNullableString(val *string) *NullableString

NewNullableString instantiates a new nullable string.

func (NullableString) Get ¶

func (v NullableString) Get() *string

Get returns the value associated with the nullable string.

func (NullableString) IsSet ¶

func (v NullableString) IsSet() bool

IsSet returns true if the value has been set.

func (NullableString) MarshalJSON ¶

func (v NullableString) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableString) Set ¶

func (v *NullableString) Set(val *string)

Set sets the value associated with the nullable string.

func (*NullableString) UnmarshalJSON ¶

func (v *NullableString) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableString) Unset ¶

func (v *NullableString) Unset()

Unset resets fields of the nullable string.

type NullableTime ¶

type NullableTime struct {
	// contains filtered or unexported fields
}

NullableTime is a struct to hold a nullable Time value.

func NewNullableTime ¶

func NewNullableTime(val *time.Time) *NullableTime

NewNullableTime instantiates a new nullable Time.

func (NullableTime) Get ¶

func (v NullableTime) Get() *time.Time

Get returns the value associated with the nullable Time.

func (NullableTime) IsSet ¶

func (v NullableTime) IsSet() bool

IsSet returns true if the value has been set.

func (NullableTime) MarshalJSON ¶

func (v NullableTime) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTime) Set ¶

func (v *NullableTime) Set(val *time.Time)

Set sets the value associated with the nullable Time.

func (*NullableTime) UnmarshalJSON ¶

func (v *NullableTime) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableTime) Unset ¶

func (v *NullableTime) Unset()

Unset resets fields of the nullable Time.

type NullableUsageTimeSeriesType ¶ added in v1.14.0

type NullableUsageTimeSeriesType struct {
	// contains filtered or unexported fields
}

NullableUsageTimeSeriesType handles when a null is used for UsageTimeSeriesType.

func NewNullableUsageTimeSeriesType ¶ added in v1.14.0

func NewNullableUsageTimeSeriesType(val *UsageTimeSeriesType) *NullableUsageTimeSeriesType

NewNullableUsageTimeSeriesType initializes the struct as if Set has been called.

func (NullableUsageTimeSeriesType) Get ¶ added in v1.14.0

Get returns the associated value.

func (NullableUsageTimeSeriesType) IsSet ¶ added in v1.14.0

IsSet returns whether Set has been called.

func (NullableUsageTimeSeriesType) MarshalJSON ¶ added in v1.14.0

func (v NullableUsageTimeSeriesType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUsageTimeSeriesType) Set ¶ added in v1.14.0

Set changes the value and indicates it's been called.

func (*NullableUsageTimeSeriesType) UnmarshalJSON ¶ added in v1.14.0

func (v *NullableUsageTimeSeriesType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUsageTimeSeriesType) Unset ¶ added in v1.14.0

func (v *NullableUsageTimeSeriesType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableUserInvitationsType ¶

type NullableUserInvitationsType struct {
	// contains filtered or unexported fields
}

NullableUserInvitationsType handles when a null is used for UserInvitationsType.

func NewNullableUserInvitationsType ¶

func NewNullableUserInvitationsType(val *UserInvitationsType) *NullableUserInvitationsType

NewNullableUserInvitationsType initializes the struct as if Set has been called.

func (NullableUserInvitationsType) Get ¶

Get returns the associated value.

func (NullableUserInvitationsType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableUserInvitationsType) MarshalJSON ¶

func (v NullableUserInvitationsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUserInvitationsType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableUserInvitationsType) UnmarshalJSON ¶

func (v *NullableUserInvitationsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUserInvitationsType) Unset ¶

func (v *NullableUserInvitationsType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableUserResponseIncludedItem ¶

type NullableUserResponseIncludedItem struct {
	// contains filtered or unexported fields
}

NullableUserResponseIncludedItem handles when a null is used for UserResponseIncludedItem.

func NewNullableUserResponseIncludedItem ¶

func NewNullableUserResponseIncludedItem(val *UserResponseIncludedItem) *NullableUserResponseIncludedItem

NewNullableUserResponseIncludedItem initializes the struct as if Set has been called.

func (NullableUserResponseIncludedItem) Get ¶

Get returns the associated value.

func (NullableUserResponseIncludedItem) IsSet ¶

IsSet returns whether Set has been called.

func (NullableUserResponseIncludedItem) MarshalJSON ¶

func (v NullableUserResponseIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUserResponseIncludedItem) Set ¶

Set changes the value and indicates it's been called.

func (*NullableUserResponseIncludedItem) UnmarshalJSON ¶

func (v *NullableUserResponseIncludedItem) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUserResponseIncludedItem) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableUsersType ¶

type NullableUsersType struct {
	// contains filtered or unexported fields
}

NullableUsersType handles when a null is used for UsersType.

func NewNullableUsersType ¶

func NewNullableUsersType(val *UsersType) *NullableUsersType

NewNullableUsersType initializes the struct as if Set has been called.

func (NullableUsersType) Get ¶

func (v NullableUsersType) Get() *UsersType

Get returns the associated value.

func (NullableUsersType) IsSet ¶

func (v NullableUsersType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableUsersType) MarshalJSON ¶

func (v NullableUsersType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUsersType) Set ¶

func (v *NullableUsersType) Set(val *UsersType)

Set changes the value and indicates it's been called.

func (*NullableUsersType) UnmarshalJSON ¶

func (v *NullableUsersType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUsersType) Unset ¶

func (v *NullableUsersType) Unset()

Unset sets the value to nil and resets the set flag.

type OpsgenieIntegrationApiService ¶ added in v1.15.0

type OpsgenieIntegrationApiService service

OpsgenieIntegrationApiService OpsgenieIntegrationApi service.

func (*OpsgenieIntegrationApiService) CreateOpsgenieService ¶ added in v1.15.0

CreateOpsgenieService Create a new service object. Create a new service object in the Opsgenie integration.

func (*OpsgenieIntegrationApiService) DeleteOpsgenieService ¶ added in v1.15.0

func (a *OpsgenieIntegrationApiService) DeleteOpsgenieService(ctx _context.Context, integrationServiceId string) (*_nethttp.Response, error)

DeleteOpsgenieService Delete a single service object. Delete a single service object in the Datadog Opsgenie integration.

func (*OpsgenieIntegrationApiService) GetOpsgenieService ¶ added in v1.15.0

func (a *OpsgenieIntegrationApiService) GetOpsgenieService(ctx _context.Context, integrationServiceId string) (OpsgenieServiceResponse, *_nethttp.Response, error)

GetOpsgenieService Get a single service object. Get a single service from the Datadog Opsgenie integration.

func (*OpsgenieIntegrationApiService) ListOpsgenieServices ¶ added in v1.15.0

ListOpsgenieServices Get all service objects. Get a list of all services from the Datadog Opsgenie integration.

func (*OpsgenieIntegrationApiService) UpdateOpsgenieService ¶ added in v1.15.0

UpdateOpsgenieService Update a single service object. Update a single service object in the Datadog Opsgenie integration.

type OpsgenieServiceCreateAttributes ¶ added in v1.15.0

type OpsgenieServiceCreateAttributes struct {
	// The custom URL for a custom region.
	CustomUrl *string `json:"custom_url,omitempty"`
	// The name for the Opsgenie service.
	Name string `json:"name"`
	// The Opsgenie API key for your Opsgenie service.
	OpsgenieApiKey string `json:"opsgenie_api_key"`
	// The region for the Opsgenie service.
	Region OpsgenieServiceRegionType `json:"region"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OpsgenieServiceCreateAttributes The Opsgenie service attributes for a create request.

func NewOpsgenieServiceCreateAttributes ¶ added in v1.15.0

func NewOpsgenieServiceCreateAttributes(name string, opsgenieApiKey string, region OpsgenieServiceRegionType) *OpsgenieServiceCreateAttributes

NewOpsgenieServiceCreateAttributes instantiates a new OpsgenieServiceCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOpsgenieServiceCreateAttributesWithDefaults ¶ added in v1.15.0

func NewOpsgenieServiceCreateAttributesWithDefaults() *OpsgenieServiceCreateAttributes

NewOpsgenieServiceCreateAttributesWithDefaults instantiates a new OpsgenieServiceCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OpsgenieServiceCreateAttributes) GetCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceCreateAttributes) GetCustomUrl() string

GetCustomUrl returns the CustomUrl field value if set, zero value otherwise.

func (*OpsgenieServiceCreateAttributes) GetCustomUrlOk ¶ added in v1.15.0

func (o *OpsgenieServiceCreateAttributes) GetCustomUrlOk() (*string, bool)

GetCustomUrlOk returns a tuple with the CustomUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OpsgenieServiceCreateAttributes) GetName ¶ added in v1.15.0

GetName returns the Name field value.

func (*OpsgenieServiceCreateAttributes) GetNameOk ¶ added in v1.15.0

func (o *OpsgenieServiceCreateAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*OpsgenieServiceCreateAttributes) GetOpsgenieApiKey ¶ added in v1.15.0

func (o *OpsgenieServiceCreateAttributes) GetOpsgenieApiKey() string

GetOpsgenieApiKey returns the OpsgenieApiKey field value.

func (*OpsgenieServiceCreateAttributes) GetOpsgenieApiKeyOk ¶ added in v1.15.0

func (o *OpsgenieServiceCreateAttributes) GetOpsgenieApiKeyOk() (*string, bool)

GetOpsgenieApiKeyOk returns a tuple with the OpsgenieApiKey field value and a boolean to check if the value has been set.

func (*OpsgenieServiceCreateAttributes) GetRegion ¶ added in v1.15.0

GetRegion returns the Region field value.

func (*OpsgenieServiceCreateAttributes) GetRegionOk ¶ added in v1.15.0

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (*OpsgenieServiceCreateAttributes) HasCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceCreateAttributes) HasCustomUrl() bool

HasCustomUrl returns a boolean if a field has been set.

func (OpsgenieServiceCreateAttributes) MarshalJSON ¶ added in v1.15.0

func (o OpsgenieServiceCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceCreateAttributes) SetCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceCreateAttributes) SetCustomUrl(v string)

SetCustomUrl gets a reference to the given string and assigns it to the CustomUrl field.

func (*OpsgenieServiceCreateAttributes) SetName ¶ added in v1.15.0

SetName sets field value.

func (*OpsgenieServiceCreateAttributes) SetOpsgenieApiKey ¶ added in v1.15.0

func (o *OpsgenieServiceCreateAttributes) SetOpsgenieApiKey(v string)

SetOpsgenieApiKey sets field value.

func (*OpsgenieServiceCreateAttributes) SetRegion ¶ added in v1.15.0

SetRegion sets field value.

func (*OpsgenieServiceCreateAttributes) UnmarshalJSON ¶ added in v1.15.0

func (o *OpsgenieServiceCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceCreateData ¶ added in v1.15.0

type OpsgenieServiceCreateData struct {
	// The Opsgenie service attributes for a create request.
	Attributes OpsgenieServiceCreateAttributes `json:"attributes"`
	// Opsgenie service resource type.
	Type OpsgenieServiceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OpsgenieServiceCreateData Opsgenie service data for a create request.

func NewOpsgenieServiceCreateData ¶ added in v1.15.0

func NewOpsgenieServiceCreateData(attributes OpsgenieServiceCreateAttributes, typeVar OpsgenieServiceType) *OpsgenieServiceCreateData

NewOpsgenieServiceCreateData instantiates a new OpsgenieServiceCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOpsgenieServiceCreateDataWithDefaults ¶ added in v1.15.0

func NewOpsgenieServiceCreateDataWithDefaults() *OpsgenieServiceCreateData

NewOpsgenieServiceCreateDataWithDefaults instantiates a new OpsgenieServiceCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OpsgenieServiceCreateData) GetAttributes ¶ added in v1.15.0

GetAttributes returns the Attributes field value.

func (*OpsgenieServiceCreateData) GetAttributesOk ¶ added in v1.15.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*OpsgenieServiceCreateData) GetType ¶ added in v1.15.0

GetType returns the Type field value.

func (*OpsgenieServiceCreateData) GetTypeOk ¶ added in v1.15.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (OpsgenieServiceCreateData) MarshalJSON ¶ added in v1.15.0

func (o OpsgenieServiceCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceCreateData) SetAttributes ¶ added in v1.15.0

SetAttributes sets field value.

func (*OpsgenieServiceCreateData) SetType ¶ added in v1.15.0

SetType sets field value.

func (*OpsgenieServiceCreateData) UnmarshalJSON ¶ added in v1.15.0

func (o *OpsgenieServiceCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceCreateRequest ¶ added in v1.15.0

type OpsgenieServiceCreateRequest struct {
	// Opsgenie service data for a create request.
	Data OpsgenieServiceCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OpsgenieServiceCreateRequest Create request for an Opsgenie service.

func NewOpsgenieServiceCreateRequest ¶ added in v1.15.0

func NewOpsgenieServiceCreateRequest(data OpsgenieServiceCreateData) *OpsgenieServiceCreateRequest

NewOpsgenieServiceCreateRequest instantiates a new OpsgenieServiceCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOpsgenieServiceCreateRequestWithDefaults ¶ added in v1.15.0

func NewOpsgenieServiceCreateRequestWithDefaults() *OpsgenieServiceCreateRequest

NewOpsgenieServiceCreateRequestWithDefaults instantiates a new OpsgenieServiceCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OpsgenieServiceCreateRequest) GetData ¶ added in v1.15.0

GetData returns the Data field value.

func (*OpsgenieServiceCreateRequest) GetDataOk ¶ added in v1.15.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (OpsgenieServiceCreateRequest) MarshalJSON ¶ added in v1.15.0

func (o OpsgenieServiceCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceCreateRequest) SetData ¶ added in v1.15.0

SetData sets field value.

func (*OpsgenieServiceCreateRequest) UnmarshalJSON ¶ added in v1.15.0

func (o *OpsgenieServiceCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceRegionType ¶ added in v1.15.0

type OpsgenieServiceRegionType string

OpsgenieServiceRegionType The region for the Opsgenie service.

const (
	OPSGENIESERVICEREGIONTYPE_US     OpsgenieServiceRegionType = "us"
	OPSGENIESERVICEREGIONTYPE_EU     OpsgenieServiceRegionType = "eu"
	OPSGENIESERVICEREGIONTYPE_CUSTOM OpsgenieServiceRegionType = "custom"
)

List of OpsgenieServiceRegionType.

func NewOpsgenieServiceRegionTypeFromValue ¶ added in v1.15.0

func NewOpsgenieServiceRegionTypeFromValue(v string) (*OpsgenieServiceRegionType, error)

NewOpsgenieServiceRegionTypeFromValue returns a pointer to a valid OpsgenieServiceRegionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*OpsgenieServiceRegionType) GetAllowedValues ¶ added in v1.15.0

func (v *OpsgenieServiceRegionType) GetAllowedValues() []OpsgenieServiceRegionType

GetAllowedValues reeturns the list of possible values.

func (OpsgenieServiceRegionType) IsValid ¶ added in v1.15.0

func (v OpsgenieServiceRegionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (OpsgenieServiceRegionType) Ptr ¶ added in v1.15.0

Ptr returns reference to OpsgenieServiceRegionType value.

func (*OpsgenieServiceRegionType) UnmarshalJSON ¶ added in v1.15.0

func (v *OpsgenieServiceRegionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceResponse ¶ added in v1.15.0

type OpsgenieServiceResponse struct {
	// Opsgenie service data from a response.
	Data OpsgenieServiceResponseData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OpsgenieServiceResponse Response of an Opsgenie service.

func NewOpsgenieServiceResponse ¶ added in v1.15.0

func NewOpsgenieServiceResponse(data OpsgenieServiceResponseData) *OpsgenieServiceResponse

NewOpsgenieServiceResponse instantiates a new OpsgenieServiceResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOpsgenieServiceResponseWithDefaults ¶ added in v1.15.0

func NewOpsgenieServiceResponseWithDefaults() *OpsgenieServiceResponse

NewOpsgenieServiceResponseWithDefaults instantiates a new OpsgenieServiceResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OpsgenieServiceResponse) GetData ¶ added in v1.15.0

GetData returns the Data field value.

func (*OpsgenieServiceResponse) GetDataOk ¶ added in v1.15.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (OpsgenieServiceResponse) MarshalJSON ¶ added in v1.15.0

func (o OpsgenieServiceResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceResponse) SetData ¶ added in v1.15.0

SetData sets field value.

func (*OpsgenieServiceResponse) UnmarshalJSON ¶ added in v1.15.0

func (o *OpsgenieServiceResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceResponseAttributes ¶ added in v1.15.0

type OpsgenieServiceResponseAttributes struct {
	// The custom URL for a custom region.
	CustomUrl NullableString `json:"custom_url,omitempty"`
	// The name for the Opsgenie service.
	Name *string `json:"name,omitempty"`
	// The region for the Opsgenie service.
	Region *OpsgenieServiceRegionType `json:"region,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OpsgenieServiceResponseAttributes The attributes from an Opsgenie service response.

func NewOpsgenieServiceResponseAttributes ¶ added in v1.15.0

func NewOpsgenieServiceResponseAttributes() *OpsgenieServiceResponseAttributes

NewOpsgenieServiceResponseAttributes instantiates a new OpsgenieServiceResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOpsgenieServiceResponseAttributesWithDefaults ¶ added in v1.15.0

func NewOpsgenieServiceResponseAttributesWithDefaults() *OpsgenieServiceResponseAttributes

NewOpsgenieServiceResponseAttributesWithDefaults instantiates a new OpsgenieServiceResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OpsgenieServiceResponseAttributes) GetCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceResponseAttributes) GetCustomUrl() string

GetCustomUrl returns the CustomUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OpsgenieServiceResponseAttributes) GetCustomUrlOk ¶ added in v1.15.0

func (o *OpsgenieServiceResponseAttributes) GetCustomUrlOk() (*string, bool)

GetCustomUrlOk returns a tuple with the CustomUrl 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 (*OpsgenieServiceResponseAttributes) GetName ¶ added in v1.15.0

GetName returns the Name field value if set, zero value otherwise.

func (*OpsgenieServiceResponseAttributes) GetNameOk ¶ added in v1.15.0

func (o *OpsgenieServiceResponseAttributes) 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 (*OpsgenieServiceResponseAttributes) GetRegion ¶ added in v1.15.0

GetRegion returns the Region field value if set, zero value otherwise.

func (*OpsgenieServiceResponseAttributes) GetRegionOk ¶ added in v1.15.0

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OpsgenieServiceResponseAttributes) HasCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceResponseAttributes) HasCustomUrl() bool

HasCustomUrl returns a boolean if a field has been set.

func (*OpsgenieServiceResponseAttributes) HasName ¶ added in v1.15.0

HasName returns a boolean if a field has been set.

func (*OpsgenieServiceResponseAttributes) HasRegion ¶ added in v1.15.0

func (o *OpsgenieServiceResponseAttributes) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (OpsgenieServiceResponseAttributes) MarshalJSON ¶ added in v1.15.0

func (o OpsgenieServiceResponseAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceResponseAttributes) SetCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceResponseAttributes) SetCustomUrl(v string)

SetCustomUrl gets a reference to the given NullableString and assigns it to the CustomUrl field.

func (*OpsgenieServiceResponseAttributes) SetCustomUrlNil ¶ added in v1.15.0

func (o *OpsgenieServiceResponseAttributes) SetCustomUrlNil()

SetCustomUrlNil sets the value for CustomUrl to be an explicit nil.

func (*OpsgenieServiceResponseAttributes) SetName ¶ added in v1.15.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*OpsgenieServiceResponseAttributes) SetRegion ¶ added in v1.15.0

SetRegion gets a reference to the given OpsgenieServiceRegionType and assigns it to the Region field.

func (*OpsgenieServiceResponseAttributes) UnmarshalJSON ¶ added in v1.15.0

func (o *OpsgenieServiceResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*OpsgenieServiceResponseAttributes) UnsetCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceResponseAttributes) UnsetCustomUrl()

UnsetCustomUrl ensures that no value is present for CustomUrl, not even an explicit nil.

type OpsgenieServiceResponseData ¶ added in v1.15.0

type OpsgenieServiceResponseData struct {
	// The attributes from an Opsgenie service response.
	Attributes OpsgenieServiceResponseAttributes `json:"attributes"`
	// The ID of the Opsgenie service.
	Id string `json:"id"`
	// Opsgenie service resource type.
	Type OpsgenieServiceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OpsgenieServiceResponseData Opsgenie service data from a response.

func NewOpsgenieServiceResponseData ¶ added in v1.15.0

func NewOpsgenieServiceResponseData(attributes OpsgenieServiceResponseAttributes, id string, typeVar OpsgenieServiceType) *OpsgenieServiceResponseData

NewOpsgenieServiceResponseData instantiates a new OpsgenieServiceResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOpsgenieServiceResponseDataWithDefaults ¶ added in v1.15.0

func NewOpsgenieServiceResponseDataWithDefaults() *OpsgenieServiceResponseData

NewOpsgenieServiceResponseDataWithDefaults instantiates a new OpsgenieServiceResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OpsgenieServiceResponseData) GetAttributes ¶ added in v1.15.0

GetAttributes returns the Attributes field value.

func (*OpsgenieServiceResponseData) GetAttributesOk ¶ added in v1.15.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*OpsgenieServiceResponseData) GetId ¶ added in v1.15.0

GetId returns the Id field value.

func (*OpsgenieServiceResponseData) GetIdOk ¶ added in v1.15.0

func (o *OpsgenieServiceResponseData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*OpsgenieServiceResponseData) GetType ¶ added in v1.15.0

GetType returns the Type field value.

func (*OpsgenieServiceResponseData) GetTypeOk ¶ added in v1.15.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (OpsgenieServiceResponseData) MarshalJSON ¶ added in v1.15.0

func (o OpsgenieServiceResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceResponseData) SetAttributes ¶ added in v1.15.0

SetAttributes sets field value.

func (*OpsgenieServiceResponseData) SetId ¶ added in v1.15.0

func (o *OpsgenieServiceResponseData) SetId(v string)

SetId sets field value.

func (*OpsgenieServiceResponseData) SetType ¶ added in v1.15.0

SetType sets field value.

func (*OpsgenieServiceResponseData) UnmarshalJSON ¶ added in v1.15.0

func (o *OpsgenieServiceResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceType ¶ added in v1.15.0

type OpsgenieServiceType string

OpsgenieServiceType Opsgenie service resource type.

const (
	OPSGENIESERVICETYPE_OPSGENIE_SERVICE OpsgenieServiceType = "opsgenie-service"
)

List of OpsgenieServiceType.

func NewOpsgenieServiceTypeFromValue ¶ added in v1.15.0

func NewOpsgenieServiceTypeFromValue(v string) (*OpsgenieServiceType, error)

NewOpsgenieServiceTypeFromValue returns a pointer to a valid OpsgenieServiceType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*OpsgenieServiceType) GetAllowedValues ¶ added in v1.15.0

func (v *OpsgenieServiceType) GetAllowedValues() []OpsgenieServiceType

GetAllowedValues reeturns the list of possible values.

func (OpsgenieServiceType) IsValid ¶ added in v1.15.0

func (v OpsgenieServiceType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (OpsgenieServiceType) Ptr ¶ added in v1.15.0

Ptr returns reference to OpsgenieServiceType value.

func (*OpsgenieServiceType) UnmarshalJSON ¶ added in v1.15.0

func (v *OpsgenieServiceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceUpdateAttributes ¶ added in v1.15.0

type OpsgenieServiceUpdateAttributes struct {
	// The custom URL for a custom region.
	CustomUrl NullableString `json:"custom_url,omitempty"`
	// The name for the Opsgenie service.
	Name *string `json:"name,omitempty"`
	// The Opsgenie API key for your Opsgenie service.
	OpsgenieApiKey *string `json:"opsgenie_api_key,omitempty"`
	// The region for the Opsgenie service.
	Region *OpsgenieServiceRegionType `json:"region,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OpsgenieServiceUpdateAttributes The Opsgenie service attributes for an update request.

func NewOpsgenieServiceUpdateAttributes ¶ added in v1.15.0

func NewOpsgenieServiceUpdateAttributes() *OpsgenieServiceUpdateAttributes

NewOpsgenieServiceUpdateAttributes instantiates a new OpsgenieServiceUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOpsgenieServiceUpdateAttributesWithDefaults ¶ added in v1.15.0

func NewOpsgenieServiceUpdateAttributesWithDefaults() *OpsgenieServiceUpdateAttributes

NewOpsgenieServiceUpdateAttributesWithDefaults instantiates a new OpsgenieServiceUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OpsgenieServiceUpdateAttributes) GetCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) GetCustomUrl() string

GetCustomUrl returns the CustomUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OpsgenieServiceUpdateAttributes) GetCustomUrlOk ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) GetCustomUrlOk() (*string, bool)

GetCustomUrlOk returns a tuple with the CustomUrl 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 (*OpsgenieServiceUpdateAttributes) GetName ¶ added in v1.15.0

GetName returns the Name field value if set, zero value otherwise.

func (*OpsgenieServiceUpdateAttributes) GetNameOk ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) 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 (*OpsgenieServiceUpdateAttributes) GetOpsgenieApiKey ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) GetOpsgenieApiKey() string

GetOpsgenieApiKey returns the OpsgenieApiKey field value if set, zero value otherwise.

func (*OpsgenieServiceUpdateAttributes) GetOpsgenieApiKeyOk ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) GetOpsgenieApiKeyOk() (*string, bool)

GetOpsgenieApiKeyOk returns a tuple with the OpsgenieApiKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OpsgenieServiceUpdateAttributes) GetRegion ¶ added in v1.15.0

GetRegion returns the Region field value if set, zero value otherwise.

func (*OpsgenieServiceUpdateAttributes) GetRegionOk ¶ added in v1.15.0

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OpsgenieServiceUpdateAttributes) HasCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) HasCustomUrl() bool

HasCustomUrl returns a boolean if a field has been set.

func (*OpsgenieServiceUpdateAttributes) HasName ¶ added in v1.15.0

HasName returns a boolean if a field has been set.

func (*OpsgenieServiceUpdateAttributes) HasOpsgenieApiKey ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) HasOpsgenieApiKey() bool

HasOpsgenieApiKey returns a boolean if a field has been set.

func (*OpsgenieServiceUpdateAttributes) HasRegion ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (OpsgenieServiceUpdateAttributes) MarshalJSON ¶ added in v1.15.0

func (o OpsgenieServiceUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceUpdateAttributes) SetCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) SetCustomUrl(v string)

SetCustomUrl gets a reference to the given NullableString and assigns it to the CustomUrl field.

func (*OpsgenieServiceUpdateAttributes) SetCustomUrlNil ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) SetCustomUrlNil()

SetCustomUrlNil sets the value for CustomUrl to be an explicit nil.

func (*OpsgenieServiceUpdateAttributes) SetName ¶ added in v1.15.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*OpsgenieServiceUpdateAttributes) SetOpsgenieApiKey ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) SetOpsgenieApiKey(v string)

SetOpsgenieApiKey gets a reference to the given string and assigns it to the OpsgenieApiKey field.

func (*OpsgenieServiceUpdateAttributes) SetRegion ¶ added in v1.15.0

SetRegion gets a reference to the given OpsgenieServiceRegionType and assigns it to the Region field.

func (*OpsgenieServiceUpdateAttributes) UnmarshalJSON ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*OpsgenieServiceUpdateAttributes) UnsetCustomUrl ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateAttributes) UnsetCustomUrl()

UnsetCustomUrl ensures that no value is present for CustomUrl, not even an explicit nil.

type OpsgenieServiceUpdateData ¶ added in v1.15.0

type OpsgenieServiceUpdateData struct {
	// The Opsgenie service attributes for an update request.
	Attributes OpsgenieServiceUpdateAttributes `json:"attributes"`
	// The ID of the Opsgenie service.
	Id string `json:"id"`
	// Opsgenie service resource type.
	Type OpsgenieServiceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OpsgenieServiceUpdateData Opsgenie service for an update request.

func NewOpsgenieServiceUpdateData ¶ added in v1.15.0

func NewOpsgenieServiceUpdateData(attributes OpsgenieServiceUpdateAttributes, id string, typeVar OpsgenieServiceType) *OpsgenieServiceUpdateData

NewOpsgenieServiceUpdateData instantiates a new OpsgenieServiceUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOpsgenieServiceUpdateDataWithDefaults ¶ added in v1.15.0

func NewOpsgenieServiceUpdateDataWithDefaults() *OpsgenieServiceUpdateData

NewOpsgenieServiceUpdateDataWithDefaults instantiates a new OpsgenieServiceUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OpsgenieServiceUpdateData) GetAttributes ¶ added in v1.15.0

GetAttributes returns the Attributes field value.

func (*OpsgenieServiceUpdateData) GetAttributesOk ¶ added in v1.15.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*OpsgenieServiceUpdateData) GetId ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateData) GetId() string

GetId returns the Id field value.

func (*OpsgenieServiceUpdateData) GetIdOk ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*OpsgenieServiceUpdateData) GetType ¶ added in v1.15.0

GetType returns the Type field value.

func (*OpsgenieServiceUpdateData) GetTypeOk ¶ added in v1.15.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (OpsgenieServiceUpdateData) MarshalJSON ¶ added in v1.15.0

func (o OpsgenieServiceUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceUpdateData) SetAttributes ¶ added in v1.15.0

SetAttributes sets field value.

func (*OpsgenieServiceUpdateData) SetId ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateData) SetId(v string)

SetId sets field value.

func (*OpsgenieServiceUpdateData) SetType ¶ added in v1.15.0

SetType sets field value.

func (*OpsgenieServiceUpdateData) UnmarshalJSON ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceUpdateRequest ¶ added in v1.15.0

type OpsgenieServiceUpdateRequest struct {
	// Opsgenie service for an update request.
	Data OpsgenieServiceUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OpsgenieServiceUpdateRequest Update request for an Opsgenie service.

func NewOpsgenieServiceUpdateRequest ¶ added in v1.15.0

func NewOpsgenieServiceUpdateRequest(data OpsgenieServiceUpdateData) *OpsgenieServiceUpdateRequest

NewOpsgenieServiceUpdateRequest instantiates a new OpsgenieServiceUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOpsgenieServiceUpdateRequestWithDefaults ¶ added in v1.15.0

func NewOpsgenieServiceUpdateRequestWithDefaults() *OpsgenieServiceUpdateRequest

NewOpsgenieServiceUpdateRequestWithDefaults instantiates a new OpsgenieServiceUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OpsgenieServiceUpdateRequest) GetData ¶ added in v1.15.0

GetData returns the Data field value.

func (*OpsgenieServiceUpdateRequest) GetDataOk ¶ added in v1.15.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (OpsgenieServiceUpdateRequest) MarshalJSON ¶ added in v1.15.0

func (o OpsgenieServiceUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceUpdateRequest) SetData ¶ added in v1.15.0

SetData sets field value.

func (*OpsgenieServiceUpdateRequest) UnmarshalJSON ¶ added in v1.15.0

func (o *OpsgenieServiceUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServicesResponse ¶ added in v1.15.0

type OpsgenieServicesResponse struct {
	// An array of Opsgenie services.
	Data []OpsgenieServiceResponseData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OpsgenieServicesResponse Response with a list of Opsgenie services.

func NewOpsgenieServicesResponse ¶ added in v1.15.0

func NewOpsgenieServicesResponse(data []OpsgenieServiceResponseData) *OpsgenieServicesResponse

NewOpsgenieServicesResponse instantiates a new OpsgenieServicesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOpsgenieServicesResponseWithDefaults ¶ added in v1.15.0

func NewOpsgenieServicesResponseWithDefaults() *OpsgenieServicesResponse

NewOpsgenieServicesResponseWithDefaults instantiates a new OpsgenieServicesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OpsgenieServicesResponse) GetData ¶ added in v1.15.0

GetData returns the Data field value.

func (*OpsgenieServicesResponse) GetDataOk ¶ added in v1.15.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (OpsgenieServicesResponse) MarshalJSON ¶ added in v1.15.0

func (o OpsgenieServicesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServicesResponse) SetData ¶ added in v1.15.0

SetData sets field value.

func (*OpsgenieServicesResponse) UnmarshalJSON ¶ added in v1.15.0

func (o *OpsgenieServicesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Organization ¶

type Organization struct {
	// Attributes of the organization.
	Attributes *OrganizationAttributes `json:"attributes,omitempty"`
	// ID of the organization.
	Id *string `json:"id,omitempty"`
	// Organizations resource type.
	Type OrganizationsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Organization Organization object.

func NewOrganization ¶

func NewOrganization(typeVar OrganizationsType) *Organization

NewOrganization instantiates a new Organization object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOrganizationWithDefaults ¶

func NewOrganizationWithDefaults() *Organization

NewOrganizationWithDefaults instantiates a new Organization object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*Organization) GetAttributes ¶

func (o *Organization) GetAttributes() OrganizationAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Organization) GetAttributesOk ¶

func (o *Organization) GetAttributesOk() (*OrganizationAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetId ¶

func (o *Organization) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Organization) GetIdOk ¶

func (o *Organization) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetType ¶

func (o *Organization) GetType() OrganizationsType

GetType returns the Type field value.

func (*Organization) GetTypeOk ¶

func (o *Organization) GetTypeOk() (*OrganizationsType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Organization) HasAttributes ¶

func (o *Organization) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Organization) HasId ¶

func (o *Organization) HasId() bool

HasId returns a boolean if a field has been set.

func (Organization) MarshalJSON ¶

func (o Organization) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Organization) SetAttributes ¶

func (o *Organization) SetAttributes(v OrganizationAttributes)

SetAttributes gets a reference to the given OrganizationAttributes and assigns it to the Attributes field.

func (*Organization) SetId ¶

func (o *Organization) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Organization) SetType ¶

func (o *Organization) SetType(v OrganizationsType)

SetType sets field value.

func (*Organization) UnmarshalJSON ¶

func (o *Organization) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationAttributes ¶

type OrganizationAttributes struct {
	// Creation time of the organization.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Description of the organization.
	Description *string `json:"description,omitempty"`
	// Whether or not the organization is disabled.
	Disabled *bool `json:"disabled,omitempty"`
	// Time of last organization modification.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// Name of the organization.
	Name *string `json:"name,omitempty"`
	// Public ID of the organization.
	PublicId *string `json:"public_id,omitempty"`
	// Sharing type of the organization.
	Sharing *string `json:"sharing,omitempty"`
	// URL of the site that this organization exists at.
	Url *string `json:"url,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationAttributes Attributes of the organization.

func NewOrganizationAttributes ¶

func NewOrganizationAttributes() *OrganizationAttributes

NewOrganizationAttributes instantiates a new OrganizationAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOrganizationAttributesWithDefaults ¶

func NewOrganizationAttributesWithDefaults() *OrganizationAttributes

NewOrganizationAttributesWithDefaults instantiates a new OrganizationAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OrganizationAttributes) GetCreatedAt ¶

func (o *OrganizationAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*OrganizationAttributes) GetCreatedAtOk ¶

func (o *OrganizationAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationAttributes) GetDescription ¶

func (o *OrganizationAttributes) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*OrganizationAttributes) GetDescriptionOk ¶

func (o *OrganizationAttributes) 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 (*OrganizationAttributes) GetDisabled ¶

func (o *OrganizationAttributes) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*OrganizationAttributes) GetDisabledOk ¶

func (o *OrganizationAttributes) 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 (*OrganizationAttributes) GetModifiedAt ¶

func (o *OrganizationAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*OrganizationAttributes) GetModifiedAtOk ¶

func (o *OrganizationAttributes) GetModifiedAtOk() (*time.Time, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationAttributes) GetName ¶

func (o *OrganizationAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*OrganizationAttributes) GetNameOk ¶

func (o *OrganizationAttributes) 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 (*OrganizationAttributes) GetPublicId ¶

func (o *OrganizationAttributes) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*OrganizationAttributes) GetPublicIdOk ¶

func (o *OrganizationAttributes) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationAttributes) GetSharing ¶

func (o *OrganizationAttributes) GetSharing() string

GetSharing returns the Sharing field value if set, zero value otherwise.

func (*OrganizationAttributes) GetSharingOk ¶

func (o *OrganizationAttributes) GetSharingOk() (*string, bool)

GetSharingOk returns a tuple with the Sharing field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationAttributes) GetUrl ¶

func (o *OrganizationAttributes) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*OrganizationAttributes) GetUrlOk ¶

func (o *OrganizationAttributes) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationAttributes) HasCreatedAt ¶

func (o *OrganizationAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*OrganizationAttributes) HasDescription ¶

func (o *OrganizationAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*OrganizationAttributes) HasDisabled ¶

func (o *OrganizationAttributes) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*OrganizationAttributes) HasModifiedAt ¶

func (o *OrganizationAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*OrganizationAttributes) HasName ¶

func (o *OrganizationAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*OrganizationAttributes) HasPublicId ¶

func (o *OrganizationAttributes) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*OrganizationAttributes) HasSharing ¶

func (o *OrganizationAttributes) HasSharing() bool

HasSharing returns a boolean if a field has been set.

func (*OrganizationAttributes) HasUrl ¶

func (o *OrganizationAttributes) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (OrganizationAttributes) MarshalJSON ¶

func (o OrganizationAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrganizationAttributes) SetCreatedAt ¶

func (o *OrganizationAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*OrganizationAttributes) SetDescription ¶

func (o *OrganizationAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*OrganizationAttributes) SetDisabled ¶

func (o *OrganizationAttributes) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*OrganizationAttributes) SetModifiedAt ¶

func (o *OrganizationAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*OrganizationAttributes) SetName ¶

func (o *OrganizationAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*OrganizationAttributes) SetPublicId ¶

func (o *OrganizationAttributes) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*OrganizationAttributes) SetSharing ¶

func (o *OrganizationAttributes) SetSharing(v string)

SetSharing gets a reference to the given string and assigns it to the Sharing field.

func (*OrganizationAttributes) SetUrl ¶

func (o *OrganizationAttributes) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*OrganizationAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationsApiService ¶ added in v1.13.0

type OrganizationsApiService service

OrganizationsApiService OrganizationsApi service.

func (*OrganizationsApiService) UploadIdPMetadata ¶ added in v1.13.0

UploadIdPMetadata Upload IdP metadata. Endpoint for uploading IdP metadata for SAML setup.

Use this endpoint to upload or replace IdP metadata for SAML login configuration.

type OrganizationsType ¶

type OrganizationsType string

OrganizationsType Organizations resource type.

const (
	ORGANIZATIONSTYPE_ORGS OrganizationsType = "orgs"
)

List of OrganizationsType.

func NewOrganizationsTypeFromValue ¶

func NewOrganizationsTypeFromValue(v string) (*OrganizationsType, error)

NewOrganizationsTypeFromValue returns a pointer to a valid OrganizationsType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*OrganizationsType) GetAllowedValues ¶ added in v1.1.0

func (v *OrganizationsType) GetAllowedValues() []OrganizationsType

GetAllowedValues reeturns the list of possible values.

func (OrganizationsType) IsValid ¶

func (v OrganizationsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (OrganizationsType) Ptr ¶

Ptr returns reference to OrganizationsType value.

func (*OrganizationsType) UnmarshalJSON ¶

func (v *OrganizationsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type Pagination ¶

type Pagination struct {
	// Total count.
	TotalCount *int64 `json:"total_count,omitempty"`
	// Total count of elements matched by the filter.
	TotalFilteredCount *int64 `json:"total_filtered_count,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Pagination Pagination object.

func NewPagination ¶

func NewPagination() *Pagination

NewPagination instantiates a new Pagination object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewPaginationWithDefaults ¶

func NewPaginationWithDefaults() *Pagination

NewPaginationWithDefaults instantiates a new Pagination object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*Pagination) GetTotalCount ¶

func (o *Pagination) GetTotalCount() int64

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*Pagination) GetTotalCountOk ¶

func (o *Pagination) GetTotalCountOk() (*int64, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pagination) GetTotalFilteredCount ¶

func (o *Pagination) GetTotalFilteredCount() int64

GetTotalFilteredCount returns the TotalFilteredCount field value if set, zero value otherwise.

func (*Pagination) GetTotalFilteredCountOk ¶

func (o *Pagination) GetTotalFilteredCountOk() (*int64, bool)

GetTotalFilteredCountOk returns a tuple with the TotalFilteredCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pagination) HasTotalCount ¶

func (o *Pagination) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*Pagination) HasTotalFilteredCount ¶

func (o *Pagination) HasTotalFilteredCount() bool

HasTotalFilteredCount returns a boolean if a field has been set.

func (Pagination) MarshalJSON ¶

func (o Pagination) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Pagination) SetTotalCount ¶

func (o *Pagination) SetTotalCount(v int64)

SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.

func (*Pagination) SetTotalFilteredCount ¶

func (o *Pagination) SetTotalFilteredCount(v int64)

SetTotalFilteredCount gets a reference to the given int64 and assigns it to the TotalFilteredCount field.

func (*Pagination) UnmarshalJSON ¶ added in v1.3.0

func (o *Pagination) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PartialAPIKey ¶

type PartialAPIKey struct {
	// Attributes of a partial API key.
	Attributes *PartialAPIKeyAttributes `json:"attributes,omitempty"`
	// ID of the API key.
	Id *string `json:"id,omitempty"`
	// Resources related to the API key.
	Relationships *APIKeyRelationships `json:"relationships,omitempty"`
	// API Keys resource type.
	Type *APIKeysType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PartialAPIKey Partial Datadog API key.

func NewPartialAPIKey ¶

func NewPartialAPIKey() *PartialAPIKey

NewPartialAPIKey instantiates a new PartialAPIKey object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewPartialAPIKeyWithDefaults ¶

func NewPartialAPIKeyWithDefaults() *PartialAPIKey

NewPartialAPIKeyWithDefaults instantiates a new PartialAPIKey object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*PartialAPIKey) GetAttributes ¶

func (o *PartialAPIKey) GetAttributes() PartialAPIKeyAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*PartialAPIKey) GetAttributesOk ¶

func (o *PartialAPIKey) GetAttributesOk() (*PartialAPIKeyAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialAPIKey) GetId ¶

func (o *PartialAPIKey) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PartialAPIKey) GetIdOk ¶

func (o *PartialAPIKey) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialAPIKey) GetRelationships ¶

func (o *PartialAPIKey) GetRelationships() APIKeyRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*PartialAPIKey) GetRelationshipsOk ¶

func (o *PartialAPIKey) GetRelationshipsOk() (*APIKeyRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialAPIKey) GetType ¶

func (o *PartialAPIKey) GetType() APIKeysType

GetType returns the Type field value if set, zero value otherwise.

func (*PartialAPIKey) GetTypeOk ¶

func (o *PartialAPIKey) GetTypeOk() (*APIKeysType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialAPIKey) HasAttributes ¶

func (o *PartialAPIKey) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*PartialAPIKey) HasId ¶

func (o *PartialAPIKey) HasId() bool

HasId returns a boolean if a field has been set.

func (*PartialAPIKey) HasRelationships ¶

func (o *PartialAPIKey) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*PartialAPIKey) HasType ¶

func (o *PartialAPIKey) HasType() bool

HasType returns a boolean if a field has been set.

func (PartialAPIKey) MarshalJSON ¶

func (o PartialAPIKey) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PartialAPIKey) SetAttributes ¶

func (o *PartialAPIKey) SetAttributes(v PartialAPIKeyAttributes)

SetAttributes gets a reference to the given PartialAPIKeyAttributes and assigns it to the Attributes field.

func (*PartialAPIKey) SetId ¶

func (o *PartialAPIKey) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PartialAPIKey) SetRelationships ¶

func (o *PartialAPIKey) SetRelationships(v APIKeyRelationships)

SetRelationships gets a reference to the given APIKeyRelationships and assigns it to the Relationships field.

func (*PartialAPIKey) SetType ¶

func (o *PartialAPIKey) SetType(v APIKeysType)

SetType gets a reference to the given APIKeysType and assigns it to the Type field.

func (*PartialAPIKey) UnmarshalJSON ¶ added in v1.3.0

func (o *PartialAPIKey) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PartialAPIKeyAttributes ¶

type PartialAPIKeyAttributes struct {
	// Creation date of the API key.
	CreatedAt *string `json:"created_at,omitempty"`
	// The last four characters of the API key.
	Last4 *string `json:"last4,omitempty"`
	// Date the API key was last modified.
	ModifiedAt *string `json:"modified_at,omitempty"`
	// Name of the API key.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PartialAPIKeyAttributes Attributes of a partial API key.

func NewPartialAPIKeyAttributes ¶

func NewPartialAPIKeyAttributes() *PartialAPIKeyAttributes

NewPartialAPIKeyAttributes instantiates a new PartialAPIKeyAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewPartialAPIKeyAttributesWithDefaults ¶

func NewPartialAPIKeyAttributesWithDefaults() *PartialAPIKeyAttributes

NewPartialAPIKeyAttributesWithDefaults instantiates a new PartialAPIKeyAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*PartialAPIKeyAttributes) GetCreatedAt ¶

func (o *PartialAPIKeyAttributes) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PartialAPIKeyAttributes) GetCreatedAtOk ¶

func (o *PartialAPIKeyAttributes) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialAPIKeyAttributes) GetLast4 ¶

func (o *PartialAPIKeyAttributes) GetLast4() string

GetLast4 returns the Last4 field value if set, zero value otherwise.

func (*PartialAPIKeyAttributes) GetLast4Ok ¶

func (o *PartialAPIKeyAttributes) GetLast4Ok() (*string, bool)

GetLast4Ok returns a tuple with the Last4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialAPIKeyAttributes) GetModifiedAt ¶

func (o *PartialAPIKeyAttributes) GetModifiedAt() string

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*PartialAPIKeyAttributes) GetModifiedAtOk ¶

func (o *PartialAPIKeyAttributes) GetModifiedAtOk() (*string, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialAPIKeyAttributes) GetName ¶

func (o *PartialAPIKeyAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PartialAPIKeyAttributes) GetNameOk ¶

func (o *PartialAPIKeyAttributes) 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 (*PartialAPIKeyAttributes) HasCreatedAt ¶

func (o *PartialAPIKeyAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PartialAPIKeyAttributes) HasLast4 ¶

func (o *PartialAPIKeyAttributes) HasLast4() bool

HasLast4 returns a boolean if a field has been set.

func (*PartialAPIKeyAttributes) HasModifiedAt ¶

func (o *PartialAPIKeyAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*PartialAPIKeyAttributes) HasName ¶

func (o *PartialAPIKeyAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (PartialAPIKeyAttributes) MarshalJSON ¶

func (o PartialAPIKeyAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PartialAPIKeyAttributes) SetCreatedAt ¶

func (o *PartialAPIKeyAttributes) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*PartialAPIKeyAttributes) SetLast4 ¶

func (o *PartialAPIKeyAttributes) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*PartialAPIKeyAttributes) SetModifiedAt ¶

func (o *PartialAPIKeyAttributes) SetModifiedAt(v string)

SetModifiedAt gets a reference to the given string and assigns it to the ModifiedAt field.

func (*PartialAPIKeyAttributes) SetName ¶

func (o *PartialAPIKeyAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PartialAPIKeyAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *PartialAPIKeyAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PartialApplicationKey ¶

type PartialApplicationKey struct {
	// Attributes of a partial application key.
	Attributes *PartialApplicationKeyAttributes `json:"attributes,omitempty"`
	// ID of the application key.
	Id *string `json:"id,omitempty"`
	// Resources related to the application key.
	Relationships *ApplicationKeyRelationships `json:"relationships,omitempty"`
	// Application Keys resource type.
	Type *ApplicationKeysType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PartialApplicationKey Partial Datadog application key.

func NewPartialApplicationKey ¶

func NewPartialApplicationKey() *PartialApplicationKey

NewPartialApplicationKey instantiates a new PartialApplicationKey object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewPartialApplicationKeyWithDefaults ¶

func NewPartialApplicationKeyWithDefaults() *PartialApplicationKey

NewPartialApplicationKeyWithDefaults instantiates a new PartialApplicationKey object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*PartialApplicationKey) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*PartialApplicationKey) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKey) GetId ¶

func (o *PartialApplicationKey) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PartialApplicationKey) GetIdOk ¶

func (o *PartialApplicationKey) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKey) GetRelationships ¶

func (o *PartialApplicationKey) GetRelationships() ApplicationKeyRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*PartialApplicationKey) GetRelationshipsOk ¶

func (o *PartialApplicationKey) GetRelationshipsOk() (*ApplicationKeyRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKey) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*PartialApplicationKey) GetTypeOk ¶

func (o *PartialApplicationKey) GetTypeOk() (*ApplicationKeysType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKey) HasAttributes ¶

func (o *PartialApplicationKey) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*PartialApplicationKey) HasId ¶

func (o *PartialApplicationKey) HasId() bool

HasId returns a boolean if a field has been set.

func (*PartialApplicationKey) HasRelationships ¶

func (o *PartialApplicationKey) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*PartialApplicationKey) HasType ¶

func (o *PartialApplicationKey) HasType() bool

HasType returns a boolean if a field has been set.

func (PartialApplicationKey) MarshalJSON ¶

func (o PartialApplicationKey) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PartialApplicationKey) SetAttributes ¶

SetAttributes gets a reference to the given PartialApplicationKeyAttributes and assigns it to the Attributes field.

func (*PartialApplicationKey) SetId ¶

func (o *PartialApplicationKey) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PartialApplicationKey) SetRelationships ¶

func (o *PartialApplicationKey) SetRelationships(v ApplicationKeyRelationships)

SetRelationships gets a reference to the given ApplicationKeyRelationships and assigns it to the Relationships field.

func (*PartialApplicationKey) SetType ¶

SetType gets a reference to the given ApplicationKeysType and assigns it to the Type field.

func (*PartialApplicationKey) UnmarshalJSON ¶ added in v1.3.0

func (o *PartialApplicationKey) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PartialApplicationKeyAttributes ¶

type PartialApplicationKeyAttributes struct {
	// Creation date of the application key.
	CreatedAt *string `json:"created_at,omitempty"`
	// The last four characters of the application key.
	Last4 *string `json:"last4,omitempty"`
	// Name of the application key.
	Name *string `json:"name,omitempty"`
	// Array of scopes to grant the application key. This feature is in private beta, please contact Datadog support to enable scopes for your application keys.
	Scopes []string `json:"scopes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PartialApplicationKeyAttributes Attributes of a partial application key.

func NewPartialApplicationKeyAttributes ¶

func NewPartialApplicationKeyAttributes() *PartialApplicationKeyAttributes

NewPartialApplicationKeyAttributes instantiates a new PartialApplicationKeyAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewPartialApplicationKeyAttributesWithDefaults ¶

func NewPartialApplicationKeyAttributesWithDefaults() *PartialApplicationKeyAttributes

NewPartialApplicationKeyAttributesWithDefaults instantiates a new PartialApplicationKeyAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*PartialApplicationKeyAttributes) GetCreatedAt ¶

func (o *PartialApplicationKeyAttributes) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PartialApplicationKeyAttributes) GetCreatedAtOk ¶

func (o *PartialApplicationKeyAttributes) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKeyAttributes) GetLast4 ¶

GetLast4 returns the Last4 field value if set, zero value otherwise.

func (*PartialApplicationKeyAttributes) GetLast4Ok ¶

func (o *PartialApplicationKeyAttributes) GetLast4Ok() (*string, bool)

GetLast4Ok returns a tuple with the Last4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKeyAttributes) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PartialApplicationKeyAttributes) GetNameOk ¶

func (o *PartialApplicationKeyAttributes) 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 (*PartialApplicationKeyAttributes) GetScopes ¶ added in v1.8.0

func (o *PartialApplicationKeyAttributes) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PartialApplicationKeyAttributes) GetScopesOk ¶ added in v1.8.0

func (o *PartialApplicationKeyAttributes) GetScopesOk() (*[]string, bool)

GetScopesOk returns a tuple with the Scopes 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 (*PartialApplicationKeyAttributes) HasCreatedAt ¶

func (o *PartialApplicationKeyAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PartialApplicationKeyAttributes) HasLast4 ¶

func (o *PartialApplicationKeyAttributes) HasLast4() bool

HasLast4 returns a boolean if a field has been set.

func (*PartialApplicationKeyAttributes) HasName ¶

HasName returns a boolean if a field has been set.

func (*PartialApplicationKeyAttributes) HasScopes ¶ added in v1.8.0

func (o *PartialApplicationKeyAttributes) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (PartialApplicationKeyAttributes) MarshalJSON ¶

func (o PartialApplicationKeyAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PartialApplicationKeyAttributes) SetCreatedAt ¶

func (o *PartialApplicationKeyAttributes) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*PartialApplicationKeyAttributes) SetLast4 ¶

func (o *PartialApplicationKeyAttributes) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*PartialApplicationKeyAttributes) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PartialApplicationKeyAttributes) SetScopes ¶ added in v1.8.0

func (o *PartialApplicationKeyAttributes) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*PartialApplicationKeyAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *PartialApplicationKeyAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PartialApplicationKeyResponse ¶ added in v1.3.0

type PartialApplicationKeyResponse struct {
	// Partial Datadog application key.
	Data *PartialApplicationKey `json:"data,omitempty"`
	// Array of objects related to the application key.
	Included []ApplicationKeyResponseIncludedItem `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PartialApplicationKeyResponse Response for retrieving a partial application key.

func NewPartialApplicationKeyResponse ¶ added in v1.3.0

func NewPartialApplicationKeyResponse() *PartialApplicationKeyResponse

NewPartialApplicationKeyResponse instantiates a new PartialApplicationKeyResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewPartialApplicationKeyResponseWithDefaults ¶ added in v1.3.0

func NewPartialApplicationKeyResponseWithDefaults() *PartialApplicationKeyResponse

NewPartialApplicationKeyResponseWithDefaults instantiates a new PartialApplicationKeyResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*PartialApplicationKeyResponse) GetData ¶ added in v1.3.0

GetData returns the Data field value if set, zero value otherwise.

func (*PartialApplicationKeyResponse) GetDataOk ¶ added in v1.3.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKeyResponse) GetIncluded ¶ added in v1.3.0

GetIncluded returns the Included field value if set, zero value otherwise.

func (*PartialApplicationKeyResponse) GetIncludedOk ¶ added in v1.3.0

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKeyResponse) HasData ¶ added in v1.3.0

func (o *PartialApplicationKeyResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*PartialApplicationKeyResponse) HasIncluded ¶ added in v1.3.0

func (o *PartialApplicationKeyResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (PartialApplicationKeyResponse) MarshalJSON ¶ added in v1.3.0

func (o PartialApplicationKeyResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PartialApplicationKeyResponse) SetData ¶ added in v1.3.0

SetData gets a reference to the given PartialApplicationKey and assigns it to the Data field.

func (*PartialApplicationKeyResponse) SetIncluded ¶ added in v1.3.0

SetIncluded gets a reference to the given []ApplicationKeyResponseIncludedItem and assigns it to the Included field.

func (*PartialApplicationKeyResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *PartialApplicationKeyResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Permission ¶

type Permission struct {
	// Attributes of a permission.
	Attributes *PermissionAttributes `json:"attributes,omitempty"`
	// ID of the permission.
	Id *string `json:"id,omitempty"`
	// Permissions resource type.
	Type PermissionsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Permission Permission object.

func NewPermission ¶

func NewPermission(typeVar PermissionsType) *Permission

NewPermission instantiates a new Permission object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewPermissionWithDefaults ¶

func NewPermissionWithDefaults() *Permission

NewPermissionWithDefaults instantiates a new Permission object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*Permission) GetAttributes ¶

func (o *Permission) GetAttributes() PermissionAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Permission) GetAttributesOk ¶

func (o *Permission) GetAttributesOk() (*PermissionAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Permission) GetId ¶

func (o *Permission) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Permission) GetIdOk ¶

func (o *Permission) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Permission) GetType ¶

func (o *Permission) GetType() PermissionsType

GetType returns the Type field value.

func (*Permission) GetTypeOk ¶

func (o *Permission) GetTypeOk() (*PermissionsType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Permission) HasAttributes ¶

func (o *Permission) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Permission) HasId ¶

func (o *Permission) HasId() bool

HasId returns a boolean if a field has been set.

func (Permission) MarshalJSON ¶

func (o Permission) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Permission) SetAttributes ¶

func (o *Permission) SetAttributes(v PermissionAttributes)

SetAttributes gets a reference to the given PermissionAttributes and assigns it to the Attributes field.

func (*Permission) SetId ¶

func (o *Permission) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Permission) SetType ¶

func (o *Permission) SetType(v PermissionsType)

SetType sets field value.

func (*Permission) UnmarshalJSON ¶

func (o *Permission) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PermissionAttributes ¶

type PermissionAttributes struct {
	// Creation time of the permission.
	Created *time.Time `json:"created,omitempty"`
	// Description of the permission.
	Description *string `json:"description,omitempty"`
	// Displayed name for the permission.
	DisplayName *string `json:"display_name,omitempty"`
	// Display type.
	DisplayType *string `json:"display_type,omitempty"`
	// Name of the permission group.
	GroupName *string `json:"group_name,omitempty"`
	// Name of the permission.
	Name *string `json:"name,omitempty"`
	// Whether or not the permission is restricted.
	Restricted *bool `json:"restricted,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PermissionAttributes Attributes of a permission.

func NewPermissionAttributes ¶

func NewPermissionAttributes() *PermissionAttributes

NewPermissionAttributes instantiates a new PermissionAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewPermissionAttributesWithDefaults ¶

func NewPermissionAttributesWithDefaults() *PermissionAttributes

NewPermissionAttributesWithDefaults instantiates a new PermissionAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*PermissionAttributes) GetCreated ¶

func (o *PermissionAttributes) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*PermissionAttributes) GetCreatedOk ¶

func (o *PermissionAttributes) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionAttributes) GetDescription ¶

func (o *PermissionAttributes) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*PermissionAttributes) GetDescriptionOk ¶

func (o *PermissionAttributes) 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 (*PermissionAttributes) GetDisplayName ¶

func (o *PermissionAttributes) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*PermissionAttributes) GetDisplayNameOk ¶

func (o *PermissionAttributes) 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 (*PermissionAttributes) GetDisplayType ¶

func (o *PermissionAttributes) GetDisplayType() string

GetDisplayType returns the DisplayType field value if set, zero value otherwise.

func (*PermissionAttributes) GetDisplayTypeOk ¶

func (o *PermissionAttributes) GetDisplayTypeOk() (*string, bool)

GetDisplayTypeOk returns a tuple with the DisplayType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionAttributes) GetGroupName ¶

func (o *PermissionAttributes) GetGroupName() string

GetGroupName returns the GroupName field value if set, zero value otherwise.

func (*PermissionAttributes) GetGroupNameOk ¶

func (o *PermissionAttributes) GetGroupNameOk() (*string, bool)

GetGroupNameOk returns a tuple with the GroupName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionAttributes) GetName ¶

func (o *PermissionAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PermissionAttributes) GetNameOk ¶

func (o *PermissionAttributes) 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 (*PermissionAttributes) GetRestricted ¶

func (o *PermissionAttributes) GetRestricted() bool

GetRestricted returns the Restricted field value if set, zero value otherwise.

func (*PermissionAttributes) GetRestrictedOk ¶

func (o *PermissionAttributes) GetRestrictedOk() (*bool, bool)

GetRestrictedOk returns a tuple with the Restricted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionAttributes) HasCreated ¶

func (o *PermissionAttributes) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*PermissionAttributes) HasDescription ¶

func (o *PermissionAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PermissionAttributes) HasDisplayName ¶

func (o *PermissionAttributes) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*PermissionAttributes) HasDisplayType ¶

func (o *PermissionAttributes) HasDisplayType() bool

HasDisplayType returns a boolean if a field has been set.

func (*PermissionAttributes) HasGroupName ¶

func (o *PermissionAttributes) HasGroupName() bool

HasGroupName returns a boolean if a field has been set.

func (*PermissionAttributes) HasName ¶

func (o *PermissionAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*PermissionAttributes) HasRestricted ¶

func (o *PermissionAttributes) HasRestricted() bool

HasRestricted returns a boolean if a field has been set.

func (PermissionAttributes) MarshalJSON ¶

func (o PermissionAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PermissionAttributes) SetCreated ¶

func (o *PermissionAttributes) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*PermissionAttributes) SetDescription ¶

func (o *PermissionAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*PermissionAttributes) SetDisplayName ¶

func (o *PermissionAttributes) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*PermissionAttributes) SetDisplayType ¶

func (o *PermissionAttributes) SetDisplayType(v string)

SetDisplayType gets a reference to the given string and assigns it to the DisplayType field.

func (*PermissionAttributes) SetGroupName ¶

func (o *PermissionAttributes) SetGroupName(v string)

SetGroupName gets a reference to the given string and assigns it to the GroupName field.

func (*PermissionAttributes) SetName ¶

func (o *PermissionAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PermissionAttributes) SetRestricted ¶

func (o *PermissionAttributes) SetRestricted(v bool)

SetRestricted gets a reference to the given bool and assigns it to the Restricted field.

func (*PermissionAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *PermissionAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PermissionsResponse ¶

type PermissionsResponse struct {
	// Array of permissions.
	Data []Permission `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PermissionsResponse Payload with API-returned permissions.

func NewPermissionsResponse ¶

func NewPermissionsResponse() *PermissionsResponse

NewPermissionsResponse instantiates a new PermissionsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewPermissionsResponseWithDefaults ¶

func NewPermissionsResponseWithDefaults() *PermissionsResponse

NewPermissionsResponseWithDefaults instantiates a new PermissionsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*PermissionsResponse) GetData ¶

func (o *PermissionsResponse) GetData() []Permission

GetData returns the Data field value if set, zero value otherwise.

func (*PermissionsResponse) GetDataOk ¶

func (o *PermissionsResponse) GetDataOk() (*[]Permission, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionsResponse) HasData ¶

func (o *PermissionsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (PermissionsResponse) MarshalJSON ¶

func (o PermissionsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PermissionsResponse) SetData ¶

func (o *PermissionsResponse) SetData(v []Permission)

SetData gets a reference to the given []Permission and assigns it to the Data field.

func (*PermissionsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *PermissionsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PermissionsType ¶

type PermissionsType string

PermissionsType Permissions resource type.

const (
	PERMISSIONSTYPE_PERMISSIONS PermissionsType = "permissions"
)

List of PermissionsType.

func NewPermissionsTypeFromValue ¶

func NewPermissionsTypeFromValue(v string) (*PermissionsType, error)

NewPermissionsTypeFromValue returns a pointer to a valid PermissionsType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*PermissionsType) GetAllowedValues ¶ added in v1.1.0

func (v *PermissionsType) GetAllowedValues() []PermissionsType

GetAllowedValues reeturns the list of possible values.

func (PermissionsType) IsValid ¶

func (v PermissionsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (PermissionsType) Ptr ¶

Ptr returns reference to PermissionsType value.

func (*PermissionsType) UnmarshalJSON ¶

func (v *PermissionsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ProcessSummariesMeta ¶

type ProcessSummariesMeta struct {
	// Paging attributes.
	Page *ProcessSummariesMetaPage `json:"page,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ProcessSummariesMeta Response metadata object.

func NewProcessSummariesMeta ¶

func NewProcessSummariesMeta() *ProcessSummariesMeta

NewProcessSummariesMeta instantiates a new ProcessSummariesMeta object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewProcessSummariesMetaWithDefaults ¶

func NewProcessSummariesMetaWithDefaults() *ProcessSummariesMeta

NewProcessSummariesMetaWithDefaults instantiates a new ProcessSummariesMeta object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ProcessSummariesMeta) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*ProcessSummariesMeta) GetPageOk ¶

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummariesMeta) HasPage ¶

func (o *ProcessSummariesMeta) HasPage() bool

HasPage returns a boolean if a field has been set.

func (ProcessSummariesMeta) MarshalJSON ¶

func (o ProcessSummariesMeta) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ProcessSummariesMeta) SetPage ¶

SetPage gets a reference to the given ProcessSummariesMetaPage and assigns it to the Page field.

func (*ProcessSummariesMeta) UnmarshalJSON ¶ added in v1.3.0

func (o *ProcessSummariesMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ProcessSummariesMetaPage ¶

type ProcessSummariesMetaPage struct {
	// The cursor used to get the next results, if any. To make the next request, use the same
	// parameters with the addition of the `page[cursor]`.
	After *string `json:"after,omitempty"`
	// Number of results returned.
	Size *int32 `json:"size,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ProcessSummariesMetaPage Paging attributes.

func NewProcessSummariesMetaPage ¶

func NewProcessSummariesMetaPage() *ProcessSummariesMetaPage

NewProcessSummariesMetaPage instantiates a new ProcessSummariesMetaPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewProcessSummariesMetaPageWithDefaults ¶

func NewProcessSummariesMetaPageWithDefaults() *ProcessSummariesMetaPage

NewProcessSummariesMetaPageWithDefaults instantiates a new ProcessSummariesMetaPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ProcessSummariesMetaPage) GetAfter ¶

func (o *ProcessSummariesMetaPage) GetAfter() string

GetAfter returns the After field value if set, zero value otherwise.

func (*ProcessSummariesMetaPage) GetAfterOk ¶

func (o *ProcessSummariesMetaPage) GetAfterOk() (*string, bool)

GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummariesMetaPage) GetSize ¶

func (o *ProcessSummariesMetaPage) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*ProcessSummariesMetaPage) GetSizeOk ¶

func (o *ProcessSummariesMetaPage) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummariesMetaPage) HasAfter ¶

func (o *ProcessSummariesMetaPage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (*ProcessSummariesMetaPage) HasSize ¶

func (o *ProcessSummariesMetaPage) HasSize() bool

HasSize returns a boolean if a field has been set.

func (ProcessSummariesMetaPage) MarshalJSON ¶

func (o ProcessSummariesMetaPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ProcessSummariesMetaPage) SetAfter ¶

func (o *ProcessSummariesMetaPage) SetAfter(v string)

SetAfter gets a reference to the given string and assigns it to the After field.

func (*ProcessSummariesMetaPage) SetSize ¶

func (o *ProcessSummariesMetaPage) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*ProcessSummariesMetaPage) UnmarshalJSON ¶ added in v1.3.0

func (o *ProcessSummariesMetaPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ProcessSummariesResponse ¶

type ProcessSummariesResponse struct {
	// Array of process summary objects.
	Data []ProcessSummary `json:"data,omitempty"`
	// Response metadata object.
	Meta *ProcessSummariesMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ProcessSummariesResponse List of process summaries.

func NewProcessSummariesResponse ¶

func NewProcessSummariesResponse() *ProcessSummariesResponse

NewProcessSummariesResponse instantiates a new ProcessSummariesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewProcessSummariesResponseWithDefaults ¶

func NewProcessSummariesResponseWithDefaults() *ProcessSummariesResponse

NewProcessSummariesResponseWithDefaults instantiates a new ProcessSummariesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ProcessSummariesResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*ProcessSummariesResponse) GetDataOk ¶

func (o *ProcessSummariesResponse) GetDataOk() (*[]ProcessSummary, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummariesResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*ProcessSummariesResponse) GetMetaOk ¶

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummariesResponse) HasData ¶

func (o *ProcessSummariesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*ProcessSummariesResponse) HasMeta ¶

func (o *ProcessSummariesResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (ProcessSummariesResponse) MarshalJSON ¶

func (o ProcessSummariesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ProcessSummariesResponse) SetData ¶

func (o *ProcessSummariesResponse) SetData(v []ProcessSummary)

SetData gets a reference to the given []ProcessSummary and assigns it to the Data field.

func (*ProcessSummariesResponse) SetMeta ¶

SetMeta gets a reference to the given ProcessSummariesMeta and assigns it to the Meta field.

func (*ProcessSummariesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *ProcessSummariesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ProcessSummary ¶

type ProcessSummary struct {
	// Attributes for a process summary.
	Attributes *ProcessSummaryAttributes `json:"attributes,omitempty"`
	// Process ID.
	Id *string `json:"id,omitempty"`
	// Type of process summary.
	Type *ProcessSummaryType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ProcessSummary Process summary object.

func NewProcessSummary ¶

func NewProcessSummary() *ProcessSummary

NewProcessSummary instantiates a new ProcessSummary object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewProcessSummaryWithDefaults ¶

func NewProcessSummaryWithDefaults() *ProcessSummary

NewProcessSummaryWithDefaults instantiates a new ProcessSummary object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ProcessSummary) GetAttributes ¶

func (o *ProcessSummary) GetAttributes() ProcessSummaryAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ProcessSummary) GetAttributesOk ¶

func (o *ProcessSummary) GetAttributesOk() (*ProcessSummaryAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummary) GetId ¶

func (o *ProcessSummary) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ProcessSummary) GetIdOk ¶

func (o *ProcessSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummary) GetType ¶

func (o *ProcessSummary) GetType() ProcessSummaryType

GetType returns the Type field value if set, zero value otherwise.

func (*ProcessSummary) GetTypeOk ¶

func (o *ProcessSummary) GetTypeOk() (*ProcessSummaryType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummary) HasAttributes ¶

func (o *ProcessSummary) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*ProcessSummary) HasId ¶

func (o *ProcessSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (*ProcessSummary) HasType ¶

func (o *ProcessSummary) HasType() bool

HasType returns a boolean if a field has been set.

func (ProcessSummary) MarshalJSON ¶

func (o ProcessSummary) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ProcessSummary) SetAttributes ¶

func (o *ProcessSummary) SetAttributes(v ProcessSummaryAttributes)

SetAttributes gets a reference to the given ProcessSummaryAttributes and assigns it to the Attributes field.

func (*ProcessSummary) SetId ¶

func (o *ProcessSummary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ProcessSummary) SetType ¶

func (o *ProcessSummary) SetType(v ProcessSummaryType)

SetType gets a reference to the given ProcessSummaryType and assigns it to the Type field.

func (*ProcessSummary) UnmarshalJSON ¶ added in v1.3.0

func (o *ProcessSummary) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ProcessSummaryAttributes ¶

type ProcessSummaryAttributes struct {
	// Process command line.
	Cmdline *string `json:"cmdline,omitempty"`
	// Host running the process.
	Host *string `json:"host,omitempty"`
	// Process ID.
	Pid *int64 `json:"pid,omitempty"`
	// Parent process ID.
	Ppid *int64 `json:"ppid,omitempty"`
	// Time the process was started.
	Start *string `json:"start,omitempty"`
	// List of tags associated with the process.
	Tags []string `json:"tags,omitempty"`
	// Time the process was seen.
	Timestamp *string `json:"timestamp,omitempty"`
	// Process owner.
	User *string `json:"user,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ProcessSummaryAttributes Attributes for a process summary.

func NewProcessSummaryAttributes ¶

func NewProcessSummaryAttributes() *ProcessSummaryAttributes

NewProcessSummaryAttributes instantiates a new ProcessSummaryAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewProcessSummaryAttributesWithDefaults ¶

func NewProcessSummaryAttributesWithDefaults() *ProcessSummaryAttributes

NewProcessSummaryAttributesWithDefaults instantiates a new ProcessSummaryAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ProcessSummaryAttributes) GetCmdline ¶

func (o *ProcessSummaryAttributes) GetCmdline() string

GetCmdline returns the Cmdline field value if set, zero value otherwise.

func (*ProcessSummaryAttributes) GetCmdlineOk ¶

func (o *ProcessSummaryAttributes) GetCmdlineOk() (*string, bool)

GetCmdlineOk returns a tuple with the Cmdline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummaryAttributes) GetHost ¶

func (o *ProcessSummaryAttributes) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*ProcessSummaryAttributes) GetHostOk ¶

func (o *ProcessSummaryAttributes) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummaryAttributes) GetPid ¶

func (o *ProcessSummaryAttributes) GetPid() int64

GetPid returns the Pid field value if set, zero value otherwise.

func (*ProcessSummaryAttributes) GetPidOk ¶

func (o *ProcessSummaryAttributes) GetPidOk() (*int64, bool)

GetPidOk returns a tuple with the Pid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummaryAttributes) GetPpid ¶

func (o *ProcessSummaryAttributes) GetPpid() int64

GetPpid returns the Ppid field value if set, zero value otherwise.

func (*ProcessSummaryAttributes) GetPpidOk ¶

func (o *ProcessSummaryAttributes) GetPpidOk() (*int64, bool)

GetPpidOk returns a tuple with the Ppid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummaryAttributes) GetStart ¶

func (o *ProcessSummaryAttributes) GetStart() string

GetStart returns the Start field value if set, zero value otherwise.

func (*ProcessSummaryAttributes) GetStartOk ¶

func (o *ProcessSummaryAttributes) GetStartOk() (*string, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummaryAttributes) GetTags ¶

func (o *ProcessSummaryAttributes) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ProcessSummaryAttributes) GetTagsOk ¶

func (o *ProcessSummaryAttributes) 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 (*ProcessSummaryAttributes) GetTimestamp ¶

func (o *ProcessSummaryAttributes) GetTimestamp() string

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*ProcessSummaryAttributes) GetTimestampOk ¶

func (o *ProcessSummaryAttributes) GetTimestampOk() (*string, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummaryAttributes) GetUser ¶

func (o *ProcessSummaryAttributes) GetUser() string

GetUser returns the User field value if set, zero value otherwise.

func (*ProcessSummaryAttributes) GetUserOk ¶

func (o *ProcessSummaryAttributes) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessSummaryAttributes) HasCmdline ¶

func (o *ProcessSummaryAttributes) HasCmdline() bool

HasCmdline returns a boolean if a field has been set.

func (*ProcessSummaryAttributes) HasHost ¶

func (o *ProcessSummaryAttributes) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*ProcessSummaryAttributes) HasPid ¶

func (o *ProcessSummaryAttributes) HasPid() bool

HasPid returns a boolean if a field has been set.

func (*ProcessSummaryAttributes) HasPpid ¶

func (o *ProcessSummaryAttributes) HasPpid() bool

HasPpid returns a boolean if a field has been set.

func (*ProcessSummaryAttributes) HasStart ¶

func (o *ProcessSummaryAttributes) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*ProcessSummaryAttributes) HasTags ¶

func (o *ProcessSummaryAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ProcessSummaryAttributes) HasTimestamp ¶

func (o *ProcessSummaryAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*ProcessSummaryAttributes) HasUser ¶

func (o *ProcessSummaryAttributes) HasUser() bool

HasUser returns a boolean if a field has been set.

func (ProcessSummaryAttributes) MarshalJSON ¶

func (o ProcessSummaryAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ProcessSummaryAttributes) SetCmdline ¶

func (o *ProcessSummaryAttributes) SetCmdline(v string)

SetCmdline gets a reference to the given string and assigns it to the Cmdline field.

func (*ProcessSummaryAttributes) SetHost ¶

func (o *ProcessSummaryAttributes) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*ProcessSummaryAttributes) SetPid ¶

func (o *ProcessSummaryAttributes) SetPid(v int64)

SetPid gets a reference to the given int64 and assigns it to the Pid field.

func (*ProcessSummaryAttributes) SetPpid ¶

func (o *ProcessSummaryAttributes) SetPpid(v int64)

SetPpid gets a reference to the given int64 and assigns it to the Ppid field.

func (*ProcessSummaryAttributes) SetStart ¶

func (o *ProcessSummaryAttributes) SetStart(v string)

SetStart gets a reference to the given string and assigns it to the Start field.

func (*ProcessSummaryAttributes) SetTags ¶

func (o *ProcessSummaryAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*ProcessSummaryAttributes) SetTimestamp ¶

func (o *ProcessSummaryAttributes) SetTimestamp(v string)

SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.

func (*ProcessSummaryAttributes) SetUser ¶

func (o *ProcessSummaryAttributes) SetUser(v string)

SetUser gets a reference to the given string and assigns it to the User field.

func (*ProcessSummaryAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *ProcessSummaryAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ProcessSummaryType ¶

type ProcessSummaryType string

ProcessSummaryType Type of process summary.

const (
	PROCESSSUMMARYTYPE_PROCESS ProcessSummaryType = "process"
)

List of ProcessSummaryType.

func NewProcessSummaryTypeFromValue ¶

func NewProcessSummaryTypeFromValue(v string) (*ProcessSummaryType, error)

NewProcessSummaryTypeFromValue returns a pointer to a valid ProcessSummaryType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ProcessSummaryType) GetAllowedValues ¶ added in v1.1.0

func (v *ProcessSummaryType) GetAllowedValues() []ProcessSummaryType

GetAllowedValues reeturns the list of possible values.

func (ProcessSummaryType) IsValid ¶

func (v ProcessSummaryType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ProcessSummaryType) Ptr ¶

Ptr returns reference to ProcessSummaryType value.

func (*ProcessSummaryType) UnmarshalJSON ¶

func (v *ProcessSummaryType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ProcessesApiService ¶

type ProcessesApiService service

ProcessesApiService ProcessesApi service.

func (*ProcessesApiService) ListProcesses ¶

ListProcesses Get all processes. Get all processes for your organization.

func (*ProcessesApiService) ListProcessesWithPagination ¶ added in v1.14.0

func (a *ProcessesApiService) ListProcessesWithPagination(ctx _context.Context, o ...ListProcessesOptionalParameters) (<-chan ProcessSummary, func(), error)

ListProcessesWithPagination provides a paginated version of ListProcesses returning a channel with all items.

type QuerySortOrder ¶

type QuerySortOrder string

QuerySortOrder Direction of sort.

const (
	QUERYSORTORDER_ASC  QuerySortOrder = "asc"
	QUERYSORTORDER_DESC QuerySortOrder = "desc"
)

List of QuerySortOrder.

func NewQuerySortOrderFromValue ¶

func NewQuerySortOrderFromValue(v string) (*QuerySortOrder, error)

NewQuerySortOrderFromValue returns a pointer to a valid QuerySortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*QuerySortOrder) GetAllowedValues ¶ added in v1.1.0

func (v *QuerySortOrder) GetAllowedValues() []QuerySortOrder

GetAllowedValues reeturns the list of possible values.

func (QuerySortOrder) IsValid ¶

func (v QuerySortOrder) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (QuerySortOrder) Ptr ¶

func (v QuerySortOrder) Ptr() *QuerySortOrder

Ptr returns reference to QuerySortOrder value.

func (*QuerySortOrder) UnmarshalJSON ¶

func (v *QuerySortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMAggregateBucketValue ¶ added in v1.12.0

type RUMAggregateBucketValue struct {
	RUMAggregateBucketValueSingleString *string
	RUMAggregateBucketValueSingleNumber *float64
	RUMAggregateBucketValueTimeseries   *RUMAggregateBucketValueTimeseries

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

RUMAggregateBucketValue - A bucket value, can be either a timeseries or a single value.

func RUMAggregateBucketValueSingleNumberAsRUMAggregateBucketValue ¶ added in v1.12.0

func RUMAggregateBucketValueSingleNumberAsRUMAggregateBucketValue(v *float64) RUMAggregateBucketValue

RUMAggregateBucketValueSingleNumberAsRUMAggregateBucketValue is a convenience function that returns float64 wrapped in RUMAggregateBucketValue.

func RUMAggregateBucketValueSingleStringAsRUMAggregateBucketValue ¶ added in v1.12.0

func RUMAggregateBucketValueSingleStringAsRUMAggregateBucketValue(v *string) RUMAggregateBucketValue

RUMAggregateBucketValueSingleStringAsRUMAggregateBucketValue is a convenience function that returns string wrapped in RUMAggregateBucketValue.

func RUMAggregateBucketValueTimeseriesAsRUMAggregateBucketValue ¶ added in v1.12.0

func RUMAggregateBucketValueTimeseriesAsRUMAggregateBucketValue(v *RUMAggregateBucketValueTimeseries) RUMAggregateBucketValue

RUMAggregateBucketValueTimeseriesAsRUMAggregateBucketValue is a convenience function that returns RUMAggregateBucketValueTimeseries wrapped in RUMAggregateBucketValue.

func (*RUMAggregateBucketValue) GetActualInstance ¶ added in v1.12.0

func (obj *RUMAggregateBucketValue) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (RUMAggregateBucketValue) MarshalJSON ¶ added in v1.12.0

func (obj RUMAggregateBucketValue) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*RUMAggregateBucketValue) UnmarshalJSON ¶ added in v1.12.0

func (obj *RUMAggregateBucketValue) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type RUMAggregateBucketValueTimeseries ¶ added in v1.12.0

type RUMAggregateBucketValueTimeseries struct {
	Items []RUMAggregateBucketValueTimeseriesPoint

	// UnparsedObject contains the raw value of the array if there was an error when deserializing into the struct
	UnparsedObject []interface{} `json:-`
}

RUMAggregateBucketValueTimeseries A timeseries array.

func NewRUMAggregateBucketValueTimeseries ¶ added in v1.12.0

func NewRUMAggregateBucketValueTimeseries() *RUMAggregateBucketValueTimeseries

NewRUMAggregateBucketValueTimeseries instantiates a new RUMAggregateBucketValueTimeseries object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMAggregateBucketValueTimeseriesWithDefaults ¶ added in v1.12.0

func NewRUMAggregateBucketValueTimeseriesWithDefaults() *RUMAggregateBucketValueTimeseries

NewRUMAggregateBucketValueTimeseriesWithDefaults instantiates a new RUMAggregateBucketValueTimeseries object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (RUMAggregateBucketValueTimeseries) MarshalJSON ¶ added in v1.12.0

func (o RUMAggregateBucketValueTimeseries) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAggregateBucketValueTimeseries) UnmarshalJSON ¶ added in v1.12.0

func (o *RUMAggregateBucketValueTimeseries) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMAggregateBucketValueTimeseriesPoint ¶ added in v1.12.0

type RUMAggregateBucketValueTimeseriesPoint struct {
	// The time value for this point.
	Time *time.Time `json:"time,omitempty"`
	// The value for this point.
	Value *float64 `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMAggregateBucketValueTimeseriesPoint A timeseries point.

func NewRUMAggregateBucketValueTimeseriesPoint ¶ added in v1.12.0

func NewRUMAggregateBucketValueTimeseriesPoint() *RUMAggregateBucketValueTimeseriesPoint

NewRUMAggregateBucketValueTimeseriesPoint instantiates a new RUMAggregateBucketValueTimeseriesPoint object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMAggregateBucketValueTimeseriesPointWithDefaults ¶ added in v1.12.0

func NewRUMAggregateBucketValueTimeseriesPointWithDefaults() *RUMAggregateBucketValueTimeseriesPoint

NewRUMAggregateBucketValueTimeseriesPointWithDefaults instantiates a new RUMAggregateBucketValueTimeseriesPoint object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMAggregateBucketValueTimeseriesPoint) GetTime ¶ added in v1.12.0

GetTime returns the Time field value if set, zero value otherwise.

func (*RUMAggregateBucketValueTimeseriesPoint) GetTimeOk ¶ added in v1.12.0

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateBucketValueTimeseriesPoint) GetValue ¶ added in v1.12.0

GetValue returns the Value field value if set, zero value otherwise.

func (*RUMAggregateBucketValueTimeseriesPoint) GetValueOk ¶ added in v1.12.0

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateBucketValueTimeseriesPoint) HasTime ¶ added in v1.12.0

HasTime returns a boolean if a field has been set.

func (*RUMAggregateBucketValueTimeseriesPoint) HasValue ¶ added in v1.12.0

HasValue returns a boolean if a field has been set.

func (RUMAggregateBucketValueTimeseriesPoint) MarshalJSON ¶ added in v1.12.0

func (o RUMAggregateBucketValueTimeseriesPoint) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAggregateBucketValueTimeseriesPoint) SetTime ¶ added in v1.12.0

SetTime gets a reference to the given time.Time and assigns it to the Time field.

func (*RUMAggregateBucketValueTimeseriesPoint) SetValue ¶ added in v1.12.0

SetValue gets a reference to the given float64 and assigns it to the Value field.

func (*RUMAggregateBucketValueTimeseriesPoint) UnmarshalJSON ¶ added in v1.12.0

func (o *RUMAggregateBucketValueTimeseriesPoint) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMAggregateRequest ¶ added in v1.12.0

type RUMAggregateRequest struct {
	// The list of metrics or timeseries to compute for the retrieved buckets.
	Compute []RUMCompute `json:"compute,omitempty"`
	// The search and filter query settings.
	Filter *RUMQueryFilter `json:"filter,omitempty"`
	// The rules for the group by.
	GroupBy []RUMGroupBy `json:"group_by,omitempty"`
	// Global query options that are used during the query.
	// Note: Only supply timezone or time offset, not both. Otherwise, the query fails.
	Options *RUMQueryOptions `json:"options,omitempty"`
	// Paging attributes for listing events.
	Page *RUMQueryPageOptions `json:"page,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMAggregateRequest The object sent with the request to retrieve aggregation buckets of RUM events from your organization.

func NewRUMAggregateRequest ¶ added in v1.12.0

func NewRUMAggregateRequest() *RUMAggregateRequest

NewRUMAggregateRequest instantiates a new RUMAggregateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMAggregateRequestWithDefaults ¶ added in v1.12.0

func NewRUMAggregateRequestWithDefaults() *RUMAggregateRequest

NewRUMAggregateRequestWithDefaults instantiates a new RUMAggregateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMAggregateRequest) GetCompute ¶ added in v1.12.0

func (o *RUMAggregateRequest) GetCompute() []RUMCompute

GetCompute returns the Compute field value if set, zero value otherwise.

func (*RUMAggregateRequest) GetComputeOk ¶ added in v1.12.0

func (o *RUMAggregateRequest) GetComputeOk() (*[]RUMCompute, bool)

GetComputeOk returns a tuple with the Compute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateRequest) GetFilter ¶ added in v1.12.0

func (o *RUMAggregateRequest) GetFilter() RUMQueryFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*RUMAggregateRequest) GetFilterOk ¶ added in v1.12.0

func (o *RUMAggregateRequest) GetFilterOk() (*RUMQueryFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateRequest) GetGroupBy ¶ added in v1.12.0

func (o *RUMAggregateRequest) GetGroupBy() []RUMGroupBy

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*RUMAggregateRequest) GetGroupByOk ¶ added in v1.12.0

func (o *RUMAggregateRequest) GetGroupByOk() (*[]RUMGroupBy, bool)

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateRequest) GetOptions ¶ added in v1.12.0

func (o *RUMAggregateRequest) GetOptions() RUMQueryOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*RUMAggregateRequest) GetOptionsOk ¶ added in v1.12.0

func (o *RUMAggregateRequest) GetOptionsOk() (*RUMQueryOptions, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateRequest) GetPage ¶ added in v1.12.0

GetPage returns the Page field value if set, zero value otherwise.

func (*RUMAggregateRequest) GetPageOk ¶ added in v1.12.0

func (o *RUMAggregateRequest) GetPageOk() (*RUMQueryPageOptions, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateRequest) HasCompute ¶ added in v1.12.0

func (o *RUMAggregateRequest) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*RUMAggregateRequest) HasFilter ¶ added in v1.12.0

func (o *RUMAggregateRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*RUMAggregateRequest) HasGroupBy ¶ added in v1.12.0

func (o *RUMAggregateRequest) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*RUMAggregateRequest) HasOptions ¶ added in v1.12.0

func (o *RUMAggregateRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*RUMAggregateRequest) HasPage ¶ added in v1.12.0

func (o *RUMAggregateRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (RUMAggregateRequest) MarshalJSON ¶ added in v1.12.0

func (o RUMAggregateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAggregateRequest) SetCompute ¶ added in v1.12.0

func (o *RUMAggregateRequest) SetCompute(v []RUMCompute)

SetCompute gets a reference to the given []RUMCompute and assigns it to the Compute field.

func (*RUMAggregateRequest) SetFilter ¶ added in v1.12.0

func (o *RUMAggregateRequest) SetFilter(v RUMQueryFilter)

SetFilter gets a reference to the given RUMQueryFilter and assigns it to the Filter field.

func (*RUMAggregateRequest) SetGroupBy ¶ added in v1.12.0

func (o *RUMAggregateRequest) SetGroupBy(v []RUMGroupBy)

SetGroupBy gets a reference to the given []RUMGroupBy and assigns it to the GroupBy field.

func (*RUMAggregateRequest) SetOptions ¶ added in v1.12.0

func (o *RUMAggregateRequest) SetOptions(v RUMQueryOptions)

SetOptions gets a reference to the given RUMQueryOptions and assigns it to the Options field.

func (*RUMAggregateRequest) SetPage ¶ added in v1.12.0

SetPage gets a reference to the given RUMQueryPageOptions and assigns it to the Page field.

func (*RUMAggregateRequest) UnmarshalJSON ¶ added in v1.12.0

func (o *RUMAggregateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMAggregateSort ¶ added in v1.12.0

type RUMAggregateSort struct {
	// An aggregation function.
	Aggregation *RUMAggregationFunction `json:"aggregation,omitempty"`
	// The metric to sort by (only used for `type=measure`).
	Metric *string `json:"metric,omitempty"`
	// The order to use, ascending or descending.
	Order *RUMSortOrder `json:"order,omitempty"`
	// The type of sorting algorithm.
	Type *RUMAggregateSortType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMAggregateSort A sort rule.

func NewRUMAggregateSort ¶ added in v1.12.0

func NewRUMAggregateSort() *RUMAggregateSort

NewRUMAggregateSort instantiates a new RUMAggregateSort object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMAggregateSortWithDefaults ¶ added in v1.12.0

func NewRUMAggregateSortWithDefaults() *RUMAggregateSort

NewRUMAggregateSortWithDefaults instantiates a new RUMAggregateSort object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMAggregateSort) GetAggregation ¶ added in v1.12.0

func (o *RUMAggregateSort) GetAggregation() RUMAggregationFunction

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*RUMAggregateSort) GetAggregationOk ¶ added in v1.12.0

func (o *RUMAggregateSort) GetAggregationOk() (*RUMAggregationFunction, bool)

GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateSort) GetMetric ¶ added in v1.12.0

func (o *RUMAggregateSort) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*RUMAggregateSort) GetMetricOk ¶ added in v1.12.0

func (o *RUMAggregateSort) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateSort) GetOrder ¶ added in v1.12.0

func (o *RUMAggregateSort) GetOrder() RUMSortOrder

GetOrder returns the Order field value if set, zero value otherwise.

func (*RUMAggregateSort) GetOrderOk ¶ added in v1.12.0

func (o *RUMAggregateSort) GetOrderOk() (*RUMSortOrder, bool)

GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateSort) GetType ¶ added in v1.12.0

GetType returns the Type field value if set, zero value otherwise.

func (*RUMAggregateSort) GetTypeOk ¶ added in v1.12.0

func (o *RUMAggregateSort) GetTypeOk() (*RUMAggregateSortType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregateSort) HasAggregation ¶ added in v1.12.0

func (o *RUMAggregateSort) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*RUMAggregateSort) HasMetric ¶ added in v1.12.0

func (o *RUMAggregateSort) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*RUMAggregateSort) HasOrder ¶ added in v1.12.0

func (o *RUMAggregateSort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*RUMAggregateSort) HasType ¶ added in v1.12.0

func (o *RUMAggregateSort) HasType() bool

HasType returns a boolean if a field has been set.

func (RUMAggregateSort) MarshalJSON ¶ added in v1.12.0

func (o RUMAggregateSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAggregateSort) SetAggregation ¶ added in v1.12.0

func (o *RUMAggregateSort) SetAggregation(v RUMAggregationFunction)

SetAggregation gets a reference to the given RUMAggregationFunction and assigns it to the Aggregation field.

func (*RUMAggregateSort) SetMetric ¶ added in v1.12.0

func (o *RUMAggregateSort) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*RUMAggregateSort) SetOrder ¶ added in v1.12.0

func (o *RUMAggregateSort) SetOrder(v RUMSortOrder)

SetOrder gets a reference to the given RUMSortOrder and assigns it to the Order field.

func (*RUMAggregateSort) SetType ¶ added in v1.12.0

func (o *RUMAggregateSort) SetType(v RUMAggregateSortType)

SetType gets a reference to the given RUMAggregateSortType and assigns it to the Type field.

func (*RUMAggregateSort) UnmarshalJSON ¶ added in v1.12.0

func (o *RUMAggregateSort) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMAggregateSortType ¶ added in v1.12.0

type RUMAggregateSortType string

RUMAggregateSortType The type of sorting algorithm.

const (
	RUMAGGREGATESORTTYPE_ALPHABETICAL RUMAggregateSortType = "alphabetical"
	RUMAGGREGATESORTTYPE_MEASURE      RUMAggregateSortType = "measure"
)

List of RUMAggregateSortType.

func NewRUMAggregateSortTypeFromValue ¶ added in v1.12.0

func NewRUMAggregateSortTypeFromValue(v string) (*RUMAggregateSortType, error)

NewRUMAggregateSortTypeFromValue returns a pointer to a valid RUMAggregateSortType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMAggregateSortType) GetAllowedValues ¶ added in v1.12.0

func (v *RUMAggregateSortType) GetAllowedValues() []RUMAggregateSortType

GetAllowedValues reeturns the list of possible values.

func (RUMAggregateSortType) IsValid ¶ added in v1.12.0

func (v RUMAggregateSortType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMAggregateSortType) Ptr ¶ added in v1.12.0

Ptr returns reference to RUMAggregateSortType value.

func (*RUMAggregateSortType) UnmarshalJSON ¶ added in v1.12.0

func (v *RUMAggregateSortType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMAggregationBucketsResponse ¶ added in v1.12.0

type RUMAggregationBucketsResponse struct {
	// The list of matching buckets, one item per bucket.
	Buckets []RUMBucketResponse `json:"buckets,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMAggregationBucketsResponse The query results.

func NewRUMAggregationBucketsResponse ¶ added in v1.12.0

func NewRUMAggregationBucketsResponse() *RUMAggregationBucketsResponse

NewRUMAggregationBucketsResponse instantiates a new RUMAggregationBucketsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMAggregationBucketsResponseWithDefaults ¶ added in v1.12.0

func NewRUMAggregationBucketsResponseWithDefaults() *RUMAggregationBucketsResponse

NewRUMAggregationBucketsResponseWithDefaults instantiates a new RUMAggregationBucketsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMAggregationBucketsResponse) GetBuckets ¶ added in v1.12.0

GetBuckets returns the Buckets field value if set, zero value otherwise.

func (*RUMAggregationBucketsResponse) GetBucketsOk ¶ added in v1.12.0

func (o *RUMAggregationBucketsResponse) GetBucketsOk() (*[]RUMBucketResponse, bool)

GetBucketsOk returns a tuple with the Buckets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAggregationBucketsResponse) HasBuckets ¶ added in v1.12.0

func (o *RUMAggregationBucketsResponse) HasBuckets() bool

HasBuckets returns a boolean if a field has been set.

func (RUMAggregationBucketsResponse) MarshalJSON ¶ added in v1.12.0

func (o RUMAggregationBucketsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAggregationBucketsResponse) SetBuckets ¶ added in v1.12.0

SetBuckets gets a reference to the given []RUMBucketResponse and assigns it to the Buckets field.

func (*RUMAggregationBucketsResponse) UnmarshalJSON ¶ added in v1.12.0

func (o *RUMAggregationBucketsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMAggregationFunction ¶ added in v1.12.0

type RUMAggregationFunction string

RUMAggregationFunction An aggregation function.

const (
	RUMAGGREGATIONFUNCTION_COUNT         RUMAggregationFunction = "count"
	RUMAGGREGATIONFUNCTION_CARDINALITY   RUMAggregationFunction = "cardinality"
	RUMAGGREGATIONFUNCTION_PERCENTILE_75 RUMAggregationFunction = "pc75"
	RUMAGGREGATIONFUNCTION_PERCENTILE_90 RUMAggregationFunction = "pc90"
	RUMAGGREGATIONFUNCTION_PERCENTILE_95 RUMAggregationFunction = "pc95"
	RUMAGGREGATIONFUNCTION_PERCENTILE_98 RUMAggregationFunction = "pc98"
	RUMAGGREGATIONFUNCTION_PERCENTILE_99 RUMAggregationFunction = "pc99"
	RUMAGGREGATIONFUNCTION_SUM           RUMAggregationFunction = "sum"
	RUMAGGREGATIONFUNCTION_MIN           RUMAggregationFunction = "min"
	RUMAGGREGATIONFUNCTION_MAX           RUMAggregationFunction = "max"
	RUMAGGREGATIONFUNCTION_AVG           RUMAggregationFunction = "avg"
	RUMAGGREGATIONFUNCTION_MEDIAN        RUMAggregationFunction = "median"
)

List of RUMAggregationFunction.

func NewRUMAggregationFunctionFromValue ¶ added in v1.12.0

func NewRUMAggregationFunctionFromValue(v string) (*RUMAggregationFunction, error)

NewRUMAggregationFunctionFromValue returns a pointer to a valid RUMAggregationFunction for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMAggregationFunction) GetAllowedValues ¶ added in v1.12.0

func (v *RUMAggregationFunction) GetAllowedValues() []RUMAggregationFunction

GetAllowedValues reeturns the list of possible values.

func (RUMAggregationFunction) IsValid ¶ added in v1.12.0

func (v RUMAggregationFunction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMAggregationFunction) Ptr ¶ added in v1.12.0

Ptr returns reference to RUMAggregationFunction value.

func (*RUMAggregationFunction) UnmarshalJSON ¶ added in v1.12.0

func (v *RUMAggregationFunction) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMAnalyticsAggregateResponse ¶ added in v1.12.0

type RUMAnalyticsAggregateResponse struct {
	// The query results.
	Data *RUMAggregationBucketsResponse `json:"data,omitempty"`
	// Links attributes.
	Links *RUMResponseLinks `json:"links,omitempty"`
	// The metadata associated with a request.
	Meta *RUMResponseMetadata `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMAnalyticsAggregateResponse The response object for the RUM events aggregate API endpoint.

func NewRUMAnalyticsAggregateResponse ¶ added in v1.12.0

func NewRUMAnalyticsAggregateResponse() *RUMAnalyticsAggregateResponse

NewRUMAnalyticsAggregateResponse instantiates a new RUMAnalyticsAggregateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMAnalyticsAggregateResponseWithDefaults ¶ added in v1.12.0

func NewRUMAnalyticsAggregateResponseWithDefaults() *RUMAnalyticsAggregateResponse

NewRUMAnalyticsAggregateResponseWithDefaults instantiates a new RUMAnalyticsAggregateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMAnalyticsAggregateResponse) GetData ¶ added in v1.12.0

GetData returns the Data field value if set, zero value otherwise.

func (*RUMAnalyticsAggregateResponse) GetDataOk ¶ added in v1.12.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*RUMAnalyticsAggregateResponse) GetLinksOk ¶ added in v1.12.0

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMAnalyticsAggregateResponse) GetMeta ¶ added in v1.12.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*RUMAnalyticsAggregateResponse) GetMetaOk ¶ added in v1.12.0

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 (*RUMAnalyticsAggregateResponse) HasData ¶ added in v1.12.0

func (o *RUMAnalyticsAggregateResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *RUMAnalyticsAggregateResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RUMAnalyticsAggregateResponse) HasMeta ¶ added in v1.12.0

func (o *RUMAnalyticsAggregateResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (RUMAnalyticsAggregateResponse) MarshalJSON ¶ added in v1.12.0

func (o RUMAnalyticsAggregateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAnalyticsAggregateResponse) SetData ¶ added in v1.12.0

SetData gets a reference to the given RUMAggregationBucketsResponse and assigns it to the Data field.

SetLinks gets a reference to the given RUMResponseLinks and assigns it to the Links field.

func (*RUMAnalyticsAggregateResponse) SetMeta ¶ added in v1.12.0

SetMeta gets a reference to the given RUMResponseMetadata and assigns it to the Meta field.

func (*RUMAnalyticsAggregateResponse) UnmarshalJSON ¶ added in v1.12.0

func (o *RUMAnalyticsAggregateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApiService ¶ added in v1.11.0

type RUMApiService service

RUMApiService RUMApi service.

func (*RUMApiService) AggregateRUMEvents ¶ added in v1.12.0

AggregateRUMEvents Aggregate RUM events. The API endpoint to aggregate RUM events into buckets of computed metrics and timeseries.

func (*RUMApiService) ListRUMEvents ¶ added in v1.11.0

ListRUMEvents Get a list of RUM events. List endpoint returns events that match a RUM search query. [Results are paginated]1.

Use this endpoint to see your latest RUM events.

func (*RUMApiService) ListRUMEventsWithPagination ¶ added in v1.14.0

func (a *RUMApiService) ListRUMEventsWithPagination(ctx _context.Context, o ...ListRUMEventsOptionalParameters) (<-chan RUMEvent, func(), error)

ListRUMEventsWithPagination provides a paginated version of ListRUMEvents returning a channel with all items.

func (*RUMApiService) SearchRUMEvents ¶ added in v1.11.0

SearchRUMEvents Search RUM events. List endpoint returns RUM events that match a RUM search query. [Results are paginated]1.

Use this endpoint to build complex RUM events filtering and search.

func (*RUMApiService) SearchRUMEventsWithPagination ¶ added in v1.14.0

func (a *RUMApiService) SearchRUMEventsWithPagination(ctx _context.Context, body RUMSearchEventsRequest) (<-chan RUMEvent, func(), error)

SearchRUMEventsWithPagination provides a paginated version of SearchRUMEvents returning a channel with all items.

type RUMBucketResponse ¶ added in v1.12.0

type RUMBucketResponse struct {
	// The key-value pairs for each group-by.
	By map[string]string `json:"by,omitempty"`
	// A map of the metric name to value for regular compute, or a list of values for a timeseries.
	Computes map[string]RUMAggregateBucketValue `json:"computes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMBucketResponse Bucket values.

func NewRUMBucketResponse ¶ added in v1.12.0

func NewRUMBucketResponse() *RUMBucketResponse

NewRUMBucketResponse instantiates a new RUMBucketResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMBucketResponseWithDefaults ¶ added in v1.12.0

func NewRUMBucketResponseWithDefaults() *RUMBucketResponse

NewRUMBucketResponseWithDefaults instantiates a new RUMBucketResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMBucketResponse) GetBy ¶ added in v1.12.0

func (o *RUMBucketResponse) GetBy() map[string]string

GetBy returns the By field value if set, zero value otherwise.

func (*RUMBucketResponse) GetByOk ¶ added in v1.12.0

func (o *RUMBucketResponse) GetByOk() (*map[string]string, bool)

GetByOk returns a tuple with the By field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMBucketResponse) GetComputes ¶ added in v1.12.0

func (o *RUMBucketResponse) GetComputes() map[string]RUMAggregateBucketValue

GetComputes returns the Computes field value if set, zero value otherwise.

func (*RUMBucketResponse) GetComputesOk ¶ added in v1.12.0

func (o *RUMBucketResponse) GetComputesOk() (*map[string]RUMAggregateBucketValue, bool)

GetComputesOk returns a tuple with the Computes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMBucketResponse) HasBy ¶ added in v1.12.0

func (o *RUMBucketResponse) HasBy() bool

HasBy returns a boolean if a field has been set.

func (*RUMBucketResponse) HasComputes ¶ added in v1.12.0

func (o *RUMBucketResponse) HasComputes() bool

HasComputes returns a boolean if a field has been set.

func (RUMBucketResponse) MarshalJSON ¶ added in v1.12.0

func (o RUMBucketResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMBucketResponse) SetBy ¶ added in v1.12.0

func (o *RUMBucketResponse) SetBy(v map[string]string)

SetBy gets a reference to the given map[string]string and assigns it to the By field.

func (*RUMBucketResponse) SetComputes ¶ added in v1.12.0

func (o *RUMBucketResponse) SetComputes(v map[string]RUMAggregateBucketValue)

SetComputes gets a reference to the given map[string]RUMAggregateBucketValue and assigns it to the Computes field.

func (*RUMBucketResponse) UnmarshalJSON ¶ added in v1.12.0

func (o *RUMBucketResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMCompute ¶ added in v1.12.0

type RUMCompute struct {
	// An aggregation function.
	Aggregation RUMAggregationFunction `json:"aggregation"`
	// The time buckets' size (only used for type=timeseries)
	// Defaults to a resolution of 150 points.
	Interval *string `json:"interval,omitempty"`
	// The metric to use.
	Metric *string `json:"metric,omitempty"`
	// The type of compute.
	Type *RUMComputeType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMCompute A compute rule to compute metrics or timeseries.

func NewRUMCompute ¶ added in v1.12.0

func NewRUMCompute(aggregation RUMAggregationFunction) *RUMCompute

NewRUMCompute instantiates a new RUMCompute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMComputeWithDefaults ¶ added in v1.12.0

func NewRUMComputeWithDefaults() *RUMCompute

NewRUMComputeWithDefaults instantiates a new RUMCompute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMCompute) GetAggregation ¶ added in v1.12.0

func (o *RUMCompute) GetAggregation() RUMAggregationFunction

GetAggregation returns the Aggregation field value.

func (*RUMCompute) GetAggregationOk ¶ added in v1.12.0

func (o *RUMCompute) GetAggregationOk() (*RUMAggregationFunction, bool)

GetAggregationOk returns a tuple with the Aggregation field value and a boolean to check if the value has been set.

func (*RUMCompute) GetInterval ¶ added in v1.12.0

func (o *RUMCompute) GetInterval() string

GetInterval returns the Interval field value if set, zero value otherwise.

func (*RUMCompute) GetIntervalOk ¶ added in v1.12.0

func (o *RUMCompute) GetIntervalOk() (*string, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMCompute) GetMetric ¶ added in v1.12.0

func (o *RUMCompute) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*RUMCompute) GetMetricOk ¶ added in v1.12.0

func (o *RUMCompute) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMCompute) GetType ¶ added in v1.12.0

func (o *RUMCompute) GetType() RUMComputeType

GetType returns the Type field value if set, zero value otherwise.

func (*RUMCompute) GetTypeOk ¶ added in v1.12.0

func (o *RUMCompute) GetTypeOk() (*RUMComputeType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMCompute) HasInterval ¶ added in v1.12.0

func (o *RUMCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*RUMCompute) HasMetric ¶ added in v1.12.0

func (o *RUMCompute) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*RUMCompute) HasType ¶ added in v1.12.0

func (o *RUMCompute) HasType() bool

HasType returns a boolean if a field has been set.

func (RUMCompute) MarshalJSON ¶ added in v1.12.0

func (o RUMCompute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMCompute) SetAggregation ¶ added in v1.12.0

func (o *RUMCompute) SetAggregation(v RUMAggregationFunction)

SetAggregation sets field value.

func (*RUMCompute) SetInterval ¶ added in v1.12.0

func (o *RUMCompute) SetInterval(v string)

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (*RUMCompute) SetMetric ¶ added in v1.12.0

func (o *RUMCompute) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*RUMCompute) SetType ¶ added in v1.12.0

func (o *RUMCompute) SetType(v RUMComputeType)

SetType gets a reference to the given RUMComputeType and assigns it to the Type field.

func (*RUMCompute) UnmarshalJSON ¶ added in v1.12.0

func (o *RUMCompute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMComputeType ¶ added in v1.12.0

type RUMComputeType string

RUMComputeType The type of compute.

const (
	RUMCOMPUTETYPE_TIMESERIES RUMComputeType = "timeseries"
	RUMCOMPUTETYPE_TOTAL      RUMComputeType = "total"
)

List of RUMComputeType.

func NewRUMComputeTypeFromValue ¶ added in v1.12.0

func NewRUMComputeTypeFromValue(v string) (*RUMComputeType, error)

NewRUMComputeTypeFromValue returns a pointer to a valid RUMComputeType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMComputeType) GetAllowedValues ¶ added in v1.12.0

func (v *RUMComputeType) GetAllowedValues() []RUMComputeType

GetAllowedValues reeturns the list of possible values.

func (RUMComputeType) IsValid ¶ added in v1.12.0

func (v RUMComputeType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMComputeType) Ptr ¶ added in v1.12.0

func (v RUMComputeType) Ptr() *RUMComputeType

Ptr returns reference to RUMComputeType value.

func (*RUMComputeType) UnmarshalJSON ¶ added in v1.12.0

func (v *RUMComputeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMEvent ¶ added in v1.11.0

type RUMEvent struct {
	// JSON object containing all event attributes and their associated values.
	Attributes *RUMEventAttributes `json:"attributes,omitempty"`
	// Unique ID of the event.
	Id *string `json:"id,omitempty"`
	// Type of the event.
	Type *RUMEventType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMEvent Object description of a RUM event after being processed and stored by Datadog.

func NewRUMEvent ¶ added in v1.11.0

func NewRUMEvent() *RUMEvent

NewRUMEvent instantiates a new RUMEvent object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMEventWithDefaults ¶ added in v1.11.0

func NewRUMEventWithDefaults() *RUMEvent

NewRUMEventWithDefaults instantiates a new RUMEvent object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMEvent) GetAttributes ¶ added in v1.11.0

func (o *RUMEvent) GetAttributes() RUMEventAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RUMEvent) GetAttributesOk ¶ added in v1.11.0

func (o *RUMEvent) GetAttributesOk() (*RUMEventAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEvent) GetId ¶ added in v1.11.0

func (o *RUMEvent) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RUMEvent) GetIdOk ¶ added in v1.11.0

func (o *RUMEvent) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEvent) GetType ¶ added in v1.11.0

func (o *RUMEvent) GetType() RUMEventType

GetType returns the Type field value if set, zero value otherwise.

func (*RUMEvent) GetTypeOk ¶ added in v1.11.0

func (o *RUMEvent) GetTypeOk() (*RUMEventType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEvent) HasAttributes ¶ added in v1.11.0

func (o *RUMEvent) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RUMEvent) HasId ¶ added in v1.11.0

func (o *RUMEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*RUMEvent) HasType ¶ added in v1.11.0

func (o *RUMEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (RUMEvent) MarshalJSON ¶ added in v1.11.0

func (o RUMEvent) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMEvent) SetAttributes ¶ added in v1.11.0

func (o *RUMEvent) SetAttributes(v RUMEventAttributes)

SetAttributes gets a reference to the given RUMEventAttributes and assigns it to the Attributes field.

func (*RUMEvent) SetId ¶ added in v1.11.0

func (o *RUMEvent) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RUMEvent) SetType ¶ added in v1.11.0

func (o *RUMEvent) SetType(v RUMEventType)

SetType gets a reference to the given RUMEventType and assigns it to the Type field.

func (*RUMEvent) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMEvent) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMEventAttributes ¶ added in v1.11.0

type RUMEventAttributes struct {
	// JSON object of attributes from RUM events.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
	// The name of the application or service generating RUM events.
	// It is used to switch from RUM to APM, so make sure you define the same
	// value when you use both products.
	Service *string `json:"service,omitempty"`
	// Array of tags associated with your event.
	Tags []string `json:"tags,omitempty"`
	// Timestamp of your event.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMEventAttributes JSON object containing all event attributes and their associated values.

func NewRUMEventAttributes ¶ added in v1.11.0

func NewRUMEventAttributes() *RUMEventAttributes

NewRUMEventAttributes instantiates a new RUMEventAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMEventAttributesWithDefaults ¶ added in v1.11.0

func NewRUMEventAttributesWithDefaults() *RUMEventAttributes

NewRUMEventAttributesWithDefaults instantiates a new RUMEventAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMEventAttributes) GetAttributes ¶ added in v1.11.0

func (o *RUMEventAttributes) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RUMEventAttributes) GetAttributesOk ¶ added in v1.11.0

func (o *RUMEventAttributes) GetAttributesOk() (*map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEventAttributes) GetService ¶ added in v1.11.0

func (o *RUMEventAttributes) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*RUMEventAttributes) GetServiceOk ¶ added in v1.11.0

func (o *RUMEventAttributes) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEventAttributes) GetTags ¶ added in v1.11.0

func (o *RUMEventAttributes) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*RUMEventAttributes) GetTagsOk ¶ added in v1.11.0

func (o *RUMEventAttributes) 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 (*RUMEventAttributes) GetTimestamp ¶ added in v1.11.0

func (o *RUMEventAttributes) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*RUMEventAttributes) GetTimestampOk ¶ added in v1.11.0

func (o *RUMEventAttributes) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEventAttributes) HasAttributes ¶ added in v1.11.0

func (o *RUMEventAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RUMEventAttributes) HasService ¶ added in v1.11.0

func (o *RUMEventAttributes) HasService() bool

HasService returns a boolean if a field has been set.

func (*RUMEventAttributes) HasTags ¶ added in v1.11.0

func (o *RUMEventAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*RUMEventAttributes) HasTimestamp ¶ added in v1.11.0

func (o *RUMEventAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (RUMEventAttributes) MarshalJSON ¶ added in v1.11.0

func (o RUMEventAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMEventAttributes) SetAttributes ¶ added in v1.11.0

func (o *RUMEventAttributes) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*RUMEventAttributes) SetService ¶ added in v1.11.0

func (o *RUMEventAttributes) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*RUMEventAttributes) SetTags ¶ added in v1.11.0

func (o *RUMEventAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*RUMEventAttributes) SetTimestamp ¶ added in v1.11.0

func (o *RUMEventAttributes) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*RUMEventAttributes) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMEventAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMEventType ¶ added in v1.11.0

type RUMEventType string

RUMEventType Type of the event.

const (
	RUMEVENTTYPE_RUM RUMEventType = "rum"
)

List of RUMEventType.

func NewRUMEventTypeFromValue ¶ added in v1.11.0

func NewRUMEventTypeFromValue(v string) (*RUMEventType, error)

NewRUMEventTypeFromValue returns a pointer to a valid RUMEventType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMEventType) GetAllowedValues ¶ added in v1.11.0

func (v *RUMEventType) GetAllowedValues() []RUMEventType

GetAllowedValues reeturns the list of possible values.

func (RUMEventType) IsValid ¶ added in v1.11.0

func (v RUMEventType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMEventType) Ptr ¶ added in v1.11.0

func (v RUMEventType) Ptr() *RUMEventType

Ptr returns reference to RUMEventType value.

func (*RUMEventType) UnmarshalJSON ¶ added in v1.11.0

func (v *RUMEventType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMEventsResponse ¶ added in v1.11.0

type RUMEventsResponse struct {
	// Array of events matching the request.
	Data []RUMEvent `json:"data,omitempty"`
	// Links attributes.
	Links *RUMResponseLinks `json:"links,omitempty"`
	// The metadata associated with a request.
	Meta *RUMResponseMetadata `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMEventsResponse Response object with all events matching the request and pagination information.

func NewRUMEventsResponse ¶ added in v1.11.0

func NewRUMEventsResponse() *RUMEventsResponse

NewRUMEventsResponse instantiates a new RUMEventsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMEventsResponseWithDefaults ¶ added in v1.11.0

func NewRUMEventsResponseWithDefaults() *RUMEventsResponse

NewRUMEventsResponseWithDefaults instantiates a new RUMEventsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMEventsResponse) GetData ¶ added in v1.11.0

func (o *RUMEventsResponse) GetData() []RUMEvent

GetData returns the Data field value if set, zero value otherwise.

func (*RUMEventsResponse) GetDataOk ¶ added in v1.11.0

func (o *RUMEventsResponse) GetDataOk() (*[]RUMEvent, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *RUMEventsResponse) GetLinks() RUMResponseLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*RUMEventsResponse) GetLinksOk ¶ added in v1.11.0

func (o *RUMEventsResponse) GetLinksOk() (*RUMResponseLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEventsResponse) GetMeta ¶ added in v1.11.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*RUMEventsResponse) GetMetaOk ¶ added in v1.11.0

func (o *RUMEventsResponse) GetMetaOk() (*RUMResponseMetadata, 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 (*RUMEventsResponse) HasData ¶ added in v1.11.0

func (o *RUMEventsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *RUMEventsResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RUMEventsResponse) HasMeta ¶ added in v1.11.0

func (o *RUMEventsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (RUMEventsResponse) MarshalJSON ¶ added in v1.11.0

func (o RUMEventsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMEventsResponse) SetData ¶ added in v1.11.0

func (o *RUMEventsResponse) SetData(v []RUMEvent)

SetData gets a reference to the given []RUMEvent and assigns it to the Data field.

func (o *RUMEventsResponse) SetLinks(v RUMResponseLinks)

SetLinks gets a reference to the given RUMResponseLinks and assigns it to the Links field.

func (*RUMEventsResponse) SetMeta ¶ added in v1.11.0

func (o *RUMEventsResponse) SetMeta(v RUMResponseMetadata)

SetMeta gets a reference to the given RUMResponseMetadata and assigns it to the Meta field.

func (*RUMEventsResponse) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMEventsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMGroupBy ¶ added in v1.12.0

type RUMGroupBy struct {
	// The name of the facet to use (required).
	Facet string `json:"facet"`
	// Used to perform a histogram computation (only for measure facets).
	// Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.
	Histogram *RUMGroupByHistogram `json:"histogram,omitempty"`
	// The maximum buckets to return for this group-by.
	Limit *int64 `json:"limit,omitempty"`
	// The value to use for logs that don't have the facet used to group by.
	Missing *RUMGroupByMissing `json:"missing,omitempty"`
	// A sort rule.
	Sort *RUMAggregateSort `json:"sort,omitempty"`
	// A resulting object to put the given computes in over all the matching records.
	Total *RUMGroupByTotal `json:"total,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMGroupBy A group-by rule.

func NewRUMGroupBy ¶ added in v1.12.0

func NewRUMGroupBy(facet string) *RUMGroupBy

NewRUMGroupBy instantiates a new RUMGroupBy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMGroupByWithDefaults ¶ added in v1.12.0

func NewRUMGroupByWithDefaults() *RUMGroupBy

NewRUMGroupByWithDefaults instantiates a new RUMGroupBy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMGroupBy) GetFacet ¶ added in v1.12.0

func (o *RUMGroupBy) GetFacet() string

GetFacet returns the Facet field value.

func (*RUMGroupBy) GetFacetOk ¶ added in v1.12.0

func (o *RUMGroupBy) GetFacetOk() (*string, bool)

GetFacetOk returns a tuple with the Facet field value and a boolean to check if the value has been set.

func (*RUMGroupBy) GetHistogram ¶ added in v1.12.0

func (o *RUMGroupBy) GetHistogram() RUMGroupByHistogram

GetHistogram returns the Histogram field value if set, zero value otherwise.

func (*RUMGroupBy) GetHistogramOk ¶ added in v1.12.0

func (o *RUMGroupBy) GetHistogramOk() (*RUMGroupByHistogram, bool)

GetHistogramOk returns a tuple with the Histogram field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMGroupBy) GetLimit ¶ added in v1.12.0

func (o *RUMGroupBy) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*RUMGroupBy) GetLimitOk ¶ added in v1.12.0

func (o *RUMGroupBy) GetLimitOk() (*int64, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMGroupBy) GetMissing ¶ added in v1.12.0

func (o *RUMGroupBy) GetMissing() RUMGroupByMissing

GetMissing returns the Missing field value if set, zero value otherwise.

func (*RUMGroupBy) GetMissingOk ¶ added in v1.12.0

func (o *RUMGroupBy) GetMissingOk() (*RUMGroupByMissing, bool)

GetMissingOk returns a tuple with the Missing field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMGroupBy) GetSort ¶ added in v1.12.0

func (o *RUMGroupBy) GetSort() RUMAggregateSort

GetSort returns the Sort field value if set, zero value otherwise.

func (*RUMGroupBy) GetSortOk ¶ added in v1.12.0

func (o *RUMGroupBy) GetSortOk() (*RUMAggregateSort, bool)

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMGroupBy) GetTotal ¶ added in v1.12.0

func (o *RUMGroupBy) GetTotal() RUMGroupByTotal

GetTotal returns the Total field value if set, zero value otherwise.

func (*RUMGroupBy) GetTotalOk ¶ added in v1.12.0

func (o *RUMGroupBy) GetTotalOk() (*RUMGroupByTotal, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMGroupBy) HasHistogram ¶ added in v1.12.0

func (o *RUMGroupBy) HasHistogram() bool

HasHistogram returns a boolean if a field has been set.

func (*RUMGroupBy) HasLimit ¶ added in v1.12.0

func (o *RUMGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*RUMGroupBy) HasMissing ¶ added in v1.12.0

func (o *RUMGroupBy) HasMissing() bool

HasMissing returns a boolean if a field has been set.

func (*RUMGroupBy) HasSort ¶ added in v1.12.0

func (o *RUMGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*RUMGroupBy) HasTotal ¶ added in v1.12.0

func (o *RUMGroupBy) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (RUMGroupBy) MarshalJSON ¶ added in v1.12.0

func (o RUMGroupBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMGroupBy) SetFacet ¶ added in v1.12.0

func (o *RUMGroupBy) SetFacet(v string)

SetFacet sets field value.

func (*RUMGroupBy) SetHistogram ¶ added in v1.12.0

func (o *RUMGroupBy) SetHistogram(v RUMGroupByHistogram)

SetHistogram gets a reference to the given RUMGroupByHistogram and assigns it to the Histogram field.

func (*RUMGroupBy) SetLimit ¶ added in v1.12.0

func (o *RUMGroupBy) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*RUMGroupBy) SetMissing ¶ added in v1.12.0

func (o *RUMGroupBy) SetMissing(v RUMGroupByMissing)

SetMissing gets a reference to the given RUMGroupByMissing and assigns it to the Missing field.

func (*RUMGroupBy) SetSort ¶ added in v1.12.0

func (o *RUMGroupBy) SetSort(v RUMAggregateSort)

SetSort gets a reference to the given RUMAggregateSort and assigns it to the Sort field.

func (*RUMGroupBy) SetTotal ¶ added in v1.12.0

func (o *RUMGroupBy) SetTotal(v RUMGroupByTotal)

SetTotal gets a reference to the given RUMGroupByTotal and assigns it to the Total field.

func (*RUMGroupBy) UnmarshalJSON ¶ added in v1.12.0

func (o *RUMGroupBy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMGroupByHistogram ¶ added in v1.12.0

type RUMGroupByHistogram struct {
	// The bin size of the histogram buckets.
	Interval float64 `json:"interval"`
	// The maximum value for the measure used in the histogram
	// (values greater than this one are filtered out).
	Max float64 `json:"max"`
	// The minimum value for the measure used in the histogram
	// (values smaller than this one are filtered out).
	Min float64 `json:"min"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMGroupByHistogram Used to perform a histogram computation (only for measure facets). Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.

func NewRUMGroupByHistogram ¶ added in v1.12.0

func NewRUMGroupByHistogram(interval float64, max float64, min float64) *RUMGroupByHistogram

NewRUMGroupByHistogram instantiates a new RUMGroupByHistogram object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMGroupByHistogramWithDefaults ¶ added in v1.12.0

func NewRUMGroupByHistogramWithDefaults() *RUMGroupByHistogram

NewRUMGroupByHistogramWithDefaults instantiates a new RUMGroupByHistogram object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMGroupByHistogram) GetInterval ¶ added in v1.12.0

func (o *RUMGroupByHistogram) GetInterval() float64

GetInterval returns the Interval field value.

func (*RUMGroupByHistogram) GetIntervalOk ¶ added in v1.12.0

func (o *RUMGroupByHistogram) GetIntervalOk() (*float64, bool)

GetIntervalOk returns a tuple with the Interval field value and a boolean to check if the value has been set.

func (*RUMGroupByHistogram) GetMax ¶ added in v1.12.0

func (o *RUMGroupByHistogram) GetMax() float64

GetMax returns the Max field value.

func (*RUMGroupByHistogram) GetMaxOk ¶ added in v1.12.0

func (o *RUMGroupByHistogram) GetMaxOk() (*float64, bool)

GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.

func (*RUMGroupByHistogram) GetMin ¶ added in v1.12.0

func (o *RUMGroupByHistogram) GetMin() float64

GetMin returns the Min field value.

func (*RUMGroupByHistogram) GetMinOk ¶ added in v1.12.0

func (o *RUMGroupByHistogram) GetMinOk() (*float64, bool)

GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.

func (RUMGroupByHistogram) MarshalJSON ¶ added in v1.12.0

func (o RUMGroupByHistogram) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMGroupByHistogram) SetInterval ¶ added in v1.12.0

func (o *RUMGroupByHistogram) SetInterval(v float64)

SetInterval sets field value.

func (*RUMGroupByHistogram) SetMax ¶ added in v1.12.0

func (o *RUMGroupByHistogram) SetMax(v float64)

SetMax sets field value.

func (*RUMGroupByHistogram) SetMin ¶ added in v1.12.0

func (o *RUMGroupByHistogram) SetMin(v float64)

SetMin sets field value.

func (*RUMGroupByHistogram) UnmarshalJSON ¶ added in v1.12.0

func (o *RUMGroupByHistogram) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMGroupByMissing ¶ added in v1.12.0

type RUMGroupByMissing struct {
	RUMGroupByMissingString *string
	RUMGroupByMissingNumber *float64

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

RUMGroupByMissing - The value to use for logs that don't have the facet used to group by.

func RUMGroupByMissingNumberAsRUMGroupByMissing ¶ added in v1.12.0

func RUMGroupByMissingNumberAsRUMGroupByMissing(v *float64) RUMGroupByMissing

RUMGroupByMissingNumberAsRUMGroupByMissing is a convenience function that returns float64 wrapped in RUMGroupByMissing.

func RUMGroupByMissingStringAsRUMGroupByMissing ¶ added in v1.12.0

func RUMGroupByMissingStringAsRUMGroupByMissing(v *string) RUMGroupByMissing

RUMGroupByMissingStringAsRUMGroupByMissing is a convenience function that returns string wrapped in RUMGroupByMissing.

func (*RUMGroupByMissing) GetActualInstance ¶ added in v1.12.0

func (obj *RUMGroupByMissing) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (RUMGroupByMissing) MarshalJSON ¶ added in v1.12.0

func (obj RUMGroupByMissing) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*RUMGroupByMissing) UnmarshalJSON ¶ added in v1.12.0

func (obj *RUMGroupByMissing) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type RUMGroupByTotal ¶ added in v1.12.0

type RUMGroupByTotal struct {
	RUMGroupByTotalBoolean *bool
	RUMGroupByTotalString  *string
	RUMGroupByTotalNumber  *float64

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

RUMGroupByTotal - A resulting object to put the given computes in over all the matching records.

func RUMGroupByTotalBooleanAsRUMGroupByTotal ¶ added in v1.12.0

func RUMGroupByTotalBooleanAsRUMGroupByTotal(v *bool) RUMGroupByTotal

RUMGroupByTotalBooleanAsRUMGroupByTotal is a convenience function that returns bool wrapped in RUMGroupByTotal.

func RUMGroupByTotalNumberAsRUMGroupByTotal ¶ added in v1.12.0

func RUMGroupByTotalNumberAsRUMGroupByTotal(v *float64) RUMGroupByTotal

RUMGroupByTotalNumberAsRUMGroupByTotal is a convenience function that returns float64 wrapped in RUMGroupByTotal.

func RUMGroupByTotalStringAsRUMGroupByTotal ¶ added in v1.12.0

func RUMGroupByTotalStringAsRUMGroupByTotal(v *string) RUMGroupByTotal

RUMGroupByTotalStringAsRUMGroupByTotal is a convenience function that returns string wrapped in RUMGroupByTotal.

func (*RUMGroupByTotal) GetActualInstance ¶ added in v1.12.0

func (obj *RUMGroupByTotal) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (RUMGroupByTotal) MarshalJSON ¶ added in v1.12.0

func (obj RUMGroupByTotal) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*RUMGroupByTotal) UnmarshalJSON ¶ added in v1.12.0

func (obj *RUMGroupByTotal) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type RUMQueryFilter ¶ added in v1.11.0

type RUMQueryFilter struct {
	// The minimum time for the requested events; supports date, math, and regular timestamps (in milliseconds).
	From *string `json:"from,omitempty"`
	// The search query following the RUM search syntax.
	Query *string `json:"query,omitempty"`
	// The maximum time for the requested events; supports date, math, and regular timestamps (in milliseconds).
	To *string `json:"to,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMQueryFilter The search and filter query settings.

func NewRUMQueryFilter ¶ added in v1.11.0

func NewRUMQueryFilter() *RUMQueryFilter

NewRUMQueryFilter instantiates a new RUMQueryFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMQueryFilterWithDefaults ¶ added in v1.11.0

func NewRUMQueryFilterWithDefaults() *RUMQueryFilter

NewRUMQueryFilterWithDefaults instantiates a new RUMQueryFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMQueryFilter) GetFrom ¶ added in v1.11.0

func (o *RUMQueryFilter) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*RUMQueryFilter) GetFromOk ¶ added in v1.11.0

func (o *RUMQueryFilter) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryFilter) GetQuery ¶ added in v1.11.0

func (o *RUMQueryFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*RUMQueryFilter) GetQueryOk ¶ added in v1.11.0

func (o *RUMQueryFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryFilter) GetTo ¶ added in v1.11.0

func (o *RUMQueryFilter) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*RUMQueryFilter) GetToOk ¶ added in v1.11.0

func (o *RUMQueryFilter) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryFilter) HasFrom ¶ added in v1.11.0

func (o *RUMQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*RUMQueryFilter) HasQuery ¶ added in v1.11.0

func (o *RUMQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*RUMQueryFilter) HasTo ¶ added in v1.11.0

func (o *RUMQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (RUMQueryFilter) MarshalJSON ¶ added in v1.11.0

func (o RUMQueryFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMQueryFilter) SetFrom ¶ added in v1.11.0

func (o *RUMQueryFilter) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*RUMQueryFilter) SetQuery ¶ added in v1.11.0

func (o *RUMQueryFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*RUMQueryFilter) SetTo ¶ added in v1.11.0

func (o *RUMQueryFilter) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

func (*RUMQueryFilter) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMQueryFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMQueryOptions ¶ added in v1.11.0

type RUMQueryOptions struct {
	// The time offset (in seconds) to apply to the query.
	TimeOffset *int64 `json:"time_offset,omitempty"`
	// The timezone can be specified both as an offset, for example: "UTC+03:00".
	Timezone *string `json:"timezone,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMQueryOptions Global query options that are used during the query. Note: Only supply timezone or time offset, not both. Otherwise, the query fails.

func NewRUMQueryOptions ¶ added in v1.11.0

func NewRUMQueryOptions() *RUMQueryOptions

NewRUMQueryOptions instantiates a new RUMQueryOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMQueryOptionsWithDefaults ¶ added in v1.11.0

func NewRUMQueryOptionsWithDefaults() *RUMQueryOptions

NewRUMQueryOptionsWithDefaults instantiates a new RUMQueryOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMQueryOptions) GetTimeOffset ¶ added in v1.11.0

func (o *RUMQueryOptions) GetTimeOffset() int64

GetTimeOffset returns the TimeOffset field value if set, zero value otherwise.

func (*RUMQueryOptions) GetTimeOffsetOk ¶ added in v1.11.0

func (o *RUMQueryOptions) GetTimeOffsetOk() (*int64, bool)

GetTimeOffsetOk returns a tuple with the TimeOffset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryOptions) GetTimezone ¶ added in v1.11.0

func (o *RUMQueryOptions) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*RUMQueryOptions) GetTimezoneOk ¶ added in v1.11.0

func (o *RUMQueryOptions) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryOptions) HasTimeOffset ¶ added in v1.11.0

func (o *RUMQueryOptions) HasTimeOffset() bool

HasTimeOffset returns a boolean if a field has been set.

func (*RUMQueryOptions) HasTimezone ¶ added in v1.11.0

func (o *RUMQueryOptions) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (RUMQueryOptions) MarshalJSON ¶ added in v1.11.0

func (o RUMQueryOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMQueryOptions) SetTimeOffset ¶ added in v1.11.0

func (o *RUMQueryOptions) SetTimeOffset(v int64)

SetTimeOffset gets a reference to the given int64 and assigns it to the TimeOffset field.

func (*RUMQueryOptions) SetTimezone ¶ added in v1.11.0

func (o *RUMQueryOptions) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*RUMQueryOptions) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMQueryOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMQueryPageOptions ¶ added in v1.11.0

type RUMQueryPageOptions struct {
	// List following results with a cursor provided in the previous query.
	Cursor *string `json:"cursor,omitempty"`
	// Maximum number of events in the response.
	Limit *int32 `json:"limit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMQueryPageOptions Paging attributes for listing events.

func NewRUMQueryPageOptions ¶ added in v1.11.0

func NewRUMQueryPageOptions() *RUMQueryPageOptions

NewRUMQueryPageOptions instantiates a new RUMQueryPageOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMQueryPageOptionsWithDefaults ¶ added in v1.11.0

func NewRUMQueryPageOptionsWithDefaults() *RUMQueryPageOptions

NewRUMQueryPageOptionsWithDefaults instantiates a new RUMQueryPageOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMQueryPageOptions) GetCursor ¶ added in v1.11.0

func (o *RUMQueryPageOptions) GetCursor() string

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*RUMQueryPageOptions) GetCursorOk ¶ added in v1.11.0

func (o *RUMQueryPageOptions) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryPageOptions) GetLimit ¶ added in v1.11.0

func (o *RUMQueryPageOptions) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*RUMQueryPageOptions) GetLimitOk ¶ added in v1.11.0

func (o *RUMQueryPageOptions) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryPageOptions) HasCursor ¶ added in v1.11.0

func (o *RUMQueryPageOptions) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*RUMQueryPageOptions) HasLimit ¶ added in v1.11.0

func (o *RUMQueryPageOptions) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (RUMQueryPageOptions) MarshalJSON ¶ added in v1.11.0

func (o RUMQueryPageOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMQueryPageOptions) SetCursor ¶ added in v1.11.0

func (o *RUMQueryPageOptions) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*RUMQueryPageOptions) SetLimit ¶ added in v1.11.0

func (o *RUMQueryPageOptions) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*RUMQueryPageOptions) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMQueryPageOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMResponseLinks struct {
	// Link for the next set of results. Note that the request can also be made using the
	// POST endpoint.
	Next *string `json:"next,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMResponseLinks Links attributes.

func NewRUMResponseLinks() *RUMResponseLinks

NewRUMResponseLinks instantiates a new RUMResponseLinks object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMResponseLinksWithDefaults ¶ added in v1.11.0

func NewRUMResponseLinksWithDefaults() *RUMResponseLinks

NewRUMResponseLinksWithDefaults instantiates a new RUMResponseLinks object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMResponseLinks) GetNext ¶ added in v1.11.0

func (o *RUMResponseLinks) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*RUMResponseLinks) GetNextOk ¶ added in v1.11.0

func (o *RUMResponseLinks) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseLinks) HasNext ¶ added in v1.11.0

func (o *RUMResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (RUMResponseLinks) MarshalJSON ¶ added in v1.11.0

func (o RUMResponseLinks) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMResponseLinks) SetNext ¶ added in v1.11.0

func (o *RUMResponseLinks) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*RUMResponseLinks) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMResponseLinks) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMResponseMetadata ¶ added in v1.11.0

type RUMResponseMetadata struct {
	// The time elapsed in milliseconds.
	Elapsed *int64 `json:"elapsed,omitempty"`
	// Paging attributes.
	Page *RUMResponsePage `json:"page,omitempty"`
	// The identifier of the request.
	RequestId *string `json:"request_id,omitempty"`
	// The status of the response.
	Status *RUMResponseStatus `json:"status,omitempty"`
	// A list of warnings (non-fatal errors) encountered. Partial results may return if
	// warnings are present in the response.
	Warnings []RUMWarning `json:"warnings,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMResponseMetadata The metadata associated with a request.

func NewRUMResponseMetadata ¶ added in v1.11.0

func NewRUMResponseMetadata() *RUMResponseMetadata

NewRUMResponseMetadata instantiates a new RUMResponseMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMResponseMetadataWithDefaults ¶ added in v1.11.0

func NewRUMResponseMetadataWithDefaults() *RUMResponseMetadata

NewRUMResponseMetadataWithDefaults instantiates a new RUMResponseMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMResponseMetadata) GetElapsed ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetElapsed() int64

GetElapsed returns the Elapsed field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetElapsedOk ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetElapsedOk() (*int64, bool)

GetElapsedOk returns a tuple with the Elapsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseMetadata) GetPage ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetPage() RUMResponsePage

GetPage returns the Page field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetPageOk ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetPageOk() (*RUMResponsePage, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseMetadata) GetRequestId ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetRequestIdOk ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseMetadata) GetStatus ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetStatus() RUMResponseStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetStatusOk ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetStatusOk() (*RUMResponseStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseMetadata) GetWarnings ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetWarnings() []RUMWarning

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetWarningsOk ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetWarningsOk() (*[]RUMWarning, bool)

GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseMetadata) HasElapsed ¶ added in v1.11.0

func (o *RUMResponseMetadata) HasElapsed() bool

HasElapsed returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasPage ¶ added in v1.11.0

func (o *RUMResponseMetadata) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasRequestId ¶ added in v1.11.0

func (o *RUMResponseMetadata) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasStatus ¶ added in v1.11.0

func (o *RUMResponseMetadata) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasWarnings ¶ added in v1.11.0

func (o *RUMResponseMetadata) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (RUMResponseMetadata) MarshalJSON ¶ added in v1.11.0

func (o RUMResponseMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMResponseMetadata) SetElapsed ¶ added in v1.11.0

func (o *RUMResponseMetadata) SetElapsed(v int64)

SetElapsed gets a reference to the given int64 and assigns it to the Elapsed field.

func (*RUMResponseMetadata) SetPage ¶ added in v1.11.0

func (o *RUMResponseMetadata) SetPage(v RUMResponsePage)

SetPage gets a reference to the given RUMResponsePage and assigns it to the Page field.

func (*RUMResponseMetadata) SetRequestId ¶ added in v1.11.0

func (o *RUMResponseMetadata) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*RUMResponseMetadata) SetStatus ¶ added in v1.11.0

func (o *RUMResponseMetadata) SetStatus(v RUMResponseStatus)

SetStatus gets a reference to the given RUMResponseStatus and assigns it to the Status field.

func (*RUMResponseMetadata) SetWarnings ¶ added in v1.11.0

func (o *RUMResponseMetadata) SetWarnings(v []RUMWarning)

SetWarnings gets a reference to the given []RUMWarning and assigns it to the Warnings field.

func (*RUMResponseMetadata) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMResponseMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMResponsePage ¶ added in v1.11.0

type RUMResponsePage struct {
	// The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of `page[cursor]`.
	After *string `json:"after,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMResponsePage Paging attributes.

func NewRUMResponsePage ¶ added in v1.11.0

func NewRUMResponsePage() *RUMResponsePage

NewRUMResponsePage instantiates a new RUMResponsePage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMResponsePageWithDefaults ¶ added in v1.11.0

func NewRUMResponsePageWithDefaults() *RUMResponsePage

NewRUMResponsePageWithDefaults instantiates a new RUMResponsePage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMResponsePage) GetAfter ¶ added in v1.11.0

func (o *RUMResponsePage) GetAfter() string

GetAfter returns the After field value if set, zero value otherwise.

func (*RUMResponsePage) GetAfterOk ¶ added in v1.11.0

func (o *RUMResponsePage) GetAfterOk() (*string, bool)

GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponsePage) HasAfter ¶ added in v1.11.0

func (o *RUMResponsePage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (RUMResponsePage) MarshalJSON ¶ added in v1.11.0

func (o RUMResponsePage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMResponsePage) SetAfter ¶ added in v1.11.0

func (o *RUMResponsePage) SetAfter(v string)

SetAfter gets a reference to the given string and assigns it to the After field.

func (*RUMResponsePage) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMResponsePage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMResponseStatus ¶ added in v1.11.0

type RUMResponseStatus string

RUMResponseStatus The status of the response.

const (
	RUMRESPONSESTATUS_DONE    RUMResponseStatus = "done"
	RUMRESPONSESTATUS_TIMEOUT RUMResponseStatus = "timeout"
)

List of RUMResponseStatus.

func NewRUMResponseStatusFromValue ¶ added in v1.11.0

func NewRUMResponseStatusFromValue(v string) (*RUMResponseStatus, error)

NewRUMResponseStatusFromValue returns a pointer to a valid RUMResponseStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMResponseStatus) GetAllowedValues ¶ added in v1.11.0

func (v *RUMResponseStatus) GetAllowedValues() []RUMResponseStatus

GetAllowedValues reeturns the list of possible values.

func (RUMResponseStatus) IsValid ¶ added in v1.11.0

func (v RUMResponseStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMResponseStatus) Ptr ¶ added in v1.11.0

Ptr returns reference to RUMResponseStatus value.

func (*RUMResponseStatus) UnmarshalJSON ¶ added in v1.11.0

func (v *RUMResponseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMSearchEventsRequest ¶ added in v1.11.0

type RUMSearchEventsRequest struct {
	// The search and filter query settings.
	Filter *RUMQueryFilter `json:"filter,omitempty"`
	// Global query options that are used during the query.
	// Note: Only supply timezone or time offset, not both. Otherwise, the query fails.
	Options *RUMQueryOptions `json:"options,omitempty"`
	// Paging attributes for listing events.
	Page *RUMQueryPageOptions `json:"page,omitempty"`
	// Sort parameters when querying events.
	Sort *RUMSort `json:"sort,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMSearchEventsRequest The request for a RUM events list.

func NewRUMSearchEventsRequest ¶ added in v1.11.0

func NewRUMSearchEventsRequest() *RUMSearchEventsRequest

NewRUMSearchEventsRequest instantiates a new RUMSearchEventsRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMSearchEventsRequestWithDefaults ¶ added in v1.11.0

func NewRUMSearchEventsRequestWithDefaults() *RUMSearchEventsRequest

NewRUMSearchEventsRequestWithDefaults instantiates a new RUMSearchEventsRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMSearchEventsRequest) GetFilter ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetFilter() RUMQueryFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetFilterOk ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetFilterOk() (*RUMQueryFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMSearchEventsRequest) GetOptions ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetOptions() RUMQueryOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetOptionsOk ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetOptionsOk() (*RUMQueryOptions, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMSearchEventsRequest) GetPage ¶ added in v1.11.0

GetPage returns the Page field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetPageOk ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetPageOk() (*RUMQueryPageOptions, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMSearchEventsRequest) GetSort ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetSort() RUMSort

GetSort returns the Sort field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetSortOk ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetSortOk() (*RUMSort, bool)

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMSearchEventsRequest) HasFilter ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*RUMSearchEventsRequest) HasOptions ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*RUMSearchEventsRequest) HasPage ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*RUMSearchEventsRequest) HasSort ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (RUMSearchEventsRequest) MarshalJSON ¶ added in v1.11.0

func (o RUMSearchEventsRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMSearchEventsRequest) SetFilter ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) SetFilter(v RUMQueryFilter)

SetFilter gets a reference to the given RUMQueryFilter and assigns it to the Filter field.

func (*RUMSearchEventsRequest) SetOptions ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) SetOptions(v RUMQueryOptions)

SetOptions gets a reference to the given RUMQueryOptions and assigns it to the Options field.

func (*RUMSearchEventsRequest) SetPage ¶ added in v1.11.0

SetPage gets a reference to the given RUMQueryPageOptions and assigns it to the Page field.

func (*RUMSearchEventsRequest) SetSort ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) SetSort(v RUMSort)

SetSort gets a reference to the given RUMSort and assigns it to the Sort field.

func (*RUMSearchEventsRequest) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMSort ¶ added in v1.11.0

type RUMSort string

RUMSort Sort parameters when querying events.

const (
	RUMSORT_TIMESTAMP_ASCENDING  RUMSort = "timestamp"
	RUMSORT_TIMESTAMP_DESCENDING RUMSort = "-timestamp"
)

List of RUMSort.

func NewRUMSortFromValue ¶ added in v1.11.0

func NewRUMSortFromValue(v string) (*RUMSort, error)

NewRUMSortFromValue returns a pointer to a valid RUMSort for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMSort) GetAllowedValues ¶ added in v1.11.0

func (v *RUMSort) GetAllowedValues() []RUMSort

GetAllowedValues reeturns the list of possible values.

func (RUMSort) IsValid ¶ added in v1.11.0

func (v RUMSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMSort) Ptr ¶ added in v1.11.0

func (v RUMSort) Ptr() *RUMSort

Ptr returns reference to RUMSort value.

func (*RUMSort) UnmarshalJSON ¶ added in v1.11.0

func (v *RUMSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMSortOrder ¶ added in v1.12.0

type RUMSortOrder string

RUMSortOrder The order to use, ascending or descending.

const (
	RUMSORTORDER_ASCENDING  RUMSortOrder = "asc"
	RUMSORTORDER_DESCENDING RUMSortOrder = "desc"
)

List of RUMSortOrder.

func NewRUMSortOrderFromValue ¶ added in v1.12.0

func NewRUMSortOrderFromValue(v string) (*RUMSortOrder, error)

NewRUMSortOrderFromValue returns a pointer to a valid RUMSortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMSortOrder) GetAllowedValues ¶ added in v1.12.0

func (v *RUMSortOrder) GetAllowedValues() []RUMSortOrder

GetAllowedValues reeturns the list of possible values.

func (RUMSortOrder) IsValid ¶ added in v1.12.0

func (v RUMSortOrder) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMSortOrder) Ptr ¶ added in v1.12.0

func (v RUMSortOrder) Ptr() *RUMSortOrder

Ptr returns reference to RUMSortOrder value.

func (*RUMSortOrder) UnmarshalJSON ¶ added in v1.12.0

func (v *RUMSortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMWarning ¶ added in v1.11.0

type RUMWarning struct {
	// A unique code for this type of warning.
	Code *string `json:"code,omitempty"`
	// A detailed explanation of this specific warning.
	Detail *string `json:"detail,omitempty"`
	// A short human-readable summary of the warning.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMWarning A warning message indicating something that went wrong with the query.

func NewRUMWarning ¶ added in v1.11.0

func NewRUMWarning() *RUMWarning

NewRUMWarning instantiates a new RUMWarning object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMWarningWithDefaults ¶ added in v1.11.0

func NewRUMWarningWithDefaults() *RUMWarning

NewRUMWarningWithDefaults instantiates a new RUMWarning object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMWarning) GetCode ¶ added in v1.11.0

func (o *RUMWarning) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*RUMWarning) GetCodeOk ¶ added in v1.11.0

func (o *RUMWarning) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMWarning) GetDetail ¶ added in v1.11.0

func (o *RUMWarning) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*RUMWarning) GetDetailOk ¶ added in v1.11.0

func (o *RUMWarning) 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 (*RUMWarning) GetTitle ¶ added in v1.11.0

func (o *RUMWarning) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*RUMWarning) GetTitleOk ¶ added in v1.11.0

func (o *RUMWarning) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMWarning) HasCode ¶ added in v1.11.0

func (o *RUMWarning) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*RUMWarning) HasDetail ¶ added in v1.11.0

func (o *RUMWarning) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*RUMWarning) HasTitle ¶ added in v1.11.0

func (o *RUMWarning) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (RUMWarning) MarshalJSON ¶ added in v1.11.0

func (o RUMWarning) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMWarning) SetCode ¶ added in v1.11.0

func (o *RUMWarning) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*RUMWarning) SetDetail ¶ added in v1.11.0

func (o *RUMWarning) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*RUMWarning) SetTitle ¶ added in v1.11.0

func (o *RUMWarning) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*RUMWarning) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMWarning) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToIncidentIntegrationMetadataData ¶

type RelationshipToIncidentIntegrationMetadataData struct {
	// A unique identifier that represents the integration metadata.
	Id string `json:"id"`
	// Integration metadata resource type.
	Type IncidentIntegrationMetadataType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToIncidentIntegrationMetadataData A relationship reference for an integration metadata object.

func NewRelationshipToIncidentIntegrationMetadataData ¶

func NewRelationshipToIncidentIntegrationMetadataData(id string, typeVar IncidentIntegrationMetadataType) *RelationshipToIncidentIntegrationMetadataData

NewRelationshipToIncidentIntegrationMetadataData instantiates a new RelationshipToIncidentIntegrationMetadataData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToIncidentIntegrationMetadataDataWithDefaults ¶

func NewRelationshipToIncidentIntegrationMetadataDataWithDefaults() *RelationshipToIncidentIntegrationMetadataData

NewRelationshipToIncidentIntegrationMetadataDataWithDefaults instantiates a new RelationshipToIncidentIntegrationMetadataData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToIncidentIntegrationMetadataData) GetId ¶

GetId returns the Id field value.

func (*RelationshipToIncidentIntegrationMetadataData) GetIdOk ¶

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RelationshipToIncidentIntegrationMetadataData) GetType ¶

GetType returns the Type field value.

func (*RelationshipToIncidentIntegrationMetadataData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RelationshipToIncidentIntegrationMetadataData) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToIncidentIntegrationMetadataData) SetId ¶

SetId sets field value.

func (*RelationshipToIncidentIntegrationMetadataData) SetType ¶

SetType sets field value.

func (*RelationshipToIncidentIntegrationMetadataData) UnmarshalJSON ¶

func (o *RelationshipToIncidentIntegrationMetadataData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToIncidentIntegrationMetadatas ¶

type RelationshipToIncidentIntegrationMetadatas struct {
	// The integration metadata relationship array
	Data []RelationshipToIncidentIntegrationMetadataData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToIncidentIntegrationMetadatas A relationship reference for multiple integration metadata objects.

func NewRelationshipToIncidentIntegrationMetadatas ¶

func NewRelationshipToIncidentIntegrationMetadatas(data []RelationshipToIncidentIntegrationMetadataData) *RelationshipToIncidentIntegrationMetadatas

NewRelationshipToIncidentIntegrationMetadatas instantiates a new RelationshipToIncidentIntegrationMetadatas object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToIncidentIntegrationMetadatasWithDefaults ¶

func NewRelationshipToIncidentIntegrationMetadatasWithDefaults() *RelationshipToIncidentIntegrationMetadatas

NewRelationshipToIncidentIntegrationMetadatasWithDefaults instantiates a new RelationshipToIncidentIntegrationMetadatas object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToIncidentIntegrationMetadatas) GetData ¶

GetData returns the Data field value.

func (*RelationshipToIncidentIntegrationMetadatas) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToIncidentIntegrationMetadatas) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToIncidentIntegrationMetadatas) SetData ¶

SetData sets field value.

func (*RelationshipToIncidentIntegrationMetadatas) UnmarshalJSON ¶

func (o *RelationshipToIncidentIntegrationMetadatas) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToIncidentPostmortem ¶

type RelationshipToIncidentPostmortem struct {
	// The postmortem relationship data.
	Data RelationshipToIncidentPostmortemData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToIncidentPostmortem A relationship reference for postmortems.

func NewRelationshipToIncidentPostmortem ¶

func NewRelationshipToIncidentPostmortem(data RelationshipToIncidentPostmortemData) *RelationshipToIncidentPostmortem

NewRelationshipToIncidentPostmortem instantiates a new RelationshipToIncidentPostmortem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToIncidentPostmortemWithDefaults ¶

func NewRelationshipToIncidentPostmortemWithDefaults() *RelationshipToIncidentPostmortem

NewRelationshipToIncidentPostmortemWithDefaults instantiates a new RelationshipToIncidentPostmortem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToIncidentPostmortem) GetData ¶

GetData returns the Data field value.

func (*RelationshipToIncidentPostmortem) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToIncidentPostmortem) MarshalJSON ¶

func (o RelationshipToIncidentPostmortem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToIncidentPostmortem) SetData ¶

SetData sets field value.

func (*RelationshipToIncidentPostmortem) UnmarshalJSON ¶

func (o *RelationshipToIncidentPostmortem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToIncidentPostmortemData ¶

type RelationshipToIncidentPostmortemData struct {
	// A unique identifier that represents the postmortem.
	Id string `json:"id"`
	// Incident postmortem resource type.
	Type IncidentPostmortemType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToIncidentPostmortemData The postmortem relationship data.

func NewRelationshipToIncidentPostmortemData ¶

func NewRelationshipToIncidentPostmortemData(id string, typeVar IncidentPostmortemType) *RelationshipToIncidentPostmortemData

NewRelationshipToIncidentPostmortemData instantiates a new RelationshipToIncidentPostmortemData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToIncidentPostmortemDataWithDefaults ¶

func NewRelationshipToIncidentPostmortemDataWithDefaults() *RelationshipToIncidentPostmortemData

NewRelationshipToIncidentPostmortemDataWithDefaults instantiates a new RelationshipToIncidentPostmortemData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToIncidentPostmortemData) GetId ¶

GetId returns the Id field value.

func (*RelationshipToIncidentPostmortemData) GetIdOk ¶

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RelationshipToIncidentPostmortemData) GetType ¶

GetType returns the Type field value.

func (*RelationshipToIncidentPostmortemData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RelationshipToIncidentPostmortemData) MarshalJSON ¶

func (o RelationshipToIncidentPostmortemData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToIncidentPostmortemData) SetId ¶

SetId sets field value.

func (*RelationshipToIncidentPostmortemData) SetType ¶

SetType sets field value.

func (*RelationshipToIncidentPostmortemData) UnmarshalJSON ¶

func (o *RelationshipToIncidentPostmortemData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToOrganization ¶

type RelationshipToOrganization struct {
	// Relationship to organization object.
	Data RelationshipToOrganizationData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToOrganization Relationship to an organization.

func NewRelationshipToOrganization ¶

func NewRelationshipToOrganization(data RelationshipToOrganizationData) *RelationshipToOrganization

NewRelationshipToOrganization instantiates a new RelationshipToOrganization object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToOrganizationWithDefaults ¶

func NewRelationshipToOrganizationWithDefaults() *RelationshipToOrganization

NewRelationshipToOrganizationWithDefaults instantiates a new RelationshipToOrganization object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToOrganization) GetData ¶

GetData returns the Data field value.

func (*RelationshipToOrganization) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToOrganization) MarshalJSON ¶

func (o RelationshipToOrganization) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToOrganization) SetData ¶

SetData sets field value.

func (*RelationshipToOrganization) UnmarshalJSON ¶

func (o *RelationshipToOrganization) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToOrganizationData ¶

type RelationshipToOrganizationData struct {
	// ID of the organization.
	Id string `json:"id"`
	// Organizations resource type.
	Type OrganizationsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToOrganizationData Relationship to organization object.

func NewRelationshipToOrganizationData ¶

func NewRelationshipToOrganizationData(id string, typeVar OrganizationsType) *RelationshipToOrganizationData

NewRelationshipToOrganizationData instantiates a new RelationshipToOrganizationData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToOrganizationDataWithDefaults ¶

func NewRelationshipToOrganizationDataWithDefaults() *RelationshipToOrganizationData

NewRelationshipToOrganizationDataWithDefaults instantiates a new RelationshipToOrganizationData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToOrganizationData) GetId ¶

GetId returns the Id field value.

func (*RelationshipToOrganizationData) GetIdOk ¶

func (o *RelationshipToOrganizationData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RelationshipToOrganizationData) GetType ¶

GetType returns the Type field value.

func (*RelationshipToOrganizationData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RelationshipToOrganizationData) MarshalJSON ¶

func (o RelationshipToOrganizationData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToOrganizationData) SetId ¶

SetId sets field value.

func (*RelationshipToOrganizationData) SetType ¶

SetType sets field value.

func (*RelationshipToOrganizationData) UnmarshalJSON ¶

func (o *RelationshipToOrganizationData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToOrganizations ¶

type RelationshipToOrganizations struct {
	// Relationships to organization objects.
	Data []RelationshipToOrganizationData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToOrganizations Relationship to organizations.

func NewRelationshipToOrganizations ¶

func NewRelationshipToOrganizations(data []RelationshipToOrganizationData) *RelationshipToOrganizations

NewRelationshipToOrganizations instantiates a new RelationshipToOrganizations object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToOrganizationsWithDefaults ¶

func NewRelationshipToOrganizationsWithDefaults() *RelationshipToOrganizations

NewRelationshipToOrganizationsWithDefaults instantiates a new RelationshipToOrganizations object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToOrganizations) GetData ¶

GetData returns the Data field value.

func (*RelationshipToOrganizations) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToOrganizations) MarshalJSON ¶

func (o RelationshipToOrganizations) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToOrganizations) SetData ¶

SetData sets field value.

func (*RelationshipToOrganizations) UnmarshalJSON ¶

func (o *RelationshipToOrganizations) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToPermission ¶

type RelationshipToPermission struct {
	// Relationship to permission object.
	Data *RelationshipToPermissionData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToPermission Relationship to a permissions object.

func NewRelationshipToPermission ¶

func NewRelationshipToPermission() *RelationshipToPermission

NewRelationshipToPermission instantiates a new RelationshipToPermission object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToPermissionWithDefaults ¶

func NewRelationshipToPermissionWithDefaults() *RelationshipToPermission

NewRelationshipToPermissionWithDefaults instantiates a new RelationshipToPermission object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToPermission) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToPermission) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipToPermission) HasData ¶

func (o *RelationshipToPermission) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToPermission) MarshalJSON ¶

func (o RelationshipToPermission) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToPermission) SetData ¶

SetData gets a reference to the given RelationshipToPermissionData and assigns it to the Data field.

func (*RelationshipToPermission) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToPermission) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToPermissionData ¶

type RelationshipToPermissionData struct {
	// ID of the permission.
	Id *string `json:"id,omitempty"`
	// Permissions resource type.
	Type *PermissionsType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToPermissionData Relationship to permission object.

func NewRelationshipToPermissionData ¶

func NewRelationshipToPermissionData() *RelationshipToPermissionData

NewRelationshipToPermissionData instantiates a new RelationshipToPermissionData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToPermissionDataWithDefaults ¶

func NewRelationshipToPermissionDataWithDefaults() *RelationshipToPermissionData

NewRelationshipToPermissionDataWithDefaults instantiates a new RelationshipToPermissionData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToPermissionData) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*RelationshipToPermissionData) GetIdOk ¶

func (o *RelationshipToPermissionData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipToPermissionData) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*RelationshipToPermissionData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipToPermissionData) HasId ¶

HasId returns a boolean if a field has been set.

func (*RelationshipToPermissionData) HasType ¶

func (o *RelationshipToPermissionData) HasType() bool

HasType returns a boolean if a field has been set.

func (RelationshipToPermissionData) MarshalJSON ¶

func (o RelationshipToPermissionData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToPermissionData) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*RelationshipToPermissionData) SetType ¶

SetType gets a reference to the given PermissionsType and assigns it to the Type field.

func (*RelationshipToPermissionData) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToPermissionData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToPermissions ¶

type RelationshipToPermissions struct {
	// Relationships to permission objects.
	Data []RelationshipToPermissionData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToPermissions Relationship to multiple permissions objects.

func NewRelationshipToPermissions ¶

func NewRelationshipToPermissions() *RelationshipToPermissions

NewRelationshipToPermissions instantiates a new RelationshipToPermissions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToPermissionsWithDefaults ¶

func NewRelationshipToPermissionsWithDefaults() *RelationshipToPermissions

NewRelationshipToPermissionsWithDefaults instantiates a new RelationshipToPermissions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToPermissions) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToPermissions) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipToPermissions) HasData ¶

func (o *RelationshipToPermissions) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToPermissions) MarshalJSON ¶

func (o RelationshipToPermissions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToPermissions) SetData ¶

SetData gets a reference to the given []RelationshipToPermissionData and assigns it to the Data field.

func (*RelationshipToPermissions) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToPermissions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToRole ¶

type RelationshipToRole struct {
	// Relationship to role object.
	Data *RelationshipToRoleData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToRole Relationship to role.

func NewRelationshipToRole ¶

func NewRelationshipToRole() *RelationshipToRole

NewRelationshipToRole instantiates a new RelationshipToRole object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToRoleWithDefaults ¶

func NewRelationshipToRoleWithDefaults() *RelationshipToRole

NewRelationshipToRoleWithDefaults instantiates a new RelationshipToRole object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToRole) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToRole) GetDataOk ¶

func (o *RelationshipToRole) GetDataOk() (*RelationshipToRoleData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipToRole) HasData ¶

func (o *RelationshipToRole) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToRole) MarshalJSON ¶

func (o RelationshipToRole) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToRole) SetData ¶

SetData gets a reference to the given RelationshipToRoleData and assigns it to the Data field.

func (*RelationshipToRole) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToRole) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToRoleData ¶

type RelationshipToRoleData struct {
	// The unique identifier of the role.
	Id *string `json:"id,omitempty"`
	// Roles type.
	Type *RolesType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToRoleData Relationship to role object.

func NewRelationshipToRoleData ¶

func NewRelationshipToRoleData() *RelationshipToRoleData

NewRelationshipToRoleData instantiates a new RelationshipToRoleData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToRoleDataWithDefaults ¶

func NewRelationshipToRoleDataWithDefaults() *RelationshipToRoleData

NewRelationshipToRoleDataWithDefaults instantiates a new RelationshipToRoleData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToRoleData) GetId ¶

func (o *RelationshipToRoleData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RelationshipToRoleData) GetIdOk ¶

func (o *RelationshipToRoleData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipToRoleData) GetType ¶

func (o *RelationshipToRoleData) GetType() RolesType

GetType returns the Type field value if set, zero value otherwise.

func (*RelationshipToRoleData) GetTypeOk ¶

func (o *RelationshipToRoleData) GetTypeOk() (*RolesType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipToRoleData) HasId ¶

func (o *RelationshipToRoleData) HasId() bool

HasId returns a boolean if a field has been set.

func (*RelationshipToRoleData) HasType ¶

func (o *RelationshipToRoleData) HasType() bool

HasType returns a boolean if a field has been set.

func (RelationshipToRoleData) MarshalJSON ¶

func (o RelationshipToRoleData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToRoleData) SetId ¶

func (o *RelationshipToRoleData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RelationshipToRoleData) SetType ¶

func (o *RelationshipToRoleData) SetType(v RolesType)

SetType gets a reference to the given RolesType and assigns it to the Type field.

func (*RelationshipToRoleData) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToRoleData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToRoles ¶

type RelationshipToRoles struct {
	// An array containing type and the unique identifier of a role.
	Data []RelationshipToRoleData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToRoles Relationship to roles.

func NewRelationshipToRoles ¶

func NewRelationshipToRoles() *RelationshipToRoles

NewRelationshipToRoles instantiates a new RelationshipToRoles object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToRolesWithDefaults ¶

func NewRelationshipToRolesWithDefaults() *RelationshipToRoles

NewRelationshipToRolesWithDefaults instantiates a new RelationshipToRoles object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToRoles) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToRoles) GetDataOk ¶

func (o *RelationshipToRoles) GetDataOk() (*[]RelationshipToRoleData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipToRoles) HasData ¶

func (o *RelationshipToRoles) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToRoles) MarshalJSON ¶

func (o RelationshipToRoles) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToRoles) SetData ¶

SetData gets a reference to the given []RelationshipToRoleData and assigns it to the Data field.

func (*RelationshipToRoles) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToRoles) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToSAMLAssertionAttribute ¶ added in v1.9.0

type RelationshipToSAMLAssertionAttribute struct {
	// Data of AuthN Mapping relationship to SAML Assertion Attribute.
	Data RelationshipToSAMLAssertionAttributeData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToSAMLAssertionAttribute AuthN Mapping relationship to SAML Assertion Attribute.

func NewRelationshipToSAMLAssertionAttribute ¶ added in v1.9.0

func NewRelationshipToSAMLAssertionAttribute(data RelationshipToSAMLAssertionAttributeData) *RelationshipToSAMLAssertionAttribute

NewRelationshipToSAMLAssertionAttribute instantiates a new RelationshipToSAMLAssertionAttribute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToSAMLAssertionAttributeWithDefaults ¶ added in v1.9.0

func NewRelationshipToSAMLAssertionAttributeWithDefaults() *RelationshipToSAMLAssertionAttribute

NewRelationshipToSAMLAssertionAttributeWithDefaults instantiates a new RelationshipToSAMLAssertionAttribute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToSAMLAssertionAttribute) GetData ¶ added in v1.9.0

GetData returns the Data field value.

func (*RelationshipToSAMLAssertionAttribute) GetDataOk ¶ added in v1.9.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToSAMLAssertionAttribute) MarshalJSON ¶ added in v1.9.0

func (o RelationshipToSAMLAssertionAttribute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToSAMLAssertionAttribute) SetData ¶ added in v1.9.0

SetData sets field value.

func (*RelationshipToSAMLAssertionAttribute) UnmarshalJSON ¶ added in v1.9.0

func (o *RelationshipToSAMLAssertionAttribute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToSAMLAssertionAttributeData ¶ added in v1.9.0

type RelationshipToSAMLAssertionAttributeData struct {
	// The ID of the SAML assertion attribute.
	Id string `json:"id"`
	// SAML assertion attributes resource type.
	Type SAMLAssertionAttributesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToSAMLAssertionAttributeData Data of AuthN Mapping relationship to SAML Assertion Attribute.

func NewRelationshipToSAMLAssertionAttributeData ¶ added in v1.9.0

func NewRelationshipToSAMLAssertionAttributeData(id string, typeVar SAMLAssertionAttributesType) *RelationshipToSAMLAssertionAttributeData

NewRelationshipToSAMLAssertionAttributeData instantiates a new RelationshipToSAMLAssertionAttributeData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToSAMLAssertionAttributeDataWithDefaults ¶ added in v1.9.0

func NewRelationshipToSAMLAssertionAttributeDataWithDefaults() *RelationshipToSAMLAssertionAttributeData

NewRelationshipToSAMLAssertionAttributeDataWithDefaults instantiates a new RelationshipToSAMLAssertionAttributeData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToSAMLAssertionAttributeData) GetId ¶ added in v1.9.0

GetId returns the Id field value.

func (*RelationshipToSAMLAssertionAttributeData) GetIdOk ¶ added in v1.9.0

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RelationshipToSAMLAssertionAttributeData) GetType ¶ added in v1.9.0

GetType returns the Type field value.

func (*RelationshipToSAMLAssertionAttributeData) GetTypeOk ¶ added in v1.9.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RelationshipToSAMLAssertionAttributeData) MarshalJSON ¶ added in v1.9.0

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToSAMLAssertionAttributeData) SetId ¶ added in v1.9.0

SetId sets field value.

func (*RelationshipToSAMLAssertionAttributeData) SetType ¶ added in v1.9.0

SetType sets field value.

func (*RelationshipToSAMLAssertionAttributeData) UnmarshalJSON ¶ added in v1.9.0

func (o *RelationshipToSAMLAssertionAttributeData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToUser ¶

type RelationshipToUser struct {
	// Relationship to user object.
	Data RelationshipToUserData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToUser Relationship to user.

func NewRelationshipToUser ¶

func NewRelationshipToUser(data RelationshipToUserData) *RelationshipToUser

NewRelationshipToUser instantiates a new RelationshipToUser object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToUserWithDefaults ¶

func NewRelationshipToUserWithDefaults() *RelationshipToUser

NewRelationshipToUserWithDefaults instantiates a new RelationshipToUser object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToUser) GetData ¶

GetData returns the Data field value.

func (*RelationshipToUser) GetDataOk ¶

func (o *RelationshipToUser) GetDataOk() (*RelationshipToUserData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToUser) MarshalJSON ¶

func (o RelationshipToUser) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToUser) SetData ¶

SetData sets field value.

func (*RelationshipToUser) UnmarshalJSON ¶

func (o *RelationshipToUser) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToUserData ¶

type RelationshipToUserData struct {
	// A unique identifier that represents the user.
	Id string `json:"id"`
	// Users resource type.
	Type UsersType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToUserData Relationship to user object.

func NewRelationshipToUserData ¶

func NewRelationshipToUserData(id string, typeVar UsersType) *RelationshipToUserData

NewRelationshipToUserData instantiates a new RelationshipToUserData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToUserDataWithDefaults ¶

func NewRelationshipToUserDataWithDefaults() *RelationshipToUserData

NewRelationshipToUserDataWithDefaults instantiates a new RelationshipToUserData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToUserData) GetId ¶

func (o *RelationshipToUserData) GetId() string

GetId returns the Id field value.

func (*RelationshipToUserData) GetIdOk ¶

func (o *RelationshipToUserData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RelationshipToUserData) GetType ¶

func (o *RelationshipToUserData) GetType() UsersType

GetType returns the Type field value.

func (*RelationshipToUserData) GetTypeOk ¶

func (o *RelationshipToUserData) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RelationshipToUserData) MarshalJSON ¶

func (o RelationshipToUserData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToUserData) SetId ¶

func (o *RelationshipToUserData) SetId(v string)

SetId sets field value.

func (*RelationshipToUserData) SetType ¶

func (o *RelationshipToUserData) SetType(v UsersType)

SetType sets field value.

func (*RelationshipToUserData) UnmarshalJSON ¶

func (o *RelationshipToUserData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToUsers ¶

type RelationshipToUsers struct {
	// Relationships to user objects.
	Data []RelationshipToUserData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToUsers Relationship to users.

func NewRelationshipToUsers ¶

func NewRelationshipToUsers(data []RelationshipToUserData) *RelationshipToUsers

NewRelationshipToUsers instantiates a new RelationshipToUsers object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToUsersWithDefaults ¶

func NewRelationshipToUsersWithDefaults() *RelationshipToUsers

NewRelationshipToUsersWithDefaults instantiates a new RelationshipToUsers object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToUsers) GetData ¶

GetData returns the Data field value.

func (*RelationshipToUsers) GetDataOk ¶

func (o *RelationshipToUsers) GetDataOk() (*[]RelationshipToUserData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToUsers) MarshalJSON ¶

func (o RelationshipToUsers) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToUsers) SetData ¶

SetData sets field value.

func (*RelationshipToUsers) UnmarshalJSON ¶

func (o *RelationshipToUsers) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ResponseMetaAttributes ¶

type ResponseMetaAttributes struct {
	// Pagination object.
	Page *Pagination `json:"page,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ResponseMetaAttributes Object describing meta attributes of response.

func NewResponseMetaAttributes ¶

func NewResponseMetaAttributes() *ResponseMetaAttributes

NewResponseMetaAttributes instantiates a new ResponseMetaAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewResponseMetaAttributesWithDefaults ¶

func NewResponseMetaAttributesWithDefaults() *ResponseMetaAttributes

NewResponseMetaAttributesWithDefaults instantiates a new ResponseMetaAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ResponseMetaAttributes) GetPage ¶

func (o *ResponseMetaAttributes) GetPage() Pagination

GetPage returns the Page field value if set, zero value otherwise.

func (*ResponseMetaAttributes) GetPageOk ¶

func (o *ResponseMetaAttributes) GetPageOk() (*Pagination, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResponseMetaAttributes) HasPage ¶

func (o *ResponseMetaAttributes) HasPage() bool

HasPage returns a boolean if a field has been set.

func (ResponseMetaAttributes) MarshalJSON ¶

func (o ResponseMetaAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ResponseMetaAttributes) SetPage ¶

func (o *ResponseMetaAttributes) SetPage(v Pagination)

SetPage gets a reference to the given Pagination and assigns it to the Page field.

func (*ResponseMetaAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *ResponseMetaAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Role ¶

type Role struct {
	// Attributes of the role.
	Attributes *RoleAttributes `json:"attributes,omitempty"`
	// The unique identifier of the role.
	Id *string `json:"id,omitempty"`
	// Relationships of the role object returned by the API.
	Relationships *RoleResponseRelationships `json:"relationships,omitempty"`
	// Roles type.
	Type RolesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Role Role object returned by the API.

func NewRole ¶

func NewRole(typeVar RolesType) *Role

NewRole instantiates a new Role object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleWithDefaults ¶

func NewRoleWithDefaults() *Role

NewRoleWithDefaults instantiates a new Role object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*Role) GetAttributes ¶

func (o *Role) GetAttributes() RoleAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Role) GetAttributesOk ¶

func (o *Role) GetAttributesOk() (*RoleAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Role) GetId ¶

func (o *Role) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Role) GetIdOk ¶

func (o *Role) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Role) GetRelationships ¶

func (o *Role) GetRelationships() RoleResponseRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*Role) GetRelationshipsOk ¶

func (o *Role) GetRelationshipsOk() (*RoleResponseRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Role) GetType ¶

func (o *Role) GetType() RolesType

GetType returns the Type field value.

func (*Role) GetTypeOk ¶

func (o *Role) GetTypeOk() (*RolesType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Role) HasAttributes ¶

func (o *Role) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Role) HasId ¶

func (o *Role) HasId() bool

HasId returns a boolean if a field has been set.

func (*Role) HasRelationships ¶

func (o *Role) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (Role) MarshalJSON ¶

func (o Role) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Role) SetAttributes ¶

func (o *Role) SetAttributes(v RoleAttributes)

SetAttributes gets a reference to the given RoleAttributes and assigns it to the Attributes field.

func (*Role) SetId ¶

func (o *Role) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Role) SetRelationships ¶

func (o *Role) SetRelationships(v RoleResponseRelationships)

SetRelationships gets a reference to the given RoleResponseRelationships and assigns it to the Relationships field.

func (*Role) SetType ¶

func (o *Role) SetType(v RolesType)

SetType sets field value.

func (*Role) UnmarshalJSON ¶

func (o *Role) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleAttributes ¶

type RoleAttributes struct {
	// Creation time of the role.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Time of last role modification.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// The name of the role. The name is neither unique nor a stable identifier of the role.
	Name *string `json:"name,omitempty"`
	// Number of users with that role.
	UserCount *int64 `json:"user_count,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleAttributes Attributes of the role.

func NewRoleAttributes ¶

func NewRoleAttributes() *RoleAttributes

NewRoleAttributes instantiates a new RoleAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleAttributesWithDefaults ¶

func NewRoleAttributesWithDefaults() *RoleAttributes

NewRoleAttributesWithDefaults instantiates a new RoleAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleAttributes) GetCreatedAt ¶

func (o *RoleAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*RoleAttributes) GetCreatedAtOk ¶

func (o *RoleAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAttributes) GetModifiedAt ¶

func (o *RoleAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*RoleAttributes) GetModifiedAtOk ¶

func (o *RoleAttributes) GetModifiedAtOk() (*time.Time, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAttributes) GetName ¶

func (o *RoleAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*RoleAttributes) GetNameOk ¶

func (o *RoleAttributes) 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 (*RoleAttributes) GetUserCount ¶

func (o *RoleAttributes) GetUserCount() int64

GetUserCount returns the UserCount field value if set, zero value otherwise.

func (*RoleAttributes) GetUserCountOk ¶

func (o *RoleAttributes) GetUserCountOk() (*int64, bool)

GetUserCountOk returns a tuple with the UserCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAttributes) HasCreatedAt ¶

func (o *RoleAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RoleAttributes) HasModifiedAt ¶

func (o *RoleAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*RoleAttributes) HasName ¶

func (o *RoleAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*RoleAttributes) HasUserCount ¶

func (o *RoleAttributes) HasUserCount() bool

HasUserCount returns a boolean if a field has been set.

func (RoleAttributes) MarshalJSON ¶

func (o RoleAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleAttributes) SetCreatedAt ¶

func (o *RoleAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RoleAttributes) SetModifiedAt ¶

func (o *RoleAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*RoleAttributes) SetName ¶

func (o *RoleAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*RoleAttributes) SetUserCount ¶

func (o *RoleAttributes) SetUserCount(v int64)

SetUserCount gets a reference to the given int64 and assigns it to the UserCount field.

func (*RoleAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleClone ¶ added in v1.8.0

type RoleClone struct {
	// Attributes required to create a new role by cloning an existing one.
	Attributes RoleCloneAttributes `json:"attributes"`
	// Roles type.
	Type RolesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleClone Data for the clone role request.

func NewRoleClone ¶ added in v1.8.0

func NewRoleClone(attributes RoleCloneAttributes, typeVar RolesType) *RoleClone

NewRoleClone instantiates a new RoleClone object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleCloneWithDefaults ¶ added in v1.8.0

func NewRoleCloneWithDefaults() *RoleClone

NewRoleCloneWithDefaults instantiates a new RoleClone object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleClone) GetAttributes ¶ added in v1.8.0

func (o *RoleClone) GetAttributes() RoleCloneAttributes

GetAttributes returns the Attributes field value.

func (*RoleClone) GetAttributesOk ¶ added in v1.8.0

func (o *RoleClone) GetAttributesOk() (*RoleCloneAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*RoleClone) GetType ¶ added in v1.8.0

func (o *RoleClone) GetType() RolesType

GetType returns the Type field value.

func (*RoleClone) GetTypeOk ¶ added in v1.8.0

func (o *RoleClone) GetTypeOk() (*RolesType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RoleClone) MarshalJSON ¶ added in v1.8.0

func (o RoleClone) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleClone) SetAttributes ¶ added in v1.8.0

func (o *RoleClone) SetAttributes(v RoleCloneAttributes)

SetAttributes sets field value.

func (*RoleClone) SetType ¶ added in v1.8.0

func (o *RoleClone) SetType(v RolesType)

SetType sets field value.

func (*RoleClone) UnmarshalJSON ¶ added in v1.8.0

func (o *RoleClone) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleCloneAttributes ¶ added in v1.8.0

type RoleCloneAttributes struct {
	// Name of the new role that is cloned.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleCloneAttributes Attributes required to create a new role by cloning an existing one.

func NewRoleCloneAttributes ¶ added in v1.8.0

func NewRoleCloneAttributes(name string) *RoleCloneAttributes

NewRoleCloneAttributes instantiates a new RoleCloneAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleCloneAttributesWithDefaults ¶ added in v1.8.0

func NewRoleCloneAttributesWithDefaults() *RoleCloneAttributes

NewRoleCloneAttributesWithDefaults instantiates a new RoleCloneAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleCloneAttributes) GetName ¶ added in v1.8.0

func (o *RoleCloneAttributes) GetName() string

GetName returns the Name field value.

func (*RoleCloneAttributes) GetNameOk ¶ added in v1.8.0

func (o *RoleCloneAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (RoleCloneAttributes) MarshalJSON ¶ added in v1.8.0

func (o RoleCloneAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleCloneAttributes) SetName ¶ added in v1.8.0

func (o *RoleCloneAttributes) SetName(v string)

SetName sets field value.

func (*RoleCloneAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *RoleCloneAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleCloneRequest ¶ added in v1.8.0

type RoleCloneRequest struct {
	// Data for the clone role request.
	Data RoleClone `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleCloneRequest Request to create a role by cloning an existing role.

func NewRoleCloneRequest ¶ added in v1.8.0

func NewRoleCloneRequest(data RoleClone) *RoleCloneRequest

NewRoleCloneRequest instantiates a new RoleCloneRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleCloneRequestWithDefaults ¶ added in v1.8.0

func NewRoleCloneRequestWithDefaults() *RoleCloneRequest

NewRoleCloneRequestWithDefaults instantiates a new RoleCloneRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleCloneRequest) GetData ¶ added in v1.8.0

func (o *RoleCloneRequest) GetData() RoleClone

GetData returns the Data field value.

func (*RoleCloneRequest) GetDataOk ¶ added in v1.8.0

func (o *RoleCloneRequest) GetDataOk() (*RoleClone, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RoleCloneRequest) MarshalJSON ¶ added in v1.8.0

func (o RoleCloneRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleCloneRequest) SetData ¶ added in v1.8.0

func (o *RoleCloneRequest) SetData(v RoleClone)

SetData sets field value.

func (*RoleCloneRequest) UnmarshalJSON ¶ added in v1.8.0

func (o *RoleCloneRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleCreateAttributes ¶

type RoleCreateAttributes struct {
	// Creation time of the role.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Time of last role modification.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// Name of the role.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleCreateAttributes Attributes of the created role.

func NewRoleCreateAttributes ¶

func NewRoleCreateAttributes(name string) *RoleCreateAttributes

NewRoleCreateAttributes instantiates a new RoleCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleCreateAttributesWithDefaults ¶

func NewRoleCreateAttributesWithDefaults() *RoleCreateAttributes

NewRoleCreateAttributesWithDefaults instantiates a new RoleCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleCreateAttributes) GetCreatedAt ¶

func (o *RoleCreateAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*RoleCreateAttributes) GetCreatedAtOk ¶

func (o *RoleCreateAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleCreateAttributes) GetModifiedAt ¶

func (o *RoleCreateAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*RoleCreateAttributes) GetModifiedAtOk ¶

func (o *RoleCreateAttributes) GetModifiedAtOk() (*time.Time, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleCreateAttributes) GetName ¶

func (o *RoleCreateAttributes) GetName() string

GetName returns the Name field value.

func (*RoleCreateAttributes) GetNameOk ¶

func (o *RoleCreateAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RoleCreateAttributes) HasCreatedAt ¶

func (o *RoleCreateAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RoleCreateAttributes) HasModifiedAt ¶

func (o *RoleCreateAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (RoleCreateAttributes) MarshalJSON ¶

func (o RoleCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleCreateAttributes) SetCreatedAt ¶

func (o *RoleCreateAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RoleCreateAttributes) SetModifiedAt ¶

func (o *RoleCreateAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*RoleCreateAttributes) SetName ¶

func (o *RoleCreateAttributes) SetName(v string)

SetName sets field value.

func (*RoleCreateAttributes) UnmarshalJSON ¶

func (o *RoleCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleCreateData ¶

type RoleCreateData struct {
	// Attributes of the created role.
	Attributes RoleCreateAttributes `json:"attributes"`
	// Relationships of the role object.
	Relationships *RoleRelationships `json:"relationships,omitempty"`
	// Roles type.
	Type *RolesType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleCreateData Data related to the creation of a role.

func NewRoleCreateData ¶

func NewRoleCreateData(attributes RoleCreateAttributes) *RoleCreateData

NewRoleCreateData instantiates a new RoleCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleCreateDataWithDefaults ¶

func NewRoleCreateDataWithDefaults() *RoleCreateData

NewRoleCreateDataWithDefaults instantiates a new RoleCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleCreateData) GetAttributes ¶

func (o *RoleCreateData) GetAttributes() RoleCreateAttributes

GetAttributes returns the Attributes field value.

func (*RoleCreateData) GetAttributesOk ¶

func (o *RoleCreateData) GetAttributesOk() (*RoleCreateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*RoleCreateData) GetRelationships ¶

func (o *RoleCreateData) GetRelationships() RoleRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*RoleCreateData) GetRelationshipsOk ¶

func (o *RoleCreateData) GetRelationshipsOk() (*RoleRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleCreateData) GetType ¶

func (o *RoleCreateData) GetType() RolesType

GetType returns the Type field value if set, zero value otherwise.

func (*RoleCreateData) GetTypeOk ¶

func (o *RoleCreateData) GetTypeOk() (*RolesType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleCreateData) HasRelationships ¶

func (o *RoleCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*RoleCreateData) HasType ¶

func (o *RoleCreateData) HasType() bool

HasType returns a boolean if a field has been set.

func (RoleCreateData) MarshalJSON ¶

func (o RoleCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleCreateData) SetAttributes ¶

func (o *RoleCreateData) SetAttributes(v RoleCreateAttributes)

SetAttributes sets field value.

func (*RoleCreateData) SetRelationships ¶

func (o *RoleCreateData) SetRelationships(v RoleRelationships)

SetRelationships gets a reference to the given RoleRelationships and assigns it to the Relationships field.

func (*RoleCreateData) SetType ¶

func (o *RoleCreateData) SetType(v RolesType)

SetType gets a reference to the given RolesType and assigns it to the Type field.

func (*RoleCreateData) UnmarshalJSON ¶

func (o *RoleCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleCreateRequest ¶

type RoleCreateRequest struct {
	// Data related to the creation of a role.
	Data RoleCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleCreateRequest Create a role.

func NewRoleCreateRequest ¶

func NewRoleCreateRequest(data RoleCreateData) *RoleCreateRequest

NewRoleCreateRequest instantiates a new RoleCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleCreateRequestWithDefaults ¶

func NewRoleCreateRequestWithDefaults() *RoleCreateRequest

NewRoleCreateRequestWithDefaults instantiates a new RoleCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleCreateRequest) GetData ¶

func (o *RoleCreateRequest) GetData() RoleCreateData

GetData returns the Data field value.

func (*RoleCreateRequest) GetDataOk ¶

func (o *RoleCreateRequest) GetDataOk() (*RoleCreateData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RoleCreateRequest) MarshalJSON ¶

func (o RoleCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleCreateRequest) SetData ¶

func (o *RoleCreateRequest) SetData(v RoleCreateData)

SetData sets field value.

func (*RoleCreateRequest) UnmarshalJSON ¶

func (o *RoleCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleCreateResponse ¶

type RoleCreateResponse struct {
	// Role object returned by the API.
	Data *RoleCreateResponseData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleCreateResponse Response containing information about a created role.

func NewRoleCreateResponse ¶

func NewRoleCreateResponse() *RoleCreateResponse

NewRoleCreateResponse instantiates a new RoleCreateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleCreateResponseWithDefaults ¶

func NewRoleCreateResponseWithDefaults() *RoleCreateResponse

NewRoleCreateResponseWithDefaults instantiates a new RoleCreateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleCreateResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*RoleCreateResponse) GetDataOk ¶

func (o *RoleCreateResponse) GetDataOk() (*RoleCreateResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleCreateResponse) HasData ¶

func (o *RoleCreateResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (RoleCreateResponse) MarshalJSON ¶

func (o RoleCreateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleCreateResponse) SetData ¶

SetData gets a reference to the given RoleCreateResponseData and assigns it to the Data field.

func (*RoleCreateResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleCreateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleCreateResponseData ¶

type RoleCreateResponseData struct {
	// Attributes of the created role.
	Attributes *RoleCreateAttributes `json:"attributes,omitempty"`
	// The unique identifier of the role.
	Id *string `json:"id,omitempty"`
	// Relationships of the role object returned by the API.
	Relationships *RoleResponseRelationships `json:"relationships,omitempty"`
	// Roles type.
	Type RolesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleCreateResponseData Role object returned by the API.

func NewRoleCreateResponseData ¶

func NewRoleCreateResponseData(typeVar RolesType) *RoleCreateResponseData

NewRoleCreateResponseData instantiates a new RoleCreateResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleCreateResponseDataWithDefaults ¶

func NewRoleCreateResponseDataWithDefaults() *RoleCreateResponseData

NewRoleCreateResponseDataWithDefaults instantiates a new RoleCreateResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleCreateResponseData) GetAttributes ¶

func (o *RoleCreateResponseData) GetAttributes() RoleCreateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RoleCreateResponseData) GetAttributesOk ¶

func (o *RoleCreateResponseData) GetAttributesOk() (*RoleCreateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleCreateResponseData) GetId ¶

func (o *RoleCreateResponseData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RoleCreateResponseData) GetIdOk ¶

func (o *RoleCreateResponseData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleCreateResponseData) GetRelationships ¶

func (o *RoleCreateResponseData) GetRelationships() RoleResponseRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*RoleCreateResponseData) GetRelationshipsOk ¶

func (o *RoleCreateResponseData) GetRelationshipsOk() (*RoleResponseRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleCreateResponseData) GetType ¶

func (o *RoleCreateResponseData) GetType() RolesType

GetType returns the Type field value.

func (*RoleCreateResponseData) GetTypeOk ¶

func (o *RoleCreateResponseData) GetTypeOk() (*RolesType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RoleCreateResponseData) HasAttributes ¶

func (o *RoleCreateResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RoleCreateResponseData) HasId ¶

func (o *RoleCreateResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*RoleCreateResponseData) HasRelationships ¶

func (o *RoleCreateResponseData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (RoleCreateResponseData) MarshalJSON ¶

func (o RoleCreateResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleCreateResponseData) SetAttributes ¶

func (o *RoleCreateResponseData) SetAttributes(v RoleCreateAttributes)

SetAttributes gets a reference to the given RoleCreateAttributes and assigns it to the Attributes field.

func (*RoleCreateResponseData) SetId ¶

func (o *RoleCreateResponseData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RoleCreateResponseData) SetRelationships ¶

func (o *RoleCreateResponseData) SetRelationships(v RoleResponseRelationships)

SetRelationships gets a reference to the given RoleResponseRelationships and assigns it to the Relationships field.

func (*RoleCreateResponseData) SetType ¶

func (o *RoleCreateResponseData) SetType(v RolesType)

SetType sets field value.

func (*RoleCreateResponseData) UnmarshalJSON ¶

func (o *RoleCreateResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleRelationships ¶

type RoleRelationships struct {
	// Relationship to multiple permissions objects.
	Permissions *RelationshipToPermissions `json:"permissions,omitempty"`
	// Relationship to users.
	Users *RelationshipToUsers `json:"users,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleRelationships Relationships of the role object.

func NewRoleRelationships ¶

func NewRoleRelationships() *RoleRelationships

NewRoleRelationships instantiates a new RoleRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleRelationshipsWithDefaults ¶

func NewRoleRelationshipsWithDefaults() *RoleRelationships

NewRoleRelationshipsWithDefaults instantiates a new RoleRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleRelationships) GetPermissions ¶

func (o *RoleRelationships) GetPermissions() RelationshipToPermissions

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*RoleRelationships) GetPermissionsOk ¶

func (o *RoleRelationships) GetPermissionsOk() (*RelationshipToPermissions, bool)

GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleRelationships) GetUsers ¶

func (o *RoleRelationships) GetUsers() RelationshipToUsers

GetUsers returns the Users field value if set, zero value otherwise.

func (*RoleRelationships) GetUsersOk ¶

func (o *RoleRelationships) GetUsersOk() (*RelationshipToUsers, bool)

GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleRelationships) HasPermissions ¶

func (o *RoleRelationships) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (*RoleRelationships) HasUsers ¶

func (o *RoleRelationships) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (RoleRelationships) MarshalJSON ¶

func (o RoleRelationships) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleRelationships) SetPermissions ¶

func (o *RoleRelationships) SetPermissions(v RelationshipToPermissions)

SetPermissions gets a reference to the given RelationshipToPermissions and assigns it to the Permissions field.

func (*RoleRelationships) SetUsers ¶

func (o *RoleRelationships) SetUsers(v RelationshipToUsers)

SetUsers gets a reference to the given RelationshipToUsers and assigns it to the Users field.

func (*RoleRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleResponse ¶

type RoleResponse struct {
	// Role object returned by the API.
	Data *Role `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleResponse Response containing information about a single role.

func NewRoleResponse ¶

func NewRoleResponse() *RoleResponse

NewRoleResponse instantiates a new RoleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleResponseWithDefaults ¶

func NewRoleResponseWithDefaults() *RoleResponse

NewRoleResponseWithDefaults instantiates a new RoleResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleResponse) GetData ¶

func (o *RoleResponse) GetData() Role

GetData returns the Data field value if set, zero value otherwise.

func (*RoleResponse) GetDataOk ¶

func (o *RoleResponse) GetDataOk() (*Role, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleResponse) HasData ¶

func (o *RoleResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (RoleResponse) MarshalJSON ¶

func (o RoleResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleResponse) SetData ¶

func (o *RoleResponse) SetData(v Role)

SetData gets a reference to the given Role and assigns it to the Data field.

func (*RoleResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleResponseRelationships ¶

type RoleResponseRelationships struct {
	// Relationship to multiple permissions objects.
	Permissions *RelationshipToPermissions `json:"permissions,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleResponseRelationships Relationships of the role object returned by the API.

func NewRoleResponseRelationships ¶

func NewRoleResponseRelationships() *RoleResponseRelationships

NewRoleResponseRelationships instantiates a new RoleResponseRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleResponseRelationshipsWithDefaults ¶

func NewRoleResponseRelationshipsWithDefaults() *RoleResponseRelationships

NewRoleResponseRelationshipsWithDefaults instantiates a new RoleResponseRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleResponseRelationships) GetPermissions ¶

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*RoleResponseRelationships) GetPermissionsOk ¶

func (o *RoleResponseRelationships) GetPermissionsOk() (*RelationshipToPermissions, bool)

GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleResponseRelationships) HasPermissions ¶

func (o *RoleResponseRelationships) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (RoleResponseRelationships) MarshalJSON ¶

func (o RoleResponseRelationships) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleResponseRelationships) SetPermissions ¶

SetPermissions gets a reference to the given RelationshipToPermissions and assigns it to the Permissions field.

func (*RoleResponseRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleResponseRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleUpdateAttributes ¶

type RoleUpdateAttributes struct {
	// Creation time of the role.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Time of last role modification.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// Name of the role.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleUpdateAttributes Attributes of the role.

func NewRoleUpdateAttributes ¶

func NewRoleUpdateAttributes() *RoleUpdateAttributes

NewRoleUpdateAttributes instantiates a new RoleUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleUpdateAttributesWithDefaults ¶

func NewRoleUpdateAttributesWithDefaults() *RoleUpdateAttributes

NewRoleUpdateAttributesWithDefaults instantiates a new RoleUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleUpdateAttributes) GetCreatedAt ¶

func (o *RoleUpdateAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*RoleUpdateAttributes) GetCreatedAtOk ¶

func (o *RoleUpdateAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleUpdateAttributes) GetModifiedAt ¶

func (o *RoleUpdateAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*RoleUpdateAttributes) GetModifiedAtOk ¶

func (o *RoleUpdateAttributes) GetModifiedAtOk() (*time.Time, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleUpdateAttributes) GetName ¶

func (o *RoleUpdateAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*RoleUpdateAttributes) GetNameOk ¶

func (o *RoleUpdateAttributes) 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 (*RoleUpdateAttributes) HasCreatedAt ¶

func (o *RoleUpdateAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RoleUpdateAttributes) HasModifiedAt ¶

func (o *RoleUpdateAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*RoleUpdateAttributes) HasName ¶

func (o *RoleUpdateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (RoleUpdateAttributes) MarshalJSON ¶

func (o RoleUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleUpdateAttributes) SetCreatedAt ¶

func (o *RoleUpdateAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RoleUpdateAttributes) SetModifiedAt ¶

func (o *RoleUpdateAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*RoleUpdateAttributes) SetName ¶

func (o *RoleUpdateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*RoleUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleUpdateData ¶

type RoleUpdateData struct {
	// Attributes of the role.
	Attributes RoleUpdateAttributes `json:"attributes"`
	// The unique identifier of the role.
	Id string `json:"id"`
	// Roles type.
	Type RolesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleUpdateData Data related to the update of a role.

func NewRoleUpdateData ¶

func NewRoleUpdateData(attributes RoleUpdateAttributes, id string, typeVar RolesType) *RoleUpdateData

NewRoleUpdateData instantiates a new RoleUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleUpdateDataWithDefaults ¶

func NewRoleUpdateDataWithDefaults() *RoleUpdateData

NewRoleUpdateDataWithDefaults instantiates a new RoleUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleUpdateData) GetAttributes ¶

func (o *RoleUpdateData) GetAttributes() RoleUpdateAttributes

GetAttributes returns the Attributes field value.

func (*RoleUpdateData) GetAttributesOk ¶

func (o *RoleUpdateData) GetAttributesOk() (*RoleUpdateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*RoleUpdateData) GetId ¶

func (o *RoleUpdateData) GetId() string

GetId returns the Id field value.

func (*RoleUpdateData) GetIdOk ¶

func (o *RoleUpdateData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RoleUpdateData) GetType ¶

func (o *RoleUpdateData) GetType() RolesType

GetType returns the Type field value.

func (*RoleUpdateData) GetTypeOk ¶

func (o *RoleUpdateData) GetTypeOk() (*RolesType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RoleUpdateData) MarshalJSON ¶

func (o RoleUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleUpdateData) SetAttributes ¶

func (o *RoleUpdateData) SetAttributes(v RoleUpdateAttributes)

SetAttributes sets field value.

func (*RoleUpdateData) SetId ¶

func (o *RoleUpdateData) SetId(v string)

SetId sets field value.

func (*RoleUpdateData) SetType ¶

func (o *RoleUpdateData) SetType(v RolesType)

SetType sets field value.

func (*RoleUpdateData) UnmarshalJSON ¶

func (o *RoleUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleUpdateRequest ¶

type RoleUpdateRequest struct {
	// Data related to the update of a role.
	Data RoleUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleUpdateRequest Update a role.

func NewRoleUpdateRequest ¶

func NewRoleUpdateRequest(data RoleUpdateData) *RoleUpdateRequest

NewRoleUpdateRequest instantiates a new RoleUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleUpdateRequestWithDefaults ¶

func NewRoleUpdateRequestWithDefaults() *RoleUpdateRequest

NewRoleUpdateRequestWithDefaults instantiates a new RoleUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleUpdateRequest) GetData ¶

func (o *RoleUpdateRequest) GetData() RoleUpdateData

GetData returns the Data field value.

func (*RoleUpdateRequest) GetDataOk ¶

func (o *RoleUpdateRequest) GetDataOk() (*RoleUpdateData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RoleUpdateRequest) MarshalJSON ¶

func (o RoleUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleUpdateRequest) SetData ¶

func (o *RoleUpdateRequest) SetData(v RoleUpdateData)

SetData sets field value.

func (*RoleUpdateRequest) UnmarshalJSON ¶

func (o *RoleUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleUpdateResponse ¶

type RoleUpdateResponse struct {
	// Role object returned by the API.
	Data *RoleUpdateResponseData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleUpdateResponse Response containing information about an updated role.

func NewRoleUpdateResponse ¶

func NewRoleUpdateResponse() *RoleUpdateResponse

NewRoleUpdateResponse instantiates a new RoleUpdateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleUpdateResponseWithDefaults ¶

func NewRoleUpdateResponseWithDefaults() *RoleUpdateResponse

NewRoleUpdateResponseWithDefaults instantiates a new RoleUpdateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleUpdateResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*RoleUpdateResponse) GetDataOk ¶

func (o *RoleUpdateResponse) GetDataOk() (*RoleUpdateResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleUpdateResponse) HasData ¶

func (o *RoleUpdateResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (RoleUpdateResponse) MarshalJSON ¶

func (o RoleUpdateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleUpdateResponse) SetData ¶

SetData gets a reference to the given RoleUpdateResponseData and assigns it to the Data field.

func (*RoleUpdateResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleUpdateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleUpdateResponseData ¶

type RoleUpdateResponseData struct {
	// Attributes of the role.
	Attributes *RoleUpdateAttributes `json:"attributes,omitempty"`
	// The unique identifier of the role.
	Id *string `json:"id,omitempty"`
	// Relationships of the role object returned by the API.
	Relationships *RoleResponseRelationships `json:"relationships,omitempty"`
	// Roles type.
	Type RolesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleUpdateResponseData Role object returned by the API.

func NewRoleUpdateResponseData ¶

func NewRoleUpdateResponseData(typeVar RolesType) *RoleUpdateResponseData

NewRoleUpdateResponseData instantiates a new RoleUpdateResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRoleUpdateResponseDataWithDefaults ¶

func NewRoleUpdateResponseDataWithDefaults() *RoleUpdateResponseData

NewRoleUpdateResponseDataWithDefaults instantiates a new RoleUpdateResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RoleUpdateResponseData) GetAttributes ¶

func (o *RoleUpdateResponseData) GetAttributes() RoleUpdateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RoleUpdateResponseData) GetAttributesOk ¶

func (o *RoleUpdateResponseData) GetAttributesOk() (*RoleUpdateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleUpdateResponseData) GetId ¶

func (o *RoleUpdateResponseData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RoleUpdateResponseData) GetIdOk ¶

func (o *RoleUpdateResponseData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleUpdateResponseData) GetRelationships ¶

func (o *RoleUpdateResponseData) GetRelationships() RoleResponseRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*RoleUpdateResponseData) GetRelationshipsOk ¶

func (o *RoleUpdateResponseData) GetRelationshipsOk() (*RoleResponseRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleUpdateResponseData) GetType ¶

func (o *RoleUpdateResponseData) GetType() RolesType

GetType returns the Type field value.

func (*RoleUpdateResponseData) GetTypeOk ¶

func (o *RoleUpdateResponseData) GetTypeOk() (*RolesType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RoleUpdateResponseData) HasAttributes ¶

func (o *RoleUpdateResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RoleUpdateResponseData) HasId ¶

func (o *RoleUpdateResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*RoleUpdateResponseData) HasRelationships ¶

func (o *RoleUpdateResponseData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (RoleUpdateResponseData) MarshalJSON ¶

func (o RoleUpdateResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleUpdateResponseData) SetAttributes ¶

func (o *RoleUpdateResponseData) SetAttributes(v RoleUpdateAttributes)

SetAttributes gets a reference to the given RoleUpdateAttributes and assigns it to the Attributes field.

func (*RoleUpdateResponseData) SetId ¶

func (o *RoleUpdateResponseData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RoleUpdateResponseData) SetRelationships ¶

func (o *RoleUpdateResponseData) SetRelationships(v RoleResponseRelationships)

SetRelationships gets a reference to the given RoleResponseRelationships and assigns it to the Relationships field.

func (*RoleUpdateResponseData) SetType ¶

func (o *RoleUpdateResponseData) SetType(v RolesType)

SetType sets field value.

func (*RoleUpdateResponseData) UnmarshalJSON ¶

func (o *RoleUpdateResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RolesApiService ¶

type RolesApiService service

RolesApiService RolesApi service.

func (*RolesApiService) AddPermissionToRole ¶

AddPermissionToRole Grant permission to a role. Adds a permission to a role.

func (*RolesApiService) AddUserToRole ¶

AddUserToRole Add a user to a role. Adds a user to a role.

func (*RolesApiService) CloneRole ¶ added in v1.8.0

CloneRole Create a new role by cloning an existing role. Clone an existing role

func (*RolesApiService) CreateRole ¶

CreateRole Create role. Create a new role for your organization.

func (*RolesApiService) DeleteRole ¶

func (a *RolesApiService) DeleteRole(ctx _context.Context, roleId string) (*_nethttp.Response, error)

DeleteRole Delete role. Disables a role.

func (*RolesApiService) GetRole ¶

GetRole Get a role. Get a role in the organization specified by the role’s `role_id`.

func (*RolesApiService) ListPermissions ¶

ListPermissions List permissions. Returns a list of all permissions, including name, description, and ID.

func (*RolesApiService) ListRolePermissions ¶

func (a *RolesApiService) ListRolePermissions(ctx _context.Context, roleId string) (PermissionsResponse, *_nethttp.Response, error)

ListRolePermissions List permissions for a role. Returns a list of all permissions for a single role.

func (*RolesApiService) ListRoleUsers ¶

ListRoleUsers Get all users of a role. Gets all users of a role.

func (*RolesApiService) ListRoles ¶

ListRoles List roles. Returns all roles, including their names and their unique identifiers.

func (*RolesApiService) RemovePermissionFromRole ¶

func (a *RolesApiService) RemovePermissionFromRole(ctx _context.Context, roleId string, body RelationshipToPermission) (PermissionsResponse, *_nethttp.Response, error)

RemovePermissionFromRole Revoke permission. Removes a permission from a role.

func (*RolesApiService) RemoveUserFromRole ¶

func (a *RolesApiService) RemoveUserFromRole(ctx _context.Context, roleId string, body RelationshipToUser) (UsersResponse, *_nethttp.Response, error)

RemoveUserFromRole Remove a user from a role. Removes a user from a role.

func (*RolesApiService) UpdateRole ¶

UpdateRole Update a role. Edit a role. Can only be used with application keys belonging to administrators.

type RolesResponse ¶

type RolesResponse struct {
	// Array of returned roles.
	Data []Role `json:"data,omitempty"`
	// Object describing meta attributes of response.
	Meta *ResponseMetaAttributes `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RolesResponse Response containing information about multiple roles.

func NewRolesResponse ¶

func NewRolesResponse() *RolesResponse

NewRolesResponse instantiates a new RolesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRolesResponseWithDefaults ¶

func NewRolesResponseWithDefaults() *RolesResponse

NewRolesResponseWithDefaults instantiates a new RolesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RolesResponse) GetData ¶

func (o *RolesResponse) GetData() []Role

GetData returns the Data field value if set, zero value otherwise.

func (*RolesResponse) GetDataOk ¶

func (o *RolesResponse) GetDataOk() (*[]Role, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RolesResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*RolesResponse) GetMetaOk ¶

func (o *RolesResponse) GetMetaOk() (*ResponseMetaAttributes, 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 (*RolesResponse) HasData ¶

func (o *RolesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*RolesResponse) HasMeta ¶

func (o *RolesResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (RolesResponse) MarshalJSON ¶

func (o RolesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RolesResponse) SetData ¶

func (o *RolesResponse) SetData(v []Role)

SetData gets a reference to the given []Role and assigns it to the Data field.

func (*RolesResponse) SetMeta ¶

func (o *RolesResponse) SetMeta(v ResponseMetaAttributes)

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

func (*RolesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *RolesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RolesSort ¶

type RolesSort string

RolesSort Sorting options for roles.

const (
	ROLESSORT_NAME_ASCENDING         RolesSort = "name"
	ROLESSORT_NAME_DESCENDING        RolesSort = "-name"
	ROLESSORT_MODIFIED_AT_ASCENDING  RolesSort = "modified_at"
	ROLESSORT_MODIFIED_AT_DESCENDING RolesSort = "-modified_at"
	ROLESSORT_USER_COUNT_ASCENDING   RolesSort = "user_count"
	ROLESSORT_USER_COUNT_DESCENDING  RolesSort = "-user_count"
)

List of RolesSort.

func NewRolesSortFromValue ¶

func NewRolesSortFromValue(v string) (*RolesSort, error)

NewRolesSortFromValue returns a pointer to a valid RolesSort for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RolesSort) GetAllowedValues ¶ added in v1.1.0

func (v *RolesSort) GetAllowedValues() []RolesSort

GetAllowedValues reeturns the list of possible values.

func (RolesSort) IsValid ¶

func (v RolesSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RolesSort) Ptr ¶

func (v RolesSort) Ptr() *RolesSort

Ptr returns reference to RolesSort value.

func (*RolesSort) UnmarshalJSON ¶

func (v *RolesSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RolesType ¶

type RolesType string

RolesType Roles type.

const (
	ROLESTYPE_ROLES RolesType = "roles"
)

List of RolesType.

func NewRolesTypeFromValue ¶

func NewRolesTypeFromValue(v string) (*RolesType, error)

NewRolesTypeFromValue returns a pointer to a valid RolesType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RolesType) GetAllowedValues ¶ added in v1.1.0

func (v *RolesType) GetAllowedValues() []RolesType

GetAllowedValues reeturns the list of possible values.

func (RolesType) IsValid ¶

func (v RolesType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RolesType) Ptr ¶

func (v RolesType) Ptr() *RolesType

Ptr returns reference to RolesType value.

func (*RolesType) UnmarshalJSON ¶

func (v *RolesType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SAMLAssertionAttribute ¶ added in v1.9.0

type SAMLAssertionAttribute struct {
	// Key/Value pair of attributes used in SAML assertion attributes.
	Attributes *SAMLAssertionAttributeAttributes `json:"attributes,omitempty"`
	// The ID of the SAML assertion attribute.
	Id string `json:"id"`
	// SAML assertion attributes resource type.
	Type SAMLAssertionAttributesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SAMLAssertionAttribute SAML assertion attribute.

func NewSAMLAssertionAttribute ¶ added in v1.9.0

func NewSAMLAssertionAttribute(id string, typeVar SAMLAssertionAttributesType) *SAMLAssertionAttribute

NewSAMLAssertionAttribute instantiates a new SAMLAssertionAttribute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSAMLAssertionAttributeWithDefaults ¶ added in v1.9.0

func NewSAMLAssertionAttributeWithDefaults() *SAMLAssertionAttribute

NewSAMLAssertionAttributeWithDefaults instantiates a new SAMLAssertionAttribute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SAMLAssertionAttribute) GetAttributes ¶ added in v1.9.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SAMLAssertionAttribute) GetAttributesOk ¶ added in v1.9.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SAMLAssertionAttribute) GetId ¶ added in v1.9.0

func (o *SAMLAssertionAttribute) GetId() string

GetId returns the Id field value.

func (*SAMLAssertionAttribute) GetIdOk ¶ added in v1.9.0

func (o *SAMLAssertionAttribute) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SAMLAssertionAttribute) GetType ¶ added in v1.9.0

GetType returns the Type field value.

func (*SAMLAssertionAttribute) GetTypeOk ¶ added in v1.9.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SAMLAssertionAttribute) HasAttributes ¶ added in v1.9.0

func (o *SAMLAssertionAttribute) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (SAMLAssertionAttribute) MarshalJSON ¶ added in v1.9.0

func (o SAMLAssertionAttribute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SAMLAssertionAttribute) SetAttributes ¶ added in v1.9.0

SetAttributes gets a reference to the given SAMLAssertionAttributeAttributes and assigns it to the Attributes field.

func (*SAMLAssertionAttribute) SetId ¶ added in v1.9.0

func (o *SAMLAssertionAttribute) SetId(v string)

SetId sets field value.

func (*SAMLAssertionAttribute) SetType ¶ added in v1.9.0

SetType sets field value.

func (*SAMLAssertionAttribute) UnmarshalJSON ¶ added in v1.9.0

func (o *SAMLAssertionAttribute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SAMLAssertionAttributeAttributes ¶ added in v1.9.0

type SAMLAssertionAttributeAttributes struct {
	// Key portion of a key/value pair of the attribute sent from the Identity Provider.
	AttributeKey *string `json:"attribute_key,omitempty"`
	// Value portion of a key/value pair of the attribute sent from the Identity Provider.
	AttributeValue *string `json:"attribute_value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SAMLAssertionAttributeAttributes Key/Value pair of attributes used in SAML assertion attributes.

func NewSAMLAssertionAttributeAttributes ¶ added in v1.9.0

func NewSAMLAssertionAttributeAttributes() *SAMLAssertionAttributeAttributes

NewSAMLAssertionAttributeAttributes instantiates a new SAMLAssertionAttributeAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSAMLAssertionAttributeAttributesWithDefaults ¶ added in v1.9.0

func NewSAMLAssertionAttributeAttributesWithDefaults() *SAMLAssertionAttributeAttributes

NewSAMLAssertionAttributeAttributesWithDefaults instantiates a new SAMLAssertionAttributeAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SAMLAssertionAttributeAttributes) GetAttributeKey ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) GetAttributeKey() string

GetAttributeKey returns the AttributeKey field value if set, zero value otherwise.

func (*SAMLAssertionAttributeAttributes) GetAttributeKeyOk ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) GetAttributeKeyOk() (*string, bool)

GetAttributeKeyOk returns a tuple with the AttributeKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SAMLAssertionAttributeAttributes) GetAttributeValue ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) GetAttributeValue() string

GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.

func (*SAMLAssertionAttributeAttributes) GetAttributeValueOk ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) GetAttributeValueOk() (*string, bool)

GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SAMLAssertionAttributeAttributes) HasAttributeKey ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

func (*SAMLAssertionAttributeAttributes) HasAttributeValue ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (SAMLAssertionAttributeAttributes) MarshalJSON ¶ added in v1.9.0

func (o SAMLAssertionAttributeAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SAMLAssertionAttributeAttributes) SetAttributeKey ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) SetAttributeKey(v string)

SetAttributeKey gets a reference to the given string and assigns it to the AttributeKey field.

func (*SAMLAssertionAttributeAttributes) SetAttributeValue ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) SetAttributeValue(v string)

SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.

func (*SAMLAssertionAttributeAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SAMLAssertionAttributesType ¶ added in v1.9.0

type SAMLAssertionAttributesType string

SAMLAssertionAttributesType SAML assertion attributes resource type.

const (
	SAMLASSERTIONATTRIBUTESTYPE_SAML_ASSERTION_ATTRIBUTES SAMLAssertionAttributesType = "saml_assertion_attributes"
)

List of SAMLAssertionAttributesType.

func NewSAMLAssertionAttributesTypeFromValue ¶ added in v1.9.0

func NewSAMLAssertionAttributesTypeFromValue(v string) (*SAMLAssertionAttributesType, error)

NewSAMLAssertionAttributesTypeFromValue returns a pointer to a valid SAMLAssertionAttributesType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SAMLAssertionAttributesType) GetAllowedValues ¶ added in v1.9.0

GetAllowedValues reeturns the list of possible values.

func (SAMLAssertionAttributesType) IsValid ¶ added in v1.9.0

func (v SAMLAssertionAttributesType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SAMLAssertionAttributesType) Ptr ¶ added in v1.9.0

Ptr returns reference to SAMLAssertionAttributesType value.

func (*SAMLAssertionAttributesType) UnmarshalJSON ¶ added in v1.9.0

func (v *SAMLAssertionAttributesType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SearchAuditLogsOptionalParameters ¶ added in v1.11.0

type SearchAuditLogsOptionalParameters struct {
	Body *AuditLogsSearchEventsRequest
}

SearchAuditLogsOptionalParameters holds optional parameters for SearchAuditLogs.

func NewSearchAuditLogsOptionalParameters ¶ added in v1.11.0

func NewSearchAuditLogsOptionalParameters() *SearchAuditLogsOptionalParameters

NewSearchAuditLogsOptionalParameters creates an empty struct for parameters.

func (*SearchAuditLogsOptionalParameters) WithBody ¶ added in v1.11.0

WithBody sets the corresponding parameter name and returns the struct.

type SearchSecurityMonitoringSignalsOptionalParameters ¶

type SearchSecurityMonitoringSignalsOptionalParameters struct {
	Body *SecurityMonitoringSignalListRequest
}

SearchSecurityMonitoringSignalsOptionalParameters holds optional parameters for SearchSecurityMonitoringSignals.

func NewSearchSecurityMonitoringSignalsOptionalParameters ¶

func NewSearchSecurityMonitoringSignalsOptionalParameters() *SearchSecurityMonitoringSignalsOptionalParameters

NewSearchSecurityMonitoringSignalsOptionalParameters creates an empty struct for parameters.

func (*SearchSecurityMonitoringSignalsOptionalParameters) WithBody ¶

WithBody sets the corresponding parameter name and returns the struct.

type SecurityFilter ¶

type SecurityFilter struct {
	// The object describing a security filter.
	Attributes *SecurityFilterAttributes `json:"attributes,omitempty"`
	// The ID of the security filter.
	Id *string `json:"id,omitempty"`
	// The type of the resource. The value should always be `security_filters`.
	Type *SecurityFilterType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilter The security filter's properties.

func NewSecurityFilter ¶

func NewSecurityFilter() *SecurityFilter

NewSecurityFilter instantiates a new SecurityFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterWithDefaults ¶

func NewSecurityFilterWithDefaults() *SecurityFilter

NewSecurityFilterWithDefaults instantiates a new SecurityFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilter) GetAttributes ¶

func (o *SecurityFilter) GetAttributes() SecurityFilterAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SecurityFilter) GetAttributesOk ¶

func (o *SecurityFilter) GetAttributesOk() (*SecurityFilterAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilter) GetId ¶

func (o *SecurityFilter) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityFilter) GetIdOk ¶

func (o *SecurityFilter) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilter) GetType ¶

func (o *SecurityFilter) GetType() SecurityFilterType

GetType returns the Type field value if set, zero value otherwise.

func (*SecurityFilter) GetTypeOk ¶

func (o *SecurityFilter) GetTypeOk() (*SecurityFilterType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilter) HasAttributes ¶

func (o *SecurityFilter) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SecurityFilter) HasId ¶

func (o *SecurityFilter) HasId() bool

HasId returns a boolean if a field has been set.

func (*SecurityFilter) HasType ¶

func (o *SecurityFilter) HasType() bool

HasType returns a boolean if a field has been set.

func (SecurityFilter) MarshalJSON ¶

func (o SecurityFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilter) SetAttributes ¶

func (o *SecurityFilter) SetAttributes(v SecurityFilterAttributes)

SetAttributes gets a reference to the given SecurityFilterAttributes and assigns it to the Attributes field.

func (*SecurityFilter) SetId ¶

func (o *SecurityFilter) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityFilter) SetType ¶

func (o *SecurityFilter) SetType(v SecurityFilterType)

SetType gets a reference to the given SecurityFilterType and assigns it to the Type field.

func (*SecurityFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterAttributes ¶

type SecurityFilterAttributes struct {
	// The list of exclusion filters applied in this security filter.
	ExclusionFilters []SecurityFilterExclusionFilterResponse `json:"exclusion_filters,omitempty"`
	// The filtered data type.
	FilteredDataType *SecurityFilterFilteredDataType `json:"filtered_data_type,omitempty"`
	// Whether the security filter is the built-in filter.
	IsBuiltin *bool `json:"is_builtin,omitempty"`
	// Whether the security filter is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// The security filter name.
	Name *string `json:"name,omitempty"`
	// The security filter query. Logs accepted by this query will be accepted by this filter.
	Query *string `json:"query,omitempty"`
	// The version of the security filter.
	Version *int32 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterAttributes The object describing a security filter.

func NewSecurityFilterAttributes ¶

func NewSecurityFilterAttributes() *SecurityFilterAttributes

NewSecurityFilterAttributes instantiates a new SecurityFilterAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterAttributesWithDefaults ¶

func NewSecurityFilterAttributesWithDefaults() *SecurityFilterAttributes

NewSecurityFilterAttributesWithDefaults instantiates a new SecurityFilterAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterAttributes) GetExclusionFilters ¶

GetExclusionFilters returns the ExclusionFilters field value if set, zero value otherwise.

func (*SecurityFilterAttributes) GetExclusionFiltersOk ¶

func (o *SecurityFilterAttributes) GetExclusionFiltersOk() (*[]SecurityFilterExclusionFilterResponse, bool)

GetExclusionFiltersOk returns a tuple with the ExclusionFilters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterAttributes) GetFilteredDataType ¶

GetFilteredDataType returns the FilteredDataType field value if set, zero value otherwise.

func (*SecurityFilterAttributes) GetFilteredDataTypeOk ¶

func (o *SecurityFilterAttributes) GetFilteredDataTypeOk() (*SecurityFilterFilteredDataType, bool)

GetFilteredDataTypeOk returns a tuple with the FilteredDataType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterAttributes) GetIsBuiltin ¶

func (o *SecurityFilterAttributes) GetIsBuiltin() bool

GetIsBuiltin returns the IsBuiltin field value if set, zero value otherwise.

func (*SecurityFilterAttributes) GetIsBuiltinOk ¶

func (o *SecurityFilterAttributes) GetIsBuiltinOk() (*bool, bool)

GetIsBuiltinOk returns a tuple with the IsBuiltin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterAttributes) GetIsEnabled ¶

func (o *SecurityFilterAttributes) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SecurityFilterAttributes) GetIsEnabledOk ¶

func (o *SecurityFilterAttributes) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterAttributes) GetName ¶

func (o *SecurityFilterAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityFilterAttributes) GetNameOk ¶

func (o *SecurityFilterAttributes) 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 (*SecurityFilterAttributes) GetQuery ¶

func (o *SecurityFilterAttributes) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*SecurityFilterAttributes) GetQueryOk ¶

func (o *SecurityFilterAttributes) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterAttributes) GetVersion ¶

func (o *SecurityFilterAttributes) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityFilterAttributes) GetVersionOk ¶

func (o *SecurityFilterAttributes) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterAttributes) HasExclusionFilters ¶

func (o *SecurityFilterAttributes) HasExclusionFilters() bool

HasExclusionFilters returns a boolean if a field has been set.

func (*SecurityFilterAttributes) HasFilteredDataType ¶

func (o *SecurityFilterAttributes) HasFilteredDataType() bool

HasFilteredDataType returns a boolean if a field has been set.

func (*SecurityFilterAttributes) HasIsBuiltin ¶

func (o *SecurityFilterAttributes) HasIsBuiltin() bool

HasIsBuiltin returns a boolean if a field has been set.

func (*SecurityFilterAttributes) HasIsEnabled ¶

func (o *SecurityFilterAttributes) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SecurityFilterAttributes) HasName ¶

func (o *SecurityFilterAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityFilterAttributes) HasQuery ¶

func (o *SecurityFilterAttributes) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*SecurityFilterAttributes) HasVersion ¶

func (o *SecurityFilterAttributes) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SecurityFilterAttributes) MarshalJSON ¶

func (o SecurityFilterAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterAttributes) SetExclusionFilters ¶

SetExclusionFilters gets a reference to the given []SecurityFilterExclusionFilterResponse and assigns it to the ExclusionFilters field.

func (*SecurityFilterAttributes) SetFilteredDataType ¶

func (o *SecurityFilterAttributes) SetFilteredDataType(v SecurityFilterFilteredDataType)

SetFilteredDataType gets a reference to the given SecurityFilterFilteredDataType and assigns it to the FilteredDataType field.

func (*SecurityFilterAttributes) SetIsBuiltin ¶

func (o *SecurityFilterAttributes) SetIsBuiltin(v bool)

SetIsBuiltin gets a reference to the given bool and assigns it to the IsBuiltin field.

func (*SecurityFilterAttributes) SetIsEnabled ¶

func (o *SecurityFilterAttributes) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityFilterAttributes) SetName ¶

func (o *SecurityFilterAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityFilterAttributes) SetQuery ¶

func (o *SecurityFilterAttributes) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityFilterAttributes) SetVersion ¶

func (o *SecurityFilterAttributes) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (*SecurityFilterAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilterAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterCreateAttributes ¶

type SecurityFilterCreateAttributes struct {
	// Exclusion filters to exclude some logs from the security filter.
	ExclusionFilters []SecurityFilterExclusionFilter `json:"exclusion_filters"`
	// The filtered data type.
	FilteredDataType SecurityFilterFilteredDataType `json:"filtered_data_type"`
	// Whether the security filter is enabled.
	IsEnabled bool `json:"is_enabled"`
	// The name of the security filter.
	Name string `json:"name"`
	// The query of the security filter.
	Query string `json:"query"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterCreateAttributes Object containing the attributes of the security filter to be created.

func NewSecurityFilterCreateAttributes ¶

func NewSecurityFilterCreateAttributes(exclusionFilters []SecurityFilterExclusionFilter, filteredDataType SecurityFilterFilteredDataType, isEnabled bool, name string, query string) *SecurityFilterCreateAttributes

NewSecurityFilterCreateAttributes instantiates a new SecurityFilterCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterCreateAttributesWithDefaults ¶

func NewSecurityFilterCreateAttributesWithDefaults() *SecurityFilterCreateAttributes

NewSecurityFilterCreateAttributesWithDefaults instantiates a new SecurityFilterCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterCreateAttributes) GetExclusionFilters ¶

GetExclusionFilters returns the ExclusionFilters field value.

func (*SecurityFilterCreateAttributes) GetExclusionFiltersOk ¶

func (o *SecurityFilterCreateAttributes) GetExclusionFiltersOk() (*[]SecurityFilterExclusionFilter, bool)

GetExclusionFiltersOk returns a tuple with the ExclusionFilters field value and a boolean to check if the value has been set.

func (*SecurityFilterCreateAttributes) GetFilteredDataType ¶

GetFilteredDataType returns the FilteredDataType field value.

func (*SecurityFilterCreateAttributes) GetFilteredDataTypeOk ¶

GetFilteredDataTypeOk returns a tuple with the FilteredDataType field value and a boolean to check if the value has been set.

func (*SecurityFilterCreateAttributes) GetIsEnabled ¶

func (o *SecurityFilterCreateAttributes) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value.

func (*SecurityFilterCreateAttributes) GetIsEnabledOk ¶

func (o *SecurityFilterCreateAttributes) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value and a boolean to check if the value has been set.

func (*SecurityFilterCreateAttributes) GetName ¶

GetName returns the Name field value.

func (*SecurityFilterCreateAttributes) GetNameOk ¶

func (o *SecurityFilterCreateAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SecurityFilterCreateAttributes) GetQuery ¶

func (o *SecurityFilterCreateAttributes) GetQuery() string

GetQuery returns the Query field value.

func (*SecurityFilterCreateAttributes) GetQueryOk ¶

func (o *SecurityFilterCreateAttributes) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (SecurityFilterCreateAttributes) MarshalJSON ¶

func (o SecurityFilterCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterCreateAttributes) SetExclusionFilters ¶

SetExclusionFilters sets field value.

func (*SecurityFilterCreateAttributes) SetFilteredDataType ¶

SetFilteredDataType sets field value.

func (*SecurityFilterCreateAttributes) SetIsEnabled ¶

func (o *SecurityFilterCreateAttributes) SetIsEnabled(v bool)

SetIsEnabled sets field value.

func (*SecurityFilterCreateAttributes) SetName ¶

func (o *SecurityFilterCreateAttributes) SetName(v string)

SetName sets field value.

func (*SecurityFilterCreateAttributes) SetQuery ¶

func (o *SecurityFilterCreateAttributes) SetQuery(v string)

SetQuery sets field value.

func (*SecurityFilterCreateAttributes) UnmarshalJSON ¶

func (o *SecurityFilterCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterCreateData ¶

type SecurityFilterCreateData struct {
	// Object containing the attributes of the security filter to be created.
	Attributes SecurityFilterCreateAttributes `json:"attributes"`
	// The type of the resource. The value should always be `security_filters`.
	Type SecurityFilterType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterCreateData Object for a single security filter.

func NewSecurityFilterCreateData ¶

func NewSecurityFilterCreateData(attributes SecurityFilterCreateAttributes, typeVar SecurityFilterType) *SecurityFilterCreateData

NewSecurityFilterCreateData instantiates a new SecurityFilterCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterCreateDataWithDefaults ¶

func NewSecurityFilterCreateDataWithDefaults() *SecurityFilterCreateData

NewSecurityFilterCreateDataWithDefaults instantiates a new SecurityFilterCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterCreateData) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*SecurityFilterCreateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*SecurityFilterCreateData) GetType ¶

GetType returns the Type field value.

func (*SecurityFilterCreateData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (SecurityFilterCreateData) MarshalJSON ¶

func (o SecurityFilterCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterCreateData) SetAttributes ¶

SetAttributes sets field value.

func (*SecurityFilterCreateData) SetType ¶

SetType sets field value.

func (*SecurityFilterCreateData) UnmarshalJSON ¶

func (o *SecurityFilterCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterCreateRequest ¶

type SecurityFilterCreateRequest struct {
	// Object for a single security filter.
	Data SecurityFilterCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterCreateRequest Request object that includes the security filter that you would like to create.

func NewSecurityFilterCreateRequest ¶

func NewSecurityFilterCreateRequest(data SecurityFilterCreateData) *SecurityFilterCreateRequest

NewSecurityFilterCreateRequest instantiates a new SecurityFilterCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterCreateRequestWithDefaults ¶

func NewSecurityFilterCreateRequestWithDefaults() *SecurityFilterCreateRequest

NewSecurityFilterCreateRequestWithDefaults instantiates a new SecurityFilterCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterCreateRequest) GetData ¶

GetData returns the Data field value.

func (*SecurityFilterCreateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SecurityFilterCreateRequest) MarshalJSON ¶

func (o SecurityFilterCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterCreateRequest) SetData ¶

SetData sets field value.

func (*SecurityFilterCreateRequest) UnmarshalJSON ¶

func (o *SecurityFilterCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterExclusionFilter ¶

type SecurityFilterExclusionFilter struct {
	// Exclusion filter name.
	Name string `json:"name"`
	// Exclusion filter query. Logs that match this query are excluded from the security filter.
	Query string `json:"query"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterExclusionFilter Exclusion filter for the security filter.

func NewSecurityFilterExclusionFilter ¶

func NewSecurityFilterExclusionFilter(name string, query string) *SecurityFilterExclusionFilter

NewSecurityFilterExclusionFilter instantiates a new SecurityFilterExclusionFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterExclusionFilterWithDefaults ¶

func NewSecurityFilterExclusionFilterWithDefaults() *SecurityFilterExclusionFilter

NewSecurityFilterExclusionFilterWithDefaults instantiates a new SecurityFilterExclusionFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterExclusionFilter) GetName ¶

GetName returns the Name field value.

func (*SecurityFilterExclusionFilter) GetNameOk ¶

func (o *SecurityFilterExclusionFilter) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SecurityFilterExclusionFilter) GetQuery ¶

func (o *SecurityFilterExclusionFilter) GetQuery() string

GetQuery returns the Query field value.

func (*SecurityFilterExclusionFilter) GetQueryOk ¶

func (o *SecurityFilterExclusionFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (SecurityFilterExclusionFilter) MarshalJSON ¶

func (o SecurityFilterExclusionFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterExclusionFilter) SetName ¶

func (o *SecurityFilterExclusionFilter) SetName(v string)

SetName sets field value.

func (*SecurityFilterExclusionFilter) SetQuery ¶

func (o *SecurityFilterExclusionFilter) SetQuery(v string)

SetQuery sets field value.

func (*SecurityFilterExclusionFilter) UnmarshalJSON ¶

func (o *SecurityFilterExclusionFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterExclusionFilterResponse ¶

type SecurityFilterExclusionFilterResponse struct {
	// The exclusion filter name.
	Name *string `json:"name,omitempty"`
	// The exclusion filter query.
	Query *string `json:"query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterExclusionFilterResponse A single exclusion filter.

func NewSecurityFilterExclusionFilterResponse ¶

func NewSecurityFilterExclusionFilterResponse() *SecurityFilterExclusionFilterResponse

NewSecurityFilterExclusionFilterResponse instantiates a new SecurityFilterExclusionFilterResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterExclusionFilterResponseWithDefaults ¶

func NewSecurityFilterExclusionFilterResponseWithDefaults() *SecurityFilterExclusionFilterResponse

NewSecurityFilterExclusionFilterResponseWithDefaults instantiates a new SecurityFilterExclusionFilterResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterExclusionFilterResponse) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityFilterExclusionFilterResponse) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterExclusionFilterResponse) GetQuery ¶

GetQuery returns the Query field value if set, zero value otherwise.

func (*SecurityFilterExclusionFilterResponse) GetQueryOk ¶

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterExclusionFilterResponse) HasName ¶

HasName returns a boolean if a field has been set.

func (*SecurityFilterExclusionFilterResponse) HasQuery ¶

HasQuery returns a boolean if a field has been set.

func (SecurityFilterExclusionFilterResponse) MarshalJSON ¶

func (o SecurityFilterExclusionFilterResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterExclusionFilterResponse) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityFilterExclusionFilterResponse) SetQuery ¶

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityFilterExclusionFilterResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilterExclusionFilterResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterFilteredDataType ¶

type SecurityFilterFilteredDataType string

SecurityFilterFilteredDataType The filtered data type.

const (
	SECURITYFILTERFILTEREDDATATYPE_LOGS SecurityFilterFilteredDataType = "logs"
)

List of SecurityFilterFilteredDataType.

func NewSecurityFilterFilteredDataTypeFromValue ¶

func NewSecurityFilterFilteredDataTypeFromValue(v string) (*SecurityFilterFilteredDataType, error)

NewSecurityFilterFilteredDataTypeFromValue returns a pointer to a valid SecurityFilterFilteredDataType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityFilterFilteredDataType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityFilterFilteredDataType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityFilterFilteredDataType) Ptr ¶

Ptr returns reference to SecurityFilterFilteredDataType value.

func (*SecurityFilterFilteredDataType) UnmarshalJSON ¶

func (v *SecurityFilterFilteredDataType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityFilterMeta ¶

type SecurityFilterMeta struct {
	// A warning message.
	Warning *string `json:"warning,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterMeta Optional metadata associated to the response.

func NewSecurityFilterMeta ¶

func NewSecurityFilterMeta() *SecurityFilterMeta

NewSecurityFilterMeta instantiates a new SecurityFilterMeta object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterMetaWithDefaults ¶

func NewSecurityFilterMetaWithDefaults() *SecurityFilterMeta

NewSecurityFilterMetaWithDefaults instantiates a new SecurityFilterMeta object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterMeta) GetWarning ¶

func (o *SecurityFilterMeta) GetWarning() string

GetWarning returns the Warning field value if set, zero value otherwise.

func (*SecurityFilterMeta) GetWarningOk ¶

func (o *SecurityFilterMeta) GetWarningOk() (*string, bool)

GetWarningOk returns a tuple with the Warning field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterMeta) HasWarning ¶

func (o *SecurityFilterMeta) HasWarning() bool

HasWarning returns a boolean if a field has been set.

func (SecurityFilterMeta) MarshalJSON ¶

func (o SecurityFilterMeta) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterMeta) SetWarning ¶

func (o *SecurityFilterMeta) SetWarning(v string)

SetWarning gets a reference to the given string and assigns it to the Warning field.

func (*SecurityFilterMeta) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilterMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterResponse ¶

type SecurityFilterResponse struct {
	// The security filter's properties.
	Data *SecurityFilter `json:"data,omitempty"`
	// Optional metadata associated to the response.
	Meta *SecurityFilterMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterResponse Response object which includes a single security filter.

func NewSecurityFilterResponse ¶

func NewSecurityFilterResponse() *SecurityFilterResponse

NewSecurityFilterResponse instantiates a new SecurityFilterResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterResponseWithDefaults ¶

func NewSecurityFilterResponseWithDefaults() *SecurityFilterResponse

NewSecurityFilterResponseWithDefaults instantiates a new SecurityFilterResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*SecurityFilterResponse) GetDataOk ¶

func (o *SecurityFilterResponse) GetDataOk() (*SecurityFilter, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SecurityFilterResponse) GetMetaOk ¶

func (o *SecurityFilterResponse) GetMetaOk() (*SecurityFilterMeta, 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 (*SecurityFilterResponse) HasData ¶

func (o *SecurityFilterResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*SecurityFilterResponse) HasMeta ¶

func (o *SecurityFilterResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (SecurityFilterResponse) MarshalJSON ¶

func (o SecurityFilterResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterResponse) SetData ¶

func (o *SecurityFilterResponse) SetData(v SecurityFilter)

SetData gets a reference to the given SecurityFilter and assigns it to the Data field.

func (*SecurityFilterResponse) SetMeta ¶

SetMeta gets a reference to the given SecurityFilterMeta and assigns it to the Meta field.

func (*SecurityFilterResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilterResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterType ¶

type SecurityFilterType string

SecurityFilterType The type of the resource. The value should always be `security_filters`.

const (
	SECURITYFILTERTYPE_SECURITY_FILTERS SecurityFilterType = "security_filters"
)

List of SecurityFilterType.

func NewSecurityFilterTypeFromValue ¶

func NewSecurityFilterTypeFromValue(v string) (*SecurityFilterType, error)

NewSecurityFilterTypeFromValue returns a pointer to a valid SecurityFilterType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityFilterType) GetAllowedValues ¶ added in v1.1.0

func (v *SecurityFilterType) GetAllowedValues() []SecurityFilterType

GetAllowedValues reeturns the list of possible values.

func (SecurityFilterType) IsValid ¶

func (v SecurityFilterType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityFilterType) Ptr ¶

Ptr returns reference to SecurityFilterType value.

func (*SecurityFilterType) UnmarshalJSON ¶

func (v *SecurityFilterType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityFilterUpdateAttributes ¶

type SecurityFilterUpdateAttributes struct {
	// Exclusion filters to exclude some logs from the security filter.
	ExclusionFilters []SecurityFilterExclusionFilter `json:"exclusion_filters,omitempty"`
	// The filtered data type.
	FilteredDataType *SecurityFilterFilteredDataType `json:"filtered_data_type,omitempty"`
	// Whether the security filter is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// The name of the security filter.
	Name *string `json:"name,omitempty"`
	// The query of the security filter.
	Query *string `json:"query,omitempty"`
	// The version of the security filter to update.
	Version *int32 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterUpdateAttributes The security filters properties to be updated.

func NewSecurityFilterUpdateAttributes ¶

func NewSecurityFilterUpdateAttributes() *SecurityFilterUpdateAttributes

NewSecurityFilterUpdateAttributes instantiates a new SecurityFilterUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterUpdateAttributesWithDefaults ¶

func NewSecurityFilterUpdateAttributesWithDefaults() *SecurityFilterUpdateAttributes

NewSecurityFilterUpdateAttributesWithDefaults instantiates a new SecurityFilterUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterUpdateAttributes) GetExclusionFilters ¶

GetExclusionFilters returns the ExclusionFilters field value if set, zero value otherwise.

func (*SecurityFilterUpdateAttributes) GetExclusionFiltersOk ¶

func (o *SecurityFilterUpdateAttributes) GetExclusionFiltersOk() (*[]SecurityFilterExclusionFilter, bool)

GetExclusionFiltersOk returns a tuple with the ExclusionFilters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterUpdateAttributes) GetFilteredDataType ¶

GetFilteredDataType returns the FilteredDataType field value if set, zero value otherwise.

func (*SecurityFilterUpdateAttributes) GetFilteredDataTypeOk ¶

GetFilteredDataTypeOk returns a tuple with the FilteredDataType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterUpdateAttributes) GetIsEnabled ¶

func (o *SecurityFilterUpdateAttributes) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SecurityFilterUpdateAttributes) GetIsEnabledOk ¶

func (o *SecurityFilterUpdateAttributes) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterUpdateAttributes) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityFilterUpdateAttributes) GetNameOk ¶

func (o *SecurityFilterUpdateAttributes) 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 (*SecurityFilterUpdateAttributes) GetQuery ¶

func (o *SecurityFilterUpdateAttributes) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*SecurityFilterUpdateAttributes) GetQueryOk ¶

func (o *SecurityFilterUpdateAttributes) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterUpdateAttributes) GetVersion ¶

func (o *SecurityFilterUpdateAttributes) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityFilterUpdateAttributes) GetVersionOk ¶

func (o *SecurityFilterUpdateAttributes) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFilterUpdateAttributes) HasExclusionFilters ¶

func (o *SecurityFilterUpdateAttributes) HasExclusionFilters() bool

HasExclusionFilters returns a boolean if a field has been set.

func (*SecurityFilterUpdateAttributes) HasFilteredDataType ¶

func (o *SecurityFilterUpdateAttributes) HasFilteredDataType() bool

HasFilteredDataType returns a boolean if a field has been set.

func (*SecurityFilterUpdateAttributes) HasIsEnabled ¶

func (o *SecurityFilterUpdateAttributes) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SecurityFilterUpdateAttributes) HasName ¶

func (o *SecurityFilterUpdateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityFilterUpdateAttributes) HasQuery ¶

func (o *SecurityFilterUpdateAttributes) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*SecurityFilterUpdateAttributes) HasVersion ¶

func (o *SecurityFilterUpdateAttributes) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SecurityFilterUpdateAttributes) MarshalJSON ¶

func (o SecurityFilterUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterUpdateAttributes) SetExclusionFilters ¶

SetExclusionFilters gets a reference to the given []SecurityFilterExclusionFilter and assigns it to the ExclusionFilters field.

func (*SecurityFilterUpdateAttributes) SetFilteredDataType ¶

SetFilteredDataType gets a reference to the given SecurityFilterFilteredDataType and assigns it to the FilteredDataType field.

func (*SecurityFilterUpdateAttributes) SetIsEnabled ¶

func (o *SecurityFilterUpdateAttributes) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityFilterUpdateAttributes) SetName ¶

func (o *SecurityFilterUpdateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityFilterUpdateAttributes) SetQuery ¶

func (o *SecurityFilterUpdateAttributes) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityFilterUpdateAttributes) SetVersion ¶

func (o *SecurityFilterUpdateAttributes) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (*SecurityFilterUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilterUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterUpdateData ¶

type SecurityFilterUpdateData struct {
	// The security filters properties to be updated.
	Attributes SecurityFilterUpdateAttributes `json:"attributes"`
	// The type of the resource. The value should always be `security_filters`.
	Type SecurityFilterType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterUpdateData The new security filter properties.

func NewSecurityFilterUpdateData ¶

func NewSecurityFilterUpdateData(attributes SecurityFilterUpdateAttributes, typeVar SecurityFilterType) *SecurityFilterUpdateData

NewSecurityFilterUpdateData instantiates a new SecurityFilterUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterUpdateDataWithDefaults ¶

func NewSecurityFilterUpdateDataWithDefaults() *SecurityFilterUpdateData

NewSecurityFilterUpdateDataWithDefaults instantiates a new SecurityFilterUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterUpdateData) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*SecurityFilterUpdateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*SecurityFilterUpdateData) GetType ¶

GetType returns the Type field value.

func (*SecurityFilterUpdateData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (SecurityFilterUpdateData) MarshalJSON ¶

func (o SecurityFilterUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterUpdateData) SetAttributes ¶

SetAttributes sets field value.

func (*SecurityFilterUpdateData) SetType ¶

SetType sets field value.

func (*SecurityFilterUpdateData) UnmarshalJSON ¶

func (o *SecurityFilterUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFilterUpdateRequest ¶

type SecurityFilterUpdateRequest struct {
	// The new security filter properties.
	Data SecurityFilterUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFilterUpdateRequest The new security filter body.

func NewSecurityFilterUpdateRequest ¶

func NewSecurityFilterUpdateRequest(data SecurityFilterUpdateData) *SecurityFilterUpdateRequest

NewSecurityFilterUpdateRequest instantiates a new SecurityFilterUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFilterUpdateRequestWithDefaults ¶

func NewSecurityFilterUpdateRequestWithDefaults() *SecurityFilterUpdateRequest

NewSecurityFilterUpdateRequestWithDefaults instantiates a new SecurityFilterUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFilterUpdateRequest) GetData ¶

GetData returns the Data field value.

func (*SecurityFilterUpdateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SecurityFilterUpdateRequest) MarshalJSON ¶

func (o SecurityFilterUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFilterUpdateRequest) SetData ¶

SetData sets field value.

func (*SecurityFilterUpdateRequest) UnmarshalJSON ¶

func (o *SecurityFilterUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityFiltersResponse ¶

type SecurityFiltersResponse struct {
	// A list of security filters objects.
	Data []SecurityFilter `json:"data,omitempty"`
	// Optional metadata associated to the response.
	Meta *SecurityFilterMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityFiltersResponse All the available security filters objects.

func NewSecurityFiltersResponse ¶

func NewSecurityFiltersResponse() *SecurityFiltersResponse

NewSecurityFiltersResponse instantiates a new SecurityFiltersResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityFiltersResponseWithDefaults ¶

func NewSecurityFiltersResponseWithDefaults() *SecurityFiltersResponse

NewSecurityFiltersResponseWithDefaults instantiates a new SecurityFiltersResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityFiltersResponse) GetData ¶

func (o *SecurityFiltersResponse) GetData() []SecurityFilter

GetData returns the Data field value if set, zero value otherwise.

func (*SecurityFiltersResponse) GetDataOk ¶

func (o *SecurityFiltersResponse) GetDataOk() (*[]SecurityFilter, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityFiltersResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SecurityFiltersResponse) GetMetaOk ¶

func (o *SecurityFiltersResponse) GetMetaOk() (*SecurityFilterMeta, 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 (*SecurityFiltersResponse) HasData ¶

func (o *SecurityFiltersResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*SecurityFiltersResponse) HasMeta ¶

func (o *SecurityFiltersResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (SecurityFiltersResponse) MarshalJSON ¶

func (o SecurityFiltersResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityFiltersResponse) SetData ¶

func (o *SecurityFiltersResponse) SetData(v []SecurityFilter)

SetData gets a reference to the given []SecurityFilter and assigns it to the Data field.

func (*SecurityFiltersResponse) SetMeta ¶

SetMeta gets a reference to the given SecurityFilterMeta and assigns it to the Meta field.

func (*SecurityFiltersResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFiltersResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringApiService ¶

type SecurityMonitoringApiService service

SecurityMonitoringApiService SecurityMonitoringApi service.

func (*SecurityMonitoringApiService) CreateSecurityFilter ¶

CreateSecurityFilter Create a security filter. Create a security filter.

See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) for more examples.

func (*SecurityMonitoringApiService) CreateSecurityMonitoringRule ¶

CreateSecurityMonitoringRule Create a detection rule. Create a detection rule.

func (*SecurityMonitoringApiService) DeleteSecurityFilter ¶

func (a *SecurityMonitoringApiService) DeleteSecurityFilter(ctx _context.Context, securityFilterId string) (*_nethttp.Response, error)

DeleteSecurityFilter Delete a security filter. Delete a specific security filter.

func (*SecurityMonitoringApiService) DeleteSecurityMonitoringRule ¶

func (a *SecurityMonitoringApiService) DeleteSecurityMonitoringRule(ctx _context.Context, ruleId string) (*_nethttp.Response, error)

DeleteSecurityMonitoringRule Delete an existing rule. Delete an existing rule. Default rules cannot be deleted.

func (*SecurityMonitoringApiService) EditSecurityMonitoringSignalAssignee ¶ added in v1.16.0

EditSecurityMonitoringSignalAssignee Modify the triage assignee of a security signal. Modify the triage assignee of a security signal.

func (*SecurityMonitoringApiService) EditSecurityMonitoringSignalIncidents ¶ added in v1.16.0

EditSecurityMonitoringSignalIncidents Change the related incidents of a security signal. Change the related incidents for a security signal.

func (*SecurityMonitoringApiService) EditSecurityMonitoringSignalState ¶ added in v1.16.0

EditSecurityMonitoringSignalState Change the triage state of a security signal. Change the triage state of a security signal.

func (*SecurityMonitoringApiService) GetSecurityFilter ¶

func (a *SecurityMonitoringApiService) GetSecurityFilter(ctx _context.Context, securityFilterId string) (SecurityFilterResponse, *_nethttp.Response, error)

GetSecurityFilter Get a security filter. Get the details of a specific security filter.

See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) for more examples.

func (*SecurityMonitoringApiService) GetSecurityMonitoringRule ¶

GetSecurityMonitoringRule Get a rule's details. Get a rule's details.

func (*SecurityMonitoringApiService) ListSecurityFilters ¶

ListSecurityFilters Get all security filters. Get the list of configured security filters with their definitions.

func (*SecurityMonitoringApiService) ListSecurityMonitoringRules ¶

ListSecurityMonitoringRules List rules. List rules.

func (*SecurityMonitoringApiService) ListSecurityMonitoringSignals ¶

ListSecurityMonitoringSignals Get a quick list of security signals. The list endpoint returns security signals that match a search query. Both this endpoint and the POST endpoint can be used interchangeably when listing security signals.

func (*SecurityMonitoringApiService) ListSecurityMonitoringSignalsWithPagination ¶ added in v1.14.0

func (a *SecurityMonitoringApiService) ListSecurityMonitoringSignalsWithPagination(ctx _context.Context, o ...ListSecurityMonitoringSignalsOptionalParameters) (<-chan SecurityMonitoringSignal, func(), error)

ListSecurityMonitoringSignalsWithPagination provides a paginated version of ListSecurityMonitoringSignals returning a channel with all items.

func (*SecurityMonitoringApiService) SearchSecurityMonitoringSignals ¶

SearchSecurityMonitoringSignals Get a list of security signals. Returns security signals that match a search query. Both this endpoint and the GET endpoint can be used interchangeably for listing security signals.

func (*SecurityMonitoringApiService) SearchSecurityMonitoringSignalsWithPagination ¶ added in v1.14.0

func (a *SecurityMonitoringApiService) SearchSecurityMonitoringSignalsWithPagination(ctx _context.Context, o ...SearchSecurityMonitoringSignalsOptionalParameters) (<-chan SecurityMonitoringSignal, func(), error)

SearchSecurityMonitoringSignalsWithPagination provides a paginated version of SearchSecurityMonitoringSignals returning a channel with all items.

func (*SecurityMonitoringApiService) UpdateSecurityFilter ¶

UpdateSecurityFilter Update a security filter. Update a specific security filter. Returns the security filter object when the request is successful.

func (*SecurityMonitoringApiService) UpdateSecurityMonitoringRule ¶

UpdateSecurityMonitoringRule Update an existing rule. Update an existing rule. When updating `cases`, `queries` or `options`, the whole field must be included. For example, when modifying a query all queries must be included. Default rules can only be updated to be enabled and to change notifications.

type SecurityMonitoringFilter ¶

type SecurityMonitoringFilter struct {
	// The type of filtering action.
	Action *SecurityMonitoringFilterAction `json:"action,omitempty"`
	// Query for selecting logs to apply the filtering action.
	Query *string `json:"query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringFilter The rule's suppression filter.

func NewSecurityMonitoringFilter ¶

func NewSecurityMonitoringFilter() *SecurityMonitoringFilter

NewSecurityMonitoringFilter instantiates a new SecurityMonitoringFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringFilterWithDefaults ¶

func NewSecurityMonitoringFilterWithDefaults() *SecurityMonitoringFilter

NewSecurityMonitoringFilterWithDefaults instantiates a new SecurityMonitoringFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringFilter) GetAction ¶

GetAction returns the Action field value if set, zero value otherwise.

func (*SecurityMonitoringFilter) GetActionOk ¶

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 (*SecurityMonitoringFilter) GetQuery ¶

func (o *SecurityMonitoringFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*SecurityMonitoringFilter) GetQueryOk ¶

func (o *SecurityMonitoringFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringFilter) HasAction ¶

func (o *SecurityMonitoringFilter) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*SecurityMonitoringFilter) HasQuery ¶

func (o *SecurityMonitoringFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (SecurityMonitoringFilter) MarshalJSON ¶

func (o SecurityMonitoringFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringFilter) SetAction ¶

SetAction gets a reference to the given SecurityMonitoringFilterAction and assigns it to the Action field.

func (*SecurityMonitoringFilter) SetQuery ¶

func (o *SecurityMonitoringFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityMonitoringFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringFilterAction ¶

type SecurityMonitoringFilterAction string

SecurityMonitoringFilterAction The type of filtering action.

const (
	SECURITYMONITORINGFILTERACTION_REQUIRE  SecurityMonitoringFilterAction = "require"
	SECURITYMONITORINGFILTERACTION_SUPPRESS SecurityMonitoringFilterAction = "suppress"
)

List of SecurityMonitoringFilterAction.

func NewSecurityMonitoringFilterActionFromValue ¶

func NewSecurityMonitoringFilterActionFromValue(v string) (*SecurityMonitoringFilterAction, error)

NewSecurityMonitoringFilterActionFromValue returns a pointer to a valid SecurityMonitoringFilterAction for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringFilterAction) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringFilterAction) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringFilterAction) Ptr ¶

Ptr returns reference to SecurityMonitoringFilterAction value.

func (*SecurityMonitoringFilterAction) UnmarshalJSON ¶

func (v *SecurityMonitoringFilterAction) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringListRulesResponse ¶

type SecurityMonitoringListRulesResponse struct {
	// Array containing the list of rules.
	Data []SecurityMonitoringRuleResponse `json:"data,omitempty"`
	// Object describing meta attributes of response.
	Meta *ResponseMetaAttributes `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringListRulesResponse List of rules.

func NewSecurityMonitoringListRulesResponse ¶

func NewSecurityMonitoringListRulesResponse() *SecurityMonitoringListRulesResponse

NewSecurityMonitoringListRulesResponse instantiates a new SecurityMonitoringListRulesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringListRulesResponseWithDefaults ¶

func NewSecurityMonitoringListRulesResponseWithDefaults() *SecurityMonitoringListRulesResponse

NewSecurityMonitoringListRulesResponseWithDefaults instantiates a new SecurityMonitoringListRulesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringListRulesResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*SecurityMonitoringListRulesResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringListRulesResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SecurityMonitoringListRulesResponse) GetMetaOk ¶

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringListRulesResponse) HasData ¶

HasData returns a boolean if a field has been set.

func (*SecurityMonitoringListRulesResponse) HasMeta ¶

HasMeta returns a boolean if a field has been set.

func (SecurityMonitoringListRulesResponse) MarshalJSON ¶

func (o SecurityMonitoringListRulesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringListRulesResponse) SetData ¶

SetData gets a reference to the given []SecurityMonitoringRuleResponse and assigns it to the Data field.

func (*SecurityMonitoringListRulesResponse) SetMeta ¶

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

func (*SecurityMonitoringListRulesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringListRulesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleCase ¶

type SecurityMonitoringRuleCase struct {
	// A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated
	// based on the event counts in the previously defined queries.
	Condition *string `json:"condition,omitempty"`
	// Name of the case.
	Name *string `json:"name,omitempty"`
	// Notification targets for each rule case.
	Notifications []string `json:"notifications,omitempty"`
	// Severity of the Security Signal.
	Status *SecurityMonitoringRuleSeverity `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleCase Case when signal is generated.

func NewSecurityMonitoringRuleCase ¶

func NewSecurityMonitoringRuleCase() *SecurityMonitoringRuleCase

NewSecurityMonitoringRuleCase instantiates a new SecurityMonitoringRuleCase object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringRuleCaseWithDefaults ¶

func NewSecurityMonitoringRuleCaseWithDefaults() *SecurityMonitoringRuleCase

NewSecurityMonitoringRuleCaseWithDefaults instantiates a new SecurityMonitoringRuleCase object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringRuleCase) GetCondition ¶

func (o *SecurityMonitoringRuleCase) GetCondition() string

GetCondition returns the Condition field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCase) GetConditionOk ¶

func (o *SecurityMonitoringRuleCase) GetConditionOk() (*string, bool)

GetConditionOk returns a tuple with the Condition field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCase) GetName ¶

func (o *SecurityMonitoringRuleCase) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCase) GetNameOk ¶

func (o *SecurityMonitoringRuleCase) 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 (*SecurityMonitoringRuleCase) GetNotifications ¶

func (o *SecurityMonitoringRuleCase) GetNotifications() []string

GetNotifications returns the Notifications field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCase) GetNotificationsOk ¶

func (o *SecurityMonitoringRuleCase) GetNotificationsOk() (*[]string, bool)

GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCase) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCase) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCase) HasCondition ¶

func (o *SecurityMonitoringRuleCase) HasCondition() bool

HasCondition returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCase) HasName ¶

func (o *SecurityMonitoringRuleCase) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCase) HasNotifications ¶

func (o *SecurityMonitoringRuleCase) HasNotifications() bool

HasNotifications returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCase) HasStatus ¶

func (o *SecurityMonitoringRuleCase) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SecurityMonitoringRuleCase) MarshalJSON ¶

func (o SecurityMonitoringRuleCase) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleCase) SetCondition ¶

func (o *SecurityMonitoringRuleCase) SetCondition(v string)

SetCondition gets a reference to the given string and assigns it to the Condition field.

func (*SecurityMonitoringRuleCase) SetName ¶

func (o *SecurityMonitoringRuleCase) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleCase) SetNotifications ¶

func (o *SecurityMonitoringRuleCase) SetNotifications(v []string)

SetNotifications gets a reference to the given []string and assigns it to the Notifications field.

func (*SecurityMonitoringRuleCase) SetStatus ¶

SetStatus gets a reference to the given SecurityMonitoringRuleSeverity and assigns it to the Status field.

func (*SecurityMonitoringRuleCase) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleCase) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleCaseCreate ¶

type SecurityMonitoringRuleCaseCreate struct {
	// A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated
	// based on the event counts in the previously defined queries.
	Condition *string `json:"condition,omitempty"`
	// Name of the case.
	Name *string `json:"name,omitempty"`
	// Notification targets for each rule case.
	Notifications []string `json:"notifications,omitempty"`
	// Severity of the Security Signal.
	Status SecurityMonitoringRuleSeverity `json:"status"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleCaseCreate Case when signal is generated.

func NewSecurityMonitoringRuleCaseCreate ¶

func NewSecurityMonitoringRuleCaseCreate(status SecurityMonitoringRuleSeverity) *SecurityMonitoringRuleCaseCreate

NewSecurityMonitoringRuleCaseCreate instantiates a new SecurityMonitoringRuleCaseCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringRuleCaseCreateWithDefaults ¶

func NewSecurityMonitoringRuleCaseCreateWithDefaults() *SecurityMonitoringRuleCaseCreate

NewSecurityMonitoringRuleCaseCreateWithDefaults instantiates a new SecurityMonitoringRuleCaseCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringRuleCaseCreate) GetCondition ¶

func (o *SecurityMonitoringRuleCaseCreate) GetCondition() string

GetCondition returns the Condition field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCaseCreate) GetConditionOk ¶

func (o *SecurityMonitoringRuleCaseCreate) GetConditionOk() (*string, bool)

GetConditionOk returns a tuple with the Condition field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCaseCreate) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCaseCreate) GetNameOk ¶

func (o *SecurityMonitoringRuleCaseCreate) 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 (*SecurityMonitoringRuleCaseCreate) GetNotifications ¶

func (o *SecurityMonitoringRuleCaseCreate) GetNotifications() []string

GetNotifications returns the Notifications field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCaseCreate) GetNotificationsOk ¶

func (o *SecurityMonitoringRuleCaseCreate) GetNotificationsOk() (*[]string, bool)

GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCaseCreate) GetStatus ¶

GetStatus returns the Status field value.

func (*SecurityMonitoringRuleCaseCreate) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCaseCreate) HasCondition ¶

func (o *SecurityMonitoringRuleCaseCreate) HasCondition() bool

HasCondition returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCaseCreate) HasName ¶

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCaseCreate) HasNotifications ¶

func (o *SecurityMonitoringRuleCaseCreate) HasNotifications() bool

HasNotifications returns a boolean if a field has been set.

func (SecurityMonitoringRuleCaseCreate) MarshalJSON ¶

func (o SecurityMonitoringRuleCaseCreate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleCaseCreate) SetCondition ¶

func (o *SecurityMonitoringRuleCaseCreate) SetCondition(v string)

SetCondition gets a reference to the given string and assigns it to the Condition field.

func (*SecurityMonitoringRuleCaseCreate) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleCaseCreate) SetNotifications ¶

func (o *SecurityMonitoringRuleCaseCreate) SetNotifications(v []string)

SetNotifications gets a reference to the given []string and assigns it to the Notifications field.

func (*SecurityMonitoringRuleCaseCreate) SetStatus ¶

SetStatus sets field value.

func (*SecurityMonitoringRuleCaseCreate) UnmarshalJSON ¶

func (o *SecurityMonitoringRuleCaseCreate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleCreatePayload ¶

type SecurityMonitoringRuleCreatePayload struct {
	// Cases for generating signals.
	Cases []SecurityMonitoringRuleCaseCreate `json:"cases"`
	// Additional queries to filter matched events before they are processed.
	Filters []SecurityMonitoringFilter `json:"filters,omitempty"`
	// Whether the notifications include the triggering group-by values in their title.
	HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty"`
	// Whether the rule is enabled.
	IsEnabled bool `json:"isEnabled"`
	// Message for generated signals.
	Message string `json:"message"`
	// The name of the rule.
	Name string `json:"name"`
	// Options on rules.
	Options SecurityMonitoringRuleOptions `json:"options"`
	// Queries for selecting logs which are part of the rule.
	Queries []SecurityMonitoringRuleQueryCreate `json:"queries"`
	// Tags for generated signals.
	Tags []string `json:"tags,omitempty"`
	// The rule type.
	Type *SecurityMonitoringRuleTypeCreate `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleCreatePayload Create a new rule.

func NewSecurityMonitoringRuleCreatePayload ¶

func NewSecurityMonitoringRuleCreatePayload(cases []SecurityMonitoringRuleCaseCreate, isEnabled bool, message string, name string, options SecurityMonitoringRuleOptions, queries []SecurityMonitoringRuleQueryCreate) *SecurityMonitoringRuleCreatePayload

NewSecurityMonitoringRuleCreatePayload instantiates a new SecurityMonitoringRuleCreatePayload object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringRuleCreatePayloadWithDefaults ¶

func NewSecurityMonitoringRuleCreatePayloadWithDefaults() *SecurityMonitoringRuleCreatePayload

NewSecurityMonitoringRuleCreatePayloadWithDefaults instantiates a new SecurityMonitoringRuleCreatePayload object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringRuleCreatePayload) GetCases ¶

GetCases returns the Cases field value.

func (*SecurityMonitoringRuleCreatePayload) GetCasesOk ¶

GetCasesOk returns a tuple with the Cases field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetFilters ¶

GetFilters returns the Filters field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCreatePayload) GetFiltersOk ¶

GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleCreatePayload) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCreatePayload) GetHasExtendedTitleOk ¶ added in v1.1.0

func (o *SecurityMonitoringRuleCreatePayload) GetHasExtendedTitleOk() (*bool, bool)

GetHasExtendedTitleOk returns a tuple with the HasExtendedTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetIsEnabled ¶

func (o *SecurityMonitoringRuleCreatePayload) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value.

func (*SecurityMonitoringRuleCreatePayload) GetIsEnabledOk ¶

func (o *SecurityMonitoringRuleCreatePayload) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetMessage ¶

GetMessage returns the Message field value.

func (*SecurityMonitoringRuleCreatePayload) GetMessageOk ¶

func (o *SecurityMonitoringRuleCreatePayload) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetName ¶

GetName returns the Name field value.

func (*SecurityMonitoringRuleCreatePayload) GetNameOk ¶

func (o *SecurityMonitoringRuleCreatePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetOptions ¶

GetOptions returns the Options field value.

func (*SecurityMonitoringRuleCreatePayload) GetOptionsOk ¶

GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetQueries ¶

GetQueries returns the Queries field value.

func (*SecurityMonitoringRuleCreatePayload) GetQueriesOk ¶

GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCreatePayload) GetTagsOk ¶

func (o *SecurityMonitoringRuleCreatePayload) 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 (*SecurityMonitoringRuleCreatePayload) GetType ¶ added in v1.3.0

GetType returns the Type field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCreatePayload) GetTypeOk ¶ added in v1.3.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) HasFilters ¶

func (o *SecurityMonitoringRuleCreatePayload) HasFilters() bool

HasFilters returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCreatePayload) HasHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleCreatePayload) HasHasExtendedTitle() bool

HasHasExtendedTitle returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCreatePayload) HasTags ¶

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCreatePayload) HasType ¶ added in v1.3.0

HasType returns a boolean if a field has been set.

func (SecurityMonitoringRuleCreatePayload) MarshalJSON ¶

func (o SecurityMonitoringRuleCreatePayload) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleCreatePayload) SetCases ¶

SetCases sets field value.

func (*SecurityMonitoringRuleCreatePayload) SetFilters ¶

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringRuleCreatePayload) SetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleCreatePayload) SetHasExtendedTitle(v bool)

SetHasExtendedTitle gets a reference to the given bool and assigns it to the HasExtendedTitle field.

func (*SecurityMonitoringRuleCreatePayload) SetIsEnabled ¶

func (o *SecurityMonitoringRuleCreatePayload) SetIsEnabled(v bool)

SetIsEnabled sets field value.

func (*SecurityMonitoringRuleCreatePayload) SetMessage ¶

SetMessage sets field value.

func (*SecurityMonitoringRuleCreatePayload) SetName ¶

SetName sets field value.

func (*SecurityMonitoringRuleCreatePayload) SetOptions ¶

SetOptions sets field value.

func (*SecurityMonitoringRuleCreatePayload) SetQueries ¶

SetQueries sets field value.

func (*SecurityMonitoringRuleCreatePayload) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringRuleCreatePayload) SetType ¶ added in v1.3.0

SetType gets a reference to the given SecurityMonitoringRuleTypeCreate and assigns it to the Type field.

func (*SecurityMonitoringRuleCreatePayload) UnmarshalJSON ¶

func (o *SecurityMonitoringRuleCreatePayload) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleDetectionMethod ¶

type SecurityMonitoringRuleDetectionMethod string

SecurityMonitoringRuleDetectionMethod The detection method.

const (
	SECURITYMONITORINGRULEDETECTIONMETHOD_THRESHOLD         SecurityMonitoringRuleDetectionMethod = "threshold"
	SECURITYMONITORINGRULEDETECTIONMETHOD_NEW_VALUE         SecurityMonitoringRuleDetectionMethod = "new_value"
	SECURITYMONITORINGRULEDETECTIONMETHOD_ANOMALY_DETECTION SecurityMonitoringRuleDetectionMethod = "anomaly_detection"
	SECURITYMONITORINGRULEDETECTIONMETHOD_IMPOSSIBLE_TRAVEL SecurityMonitoringRuleDetectionMethod = "impossible_travel"
	SECURITYMONITORINGRULEDETECTIONMETHOD_HARDCODED         SecurityMonitoringRuleDetectionMethod = "hardcoded"
)

List of SecurityMonitoringRuleDetectionMethod.

func NewSecurityMonitoringRuleDetectionMethodFromValue ¶

func NewSecurityMonitoringRuleDetectionMethodFromValue(v string) (*SecurityMonitoringRuleDetectionMethod, error)

NewSecurityMonitoringRuleDetectionMethodFromValue returns a pointer to a valid SecurityMonitoringRuleDetectionMethod for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleDetectionMethod) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleDetectionMethod) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleDetectionMethod) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleDetectionMethod value.

func (*SecurityMonitoringRuleDetectionMethod) UnmarshalJSON ¶

func (v *SecurityMonitoringRuleDetectionMethod) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleEvaluationWindow ¶

type SecurityMonitoringRuleEvaluationWindow int32

SecurityMonitoringRuleEvaluationWindow A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time.

const (
	SECURITYMONITORINGRULEEVALUATIONWINDOW_ZERO_MINUTES    SecurityMonitoringRuleEvaluationWindow = 0
	SECURITYMONITORINGRULEEVALUATIONWINDOW_ONE_MINUTE      SecurityMonitoringRuleEvaluationWindow = 60
	SECURITYMONITORINGRULEEVALUATIONWINDOW_FIVE_MINUTES    SecurityMonitoringRuleEvaluationWindow = 300
	SECURITYMONITORINGRULEEVALUATIONWINDOW_TEN_MINUTES     SecurityMonitoringRuleEvaluationWindow = 600
	SECURITYMONITORINGRULEEVALUATIONWINDOW_FIFTEEN_MINUTES SecurityMonitoringRuleEvaluationWindow = 900
	SECURITYMONITORINGRULEEVALUATIONWINDOW_THIRTY_MINUTES  SecurityMonitoringRuleEvaluationWindow = 1800
	SECURITYMONITORINGRULEEVALUATIONWINDOW_ONE_HOUR        SecurityMonitoringRuleEvaluationWindow = 3600
	SECURITYMONITORINGRULEEVALUATIONWINDOW_TWO_HOURS       SecurityMonitoringRuleEvaluationWindow = 7200
)

List of SecurityMonitoringRuleEvaluationWindow.

func NewSecurityMonitoringRuleEvaluationWindowFromValue ¶

func NewSecurityMonitoringRuleEvaluationWindowFromValue(v int32) (*SecurityMonitoringRuleEvaluationWindow, error)

NewSecurityMonitoringRuleEvaluationWindowFromValue returns a pointer to a valid SecurityMonitoringRuleEvaluationWindow for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleEvaluationWindow) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleEvaluationWindow) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleEvaluationWindow) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleEvaluationWindow value.

func (*SecurityMonitoringRuleEvaluationWindow) UnmarshalJSON ¶

func (v *SecurityMonitoringRuleEvaluationWindow) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleHardcodedEvaluatorType ¶ added in v1.14.0

type SecurityMonitoringRuleHardcodedEvaluatorType string

SecurityMonitoringRuleHardcodedEvaluatorType Hardcoded evaluator type.

const (
	SECURITYMONITORINGRULEHARDCODEDEVALUATORTYPE_LOG4SHELL SecurityMonitoringRuleHardcodedEvaluatorType = "log4shell"
)

List of SecurityMonitoringRuleHardcodedEvaluatorType.

func NewSecurityMonitoringRuleHardcodedEvaluatorTypeFromValue ¶ added in v1.14.0

func NewSecurityMonitoringRuleHardcodedEvaluatorTypeFromValue(v string) (*SecurityMonitoringRuleHardcodedEvaluatorType, error)

NewSecurityMonitoringRuleHardcodedEvaluatorTypeFromValue returns a pointer to a valid SecurityMonitoringRuleHardcodedEvaluatorType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleHardcodedEvaluatorType) GetAllowedValues ¶ added in v1.14.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleHardcodedEvaluatorType) IsValid ¶ added in v1.14.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleHardcodedEvaluatorType) Ptr ¶ added in v1.14.0

Ptr returns reference to SecurityMonitoringRuleHardcodedEvaluatorType value.

func (*SecurityMonitoringRuleHardcodedEvaluatorType) UnmarshalJSON ¶ added in v1.14.0

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleImpossibleTravelOptions ¶ added in v1.10.0

type SecurityMonitoringRuleImpossibleTravelOptions struct {
	// If true, signals are suppressed for the first 24 hours. In that time, Datadog learns the user's regular
	// access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access.
	BaselineUserLocations *bool `json:"baselineUserLocations,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleImpossibleTravelOptions Options on impossible travel rules.

func NewSecurityMonitoringRuleImpossibleTravelOptions ¶ added in v1.10.0

func NewSecurityMonitoringRuleImpossibleTravelOptions() *SecurityMonitoringRuleImpossibleTravelOptions

NewSecurityMonitoringRuleImpossibleTravelOptions instantiates a new SecurityMonitoringRuleImpossibleTravelOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringRuleImpossibleTravelOptionsWithDefaults ¶ added in v1.10.0

func NewSecurityMonitoringRuleImpossibleTravelOptionsWithDefaults() *SecurityMonitoringRuleImpossibleTravelOptions

NewSecurityMonitoringRuleImpossibleTravelOptionsWithDefaults instantiates a new SecurityMonitoringRuleImpossibleTravelOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocations ¶ added in v1.10.0

func (o *SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocations() bool

GetBaselineUserLocations returns the BaselineUserLocations field value if set, zero value otherwise.

func (*SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocationsOk ¶ added in v1.10.0

func (o *SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocationsOk() (*bool, bool)

GetBaselineUserLocationsOk returns a tuple with the BaselineUserLocations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleImpossibleTravelOptions) HasBaselineUserLocations ¶ added in v1.10.0

func (o *SecurityMonitoringRuleImpossibleTravelOptions) HasBaselineUserLocations() bool

HasBaselineUserLocations returns a boolean if a field has been set.

func (SecurityMonitoringRuleImpossibleTravelOptions) MarshalJSON ¶ added in v1.10.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleImpossibleTravelOptions) SetBaselineUserLocations ¶ added in v1.10.0

func (o *SecurityMonitoringRuleImpossibleTravelOptions) SetBaselineUserLocations(v bool)

SetBaselineUserLocations gets a reference to the given bool and assigns it to the BaselineUserLocations field.

func (*SecurityMonitoringRuleImpossibleTravelOptions) UnmarshalJSON ¶ added in v1.10.0

func (o *SecurityMonitoringRuleImpossibleTravelOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleKeepAlive ¶

type SecurityMonitoringRuleKeepAlive int32

SecurityMonitoringRuleKeepAlive Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window.

const (
	SECURITYMONITORINGRULEKEEPALIVE_ZERO_MINUTES    SecurityMonitoringRuleKeepAlive = 0
	SECURITYMONITORINGRULEKEEPALIVE_ONE_MINUTE      SecurityMonitoringRuleKeepAlive = 60
	SECURITYMONITORINGRULEKEEPALIVE_FIVE_MINUTES    SecurityMonitoringRuleKeepAlive = 300
	SECURITYMONITORINGRULEKEEPALIVE_TEN_MINUTES     SecurityMonitoringRuleKeepAlive = 600
	SECURITYMONITORINGRULEKEEPALIVE_FIFTEEN_MINUTES SecurityMonitoringRuleKeepAlive = 900
	SECURITYMONITORINGRULEKEEPALIVE_THIRTY_MINUTES  SecurityMonitoringRuleKeepAlive = 1800
	SECURITYMONITORINGRULEKEEPALIVE_ONE_HOUR        SecurityMonitoringRuleKeepAlive = 3600
	SECURITYMONITORINGRULEKEEPALIVE_TWO_HOURS       SecurityMonitoringRuleKeepAlive = 7200
	SECURITYMONITORINGRULEKEEPALIVE_THREE_HOURS     SecurityMonitoringRuleKeepAlive = 10800
	SECURITYMONITORINGRULEKEEPALIVE_SIX_HOURS       SecurityMonitoringRuleKeepAlive = 21600
)

List of SecurityMonitoringRuleKeepAlive.

func NewSecurityMonitoringRuleKeepAliveFromValue ¶

func NewSecurityMonitoringRuleKeepAliveFromValue(v int32) (*SecurityMonitoringRuleKeepAlive, error)

NewSecurityMonitoringRuleKeepAliveFromValue returns a pointer to a valid SecurityMonitoringRuleKeepAlive for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleKeepAlive) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleKeepAlive) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleKeepAlive) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleKeepAlive value.

func (*SecurityMonitoringRuleKeepAlive) UnmarshalJSON ¶

func (v *SecurityMonitoringRuleKeepAlive) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleMaxSignalDuration ¶

type SecurityMonitoringRuleMaxSignalDuration int32

SecurityMonitoringRuleMaxSignalDuration A signal will “close” regardless of the query being matched once the time exceeds the maximum duration. This time is calculated from the first seen timestamp.

const (
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ZERO_MINUTES    SecurityMonitoringRuleMaxSignalDuration = 0
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_MINUTE      SecurityMonitoringRuleMaxSignalDuration = 60
	SECURITYMONITORINGRULEMAXSIGNALDURATION_FIVE_MINUTES    SecurityMonitoringRuleMaxSignalDuration = 300
	SECURITYMONITORINGRULEMAXSIGNALDURATION_TEN_MINUTES     SecurityMonitoringRuleMaxSignalDuration = 600
	SECURITYMONITORINGRULEMAXSIGNALDURATION_FIFTEEN_MINUTES SecurityMonitoringRuleMaxSignalDuration = 900
	SECURITYMONITORINGRULEMAXSIGNALDURATION_THIRTY_MINUTES  SecurityMonitoringRuleMaxSignalDuration = 1800
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_HOUR        SecurityMonitoringRuleMaxSignalDuration = 3600
	SECURITYMONITORINGRULEMAXSIGNALDURATION_TWO_HOURS       SecurityMonitoringRuleMaxSignalDuration = 7200
	SECURITYMONITORINGRULEMAXSIGNALDURATION_THREE_HOURS     SecurityMonitoringRuleMaxSignalDuration = 10800
	SECURITYMONITORINGRULEMAXSIGNALDURATION_SIX_HOURS       SecurityMonitoringRuleMaxSignalDuration = 21600
	SECURITYMONITORINGRULEMAXSIGNALDURATION_TWELVE_HOURS    SecurityMonitoringRuleMaxSignalDuration = 43200
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_DAY         SecurityMonitoringRuleMaxSignalDuration = 86400
)

List of SecurityMonitoringRuleMaxSignalDuration.

func NewSecurityMonitoringRuleMaxSignalDurationFromValue ¶

func NewSecurityMonitoringRuleMaxSignalDurationFromValue(v int32) (*SecurityMonitoringRuleMaxSignalDuration, error)

NewSecurityMonitoringRuleMaxSignalDurationFromValue returns a pointer to a valid SecurityMonitoringRuleMaxSignalDuration for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleMaxSignalDuration) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleMaxSignalDuration) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleMaxSignalDuration) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleMaxSignalDuration value.

func (*SecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON ¶

func (v *SecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleNewValueOptions ¶

type SecurityMonitoringRuleNewValueOptions struct {
	// The duration in days after which a learned value is forgotten.
	ForgetAfter *SecurityMonitoringRuleNewValueOptionsForgetAfter `json:"forgetAfter,omitempty"`
	// The duration in days during which values are learned, and after which signals will be generated for values that
	// weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned.
	LearningDuration *SecurityMonitoringRuleNewValueOptionsLearningDuration `json:"learningDuration,omitempty"`
	// The learning method used to determine when signals should be generated for values that weren't learned.
	LearningMethod *SecurityMonitoringRuleNewValueOptionsLearningMethod `json:"learningMethod,omitempty"`
	// A number of occurrences after which signals will be generated for values that weren't learned.
	LearningThreshold *SecurityMonitoringRuleNewValueOptionsLearningThreshold `json:"learningThreshold,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleNewValueOptions Options on new value rules.

func NewSecurityMonitoringRuleNewValueOptions ¶

func NewSecurityMonitoringRuleNewValueOptions() *SecurityMonitoringRuleNewValueOptions

NewSecurityMonitoringRuleNewValueOptions instantiates a new SecurityMonitoringRuleNewValueOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringRuleNewValueOptionsWithDefaults ¶

func NewSecurityMonitoringRuleNewValueOptionsWithDefaults() *SecurityMonitoringRuleNewValueOptions

NewSecurityMonitoringRuleNewValueOptionsWithDefaults instantiates a new SecurityMonitoringRuleNewValueOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringRuleNewValueOptions) GetForgetAfter ¶

GetForgetAfter returns the ForgetAfter field value if set, zero value otherwise.

func (*SecurityMonitoringRuleNewValueOptions) GetForgetAfterOk ¶

GetForgetAfterOk returns a tuple with the ForgetAfter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleNewValueOptions) GetLearningDuration ¶

GetLearningDuration returns the LearningDuration field value if set, zero value otherwise.

func (*SecurityMonitoringRuleNewValueOptions) GetLearningDurationOk ¶

GetLearningDurationOk returns a tuple with the LearningDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleNewValueOptions) GetLearningMethod ¶ added in v1.15.0

GetLearningMethod returns the LearningMethod field value if set, zero value otherwise.

func (*SecurityMonitoringRuleNewValueOptions) GetLearningMethodOk ¶ added in v1.15.0

GetLearningMethodOk returns a tuple with the LearningMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleNewValueOptions) GetLearningThreshold ¶ added in v1.15.0

GetLearningThreshold returns the LearningThreshold field value if set, zero value otherwise.

func (*SecurityMonitoringRuleNewValueOptions) GetLearningThresholdOk ¶ added in v1.15.0

GetLearningThresholdOk returns a tuple with the LearningThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleNewValueOptions) HasForgetAfter ¶

func (o *SecurityMonitoringRuleNewValueOptions) HasForgetAfter() bool

HasForgetAfter returns a boolean if a field has been set.

func (*SecurityMonitoringRuleNewValueOptions) HasLearningDuration ¶

func (o *SecurityMonitoringRuleNewValueOptions) HasLearningDuration() bool

HasLearningDuration returns a boolean if a field has been set.

func (*SecurityMonitoringRuleNewValueOptions) HasLearningMethod ¶ added in v1.15.0

func (o *SecurityMonitoringRuleNewValueOptions) HasLearningMethod() bool

HasLearningMethod returns a boolean if a field has been set.

func (*SecurityMonitoringRuleNewValueOptions) HasLearningThreshold ¶ added in v1.15.0

func (o *SecurityMonitoringRuleNewValueOptions) HasLearningThreshold() bool

HasLearningThreshold returns a boolean if a field has been set.

func (SecurityMonitoringRuleNewValueOptions) MarshalJSON ¶

func (o SecurityMonitoringRuleNewValueOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleNewValueOptions) SetForgetAfter ¶

SetForgetAfter gets a reference to the given SecurityMonitoringRuleNewValueOptionsForgetAfter and assigns it to the ForgetAfter field.

func (*SecurityMonitoringRuleNewValueOptions) SetLearningDuration ¶

SetLearningDuration gets a reference to the given SecurityMonitoringRuleNewValueOptionsLearningDuration and assigns it to the LearningDuration field.

func (*SecurityMonitoringRuleNewValueOptions) SetLearningMethod ¶ added in v1.15.0

SetLearningMethod gets a reference to the given SecurityMonitoringRuleNewValueOptionsLearningMethod and assigns it to the LearningMethod field.

func (*SecurityMonitoringRuleNewValueOptions) SetLearningThreshold ¶ added in v1.15.0

SetLearningThreshold gets a reference to the given SecurityMonitoringRuleNewValueOptionsLearningThreshold and assigns it to the LearningThreshold field.

func (*SecurityMonitoringRuleNewValueOptions) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleNewValueOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleNewValueOptionsForgetAfter ¶

type SecurityMonitoringRuleNewValueOptionsForgetAfter int32

SecurityMonitoringRuleNewValueOptionsForgetAfter The duration in days after which a learned value is forgotten.

const (
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_ONE_DAY     SecurityMonitoringRuleNewValueOptionsForgetAfter = 1
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_TWO_DAYS    SecurityMonitoringRuleNewValueOptionsForgetAfter = 2
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_ONE_WEEK    SecurityMonitoringRuleNewValueOptionsForgetAfter = 7
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_TWO_WEEKS   SecurityMonitoringRuleNewValueOptionsForgetAfter = 14
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_THREE_WEEKS SecurityMonitoringRuleNewValueOptionsForgetAfter = 21
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_FOUR_WEEKS  SecurityMonitoringRuleNewValueOptionsForgetAfter = 28
)

List of SecurityMonitoringRuleNewValueOptionsForgetAfter.

func NewSecurityMonitoringRuleNewValueOptionsForgetAfterFromValue ¶

func NewSecurityMonitoringRuleNewValueOptionsForgetAfterFromValue(v int32) (*SecurityMonitoringRuleNewValueOptionsForgetAfter, error)

NewSecurityMonitoringRuleNewValueOptionsForgetAfterFromValue returns a pointer to a valid SecurityMonitoringRuleNewValueOptionsForgetAfter for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleNewValueOptionsForgetAfter) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleNewValueOptionsForgetAfter) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleNewValueOptionsForgetAfter) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleNewValueOptionsForgetAfter value.

func (*SecurityMonitoringRuleNewValueOptionsForgetAfter) UnmarshalJSON ¶

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleNewValueOptionsLearningDuration ¶

type SecurityMonitoringRuleNewValueOptionsLearningDuration int32

SecurityMonitoringRuleNewValueOptionsLearningDuration The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned.

const (
	SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGDURATION_ZERO_DAYS  SecurityMonitoringRuleNewValueOptionsLearningDuration = 0
	SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGDURATION_ONE_DAY    SecurityMonitoringRuleNewValueOptionsLearningDuration = 1
	SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGDURATION_SEVEN_DAYS SecurityMonitoringRuleNewValueOptionsLearningDuration = 7
)

List of SecurityMonitoringRuleNewValueOptionsLearningDuration.

func NewSecurityMonitoringRuleNewValueOptionsLearningDurationFromValue ¶

func NewSecurityMonitoringRuleNewValueOptionsLearningDurationFromValue(v int32) (*SecurityMonitoringRuleNewValueOptionsLearningDuration, error)

NewSecurityMonitoringRuleNewValueOptionsLearningDurationFromValue returns a pointer to a valid SecurityMonitoringRuleNewValueOptionsLearningDuration for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleNewValueOptionsLearningDuration) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleNewValueOptionsLearningDuration) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleNewValueOptionsLearningDuration) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleNewValueOptionsLearningDuration value.

func (*SecurityMonitoringRuleNewValueOptionsLearningDuration) UnmarshalJSON ¶

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleNewValueOptionsLearningMethod ¶ added in v1.15.0

type SecurityMonitoringRuleNewValueOptionsLearningMethod string

SecurityMonitoringRuleNewValueOptionsLearningMethod The learning method used to determine when signals should be generated for values that weren't learned.

const (
	SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGMETHOD_DURATION  SecurityMonitoringRuleNewValueOptionsLearningMethod = "duration"
	SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGMETHOD_THRESHOLD SecurityMonitoringRuleNewValueOptionsLearningMethod = "threshold"
)

List of SecurityMonitoringRuleNewValueOptionsLearningMethod.

func NewSecurityMonitoringRuleNewValueOptionsLearningMethodFromValue ¶ added in v1.15.0

func NewSecurityMonitoringRuleNewValueOptionsLearningMethodFromValue(v string) (*SecurityMonitoringRuleNewValueOptionsLearningMethod, error)

NewSecurityMonitoringRuleNewValueOptionsLearningMethodFromValue returns a pointer to a valid SecurityMonitoringRuleNewValueOptionsLearningMethod for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleNewValueOptionsLearningMethod) GetAllowedValues ¶ added in v1.15.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleNewValueOptionsLearningMethod) IsValid ¶ added in v1.15.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleNewValueOptionsLearningMethod) Ptr ¶ added in v1.15.0

Ptr returns reference to SecurityMonitoringRuleNewValueOptionsLearningMethod value.

func (*SecurityMonitoringRuleNewValueOptionsLearningMethod) UnmarshalJSON ¶ added in v1.15.0

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleNewValueOptionsLearningThreshold ¶ added in v1.15.0

type SecurityMonitoringRuleNewValueOptionsLearningThreshold int32

SecurityMonitoringRuleNewValueOptionsLearningThreshold A number of occurrences after which signals will be generated for values that weren't learned.

const (
	SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGTHRESHOLD_ZERO_OCCURRENCES SecurityMonitoringRuleNewValueOptionsLearningThreshold = 0
	SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGTHRESHOLD_ONE_OCCURRENCE   SecurityMonitoringRuleNewValueOptionsLearningThreshold = 1
)

List of SecurityMonitoringRuleNewValueOptionsLearningThreshold.

func NewSecurityMonitoringRuleNewValueOptionsLearningThresholdFromValue ¶ added in v1.15.0

func NewSecurityMonitoringRuleNewValueOptionsLearningThresholdFromValue(v int32) (*SecurityMonitoringRuleNewValueOptionsLearningThreshold, error)

NewSecurityMonitoringRuleNewValueOptionsLearningThresholdFromValue returns a pointer to a valid SecurityMonitoringRuleNewValueOptionsLearningThreshold for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleNewValueOptionsLearningThreshold) GetAllowedValues ¶ added in v1.15.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleNewValueOptionsLearningThreshold) IsValid ¶ added in v1.15.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleNewValueOptionsLearningThreshold) Ptr ¶ added in v1.15.0

Ptr returns reference to SecurityMonitoringRuleNewValueOptionsLearningThreshold value.

func (*SecurityMonitoringRuleNewValueOptionsLearningThreshold) UnmarshalJSON ¶ added in v1.15.0

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleOptions ¶

type SecurityMonitoringRuleOptions struct {
	// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce signal noise.
	// The severity is decreased by one level: `CRITICAL` in production becomes `HIGH` in non-production, `HIGH` becomes `MEDIUM` and so on. `INFO` remains `INFO`.
	// The decrement is applied when the environment tag of the signal starts with `staging`, `test` or `dev`.
	DecreaseCriticalityBasedOnEnv *bool `json:"decreaseCriticalityBasedOnEnv,omitempty"`
	// The detection method.
	DetectionMethod *SecurityMonitoringRuleDetectionMethod `json:"detectionMethod,omitempty"`
	// A time window is specified to match when at least one of the cases matches true. This is a sliding window
	// and evaluates in real time.
	EvaluationWindow *SecurityMonitoringRuleEvaluationWindow `json:"evaluationWindow,omitempty"`
	// Hardcoded evaluator type.
	HardcodedEvaluatorType *SecurityMonitoringRuleHardcodedEvaluatorType `json:"hardcodedEvaluatorType,omitempty"`
	// Options on impossible travel rules.
	ImpossibleTravelOptions *SecurityMonitoringRuleImpossibleTravelOptions `json:"impossibleTravelOptions,omitempty"`
	// Once a signal is generated, the signal will remain “open” if a case is matched at least once within
	// this keep alive window.
	KeepAlive *SecurityMonitoringRuleKeepAlive `json:"keepAlive,omitempty"`
	// A signal will “close” regardless of the query being matched once the time exceeds the maximum duration.
	// This time is calculated from the first seen timestamp.
	MaxSignalDuration *SecurityMonitoringRuleMaxSignalDuration `json:"maxSignalDuration,omitempty"`
	// Options on new value rules.
	NewValueOptions *SecurityMonitoringRuleNewValueOptions `json:"newValueOptions,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleOptions Options on rules.

func NewSecurityMonitoringRuleOptions ¶

func NewSecurityMonitoringRuleOptions() *SecurityMonitoringRuleOptions

NewSecurityMonitoringRuleOptions instantiates a new SecurityMonitoringRuleOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringRuleOptionsWithDefaults ¶

func NewSecurityMonitoringRuleOptionsWithDefaults() *SecurityMonitoringRuleOptions

NewSecurityMonitoringRuleOptionsWithDefaults instantiates a new SecurityMonitoringRuleOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnv ¶ added in v1.15.0

func (o *SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnv() bool

GetDecreaseCriticalityBasedOnEnv returns the DecreaseCriticalityBasedOnEnv field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnvOk ¶ added in v1.15.0

func (o *SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnvOk() (*bool, bool)

GetDecreaseCriticalityBasedOnEnvOk returns a tuple with the DecreaseCriticalityBasedOnEnv field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetDetectionMethod ¶

GetDetectionMethod returns the DetectionMethod field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetDetectionMethodOk ¶

GetDetectionMethodOk returns a tuple with the DetectionMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetEvaluationWindow ¶

GetEvaluationWindow returns the EvaluationWindow field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetEvaluationWindowOk ¶

GetEvaluationWindowOk returns a tuple with the EvaluationWindow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetHardcodedEvaluatorType ¶ added in v1.14.0

GetHardcodedEvaluatorType returns the HardcodedEvaluatorType field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetHardcodedEvaluatorTypeOk ¶ added in v1.14.0

GetHardcodedEvaluatorTypeOk returns a tuple with the HardcodedEvaluatorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetImpossibleTravelOptions ¶ added in v1.10.0

GetImpossibleTravelOptions returns the ImpossibleTravelOptions field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetImpossibleTravelOptionsOk ¶ added in v1.10.0

GetImpossibleTravelOptionsOk returns a tuple with the ImpossibleTravelOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetKeepAlive ¶

GetKeepAlive returns the KeepAlive field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetKeepAliveOk ¶

GetKeepAliveOk returns a tuple with the KeepAlive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetMaxSignalDuration ¶

GetMaxSignalDuration returns the MaxSignalDuration field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetMaxSignalDurationOk ¶

GetMaxSignalDurationOk returns a tuple with the MaxSignalDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetNewValueOptions ¶

GetNewValueOptions returns the NewValueOptions field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetNewValueOptionsOk ¶

GetNewValueOptionsOk returns a tuple with the NewValueOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) HasDecreaseCriticalityBasedOnEnv ¶ added in v1.15.0

func (o *SecurityMonitoringRuleOptions) HasDecreaseCriticalityBasedOnEnv() bool

HasDecreaseCriticalityBasedOnEnv returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasDetectionMethod ¶

func (o *SecurityMonitoringRuleOptions) HasDetectionMethod() bool

HasDetectionMethod returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasEvaluationWindow ¶

func (o *SecurityMonitoringRuleOptions) HasEvaluationWindow() bool

HasEvaluationWindow returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasHardcodedEvaluatorType ¶ added in v1.14.0

func (o *SecurityMonitoringRuleOptions) HasHardcodedEvaluatorType() bool

HasHardcodedEvaluatorType returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasImpossibleTravelOptions ¶ added in v1.10.0

func (o *SecurityMonitoringRuleOptions) HasImpossibleTravelOptions() bool

HasImpossibleTravelOptions returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasKeepAlive ¶

func (o *SecurityMonitoringRuleOptions) HasKeepAlive() bool

HasKeepAlive returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasMaxSignalDuration ¶

func (o *SecurityMonitoringRuleOptions) HasMaxSignalDuration() bool

HasMaxSignalDuration returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasNewValueOptions ¶

func (o *SecurityMonitoringRuleOptions) HasNewValueOptions() bool

HasNewValueOptions returns a boolean if a field has been set.

func (SecurityMonitoringRuleOptions) MarshalJSON ¶

func (o SecurityMonitoringRuleOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleOptions) SetDecreaseCriticalityBasedOnEnv ¶ added in v1.15.0

func (o *SecurityMonitoringRuleOptions) SetDecreaseCriticalityBasedOnEnv(v bool)

SetDecreaseCriticalityBasedOnEnv gets a reference to the given bool and assigns it to the DecreaseCriticalityBasedOnEnv field.

func (*SecurityMonitoringRuleOptions) SetDetectionMethod ¶

SetDetectionMethod gets a reference to the given SecurityMonitoringRuleDetectionMethod and assigns it to the DetectionMethod field.

func (*SecurityMonitoringRuleOptions) SetEvaluationWindow ¶

SetEvaluationWindow gets a reference to the given SecurityMonitoringRuleEvaluationWindow and assigns it to the EvaluationWindow field.

func (*SecurityMonitoringRuleOptions) SetHardcodedEvaluatorType ¶ added in v1.14.0

SetHardcodedEvaluatorType gets a reference to the given SecurityMonitoringRuleHardcodedEvaluatorType and assigns it to the HardcodedEvaluatorType field.

func (*SecurityMonitoringRuleOptions) SetImpossibleTravelOptions ¶ added in v1.10.0

SetImpossibleTravelOptions gets a reference to the given SecurityMonitoringRuleImpossibleTravelOptions and assigns it to the ImpossibleTravelOptions field.

func (*SecurityMonitoringRuleOptions) SetKeepAlive ¶

SetKeepAlive gets a reference to the given SecurityMonitoringRuleKeepAlive and assigns it to the KeepAlive field.

func (*SecurityMonitoringRuleOptions) SetMaxSignalDuration ¶

SetMaxSignalDuration gets a reference to the given SecurityMonitoringRuleMaxSignalDuration and assigns it to the MaxSignalDuration field.

func (*SecurityMonitoringRuleOptions) SetNewValueOptions ¶

SetNewValueOptions gets a reference to the given SecurityMonitoringRuleNewValueOptions and assigns it to the NewValueOptions field.

func (*SecurityMonitoringRuleOptions) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleQuery ¶

type SecurityMonitoringRuleQuery struct {
	// The aggregation type.
	Aggregation *SecurityMonitoringRuleQueryAggregation `json:"aggregation,omitempty"`
	// Field for which the cardinality is measured. Sent as an array.
	DistinctFields []string `json:"distinctFields,omitempty"`
	// Fields to group by.
	GroupByFields []string `json:"groupByFields,omitempty"`
	// The target field to aggregate over when using the sum or max
	// aggregations.
	Metric *string `json:"metric,omitempty"`
	// Group of target fields to aggregate over when using the new value aggregations.
	Metrics []string `json:"metrics,omitempty"`
	// Name of the query.
	Name *string `json:"name,omitempty"`
	// Query to run on logs.
	Query *string `json:"query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleQuery Query for matching rule.

func NewSecurityMonitoringRuleQuery ¶

func NewSecurityMonitoringRuleQuery() *SecurityMonitoringRuleQuery

NewSecurityMonitoringRuleQuery instantiates a new SecurityMonitoringRuleQuery object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringRuleQueryWithDefaults ¶

func NewSecurityMonitoringRuleQueryWithDefaults() *SecurityMonitoringRuleQuery

NewSecurityMonitoringRuleQueryWithDefaults instantiates a new SecurityMonitoringRuleQuery object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringRuleQuery) GetAggregation ¶

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetAggregationOk ¶

GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) GetDistinctFields ¶

func (o *SecurityMonitoringRuleQuery) GetDistinctFields() []string

GetDistinctFields returns the DistinctFields field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetDistinctFieldsOk ¶

func (o *SecurityMonitoringRuleQuery) GetDistinctFieldsOk() (*[]string, bool)

GetDistinctFieldsOk returns a tuple with the DistinctFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) GetGroupByFields ¶

func (o *SecurityMonitoringRuleQuery) GetGroupByFields() []string

GetGroupByFields returns the GroupByFields field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetGroupByFieldsOk ¶

func (o *SecurityMonitoringRuleQuery) GetGroupByFieldsOk() (*[]string, bool)

GetGroupByFieldsOk returns a tuple with the GroupByFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) GetMetric ¶

func (o *SecurityMonitoringRuleQuery) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetMetricOk ¶

func (o *SecurityMonitoringRuleQuery) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) GetMetrics ¶ added in v1.16.0

func (o *SecurityMonitoringRuleQuery) GetMetrics() []string

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetMetricsOk ¶ added in v1.16.0

func (o *SecurityMonitoringRuleQuery) GetMetricsOk() (*[]string, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) GetName ¶

func (o *SecurityMonitoringRuleQuery) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetNameOk ¶

func (o *SecurityMonitoringRuleQuery) 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 (*SecurityMonitoringRuleQuery) GetQuery ¶

func (o *SecurityMonitoringRuleQuery) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetQueryOk ¶

func (o *SecurityMonitoringRuleQuery) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) HasAggregation ¶

func (o *SecurityMonitoringRuleQuery) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasDistinctFields ¶

func (o *SecurityMonitoringRuleQuery) HasDistinctFields() bool

HasDistinctFields returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasGroupByFields ¶

func (o *SecurityMonitoringRuleQuery) HasGroupByFields() bool

HasGroupByFields returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasMetric ¶

func (o *SecurityMonitoringRuleQuery) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasMetrics ¶ added in v1.16.0

func (o *SecurityMonitoringRuleQuery) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasName ¶

func (o *SecurityMonitoringRuleQuery) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasQuery ¶

func (o *SecurityMonitoringRuleQuery) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (SecurityMonitoringRuleQuery) MarshalJSON ¶

func (o SecurityMonitoringRuleQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleQuery) SetAggregation ¶

SetAggregation gets a reference to the given SecurityMonitoringRuleQueryAggregation and assigns it to the Aggregation field.

func (*SecurityMonitoringRuleQuery) SetDistinctFields ¶

func (o *SecurityMonitoringRuleQuery) SetDistinctFields(v []string)

SetDistinctFields gets a reference to the given []string and assigns it to the DistinctFields field.

func (*SecurityMonitoringRuleQuery) SetGroupByFields ¶

func (o *SecurityMonitoringRuleQuery) SetGroupByFields(v []string)

SetGroupByFields gets a reference to the given []string and assigns it to the GroupByFields field.

func (*SecurityMonitoringRuleQuery) SetMetric ¶

func (o *SecurityMonitoringRuleQuery) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*SecurityMonitoringRuleQuery) SetMetrics ¶ added in v1.16.0

func (o *SecurityMonitoringRuleQuery) SetMetrics(v []string)

SetMetrics gets a reference to the given []string and assigns it to the Metrics field.

func (*SecurityMonitoringRuleQuery) SetName ¶

func (o *SecurityMonitoringRuleQuery) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleQuery) SetQuery ¶

func (o *SecurityMonitoringRuleQuery) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityMonitoringRuleQuery) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleQueryAggregation ¶

type SecurityMonitoringRuleQueryAggregation string

SecurityMonitoringRuleQueryAggregation The aggregation type.

const (
	SECURITYMONITORINGRULEQUERYAGGREGATION_COUNT       SecurityMonitoringRuleQueryAggregation = "count"
	SECURITYMONITORINGRULEQUERYAGGREGATION_CARDINALITY SecurityMonitoringRuleQueryAggregation = "cardinality"
	SECURITYMONITORINGRULEQUERYAGGREGATION_SUM         SecurityMonitoringRuleQueryAggregation = "sum"
	SECURITYMONITORINGRULEQUERYAGGREGATION_MAX         SecurityMonitoringRuleQueryAggregation = "max"
	SECURITYMONITORINGRULEQUERYAGGREGATION_NEW_VALUE   SecurityMonitoringRuleQueryAggregation = "new_value"
	SECURITYMONITORINGRULEQUERYAGGREGATION_GEO_DATA    SecurityMonitoringRuleQueryAggregation = "geo_data"
)

List of SecurityMonitoringRuleQueryAggregation.

func NewSecurityMonitoringRuleQueryAggregationFromValue ¶

func NewSecurityMonitoringRuleQueryAggregationFromValue(v string) (*SecurityMonitoringRuleQueryAggregation, error)

NewSecurityMonitoringRuleQueryAggregationFromValue returns a pointer to a valid SecurityMonitoringRuleQueryAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleQueryAggregation) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleQueryAggregation) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleQueryAggregation) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleQueryAggregation value.

func (*SecurityMonitoringRuleQueryAggregation) UnmarshalJSON ¶

func (v *SecurityMonitoringRuleQueryAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleQueryCreate ¶

type SecurityMonitoringRuleQueryCreate struct {
	// The aggregation type.
	Aggregation *SecurityMonitoringRuleQueryAggregation `json:"aggregation,omitempty"`
	// Field for which the cardinality is measured. Sent as an array.
	DistinctFields []string `json:"distinctFields,omitempty"`
	// Fields to group by.
	GroupByFields []string `json:"groupByFields,omitempty"`
	// The target field to aggregate over when using the sum or max
	// aggregations.
	Metric *string `json:"metric,omitempty"`
	// Group of target fields to aggregate over when using the new value aggregations.
	Metrics []string `json:"metrics,omitempty"`
	// Name of the query.
	Name *string `json:"name,omitempty"`
	// Query to run on logs.
	Query string `json:"query"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleQueryCreate Query for matching rule.

func NewSecurityMonitoringRuleQueryCreate ¶

func NewSecurityMonitoringRuleQueryCreate(query string) *SecurityMonitoringRuleQueryCreate

NewSecurityMonitoringRuleQueryCreate instantiates a new SecurityMonitoringRuleQueryCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringRuleQueryCreateWithDefaults ¶

func NewSecurityMonitoringRuleQueryCreateWithDefaults() *SecurityMonitoringRuleQueryCreate

NewSecurityMonitoringRuleQueryCreateWithDefaults instantiates a new SecurityMonitoringRuleQueryCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringRuleQueryCreate) GetAggregation ¶

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetAggregationOk ¶

GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) GetDistinctFields ¶

func (o *SecurityMonitoringRuleQueryCreate) GetDistinctFields() []string

GetDistinctFields returns the DistinctFields field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetDistinctFieldsOk ¶

func (o *SecurityMonitoringRuleQueryCreate) GetDistinctFieldsOk() (*[]string, bool)

GetDistinctFieldsOk returns a tuple with the DistinctFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) GetGroupByFields ¶

func (o *SecurityMonitoringRuleQueryCreate) GetGroupByFields() []string

GetGroupByFields returns the GroupByFields field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetGroupByFieldsOk ¶

func (o *SecurityMonitoringRuleQueryCreate) GetGroupByFieldsOk() (*[]string, bool)

GetGroupByFieldsOk returns a tuple with the GroupByFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) GetMetric ¶

GetMetric returns the Metric field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetMetricOk ¶

func (o *SecurityMonitoringRuleQueryCreate) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) GetMetrics ¶ added in v1.16.0

func (o *SecurityMonitoringRuleQueryCreate) GetMetrics() []string

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetMetricsOk ¶ added in v1.16.0

func (o *SecurityMonitoringRuleQueryCreate) GetMetricsOk() (*[]string, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetNameOk ¶

func (o *SecurityMonitoringRuleQueryCreate) 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 (*SecurityMonitoringRuleQueryCreate) GetQuery ¶

GetQuery returns the Query field value.

func (*SecurityMonitoringRuleQueryCreate) GetQueryOk ¶

func (o *SecurityMonitoringRuleQueryCreate) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) HasAggregation ¶

func (o *SecurityMonitoringRuleQueryCreate) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQueryCreate) HasDistinctFields ¶

func (o *SecurityMonitoringRuleQueryCreate) HasDistinctFields() bool

HasDistinctFields returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQueryCreate) HasGroupByFields ¶

func (o *SecurityMonitoringRuleQueryCreate) HasGroupByFields() bool

HasGroupByFields returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQueryCreate) HasMetric ¶

func (o *SecurityMonitoringRuleQueryCreate) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQueryCreate) HasMetrics ¶ added in v1.16.0

func (o *SecurityMonitoringRuleQueryCreate) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQueryCreate) HasName ¶

HasName returns a boolean if a field has been set.

func (SecurityMonitoringRuleQueryCreate) MarshalJSON ¶

func (o SecurityMonitoringRuleQueryCreate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleQueryCreate) SetAggregation ¶

SetAggregation gets a reference to the given SecurityMonitoringRuleQueryAggregation and assigns it to the Aggregation field.

func (*SecurityMonitoringRuleQueryCreate) SetDistinctFields ¶

func (o *SecurityMonitoringRuleQueryCreate) SetDistinctFields(v []string)

SetDistinctFields gets a reference to the given []string and assigns it to the DistinctFields field.

func (*SecurityMonitoringRuleQueryCreate) SetGroupByFields ¶

func (o *SecurityMonitoringRuleQueryCreate) SetGroupByFields(v []string)

SetGroupByFields gets a reference to the given []string and assigns it to the GroupByFields field.

func (*SecurityMonitoringRuleQueryCreate) SetMetric ¶

func (o *SecurityMonitoringRuleQueryCreate) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*SecurityMonitoringRuleQueryCreate) SetMetrics ¶ added in v1.16.0

func (o *SecurityMonitoringRuleQueryCreate) SetMetrics(v []string)

SetMetrics gets a reference to the given []string and assigns it to the Metrics field.

func (*SecurityMonitoringRuleQueryCreate) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleQueryCreate) SetQuery ¶

SetQuery sets field value.

func (*SecurityMonitoringRuleQueryCreate) UnmarshalJSON ¶

func (o *SecurityMonitoringRuleQueryCreate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleResponse ¶

type SecurityMonitoringRuleResponse struct {
	// Cases for generating signals.
	Cases []SecurityMonitoringRuleCase `json:"cases,omitempty"`
	// When the rule was created, timestamp in milliseconds.
	CreatedAt *int64 `json:"createdAt,omitempty"`
	// User ID of the user who created the rule.
	CreationAuthorId *int64 `json:"creationAuthorId,omitempty"`
	// Additional queries to filter matched events before they are processed.
	Filters []SecurityMonitoringFilter `json:"filters,omitempty"`
	// Whether the notifications include the triggering group-by values in their title.
	HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty"`
	// The ID of the rule.
	Id *string `json:"id,omitempty"`
	// Whether the rule is included by default.
	IsDefault *bool `json:"isDefault,omitempty"`
	// Whether the rule has been deleted.
	IsDeleted *bool `json:"isDeleted,omitempty"`
	// Whether the rule is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// Message for generated signals.
	Message *string `json:"message,omitempty"`
	// The name of the rule.
	Name *string `json:"name,omitempty"`
	// Options on rules.
	Options *SecurityMonitoringRuleOptions `json:"options,omitempty"`
	// Queries for selecting logs which are part of the rule.
	Queries []SecurityMonitoringRuleQuery `json:"queries,omitempty"`
	// Tags for generated signals.
	Tags []string `json:"tags,omitempty"`
	// The rule type.
	Type *SecurityMonitoringRuleTypeRead `json:"type,omitempty"`
	// User ID of the user who updated the rule.
	UpdateAuthorId *int64 `json:"updateAuthorId,omitempty"`
	// The version of the rule.
	Version *int64 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleResponse Rule.

func NewSecurityMonitoringRuleResponse ¶

func NewSecurityMonitoringRuleResponse() *SecurityMonitoringRuleResponse

NewSecurityMonitoringRuleResponse instantiates a new SecurityMonitoringRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringRuleResponseWithDefaults ¶

func NewSecurityMonitoringRuleResponseWithDefaults() *SecurityMonitoringRuleResponse

NewSecurityMonitoringRuleResponseWithDefaults instantiates a new SecurityMonitoringRuleResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringRuleResponse) GetCases ¶

GetCases returns the Cases field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetCasesOk ¶

GetCasesOk returns a tuple with the Cases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetCreatedAt ¶

func (o *SecurityMonitoringRuleResponse) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetCreatedAtOk ¶

func (o *SecurityMonitoringRuleResponse) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetCreationAuthorId ¶

func (o *SecurityMonitoringRuleResponse) GetCreationAuthorId() int64

GetCreationAuthorId returns the CreationAuthorId field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetCreationAuthorIdOk ¶

func (o *SecurityMonitoringRuleResponse) GetCreationAuthorIdOk() (*int64, bool)

GetCreationAuthorIdOk returns a tuple with the CreationAuthorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetFilters ¶

GetFilters returns the Filters field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetFiltersOk ¶

GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetHasExtendedTitleOk ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) GetHasExtendedTitleOk() (*bool, bool)

GetHasExtendedTitleOk returns a tuple with the HasExtendedTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIdOk ¶

func (o *SecurityMonitoringRuleResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetIsDefault ¶

func (o *SecurityMonitoringRuleResponse) GetIsDefault() bool

GetIsDefault returns the IsDefault field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIsDefaultOk ¶

func (o *SecurityMonitoringRuleResponse) GetIsDefaultOk() (*bool, bool)

GetIsDefaultOk returns a tuple with the IsDefault field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetIsDeleted ¶

func (o *SecurityMonitoringRuleResponse) GetIsDeleted() bool

GetIsDeleted returns the IsDeleted field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIsDeletedOk ¶

func (o *SecurityMonitoringRuleResponse) GetIsDeletedOk() (*bool, bool)

GetIsDeletedOk returns a tuple with the IsDeleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetIsEnabled ¶

func (o *SecurityMonitoringRuleResponse) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIsEnabledOk ¶

func (o *SecurityMonitoringRuleResponse) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetMessage ¶

func (o *SecurityMonitoringRuleResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetMessageOk ¶

func (o *SecurityMonitoringRuleResponse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetNameOk ¶

func (o *SecurityMonitoringRuleResponse) 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 (*SecurityMonitoringRuleResponse) GetOptions ¶

GetOptions returns the Options field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetOptionsOk ¶

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetQueries ¶

GetQueries returns the Queries field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetQueriesOk ¶

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetTags ¶

func (o *SecurityMonitoringRuleResponse) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetTagsOk ¶

func (o *SecurityMonitoringRuleResponse) 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 (*SecurityMonitoringRuleResponse) GetType ¶ added in v1.3.0

GetType returns the Type field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetTypeOk ¶ added in v1.3.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetUpdateAuthorId ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) GetUpdateAuthorId() int64

GetUpdateAuthorId returns the UpdateAuthorId field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetUpdateAuthorIdOk ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) GetUpdateAuthorIdOk() (*int64, bool)

GetUpdateAuthorIdOk returns a tuple with the UpdateAuthorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetVersion ¶

func (o *SecurityMonitoringRuleResponse) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetVersionOk ¶

func (o *SecurityMonitoringRuleResponse) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) HasCases ¶

func (o *SecurityMonitoringRuleResponse) HasCases() bool

HasCases returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasCreatedAt ¶

func (o *SecurityMonitoringRuleResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasCreationAuthorId ¶

func (o *SecurityMonitoringRuleResponse) HasCreationAuthorId() bool

HasCreationAuthorId returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasFilters ¶

func (o *SecurityMonitoringRuleResponse) HasFilters() bool

HasFilters returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) HasHasExtendedTitle() bool

HasHasExtendedTitle returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasId ¶

HasId returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasIsDefault ¶

func (o *SecurityMonitoringRuleResponse) HasIsDefault() bool

HasIsDefault returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasIsDeleted ¶

func (o *SecurityMonitoringRuleResponse) HasIsDeleted() bool

HasIsDeleted returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasIsEnabled ¶

func (o *SecurityMonitoringRuleResponse) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasMessage ¶

func (o *SecurityMonitoringRuleResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasName ¶

func (o *SecurityMonitoringRuleResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasOptions ¶

func (o *SecurityMonitoringRuleResponse) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasQueries ¶

func (o *SecurityMonitoringRuleResponse) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasTags ¶

func (o *SecurityMonitoringRuleResponse) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasType ¶ added in v1.3.0

func (o *SecurityMonitoringRuleResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasUpdateAuthorId ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) HasUpdateAuthorId() bool

HasUpdateAuthorId returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasVersion ¶

func (o *SecurityMonitoringRuleResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringRuleResponse) MarshalJSON ¶

func (o SecurityMonitoringRuleResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleResponse) SetCases ¶

SetCases gets a reference to the given []SecurityMonitoringRuleCase and assigns it to the Cases field.

func (*SecurityMonitoringRuleResponse) SetCreatedAt ¶

func (o *SecurityMonitoringRuleResponse) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*SecurityMonitoringRuleResponse) SetCreationAuthorId ¶

func (o *SecurityMonitoringRuleResponse) SetCreationAuthorId(v int64)

SetCreationAuthorId gets a reference to the given int64 and assigns it to the CreationAuthorId field.

func (*SecurityMonitoringRuleResponse) SetFilters ¶

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringRuleResponse) SetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) SetHasExtendedTitle(v bool)

SetHasExtendedTitle gets a reference to the given bool and assigns it to the HasExtendedTitle field.

func (*SecurityMonitoringRuleResponse) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityMonitoringRuleResponse) SetIsDefault ¶

func (o *SecurityMonitoringRuleResponse) SetIsDefault(v bool)

SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.

func (*SecurityMonitoringRuleResponse) SetIsDeleted ¶

func (o *SecurityMonitoringRuleResponse) SetIsDeleted(v bool)

SetIsDeleted gets a reference to the given bool and assigns it to the IsDeleted field.

func (*SecurityMonitoringRuleResponse) SetIsEnabled ¶

func (o *SecurityMonitoringRuleResponse) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityMonitoringRuleResponse) SetMessage ¶

func (o *SecurityMonitoringRuleResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SecurityMonitoringRuleResponse) SetName ¶

func (o *SecurityMonitoringRuleResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleResponse) SetOptions ¶

SetOptions gets a reference to the given SecurityMonitoringRuleOptions and assigns it to the Options field.

func (*SecurityMonitoringRuleResponse) SetQueries ¶

SetQueries gets a reference to the given []SecurityMonitoringRuleQuery and assigns it to the Queries field.

func (*SecurityMonitoringRuleResponse) SetTags ¶

func (o *SecurityMonitoringRuleResponse) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringRuleResponse) SetType ¶ added in v1.3.0

SetType gets a reference to the given SecurityMonitoringRuleTypeRead and assigns it to the Type field.

func (*SecurityMonitoringRuleResponse) SetUpdateAuthorId ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) SetUpdateAuthorId(v int64)

SetUpdateAuthorId gets a reference to the given int64 and assigns it to the UpdateAuthorId field.

func (*SecurityMonitoringRuleResponse) SetVersion ¶

func (o *SecurityMonitoringRuleResponse) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SecurityMonitoringRuleResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleSeverity ¶

type SecurityMonitoringRuleSeverity string

SecurityMonitoringRuleSeverity Severity of the Security Signal.

const (
	SECURITYMONITORINGRULESEVERITY_INFO     SecurityMonitoringRuleSeverity = "info"
	SECURITYMONITORINGRULESEVERITY_LOW      SecurityMonitoringRuleSeverity = "low"
	SECURITYMONITORINGRULESEVERITY_MEDIUM   SecurityMonitoringRuleSeverity = "medium"
	SECURITYMONITORINGRULESEVERITY_HIGH     SecurityMonitoringRuleSeverity = "high"
	SECURITYMONITORINGRULESEVERITY_CRITICAL SecurityMonitoringRuleSeverity = "critical"
)

List of SecurityMonitoringRuleSeverity.

func NewSecurityMonitoringRuleSeverityFromValue ¶

func NewSecurityMonitoringRuleSeverityFromValue(v string) (*SecurityMonitoringRuleSeverity, error)

NewSecurityMonitoringRuleSeverityFromValue returns a pointer to a valid SecurityMonitoringRuleSeverity for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleSeverity) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleSeverity) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleSeverity) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleSeverity value.

func (*SecurityMonitoringRuleSeverity) UnmarshalJSON ¶

func (v *SecurityMonitoringRuleSeverity) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleTypeCreate ¶ added in v1.3.0

type SecurityMonitoringRuleTypeCreate string

SecurityMonitoringRuleTypeCreate The rule type.

const (
	SECURITYMONITORINGRULETYPECREATE_LOG_DETECTION     SecurityMonitoringRuleTypeCreate = "log_detection"
	SECURITYMONITORINGRULETYPECREATE_WORKLOAD_SECURITY SecurityMonitoringRuleTypeCreate = "workload_security"
)

List of SecurityMonitoringRuleTypeCreate.

func NewSecurityMonitoringRuleTypeCreateFromValue ¶ added in v1.3.0

func NewSecurityMonitoringRuleTypeCreateFromValue(v string) (*SecurityMonitoringRuleTypeCreate, error)

NewSecurityMonitoringRuleTypeCreateFromValue returns a pointer to a valid SecurityMonitoringRuleTypeCreate for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleTypeCreate) GetAllowedValues ¶ added in v1.3.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleTypeCreate) IsValid ¶ added in v1.3.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleTypeCreate) Ptr ¶ added in v1.3.0

Ptr returns reference to SecurityMonitoringRuleTypeCreate value.

func (*SecurityMonitoringRuleTypeCreate) UnmarshalJSON ¶ added in v1.3.0

func (v *SecurityMonitoringRuleTypeCreate) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleTypeRead ¶ added in v1.3.0

type SecurityMonitoringRuleTypeRead string

SecurityMonitoringRuleTypeRead The rule type.

const (
	SECURITYMONITORINGRULETYPEREAD_LOG_DETECTION                SecurityMonitoringRuleTypeRead = "log_detection"
	SECURITYMONITORINGRULETYPEREAD_INFRASTRUCTURE_CONFIGURATION SecurityMonitoringRuleTypeRead = "infrastructure_configuration"
	SECURITYMONITORINGRULETYPEREAD_WORKLOAD_SECURITY            SecurityMonitoringRuleTypeRead = "workload_security"
	SECURITYMONITORINGRULETYPEREAD_CLOUD_CONFIGURATION          SecurityMonitoringRuleTypeRead = "cloud_configuration"
)

List of SecurityMonitoringRuleTypeRead.

func NewSecurityMonitoringRuleTypeReadFromValue ¶ added in v1.3.0

func NewSecurityMonitoringRuleTypeReadFromValue(v string) (*SecurityMonitoringRuleTypeRead, error)

NewSecurityMonitoringRuleTypeReadFromValue returns a pointer to a valid SecurityMonitoringRuleTypeRead for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringRuleTypeRead) GetAllowedValues ¶ added in v1.3.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleTypeRead) IsValid ¶ added in v1.3.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleTypeRead) Ptr ¶ added in v1.3.0

Ptr returns reference to SecurityMonitoringRuleTypeRead value.

func (*SecurityMonitoringRuleTypeRead) UnmarshalJSON ¶ added in v1.3.0

func (v *SecurityMonitoringRuleTypeRead) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleUpdatePayload ¶

type SecurityMonitoringRuleUpdatePayload struct {
	// Cases for generating signals.
	Cases []SecurityMonitoringRuleCase `json:"cases,omitempty"`
	// Additional queries to filter matched events before they are processed.
	Filters []SecurityMonitoringFilter `json:"filters,omitempty"`
	// Whether the notifications include the triggering group-by values in their title.
	HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty"`
	// Whether the rule is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// Message for generated signals.
	Message *string `json:"message,omitempty"`
	// Name of the rule.
	Name *string `json:"name,omitempty"`
	// Options on rules.
	Options *SecurityMonitoringRuleOptions `json:"options,omitempty"`
	// Queries for selecting logs which are part of the rule.
	Queries []SecurityMonitoringRuleQuery `json:"queries,omitempty"`
	// Tags for generated signals.
	Tags []string `json:"tags,omitempty"`
	// The version of the rule being updated.
	Version *int32 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleUpdatePayload Update an existing rule.

func NewSecurityMonitoringRuleUpdatePayload ¶

func NewSecurityMonitoringRuleUpdatePayload() *SecurityMonitoringRuleUpdatePayload

NewSecurityMonitoringRuleUpdatePayload instantiates a new SecurityMonitoringRuleUpdatePayload object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringRuleUpdatePayloadWithDefaults ¶

func NewSecurityMonitoringRuleUpdatePayloadWithDefaults() *SecurityMonitoringRuleUpdatePayload

NewSecurityMonitoringRuleUpdatePayloadWithDefaults instantiates a new SecurityMonitoringRuleUpdatePayload object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringRuleUpdatePayload) GetCases ¶

GetCases returns the Cases field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetCasesOk ¶

GetCasesOk returns a tuple with the Cases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetFilters ¶

GetFilters returns the Filters field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetFiltersOk ¶

GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitleOk ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitleOk() (*bool, bool)

GetHasExtendedTitleOk returns a tuple with the HasExtendedTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetIsEnabled ¶

func (o *SecurityMonitoringRuleUpdatePayload) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetIsEnabledOk ¶

func (o *SecurityMonitoringRuleUpdatePayload) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetMessage ¶

GetMessage returns the Message field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetMessageOk ¶

func (o *SecurityMonitoringRuleUpdatePayload) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetNameOk ¶

func (o *SecurityMonitoringRuleUpdatePayload) 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 (*SecurityMonitoringRuleUpdatePayload) GetOptions ¶

GetOptions returns the Options field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetOptionsOk ¶

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetQueries ¶

GetQueries returns the Queries field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetQueriesOk ¶

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetTagsOk ¶

func (o *SecurityMonitoringRuleUpdatePayload) 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 (*SecurityMonitoringRuleUpdatePayload) GetVersion ¶ added in v1.1.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetVersionOk ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasCases ¶

HasCases returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasFilters ¶

func (o *SecurityMonitoringRuleUpdatePayload) HasFilters() bool

HasFilters returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) HasHasExtendedTitle() bool

HasHasExtendedTitle returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasIsEnabled ¶

func (o *SecurityMonitoringRuleUpdatePayload) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasMessage ¶

func (o *SecurityMonitoringRuleUpdatePayload) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasName ¶

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasOptions ¶

func (o *SecurityMonitoringRuleUpdatePayload) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasQueries ¶

func (o *SecurityMonitoringRuleUpdatePayload) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasTags ¶

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasVersion ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringRuleUpdatePayload) MarshalJSON ¶

func (o SecurityMonitoringRuleUpdatePayload) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleUpdatePayload) SetCases ¶

SetCases gets a reference to the given []SecurityMonitoringRuleCase and assigns it to the Cases field.

func (*SecurityMonitoringRuleUpdatePayload) SetFilters ¶

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringRuleUpdatePayload) SetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) SetHasExtendedTitle(v bool)

SetHasExtendedTitle gets a reference to the given bool and assigns it to the HasExtendedTitle field.

func (*SecurityMonitoringRuleUpdatePayload) SetIsEnabled ¶

func (o *SecurityMonitoringRuleUpdatePayload) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityMonitoringRuleUpdatePayload) SetMessage ¶

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SecurityMonitoringRuleUpdatePayload) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleUpdatePayload) SetOptions ¶

SetOptions gets a reference to the given SecurityMonitoringRuleOptions and assigns it to the Options field.

func (*SecurityMonitoringRuleUpdatePayload) SetQueries ¶

SetQueries gets a reference to the given []SecurityMonitoringRuleQuery and assigns it to the Queries field.

func (*SecurityMonitoringRuleUpdatePayload) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringRuleUpdatePayload) SetVersion ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (*SecurityMonitoringRuleUpdatePayload) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleUpdatePayload) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignal ¶

type SecurityMonitoringSignal struct {
	// The object containing all signal attributes and their
	// associated values.
	Attributes *SecurityMonitoringSignalAttributes `json:"attributes,omitempty"`
	// The unique ID of the security signal.
	Id *string `json:"id,omitempty"`
	// The type of event.
	Type *SecurityMonitoringSignalType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignal Object description of a security signal.

func NewSecurityMonitoringSignal ¶

func NewSecurityMonitoringSignal() *SecurityMonitoringSignal

NewSecurityMonitoringSignal instantiates a new SecurityMonitoringSignal object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalWithDefaults ¶

func NewSecurityMonitoringSignalWithDefaults() *SecurityMonitoringSignal

NewSecurityMonitoringSignalWithDefaults instantiates a new SecurityMonitoringSignal object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignal) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SecurityMonitoringSignal) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignal) GetId ¶

func (o *SecurityMonitoringSignal) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityMonitoringSignal) GetIdOk ¶

func (o *SecurityMonitoringSignal) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignal) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*SecurityMonitoringSignal) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignal) HasAttributes ¶

func (o *SecurityMonitoringSignal) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SecurityMonitoringSignal) HasId ¶

func (o *SecurityMonitoringSignal) HasId() bool

HasId returns a boolean if a field has been set.

func (*SecurityMonitoringSignal) HasType ¶

func (o *SecurityMonitoringSignal) HasType() bool

HasType returns a boolean if a field has been set.

func (SecurityMonitoringSignal) MarshalJSON ¶

func (o SecurityMonitoringSignal) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignal) SetAttributes ¶

SetAttributes gets a reference to the given SecurityMonitoringSignalAttributes and assigns it to the Attributes field.

func (*SecurityMonitoringSignal) SetId ¶

func (o *SecurityMonitoringSignal) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityMonitoringSignal) SetType ¶

SetType gets a reference to the given SecurityMonitoringSignalType and assigns it to the Type field.

func (*SecurityMonitoringSignal) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignal) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalArchiveReason ¶ added in v1.16.0

type SecurityMonitoringSignalArchiveReason string

SecurityMonitoringSignalArchiveReason Reason a signal is archived.

const (
	SECURITYMONITORINGSIGNALARCHIVEREASON_NONE                   SecurityMonitoringSignalArchiveReason = "none"
	SECURITYMONITORINGSIGNALARCHIVEREASON_FALSE_POSITIVE         SecurityMonitoringSignalArchiveReason = "false_positive"
	SECURITYMONITORINGSIGNALARCHIVEREASON_TESTING_OR_MAINTENANCE SecurityMonitoringSignalArchiveReason = "testing_or_maintenance"
	SECURITYMONITORINGSIGNALARCHIVEREASON_OTHER                  SecurityMonitoringSignalArchiveReason = "other"
)

List of SecurityMonitoringSignalArchiveReason.

func NewSecurityMonitoringSignalArchiveReasonFromValue ¶ added in v1.16.0

func NewSecurityMonitoringSignalArchiveReasonFromValue(v string) (*SecurityMonitoringSignalArchiveReason, error)

NewSecurityMonitoringSignalArchiveReasonFromValue returns a pointer to a valid SecurityMonitoringSignalArchiveReason for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringSignalArchiveReason) GetAllowedValues ¶ added in v1.16.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringSignalArchiveReason) IsValid ¶ added in v1.16.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringSignalArchiveReason) Ptr ¶ added in v1.16.0

Ptr returns reference to SecurityMonitoringSignalArchiveReason value.

func (*SecurityMonitoringSignalArchiveReason) UnmarshalJSON ¶ added in v1.16.0

func (v *SecurityMonitoringSignalArchiveReason) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalAssigneeUpdateAttributes ¶ added in v1.16.0

type SecurityMonitoringSignalAssigneeUpdateAttributes struct {
	// Object representing a given user entity.
	Assignee SecurityMonitoringTriageUser `json:"assignee"`
	// Version of the updated signal. If server side version is higher, update will be rejected.
	Version *int64 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalAssigneeUpdateAttributes Attributes describing the new assignee of a security signal.

func NewSecurityMonitoringSignalAssigneeUpdateAttributes ¶ added in v1.16.0

func NewSecurityMonitoringSignalAssigneeUpdateAttributes(assignee SecurityMonitoringTriageUser) *SecurityMonitoringSignalAssigneeUpdateAttributes

NewSecurityMonitoringSignalAssigneeUpdateAttributes instantiates a new SecurityMonitoringSignalAssigneeUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalAssigneeUpdateAttributesWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalAssigneeUpdateAttributesWithDefaults() *SecurityMonitoringSignalAssigneeUpdateAttributes

NewSecurityMonitoringSignalAssigneeUpdateAttributesWithDefaults instantiates a new SecurityMonitoringSignalAssigneeUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetAssignee ¶ added in v1.16.0

GetAssignee returns the Assignee field value.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetAssigneeOk ¶ added in v1.16.0

GetAssigneeOk returns a tuple with the Assignee field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetVersion ¶ added in v1.16.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetVersionOk ¶ added in v1.16.0

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) HasVersion ¶ added in v1.16.0

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringSignalAssigneeUpdateAttributes) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) SetAssignee ¶ added in v1.16.0

SetAssignee sets field value.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) SetVersion ¶ added in v1.16.0

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalAssigneeUpdateData ¶ added in v1.16.0

type SecurityMonitoringSignalAssigneeUpdateData struct {
	// Attributes describing the new assignee of a security signal.
	Attributes SecurityMonitoringSignalAssigneeUpdateAttributes `json:"attributes"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalAssigneeUpdateData Data containing the patch for changing the assignee of a signal.

func NewSecurityMonitoringSignalAssigneeUpdateData ¶ added in v1.16.0

func NewSecurityMonitoringSignalAssigneeUpdateData(attributes SecurityMonitoringSignalAssigneeUpdateAttributes) *SecurityMonitoringSignalAssigneeUpdateData

NewSecurityMonitoringSignalAssigneeUpdateData instantiates a new SecurityMonitoringSignalAssigneeUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalAssigneeUpdateDataWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalAssigneeUpdateDataWithDefaults() *SecurityMonitoringSignalAssigneeUpdateData

NewSecurityMonitoringSignalAssigneeUpdateDataWithDefaults instantiates a new SecurityMonitoringSignalAssigneeUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalAssigneeUpdateData) GetAttributes ¶ added in v1.16.0

GetAttributes returns the Attributes field value.

func (*SecurityMonitoringSignalAssigneeUpdateData) GetAttributesOk ¶ added in v1.16.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalAssigneeUpdateData) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalAssigneeUpdateData) SetAttributes ¶ added in v1.16.0

SetAttributes sets field value.

func (*SecurityMonitoringSignalAssigneeUpdateData) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalAssigneeUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalAssigneeUpdateRequest ¶ added in v1.16.0

type SecurityMonitoringSignalAssigneeUpdateRequest struct {
	// Data containing the patch for changing the assignee of a signal.
	Data SecurityMonitoringSignalAssigneeUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalAssigneeUpdateRequest Request body for changing the assignee of a given security monitoring signal.

func NewSecurityMonitoringSignalAssigneeUpdateRequest ¶ added in v1.16.0

func NewSecurityMonitoringSignalAssigneeUpdateRequest(data SecurityMonitoringSignalAssigneeUpdateData) *SecurityMonitoringSignalAssigneeUpdateRequest

NewSecurityMonitoringSignalAssigneeUpdateRequest instantiates a new SecurityMonitoringSignalAssigneeUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalAssigneeUpdateRequestWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalAssigneeUpdateRequestWithDefaults() *SecurityMonitoringSignalAssigneeUpdateRequest

NewSecurityMonitoringSignalAssigneeUpdateRequestWithDefaults instantiates a new SecurityMonitoringSignalAssigneeUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalAssigneeUpdateRequest) GetData ¶ added in v1.16.0

GetData returns the Data field value.

func (*SecurityMonitoringSignalAssigneeUpdateRequest) GetDataOk ¶ added in v1.16.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalAssigneeUpdateRequest) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalAssigneeUpdateRequest) SetData ¶ added in v1.16.0

SetData sets field value.

func (*SecurityMonitoringSignalAssigneeUpdateRequest) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalAssigneeUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalAttributes ¶

type SecurityMonitoringSignalAttributes struct {
	// A JSON object of attributes in the security signal.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
	// The message in the security signal defined by the rule that generated the signal.
	Message *string `json:"message,omitempty"`
	// An array of tags associated with the security signal.
	Tags []string `json:"tags,omitempty"`
	// The timestamp of the security signal.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalAttributes The object containing all signal attributes and their associated values.

func NewSecurityMonitoringSignalAttributes ¶

func NewSecurityMonitoringSignalAttributes() *SecurityMonitoringSignalAttributes

NewSecurityMonitoringSignalAttributes instantiates a new SecurityMonitoringSignalAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalAttributesWithDefaults ¶

func NewSecurityMonitoringSignalAttributesWithDefaults() *SecurityMonitoringSignalAttributes

NewSecurityMonitoringSignalAttributesWithDefaults instantiates a new SecurityMonitoringSignalAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalAttributes) GetAttributes ¶

func (o *SecurityMonitoringSignalAttributes) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SecurityMonitoringSignalAttributes) GetAttributesOk ¶

func (o *SecurityMonitoringSignalAttributes) GetAttributesOk() (*map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalAttributes) GetMessage ¶

GetMessage returns the Message field value if set, zero value otherwise.

func (*SecurityMonitoringSignalAttributes) GetMessageOk ¶

func (o *SecurityMonitoringSignalAttributes) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalAttributes) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringSignalAttributes) GetTagsOk ¶

func (o *SecurityMonitoringSignalAttributes) 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 (*SecurityMonitoringSignalAttributes) GetTimestamp ¶

func (o *SecurityMonitoringSignalAttributes) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*SecurityMonitoringSignalAttributes) GetTimestampOk ¶

func (o *SecurityMonitoringSignalAttributes) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalAttributes) HasAttributes ¶

func (o *SecurityMonitoringSignalAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SecurityMonitoringSignalAttributes) HasMessage ¶

func (o *SecurityMonitoringSignalAttributes) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SecurityMonitoringSignalAttributes) HasTags ¶

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringSignalAttributes) HasTimestamp ¶

func (o *SecurityMonitoringSignalAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (SecurityMonitoringSignalAttributes) MarshalJSON ¶

func (o SecurityMonitoringSignalAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalAttributes) SetAttributes ¶

func (o *SecurityMonitoringSignalAttributes) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*SecurityMonitoringSignalAttributes) SetMessage ¶

func (o *SecurityMonitoringSignalAttributes) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SecurityMonitoringSignalAttributes) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringSignalAttributes) SetTimestamp ¶

func (o *SecurityMonitoringSignalAttributes) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*SecurityMonitoringSignalAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalIncidentsUpdateAttributes ¶ added in v1.16.0

type SecurityMonitoringSignalIncidentsUpdateAttributes struct {
	// Array of incidents that are associated with this signal.
	IncidentIds []int64 `json:"incident_ids"`
	// Version of the updated signal. If server side version is higher, update will be rejected.
	Version *int64 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalIncidentsUpdateAttributes Attributes describing the new list of related signals for a security signal.

func NewSecurityMonitoringSignalIncidentsUpdateAttributes ¶ added in v1.16.0

func NewSecurityMonitoringSignalIncidentsUpdateAttributes(incidentIds []int64) *SecurityMonitoringSignalIncidentsUpdateAttributes

NewSecurityMonitoringSignalIncidentsUpdateAttributes instantiates a new SecurityMonitoringSignalIncidentsUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalIncidentsUpdateAttributesWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalIncidentsUpdateAttributesWithDefaults() *SecurityMonitoringSignalIncidentsUpdateAttributes

NewSecurityMonitoringSignalIncidentsUpdateAttributesWithDefaults instantiates a new SecurityMonitoringSignalIncidentsUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) GetIncidentIds ¶ added in v1.16.0

GetIncidentIds returns the IncidentIds field value.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) GetIncidentIdsOk ¶ added in v1.16.0

func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) GetIncidentIdsOk() (*[]int64, bool)

GetIncidentIdsOk returns a tuple with the IncidentIds field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) GetVersion ¶ added in v1.16.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) GetVersionOk ¶ added in v1.16.0

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) HasVersion ¶ added in v1.16.0

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringSignalIncidentsUpdateAttributes) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) SetIncidentIds ¶ added in v1.16.0

SetIncidentIds sets field value.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) SetVersion ¶ added in v1.16.0

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalIncidentsUpdateData ¶ added in v1.16.0

type SecurityMonitoringSignalIncidentsUpdateData struct {
	// Attributes describing the new list of related signals for a security signal.
	Attributes SecurityMonitoringSignalIncidentsUpdateAttributes `json:"attributes"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalIncidentsUpdateData Data containing the patch for changing the related incidents of a signal.

func NewSecurityMonitoringSignalIncidentsUpdateData ¶ added in v1.16.0

func NewSecurityMonitoringSignalIncidentsUpdateData(attributes SecurityMonitoringSignalIncidentsUpdateAttributes) *SecurityMonitoringSignalIncidentsUpdateData

NewSecurityMonitoringSignalIncidentsUpdateData instantiates a new SecurityMonitoringSignalIncidentsUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalIncidentsUpdateDataWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalIncidentsUpdateDataWithDefaults() *SecurityMonitoringSignalIncidentsUpdateData

NewSecurityMonitoringSignalIncidentsUpdateDataWithDefaults instantiates a new SecurityMonitoringSignalIncidentsUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalIncidentsUpdateData) GetAttributes ¶ added in v1.16.0

GetAttributes returns the Attributes field value.

func (*SecurityMonitoringSignalIncidentsUpdateData) GetAttributesOk ¶ added in v1.16.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalIncidentsUpdateData) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalIncidentsUpdateData) SetAttributes ¶ added in v1.16.0

SetAttributes sets field value.

func (*SecurityMonitoringSignalIncidentsUpdateData) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalIncidentsUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalIncidentsUpdateRequest ¶ added in v1.16.0

type SecurityMonitoringSignalIncidentsUpdateRequest struct {
	// Data containing the patch for changing the related incidents of a signal.
	Data SecurityMonitoringSignalIncidentsUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalIncidentsUpdateRequest Request body for changing the related incidents of a given security monitoring signal.

func NewSecurityMonitoringSignalIncidentsUpdateRequest ¶ added in v1.16.0

func NewSecurityMonitoringSignalIncidentsUpdateRequest(data SecurityMonitoringSignalIncidentsUpdateData) *SecurityMonitoringSignalIncidentsUpdateRequest

NewSecurityMonitoringSignalIncidentsUpdateRequest instantiates a new SecurityMonitoringSignalIncidentsUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalIncidentsUpdateRequestWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalIncidentsUpdateRequestWithDefaults() *SecurityMonitoringSignalIncidentsUpdateRequest

NewSecurityMonitoringSignalIncidentsUpdateRequestWithDefaults instantiates a new SecurityMonitoringSignalIncidentsUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalIncidentsUpdateRequest) GetData ¶ added in v1.16.0

GetData returns the Data field value.

func (*SecurityMonitoringSignalIncidentsUpdateRequest) GetDataOk ¶ added in v1.16.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalIncidentsUpdateRequest) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalIncidentsUpdateRequest) SetData ¶ added in v1.16.0

SetData sets field value.

func (*SecurityMonitoringSignalIncidentsUpdateRequest) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalIncidentsUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalListRequest ¶

type SecurityMonitoringSignalListRequest struct {
	// Search filters for listing security signals.
	Filter *SecurityMonitoringSignalListRequestFilter `json:"filter,omitempty"`
	// The paging attributes for listing security signals.
	Page *SecurityMonitoringSignalListRequestPage `json:"page,omitempty"`
	// The sort parameters used for querying security signals.
	Sort *SecurityMonitoringSignalsSort `json:"sort,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalListRequest The request for a security signal list.

func NewSecurityMonitoringSignalListRequest ¶

func NewSecurityMonitoringSignalListRequest() *SecurityMonitoringSignalListRequest

NewSecurityMonitoringSignalListRequest instantiates a new SecurityMonitoringSignalListRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalListRequestWithDefaults ¶

func NewSecurityMonitoringSignalListRequestWithDefaults() *SecurityMonitoringSignalListRequest

NewSecurityMonitoringSignalListRequestWithDefaults instantiates a new SecurityMonitoringSignalListRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalListRequest) GetFilter ¶

GetFilter returns the Filter field value if set, zero value otherwise.

func (*SecurityMonitoringSignalListRequest) GetFilterOk ¶

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalListRequest) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*SecurityMonitoringSignalListRequest) GetPageOk ¶

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalListRequest) GetSort ¶

GetSort returns the Sort field value if set, zero value otherwise.

func (*SecurityMonitoringSignalListRequest) GetSortOk ¶

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalListRequest) HasFilter ¶

HasFilter returns a boolean if a field has been set.

func (*SecurityMonitoringSignalListRequest) HasPage ¶

HasPage returns a boolean if a field has been set.

func (*SecurityMonitoringSignalListRequest) HasSort ¶

HasSort returns a boolean if a field has been set.

func (SecurityMonitoringSignalListRequest) MarshalJSON ¶

func (o SecurityMonitoringSignalListRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalListRequest) SetFilter ¶

SetFilter gets a reference to the given SecurityMonitoringSignalListRequestFilter and assigns it to the Filter field.

func (*SecurityMonitoringSignalListRequest) SetPage ¶

SetPage gets a reference to the given SecurityMonitoringSignalListRequestPage and assigns it to the Page field.

func (*SecurityMonitoringSignalListRequest) SetSort ¶

SetSort gets a reference to the given SecurityMonitoringSignalsSort and assigns it to the Sort field.

func (*SecurityMonitoringSignalListRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalListRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalListRequestFilter ¶

type SecurityMonitoringSignalListRequestFilter struct {
	// The minimum timestamp for requested security signals.
	From *time.Time `json:"from,omitempty"`
	// Search query for listing security signals.
	Query *string `json:"query,omitempty"`
	// The maximum timestamp for requested security signals.
	To *time.Time `json:"to,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalListRequestFilter Search filters for listing security signals.

func NewSecurityMonitoringSignalListRequestFilter ¶

func NewSecurityMonitoringSignalListRequestFilter() *SecurityMonitoringSignalListRequestFilter

NewSecurityMonitoringSignalListRequestFilter instantiates a new SecurityMonitoringSignalListRequestFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalListRequestFilterWithDefaults ¶

func NewSecurityMonitoringSignalListRequestFilterWithDefaults() *SecurityMonitoringSignalListRequestFilter

NewSecurityMonitoringSignalListRequestFilterWithDefaults instantiates a new SecurityMonitoringSignalListRequestFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalListRequestFilter) GetFrom ¶

GetFrom returns the From field value if set, zero value otherwise.

func (*SecurityMonitoringSignalListRequestFilter) GetFromOk ¶

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalListRequestFilter) GetQuery ¶

GetQuery returns the Query field value if set, zero value otherwise.

func (*SecurityMonitoringSignalListRequestFilter) GetQueryOk ¶

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalListRequestFilter) GetTo ¶

GetTo returns the To field value if set, zero value otherwise.

func (*SecurityMonitoringSignalListRequestFilter) GetToOk ¶

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalListRequestFilter) HasFrom ¶

HasFrom returns a boolean if a field has been set.

func (*SecurityMonitoringSignalListRequestFilter) HasQuery ¶

HasQuery returns a boolean if a field has been set.

func (*SecurityMonitoringSignalListRequestFilter) HasTo ¶

HasTo returns a boolean if a field has been set.

func (SecurityMonitoringSignalListRequestFilter) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalListRequestFilter) SetFrom ¶

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*SecurityMonitoringSignalListRequestFilter) SetQuery ¶

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityMonitoringSignalListRequestFilter) SetTo ¶

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (*SecurityMonitoringSignalListRequestFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalListRequestFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalListRequestPage ¶

type SecurityMonitoringSignalListRequestPage struct {
	// A list of results using the cursor provided in the previous query.
	Cursor *string `json:"cursor,omitempty"`
	// The maximum number of security signals in the response.
	Limit *int32 `json:"limit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalListRequestPage The paging attributes for listing security signals.

func NewSecurityMonitoringSignalListRequestPage ¶

func NewSecurityMonitoringSignalListRequestPage() *SecurityMonitoringSignalListRequestPage

NewSecurityMonitoringSignalListRequestPage instantiates a new SecurityMonitoringSignalListRequestPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalListRequestPageWithDefaults ¶

func NewSecurityMonitoringSignalListRequestPageWithDefaults() *SecurityMonitoringSignalListRequestPage

NewSecurityMonitoringSignalListRequestPageWithDefaults instantiates a new SecurityMonitoringSignalListRequestPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalListRequestPage) GetCursor ¶

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*SecurityMonitoringSignalListRequestPage) GetCursorOk ¶

GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalListRequestPage) GetLimit ¶

GetLimit returns the Limit field value if set, zero value otherwise.

func (*SecurityMonitoringSignalListRequestPage) GetLimitOk ¶

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalListRequestPage) HasCursor ¶

HasCursor returns a boolean if a field has been set.

func (*SecurityMonitoringSignalListRequestPage) HasLimit ¶

HasLimit returns a boolean if a field has been set.

func (SecurityMonitoringSignalListRequestPage) MarshalJSON ¶

func (o SecurityMonitoringSignalListRequestPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalListRequestPage) SetCursor ¶

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*SecurityMonitoringSignalListRequestPage) SetLimit ¶

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*SecurityMonitoringSignalListRequestPage) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalListRequestPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalState ¶ added in v1.16.0

type SecurityMonitoringSignalState string

SecurityMonitoringSignalState The new triage state of the signal.

const (
	SECURITYMONITORINGSIGNALSTATE_OPEN         SecurityMonitoringSignalState = "open"
	SECURITYMONITORINGSIGNALSTATE_ARCHIVED     SecurityMonitoringSignalState = "archived"
	SECURITYMONITORINGSIGNALSTATE_UNDER_REVIEW SecurityMonitoringSignalState = "under_review"
)

List of SecurityMonitoringSignalState.

func NewSecurityMonitoringSignalStateFromValue ¶ added in v1.16.0

func NewSecurityMonitoringSignalStateFromValue(v string) (*SecurityMonitoringSignalState, error)

NewSecurityMonitoringSignalStateFromValue returns a pointer to a valid SecurityMonitoringSignalState for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringSignalState) GetAllowedValues ¶ added in v1.16.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringSignalState) IsValid ¶ added in v1.16.0

func (v SecurityMonitoringSignalState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringSignalState) Ptr ¶ added in v1.16.0

Ptr returns reference to SecurityMonitoringSignalState value.

func (*SecurityMonitoringSignalState) UnmarshalJSON ¶ added in v1.16.0

func (v *SecurityMonitoringSignalState) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalStateUpdateAttributes ¶ added in v1.16.0

type SecurityMonitoringSignalStateUpdateAttributes struct {
	// Optional comment to display on archived signals.
	ArchiveComment *string `json:"archive_comment,omitempty"`
	// Reason a signal is archived.
	ArchiveReason *SecurityMonitoringSignalArchiveReason `json:"archive_reason,omitempty"`
	// The new triage state of the signal.
	State SecurityMonitoringSignalState `json:"state"`
	// Version of the updated signal. If server side version is higher, update will be rejected.
	Version *int64 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalStateUpdateAttributes Attributes describing the change of state of a security signal.

func NewSecurityMonitoringSignalStateUpdateAttributes ¶ added in v1.16.0

func NewSecurityMonitoringSignalStateUpdateAttributes(state SecurityMonitoringSignalState) *SecurityMonitoringSignalStateUpdateAttributes

NewSecurityMonitoringSignalStateUpdateAttributes instantiates a new SecurityMonitoringSignalStateUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalStateUpdateAttributesWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalStateUpdateAttributesWithDefaults() *SecurityMonitoringSignalStateUpdateAttributes

NewSecurityMonitoringSignalStateUpdateAttributesWithDefaults instantiates a new SecurityMonitoringSignalStateUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetArchiveComment ¶ added in v1.16.0

GetArchiveComment returns the ArchiveComment field value if set, zero value otherwise.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetArchiveCommentOk ¶ added in v1.16.0

func (o *SecurityMonitoringSignalStateUpdateAttributes) GetArchiveCommentOk() (*string, bool)

GetArchiveCommentOk returns a tuple with the ArchiveComment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetArchiveReason ¶ added in v1.16.0

GetArchiveReason returns the ArchiveReason field value if set, zero value otherwise.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetArchiveReasonOk ¶ added in v1.16.0

GetArchiveReasonOk returns a tuple with the ArchiveReason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetState ¶ added in v1.16.0

GetState returns the State field value.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetStateOk ¶ added in v1.16.0

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetVersion ¶ added in v1.16.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetVersionOk ¶ added in v1.16.0

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalStateUpdateAttributes) HasArchiveComment ¶ added in v1.16.0

func (o *SecurityMonitoringSignalStateUpdateAttributes) HasArchiveComment() bool

HasArchiveComment returns a boolean if a field has been set.

func (*SecurityMonitoringSignalStateUpdateAttributes) HasArchiveReason ¶ added in v1.16.0

HasArchiveReason returns a boolean if a field has been set.

func (*SecurityMonitoringSignalStateUpdateAttributes) HasVersion ¶ added in v1.16.0

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringSignalStateUpdateAttributes) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalStateUpdateAttributes) SetArchiveComment ¶ added in v1.16.0

func (o *SecurityMonitoringSignalStateUpdateAttributes) SetArchiveComment(v string)

SetArchiveComment gets a reference to the given string and assigns it to the ArchiveComment field.

func (*SecurityMonitoringSignalStateUpdateAttributes) SetArchiveReason ¶ added in v1.16.0

SetArchiveReason gets a reference to the given SecurityMonitoringSignalArchiveReason and assigns it to the ArchiveReason field.

func (*SecurityMonitoringSignalStateUpdateAttributes) SetState ¶ added in v1.16.0

SetState sets field value.

func (*SecurityMonitoringSignalStateUpdateAttributes) SetVersion ¶ added in v1.16.0

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SecurityMonitoringSignalStateUpdateAttributes) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalStateUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalStateUpdateData ¶ added in v1.16.0

type SecurityMonitoringSignalStateUpdateData struct {
	// Attributes describing the change of state of a security signal.
	Attributes SecurityMonitoringSignalStateUpdateAttributes `json:"attributes"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalStateUpdateData Data containing the patch for changing the state of a signal.

func NewSecurityMonitoringSignalStateUpdateData ¶ added in v1.16.0

func NewSecurityMonitoringSignalStateUpdateData(attributes SecurityMonitoringSignalStateUpdateAttributes) *SecurityMonitoringSignalStateUpdateData

NewSecurityMonitoringSignalStateUpdateData instantiates a new SecurityMonitoringSignalStateUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalStateUpdateDataWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalStateUpdateDataWithDefaults() *SecurityMonitoringSignalStateUpdateData

NewSecurityMonitoringSignalStateUpdateDataWithDefaults instantiates a new SecurityMonitoringSignalStateUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalStateUpdateData) GetAttributes ¶ added in v1.16.0

GetAttributes returns the Attributes field value.

func (*SecurityMonitoringSignalStateUpdateData) GetAttributesOk ¶ added in v1.16.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalStateUpdateData) MarshalJSON ¶ added in v1.16.0

func (o SecurityMonitoringSignalStateUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalStateUpdateData) SetAttributes ¶ added in v1.16.0

SetAttributes sets field value.

func (*SecurityMonitoringSignalStateUpdateData) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalStateUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalStateUpdateRequest ¶ added in v1.16.0

type SecurityMonitoringSignalStateUpdateRequest struct {
	// Data containing the patch for changing the state of a signal.
	Data SecurityMonitoringSignalStateUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalStateUpdateRequest Request body for changing the state of a given security monitoring signal.

func NewSecurityMonitoringSignalStateUpdateRequest ¶ added in v1.16.0

func NewSecurityMonitoringSignalStateUpdateRequest(data SecurityMonitoringSignalStateUpdateData) *SecurityMonitoringSignalStateUpdateRequest

NewSecurityMonitoringSignalStateUpdateRequest instantiates a new SecurityMonitoringSignalStateUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalStateUpdateRequestWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalStateUpdateRequestWithDefaults() *SecurityMonitoringSignalStateUpdateRequest

NewSecurityMonitoringSignalStateUpdateRequestWithDefaults instantiates a new SecurityMonitoringSignalStateUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalStateUpdateRequest) GetData ¶ added in v1.16.0

GetData returns the Data field value.

func (*SecurityMonitoringSignalStateUpdateRequest) GetDataOk ¶ added in v1.16.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalStateUpdateRequest) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalStateUpdateRequest) SetData ¶ added in v1.16.0

SetData sets field value.

func (*SecurityMonitoringSignalStateUpdateRequest) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalStateUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalTriageAttributes ¶ added in v1.16.0

type SecurityMonitoringSignalTriageAttributes struct {
	// Optional comment to display on archived signals.
	ArchiveComment *string `json:"archive_comment,omitempty"`
	// Timestamp of the last edit to the comment.
	ArchiveCommentTimestamp *int64 `json:"archive_comment_timestamp,omitempty"`
	// Object representing a given user entity.
	ArchiveCommentUser *SecurityMonitoringTriageUser `json:"archive_comment_user,omitempty"`
	// Reason a signal is archived.
	ArchiveReason *SecurityMonitoringSignalArchiveReason `json:"archive_reason,omitempty"`
	// Object representing a given user entity.
	Assignee SecurityMonitoringTriageUser `json:"assignee"`
	// Array of incidents that are associated with this signal.
	IncidentIds []int64 `json:"incident_ids"`
	// The new triage state of the signal.
	State SecurityMonitoringSignalState `json:"state"`
	// Timestamp of the last update to the signal state.
	StateUpdateTimestamp *int64 `json:"state_update_timestamp,omitempty"`
	// Object representing a given user entity.
	StateUpdateUser *SecurityMonitoringTriageUser `json:"state_update_user,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalTriageAttributes Attributes describing a triage state update operation over a security signal.

func NewSecurityMonitoringSignalTriageAttributes ¶ added in v1.16.0

func NewSecurityMonitoringSignalTriageAttributes(assignee SecurityMonitoringTriageUser, incidentIds []int64, state SecurityMonitoringSignalState) *SecurityMonitoringSignalTriageAttributes

NewSecurityMonitoringSignalTriageAttributes instantiates a new SecurityMonitoringSignalTriageAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalTriageAttributesWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalTriageAttributesWithDefaults() *SecurityMonitoringSignalTriageAttributes

NewSecurityMonitoringSignalTriageAttributesWithDefaults instantiates a new SecurityMonitoringSignalTriageAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveComment ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveComment() string

GetArchiveComment returns the ArchiveComment field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentOk ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentOk() (*string, bool)

GetArchiveCommentOk returns a tuple with the ArchiveComment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestamp ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestamp() int64

GetArchiveCommentTimestamp returns the ArchiveCommentTimestamp field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestampOk ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestampOk() (*int64, bool)

GetArchiveCommentTimestampOk returns a tuple with the ArchiveCommentTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentUser ¶ added in v1.16.0

GetArchiveCommentUser returns the ArchiveCommentUser field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentUserOk ¶ added in v1.16.0

GetArchiveCommentUserOk returns a tuple with the ArchiveCommentUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveReason ¶ added in v1.16.0

GetArchiveReason returns the ArchiveReason field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveReasonOk ¶ added in v1.16.0

GetArchiveReasonOk returns a tuple with the ArchiveReason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) GetAssignee ¶ added in v1.16.0

GetAssignee returns the Assignee field value.

func (*SecurityMonitoringSignalTriageAttributes) GetAssigneeOk ¶ added in v1.16.0

GetAssigneeOk returns a tuple with the Assignee field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) GetIncidentIds ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) GetIncidentIds() []int64

GetIncidentIds returns the IncidentIds field value.

func (*SecurityMonitoringSignalTriageAttributes) GetIncidentIdsOk ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) GetIncidentIdsOk() (*[]int64, bool)

GetIncidentIdsOk returns a tuple with the IncidentIds field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) GetState ¶ added in v1.16.0

GetState returns the State field value.

func (*SecurityMonitoringSignalTriageAttributes) GetStateOk ¶ added in v1.16.0

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestamp ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestamp() int64

GetStateUpdateTimestamp returns the StateUpdateTimestamp field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestampOk ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestampOk() (*int64, bool)

GetStateUpdateTimestampOk returns a tuple with the StateUpdateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateUser ¶ added in v1.16.0

GetStateUpdateUser returns the StateUpdateUser field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateUserOk ¶ added in v1.16.0

GetStateUpdateUserOk returns a tuple with the StateUpdateUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasArchiveComment ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveComment() bool

HasArchiveComment returns a boolean if a field has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasArchiveCommentTimestamp ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveCommentTimestamp() bool

HasArchiveCommentTimestamp returns a boolean if a field has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasArchiveCommentUser ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveCommentUser() bool

HasArchiveCommentUser returns a boolean if a field has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasArchiveReason ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveReason() bool

HasArchiveReason returns a boolean if a field has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasStateUpdateTimestamp ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) HasStateUpdateTimestamp() bool

HasStateUpdateTimestamp returns a boolean if a field has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasStateUpdateUser ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) HasStateUpdateUser() bool

HasStateUpdateUser returns a boolean if a field has been set.

func (SecurityMonitoringSignalTriageAttributes) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalTriageAttributes) SetArchiveComment ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveComment(v string)

SetArchiveComment gets a reference to the given string and assigns it to the ArchiveComment field.

func (*SecurityMonitoringSignalTriageAttributes) SetArchiveCommentTimestamp ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveCommentTimestamp(v int64)

SetArchiveCommentTimestamp gets a reference to the given int64 and assigns it to the ArchiveCommentTimestamp field.

func (*SecurityMonitoringSignalTriageAttributes) SetArchiveCommentUser ¶ added in v1.16.0

SetArchiveCommentUser gets a reference to the given SecurityMonitoringTriageUser and assigns it to the ArchiveCommentUser field.

func (*SecurityMonitoringSignalTriageAttributes) SetArchiveReason ¶ added in v1.16.0

SetArchiveReason gets a reference to the given SecurityMonitoringSignalArchiveReason and assigns it to the ArchiveReason field.

func (*SecurityMonitoringSignalTriageAttributes) SetAssignee ¶ added in v1.16.0

SetAssignee sets field value.

func (*SecurityMonitoringSignalTriageAttributes) SetIncidentIds ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) SetIncidentIds(v []int64)

SetIncidentIds sets field value.

func (*SecurityMonitoringSignalTriageAttributes) SetState ¶ added in v1.16.0

SetState sets field value.

func (*SecurityMonitoringSignalTriageAttributes) SetStateUpdateTimestamp ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) SetStateUpdateTimestamp(v int64)

SetStateUpdateTimestamp gets a reference to the given int64 and assigns it to the StateUpdateTimestamp field.

func (*SecurityMonitoringSignalTriageAttributes) SetStateUpdateUser ¶ added in v1.16.0

SetStateUpdateUser gets a reference to the given SecurityMonitoringTriageUser and assigns it to the StateUpdateUser field.

func (*SecurityMonitoringSignalTriageAttributes) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalTriageUpdateData ¶ added in v1.16.0

type SecurityMonitoringSignalTriageUpdateData struct {
	// Attributes describing a triage state update operation over a security signal.
	Attributes *SecurityMonitoringSignalTriageAttributes `json:"attributes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalTriageUpdateData Data containing the updated triage attributes of the signal.

func NewSecurityMonitoringSignalTriageUpdateData ¶ added in v1.16.0

func NewSecurityMonitoringSignalTriageUpdateData() *SecurityMonitoringSignalTriageUpdateData

NewSecurityMonitoringSignalTriageUpdateData instantiates a new SecurityMonitoringSignalTriageUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalTriageUpdateDataWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalTriageUpdateDataWithDefaults() *SecurityMonitoringSignalTriageUpdateData

NewSecurityMonitoringSignalTriageUpdateDataWithDefaults instantiates a new SecurityMonitoringSignalTriageUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalTriageUpdateData) GetAttributes ¶ added in v1.16.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageUpdateData) GetAttributesOk ¶ added in v1.16.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageUpdateData) HasAttributes ¶ added in v1.16.0

HasAttributes returns a boolean if a field has been set.

func (SecurityMonitoringSignalTriageUpdateData) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalTriageUpdateData) SetAttributes ¶ added in v1.16.0

SetAttributes gets a reference to the given SecurityMonitoringSignalTriageAttributes and assigns it to the Attributes field.

func (*SecurityMonitoringSignalTriageUpdateData) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalTriageUpdateResponse ¶ added in v1.16.0

type SecurityMonitoringSignalTriageUpdateResponse struct {
	// Data containing the updated triage attributes of the signal.
	Data SecurityMonitoringSignalTriageUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalTriageUpdateResponse The response returned after all triage operations, containing the updated signal triage data.

func NewSecurityMonitoringSignalTriageUpdateResponse ¶ added in v1.16.0

func NewSecurityMonitoringSignalTriageUpdateResponse(data SecurityMonitoringSignalTriageUpdateData) *SecurityMonitoringSignalTriageUpdateResponse

NewSecurityMonitoringSignalTriageUpdateResponse instantiates a new SecurityMonitoringSignalTriageUpdateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalTriageUpdateResponseWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringSignalTriageUpdateResponseWithDefaults() *SecurityMonitoringSignalTriageUpdateResponse

NewSecurityMonitoringSignalTriageUpdateResponseWithDefaults instantiates a new SecurityMonitoringSignalTriageUpdateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalTriageUpdateResponse) GetData ¶ added in v1.16.0

GetData returns the Data field value.

func (*SecurityMonitoringSignalTriageUpdateResponse) GetDataOk ¶ added in v1.16.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalTriageUpdateResponse) MarshalJSON ¶ added in v1.16.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalTriageUpdateResponse) SetData ¶ added in v1.16.0

SetData sets field value.

func (*SecurityMonitoringSignalTriageUpdateResponse) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringSignalTriageUpdateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalType ¶

type SecurityMonitoringSignalType string

SecurityMonitoringSignalType The type of event.

const (
	SECURITYMONITORINGSIGNALTYPE_SIGNAL SecurityMonitoringSignalType = "signal"
)

List of SecurityMonitoringSignalType.

func NewSecurityMonitoringSignalTypeFromValue ¶

func NewSecurityMonitoringSignalTypeFromValue(v string) (*SecurityMonitoringSignalType, error)

NewSecurityMonitoringSignalTypeFromValue returns a pointer to a valid SecurityMonitoringSignalType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringSignalType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringSignalType) IsValid ¶

func (v SecurityMonitoringSignalType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringSignalType) Ptr ¶

Ptr returns reference to SecurityMonitoringSignalType value.

func (*SecurityMonitoringSignalType) UnmarshalJSON ¶

func (v *SecurityMonitoringSignalType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalsListResponse ¶

type SecurityMonitoringSignalsListResponse struct {
	// An array of security signals matching the request.
	Data []SecurityMonitoringSignal `json:"data,omitempty"`
	// Links attributes.
	Links *SecurityMonitoringSignalsListResponseLinks `json:"links,omitempty"`
	// Meta attributes.
	Meta *SecurityMonitoringSignalsListResponseMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalsListResponse The response object with all security signals matching the request and pagination information.

func NewSecurityMonitoringSignalsListResponse ¶

func NewSecurityMonitoringSignalsListResponse() *SecurityMonitoringSignalsListResponse

NewSecurityMonitoringSignalsListResponse instantiates a new SecurityMonitoringSignalsListResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalsListResponseWithDefaults ¶

func NewSecurityMonitoringSignalsListResponseWithDefaults() *SecurityMonitoringSignalsListResponse

NewSecurityMonitoringSignalsListResponseWithDefaults instantiates a new SecurityMonitoringSignalsListResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalsListResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*SecurityMonitoringSignalsListResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*SecurityMonitoringSignalsListResponse) GetLinksOk ¶

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalsListResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SecurityMonitoringSignalsListResponse) GetMetaOk ¶

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalsListResponse) HasData ¶

HasData returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (*SecurityMonitoringSignalsListResponse) HasMeta ¶

HasMeta returns a boolean if a field has been set.

func (SecurityMonitoringSignalsListResponse) MarshalJSON ¶

func (o SecurityMonitoringSignalsListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalsListResponse) SetData ¶

SetData gets a reference to the given []SecurityMonitoringSignal and assigns it to the Data field.

SetLinks gets a reference to the given SecurityMonitoringSignalsListResponseLinks and assigns it to the Links field.

func (*SecurityMonitoringSignalsListResponse) SetMeta ¶

SetMeta gets a reference to the given SecurityMonitoringSignalsListResponseMeta and assigns it to the Meta field.

func (*SecurityMonitoringSignalsListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalsListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalsListResponseLinks struct {
	// The link for the next set of results. **Note**: The request can also be made using the
	// POST endpoint.
	Next *string `json:"next,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalsListResponseLinks Links attributes.

func NewSecurityMonitoringSignalsListResponseLinks() *SecurityMonitoringSignalsListResponseLinks

NewSecurityMonitoringSignalsListResponseLinks instantiates a new SecurityMonitoringSignalsListResponseLinks object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalsListResponseLinksWithDefaults ¶

func NewSecurityMonitoringSignalsListResponseLinksWithDefaults() *SecurityMonitoringSignalsListResponseLinks

NewSecurityMonitoringSignalsListResponseLinksWithDefaults instantiates a new SecurityMonitoringSignalsListResponseLinks object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalsListResponseLinks) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*SecurityMonitoringSignalsListResponseLinks) GetNextOk ¶

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalsListResponseLinks) HasNext ¶

HasNext returns a boolean if a field has been set.

func (SecurityMonitoringSignalsListResponseLinks) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalsListResponseLinks) SetNext ¶

SetNext gets a reference to the given string and assigns it to the Next field.

func (*SecurityMonitoringSignalsListResponseLinks) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalsListResponseLinks) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalsListResponseMeta ¶

type SecurityMonitoringSignalsListResponseMeta struct {
	// Paging attributes.
	Page *SecurityMonitoringSignalsListResponseMetaPage `json:"page,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalsListResponseMeta Meta attributes.

func NewSecurityMonitoringSignalsListResponseMeta ¶

func NewSecurityMonitoringSignalsListResponseMeta() *SecurityMonitoringSignalsListResponseMeta

NewSecurityMonitoringSignalsListResponseMeta instantiates a new SecurityMonitoringSignalsListResponseMeta object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalsListResponseMetaWithDefaults ¶

func NewSecurityMonitoringSignalsListResponseMetaWithDefaults() *SecurityMonitoringSignalsListResponseMeta

NewSecurityMonitoringSignalsListResponseMetaWithDefaults instantiates a new SecurityMonitoringSignalsListResponseMeta object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalsListResponseMeta) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*SecurityMonitoringSignalsListResponseMeta) GetPageOk ¶

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalsListResponseMeta) HasPage ¶

HasPage returns a boolean if a field has been set.

func (SecurityMonitoringSignalsListResponseMeta) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalsListResponseMeta) SetPage ¶

SetPage gets a reference to the given SecurityMonitoringSignalsListResponseMetaPage and assigns it to the Page field.

func (*SecurityMonitoringSignalsListResponseMeta) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalsListResponseMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalsListResponseMetaPage ¶

type SecurityMonitoringSignalsListResponseMetaPage struct {
	// The cursor used to get the next results, if any. To make the next request, use the same
	// parameters with the addition of the `page[cursor]`.
	After *string `json:"after,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalsListResponseMetaPage Paging attributes.

func NewSecurityMonitoringSignalsListResponseMetaPage ¶

func NewSecurityMonitoringSignalsListResponseMetaPage() *SecurityMonitoringSignalsListResponseMetaPage

NewSecurityMonitoringSignalsListResponseMetaPage instantiates a new SecurityMonitoringSignalsListResponseMetaPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalsListResponseMetaPageWithDefaults ¶

func NewSecurityMonitoringSignalsListResponseMetaPageWithDefaults() *SecurityMonitoringSignalsListResponseMetaPage

NewSecurityMonitoringSignalsListResponseMetaPageWithDefaults instantiates a new SecurityMonitoringSignalsListResponseMetaPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalsListResponseMetaPage) GetAfter ¶

GetAfter returns the After field value if set, zero value otherwise.

func (*SecurityMonitoringSignalsListResponseMetaPage) GetAfterOk ¶

GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalsListResponseMetaPage) HasAfter ¶

HasAfter returns a boolean if a field has been set.

func (SecurityMonitoringSignalsListResponseMetaPage) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalsListResponseMetaPage) SetAfter ¶

SetAfter gets a reference to the given string and assigns it to the After field.

func (*SecurityMonitoringSignalsListResponseMetaPage) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalsListResponseMetaPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalsSort ¶

type SecurityMonitoringSignalsSort string

SecurityMonitoringSignalsSort The sort parameters used for querying security signals.

const (
	SECURITYMONITORINGSIGNALSSORT_TIMESTAMP_ASCENDING  SecurityMonitoringSignalsSort = "timestamp"
	SECURITYMONITORINGSIGNALSSORT_TIMESTAMP_DESCENDING SecurityMonitoringSignalsSort = "-timestamp"
)

List of SecurityMonitoringSignalsSort.

func NewSecurityMonitoringSignalsSortFromValue ¶

func NewSecurityMonitoringSignalsSortFromValue(v string) (*SecurityMonitoringSignalsSort, error)

NewSecurityMonitoringSignalsSortFromValue returns a pointer to a valid SecurityMonitoringSignalsSort for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringSignalsSort) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringSignalsSort) IsValid ¶

func (v SecurityMonitoringSignalsSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringSignalsSort) Ptr ¶

Ptr returns reference to SecurityMonitoringSignalsSort value.

func (*SecurityMonitoringSignalsSort) UnmarshalJSON ¶

func (v *SecurityMonitoringSignalsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringTriageUser ¶ added in v1.16.0

type SecurityMonitoringTriageUser struct {
	// The handle for this user account.
	Handle *string `json:"handle,omitempty"`
	// Numerical ID assigned by Datadog to this user account.
	Id *int64 `json:"id,omitempty"`
	// The name for this user account.
	Name *string `json:"name,omitempty"`
	// UUID assigned by Datadog to this user account.
	Uuid string `json:"uuid"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringTriageUser Object representing a given user entity.

func NewSecurityMonitoringTriageUser ¶ added in v1.16.0

func NewSecurityMonitoringTriageUser(uuid string) *SecurityMonitoringTriageUser

NewSecurityMonitoringTriageUser instantiates a new SecurityMonitoringTriageUser object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringTriageUserWithDefaults ¶ added in v1.16.0

func NewSecurityMonitoringTriageUserWithDefaults() *SecurityMonitoringTriageUser

NewSecurityMonitoringTriageUserWithDefaults instantiates a new SecurityMonitoringTriageUser object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringTriageUser) GetHandle ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*SecurityMonitoringTriageUser) GetHandleOk ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringTriageUser) GetId ¶ added in v1.16.0

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityMonitoringTriageUser) GetIdOk ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringTriageUser) GetName ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringTriageUser) GetNameOk ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) 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 (*SecurityMonitoringTriageUser) GetUuid ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) GetUuid() string

GetUuid returns the Uuid field value.

func (*SecurityMonitoringTriageUser) GetUuidOk ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value and a boolean to check if the value has been set.

func (*SecurityMonitoringTriageUser) HasHandle ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*SecurityMonitoringTriageUser) HasId ¶ added in v1.16.0

HasId returns a boolean if a field has been set.

func (*SecurityMonitoringTriageUser) HasName ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) HasName() bool

HasName returns a boolean if a field has been set.

func (SecurityMonitoringTriageUser) MarshalJSON ¶ added in v1.16.0

func (o SecurityMonitoringTriageUser) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringTriageUser) SetHandle ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*SecurityMonitoringTriageUser) SetId ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*SecurityMonitoringTriageUser) SetName ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringTriageUser) SetUuid ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) SetUuid(v string)

SetUuid sets field value.

func (*SecurityMonitoringTriageUser) UnmarshalJSON ¶ added in v1.16.0

func (o *SecurityMonitoringTriageUser) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

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 ServiceAccountCreateAttributes ¶ added in v1.3.0

type ServiceAccountCreateAttributes struct {
	// The email of the user.
	Email string `json:"email"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// Whether the user is a service account. Must be true.
	ServiceAccount bool `json:"service_account"`
	// The title of the user.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceAccountCreateAttributes Attributes of the created user.

func NewServiceAccountCreateAttributes ¶ added in v1.3.0

func NewServiceAccountCreateAttributes(email string, serviceAccount bool) *ServiceAccountCreateAttributes

NewServiceAccountCreateAttributes instantiates a new ServiceAccountCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceAccountCreateAttributesWithDefaults ¶ added in v1.3.0

func NewServiceAccountCreateAttributesWithDefaults() *ServiceAccountCreateAttributes

NewServiceAccountCreateAttributesWithDefaults instantiates a new ServiceAccountCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceAccountCreateAttributes) GetEmail ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetEmail() string

GetEmail returns the Email field value.

func (*ServiceAccountCreateAttributes) GetEmailOk ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*ServiceAccountCreateAttributes) GetName ¶ added in v1.3.0

GetName returns the Name field value if set, zero value otherwise.

func (*ServiceAccountCreateAttributes) GetNameOk ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) 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 (*ServiceAccountCreateAttributes) GetServiceAccount ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetServiceAccount() bool

GetServiceAccount returns the ServiceAccount field value.

func (*ServiceAccountCreateAttributes) GetServiceAccountOk ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetServiceAccountOk() (*bool, bool)

GetServiceAccountOk returns a tuple with the ServiceAccount field value and a boolean to check if the value has been set.

func (*ServiceAccountCreateAttributes) GetTitle ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ServiceAccountCreateAttributes) GetTitleOk ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceAccountCreateAttributes) HasName ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServiceAccountCreateAttributes) HasTitle ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (ServiceAccountCreateAttributes) MarshalJSON ¶ added in v1.3.0

func (o ServiceAccountCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceAccountCreateAttributes) SetEmail ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) SetEmail(v string)

SetEmail sets field value.

func (*ServiceAccountCreateAttributes) SetName ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServiceAccountCreateAttributes) SetServiceAccount ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) SetServiceAccount(v bool)

SetServiceAccount sets field value.

func (*ServiceAccountCreateAttributes) SetTitle ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ServiceAccountCreateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceAccountCreateData ¶ added in v1.3.0

type ServiceAccountCreateData struct {
	// Attributes of the created user.
	Attributes ServiceAccountCreateAttributes `json:"attributes"`
	// Relationships of the user object.
	Relationships *UserRelationships `json:"relationships,omitempty"`
	// Users resource type.
	Type UsersType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceAccountCreateData Object to create a service account User.

func NewServiceAccountCreateData ¶ added in v1.3.0

func NewServiceAccountCreateData(attributes ServiceAccountCreateAttributes, typeVar UsersType) *ServiceAccountCreateData

NewServiceAccountCreateData instantiates a new ServiceAccountCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceAccountCreateDataWithDefaults ¶ added in v1.3.0

func NewServiceAccountCreateDataWithDefaults() *ServiceAccountCreateData

NewServiceAccountCreateDataWithDefaults instantiates a new ServiceAccountCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceAccountCreateData) GetAttributes ¶ added in v1.3.0

GetAttributes returns the Attributes field value.

func (*ServiceAccountCreateData) GetAttributesOk ¶ added in v1.3.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*ServiceAccountCreateData) GetRelationships ¶ added in v1.3.0

func (o *ServiceAccountCreateData) GetRelationships() UserRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*ServiceAccountCreateData) GetRelationshipsOk ¶ added in v1.3.0

func (o *ServiceAccountCreateData) GetRelationshipsOk() (*UserRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceAccountCreateData) GetType ¶ added in v1.3.0

func (o *ServiceAccountCreateData) GetType() UsersType

GetType returns the Type field value.

func (*ServiceAccountCreateData) GetTypeOk ¶ added in v1.3.0

func (o *ServiceAccountCreateData) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ServiceAccountCreateData) HasRelationships ¶ added in v1.3.0

func (o *ServiceAccountCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (ServiceAccountCreateData) MarshalJSON ¶ added in v1.3.0

func (o ServiceAccountCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceAccountCreateData) SetAttributes ¶ added in v1.3.0

SetAttributes sets field value.

func (*ServiceAccountCreateData) SetRelationships ¶ added in v1.3.0

func (o *ServiceAccountCreateData) SetRelationships(v UserRelationships)

SetRelationships gets a reference to the given UserRelationships and assigns it to the Relationships field.

func (*ServiceAccountCreateData) SetType ¶ added in v1.3.0

func (o *ServiceAccountCreateData) SetType(v UsersType)

SetType sets field value.

func (*ServiceAccountCreateData) UnmarshalJSON ¶ added in v1.3.0

func (o *ServiceAccountCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceAccountCreateRequest ¶ added in v1.3.0

type ServiceAccountCreateRequest struct {
	// Object to create a service account User.
	Data ServiceAccountCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceAccountCreateRequest Create a service account.

func NewServiceAccountCreateRequest ¶ added in v1.3.0

func NewServiceAccountCreateRequest(data ServiceAccountCreateData) *ServiceAccountCreateRequest

NewServiceAccountCreateRequest instantiates a new ServiceAccountCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceAccountCreateRequestWithDefaults ¶ added in v1.3.0

func NewServiceAccountCreateRequestWithDefaults() *ServiceAccountCreateRequest

NewServiceAccountCreateRequestWithDefaults instantiates a new ServiceAccountCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceAccountCreateRequest) GetData ¶ added in v1.3.0

GetData returns the Data field value.

func (*ServiceAccountCreateRequest) GetDataOk ¶ added in v1.3.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (ServiceAccountCreateRequest) MarshalJSON ¶ added in v1.3.0

func (o ServiceAccountCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceAccountCreateRequest) SetData ¶ added in v1.3.0

SetData sets field value.

func (*ServiceAccountCreateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *ServiceAccountCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceAccountsApiService ¶ added in v1.3.0

type ServiceAccountsApiService service

ServiceAccountsApiService ServiceAccountsApi service.

func (*ServiceAccountsApiService) CreateServiceAccountApplicationKey ¶ added in v1.3.0

func (a *ServiceAccountsApiService) CreateServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, body ApplicationKeyCreateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)

CreateServiceAccountApplicationKey Create an application key for this service account. Create an application key for this service account.

func (*ServiceAccountsApiService) DeleteServiceAccountApplicationKey ¶ added in v1.3.0

func (a *ServiceAccountsApiService) DeleteServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string) (*_nethttp.Response, error)

DeleteServiceAccountApplicationKey Delete an application key for this service account. Delete an application key owned by this service account.

func (*ServiceAccountsApiService) GetServiceAccountApplicationKey ¶ added in v1.3.0

func (a *ServiceAccountsApiService) GetServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string) (PartialApplicationKeyResponse, *_nethttp.Response, error)

GetServiceAccountApplicationKey Get one application key for this service account. Get an application key owned by this service account.

func (*ServiceAccountsApiService) ListServiceAccountApplicationKeys ¶ added in v1.3.0

ListServiceAccountApplicationKeys List application keys for this service account. List all application keys available for this service account.

func (*ServiceAccountsApiService) UpdateServiceAccountApplicationKey ¶ added in v1.3.0

func (a *ServiceAccountsApiService) UpdateServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string, body ApplicationKeyUpdateRequest) (PartialApplicationKeyResponse, *_nethttp.Response, error)

UpdateServiceAccountApplicationKey Edit an application key for this service account. Edit an application key owned by this service account.

type SubmitLogOptionalParameters ¶ added in v1.6.0

type SubmitLogOptionalParameters struct {
	ContentEncoding *ContentEncoding
	Ddtags          *string
}

SubmitLogOptionalParameters holds optional parameters for SubmitLog.

func NewSubmitLogOptionalParameters ¶ added in v1.6.0

func NewSubmitLogOptionalParameters() *SubmitLogOptionalParameters

NewSubmitLogOptionalParameters creates an empty struct for parameters.

func (*SubmitLogOptionalParameters) WithContentEncoding ¶ added in v1.6.0

func (r *SubmitLogOptionalParameters) WithContentEncoding(contentEncoding ContentEncoding) *SubmitLogOptionalParameters

WithContentEncoding sets the corresponding parameter name and returns the struct.

func (*SubmitLogOptionalParameters) WithDdtags ¶ added in v1.6.0

WithDdtags sets the corresponding parameter name and returns the struct.

type SubmitMetricsOptionalParameters ¶ added in v1.14.0

type SubmitMetricsOptionalParameters struct {
	ContentEncoding *MetricContentEncoding
}

SubmitMetricsOptionalParameters holds optional parameters for SubmitMetrics.

func NewSubmitMetricsOptionalParameters ¶ added in v1.14.0

func NewSubmitMetricsOptionalParameters() *SubmitMetricsOptionalParameters

NewSubmitMetricsOptionalParameters creates an empty struct for parameters.

func (*SubmitMetricsOptionalParameters) WithContentEncoding ¶ added in v1.14.0

WithContentEncoding sets the corresponding parameter name and returns the struct.

type UpdateIncidentOptionalParameters ¶ added in v1.9.0

type UpdateIncidentOptionalParameters struct {
	Include *[]IncidentRelatedObject
}

UpdateIncidentOptionalParameters holds optional parameters for UpdateIncident.

func NewUpdateIncidentOptionalParameters ¶ added in v1.9.0

func NewUpdateIncidentOptionalParameters() *UpdateIncidentOptionalParameters

NewUpdateIncidentOptionalParameters creates an empty struct for parameters.

func (*UpdateIncidentOptionalParameters) WithInclude ¶ added in v1.9.0

WithInclude sets the corresponding parameter name and returns the struct.

type UploadIdPMetadataOptionalParameters ¶ added in v1.13.0

type UploadIdPMetadataOptionalParameters struct {
	IdpFile **os.File
}

UploadIdPMetadataOptionalParameters holds optional parameters for UploadIdPMetadata.

func NewUploadIdPMetadataOptionalParameters ¶ added in v1.13.0

func NewUploadIdPMetadataOptionalParameters() *UploadIdPMetadataOptionalParameters

NewUploadIdPMetadataOptionalParameters creates an empty struct for parameters.

func (*UploadIdPMetadataOptionalParameters) WithIdpFile ¶ added in v1.13.0

WithIdpFile sets the corresponding parameter name and returns the struct.

type UsageApplicationSecurityMonitoringResponse ¶ added in v1.14.0

type UsageApplicationSecurityMonitoringResponse struct {
	// Response containing Application Security Monitoring usage.
	Data []UsageDataObject `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageApplicationSecurityMonitoringResponse Application Security Monitoring usage response.

func NewUsageApplicationSecurityMonitoringResponse ¶ added in v1.14.0

func NewUsageApplicationSecurityMonitoringResponse() *UsageApplicationSecurityMonitoringResponse

NewUsageApplicationSecurityMonitoringResponse instantiates a new UsageApplicationSecurityMonitoringResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUsageApplicationSecurityMonitoringResponseWithDefaults ¶ added in v1.14.0

func NewUsageApplicationSecurityMonitoringResponseWithDefaults() *UsageApplicationSecurityMonitoringResponse

NewUsageApplicationSecurityMonitoringResponseWithDefaults instantiates a new UsageApplicationSecurityMonitoringResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UsageApplicationSecurityMonitoringResponse) GetData ¶ added in v1.14.0

GetData returns the Data field value if set, zero value otherwise.

func (*UsageApplicationSecurityMonitoringResponse) GetDataOk ¶ added in v1.14.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageApplicationSecurityMonitoringResponse) HasData ¶ added in v1.14.0

HasData returns a boolean if a field has been set.

func (UsageApplicationSecurityMonitoringResponse) MarshalJSON ¶ added in v1.14.0

MarshalJSON serializes the struct using spec logic.

func (*UsageApplicationSecurityMonitoringResponse) SetData ¶ added in v1.14.0

SetData gets a reference to the given []UsageDataObject and assigns it to the Data field.

func (*UsageApplicationSecurityMonitoringResponse) UnmarshalJSON ¶ added in v1.14.0

func (o *UsageApplicationSecurityMonitoringResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAttributesObject ¶ added in v1.14.0

type UsageAttributesObject struct {
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The product for which usage is being reported.
	ProductFamily *string `json:"product_family,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// List of usage data reported for each requested hour.
	Timeseries []UsageTimeSeriesObject `json:"timeseries,omitempty"`
	// Usage type that is being measured.
	UsageType *HourlyUsageType `json:"usage_type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAttributesObject Usage attributes data.

func NewUsageAttributesObject ¶ added in v1.14.0

func NewUsageAttributesObject() *UsageAttributesObject

NewUsageAttributesObject instantiates a new UsageAttributesObject object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUsageAttributesObjectWithDefaults ¶ added in v1.14.0

func NewUsageAttributesObjectWithDefaults() *UsageAttributesObject

NewUsageAttributesObjectWithDefaults instantiates a new UsageAttributesObject object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UsageAttributesObject) GetOrgName ¶ added in v1.14.0

func (o *UsageAttributesObject) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageAttributesObject) GetOrgNameOk ¶ added in v1.14.0

func (o *UsageAttributesObject) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributesObject) GetProductFamily ¶ added in v1.14.0

func (o *UsageAttributesObject) GetProductFamily() string

GetProductFamily returns the ProductFamily field value if set, zero value otherwise.

func (*UsageAttributesObject) GetProductFamilyOk ¶ added in v1.14.0

func (o *UsageAttributesObject) GetProductFamilyOk() (*string, bool)

GetProductFamilyOk returns a tuple with the ProductFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributesObject) GetPublicId ¶ added in v1.14.0

func (o *UsageAttributesObject) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageAttributesObject) GetPublicIdOk ¶ added in v1.14.0

func (o *UsageAttributesObject) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributesObject) GetTimeseries ¶ added in v1.14.0

func (o *UsageAttributesObject) GetTimeseries() []UsageTimeSeriesObject

GetTimeseries returns the Timeseries field value if set, zero value otherwise.

func (*UsageAttributesObject) GetTimeseriesOk ¶ added in v1.14.0

func (o *UsageAttributesObject) GetTimeseriesOk() (*[]UsageTimeSeriesObject, bool)

GetTimeseriesOk returns a tuple with the Timeseries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributesObject) GetUsageType ¶ added in v1.14.0

func (o *UsageAttributesObject) GetUsageType() HourlyUsageType

GetUsageType returns the UsageType field value if set, zero value otherwise.

func (*UsageAttributesObject) GetUsageTypeOk ¶ added in v1.14.0

func (o *UsageAttributesObject) GetUsageTypeOk() (*HourlyUsageType, bool)

GetUsageTypeOk returns a tuple with the UsageType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributesObject) HasOrgName ¶ added in v1.14.0

func (o *UsageAttributesObject) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageAttributesObject) HasProductFamily ¶ added in v1.14.0

func (o *UsageAttributesObject) HasProductFamily() bool

HasProductFamily returns a boolean if a field has been set.

func (*UsageAttributesObject) HasPublicId ¶ added in v1.14.0

func (o *UsageAttributesObject) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageAttributesObject) HasTimeseries ¶ added in v1.14.0

func (o *UsageAttributesObject) HasTimeseries() bool

HasTimeseries returns a boolean if a field has been set.

func (*UsageAttributesObject) HasUsageType ¶ added in v1.14.0

func (o *UsageAttributesObject) HasUsageType() bool

HasUsageType returns a boolean if a field has been set.

func (UsageAttributesObject) MarshalJSON ¶ added in v1.14.0

func (o UsageAttributesObject) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAttributesObject) SetOrgName ¶ added in v1.14.0

func (o *UsageAttributesObject) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageAttributesObject) SetProductFamily ¶ added in v1.14.0

func (o *UsageAttributesObject) SetProductFamily(v string)

SetProductFamily gets a reference to the given string and assigns it to the ProductFamily field.

func (*UsageAttributesObject) SetPublicId ¶ added in v1.14.0

func (o *UsageAttributesObject) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageAttributesObject) SetTimeseries ¶ added in v1.14.0

func (o *UsageAttributesObject) SetTimeseries(v []UsageTimeSeriesObject)

SetTimeseries gets a reference to the given []UsageTimeSeriesObject and assigns it to the Timeseries field.

func (*UsageAttributesObject) SetUsageType ¶ added in v1.14.0

func (o *UsageAttributesObject) SetUsageType(v HourlyUsageType)

SetUsageType gets a reference to the given HourlyUsageType and assigns it to the UsageType field.

func (*UsageAttributesObject) UnmarshalJSON ¶ added in v1.14.0

func (o *UsageAttributesObject) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageDataObject ¶ added in v1.14.0

type UsageDataObject struct {
	// Usage attributes data.
	Attributes *UsageAttributesObject `json:"attributes,omitempty"`
	// Unique ID of the response.
	Id *string `json:"id,omitempty"`
	// Type of usage data.
	Type *UsageTimeSeriesType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageDataObject Usage data.

func NewUsageDataObject ¶ added in v1.14.0

func NewUsageDataObject() *UsageDataObject

NewUsageDataObject instantiates a new UsageDataObject object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUsageDataObjectWithDefaults ¶ added in v1.14.0

func NewUsageDataObjectWithDefaults() *UsageDataObject

NewUsageDataObjectWithDefaults instantiates a new UsageDataObject object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UsageDataObject) GetAttributes ¶ added in v1.14.0

func (o *UsageDataObject) GetAttributes() UsageAttributesObject

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UsageDataObject) GetAttributesOk ¶ added in v1.14.0

func (o *UsageDataObject) GetAttributesOk() (*UsageAttributesObject, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageDataObject) GetId ¶ added in v1.14.0

func (o *UsageDataObject) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UsageDataObject) GetIdOk ¶ added in v1.14.0

func (o *UsageDataObject) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageDataObject) GetType ¶ added in v1.14.0

func (o *UsageDataObject) GetType() UsageTimeSeriesType

GetType returns the Type field value if set, zero value otherwise.

func (*UsageDataObject) GetTypeOk ¶ added in v1.14.0

func (o *UsageDataObject) GetTypeOk() (*UsageTimeSeriesType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageDataObject) HasAttributes ¶ added in v1.14.0

func (o *UsageDataObject) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UsageDataObject) HasId ¶ added in v1.14.0

func (o *UsageDataObject) HasId() bool

HasId returns a boolean if a field has been set.

func (*UsageDataObject) HasType ¶ added in v1.14.0

func (o *UsageDataObject) HasType() bool

HasType returns a boolean if a field has been set.

func (UsageDataObject) MarshalJSON ¶ added in v1.14.0

func (o UsageDataObject) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageDataObject) SetAttributes ¶ added in v1.14.0

func (o *UsageDataObject) SetAttributes(v UsageAttributesObject)

SetAttributes gets a reference to the given UsageAttributesObject and assigns it to the Attributes field.

func (*UsageDataObject) SetId ¶ added in v1.14.0

func (o *UsageDataObject) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UsageDataObject) SetType ¶ added in v1.14.0

func (o *UsageDataObject) SetType(v UsageTimeSeriesType)

SetType gets a reference to the given UsageTimeSeriesType and assigns it to the Type field.

func (*UsageDataObject) UnmarshalJSON ¶ added in v1.14.0

func (o *UsageDataObject) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageLambdaTracedInvocationsResponse ¶ added in v1.14.0

type UsageLambdaTracedInvocationsResponse struct {
	// Response containing Lambda Traced Invocations usage.
	Data []UsageDataObject `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageLambdaTracedInvocationsResponse Lambda Traced Invocations usage response.

func NewUsageLambdaTracedInvocationsResponse ¶ added in v1.14.0

func NewUsageLambdaTracedInvocationsResponse() *UsageLambdaTracedInvocationsResponse

NewUsageLambdaTracedInvocationsResponse instantiates a new UsageLambdaTracedInvocationsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUsageLambdaTracedInvocationsResponseWithDefaults ¶ added in v1.14.0

func NewUsageLambdaTracedInvocationsResponseWithDefaults() *UsageLambdaTracedInvocationsResponse

NewUsageLambdaTracedInvocationsResponseWithDefaults instantiates a new UsageLambdaTracedInvocationsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UsageLambdaTracedInvocationsResponse) GetData ¶ added in v1.14.0

GetData returns the Data field value if set, zero value otherwise.

func (*UsageLambdaTracedInvocationsResponse) GetDataOk ¶ added in v1.14.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLambdaTracedInvocationsResponse) HasData ¶ added in v1.14.0

HasData returns a boolean if a field has been set.

func (UsageLambdaTracedInvocationsResponse) MarshalJSON ¶ added in v1.14.0

func (o UsageLambdaTracedInvocationsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageLambdaTracedInvocationsResponse) SetData ¶ added in v1.14.0

SetData gets a reference to the given []UsageDataObject and assigns it to the Data field.

func (*UsageLambdaTracedInvocationsResponse) UnmarshalJSON ¶ added in v1.14.0

func (o *UsageLambdaTracedInvocationsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageMeteringApiService ¶ added in v1.14.0

type UsageMeteringApiService service

UsageMeteringApiService UsageMeteringApi service.

func (*UsageMeteringApiService) GetCostByOrg ¶ added in v1.14.0

GetCostByOrg Get cost across multi-org account. Get cost across multi-org account. Cost by org data for a given month becomes available no later than the 16th of the following month.

func (*UsageMeteringApiService) GetEstimatedCostByOrg ¶ added in v1.15.0

GetEstimatedCostByOrg Get estimated cost across multi-org account. Get estimated cost across multi-org account.

func (*UsageMeteringApiService) GetHourlyUsage ¶ added in v1.16.0

func (a *UsageMeteringApiService) GetHourlyUsage(ctx _context.Context, filterTimestampStart time.Time, filterProductFamilies string, o ...GetHourlyUsageOptionalParameters) (HourlyUsageResponse, *_nethttp.Response, error)

GetHourlyUsage Get hourly usage by product family. Get hourly usage by product family

func (*UsageMeteringApiService) GetUsageApplicationSecurityMonitoring ¶ added in v1.14.0

GetUsageApplicationSecurityMonitoring Get hourly usage for Application Security. Get hourly usage for Application Security .

func (*UsageMeteringApiService) GetUsageLambdaTracedInvocations ¶ added in v1.14.0

GetUsageLambdaTracedInvocations Get hourly usage for Lambda Traced Invocations. Get hourly usage for Lambda Traced Invocations.

func (*UsageMeteringApiService) GetUsageObservabilityPipelines ¶ added in v1.14.0

GetUsageObservabilityPipelines Get hourly usage for Observability Pipelines. Get hourly usage for Observability Pipelines.

type UsageObservabilityPipelinesResponse ¶ added in v1.14.0

type UsageObservabilityPipelinesResponse struct {
	// Response containing Observability Pipelines usage.
	Data []UsageDataObject `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageObservabilityPipelinesResponse Observability Pipelines usage response.

func NewUsageObservabilityPipelinesResponse ¶ added in v1.14.0

func NewUsageObservabilityPipelinesResponse() *UsageObservabilityPipelinesResponse

NewUsageObservabilityPipelinesResponse instantiates a new UsageObservabilityPipelinesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUsageObservabilityPipelinesResponseWithDefaults ¶ added in v1.14.0

func NewUsageObservabilityPipelinesResponseWithDefaults() *UsageObservabilityPipelinesResponse

NewUsageObservabilityPipelinesResponseWithDefaults instantiates a new UsageObservabilityPipelinesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UsageObservabilityPipelinesResponse) GetData ¶ added in v1.14.0

GetData returns the Data field value if set, zero value otherwise.

func (*UsageObservabilityPipelinesResponse) GetDataOk ¶ added in v1.14.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageObservabilityPipelinesResponse) HasData ¶ added in v1.14.0

HasData returns a boolean if a field has been set.

func (UsageObservabilityPipelinesResponse) MarshalJSON ¶ added in v1.14.0

func (o UsageObservabilityPipelinesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageObservabilityPipelinesResponse) SetData ¶ added in v1.14.0

SetData gets a reference to the given []UsageDataObject and assigns it to the Data field.

func (*UsageObservabilityPipelinesResponse) UnmarshalJSON ¶ added in v1.14.0

func (o *UsageObservabilityPipelinesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageTimeSeriesObject ¶ added in v1.14.0

type UsageTimeSeriesObject struct {
	// Datetime in ISO-8601 format, UTC. The hour for the usage.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// Contains the number measured for the given usage_type during the hour.
	Value NullableInt64 `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageTimeSeriesObject Usage timeseries data.

func NewUsageTimeSeriesObject ¶ added in v1.14.0

func NewUsageTimeSeriesObject() *UsageTimeSeriesObject

NewUsageTimeSeriesObject instantiates a new UsageTimeSeriesObject object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUsageTimeSeriesObjectWithDefaults ¶ added in v1.14.0

func NewUsageTimeSeriesObjectWithDefaults() *UsageTimeSeriesObject

NewUsageTimeSeriesObjectWithDefaults instantiates a new UsageTimeSeriesObject object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UsageTimeSeriesObject) GetTimestamp ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*UsageTimeSeriesObject) GetTimestampOk ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTimeSeriesObject) GetValue ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) GetValue() int64

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageTimeSeriesObject) GetValueOk ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) GetValueOk() (*int64, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageTimeSeriesObject) HasTimestamp ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*UsageTimeSeriesObject) HasValue ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) HasValue() bool

HasValue returns a boolean if a field has been set.

func (UsageTimeSeriesObject) MarshalJSON ¶ added in v1.14.0

func (o UsageTimeSeriesObject) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageTimeSeriesObject) SetTimestamp ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*UsageTimeSeriesObject) SetValue ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) SetValue(v int64)

SetValue gets a reference to the given NullableInt64 and assigns it to the Value field.

func (*UsageTimeSeriesObject) SetValueNil ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil.

func (*UsageTimeSeriesObject) UnmarshalJSON ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*UsageTimeSeriesObject) UnsetValue ¶ added in v1.14.0

func (o *UsageTimeSeriesObject) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil.

type UsageTimeSeriesType ¶ added in v1.14.0

type UsageTimeSeriesType string

UsageTimeSeriesType Type of usage data.

const (
	USAGETIMESERIESTYPE_USAGE_TIMESERIES UsageTimeSeriesType = "usage_timeseries"
)

List of UsageTimeSeriesType.

func NewUsageTimeSeriesTypeFromValue ¶ added in v1.14.0

func NewUsageTimeSeriesTypeFromValue(v string) (*UsageTimeSeriesType, error)

NewUsageTimeSeriesTypeFromValue returns a pointer to a valid UsageTimeSeriesType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*UsageTimeSeriesType) GetAllowedValues ¶ added in v1.14.0

func (v *UsageTimeSeriesType) GetAllowedValues() []UsageTimeSeriesType

GetAllowedValues reeturns the list of possible values.

func (UsageTimeSeriesType) IsValid ¶ added in v1.14.0

func (v UsageTimeSeriesType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (UsageTimeSeriesType) Ptr ¶ added in v1.14.0

Ptr returns reference to UsageTimeSeriesType value.

func (*UsageTimeSeriesType) UnmarshalJSON ¶ added in v1.14.0

func (v *UsageTimeSeriesType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type User ¶

type User struct {
	// Attributes of user object returned by the API.
	Attributes *UserAttributes `json:"attributes,omitempty"`
	// ID of the user.
	Id *string `json:"id,omitempty"`
	// Relationships of the user object returned by the API.
	Relationships *UserResponseRelationships `json:"relationships,omitempty"`
	// Users resource type.
	Type *UsersType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

User User object returned by the API.

func NewUser ¶

func NewUser() *User

NewUser instantiates a new User object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserWithDefaults ¶

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*User) GetAttributes ¶

func (o *User) GetAttributes() UserAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*User) GetAttributesOk ¶

func (o *User) GetAttributesOk() (*UserAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetId ¶

func (o *User) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*User) GetIdOk ¶

func (o *User) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetRelationships ¶

func (o *User) GetRelationships() UserResponseRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*User) GetRelationshipsOk ¶

func (o *User) GetRelationshipsOk() (*UserResponseRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetType ¶

func (o *User) GetType() UsersType

GetType returns the Type field value if set, zero value otherwise.

func (*User) GetTypeOk ¶

func (o *User) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) HasAttributes ¶

func (o *User) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*User) HasId ¶

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

func (*User) HasRelationships ¶

func (o *User) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*User) HasType ¶

func (o *User) HasType() bool

HasType returns a boolean if a field has been set.

func (User) MarshalJSON ¶

func (o User) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*User) SetAttributes ¶

func (o *User) SetAttributes(v UserAttributes)

SetAttributes gets a reference to the given UserAttributes and assigns it to the Attributes field.

func (*User) SetId ¶

func (o *User) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*User) SetRelationships ¶

func (o *User) SetRelationships(v UserResponseRelationships)

SetRelationships gets a reference to the given UserResponseRelationships and assigns it to the Relationships field.

func (*User) SetType ¶

func (o *User) SetType(v UsersType)

SetType gets a reference to the given UsersType and assigns it to the Type field.

func (*User) UnmarshalJSON ¶ added in v1.3.0

func (o *User) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserAttributes ¶

type UserAttributes struct {
	// Creation time of the user.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Whether the user is disabled.
	Disabled *bool `json:"disabled,omitempty"`
	// Email of the user.
	Email *string `json:"email,omitempty"`
	// Handle of the user.
	Handle *string `json:"handle,omitempty"`
	// URL of the user's icon.
	Icon *string `json:"icon,omitempty"`
	// Time that the user was last modified.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// Name of the user.
	Name NullableString `json:"name,omitempty"`
	// Whether the user is a service account.
	ServiceAccount *bool `json:"service_account,omitempty"`
	// Status of the user.
	Status *string `json:"status,omitempty"`
	// Title of the user.
	Title NullableString `json:"title,omitempty"`
	// Whether the user is verified.
	Verified *bool `json:"verified,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserAttributes Attributes of user object returned by the API.

func NewUserAttributes ¶

func NewUserAttributes() *UserAttributes

NewUserAttributes instantiates a new UserAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserAttributesWithDefaults ¶

func NewUserAttributesWithDefaults() *UserAttributes

NewUserAttributesWithDefaults instantiates a new UserAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserAttributes) GetCreatedAt ¶

func (o *UserAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*UserAttributes) GetCreatedAtOk ¶

func (o *UserAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetDisabled ¶

func (o *UserAttributes) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*UserAttributes) GetDisabledOk ¶

func (o *UserAttributes) 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 (*UserAttributes) GetEmail ¶

func (o *UserAttributes) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserAttributes) GetEmailOk ¶

func (o *UserAttributes) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetHandle ¶

func (o *UserAttributes) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*UserAttributes) GetHandleOk ¶

func (o *UserAttributes) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetIcon ¶

func (o *UserAttributes) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*UserAttributes) GetIconOk ¶

func (o *UserAttributes) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetModifiedAt ¶

func (o *UserAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*UserAttributes) GetModifiedAtOk ¶

func (o *UserAttributes) GetModifiedAtOk() (*time.Time, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetName ¶

func (o *UserAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UserAttributes) GetNameOk ¶

func (o *UserAttributes) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UserAttributes) GetServiceAccount ¶ added in v1.3.0

func (o *UserAttributes) GetServiceAccount() bool

GetServiceAccount returns the ServiceAccount field value if set, zero value otherwise.

func (*UserAttributes) GetServiceAccountOk ¶ added in v1.3.0

func (o *UserAttributes) GetServiceAccountOk() (*bool, bool)

GetServiceAccountOk returns a tuple with the ServiceAccount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetStatus ¶

func (o *UserAttributes) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*UserAttributes) GetStatusOk ¶

func (o *UserAttributes) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetTitle ¶

func (o *UserAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UserAttributes) GetTitleOk ¶

func (o *UserAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UserAttributes) GetVerified ¶

func (o *UserAttributes) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*UserAttributes) GetVerifiedOk ¶

func (o *UserAttributes) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) HasCreatedAt ¶

func (o *UserAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*UserAttributes) HasDisabled ¶

func (o *UserAttributes) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*UserAttributes) HasEmail ¶

func (o *UserAttributes) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserAttributes) HasHandle ¶

func (o *UserAttributes) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*UserAttributes) HasIcon ¶

func (o *UserAttributes) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*UserAttributes) HasModifiedAt ¶

func (o *UserAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*UserAttributes) HasName ¶

func (o *UserAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserAttributes) HasServiceAccount ¶ added in v1.3.0

func (o *UserAttributes) HasServiceAccount() bool

HasServiceAccount returns a boolean if a field has been set.

func (*UserAttributes) HasStatus ¶

func (o *UserAttributes) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UserAttributes) HasTitle ¶

func (o *UserAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*UserAttributes) HasVerified ¶

func (o *UserAttributes) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (UserAttributes) MarshalJSON ¶

func (o UserAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserAttributes) SetCreatedAt ¶

func (o *UserAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*UserAttributes) SetDisabled ¶

func (o *UserAttributes) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*UserAttributes) SetEmail ¶

func (o *UserAttributes) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserAttributes) SetHandle ¶

func (o *UserAttributes) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*UserAttributes) SetIcon ¶

func (o *UserAttributes) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*UserAttributes) SetModifiedAt ¶

func (o *UserAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*UserAttributes) SetName ¶

func (o *UserAttributes) SetName(v string)

SetName gets a reference to the given NullableString and assigns it to the Name field.

func (*UserAttributes) SetNameNil ¶ added in v1.5.0

func (o *UserAttributes) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil.

func (*UserAttributes) SetServiceAccount ¶ added in v1.3.0

func (o *UserAttributes) SetServiceAccount(v bool)

SetServiceAccount gets a reference to the given bool and assigns it to the ServiceAccount field.

func (*UserAttributes) SetStatus ¶

func (o *UserAttributes) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*UserAttributes) SetTitle ¶

func (o *UserAttributes) SetTitle(v string)

SetTitle gets a reference to the given NullableString and assigns it to the Title field.

func (*UserAttributes) SetTitleNil ¶ added in v1.5.0

func (o *UserAttributes) SetTitleNil()

SetTitleNil sets the value for Title to be an explicit nil.

func (*UserAttributes) SetVerified ¶

func (o *UserAttributes) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

func (*UserAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *UserAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*UserAttributes) UnsetName ¶ added in v1.5.0

func (o *UserAttributes) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil.

func (*UserAttributes) UnsetTitle ¶ added in v1.5.0

func (o *UserAttributes) UnsetTitle()

UnsetTitle ensures that no value is present for Title, not even an explicit nil.

type UserCreateAttributes ¶

type UserCreateAttributes struct {
	// The email of the user.
	Email string `json:"email"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// The title of the user.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserCreateAttributes Attributes of the created user.

func NewUserCreateAttributes ¶

func NewUserCreateAttributes(email string) *UserCreateAttributes

NewUserCreateAttributes instantiates a new UserCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserCreateAttributesWithDefaults ¶

func NewUserCreateAttributesWithDefaults() *UserCreateAttributes

NewUserCreateAttributesWithDefaults instantiates a new UserCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserCreateAttributes) GetEmail ¶

func (o *UserCreateAttributes) GetEmail() string

GetEmail returns the Email field value.

func (*UserCreateAttributes) GetEmailOk ¶

func (o *UserCreateAttributes) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*UserCreateAttributes) GetName ¶

func (o *UserCreateAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserCreateAttributes) GetNameOk ¶

func (o *UserCreateAttributes) 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 (*UserCreateAttributes) GetTitle ¶

func (o *UserCreateAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*UserCreateAttributes) GetTitleOk ¶

func (o *UserCreateAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateAttributes) HasName ¶

func (o *UserCreateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserCreateAttributes) HasTitle ¶

func (o *UserCreateAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (UserCreateAttributes) MarshalJSON ¶

func (o UserCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserCreateAttributes) SetEmail ¶

func (o *UserCreateAttributes) SetEmail(v string)

SetEmail sets field value.

func (*UserCreateAttributes) SetName ¶

func (o *UserCreateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserCreateAttributes) SetTitle ¶

func (o *UserCreateAttributes) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*UserCreateAttributes) UnmarshalJSON ¶

func (o *UserCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserCreateData ¶

type UserCreateData struct {
	// Attributes of the created user.
	Attributes UserCreateAttributes `json:"attributes"`
	// Relationships of the user object.
	Relationships *UserRelationships `json:"relationships,omitempty"`
	// Users resource type.
	Type UsersType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserCreateData Object to create a user.

func NewUserCreateData ¶

func NewUserCreateData(attributes UserCreateAttributes, typeVar UsersType) *UserCreateData

NewUserCreateData instantiates a new UserCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserCreateDataWithDefaults ¶

func NewUserCreateDataWithDefaults() *UserCreateData

NewUserCreateDataWithDefaults instantiates a new UserCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserCreateData) GetAttributes ¶

func (o *UserCreateData) GetAttributes() UserCreateAttributes

GetAttributes returns the Attributes field value.

func (*UserCreateData) GetAttributesOk ¶

func (o *UserCreateData) GetAttributesOk() (*UserCreateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*UserCreateData) GetRelationships ¶

func (o *UserCreateData) GetRelationships() UserRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*UserCreateData) GetRelationshipsOk ¶

func (o *UserCreateData) GetRelationshipsOk() (*UserRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateData) GetType ¶

func (o *UserCreateData) GetType() UsersType

GetType returns the Type field value.

func (*UserCreateData) GetTypeOk ¶

func (o *UserCreateData) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*UserCreateData) HasRelationships ¶

func (o *UserCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (UserCreateData) MarshalJSON ¶

func (o UserCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserCreateData) SetAttributes ¶

func (o *UserCreateData) SetAttributes(v UserCreateAttributes)

SetAttributes sets field value.

func (*UserCreateData) SetRelationships ¶

func (o *UserCreateData) SetRelationships(v UserRelationships)

SetRelationships gets a reference to the given UserRelationships and assigns it to the Relationships field.

func (*UserCreateData) SetType ¶

func (o *UserCreateData) SetType(v UsersType)

SetType sets field value.

func (*UserCreateData) UnmarshalJSON ¶

func (o *UserCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserCreateRequest ¶

type UserCreateRequest struct {
	// Object to create a user.
	Data UserCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserCreateRequest Create a user.

func NewUserCreateRequest ¶

func NewUserCreateRequest(data UserCreateData) *UserCreateRequest

NewUserCreateRequest instantiates a new UserCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserCreateRequestWithDefaults ¶

func NewUserCreateRequestWithDefaults() *UserCreateRequest

NewUserCreateRequestWithDefaults instantiates a new UserCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserCreateRequest) GetData ¶

func (o *UserCreateRequest) GetData() UserCreateData

GetData returns the Data field value.

func (*UserCreateRequest) GetDataOk ¶

func (o *UserCreateRequest) GetDataOk() (*UserCreateData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (UserCreateRequest) MarshalJSON ¶

func (o UserCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserCreateRequest) SetData ¶

func (o *UserCreateRequest) SetData(v UserCreateData)

SetData sets field value.

func (*UserCreateRequest) UnmarshalJSON ¶

func (o *UserCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserInvitationData ¶

type UserInvitationData struct {
	// Relationships data for user invitation.
	Relationships UserInvitationRelationships `json:"relationships"`
	// User invitations type.
	Type UserInvitationsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserInvitationData Object to create a user invitation.

func NewUserInvitationData ¶

func NewUserInvitationData(relationships UserInvitationRelationships, typeVar UserInvitationsType) *UserInvitationData

NewUserInvitationData instantiates a new UserInvitationData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserInvitationDataWithDefaults ¶

func NewUserInvitationDataWithDefaults() *UserInvitationData

NewUserInvitationDataWithDefaults instantiates a new UserInvitationData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserInvitationData) GetRelationships ¶

func (o *UserInvitationData) GetRelationships() UserInvitationRelationships

GetRelationships returns the Relationships field value.

func (*UserInvitationData) GetRelationshipsOk ¶

func (o *UserInvitationData) GetRelationshipsOk() (*UserInvitationRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*UserInvitationData) GetType ¶

GetType returns the Type field value.

func (*UserInvitationData) GetTypeOk ¶

func (o *UserInvitationData) GetTypeOk() (*UserInvitationsType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (UserInvitationData) MarshalJSON ¶

func (o UserInvitationData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserInvitationData) SetRelationships ¶

func (o *UserInvitationData) SetRelationships(v UserInvitationRelationships)

SetRelationships sets field value.

func (*UserInvitationData) SetType ¶

SetType sets field value.

func (*UserInvitationData) UnmarshalJSON ¶

func (o *UserInvitationData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserInvitationDataAttributes ¶

type UserInvitationDataAttributes struct {
	// Creation time of the user invitation.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Time of invitation expiration.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// Type of invitation.
	InviteType *string `json:"invite_type,omitempty"`
	// UUID of the user invitation.
	Uuid *string `json:"uuid,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserInvitationDataAttributes Attributes of a user invitation.

func NewUserInvitationDataAttributes ¶

func NewUserInvitationDataAttributes() *UserInvitationDataAttributes

NewUserInvitationDataAttributes instantiates a new UserInvitationDataAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserInvitationDataAttributesWithDefaults ¶

func NewUserInvitationDataAttributesWithDefaults() *UserInvitationDataAttributes

NewUserInvitationDataAttributesWithDefaults instantiates a new UserInvitationDataAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserInvitationDataAttributes) GetCreatedAt ¶

func (o *UserInvitationDataAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*UserInvitationDataAttributes) GetCreatedAtOk ¶

func (o *UserInvitationDataAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationDataAttributes) GetExpiresAt ¶

func (o *UserInvitationDataAttributes) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*UserInvitationDataAttributes) GetExpiresAtOk ¶

func (o *UserInvitationDataAttributes) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationDataAttributes) GetInviteType ¶

func (o *UserInvitationDataAttributes) GetInviteType() string

GetInviteType returns the InviteType field value if set, zero value otherwise.

func (*UserInvitationDataAttributes) GetInviteTypeOk ¶

func (o *UserInvitationDataAttributes) GetInviteTypeOk() (*string, bool)

GetInviteTypeOk returns a tuple with the InviteType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationDataAttributes) GetUuid ¶

func (o *UserInvitationDataAttributes) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*UserInvitationDataAttributes) GetUuidOk ¶

func (o *UserInvitationDataAttributes) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationDataAttributes) HasCreatedAt ¶

func (o *UserInvitationDataAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*UserInvitationDataAttributes) HasExpiresAt ¶

func (o *UserInvitationDataAttributes) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*UserInvitationDataAttributes) HasInviteType ¶

func (o *UserInvitationDataAttributes) HasInviteType() bool

HasInviteType returns a boolean if a field has been set.

func (*UserInvitationDataAttributes) HasUuid ¶

func (o *UserInvitationDataAttributes) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (UserInvitationDataAttributes) MarshalJSON ¶

func (o UserInvitationDataAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserInvitationDataAttributes) SetCreatedAt ¶

func (o *UserInvitationDataAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*UserInvitationDataAttributes) SetExpiresAt ¶

func (o *UserInvitationDataAttributes) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*UserInvitationDataAttributes) SetInviteType ¶

func (o *UserInvitationDataAttributes) SetInviteType(v string)

SetInviteType gets a reference to the given string and assigns it to the InviteType field.

func (*UserInvitationDataAttributes) SetUuid ¶

func (o *UserInvitationDataAttributes) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*UserInvitationDataAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *UserInvitationDataAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserInvitationRelationships ¶

type UserInvitationRelationships struct {
	// Relationship to user.
	User RelationshipToUser `json:"user"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserInvitationRelationships Relationships data for user invitation.

func NewUserInvitationRelationships ¶

func NewUserInvitationRelationships(user RelationshipToUser) *UserInvitationRelationships

NewUserInvitationRelationships instantiates a new UserInvitationRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserInvitationRelationshipsWithDefaults ¶

func NewUserInvitationRelationshipsWithDefaults() *UserInvitationRelationships

NewUserInvitationRelationshipsWithDefaults instantiates a new UserInvitationRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserInvitationRelationships) GetUser ¶

GetUser returns the User field value.

func (*UserInvitationRelationships) GetUserOk ¶

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (UserInvitationRelationships) MarshalJSON ¶

func (o UserInvitationRelationships) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserInvitationRelationships) SetUser ¶

SetUser sets field value.

func (*UserInvitationRelationships) UnmarshalJSON ¶

func (o *UserInvitationRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserInvitationResponse ¶

type UserInvitationResponse struct {
	// Object of a user invitation returned by the API.
	Data *UserInvitationResponseData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserInvitationResponse User invitation as returned by the API.

func NewUserInvitationResponse ¶

func NewUserInvitationResponse() *UserInvitationResponse

NewUserInvitationResponse instantiates a new UserInvitationResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserInvitationResponseWithDefaults ¶

func NewUserInvitationResponseWithDefaults() *UserInvitationResponse

NewUserInvitationResponseWithDefaults instantiates a new UserInvitationResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserInvitationResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*UserInvitationResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationResponse) HasData ¶

func (o *UserInvitationResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (UserInvitationResponse) MarshalJSON ¶

func (o UserInvitationResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserInvitationResponse) SetData ¶

SetData gets a reference to the given UserInvitationResponseData and assigns it to the Data field.

func (*UserInvitationResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UserInvitationResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserInvitationResponseData ¶

type UserInvitationResponseData struct {
	// Attributes of a user invitation.
	Attributes *UserInvitationDataAttributes `json:"attributes,omitempty"`
	// ID of the user invitation.
	Id *string `json:"id,omitempty"`
	// User invitations type.
	Type *UserInvitationsType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserInvitationResponseData Object of a user invitation returned by the API.

func NewUserInvitationResponseData ¶

func NewUserInvitationResponseData() *UserInvitationResponseData

NewUserInvitationResponseData instantiates a new UserInvitationResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserInvitationResponseDataWithDefaults ¶

func NewUserInvitationResponseDataWithDefaults() *UserInvitationResponseData

NewUserInvitationResponseDataWithDefaults instantiates a new UserInvitationResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserInvitationResponseData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UserInvitationResponseData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationResponseData) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*UserInvitationResponseData) GetIdOk ¶

func (o *UserInvitationResponseData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationResponseData) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*UserInvitationResponseData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationResponseData) HasAttributes ¶

func (o *UserInvitationResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UserInvitationResponseData) HasId ¶

func (o *UserInvitationResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*UserInvitationResponseData) HasType ¶

func (o *UserInvitationResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (UserInvitationResponseData) MarshalJSON ¶

func (o UserInvitationResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserInvitationResponseData) SetAttributes ¶

SetAttributes gets a reference to the given UserInvitationDataAttributes and assigns it to the Attributes field.

func (*UserInvitationResponseData) SetId ¶

func (o *UserInvitationResponseData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UserInvitationResponseData) SetType ¶

SetType gets a reference to the given UserInvitationsType and assigns it to the Type field.

func (*UserInvitationResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *UserInvitationResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserInvitationsRequest ¶

type UserInvitationsRequest struct {
	// List of user invitations.
	Data []UserInvitationData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserInvitationsRequest Object to invite users to join the organization.

func NewUserInvitationsRequest ¶

func NewUserInvitationsRequest(data []UserInvitationData) *UserInvitationsRequest

NewUserInvitationsRequest instantiates a new UserInvitationsRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserInvitationsRequestWithDefaults ¶

func NewUserInvitationsRequestWithDefaults() *UserInvitationsRequest

NewUserInvitationsRequestWithDefaults instantiates a new UserInvitationsRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserInvitationsRequest) GetData ¶

GetData returns the Data field value.

func (*UserInvitationsRequest) GetDataOk ¶

func (o *UserInvitationsRequest) GetDataOk() (*[]UserInvitationData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (UserInvitationsRequest) MarshalJSON ¶

func (o UserInvitationsRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserInvitationsRequest) SetData ¶

SetData sets field value.

func (*UserInvitationsRequest) UnmarshalJSON ¶

func (o *UserInvitationsRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserInvitationsResponse ¶

type UserInvitationsResponse struct {
	// Array of user invitations.
	Data []UserInvitationResponseData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserInvitationsResponse User invitations as returned by the API.

func NewUserInvitationsResponse ¶

func NewUserInvitationsResponse() *UserInvitationsResponse

NewUserInvitationsResponse instantiates a new UserInvitationsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserInvitationsResponseWithDefaults ¶

func NewUserInvitationsResponseWithDefaults() *UserInvitationsResponse

NewUserInvitationsResponseWithDefaults instantiates a new UserInvitationsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserInvitationsResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*UserInvitationsResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationsResponse) HasData ¶

func (o *UserInvitationsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (UserInvitationsResponse) MarshalJSON ¶

func (o UserInvitationsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserInvitationsResponse) SetData ¶

SetData gets a reference to the given []UserInvitationResponseData and assigns it to the Data field.

func (*UserInvitationsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UserInvitationsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserInvitationsType ¶

type UserInvitationsType string

UserInvitationsType User invitations type.

const (
	USERINVITATIONSTYPE_USER_INVITATIONS UserInvitationsType = "user_invitations"
)

List of UserInvitationsType.

func NewUserInvitationsTypeFromValue ¶

func NewUserInvitationsTypeFromValue(v string) (*UserInvitationsType, error)

NewUserInvitationsTypeFromValue returns a pointer to a valid UserInvitationsType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*UserInvitationsType) GetAllowedValues ¶ added in v1.1.0

func (v *UserInvitationsType) GetAllowedValues() []UserInvitationsType

GetAllowedValues reeturns the list of possible values.

func (UserInvitationsType) IsValid ¶

func (v UserInvitationsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (UserInvitationsType) Ptr ¶

Ptr returns reference to UserInvitationsType value.

func (*UserInvitationsType) UnmarshalJSON ¶

func (v *UserInvitationsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type UserRelationships ¶

type UserRelationships struct {
	// Relationship to roles.
	Roles *RelationshipToRoles `json:"roles,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserRelationships Relationships of the user object.

func NewUserRelationships ¶

func NewUserRelationships() *UserRelationships

NewUserRelationships instantiates a new UserRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserRelationshipsWithDefaults ¶

func NewUserRelationshipsWithDefaults() *UserRelationships

NewUserRelationshipsWithDefaults instantiates a new UserRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserRelationships) GetRoles ¶

func (o *UserRelationships) GetRoles() RelationshipToRoles

GetRoles returns the Roles field value if set, zero value otherwise.

func (*UserRelationships) GetRolesOk ¶

func (o *UserRelationships) GetRolesOk() (*RelationshipToRoles, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRelationships) HasRoles ¶

func (o *UserRelationships) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (UserRelationships) MarshalJSON ¶

func (o UserRelationships) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserRelationships) SetRoles ¶

func (o *UserRelationships) SetRoles(v RelationshipToRoles)

SetRoles gets a reference to the given RelationshipToRoles and assigns it to the Roles field.

func (*UserRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *UserRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserResponse ¶

type UserResponse struct {
	// User object returned by the API.
	Data *User `json:"data,omitempty"`
	// Array of objects related to the user.
	Included []UserResponseIncludedItem `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserResponse Response containing information about a single user.

func NewUserResponse ¶

func NewUserResponse() *UserResponse

NewUserResponse instantiates a new UserResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserResponseWithDefaults ¶

func NewUserResponseWithDefaults() *UserResponse

NewUserResponseWithDefaults instantiates a new UserResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserResponse) GetData ¶

func (o *UserResponse) GetData() User

GetData returns the Data field value if set, zero value otherwise.

func (*UserResponse) GetDataOk ¶

func (o *UserResponse) GetDataOk() (*User, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponse) GetIncluded ¶

func (o *UserResponse) GetIncluded() []UserResponseIncludedItem

GetIncluded returns the Included field value if set, zero value otherwise.

func (*UserResponse) GetIncludedOk ¶

func (o *UserResponse) GetIncludedOk() (*[]UserResponseIncludedItem, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponse) HasData ¶

func (o *UserResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*UserResponse) HasIncluded ¶

func (o *UserResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (UserResponse) MarshalJSON ¶

func (o UserResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserResponse) SetData ¶

func (o *UserResponse) SetData(v User)

SetData gets a reference to the given User and assigns it to the Data field.

func (*UserResponse) SetIncluded ¶

func (o *UserResponse) SetIncluded(v []UserResponseIncludedItem)

SetIncluded gets a reference to the given []UserResponseIncludedItem and assigns it to the Included field.

func (*UserResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UserResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserResponseIncludedItem ¶

type UserResponseIncludedItem struct {
	Organization *Organization
	Permission   *Permission
	Role         *Role

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

UserResponseIncludedItem - An object related to a user.

func OrganizationAsUserResponseIncludedItem ¶

func OrganizationAsUserResponseIncludedItem(v *Organization) UserResponseIncludedItem

OrganizationAsUserResponseIncludedItem is a convenience function that returns Organization wrapped in UserResponseIncludedItem.

func PermissionAsUserResponseIncludedItem ¶

func PermissionAsUserResponseIncludedItem(v *Permission) UserResponseIncludedItem

PermissionAsUserResponseIncludedItem is a convenience function that returns Permission wrapped in UserResponseIncludedItem.

func RoleAsUserResponseIncludedItem ¶

func RoleAsUserResponseIncludedItem(v *Role) UserResponseIncludedItem

RoleAsUserResponseIncludedItem is a convenience function that returns Role wrapped in UserResponseIncludedItem.

func (*UserResponseIncludedItem) GetActualInstance ¶

func (obj *UserResponseIncludedItem) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (UserResponseIncludedItem) MarshalJSON ¶

func (obj UserResponseIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*UserResponseIncludedItem) UnmarshalJSON ¶

func (obj *UserResponseIncludedItem) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type UserResponseRelationships ¶

type UserResponseRelationships struct {
	// Relationship to an organization.
	Org *RelationshipToOrganization `json:"org,omitempty"`
	// Relationship to organizations.
	OtherOrgs *RelationshipToOrganizations `json:"other_orgs,omitempty"`
	// Relationship to users.
	OtherUsers *RelationshipToUsers `json:"other_users,omitempty"`
	// Relationship to roles.
	Roles *RelationshipToRoles `json:"roles,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserResponseRelationships Relationships of the user object returned by the API.

func NewUserResponseRelationships ¶

func NewUserResponseRelationships() *UserResponseRelationships

NewUserResponseRelationships instantiates a new UserResponseRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserResponseRelationshipsWithDefaults ¶

func NewUserResponseRelationshipsWithDefaults() *UserResponseRelationships

NewUserResponseRelationshipsWithDefaults instantiates a new UserResponseRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserResponseRelationships) GetOrg ¶

GetOrg returns the Org field value if set, zero value otherwise.

func (*UserResponseRelationships) GetOrgOk ¶

GetOrgOk returns a tuple with the Org field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponseRelationships) GetOtherOrgs ¶

GetOtherOrgs returns the OtherOrgs field value if set, zero value otherwise.

func (*UserResponseRelationships) GetOtherOrgsOk ¶

GetOtherOrgsOk returns a tuple with the OtherOrgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponseRelationships) GetOtherUsers ¶

GetOtherUsers returns the OtherUsers field value if set, zero value otherwise.

func (*UserResponseRelationships) GetOtherUsersOk ¶

func (o *UserResponseRelationships) GetOtherUsersOk() (*RelationshipToUsers, bool)

GetOtherUsersOk returns a tuple with the OtherUsers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponseRelationships) GetRoles ¶

GetRoles returns the Roles field value if set, zero value otherwise.

func (*UserResponseRelationships) GetRolesOk ¶

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponseRelationships) HasOrg ¶

func (o *UserResponseRelationships) HasOrg() bool

HasOrg returns a boolean if a field has been set.

func (*UserResponseRelationships) HasOtherOrgs ¶

func (o *UserResponseRelationships) HasOtherOrgs() bool

HasOtherOrgs returns a boolean if a field has been set.

func (*UserResponseRelationships) HasOtherUsers ¶

func (o *UserResponseRelationships) HasOtherUsers() bool

HasOtherUsers returns a boolean if a field has been set.

func (*UserResponseRelationships) HasRoles ¶

func (o *UserResponseRelationships) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (UserResponseRelationships) MarshalJSON ¶

func (o UserResponseRelationships) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserResponseRelationships) SetOrg ¶

SetOrg gets a reference to the given RelationshipToOrganization and assigns it to the Org field.

func (*UserResponseRelationships) SetOtherOrgs ¶

SetOtherOrgs gets a reference to the given RelationshipToOrganizations and assigns it to the OtherOrgs field.

func (*UserResponseRelationships) SetOtherUsers ¶

func (o *UserResponseRelationships) SetOtherUsers(v RelationshipToUsers)

SetOtherUsers gets a reference to the given RelationshipToUsers and assigns it to the OtherUsers field.

func (*UserResponseRelationships) SetRoles ¶

SetRoles gets a reference to the given RelationshipToRoles and assigns it to the Roles field.

func (*UserResponseRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *UserResponseRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserUpdateAttributes ¶

type UserUpdateAttributes struct {
	// If the user is enabled or disabled.
	Disabled *bool `json:"disabled,omitempty"`
	// The email of the user.
	Email *string `json:"email,omitempty"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserUpdateAttributes Attributes of the edited user.

func NewUserUpdateAttributes ¶

func NewUserUpdateAttributes() *UserUpdateAttributes

NewUserUpdateAttributes instantiates a new UserUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserUpdateAttributesWithDefaults ¶

func NewUserUpdateAttributesWithDefaults() *UserUpdateAttributes

NewUserUpdateAttributesWithDefaults instantiates a new UserUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserUpdateAttributes) GetDisabled ¶

func (o *UserUpdateAttributes) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*UserUpdateAttributes) GetDisabledOk ¶

func (o *UserUpdateAttributes) 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 (*UserUpdateAttributes) GetEmail ¶

func (o *UserUpdateAttributes) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserUpdateAttributes) GetEmailOk ¶

func (o *UserUpdateAttributes) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateAttributes) GetName ¶

func (o *UserUpdateAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserUpdateAttributes) GetNameOk ¶

func (o *UserUpdateAttributes) 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 (*UserUpdateAttributes) HasDisabled ¶

func (o *UserUpdateAttributes) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*UserUpdateAttributes) HasEmail ¶

func (o *UserUpdateAttributes) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserUpdateAttributes) HasName ¶

func (o *UserUpdateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (UserUpdateAttributes) MarshalJSON ¶

func (o UserUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserUpdateAttributes) SetDisabled ¶

func (o *UserUpdateAttributes) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*UserUpdateAttributes) SetEmail ¶

func (o *UserUpdateAttributes) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserUpdateAttributes) SetName ¶

func (o *UserUpdateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *UserUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserUpdateData ¶

type UserUpdateData struct {
	// Attributes of the edited user.
	Attributes UserUpdateAttributes `json:"attributes"`
	// ID of the user.
	Id string `json:"id"`
	// Users resource type.
	Type UsersType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserUpdateData Object to update a user.

func NewUserUpdateData ¶

func NewUserUpdateData(attributes UserUpdateAttributes, id string, typeVar UsersType) *UserUpdateData

NewUserUpdateData instantiates a new UserUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserUpdateDataWithDefaults ¶

func NewUserUpdateDataWithDefaults() *UserUpdateData

NewUserUpdateDataWithDefaults instantiates a new UserUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserUpdateData) GetAttributes ¶

func (o *UserUpdateData) GetAttributes() UserUpdateAttributes

GetAttributes returns the Attributes field value.

func (*UserUpdateData) GetAttributesOk ¶

func (o *UserUpdateData) GetAttributesOk() (*UserUpdateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*UserUpdateData) GetId ¶

func (o *UserUpdateData) GetId() string

GetId returns the Id field value.

func (*UserUpdateData) GetIdOk ¶

func (o *UserUpdateData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UserUpdateData) GetType ¶

func (o *UserUpdateData) GetType() UsersType

GetType returns the Type field value.

func (*UserUpdateData) GetTypeOk ¶

func (o *UserUpdateData) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (UserUpdateData) MarshalJSON ¶

func (o UserUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserUpdateData) SetAttributes ¶

func (o *UserUpdateData) SetAttributes(v UserUpdateAttributes)

SetAttributes sets field value.

func (*UserUpdateData) SetId ¶

func (o *UserUpdateData) SetId(v string)

SetId sets field value.

func (*UserUpdateData) SetType ¶

func (o *UserUpdateData) SetType(v UsersType)

SetType sets field value.

func (*UserUpdateData) UnmarshalJSON ¶

func (o *UserUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserUpdateRequest ¶

type UserUpdateRequest struct {
	// Object to update a user.
	Data UserUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserUpdateRequest Update a user.

func NewUserUpdateRequest ¶

func NewUserUpdateRequest(data UserUpdateData) *UserUpdateRequest

NewUserUpdateRequest instantiates a new UserUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUserUpdateRequestWithDefaults ¶

func NewUserUpdateRequestWithDefaults() *UserUpdateRequest

NewUserUpdateRequestWithDefaults instantiates a new UserUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UserUpdateRequest) GetData ¶

func (o *UserUpdateRequest) GetData() UserUpdateData

GetData returns the Data field value.

func (*UserUpdateRequest) GetDataOk ¶

func (o *UserUpdateRequest) GetDataOk() (*UserUpdateData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (UserUpdateRequest) MarshalJSON ¶

func (o UserUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserUpdateRequest) SetData ¶

func (o *UserUpdateRequest) SetData(v UserUpdateData)

SetData sets field value.

func (*UserUpdateRequest) UnmarshalJSON ¶

func (o *UserUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsersApiService ¶

type UsersApiService service

UsersApiService UsersApi service.

func (*UsersApiService) CreateServiceAccount ¶ added in v1.3.0

CreateServiceAccount Create a service account. Create a service account for your organization.

func (*UsersApiService) CreateUser ¶

CreateUser Create a user. Create a user for your organization.

func (*UsersApiService) DisableUser ¶

func (a *UsersApiService) DisableUser(ctx _context.Context, userId string) (*_nethttp.Response, error)

DisableUser Disable a user. Disable a user. Can only be used with an application key belonging to an administrator user.

func (*UsersApiService) GetInvitation ¶

func (a *UsersApiService) GetInvitation(ctx _context.Context, userInvitationUuid string) (UserInvitationResponse, *_nethttp.Response, error)

GetInvitation Get a user invitation. Returns a single user invitation by its UUID.

func (*UsersApiService) GetUser ¶

GetUser Get user details. Get a user in the organization specified by the user’s `user_id`.

func (*UsersApiService) ListUserOrganizations ¶

func (a *UsersApiService) ListUserOrganizations(ctx _context.Context, userId string) (UserResponse, *_nethttp.Response, error)

ListUserOrganizations Get a user organization. Get a user organization. Returns the user information and all organizations joined by this user.

func (*UsersApiService) ListUserPermissions ¶

func (a *UsersApiService) ListUserPermissions(ctx _context.Context, userId string) (PermissionsResponse, *_nethttp.Response, error)

ListUserPermissions Get a user permissions. Get a user permission set. Returns a list of the user’s permissions granted by the associated user's roles.

func (*UsersApiService) ListUsers ¶

ListUsers List all users. Get the list of all users in the organization. This list includes all users even if they are deactivated or unverified.

func (*UsersApiService) SendInvitations ¶

SendInvitations Send invitation emails. Sends emails to one or more users inviting them to join the organization.

func (*UsersApiService) UpdateUser ¶

UpdateUser Update a user. Edit a user. Can only be used with an application key belonging to an administrator user.

type UsersResponse ¶

type UsersResponse struct {
	// Array of returned users.
	Data []User `json:"data,omitempty"`
	// Array of objects related to the users.
	Included []UserResponseIncludedItem `json:"included,omitempty"`
	// Object describing meta attributes of response.
	Meta *ResponseMetaAttributes `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsersResponse Response containing information about multiple users.

func NewUsersResponse ¶

func NewUsersResponse() *UsersResponse

NewUsersResponse instantiates a new UsersResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUsersResponseWithDefaults ¶

func NewUsersResponseWithDefaults() *UsersResponse

NewUsersResponseWithDefaults instantiates a new UsersResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*UsersResponse) GetData ¶

func (o *UsersResponse) GetData() []User

GetData returns the Data field value if set, zero value otherwise.

func (*UsersResponse) GetDataOk ¶

func (o *UsersResponse) GetDataOk() (*[]User, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsersResponse) GetIncluded ¶

func (o *UsersResponse) GetIncluded() []UserResponseIncludedItem

GetIncluded returns the Included field value if set, zero value otherwise.

func (*UsersResponse) GetIncludedOk ¶

func (o *UsersResponse) GetIncludedOk() (*[]UserResponseIncludedItem, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsersResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*UsersResponse) GetMetaOk ¶

func (o *UsersResponse) GetMetaOk() (*ResponseMetaAttributes, 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 (*UsersResponse) HasData ¶

func (o *UsersResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*UsersResponse) HasIncluded ¶

func (o *UsersResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*UsersResponse) HasMeta ¶

func (o *UsersResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (UsersResponse) MarshalJSON ¶

func (o UsersResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsersResponse) SetData ¶

func (o *UsersResponse) SetData(v []User)

SetData gets a reference to the given []User and assigns it to the Data field.

func (*UsersResponse) SetIncluded ¶

func (o *UsersResponse) SetIncluded(v []UserResponseIncludedItem)

SetIncluded gets a reference to the given []UserResponseIncludedItem and assigns it to the Included field.

func (*UsersResponse) SetMeta ¶

func (o *UsersResponse) SetMeta(v ResponseMetaAttributes)

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

func (*UsersResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsersResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsersType ¶

type UsersType string

UsersType Users resource type.

const (
	USERSTYPE_USERS UsersType = "users"
)

List of UsersType.

func NewUsersTypeFromValue ¶

func NewUsersTypeFromValue(v string) (*UsersType, error)

NewUsersTypeFromValue returns a pointer to a valid UsersType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*UsersType) GetAllowedValues ¶ added in v1.1.0

func (v *UsersType) GetAllowedValues() []UsersType

GetAllowedValues reeturns the list of possible values.

func (UsersType) IsValid ¶

func (v UsersType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (UsersType) Ptr ¶

func (v UsersType) Ptr() *UsersType

Ptr returns reference to UsersType value.

func (*UsersType) UnmarshalJSON ¶

func (v *UsersType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL