datadogV2

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 56

Documentation ¶

Overview ¶

List of APIs:

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

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

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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

func (*ApplicationKeyRelationships) GetOwnedByOk ¶

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 ¶

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 ¶

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

func (*ApplicationKeyRelationships) UnmarshalJSON ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *ApplicationKeyUpdateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*ApplicationKeyUpdateAttributes) HasScopes ¶

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 ¶

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 ¶

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 ¶

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

type AuditApi datadog.Service

AuditApi service type

func NewAuditApi ¶

func NewAuditApi(client *datadog.APIClient) *AuditApi

NewAuditApi Returns NewAuditApi.

func (*AuditApi) ListAuditLogs ¶

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 (*AuditApi) ListAuditLogsWithPagination ¶

func (a *AuditApi) ListAuditLogsWithPagination(ctx _context.Context, o ...ListAuditLogsOptionalParameters) (<-chan datadog.PaginationResult[AuditLogsEvent], func())

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

func (*AuditApi) SearchAuditLogs ¶

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 (*AuditApi) SearchAuditLogsWithPagination ¶

func (a *AuditApi) SearchAuditLogsWithPagination(ctx _context.Context, o ...SearchAuditLogsOptionalParameters) (<-chan datadog.PaginationResult[AuditLogsEvent], func())

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

type AuditLogsEvent ¶

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 ¶

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 ¶

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 ¶

func (o *AuditLogsEvent) GetAttributes() AuditLogsEventAttributes

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

func (*AuditLogsEvent) GetAttributesOk ¶

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 ¶

func (o *AuditLogsEvent) GetId() string

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

func (*AuditLogsEvent) GetIdOk ¶

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 ¶

func (o *AuditLogsEvent) GetType() AuditLogsEventType

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

func (*AuditLogsEvent) GetTypeOk ¶

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 ¶

func (o *AuditLogsEvent) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuditLogsEvent) HasId ¶

func (o *AuditLogsEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLogsEvent) HasType ¶

func (o *AuditLogsEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (AuditLogsEvent) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsEvent) SetAttributes ¶

func (o *AuditLogsEvent) SetAttributes(v AuditLogsEventAttributes)

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

func (*AuditLogsEvent) SetId ¶

func (o *AuditLogsEvent) SetId(v string)

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

func (*AuditLogsEvent) SetType ¶

func (o *AuditLogsEvent) SetType(v AuditLogsEventType)

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

func (*AuditLogsEvent) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsEventAttributes ¶

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 ¶

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 ¶

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 ¶

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

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

func (*AuditLogsEventAttributes) GetAttributesOk ¶

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 ¶

func (o *AuditLogsEventAttributes) GetService() string

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

func (*AuditLogsEventAttributes) GetServiceOk ¶

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 ¶

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

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

func (*AuditLogsEventAttributes) GetTagsOk ¶

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 ¶

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

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

func (*AuditLogsEventAttributes) GetTimestampOk ¶

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 ¶

func (o *AuditLogsEventAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuditLogsEventAttributes) HasService ¶

func (o *AuditLogsEventAttributes) HasService() bool

HasService returns a boolean if a field has been set.

func (*AuditLogsEventAttributes) HasTags ¶

func (o *AuditLogsEventAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*AuditLogsEventAttributes) HasTimestamp ¶

func (o *AuditLogsEventAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (AuditLogsEventAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsEventAttributes) SetAttributes ¶

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 ¶

func (o *AuditLogsEventAttributes) SetService(v string)

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

func (*AuditLogsEventAttributes) SetTags ¶

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

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

func (*AuditLogsEventAttributes) SetTimestamp ¶

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 ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsEventType ¶

type AuditLogsEventType string

AuditLogsEventType Type of the event.

const (
	AUDITLOGSEVENTTYPE_Audit AuditLogsEventType = "audit"
)

List of AuditLogsEventType.

func NewAuditLogsEventTypeFromValue ¶

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 ¶

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

GetAllowedValues reeturns the list of possible values.

func (AuditLogsEventType) IsValid ¶

func (v AuditLogsEventType) IsValid() bool

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

func (AuditLogsEventType) Ptr ¶

Ptr returns reference to AuditLogsEventType value.

func (*AuditLogsEventType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsEventsResponse ¶

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 ¶

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 ¶

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 ¶

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

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

func (*AuditLogsEventsResponse) GetDataOk ¶

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 ¶

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 ¶

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

func (*AuditLogsEventsResponse) 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 (*AuditLogsEventsResponse) HasData ¶

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 ¶

func (o *AuditLogsEventsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (AuditLogsEventsResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsEventsResponse) SetData ¶

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 ¶

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

func (*AuditLogsEventsResponse) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsQueryFilter ¶

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 ¶

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 ¶

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 ¶

func (o *AuditLogsQueryFilter) GetFrom() string

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

func (*AuditLogsQueryFilter) GetFromOk ¶

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 ¶

func (o *AuditLogsQueryFilter) GetQuery() string

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

func (*AuditLogsQueryFilter) GetQueryOk ¶

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 ¶

func (o *AuditLogsQueryFilter) GetTo() string

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

func (*AuditLogsQueryFilter) GetToOk ¶

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 ¶

func (o *AuditLogsQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*AuditLogsQueryFilter) HasQuery ¶

func (o *AuditLogsQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*AuditLogsQueryFilter) HasTo ¶

func (o *AuditLogsQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (AuditLogsQueryFilter) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsQueryFilter) SetFrom ¶

func (o *AuditLogsQueryFilter) SetFrom(v string)

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

func (*AuditLogsQueryFilter) SetQuery ¶

func (o *AuditLogsQueryFilter) SetQuery(v string)

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

func (*AuditLogsQueryFilter) SetTo ¶

func (o *AuditLogsQueryFilter) SetTo(v string)

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

func (*AuditLogsQueryFilter) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsQueryOptions ¶

type AuditLogsQueryOptions struct {
	// Time offset (in seconds) to apply to the query.
	TimeOffset *int64 `json:"time_offset,omitempty"`
	// The timezone can be specified as GMT, UTC, an offset from UTC (like UTC+1), or as a Timezone Database identifier (like America/New_York).
	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 ¶

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 ¶

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 ¶

func (o *AuditLogsQueryOptions) GetTimeOffset() int64

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

func (*AuditLogsQueryOptions) GetTimeOffsetOk ¶

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 ¶

func (o *AuditLogsQueryOptions) GetTimezone() string

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

func (*AuditLogsQueryOptions) GetTimezoneOk ¶

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 ¶

func (o *AuditLogsQueryOptions) HasTimeOffset() bool

HasTimeOffset returns a boolean if a field has been set.

func (*AuditLogsQueryOptions) HasTimezone ¶

func (o *AuditLogsQueryOptions) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (AuditLogsQueryOptions) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsQueryOptions) SetTimeOffset ¶

func (o *AuditLogsQueryOptions) SetTimeOffset(v int64)

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

func (*AuditLogsQueryOptions) SetTimezone ¶

func (o *AuditLogsQueryOptions) SetTimezone(v string)

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

func (*AuditLogsQueryOptions) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsQueryPageOptions ¶

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 ¶

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 ¶

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 ¶

func (o *AuditLogsQueryPageOptions) GetCursor() string

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

func (*AuditLogsQueryPageOptions) GetCursorOk ¶

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 ¶

func (o *AuditLogsQueryPageOptions) GetLimit() int32

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

func (*AuditLogsQueryPageOptions) GetLimitOk ¶

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 ¶

func (o *AuditLogsQueryPageOptions) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*AuditLogsQueryPageOptions) HasLimit ¶

func (o *AuditLogsQueryPageOptions) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (AuditLogsQueryPageOptions) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsQueryPageOptions) SetCursor ¶

func (o *AuditLogsQueryPageOptions) SetCursor(v string)

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

func (*AuditLogsQueryPageOptions) SetLimit ¶

func (o *AuditLogsQueryPageOptions) SetLimit(v int32)

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

func (*AuditLogsQueryPageOptions) UnmarshalJSON ¶

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 ¶

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 ¶

func (o *AuditLogsResponseLinks) GetNext() string

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

func (*AuditLogsResponseLinks) GetNextOk ¶

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 ¶

func (o *AuditLogsResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (AuditLogsResponseLinks) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsResponseLinks) SetNext ¶

func (o *AuditLogsResponseLinks) SetNext(v string)

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

func (*AuditLogsResponseLinks) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsResponseMetadata ¶

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 ¶

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 ¶

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 ¶

func (o *AuditLogsResponseMetadata) GetElapsed() int64

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

func (*AuditLogsResponseMetadata) GetElapsedOk ¶

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 ¶

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

func (*AuditLogsResponseMetadata) 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 (*AuditLogsResponseMetadata) GetRequestId ¶

func (o *AuditLogsResponseMetadata) GetRequestId() string

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

func (*AuditLogsResponseMetadata) GetRequestIdOk ¶

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 ¶

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

func (*AuditLogsResponseMetadata) 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 (*AuditLogsResponseMetadata) GetWarnings ¶

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

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

func (*AuditLogsResponseMetadata) GetWarningsOk ¶

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 ¶

func (o *AuditLogsResponseMetadata) HasElapsed() bool

HasElapsed returns a boolean if a field has been set.

func (*AuditLogsResponseMetadata) HasPage ¶

func (o *AuditLogsResponseMetadata) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*AuditLogsResponseMetadata) HasRequestId ¶

func (o *AuditLogsResponseMetadata) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*AuditLogsResponseMetadata) HasStatus ¶

func (o *AuditLogsResponseMetadata) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*AuditLogsResponseMetadata) HasWarnings ¶

func (o *AuditLogsResponseMetadata) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (AuditLogsResponseMetadata) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsResponseMetadata) SetElapsed ¶

func (o *AuditLogsResponseMetadata) SetElapsed(v int64)

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

func (*AuditLogsResponseMetadata) SetPage ¶

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

func (*AuditLogsResponseMetadata) SetRequestId ¶

func (o *AuditLogsResponseMetadata) SetRequestId(v string)

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

func (*AuditLogsResponseMetadata) SetStatus ¶

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

func (*AuditLogsResponseMetadata) SetWarnings ¶

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

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

func (*AuditLogsResponseMetadata) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsResponsePage ¶

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 ¶

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 ¶

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 ¶

func (o *AuditLogsResponsePage) GetAfter() string

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

func (*AuditLogsResponsePage) GetAfterOk ¶

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 ¶

func (o *AuditLogsResponsePage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (AuditLogsResponsePage) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsResponsePage) SetAfter ¶

func (o *AuditLogsResponsePage) SetAfter(v string)

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

func (*AuditLogsResponsePage) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsResponseStatus ¶

type AuditLogsResponseStatus string

AuditLogsResponseStatus The status of the response.

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

List of AuditLogsResponseStatus.

func NewAuditLogsResponseStatusFromValue ¶

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 ¶

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

GetAllowedValues reeturns the list of possible values.

func (AuditLogsResponseStatus) IsValid ¶

func (v AuditLogsResponseStatus) IsValid() bool

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

func (AuditLogsResponseStatus) Ptr ¶

Ptr returns reference to AuditLogsResponseStatus value.

func (*AuditLogsResponseStatus) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsSearchEventsRequest ¶

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 ¶

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 ¶

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 ¶

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

func (*AuditLogsSearchEventsRequest) 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 (*AuditLogsSearchEventsRequest) GetOptions ¶

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

func (*AuditLogsSearchEventsRequest) 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 (*AuditLogsSearchEventsRequest) GetPage ¶

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

func (*AuditLogsSearchEventsRequest) 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 (*AuditLogsSearchEventsRequest) GetSort ¶

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

func (*AuditLogsSearchEventsRequest) GetSortOk ¶

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 ¶

func (o *AuditLogsSearchEventsRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*AuditLogsSearchEventsRequest) HasOptions ¶

func (o *AuditLogsSearchEventsRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*AuditLogsSearchEventsRequest) HasPage ¶

func (o *AuditLogsSearchEventsRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*AuditLogsSearchEventsRequest) HasSort ¶

func (o *AuditLogsSearchEventsRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (AuditLogsSearchEventsRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsSearchEventsRequest) SetFilter ¶

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

func (*AuditLogsSearchEventsRequest) SetOptions ¶

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

func (*AuditLogsSearchEventsRequest) SetPage ¶

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

func (*AuditLogsSearchEventsRequest) SetSort ¶

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

func (*AuditLogsSearchEventsRequest) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsSort ¶

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 ¶

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 ¶

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

GetAllowedValues reeturns the list of possible values.

func (AuditLogsSort) IsValid ¶

func (v AuditLogsSort) IsValid() bool

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

func (AuditLogsSort) Ptr ¶

func (v AuditLogsSort) Ptr() *AuditLogsSort

Ptr returns reference to AuditLogsSort value.

func (*AuditLogsSort) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuditLogsWarning ¶

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 ¶

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 ¶

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 ¶

func (o *AuditLogsWarning) GetCode() string

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

func (*AuditLogsWarning) GetCodeOk ¶

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 ¶

func (o *AuditLogsWarning) GetDetail() string

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

func (*AuditLogsWarning) GetDetailOk ¶

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 ¶

func (o *AuditLogsWarning) GetTitle() string

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

func (*AuditLogsWarning) GetTitleOk ¶

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 ¶

func (o *AuditLogsWarning) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*AuditLogsWarning) HasDetail ¶

func (o *AuditLogsWarning) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*AuditLogsWarning) HasTitle ¶

func (o *AuditLogsWarning) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (AuditLogsWarning) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuditLogsWarning) SetCode ¶

func (o *AuditLogsWarning) SetCode(v string)

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

func (*AuditLogsWarning) SetDetail ¶

func (o *AuditLogsWarning) SetDetail(v string)

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

func (*AuditLogsWarning) SetTitle ¶

func (o *AuditLogsWarning) SetTitle(v string)

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

func (*AuditLogsWarning) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMapping ¶

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 ¶

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 ¶

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 ¶

func (o *AuthNMapping) GetAttributes() AuthNMappingAttributes

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

func (*AuthNMapping) GetAttributesOk ¶

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 ¶

func (o *AuthNMapping) GetId() string

GetId returns the Id field value.

func (*AuthNMapping) GetIdOk ¶

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 ¶

func (o *AuthNMapping) GetRelationships() AuthNMappingRelationships

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

func (*AuthNMapping) GetRelationshipsOk ¶

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 ¶

func (o *AuthNMapping) GetType() AuthNMappingsType

GetType returns the Type field value.

func (*AuthNMapping) GetTypeOk ¶

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 ¶

func (o *AuthNMapping) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuthNMapping) HasRelationships ¶

func (o *AuthNMapping) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (AuthNMapping) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMapping) SetAttributes ¶

func (o *AuthNMapping) SetAttributes(v AuthNMappingAttributes)

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

func (*AuthNMapping) SetId ¶

func (o *AuthNMapping) SetId(v string)

SetId sets field value.

func (*AuthNMapping) SetRelationships ¶

func (o *AuthNMapping) SetRelationships(v AuthNMappingRelationships)

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

func (*AuthNMapping) SetType ¶

func (o *AuthNMapping) SetType(v AuthNMappingsType)

SetType sets field value.

func (*AuthNMapping) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *AuthNMappingAttributes) GetAttributeKey() string

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

func (*AuthNMappingAttributes) GetAttributeKeyOk ¶

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 ¶

func (o *AuthNMappingAttributes) GetAttributeValue() string

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

func (*AuthNMappingAttributes) GetAttributeValueOk ¶

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 ¶

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

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

func (*AuthNMappingAttributes) GetCreatedAtOk ¶

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 ¶

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

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

func (*AuthNMappingAttributes) GetModifiedAtOk ¶

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 ¶

func (o *AuthNMappingAttributes) GetSamlAssertionAttributeId() string

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

func (*AuthNMappingAttributes) GetSamlAssertionAttributeIdOk ¶

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 ¶

func (o *AuthNMappingAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

func (*AuthNMappingAttributes) HasAttributeValue ¶

func (o *AuthNMappingAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (*AuthNMappingAttributes) HasCreatedAt ¶

func (o *AuthNMappingAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AuthNMappingAttributes) HasModifiedAt ¶

func (o *AuthNMappingAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*AuthNMappingAttributes) HasSamlAssertionAttributeId ¶

func (o *AuthNMappingAttributes) HasSamlAssertionAttributeId() bool

HasSamlAssertionAttributeId returns a boolean if a field has been set.

func (AuthNMappingAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingAttributes) SetAttributeKey ¶

func (o *AuthNMappingAttributes) SetAttributeKey(v string)

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

func (*AuthNMappingAttributes) SetAttributeValue ¶

func (o *AuthNMappingAttributes) SetAttributeValue(v string)

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

func (*AuthNMappingAttributes) SetCreatedAt ¶

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 ¶

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 ¶

func (o *AuthNMappingAttributes) SetSamlAssertionAttributeId(v string)

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

func (*AuthNMappingAttributes) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingCreateAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *AuthNMappingCreateAttributes) GetAttributeKey() string

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

func (*AuthNMappingCreateAttributes) GetAttributeKeyOk ¶

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 ¶

func (o *AuthNMappingCreateAttributes) GetAttributeValue() string

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

func (*AuthNMappingCreateAttributes) GetAttributeValueOk ¶

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 ¶

func (o *AuthNMappingCreateAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

func (*AuthNMappingCreateAttributes) HasAttributeValue ¶

func (o *AuthNMappingCreateAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (AuthNMappingCreateAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingCreateAttributes) SetAttributeKey ¶

func (o *AuthNMappingCreateAttributes) SetAttributeKey(v string)

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

func (*AuthNMappingCreateAttributes) SetAttributeValue ¶

func (o *AuthNMappingCreateAttributes) SetAttributeValue(v string)

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

func (*AuthNMappingCreateAttributes) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingCreateData ¶

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 ¶

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 ¶

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 ¶

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

func (*AuthNMappingCreateData) GetAttributesOk ¶

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 ¶

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

func (*AuthNMappingCreateData) GetRelationshipsOk ¶

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 ¶

GetType returns the Type field value.

func (*AuthNMappingCreateData) GetTypeOk ¶

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 ¶

func (o *AuthNMappingCreateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuthNMappingCreateData) HasRelationships ¶

func (o *AuthNMappingCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (AuthNMappingCreateData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingCreateData) SetAttributes ¶

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

func (*AuthNMappingCreateData) SetRelationships ¶

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

func (*AuthNMappingCreateData) SetType ¶

SetType sets field value.

func (*AuthNMappingCreateData) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingCreateRelationships ¶

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 ¶

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 ¶

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 ¶

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

func (*AuthNMappingCreateRelationships) GetRoleOk ¶

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 ¶

HasRole returns a boolean if a field has been set.

func (AuthNMappingCreateRelationships) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingCreateRelationships) SetRole ¶

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

func (*AuthNMappingCreateRelationships) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingCreateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*AuthNMappingCreateRequest) GetDataOk ¶

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

func (AuthNMappingCreateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingCreateRequest) SetData ¶

SetData sets field value.

func (*AuthNMappingCreateRequest) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingIncluded ¶

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 ¶

func RoleAsAuthNMappingIncluded(v *Role) AuthNMappingIncluded

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

func SAMLAssertionAttributeAsAuthNMappingIncluded ¶

func SAMLAssertionAttributeAsAuthNMappingIncluded(v *SAMLAssertionAttribute) AuthNMappingIncluded

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

func (*AuthNMappingIncluded) GetActualInstance ¶

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

GetActualInstance returns the actual instance.

func (AuthNMappingIncluded) MarshalJSON ¶

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

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

func (*AuthNMappingIncluded) UnmarshalJSON ¶

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

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

type AuthNMappingRelationships ¶

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 ¶

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 ¶

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 ¶

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

func (*AuthNMappingRelationships) GetRoleOk ¶

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 ¶

func (o *AuthNMappingRelationships) GetSamlAssertionAttribute() RelationshipToSAMLAssertionAttribute

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

func (*AuthNMappingRelationships) GetSamlAssertionAttributeOk ¶

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 ¶

func (o *AuthNMappingRelationships) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*AuthNMappingRelationships) HasSamlAssertionAttribute ¶

func (o *AuthNMappingRelationships) HasSamlAssertionAttribute() bool

HasSamlAssertionAttribute returns a boolean if a field has been set.

func (AuthNMappingRelationships) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingRelationships) SetRole ¶

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

func (*AuthNMappingRelationships) SetSamlAssertionAttribute ¶

func (o *AuthNMappingRelationships) SetSamlAssertionAttribute(v RelationshipToSAMLAssertionAttribute)

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

func (*AuthNMappingRelationships) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingResponse ¶

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 ¶

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 ¶

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 ¶

func (o *AuthNMappingResponse) GetData() AuthNMapping

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

func (*AuthNMappingResponse) GetDataOk ¶

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 ¶

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

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

func (*AuthNMappingResponse) GetIncludedOk ¶

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 ¶

func (o *AuthNMappingResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*AuthNMappingResponse) HasIncluded ¶

func (o *AuthNMappingResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (AuthNMappingResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingResponse) SetData ¶

func (o *AuthNMappingResponse) SetData(v AuthNMapping)

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

func (*AuthNMappingResponse) SetIncluded ¶

func (o *AuthNMappingResponse) SetIncluded(v []AuthNMappingIncluded)

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

func (*AuthNMappingResponse) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingUpdateAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *AuthNMappingUpdateAttributes) GetAttributeKey() string

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

func (*AuthNMappingUpdateAttributes) GetAttributeKeyOk ¶

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 ¶

func (o *AuthNMappingUpdateAttributes) GetAttributeValue() string

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

func (*AuthNMappingUpdateAttributes) GetAttributeValueOk ¶

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 ¶

func (o *AuthNMappingUpdateAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

func (*AuthNMappingUpdateAttributes) HasAttributeValue ¶

func (o *AuthNMappingUpdateAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (AuthNMappingUpdateAttributes) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingUpdateAttributes) SetAttributeKey ¶

func (o *AuthNMappingUpdateAttributes) SetAttributeKey(v string)

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

func (*AuthNMappingUpdateAttributes) SetAttributeValue ¶

func (o *AuthNMappingUpdateAttributes) SetAttributeValue(v string)

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

func (*AuthNMappingUpdateAttributes) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingUpdateData ¶

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 ¶

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 ¶

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 ¶

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

func (*AuthNMappingUpdateData) GetAttributesOk ¶

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 ¶

func (o *AuthNMappingUpdateData) GetId() string

GetId returns the Id field value.

func (*AuthNMappingUpdateData) GetIdOk ¶

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 ¶

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

func (*AuthNMappingUpdateData) GetRelationshipsOk ¶

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 ¶

GetType returns the Type field value.

func (*AuthNMappingUpdateData) GetTypeOk ¶

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 ¶

func (o *AuthNMappingUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuthNMappingUpdateData) HasRelationships ¶

func (o *AuthNMappingUpdateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (AuthNMappingUpdateData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingUpdateData) SetAttributes ¶

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

func (*AuthNMappingUpdateData) SetId ¶

func (o *AuthNMappingUpdateData) SetId(v string)

SetId sets field value.

func (*AuthNMappingUpdateData) SetRelationships ¶

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

func (*AuthNMappingUpdateData) SetType ¶

SetType sets field value.

func (*AuthNMappingUpdateData) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingUpdateRelationships ¶

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 ¶

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 ¶

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 ¶

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

func (*AuthNMappingUpdateRelationships) GetRoleOk ¶

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 ¶

HasRole returns a boolean if a field has been set.

func (AuthNMappingUpdateRelationships) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingUpdateRelationships) SetRole ¶

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

func (*AuthNMappingUpdateRelationships) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingUpdateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*AuthNMappingUpdateRequest) GetDataOk ¶

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

func (AuthNMappingUpdateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingUpdateRequest) SetData ¶

SetData sets field value.

func (*AuthNMappingUpdateRequest) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingsApi ¶

type AuthNMappingsApi datadog.Service

AuthNMappingsApi service type

func NewAuthNMappingsApi ¶

func NewAuthNMappingsApi(client *datadog.APIClient) *AuthNMappingsApi

NewAuthNMappingsApi Returns NewAuthNMappingsApi.

func (*AuthNMappingsApi) CreateAuthNMapping ¶

CreateAuthNMapping Create an AuthN Mapping. Create an AuthN Mapping.

func (*AuthNMappingsApi) DeleteAuthNMapping ¶

func (a *AuthNMappingsApi) DeleteAuthNMapping(ctx _context.Context, authnMappingId string) (*_nethttp.Response, error)

DeleteAuthNMapping Delete an AuthN Mapping. Delete an AuthN Mapping specified by AuthN Mapping UUID.

func (*AuthNMappingsApi) GetAuthNMapping ¶

func (a *AuthNMappingsApi) 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 (*AuthNMappingsApi) ListAuthNMappings ¶

ListAuthNMappings List all AuthN Mappings. List all AuthN Mappings in the org.

func (*AuthNMappingsApi) UpdateAuthNMapping ¶

func (a *AuthNMappingsApi) UpdateAuthNMapping(ctx _context.Context, authnMappingId string, body AuthNMappingUpdateRequest) (AuthNMappingResponse, *_nethttp.Response, error)

UpdateAuthNMapping Edit an AuthN Mapping. Edit an AuthN Mapping.

type AuthNMappingsResponse ¶

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 ¶

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 ¶

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 ¶

func (o *AuthNMappingsResponse) GetData() []AuthNMapping

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

func (*AuthNMappingsResponse) GetDataOk ¶

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 ¶

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

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

func (*AuthNMappingsResponse) GetIncludedOk ¶

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 ¶

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

func (*AuthNMappingsResponse) 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 (*AuthNMappingsResponse) HasData ¶

func (o *AuthNMappingsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*AuthNMappingsResponse) HasIncluded ¶

func (o *AuthNMappingsResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*AuthNMappingsResponse) HasMeta ¶

func (o *AuthNMappingsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (AuthNMappingsResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthNMappingsResponse) SetData ¶

func (o *AuthNMappingsResponse) SetData(v []AuthNMapping)

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

func (*AuthNMappingsResponse) SetIncluded ¶

func (o *AuthNMappingsResponse) SetIncluded(v []AuthNMappingIncluded)

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

func (*AuthNMappingsResponse) SetMeta ¶

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

func (*AuthNMappingsResponse) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingsSort ¶

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 ¶

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 ¶

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

GetAllowedValues reeturns the list of possible values.

func (AuthNMappingsSort) IsValid ¶

func (v AuthNMappingsSort) IsValid() bool

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

func (AuthNMappingsSort) Ptr ¶

Ptr returns reference to AuthNMappingsSort value.

func (*AuthNMappingsSort) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AuthNMappingsType ¶

type AuthNMappingsType string

AuthNMappingsType AuthN Mappings resource type.

const (
	AUTHNMAPPINGSTYPE_AUTHN_MAPPINGS AuthNMappingsType = "authn_mappings"
)

List of AuthNMappingsType.

func NewAuthNMappingsTypeFromValue ¶

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 ¶

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

GetAllowedValues reeturns the list of possible values.

func (AuthNMappingsType) IsValid ¶

func (v AuthNMappingsType) IsValid() bool

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

func (AuthNMappingsType) Ptr ¶

Ptr returns reference to AuthNMappingsType value.

func (*AuthNMappingsType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CIAppAggregateBucketValue ¶ added in v2.5.0

type CIAppAggregateBucketValue struct {
	CIAppAggregateBucketValueSingleString *string
	CIAppAggregateBucketValueSingleNumber *float64
	CIAppAggregateBucketValueTimeseries   *CIAppAggregateBucketValueTimeseries

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

CIAppAggregateBucketValue - A bucket value, can either be a timeseries or a single value.

func CIAppAggregateBucketValueSingleNumberAsCIAppAggregateBucketValue ¶ added in v2.5.0

func CIAppAggregateBucketValueSingleNumberAsCIAppAggregateBucketValue(v *float64) CIAppAggregateBucketValue

CIAppAggregateBucketValueSingleNumberAsCIAppAggregateBucketValue is a convenience function that returns float64 wrapped in CIAppAggregateBucketValue.

func CIAppAggregateBucketValueSingleStringAsCIAppAggregateBucketValue ¶ added in v2.5.0

func CIAppAggregateBucketValueSingleStringAsCIAppAggregateBucketValue(v *string) CIAppAggregateBucketValue

CIAppAggregateBucketValueSingleStringAsCIAppAggregateBucketValue is a convenience function that returns string wrapped in CIAppAggregateBucketValue.

func CIAppAggregateBucketValueTimeseriesAsCIAppAggregateBucketValue ¶ added in v2.5.0

func CIAppAggregateBucketValueTimeseriesAsCIAppAggregateBucketValue(v *CIAppAggregateBucketValueTimeseries) CIAppAggregateBucketValue

CIAppAggregateBucketValueTimeseriesAsCIAppAggregateBucketValue is a convenience function that returns CIAppAggregateBucketValueTimeseries wrapped in CIAppAggregateBucketValue.

func (*CIAppAggregateBucketValue) GetActualInstance ¶ added in v2.5.0

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

GetActualInstance returns the actual instance.

func (CIAppAggregateBucketValue) MarshalJSON ¶ added in v2.5.0

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

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

func (*CIAppAggregateBucketValue) UnmarshalJSON ¶ added in v2.5.0

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

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

type CIAppAggregateBucketValueTimeseries ¶ added in v2.5.0

type CIAppAggregateBucketValueTimeseries struct {
	Items []CIAppAggregateBucketValueTimeseriesPoint

	// UnparsedObject contains the raw value of the array if there was an error when deserializing into the struct
	UnparsedObject []interface{} `json:"-"`
}

CIAppAggregateBucketValueTimeseries A timeseries array.

func NewCIAppAggregateBucketValueTimeseries ¶ added in v2.5.0

func NewCIAppAggregateBucketValueTimeseries() *CIAppAggregateBucketValueTimeseries

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

func NewCIAppAggregateBucketValueTimeseriesWithDefaults ¶ added in v2.5.0

func NewCIAppAggregateBucketValueTimeseriesWithDefaults() *CIAppAggregateBucketValueTimeseries

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

func (CIAppAggregateBucketValueTimeseries) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppAggregateBucketValueTimeseries) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppAggregateBucketValueTimeseriesPoint ¶ added in v2.5.0

type CIAppAggregateBucketValueTimeseriesPoint 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{}
}

CIAppAggregateBucketValueTimeseriesPoint A timeseries point.

func NewCIAppAggregateBucketValueTimeseriesPoint ¶ added in v2.5.0

func NewCIAppAggregateBucketValueTimeseriesPoint() *CIAppAggregateBucketValueTimeseriesPoint

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

func NewCIAppAggregateBucketValueTimeseriesPointWithDefaults ¶ added in v2.5.0

func NewCIAppAggregateBucketValueTimeseriesPointWithDefaults() *CIAppAggregateBucketValueTimeseriesPoint

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

func (*CIAppAggregateBucketValueTimeseriesPoint) GetTime ¶ added in v2.5.0

GetTime returns the Time field value if set, zero value otherwise.

func (*CIAppAggregateBucketValueTimeseriesPoint) GetTimeOk ¶ added in v2.5.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 (*CIAppAggregateBucketValueTimeseriesPoint) GetValue ¶ added in v2.5.0

GetValue returns the Value field value if set, zero value otherwise.

func (*CIAppAggregateBucketValueTimeseriesPoint) GetValueOk ¶ added in v2.5.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 (*CIAppAggregateBucketValueTimeseriesPoint) HasTime ¶ added in v2.5.0

HasTime returns a boolean if a field has been set.

func (*CIAppAggregateBucketValueTimeseriesPoint) HasValue ¶ added in v2.5.0

HasValue returns a boolean if a field has been set.

func (CIAppAggregateBucketValueTimeseriesPoint) MarshalJSON ¶ added in v2.5.0

MarshalJSON serializes the struct using spec logic.

func (*CIAppAggregateBucketValueTimeseriesPoint) SetTime ¶ added in v2.5.0

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

func (*CIAppAggregateBucketValueTimeseriesPoint) SetValue ¶ added in v2.5.0

SetValue gets a reference to the given float64 and assigns it to the Value field.

func (*CIAppAggregateBucketValueTimeseriesPoint) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppAggregateSort ¶ added in v2.5.0

type CIAppAggregateSort struct {
	// An aggregation function.
	Aggregation *CIAppAggregationFunction `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 *CIAppSortOrder `json:"order,omitempty"`
	// The type of sorting algorithm.
	Type *CIAppAggregateSortType `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{}
}

CIAppAggregateSort A sort rule.

func NewCIAppAggregateSort ¶ added in v2.5.0

func NewCIAppAggregateSort() *CIAppAggregateSort

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

func NewCIAppAggregateSortWithDefaults ¶ added in v2.5.0

func NewCIAppAggregateSortWithDefaults() *CIAppAggregateSort

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

func (*CIAppAggregateSort) GetAggregation ¶ added in v2.5.0

func (o *CIAppAggregateSort) GetAggregation() CIAppAggregationFunction

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*CIAppAggregateSort) GetAggregationOk ¶ added in v2.5.0

func (o *CIAppAggregateSort) GetAggregationOk() (*CIAppAggregationFunction, 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 (*CIAppAggregateSort) GetMetric ¶ added in v2.5.0

func (o *CIAppAggregateSort) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*CIAppAggregateSort) GetMetricOk ¶ added in v2.5.0

func (o *CIAppAggregateSort) 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 (*CIAppAggregateSort) GetOrder ¶ added in v2.5.0

func (o *CIAppAggregateSort) GetOrder() CIAppSortOrder

GetOrder returns the Order field value if set, zero value otherwise.

func (*CIAppAggregateSort) GetOrderOk ¶ added in v2.5.0

func (o *CIAppAggregateSort) GetOrderOk() (*CIAppSortOrder, 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 (*CIAppAggregateSort) GetType ¶ added in v2.5.0

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

func (*CIAppAggregateSort) GetTypeOk ¶ added in v2.5.0

func (o *CIAppAggregateSort) GetTypeOk() (*CIAppAggregateSortType, 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 (*CIAppAggregateSort) HasAggregation ¶ added in v2.5.0

func (o *CIAppAggregateSort) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*CIAppAggregateSort) HasMetric ¶ added in v2.5.0

func (o *CIAppAggregateSort) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*CIAppAggregateSort) HasOrder ¶ added in v2.5.0

func (o *CIAppAggregateSort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*CIAppAggregateSort) HasType ¶ added in v2.5.0

func (o *CIAppAggregateSort) HasType() bool

HasType returns a boolean if a field has been set.

func (CIAppAggregateSort) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppAggregateSort) SetAggregation ¶ added in v2.5.0

func (o *CIAppAggregateSort) SetAggregation(v CIAppAggregationFunction)

SetAggregation gets a reference to the given CIAppAggregationFunction and assigns it to the Aggregation field.

func (*CIAppAggregateSort) SetMetric ¶ added in v2.5.0

func (o *CIAppAggregateSort) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*CIAppAggregateSort) SetOrder ¶ added in v2.5.0

func (o *CIAppAggregateSort) SetOrder(v CIAppSortOrder)

SetOrder gets a reference to the given CIAppSortOrder and assigns it to the Order field.

func (*CIAppAggregateSort) SetType ¶ added in v2.5.0

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

func (*CIAppAggregateSort) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppAggregateSortType ¶ added in v2.5.0

type CIAppAggregateSortType string

CIAppAggregateSortType The type of sorting algorithm.

const (
	CIAPPAGGREGATESORTTYPE_ALPHABETICAL CIAppAggregateSortType = "alphabetical"
	CIAPPAGGREGATESORTTYPE_MEASURE      CIAppAggregateSortType = "measure"
)

List of CIAppAggregateSortType.

func NewCIAppAggregateSortTypeFromValue ¶ added in v2.5.0

func NewCIAppAggregateSortTypeFromValue(v string) (*CIAppAggregateSortType, error)

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

func (*CIAppAggregateSortType) GetAllowedValues ¶ added in v2.5.0

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

GetAllowedValues reeturns the list of possible values.

func (CIAppAggregateSortType) IsValid ¶ added in v2.5.0

func (v CIAppAggregateSortType) IsValid() bool

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

func (CIAppAggregateSortType) Ptr ¶ added in v2.5.0

Ptr returns reference to CIAppAggregateSortType value.

func (*CIAppAggregateSortType) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppAggregationFunction ¶ added in v2.5.0

type CIAppAggregationFunction string

CIAppAggregationFunction An aggregation function.

const (
	CIAPPAGGREGATIONFUNCTION_COUNT         CIAppAggregationFunction = "count"
	CIAPPAGGREGATIONFUNCTION_CARDINALITY   CIAppAggregationFunction = "cardinality"
	CIAPPAGGREGATIONFUNCTION_PERCENTILE_75 CIAppAggregationFunction = "pc75"
	CIAPPAGGREGATIONFUNCTION_PERCENTILE_90 CIAppAggregationFunction = "pc90"
	CIAPPAGGREGATIONFUNCTION_PERCENTILE_95 CIAppAggregationFunction = "pc95"
	CIAPPAGGREGATIONFUNCTION_PERCENTILE_98 CIAppAggregationFunction = "pc98"
	CIAPPAGGREGATIONFUNCTION_PERCENTILE_99 CIAppAggregationFunction = "pc99"
	CIAPPAGGREGATIONFUNCTION_SUM           CIAppAggregationFunction = "sum"
	CIAPPAGGREGATIONFUNCTION_MIN           CIAppAggregationFunction = "min"
	CIAPPAGGREGATIONFUNCTION_MAX           CIAppAggregationFunction = "max"
	CIAPPAGGREGATIONFUNCTION_AVG           CIAppAggregationFunction = "avg"
	CIAPPAGGREGATIONFUNCTION_MEDIAN        CIAppAggregationFunction = "median"
	CIAPPAGGREGATIONFUNCTION_LATEST        CIAppAggregationFunction = "latest"
	CIAPPAGGREGATIONFUNCTION_EARLIEST      CIAppAggregationFunction = "earliest"
	CIAPPAGGREGATIONFUNCTION_MOST_FREQUENT CIAppAggregationFunction = "most_frequent"
	CIAPPAGGREGATIONFUNCTION_DELTA         CIAppAggregationFunction = "delta"
)

List of CIAppAggregationFunction.

func NewCIAppAggregationFunctionFromValue ¶ added in v2.5.0

func NewCIAppAggregationFunctionFromValue(v string) (*CIAppAggregationFunction, error)

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

func (*CIAppAggregationFunction) GetAllowedValues ¶ added in v2.5.0

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

GetAllowedValues reeturns the list of possible values.

func (CIAppAggregationFunction) IsValid ¶ added in v2.5.0

func (v CIAppAggregationFunction) IsValid() bool

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

func (CIAppAggregationFunction) Ptr ¶ added in v2.5.0

Ptr returns reference to CIAppAggregationFunction value.

func (*CIAppAggregationFunction) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppCompute ¶ added in v2.5.0

type CIAppCompute struct {
	// An aggregation function.
	Aggregation CIAppAggregationFunction `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 *CIAppComputeType `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{}
}

CIAppCompute A compute rule to compute metrics or timeseries.

func NewCIAppCompute ¶ added in v2.5.0

func NewCIAppCompute(aggregation CIAppAggregationFunction) *CIAppCompute

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

func NewCIAppComputeWithDefaults ¶ added in v2.5.0

func NewCIAppComputeWithDefaults() *CIAppCompute

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

func (*CIAppCompute) GetAggregation ¶ added in v2.5.0

func (o *CIAppCompute) GetAggregation() CIAppAggregationFunction

GetAggregation returns the Aggregation field value.

func (*CIAppCompute) GetAggregationOk ¶ added in v2.5.0

func (o *CIAppCompute) GetAggregationOk() (*CIAppAggregationFunction, bool)

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

func (*CIAppCompute) GetInterval ¶ added in v2.5.0

func (o *CIAppCompute) GetInterval() string

GetInterval returns the Interval field value if set, zero value otherwise.

func (*CIAppCompute) GetIntervalOk ¶ added in v2.5.0

func (o *CIAppCompute) 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 (*CIAppCompute) GetMetric ¶ added in v2.5.0

func (o *CIAppCompute) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*CIAppCompute) GetMetricOk ¶ added in v2.5.0

func (o *CIAppCompute) 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 (*CIAppCompute) GetType ¶ added in v2.5.0

func (o *CIAppCompute) GetType() CIAppComputeType

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

func (*CIAppCompute) GetTypeOk ¶ added in v2.5.0

func (o *CIAppCompute) GetTypeOk() (*CIAppComputeType, 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 (*CIAppCompute) HasInterval ¶ added in v2.5.0

func (o *CIAppCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*CIAppCompute) HasMetric ¶ added in v2.5.0

func (o *CIAppCompute) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*CIAppCompute) HasType ¶ added in v2.5.0

func (o *CIAppCompute) HasType() bool

HasType returns a boolean if a field has been set.

func (CIAppCompute) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppCompute) SetAggregation ¶ added in v2.5.0

func (o *CIAppCompute) SetAggregation(v CIAppAggregationFunction)

SetAggregation sets field value.

func (*CIAppCompute) SetInterval ¶ added in v2.5.0

func (o *CIAppCompute) SetInterval(v string)

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (*CIAppCompute) SetMetric ¶ added in v2.5.0

func (o *CIAppCompute) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*CIAppCompute) SetType ¶ added in v2.5.0

func (o *CIAppCompute) SetType(v CIAppComputeType)

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

func (*CIAppCompute) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppComputeType ¶ added in v2.5.0

type CIAppComputeType string

CIAppComputeType The type of compute.

const (
	CIAPPCOMPUTETYPE_TIMESERIES CIAppComputeType = "timeseries"
	CIAPPCOMPUTETYPE_TOTAL      CIAppComputeType = "total"
)

List of CIAppComputeType.

func NewCIAppComputeTypeFromValue ¶ added in v2.5.0

func NewCIAppComputeTypeFromValue(v string) (*CIAppComputeType, error)

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

func (*CIAppComputeType) GetAllowedValues ¶ added in v2.5.0

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

GetAllowedValues reeturns the list of possible values.

func (CIAppComputeType) IsValid ¶ added in v2.5.0

func (v CIAppComputeType) IsValid() bool

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

func (CIAppComputeType) Ptr ¶ added in v2.5.0

Ptr returns reference to CIAppComputeType value.

func (*CIAppComputeType) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppEventAttributes ¶ added in v2.5.0

type CIAppEventAttributes struct {
	// JSON object of attributes from CI Visibility events.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
	// The name of the application or service generating CI Visibility events.
	// It is used to switch from CI Visibility 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{}
}

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

func NewCIAppEventAttributes ¶ added in v2.5.0

func NewCIAppEventAttributes() *CIAppEventAttributes

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

func NewCIAppEventAttributesWithDefaults ¶ added in v2.5.0

func NewCIAppEventAttributesWithDefaults() *CIAppEventAttributes

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

func (*CIAppEventAttributes) GetAttributes ¶ added in v2.5.0

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

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

func (*CIAppEventAttributes) GetAttributesOk ¶ added in v2.5.0

func (o *CIAppEventAttributes) 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 (*CIAppEventAttributes) GetService ¶ added in v2.5.0

func (o *CIAppEventAttributes) GetService() string

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

func (*CIAppEventAttributes) GetServiceOk ¶ added in v2.5.0

func (o *CIAppEventAttributes) 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 (*CIAppEventAttributes) GetTags ¶ added in v2.5.0

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

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

func (*CIAppEventAttributes) GetTagsOk ¶ added in v2.5.0

func (o *CIAppEventAttributes) 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 (*CIAppEventAttributes) GetTimestamp ¶ added in v2.5.0

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

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

func (*CIAppEventAttributes) GetTimestampOk ¶ added in v2.5.0

func (o *CIAppEventAttributes) 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 (*CIAppEventAttributes) HasAttributes ¶ added in v2.5.0

func (o *CIAppEventAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CIAppEventAttributes) HasService ¶ added in v2.5.0

func (o *CIAppEventAttributes) HasService() bool

HasService returns a boolean if a field has been set.

func (*CIAppEventAttributes) HasTags ¶ added in v2.5.0

func (o *CIAppEventAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CIAppEventAttributes) HasTimestamp ¶ added in v2.5.0

func (o *CIAppEventAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (CIAppEventAttributes) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppEventAttributes) SetAttributes ¶ added in v2.5.0

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

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

func (*CIAppEventAttributes) SetService ¶ added in v2.5.0

func (o *CIAppEventAttributes) SetService(v string)

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

func (*CIAppEventAttributes) SetTags ¶ added in v2.5.0

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

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

func (*CIAppEventAttributes) SetTimestamp ¶ added in v2.5.0

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

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

func (*CIAppEventAttributes) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppGroupByHistogram ¶ added in v2.5.0

type CIAppGroupByHistogram 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{}
}

CIAppGroupByHistogram Used to perform a histogram computation (only for measure facets). At most, 100 buckets are allowed, the number of buckets is `(max - min)/interval`.

func NewCIAppGroupByHistogram ¶ added in v2.5.0

func NewCIAppGroupByHistogram(interval float64, max float64, min float64) *CIAppGroupByHistogram

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

func NewCIAppGroupByHistogramWithDefaults ¶ added in v2.5.0

func NewCIAppGroupByHistogramWithDefaults() *CIAppGroupByHistogram

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

func (*CIAppGroupByHistogram) GetInterval ¶ added in v2.5.0

func (o *CIAppGroupByHistogram) GetInterval() float64

GetInterval returns the Interval field value.

func (*CIAppGroupByHistogram) GetIntervalOk ¶ added in v2.5.0

func (o *CIAppGroupByHistogram) GetIntervalOk() (*float64, bool)

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

func (*CIAppGroupByHistogram) GetMax ¶ added in v2.5.0

func (o *CIAppGroupByHistogram) GetMax() float64

GetMax returns the Max field value.

func (*CIAppGroupByHistogram) GetMaxOk ¶ added in v2.5.0

func (o *CIAppGroupByHistogram) GetMaxOk() (*float64, bool)

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

func (*CIAppGroupByHistogram) GetMin ¶ added in v2.5.0

func (o *CIAppGroupByHistogram) GetMin() float64

GetMin returns the Min field value.

func (*CIAppGroupByHistogram) GetMinOk ¶ added in v2.5.0

func (o *CIAppGroupByHistogram) GetMinOk() (*float64, bool)

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

func (CIAppGroupByHistogram) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppGroupByHistogram) SetInterval ¶ added in v2.5.0

func (o *CIAppGroupByHistogram) SetInterval(v float64)

SetInterval sets field value.

func (*CIAppGroupByHistogram) SetMax ¶ added in v2.5.0

func (o *CIAppGroupByHistogram) SetMax(v float64)

SetMax sets field value.

func (*CIAppGroupByHistogram) SetMin ¶ added in v2.5.0

func (o *CIAppGroupByHistogram) SetMin(v float64)

SetMin sets field value.

func (*CIAppGroupByHistogram) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppGroupByMissing ¶ added in v2.5.0

type CIAppGroupByMissing struct {
	CIAppGroupByMissingString *string
	CIAppGroupByMissingNumber *float64

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

CIAppGroupByMissing - The value to use for logs that don't have the facet used to group-by.

func CIAppGroupByMissingNumberAsCIAppGroupByMissing ¶ added in v2.5.0

func CIAppGroupByMissingNumberAsCIAppGroupByMissing(v *float64) CIAppGroupByMissing

CIAppGroupByMissingNumberAsCIAppGroupByMissing is a convenience function that returns float64 wrapped in CIAppGroupByMissing.

func CIAppGroupByMissingStringAsCIAppGroupByMissing ¶ added in v2.5.0

func CIAppGroupByMissingStringAsCIAppGroupByMissing(v *string) CIAppGroupByMissing

CIAppGroupByMissingStringAsCIAppGroupByMissing is a convenience function that returns string wrapped in CIAppGroupByMissing.

func (*CIAppGroupByMissing) GetActualInstance ¶ added in v2.5.0

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

GetActualInstance returns the actual instance.

func (CIAppGroupByMissing) MarshalJSON ¶ added in v2.5.0

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

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

func (*CIAppGroupByMissing) UnmarshalJSON ¶ added in v2.5.0

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

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

type CIAppGroupByTotal ¶ added in v2.5.0

type CIAppGroupByTotal struct {
	CIAppGroupByTotalBoolean *bool
	CIAppGroupByTotalString  *string
	CIAppGroupByTotalNumber  *float64

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

CIAppGroupByTotal - A resulting object to put the given computes in over all the matching records.

func CIAppGroupByTotalBooleanAsCIAppGroupByTotal ¶ added in v2.5.0

func CIAppGroupByTotalBooleanAsCIAppGroupByTotal(v *bool) CIAppGroupByTotal

CIAppGroupByTotalBooleanAsCIAppGroupByTotal is a convenience function that returns bool wrapped in CIAppGroupByTotal.

func CIAppGroupByTotalNumberAsCIAppGroupByTotal ¶ added in v2.5.0

func CIAppGroupByTotalNumberAsCIAppGroupByTotal(v *float64) CIAppGroupByTotal

CIAppGroupByTotalNumberAsCIAppGroupByTotal is a convenience function that returns float64 wrapped in CIAppGroupByTotal.

func CIAppGroupByTotalStringAsCIAppGroupByTotal ¶ added in v2.5.0

func CIAppGroupByTotalStringAsCIAppGroupByTotal(v *string) CIAppGroupByTotal

CIAppGroupByTotalStringAsCIAppGroupByTotal is a convenience function that returns string wrapped in CIAppGroupByTotal.

func (*CIAppGroupByTotal) GetActualInstance ¶ added in v2.5.0

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

GetActualInstance returns the actual instance.

func (CIAppGroupByTotal) MarshalJSON ¶ added in v2.5.0

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

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

func (*CIAppGroupByTotal) UnmarshalJSON ¶ added in v2.5.0

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

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

type CIAppPipelineEvent ¶ added in v2.5.0

type CIAppPipelineEvent struct {
	// JSON object containing all event attributes and their associated values.
	Attributes *CIAppEventAttributes `json:"attributes,omitempty"`
	// Unique ID of the event.
	Id *string `json:"id,omitempty"`
	// Type of the event.
	Type *CIAppPipelineEventTypeName `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{}
}

CIAppPipelineEvent Object description of a pipeline event after being processed and stored by Datadog.

func NewCIAppPipelineEvent ¶ added in v2.5.0

func NewCIAppPipelineEvent() *CIAppPipelineEvent

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

func NewCIAppPipelineEventWithDefaults ¶ added in v2.5.0

func NewCIAppPipelineEventWithDefaults() *CIAppPipelineEvent

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

func (*CIAppPipelineEvent) GetAttributes ¶ added in v2.5.0

func (o *CIAppPipelineEvent) GetAttributes() CIAppEventAttributes

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

func (*CIAppPipelineEvent) GetAttributesOk ¶ added in v2.5.0

func (o *CIAppPipelineEvent) GetAttributesOk() (*CIAppEventAttributes, 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 (*CIAppPipelineEvent) GetId ¶ added in v2.5.0

func (o *CIAppPipelineEvent) GetId() string

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

func (*CIAppPipelineEvent) GetIdOk ¶ added in v2.5.0

func (o *CIAppPipelineEvent) 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 (*CIAppPipelineEvent) GetType ¶ added in v2.5.0

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

func (*CIAppPipelineEvent) GetTypeOk ¶ added in v2.5.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 (*CIAppPipelineEvent) HasAttributes ¶ added in v2.5.0

func (o *CIAppPipelineEvent) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CIAppPipelineEvent) HasId ¶ added in v2.5.0

func (o *CIAppPipelineEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*CIAppPipelineEvent) HasType ¶ added in v2.5.0

func (o *CIAppPipelineEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (CIAppPipelineEvent) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppPipelineEvent) SetAttributes ¶ added in v2.5.0

func (o *CIAppPipelineEvent) SetAttributes(v CIAppEventAttributes)

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

func (*CIAppPipelineEvent) SetId ¶ added in v2.5.0

func (o *CIAppPipelineEvent) SetId(v string)

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

func (*CIAppPipelineEvent) SetType ¶ added in v2.5.0

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

func (*CIAppPipelineEvent) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppPipelineEventTypeName ¶ added in v2.5.0

type CIAppPipelineEventTypeName string

CIAppPipelineEventTypeName Type of the event.

const (
	CIAPPPIPELINEEVENTTYPENAME_cipipeline CIAppPipelineEventTypeName = "cipipeline"
)

List of CIAppPipelineEventTypeName.

func NewCIAppPipelineEventTypeNameFromValue ¶ added in v2.5.0

func NewCIAppPipelineEventTypeNameFromValue(v string) (*CIAppPipelineEventTypeName, error)

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

func (*CIAppPipelineEventTypeName) GetAllowedValues ¶ added in v2.5.0

GetAllowedValues reeturns the list of possible values.

func (CIAppPipelineEventTypeName) IsValid ¶ added in v2.5.0

func (v CIAppPipelineEventTypeName) IsValid() bool

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

func (CIAppPipelineEventTypeName) Ptr ¶ added in v2.5.0

Ptr returns reference to CIAppPipelineEventTypeName value.

func (*CIAppPipelineEventTypeName) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppPipelineEventsRequest ¶ added in v2.5.0

type CIAppPipelineEventsRequest struct {
	// The search and filter query settings.
	Filter *CIAppPipelinesQueryFilter `json:"filter,omitempty"`
	// Global query options that are used during the query.
	// Only supply timezone or time offset, not both. Otherwise, the query fails.
	Options *CIAppQueryOptions `json:"options,omitempty"`
	// Paging attributes for listing events.
	Page *CIAppQueryPageOptions `json:"page,omitempty"`
	// Sort parameters when querying events.
	Sort *CIAppSort `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{}
}

CIAppPipelineEventsRequest The request for a pipelines search.

func NewCIAppPipelineEventsRequest ¶ added in v2.5.0

func NewCIAppPipelineEventsRequest() *CIAppPipelineEventsRequest

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

func NewCIAppPipelineEventsRequestWithDefaults ¶ added in v2.5.0

func NewCIAppPipelineEventsRequestWithDefaults() *CIAppPipelineEventsRequest

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

func (*CIAppPipelineEventsRequest) GetFilter ¶ added in v2.5.0

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

func (*CIAppPipelineEventsRequest) GetFilterOk ¶ added in v2.5.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 (*CIAppPipelineEventsRequest) GetOptions ¶ added in v2.5.0

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

func (*CIAppPipelineEventsRequest) GetOptionsOk ¶ added in v2.5.0

func (o *CIAppPipelineEventsRequest) GetOptionsOk() (*CIAppQueryOptions, 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 (*CIAppPipelineEventsRequest) GetPage ¶ added in v2.5.0

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

func (*CIAppPipelineEventsRequest) GetPageOk ¶ added in v2.5.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 (*CIAppPipelineEventsRequest) GetSort ¶ added in v2.5.0

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

func (*CIAppPipelineEventsRequest) GetSortOk ¶ added in v2.5.0

func (o *CIAppPipelineEventsRequest) GetSortOk() (*CIAppSort, 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 (*CIAppPipelineEventsRequest) HasFilter ¶ added in v2.5.0

func (o *CIAppPipelineEventsRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*CIAppPipelineEventsRequest) HasOptions ¶ added in v2.5.0

func (o *CIAppPipelineEventsRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*CIAppPipelineEventsRequest) HasPage ¶ added in v2.5.0

func (o *CIAppPipelineEventsRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*CIAppPipelineEventsRequest) HasSort ¶ added in v2.5.0

func (o *CIAppPipelineEventsRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (CIAppPipelineEventsRequest) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppPipelineEventsRequest) SetFilter ¶ added in v2.5.0

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

func (*CIAppPipelineEventsRequest) SetOptions ¶ added in v2.5.0

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

func (*CIAppPipelineEventsRequest) SetPage ¶ added in v2.5.0

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

func (*CIAppPipelineEventsRequest) SetSort ¶ added in v2.5.0

func (o *CIAppPipelineEventsRequest) SetSort(v CIAppSort)

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

func (*CIAppPipelineEventsRequest) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppPipelineEventsResponse ¶ added in v2.5.0

type CIAppPipelineEventsResponse struct {
	// Array of events matching the request.
	Data []CIAppPipelineEvent `json:"data,omitempty"`
	// Links attributes.
	Links *CIAppResponseLinks `json:"links,omitempty"`
	// The metadata associated with a request.
	Meta *CIAppResponseMetadataWithPagination `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{}
}

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

func NewCIAppPipelineEventsResponse ¶ added in v2.5.0

func NewCIAppPipelineEventsResponse() *CIAppPipelineEventsResponse

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

func NewCIAppPipelineEventsResponseWithDefaults ¶ added in v2.5.0

func NewCIAppPipelineEventsResponseWithDefaults() *CIAppPipelineEventsResponse

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

func (*CIAppPipelineEventsResponse) GetData ¶ added in v2.5.0

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

func (*CIAppPipelineEventsResponse) GetDataOk ¶ added in v2.5.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 (*CIAppPipelineEventsResponse) GetLinksOk ¶ added in v2.5.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 (*CIAppPipelineEventsResponse) GetMeta ¶ added in v2.5.0

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

func (*CIAppPipelineEventsResponse) GetMetaOk ¶ added in v2.5.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 (*CIAppPipelineEventsResponse) HasData ¶ added in v2.5.0

func (o *CIAppPipelineEventsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *CIAppPipelineEventsResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*CIAppPipelineEventsResponse) HasMeta ¶ added in v2.5.0

func (o *CIAppPipelineEventsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (CIAppPipelineEventsResponse) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppPipelineEventsResponse) SetData ¶ added in v2.5.0

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

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

func (*CIAppPipelineEventsResponse) SetMeta ¶ added in v2.5.0

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

func (*CIAppPipelineEventsResponse) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppPipelinesAggregateRequest ¶ added in v2.5.0

type CIAppPipelinesAggregateRequest struct {
	// The list of metrics or timeseries to compute for the retrieved buckets.
	Compute []CIAppCompute `json:"compute,omitempty"`
	// The search and filter query settings.
	Filter *CIAppPipelinesQueryFilter `json:"filter,omitempty"`
	// The rules for the group-by.
	GroupBy []CIAppPipelinesGroupBy `json:"group_by,omitempty"`
	// Global query options that are used during the query.
	// Only supply timezone or time offset, not both. Otherwise, the query fails.
	Options *CIAppQueryOptions `json:"options,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{}
}

CIAppPipelinesAggregateRequest The object sent with the request to retrieve aggregation buckets of pipeline events from your organization.

func NewCIAppPipelinesAggregateRequest ¶ added in v2.5.0

func NewCIAppPipelinesAggregateRequest() *CIAppPipelinesAggregateRequest

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

func NewCIAppPipelinesAggregateRequestWithDefaults ¶ added in v2.5.0

func NewCIAppPipelinesAggregateRequestWithDefaults() *CIAppPipelinesAggregateRequest

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

func (*CIAppPipelinesAggregateRequest) GetCompute ¶ added in v2.5.0

func (o *CIAppPipelinesAggregateRequest) GetCompute() []CIAppCompute

GetCompute returns the Compute field value if set, zero value otherwise.

func (*CIAppPipelinesAggregateRequest) GetComputeOk ¶ added in v2.5.0

func (o *CIAppPipelinesAggregateRequest) GetComputeOk() (*[]CIAppCompute, 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 (*CIAppPipelinesAggregateRequest) GetFilter ¶ added in v2.5.0

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

func (*CIAppPipelinesAggregateRequest) GetFilterOk ¶ added in v2.5.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 (*CIAppPipelinesAggregateRequest) GetGroupBy ¶ added in v2.5.0

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*CIAppPipelinesAggregateRequest) GetGroupByOk ¶ added in v2.5.0

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 (*CIAppPipelinesAggregateRequest) GetOptions ¶ added in v2.5.0

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

func (*CIAppPipelinesAggregateRequest) GetOptionsOk ¶ added in v2.5.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 (*CIAppPipelinesAggregateRequest) HasCompute ¶ added in v2.5.0

func (o *CIAppPipelinesAggregateRequest) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*CIAppPipelinesAggregateRequest) HasFilter ¶ added in v2.5.0

func (o *CIAppPipelinesAggregateRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*CIAppPipelinesAggregateRequest) HasGroupBy ¶ added in v2.5.0

func (o *CIAppPipelinesAggregateRequest) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*CIAppPipelinesAggregateRequest) HasOptions ¶ added in v2.5.0

func (o *CIAppPipelinesAggregateRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (CIAppPipelinesAggregateRequest) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppPipelinesAggregateRequest) SetCompute ¶ added in v2.5.0

func (o *CIAppPipelinesAggregateRequest) SetCompute(v []CIAppCompute)

SetCompute gets a reference to the given []CIAppCompute and assigns it to the Compute field.

func (*CIAppPipelinesAggregateRequest) SetFilter ¶ added in v2.5.0

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

func (*CIAppPipelinesAggregateRequest) SetGroupBy ¶ added in v2.5.0

SetGroupBy gets a reference to the given []CIAppPipelinesGroupBy and assigns it to the GroupBy field.

func (*CIAppPipelinesAggregateRequest) SetOptions ¶ added in v2.5.0

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

func (*CIAppPipelinesAggregateRequest) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppPipelinesAggregationBucketsResponse ¶ added in v2.5.0

type CIAppPipelinesAggregationBucketsResponse struct {
	// The list of matching buckets, one item per bucket.
	Buckets []CIAppPipelinesBucketResponse `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{}
}

CIAppPipelinesAggregationBucketsResponse The query results.

func NewCIAppPipelinesAggregationBucketsResponse ¶ added in v2.5.0

func NewCIAppPipelinesAggregationBucketsResponse() *CIAppPipelinesAggregationBucketsResponse

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

func NewCIAppPipelinesAggregationBucketsResponseWithDefaults ¶ added in v2.5.0

func NewCIAppPipelinesAggregationBucketsResponseWithDefaults() *CIAppPipelinesAggregationBucketsResponse

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

func (*CIAppPipelinesAggregationBucketsResponse) GetBuckets ¶ added in v2.5.0

GetBuckets returns the Buckets field value if set, zero value otherwise.

func (*CIAppPipelinesAggregationBucketsResponse) GetBucketsOk ¶ added in v2.5.0

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 (*CIAppPipelinesAggregationBucketsResponse) HasBuckets ¶ added in v2.5.0

HasBuckets returns a boolean if a field has been set.

func (CIAppPipelinesAggregationBucketsResponse) MarshalJSON ¶ added in v2.5.0

MarshalJSON serializes the struct using spec logic.

func (*CIAppPipelinesAggregationBucketsResponse) SetBuckets ¶ added in v2.5.0

SetBuckets gets a reference to the given []CIAppPipelinesBucketResponse and assigns it to the Buckets field.

func (*CIAppPipelinesAggregationBucketsResponse) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppPipelinesAnalyticsAggregateResponse ¶ added in v2.5.0

type CIAppPipelinesAnalyticsAggregateResponse struct {
	// The query results.
	Data *CIAppPipelinesAggregationBucketsResponse `json:"data,omitempty"`
	// Links attributes.
	Links *CIAppResponseLinks `json:"links,omitempty"`
	// The metadata associated with a request.
	Meta *CIAppResponseMetadata `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{}
}

CIAppPipelinesAnalyticsAggregateResponse The response object for the pipeline events aggregate API endpoint.

func NewCIAppPipelinesAnalyticsAggregateResponse ¶ added in v2.5.0

func NewCIAppPipelinesAnalyticsAggregateResponse() *CIAppPipelinesAnalyticsAggregateResponse

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

func NewCIAppPipelinesAnalyticsAggregateResponseWithDefaults ¶ added in v2.5.0

func NewCIAppPipelinesAnalyticsAggregateResponseWithDefaults() *CIAppPipelinesAnalyticsAggregateResponse

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

func (*CIAppPipelinesAnalyticsAggregateResponse) GetData ¶ added in v2.5.0

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

func (*CIAppPipelinesAnalyticsAggregateResponse) GetDataOk ¶ added in v2.5.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 (*CIAppPipelinesAnalyticsAggregateResponse) GetLinksOk ¶ added in v2.5.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 (*CIAppPipelinesAnalyticsAggregateResponse) GetMeta ¶ added in v2.5.0

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

func (*CIAppPipelinesAnalyticsAggregateResponse) GetMetaOk ¶ added in v2.5.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 (*CIAppPipelinesAnalyticsAggregateResponse) HasData ¶ added in v2.5.0

HasData returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (*CIAppPipelinesAnalyticsAggregateResponse) HasMeta ¶ added in v2.5.0

HasMeta returns a boolean if a field has been set.

func (CIAppPipelinesAnalyticsAggregateResponse) MarshalJSON ¶ added in v2.5.0

MarshalJSON serializes the struct using spec logic.

func (*CIAppPipelinesAnalyticsAggregateResponse) SetData ¶ added in v2.5.0

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

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

func (*CIAppPipelinesAnalyticsAggregateResponse) SetMeta ¶ added in v2.5.0

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

func (*CIAppPipelinesAnalyticsAggregateResponse) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppPipelinesBucketResponse ¶ added in v2.5.0

type CIAppPipelinesBucketResponse struct {
	// The key-value pairs for each group-by.
	By map[string]interface{} `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]CIAppAggregateBucketValue `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{}
}

CIAppPipelinesBucketResponse Bucket values.

func NewCIAppPipelinesBucketResponse ¶ added in v2.5.0

func NewCIAppPipelinesBucketResponse() *CIAppPipelinesBucketResponse

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

func NewCIAppPipelinesBucketResponseWithDefaults ¶ added in v2.5.0

func NewCIAppPipelinesBucketResponseWithDefaults() *CIAppPipelinesBucketResponse

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

func (*CIAppPipelinesBucketResponse) GetBy ¶ added in v2.5.0

func (o *CIAppPipelinesBucketResponse) GetBy() map[string]interface{}

GetBy returns the By field value if set, zero value otherwise.

func (*CIAppPipelinesBucketResponse) GetByOk ¶ added in v2.5.0

func (o *CIAppPipelinesBucketResponse) GetByOk() (*map[string]interface{}, 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 (*CIAppPipelinesBucketResponse) GetComputes ¶ added in v2.5.0

GetComputes returns the Computes field value if set, zero value otherwise.

func (*CIAppPipelinesBucketResponse) GetComputesOk ¶ added in v2.5.0

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 (*CIAppPipelinesBucketResponse) HasBy ¶ added in v2.5.0

HasBy returns a boolean if a field has been set.

func (*CIAppPipelinesBucketResponse) HasComputes ¶ added in v2.5.0

func (o *CIAppPipelinesBucketResponse) HasComputes() bool

HasComputes returns a boolean if a field has been set.

func (CIAppPipelinesBucketResponse) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppPipelinesBucketResponse) SetBy ¶ added in v2.5.0

func (o *CIAppPipelinesBucketResponse) SetBy(v map[string]interface{})

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

func (*CIAppPipelinesBucketResponse) SetComputes ¶ added in v2.5.0

SetComputes gets a reference to the given map[string]CIAppAggregateBucketValue and assigns it to the Computes field.

func (*CIAppPipelinesBucketResponse) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppPipelinesGroupBy ¶ added in v2.5.0

type CIAppPipelinesGroupBy struct {
	// The name of the facet to use (required).
	Facet string `json:"facet"`
	// Used to perform a histogram computation (only for measure facets).
	// At most, 100 buckets are allowed, the number of buckets is `(max - min)/interval`.
	Histogram *CIAppGroupByHistogram `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 *CIAppGroupByMissing `json:"missing,omitempty"`
	// A sort rule.
	Sort *CIAppAggregateSort `json:"sort,omitempty"`
	// A resulting object to put the given computes in over all the matching records.
	Total *CIAppGroupByTotal `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{}
}

CIAppPipelinesGroupBy A group-by rule.

func NewCIAppPipelinesGroupBy ¶ added in v2.5.0

func NewCIAppPipelinesGroupBy(facet string) *CIAppPipelinesGroupBy

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

func NewCIAppPipelinesGroupByWithDefaults ¶ added in v2.5.0

func NewCIAppPipelinesGroupByWithDefaults() *CIAppPipelinesGroupBy

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

func (*CIAppPipelinesGroupBy) GetFacet ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) GetFacet() string

GetFacet returns the Facet field value.

func (*CIAppPipelinesGroupBy) GetFacetOk ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) GetFacetOk() (*string, bool)

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

func (*CIAppPipelinesGroupBy) GetHistogram ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) GetHistogram() CIAppGroupByHistogram

GetHistogram returns the Histogram field value if set, zero value otherwise.

func (*CIAppPipelinesGroupBy) GetHistogramOk ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) GetHistogramOk() (*CIAppGroupByHistogram, 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 (*CIAppPipelinesGroupBy) GetLimit ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) GetLimit() int64

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

func (*CIAppPipelinesGroupBy) GetLimitOk ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) 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 (*CIAppPipelinesGroupBy) GetMissing ¶ added in v2.5.0

GetMissing returns the Missing field value if set, zero value otherwise.

func (*CIAppPipelinesGroupBy) GetMissingOk ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) GetMissingOk() (*CIAppGroupByMissing, 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 (*CIAppPipelinesGroupBy) GetSort ¶ added in v2.5.0

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

func (*CIAppPipelinesGroupBy) GetSortOk ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) GetSortOk() (*CIAppAggregateSort, 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 (*CIAppPipelinesGroupBy) GetTotal ¶ added in v2.5.0

GetTotal returns the Total field value if set, zero value otherwise.

func (*CIAppPipelinesGroupBy) GetTotalOk ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) GetTotalOk() (*CIAppGroupByTotal, 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 (*CIAppPipelinesGroupBy) HasHistogram ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) HasHistogram() bool

HasHistogram returns a boolean if a field has been set.

func (*CIAppPipelinesGroupBy) HasLimit ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*CIAppPipelinesGroupBy) HasMissing ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) HasMissing() bool

HasMissing returns a boolean if a field has been set.

func (*CIAppPipelinesGroupBy) HasSort ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*CIAppPipelinesGroupBy) HasTotal ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (CIAppPipelinesGroupBy) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppPipelinesGroupBy) SetFacet ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) SetFacet(v string)

SetFacet sets field value.

func (*CIAppPipelinesGroupBy) SetHistogram ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) SetHistogram(v CIAppGroupByHistogram)

SetHistogram gets a reference to the given CIAppGroupByHistogram and assigns it to the Histogram field.

func (*CIAppPipelinesGroupBy) SetLimit ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) SetLimit(v int64)

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

func (*CIAppPipelinesGroupBy) SetMissing ¶ added in v2.5.0

func (o *CIAppPipelinesGroupBy) SetMissing(v CIAppGroupByMissing)

SetMissing gets a reference to the given CIAppGroupByMissing and assigns it to the Missing field.

func (*CIAppPipelinesGroupBy) SetSort ¶ added in v2.5.0

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

func (*CIAppPipelinesGroupBy) SetTotal ¶ added in v2.5.0

SetTotal gets a reference to the given CIAppGroupByTotal and assigns it to the Total field.

func (*CIAppPipelinesGroupBy) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppPipelinesQueryFilter ¶ added in v2.5.0

type CIAppPipelinesQueryFilter 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 Log 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{}
}

CIAppPipelinesQueryFilter The search and filter query settings.

func NewCIAppPipelinesQueryFilter ¶ added in v2.5.0

func NewCIAppPipelinesQueryFilter() *CIAppPipelinesQueryFilter

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

func NewCIAppPipelinesQueryFilterWithDefaults ¶ added in v2.5.0

func NewCIAppPipelinesQueryFilterWithDefaults() *CIAppPipelinesQueryFilter

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

func (*CIAppPipelinesQueryFilter) GetFrom ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) GetFrom() string

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

func (*CIAppPipelinesQueryFilter) GetFromOk ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) 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 (*CIAppPipelinesQueryFilter) GetQuery ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) GetQuery() string

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

func (*CIAppPipelinesQueryFilter) GetQueryOk ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) 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 (*CIAppPipelinesQueryFilter) GetTo ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) GetTo() string

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

func (*CIAppPipelinesQueryFilter) GetToOk ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) 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 (*CIAppPipelinesQueryFilter) HasFrom ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*CIAppPipelinesQueryFilter) HasQuery ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*CIAppPipelinesQueryFilter) HasTo ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (CIAppPipelinesQueryFilter) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppPipelinesQueryFilter) SetFrom ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) SetFrom(v string)

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

func (*CIAppPipelinesQueryFilter) SetQuery ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) SetQuery(v string)

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

func (*CIAppPipelinesQueryFilter) SetTo ¶ added in v2.5.0

func (o *CIAppPipelinesQueryFilter) SetTo(v string)

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

func (*CIAppPipelinesQueryFilter) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppQueryOptions ¶ added in v2.5.0

type CIAppQueryOptions struct {
	// The time offset (in seconds) to apply to the query.
	TimeOffset *int64 `json:"time_offset,omitempty"`
	// The timezone can be specified as GMT, UTC, an offset from UTC (like UTC+1), or as a Timezone Database identifier (like America/New_York).
	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{}
}

CIAppQueryOptions Global query options that are used during the query. Only supply timezone or time offset, not both. Otherwise, the query fails.

func NewCIAppQueryOptions ¶ added in v2.5.0

func NewCIAppQueryOptions() *CIAppQueryOptions

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

func NewCIAppQueryOptionsWithDefaults ¶ added in v2.5.0

func NewCIAppQueryOptionsWithDefaults() *CIAppQueryOptions

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

func (*CIAppQueryOptions) GetTimeOffset ¶ added in v2.5.0

func (o *CIAppQueryOptions) GetTimeOffset() int64

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

func (*CIAppQueryOptions) GetTimeOffsetOk ¶ added in v2.5.0

func (o *CIAppQueryOptions) 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 (*CIAppQueryOptions) GetTimezone ¶ added in v2.5.0

func (o *CIAppQueryOptions) GetTimezone() string

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

func (*CIAppQueryOptions) GetTimezoneOk ¶ added in v2.5.0

func (o *CIAppQueryOptions) 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 (*CIAppQueryOptions) HasTimeOffset ¶ added in v2.5.0

func (o *CIAppQueryOptions) HasTimeOffset() bool

HasTimeOffset returns a boolean if a field has been set.

func (*CIAppQueryOptions) HasTimezone ¶ added in v2.5.0

func (o *CIAppQueryOptions) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (CIAppQueryOptions) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppQueryOptions) SetTimeOffset ¶ added in v2.5.0

func (o *CIAppQueryOptions) SetTimeOffset(v int64)

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

func (*CIAppQueryOptions) SetTimezone ¶ added in v2.5.0

func (o *CIAppQueryOptions) SetTimezone(v string)

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

func (*CIAppQueryOptions) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppQueryPageOptions ¶ added in v2.5.0

type CIAppQueryPageOptions 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{}
}

CIAppQueryPageOptions Paging attributes for listing events.

func NewCIAppQueryPageOptions ¶ added in v2.5.0

func NewCIAppQueryPageOptions() *CIAppQueryPageOptions

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

func NewCIAppQueryPageOptionsWithDefaults ¶ added in v2.5.0

func NewCIAppQueryPageOptionsWithDefaults() *CIAppQueryPageOptions

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

func (*CIAppQueryPageOptions) GetCursor ¶ added in v2.5.0

func (o *CIAppQueryPageOptions) GetCursor() string

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

func (*CIAppQueryPageOptions) GetCursorOk ¶ added in v2.5.0

func (o *CIAppQueryPageOptions) 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 (*CIAppQueryPageOptions) GetLimit ¶ added in v2.5.0

func (o *CIAppQueryPageOptions) GetLimit() int32

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

func (*CIAppQueryPageOptions) GetLimitOk ¶ added in v2.5.0

func (o *CIAppQueryPageOptions) 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 (*CIAppQueryPageOptions) HasCursor ¶ added in v2.5.0

func (o *CIAppQueryPageOptions) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*CIAppQueryPageOptions) HasLimit ¶ added in v2.5.0

func (o *CIAppQueryPageOptions) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (CIAppQueryPageOptions) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppQueryPageOptions) SetCursor ¶ added in v2.5.0

func (o *CIAppQueryPageOptions) SetCursor(v string)

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

func (*CIAppQueryPageOptions) SetLimit ¶ added in v2.5.0

func (o *CIAppQueryPageOptions) SetLimit(v int32)

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

func (*CIAppQueryPageOptions) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppResponseLinks struct {
	// Link for the next set of results. 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{}
}

CIAppResponseLinks Links attributes.

func NewCIAppResponseLinks() *CIAppResponseLinks

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

func NewCIAppResponseLinksWithDefaults ¶ added in v2.5.0

func NewCIAppResponseLinksWithDefaults() *CIAppResponseLinks

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

func (*CIAppResponseLinks) GetNext ¶ added in v2.5.0

func (o *CIAppResponseLinks) GetNext() string

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

func (*CIAppResponseLinks) GetNextOk ¶ added in v2.5.0

func (o *CIAppResponseLinks) 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 (*CIAppResponseLinks) HasNext ¶ added in v2.5.0

func (o *CIAppResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (CIAppResponseLinks) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppResponseLinks) SetNext ¶ added in v2.5.0

func (o *CIAppResponseLinks) SetNext(v string)

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

func (*CIAppResponseLinks) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppResponseMetadata ¶ added in v2.5.0

type CIAppResponseMetadata struct {
	// The time elapsed in milliseconds.
	Elapsed *int64 `json:"elapsed,omitempty"`
	// The identifier of the request.
	RequestId *string `json:"request_id,omitempty"`
	// The status of the response.
	Status *CIAppResponseStatus `json:"status,omitempty"`
	// A list of warnings (non-fatal errors) encountered. Partial results may return if
	// warnings are present in the response.
	Warnings []CIAppWarning `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{}
}

CIAppResponseMetadata The metadata associated with a request.

func NewCIAppResponseMetadata ¶ added in v2.5.0

func NewCIAppResponseMetadata() *CIAppResponseMetadata

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

func NewCIAppResponseMetadataWithDefaults ¶ added in v2.5.0

func NewCIAppResponseMetadataWithDefaults() *CIAppResponseMetadata

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

func (*CIAppResponseMetadata) GetElapsed ¶ added in v2.5.0

func (o *CIAppResponseMetadata) GetElapsed() int64

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

func (*CIAppResponseMetadata) GetElapsedOk ¶ added in v2.5.0

func (o *CIAppResponseMetadata) 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 (*CIAppResponseMetadata) GetRequestId ¶ added in v2.5.0

func (o *CIAppResponseMetadata) GetRequestId() string

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

func (*CIAppResponseMetadata) GetRequestIdOk ¶ added in v2.5.0

func (o *CIAppResponseMetadata) 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 (*CIAppResponseMetadata) GetStatus ¶ added in v2.5.0

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

func (*CIAppResponseMetadata) GetStatusOk ¶ added in v2.5.0

func (o *CIAppResponseMetadata) GetStatusOk() (*CIAppResponseStatus, 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 (*CIAppResponseMetadata) GetWarnings ¶ added in v2.5.0

func (o *CIAppResponseMetadata) GetWarnings() []CIAppWarning

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

func (*CIAppResponseMetadata) GetWarningsOk ¶ added in v2.5.0

func (o *CIAppResponseMetadata) GetWarningsOk() (*[]CIAppWarning, 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 (*CIAppResponseMetadata) HasElapsed ¶ added in v2.5.0

func (o *CIAppResponseMetadata) HasElapsed() bool

HasElapsed returns a boolean if a field has been set.

func (*CIAppResponseMetadata) HasRequestId ¶ added in v2.5.0

func (o *CIAppResponseMetadata) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*CIAppResponseMetadata) HasStatus ¶ added in v2.5.0

func (o *CIAppResponseMetadata) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CIAppResponseMetadata) HasWarnings ¶ added in v2.5.0

func (o *CIAppResponseMetadata) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (CIAppResponseMetadata) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppResponseMetadata) SetElapsed ¶ added in v2.5.0

func (o *CIAppResponseMetadata) SetElapsed(v int64)

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

func (*CIAppResponseMetadata) SetRequestId ¶ added in v2.5.0

func (o *CIAppResponseMetadata) SetRequestId(v string)

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

func (*CIAppResponseMetadata) SetStatus ¶ added in v2.5.0

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

func (*CIAppResponseMetadata) SetWarnings ¶ added in v2.5.0

func (o *CIAppResponseMetadata) SetWarnings(v []CIAppWarning)

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

func (*CIAppResponseMetadata) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppResponseMetadataWithPagination ¶ added in v2.7.0

type CIAppResponseMetadataWithPagination struct {
	// The time elapsed in milliseconds.
	Elapsed *int64 `json:"elapsed,omitempty"`
	// Paging attributes.
	Page *CIAppResponsePage `json:"page,omitempty"`
	// The identifier of the request.
	RequestId *string `json:"request_id,omitempty"`
	// The status of the response.
	Status *CIAppResponseStatus `json:"status,omitempty"`
	// A list of warnings (non-fatal errors) encountered. Partial results may return if
	// warnings are present in the response.
	Warnings []CIAppWarning `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{}
}

CIAppResponseMetadataWithPagination The metadata associated with a request.

func NewCIAppResponseMetadataWithPagination ¶ added in v2.7.0

func NewCIAppResponseMetadataWithPagination() *CIAppResponseMetadataWithPagination

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

func NewCIAppResponseMetadataWithPaginationWithDefaults ¶ added in v2.7.0

func NewCIAppResponseMetadataWithPaginationWithDefaults() *CIAppResponseMetadataWithPagination

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

func (*CIAppResponseMetadataWithPagination) GetElapsed ¶ added in v2.7.0

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

func (*CIAppResponseMetadataWithPagination) GetElapsedOk ¶ added in v2.7.0

func (o *CIAppResponseMetadataWithPagination) 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 (*CIAppResponseMetadataWithPagination) GetPage ¶ added in v2.7.0

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

func (*CIAppResponseMetadataWithPagination) GetPageOk ¶ added in v2.7.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 (*CIAppResponseMetadataWithPagination) GetRequestId ¶ added in v2.7.0

func (o *CIAppResponseMetadataWithPagination) GetRequestId() string

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

func (*CIAppResponseMetadataWithPagination) GetRequestIdOk ¶ added in v2.7.0

func (o *CIAppResponseMetadataWithPagination) 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 (*CIAppResponseMetadataWithPagination) GetStatus ¶ added in v2.7.0

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

func (*CIAppResponseMetadataWithPagination) GetStatusOk ¶ added in v2.7.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 (*CIAppResponseMetadataWithPagination) GetWarnings ¶ added in v2.7.0

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

func (*CIAppResponseMetadataWithPagination) GetWarningsOk ¶ added in v2.7.0

func (o *CIAppResponseMetadataWithPagination) GetWarningsOk() (*[]CIAppWarning, 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 (*CIAppResponseMetadataWithPagination) HasElapsed ¶ added in v2.7.0

func (o *CIAppResponseMetadataWithPagination) HasElapsed() bool

HasElapsed returns a boolean if a field has been set.

func (*CIAppResponseMetadataWithPagination) HasPage ¶ added in v2.7.0

HasPage returns a boolean if a field has been set.

func (*CIAppResponseMetadataWithPagination) HasRequestId ¶ added in v2.7.0

func (o *CIAppResponseMetadataWithPagination) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*CIAppResponseMetadataWithPagination) HasStatus ¶ added in v2.7.0

HasStatus returns a boolean if a field has been set.

func (*CIAppResponseMetadataWithPagination) HasWarnings ¶ added in v2.7.0

func (o *CIAppResponseMetadataWithPagination) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (CIAppResponseMetadataWithPagination) MarshalJSON ¶ added in v2.7.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppResponseMetadataWithPagination) SetElapsed ¶ added in v2.7.0

func (o *CIAppResponseMetadataWithPagination) SetElapsed(v int64)

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

func (*CIAppResponseMetadataWithPagination) SetPage ¶ added in v2.7.0

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

func (*CIAppResponseMetadataWithPagination) SetRequestId ¶ added in v2.7.0

func (o *CIAppResponseMetadataWithPagination) SetRequestId(v string)

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

func (*CIAppResponseMetadataWithPagination) SetStatus ¶ added in v2.7.0

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

func (*CIAppResponseMetadataWithPagination) SetWarnings ¶ added in v2.7.0

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

func (*CIAppResponseMetadataWithPagination) UnmarshalJSON ¶ added in v2.7.0

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

UnmarshalJSON deserializes the given payload.

type CIAppResponsePage ¶ added in v2.5.0

type CIAppResponsePage 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{}
}

CIAppResponsePage Paging attributes.

func NewCIAppResponsePage ¶ added in v2.5.0

func NewCIAppResponsePage() *CIAppResponsePage

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

func NewCIAppResponsePageWithDefaults ¶ added in v2.5.0

func NewCIAppResponsePageWithDefaults() *CIAppResponsePage

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

func (*CIAppResponsePage) GetAfter ¶ added in v2.5.0

func (o *CIAppResponsePage) GetAfter() string

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

func (*CIAppResponsePage) GetAfterOk ¶ added in v2.5.0

func (o *CIAppResponsePage) 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 (*CIAppResponsePage) HasAfter ¶ added in v2.5.0

func (o *CIAppResponsePage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (CIAppResponsePage) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppResponsePage) SetAfter ¶ added in v2.5.0

func (o *CIAppResponsePage) SetAfter(v string)

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

func (*CIAppResponsePage) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppResponseStatus ¶ added in v2.5.0

type CIAppResponseStatus string

CIAppResponseStatus The status of the response.

const (
	CIAPPRESPONSESTATUS_DONE    CIAppResponseStatus = "done"
	CIAPPRESPONSESTATUS_TIMEOUT CIAppResponseStatus = "timeout"
)

List of CIAppResponseStatus.

func NewCIAppResponseStatusFromValue ¶ added in v2.5.0

func NewCIAppResponseStatusFromValue(v string) (*CIAppResponseStatus, error)

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

func (*CIAppResponseStatus) GetAllowedValues ¶ added in v2.5.0

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

GetAllowedValues reeturns the list of possible values.

func (CIAppResponseStatus) IsValid ¶ added in v2.5.0

func (v CIAppResponseStatus) IsValid() bool

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

func (CIAppResponseStatus) Ptr ¶ added in v2.5.0

Ptr returns reference to CIAppResponseStatus value.

func (*CIAppResponseStatus) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppSort ¶ added in v2.5.0

type CIAppSort string

CIAppSort Sort parameters when querying events.

const (
	CIAPPSORT_TIMESTAMP_ASCENDING  CIAppSort = "timestamp"
	CIAPPSORT_TIMESTAMP_DESCENDING CIAppSort = "-timestamp"
)

List of CIAppSort.

func NewCIAppSortFromValue ¶ added in v2.5.0

func NewCIAppSortFromValue(v string) (*CIAppSort, error)

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

func (*CIAppSort) GetAllowedValues ¶ added in v2.5.0

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

GetAllowedValues reeturns the list of possible values.

func (CIAppSort) IsValid ¶ added in v2.5.0

func (v CIAppSort) IsValid() bool

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

func (CIAppSort) Ptr ¶ added in v2.5.0

func (v CIAppSort) Ptr() *CIAppSort

Ptr returns reference to CIAppSort value.

func (*CIAppSort) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppSortOrder ¶ added in v2.5.0

type CIAppSortOrder string

CIAppSortOrder The order to use, ascending or descending.

const (
	CIAPPSORTORDER_ASCENDING  CIAppSortOrder = "asc"
	CIAPPSORTORDER_DESCENDING CIAppSortOrder = "desc"
)

List of CIAppSortOrder.

func NewCIAppSortOrderFromValue ¶ added in v2.5.0

func NewCIAppSortOrderFromValue(v string) (*CIAppSortOrder, error)

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

func (*CIAppSortOrder) GetAllowedValues ¶ added in v2.5.0

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

GetAllowedValues reeturns the list of possible values.

func (CIAppSortOrder) IsValid ¶ added in v2.5.0

func (v CIAppSortOrder) IsValid() bool

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

func (CIAppSortOrder) Ptr ¶ added in v2.5.0

func (v CIAppSortOrder) Ptr() *CIAppSortOrder

Ptr returns reference to CIAppSortOrder value.

func (*CIAppSortOrder) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppTestEvent ¶ added in v2.5.0

type CIAppTestEvent struct {
	// JSON object containing all event attributes and their associated values.
	Attributes *CIAppEventAttributes `json:"attributes,omitempty"`
	// Unique ID of the event.
	Id *string `json:"id,omitempty"`
	// Type of the event.
	Type *CIAppTestEventTypeName `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{}
}

CIAppTestEvent Object description of test event after being processed and stored by Datadog.

func NewCIAppTestEvent ¶ added in v2.5.0

func NewCIAppTestEvent() *CIAppTestEvent

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

func NewCIAppTestEventWithDefaults ¶ added in v2.5.0

func NewCIAppTestEventWithDefaults() *CIAppTestEvent

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

func (*CIAppTestEvent) GetAttributes ¶ added in v2.5.0

func (o *CIAppTestEvent) GetAttributes() CIAppEventAttributes

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

func (*CIAppTestEvent) GetAttributesOk ¶ added in v2.5.0

func (o *CIAppTestEvent) GetAttributesOk() (*CIAppEventAttributes, 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 (*CIAppTestEvent) GetId ¶ added in v2.5.0

func (o *CIAppTestEvent) GetId() string

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

func (*CIAppTestEvent) GetIdOk ¶ added in v2.5.0

func (o *CIAppTestEvent) 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 (*CIAppTestEvent) GetType ¶ added in v2.5.0

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

func (*CIAppTestEvent) GetTypeOk ¶ added in v2.5.0

func (o *CIAppTestEvent) GetTypeOk() (*CIAppTestEventTypeName, 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 (*CIAppTestEvent) HasAttributes ¶ added in v2.5.0

func (o *CIAppTestEvent) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CIAppTestEvent) HasId ¶ added in v2.5.0

func (o *CIAppTestEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*CIAppTestEvent) HasType ¶ added in v2.5.0

func (o *CIAppTestEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (CIAppTestEvent) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppTestEvent) SetAttributes ¶ added in v2.5.0

func (o *CIAppTestEvent) SetAttributes(v CIAppEventAttributes)

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

func (*CIAppTestEvent) SetId ¶ added in v2.5.0

func (o *CIAppTestEvent) SetId(v string)

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

func (*CIAppTestEvent) SetType ¶ added in v2.5.0

func (o *CIAppTestEvent) SetType(v CIAppTestEventTypeName)

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

func (*CIAppTestEvent) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppTestEventTypeName ¶ added in v2.5.0

type CIAppTestEventTypeName string

CIAppTestEventTypeName Type of the event.

const (
	CIAPPTESTEVENTTYPENAME_citest CIAppTestEventTypeName = "citest"
)

List of CIAppTestEventTypeName.

func NewCIAppTestEventTypeNameFromValue ¶ added in v2.5.0

func NewCIAppTestEventTypeNameFromValue(v string) (*CIAppTestEventTypeName, error)

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

func (*CIAppTestEventTypeName) GetAllowedValues ¶ added in v2.5.0

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

GetAllowedValues reeturns the list of possible values.

func (CIAppTestEventTypeName) IsValid ¶ added in v2.5.0

func (v CIAppTestEventTypeName) IsValid() bool

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

func (CIAppTestEventTypeName) Ptr ¶ added in v2.5.0

Ptr returns reference to CIAppTestEventTypeName value.

func (*CIAppTestEventTypeName) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppTestEventsRequest ¶ added in v2.5.0

type CIAppTestEventsRequest struct {
	// The search and filter query settings.
	Filter *CIAppTestsQueryFilter `json:"filter,omitempty"`
	// Global query options that are used during the query.
	// Only supply timezone or time offset, not both. Otherwise, the query fails.
	Options *CIAppQueryOptions `json:"options,omitempty"`
	// Paging attributes for listing events.
	Page *CIAppQueryPageOptions `json:"page,omitempty"`
	// Sort parameters when querying events.
	Sort *CIAppSort `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{}
}

CIAppTestEventsRequest The request for a tests search.

func NewCIAppTestEventsRequest ¶ added in v2.5.0

func NewCIAppTestEventsRequest() *CIAppTestEventsRequest

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

func NewCIAppTestEventsRequestWithDefaults ¶ added in v2.5.0

func NewCIAppTestEventsRequestWithDefaults() *CIAppTestEventsRequest

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

func (*CIAppTestEventsRequest) GetFilter ¶ added in v2.5.0

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

func (*CIAppTestEventsRequest) GetFilterOk ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) GetFilterOk() (*CIAppTestsQueryFilter, 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 (*CIAppTestEventsRequest) GetOptions ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) GetOptions() CIAppQueryOptions

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

func (*CIAppTestEventsRequest) GetOptionsOk ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) GetOptionsOk() (*CIAppQueryOptions, 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 (*CIAppTestEventsRequest) GetPage ¶ added in v2.5.0

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

func (*CIAppTestEventsRequest) GetPageOk ¶ added in v2.5.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 (*CIAppTestEventsRequest) GetSort ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) GetSort() CIAppSort

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

func (*CIAppTestEventsRequest) GetSortOk ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) GetSortOk() (*CIAppSort, 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 (*CIAppTestEventsRequest) HasFilter ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*CIAppTestEventsRequest) HasOptions ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*CIAppTestEventsRequest) HasPage ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*CIAppTestEventsRequest) HasSort ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (CIAppTestEventsRequest) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppTestEventsRequest) SetFilter ¶ added in v2.5.0

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

func (*CIAppTestEventsRequest) SetOptions ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) SetOptions(v CIAppQueryOptions)

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

func (*CIAppTestEventsRequest) SetPage ¶ added in v2.5.0

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

func (*CIAppTestEventsRequest) SetSort ¶ added in v2.5.0

func (o *CIAppTestEventsRequest) SetSort(v CIAppSort)

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

func (*CIAppTestEventsRequest) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppTestEventsResponse ¶ added in v2.5.0

type CIAppTestEventsResponse struct {
	// Array of events matching the request.
	Data []CIAppTestEvent `json:"data,omitempty"`
	// Links attributes.
	Links *CIAppResponseLinks `json:"links,omitempty"`
	// The metadata associated with a request.
	Meta *CIAppResponseMetadataWithPagination `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{}
}

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

func NewCIAppTestEventsResponse ¶ added in v2.5.0

func NewCIAppTestEventsResponse() *CIAppTestEventsResponse

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

func NewCIAppTestEventsResponseWithDefaults ¶ added in v2.5.0

func NewCIAppTestEventsResponseWithDefaults() *CIAppTestEventsResponse

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

func (*CIAppTestEventsResponse) GetData ¶ added in v2.5.0

func (o *CIAppTestEventsResponse) GetData() []CIAppTestEvent

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

func (*CIAppTestEventsResponse) GetDataOk ¶ added in v2.5.0

func (o *CIAppTestEventsResponse) GetDataOk() (*[]CIAppTestEvent, 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 (*CIAppTestEventsResponse) GetLinksOk ¶ added in v2.5.0

func (o *CIAppTestEventsResponse) GetLinksOk() (*CIAppResponseLinks, 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 (*CIAppTestEventsResponse) GetMeta ¶ added in v2.5.0

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

func (*CIAppTestEventsResponse) GetMetaOk ¶ added in v2.5.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 (*CIAppTestEventsResponse) HasData ¶ added in v2.5.0

func (o *CIAppTestEventsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *CIAppTestEventsResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*CIAppTestEventsResponse) HasMeta ¶ added in v2.5.0

func (o *CIAppTestEventsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (CIAppTestEventsResponse) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppTestEventsResponse) SetData ¶ added in v2.5.0

func (o *CIAppTestEventsResponse) SetData(v []CIAppTestEvent)

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

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

func (*CIAppTestEventsResponse) SetMeta ¶ added in v2.5.0

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

func (*CIAppTestEventsResponse) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppTestsAggregateRequest ¶ added in v2.5.0

type CIAppTestsAggregateRequest struct {
	// The list of metrics or timeseries to compute for the retrieved buckets.
	Compute []CIAppCompute `json:"compute,omitempty"`
	// The search and filter query settings.
	Filter *CIAppTestsQueryFilter `json:"filter,omitempty"`
	// The rules for the group-by.
	GroupBy []CIAppTestsGroupBy `json:"group_by,omitempty"`
	// Global query options that are used during the query.
	// Only supply timezone or time offset, not both. Otherwise, the query fails.
	Options *CIAppQueryOptions `json:"options,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{}
}

CIAppTestsAggregateRequest The object sent with the request to retrieve aggregation buckets of test events from your organization.

func NewCIAppTestsAggregateRequest ¶ added in v2.5.0

func NewCIAppTestsAggregateRequest() *CIAppTestsAggregateRequest

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

func NewCIAppTestsAggregateRequestWithDefaults ¶ added in v2.5.0

func NewCIAppTestsAggregateRequestWithDefaults() *CIAppTestsAggregateRequest

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

func (*CIAppTestsAggregateRequest) GetCompute ¶ added in v2.5.0

func (o *CIAppTestsAggregateRequest) GetCompute() []CIAppCompute

GetCompute returns the Compute field value if set, zero value otherwise.

func (*CIAppTestsAggregateRequest) GetComputeOk ¶ added in v2.5.0

func (o *CIAppTestsAggregateRequest) GetComputeOk() (*[]CIAppCompute, 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 (*CIAppTestsAggregateRequest) GetFilter ¶ added in v2.5.0

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

func (*CIAppTestsAggregateRequest) GetFilterOk ¶ added in v2.5.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 (*CIAppTestsAggregateRequest) GetGroupBy ¶ added in v2.5.0

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*CIAppTestsAggregateRequest) GetGroupByOk ¶ added in v2.5.0

func (o *CIAppTestsAggregateRequest) GetGroupByOk() (*[]CIAppTestsGroupBy, 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 (*CIAppTestsAggregateRequest) GetOptions ¶ added in v2.5.0

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

func (*CIAppTestsAggregateRequest) GetOptionsOk ¶ added in v2.5.0

func (o *CIAppTestsAggregateRequest) GetOptionsOk() (*CIAppQueryOptions, 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 (*CIAppTestsAggregateRequest) HasCompute ¶ added in v2.5.0

func (o *CIAppTestsAggregateRequest) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*CIAppTestsAggregateRequest) HasFilter ¶ added in v2.5.0

func (o *CIAppTestsAggregateRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*CIAppTestsAggregateRequest) HasGroupBy ¶ added in v2.5.0

func (o *CIAppTestsAggregateRequest) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*CIAppTestsAggregateRequest) HasOptions ¶ added in v2.5.0

func (o *CIAppTestsAggregateRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (CIAppTestsAggregateRequest) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppTestsAggregateRequest) SetCompute ¶ added in v2.5.0

func (o *CIAppTestsAggregateRequest) SetCompute(v []CIAppCompute)

SetCompute gets a reference to the given []CIAppCompute and assigns it to the Compute field.

func (*CIAppTestsAggregateRequest) SetFilter ¶ added in v2.5.0

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

func (*CIAppTestsAggregateRequest) SetGroupBy ¶ added in v2.5.0

func (o *CIAppTestsAggregateRequest) SetGroupBy(v []CIAppTestsGroupBy)

SetGroupBy gets a reference to the given []CIAppTestsGroupBy and assigns it to the GroupBy field.

func (*CIAppTestsAggregateRequest) SetOptions ¶ added in v2.5.0

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

func (*CIAppTestsAggregateRequest) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppTestsAggregationBucketsResponse ¶ added in v2.5.0

type CIAppTestsAggregationBucketsResponse struct {
	// The list of matching buckets, one item per bucket.
	Buckets []CIAppTestsBucketResponse `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{}
}

CIAppTestsAggregationBucketsResponse The query results.

func NewCIAppTestsAggregationBucketsResponse ¶ added in v2.5.0

func NewCIAppTestsAggregationBucketsResponse() *CIAppTestsAggregationBucketsResponse

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

func NewCIAppTestsAggregationBucketsResponseWithDefaults ¶ added in v2.5.0

func NewCIAppTestsAggregationBucketsResponseWithDefaults() *CIAppTestsAggregationBucketsResponse

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

func (*CIAppTestsAggregationBucketsResponse) GetBuckets ¶ added in v2.5.0

GetBuckets returns the Buckets field value if set, zero value otherwise.

func (*CIAppTestsAggregationBucketsResponse) GetBucketsOk ¶ added in v2.5.0

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 (*CIAppTestsAggregationBucketsResponse) HasBuckets ¶ added in v2.5.0

HasBuckets returns a boolean if a field has been set.

func (CIAppTestsAggregationBucketsResponse) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppTestsAggregationBucketsResponse) SetBuckets ¶ added in v2.5.0

SetBuckets gets a reference to the given []CIAppTestsBucketResponse and assigns it to the Buckets field.

func (*CIAppTestsAggregationBucketsResponse) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppTestsAnalyticsAggregateResponse ¶ added in v2.5.0

type CIAppTestsAnalyticsAggregateResponse struct {
	// The query results.
	Data *CIAppTestsAggregationBucketsResponse `json:"data,omitempty"`
	// Links attributes.
	Links *CIAppResponseLinks `json:"links,omitempty"`
	// The metadata associated with a request.
	Meta *CIAppResponseMetadata `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{}
}

CIAppTestsAnalyticsAggregateResponse The response object for the test events aggregate API endpoint.

func NewCIAppTestsAnalyticsAggregateResponse ¶ added in v2.5.0

func NewCIAppTestsAnalyticsAggregateResponse() *CIAppTestsAnalyticsAggregateResponse

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

func NewCIAppTestsAnalyticsAggregateResponseWithDefaults ¶ added in v2.5.0

func NewCIAppTestsAnalyticsAggregateResponseWithDefaults() *CIAppTestsAnalyticsAggregateResponse

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

func (*CIAppTestsAnalyticsAggregateResponse) GetData ¶ added in v2.5.0

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

func (*CIAppTestsAnalyticsAggregateResponse) GetDataOk ¶ added in v2.5.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 (*CIAppTestsAnalyticsAggregateResponse) GetLinksOk ¶ added in v2.5.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 (*CIAppTestsAnalyticsAggregateResponse) GetMeta ¶ added in v2.5.0

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

func (*CIAppTestsAnalyticsAggregateResponse) GetMetaOk ¶ added in v2.5.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 (*CIAppTestsAnalyticsAggregateResponse) HasData ¶ added in v2.5.0

HasData returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (*CIAppTestsAnalyticsAggregateResponse) HasMeta ¶ added in v2.5.0

HasMeta returns a boolean if a field has been set.

func (CIAppTestsAnalyticsAggregateResponse) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppTestsAnalyticsAggregateResponse) SetData ¶ added in v2.5.0

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

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

func (*CIAppTestsAnalyticsAggregateResponse) SetMeta ¶ added in v2.5.0

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

func (*CIAppTestsAnalyticsAggregateResponse) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppTestsBucketResponse ¶ added in v2.5.0

type CIAppTestsBucketResponse struct {
	// The key-value pairs for each group-by.
	By map[string]interface{} `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]CIAppAggregateBucketValue `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{}
}

CIAppTestsBucketResponse Bucket values.

func NewCIAppTestsBucketResponse ¶ added in v2.5.0

func NewCIAppTestsBucketResponse() *CIAppTestsBucketResponse

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

func NewCIAppTestsBucketResponseWithDefaults ¶ added in v2.5.0

func NewCIAppTestsBucketResponseWithDefaults() *CIAppTestsBucketResponse

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

func (*CIAppTestsBucketResponse) GetBy ¶ added in v2.5.0

func (o *CIAppTestsBucketResponse) GetBy() map[string]interface{}

GetBy returns the By field value if set, zero value otherwise.

func (*CIAppTestsBucketResponse) GetByOk ¶ added in v2.5.0

func (o *CIAppTestsBucketResponse) GetByOk() (*map[string]interface{}, 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 (*CIAppTestsBucketResponse) GetComputes ¶ added in v2.5.0

GetComputes returns the Computes field value if set, zero value otherwise.

func (*CIAppTestsBucketResponse) GetComputesOk ¶ added in v2.5.0

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 (*CIAppTestsBucketResponse) HasBy ¶ added in v2.5.0

func (o *CIAppTestsBucketResponse) HasBy() bool

HasBy returns a boolean if a field has been set.

func (*CIAppTestsBucketResponse) HasComputes ¶ added in v2.5.0

func (o *CIAppTestsBucketResponse) HasComputes() bool

HasComputes returns a boolean if a field has been set.

func (CIAppTestsBucketResponse) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppTestsBucketResponse) SetBy ¶ added in v2.5.0

func (o *CIAppTestsBucketResponse) SetBy(v map[string]interface{})

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

func (*CIAppTestsBucketResponse) SetComputes ¶ added in v2.5.0

SetComputes gets a reference to the given map[string]CIAppAggregateBucketValue and assigns it to the Computes field.

func (*CIAppTestsBucketResponse) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppTestsGroupBy ¶ added in v2.5.0

type CIAppTestsGroupBy struct {
	// The name of the facet to use (required).
	Facet string `json:"facet"`
	// Used to perform a histogram computation (only for measure facets).
	// At most, 100 buckets are allowed, the number of buckets is `(max - min)/interval`.
	Histogram *CIAppGroupByHistogram `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 *CIAppGroupByMissing `json:"missing,omitempty"`
	// A sort rule.
	Sort *CIAppAggregateSort `json:"sort,omitempty"`
	// A resulting object to put the given computes in over all the matching records.
	Total *CIAppGroupByTotal `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{}
}

CIAppTestsGroupBy A group-by rule.

func NewCIAppTestsGroupBy ¶ added in v2.5.0

func NewCIAppTestsGroupBy(facet string) *CIAppTestsGroupBy

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

func NewCIAppTestsGroupByWithDefaults ¶ added in v2.5.0

func NewCIAppTestsGroupByWithDefaults() *CIAppTestsGroupBy

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

func (*CIAppTestsGroupBy) GetFacet ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) GetFacet() string

GetFacet returns the Facet field value.

func (*CIAppTestsGroupBy) GetFacetOk ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) GetFacetOk() (*string, bool)

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

func (*CIAppTestsGroupBy) GetHistogram ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) GetHistogram() CIAppGroupByHistogram

GetHistogram returns the Histogram field value if set, zero value otherwise.

func (*CIAppTestsGroupBy) GetHistogramOk ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) GetHistogramOk() (*CIAppGroupByHistogram, 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 (*CIAppTestsGroupBy) GetLimit ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) GetLimit() int64

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

func (*CIAppTestsGroupBy) GetLimitOk ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) 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 (*CIAppTestsGroupBy) GetMissing ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) GetMissing() CIAppGroupByMissing

GetMissing returns the Missing field value if set, zero value otherwise.

func (*CIAppTestsGroupBy) GetMissingOk ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) GetMissingOk() (*CIAppGroupByMissing, 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 (*CIAppTestsGroupBy) GetSort ¶ added in v2.5.0

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

func (*CIAppTestsGroupBy) GetSortOk ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) GetSortOk() (*CIAppAggregateSort, 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 (*CIAppTestsGroupBy) GetTotal ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) GetTotal() CIAppGroupByTotal

GetTotal returns the Total field value if set, zero value otherwise.

func (*CIAppTestsGroupBy) GetTotalOk ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) GetTotalOk() (*CIAppGroupByTotal, 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 (*CIAppTestsGroupBy) HasHistogram ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) HasHistogram() bool

HasHistogram returns a boolean if a field has been set.

func (*CIAppTestsGroupBy) HasLimit ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*CIAppTestsGroupBy) HasMissing ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) HasMissing() bool

HasMissing returns a boolean if a field has been set.

func (*CIAppTestsGroupBy) HasSort ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*CIAppTestsGroupBy) HasTotal ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (CIAppTestsGroupBy) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppTestsGroupBy) SetFacet ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) SetFacet(v string)

SetFacet sets field value.

func (*CIAppTestsGroupBy) SetHistogram ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) SetHistogram(v CIAppGroupByHistogram)

SetHistogram gets a reference to the given CIAppGroupByHistogram and assigns it to the Histogram field.

func (*CIAppTestsGroupBy) SetLimit ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) SetLimit(v int64)

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

func (*CIAppTestsGroupBy) SetMissing ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) SetMissing(v CIAppGroupByMissing)

SetMissing gets a reference to the given CIAppGroupByMissing and assigns it to the Missing field.

func (*CIAppTestsGroupBy) SetSort ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) SetSort(v CIAppAggregateSort)

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

func (*CIAppTestsGroupBy) SetTotal ¶ added in v2.5.0

func (o *CIAppTestsGroupBy) SetTotal(v CIAppGroupByTotal)

SetTotal gets a reference to the given CIAppGroupByTotal and assigns it to the Total field.

func (*CIAppTestsGroupBy) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppTestsQueryFilter ¶ added in v2.5.0

type CIAppTestsQueryFilter 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 Log 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{}
}

CIAppTestsQueryFilter The search and filter query settings.

func NewCIAppTestsQueryFilter ¶ added in v2.5.0

func NewCIAppTestsQueryFilter() *CIAppTestsQueryFilter

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

func NewCIAppTestsQueryFilterWithDefaults ¶ added in v2.5.0

func NewCIAppTestsQueryFilterWithDefaults() *CIAppTestsQueryFilter

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

func (*CIAppTestsQueryFilter) GetFrom ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) GetFrom() string

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

func (*CIAppTestsQueryFilter) GetFromOk ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) 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 (*CIAppTestsQueryFilter) GetQuery ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) GetQuery() string

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

func (*CIAppTestsQueryFilter) GetQueryOk ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) 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 (*CIAppTestsQueryFilter) GetTo ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) GetTo() string

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

func (*CIAppTestsQueryFilter) GetToOk ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) 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 (*CIAppTestsQueryFilter) HasFrom ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*CIAppTestsQueryFilter) HasQuery ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*CIAppTestsQueryFilter) HasTo ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (CIAppTestsQueryFilter) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppTestsQueryFilter) SetFrom ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) SetFrom(v string)

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

func (*CIAppTestsQueryFilter) SetQuery ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) SetQuery(v string)

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

func (*CIAppTestsQueryFilter) SetTo ¶ added in v2.5.0

func (o *CIAppTestsQueryFilter) SetTo(v string)

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

func (*CIAppTestsQueryFilter) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIAppWarning ¶ added in v2.5.0

type CIAppWarning 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{}
}

CIAppWarning A warning message indicating something that went wrong with the query.

func NewCIAppWarning ¶ added in v2.5.0

func NewCIAppWarning() *CIAppWarning

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

func NewCIAppWarningWithDefaults ¶ added in v2.5.0

func NewCIAppWarningWithDefaults() *CIAppWarning

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

func (*CIAppWarning) GetCode ¶ added in v2.5.0

func (o *CIAppWarning) GetCode() string

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

func (*CIAppWarning) GetCodeOk ¶ added in v2.5.0

func (o *CIAppWarning) 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 (*CIAppWarning) GetDetail ¶ added in v2.5.0

func (o *CIAppWarning) GetDetail() string

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

func (*CIAppWarning) GetDetailOk ¶ added in v2.5.0

func (o *CIAppWarning) 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 (*CIAppWarning) GetTitle ¶ added in v2.5.0

func (o *CIAppWarning) GetTitle() string

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

func (*CIAppWarning) GetTitleOk ¶ added in v2.5.0

func (o *CIAppWarning) 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 (*CIAppWarning) HasCode ¶ added in v2.5.0

func (o *CIAppWarning) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*CIAppWarning) HasDetail ¶ added in v2.5.0

func (o *CIAppWarning) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*CIAppWarning) HasTitle ¶ added in v2.5.0

func (o *CIAppWarning) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (CIAppWarning) MarshalJSON ¶ added in v2.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*CIAppWarning) SetCode ¶ added in v2.5.0

func (o *CIAppWarning) SetCode(v string)

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

func (*CIAppWarning) SetDetail ¶ added in v2.5.0

func (o *CIAppWarning) SetDetail(v string)

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

func (*CIAppWarning) SetTitle ¶ added in v2.5.0

func (o *CIAppWarning) SetTitle(v string)

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

func (*CIAppWarning) UnmarshalJSON ¶ added in v2.5.0

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

UnmarshalJSON deserializes the given payload.

type CIVisibilityPipelinesApi ¶ added in v2.5.0

type CIVisibilityPipelinesApi datadog.Service

CIVisibilityPipelinesApi service type

func NewCIVisibilityPipelinesApi ¶ added in v2.5.0

func NewCIVisibilityPipelinesApi(client *datadog.APIClient) *CIVisibilityPipelinesApi

NewCIVisibilityPipelinesApi Returns NewCIVisibilityPipelinesApi.

func (*CIVisibilityPipelinesApi) AggregateCIAppPipelineEvents ¶ added in v2.5.0

AggregateCIAppPipelineEvents Aggregate pipelines events. The API endpoint to aggregate CI Visibility pipeline events into buckets of computed metrics and timeseries.

func (*CIVisibilityPipelinesApi) ListCIAppPipelineEvents ¶ added in v2.5.0

ListCIAppPipelineEvents Get a list of pipelines events. List endpoint returns CI Visibility pipeline events that match a log search query. [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).

Use this endpoint to see your latest pipeline events.

func (*CIVisibilityPipelinesApi) ListCIAppPipelineEventsWithPagination ¶ added in v2.5.0

func (a *CIVisibilityPipelinesApi) ListCIAppPipelineEventsWithPagination(ctx _context.Context, o ...ListCIAppPipelineEventsOptionalParameters) (<-chan datadog.PaginationResult[CIAppPipelineEvent], func())

ListCIAppPipelineEventsWithPagination provides a paginated version of ListCIAppPipelineEvents returning a channel with all items.

func (*CIVisibilityPipelinesApi) SearchCIAppPipelineEvents ¶ added in v2.5.0

SearchCIAppPipelineEvents Search pipelines events. List endpoint returns CI Visibility pipeline events that match a log search query. [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).

Use this endpoint to build complex events filtering and search.

func (*CIVisibilityPipelinesApi) SearchCIAppPipelineEventsWithPagination ¶ added in v2.5.0

func (a *CIVisibilityPipelinesApi) SearchCIAppPipelineEventsWithPagination(ctx _context.Context, o ...SearchCIAppPipelineEventsOptionalParameters) (<-chan datadog.PaginationResult[CIAppPipelineEvent], func())

SearchCIAppPipelineEventsWithPagination provides a paginated version of SearchCIAppPipelineEvents returning a channel with all items.

type CIVisibilityTestsApi ¶ added in v2.5.0

type CIVisibilityTestsApi datadog.Service

CIVisibilityTestsApi service type

func NewCIVisibilityTestsApi ¶ added in v2.5.0

func NewCIVisibilityTestsApi(client *datadog.APIClient) *CIVisibilityTestsApi

NewCIVisibilityTestsApi Returns NewCIVisibilityTestsApi.

func (*CIVisibilityTestsApi) AggregateCIAppTestEvents ¶ added in v2.5.0

AggregateCIAppTestEvents Aggregate tests events. The API endpoint to aggregate CI Visibility test events into buckets of computed metrics and timeseries.

func (*CIVisibilityTestsApi) ListCIAppTestEvents ¶ added in v2.5.0

ListCIAppTestEvents Get a list of tests events. List endpoint returns CI Visibility test events that match a log search query. [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).

Use this endpoint to see your latest test events.

func (*CIVisibilityTestsApi) ListCIAppTestEventsWithPagination ¶ added in v2.5.0

func (a *CIVisibilityTestsApi) ListCIAppTestEventsWithPagination(ctx _context.Context, o ...ListCIAppTestEventsOptionalParameters) (<-chan datadog.PaginationResult[CIAppTestEvent], func())

ListCIAppTestEventsWithPagination provides a paginated version of ListCIAppTestEvents returning a channel with all items.

func (*CIVisibilityTestsApi) SearchCIAppTestEvents ¶ added in v2.5.0

SearchCIAppTestEvents Search tests events. List endpoint returns CI Visibility test events that match a log search query. [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).

Use this endpoint to build complex events filtering and search.

func (*CIVisibilityTestsApi) SearchCIAppTestEventsWithPagination ¶ added in v2.5.0

func (a *CIVisibilityTestsApi) SearchCIAppTestEventsWithPagination(ctx _context.Context, o ...SearchCIAppTestEventsOptionalParameters) (<-chan datadog.PaginationResult[CIAppTestEvent], func())

SearchCIAppTestEventsWithPagination provides a paginated version of SearchCIAppTestEvents returning a channel with all items.

type ChargebackBreakdown ¶

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 ¶

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 ¶

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 ¶

func (o *ChargebackBreakdown) GetChargeType() string

GetChargeType returns the ChargeType field value if set, zero value otherwise.

func (*ChargebackBreakdown) GetChargeTypeOk ¶

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 ¶

func (o *ChargebackBreakdown) GetCost() float64

GetCost returns the Cost field value if set, zero value otherwise.

func (*ChargebackBreakdown) GetCostOk ¶

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 ¶

func (o *ChargebackBreakdown) GetProductName() string

GetProductName returns the ProductName field value if set, zero value otherwise.

func (*ChargebackBreakdown) GetProductNameOk ¶

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 ¶

func (o *ChargebackBreakdown) HasChargeType() bool

HasChargeType returns a boolean if a field has been set.

func (*ChargebackBreakdown) HasCost ¶

func (o *ChargebackBreakdown) HasCost() bool

HasCost returns a boolean if a field has been set.

func (*ChargebackBreakdown) HasProductName ¶

func (o *ChargebackBreakdown) HasProductName() bool

HasProductName returns a boolean if a field has been set.

func (ChargebackBreakdown) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ChargebackBreakdown) SetChargeType ¶

func (o *ChargebackBreakdown) SetChargeType(v string)

SetChargeType gets a reference to the given string and assigns it to the ChargeType field.

func (*ChargebackBreakdown) SetCost ¶

func (o *ChargebackBreakdown) SetCost(v float64)

SetCost gets a reference to the given float64 and assigns it to the Cost field.

func (*ChargebackBreakdown) SetProductName ¶

func (o *ChargebackBreakdown) SetProductName(v string)

SetProductName gets a reference to the given string and assigns it to the ProductName field.

func (*ChargebackBreakdown) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudConfigurationComplianceRuleOptions ¶ added in v2.6.0

type CloudConfigurationComplianceRuleOptions struct {
	// Whether the rule is a complex one.
	// Must be set to true if `regoRule.resourceTypes` contains more than one item. Defaults to false.
	//
	ComplexRule *bool `json:"complexRule,omitempty"`
	// Rule details.
	RegoRule *CloudConfigurationRegoRule `json:"regoRule,omitempty"`
	// Main resource type to be checked by the rule. It should be specified again in `regoRule.resourceTypes`.
	//
	ResourceType *string `json:"resourceType,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{}
}

CloudConfigurationComplianceRuleOptions Options for cloud_configuration rules. Fields `resourceType` and `regoRule` are mandatory when managing custom `cloud_configuration` rules.

func NewCloudConfigurationComplianceRuleOptions ¶ added in v2.6.0

func NewCloudConfigurationComplianceRuleOptions() *CloudConfigurationComplianceRuleOptions

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

func NewCloudConfigurationComplianceRuleOptionsWithDefaults ¶ added in v2.6.0

func NewCloudConfigurationComplianceRuleOptionsWithDefaults() *CloudConfigurationComplianceRuleOptions

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

func (*CloudConfigurationComplianceRuleOptions) GetComplexRule ¶ added in v2.6.0

func (o *CloudConfigurationComplianceRuleOptions) GetComplexRule() bool

GetComplexRule returns the ComplexRule field value if set, zero value otherwise.

func (*CloudConfigurationComplianceRuleOptions) GetComplexRuleOk ¶ added in v2.6.0

func (o *CloudConfigurationComplianceRuleOptions) GetComplexRuleOk() (*bool, bool)

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

func (*CloudConfigurationComplianceRuleOptions) GetRegoRule ¶ added in v2.6.0

GetRegoRule returns the RegoRule field value if set, zero value otherwise.

func (*CloudConfigurationComplianceRuleOptions) GetRegoRuleOk ¶ added in v2.6.0

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

func (*CloudConfigurationComplianceRuleOptions) GetResourceType ¶ added in v2.6.0

func (o *CloudConfigurationComplianceRuleOptions) GetResourceType() string

GetResourceType returns the ResourceType field value if set, zero value otherwise.

func (*CloudConfigurationComplianceRuleOptions) GetResourceTypeOk ¶ added in v2.6.0

func (o *CloudConfigurationComplianceRuleOptions) GetResourceTypeOk() (*string, bool)

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

func (*CloudConfigurationComplianceRuleOptions) HasComplexRule ¶ added in v2.6.0

func (o *CloudConfigurationComplianceRuleOptions) HasComplexRule() bool

HasComplexRule returns a boolean if a field has been set.

func (*CloudConfigurationComplianceRuleOptions) HasRegoRule ¶ added in v2.6.1

HasRegoRule returns a boolean if a field has been set.

func (*CloudConfigurationComplianceRuleOptions) HasResourceType ¶ added in v2.6.1

func (o *CloudConfigurationComplianceRuleOptions) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

func (CloudConfigurationComplianceRuleOptions) MarshalJSON ¶ added in v2.6.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudConfigurationComplianceRuleOptions) SetComplexRule ¶ added in v2.6.0

func (o *CloudConfigurationComplianceRuleOptions) SetComplexRule(v bool)

SetComplexRule gets a reference to the given bool and assigns it to the ComplexRule field.

func (*CloudConfigurationComplianceRuleOptions) SetRegoRule ¶ added in v2.6.0

SetRegoRule gets a reference to the given CloudConfigurationRegoRule and assigns it to the RegoRule field.

func (*CloudConfigurationComplianceRuleOptions) SetResourceType ¶ added in v2.6.0

func (o *CloudConfigurationComplianceRuleOptions) SetResourceType(v string)

SetResourceType gets a reference to the given string and assigns it to the ResourceType field.

func (*CloudConfigurationComplianceRuleOptions) UnmarshalJSON ¶ added in v2.6.0

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

UnmarshalJSON deserializes the given payload.

type CloudConfigurationRegoRule ¶ added in v2.6.0

type CloudConfigurationRegoRule struct {
	// The policy written in `rego`, see: https://www.openpolicyagent.org/docs/latest/policy-language/
	Policy string `json:"policy"`
	// List of resource types that will be evaluated upon. Must have at least one element.
	ResourceTypes []string `json:"resourceTypes"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

CloudConfigurationRegoRule Rule details.

func NewCloudConfigurationRegoRule ¶ added in v2.6.0

func NewCloudConfigurationRegoRule(policy string, resourceTypes []string) *CloudConfigurationRegoRule

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

func NewCloudConfigurationRegoRuleWithDefaults ¶ added in v2.6.0

func NewCloudConfigurationRegoRuleWithDefaults() *CloudConfigurationRegoRule

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

func (*CloudConfigurationRegoRule) GetPolicy ¶ added in v2.6.0

func (o *CloudConfigurationRegoRule) GetPolicy() string

GetPolicy returns the Policy field value.

func (*CloudConfigurationRegoRule) GetPolicyOk ¶ added in v2.6.0

func (o *CloudConfigurationRegoRule) GetPolicyOk() (*string, bool)

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

func (*CloudConfigurationRegoRule) GetResourceTypes ¶ added in v2.6.0

func (o *CloudConfigurationRegoRule) GetResourceTypes() []string

GetResourceTypes returns the ResourceTypes field value.

func (*CloudConfigurationRegoRule) GetResourceTypesOk ¶ added in v2.6.0

func (o *CloudConfigurationRegoRule) GetResourceTypesOk() (*[]string, bool)

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

func (CloudConfigurationRegoRule) MarshalJSON ¶ added in v2.6.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudConfigurationRegoRule) SetPolicy ¶ added in v2.6.0

func (o *CloudConfigurationRegoRule) SetPolicy(v string)

SetPolicy sets field value.

func (*CloudConfigurationRegoRule) SetResourceTypes ¶ added in v2.6.0

func (o *CloudConfigurationRegoRule) SetResourceTypes(v []string)

SetResourceTypes sets field value.

func (*CloudConfigurationRegoRule) UnmarshalJSON ¶ added in v2.6.0

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

UnmarshalJSON deserializes the given payload.

type CloudConfigurationRuleCaseCreate ¶ added in v2.6.0

type CloudConfigurationRuleCaseCreate struct {
	// 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{}
}

CloudConfigurationRuleCaseCreate Description of signals.

func NewCloudConfigurationRuleCaseCreate ¶ added in v2.6.0

func NewCloudConfigurationRuleCaseCreate(status SecurityMonitoringRuleSeverity) *CloudConfigurationRuleCaseCreate

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

func NewCloudConfigurationRuleCaseCreateWithDefaults ¶ added in v2.6.0

func NewCloudConfigurationRuleCaseCreateWithDefaults() *CloudConfigurationRuleCaseCreate

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

func (*CloudConfigurationRuleCaseCreate) GetNotifications ¶ added in v2.6.0

func (o *CloudConfigurationRuleCaseCreate) GetNotifications() []string

GetNotifications returns the Notifications field value if set, zero value otherwise.

func (*CloudConfigurationRuleCaseCreate) GetNotificationsOk ¶ added in v2.6.0

func (o *CloudConfigurationRuleCaseCreate) 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 (*CloudConfigurationRuleCaseCreate) GetStatus ¶ added in v2.6.0

GetStatus returns the Status field value.

func (*CloudConfigurationRuleCaseCreate) GetStatusOk ¶ added in v2.6.0

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

func (*CloudConfigurationRuleCaseCreate) HasNotifications ¶ added in v2.6.0

func (o *CloudConfigurationRuleCaseCreate) HasNotifications() bool

HasNotifications returns a boolean if a field has been set.

func (CloudConfigurationRuleCaseCreate) MarshalJSON ¶ added in v2.6.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudConfigurationRuleCaseCreate) SetNotifications ¶ added in v2.6.0

func (o *CloudConfigurationRuleCaseCreate) SetNotifications(v []string)

SetNotifications gets a reference to the given []string and assigns it to the Notifications field.

func (*CloudConfigurationRuleCaseCreate) SetStatus ¶ added in v2.6.0

SetStatus sets field value.

func (*CloudConfigurationRuleCaseCreate) UnmarshalJSON ¶ added in v2.6.0

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

UnmarshalJSON deserializes the given payload.

type CloudConfigurationRuleComplianceSignalOptions ¶ added in v2.6.0

type CloudConfigurationRuleComplianceSignalOptions struct {
	// Whether signals will be sent.
	UserActivationStatus *bool `json:"userActivationStatus,omitempty"`
	// Fields to use to group findings by when sending signals.
	UserGroupByFields []string `json:"userGroupByFields,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{}
}

CloudConfigurationRuleComplianceSignalOptions How to generate compliance signals. Useful for cloud_configuration rules only.

func NewCloudConfigurationRuleComplianceSignalOptions ¶ added in v2.6.0

func NewCloudConfigurationRuleComplianceSignalOptions() *CloudConfigurationRuleComplianceSignalOptions

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

func NewCloudConfigurationRuleComplianceSignalOptionsWithDefaults ¶ added in v2.6.0

func NewCloudConfigurationRuleComplianceSignalOptionsWithDefaults() *CloudConfigurationRuleComplianceSignalOptions

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

func (*CloudConfigurationRuleComplianceSignalOptions) GetUserActivationStatus ¶ added in v2.6.0

func (o *CloudConfigurationRuleComplianceSignalOptions) GetUserActivationStatus() bool

GetUserActivationStatus returns the UserActivationStatus field value if set, zero value otherwise.

func (*CloudConfigurationRuleComplianceSignalOptions) GetUserActivationStatusOk ¶ added in v2.6.0

func (o *CloudConfigurationRuleComplianceSignalOptions) GetUserActivationStatusOk() (*bool, bool)

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

func (*CloudConfigurationRuleComplianceSignalOptions) GetUserGroupByFields ¶ added in v2.6.0

func (o *CloudConfigurationRuleComplianceSignalOptions) GetUserGroupByFields() []string

GetUserGroupByFields returns the UserGroupByFields field value if set, zero value otherwise.

func (*CloudConfigurationRuleComplianceSignalOptions) GetUserGroupByFieldsOk ¶ added in v2.6.0

func (o *CloudConfigurationRuleComplianceSignalOptions) GetUserGroupByFieldsOk() (*[]string, bool)

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

func (*CloudConfigurationRuleComplianceSignalOptions) HasUserActivationStatus ¶ added in v2.6.0

func (o *CloudConfigurationRuleComplianceSignalOptions) HasUserActivationStatus() bool

HasUserActivationStatus returns a boolean if a field has been set.

func (*CloudConfigurationRuleComplianceSignalOptions) HasUserGroupByFields ¶ added in v2.6.0

func (o *CloudConfigurationRuleComplianceSignalOptions) HasUserGroupByFields() bool

HasUserGroupByFields returns a boolean if a field has been set.

func (CloudConfigurationRuleComplianceSignalOptions) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the struct using spec logic.

func (*CloudConfigurationRuleComplianceSignalOptions) SetUserActivationStatus ¶ added in v2.6.0

func (o *CloudConfigurationRuleComplianceSignalOptions) SetUserActivationStatus(v bool)

SetUserActivationStatus gets a reference to the given bool and assigns it to the UserActivationStatus field.

func (*CloudConfigurationRuleComplianceSignalOptions) SetUserGroupByFields ¶ added in v2.6.0

func (o *CloudConfigurationRuleComplianceSignalOptions) SetUserGroupByFields(v []string)

SetUserGroupByFields gets a reference to the given []string and assigns it to the UserGroupByFields field.

func (*CloudConfigurationRuleComplianceSignalOptions) UnmarshalJSON ¶ added in v2.6.0

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

UnmarshalJSON deserializes the given payload.

type CloudConfigurationRuleCreatePayload ¶ added in v2.6.0

type CloudConfigurationRuleCreatePayload struct {
	// Description of generated findings and signals (severity and channels to be notified in case of a signal). Must contain exactly one item.
	//
	Cases []CloudConfigurationRuleCaseCreate `json:"cases"`
	// How to generate compliance signals. Useful for cloud_configuration rules only.
	ComplianceSignalOptions CloudConfigurationRuleComplianceSignalOptions `json:"complianceSignalOptions"`
	// Whether the rule is enabled.
	IsEnabled bool `json:"isEnabled"`
	// Message in markdown format for generated findings and signals.
	Message string `json:"message"`
	// The name of the rule.
	Name string `json:"name"`
	// Options on cloud configuration rules.
	Options CloudConfigurationRuleOptions `json:"options"`
	// Tags for generated findings and signals.
	Tags []string `json:"tags,omitempty"`
	// The rule type.
	Type *CloudConfigurationRuleType `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{}
}

CloudConfigurationRuleCreatePayload Create a new cloud configuration rule.

func NewCloudConfigurationRuleCreatePayload ¶ added in v2.6.0

func NewCloudConfigurationRuleCreatePayload(cases []CloudConfigurationRuleCaseCreate, complianceSignalOptions CloudConfigurationRuleComplianceSignalOptions, isEnabled bool, message string, name string, options CloudConfigurationRuleOptions) *CloudConfigurationRuleCreatePayload

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

func NewCloudConfigurationRuleCreatePayloadWithDefaults ¶ added in v2.6.0

func NewCloudConfigurationRuleCreatePayloadWithDefaults() *CloudConfigurationRuleCreatePayload

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

func (*CloudConfigurationRuleCreatePayload) GetCases ¶ added in v2.6.0

GetCases returns the Cases field value.

func (*CloudConfigurationRuleCreatePayload) GetCasesOk ¶ added in v2.6.0

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

func (*CloudConfigurationRuleCreatePayload) GetComplianceSignalOptions ¶ added in v2.6.0

GetComplianceSignalOptions returns the ComplianceSignalOptions field value.

func (*CloudConfigurationRuleCreatePayload) GetComplianceSignalOptionsOk ¶ added in v2.6.0

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

func (*CloudConfigurationRuleCreatePayload) GetIsEnabled ¶ added in v2.6.0

func (o *CloudConfigurationRuleCreatePayload) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value.

func (*CloudConfigurationRuleCreatePayload) GetIsEnabledOk ¶ added in v2.6.0

func (o *CloudConfigurationRuleCreatePayload) GetIsEnabledOk() (*bool, bool)

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

func (*CloudConfigurationRuleCreatePayload) GetMessage ¶ added in v2.6.0

GetMessage returns the Message field value.

func (*CloudConfigurationRuleCreatePayload) GetMessageOk ¶ added in v2.6.0

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

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

func (*CloudConfigurationRuleCreatePayload) GetName ¶ added in v2.6.0

GetName returns the Name field value.

func (*CloudConfigurationRuleCreatePayload) GetNameOk ¶ added in v2.6.0

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

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

func (*CloudConfigurationRuleCreatePayload) GetOptions ¶ added in v2.6.0

GetOptions returns the Options field value.

func (*CloudConfigurationRuleCreatePayload) GetOptionsOk ¶ added in v2.6.0

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

func (*CloudConfigurationRuleCreatePayload) GetTags ¶ added in v2.6.0

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

func (*CloudConfigurationRuleCreatePayload) GetTagsOk ¶ added in v2.6.0

func (o *CloudConfigurationRuleCreatePayload) 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 (*CloudConfigurationRuleCreatePayload) GetType ¶ added in v2.6.0

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

func (*CloudConfigurationRuleCreatePayload) GetTypeOk ¶ added in v2.6.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 (*CloudConfigurationRuleCreatePayload) HasTags ¶ added in v2.6.0

HasTags returns a boolean if a field has been set.

func (*CloudConfigurationRuleCreatePayload) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (CloudConfigurationRuleCreatePayload) MarshalJSON ¶ added in v2.6.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudConfigurationRuleCreatePayload) SetCases ¶ added in v2.6.0

SetCases sets field value.

func (*CloudConfigurationRuleCreatePayload) SetComplianceSignalOptions ¶ added in v2.6.0

SetComplianceSignalOptions sets field value.

func (*CloudConfigurationRuleCreatePayload) SetIsEnabled ¶ added in v2.6.0

func (o *CloudConfigurationRuleCreatePayload) SetIsEnabled(v bool)

SetIsEnabled sets field value.

func (*CloudConfigurationRuleCreatePayload) SetMessage ¶ added in v2.6.0

SetMessage sets field value.

func (*CloudConfigurationRuleCreatePayload) SetName ¶ added in v2.6.0

SetName sets field value.

func (*CloudConfigurationRuleCreatePayload) SetOptions ¶ added in v2.6.0

SetOptions sets field value.

func (*CloudConfigurationRuleCreatePayload) SetTags ¶ added in v2.6.0

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

func (*CloudConfigurationRuleCreatePayload) SetType ¶ added in v2.6.0

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

func (*CloudConfigurationRuleCreatePayload) UnmarshalJSON ¶ added in v2.6.0

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

UnmarshalJSON deserializes the given payload.

type CloudConfigurationRuleOptions ¶ added in v2.6.0

type CloudConfigurationRuleOptions struct {
	// Options for cloud_configuration rules.
	// Fields `resourceType` and `regoRule` are mandatory when managing custom `cloud_configuration` rules.
	//
	ComplianceRuleOptions CloudConfigurationComplianceRuleOptions `json:"complianceRuleOptions"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

CloudConfigurationRuleOptions Options on cloud configuration rules.

func NewCloudConfigurationRuleOptions ¶ added in v2.6.0

func NewCloudConfigurationRuleOptions(complianceRuleOptions CloudConfigurationComplianceRuleOptions) *CloudConfigurationRuleOptions

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

func NewCloudConfigurationRuleOptionsWithDefaults ¶ added in v2.6.0

func NewCloudConfigurationRuleOptionsWithDefaults() *CloudConfigurationRuleOptions

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

func (*CloudConfigurationRuleOptions) GetComplianceRuleOptions ¶ added in v2.6.0

GetComplianceRuleOptions returns the ComplianceRuleOptions field value.

func (*CloudConfigurationRuleOptions) GetComplianceRuleOptionsOk ¶ added in v2.6.0

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

func (CloudConfigurationRuleOptions) MarshalJSON ¶ added in v2.6.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudConfigurationRuleOptions) SetComplianceRuleOptions ¶ added in v2.6.0

SetComplianceRuleOptions sets field value.

func (*CloudConfigurationRuleOptions) UnmarshalJSON ¶ added in v2.6.0

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

UnmarshalJSON deserializes the given payload.

type CloudConfigurationRuleType ¶ added in v2.6.0

type CloudConfigurationRuleType string

CloudConfigurationRuleType The rule type.

const (
	CLOUDCONFIGURATIONRULETYPE_CLOUD_CONFIGURATION CloudConfigurationRuleType = "cloud_configuration"
)

List of CloudConfigurationRuleType.

func NewCloudConfigurationRuleTypeFromValue ¶ added in v2.6.0

func NewCloudConfigurationRuleTypeFromValue(v string) (*CloudConfigurationRuleType, error)

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

func (*CloudConfigurationRuleType) GetAllowedValues ¶ added in v2.6.0

GetAllowedValues reeturns the list of possible values.

func (CloudConfigurationRuleType) IsValid ¶ added in v2.6.0

func (v CloudConfigurationRuleType) IsValid() bool

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

func (CloudConfigurationRuleType) Ptr ¶ added in v2.6.0

Ptr returns reference to CloudConfigurationRuleType value.

func (*CloudConfigurationRuleType) UnmarshalJSON ¶ added in v2.6.0

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleAttributes ¶

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 ¶

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 ¶

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 ¶

GetCategory returns the Category field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCategoryOk ¶

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 ¶

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCreationDate() int64

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreationDateOk ¶

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 ¶

GetCreator returns the Creator field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreatorOk ¶

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 ¶

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRule() bool

GetDefaultRule returns the DefaultRule field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRuleOk ¶

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 ¶

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetDescriptionOk ¶

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 ¶

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetEnabledOk ¶

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 ¶

GetExpression returns the Expression field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetExpressionOk ¶

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 ¶

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

func (*CloudWorkloadSecurityAgentRuleAttributes) 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 (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAt ¶

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAtOk ¶

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 ¶

GetUpdater returns the Updater field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdaterOk ¶

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 ¶

GetVersion returns the Version field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetVersionOk ¶

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 ¶

HasCategory returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasCreationDate ¶

func (o *CloudWorkloadSecurityAgentRuleAttributes) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasCreator ¶

HasCreator returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasDefaultRule ¶

func (o *CloudWorkloadSecurityAgentRuleAttributes) HasDefaultRule() bool

HasDefaultRule returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasDescription ¶

func (o *CloudWorkloadSecurityAgentRuleAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasEnabled ¶

HasEnabled returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasExpression ¶

HasExpression returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasName ¶

HasName returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasUpdater ¶

HasUpdater returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasVersion ¶

HasVersion returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleAttributes) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetCategory ¶

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetCreationDate ¶

func (o *CloudWorkloadSecurityAgentRuleAttributes) SetCreationDate(v int64)

SetCreationDate gets a reference to the given int64 and assigns it to the CreationDate field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetCreator ¶

SetCreator gets a reference to the given CloudWorkloadSecurityAgentRuleCreatorAttributes and assigns it to the Creator field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetDefaultRule ¶

func (o *CloudWorkloadSecurityAgentRuleAttributes) SetDefaultRule(v bool)

SetDefaultRule gets a reference to the given bool and assigns it to the DefaultRule field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetDescription ¶

func (o *CloudWorkloadSecurityAgentRuleAttributes) SetDescription(v string)

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

func (*CloudWorkloadSecurityAgentRuleAttributes) SetEnabled ¶

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetExpression ¶

SetExpression gets a reference to the given string and assigns it to the Expression field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetName ¶

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

func (*CloudWorkloadSecurityAgentRuleAttributes) SetUpdatedAt ¶

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

func (*CloudWorkloadSecurityAgentRuleAttributes) SetUpdater ¶

SetUpdater gets a reference to the given CloudWorkloadSecurityAgentRuleUpdaterAttributes and assigns it to the Updater field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetVersion ¶

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*CloudWorkloadSecurityAgentRuleAttributes) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleCreateAttributes ¶

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 ¶

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 ¶

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 ¶

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

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetDescriptionOk ¶

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 ¶

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetEnabledOk ¶

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 ¶

GetExpression returns the Expression field value.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpressionOk ¶

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

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetName ¶

GetName returns the Name field value.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetNameOk ¶

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

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) HasDescription ¶

HasDescription returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) HasEnabled ¶

HasEnabled returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleCreateAttributes) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetDescription ¶

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

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetEnabled ¶

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetExpression ¶

SetExpression sets field value.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetName ¶

SetName sets field value.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleCreateData ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value.

func (*CloudWorkloadSecurityAgentRuleCreateData) GetAttributesOk ¶

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

func (*CloudWorkloadSecurityAgentRuleCreateData) GetType ¶

GetType returns the Type field value.

func (*CloudWorkloadSecurityAgentRuleCreateData) GetTypeOk ¶

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

func (CloudWorkloadSecurityAgentRuleCreateData) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleCreateData) SetAttributes ¶

SetAttributes sets field value.

func (*CloudWorkloadSecurityAgentRuleCreateData) SetType ¶

SetType sets field value.

func (*CloudWorkloadSecurityAgentRuleCreateData) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleCreateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*CloudWorkloadSecurityAgentRuleCreateRequest) GetDataOk ¶

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

func (CloudWorkloadSecurityAgentRuleCreateRequest) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleCreateRequest) SetData ¶

SetData sets field value.

func (*CloudWorkloadSecurityAgentRuleCreateRequest) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleCreatorAttributes ¶

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 ¶

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 ¶

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 ¶

GetHandle returns the Handle field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetHandleOk ¶

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 ¶

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

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) 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 (*CloudWorkloadSecurityAgentRuleCreatorAttributes) HasHandle ¶

HasHandle returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) HasName ¶

HasName returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleCreatorAttributes) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) SetHandle ¶

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) SetName ¶

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

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleData ¶

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 ¶

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 ¶

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 ¶

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

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

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

func (*CloudWorkloadSecurityAgentRuleData) GetIdOk ¶

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 ¶

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

func (*CloudWorkloadSecurityAgentRuleData) 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 (*CloudWorkloadSecurityAgentRuleData) HasAttributes ¶

func (o *CloudWorkloadSecurityAgentRuleData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleData) HasId ¶

HasId returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleData) HasType ¶

HasType returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleData) SetAttributes ¶

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

func (*CloudWorkloadSecurityAgentRuleData) SetId ¶

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

func (*CloudWorkloadSecurityAgentRuleData) SetType ¶

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

func (*CloudWorkloadSecurityAgentRuleData) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleResponse ¶

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 ¶

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 ¶

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 ¶

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

func (*CloudWorkloadSecurityAgentRuleResponse) 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 (*CloudWorkloadSecurityAgentRuleResponse) HasData ¶

HasData returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleResponse) SetData ¶

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

func (*CloudWorkloadSecurityAgentRuleResponse) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleType ¶

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 ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (CloudWorkloadSecurityAgentRuleType) IsValid ¶

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

func (CloudWorkloadSecurityAgentRuleType) Ptr ¶

Ptr returns reference to CloudWorkloadSecurityAgentRuleType value.

func (*CloudWorkloadSecurityAgentRuleType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleUpdateAttributes ¶

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 ¶

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 ¶

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 ¶

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

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetDescriptionOk ¶

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 ¶

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetEnabledOk ¶

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 ¶

GetExpression returns the Expression field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetExpressionOk ¶

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 ¶

HasDescription returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasEnabled ¶

HasEnabled returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasExpression ¶

HasExpression returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleUpdateAttributes) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetDescription ¶

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

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetEnabled ¶

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetExpression ¶

SetExpression gets a reference to the given string and assigns it to the Expression field.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleUpdateData ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value.

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetAttributesOk ¶

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

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetType ¶

GetType returns the Type field value.

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetTypeOk ¶

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

func (CloudWorkloadSecurityAgentRuleUpdateData) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleUpdateData) SetAttributes ¶

SetAttributes sets field value.

func (*CloudWorkloadSecurityAgentRuleUpdateData) SetType ¶

SetType sets field value.

func (*CloudWorkloadSecurityAgentRuleUpdateData) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleUpdateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) GetDataOk ¶

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

func (CloudWorkloadSecurityAgentRuleUpdateRequest) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) SetData ¶

SetData sets field value.

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRuleUpdaterAttributes ¶

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 ¶

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 ¶

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 ¶

GetHandle returns the Handle field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetHandleOk ¶

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 ¶

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

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) 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 (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasHandle ¶

HasHandle returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasName ¶

HasName returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleUpdaterAttributes) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetHandle ¶

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetName ¶

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

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityAgentRulesListResponse ¶

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 ¶

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 ¶

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 ¶

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

func (*CloudWorkloadSecurityAgentRulesListResponse) 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 (*CloudWorkloadSecurityAgentRulesListResponse) HasData ¶

HasData returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRulesListResponse) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*CloudWorkloadSecurityAgentRulesListResponse) SetData ¶

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

func (*CloudWorkloadSecurityAgentRulesListResponse) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CloudWorkloadSecurityApi ¶

type CloudWorkloadSecurityApi datadog.Service

CloudWorkloadSecurityApi service type

func NewCloudWorkloadSecurityApi ¶

func NewCloudWorkloadSecurityApi(client *datadog.APIClient) *CloudWorkloadSecurityApi

NewCloudWorkloadSecurityApi Returns NewCloudWorkloadSecurityApi.

func (*CloudWorkloadSecurityApi) CreateCloudWorkloadSecurityAgentRule ¶

CreateCloudWorkloadSecurityAgentRule Create a Cloud Workload Security Agent rule. Create a new Agent rule with the given parameters.

func (*CloudWorkloadSecurityApi) DeleteCloudWorkloadSecurityAgentRule ¶

func (a *CloudWorkloadSecurityApi) DeleteCloudWorkloadSecurityAgentRule(ctx _context.Context, agentRuleId string) (*_nethttp.Response, error)

DeleteCloudWorkloadSecurityAgentRule Delete a Cloud Workload Security Agent rule. Delete a specific Agent rule.

func (*CloudWorkloadSecurityApi) DownloadCloudWorkloadPolicyFile ¶

func (a *CloudWorkloadSecurityApi) 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 (*CloudWorkloadSecurityApi) GetCloudWorkloadSecurityAgentRule ¶

func (a *CloudWorkloadSecurityApi) 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 (*CloudWorkloadSecurityApi) ListCloudWorkloadSecurityAgentRules ¶

ListCloudWorkloadSecurityAgentRules Get all Cloud Workload Security Agent rules. Get the list of Agent rules.

func (*CloudWorkloadSecurityApi) UpdateCloudWorkloadSecurityAgentRule ¶

UpdateCloudWorkloadSecurityAgentRule Update a Cloud Workload Security Agent rule. Update a specific Agent rule. Returns the Agent rule object when the request is successful.

type CloudflareAccountCreateRequest ¶ added in v2.8.0

type CloudflareAccountCreateRequest struct {
	// Data object for creating a Cloudflare account.
	Data CloudflareAccountCreateRequestData `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{}
}

CloudflareAccountCreateRequest Payload schema when adding a Cloudflare account.

func NewCloudflareAccountCreateRequest ¶ added in v2.8.0

func NewCloudflareAccountCreateRequest(data CloudflareAccountCreateRequestData) *CloudflareAccountCreateRequest

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

func NewCloudflareAccountCreateRequestWithDefaults ¶ added in v2.8.0

func NewCloudflareAccountCreateRequestWithDefaults() *CloudflareAccountCreateRequest

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

func (*CloudflareAccountCreateRequest) GetData ¶ added in v2.8.0

GetData returns the Data field value.

func (*CloudflareAccountCreateRequest) GetDataOk ¶ added in v2.8.0

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

func (CloudflareAccountCreateRequest) MarshalJSON ¶ added in v2.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudflareAccountCreateRequest) SetData ¶ added in v2.8.0

SetData sets field value.

func (*CloudflareAccountCreateRequest) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareAccountCreateRequestAttributes ¶ added in v2.8.0

type CloudflareAccountCreateRequestAttributes struct {
	// The API key (or token) for the Cloudflare account.
	ApiKey string `json:"api_key"`
	// The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required.
	Email *string `json:"email,omitempty"`
	// The name of the Cloudflare account.
	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{}
}

CloudflareAccountCreateRequestAttributes Attributes object for creating a Cloudflare account.

func NewCloudflareAccountCreateRequestAttributes ¶ added in v2.8.0

func NewCloudflareAccountCreateRequestAttributes(apiKey string, name string) *CloudflareAccountCreateRequestAttributes

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

func NewCloudflareAccountCreateRequestAttributesWithDefaults ¶ added in v2.8.0

func NewCloudflareAccountCreateRequestAttributesWithDefaults() *CloudflareAccountCreateRequestAttributes

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

func (*CloudflareAccountCreateRequestAttributes) GetApiKey ¶ added in v2.8.0

GetApiKey returns the ApiKey field value.

func (*CloudflareAccountCreateRequestAttributes) GetApiKeyOk ¶ added in v2.8.0

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

func (*CloudflareAccountCreateRequestAttributes) GetEmail ¶ added in v2.8.0

GetEmail returns the Email field value if set, zero value otherwise.

func (*CloudflareAccountCreateRequestAttributes) GetEmailOk ¶ added in v2.8.0

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 (*CloudflareAccountCreateRequestAttributes) GetName ¶ added in v2.8.0

GetName returns the Name field value.

func (*CloudflareAccountCreateRequestAttributes) GetNameOk ¶ added in v2.8.0

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

func (*CloudflareAccountCreateRequestAttributes) HasEmail ¶ added in v2.8.0

HasEmail returns a boolean if a field has been set.

func (CloudflareAccountCreateRequestAttributes) MarshalJSON ¶ added in v2.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudflareAccountCreateRequestAttributes) SetApiKey ¶ added in v2.8.0

SetApiKey sets field value.

func (*CloudflareAccountCreateRequestAttributes) SetEmail ¶ added in v2.8.0

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CloudflareAccountCreateRequestAttributes) SetName ¶ added in v2.8.0

SetName sets field value.

func (*CloudflareAccountCreateRequestAttributes) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareAccountCreateRequestData ¶ added in v2.8.0

type CloudflareAccountCreateRequestData struct {
	// Attributes object for creating a Cloudflare account.
	Attributes CloudflareAccountCreateRequestAttributes `json:"attributes"`
	// The JSON:API type for this API. Should always be `cloudflare-accounts`.
	Type CloudflareAccountType `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{}
}

CloudflareAccountCreateRequestData Data object for creating a Cloudflare account.

func NewCloudflareAccountCreateRequestData ¶ added in v2.8.0

func NewCloudflareAccountCreateRequestData(attributes CloudflareAccountCreateRequestAttributes, typeVar CloudflareAccountType) *CloudflareAccountCreateRequestData

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

func NewCloudflareAccountCreateRequestDataWithDefaults ¶ added in v2.8.0

func NewCloudflareAccountCreateRequestDataWithDefaults() *CloudflareAccountCreateRequestData

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

func (*CloudflareAccountCreateRequestData) GetAttributes ¶ added in v2.8.0

GetAttributes returns the Attributes field value.

func (*CloudflareAccountCreateRequestData) GetAttributesOk ¶ added in v2.8.0

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

func (*CloudflareAccountCreateRequestData) GetType ¶ added in v2.8.0

GetType returns the Type field value.

func (*CloudflareAccountCreateRequestData) GetTypeOk ¶ added in v2.8.0

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

func (CloudflareAccountCreateRequestData) MarshalJSON ¶ added in v2.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudflareAccountCreateRequestData) SetAttributes ¶ added in v2.8.0

SetAttributes sets field value.

func (*CloudflareAccountCreateRequestData) SetType ¶ added in v2.8.0

SetType sets field value.

func (*CloudflareAccountCreateRequestData) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareAccountResponse ¶ added in v2.8.0

type CloudflareAccountResponse struct {
	// Data object of a Cloudflare account.
	Data *CloudflareAccountResponseData `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{}
}

CloudflareAccountResponse The expected response schema when getting a Cloudflare account.

func NewCloudflareAccountResponse ¶ added in v2.8.0

func NewCloudflareAccountResponse() *CloudflareAccountResponse

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

func NewCloudflareAccountResponseWithDefaults ¶ added in v2.8.0

func NewCloudflareAccountResponseWithDefaults() *CloudflareAccountResponse

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

func (*CloudflareAccountResponse) GetData ¶ added in v2.8.0

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

func (*CloudflareAccountResponse) GetDataOk ¶ added in v2.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 (*CloudflareAccountResponse) HasData ¶ added in v2.8.0

func (o *CloudflareAccountResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (CloudflareAccountResponse) MarshalJSON ¶ added in v2.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudflareAccountResponse) SetData ¶ added in v2.8.0

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

func (*CloudflareAccountResponse) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareAccountResponseAttributes ¶ added in v2.8.0

type CloudflareAccountResponseAttributes struct {
	// The email associated with the Cloudflare account.
	Email *string `json:"email,omitempty"`
	// The name of the Cloudflare account.
	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{}
}

CloudflareAccountResponseAttributes Attributes object of a Cloudflare account.

func NewCloudflareAccountResponseAttributes ¶ added in v2.8.0

func NewCloudflareAccountResponseAttributes(name string) *CloudflareAccountResponseAttributes

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

func NewCloudflareAccountResponseAttributesWithDefaults ¶ added in v2.8.0

func NewCloudflareAccountResponseAttributesWithDefaults() *CloudflareAccountResponseAttributes

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

func (*CloudflareAccountResponseAttributes) GetEmail ¶ added in v2.8.0

GetEmail returns the Email field value if set, zero value otherwise.

func (*CloudflareAccountResponseAttributes) GetEmailOk ¶ added in v2.8.0

func (o *CloudflareAccountResponseAttributes) 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 (*CloudflareAccountResponseAttributes) GetName ¶ added in v2.8.0

GetName returns the Name field value.

func (*CloudflareAccountResponseAttributes) GetNameOk ¶ added in v2.8.0

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

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

func (*CloudflareAccountResponseAttributes) HasEmail ¶ added in v2.8.0

HasEmail returns a boolean if a field has been set.

func (CloudflareAccountResponseAttributes) MarshalJSON ¶ added in v2.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudflareAccountResponseAttributes) SetEmail ¶ added in v2.8.0

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CloudflareAccountResponseAttributes) SetName ¶ added in v2.8.0

SetName sets field value.

func (*CloudflareAccountResponseAttributes) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareAccountResponseData ¶ added in v2.8.0

type CloudflareAccountResponseData struct {
	// Attributes object of a Cloudflare account.
	Attributes CloudflareAccountResponseAttributes `json:"attributes"`
	// The ID of the Cloudflare account, a hash of the account name.
	Id string `json:"id"`
	// The JSON:API type for this API. Should always be `cloudflare-accounts`.
	Type CloudflareAccountType `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{}
}

CloudflareAccountResponseData Data object of a Cloudflare account.

func NewCloudflareAccountResponseData ¶ added in v2.8.0

func NewCloudflareAccountResponseData(attributes CloudflareAccountResponseAttributes, id string, typeVar CloudflareAccountType) *CloudflareAccountResponseData

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

func NewCloudflareAccountResponseDataWithDefaults ¶ added in v2.8.0

func NewCloudflareAccountResponseDataWithDefaults() *CloudflareAccountResponseData

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

func (*CloudflareAccountResponseData) GetAttributes ¶ added in v2.8.0

GetAttributes returns the Attributes field value.

func (*CloudflareAccountResponseData) GetAttributesOk ¶ added in v2.8.0

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

func (*CloudflareAccountResponseData) GetId ¶ added in v2.8.0

GetId returns the Id field value.

func (*CloudflareAccountResponseData) GetIdOk ¶ added in v2.8.0

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

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

func (*CloudflareAccountResponseData) GetType ¶ added in v2.8.0

GetType returns the Type field value.

func (*CloudflareAccountResponseData) GetTypeOk ¶ added in v2.8.0

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

func (CloudflareAccountResponseData) MarshalJSON ¶ added in v2.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudflareAccountResponseData) SetAttributes ¶ added in v2.8.0

SetAttributes sets field value.

func (*CloudflareAccountResponseData) SetId ¶ added in v2.8.0

SetId sets field value.

func (*CloudflareAccountResponseData) SetType ¶ added in v2.8.0

SetType sets field value.

func (*CloudflareAccountResponseData) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareAccountType ¶ added in v2.8.0

type CloudflareAccountType string

CloudflareAccountType The JSON:API type for this API. Should always be `cloudflare-accounts`.

const (
	CLOUDFLAREACCOUNTTYPE_CLOUDFLARE_ACCOUNTS CloudflareAccountType = "cloudflare-accounts"
)

List of CloudflareAccountType.

func NewCloudflareAccountTypeFromValue ¶ added in v2.8.0

func NewCloudflareAccountTypeFromValue(v string) (*CloudflareAccountType, error)

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

func (*CloudflareAccountType) GetAllowedValues ¶ added in v2.8.0

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

GetAllowedValues reeturns the list of possible values.

func (CloudflareAccountType) IsValid ¶ added in v2.8.0

func (v CloudflareAccountType) IsValid() bool

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

func (CloudflareAccountType) Ptr ¶ added in v2.8.0

Ptr returns reference to CloudflareAccountType value.

func (*CloudflareAccountType) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareAccountUpdateRequest ¶ added in v2.8.0

type CloudflareAccountUpdateRequest struct {
	// Data object for updating a Cloudflare account.
	Data CloudflareAccountUpdateRequestData `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{}
}

CloudflareAccountUpdateRequest Payload schema when updating a Cloudflare account.

func NewCloudflareAccountUpdateRequest ¶ added in v2.8.0

func NewCloudflareAccountUpdateRequest(data CloudflareAccountUpdateRequestData) *CloudflareAccountUpdateRequest

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

func NewCloudflareAccountUpdateRequestWithDefaults ¶ added in v2.8.0

func NewCloudflareAccountUpdateRequestWithDefaults() *CloudflareAccountUpdateRequest

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

func (*CloudflareAccountUpdateRequest) GetData ¶ added in v2.8.0

GetData returns the Data field value.

func (*CloudflareAccountUpdateRequest) GetDataOk ¶ added in v2.8.0

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

func (CloudflareAccountUpdateRequest) MarshalJSON ¶ added in v2.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudflareAccountUpdateRequest) SetData ¶ added in v2.8.0

SetData sets field value.

func (*CloudflareAccountUpdateRequest) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareAccountUpdateRequestAttributes ¶ added in v2.8.0

type CloudflareAccountUpdateRequestAttributes struct {
	// The API key of the Cloudflare account.
	ApiKey string `json:"api_key"`
	// The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required.
	Email *string `json:"email,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{}
}

CloudflareAccountUpdateRequestAttributes Attributes object for updating a Cloudflare account.

func NewCloudflareAccountUpdateRequestAttributes ¶ added in v2.8.0

func NewCloudflareAccountUpdateRequestAttributes(apiKey string) *CloudflareAccountUpdateRequestAttributes

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

func NewCloudflareAccountUpdateRequestAttributesWithDefaults ¶ added in v2.8.0

func NewCloudflareAccountUpdateRequestAttributesWithDefaults() *CloudflareAccountUpdateRequestAttributes

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

func (*CloudflareAccountUpdateRequestAttributes) GetApiKey ¶ added in v2.8.0

GetApiKey returns the ApiKey field value.

func (*CloudflareAccountUpdateRequestAttributes) GetApiKeyOk ¶ added in v2.8.0

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

func (*CloudflareAccountUpdateRequestAttributes) GetEmail ¶ added in v2.8.0

GetEmail returns the Email field value if set, zero value otherwise.

func (*CloudflareAccountUpdateRequestAttributes) GetEmailOk ¶ added in v2.8.0

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 (*CloudflareAccountUpdateRequestAttributes) HasEmail ¶ added in v2.8.0

HasEmail returns a boolean if a field has been set.

func (CloudflareAccountUpdateRequestAttributes) MarshalJSON ¶ added in v2.8.0

MarshalJSON serializes the struct using spec logic.

func (*CloudflareAccountUpdateRequestAttributes) SetApiKey ¶ added in v2.8.0

SetApiKey sets field value.

func (*CloudflareAccountUpdateRequestAttributes) SetEmail ¶ added in v2.8.0

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CloudflareAccountUpdateRequestAttributes) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareAccountUpdateRequestData ¶ added in v2.8.0

type CloudflareAccountUpdateRequestData struct {
	// Attributes object for updating a Cloudflare account.
	Attributes *CloudflareAccountUpdateRequestAttributes `json:"attributes,omitempty"`
	// The JSON:API type for this API. Should always be `cloudflare-accounts`.
	Type *CloudflareAccountType `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{}
}

CloudflareAccountUpdateRequestData Data object for updating a Cloudflare account.

func NewCloudflareAccountUpdateRequestData ¶ added in v2.8.0

func NewCloudflareAccountUpdateRequestData() *CloudflareAccountUpdateRequestData

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

func NewCloudflareAccountUpdateRequestDataWithDefaults ¶ added in v2.8.0

func NewCloudflareAccountUpdateRequestDataWithDefaults() *CloudflareAccountUpdateRequestData

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

func (*CloudflareAccountUpdateRequestData) GetAttributes ¶ added in v2.8.0

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

func (*CloudflareAccountUpdateRequestData) GetAttributesOk ¶ added in v2.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 (*CloudflareAccountUpdateRequestData) GetType ¶ added in v2.8.0

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

func (*CloudflareAccountUpdateRequestData) GetTypeOk ¶ added in v2.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 (*CloudflareAccountUpdateRequestData) HasAttributes ¶ added in v2.8.0

func (o *CloudflareAccountUpdateRequestData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CloudflareAccountUpdateRequestData) HasType ¶ added in v2.8.0

HasType returns a boolean if a field has been set.

func (CloudflareAccountUpdateRequestData) MarshalJSON ¶ added in v2.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudflareAccountUpdateRequestData) SetAttributes ¶ added in v2.8.0

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

func (*CloudflareAccountUpdateRequestData) SetType ¶ added in v2.8.0

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

func (*CloudflareAccountUpdateRequestData) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareAccountsResponse ¶ added in v2.8.0

type CloudflareAccountsResponse struct {
	// The JSON:API data schema.
	Data []CloudflareAccountResponseData `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{}
}

CloudflareAccountsResponse The expected response schema when getting Cloudflare accounts.

func NewCloudflareAccountsResponse ¶ added in v2.8.0

func NewCloudflareAccountsResponse() *CloudflareAccountsResponse

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

func NewCloudflareAccountsResponseWithDefaults ¶ added in v2.8.0

func NewCloudflareAccountsResponseWithDefaults() *CloudflareAccountsResponse

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

func (*CloudflareAccountsResponse) GetData ¶ added in v2.8.0

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

func (*CloudflareAccountsResponse) GetDataOk ¶ added in v2.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 (*CloudflareAccountsResponse) HasData ¶ added in v2.8.0

func (o *CloudflareAccountsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (CloudflareAccountsResponse) MarshalJSON ¶ added in v2.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*CloudflareAccountsResponse) SetData ¶ added in v2.8.0

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

func (*CloudflareAccountsResponse) UnmarshalJSON ¶ added in v2.8.0

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

UnmarshalJSON deserializes the given payload.

type CloudflareIntegrationApi ¶ added in v2.8.0

type CloudflareIntegrationApi datadog.Service

CloudflareIntegrationApi service type

func NewCloudflareIntegrationApi ¶ added in v2.8.0

func NewCloudflareIntegrationApi(client *datadog.APIClient) *CloudflareIntegrationApi

NewCloudflareIntegrationApi Returns NewCloudflareIntegrationApi.

func (*CloudflareIntegrationApi) CreateCloudflareAccount ¶ added in v2.8.0

CreateCloudflareAccount Add Cloudflare account. Create a Cloudflare account.

func (*CloudflareIntegrationApi) DeleteCloudflareAccount ¶ added in v2.8.0

func (a *CloudflareIntegrationApi) DeleteCloudflareAccount(ctx _context.Context, accountId string) (*_nethttp.Response, error)

DeleteCloudflareAccount Delete Cloudflare account. Delete a Cloudflare account.

func (*CloudflareIntegrationApi) GetCloudflareAccount ¶ added in v2.8.0

func (a *CloudflareIntegrationApi) GetCloudflareAccount(ctx _context.Context, accountId string) (CloudflareAccountResponse, *_nethttp.Response, error)

GetCloudflareAccount Get Cloudflare account. Get a Cloudflare account.

func (*CloudflareIntegrationApi) ListCloudflareAccounts ¶ added in v2.8.0

ListCloudflareAccounts List Cloudflare accounts. List Cloudflare accounts.

func (*CloudflareIntegrationApi) UpdateCloudflareAccount ¶ added in v2.8.0

UpdateCloudflareAccount Update Cloudflare account. Update a Cloudflare account.

type ConfluentAccountCreateRequest ¶ added in v2.4.0

type ConfluentAccountCreateRequest struct {
	// The data body for adding a Confluent account.
	Data ConfluentAccountCreateRequestData `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{}
}

ConfluentAccountCreateRequest Payload schema when adding a Confluent account.

func NewConfluentAccountCreateRequest ¶ added in v2.4.0

func NewConfluentAccountCreateRequest(data ConfluentAccountCreateRequestData) *ConfluentAccountCreateRequest

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

func NewConfluentAccountCreateRequestWithDefaults ¶ added in v2.4.0

func NewConfluentAccountCreateRequestWithDefaults() *ConfluentAccountCreateRequest

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

func (*ConfluentAccountCreateRequest) GetData ¶ added in v2.4.0

GetData returns the Data field value.

func (*ConfluentAccountCreateRequest) GetDataOk ¶ added in v2.4.0

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

func (ConfluentAccountCreateRequest) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountCreateRequest) SetData ¶ added in v2.4.0

SetData sets field value.

func (*ConfluentAccountCreateRequest) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountCreateRequestAttributes ¶ added in v2.4.0

type ConfluentAccountCreateRequestAttributes struct {
	// The API key associated with your Confluent account.
	ApiKey string `json:"api_key"`
	// The API secret associated with your Confluent account.
	ApiSecret string `json:"api_secret"`
	// A list of Confluent resources associated with the Confluent account.
	Resources []ConfluentAccountResourceAttributes `json:"resources,omitempty"`
	// A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
	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{}
}

ConfluentAccountCreateRequestAttributes Attributes associated with the account creation request.

func NewConfluentAccountCreateRequestAttributes ¶ added in v2.4.0

func NewConfluentAccountCreateRequestAttributes(apiKey string, apiSecret string) *ConfluentAccountCreateRequestAttributes

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

func NewConfluentAccountCreateRequestAttributesWithDefaults ¶ added in v2.4.0

func NewConfluentAccountCreateRequestAttributesWithDefaults() *ConfluentAccountCreateRequestAttributes

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

func (*ConfluentAccountCreateRequestAttributes) GetApiKey ¶ added in v2.4.0

GetApiKey returns the ApiKey field value.

func (*ConfluentAccountCreateRequestAttributes) GetApiKeyOk ¶ added in v2.4.0

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

func (*ConfluentAccountCreateRequestAttributes) GetApiSecret ¶ added in v2.4.0

GetApiSecret returns the ApiSecret field value.

func (*ConfluentAccountCreateRequestAttributes) GetApiSecretOk ¶ added in v2.4.0

func (o *ConfluentAccountCreateRequestAttributes) GetApiSecretOk() (*string, bool)

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

func (*ConfluentAccountCreateRequestAttributes) GetResources ¶ added in v2.4.0

GetResources returns the Resources field value if set, zero value otherwise.

func (*ConfluentAccountCreateRequestAttributes) GetResourcesOk ¶ added in v2.4.0

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 (*ConfluentAccountCreateRequestAttributes) GetTags ¶ added in v2.4.0

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

func (*ConfluentAccountCreateRequestAttributes) GetTagsOk ¶ added in v2.4.0

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 (*ConfluentAccountCreateRequestAttributes) HasResources ¶ added in v2.4.0

HasResources returns a boolean if a field has been set.

func (*ConfluentAccountCreateRequestAttributes) HasTags ¶ added in v2.4.0

HasTags returns a boolean if a field has been set.

func (ConfluentAccountCreateRequestAttributes) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountCreateRequestAttributes) SetApiKey ¶ added in v2.4.0

SetApiKey sets field value.

func (*ConfluentAccountCreateRequestAttributes) SetApiSecret ¶ added in v2.4.0

SetApiSecret sets field value.

func (*ConfluentAccountCreateRequestAttributes) SetResources ¶ added in v2.4.0

SetResources gets a reference to the given []ConfluentAccountResourceAttributes and assigns it to the Resources field.

func (*ConfluentAccountCreateRequestAttributes) SetTags ¶ added in v2.4.0

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

func (*ConfluentAccountCreateRequestAttributes) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountCreateRequestData ¶ added in v2.4.0

type ConfluentAccountCreateRequestData struct {
	// Attributes associated with the account creation request.
	Attributes ConfluentAccountCreateRequestAttributes `json:"attributes"`
	// The JSON:API type for this API. Should always be `confluent-cloud-accounts`.
	Type ConfluentAccountType `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{}
}

ConfluentAccountCreateRequestData The data body for adding a Confluent account.

func NewConfluentAccountCreateRequestData ¶ added in v2.4.0

func NewConfluentAccountCreateRequestData(attributes ConfluentAccountCreateRequestAttributes, typeVar ConfluentAccountType) *ConfluentAccountCreateRequestData

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

func NewConfluentAccountCreateRequestDataWithDefaults ¶ added in v2.4.0

func NewConfluentAccountCreateRequestDataWithDefaults() *ConfluentAccountCreateRequestData

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

func (*ConfluentAccountCreateRequestData) GetAttributes ¶ added in v2.4.0

GetAttributes returns the Attributes field value.

func (*ConfluentAccountCreateRequestData) GetAttributesOk ¶ added in v2.4.0

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

func (*ConfluentAccountCreateRequestData) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*ConfluentAccountCreateRequestData) GetTypeOk ¶ added in v2.4.0

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

func (ConfluentAccountCreateRequestData) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountCreateRequestData) SetAttributes ¶ added in v2.4.0

SetAttributes sets field value.

func (*ConfluentAccountCreateRequestData) SetType ¶ added in v2.4.0

SetType sets field value.

func (*ConfluentAccountCreateRequestData) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountResourceAttributes ¶ added in v2.4.0

type ConfluentAccountResourceAttributes struct {
	// The ID associated with a Confluent resource.
	Id *string `json:"id,omitempty"`
	// The resource type of the Resource. Can be `kafka`, `connector`, `ksql`, or `schema_registry`.
	ResourceType *string `json:"resource_type,omitempty"`
	// A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
	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{}
}

ConfluentAccountResourceAttributes Attributes object for updating a Confluent resource.

func NewConfluentAccountResourceAttributes ¶ added in v2.4.0

func NewConfluentAccountResourceAttributes() *ConfluentAccountResourceAttributes

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

func NewConfluentAccountResourceAttributesWithDefaults ¶ added in v2.4.0

func NewConfluentAccountResourceAttributesWithDefaults() *ConfluentAccountResourceAttributes

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

func (*ConfluentAccountResourceAttributes) GetId ¶ added in v2.4.0

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

func (*ConfluentAccountResourceAttributes) GetIdOk ¶ added in v2.4.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 (*ConfluentAccountResourceAttributes) GetResourceType ¶ added in v2.4.0

func (o *ConfluentAccountResourceAttributes) GetResourceType() string

GetResourceType returns the ResourceType field value if set, zero value otherwise.

func (*ConfluentAccountResourceAttributes) GetResourceTypeOk ¶ added in v2.4.0

func (o *ConfluentAccountResourceAttributes) GetResourceTypeOk() (*string, bool)

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

func (*ConfluentAccountResourceAttributes) GetTags ¶ added in v2.4.0

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

func (*ConfluentAccountResourceAttributes) GetTagsOk ¶ added in v2.4.0

func (o *ConfluentAccountResourceAttributes) 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 (*ConfluentAccountResourceAttributes) HasId ¶ added in v2.4.0

HasId returns a boolean if a field has been set.

func (*ConfluentAccountResourceAttributes) HasResourceType ¶ added in v2.4.0

func (o *ConfluentAccountResourceAttributes) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

func (*ConfluentAccountResourceAttributes) HasTags ¶ added in v2.4.0

HasTags returns a boolean if a field has been set.

func (ConfluentAccountResourceAttributes) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountResourceAttributes) SetId ¶ added in v2.4.0

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

func (*ConfluentAccountResourceAttributes) SetResourceType ¶ added in v2.4.0

func (o *ConfluentAccountResourceAttributes) SetResourceType(v string)

SetResourceType gets a reference to the given string and assigns it to the ResourceType field.

func (*ConfluentAccountResourceAttributes) SetTags ¶ added in v2.4.0

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

func (*ConfluentAccountResourceAttributes) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountResponse ¶ added in v2.4.0

type ConfluentAccountResponse struct {
	// An API key and API secret pair that represents a Confluent account.
	Data *ConfluentAccountResponseData `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{}
}

ConfluentAccountResponse The expected response schema when getting a Confluent account.

func NewConfluentAccountResponse ¶ added in v2.4.0

func NewConfluentAccountResponse() *ConfluentAccountResponse

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

func NewConfluentAccountResponseWithDefaults ¶ added in v2.4.0

func NewConfluentAccountResponseWithDefaults() *ConfluentAccountResponse

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

func (*ConfluentAccountResponse) GetData ¶ added in v2.4.0

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

func (*ConfluentAccountResponse) GetDataOk ¶ added in v2.4.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 (*ConfluentAccountResponse) HasData ¶ added in v2.4.0

func (o *ConfluentAccountResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ConfluentAccountResponse) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountResponse) SetData ¶ added in v2.4.0

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

func (*ConfluentAccountResponse) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountResponseAttributes ¶ added in v2.4.0

type ConfluentAccountResponseAttributes struct {
	// The API key associated with your Confluent account.
	ApiKey string `json:"api_key"`
	// A list of Confluent resources associated with the Confluent account.
	Resources []ConfluentResourceResponseAttributes `json:"resources,omitempty"`
	// A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
	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{}
}

ConfluentAccountResponseAttributes The attributes of a Confluent account.

func NewConfluentAccountResponseAttributes ¶ added in v2.4.0

func NewConfluentAccountResponseAttributes(apiKey string) *ConfluentAccountResponseAttributes

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

func NewConfluentAccountResponseAttributesWithDefaults ¶ added in v2.4.0

func NewConfluentAccountResponseAttributesWithDefaults() *ConfluentAccountResponseAttributes

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

func (*ConfluentAccountResponseAttributes) GetApiKey ¶ added in v2.4.0

GetApiKey returns the ApiKey field value.

func (*ConfluentAccountResponseAttributes) GetApiKeyOk ¶ added in v2.4.0

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

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

func (*ConfluentAccountResponseAttributes) GetResources ¶ added in v2.4.0

GetResources returns the Resources field value if set, zero value otherwise.

func (*ConfluentAccountResponseAttributes) GetResourcesOk ¶ added in v2.4.0

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 (*ConfluentAccountResponseAttributes) GetTags ¶ added in v2.4.0

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

func (*ConfluentAccountResponseAttributes) GetTagsOk ¶ added in v2.4.0

func (o *ConfluentAccountResponseAttributes) 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 (*ConfluentAccountResponseAttributes) HasResources ¶ added in v2.4.0

func (o *ConfluentAccountResponseAttributes) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*ConfluentAccountResponseAttributes) HasTags ¶ added in v2.4.0

HasTags returns a boolean if a field has been set.

func (ConfluentAccountResponseAttributes) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountResponseAttributes) SetApiKey ¶ added in v2.4.0

SetApiKey sets field value.

func (*ConfluentAccountResponseAttributes) SetResources ¶ added in v2.4.0

SetResources gets a reference to the given []ConfluentResourceResponseAttributes and assigns it to the Resources field.

func (*ConfluentAccountResponseAttributes) SetTags ¶ added in v2.4.0

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

func (*ConfluentAccountResponseAttributes) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountResponseData ¶ added in v2.4.0

type ConfluentAccountResponseData struct {
	// The attributes of a Confluent account.
	Attributes ConfluentAccountResponseAttributes `json:"attributes"`
	// A randomly generated ID associated with a Confluent account.
	Id string `json:"id"`
	// The JSON:API type for this API. Should always be `confluent-cloud-accounts`.
	Type ConfluentAccountType `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{}
}

ConfluentAccountResponseData An API key and API secret pair that represents a Confluent account.

func NewConfluentAccountResponseData ¶ added in v2.4.0

func NewConfluentAccountResponseData(attributes ConfluentAccountResponseAttributes, id string, typeVar ConfluentAccountType) *ConfluentAccountResponseData

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

func NewConfluentAccountResponseDataWithDefaults ¶ added in v2.4.0

func NewConfluentAccountResponseDataWithDefaults() *ConfluentAccountResponseData

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

func (*ConfluentAccountResponseData) GetAttributes ¶ added in v2.4.0

GetAttributes returns the Attributes field value.

func (*ConfluentAccountResponseData) GetAttributesOk ¶ added in v2.4.0

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

func (*ConfluentAccountResponseData) GetId ¶ added in v2.4.0

GetId returns the Id field value.

func (*ConfluentAccountResponseData) GetIdOk ¶ added in v2.4.0

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

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

func (*ConfluentAccountResponseData) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*ConfluentAccountResponseData) GetTypeOk ¶ added in v2.4.0

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

func (ConfluentAccountResponseData) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountResponseData) SetAttributes ¶ added in v2.4.0

SetAttributes sets field value.

func (*ConfluentAccountResponseData) SetId ¶ added in v2.4.0

SetId sets field value.

func (*ConfluentAccountResponseData) SetType ¶ added in v2.4.0

SetType sets field value.

func (*ConfluentAccountResponseData) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountType ¶ added in v2.4.0

type ConfluentAccountType string

ConfluentAccountType The JSON:API type for this API. Should always be `confluent-cloud-accounts`.

const (
	CONFLUENTACCOUNTTYPE_CONFLUENT_CLOUD_ACCOUNTS ConfluentAccountType = "confluent-cloud-accounts"
)

List of ConfluentAccountType.

func NewConfluentAccountTypeFromValue ¶ added in v2.4.0

func NewConfluentAccountTypeFromValue(v string) (*ConfluentAccountType, error)

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

func (*ConfluentAccountType) GetAllowedValues ¶ added in v2.4.0

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

GetAllowedValues reeturns the list of possible values.

func (ConfluentAccountType) IsValid ¶ added in v2.4.0

func (v ConfluentAccountType) IsValid() bool

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

func (ConfluentAccountType) Ptr ¶ added in v2.4.0

Ptr returns reference to ConfluentAccountType value.

func (*ConfluentAccountType) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountUpdateRequest ¶ added in v2.4.0

type ConfluentAccountUpdateRequest struct {
	// Data object for updating a Confluent account.
	Data ConfluentAccountUpdateRequestData `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{}
}

ConfluentAccountUpdateRequest The JSON:API request for updating a Confluent account.

func NewConfluentAccountUpdateRequest ¶ added in v2.4.0

func NewConfluentAccountUpdateRequest(data ConfluentAccountUpdateRequestData) *ConfluentAccountUpdateRequest

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

func NewConfluentAccountUpdateRequestWithDefaults ¶ added in v2.4.0

func NewConfluentAccountUpdateRequestWithDefaults() *ConfluentAccountUpdateRequest

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

func (*ConfluentAccountUpdateRequest) GetData ¶ added in v2.4.0

GetData returns the Data field value.

func (*ConfluentAccountUpdateRequest) GetDataOk ¶ added in v2.4.0

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

func (ConfluentAccountUpdateRequest) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountUpdateRequest) SetData ¶ added in v2.4.0

SetData sets field value.

func (*ConfluentAccountUpdateRequest) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountUpdateRequestAttributes ¶ added in v2.4.0

type ConfluentAccountUpdateRequestAttributes struct {
	// The API key associated with your Confluent account.
	ApiKey string `json:"api_key"`
	// The API secret associated with your Confluent account.
	ApiSecret string `json:"api_secret"`
	// A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
	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{}
}

ConfluentAccountUpdateRequestAttributes Attributes object for updating a Confluent account.

func NewConfluentAccountUpdateRequestAttributes ¶ added in v2.4.0

func NewConfluentAccountUpdateRequestAttributes(apiKey string, apiSecret string) *ConfluentAccountUpdateRequestAttributes

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

func NewConfluentAccountUpdateRequestAttributesWithDefaults ¶ added in v2.4.0

func NewConfluentAccountUpdateRequestAttributesWithDefaults() *ConfluentAccountUpdateRequestAttributes

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

func (*ConfluentAccountUpdateRequestAttributes) GetApiKey ¶ added in v2.4.0

GetApiKey returns the ApiKey field value.

func (*ConfluentAccountUpdateRequestAttributes) GetApiKeyOk ¶ added in v2.4.0

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

func (*ConfluentAccountUpdateRequestAttributes) GetApiSecret ¶ added in v2.4.0

GetApiSecret returns the ApiSecret field value.

func (*ConfluentAccountUpdateRequestAttributes) GetApiSecretOk ¶ added in v2.4.0

func (o *ConfluentAccountUpdateRequestAttributes) GetApiSecretOk() (*string, bool)

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

func (*ConfluentAccountUpdateRequestAttributes) GetTags ¶ added in v2.4.0

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

func (*ConfluentAccountUpdateRequestAttributes) GetTagsOk ¶ added in v2.4.0

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 (*ConfluentAccountUpdateRequestAttributes) HasTags ¶ added in v2.4.0

HasTags returns a boolean if a field has been set.

func (ConfluentAccountUpdateRequestAttributes) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountUpdateRequestAttributes) SetApiKey ¶ added in v2.4.0

SetApiKey sets field value.

func (*ConfluentAccountUpdateRequestAttributes) SetApiSecret ¶ added in v2.4.0

SetApiSecret sets field value.

func (*ConfluentAccountUpdateRequestAttributes) SetTags ¶ added in v2.4.0

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

func (*ConfluentAccountUpdateRequestAttributes) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountUpdateRequestData ¶ added in v2.4.0

type ConfluentAccountUpdateRequestData struct {
	// Attributes object for updating a Confluent account.
	Attributes ConfluentAccountUpdateRequestAttributes `json:"attributes"`
	// The JSON:API type for this API. Should always be `confluent-cloud-accounts`.
	Type ConfluentAccountType `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{}
}

ConfluentAccountUpdateRequestData Data object for updating a Confluent account.

func NewConfluentAccountUpdateRequestData ¶ added in v2.4.0

func NewConfluentAccountUpdateRequestData(attributes ConfluentAccountUpdateRequestAttributes, typeVar ConfluentAccountType) *ConfluentAccountUpdateRequestData

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

func NewConfluentAccountUpdateRequestDataWithDefaults ¶ added in v2.4.0

func NewConfluentAccountUpdateRequestDataWithDefaults() *ConfluentAccountUpdateRequestData

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

func (*ConfluentAccountUpdateRequestData) GetAttributes ¶ added in v2.4.0

GetAttributes returns the Attributes field value.

func (*ConfluentAccountUpdateRequestData) GetAttributesOk ¶ added in v2.4.0

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

func (*ConfluentAccountUpdateRequestData) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*ConfluentAccountUpdateRequestData) GetTypeOk ¶ added in v2.4.0

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

func (ConfluentAccountUpdateRequestData) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountUpdateRequestData) SetAttributes ¶ added in v2.4.0

SetAttributes sets field value.

func (*ConfluentAccountUpdateRequestData) SetType ¶ added in v2.4.0

SetType sets field value.

func (*ConfluentAccountUpdateRequestData) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentAccountsResponse ¶ added in v2.4.0

type ConfluentAccountsResponse struct {
	// The Confluent account.
	Data []ConfluentAccountResponseData `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{}
}

ConfluentAccountsResponse Confluent account returned by the API.

func NewConfluentAccountsResponse ¶ added in v2.4.0

func NewConfluentAccountsResponse() *ConfluentAccountsResponse

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

func NewConfluentAccountsResponseWithDefaults ¶ added in v2.4.0

func NewConfluentAccountsResponseWithDefaults() *ConfluentAccountsResponse

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

func (*ConfluentAccountsResponse) GetData ¶ added in v2.4.0

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

func (*ConfluentAccountsResponse) GetDataOk ¶ added in v2.4.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 (*ConfluentAccountsResponse) HasData ¶ added in v2.4.0

func (o *ConfluentAccountsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ConfluentAccountsResponse) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentAccountsResponse) SetData ¶ added in v2.4.0

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

func (*ConfluentAccountsResponse) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentCloudApi ¶ added in v2.4.0

type ConfluentCloudApi datadog.Service

ConfluentCloudApi service type

func NewConfluentCloudApi ¶ added in v2.4.0

func NewConfluentCloudApi(client *datadog.APIClient) *ConfluentCloudApi

NewConfluentCloudApi Returns NewConfluentCloudApi.

func (*ConfluentCloudApi) CreateConfluentAccount ¶ added in v2.4.0

CreateConfluentAccount Add Confluent account. Create a Confluent account.

func (*ConfluentCloudApi) CreateConfluentResource ¶ added in v2.4.0

CreateConfluentResource Add resource to Confluent account. Create a Confluent resource for the account associated with the provided ID.

func (*ConfluentCloudApi) DeleteConfluentAccount ¶ added in v2.4.0

func (a *ConfluentCloudApi) DeleteConfluentAccount(ctx _context.Context, accountId string) (*_nethttp.Response, error)

DeleteConfluentAccount Delete Confluent account. Delete a Confluent account with the provided account ID.

func (*ConfluentCloudApi) DeleteConfluentResource ¶ added in v2.4.0

func (a *ConfluentCloudApi) DeleteConfluentResource(ctx _context.Context, accountId string, resourceId string) (*_nethttp.Response, error)

DeleteConfluentResource Delete resource from Confluent account. Delete a Confluent resource with the provided resource id for the account associated with the provided account ID.

func (*ConfluentCloudApi) GetConfluentAccount ¶ added in v2.4.0

func (a *ConfluentCloudApi) GetConfluentAccount(ctx _context.Context, accountId string) (ConfluentAccountResponse, *_nethttp.Response, error)

GetConfluentAccount Get Confluent account. Get the Confluent account with the provided account ID.

func (*ConfluentCloudApi) GetConfluentResource ¶ added in v2.4.0

func (a *ConfluentCloudApi) GetConfluentResource(ctx _context.Context, accountId string, resourceId string) (ConfluentResourceResponse, *_nethttp.Response, error)

GetConfluentResource Get resource from Confluent account. Get a Confluent resource with the provided resource id for the account associated with the provided account ID.

func (*ConfluentCloudApi) ListConfluentAccount ¶ added in v2.4.0

ListConfluentAccount List Confluent accounts. List Confluent accounts.

func (*ConfluentCloudApi) ListConfluentResource ¶ added in v2.4.0

func (a *ConfluentCloudApi) ListConfluentResource(ctx _context.Context, accountId string) (ConfluentResourcesResponse, *_nethttp.Response, error)

ListConfluentResource List Confluent Account resources. Get a Confluent resource for the account associated with the provided ID.

func (*ConfluentCloudApi) UpdateConfluentAccount ¶ added in v2.4.0

UpdateConfluentAccount Update Confluent account. Update the Confluent account with the provided account ID.

func (*ConfluentCloudApi) UpdateConfluentResource ¶ added in v2.4.0

func (a *ConfluentCloudApi) UpdateConfluentResource(ctx _context.Context, accountId string, resourceId string, body ConfluentResourceRequest) (ConfluentResourceResponse, *_nethttp.Response, error)

UpdateConfluentResource Update resource in Confluent account. Update a Confluent resource with the provided resource id for the account associated with the provided account ID.

type ConfluentResourceRequest ¶ added in v2.4.0

type ConfluentResourceRequest struct {
	// JSON:API request for updating a Confluent resource.
	Data ConfluentResourceRequestData `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{}
}

ConfluentResourceRequest The JSON:API request for updating a Confluent resource.

func NewConfluentResourceRequest ¶ added in v2.4.0

func NewConfluentResourceRequest(data ConfluentResourceRequestData) *ConfluentResourceRequest

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

func NewConfluentResourceRequestWithDefaults ¶ added in v2.4.0

func NewConfluentResourceRequestWithDefaults() *ConfluentResourceRequest

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

func (*ConfluentResourceRequest) GetData ¶ added in v2.4.0

GetData returns the Data field value.

func (*ConfluentResourceRequest) GetDataOk ¶ added in v2.4.0

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

func (ConfluentResourceRequest) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentResourceRequest) SetData ¶ added in v2.4.0

SetData sets field value.

func (*ConfluentResourceRequest) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentResourceRequestAttributes ¶ added in v2.4.0

type ConfluentResourceRequestAttributes struct {
	// The resource type of the Resource. Can be `kafka`, `connector`, `ksql`, or `schema_registry`.
	ResourceType *string `json:"resource_type,omitempty"`
	// A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
	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{}
}

ConfluentResourceRequestAttributes Attributes object for updating a Confluent resource.

func NewConfluentResourceRequestAttributes ¶ added in v2.4.0

func NewConfluentResourceRequestAttributes() *ConfluentResourceRequestAttributes

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

func NewConfluentResourceRequestAttributesWithDefaults ¶ added in v2.4.0

func NewConfluentResourceRequestAttributesWithDefaults() *ConfluentResourceRequestAttributes

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

func (*ConfluentResourceRequestAttributes) GetResourceType ¶ added in v2.4.0

func (o *ConfluentResourceRequestAttributes) GetResourceType() string

GetResourceType returns the ResourceType field value if set, zero value otherwise.

func (*ConfluentResourceRequestAttributes) GetResourceTypeOk ¶ added in v2.4.0

func (o *ConfluentResourceRequestAttributes) GetResourceTypeOk() (*string, bool)

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

func (*ConfluentResourceRequestAttributes) GetTags ¶ added in v2.4.0

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

func (*ConfluentResourceRequestAttributes) GetTagsOk ¶ added in v2.4.0

func (o *ConfluentResourceRequestAttributes) 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 (*ConfluentResourceRequestAttributes) HasResourceType ¶ added in v2.4.0

func (o *ConfluentResourceRequestAttributes) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

func (*ConfluentResourceRequestAttributes) HasTags ¶ added in v2.4.0

HasTags returns a boolean if a field has been set.

func (ConfluentResourceRequestAttributes) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentResourceRequestAttributes) SetResourceType ¶ added in v2.4.0

func (o *ConfluentResourceRequestAttributes) SetResourceType(v string)

SetResourceType gets a reference to the given string and assigns it to the ResourceType field.

func (*ConfluentResourceRequestAttributes) SetTags ¶ added in v2.4.0

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

func (*ConfluentResourceRequestAttributes) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentResourceRequestData ¶ added in v2.4.0

type ConfluentResourceRequestData struct {
	// Attributes object for updating a Confluent resource.
	Attributes ConfluentResourceRequestAttributes `json:"attributes"`
	// The ID associated with a Confluent resource.
	Id string `json:"id"`
	// The JSON:API type for this request.
	Type ConfluentResourceType `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{}
}

ConfluentResourceRequestData JSON:API request for updating a Confluent resource.

func NewConfluentResourceRequestData ¶ added in v2.4.0

func NewConfluentResourceRequestData(attributes ConfluentResourceRequestAttributes, id string, typeVar ConfluentResourceType) *ConfluentResourceRequestData

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

func NewConfluentResourceRequestDataWithDefaults ¶ added in v2.4.0

func NewConfluentResourceRequestDataWithDefaults() *ConfluentResourceRequestData

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

func (*ConfluentResourceRequestData) GetAttributes ¶ added in v2.4.0

GetAttributes returns the Attributes field value.

func (*ConfluentResourceRequestData) GetAttributesOk ¶ added in v2.4.0

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

func (*ConfluentResourceRequestData) GetId ¶ added in v2.4.0

GetId returns the Id field value.

func (*ConfluentResourceRequestData) GetIdOk ¶ added in v2.4.0

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

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

func (*ConfluentResourceRequestData) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*ConfluentResourceRequestData) GetTypeOk ¶ added in v2.4.0

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

func (ConfluentResourceRequestData) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentResourceRequestData) SetAttributes ¶ added in v2.4.0

SetAttributes sets field value.

func (*ConfluentResourceRequestData) SetId ¶ added in v2.4.0

SetId sets field value.

func (*ConfluentResourceRequestData) SetType ¶ added in v2.4.0

SetType sets field value.

func (*ConfluentResourceRequestData) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentResourceResponse ¶ added in v2.4.0

type ConfluentResourceResponse struct {
	// Confluent Cloud resource data.
	Data *ConfluentResourceResponseData `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{}
}

ConfluentResourceResponse Response schema when interacting with a Confluent resource.

func NewConfluentResourceResponse ¶ added in v2.4.0

func NewConfluentResourceResponse() *ConfluentResourceResponse

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

func NewConfluentResourceResponseWithDefaults ¶ added in v2.4.0

func NewConfluentResourceResponseWithDefaults() *ConfluentResourceResponse

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

func (*ConfluentResourceResponse) GetData ¶ added in v2.4.0

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

func (*ConfluentResourceResponse) GetDataOk ¶ added in v2.4.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 (*ConfluentResourceResponse) HasData ¶ added in v2.4.0

func (o *ConfluentResourceResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ConfluentResourceResponse) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentResourceResponse) SetData ¶ added in v2.4.0

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

func (*ConfluentResourceResponse) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentResourceResponseAttributes ¶ added in v2.4.0

type ConfluentResourceResponseAttributes struct {
	// The resource type of the Resource. Can be `kafka`, `connector`, `ksql`, or `schema_registry`.
	ResourceType string `json:"resource_type"`
	// A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
	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{}
}

ConfluentResourceResponseAttributes Model representation of a Confluent Cloud resource.

func NewConfluentResourceResponseAttributes ¶ added in v2.4.0

func NewConfluentResourceResponseAttributes(resourceType string) *ConfluentResourceResponseAttributes

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

func NewConfluentResourceResponseAttributesWithDefaults ¶ added in v2.4.0

func NewConfluentResourceResponseAttributesWithDefaults() *ConfluentResourceResponseAttributes

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

func (*ConfluentResourceResponseAttributes) GetResourceType ¶ added in v2.4.0

func (o *ConfluentResourceResponseAttributes) GetResourceType() string

GetResourceType returns the ResourceType field value.

func (*ConfluentResourceResponseAttributes) GetResourceTypeOk ¶ added in v2.4.0

func (o *ConfluentResourceResponseAttributes) GetResourceTypeOk() (*string, bool)

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

func (*ConfluentResourceResponseAttributes) GetTags ¶ added in v2.4.0

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

func (*ConfluentResourceResponseAttributes) GetTagsOk ¶ added in v2.4.0

func (o *ConfluentResourceResponseAttributes) 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 (*ConfluentResourceResponseAttributes) HasTags ¶ added in v2.4.0

HasTags returns a boolean if a field has been set.

func (ConfluentResourceResponseAttributes) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentResourceResponseAttributes) SetResourceType ¶ added in v2.4.0

func (o *ConfluentResourceResponseAttributes) SetResourceType(v string)

SetResourceType sets field value.

func (*ConfluentResourceResponseAttributes) SetTags ¶ added in v2.4.0

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

func (*ConfluentResourceResponseAttributes) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentResourceResponseData ¶ added in v2.4.0

type ConfluentResourceResponseData struct {
	// Model representation of a Confluent Cloud resource.
	Attributes ConfluentResourceResponseAttributes `json:"attributes"`
	// The ID associated with the Confluent resource.
	Id string `json:"id"`
	// The JSON:API type for this request.
	Type ConfluentResourceType `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{}
}

ConfluentResourceResponseData Confluent Cloud resource data.

func NewConfluentResourceResponseData ¶ added in v2.4.0

func NewConfluentResourceResponseData(attributes ConfluentResourceResponseAttributes, id string, typeVar ConfluentResourceType) *ConfluentResourceResponseData

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

func NewConfluentResourceResponseDataWithDefaults ¶ added in v2.4.0

func NewConfluentResourceResponseDataWithDefaults() *ConfluentResourceResponseData

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

func (*ConfluentResourceResponseData) GetAttributes ¶ added in v2.4.0

GetAttributes returns the Attributes field value.

func (*ConfluentResourceResponseData) GetAttributesOk ¶ added in v2.4.0

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

func (*ConfluentResourceResponseData) GetId ¶ added in v2.4.0

GetId returns the Id field value.

func (*ConfluentResourceResponseData) GetIdOk ¶ added in v2.4.0

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

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

func (*ConfluentResourceResponseData) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*ConfluentResourceResponseData) GetTypeOk ¶ added in v2.4.0

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

func (ConfluentResourceResponseData) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentResourceResponseData) SetAttributes ¶ added in v2.4.0

SetAttributes sets field value.

func (*ConfluentResourceResponseData) SetId ¶ added in v2.4.0

SetId sets field value.

func (*ConfluentResourceResponseData) SetType ¶ added in v2.4.0

SetType sets field value.

func (*ConfluentResourceResponseData) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentResourceType ¶ added in v2.4.0

type ConfluentResourceType string

ConfluentResourceType The JSON:API type for this request.

const (
	CONFLUENTRESOURCETYPE_CONFLUENT_CLOUD_RESOURCES ConfluentResourceType = "confluent-cloud-resources"
)

List of ConfluentResourceType.

func NewConfluentResourceTypeFromValue ¶ added in v2.4.0

func NewConfluentResourceTypeFromValue(v string) (*ConfluentResourceType, error)

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

func (*ConfluentResourceType) GetAllowedValues ¶ added in v2.4.0

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

GetAllowedValues reeturns the list of possible values.

func (ConfluentResourceType) IsValid ¶ added in v2.4.0

func (v ConfluentResourceType) IsValid() bool

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

func (ConfluentResourceType) Ptr ¶ added in v2.4.0

Ptr returns reference to ConfluentResourceType value.

func (*ConfluentResourceType) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ConfluentResourcesResponse ¶ added in v2.4.0

type ConfluentResourcesResponse struct {
	// The JSON:API data attribute.
	Data []ConfluentResourceResponseData `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{}
}

ConfluentResourcesResponse Response schema when interacting with a list of Confluent resources.

func NewConfluentResourcesResponse ¶ added in v2.4.0

func NewConfluentResourcesResponse() *ConfluentResourcesResponse

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

func NewConfluentResourcesResponseWithDefaults ¶ added in v2.4.0

func NewConfluentResourcesResponseWithDefaults() *ConfluentResourcesResponse

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

func (*ConfluentResourcesResponse) GetData ¶ added in v2.4.0

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

func (*ConfluentResourcesResponse) GetDataOk ¶ added in v2.4.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 (*ConfluentResourcesResponse) HasData ¶ added in v2.4.0

func (o *ConfluentResourcesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ConfluentResourcesResponse) MarshalJSON ¶ added in v2.4.0

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

MarshalJSON serializes the struct using spec logic.

func (*ConfluentResourcesResponse) SetData ¶ added in v2.4.0

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

func (*ConfluentResourcesResponse) UnmarshalJSON ¶ added in v2.4.0

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

UnmarshalJSON deserializes the given payload.

type ContentEncoding ¶

type ContentEncoding string

ContentEncoding HTTP header used to compress the media-type.

const (
	CONTENTENCODING_IDENTITY ContentEncoding = "identity"
	CONTENTENCODING_GZIP     ContentEncoding = "gzip"
	CONTENTENCODING_DEFLATE  ContentEncoding = "deflate"
)

List of ContentEncoding.

func NewContentEncodingFromValue ¶

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 ¶

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

GetAllowedValues reeturns the list of possible values.

func (ContentEncoding) IsValid ¶

func (v ContentEncoding) IsValid() bool

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

func (ContentEncoding) Ptr ¶

Ptr returns reference to ContentEncoding value.

func (*ContentEncoding) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CostByOrg ¶

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 ¶

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 ¶

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 ¶

func (o *CostByOrg) GetAttributes() CostByOrgAttributes

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

func (*CostByOrg) GetAttributesOk ¶

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 ¶

func (o *CostByOrg) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CostByOrg) GetIdOk ¶

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 ¶

func (o *CostByOrg) GetType() CostByOrgType

GetType returns the Type field value if set, zero value otherwise.

func (*CostByOrg) GetTypeOk ¶

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 ¶

func (o *CostByOrg) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CostByOrg) HasId ¶

func (o *CostByOrg) HasId() bool

HasId returns a boolean if a field has been set.

func (*CostByOrg) HasType ¶

func (o *CostByOrg) HasType() bool

HasType returns a boolean if a field has been set.

func (CostByOrg) MarshalJSON ¶

func (o CostByOrg) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*CostByOrg) SetAttributes ¶

func (o *CostByOrg) SetAttributes(v CostByOrgAttributes)

SetAttributes gets a reference to the given CostByOrgAttributes and assigns it to the Attributes field.

func (*CostByOrg) SetId ¶

func (o *CostByOrg) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CostByOrg) SetType ¶

func (o *CostByOrg) SetType(v CostByOrgType)

SetType gets a reference to the given CostByOrgType and assigns it to the Type field.

func (*CostByOrg) UnmarshalJSON ¶

func (o *CostByOrg) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CostByOrgAttributes ¶

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 region of the Datadog instance that the organization belongs to.
	Region *string `json:"region,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 ¶

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 ¶

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 ¶

func (o *CostByOrgAttributes) GetCharges() []ChargebackBreakdown

GetCharges returns the Charges field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetChargesOk ¶

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 ¶

func (o *CostByOrgAttributes) GetDate() time.Time

GetDate returns the Date field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetDateOk ¶

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 ¶

func (o *CostByOrgAttributes) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetOrgNameOk ¶

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 ¶

func (o *CostByOrgAttributes) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetPublicIdOk ¶

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) GetRegion ¶ added in v2.8.0

func (o *CostByOrgAttributes) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetRegionOk ¶ added in v2.8.0

func (o *CostByOrgAttributes) 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 (*CostByOrgAttributes) GetTotalCost ¶

func (o *CostByOrgAttributes) GetTotalCost() float64

GetTotalCost returns the TotalCost field value if set, zero value otherwise.

func (*CostByOrgAttributes) GetTotalCostOk ¶

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 ¶

func (o *CostByOrgAttributes) HasCharges() bool

HasCharges returns a boolean if a field has been set.

func (*CostByOrgAttributes) HasDate ¶

func (o *CostByOrgAttributes) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*CostByOrgAttributes) HasOrgName ¶

func (o *CostByOrgAttributes) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*CostByOrgAttributes) HasPublicId ¶

func (o *CostByOrgAttributes) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*CostByOrgAttributes) HasRegion ¶ added in v2.8.0

func (o *CostByOrgAttributes) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*CostByOrgAttributes) HasTotalCost ¶

func (o *CostByOrgAttributes) HasTotalCost() bool

HasTotalCost returns a boolean if a field has been set.

func (CostByOrgAttributes) MarshalJSON ¶

func (o CostByOrgAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*CostByOrgAttributes) SetCharges ¶

func (o *CostByOrgAttributes) SetCharges(v []ChargebackBreakdown)

SetCharges gets a reference to the given []ChargebackBreakdown and assigns it to the Charges field.

func (*CostByOrgAttributes) SetDate ¶

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 ¶

func (o *CostByOrgAttributes) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*CostByOrgAttributes) SetPublicId ¶

func (o *CostByOrgAttributes) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*CostByOrgAttributes) SetRegion ¶ added in v2.8.0

func (o *CostByOrgAttributes) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*CostByOrgAttributes) SetTotalCost ¶

func (o *CostByOrgAttributes) SetTotalCost(v float64)

SetTotalCost gets a reference to the given float64 and assigns it to the TotalCost field.

func (*CostByOrgAttributes) UnmarshalJSON ¶

func (o *CostByOrgAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CostByOrgResponse ¶

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 ¶

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 ¶

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 ¶

func (o *CostByOrgResponse) GetData() []CostByOrg

GetData returns the Data field value if set, zero value otherwise.

func (*CostByOrgResponse) GetDataOk ¶

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 ¶

func (o *CostByOrgResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (CostByOrgResponse) MarshalJSON ¶

func (o CostByOrgResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*CostByOrgResponse) SetData ¶

func (o *CostByOrgResponse) SetData(v []CostByOrg)

SetData gets a reference to the given []CostByOrg and assigns it to the Data field.

func (*CostByOrgResponse) UnmarshalJSON ¶

func (o *CostByOrgResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CostByOrgType ¶

type CostByOrgType string

CostByOrgType Type of cost data.

const (
	COSTBYORGTYPE_COST_BY_ORG CostByOrgType = "cost_by_org"
)

List of CostByOrgType.

func NewCostByOrgTypeFromValue ¶

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 ¶

func (v *CostByOrgType) GetAllowedValues() []CostByOrgType

GetAllowedValues reeturns the list of possible values.

func (CostByOrgType) IsValid ¶

func (v CostByOrgType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (CostByOrgType) Ptr ¶

func (v CostByOrgType) Ptr() *CostByOrgType

Ptr returns reference to CostByOrgType value.

func (*CostByOrgType) UnmarshalJSON ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *DashboardListUpdateItemsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListsApi ¶

type DashboardListsApi datadog.Service

DashboardListsApi service type

func NewDashboardListsApi ¶

func NewDashboardListsApi(client *datadog.APIClient) *DashboardListsApi

NewDashboardListsApi Returns NewDashboardListsApi.

func (*DashboardListsApi) CreateDashboardListItems ¶

func (a *DashboardListsApi) CreateDashboardListItems(ctx _context.Context, dashboardListId int64, body DashboardListAddItemsRequest) (DashboardListAddItemsResponse, *_nethttp.Response, error)

CreateDashboardListItems Add Items to a Dashboard List. Add dashboards to an existing dashboard list.

func (*DashboardListsApi) DeleteDashboardListItems ¶

DeleteDashboardListItems Delete items from a dashboard list. Delete dashboards from an existing dashboard list.

func (*DashboardListsApi) GetDashboardListItems ¶

func (a *DashboardListsApi) 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 (*DashboardListsApi) 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 ¶

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 DataScalarColumn ¶ added in v2.8.0

type DataScalarColumn struct {
	// Metadata for the resulting numerical values.
	Meta *ScalarMeta `json:"meta,omitempty"`
	// The name referencing the formula or query for this column.
	Name *string `json:"name,omitempty"`
	// The type of column present.
	Type *string `json:"type,omitempty"`
	// The array of numerical values for one formula or query.
	Values []float64 `json:"values,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{}
}

DataScalarColumn A column containing the numerical results for a formula or query.

func NewDataScalarColumn ¶ added in v2.8.0

func NewDataScalarColumn() *DataScalarColumn

NewDataScalarColumn instantiates a new DataScalarColumn object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewDataScalarColumnWithDefaults ¶ added in v2.8.0

func NewDataScalarColumnWithDefaults() *DataScalarColumn

NewDataScalarColumnWithDefaults instantiates a new DataScalarColumn object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*DataScalarColumn) GetMeta ¶ added in v2.8.0

func (o *DataScalarColumn) GetMeta() ScalarMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*DataScalarColumn) GetMetaOk ¶ added in v2.8.0

func (o *DataScalarColumn) GetMetaOk() (*ScalarMeta, 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 (*DataScalarColumn) GetName ¶ added in v2.8.0

func (o *DataScalarColumn) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DataScalarColumn) GetNameOk ¶ added in v2.8.0

func (o *DataScalarColumn) 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 (*DataScalarColumn) GetType ¶ added in v2.8.0

func (o *DataScalarColumn) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*DataScalarColumn) GetTypeOk ¶ added in v2.8.0

func (o *DataScalarColumn) 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 (*DataScalarColumn) GetValues ¶ added in v2.8.0

func (o *DataScalarColumn) GetValues() []float64

GetValues returns the Values field value if set, zero value otherwise.

func (*DataScalarColumn) GetValuesOk ¶ added in v2.8.0

func (o *DataScalarColumn) GetValuesOk() (*[]float64, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DataScalarColumn) HasMeta ¶ added in v2.8.0

func (o *DataScalarColumn) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*DataScalarColumn) HasName ¶ added in v2.8.0

func (o *DataScalarColumn) HasName() bool

HasName returns a boolean if a field has been set.

func (*DataScalarColumn) HasType ¶ added in v2.8.0

func (o *DataScalarColumn) HasType() bool

HasType returns a boolean if a field has been set.

func (*DataScalarColumn) HasValues ¶ added in v2.8.0

func (o *DataScalarColumn) HasValues() bool

HasValues returns a boolean if a field has been set.

func (DataScalarColumn) MarshalJSON ¶ added in v2.8.0

func (o DataScalarColumn) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*DataScalarColumn) SetMeta ¶ added in v2.8.0

func (o *DataScalarColumn) SetMeta(v ScalarMeta)

SetMeta gets a reference to the given ScalarMeta and assigns it to the Meta field.

func (*DataScalarColumn) SetName ¶ added in v2.8.0

func (o *DataScalarColumn) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DataScalarColumn) SetType ¶ added in v2.8.0

func (o *DataScalarColumn) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*DataScalarColumn) SetValues ¶ added in v2.8.0

func (o *DataScalarColumn) SetValues(v []float64)

SetValues gets a reference to the given []float64 and assigns it to the Values field.

func (*DataScalarColumn) UnmarshalJSON ¶ added in v2.8.0

func (o *DataScalarColumn) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EstimateMetricsOutputSeriesOptionalParameters ¶

type EstimateMetricsOutputSeriesOptionalParameters struct {
	FilterGroups          *string
	FilterHoursAgo        *int32
	FilterNumAggregations *int32
	FilterPct             *bool
	FilterTimespanH       *int32
}

EstimateMetricsOutputSeriesOptionalParameters holds optional parameters for EstimateMetricsOutputSeries.

func NewEstimateMetricsOutputSeriesOptionalParameters ¶

func NewEstimateMetricsOutputSeriesOptionalParameters() *EstimateMetricsOutputSeriesOptionalParameters

NewEstimateMetricsOutputSeriesOptionalParameters creates an empty struct for parameters.

func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterGroups ¶

WithFilterGroups sets the corresponding parameter name and returns the struct.

func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterHoursAgo ¶

WithFilterHoursAgo sets the corresponding parameter name and returns the struct.

func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterNumAggregations ¶

func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterNumAggregations(filterNumAggregations int32) *EstimateMetricsOutputSeriesOptionalParameters

WithFilterNumAggregations sets the corresponding parameter name and returns the struct.

func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterPct ¶

WithFilterPct sets the corresponding parameter name and returns the struct.

func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterTimespanH ¶

WithFilterTimespanH sets the corresponding parameter name and returns the struct.

type Event ¶

type Event struct {
	// Event ID.
	Id *string `json:"id,omitempty"`
	// The event name.
	Name *string `json:"name,omitempty"`
	// Event source ID.
	SourceId *int64 `json:"source_id,omitempty"`
	// Event type.
	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{}
}

Event The metadata associated with a request.

func NewEvent ¶

func NewEvent() *Event

NewEvent instantiates a new Event object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventWithDefaults ¶

func NewEventWithDefaults() *Event

NewEventWithDefaults instantiates a new Event object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*Event) GetId ¶

func (o *Event) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Event) GetIdOk ¶

func (o *Event) 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 (*Event) GetName ¶

func (o *Event) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Event) GetNameOk ¶

func (o *Event) 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 (*Event) GetSourceId ¶

func (o *Event) GetSourceId() int64

GetSourceId returns the SourceId field value if set, zero value otherwise.

func (*Event) GetSourceIdOk ¶

func (o *Event) GetSourceIdOk() (*int64, bool)

GetSourceIdOk returns a tuple with the SourceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetType ¶

func (o *Event) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Event) GetTypeOk ¶

func (o *Event) 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 (*Event) HasId ¶

func (o *Event) HasId() bool

HasId returns a boolean if a field has been set.

func (*Event) HasName ¶

func (o *Event) HasName() bool

HasName returns a boolean if a field has been set.

func (*Event) HasSourceId ¶

func (o *Event) HasSourceId() bool

HasSourceId returns a boolean if a field has been set.

func (*Event) HasType ¶

func (o *Event) HasType() bool

HasType returns a boolean if a field has been set.

func (Event) MarshalJSON ¶

func (o Event) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Event) SetId ¶

func (o *Event) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Event) SetName ¶

func (o *Event) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Event) SetSourceId ¶

func (o *Event) SetSourceId(v int64)

SetSourceId gets a reference to the given int64 and assigns it to the SourceId field.

func (*Event) SetType ¶

func (o *Event) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*Event) UnmarshalJSON ¶

func (o *Event) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventAttributes ¶

type EventAttributes struct {
	// Aggregation key of the event.
	AggregationKey *string `json:"aggregation_key,omitempty"`
	// POSIX timestamp of the event. Must be sent as an integer (no quotation marks).
	// Limited to events no older than 18 hours.
	DateHappened *int64 `json:"date_happened,omitempty"`
	// A device name.
	DeviceName *string `json:"device_name,omitempty"`
	// The duration between the triggering of the event and its recovery in nanoseconds.
	Duration *int64 `json:"duration,omitempty"`
	// The event title.
	EventObject *string `json:"event_object,omitempty"`
	// The metadata associated with a request.
	Evt *Event `json:"evt,omitempty"`
	// Host name to associate with the event.
	// Any tags associated with the host are also applied to this event.
	Hostname *string `json:"hostname,omitempty"`
	// Attributes from the monitor that triggered the event.
	Monitor NullableMonitorType `json:"monitor,omitempty"`
	// List of groups referred to in the event.
	MonitorGroups []string `json:"monitor_groups,omitempty"`
	// ID of the monitor that triggered the event. When an event isn't related to a monitor, this field is empty.
	MonitorId datadog.NullableInt64 `json:"monitor_id,omitempty"`
	// The priority of the event's monitor. For example, `normal` or `low`.
	Priority NullableEventPriority `json:"priority,omitempty"`
	// Related event ID.
	RelatedEventId *int64 `json:"related_event_id,omitempty"`
	// Service that triggered the event.
	Service *string `json:"service,omitempty"`
	// The type of event being posted.
	// For example, `nagios`, `hudson`, `jenkins`, `my_apps`, `chef`, `puppet`, `git` or `bitbucket`.
	// The list of standard source attribute values is [available here](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
	SourceTypeName *string `json:"source_type_name,omitempty"`
	// Identifier for the source of the event, such as a monitor alert, an externally-submitted event, or an integration.
	Sourcecategory *string `json:"sourcecategory,omitempty"`
	// If an alert event is enabled, its status is one of the following:
	// `failure`, `error`, `warning`, `info`, `success`, `user_update`,
	// `recommendation`, or `snapshot`.
	Status *EventStatusType `json:"status,omitempty"`
	// A list of tags to apply to the event.
	Tags []string `json:"tags,omitempty"`
	// POSIX timestamp of your event in milliseconds.
	Timestamp *int64 `json:"timestamp,omitempty"`
	// The event 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{}
}

EventAttributes Object description of attributes from your event.

func NewEventAttributes ¶

func NewEventAttributes() *EventAttributes

NewEventAttributes instantiates a new EventAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventAttributesWithDefaults ¶

func NewEventAttributesWithDefaults() *EventAttributes

NewEventAttributesWithDefaults instantiates a new EventAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventAttributes) GetAggregationKey ¶

func (o *EventAttributes) GetAggregationKey() string

GetAggregationKey returns the AggregationKey field value if set, zero value otherwise.

func (*EventAttributes) GetAggregationKeyOk ¶

func (o *EventAttributes) GetAggregationKeyOk() (*string, bool)

GetAggregationKeyOk returns a tuple with the AggregationKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventAttributes) GetDateHappened ¶

func (o *EventAttributes) GetDateHappened() int64

GetDateHappened returns the DateHappened field value if set, zero value otherwise.

func (*EventAttributes) GetDateHappenedOk ¶

func (o *EventAttributes) GetDateHappenedOk() (*int64, bool)

GetDateHappenedOk returns a tuple with the DateHappened field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventAttributes) GetDeviceName ¶

func (o *EventAttributes) GetDeviceName() string

GetDeviceName returns the DeviceName field value if set, zero value otherwise.

func (*EventAttributes) GetDeviceNameOk ¶

func (o *EventAttributes) GetDeviceNameOk() (*string, bool)

GetDeviceNameOk returns a tuple with the DeviceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventAttributes) GetDuration ¶

func (o *EventAttributes) GetDuration() int64

GetDuration returns the Duration field value if set, zero value otherwise.

func (*EventAttributes) GetDurationOk ¶

func (o *EventAttributes) GetDurationOk() (*int64, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventAttributes) GetEventObject ¶

func (o *EventAttributes) GetEventObject() string

GetEventObject returns the EventObject field value if set, zero value otherwise.

func (*EventAttributes) GetEventObjectOk ¶

func (o *EventAttributes) GetEventObjectOk() (*string, bool)

GetEventObjectOk returns a tuple with the EventObject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventAttributes) GetEvt ¶

func (o *EventAttributes) GetEvt() Event

GetEvt returns the Evt field value if set, zero value otherwise.

func (*EventAttributes) GetEvtOk ¶

func (o *EventAttributes) GetEvtOk() (*Event, bool)

GetEvtOk returns a tuple with the Evt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventAttributes) GetHostname ¶

func (o *EventAttributes) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*EventAttributes) GetHostnameOk ¶

func (o *EventAttributes) 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 (*EventAttributes) GetMonitor ¶

func (o *EventAttributes) GetMonitor() MonitorType

GetMonitor returns the Monitor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EventAttributes) GetMonitorGroups ¶

func (o *EventAttributes) GetMonitorGroups() []string

GetMonitorGroups returns the MonitorGroups field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EventAttributes) GetMonitorGroupsOk ¶

func (o *EventAttributes) GetMonitorGroupsOk() (*[]string, bool)

GetMonitorGroupsOk returns a tuple with the MonitorGroups 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 (*EventAttributes) GetMonitorId ¶

func (o *EventAttributes) GetMonitorId() int64

GetMonitorId returns the MonitorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EventAttributes) GetMonitorIdOk ¶

func (o *EventAttributes) GetMonitorIdOk() (*int64, bool)

GetMonitorIdOk returns a tuple with the MonitorId 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 (*EventAttributes) GetMonitorOk ¶

func (o *EventAttributes) GetMonitorOk() (*MonitorType, bool)

GetMonitorOk returns a tuple with the Monitor 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 (*EventAttributes) GetPriority ¶

func (o *EventAttributes) GetPriority() EventPriority

GetPriority returns the Priority field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EventAttributes) GetPriorityOk ¶

func (o *EventAttributes) GetPriorityOk() (*EventPriority, bool)

GetPriorityOk returns a tuple with the Priority 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 (*EventAttributes) GetRelatedEventId ¶

func (o *EventAttributes) GetRelatedEventId() int64

GetRelatedEventId returns the RelatedEventId field value if set, zero value otherwise.

func (*EventAttributes) GetRelatedEventIdOk ¶

func (o *EventAttributes) GetRelatedEventIdOk() (*int64, bool)

GetRelatedEventIdOk returns a tuple with the RelatedEventId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventAttributes) GetService ¶

func (o *EventAttributes) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*EventAttributes) GetServiceOk ¶

func (o *EventAttributes) 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 (*EventAttributes) GetSourceTypeName ¶

func (o *EventAttributes) GetSourceTypeName() string

GetSourceTypeName returns the SourceTypeName field value if set, zero value otherwise.

func (*EventAttributes) GetSourceTypeNameOk ¶

func (o *EventAttributes) 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 (*EventAttributes) GetSourcecategory ¶

func (o *EventAttributes) GetSourcecategory() string

GetSourcecategory returns the Sourcecategory field value if set, zero value otherwise.

func (*EventAttributes) GetSourcecategoryOk ¶

func (o *EventAttributes) GetSourcecategoryOk() (*string, bool)

GetSourcecategoryOk returns a tuple with the Sourcecategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventAttributes) GetStatus ¶

func (o *EventAttributes) GetStatus() EventStatusType

GetStatus returns the Status field value if set, zero value otherwise.

func (*EventAttributes) GetStatusOk ¶

func (o *EventAttributes) GetStatusOk() (*EventStatusType, 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 (*EventAttributes) GetTags ¶

func (o *EventAttributes) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*EventAttributes) GetTagsOk ¶

func (o *EventAttributes) 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 (*EventAttributes) GetTimestamp ¶

func (o *EventAttributes) GetTimestamp() int64

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*EventAttributes) GetTimestampOk ¶

func (o *EventAttributes) 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 (*EventAttributes) GetTitle ¶

func (o *EventAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*EventAttributes) GetTitleOk ¶

func (o *EventAttributes) 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 (*EventAttributes) HasAggregationKey ¶

func (o *EventAttributes) HasAggregationKey() bool

HasAggregationKey returns a boolean if a field has been set.

func (*EventAttributes) HasDateHappened ¶

func (o *EventAttributes) HasDateHappened() bool

HasDateHappened returns a boolean if a field has been set.

func (*EventAttributes) HasDeviceName ¶

func (o *EventAttributes) HasDeviceName() bool

HasDeviceName returns a boolean if a field has been set.

func (*EventAttributes) HasDuration ¶

func (o *EventAttributes) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*EventAttributes) HasEventObject ¶

func (o *EventAttributes) HasEventObject() bool

HasEventObject returns a boolean if a field has been set.

func (*EventAttributes) HasEvt ¶

func (o *EventAttributes) HasEvt() bool

HasEvt returns a boolean if a field has been set.

func (*EventAttributes) HasHostname ¶

func (o *EventAttributes) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*EventAttributes) HasMonitor ¶

func (o *EventAttributes) HasMonitor() bool

HasMonitor returns a boolean if a field has been set.

func (*EventAttributes) HasMonitorGroups ¶

func (o *EventAttributes) HasMonitorGroups() bool

HasMonitorGroups returns a boolean if a field has been set.

func (*EventAttributes) HasMonitorId ¶

func (o *EventAttributes) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*EventAttributes) HasPriority ¶

func (o *EventAttributes) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*EventAttributes) HasRelatedEventId ¶

func (o *EventAttributes) HasRelatedEventId() bool

HasRelatedEventId returns a boolean if a field has been set.

func (*EventAttributes) HasService ¶

func (o *EventAttributes) HasService() bool

HasService returns a boolean if a field has been set.

func (*EventAttributes) HasSourceTypeName ¶

func (o *EventAttributes) HasSourceTypeName() bool

HasSourceTypeName returns a boolean if a field has been set.

func (*EventAttributes) HasSourcecategory ¶

func (o *EventAttributes) HasSourcecategory() bool

HasSourcecategory returns a boolean if a field has been set.

func (*EventAttributes) HasStatus ¶

func (o *EventAttributes) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*EventAttributes) HasTags ¶

func (o *EventAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*EventAttributes) HasTimestamp ¶

func (o *EventAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*EventAttributes) HasTitle ¶

func (o *EventAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (EventAttributes) MarshalJSON ¶

func (o EventAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventAttributes) SetAggregationKey ¶

func (o *EventAttributes) SetAggregationKey(v string)

SetAggregationKey gets a reference to the given string and assigns it to the AggregationKey field.

func (*EventAttributes) SetDateHappened ¶

func (o *EventAttributes) SetDateHappened(v int64)

SetDateHappened gets a reference to the given int64 and assigns it to the DateHappened field.

func (*EventAttributes) SetDeviceName ¶

func (o *EventAttributes) SetDeviceName(v string)

SetDeviceName gets a reference to the given string and assigns it to the DeviceName field.

func (*EventAttributes) SetDuration ¶

func (o *EventAttributes) SetDuration(v int64)

SetDuration gets a reference to the given int64 and assigns it to the Duration field.

func (*EventAttributes) SetEventObject ¶

func (o *EventAttributes) SetEventObject(v string)

SetEventObject gets a reference to the given string and assigns it to the EventObject field.

func (*EventAttributes) SetEvt ¶

func (o *EventAttributes) SetEvt(v Event)

SetEvt gets a reference to the given Event and assigns it to the Evt field.

func (*EventAttributes) SetHostname ¶

func (o *EventAttributes) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*EventAttributes) SetMonitor ¶

func (o *EventAttributes) SetMonitor(v MonitorType)

SetMonitor gets a reference to the given NullableMonitorType and assigns it to the Monitor field.

func (*EventAttributes) SetMonitorGroups ¶

func (o *EventAttributes) SetMonitorGroups(v []string)

SetMonitorGroups gets a reference to the given []string and assigns it to the MonitorGroups field.

func (*EventAttributes) SetMonitorId ¶

func (o *EventAttributes) SetMonitorId(v int64)

SetMonitorId gets a reference to the given datadog.NullableInt64 and assigns it to the MonitorId field.

func (*EventAttributes) SetMonitorIdNil ¶

func (o *EventAttributes) SetMonitorIdNil()

SetMonitorIdNil sets the value for MonitorId to be an explicit nil.

func (*EventAttributes) SetMonitorNil ¶

func (o *EventAttributes) SetMonitorNil()

SetMonitorNil sets the value for Monitor to be an explicit nil.

func (*EventAttributes) SetPriority ¶

func (o *EventAttributes) SetPriority(v EventPriority)

SetPriority gets a reference to the given NullableEventPriority and assigns it to the Priority field.

func (*EventAttributes) SetPriorityNil ¶

func (o *EventAttributes) SetPriorityNil()

SetPriorityNil sets the value for Priority to be an explicit nil.

func (*EventAttributes) SetRelatedEventId ¶

func (o *EventAttributes) SetRelatedEventId(v int64)

SetRelatedEventId gets a reference to the given int64 and assigns it to the RelatedEventId field.

func (*EventAttributes) SetService ¶

func (o *EventAttributes) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*EventAttributes) SetSourceTypeName ¶

func (o *EventAttributes) SetSourceTypeName(v string)

SetSourceTypeName gets a reference to the given string and assigns it to the SourceTypeName field.

func (*EventAttributes) SetSourcecategory ¶

func (o *EventAttributes) SetSourcecategory(v string)

SetSourcecategory gets a reference to the given string and assigns it to the Sourcecategory field.

func (*EventAttributes) SetStatus ¶

func (o *EventAttributes) SetStatus(v EventStatusType)

SetStatus gets a reference to the given EventStatusType and assigns it to the Status field.

func (*EventAttributes) SetTags ¶

func (o *EventAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*EventAttributes) SetTimestamp ¶

func (o *EventAttributes) SetTimestamp(v int64)

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

func (*EventAttributes) SetTitle ¶

func (o *EventAttributes) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*EventAttributes) UnmarshalJSON ¶

func (o *EventAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*EventAttributes) UnsetMonitor ¶

func (o *EventAttributes) UnsetMonitor()

UnsetMonitor ensures that no value is present for Monitor, not even an explicit nil.

func (*EventAttributes) UnsetMonitorId ¶

func (o *EventAttributes) UnsetMonitorId()

UnsetMonitorId ensures that no value is present for MonitorId, not even an explicit nil.

func (*EventAttributes) UnsetPriority ¶

func (o *EventAttributes) UnsetPriority()

UnsetPriority ensures that no value is present for Priority, not even an explicit nil.

type EventPriority ¶

type EventPriority string

EventPriority The priority of the event's monitor. For example, `normal` or `low`.

const (
	EVENTPRIORITY_NORMAL EventPriority = "normal"
	EVENTPRIORITY_LOW    EventPriority = "low"
)

List of EventPriority.

func NewEventPriorityFromValue ¶

func NewEventPriorityFromValue(v string) (*EventPriority, error)

NewEventPriorityFromValue returns a pointer to a valid EventPriority for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventPriority) GetAllowedValues ¶

func (v *EventPriority) GetAllowedValues() []EventPriority

GetAllowedValues reeturns the list of possible values.

func (EventPriority) IsValid ¶

func (v EventPriority) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (EventPriority) Ptr ¶

func (v EventPriority) Ptr() *EventPriority

Ptr returns reference to EventPriority value.

func (*EventPriority) UnmarshalJSON ¶

func (v *EventPriority) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type EventResponse ¶

type EventResponse struct {
	// The object description of an event response attribute.
	Attributes *EventResponseAttributes `json:"attributes,omitempty"`
	// the unique ID of the event.
	Id *string `json:"id,omitempty"`
	// Type of the event.
	Type *EventType `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{}
}

EventResponse The object description of an event after being processed and stored by Datadog.

func NewEventResponse ¶

func NewEventResponse() *EventResponse

NewEventResponse instantiates a new EventResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventResponseWithDefaults ¶

func NewEventResponseWithDefaults() *EventResponse

NewEventResponseWithDefaults instantiates a new EventResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventResponse) GetAttributes ¶

func (o *EventResponse) GetAttributes() EventResponseAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*EventResponse) GetAttributesOk ¶

func (o *EventResponse) GetAttributesOk() (*EventResponseAttributes, 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 (*EventResponse) GetId ¶

func (o *EventResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*EventResponse) GetIdOk ¶

func (o *EventResponse) 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 (*EventResponse) GetType ¶

func (o *EventResponse) GetType() EventType

GetType returns the Type field value if set, zero value otherwise.

func (*EventResponse) GetTypeOk ¶

func (o *EventResponse) GetTypeOk() (*EventType, 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 (*EventResponse) HasAttributes ¶

func (o *EventResponse) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*EventResponse) HasId ¶

func (o *EventResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*EventResponse) HasType ¶

func (o *EventResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (EventResponse) MarshalJSON ¶

func (o EventResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventResponse) SetAttributes ¶

func (o *EventResponse) SetAttributes(v EventResponseAttributes)

SetAttributes gets a reference to the given EventResponseAttributes and assigns it to the Attributes field.

func (*EventResponse) SetId ¶

func (o *EventResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*EventResponse) SetType ¶

func (o *EventResponse) SetType(v EventType)

SetType gets a reference to the given EventType and assigns it to the Type field.

func (*EventResponse) UnmarshalJSON ¶

func (o *EventResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventResponseAttributes ¶

type EventResponseAttributes struct {
	// Object description of attributes from your event.
	Attributes *EventAttributes `json:"attributes,omitempty"`
	// An array of tags associated with the event.
	Tags []string `json:"tags,omitempty"`
	// The timestamp of the 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{}
}

EventResponseAttributes The object description of an event response attribute.

func NewEventResponseAttributes ¶

func NewEventResponseAttributes() *EventResponseAttributes

NewEventResponseAttributes instantiates a new EventResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventResponseAttributesWithDefaults ¶

func NewEventResponseAttributesWithDefaults() *EventResponseAttributes

NewEventResponseAttributesWithDefaults instantiates a new EventResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventResponseAttributes) GetAttributes ¶

func (o *EventResponseAttributes) GetAttributes() EventAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*EventResponseAttributes) GetAttributesOk ¶

func (o *EventResponseAttributes) GetAttributesOk() (*EventAttributes, 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 (*EventResponseAttributes) GetTags ¶

func (o *EventResponseAttributes) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*EventResponseAttributes) GetTagsOk ¶

func (o *EventResponseAttributes) 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 (*EventResponseAttributes) GetTimestamp ¶

func (o *EventResponseAttributes) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*EventResponseAttributes) GetTimestampOk ¶

func (o *EventResponseAttributes) 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 (*EventResponseAttributes) HasAttributes ¶

func (o *EventResponseAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*EventResponseAttributes) HasTags ¶

func (o *EventResponseAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*EventResponseAttributes) HasTimestamp ¶

func (o *EventResponseAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (EventResponseAttributes) MarshalJSON ¶

func (o EventResponseAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventResponseAttributes) SetAttributes ¶

func (o *EventResponseAttributes) SetAttributes(v EventAttributes)

SetAttributes gets a reference to the given EventAttributes and assigns it to the Attributes field.

func (*EventResponseAttributes) SetTags ¶

func (o *EventResponseAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*EventResponseAttributes) SetTimestamp ¶

func (o *EventResponseAttributes) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*EventResponseAttributes) UnmarshalJSON ¶

func (o *EventResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventStatusType ¶

type EventStatusType string

EventStatusType If an alert event is enabled, its status is one of the following: `failure`, `error`, `warning`, `info`, `success`, `user_update`, `recommendation`, or `snapshot`.

const (
	EVENTSTATUSTYPE_FAILURE        EventStatusType = "failure"
	EVENTSTATUSTYPE_ERROR          EventStatusType = "error"
	EVENTSTATUSTYPE_WARNING        EventStatusType = "warning"
	EVENTSTATUSTYPE_INFO           EventStatusType = "info"
	EVENTSTATUSTYPE_SUCCESS        EventStatusType = "success"
	EVENTSTATUSTYPE_USER_UPDATE    EventStatusType = "user_update"
	EVENTSTATUSTYPE_RECOMMENDATION EventStatusType = "recommendation"
	EVENTSTATUSTYPE_SNAPSHOT       EventStatusType = "snapshot"
)

List of EventStatusType.

func NewEventStatusTypeFromValue ¶

func NewEventStatusTypeFromValue(v string) (*EventStatusType, error)

NewEventStatusTypeFromValue returns a pointer to a valid EventStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventStatusType) GetAllowedValues ¶

func (v *EventStatusType) GetAllowedValues() []EventStatusType

GetAllowedValues reeturns the list of possible values.

func (EventStatusType) IsValid ¶

func (v EventStatusType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (EventStatusType) Ptr ¶

Ptr returns reference to EventStatusType value.

func (*EventStatusType) UnmarshalJSON ¶

func (v *EventStatusType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type EventType ¶

type EventType string

EventType Type of the event.

const (
	EVENTTYPE_EVENT EventType = "event"
)

List of EventType.

func NewEventTypeFromValue ¶

func NewEventTypeFromValue(v string) (*EventType, error)

NewEventTypeFromValue returns a pointer to a valid EventType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventType) GetAllowedValues ¶

func (v *EventType) GetAllowedValues() []EventType

GetAllowedValues reeturns the list of possible values.

func (EventType) IsValid ¶

func (v EventType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (EventType) Ptr ¶

func (v EventType) Ptr() *EventType

Ptr returns reference to EventType value.

func (*EventType) UnmarshalJSON ¶

func (v *EventType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type EventsAggregation ¶ added in v2.7.0

type EventsAggregation string

EventsAggregation The type of aggregation that can be performed on events-based queries.

const (
	EVENTSAGGREGATION_COUNT       EventsAggregation = "count"
	EVENTSAGGREGATION_CARDINALITY EventsAggregation = "cardinality"
	EVENTSAGGREGATION_PC75        EventsAggregation = "pc75"
	EVENTSAGGREGATION_PC90        EventsAggregation = "pc90"
	EVENTSAGGREGATION_PC95        EventsAggregation = "pc95"
	EVENTSAGGREGATION_PC98        EventsAggregation = "pc98"
	EVENTSAGGREGATION_PC99        EventsAggregation = "pc99"
	EVENTSAGGREGATION_SUM         EventsAggregation = "sum"
	EVENTSAGGREGATION_MIN         EventsAggregation = "min"
	EVENTSAGGREGATION_MAX         EventsAggregation = "max"
	EVENTSAGGREGATION_AVG         EventsAggregation = "avg"
)

List of EventsAggregation.

func NewEventsAggregationFromValue ¶ added in v2.7.0

func NewEventsAggregationFromValue(v string) (*EventsAggregation, error)

NewEventsAggregationFromValue returns a pointer to a valid EventsAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventsAggregation) GetAllowedValues ¶ added in v2.7.0

func (v *EventsAggregation) GetAllowedValues() []EventsAggregation

GetAllowedValues reeturns the list of possible values.

func (EventsAggregation) IsValid ¶ added in v2.7.0

func (v EventsAggregation) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (EventsAggregation) Ptr ¶ added in v2.7.0

Ptr returns reference to EventsAggregation value.

func (*EventsAggregation) UnmarshalJSON ¶ added in v2.7.0

func (v *EventsAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type EventsApi ¶

type EventsApi datadog.Service

EventsApi service type

func NewEventsApi ¶

func NewEventsApi(client *datadog.APIClient) *EventsApi

NewEventsApi Returns NewEventsApi.

func (*EventsApi) ListEvents ¶

ListEvents Get a list of events. List endpoint returns events that match an events search query. [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).

Use this endpoint to see your latest events.

func (*EventsApi) ListEventsWithPagination ¶

func (a *EventsApi) ListEventsWithPagination(ctx _context.Context, o ...ListEventsOptionalParameters) (<-chan datadog.PaginationResult[EventResponse], func())

ListEventsWithPagination provides a paginated version of ListEvents returning a channel with all items.

func (*EventsApi) SearchEvents ¶

SearchEvents Search events. List endpoint returns events that match an events search query. [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).

Use this endpoint to build complex events filtering and search.

func (*EventsApi) SearchEventsWithPagination ¶

func (a *EventsApi) SearchEventsWithPagination(ctx _context.Context, o ...SearchEventsOptionalParameters) (<-chan datadog.PaginationResult[EventResponse], func())

SearchEventsWithPagination provides a paginated version of SearchEvents returning a channel with all items.

type EventsCompute ¶ added in v2.7.0

type EventsCompute struct {
	// The type of aggregation that can be performed on events-based queries.
	Aggregation EventsAggregation `json:"aggregation"`
	// Interval for compute in milliseconds.
	Interval *int64 `json:"interval,omitempty"`
	// The "measure" attribute on which to perform the computation.
	Metric *string `json:"metric,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{}
}

EventsCompute The instructions for what to compute for this query.

func NewEventsCompute ¶ added in v2.7.0

func NewEventsCompute(aggregation EventsAggregation) *EventsCompute

NewEventsCompute instantiates a new EventsCompute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsComputeWithDefaults ¶ added in v2.7.0

func NewEventsComputeWithDefaults() *EventsCompute

NewEventsComputeWithDefaults instantiates a new EventsCompute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsCompute) GetAggregation ¶ added in v2.7.0

func (o *EventsCompute) GetAggregation() EventsAggregation

GetAggregation returns the Aggregation field value.

func (*EventsCompute) GetAggregationOk ¶ added in v2.7.0

func (o *EventsCompute) GetAggregationOk() (*EventsAggregation, bool)

GetAggregationOk returns a tuple with the Aggregation field value and a boolean to check if the value has been set.

func (*EventsCompute) GetInterval ¶ added in v2.7.0

func (o *EventsCompute) GetInterval() int64

GetInterval returns the Interval field value if set, zero value otherwise.

func (*EventsCompute) GetIntervalOk ¶ added in v2.7.0

func (o *EventsCompute) 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 (*EventsCompute) GetMetric ¶ added in v2.7.0

func (o *EventsCompute) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*EventsCompute) GetMetricOk ¶ added in v2.7.0

func (o *EventsCompute) 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 (*EventsCompute) HasInterval ¶ added in v2.7.0

func (o *EventsCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*EventsCompute) HasMetric ¶ added in v2.7.0

func (o *EventsCompute) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (EventsCompute) MarshalJSON ¶ added in v2.7.0

func (o EventsCompute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsCompute) SetAggregation ¶ added in v2.7.0

func (o *EventsCompute) SetAggregation(v EventsAggregation)

SetAggregation sets field value.

func (*EventsCompute) SetInterval ¶ added in v2.7.0

func (o *EventsCompute) SetInterval(v int64)

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*EventsCompute) SetMetric ¶ added in v2.7.0

func (o *EventsCompute) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*EventsCompute) UnmarshalJSON ¶ added in v2.7.0

func (o *EventsCompute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsDataSource ¶ added in v2.7.0

type EventsDataSource string

EventsDataSource A data source that is powered by the Events Platform.

const (
	EVENTSDATASOURCE_LOGS EventsDataSource = "logs"
	EVENTSDATASOURCE_RUM  EventsDataSource = "rum"
)

List of EventsDataSource.

func NewEventsDataSourceFromValue ¶ added in v2.7.0

func NewEventsDataSourceFromValue(v string) (*EventsDataSource, error)

NewEventsDataSourceFromValue returns a pointer to a valid EventsDataSource for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventsDataSource) GetAllowedValues ¶ added in v2.7.0

func (v *EventsDataSource) GetAllowedValues() []EventsDataSource

GetAllowedValues reeturns the list of possible values.

func (EventsDataSource) IsValid ¶ added in v2.7.0

func (v EventsDataSource) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (EventsDataSource) Ptr ¶ added in v2.7.0

Ptr returns reference to EventsDataSource value.

func (*EventsDataSource) UnmarshalJSON ¶ added in v2.7.0

func (v *EventsDataSource) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type EventsGroupBy ¶ added in v2.7.0

type EventsGroupBy struct {
	// The facet by which to split groups.
	Facet string `json:"facet"`
	// The maximum number of groups to return.
	Limit *int32 `json:"limit,omitempty"`
	// The dimension by which to sort a query's results.
	Sort *EventsGroupBySort `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{}
}

EventsGroupBy A dimension on which to split a query's results.

func NewEventsGroupBy ¶ added in v2.7.0

func NewEventsGroupBy(facet string) *EventsGroupBy

NewEventsGroupBy instantiates a new EventsGroupBy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsGroupByWithDefaults ¶ added in v2.7.0

func NewEventsGroupByWithDefaults() *EventsGroupBy

NewEventsGroupByWithDefaults instantiates a new EventsGroupBy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsGroupBy) GetFacet ¶ added in v2.7.0

func (o *EventsGroupBy) GetFacet() string

GetFacet returns the Facet field value.

func (*EventsGroupBy) GetFacetOk ¶ added in v2.7.0

func (o *EventsGroupBy) GetFacetOk() (*string, bool)

GetFacetOk returns a tuple with the Facet field value and a boolean to check if the value has been set.

func (*EventsGroupBy) GetLimit ¶ added in v2.7.0

func (o *EventsGroupBy) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*EventsGroupBy) GetLimitOk ¶ added in v2.7.0

func (o *EventsGroupBy) 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 (*EventsGroupBy) GetSort ¶ added in v2.7.0

func (o *EventsGroupBy) GetSort() EventsGroupBySort

GetSort returns the Sort field value if set, zero value otherwise.

func (*EventsGroupBy) GetSortOk ¶ added in v2.7.0

func (o *EventsGroupBy) GetSortOk() (*EventsGroupBySort, 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 (*EventsGroupBy) HasLimit ¶ added in v2.7.0

func (o *EventsGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*EventsGroupBy) HasSort ¶ added in v2.7.0

func (o *EventsGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (EventsGroupBy) MarshalJSON ¶ added in v2.7.0

func (o EventsGroupBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsGroupBy) SetFacet ¶ added in v2.7.0

func (o *EventsGroupBy) SetFacet(v string)

SetFacet sets field value.

func (*EventsGroupBy) SetLimit ¶ added in v2.7.0

func (o *EventsGroupBy) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*EventsGroupBy) SetSort ¶ added in v2.7.0

func (o *EventsGroupBy) SetSort(v EventsGroupBySort)

SetSort gets a reference to the given EventsGroupBySort and assigns it to the Sort field.

func (*EventsGroupBy) UnmarshalJSON ¶ added in v2.7.0

func (o *EventsGroupBy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsGroupBySort ¶ added in v2.7.0

type EventsGroupBySort struct {
	// The type of aggregation that can be performed on events-based queries.
	Aggregation EventsAggregation `json:"aggregation"`
	// Metric whose calculated value should be used to define the sort order of a query's results.
	Metric *string `json:"metric,omitempty"`
	// Direction of sort.
	Order *QuerySortOrder `json:"order,omitempty"`
	// The type of sort to use on the calculated value.
	Type *EventsSortType `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{}
}

EventsGroupBySort The dimension by which to sort a query's results.

func NewEventsGroupBySort ¶ added in v2.7.0

func NewEventsGroupBySort(aggregation EventsAggregation) *EventsGroupBySort

NewEventsGroupBySort instantiates a new EventsGroupBySort object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsGroupBySortWithDefaults ¶ added in v2.7.0

func NewEventsGroupBySortWithDefaults() *EventsGroupBySort

NewEventsGroupBySortWithDefaults instantiates a new EventsGroupBySort object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsGroupBySort) GetAggregation ¶ added in v2.7.0

func (o *EventsGroupBySort) GetAggregation() EventsAggregation

GetAggregation returns the Aggregation field value.

func (*EventsGroupBySort) GetAggregationOk ¶ added in v2.7.0

func (o *EventsGroupBySort) GetAggregationOk() (*EventsAggregation, bool)

GetAggregationOk returns a tuple with the Aggregation field value and a boolean to check if the value has been set.

func (*EventsGroupBySort) GetMetric ¶ added in v2.7.0

func (o *EventsGroupBySort) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*EventsGroupBySort) GetMetricOk ¶ added in v2.7.0

func (o *EventsGroupBySort) 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 (*EventsGroupBySort) GetOrder ¶ added in v2.7.0

func (o *EventsGroupBySort) GetOrder() QuerySortOrder

GetOrder returns the Order field value if set, zero value otherwise.

func (*EventsGroupBySort) GetOrderOk ¶ added in v2.7.0

func (o *EventsGroupBySort) GetOrderOk() (*QuerySortOrder, 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 (*EventsGroupBySort) GetType ¶ added in v2.7.0

func (o *EventsGroupBySort) GetType() EventsSortType

GetType returns the Type field value if set, zero value otherwise.

func (*EventsGroupBySort) GetTypeOk ¶ added in v2.7.0

func (o *EventsGroupBySort) GetTypeOk() (*EventsSortType, 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 (*EventsGroupBySort) HasMetric ¶ added in v2.7.0

func (o *EventsGroupBySort) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*EventsGroupBySort) HasOrder ¶ added in v2.7.0

func (o *EventsGroupBySort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*EventsGroupBySort) HasType ¶ added in v2.7.0

func (o *EventsGroupBySort) HasType() bool

HasType returns a boolean if a field has been set.

func (EventsGroupBySort) MarshalJSON ¶ added in v2.7.0

func (o EventsGroupBySort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsGroupBySort) SetAggregation ¶ added in v2.7.0

func (o *EventsGroupBySort) SetAggregation(v EventsAggregation)

SetAggregation sets field value.

func (*EventsGroupBySort) SetMetric ¶ added in v2.7.0

func (o *EventsGroupBySort) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*EventsGroupBySort) SetOrder ¶ added in v2.7.0

func (o *EventsGroupBySort) SetOrder(v QuerySortOrder)

SetOrder gets a reference to the given QuerySortOrder and assigns it to the Order field.

func (*EventsGroupBySort) SetType ¶ added in v2.7.0

func (o *EventsGroupBySort) SetType(v EventsSortType)

SetType gets a reference to the given EventsSortType and assigns it to the Type field.

func (*EventsGroupBySort) UnmarshalJSON ¶ added in v2.7.0

func (o *EventsGroupBySort) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsListRequest ¶

type EventsListRequest struct {
	// The search and filter query settings.
	Filter *EventsQueryFilter `json:"filter,omitempty"`
	// The global query options that are used. Either provide a timezone or a time offset but not both,
	// otherwise the query fails.
	Options *EventsQueryOptions `json:"options,omitempty"`
	// Pagination settings.
	Page *EventsRequestPage `json:"page,omitempty"`
	// The sort parameters when querying events.
	Sort *EventsSort `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{}
}

EventsListRequest The object sent with the request to retrieve a list of events from your organization.

func NewEventsListRequest ¶

func NewEventsListRequest() *EventsListRequest

NewEventsListRequest instantiates a new EventsListRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsListRequestWithDefaults ¶

func NewEventsListRequestWithDefaults() *EventsListRequest

NewEventsListRequestWithDefaults instantiates a new EventsListRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsListRequest) GetFilter ¶

func (o *EventsListRequest) GetFilter() EventsQueryFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*EventsListRequest) GetFilterOk ¶

func (o *EventsListRequest) GetFilterOk() (*EventsQueryFilter, 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 (*EventsListRequest) GetOptions ¶

func (o *EventsListRequest) GetOptions() EventsQueryOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*EventsListRequest) GetOptionsOk ¶

func (o *EventsListRequest) GetOptionsOk() (*EventsQueryOptions, 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 (*EventsListRequest) GetPage ¶

func (o *EventsListRequest) GetPage() EventsRequestPage

GetPage returns the Page field value if set, zero value otherwise.

func (*EventsListRequest) GetPageOk ¶

func (o *EventsListRequest) GetPageOk() (*EventsRequestPage, 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 (*EventsListRequest) GetSort ¶

func (o *EventsListRequest) GetSort() EventsSort

GetSort returns the Sort field value if set, zero value otherwise.

func (*EventsListRequest) GetSortOk ¶

func (o *EventsListRequest) GetSortOk() (*EventsSort, 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 (*EventsListRequest) HasFilter ¶

func (o *EventsListRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*EventsListRequest) HasOptions ¶

func (o *EventsListRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*EventsListRequest) HasPage ¶

func (o *EventsListRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*EventsListRequest) HasSort ¶

func (o *EventsListRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (EventsListRequest) MarshalJSON ¶

func (o EventsListRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsListRequest) SetFilter ¶

func (o *EventsListRequest) SetFilter(v EventsQueryFilter)

SetFilter gets a reference to the given EventsQueryFilter and assigns it to the Filter field.

func (*EventsListRequest) SetOptions ¶

func (o *EventsListRequest) SetOptions(v EventsQueryOptions)

SetOptions gets a reference to the given EventsQueryOptions and assigns it to the Options field.

func (*EventsListRequest) SetPage ¶

func (o *EventsListRequest) SetPage(v EventsRequestPage)

SetPage gets a reference to the given EventsRequestPage and assigns it to the Page field.

func (*EventsListRequest) SetSort ¶

func (o *EventsListRequest) SetSort(v EventsSort)

SetSort gets a reference to the given EventsSort and assigns it to the Sort field.

func (*EventsListRequest) UnmarshalJSON ¶

func (o *EventsListRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsListResponse ¶

type EventsListResponse struct {
	// An array of events matching the request.
	Data []EventResponse `json:"data,omitempty"`
	// Links attributes.
	Links *EventsListResponseLinks `json:"links,omitempty"`
	// The metadata associated with a request.
	Meta *EventsResponseMetadata `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{}
}

EventsListResponse The response object with all events matching the request and pagination information.

func NewEventsListResponse ¶

func NewEventsListResponse() *EventsListResponse

NewEventsListResponse instantiates a new EventsListResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsListResponseWithDefaults ¶

func NewEventsListResponseWithDefaults() *EventsListResponse

NewEventsListResponseWithDefaults instantiates a new EventsListResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsListResponse) GetData ¶

func (o *EventsListResponse) GetData() []EventResponse

GetData returns the Data field value if set, zero value otherwise.

func (*EventsListResponse) GetDataOk ¶

func (o *EventsListResponse) GetDataOk() (*[]EventResponse, 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 (*EventsListResponse) GetLinksOk ¶

func (o *EventsListResponse) GetLinksOk() (*EventsListResponseLinks, 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 (*EventsListResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*EventsListResponse) GetMetaOk ¶

func (o *EventsListResponse) GetMetaOk() (*EventsResponseMetadata, 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 (*EventsListResponse) HasData ¶

func (o *EventsListResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *EventsListResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*EventsListResponse) HasMeta ¶

func (o *EventsListResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (EventsListResponse) MarshalJSON ¶

func (o EventsListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsListResponse) SetData ¶

func (o *EventsListResponse) SetData(v []EventResponse)

SetData gets a reference to the given []EventResponse and assigns it to the Data field.

SetLinks gets a reference to the given EventsListResponseLinks and assigns it to the Links field.

func (*EventsListResponse) SetMeta ¶

SetMeta gets a reference to the given EventsResponseMetadata and assigns it to the Meta field.

func (*EventsListResponse) UnmarshalJSON ¶

func (o *EventsListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsListResponseLinks 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{}
}

EventsListResponseLinks Links attributes.

func NewEventsListResponseLinks() *EventsListResponseLinks

NewEventsListResponseLinks instantiates a new EventsListResponseLinks object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsListResponseLinksWithDefaults ¶

func NewEventsListResponseLinksWithDefaults() *EventsListResponseLinks

NewEventsListResponseLinksWithDefaults instantiates a new EventsListResponseLinks object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsListResponseLinks) GetNext ¶

func (o *EventsListResponseLinks) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*EventsListResponseLinks) GetNextOk ¶

func (o *EventsListResponseLinks) 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 (*EventsListResponseLinks) HasNext ¶

func (o *EventsListResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (EventsListResponseLinks) MarshalJSON ¶

func (o EventsListResponseLinks) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsListResponseLinks) SetNext ¶

func (o *EventsListResponseLinks) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*EventsListResponseLinks) UnmarshalJSON ¶

func (o *EventsListResponseLinks) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsQueryFilter ¶

type EventsQueryFilter 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 event 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{}
}

EventsQueryFilter The search and filter query settings.

func NewEventsQueryFilter ¶

func NewEventsQueryFilter() *EventsQueryFilter

NewEventsQueryFilter instantiates a new EventsQueryFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsQueryFilterWithDefaults ¶

func NewEventsQueryFilterWithDefaults() *EventsQueryFilter

NewEventsQueryFilterWithDefaults instantiates a new EventsQueryFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsQueryFilter) GetFrom ¶

func (o *EventsQueryFilter) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*EventsQueryFilter) GetFromOk ¶

func (o *EventsQueryFilter) 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 (*EventsQueryFilter) GetQuery ¶

func (o *EventsQueryFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*EventsQueryFilter) GetQueryOk ¶

func (o *EventsQueryFilter) 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 (*EventsQueryFilter) GetTo ¶

func (o *EventsQueryFilter) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*EventsQueryFilter) GetToOk ¶

func (o *EventsQueryFilter) 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 (*EventsQueryFilter) HasFrom ¶

func (o *EventsQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*EventsQueryFilter) HasQuery ¶

func (o *EventsQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*EventsQueryFilter) HasTo ¶

func (o *EventsQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (EventsQueryFilter) MarshalJSON ¶

func (o EventsQueryFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsQueryFilter) SetFrom ¶

func (o *EventsQueryFilter) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*EventsQueryFilter) SetQuery ¶

func (o *EventsQueryFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*EventsQueryFilter) SetTo ¶

func (o *EventsQueryFilter) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

func (*EventsQueryFilter) UnmarshalJSON ¶

func (o *EventsQueryFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsQueryOptions ¶

type EventsQueryOptions struct {
	// The time offset to apply to the query in seconds.
	TimeOffset *int64 `json:"timeOffset,omitempty"`
	// The timezone can be specified as GMT, UTC, an offset from UTC (like UTC+1), or as a Timezone Database identifier (like America/New_York).
	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{}
}

EventsQueryOptions The global query options that are used. Either provide a timezone or a time offset but not both, otherwise the query fails.

func NewEventsQueryOptions ¶

func NewEventsQueryOptions() *EventsQueryOptions

NewEventsQueryOptions instantiates a new EventsQueryOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsQueryOptionsWithDefaults ¶

func NewEventsQueryOptionsWithDefaults() *EventsQueryOptions

NewEventsQueryOptionsWithDefaults instantiates a new EventsQueryOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsQueryOptions) GetTimeOffset ¶

func (o *EventsQueryOptions) GetTimeOffset() int64

GetTimeOffset returns the TimeOffset field value if set, zero value otherwise.

func (*EventsQueryOptions) GetTimeOffsetOk ¶

func (o *EventsQueryOptions) 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 (*EventsQueryOptions) GetTimezone ¶

func (o *EventsQueryOptions) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*EventsQueryOptions) GetTimezoneOk ¶

func (o *EventsQueryOptions) 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 (*EventsQueryOptions) HasTimeOffset ¶

func (o *EventsQueryOptions) HasTimeOffset() bool

HasTimeOffset returns a boolean if a field has been set.

func (*EventsQueryOptions) HasTimezone ¶

func (o *EventsQueryOptions) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (EventsQueryOptions) MarshalJSON ¶

func (o EventsQueryOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsQueryOptions) SetTimeOffset ¶

func (o *EventsQueryOptions) SetTimeOffset(v int64)

SetTimeOffset gets a reference to the given int64 and assigns it to the TimeOffset field.

func (*EventsQueryOptions) SetTimezone ¶

func (o *EventsQueryOptions) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*EventsQueryOptions) UnmarshalJSON ¶

func (o *EventsQueryOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsRequestPage ¶

type EventsRequestPage struct {
	// The returned paging point to use to get the next results.
	Cursor *string `json:"cursor,omitempty"`
	// The 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{}
}

EventsRequestPage Pagination settings.

func NewEventsRequestPage ¶

func NewEventsRequestPage() *EventsRequestPage

NewEventsRequestPage instantiates a new EventsRequestPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsRequestPageWithDefaults ¶

func NewEventsRequestPageWithDefaults() *EventsRequestPage

NewEventsRequestPageWithDefaults instantiates a new EventsRequestPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsRequestPage) GetCursor ¶

func (o *EventsRequestPage) GetCursor() string

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*EventsRequestPage) GetCursorOk ¶

func (o *EventsRequestPage) 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 (*EventsRequestPage) GetLimit ¶

func (o *EventsRequestPage) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*EventsRequestPage) GetLimitOk ¶

func (o *EventsRequestPage) 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 (*EventsRequestPage) HasCursor ¶

func (o *EventsRequestPage) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*EventsRequestPage) HasLimit ¶

func (o *EventsRequestPage) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (EventsRequestPage) MarshalJSON ¶

func (o EventsRequestPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsRequestPage) SetCursor ¶

func (o *EventsRequestPage) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*EventsRequestPage) SetLimit ¶

func (o *EventsRequestPage) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*EventsRequestPage) UnmarshalJSON ¶

func (o *EventsRequestPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsResponseMetadata ¶

type EventsResponseMetadata struct {
	// The time elapsed in milliseconds.
	Elapsed *int64 `json:"elapsed,omitempty"`
	// Pagination attributes.
	Page *EventsResponseMetadataPage `json:"page,omitempty"`
	// The identifier of the request.
	RequestId *string `json:"request_id,omitempty"`
	// A list of warnings (non-fatal errors) encountered. Partial results might be returned if
	// warnings are present in the response.
	Warnings []EventsWarning `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{}
}

EventsResponseMetadata The metadata associated with a request.

func NewEventsResponseMetadata ¶

func NewEventsResponseMetadata() *EventsResponseMetadata

NewEventsResponseMetadata instantiates a new EventsResponseMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsResponseMetadataWithDefaults ¶

func NewEventsResponseMetadataWithDefaults() *EventsResponseMetadata

NewEventsResponseMetadataWithDefaults instantiates a new EventsResponseMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsResponseMetadata) GetElapsed ¶

func (o *EventsResponseMetadata) GetElapsed() int64

GetElapsed returns the Elapsed field value if set, zero value otherwise.

func (*EventsResponseMetadata) GetElapsedOk ¶

func (o *EventsResponseMetadata) 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 (*EventsResponseMetadata) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*EventsResponseMetadata) 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 (*EventsResponseMetadata) GetRequestId ¶

func (o *EventsResponseMetadata) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*EventsResponseMetadata) GetRequestIdOk ¶

func (o *EventsResponseMetadata) 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 (*EventsResponseMetadata) GetWarnings ¶

func (o *EventsResponseMetadata) GetWarnings() []EventsWarning

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*EventsResponseMetadata) GetWarningsOk ¶

func (o *EventsResponseMetadata) GetWarningsOk() (*[]EventsWarning, 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 (*EventsResponseMetadata) HasElapsed ¶

func (o *EventsResponseMetadata) HasElapsed() bool

HasElapsed returns a boolean if a field has been set.

func (*EventsResponseMetadata) HasPage ¶

func (o *EventsResponseMetadata) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*EventsResponseMetadata) HasRequestId ¶

func (o *EventsResponseMetadata) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*EventsResponseMetadata) HasWarnings ¶

func (o *EventsResponseMetadata) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (EventsResponseMetadata) MarshalJSON ¶

func (o EventsResponseMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsResponseMetadata) SetElapsed ¶

func (o *EventsResponseMetadata) SetElapsed(v int64)

SetElapsed gets a reference to the given int64 and assigns it to the Elapsed field.

func (*EventsResponseMetadata) SetPage ¶

SetPage gets a reference to the given EventsResponseMetadataPage and assigns it to the Page field.

func (*EventsResponseMetadata) SetRequestId ¶

func (o *EventsResponseMetadata) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*EventsResponseMetadata) SetWarnings ¶

func (o *EventsResponseMetadata) SetWarnings(v []EventsWarning)

SetWarnings gets a reference to the given []EventsWarning and assigns it to the Warnings field.

func (*EventsResponseMetadata) UnmarshalJSON ¶

func (o *EventsResponseMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsResponseMetadataPage ¶

type EventsResponseMetadataPage 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{}
}

EventsResponseMetadataPage Pagination attributes.

func NewEventsResponseMetadataPage ¶

func NewEventsResponseMetadataPage() *EventsResponseMetadataPage

NewEventsResponseMetadataPage instantiates a new EventsResponseMetadataPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsResponseMetadataPageWithDefaults ¶

func NewEventsResponseMetadataPageWithDefaults() *EventsResponseMetadataPage

NewEventsResponseMetadataPageWithDefaults instantiates a new EventsResponseMetadataPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsResponseMetadataPage) GetAfter ¶

func (o *EventsResponseMetadataPage) GetAfter() string

GetAfter returns the After field value if set, zero value otherwise.

func (*EventsResponseMetadataPage) GetAfterOk ¶

func (o *EventsResponseMetadataPage) 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 (*EventsResponseMetadataPage) HasAfter ¶

func (o *EventsResponseMetadataPage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (EventsResponseMetadataPage) MarshalJSON ¶

func (o EventsResponseMetadataPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsResponseMetadataPage) SetAfter ¶

func (o *EventsResponseMetadataPage) SetAfter(v string)

SetAfter gets a reference to the given string and assigns it to the After field.

func (*EventsResponseMetadataPage) UnmarshalJSON ¶

func (o *EventsResponseMetadataPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsScalarQuery ¶ added in v2.7.0

type EventsScalarQuery struct {
	// The instructions for what to compute for this query.
	Compute EventsCompute `json:"compute"`
	// A data source that is powered by the Events Platform.
	DataSource EventsDataSource `json:"data_source"`
	// The list of facets on which to split results.
	GroupBy []EventsGroupBy `json:"group_by,omitempty"`
	// The indexes in which to search.
	Indexes []string `json:"indexes,omitempty"`
	// The variable name for use in formulas.
	Name *string `json:"name,omitempty"`
	// Configuration of the search/filter for an events query.
	Search *EventsSearch `json:"search,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{}
}

EventsScalarQuery An individual scalar events query.

func NewEventsScalarQuery ¶ added in v2.7.0

func NewEventsScalarQuery(compute EventsCompute, dataSource EventsDataSource) *EventsScalarQuery

NewEventsScalarQuery instantiates a new EventsScalarQuery object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsScalarQueryWithDefaults ¶ added in v2.7.0

func NewEventsScalarQueryWithDefaults() *EventsScalarQuery

NewEventsScalarQueryWithDefaults instantiates a new EventsScalarQuery object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsScalarQuery) GetCompute ¶ added in v2.7.0

func (o *EventsScalarQuery) GetCompute() EventsCompute

GetCompute returns the Compute field value.

func (*EventsScalarQuery) GetComputeOk ¶ added in v2.7.0

func (o *EventsScalarQuery) GetComputeOk() (*EventsCompute, bool)

GetComputeOk returns a tuple with the Compute field value and a boolean to check if the value has been set.

func (*EventsScalarQuery) GetDataSource ¶ added in v2.7.0

func (o *EventsScalarQuery) GetDataSource() EventsDataSource

GetDataSource returns the DataSource field value.

func (*EventsScalarQuery) GetDataSourceOk ¶ added in v2.7.0

func (o *EventsScalarQuery) GetDataSourceOk() (*EventsDataSource, bool)

GetDataSourceOk returns a tuple with the DataSource field value and a boolean to check if the value has been set.

func (*EventsScalarQuery) GetGroupBy ¶ added in v2.7.0

func (o *EventsScalarQuery) GetGroupBy() []EventsGroupBy

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*EventsScalarQuery) GetGroupByOk ¶ added in v2.7.0

func (o *EventsScalarQuery) GetGroupByOk() (*[]EventsGroupBy, 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 (*EventsScalarQuery) GetIndexes ¶ added in v2.7.0

func (o *EventsScalarQuery) GetIndexes() []string

GetIndexes returns the Indexes field value if set, zero value otherwise.

func (*EventsScalarQuery) GetIndexesOk ¶ added in v2.7.0

func (o *EventsScalarQuery) 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 (*EventsScalarQuery) GetName ¶ added in v2.7.0

func (o *EventsScalarQuery) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*EventsScalarQuery) GetNameOk ¶ added in v2.7.0

func (o *EventsScalarQuery) 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 (*EventsScalarQuery) GetSearch ¶ added in v2.7.0

func (o *EventsScalarQuery) GetSearch() EventsSearch

GetSearch returns the Search field value if set, zero value otherwise.

func (*EventsScalarQuery) GetSearchOk ¶ added in v2.7.0

func (o *EventsScalarQuery) GetSearchOk() (*EventsSearch, bool)

GetSearchOk returns a tuple with the Search field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventsScalarQuery) HasGroupBy ¶ added in v2.7.0

func (o *EventsScalarQuery) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*EventsScalarQuery) HasIndexes ¶ added in v2.7.0

func (o *EventsScalarQuery) HasIndexes() bool

HasIndexes returns a boolean if a field has been set.

func (*EventsScalarQuery) HasName ¶ added in v2.7.0

func (o *EventsScalarQuery) HasName() bool

HasName returns a boolean if a field has been set.

func (*EventsScalarQuery) HasSearch ¶ added in v2.7.0

func (o *EventsScalarQuery) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (EventsScalarQuery) MarshalJSON ¶ added in v2.7.0

func (o EventsScalarQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsScalarQuery) SetCompute ¶ added in v2.7.0

func (o *EventsScalarQuery) SetCompute(v EventsCompute)

SetCompute sets field value.

func (*EventsScalarQuery) SetDataSource ¶ added in v2.7.0

func (o *EventsScalarQuery) SetDataSource(v EventsDataSource)

SetDataSource sets field value.

func (*EventsScalarQuery) SetGroupBy ¶ added in v2.7.0

func (o *EventsScalarQuery) SetGroupBy(v []EventsGroupBy)

SetGroupBy gets a reference to the given []EventsGroupBy and assigns it to the GroupBy field.

func (*EventsScalarQuery) SetIndexes ¶ added in v2.7.0

func (o *EventsScalarQuery) SetIndexes(v []string)

SetIndexes gets a reference to the given []string and assigns it to the Indexes field.

func (*EventsScalarQuery) SetName ¶ added in v2.7.0

func (o *EventsScalarQuery) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*EventsScalarQuery) SetSearch ¶ added in v2.7.0

func (o *EventsScalarQuery) SetSearch(v EventsSearch)

SetSearch gets a reference to the given EventsSearch and assigns it to the Search field.

func (*EventsScalarQuery) UnmarshalJSON ¶ added in v2.7.0

func (o *EventsScalarQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsSearch ¶ added in v2.7.0

type EventsSearch struct {
	// The search/filter string for an events 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{}
}

EventsSearch Configuration of the search/filter for an events query.

func NewEventsSearch ¶ added in v2.7.0

func NewEventsSearch() *EventsSearch

NewEventsSearch instantiates a new EventsSearch object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsSearchWithDefaults ¶ added in v2.7.0

func NewEventsSearchWithDefaults() *EventsSearch

NewEventsSearchWithDefaults instantiates a new EventsSearch object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsSearch) GetQuery ¶ added in v2.7.0

func (o *EventsSearch) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*EventsSearch) GetQueryOk ¶ added in v2.7.0

func (o *EventsSearch) 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 (*EventsSearch) HasQuery ¶ added in v2.7.0

func (o *EventsSearch) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (EventsSearch) MarshalJSON ¶ added in v2.7.0

func (o EventsSearch) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsSearch) SetQuery ¶ added in v2.7.0

func (o *EventsSearch) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*EventsSearch) UnmarshalJSON ¶ added in v2.7.0

func (o *EventsSearch) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsSort ¶

type EventsSort string

EventsSort The sort parameters when querying events.

const (
	EVENTSSORT_TIMESTAMP_ASCENDING  EventsSort = "timestamp"
	EVENTSSORT_TIMESTAMP_DESCENDING EventsSort = "-timestamp"
)

List of EventsSort.

func NewEventsSortFromValue ¶

func NewEventsSortFromValue(v string) (*EventsSort, error)

NewEventsSortFromValue returns a pointer to a valid EventsSort for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventsSort) GetAllowedValues ¶

func (v *EventsSort) GetAllowedValues() []EventsSort

GetAllowedValues reeturns the list of possible values.

func (EventsSort) IsValid ¶

func (v EventsSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (EventsSort) Ptr ¶

func (v EventsSort) Ptr() *EventsSort

Ptr returns reference to EventsSort value.

func (*EventsSort) UnmarshalJSON ¶

func (v *EventsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type EventsSortType ¶ added in v2.7.0

type EventsSortType string

EventsSortType The type of sort to use on the calculated value.

const (
	EVENTSSORTTYPE_ALPHABETICAL EventsSortType = "alphabetical"
	EVENTSSORTTYPE_MEASURE      EventsSortType = "measure"
)

List of EventsSortType.

func NewEventsSortTypeFromValue ¶ added in v2.7.0

func NewEventsSortTypeFromValue(v string) (*EventsSortType, error)

NewEventsSortTypeFromValue returns a pointer to a valid EventsSortType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventsSortType) GetAllowedValues ¶ added in v2.7.0

func (v *EventsSortType) GetAllowedValues() []EventsSortType

GetAllowedValues reeturns the list of possible values.

func (EventsSortType) IsValid ¶ added in v2.7.0

func (v EventsSortType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (EventsSortType) Ptr ¶ added in v2.7.0

func (v EventsSortType) Ptr() *EventsSortType

Ptr returns reference to EventsSortType value.

func (*EventsSortType) UnmarshalJSON ¶ added in v2.7.0

func (v *EventsSortType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type EventsTimeseriesQuery ¶ added in v2.7.0

type EventsTimeseriesQuery struct {
	// The instructions for what to compute for this query.
	Compute EventsCompute `json:"compute"`
	// A data source that is powered by the Events Platform.
	DataSource EventsDataSource `json:"data_source"`
	// The list of facets on which to split results.
	GroupBy []EventsGroupBy `json:"group_by,omitempty"`
	// The indexes in which to search.
	Indexes []string `json:"indexes,omitempty"`
	// The variable name for use in formulas.
	Name *string `json:"name,omitempty"`
	// Configuration of the search/filter for an events query.
	Search *EventsSearch `json:"search,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{}
}

EventsTimeseriesQuery An individual timeseries events query.

func NewEventsTimeseriesQuery ¶ added in v2.7.0

func NewEventsTimeseriesQuery(compute EventsCompute, dataSource EventsDataSource) *EventsTimeseriesQuery

NewEventsTimeseriesQuery instantiates a new EventsTimeseriesQuery object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsTimeseriesQueryWithDefaults ¶ added in v2.7.0

func NewEventsTimeseriesQueryWithDefaults() *EventsTimeseriesQuery

NewEventsTimeseriesQueryWithDefaults instantiates a new EventsTimeseriesQuery object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsTimeseriesQuery) GetCompute ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) GetCompute() EventsCompute

GetCompute returns the Compute field value.

func (*EventsTimeseriesQuery) GetComputeOk ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) GetComputeOk() (*EventsCompute, bool)

GetComputeOk returns a tuple with the Compute field value and a boolean to check if the value has been set.

func (*EventsTimeseriesQuery) GetDataSource ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) GetDataSource() EventsDataSource

GetDataSource returns the DataSource field value.

func (*EventsTimeseriesQuery) GetDataSourceOk ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) GetDataSourceOk() (*EventsDataSource, bool)

GetDataSourceOk returns a tuple with the DataSource field value and a boolean to check if the value has been set.

func (*EventsTimeseriesQuery) GetGroupBy ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) GetGroupBy() []EventsGroupBy

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*EventsTimeseriesQuery) GetGroupByOk ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) GetGroupByOk() (*[]EventsGroupBy, 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 (*EventsTimeseriesQuery) GetIndexes ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) GetIndexes() []string

GetIndexes returns the Indexes field value if set, zero value otherwise.

func (*EventsTimeseriesQuery) GetIndexesOk ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) 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 (*EventsTimeseriesQuery) GetName ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*EventsTimeseriesQuery) GetNameOk ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) 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 (*EventsTimeseriesQuery) GetSearch ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) GetSearch() EventsSearch

GetSearch returns the Search field value if set, zero value otherwise.

func (*EventsTimeseriesQuery) GetSearchOk ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) GetSearchOk() (*EventsSearch, bool)

GetSearchOk returns a tuple with the Search field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventsTimeseriesQuery) HasGroupBy ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*EventsTimeseriesQuery) HasIndexes ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) HasIndexes() bool

HasIndexes returns a boolean if a field has been set.

func (*EventsTimeseriesQuery) HasName ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) HasName() bool

HasName returns a boolean if a field has been set.

func (*EventsTimeseriesQuery) HasSearch ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (EventsTimeseriesQuery) MarshalJSON ¶ added in v2.7.0

func (o EventsTimeseriesQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsTimeseriesQuery) SetCompute ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) SetCompute(v EventsCompute)

SetCompute sets field value.

func (*EventsTimeseriesQuery) SetDataSource ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) SetDataSource(v EventsDataSource)

SetDataSource sets field value.

func (*EventsTimeseriesQuery) SetGroupBy ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) SetGroupBy(v []EventsGroupBy)

SetGroupBy gets a reference to the given []EventsGroupBy and assigns it to the GroupBy field.

func (*EventsTimeseriesQuery) SetIndexes ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) SetIndexes(v []string)

SetIndexes gets a reference to the given []string and assigns it to the Indexes field.

func (*EventsTimeseriesQuery) SetName ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*EventsTimeseriesQuery) SetSearch ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) SetSearch(v EventsSearch)

SetSearch gets a reference to the given EventsSearch and assigns it to the Search field.

func (*EventsTimeseriesQuery) UnmarshalJSON ¶ added in v2.7.0

func (o *EventsTimeseriesQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventsWarning ¶

type EventsWarning 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{}
}

EventsWarning A warning message indicating something is wrong with the query.

func NewEventsWarning ¶

func NewEventsWarning() *EventsWarning

NewEventsWarning instantiates a new EventsWarning object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewEventsWarningWithDefaults ¶

func NewEventsWarningWithDefaults() *EventsWarning

NewEventsWarningWithDefaults instantiates a new EventsWarning object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*EventsWarning) GetCode ¶

func (o *EventsWarning) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*EventsWarning) GetCodeOk ¶

func (o *EventsWarning) 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 (*EventsWarning) GetDetail ¶

func (o *EventsWarning) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*EventsWarning) GetDetailOk ¶

func (o *EventsWarning) 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 (*EventsWarning) GetTitle ¶

func (o *EventsWarning) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*EventsWarning) GetTitleOk ¶

func (o *EventsWarning) 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 (*EventsWarning) HasCode ¶

func (o *EventsWarning) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*EventsWarning) HasDetail ¶

func (o *EventsWarning) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*EventsWarning) HasTitle ¶

func (o *EventsWarning) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (EventsWarning) MarshalJSON ¶

func (o EventsWarning) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*EventsWarning) SetCode ¶

func (o *EventsWarning) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*EventsWarning) SetDetail ¶

func (o *EventsWarning) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*EventsWarning) SetTitle ¶

func (o *EventsWarning) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*EventsWarning) UnmarshalJSON ¶

func (o *EventsWarning) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyAccounResponseAttributes ¶ added in v2.8.0

type FastlyAccounResponseAttributes struct {
	// The name of the Fastly account.
	Name string `json:"name"`
	// A list of services belonging to the parent account.
	Services []FastlyService `json:"services,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{}
}

FastlyAccounResponseAttributes Attributes object of a Fastly account.

func NewFastlyAccounResponseAttributes ¶ added in v2.8.0

func NewFastlyAccounResponseAttributes(name string) *FastlyAccounResponseAttributes

NewFastlyAccounResponseAttributes instantiates a new FastlyAccounResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyAccounResponseAttributesWithDefaults ¶ added in v2.8.0

func NewFastlyAccounResponseAttributesWithDefaults() *FastlyAccounResponseAttributes

NewFastlyAccounResponseAttributesWithDefaults instantiates a new FastlyAccounResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyAccounResponseAttributes) GetName ¶ added in v2.8.0

GetName returns the Name field value.

func (*FastlyAccounResponseAttributes) GetNameOk ¶ added in v2.8.0

func (o *FastlyAccounResponseAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*FastlyAccounResponseAttributes) GetServices ¶ added in v2.8.0

func (o *FastlyAccounResponseAttributes) GetServices() []FastlyService

GetServices returns the Services field value if set, zero value otherwise.

func (*FastlyAccounResponseAttributes) GetServicesOk ¶ added in v2.8.0

func (o *FastlyAccounResponseAttributes) GetServicesOk() (*[]FastlyService, bool)

GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FastlyAccounResponseAttributes) HasServices ¶ added in v2.8.0

func (o *FastlyAccounResponseAttributes) HasServices() bool

HasServices returns a boolean if a field has been set.

func (FastlyAccounResponseAttributes) MarshalJSON ¶ added in v2.8.0

func (o FastlyAccounResponseAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyAccounResponseAttributes) SetName ¶ added in v2.8.0

func (o *FastlyAccounResponseAttributes) SetName(v string)

SetName sets field value.

func (*FastlyAccounResponseAttributes) SetServices ¶ added in v2.8.0

func (o *FastlyAccounResponseAttributes) SetServices(v []FastlyService)

SetServices gets a reference to the given []FastlyService and assigns it to the Services field.

func (*FastlyAccounResponseAttributes) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyAccounResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyAccountCreateRequest ¶ added in v2.8.0

type FastlyAccountCreateRequest struct {
	// Data object for creating a Fastly account.
	Data FastlyAccountCreateRequestData `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{}
}

FastlyAccountCreateRequest Payload schema when adding a Fastly account.

func NewFastlyAccountCreateRequest ¶ added in v2.8.0

func NewFastlyAccountCreateRequest(data FastlyAccountCreateRequestData) *FastlyAccountCreateRequest

NewFastlyAccountCreateRequest instantiates a new FastlyAccountCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyAccountCreateRequestWithDefaults ¶ added in v2.8.0

func NewFastlyAccountCreateRequestWithDefaults() *FastlyAccountCreateRequest

NewFastlyAccountCreateRequestWithDefaults instantiates a new FastlyAccountCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyAccountCreateRequest) GetData ¶ added in v2.8.0

GetData returns the Data field value.

func (*FastlyAccountCreateRequest) GetDataOk ¶ added in v2.8.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (FastlyAccountCreateRequest) MarshalJSON ¶ added in v2.8.0

func (o FastlyAccountCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyAccountCreateRequest) SetData ¶ added in v2.8.0

SetData sets field value.

func (*FastlyAccountCreateRequest) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyAccountCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyAccountCreateRequestAttributes ¶ added in v2.8.0

type FastlyAccountCreateRequestAttributes struct {
	// The API key for the Fastly account.
	ApiKey string `json:"api_key"`
	// The name of the Fastly account.
	Name string `json:"name"`
	// A list of services belonging to the parent account.
	Services []FastlyService `json:"services,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{}
}

FastlyAccountCreateRequestAttributes Attributes object for creating a Fastly account.

func NewFastlyAccountCreateRequestAttributes ¶ added in v2.8.0

func NewFastlyAccountCreateRequestAttributes(apiKey string, name string) *FastlyAccountCreateRequestAttributes

NewFastlyAccountCreateRequestAttributes instantiates a new FastlyAccountCreateRequestAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyAccountCreateRequestAttributesWithDefaults ¶ added in v2.8.0

func NewFastlyAccountCreateRequestAttributesWithDefaults() *FastlyAccountCreateRequestAttributes

NewFastlyAccountCreateRequestAttributesWithDefaults instantiates a new FastlyAccountCreateRequestAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyAccountCreateRequestAttributes) GetApiKey ¶ added in v2.8.0

GetApiKey returns the ApiKey field value.

func (*FastlyAccountCreateRequestAttributes) GetApiKeyOk ¶ added in v2.8.0

func (o *FastlyAccountCreateRequestAttributes) GetApiKeyOk() (*string, bool)

GetApiKeyOk returns a tuple with the ApiKey field value and a boolean to check if the value has been set.

func (*FastlyAccountCreateRequestAttributes) GetName ¶ added in v2.8.0

GetName returns the Name field value.

func (*FastlyAccountCreateRequestAttributes) GetNameOk ¶ added in v2.8.0

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*FastlyAccountCreateRequestAttributes) GetServices ¶ added in v2.8.0

GetServices returns the Services field value if set, zero value otherwise.

func (*FastlyAccountCreateRequestAttributes) GetServicesOk ¶ added in v2.8.0

func (o *FastlyAccountCreateRequestAttributes) GetServicesOk() (*[]FastlyService, bool)

GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FastlyAccountCreateRequestAttributes) HasServices ¶ added in v2.8.0

func (o *FastlyAccountCreateRequestAttributes) HasServices() bool

HasServices returns a boolean if a field has been set.

func (FastlyAccountCreateRequestAttributes) MarshalJSON ¶ added in v2.8.0

func (o FastlyAccountCreateRequestAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyAccountCreateRequestAttributes) SetApiKey ¶ added in v2.8.0

SetApiKey sets field value.

func (*FastlyAccountCreateRequestAttributes) SetName ¶ added in v2.8.0

SetName sets field value.

func (*FastlyAccountCreateRequestAttributes) SetServices ¶ added in v2.8.0

SetServices gets a reference to the given []FastlyService and assigns it to the Services field.

func (*FastlyAccountCreateRequestAttributes) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyAccountCreateRequestAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyAccountCreateRequestData ¶ added in v2.8.0

type FastlyAccountCreateRequestData struct {
	// Attributes object for creating a Fastly account.
	Attributes FastlyAccountCreateRequestAttributes `json:"attributes"`
	// The JSON:API type for this API. Should always be `fastly-accounts`.
	Type FastlyAccountType `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{}
}

FastlyAccountCreateRequestData Data object for creating a Fastly account.

func NewFastlyAccountCreateRequestData ¶ added in v2.8.0

func NewFastlyAccountCreateRequestData(attributes FastlyAccountCreateRequestAttributes, typeVar FastlyAccountType) *FastlyAccountCreateRequestData

NewFastlyAccountCreateRequestData instantiates a new FastlyAccountCreateRequestData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyAccountCreateRequestDataWithDefaults ¶ added in v2.8.0

func NewFastlyAccountCreateRequestDataWithDefaults() *FastlyAccountCreateRequestData

NewFastlyAccountCreateRequestDataWithDefaults instantiates a new FastlyAccountCreateRequestData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyAccountCreateRequestData) GetAttributes ¶ added in v2.8.0

GetAttributes returns the Attributes field value.

func (*FastlyAccountCreateRequestData) GetAttributesOk ¶ added in v2.8.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*FastlyAccountCreateRequestData) GetType ¶ added in v2.8.0

GetType returns the Type field value.

func (*FastlyAccountCreateRequestData) GetTypeOk ¶ added in v2.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (FastlyAccountCreateRequestData) MarshalJSON ¶ added in v2.8.0

func (o FastlyAccountCreateRequestData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyAccountCreateRequestData) SetAttributes ¶ added in v2.8.0

SetAttributes sets field value.

func (*FastlyAccountCreateRequestData) SetType ¶ added in v2.8.0

SetType sets field value.

func (*FastlyAccountCreateRequestData) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyAccountCreateRequestData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyAccountResponse ¶ added in v2.8.0

type FastlyAccountResponse struct {
	// Data object of a Fastly account.
	Data *FastlyAccountResponseData `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{}
}

FastlyAccountResponse The expected response schema when getting a Fastly account.

func NewFastlyAccountResponse ¶ added in v2.8.0

func NewFastlyAccountResponse() *FastlyAccountResponse

NewFastlyAccountResponse instantiates a new FastlyAccountResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyAccountResponseWithDefaults ¶ added in v2.8.0

func NewFastlyAccountResponseWithDefaults() *FastlyAccountResponse

NewFastlyAccountResponseWithDefaults instantiates a new FastlyAccountResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyAccountResponse) GetData ¶ added in v2.8.0

GetData returns the Data field value if set, zero value otherwise.

func (*FastlyAccountResponse) GetDataOk ¶ added in v2.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 (*FastlyAccountResponse) HasData ¶ added in v2.8.0

func (o *FastlyAccountResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (FastlyAccountResponse) MarshalJSON ¶ added in v2.8.0

func (o FastlyAccountResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyAccountResponse) SetData ¶ added in v2.8.0

SetData gets a reference to the given FastlyAccountResponseData and assigns it to the Data field.

func (*FastlyAccountResponse) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyAccountResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyAccountResponseData ¶ added in v2.8.0

type FastlyAccountResponseData struct {
	// Attributes object of a Fastly account.
	Attributes FastlyAccounResponseAttributes `json:"attributes"`
	// The ID of the Fastly account, a hash of the account name.
	Id string `json:"id"`
	// The JSON:API type for this API. Should always be `fastly-accounts`.
	Type FastlyAccountType `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{}
}

FastlyAccountResponseData Data object of a Fastly account.

func NewFastlyAccountResponseData ¶ added in v2.8.0

func NewFastlyAccountResponseData(attributes FastlyAccounResponseAttributes, id string, typeVar FastlyAccountType) *FastlyAccountResponseData

NewFastlyAccountResponseData instantiates a new FastlyAccountResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyAccountResponseDataWithDefaults ¶ added in v2.8.0

func NewFastlyAccountResponseDataWithDefaults() *FastlyAccountResponseData

NewFastlyAccountResponseDataWithDefaults instantiates a new FastlyAccountResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyAccountResponseData) GetAttributes ¶ added in v2.8.0

GetAttributes returns the Attributes field value.

func (*FastlyAccountResponseData) GetAttributesOk ¶ added in v2.8.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*FastlyAccountResponseData) GetId ¶ added in v2.8.0

func (o *FastlyAccountResponseData) GetId() string

GetId returns the Id field value.

func (*FastlyAccountResponseData) GetIdOk ¶ added in v2.8.0

func (o *FastlyAccountResponseData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*FastlyAccountResponseData) GetType ¶ added in v2.8.0

GetType returns the Type field value.

func (*FastlyAccountResponseData) GetTypeOk ¶ added in v2.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (FastlyAccountResponseData) MarshalJSON ¶ added in v2.8.0

func (o FastlyAccountResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyAccountResponseData) SetAttributes ¶ added in v2.8.0

SetAttributes sets field value.

func (*FastlyAccountResponseData) SetId ¶ added in v2.8.0

func (o *FastlyAccountResponseData) SetId(v string)

SetId sets field value.

func (*FastlyAccountResponseData) SetType ¶ added in v2.8.0

SetType sets field value.

func (*FastlyAccountResponseData) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyAccountResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyAccountType ¶ added in v2.8.0

type FastlyAccountType string

FastlyAccountType The JSON:API type for this API. Should always be `fastly-accounts`.

const (
	FASTLYACCOUNTTYPE_FASTLY_ACCOUNTS FastlyAccountType = "fastly-accounts"
)

List of FastlyAccountType.

func NewFastlyAccountTypeFromValue ¶ added in v2.8.0

func NewFastlyAccountTypeFromValue(v string) (*FastlyAccountType, error)

NewFastlyAccountTypeFromValue returns a pointer to a valid FastlyAccountType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FastlyAccountType) GetAllowedValues ¶ added in v2.8.0

func (v *FastlyAccountType) GetAllowedValues() []FastlyAccountType

GetAllowedValues reeturns the list of possible values.

func (FastlyAccountType) IsValid ¶ added in v2.8.0

func (v FastlyAccountType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (FastlyAccountType) Ptr ¶ added in v2.8.0

Ptr returns reference to FastlyAccountType value.

func (*FastlyAccountType) UnmarshalJSON ¶ added in v2.8.0

func (v *FastlyAccountType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type FastlyAccountUpdateRequest ¶ added in v2.8.0

type FastlyAccountUpdateRequest struct {
	// Data object for updating a Fastly account.
	Data FastlyAccountUpdateRequestData `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{}
}

FastlyAccountUpdateRequest Payload schema when updating a Fastly account.

func NewFastlyAccountUpdateRequest ¶ added in v2.8.0

func NewFastlyAccountUpdateRequest(data FastlyAccountUpdateRequestData) *FastlyAccountUpdateRequest

NewFastlyAccountUpdateRequest instantiates a new FastlyAccountUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyAccountUpdateRequestWithDefaults ¶ added in v2.8.0

func NewFastlyAccountUpdateRequestWithDefaults() *FastlyAccountUpdateRequest

NewFastlyAccountUpdateRequestWithDefaults instantiates a new FastlyAccountUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyAccountUpdateRequest) GetData ¶ added in v2.8.0

GetData returns the Data field value.

func (*FastlyAccountUpdateRequest) GetDataOk ¶ added in v2.8.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (FastlyAccountUpdateRequest) MarshalJSON ¶ added in v2.8.0

func (o FastlyAccountUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyAccountUpdateRequest) SetData ¶ added in v2.8.0

SetData sets field value.

func (*FastlyAccountUpdateRequest) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyAccountUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyAccountUpdateRequestAttributes ¶ added in v2.8.0

type FastlyAccountUpdateRequestAttributes struct {
	// The API key of the Fastly account.
	ApiKey *string `json:"api_key,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{}
}

FastlyAccountUpdateRequestAttributes Attributes object for updating a Fastly account.

func NewFastlyAccountUpdateRequestAttributes ¶ added in v2.8.0

func NewFastlyAccountUpdateRequestAttributes() *FastlyAccountUpdateRequestAttributes

NewFastlyAccountUpdateRequestAttributes instantiates a new FastlyAccountUpdateRequestAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyAccountUpdateRequestAttributesWithDefaults ¶ added in v2.8.0

func NewFastlyAccountUpdateRequestAttributesWithDefaults() *FastlyAccountUpdateRequestAttributes

NewFastlyAccountUpdateRequestAttributesWithDefaults instantiates a new FastlyAccountUpdateRequestAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyAccountUpdateRequestAttributes) GetApiKey ¶ added in v2.8.0

GetApiKey returns the ApiKey field value if set, zero value otherwise.

func (*FastlyAccountUpdateRequestAttributes) GetApiKeyOk ¶ added in v2.8.0

func (o *FastlyAccountUpdateRequestAttributes) GetApiKeyOk() (*string, bool)

GetApiKeyOk returns a tuple with the ApiKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FastlyAccountUpdateRequestAttributes) HasApiKey ¶ added in v2.8.0

HasApiKey returns a boolean if a field has been set.

func (FastlyAccountUpdateRequestAttributes) MarshalJSON ¶ added in v2.8.0

func (o FastlyAccountUpdateRequestAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyAccountUpdateRequestAttributes) SetApiKey ¶ added in v2.8.0

SetApiKey gets a reference to the given string and assigns it to the ApiKey field.

func (*FastlyAccountUpdateRequestAttributes) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyAccountUpdateRequestAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyAccountUpdateRequestData ¶ added in v2.8.0

type FastlyAccountUpdateRequestData struct {
	// Attributes object for updating a Fastly account.
	Attributes *FastlyAccountUpdateRequestAttributes `json:"attributes,omitempty"`
	// The JSON:API type for this API. Should always be `fastly-accounts`.
	Type *FastlyAccountType `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{}
}

FastlyAccountUpdateRequestData Data object for updating a Fastly account.

func NewFastlyAccountUpdateRequestData ¶ added in v2.8.0

func NewFastlyAccountUpdateRequestData() *FastlyAccountUpdateRequestData

NewFastlyAccountUpdateRequestData instantiates a new FastlyAccountUpdateRequestData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyAccountUpdateRequestDataWithDefaults ¶ added in v2.8.0

func NewFastlyAccountUpdateRequestDataWithDefaults() *FastlyAccountUpdateRequestData

NewFastlyAccountUpdateRequestDataWithDefaults instantiates a new FastlyAccountUpdateRequestData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyAccountUpdateRequestData) GetAttributes ¶ added in v2.8.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*FastlyAccountUpdateRequestData) GetAttributesOk ¶ added in v2.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 (*FastlyAccountUpdateRequestData) GetType ¶ added in v2.8.0

GetType returns the Type field value if set, zero value otherwise.

func (*FastlyAccountUpdateRequestData) GetTypeOk ¶ added in v2.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 (*FastlyAccountUpdateRequestData) HasAttributes ¶ added in v2.8.0

func (o *FastlyAccountUpdateRequestData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*FastlyAccountUpdateRequestData) HasType ¶ added in v2.8.0

func (o *FastlyAccountUpdateRequestData) HasType() bool

HasType returns a boolean if a field has been set.

func (FastlyAccountUpdateRequestData) MarshalJSON ¶ added in v2.8.0

func (o FastlyAccountUpdateRequestData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyAccountUpdateRequestData) SetAttributes ¶ added in v2.8.0

SetAttributes gets a reference to the given FastlyAccountUpdateRequestAttributes and assigns it to the Attributes field.

func (*FastlyAccountUpdateRequestData) SetType ¶ added in v2.8.0

SetType gets a reference to the given FastlyAccountType and assigns it to the Type field.

func (*FastlyAccountUpdateRequestData) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyAccountUpdateRequestData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyAccountsResponse ¶ added in v2.8.0

type FastlyAccountsResponse struct {
	// The JSON:API data schema.
	Data []FastlyAccountResponseData `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{}
}

FastlyAccountsResponse The expected response schema when getting Fastly accounts.

func NewFastlyAccountsResponse ¶ added in v2.8.0

func NewFastlyAccountsResponse() *FastlyAccountsResponse

NewFastlyAccountsResponse instantiates a new FastlyAccountsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyAccountsResponseWithDefaults ¶ added in v2.8.0

func NewFastlyAccountsResponseWithDefaults() *FastlyAccountsResponse

NewFastlyAccountsResponseWithDefaults instantiates a new FastlyAccountsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyAccountsResponse) GetData ¶ added in v2.8.0

GetData returns the Data field value if set, zero value otherwise.

func (*FastlyAccountsResponse) GetDataOk ¶ added in v2.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 (*FastlyAccountsResponse) HasData ¶ added in v2.8.0

func (o *FastlyAccountsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (FastlyAccountsResponse) MarshalJSON ¶ added in v2.8.0

func (o FastlyAccountsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyAccountsResponse) SetData ¶ added in v2.8.0

SetData gets a reference to the given []FastlyAccountResponseData and assigns it to the Data field.

func (*FastlyAccountsResponse) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyAccountsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyIntegrationApi ¶ added in v2.8.0

type FastlyIntegrationApi datadog.Service

FastlyIntegrationApi service type

func NewFastlyIntegrationApi ¶ added in v2.8.0

func NewFastlyIntegrationApi(client *datadog.APIClient) *FastlyIntegrationApi

NewFastlyIntegrationApi Returns NewFastlyIntegrationApi.

func (*FastlyIntegrationApi) CreateFastlyAccount ¶ added in v2.8.0

CreateFastlyAccount Add Fastly account. Create a Fastly account.

func (*FastlyIntegrationApi) CreateFastlyService ¶ added in v2.8.0

CreateFastlyService Add Fastly service. Create a Fastly service for an account.

func (*FastlyIntegrationApi) DeleteFastlyAccount ¶ added in v2.8.0

func (a *FastlyIntegrationApi) DeleteFastlyAccount(ctx _context.Context, accountId string) (*_nethttp.Response, error)

DeleteFastlyAccount Delete Fastly account. Delete a Fastly account.

func (*FastlyIntegrationApi) DeleteFastlyService ¶ added in v2.8.0

func (a *FastlyIntegrationApi) DeleteFastlyService(ctx _context.Context, accountId string, serviceId string) (*_nethttp.Response, error)

DeleteFastlyService Delete Fastly service. Delete a Fastly service for an account.

func (*FastlyIntegrationApi) GetFastlyAccount ¶ added in v2.8.0

func (a *FastlyIntegrationApi) GetFastlyAccount(ctx _context.Context, accountId string) (FastlyAccountResponse, *_nethttp.Response, error)

GetFastlyAccount Get Fastly account. Get a Fastly account.

func (*FastlyIntegrationApi) GetFastlyService ¶ added in v2.8.0

func (a *FastlyIntegrationApi) GetFastlyService(ctx _context.Context, accountId string, serviceId string) (FastlyServiceResponse, *_nethttp.Response, error)

GetFastlyService Get Fastly service. Get a Fastly service for an account.

func (*FastlyIntegrationApi) ListFastlyAccounts ¶ added in v2.8.0

ListFastlyAccounts List Fastly accounts. List Fastly accounts.

func (*FastlyIntegrationApi) ListFastlyServices ¶ added in v2.8.0

func (a *FastlyIntegrationApi) ListFastlyServices(ctx _context.Context, accountId string) (FastlyServicesResponse, *_nethttp.Response, error)

ListFastlyServices List Fastly services. List Fastly services for an account.

func (*FastlyIntegrationApi) UpdateFastlyAccount ¶ added in v2.8.0

UpdateFastlyAccount Update Fastly account. Update a Fastly account.

func (*FastlyIntegrationApi) UpdateFastlyService ¶ added in v2.8.0

func (a *FastlyIntegrationApi) UpdateFastlyService(ctx _context.Context, accountId string, serviceId string, body FastlyServiceRequest) (FastlyServiceResponse, *_nethttp.Response, error)

UpdateFastlyService Update Fastly service. Update a Fastly service for an account.

type FastlyService ¶ added in v2.8.0

type FastlyService struct {
	// The id of the Fastly service
	Id string `json:"id"`
	// A list of tags for the Fastly service.
	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{}
}

FastlyService The schema representation of a Fastly service.

func NewFastlyService ¶ added in v2.8.0

func NewFastlyService(id string) *FastlyService

NewFastlyService instantiates a new FastlyService object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyServiceWithDefaults ¶ added in v2.8.0

func NewFastlyServiceWithDefaults() *FastlyService

NewFastlyServiceWithDefaults instantiates a new FastlyService object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyService) GetId ¶ added in v2.8.0

func (o *FastlyService) GetId() string

GetId returns the Id field value.

func (*FastlyService) GetIdOk ¶ added in v2.8.0

func (o *FastlyService) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*FastlyService) GetTags ¶ added in v2.8.0

func (o *FastlyService) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*FastlyService) GetTagsOk ¶ added in v2.8.0

func (o *FastlyService) 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 (*FastlyService) HasTags ¶ added in v2.8.0

func (o *FastlyService) HasTags() bool

HasTags returns a boolean if a field has been set.

func (FastlyService) MarshalJSON ¶ added in v2.8.0

func (o FastlyService) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyService) SetId ¶ added in v2.8.0

func (o *FastlyService) SetId(v string)

SetId sets field value.

func (*FastlyService) SetTags ¶ added in v2.8.0

func (o *FastlyService) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*FastlyService) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyService) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyServiceAttributes ¶ added in v2.8.0

type FastlyServiceAttributes struct {
	// A list of tags for the Fastly service.
	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{}
}

FastlyServiceAttributes Attributes object for Fastly service requests.

func NewFastlyServiceAttributes ¶ added in v2.8.0

func NewFastlyServiceAttributes() *FastlyServiceAttributes

NewFastlyServiceAttributes instantiates a new FastlyServiceAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyServiceAttributesWithDefaults ¶ added in v2.8.0

func NewFastlyServiceAttributesWithDefaults() *FastlyServiceAttributes

NewFastlyServiceAttributesWithDefaults instantiates a new FastlyServiceAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyServiceAttributes) GetTags ¶ added in v2.8.0

func (o *FastlyServiceAttributes) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*FastlyServiceAttributes) GetTagsOk ¶ added in v2.8.0

func (o *FastlyServiceAttributes) 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 (*FastlyServiceAttributes) HasTags ¶ added in v2.8.0

func (o *FastlyServiceAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (FastlyServiceAttributes) MarshalJSON ¶ added in v2.8.0

func (o FastlyServiceAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyServiceAttributes) SetTags ¶ added in v2.8.0

func (o *FastlyServiceAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*FastlyServiceAttributes) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyServiceAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyServiceData ¶ added in v2.8.0

type FastlyServiceData struct {
	// Attributes object for Fastly service requests.
	Attributes *FastlyServiceAttributes `json:"attributes,omitempty"`
	// The ID of the Fastly service.
	Id string `json:"id"`
	// The JSON:API type for this API. Should always be `fastly-services`.
	Type FastlyServiceType `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{}
}

FastlyServiceData Data object for Fastly service requests.

func NewFastlyServiceData ¶ added in v2.8.0

func NewFastlyServiceData(id string, typeVar FastlyServiceType) *FastlyServiceData

NewFastlyServiceData instantiates a new FastlyServiceData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyServiceDataWithDefaults ¶ added in v2.8.0

func NewFastlyServiceDataWithDefaults() *FastlyServiceData

NewFastlyServiceDataWithDefaults instantiates a new FastlyServiceData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyServiceData) GetAttributes ¶ added in v2.8.0

func (o *FastlyServiceData) GetAttributes() FastlyServiceAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*FastlyServiceData) GetAttributesOk ¶ added in v2.8.0

func (o *FastlyServiceData) GetAttributesOk() (*FastlyServiceAttributes, 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 (*FastlyServiceData) GetId ¶ added in v2.8.0

func (o *FastlyServiceData) GetId() string

GetId returns the Id field value.

func (*FastlyServiceData) GetIdOk ¶ added in v2.8.0

func (o *FastlyServiceData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*FastlyServiceData) GetType ¶ added in v2.8.0

func (o *FastlyServiceData) GetType() FastlyServiceType

GetType returns the Type field value.

func (*FastlyServiceData) GetTypeOk ¶ added in v2.8.0

func (o *FastlyServiceData) GetTypeOk() (*FastlyServiceType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*FastlyServiceData) HasAttributes ¶ added in v2.8.0

func (o *FastlyServiceData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (FastlyServiceData) MarshalJSON ¶ added in v2.8.0

func (o FastlyServiceData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyServiceData) SetAttributes ¶ added in v2.8.0

func (o *FastlyServiceData) SetAttributes(v FastlyServiceAttributes)

SetAttributes gets a reference to the given FastlyServiceAttributes and assigns it to the Attributes field.

func (*FastlyServiceData) SetId ¶ added in v2.8.0

func (o *FastlyServiceData) SetId(v string)

SetId sets field value.

func (*FastlyServiceData) SetType ¶ added in v2.8.0

func (o *FastlyServiceData) SetType(v FastlyServiceType)

SetType sets field value.

func (*FastlyServiceData) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyServiceData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyServiceRequest ¶ added in v2.8.0

type FastlyServiceRequest struct {
	// Data object for Fastly service requests.
	Data FastlyServiceData `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{}
}

FastlyServiceRequest Payload schema for Fastly service requests.

func NewFastlyServiceRequest ¶ added in v2.8.0

func NewFastlyServiceRequest(data FastlyServiceData) *FastlyServiceRequest

NewFastlyServiceRequest instantiates a new FastlyServiceRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyServiceRequestWithDefaults ¶ added in v2.8.0

func NewFastlyServiceRequestWithDefaults() *FastlyServiceRequest

NewFastlyServiceRequestWithDefaults instantiates a new FastlyServiceRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyServiceRequest) GetData ¶ added in v2.8.0

GetData returns the Data field value.

func (*FastlyServiceRequest) GetDataOk ¶ added in v2.8.0

func (o *FastlyServiceRequest) GetDataOk() (*FastlyServiceData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (FastlyServiceRequest) MarshalJSON ¶ added in v2.8.0

func (o FastlyServiceRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyServiceRequest) SetData ¶ added in v2.8.0

SetData sets field value.

func (*FastlyServiceRequest) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyServiceRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyServiceResponse ¶ added in v2.8.0

type FastlyServiceResponse struct {
	// Data object for Fastly service requests.
	Data *FastlyServiceData `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{}
}

FastlyServiceResponse The expected response schema when getting a Fastly service.

func NewFastlyServiceResponse ¶ added in v2.8.0

func NewFastlyServiceResponse() *FastlyServiceResponse

NewFastlyServiceResponse instantiates a new FastlyServiceResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyServiceResponseWithDefaults ¶ added in v2.8.0

func NewFastlyServiceResponseWithDefaults() *FastlyServiceResponse

NewFastlyServiceResponseWithDefaults instantiates a new FastlyServiceResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyServiceResponse) GetData ¶ added in v2.8.0

GetData returns the Data field value if set, zero value otherwise.

func (*FastlyServiceResponse) GetDataOk ¶ added in v2.8.0

func (o *FastlyServiceResponse) GetDataOk() (*FastlyServiceData, 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 (*FastlyServiceResponse) HasData ¶ added in v2.8.0

func (o *FastlyServiceResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (FastlyServiceResponse) MarshalJSON ¶ added in v2.8.0

func (o FastlyServiceResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyServiceResponse) SetData ¶ added in v2.8.0

SetData gets a reference to the given FastlyServiceData and assigns it to the Data field.

func (*FastlyServiceResponse) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyServiceResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FastlyServiceType ¶ added in v2.8.0

type FastlyServiceType string

FastlyServiceType The JSON:API type for this API. Should always be `fastly-services`.

const (
	FASTLYSERVICETYPE_FASTLY_SERVICES FastlyServiceType = "fastly-services"
)

List of FastlyServiceType.

func NewFastlyServiceTypeFromValue ¶ added in v2.8.0

func NewFastlyServiceTypeFromValue(v string) (*FastlyServiceType, error)

NewFastlyServiceTypeFromValue returns a pointer to a valid FastlyServiceType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FastlyServiceType) GetAllowedValues ¶ added in v2.8.0

func (v *FastlyServiceType) GetAllowedValues() []FastlyServiceType

GetAllowedValues reeturns the list of possible values.

func (FastlyServiceType) IsValid ¶ added in v2.8.0

func (v FastlyServiceType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (FastlyServiceType) Ptr ¶ added in v2.8.0

Ptr returns reference to FastlyServiceType value.

func (*FastlyServiceType) UnmarshalJSON ¶ added in v2.8.0

func (v *FastlyServiceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type FastlyServicesResponse ¶ added in v2.8.0

type FastlyServicesResponse struct {
	// The JSON:API data schema.
	Data []FastlyServiceResponse `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{}
}

FastlyServicesResponse The expected response schema when getting Fastly services.

func NewFastlyServicesResponse ¶ added in v2.8.0

func NewFastlyServicesResponse() *FastlyServicesResponse

NewFastlyServicesResponse instantiates a new FastlyServicesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFastlyServicesResponseWithDefaults ¶ added in v2.8.0

func NewFastlyServicesResponseWithDefaults() *FastlyServicesResponse

NewFastlyServicesResponseWithDefaults instantiates a new FastlyServicesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FastlyServicesResponse) GetData ¶ added in v2.8.0

GetData returns the Data field value if set, zero value otherwise.

func (*FastlyServicesResponse) GetDataOk ¶ added in v2.8.0

func (o *FastlyServicesResponse) GetDataOk() (*[]FastlyServiceResponse, 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 (*FastlyServicesResponse) HasData ¶ added in v2.8.0

func (o *FastlyServicesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (FastlyServicesResponse) MarshalJSON ¶ added in v2.8.0

func (o FastlyServicesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FastlyServicesResponse) SetData ¶ added in v2.8.0

SetData gets a reference to the given []FastlyServiceResponse and assigns it to the Data field.

func (*FastlyServicesResponse) UnmarshalJSON ¶ added in v2.8.0

func (o *FastlyServicesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FormulaLimit ¶ added in v2.7.0

type FormulaLimit struct {
	// The number of results to which to limit.
	Count *int32 `json:"count,omitempty"`
	// Direction of sort.
	Order *QuerySortOrder `json:"order,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{}
}

FormulaLimit Message for specifying limits to the number of values returned by a query.

func NewFormulaLimit ¶ added in v2.7.0

func NewFormulaLimit() *FormulaLimit

NewFormulaLimit instantiates a new FormulaLimit object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewFormulaLimitWithDefaults ¶ added in v2.7.0

func NewFormulaLimitWithDefaults() *FormulaLimit

NewFormulaLimitWithDefaults instantiates a new FormulaLimit object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*FormulaLimit) GetCount ¶ added in v2.7.0

func (o *FormulaLimit) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*FormulaLimit) GetCountOk ¶ added in v2.7.0

func (o *FormulaLimit) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FormulaLimit) GetOrder ¶ added in v2.7.0

func (o *FormulaLimit) GetOrder() QuerySortOrder

GetOrder returns the Order field value if set, zero value otherwise.

func (*FormulaLimit) GetOrderOk ¶ added in v2.7.0

func (o *FormulaLimit) GetOrderOk() (*QuerySortOrder, 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 (*FormulaLimit) HasCount ¶ added in v2.7.0

func (o *FormulaLimit) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*FormulaLimit) HasOrder ¶ added in v2.7.0

func (o *FormulaLimit) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (FormulaLimit) MarshalJSON ¶ added in v2.7.0

func (o FormulaLimit) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*FormulaLimit) SetCount ¶ added in v2.7.0

func (o *FormulaLimit) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*FormulaLimit) SetOrder ¶ added in v2.7.0

func (o *FormulaLimit) SetOrder(v QuerySortOrder)

SetOrder gets a reference to the given QuerySortOrder and assigns it to the Order field.

func (*FormulaLimit) UnmarshalJSON ¶ added in v2.7.0

func (o *FormulaLimit) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *FullApplicationKeyAttributes) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*FullApplicationKeyAttributes) UnmarshalJSON ¶

func (o *FullApplicationKeyAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

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 ¶

type GetApplicationKeyOptionalParameters struct {
	Include *string
}

GetApplicationKeyOptionalParameters holds optional parameters for GetApplicationKey.

func NewGetApplicationKeyOptionalParameters ¶

func NewGetApplicationKeyOptionalParameters() *GetApplicationKeyOptionalParameters

NewGetApplicationKeyOptionalParameters creates an empty struct for parameters.

func (*GetApplicationKeyOptionalParameters) WithInclude ¶

WithInclude sets the corresponding parameter name and returns the struct.

type GetCostByOrgOptionalParameters ¶

type GetCostByOrgOptionalParameters struct {
	EndMonth *time.Time
}

GetCostByOrgOptionalParameters holds optional parameters for GetCostByOrg.

func NewGetCostByOrgOptionalParameters ¶

func NewGetCostByOrgOptionalParameters() *GetCostByOrgOptionalParameters

NewGetCostByOrgOptionalParameters creates an empty struct for parameters.

func (*GetCostByOrgOptionalParameters) WithEndMonth ¶

WithEndMonth sets the corresponding parameter name and returns the struct.

type GetEstimatedCostByOrgOptionalParameters ¶

type GetEstimatedCostByOrgOptionalParameters struct {
	View       *string
	StartMonth *time.Time
	EndMonth   *time.Time
	StartDate  *time.Time
	EndDate    *time.Time
}

GetEstimatedCostByOrgOptionalParameters holds optional parameters for GetEstimatedCostByOrg.

func NewGetEstimatedCostByOrgOptionalParameters ¶

func NewGetEstimatedCostByOrgOptionalParameters() *GetEstimatedCostByOrgOptionalParameters

NewGetEstimatedCostByOrgOptionalParameters creates an empty struct for parameters.

func (*GetEstimatedCostByOrgOptionalParameters) WithEndDate ¶

WithEndDate sets the corresponding parameter name and returns the struct.

func (*GetEstimatedCostByOrgOptionalParameters) WithEndMonth ¶

WithEndMonth sets the corresponding parameter name and returns the struct.

func (*GetEstimatedCostByOrgOptionalParameters) WithStartDate ¶

WithStartDate sets the corresponding parameter name and returns the struct.

func (*GetEstimatedCostByOrgOptionalParameters) WithStartMonth ¶

WithStartMonth sets the corresponding parameter name and returns the struct.

func (*GetEstimatedCostByOrgOptionalParameters) WithView ¶ added in v2.3.0

WithView sets the corresponding parameter name and returns the struct.

type GetHistoricalCostByOrgOptionalParameters ¶ added in v2.3.0

type GetHistoricalCostByOrgOptionalParameters struct {
	View     *string
	EndMonth *time.Time
}

GetHistoricalCostByOrgOptionalParameters holds optional parameters for GetHistoricalCostByOrg.

func NewGetHistoricalCostByOrgOptionalParameters ¶ added in v2.3.0

func NewGetHistoricalCostByOrgOptionalParameters() *GetHistoricalCostByOrgOptionalParameters

NewGetHistoricalCostByOrgOptionalParameters creates an empty struct for parameters.

func (*GetHistoricalCostByOrgOptionalParameters) WithEndMonth ¶ added in v2.3.0

WithEndMonth sets the corresponding parameter name and returns the struct.

func (*GetHistoricalCostByOrgOptionalParameters) WithView ¶ added in v2.3.0

WithView sets the corresponding parameter name and returns the struct.

type GetHourlyUsageOptionalParameters ¶

type GetHourlyUsageOptionalParameters struct {
	FilterTimestampEnd       *time.Time
	FilterIncludeDescendants *bool
	FilterVersions           *string
	PageLimit                *int32
	PageNextRecordId         *string
}

GetHourlyUsageOptionalParameters holds optional parameters for GetHourlyUsage.

func NewGetHourlyUsageOptionalParameters ¶

func NewGetHourlyUsageOptionalParameters() *GetHourlyUsageOptionalParameters

NewGetHourlyUsageOptionalParameters creates an empty struct for parameters.

func (*GetHourlyUsageOptionalParameters) WithFilterIncludeDescendants ¶

func (r *GetHourlyUsageOptionalParameters) WithFilterIncludeDescendants(filterIncludeDescendants bool) *GetHourlyUsageOptionalParameters

WithFilterIncludeDescendants sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageOptionalParameters) WithFilterTimestampEnd ¶

func (r *GetHourlyUsageOptionalParameters) WithFilterTimestampEnd(filterTimestampEnd time.Time) *GetHourlyUsageOptionalParameters

WithFilterTimestampEnd sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageOptionalParameters) WithFilterVersions ¶

func (r *GetHourlyUsageOptionalParameters) WithFilterVersions(filterVersions string) *GetHourlyUsageOptionalParameters

WithFilterVersions sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageOptionalParameters) WithPageLimit ¶

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageOptionalParameters) WithPageNextRecordId ¶

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 ¶

type GetUsageApplicationSecurityMonitoringOptionalParameters struct {
	EndHr *time.Time
}

GetUsageApplicationSecurityMonitoringOptionalParameters holds optional parameters for GetUsageApplicationSecurityMonitoring.

func NewGetUsageApplicationSecurityMonitoringOptionalParameters ¶

func NewGetUsageApplicationSecurityMonitoringOptionalParameters() *GetUsageApplicationSecurityMonitoringOptionalParameters

NewGetUsageApplicationSecurityMonitoringOptionalParameters creates an empty struct for parameters.

func (*GetUsageApplicationSecurityMonitoringOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageLambdaTracedInvocationsOptionalParameters ¶

type GetUsageLambdaTracedInvocationsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageLambdaTracedInvocationsOptionalParameters holds optional parameters for GetUsageLambdaTracedInvocations.

func NewGetUsageLambdaTracedInvocationsOptionalParameters ¶

func NewGetUsageLambdaTracedInvocationsOptionalParameters() *GetUsageLambdaTracedInvocationsOptionalParameters

NewGetUsageLambdaTracedInvocationsOptionalParameters creates an empty struct for parameters.

func (*GetUsageLambdaTracedInvocationsOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageObservabilityPipelinesOptionalParameters ¶

type GetUsageObservabilityPipelinesOptionalParameters struct {
	EndHr *time.Time
}

GetUsageObservabilityPipelinesOptionalParameters holds optional parameters for GetUsageObservabilityPipelines.

func NewGetUsageObservabilityPipelinesOptionalParameters ¶

func NewGetUsageObservabilityPipelinesOptionalParameters() *GetUsageObservabilityPipelinesOptionalParameters

NewGetUsageObservabilityPipelinesOptionalParameters creates an empty struct for parameters.

func (*GetUsageObservabilityPipelinesOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GroupScalarColumn ¶ added in v2.8.0

type GroupScalarColumn struct {
	// The name of the tag key or group.
	Name *string `json:"name,omitempty"`
	// The type of column present.
	Type *string `json:"type,omitempty"`
	// The array of tag values for each group found for the results of the formulas or queries.
	Values [][]string `json:"values,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{}
}

GroupScalarColumn A column containing the tag keys and values in a group.

func NewGroupScalarColumn ¶ added in v2.8.0

func NewGroupScalarColumn() *GroupScalarColumn

NewGroupScalarColumn instantiates a new GroupScalarColumn object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewGroupScalarColumnWithDefaults ¶ added in v2.8.0

func NewGroupScalarColumnWithDefaults() *GroupScalarColumn

NewGroupScalarColumnWithDefaults instantiates a new GroupScalarColumn object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*GroupScalarColumn) GetName ¶ added in v2.8.0

func (o *GroupScalarColumn) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*GroupScalarColumn) GetNameOk ¶ added in v2.8.0

func (o *GroupScalarColumn) 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 (*GroupScalarColumn) GetType ¶ added in v2.8.0

func (o *GroupScalarColumn) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GroupScalarColumn) GetTypeOk ¶ added in v2.8.0

func (o *GroupScalarColumn) 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 (*GroupScalarColumn) GetValues ¶ added in v2.8.0

func (o *GroupScalarColumn) GetValues() [][]string

GetValues returns the Values field value if set, zero value otherwise.

func (*GroupScalarColumn) GetValuesOk ¶ added in v2.8.0

func (o *GroupScalarColumn) GetValuesOk() (*[][]string, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GroupScalarColumn) HasName ¶ added in v2.8.0

func (o *GroupScalarColumn) HasName() bool

HasName returns a boolean if a field has been set.

func (*GroupScalarColumn) HasType ¶ added in v2.8.0

func (o *GroupScalarColumn) HasType() bool

HasType returns a boolean if a field has been set.

func (*GroupScalarColumn) HasValues ¶ added in v2.8.0

func (o *GroupScalarColumn) HasValues() bool

HasValues returns a boolean if a field has been set.

func (GroupScalarColumn) MarshalJSON ¶ added in v2.8.0

func (o GroupScalarColumn) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*GroupScalarColumn) SetName ¶ added in v2.8.0

func (o *GroupScalarColumn) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*GroupScalarColumn) SetType ¶ added in v2.8.0

func (o *GroupScalarColumn) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*GroupScalarColumn) SetValues ¶ added in v2.8.0

func (o *GroupScalarColumn) SetValues(v [][]string)

SetValues gets a reference to the given [][]string and assigns it to the Values field.

func (*GroupScalarColumn) UnmarshalJSON ¶ added in v2.8.0

func (o *GroupScalarColumn) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HTTPLogError ¶

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 ¶

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 ¶

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 ¶

func (o *HTTPLogError) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*HTTPLogError) GetDetailOk ¶

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 ¶

func (o *HTTPLogError) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*HTTPLogError) GetStatusOk ¶

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 ¶

func (o *HTTPLogError) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*HTTPLogError) GetTitleOk ¶

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 ¶

func (o *HTTPLogError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*HTTPLogError) HasStatus ¶

func (o *HTTPLogError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*HTTPLogError) HasTitle ¶

func (o *HTTPLogError) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (HTTPLogError) MarshalJSON ¶

func (o HTTPLogError) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*HTTPLogError) SetDetail ¶

func (o *HTTPLogError) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*HTTPLogError) SetStatus ¶

func (o *HTTPLogError) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*HTTPLogError) SetTitle ¶

func (o *HTTPLogError) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*HTTPLogError) UnmarshalJSON ¶

func (o *HTTPLogError) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HTTPLogErrors ¶

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 ¶

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 ¶

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 ¶

func (o *HTTPLogErrors) GetErrors() []HTTPLogError

GetErrors returns the Errors field value if set, zero value otherwise.

func (*HTTPLogErrors) GetErrorsOk ¶

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 ¶

func (o *HTTPLogErrors) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (HTTPLogErrors) MarshalJSON ¶

func (o HTTPLogErrors) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*HTTPLogErrors) SetErrors ¶

func (o *HTTPLogErrors) SetErrors(v []HTTPLogError)

SetErrors gets a reference to the given []HTTPLogError and assigns it to the Errors field.

func (*HTTPLogErrors) UnmarshalJSON ¶

func (o *HTTPLogErrors) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HTTPLogItem ¶

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_configuration/attributes_naming_convention/#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_configuration/attributes_naming_convention/#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_configuration/attributes_naming_convention/#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 ¶

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 ¶

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 ¶

func (o *HTTPLogItem) GetDdsource() string

GetDdsource returns the Ddsource field value if set, zero value otherwise.

func (*HTTPLogItem) GetDdsourceOk ¶

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 ¶

func (o *HTTPLogItem) GetDdtags() string

GetDdtags returns the Ddtags field value if set, zero value otherwise.

func (*HTTPLogItem) GetDdtagsOk ¶

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 ¶

func (o *HTTPLogItem) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*HTTPLogItem) GetHostnameOk ¶

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 ¶

func (o *HTTPLogItem) GetMessage() string

GetMessage returns the Message field value.

func (*HTTPLogItem) GetMessageOk ¶

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 ¶

func (o *HTTPLogItem) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*HTTPLogItem) GetServiceOk ¶

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 ¶

func (o *HTTPLogItem) HasDdsource() bool

HasDdsource returns a boolean if a field has been set.

func (*HTTPLogItem) HasDdtags ¶

func (o *HTTPLogItem) HasDdtags() bool

HasDdtags returns a boolean if a field has been set.

func (*HTTPLogItem) HasHostname ¶

func (o *HTTPLogItem) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*HTTPLogItem) HasService ¶

func (o *HTTPLogItem) HasService() bool

HasService returns a boolean if a field has been set.

func (HTTPLogItem) MarshalJSON ¶

func (o HTTPLogItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*HTTPLogItem) SetDdsource ¶

func (o *HTTPLogItem) SetDdsource(v string)

SetDdsource gets a reference to the given string and assigns it to the Ddsource field.

func (*HTTPLogItem) SetDdtags ¶

func (o *HTTPLogItem) SetDdtags(v string)

SetDdtags gets a reference to the given string and assigns it to the Ddtags field.

func (*HTTPLogItem) SetHostname ¶

func (o *HTTPLogItem) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*HTTPLogItem) SetMessage ¶

func (o *HTTPLogItem) SetMessage(v string)

SetMessage sets field value.

func (*HTTPLogItem) SetService ¶

func (o *HTTPLogItem) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*HTTPLogItem) UnmarshalJSON ¶

func (o *HTTPLogItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsage ¶

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 ¶

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 ¶

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 ¶

func (o *HourlyUsage) GetAttributes() HourlyUsageAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*HourlyUsage) GetAttributesOk ¶

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 ¶

func (o *HourlyUsage) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*HourlyUsage) GetIdOk ¶

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 ¶

func (o *HourlyUsage) GetType() UsageTimeSeriesType

GetType returns the Type field value if set, zero value otherwise.

func (*HourlyUsage) GetTypeOk ¶

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 ¶

func (o *HourlyUsage) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*HourlyUsage) HasId ¶

func (o *HourlyUsage) HasId() bool

HasId returns a boolean if a field has been set.

func (*HourlyUsage) HasType ¶

func (o *HourlyUsage) HasType() bool

HasType returns a boolean if a field has been set.

func (HourlyUsage) MarshalJSON ¶

func (o HourlyUsage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsage) SetAttributes ¶

func (o *HourlyUsage) SetAttributes(v HourlyUsageAttributes)

SetAttributes gets a reference to the given HourlyUsageAttributes and assigns it to the Attributes field.

func (*HourlyUsage) SetId ¶

func (o *HourlyUsage) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*HourlyUsage) SetType ¶

func (o *HourlyUsage) SetType(v UsageTimeSeriesType)

SetType gets a reference to the given UsageTimeSeriesType and assigns it to the Type field.

func (*HourlyUsage) UnmarshalJSON ¶

func (o *HourlyUsage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsageAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *HourlyUsageAttributes) GetMeasurements() []HourlyUsageMeasurement

GetMeasurements returns the Measurements field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetMeasurementsOk ¶

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 ¶

func (o *HourlyUsageAttributes) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetOrgNameOk ¶

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 ¶

func (o *HourlyUsageAttributes) GetProductFamily() string

GetProductFamily returns the ProductFamily field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetProductFamilyOk ¶

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 ¶

func (o *HourlyUsageAttributes) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetPublicIdOk ¶

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 ¶

func (o *HourlyUsageAttributes) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetRegionOk ¶

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 ¶

func (o *HourlyUsageAttributes) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*HourlyUsageAttributes) GetTimestampOk ¶

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 ¶

func (o *HourlyUsageAttributes) HasMeasurements() bool

HasMeasurements returns a boolean if a field has been set.

func (*HourlyUsageAttributes) HasOrgName ¶

func (o *HourlyUsageAttributes) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*HourlyUsageAttributes) HasProductFamily ¶

func (o *HourlyUsageAttributes) HasProductFamily() bool

HasProductFamily returns a boolean if a field has been set.

func (*HourlyUsageAttributes) HasPublicId ¶

func (o *HourlyUsageAttributes) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*HourlyUsageAttributes) HasRegion ¶

func (o *HourlyUsageAttributes) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*HourlyUsageAttributes) HasTimestamp ¶

func (o *HourlyUsageAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (HourlyUsageAttributes) MarshalJSON ¶

func (o HourlyUsageAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageAttributes) SetMeasurements ¶

func (o *HourlyUsageAttributes) SetMeasurements(v []HourlyUsageMeasurement)

SetMeasurements gets a reference to the given []HourlyUsageMeasurement and assigns it to the Measurements field.

func (*HourlyUsageAttributes) SetOrgName ¶

func (o *HourlyUsageAttributes) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*HourlyUsageAttributes) SetProductFamily ¶

func (o *HourlyUsageAttributes) SetProductFamily(v string)

SetProductFamily gets a reference to the given string and assigns it to the ProductFamily field.

func (*HourlyUsageAttributes) SetPublicId ¶

func (o *HourlyUsageAttributes) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*HourlyUsageAttributes) SetRegion ¶

func (o *HourlyUsageAttributes) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*HourlyUsageAttributes) SetTimestamp ¶

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 ¶

func (o *HourlyUsageAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsageMeasurement ¶

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 datadog.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 ¶

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 ¶

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 ¶

func (o *HourlyUsageMeasurement) GetUsageType() string

GetUsageType returns the UsageType field value if set, zero value otherwise.

func (*HourlyUsageMeasurement) GetUsageTypeOk ¶

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 ¶

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 ¶

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 ¶

func (o *HourlyUsageMeasurement) HasUsageType() bool

HasUsageType returns a boolean if a field has been set.

func (*HourlyUsageMeasurement) HasValue ¶

func (o *HourlyUsageMeasurement) HasValue() bool

HasValue returns a boolean if a field has been set.

func (HourlyUsageMeasurement) MarshalJSON ¶

func (o HourlyUsageMeasurement) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageMeasurement) SetUsageType ¶

func (o *HourlyUsageMeasurement) SetUsageType(v string)

SetUsageType gets a reference to the given string and assigns it to the UsageType field.

func (*HourlyUsageMeasurement) SetValue ¶

func (o *HourlyUsageMeasurement) SetValue(v int64)

SetValue gets a reference to the given datadog.NullableInt64 and assigns it to the Value field.

func (*HourlyUsageMeasurement) SetValueNil ¶

func (o *HourlyUsageMeasurement) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil.

func (*HourlyUsageMeasurement) UnmarshalJSON ¶

func (o *HourlyUsageMeasurement) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*HourlyUsageMeasurement) UnsetValue ¶

func (o *HourlyUsageMeasurement) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil.

type HourlyUsageMetadata ¶

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 ¶

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 ¶

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 ¶

func (o *HourlyUsageMetadata) GetPagination() HourlyUsagePagination

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*HourlyUsageMetadata) GetPaginationOk ¶

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 ¶

func (o *HourlyUsageMetadata) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (HourlyUsageMetadata) MarshalJSON ¶

func (o HourlyUsageMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageMetadata) SetPagination ¶

func (o *HourlyUsageMetadata) SetPagination(v HourlyUsagePagination)

SetPagination gets a reference to the given HourlyUsagePagination and assigns it to the Pagination field.

func (*HourlyUsageMetadata) UnmarshalJSON ¶

func (o *HourlyUsageMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsagePagination ¶

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 datadog.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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *HourlyUsagePagination) HasNextRecordId() bool

HasNextRecordId returns a boolean if a field has been set.

func (HourlyUsagePagination) MarshalJSON ¶

func (o HourlyUsagePagination) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsagePagination) SetNextRecordId ¶

func (o *HourlyUsagePagination) SetNextRecordId(v string)

SetNextRecordId gets a reference to the given datadog.NullableString and assigns it to the NextRecordId field.

func (*HourlyUsagePagination) SetNextRecordIdNil ¶

func (o *HourlyUsagePagination) SetNextRecordIdNil()

SetNextRecordIdNil sets the value for NextRecordId to be an explicit nil.

func (*HourlyUsagePagination) UnmarshalJSON ¶

func (o *HourlyUsagePagination) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*HourlyUsagePagination) UnsetNextRecordId ¶

func (o *HourlyUsagePagination) UnsetNextRecordId()

UnsetNextRecordId ensures that no value is present for NextRecordId, not even an explicit nil.

type HourlyUsageResponse ¶

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 ¶

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 ¶

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 ¶

func (o *HourlyUsageResponse) GetData() []HourlyUsage

GetData returns the Data field value if set, zero value otherwise.

func (*HourlyUsageResponse) GetDataOk ¶

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 ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*HourlyUsageResponse) GetMetaOk ¶

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 ¶

func (o *HourlyUsageResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*HourlyUsageResponse) HasMeta ¶

func (o *HourlyUsageResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (HourlyUsageResponse) MarshalJSON ¶

func (o HourlyUsageResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageResponse) SetData ¶

func (o *HourlyUsageResponse) SetData(v []HourlyUsage)

SetData gets a reference to the given []HourlyUsage and assigns it to the Data field.

func (*HourlyUsageResponse) SetMeta ¶

SetMeta gets a reference to the given HourlyUsageMetadata and assigns it to the Meta field.

func (*HourlyUsageResponse) UnmarshalJSON ¶

func (o *HourlyUsageResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsageType ¶

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 ¶

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 ¶

func (v *HourlyUsageType) GetAllowedValues() []HourlyUsageType

GetAllowedValues reeturns the list of possible values.

func (HourlyUsageType) IsValid ¶

func (v HourlyUsageType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (HourlyUsageType) Ptr ¶

Ptr returns reference to HourlyUsageType value.

func (*HourlyUsageType) UnmarshalJSON ¶

func (v *HourlyUsageType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IPAllowlistApi ¶ added in v2.10.0

type IPAllowlistApi datadog.Service

IPAllowlistApi service type

func NewIPAllowlistApi ¶ added in v2.10.0

func NewIPAllowlistApi(client *datadog.APIClient) *IPAllowlistApi

NewIPAllowlistApi Returns NewIPAllowlistApi.

func (*IPAllowlistApi) GetIPAllowlist ¶ added in v2.10.0

GetIPAllowlist Get IP Allowlist. Returns the IP allowlist and its enabled or disabled state.

func (*IPAllowlistApi) UpdateIPAllowlist ¶ added in v2.10.0

UpdateIPAllowlist Update IP Allowlist. Edit the entries in the IP allowlist, and enable or disable it.

type IPAllowlistAttributes ¶ added in v2.10.0

type IPAllowlistAttributes struct {
	// Whether the IP allowlist logic is enabled or not.
	Enabled *bool `json:"enabled,omitempty"`
	// Array of entries in the IP allowlist.
	Entries []IPAllowlistEntry `json:"entries,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{}
}

IPAllowlistAttributes Attributes of the IP allowlist.

func NewIPAllowlistAttributes ¶ added in v2.10.0

func NewIPAllowlistAttributes() *IPAllowlistAttributes

NewIPAllowlistAttributes instantiates a new IPAllowlistAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIPAllowlistAttributesWithDefaults ¶ added in v2.10.0

func NewIPAllowlistAttributesWithDefaults() *IPAllowlistAttributes

NewIPAllowlistAttributesWithDefaults instantiates a new IPAllowlistAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IPAllowlistAttributes) GetEnabled ¶ added in v2.10.0

func (o *IPAllowlistAttributes) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*IPAllowlistAttributes) GetEnabledOk ¶ added in v2.10.0

func (o *IPAllowlistAttributes) 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 (*IPAllowlistAttributes) GetEntries ¶ added in v2.10.0

func (o *IPAllowlistAttributes) GetEntries() []IPAllowlistEntry

GetEntries returns the Entries field value if set, zero value otherwise.

func (*IPAllowlistAttributes) GetEntriesOk ¶ added in v2.10.0

func (o *IPAllowlistAttributes) GetEntriesOk() (*[]IPAllowlistEntry, bool)

GetEntriesOk returns a tuple with the Entries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAllowlistAttributes) HasEnabled ¶ added in v2.10.0

func (o *IPAllowlistAttributes) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*IPAllowlistAttributes) HasEntries ¶ added in v2.10.0

func (o *IPAllowlistAttributes) HasEntries() bool

HasEntries returns a boolean if a field has been set.

func (IPAllowlistAttributes) MarshalJSON ¶ added in v2.10.0

func (o IPAllowlistAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IPAllowlistAttributes) SetEnabled ¶ added in v2.10.0

func (o *IPAllowlistAttributes) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*IPAllowlistAttributes) SetEntries ¶ added in v2.10.0

func (o *IPAllowlistAttributes) SetEntries(v []IPAllowlistEntry)

SetEntries gets a reference to the given []IPAllowlistEntry and assigns it to the Entries field.

func (*IPAllowlistAttributes) UnmarshalJSON ¶ added in v2.10.0

func (o *IPAllowlistAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPAllowlistData ¶ added in v2.10.0

type IPAllowlistData struct {
	// Attributes of the IP allowlist.
	Attributes *IPAllowlistAttributes `json:"attributes,omitempty"`
	// The unique identifier of the org.
	Id *string `json:"id,omitempty"`
	// IP allowlist type.
	Type IPAllowlistType `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{}
}

IPAllowlistData IP allowlist data.

func NewIPAllowlistData ¶ added in v2.10.0

func NewIPAllowlistData(typeVar IPAllowlistType) *IPAllowlistData

NewIPAllowlistData instantiates a new IPAllowlistData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIPAllowlistDataWithDefaults ¶ added in v2.10.0

func NewIPAllowlistDataWithDefaults() *IPAllowlistData

NewIPAllowlistDataWithDefaults instantiates a new IPAllowlistData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IPAllowlistData) GetAttributes ¶ added in v2.10.0

func (o *IPAllowlistData) GetAttributes() IPAllowlistAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IPAllowlistData) GetAttributesOk ¶ added in v2.10.0

func (o *IPAllowlistData) GetAttributesOk() (*IPAllowlistAttributes, 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 (*IPAllowlistData) GetId ¶ added in v2.10.0

func (o *IPAllowlistData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IPAllowlistData) GetIdOk ¶ added in v2.10.0

func (o *IPAllowlistData) 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 (*IPAllowlistData) GetType ¶ added in v2.10.0

func (o *IPAllowlistData) GetType() IPAllowlistType

GetType returns the Type field value.

func (*IPAllowlistData) GetTypeOk ¶ added in v2.10.0

func (o *IPAllowlistData) GetTypeOk() (*IPAllowlistType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*IPAllowlistData) HasAttributes ¶ added in v2.10.0

func (o *IPAllowlistData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IPAllowlistData) HasId ¶ added in v2.10.0

func (o *IPAllowlistData) HasId() bool

HasId returns a boolean if a field has been set.

func (IPAllowlistData) MarshalJSON ¶ added in v2.10.0

func (o IPAllowlistData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IPAllowlistData) SetAttributes ¶ added in v2.10.0

func (o *IPAllowlistData) SetAttributes(v IPAllowlistAttributes)

SetAttributes gets a reference to the given IPAllowlistAttributes and assigns it to the Attributes field.

func (*IPAllowlistData) SetId ¶ added in v2.10.0

func (o *IPAllowlistData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IPAllowlistData) SetType ¶ added in v2.10.0

func (o *IPAllowlistData) SetType(v IPAllowlistType)

SetType sets field value.

func (*IPAllowlistData) UnmarshalJSON ¶ added in v2.10.0

func (o *IPAllowlistData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPAllowlistEntry ¶ added in v2.10.0

type IPAllowlistEntry struct {
	// Data of the IP allowlist entry object.
	Data IPAllowlistEntryData `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{}
}

IPAllowlistEntry IP allowlist entry object.

func NewIPAllowlistEntry ¶ added in v2.10.0

func NewIPAllowlistEntry(data IPAllowlistEntryData) *IPAllowlistEntry

NewIPAllowlistEntry instantiates a new IPAllowlistEntry object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIPAllowlistEntryWithDefaults ¶ added in v2.10.0

func NewIPAllowlistEntryWithDefaults() *IPAllowlistEntry

NewIPAllowlistEntryWithDefaults instantiates a new IPAllowlistEntry object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IPAllowlistEntry) GetData ¶ added in v2.10.0

GetData returns the Data field value.

func (*IPAllowlistEntry) GetDataOk ¶ added in v2.10.0

func (o *IPAllowlistEntry) GetDataOk() (*IPAllowlistEntryData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (IPAllowlistEntry) MarshalJSON ¶ added in v2.10.0

func (o IPAllowlistEntry) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IPAllowlistEntry) SetData ¶ added in v2.10.0

func (o *IPAllowlistEntry) SetData(v IPAllowlistEntryData)

SetData sets field value.

func (*IPAllowlistEntry) UnmarshalJSON ¶ added in v2.10.0

func (o *IPAllowlistEntry) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPAllowlistEntryAttributes ¶ added in v2.10.0

type IPAllowlistEntryAttributes struct {
	// The CIDR block describing the IP range of the entry.
	CidrBlock *string `json:"cidr_block,omitempty"`
	// Creation time of the entry.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Time of last entry modification.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// A note describing the IP allowlist entry.
	Note *string `json:"note,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{}
}

IPAllowlistEntryAttributes Attributes of the IP allowlist entry.

func NewIPAllowlistEntryAttributes ¶ added in v2.10.0

func NewIPAllowlistEntryAttributes() *IPAllowlistEntryAttributes

NewIPAllowlistEntryAttributes instantiates a new IPAllowlistEntryAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIPAllowlistEntryAttributesWithDefaults ¶ added in v2.10.0

func NewIPAllowlistEntryAttributesWithDefaults() *IPAllowlistEntryAttributes

NewIPAllowlistEntryAttributesWithDefaults instantiates a new IPAllowlistEntryAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IPAllowlistEntryAttributes) GetCidrBlock ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) GetCidrBlock() string

GetCidrBlock returns the CidrBlock field value if set, zero value otherwise.

func (*IPAllowlistEntryAttributes) GetCidrBlockOk ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) GetCidrBlockOk() (*string, bool)

GetCidrBlockOk returns a tuple with the CidrBlock field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAllowlistEntryAttributes) GetCreatedAt ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*IPAllowlistEntryAttributes) GetCreatedAtOk ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) 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 (*IPAllowlistEntryAttributes) GetModifiedAt ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*IPAllowlistEntryAttributes) GetModifiedAtOk ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) 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 (*IPAllowlistEntryAttributes) GetNote ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) GetNote() string

GetNote returns the Note field value if set, zero value otherwise.

func (*IPAllowlistEntryAttributes) GetNoteOk ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) GetNoteOk() (*string, bool)

GetNoteOk returns a tuple with the Note field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAllowlistEntryAttributes) HasCidrBlock ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) HasCidrBlock() bool

HasCidrBlock returns a boolean if a field has been set.

func (*IPAllowlistEntryAttributes) HasCreatedAt ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*IPAllowlistEntryAttributes) HasModifiedAt ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*IPAllowlistEntryAttributes) HasNote ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) HasNote() bool

HasNote returns a boolean if a field has been set.

func (IPAllowlistEntryAttributes) MarshalJSON ¶ added in v2.10.0

func (o IPAllowlistEntryAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IPAllowlistEntryAttributes) SetCidrBlock ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) SetCidrBlock(v string)

SetCidrBlock gets a reference to the given string and assigns it to the CidrBlock field.

func (*IPAllowlistEntryAttributes) SetCreatedAt ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*IPAllowlistEntryAttributes) SetModifiedAt ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*IPAllowlistEntryAttributes) SetNote ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) SetNote(v string)

SetNote gets a reference to the given string and assigns it to the Note field.

func (*IPAllowlistEntryAttributes) UnmarshalJSON ¶ added in v2.10.0

func (o *IPAllowlistEntryAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPAllowlistEntryData ¶ added in v2.10.0

type IPAllowlistEntryData struct {
	// Attributes of the IP allowlist entry.
	Attributes *IPAllowlistEntryAttributes `json:"attributes,omitempty"`
	// The unique identifier of the IP allowlist entry.
	Id *string `json:"id,omitempty"`
	// IP allowlist Entry type.
	Type IPAllowlistEntryType `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{}
}

IPAllowlistEntryData Data of the IP allowlist entry object.

func NewIPAllowlistEntryData ¶ added in v2.10.0

func NewIPAllowlistEntryData(typeVar IPAllowlistEntryType) *IPAllowlistEntryData

NewIPAllowlistEntryData instantiates a new IPAllowlistEntryData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIPAllowlistEntryDataWithDefaults ¶ added in v2.10.0

func NewIPAllowlistEntryDataWithDefaults() *IPAllowlistEntryData

NewIPAllowlistEntryDataWithDefaults instantiates a new IPAllowlistEntryData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IPAllowlistEntryData) GetAttributes ¶ added in v2.10.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IPAllowlistEntryData) GetAttributesOk ¶ added in v2.10.0

func (o *IPAllowlistEntryData) GetAttributesOk() (*IPAllowlistEntryAttributes, 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 (*IPAllowlistEntryData) GetId ¶ added in v2.10.0

func (o *IPAllowlistEntryData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IPAllowlistEntryData) GetIdOk ¶ added in v2.10.0

func (o *IPAllowlistEntryData) 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 (*IPAllowlistEntryData) GetType ¶ added in v2.10.0

GetType returns the Type field value.

func (*IPAllowlistEntryData) GetTypeOk ¶ added in v2.10.0

func (o *IPAllowlistEntryData) GetTypeOk() (*IPAllowlistEntryType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*IPAllowlistEntryData) HasAttributes ¶ added in v2.10.0

func (o *IPAllowlistEntryData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IPAllowlistEntryData) HasId ¶ added in v2.10.0

func (o *IPAllowlistEntryData) HasId() bool

HasId returns a boolean if a field has been set.

func (IPAllowlistEntryData) MarshalJSON ¶ added in v2.10.0

func (o IPAllowlistEntryData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IPAllowlistEntryData) SetAttributes ¶ added in v2.10.0

SetAttributes gets a reference to the given IPAllowlistEntryAttributes and assigns it to the Attributes field.

func (*IPAllowlistEntryData) SetId ¶ added in v2.10.0

func (o *IPAllowlistEntryData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IPAllowlistEntryData) SetType ¶ added in v2.10.0

SetType sets field value.

func (*IPAllowlistEntryData) UnmarshalJSON ¶ added in v2.10.0

func (o *IPAllowlistEntryData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPAllowlistEntryType ¶ added in v2.10.0

type IPAllowlistEntryType string

IPAllowlistEntryType IP allowlist Entry type.

const (
	IPALLOWLISTENTRYTYPE_IP_ALLOWLIST_ENTRY IPAllowlistEntryType = "ip_allowlist_entry"
)

List of IPAllowlistEntryType.

func NewIPAllowlistEntryTypeFromValue ¶ added in v2.10.0

func NewIPAllowlistEntryTypeFromValue(v string) (*IPAllowlistEntryType, error)

NewIPAllowlistEntryTypeFromValue returns a pointer to a valid IPAllowlistEntryType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IPAllowlistEntryType) GetAllowedValues ¶ added in v2.10.0

func (v *IPAllowlistEntryType) GetAllowedValues() []IPAllowlistEntryType

GetAllowedValues reeturns the list of possible values.

func (IPAllowlistEntryType) IsValid ¶ added in v2.10.0

func (v IPAllowlistEntryType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (IPAllowlistEntryType) Ptr ¶ added in v2.10.0

Ptr returns reference to IPAllowlistEntryType value.

func (*IPAllowlistEntryType) UnmarshalJSON ¶ added in v2.10.0

func (v *IPAllowlistEntryType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IPAllowlistResponse ¶ added in v2.10.0

type IPAllowlistResponse struct {
	// IP allowlist data.
	Data *IPAllowlistData `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{}
}

IPAllowlistResponse Response containing information about the IP allowlist.

func NewIPAllowlistResponse ¶ added in v2.10.0

func NewIPAllowlistResponse() *IPAllowlistResponse

NewIPAllowlistResponse instantiates a new IPAllowlistResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIPAllowlistResponseWithDefaults ¶ added in v2.10.0

func NewIPAllowlistResponseWithDefaults() *IPAllowlistResponse

NewIPAllowlistResponseWithDefaults instantiates a new IPAllowlistResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IPAllowlistResponse) GetData ¶ added in v2.10.0

func (o *IPAllowlistResponse) GetData() IPAllowlistData

GetData returns the Data field value if set, zero value otherwise.

func (*IPAllowlistResponse) GetDataOk ¶ added in v2.10.0

func (o *IPAllowlistResponse) GetDataOk() (*IPAllowlistData, 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 (*IPAllowlistResponse) HasData ¶ added in v2.10.0

func (o *IPAllowlistResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (IPAllowlistResponse) MarshalJSON ¶ added in v2.10.0

func (o IPAllowlistResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IPAllowlistResponse) SetData ¶ added in v2.10.0

func (o *IPAllowlistResponse) SetData(v IPAllowlistData)

SetData gets a reference to the given IPAllowlistData and assigns it to the Data field.

func (*IPAllowlistResponse) UnmarshalJSON ¶ added in v2.10.0

func (o *IPAllowlistResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPAllowlistType ¶ added in v2.10.0

type IPAllowlistType string

IPAllowlistType IP allowlist type.

const (
	IPALLOWLISTTYPE_IP_ALLOWLIST IPAllowlistType = "ip_allowlist"
)

List of IPAllowlistType.

func NewIPAllowlistTypeFromValue ¶ added in v2.10.0

func NewIPAllowlistTypeFromValue(v string) (*IPAllowlistType, error)

NewIPAllowlistTypeFromValue returns a pointer to a valid IPAllowlistType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IPAllowlistType) GetAllowedValues ¶ added in v2.10.0

func (v *IPAllowlistType) GetAllowedValues() []IPAllowlistType

GetAllowedValues reeturns the list of possible values.

func (IPAllowlistType) IsValid ¶ added in v2.10.0

func (v IPAllowlistType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (IPAllowlistType) Ptr ¶ added in v2.10.0

Ptr returns reference to IPAllowlistType value.

func (*IPAllowlistType) UnmarshalJSON ¶ added in v2.10.0

func (v *IPAllowlistType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IPAllowlistUpdateRequest ¶ added in v2.10.0

type IPAllowlistUpdateRequest struct {
	// IP allowlist data.
	Data IPAllowlistData `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{}
}

IPAllowlistUpdateRequest Update the IP allowlist.

func NewIPAllowlistUpdateRequest ¶ added in v2.10.0

func NewIPAllowlistUpdateRequest(data IPAllowlistData) *IPAllowlistUpdateRequest

NewIPAllowlistUpdateRequest instantiates a new IPAllowlistUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIPAllowlistUpdateRequestWithDefaults ¶ added in v2.10.0

func NewIPAllowlistUpdateRequestWithDefaults() *IPAllowlistUpdateRequest

NewIPAllowlistUpdateRequestWithDefaults instantiates a new IPAllowlistUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IPAllowlistUpdateRequest) GetData ¶ added in v2.10.0

GetData returns the Data field value.

func (*IPAllowlistUpdateRequest) GetDataOk ¶ added in v2.10.0

func (o *IPAllowlistUpdateRequest) GetDataOk() (*IPAllowlistData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (IPAllowlistUpdateRequest) MarshalJSON ¶ added in v2.10.0

func (o IPAllowlistUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IPAllowlistUpdateRequest) SetData ¶ added in v2.10.0

SetData sets field value.

func (*IPAllowlistUpdateRequest) UnmarshalJSON ¶ added in v2.10.0

func (o *IPAllowlistUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IdPMetadataFormData ¶

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 ¶

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 ¶

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 ¶

func (o *IdPMetadataFormData) GetIdpFile() *os.File

GetIdpFile returns the IdpFile field value if set, zero value otherwise.

func (*IdPMetadataFormData) GetIdpFileOk ¶

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 ¶

func (o *IdPMetadataFormData) HasIdpFile() bool

HasIdpFile returns a boolean if a field has been set.

func (IdPMetadataFormData) MarshalJSON ¶

func (o IdPMetadataFormData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IdPMetadataFormData) SetIdpFile ¶

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 ¶

func (o *IdPMetadataFormData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentAttachmentType ¶ added in v2.4.0

type IncidentAttachmentAttachmentType string

IncidentAttachmentAttachmentType The type of the incident attachment attributes.

const (
	INCIDENTATTACHMENTATTACHMENTTYPE_LINK       IncidentAttachmentAttachmentType = "link"
	INCIDENTATTACHMENTATTACHMENTTYPE_POSTMORTEM IncidentAttachmentAttachmentType = "postmortem"
)

List of IncidentAttachmentAttachmentType.

func NewIncidentAttachmentAttachmentTypeFromValue ¶ added in v2.4.0

func NewIncidentAttachmentAttachmentTypeFromValue(v string) (*IncidentAttachmentAttachmentType, error)

NewIncidentAttachmentAttachmentTypeFromValue returns a pointer to a valid IncidentAttachmentAttachmentType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IncidentAttachmentAttachmentType) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (IncidentAttachmentAttachmentType) IsValid ¶ added in v2.4.0

IsValid return true if the value is valid for the enum, false otherwise.

func (IncidentAttachmentAttachmentType) Ptr ¶ added in v2.4.0

Ptr returns reference to IncidentAttachmentAttachmentType value.

func (*IncidentAttachmentAttachmentType) UnmarshalJSON ¶ added in v2.4.0

func (v *IncidentAttachmentAttachmentType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentAttributes ¶ added in v2.4.0

type IncidentAttachmentAttributes struct {
	IncidentAttachmentPostmortemAttributes *IncidentAttachmentPostmortemAttributes
	IncidentAttachmentLinkAttributes       *IncidentAttachmentLinkAttributes

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentAttachmentAttributes - The attributes object for an attachment.

func IncidentAttachmentLinkAttributesAsIncidentAttachmentAttributes ¶ added in v2.4.0

func IncidentAttachmentLinkAttributesAsIncidentAttachmentAttributes(v *IncidentAttachmentLinkAttributes) IncidentAttachmentAttributes

IncidentAttachmentLinkAttributesAsIncidentAttachmentAttributes is a convenience function that returns IncidentAttachmentLinkAttributes wrapped in IncidentAttachmentAttributes.

func IncidentAttachmentPostmortemAttributesAsIncidentAttachmentAttributes ¶ added in v2.4.0

func IncidentAttachmentPostmortemAttributesAsIncidentAttachmentAttributes(v *IncidentAttachmentPostmortemAttributes) IncidentAttachmentAttributes

IncidentAttachmentPostmortemAttributesAsIncidentAttachmentAttributes is a convenience function that returns IncidentAttachmentPostmortemAttributes wrapped in IncidentAttachmentAttributes.

func (*IncidentAttachmentAttributes) GetActualInstance ¶ added in v2.4.0

func (obj *IncidentAttachmentAttributes) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (IncidentAttachmentAttributes) MarshalJSON ¶ added in v2.4.0

func (obj IncidentAttachmentAttributes) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*IncidentAttachmentAttributes) UnmarshalJSON ¶ added in v2.4.0

func (obj *IncidentAttachmentAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type IncidentAttachmentData ¶ added in v2.4.0

type IncidentAttachmentData struct {
	// The attributes object for an attachment.
	Attributes IncidentAttachmentAttributes `json:"attributes"`
	// A unique identifier that represents the incident attachment.
	Id string `json:"id"`
	// The incident attachment's relationships.
	Relationships IncidentAttachmentRelationships `json:"relationships"`
	// The incident attachment resource type.
	Type IncidentAttachmentType `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{}
}

IncidentAttachmentData A single incident attachment.

func NewIncidentAttachmentData ¶ added in v2.4.0

func NewIncidentAttachmentData(attributes IncidentAttachmentAttributes, id string, relationships IncidentAttachmentRelationships, typeVar IncidentAttachmentType) *IncidentAttachmentData

NewIncidentAttachmentData instantiates a new IncidentAttachmentData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentAttachmentDataWithDefaults ¶ added in v2.4.0

func NewIncidentAttachmentDataWithDefaults() *IncidentAttachmentData

NewIncidentAttachmentDataWithDefaults instantiates a new IncidentAttachmentData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentAttachmentData) GetAttributes ¶ added in v2.4.0

GetAttributes returns the Attributes field value.

func (*IncidentAttachmentData) GetAttributesOk ¶ added in v2.4.0

func (o *IncidentAttachmentData) GetAttributesOk() (*IncidentAttachmentAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*IncidentAttachmentData) GetId ¶ added in v2.4.0

func (o *IncidentAttachmentData) GetId() string

GetId returns the Id field value.

func (*IncidentAttachmentData) GetIdOk ¶ added in v2.4.0

func (o *IncidentAttachmentData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*IncidentAttachmentData) GetRelationships ¶ added in v2.4.0

GetRelationships returns the Relationships field value.

func (*IncidentAttachmentData) GetRelationshipsOk ¶ added in v2.4.0

func (o *IncidentAttachmentData) GetRelationshipsOk() (*IncidentAttachmentRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*IncidentAttachmentData) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*IncidentAttachmentData) GetTypeOk ¶ added in v2.4.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (IncidentAttachmentData) MarshalJSON ¶ added in v2.4.0

func (o IncidentAttachmentData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentAttachmentData) SetAttributes ¶ added in v2.4.0

SetAttributes sets field value.

func (*IncidentAttachmentData) SetId ¶ added in v2.4.0

func (o *IncidentAttachmentData) SetId(v string)

SetId sets field value.

func (*IncidentAttachmentData) SetRelationships ¶ added in v2.4.0

SetRelationships sets field value.

func (*IncidentAttachmentData) SetType ¶ added in v2.4.0

SetType sets field value.

func (*IncidentAttachmentData) UnmarshalJSON ¶ added in v2.4.0

func (o *IncidentAttachmentData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentLinkAttachmentType ¶ added in v2.4.0

type IncidentAttachmentLinkAttachmentType string

IncidentAttachmentLinkAttachmentType The type of link attachment attributes.

const (
	INCIDENTATTACHMENTLINKATTACHMENTTYPE_LINK IncidentAttachmentLinkAttachmentType = "link"
)

List of IncidentAttachmentLinkAttachmentType.

func NewIncidentAttachmentLinkAttachmentTypeFromValue ¶ added in v2.4.0

func NewIncidentAttachmentLinkAttachmentTypeFromValue(v string) (*IncidentAttachmentLinkAttachmentType, error)

NewIncidentAttachmentLinkAttachmentTypeFromValue returns a pointer to a valid IncidentAttachmentLinkAttachmentType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IncidentAttachmentLinkAttachmentType) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (IncidentAttachmentLinkAttachmentType) IsValid ¶ added in v2.4.0

IsValid return true if the value is valid for the enum, false otherwise.

func (IncidentAttachmentLinkAttachmentType) Ptr ¶ added in v2.4.0

Ptr returns reference to IncidentAttachmentLinkAttachmentType value.

func (*IncidentAttachmentLinkAttachmentType) UnmarshalJSON ¶ added in v2.4.0

func (v *IncidentAttachmentLinkAttachmentType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentLinkAttributes ¶ added in v2.4.0

type IncidentAttachmentLinkAttributes struct {
	// The link attachment.
	Attachment IncidentAttachmentLinkAttributesAttachmentObject `json:"attachment"`
	// The type of link attachment attributes.
	AttachmentType IncidentAttachmentLinkAttachmentType `json:"attachment_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{}
}

IncidentAttachmentLinkAttributes The attributes object for a link attachment.

func NewIncidentAttachmentLinkAttributes ¶ added in v2.4.0

NewIncidentAttachmentLinkAttributes instantiates a new IncidentAttachmentLinkAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentAttachmentLinkAttributesWithDefaults ¶ added in v2.4.0

func NewIncidentAttachmentLinkAttributesWithDefaults() *IncidentAttachmentLinkAttributes

NewIncidentAttachmentLinkAttributesWithDefaults instantiates a new IncidentAttachmentLinkAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentAttachmentLinkAttributes) GetAttachment ¶ added in v2.4.0

GetAttachment returns the Attachment field value.

func (*IncidentAttachmentLinkAttributes) GetAttachmentOk ¶ added in v2.4.0

GetAttachmentOk returns a tuple with the Attachment field value and a boolean to check if the value has been set.

func (*IncidentAttachmentLinkAttributes) GetAttachmentType ¶ added in v2.4.0

GetAttachmentType returns the AttachmentType field value.

func (*IncidentAttachmentLinkAttributes) GetAttachmentTypeOk ¶ added in v2.4.0

GetAttachmentTypeOk returns a tuple with the AttachmentType field value and a boolean to check if the value has been set.

func (IncidentAttachmentLinkAttributes) MarshalJSON ¶ added in v2.4.0

func (o IncidentAttachmentLinkAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentAttachmentLinkAttributes) SetAttachment ¶ added in v2.4.0

SetAttachment sets field value.

func (*IncidentAttachmentLinkAttributes) SetAttachmentType ¶ added in v2.4.0

SetAttachmentType sets field value.

func (*IncidentAttachmentLinkAttributes) UnmarshalJSON ¶ added in v2.4.0

func (o *IncidentAttachmentLinkAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentLinkAttributesAttachmentObject ¶ added in v2.4.0

type IncidentAttachmentLinkAttributesAttachmentObject struct {
	// The URL of this link attachment.
	DocumentUrl string `json:"documentUrl"`
	// The title of this link attachment.
	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{}
}

IncidentAttachmentLinkAttributesAttachmentObject The link attachment.

func NewIncidentAttachmentLinkAttributesAttachmentObject ¶ added in v2.4.0

func NewIncidentAttachmentLinkAttributesAttachmentObject(documentUrl string, title string) *IncidentAttachmentLinkAttributesAttachmentObject

NewIncidentAttachmentLinkAttributesAttachmentObject instantiates a new IncidentAttachmentLinkAttributesAttachmentObject object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentAttachmentLinkAttributesAttachmentObjectWithDefaults ¶ added in v2.4.0

func NewIncidentAttachmentLinkAttributesAttachmentObjectWithDefaults() *IncidentAttachmentLinkAttributesAttachmentObject

NewIncidentAttachmentLinkAttributesAttachmentObjectWithDefaults instantiates a new IncidentAttachmentLinkAttributesAttachmentObject object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentAttachmentLinkAttributesAttachmentObject) GetDocumentUrl ¶ added in v2.4.0

GetDocumentUrl returns the DocumentUrl field value.

func (*IncidentAttachmentLinkAttributesAttachmentObject) GetDocumentUrlOk ¶ added in v2.4.0

GetDocumentUrlOk returns a tuple with the DocumentUrl field value and a boolean to check if the value has been set.

func (*IncidentAttachmentLinkAttributesAttachmentObject) GetTitle ¶ added in v2.4.0

GetTitle returns the Title field value.

func (*IncidentAttachmentLinkAttributesAttachmentObject) GetTitleOk ¶ added in v2.4.0

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (IncidentAttachmentLinkAttributesAttachmentObject) MarshalJSON ¶ added in v2.4.0

MarshalJSON serializes the struct using spec logic.

func (*IncidentAttachmentLinkAttributesAttachmentObject) SetDocumentUrl ¶ added in v2.4.0

SetDocumentUrl sets field value.

func (*IncidentAttachmentLinkAttributesAttachmentObject) SetTitle ¶ added in v2.4.0

SetTitle sets field value.

func (*IncidentAttachmentLinkAttributesAttachmentObject) UnmarshalJSON ¶ added in v2.4.0

func (o *IncidentAttachmentLinkAttributesAttachmentObject) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentPostmortemAttachmentType ¶ added in v2.4.0

type IncidentAttachmentPostmortemAttachmentType string

IncidentAttachmentPostmortemAttachmentType The type of postmortem attachment attributes.

const (
	INCIDENTATTACHMENTPOSTMORTEMATTACHMENTTYPE_POSTMORTEM IncidentAttachmentPostmortemAttachmentType = "postmortem"
)

List of IncidentAttachmentPostmortemAttachmentType.

func NewIncidentAttachmentPostmortemAttachmentTypeFromValue ¶ added in v2.4.0

func NewIncidentAttachmentPostmortemAttachmentTypeFromValue(v string) (*IncidentAttachmentPostmortemAttachmentType, error)

NewIncidentAttachmentPostmortemAttachmentTypeFromValue returns a pointer to a valid IncidentAttachmentPostmortemAttachmentType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IncidentAttachmentPostmortemAttachmentType) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (IncidentAttachmentPostmortemAttachmentType) IsValid ¶ added in v2.4.0

IsValid return true if the value is valid for the enum, false otherwise.

func (IncidentAttachmentPostmortemAttachmentType) Ptr ¶ added in v2.4.0

Ptr returns reference to IncidentAttachmentPostmortemAttachmentType value.

func (*IncidentAttachmentPostmortemAttachmentType) UnmarshalJSON ¶ added in v2.4.0

func (v *IncidentAttachmentPostmortemAttachmentType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentPostmortemAttributes ¶ added in v2.4.0

type IncidentAttachmentPostmortemAttributes struct {
	// The postmortem attachment.
	Attachment IncidentAttachmentsPostmortemAttributesAttachmentObject `json:"attachment"`
	// The type of postmortem attachment attributes.
	AttachmentType IncidentAttachmentPostmortemAttachmentType `json:"attachment_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{}
}

IncidentAttachmentPostmortemAttributes The attributes object for a postmortem attachment.

func NewIncidentAttachmentPostmortemAttributes ¶ added in v2.4.0

NewIncidentAttachmentPostmortemAttributes instantiates a new IncidentAttachmentPostmortemAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentAttachmentPostmortemAttributesWithDefaults ¶ added in v2.4.0

func NewIncidentAttachmentPostmortemAttributesWithDefaults() *IncidentAttachmentPostmortemAttributes

NewIncidentAttachmentPostmortemAttributesWithDefaults instantiates a new IncidentAttachmentPostmortemAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentAttachmentPostmortemAttributes) GetAttachment ¶ added in v2.4.0

GetAttachment returns the Attachment field value.

func (*IncidentAttachmentPostmortemAttributes) GetAttachmentOk ¶ added in v2.4.0

GetAttachmentOk returns a tuple with the Attachment field value and a boolean to check if the value has been set.

func (*IncidentAttachmentPostmortemAttributes) GetAttachmentType ¶ added in v2.4.0

GetAttachmentType returns the AttachmentType field value.

func (*IncidentAttachmentPostmortemAttributes) GetAttachmentTypeOk ¶ added in v2.4.0

GetAttachmentTypeOk returns a tuple with the AttachmentType field value and a boolean to check if the value has been set.

func (IncidentAttachmentPostmortemAttributes) MarshalJSON ¶ added in v2.4.0

func (o IncidentAttachmentPostmortemAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentAttachmentPostmortemAttributes) SetAttachment ¶ added in v2.4.0

SetAttachment sets field value.

func (*IncidentAttachmentPostmortemAttributes) SetAttachmentType ¶ added in v2.4.0

SetAttachmentType sets field value.

func (*IncidentAttachmentPostmortemAttributes) UnmarshalJSON ¶ added in v2.4.0

func (o *IncidentAttachmentPostmortemAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentRelatedObject ¶ added in v2.4.0

type IncidentAttachmentRelatedObject string

IncidentAttachmentRelatedObject The object related to an incident attachment.

const (
	INCIDENTATTACHMENTRELATEDOBJECT_USERS IncidentAttachmentRelatedObject = "users"
)

List of IncidentAttachmentRelatedObject.

func NewIncidentAttachmentRelatedObjectFromValue ¶ added in v2.4.0

func NewIncidentAttachmentRelatedObjectFromValue(v string) (*IncidentAttachmentRelatedObject, error)

NewIncidentAttachmentRelatedObjectFromValue returns a pointer to a valid IncidentAttachmentRelatedObject for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IncidentAttachmentRelatedObject) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (IncidentAttachmentRelatedObject) IsValid ¶ added in v2.4.0

IsValid return true if the value is valid for the enum, false otherwise.

func (IncidentAttachmentRelatedObject) Ptr ¶ added in v2.4.0

Ptr returns reference to IncidentAttachmentRelatedObject value.

func (*IncidentAttachmentRelatedObject) UnmarshalJSON ¶ added in v2.4.0

func (v *IncidentAttachmentRelatedObject) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentRelationships ¶ added in v2.4.0

type IncidentAttachmentRelationships struct {
	// Relationship to user.
	LastModifiedByUser *RelationshipToUser `json:"last_modified_by_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{}
}

IncidentAttachmentRelationships The incident attachment's relationships.

func NewIncidentAttachmentRelationships ¶ added in v2.4.0

func NewIncidentAttachmentRelationships() *IncidentAttachmentRelationships

NewIncidentAttachmentRelationships instantiates a new IncidentAttachmentRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentAttachmentRelationshipsWithDefaults ¶ added in v2.4.0

func NewIncidentAttachmentRelationshipsWithDefaults() *IncidentAttachmentRelationships

NewIncidentAttachmentRelationshipsWithDefaults instantiates a new IncidentAttachmentRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentAttachmentRelationships) GetLastModifiedByUser ¶ added in v2.4.0

func (o *IncidentAttachmentRelationships) GetLastModifiedByUser() RelationshipToUser

GetLastModifiedByUser returns the LastModifiedByUser field value if set, zero value otherwise.

func (*IncidentAttachmentRelationships) GetLastModifiedByUserOk ¶ added in v2.4.0

func (o *IncidentAttachmentRelationships) 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 (*IncidentAttachmentRelationships) HasLastModifiedByUser ¶ added in v2.4.0

func (o *IncidentAttachmentRelationships) HasLastModifiedByUser() bool

HasLastModifiedByUser returns a boolean if a field has been set.

func (IncidentAttachmentRelationships) MarshalJSON ¶ added in v2.4.0

func (o IncidentAttachmentRelationships) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentAttachmentRelationships) SetLastModifiedByUser ¶ added in v2.4.0

func (o *IncidentAttachmentRelationships) SetLastModifiedByUser(v RelationshipToUser)

SetLastModifiedByUser gets a reference to the given RelationshipToUser and assigns it to the LastModifiedByUser field.

func (*IncidentAttachmentRelationships) UnmarshalJSON ¶ added in v2.4.0

func (o *IncidentAttachmentRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentType ¶ added in v2.4.0

type IncidentAttachmentType string

IncidentAttachmentType The incident attachment resource type.

const (
	INCIDENTATTACHMENTTYPE_INCIDENT_ATTACHMENTS IncidentAttachmentType = "incident_attachments"
)

List of IncidentAttachmentType.

func NewIncidentAttachmentTypeFromValue ¶ added in v2.4.0

func NewIncidentAttachmentTypeFromValue(v string) (*IncidentAttachmentType, error)

NewIncidentAttachmentTypeFromValue returns a pointer to a valid IncidentAttachmentType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IncidentAttachmentType) GetAllowedValues ¶ added in v2.4.0

func (v *IncidentAttachmentType) GetAllowedValues() []IncidentAttachmentType

GetAllowedValues reeturns the list of possible values.

func (IncidentAttachmentType) IsValid ¶ added in v2.4.0

func (v IncidentAttachmentType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (IncidentAttachmentType) Ptr ¶ added in v2.4.0

Ptr returns reference to IncidentAttachmentType value.

func (*IncidentAttachmentType) UnmarshalJSON ¶ added in v2.4.0

func (v *IncidentAttachmentType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentUpdateAttributes ¶ added in v2.4.0

type IncidentAttachmentUpdateAttributes struct {
	IncidentAttachmentPostmortemAttributes *IncidentAttachmentPostmortemAttributes
	IncidentAttachmentLinkAttributes       *IncidentAttachmentLinkAttributes

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentAttachmentUpdateAttributes - Incident attachment attributes.

func IncidentAttachmentLinkAttributesAsIncidentAttachmentUpdateAttributes ¶ added in v2.4.0

func IncidentAttachmentLinkAttributesAsIncidentAttachmentUpdateAttributes(v *IncidentAttachmentLinkAttributes) IncidentAttachmentUpdateAttributes

IncidentAttachmentLinkAttributesAsIncidentAttachmentUpdateAttributes is a convenience function that returns IncidentAttachmentLinkAttributes wrapped in IncidentAttachmentUpdateAttributes.

func IncidentAttachmentPostmortemAttributesAsIncidentAttachmentUpdateAttributes ¶ added in v2.4.0

func IncidentAttachmentPostmortemAttributesAsIncidentAttachmentUpdateAttributes(v *IncidentAttachmentPostmortemAttributes) IncidentAttachmentUpdateAttributes

IncidentAttachmentPostmortemAttributesAsIncidentAttachmentUpdateAttributes is a convenience function that returns IncidentAttachmentPostmortemAttributes wrapped in IncidentAttachmentUpdateAttributes.

func (*IncidentAttachmentUpdateAttributes) GetActualInstance ¶ added in v2.4.0

func (obj *IncidentAttachmentUpdateAttributes) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (IncidentAttachmentUpdateAttributes) MarshalJSON ¶ added in v2.4.0

func (obj IncidentAttachmentUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*IncidentAttachmentUpdateAttributes) UnmarshalJSON ¶ added in v2.4.0

func (obj *IncidentAttachmentUpdateAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type IncidentAttachmentUpdateData ¶ added in v2.4.0

type IncidentAttachmentUpdateData struct {
	// Incident attachment attributes.
	Attributes *IncidentAttachmentUpdateAttributes `json:"attributes,omitempty"`
	// A unique identifier that represents the incident attachment.
	Id *string `json:"id,omitempty"`
	// The incident attachment resource type.
	Type IncidentAttachmentType `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{}
}

IncidentAttachmentUpdateData A single incident attachment.

func NewIncidentAttachmentUpdateData ¶ added in v2.4.0

func NewIncidentAttachmentUpdateData(typeVar IncidentAttachmentType) *IncidentAttachmentUpdateData

NewIncidentAttachmentUpdateData instantiates a new IncidentAttachmentUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentAttachmentUpdateDataWithDefaults ¶ added in v2.4.0

func NewIncidentAttachmentUpdateDataWithDefaults() *IncidentAttachmentUpdateData

NewIncidentAttachmentUpdateDataWithDefaults instantiates a new IncidentAttachmentUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentAttachmentUpdateData) GetAttributes ¶ added in v2.4.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentAttachmentUpdateData) GetAttributesOk ¶ added in v2.4.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 (*IncidentAttachmentUpdateData) GetId ¶ added in v2.4.0

GetId returns the Id field value if set, zero value otherwise.

func (*IncidentAttachmentUpdateData) GetIdOk ¶ added in v2.4.0

func (o *IncidentAttachmentUpdateData) 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 (*IncidentAttachmentUpdateData) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*IncidentAttachmentUpdateData) GetTypeOk ¶ added in v2.4.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*IncidentAttachmentUpdateData) HasAttributes ¶ added in v2.4.0

func (o *IncidentAttachmentUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IncidentAttachmentUpdateData) HasId ¶ added in v2.4.0

HasId returns a boolean if a field has been set.

func (IncidentAttachmentUpdateData) MarshalJSON ¶ added in v2.4.0

func (o IncidentAttachmentUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentAttachmentUpdateData) SetAttributes ¶ added in v2.4.0

SetAttributes gets a reference to the given IncidentAttachmentUpdateAttributes and assigns it to the Attributes field.

func (*IncidentAttachmentUpdateData) SetId ¶ added in v2.4.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*IncidentAttachmentUpdateData) SetType ¶ added in v2.4.0

SetType sets field value.

func (*IncidentAttachmentUpdateData) UnmarshalJSON ¶ added in v2.4.0

func (o *IncidentAttachmentUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentUpdateRequest ¶ added in v2.4.0

type IncidentAttachmentUpdateRequest struct {
	// An array of incident attachments. An attachment object without an "id" key indicates that you want to
	// create that attachment. An attachment object without an "attributes" key indicates that you want to
	// delete that attachment. An attachment object with both the "id" key and a populated "attributes" object
	// indicates that you want to update that attachment.
	Data []IncidentAttachmentUpdateData `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{}
}

IncidentAttachmentUpdateRequest The update request for an incident's attachments.

func NewIncidentAttachmentUpdateRequest ¶ added in v2.4.0

func NewIncidentAttachmentUpdateRequest(data []IncidentAttachmentUpdateData) *IncidentAttachmentUpdateRequest

NewIncidentAttachmentUpdateRequest instantiates a new IncidentAttachmentUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentAttachmentUpdateRequestWithDefaults ¶ added in v2.4.0

func NewIncidentAttachmentUpdateRequestWithDefaults() *IncidentAttachmentUpdateRequest

NewIncidentAttachmentUpdateRequestWithDefaults instantiates a new IncidentAttachmentUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentAttachmentUpdateRequest) GetData ¶ added in v2.4.0

GetData returns the Data field value.

func (*IncidentAttachmentUpdateRequest) GetDataOk ¶ added in v2.4.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (IncidentAttachmentUpdateRequest) MarshalJSON ¶ added in v2.4.0

func (o IncidentAttachmentUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentAttachmentUpdateRequest) SetData ¶ added in v2.4.0

SetData sets field value.

func (*IncidentAttachmentUpdateRequest) UnmarshalJSON ¶ added in v2.4.0

func (o *IncidentAttachmentUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentUpdateResponse ¶ added in v2.4.0

type IncidentAttachmentUpdateResponse struct {
	// An array of incident attachments. Only the attachments that were created or updated by the request are
	// returned.
	Data []IncidentAttachmentData `json:"data"`
	// Included related resources that the user requested.
	Included []IncidentAttachmentsResponseIncludedItem `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{}
}

IncidentAttachmentUpdateResponse The response object containing the created or updated incident attachments.

func NewIncidentAttachmentUpdateResponse ¶ added in v2.4.0

func NewIncidentAttachmentUpdateResponse(data []IncidentAttachmentData) *IncidentAttachmentUpdateResponse

NewIncidentAttachmentUpdateResponse instantiates a new IncidentAttachmentUpdateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentAttachmentUpdateResponseWithDefaults ¶ added in v2.4.0

func NewIncidentAttachmentUpdateResponseWithDefaults() *IncidentAttachmentUpdateResponse

NewIncidentAttachmentUpdateResponseWithDefaults instantiates a new IncidentAttachmentUpdateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentAttachmentUpdateResponse) GetData ¶ added in v2.4.0

GetData returns the Data field value.

func (*IncidentAttachmentUpdateResponse) GetDataOk ¶ added in v2.4.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*IncidentAttachmentUpdateResponse) GetIncluded ¶ added in v2.4.0

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentAttachmentUpdateResponse) GetIncludedOk ¶ added in v2.4.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 (*IncidentAttachmentUpdateResponse) HasIncluded ¶ added in v2.4.0

func (o *IncidentAttachmentUpdateResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (IncidentAttachmentUpdateResponse) MarshalJSON ¶ added in v2.4.0

func (o IncidentAttachmentUpdateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentAttachmentUpdateResponse) SetData ¶ added in v2.4.0

SetData sets field value.

func (*IncidentAttachmentUpdateResponse) SetIncluded ¶ added in v2.4.0

SetIncluded gets a reference to the given []IncidentAttachmentsResponseIncludedItem and assigns it to the Included field.

func (*IncidentAttachmentUpdateResponse) UnmarshalJSON ¶ added in v2.4.0

func (o *IncidentAttachmentUpdateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentsPostmortemAttributesAttachmentObject ¶ added in v2.4.0

type IncidentAttachmentsPostmortemAttributesAttachmentObject struct {
	// The URL of this notebook attachment.
	DocumentUrl string `json:"documentUrl"`
	// The title of this postmortem attachment.
	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{}
}

IncidentAttachmentsPostmortemAttributesAttachmentObject The postmortem attachment.

func NewIncidentAttachmentsPostmortemAttributesAttachmentObject ¶ added in v2.4.0

func NewIncidentAttachmentsPostmortemAttributesAttachmentObject(documentUrl string, title string) *IncidentAttachmentsPostmortemAttributesAttachmentObject

NewIncidentAttachmentsPostmortemAttributesAttachmentObject instantiates a new IncidentAttachmentsPostmortemAttributesAttachmentObject object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentAttachmentsPostmortemAttributesAttachmentObjectWithDefaults ¶ added in v2.4.0

func NewIncidentAttachmentsPostmortemAttributesAttachmentObjectWithDefaults() *IncidentAttachmentsPostmortemAttributesAttachmentObject

NewIncidentAttachmentsPostmortemAttributesAttachmentObjectWithDefaults instantiates a new IncidentAttachmentsPostmortemAttributesAttachmentObject object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentAttachmentsPostmortemAttributesAttachmentObject) GetDocumentUrl ¶ added in v2.4.0

GetDocumentUrl returns the DocumentUrl field value.

func (*IncidentAttachmentsPostmortemAttributesAttachmentObject) GetDocumentUrlOk ¶ added in v2.4.0

GetDocumentUrlOk returns a tuple with the DocumentUrl field value and a boolean to check if the value has been set.

func (*IncidentAttachmentsPostmortemAttributesAttachmentObject) GetTitle ¶ added in v2.4.0

GetTitle returns the Title field value.

func (*IncidentAttachmentsPostmortemAttributesAttachmentObject) GetTitleOk ¶ added in v2.4.0

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (IncidentAttachmentsPostmortemAttributesAttachmentObject) MarshalJSON ¶ added in v2.4.0

MarshalJSON serializes the struct using spec logic.

func (*IncidentAttachmentsPostmortemAttributesAttachmentObject) SetDocumentUrl ¶ added in v2.4.0

SetDocumentUrl sets field value.

func (*IncidentAttachmentsPostmortemAttributesAttachmentObject) SetTitle ¶ added in v2.4.0

SetTitle sets field value.

func (*IncidentAttachmentsPostmortemAttributesAttachmentObject) UnmarshalJSON ¶ added in v2.4.0

func (o *IncidentAttachmentsPostmortemAttributesAttachmentObject) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentsResponse ¶ added in v2.4.0

type IncidentAttachmentsResponse struct {
	// An array of incident attachments.
	Data []IncidentAttachmentData `json:"data"`
	// Included related resources that the user requested.
	Included []IncidentAttachmentsResponseIncludedItem `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{}
}

IncidentAttachmentsResponse The response object containing an incident's attachments.

func NewIncidentAttachmentsResponse ¶ added in v2.4.0

func NewIncidentAttachmentsResponse(data []IncidentAttachmentData) *IncidentAttachmentsResponse

NewIncidentAttachmentsResponse instantiates a new IncidentAttachmentsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentAttachmentsResponseWithDefaults ¶ added in v2.4.0

func NewIncidentAttachmentsResponseWithDefaults() *IncidentAttachmentsResponse

NewIncidentAttachmentsResponseWithDefaults instantiates a new IncidentAttachmentsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentAttachmentsResponse) GetData ¶ added in v2.4.0

GetData returns the Data field value.

func (*IncidentAttachmentsResponse) GetDataOk ¶ added in v2.4.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*IncidentAttachmentsResponse) GetIncluded ¶ added in v2.4.0

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentAttachmentsResponse) GetIncludedOk ¶ added in v2.4.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 (*IncidentAttachmentsResponse) HasIncluded ¶ added in v2.4.0

func (o *IncidentAttachmentsResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (IncidentAttachmentsResponse) MarshalJSON ¶ added in v2.4.0

func (o IncidentAttachmentsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentAttachmentsResponse) SetData ¶ added in v2.4.0

SetData sets field value.

func (*IncidentAttachmentsResponse) SetIncluded ¶ added in v2.4.0

SetIncluded gets a reference to the given []IncidentAttachmentsResponseIncludedItem and assigns it to the Included field.

func (*IncidentAttachmentsResponse) UnmarshalJSON ¶ added in v2.4.0

func (o *IncidentAttachmentsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentAttachmentsResponseIncludedItem ¶ added in v2.4.0

type IncidentAttachmentsResponseIncludedItem struct {
	User *User

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentAttachmentsResponseIncludedItem - An object related to an attachment that is included in the response.

func UserAsIncidentAttachmentsResponseIncludedItem ¶ added in v2.4.0

func UserAsIncidentAttachmentsResponseIncludedItem(v *User) IncidentAttachmentsResponseIncludedItem

UserAsIncidentAttachmentsResponseIncludedItem is a convenience function that returns User wrapped in IncidentAttachmentsResponseIncludedItem.

func (*IncidentAttachmentsResponseIncludedItem) GetActualInstance ¶ added in v2.4.0

func (obj *IncidentAttachmentsResponseIncludedItem) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (IncidentAttachmentsResponseIncludedItem) MarshalJSON ¶ added in v2.4.0

func (obj IncidentAttachmentsResponseIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*IncidentAttachmentsResponseIncludedItem) UnmarshalJSON ¶ added in v2.4.0

func (obj *IncidentAttachmentsResponseIncludedItem) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

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 ¶

GetInitialCells returns the InitialCells field value if set, zero value otherwise.

func (*IncidentCreateAttributes) GetInitialCellsOk ¶

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 ¶

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 ¶

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 ¶

GetCommanderUser returns the CommanderUser field value.

func (*IncidentCreateRelationships) GetCommanderUserOk ¶

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 ¶

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 ¶

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 datadog.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 datadog.NullableString and assigns it to the Value field.

func (*IncidentFieldAttributesSingleValue) SetValueNil ¶

func (o *IncidentFieldAttributesSingleValue) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil.

func (*IncidentFieldAttributesSingleValue) UnmarshalJSON ¶

func (o *IncidentFieldAttributesSingleValue) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*IncidentFieldAttributesSingleValue) UnsetValue ¶

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 ¶

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 ¶

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 IncidentIntegrationMetadataAttributes ¶ added in v2.10.0

type IncidentIntegrationMetadataAttributes struct {
	// UUID of the incident this integration metadata is connected to.
	IncidentId *string `json:"incident_id,omitempty"`
	// A number indicating the type of integration this metadata is for. 1 indicates Slack;
	// 8 indicates Jira.
	IntegrationType int32 `json:"integration_type"`
	// Incident integration metadata's metadata attribute.
	Metadata IncidentIntegrationMetadataMetadata `json:"metadata"`
	// A number indicating the status of this integration metadata. 0 indicates unknown;
	// 1 indicates pending; 2 indicates complete; 3 indicates manually created;
	// 4 indicates manually updated; 5 indicates failed.
	Status *int32 `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{}
}

IncidentIntegrationMetadataAttributes Incident integration metadata's attributes for a create request.

func NewIncidentIntegrationMetadataAttributes ¶ added in v2.10.0

func NewIncidentIntegrationMetadataAttributes(integrationType int32, metadata IncidentIntegrationMetadataMetadata) *IncidentIntegrationMetadataAttributes

NewIncidentIntegrationMetadataAttributes instantiates a new IncidentIntegrationMetadataAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentIntegrationMetadataAttributesWithDefaults ¶ added in v2.10.0

func NewIncidentIntegrationMetadataAttributesWithDefaults() *IncidentIntegrationMetadataAttributes

NewIncidentIntegrationMetadataAttributesWithDefaults instantiates a new IncidentIntegrationMetadataAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentIntegrationMetadataAttributes) GetIncidentId ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataAttributes) GetIncidentId() string

GetIncidentId returns the IncidentId field value if set, zero value otherwise.

func (*IncidentIntegrationMetadataAttributes) GetIncidentIdOk ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataAttributes) GetIncidentIdOk() (*string, bool)

GetIncidentIdOk returns a tuple with the IncidentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentIntegrationMetadataAttributes) GetIntegrationType ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataAttributes) GetIntegrationType() int32

GetIntegrationType returns the IntegrationType field value.

func (*IncidentIntegrationMetadataAttributes) GetIntegrationTypeOk ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataAttributes) GetIntegrationTypeOk() (*int32, bool)

GetIntegrationTypeOk returns a tuple with the IntegrationType field value and a boolean to check if the value has been set.

func (*IncidentIntegrationMetadataAttributes) GetMetadata ¶ added in v2.10.0

GetMetadata returns the Metadata field value.

func (*IncidentIntegrationMetadataAttributes) GetMetadataOk ¶ added in v2.10.0

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*IncidentIntegrationMetadataAttributes) GetStatus ¶ added in v2.10.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*IncidentIntegrationMetadataAttributes) GetStatusOk ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataAttributes) GetStatusOk() (*int32, 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 (*IncidentIntegrationMetadataAttributes) HasIncidentId ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataAttributes) HasIncidentId() bool

HasIncidentId returns a boolean if a field has been set.

func (*IncidentIntegrationMetadataAttributes) HasStatus ¶ added in v2.10.0

HasStatus returns a boolean if a field has been set.

func (IncidentIntegrationMetadataAttributes) MarshalJSON ¶ added in v2.10.0

func (o IncidentIntegrationMetadataAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentIntegrationMetadataAttributes) SetIncidentId ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataAttributes) SetIncidentId(v string)

SetIncidentId gets a reference to the given string and assigns it to the IncidentId field.

func (*IncidentIntegrationMetadataAttributes) SetIntegrationType ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataAttributes) SetIntegrationType(v int32)

SetIntegrationType sets field value.

func (*IncidentIntegrationMetadataAttributes) SetMetadata ¶ added in v2.10.0

SetMetadata sets field value.

func (*IncidentIntegrationMetadataAttributes) SetStatus ¶ added in v2.10.0

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*IncidentIntegrationMetadataAttributes) UnmarshalJSON ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentIntegrationMetadataCreateData ¶ added in v2.10.0

type IncidentIntegrationMetadataCreateData struct {
	// Incident integration metadata's attributes for a create request.
	Attributes IncidentIntegrationMetadataAttributes `json:"attributes"`
	// 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{}
}

IncidentIntegrationMetadataCreateData Incident integration metadata data for a create request.

func NewIncidentIntegrationMetadataCreateData ¶ added in v2.10.0

func NewIncidentIntegrationMetadataCreateData(attributes IncidentIntegrationMetadataAttributes, typeVar IncidentIntegrationMetadataType) *IncidentIntegrationMetadataCreateData

NewIncidentIntegrationMetadataCreateData instantiates a new IncidentIntegrationMetadataCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentIntegrationMetadataCreateDataWithDefaults ¶ added in v2.10.0

func NewIncidentIntegrationMetadataCreateDataWithDefaults() *IncidentIntegrationMetadataCreateData

NewIncidentIntegrationMetadataCreateDataWithDefaults instantiates a new IncidentIntegrationMetadataCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentIntegrationMetadataCreateData) GetAttributes ¶ added in v2.10.0

GetAttributes returns the Attributes field value.

func (*IncidentIntegrationMetadataCreateData) GetAttributesOk ¶ added in v2.10.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*IncidentIntegrationMetadataCreateData) GetType ¶ added in v2.10.0

GetType returns the Type field value.

func (*IncidentIntegrationMetadataCreateData) GetTypeOk ¶ added in v2.10.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (IncidentIntegrationMetadataCreateData) MarshalJSON ¶ added in v2.10.0

func (o IncidentIntegrationMetadataCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentIntegrationMetadataCreateData) SetAttributes ¶ added in v2.10.0

SetAttributes sets field value.

func (*IncidentIntegrationMetadataCreateData) SetType ¶ added in v2.10.0

SetType sets field value.

func (*IncidentIntegrationMetadataCreateData) UnmarshalJSON ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentIntegrationMetadataCreateRequest ¶ added in v2.10.0

type IncidentIntegrationMetadataCreateRequest struct {
	// Incident integration metadata data for a create request.
	Data IncidentIntegrationMetadataCreateData `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{}
}

IncidentIntegrationMetadataCreateRequest Create request for an incident integration metadata.

func NewIncidentIntegrationMetadataCreateRequest ¶ added in v2.10.0

func NewIncidentIntegrationMetadataCreateRequest(data IncidentIntegrationMetadataCreateData) *IncidentIntegrationMetadataCreateRequest

NewIncidentIntegrationMetadataCreateRequest instantiates a new IncidentIntegrationMetadataCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentIntegrationMetadataCreateRequestWithDefaults ¶ added in v2.10.0

func NewIncidentIntegrationMetadataCreateRequestWithDefaults() *IncidentIntegrationMetadataCreateRequest

NewIncidentIntegrationMetadataCreateRequestWithDefaults instantiates a new IncidentIntegrationMetadataCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentIntegrationMetadataCreateRequest) GetData ¶ added in v2.10.0

GetData returns the Data field value.

func (*IncidentIntegrationMetadataCreateRequest) GetDataOk ¶ added in v2.10.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (IncidentIntegrationMetadataCreateRequest) MarshalJSON ¶ added in v2.10.0

MarshalJSON serializes the struct using spec logic.

func (*IncidentIntegrationMetadataCreateRequest) SetData ¶ added in v2.10.0

SetData sets field value.

func (*IncidentIntegrationMetadataCreateRequest) UnmarshalJSON ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentIntegrationMetadataListResponse ¶ added in v2.10.0

type IncidentIntegrationMetadataListResponse struct {
	// An array of incident integration metadata.
	Data []IncidentIntegrationMetadataResponseData `json:"data"`
	// Included related resources that the user requested.
	Included []IncidentIntegrationMetadataResponseIncludedItem `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{}
}

IncidentIntegrationMetadataListResponse Response with a list of incident integration metadata.

func NewIncidentIntegrationMetadataListResponse ¶ added in v2.10.0

func NewIncidentIntegrationMetadataListResponse(data []IncidentIntegrationMetadataResponseData) *IncidentIntegrationMetadataListResponse

NewIncidentIntegrationMetadataListResponse instantiates a new IncidentIntegrationMetadataListResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentIntegrationMetadataListResponseWithDefaults ¶ added in v2.10.0

func NewIncidentIntegrationMetadataListResponseWithDefaults() *IncidentIntegrationMetadataListResponse

NewIncidentIntegrationMetadataListResponseWithDefaults instantiates a new IncidentIntegrationMetadataListResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentIntegrationMetadataListResponse) GetData ¶ added in v2.10.0

GetData returns the Data field value.

func (*IncidentIntegrationMetadataListResponse) GetDataOk ¶ added in v2.10.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*IncidentIntegrationMetadataListResponse) GetIncluded ¶ added in v2.10.0

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentIntegrationMetadataListResponse) GetIncludedOk ¶ added in v2.10.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 (*IncidentIntegrationMetadataListResponse) GetMeta ¶ added in v2.10.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*IncidentIntegrationMetadataListResponse) GetMetaOk ¶ added in v2.10.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 (*IncidentIntegrationMetadataListResponse) HasIncluded ¶ added in v2.10.0

HasIncluded returns a boolean if a field has been set.

func (*IncidentIntegrationMetadataListResponse) HasMeta ¶ added in v2.10.0

HasMeta returns a boolean if a field has been set.

func (IncidentIntegrationMetadataListResponse) MarshalJSON ¶ added in v2.10.0

func (o IncidentIntegrationMetadataListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentIntegrationMetadataListResponse) SetData ¶ added in v2.10.0

SetData sets field value.

func (*IncidentIntegrationMetadataListResponse) SetIncluded ¶ added in v2.10.0

SetIncluded gets a reference to the given []IncidentIntegrationMetadataResponseIncludedItem and assigns it to the Included field.

func (*IncidentIntegrationMetadataListResponse) SetMeta ¶ added in v2.10.0

SetMeta gets a reference to the given IncidentResponseMeta and assigns it to the Meta field.

func (*IncidentIntegrationMetadataListResponse) UnmarshalJSON ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentIntegrationMetadataMetadata ¶ added in v2.10.0

type IncidentIntegrationMetadataMetadata struct {
	SlackIntegrationMetadata *SlackIntegrationMetadata
	JiraIntegrationMetadata  *JiraIntegrationMetadata

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentIntegrationMetadataMetadata - Incident integration metadata's metadata attribute.

func JiraIntegrationMetadataAsIncidentIntegrationMetadataMetadata ¶ added in v2.10.0

func JiraIntegrationMetadataAsIncidentIntegrationMetadataMetadata(v *JiraIntegrationMetadata) IncidentIntegrationMetadataMetadata

JiraIntegrationMetadataAsIncidentIntegrationMetadataMetadata is a convenience function that returns JiraIntegrationMetadata wrapped in IncidentIntegrationMetadataMetadata.

func SlackIntegrationMetadataAsIncidentIntegrationMetadataMetadata ¶ added in v2.10.0

func SlackIntegrationMetadataAsIncidentIntegrationMetadataMetadata(v *SlackIntegrationMetadata) IncidentIntegrationMetadataMetadata

SlackIntegrationMetadataAsIncidentIntegrationMetadataMetadata is a convenience function that returns SlackIntegrationMetadata wrapped in IncidentIntegrationMetadataMetadata.

func (*IncidentIntegrationMetadataMetadata) GetActualInstance ¶ added in v2.10.0

func (obj *IncidentIntegrationMetadataMetadata) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (IncidentIntegrationMetadataMetadata) MarshalJSON ¶ added in v2.10.0

func (obj IncidentIntegrationMetadataMetadata) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*IncidentIntegrationMetadataMetadata) UnmarshalJSON ¶ added in v2.10.0

func (obj *IncidentIntegrationMetadataMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type IncidentIntegrationMetadataPatchData ¶ added in v2.10.0

type IncidentIntegrationMetadataPatchData struct {
	// Incident integration metadata's attributes for a create request.
	Attributes IncidentIntegrationMetadataAttributes `json:"attributes"`
	// 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{}
}

IncidentIntegrationMetadataPatchData Incident integration metadata data for a patch request.

func NewIncidentIntegrationMetadataPatchData ¶ added in v2.10.0

func NewIncidentIntegrationMetadataPatchData(attributes IncidentIntegrationMetadataAttributes, typeVar IncidentIntegrationMetadataType) *IncidentIntegrationMetadataPatchData

NewIncidentIntegrationMetadataPatchData instantiates a new IncidentIntegrationMetadataPatchData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentIntegrationMetadataPatchDataWithDefaults ¶ added in v2.10.0

func NewIncidentIntegrationMetadataPatchDataWithDefaults() *IncidentIntegrationMetadataPatchData

NewIncidentIntegrationMetadataPatchDataWithDefaults instantiates a new IncidentIntegrationMetadataPatchData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentIntegrationMetadataPatchData) GetAttributes ¶ added in v2.10.0

GetAttributes returns the Attributes field value.

func (*IncidentIntegrationMetadataPatchData) GetAttributesOk ¶ added in v2.10.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*IncidentIntegrationMetadataPatchData) GetType ¶ added in v2.10.0

GetType returns the Type field value.

func (*IncidentIntegrationMetadataPatchData) GetTypeOk ¶ added in v2.10.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (IncidentIntegrationMetadataPatchData) MarshalJSON ¶ added in v2.10.0

func (o IncidentIntegrationMetadataPatchData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentIntegrationMetadataPatchData) SetAttributes ¶ added in v2.10.0

SetAttributes sets field value.

func (*IncidentIntegrationMetadataPatchData) SetType ¶ added in v2.10.0

SetType sets field value.

func (*IncidentIntegrationMetadataPatchData) UnmarshalJSON ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataPatchData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentIntegrationMetadataPatchRequest ¶ added in v2.10.0

type IncidentIntegrationMetadataPatchRequest struct {
	// Incident integration metadata data for a patch request.
	Data IncidentIntegrationMetadataPatchData `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{}
}

IncidentIntegrationMetadataPatchRequest Patch request for an incident integration metadata.

func NewIncidentIntegrationMetadataPatchRequest ¶ added in v2.10.0

func NewIncidentIntegrationMetadataPatchRequest(data IncidentIntegrationMetadataPatchData) *IncidentIntegrationMetadataPatchRequest

NewIncidentIntegrationMetadataPatchRequest instantiates a new IncidentIntegrationMetadataPatchRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentIntegrationMetadataPatchRequestWithDefaults ¶ added in v2.10.0

func NewIncidentIntegrationMetadataPatchRequestWithDefaults() *IncidentIntegrationMetadataPatchRequest

NewIncidentIntegrationMetadataPatchRequestWithDefaults instantiates a new IncidentIntegrationMetadataPatchRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentIntegrationMetadataPatchRequest) GetData ¶ added in v2.10.0

GetData returns the Data field value.

func (*IncidentIntegrationMetadataPatchRequest) GetDataOk ¶ added in v2.10.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (IncidentIntegrationMetadataPatchRequest) MarshalJSON ¶ added in v2.10.0

func (o IncidentIntegrationMetadataPatchRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentIntegrationMetadataPatchRequest) SetData ¶ added in v2.10.0

SetData sets field value.

func (*IncidentIntegrationMetadataPatchRequest) UnmarshalJSON ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataPatchRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentIntegrationMetadataResponse ¶ added in v2.10.0

type IncidentIntegrationMetadataResponse struct {
	// Incident integration metadata from a response.
	Data IncidentIntegrationMetadataResponseData `json:"data"`
	// Included related resources that the user requested.
	Included []IncidentIntegrationMetadataResponseIncludedItem `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{}
}

IncidentIntegrationMetadataResponse Response with an incident integration metadata.

func NewIncidentIntegrationMetadataResponse ¶ added in v2.10.0

func NewIncidentIntegrationMetadataResponse(data IncidentIntegrationMetadataResponseData) *IncidentIntegrationMetadataResponse

NewIncidentIntegrationMetadataResponse instantiates a new IncidentIntegrationMetadataResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentIntegrationMetadataResponseWithDefaults ¶ added in v2.10.0

func NewIncidentIntegrationMetadataResponseWithDefaults() *IncidentIntegrationMetadataResponse

NewIncidentIntegrationMetadataResponseWithDefaults instantiates a new IncidentIntegrationMetadataResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentIntegrationMetadataResponse) GetData ¶ added in v2.10.0

GetData returns the Data field value.

func (*IncidentIntegrationMetadataResponse) GetDataOk ¶ added in v2.10.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*IncidentIntegrationMetadataResponse) GetIncluded ¶ added in v2.10.0

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentIntegrationMetadataResponse) GetIncludedOk ¶ added in v2.10.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 (*IncidentIntegrationMetadataResponse) HasIncluded ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (IncidentIntegrationMetadataResponse) MarshalJSON ¶ added in v2.10.0

func (o IncidentIntegrationMetadataResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentIntegrationMetadataResponse) SetData ¶ added in v2.10.0

SetData sets field value.

func (*IncidentIntegrationMetadataResponse) SetIncluded ¶ added in v2.10.0

SetIncluded gets a reference to the given []IncidentIntegrationMetadataResponseIncludedItem and assigns it to the Included field.

func (*IncidentIntegrationMetadataResponse) UnmarshalJSON ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentIntegrationMetadataResponseData ¶ added in v2.10.0

type IncidentIntegrationMetadataResponseData struct {
	// Incident integration metadata's attributes for a create request.
	Attributes *IncidentIntegrationMetadataAttributes `json:"attributes,omitempty"`
	// The incident integration metadata's ID.
	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{}
}

IncidentIntegrationMetadataResponseData Incident integration metadata from a response.

func NewIncidentIntegrationMetadataResponseData ¶ added in v2.10.0

func NewIncidentIntegrationMetadataResponseData(id string, typeVar IncidentIntegrationMetadataType) *IncidentIntegrationMetadataResponseData

NewIncidentIntegrationMetadataResponseData instantiates a new IncidentIntegrationMetadataResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentIntegrationMetadataResponseDataWithDefaults ¶ added in v2.10.0

func NewIncidentIntegrationMetadataResponseDataWithDefaults() *IncidentIntegrationMetadataResponseData

NewIncidentIntegrationMetadataResponseDataWithDefaults instantiates a new IncidentIntegrationMetadataResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentIntegrationMetadataResponseData) GetAttributes ¶ added in v2.10.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentIntegrationMetadataResponseData) GetAttributesOk ¶ added in v2.10.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 (*IncidentIntegrationMetadataResponseData) GetId ¶ added in v2.10.0

GetId returns the Id field value.

func (*IncidentIntegrationMetadataResponseData) GetIdOk ¶ added in v2.10.0

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*IncidentIntegrationMetadataResponseData) GetType ¶ added in v2.10.0

GetType returns the Type field value.

func (*IncidentIntegrationMetadataResponseData) GetTypeOk ¶ added in v2.10.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*IncidentIntegrationMetadataResponseData) HasAttributes ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (IncidentIntegrationMetadataResponseData) MarshalJSON ¶ added in v2.10.0

func (o IncidentIntegrationMetadataResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentIntegrationMetadataResponseData) SetAttributes ¶ added in v2.10.0

SetAttributes gets a reference to the given IncidentIntegrationMetadataAttributes and assigns it to the Attributes field.

func (*IncidentIntegrationMetadataResponseData) SetId ¶ added in v2.10.0

SetId sets field value.

func (*IncidentIntegrationMetadataResponseData) SetType ¶ added in v2.10.0

SetType sets field value.

func (*IncidentIntegrationMetadataResponseData) UnmarshalJSON ¶ added in v2.10.0

func (o *IncidentIntegrationMetadataResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentIntegrationMetadataResponseIncludedItem ¶ added in v2.10.0

type IncidentIntegrationMetadataResponseIncludedItem struct {
	User *User

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentIntegrationMetadataResponseIncludedItem - An object related to an incident integration metadata that is included in the response.

func UserAsIncidentIntegrationMetadataResponseIncludedItem ¶ added in v2.10.0

func UserAsIncidentIntegrationMetadataResponseIncludedItem(v *User) IncidentIntegrationMetadataResponseIncludedItem

UserAsIncidentIntegrationMetadataResponseIncludedItem is a convenience function that returns User wrapped in IncidentIntegrationMetadataResponseIncludedItem.

func (*IncidentIntegrationMetadataResponseIncludedItem) GetActualInstance ¶ added in v2.10.0

func (obj *IncidentIntegrationMetadataResponseIncludedItem) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (IncidentIntegrationMetadataResponseIncludedItem) MarshalJSON ¶ added in v2.10.0

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*IncidentIntegrationMetadataResponseIncludedItem) UnmarshalJSON ¶ added in v2.10.0

func (obj *IncidentIntegrationMetadataResponseIncludedItem) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *IncidentNotificationHandle) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*IncidentNotificationHandle) GetDisplayNameOk ¶

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 ¶

func (o *IncidentNotificationHandle) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*IncidentNotificationHandle) GetHandleOk ¶

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 ¶

func (o *IncidentNotificationHandle) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*IncidentNotificationHandle) HasHandle ¶

func (o *IncidentNotificationHandle) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (IncidentNotificationHandle) MarshalJSON ¶

func (o IncidentNotificationHandle) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentNotificationHandle) SetDisplayName ¶

func (o *IncidentNotificationHandle) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*IncidentNotificationHandle) SetHandle ¶

func (o *IncidentNotificationHandle) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*IncidentNotificationHandle) UnmarshalJSON ¶

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 ¶

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"
	INCIDENTRELATEDOBJECT_ATTACHMENTS IncidentRelatedObject = "attachments"
)

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 ¶

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 datadog.NullableTime `json:"customer_impact_end,omitempty"`
	// A summary of the impact customers experienced during the incident.
	CustomerImpactScope datadog.NullableString `json:"customer_impact_scope,omitempty"`
	// Timestamp when customers began being impacted by the incident.
	CustomerImpactStart datadog.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 datadog.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 monotonically increasing integer ID for the incident.
	PublicId *int64 `json:"public_id,omitempty"`
	// Timestamp when the incident's state was last changed from active or stable to resolved or completed.
	Resolved datadog.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) 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) 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 datadog.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 datadog.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 datadog.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 datadog.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) 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 datadog.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
	IncidentAttachmentData *IncidentAttachmentData

	// 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 IncidentAttachmentDataAsIncidentResponseIncludedItem ¶ added in v2.4.0

func IncidentAttachmentDataAsIncidentResponseIncludedItem(v *IncidentAttachmentData) IncidentResponseIncludedItem

IncidentAttachmentDataAsIncidentResponseIncludedItem is a convenience function that returns IncidentAttachmentData wrapped in IncidentResponseIncludedItem.

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 ¶

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 ¶

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 ¶

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 ¶

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*IncidentResponseMeta) GetPaginationOk ¶

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 ¶

func (o *IncidentResponseMeta) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (IncidentResponseMeta) MarshalJSON ¶

func (o IncidentResponseMeta) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentResponseMeta) SetPagination ¶

SetPagination gets a reference to the given IncidentResponseMetaPagination and assigns it to the Pagination field.

func (*IncidentResponseMeta) UnmarshalJSON ¶

func (o *IncidentResponseMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentResponseMetaPagination ¶

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 ¶

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 ¶

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 ¶

func (o *IncidentResponseMetaPagination) GetNextOffset() int64

GetNextOffset returns the NextOffset field value if set, zero value otherwise.

func (*IncidentResponseMetaPagination) GetNextOffsetOk ¶

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 ¶

func (o *IncidentResponseMetaPagination) GetOffset() int64

GetOffset returns the Offset field value if set, zero value otherwise.

func (*IncidentResponseMetaPagination) GetOffsetOk ¶

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 ¶

GetSize returns the Size field value if set, zero value otherwise.

func (*IncidentResponseMetaPagination) GetSizeOk ¶

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 ¶

func (o *IncidentResponseMetaPagination) HasNextOffset() bool

HasNextOffset returns a boolean if a field has been set.

func (*IncidentResponseMetaPagination) HasOffset ¶

func (o *IncidentResponseMetaPagination) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*IncidentResponseMetaPagination) HasSize ¶

func (o *IncidentResponseMetaPagination) HasSize() bool

HasSize returns a boolean if a field has been set.

func (IncidentResponseMetaPagination) MarshalJSON ¶

func (o IncidentResponseMetaPagination) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentResponseMetaPagination) SetNextOffset ¶

func (o *IncidentResponseMetaPagination) SetNextOffset(v int64)

SetNextOffset gets a reference to the given int64 and assigns it to the NextOffset field.

func (*IncidentResponseMetaPagination) SetOffset ¶

func (o *IncidentResponseMetaPagination) SetOffset(v int64)

SetOffset gets a reference to the given int64 and assigns it to the Offset field.

func (*IncidentResponseMetaPagination) SetSize ¶

func (o *IncidentResponseMetaPagination) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*IncidentResponseMetaPagination) UnmarshalJSON ¶

func (o *IncidentResponseMetaPagination) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentResponseRelationships ¶

type IncidentResponseRelationships struct {
	// A relationship reference for attachments.
	Attachments *RelationshipToIncidentAttachment `json:"attachments,omitempty"`
	// 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"`
	// UnparsedObject contains the 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) GetAttachments ¶ added in v2.4.0

GetAttachments returns the Attachments field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetAttachmentsOk ¶ added in v2.4.0

GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been 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) HasAttachments ¶ added in v2.4.0

func (o *IncidentResponseRelationships) HasAttachments() bool

HasAttachments returns a boolean if a field 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) MarshalJSON ¶

func (o IncidentResponseRelationships) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentResponseRelationships) SetAttachments ¶ added in v2.4.0

SetAttachments gets a reference to the given RelationshipToIncidentAttachment and assigns it to the Attachments field.

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) UnmarshalJSON ¶

func (o *IncidentResponseRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentSearchResponse ¶ added in v2.7.0

type IncidentSearchResponse struct {
	// Data returned by an incident search.
	Data IncidentSearchResponseData `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{}
}

IncidentSearchResponse Response with incidents and facets.

func NewIncidentSearchResponse ¶ added in v2.7.0

func NewIncidentSearchResponse(data IncidentSearchResponseData) *IncidentSearchResponse

NewIncidentSearchResponse instantiates a new IncidentSearchResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentSearchResponseWithDefaults ¶ added in v2.7.0

func NewIncidentSearchResponseWithDefaults() *IncidentSearchResponse

NewIncidentSearchResponseWithDefaults instantiates a new IncidentSearchResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentSearchResponse) GetData ¶ added in v2.7.0

GetData returns the Data field value.

func (*IncidentSearchResponse) GetDataOk ¶ added in v2.7.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*IncidentSearchResponse) GetIncluded ¶ added in v2.7.0

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentSearchResponse) GetIncludedOk ¶ added in v2.7.0

func (o *IncidentSearchResponse) 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 (*IncidentSearchResponse) HasIncluded ¶ added in v2.7.0

func (o *IncidentSearchResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (IncidentSearchResponse) MarshalJSON ¶ added in v2.7.0

func (o IncidentSearchResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentSearchResponse) SetData ¶ added in v2.7.0

SetData sets field value.

func (*IncidentSearchResponse) SetIncluded ¶ added in v2.7.0

SetIncluded gets a reference to the given []IncidentResponseIncludedItem and assigns it to the Included field.

func (*IncidentSearchResponse) UnmarshalJSON ¶ added in v2.7.0

func (o *IncidentSearchResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentSearchResponseAttributes ¶ added in v2.7.0

type IncidentSearchResponseAttributes struct {
	// Facet data for incidents returned by a search query.
	Facets IncidentSearchResponseFacetsData `json:"facets"`
	// Incidents returned by the search.
	Incidents []IncidentSearchResponseIncidentsData `json:"incidents"`
	// Number of incidents returned by the search.
	Total int32 `json:"total"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

IncidentSearchResponseAttributes Attributes returned by an incident search.

func NewIncidentSearchResponseAttributes ¶ added in v2.7.0

func NewIncidentSearchResponseAttributes(facets IncidentSearchResponseFacetsData, incidents []IncidentSearchResponseIncidentsData, total int32) *IncidentSearchResponseAttributes

NewIncidentSearchResponseAttributes instantiates a new IncidentSearchResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentSearchResponseAttributesWithDefaults ¶ added in v2.7.0

func NewIncidentSearchResponseAttributesWithDefaults() *IncidentSearchResponseAttributes

NewIncidentSearchResponseAttributesWithDefaults instantiates a new IncidentSearchResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentSearchResponseAttributes) GetFacets ¶ added in v2.7.0

GetFacets returns the Facets field value.

func (*IncidentSearchResponseAttributes) GetFacetsOk ¶ added in v2.7.0

GetFacetsOk returns a tuple with the Facets field value and a boolean to check if the value has been set.

func (*IncidentSearchResponseAttributes) GetIncidents ¶ added in v2.7.0

GetIncidents returns the Incidents field value.

func (*IncidentSearchResponseAttributes) GetIncidentsOk ¶ added in v2.7.0

GetIncidentsOk returns a tuple with the Incidents field value and a boolean to check if the value has been set.

func (*IncidentSearchResponseAttributes) GetTotal ¶ added in v2.7.0

GetTotal returns the Total field value.

func (*IncidentSearchResponseAttributes) GetTotalOk ¶ added in v2.7.0

func (o *IncidentSearchResponseAttributes) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (IncidentSearchResponseAttributes) MarshalJSON ¶ added in v2.7.0

func (o IncidentSearchResponseAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentSearchResponseAttributes) SetFacets ¶ added in v2.7.0

SetFacets sets field value.

func (*IncidentSearchResponseAttributes) SetIncidents ¶ added in v2.7.0

SetIncidents sets field value.

func (*IncidentSearchResponseAttributes) SetTotal ¶ added in v2.7.0

func (o *IncidentSearchResponseAttributes) SetTotal(v int32)

SetTotal sets field value.

func (*IncidentSearchResponseAttributes) UnmarshalJSON ¶ added in v2.7.0

func (o *IncidentSearchResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentSearchResponseData ¶ added in v2.7.0

type IncidentSearchResponseData struct {
	// Attributes returned by an incident search.
	Attributes *IncidentSearchResponseAttributes `json:"attributes,omitempty"`
	// Incident search result type.
	Type *IncidentSearchResultsType `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{}
}

IncidentSearchResponseData Data returned by an incident search.

func NewIncidentSearchResponseData ¶ added in v2.7.0

func NewIncidentSearchResponseData() *IncidentSearchResponseData

NewIncidentSearchResponseData instantiates a new IncidentSearchResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentSearchResponseDataWithDefaults ¶ added in v2.7.0

func NewIncidentSearchResponseDataWithDefaults() *IncidentSearchResponseData

NewIncidentSearchResponseDataWithDefaults instantiates a new IncidentSearchResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentSearchResponseData) GetAttributes ¶ added in v2.7.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*IncidentSearchResponseData) GetAttributesOk ¶ added in v2.7.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 (*IncidentSearchResponseData) GetType ¶ added in v2.7.0

GetType returns the Type field value if set, zero value otherwise.

func (*IncidentSearchResponseData) GetTypeOk ¶ added in v2.7.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 (*IncidentSearchResponseData) HasAttributes ¶ added in v2.7.0

func (o *IncidentSearchResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*IncidentSearchResponseData) HasType ¶ added in v2.7.0

func (o *IncidentSearchResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (IncidentSearchResponseData) MarshalJSON ¶ added in v2.7.0

func (o IncidentSearchResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentSearchResponseData) SetAttributes ¶ added in v2.7.0

SetAttributes gets a reference to the given IncidentSearchResponseAttributes and assigns it to the Attributes field.

func (*IncidentSearchResponseData) SetType ¶ added in v2.7.0

SetType gets a reference to the given IncidentSearchResultsType and assigns it to the Type field.

func (*IncidentSearchResponseData) UnmarshalJSON ¶ added in v2.7.0

func (o *IncidentSearchResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentSearchResponseFacetsData ¶ added in v2.7.0

type IncidentSearchResponseFacetsData struct {
	// Facet data for incident commander users.
	Commander []IncidentSearchResponseUserFacetData `json:"commander,omitempty"`
	// Facet data for incident creator users.
	CreatedBy []IncidentSearchResponseUserFacetData `json:"created_by,omitempty"`
	// Facet data for incident property fields.
	Fields []IncidentSearchResponsePropertyFieldFacetData `json:"fields,omitempty"`
	// Facet data for incident impact attributes.
	Impact []IncidentSearchResponseFieldFacetData `json:"impact,omitempty"`
	// Facet data for incident last modified by users.
	LastModifiedBy []IncidentSearchResponseUserFacetData `json:"last_modified_by,omitempty"`
	// Facet data for incident postmortem existence.
	Postmortem []IncidentSearchResponseFieldFacetData `json:"postmortem,omitempty"`
	// Facet data for incident responder users.
	Responder []IncidentSearchResponseUserFacetData `json:"responder,omitempty"`
	// Facet data for incident severity attributes.
	Severity []IncidentSearchResponseFieldFacetData `json:"severity,omitempty"`
	// Facet data for incident state attributes.
	State []IncidentSearchResponseFieldFacetData `json:"state,omitempty"`
	// Facet data for incident time to repair metrics.
	TimeToRepair []IncidentSearchResponseNumericFacetData `json:"time_to_repair,omitempty"`
	// Facet data for incident time to resolve metrics.
	TimeToResolve []IncidentSearchResponseNumericFacetData `json:"time_to_resolve,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{}
}

IncidentSearchResponseFacetsData Facet data for incidents returned by a search query.

func NewIncidentSearchResponseFacetsData ¶ added in v2.7.0

func NewIncidentSearchResponseFacetsData() *IncidentSearchResponseFacetsData

NewIncidentSearchResponseFacetsData instantiates a new IncidentSearchResponseFacetsData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentSearchResponseFacetsDataWithDefaults ¶ added in v2.7.0

func NewIncidentSearchResponseFacetsDataWithDefaults() *IncidentSearchResponseFacetsData

NewIncidentSearchResponseFacetsDataWithDefaults instantiates a new IncidentSearchResponseFacetsData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentSearchResponseFacetsData) GetCommander ¶ added in v2.7.0

GetCommander returns the Commander field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetCommanderOk ¶ added in v2.7.0

GetCommanderOk returns a tuple with the Commander field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentSearchResponseFacetsData) GetCreatedBy ¶ added in v2.7.0

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetCreatedByOk ¶ added in v2.7.0

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 (*IncidentSearchResponseFacetsData) GetFields ¶ added in v2.7.0

GetFields returns the Fields field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetFieldsOk ¶ added in v2.7.0

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 (*IncidentSearchResponseFacetsData) GetImpact ¶ added in v2.7.0

GetImpact returns the Impact field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetImpactOk ¶ added in v2.7.0

GetImpactOk returns a tuple with the Impact field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentSearchResponseFacetsData) GetLastModifiedBy ¶ added in v2.7.0

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetLastModifiedByOk ¶ added in v2.7.0

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 (*IncidentSearchResponseFacetsData) GetPostmortem ¶ added in v2.7.0

GetPostmortem returns the Postmortem field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetPostmortemOk ¶ added in v2.7.0

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 (*IncidentSearchResponseFacetsData) GetResponder ¶ added in v2.7.0

GetResponder returns the Responder field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetResponderOk ¶ added in v2.7.0

GetResponderOk returns a tuple with the Responder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentSearchResponseFacetsData) GetSeverity ¶ added in v2.7.0

GetSeverity returns the Severity field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetSeverityOk ¶ added in v2.7.0

GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentSearchResponseFacetsData) GetState ¶ added in v2.7.0

GetState returns the State field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetStateOk ¶ added in v2.7.0

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 (*IncidentSearchResponseFacetsData) GetTimeToRepair ¶ added in v2.7.0

GetTimeToRepair returns the TimeToRepair field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetTimeToRepairOk ¶ added in v2.7.0

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 (*IncidentSearchResponseFacetsData) GetTimeToResolve ¶ added in v2.7.0

GetTimeToResolve returns the TimeToResolve field value if set, zero value otherwise.

func (*IncidentSearchResponseFacetsData) GetTimeToResolveOk ¶ added in v2.7.0

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 (*IncidentSearchResponseFacetsData) HasCommander ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasCommander() bool

HasCommander returns a boolean if a field has been set.

func (*IncidentSearchResponseFacetsData) HasCreatedBy ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*IncidentSearchResponseFacetsData) HasFields ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*IncidentSearchResponseFacetsData) HasImpact ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasImpact() bool

HasImpact returns a boolean if a field has been set.

func (*IncidentSearchResponseFacetsData) HasLastModifiedBy ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*IncidentSearchResponseFacetsData) HasPostmortem ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasPostmortem() bool

HasPostmortem returns a boolean if a field has been set.

func (*IncidentSearchResponseFacetsData) HasResponder ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasResponder() bool

HasResponder returns a boolean if a field has been set.

func (*IncidentSearchResponseFacetsData) HasSeverity ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (*IncidentSearchResponseFacetsData) HasState ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasState() bool

HasState returns a boolean if a field has been set.

func (*IncidentSearchResponseFacetsData) HasTimeToRepair ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasTimeToRepair() bool

HasTimeToRepair returns a boolean if a field has been set.

func (*IncidentSearchResponseFacetsData) HasTimeToResolve ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) HasTimeToResolve() bool

HasTimeToResolve returns a boolean if a field has been set.

func (IncidentSearchResponseFacetsData) MarshalJSON ¶ added in v2.7.0

func (o IncidentSearchResponseFacetsData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentSearchResponseFacetsData) SetCommander ¶ added in v2.7.0

SetCommander gets a reference to the given []IncidentSearchResponseUserFacetData and assigns it to the Commander field.

func (*IncidentSearchResponseFacetsData) SetCreatedBy ¶ added in v2.7.0

SetCreatedBy gets a reference to the given []IncidentSearchResponseUserFacetData and assigns it to the CreatedBy field.

func (*IncidentSearchResponseFacetsData) SetFields ¶ added in v2.7.0

SetFields gets a reference to the given []IncidentSearchResponsePropertyFieldFacetData and assigns it to the Fields field.

func (*IncidentSearchResponseFacetsData) SetImpact ¶ added in v2.7.0

SetImpact gets a reference to the given []IncidentSearchResponseFieldFacetData and assigns it to the Impact field.

func (*IncidentSearchResponseFacetsData) SetLastModifiedBy ¶ added in v2.7.0

SetLastModifiedBy gets a reference to the given []IncidentSearchResponseUserFacetData and assigns it to the LastModifiedBy field.

func (*IncidentSearchResponseFacetsData) SetPostmortem ¶ added in v2.7.0

SetPostmortem gets a reference to the given []IncidentSearchResponseFieldFacetData and assigns it to the Postmortem field.

func (*IncidentSearchResponseFacetsData) SetResponder ¶ added in v2.7.0

SetResponder gets a reference to the given []IncidentSearchResponseUserFacetData and assigns it to the Responder field.

func (*IncidentSearchResponseFacetsData) SetSeverity ¶ added in v2.7.0

SetSeverity gets a reference to the given []IncidentSearchResponseFieldFacetData and assigns it to the Severity field.

func (*IncidentSearchResponseFacetsData) SetState ¶ added in v2.7.0

SetState gets a reference to the given []IncidentSearchResponseFieldFacetData and assigns it to the State field.

func (*IncidentSearchResponseFacetsData) SetTimeToRepair ¶ added in v2.7.0

SetTimeToRepair gets a reference to the given []IncidentSearchResponseNumericFacetData and assigns it to the TimeToRepair field.

func (*IncidentSearchResponseFacetsData) SetTimeToResolve ¶ added in v2.7.0

SetTimeToResolve gets a reference to the given []IncidentSearchResponseNumericFacetData and assigns it to the TimeToResolve field.

func (*IncidentSearchResponseFacetsData) UnmarshalJSON ¶ added in v2.7.0

func (o *IncidentSearchResponseFacetsData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentSearchResponseFieldFacetData ¶ added in v2.7.0

type IncidentSearchResponseFieldFacetData struct {
	// Count of the facet value appearing in search results.
	Count *int32 `json:"count,omitempty"`
	// The facet value appearing in search results.
	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{}
}

IncidentSearchResponseFieldFacetData Facet value and number of occurrences for a property field of an incident.

func NewIncidentSearchResponseFieldFacetData ¶ added in v2.7.0

func NewIncidentSearchResponseFieldFacetData() *IncidentSearchResponseFieldFacetData

NewIncidentSearchResponseFieldFacetData instantiates a new IncidentSearchResponseFieldFacetData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentSearchResponseFieldFacetDataWithDefaults ¶ added in v2.7.0

func NewIncidentSearchResponseFieldFacetDataWithDefaults() *IncidentSearchResponseFieldFacetData

NewIncidentSearchResponseFieldFacetDataWithDefaults instantiates a new IncidentSearchResponseFieldFacetData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentSearchResponseFieldFacetData) GetCount ¶ added in v2.7.0

GetCount returns the Count field value if set, zero value otherwise.

func (*IncidentSearchResponseFieldFacetData) GetCountOk ¶ added in v2.7.0

func (o *IncidentSearchResponseFieldFacetData) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentSearchResponseFieldFacetData) GetName ¶ added in v2.7.0

GetName returns the Name field value if set, zero value otherwise.

func (*IncidentSearchResponseFieldFacetData) GetNameOk ¶ added in v2.7.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 (*IncidentSearchResponseFieldFacetData) HasCount ¶ added in v2.7.0

HasCount returns a boolean if a field has been set.

func (*IncidentSearchResponseFieldFacetData) HasName ¶ added in v2.7.0

HasName returns a boolean if a field has been set.

func (IncidentSearchResponseFieldFacetData) MarshalJSON ¶ added in v2.7.0

func (o IncidentSearchResponseFieldFacetData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentSearchResponseFieldFacetData) SetCount ¶ added in v2.7.0

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*IncidentSearchResponseFieldFacetData) SetName ¶ added in v2.7.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*IncidentSearchResponseFieldFacetData) UnmarshalJSON ¶ added in v2.7.0

func (o *IncidentSearchResponseFieldFacetData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentSearchResponseIncidentsData ¶ added in v2.7.0

type IncidentSearchResponseIncidentsData struct {
	// Incident data from a response.
	Data IncidentResponseData `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{}
}

IncidentSearchResponseIncidentsData Incident returned by the search.

func NewIncidentSearchResponseIncidentsData ¶ added in v2.7.0

func NewIncidentSearchResponseIncidentsData(data IncidentResponseData) *IncidentSearchResponseIncidentsData

NewIncidentSearchResponseIncidentsData instantiates a new IncidentSearchResponseIncidentsData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentSearchResponseIncidentsDataWithDefaults ¶ added in v2.7.0

func NewIncidentSearchResponseIncidentsDataWithDefaults() *IncidentSearchResponseIncidentsData

NewIncidentSearchResponseIncidentsDataWithDefaults instantiates a new IncidentSearchResponseIncidentsData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentSearchResponseIncidentsData) GetData ¶ added in v2.7.0

GetData returns the Data field value.

func (*IncidentSearchResponseIncidentsData) GetDataOk ¶ added in v2.7.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (IncidentSearchResponseIncidentsData) MarshalJSON ¶ added in v2.7.0

func (o IncidentSearchResponseIncidentsData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentSearchResponseIncidentsData) SetData ¶ added in v2.7.0

SetData sets field value.

func (*IncidentSearchResponseIncidentsData) UnmarshalJSON ¶ added in v2.7.0

func (o *IncidentSearchResponseIncidentsData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentSearchResponseNumericFacetData ¶ added in v2.7.0

type IncidentSearchResponseNumericFacetData struct {
	// Aggregate information for numeric incident data.
	Aggregates IncidentSearchResponseNumericFacetDataAggregates `json:"aggregates"`
	// Name of the incident property field.
	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{}
}

IncidentSearchResponseNumericFacetData Facet data numeric attributes of an incident.

func NewIncidentSearchResponseNumericFacetData ¶ added in v2.7.0

func NewIncidentSearchResponseNumericFacetData(aggregates IncidentSearchResponseNumericFacetDataAggregates, name string) *IncidentSearchResponseNumericFacetData

NewIncidentSearchResponseNumericFacetData instantiates a new IncidentSearchResponseNumericFacetData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentSearchResponseNumericFacetDataWithDefaults ¶ added in v2.7.0

func NewIncidentSearchResponseNumericFacetDataWithDefaults() *IncidentSearchResponseNumericFacetData

NewIncidentSearchResponseNumericFacetDataWithDefaults instantiates a new IncidentSearchResponseNumericFacetData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentSearchResponseNumericFacetData) GetAggregates ¶ added in v2.7.0

GetAggregates returns the Aggregates field value.

func (*IncidentSearchResponseNumericFacetData) GetAggregatesOk ¶ added in v2.7.0

GetAggregatesOk returns a tuple with the Aggregates field value and a boolean to check if the value has been set.

func (*IncidentSearchResponseNumericFacetData) GetName ¶ added in v2.7.0

GetName returns the Name field value.

func (*IncidentSearchResponseNumericFacetData) GetNameOk ¶ added in v2.7.0

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (IncidentSearchResponseNumericFacetData) MarshalJSON ¶ added in v2.7.0

func (o IncidentSearchResponseNumericFacetData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentSearchResponseNumericFacetData) SetAggregates ¶ added in v2.7.0

SetAggregates sets field value.

func (*IncidentSearchResponseNumericFacetData) SetName ¶ added in v2.7.0

SetName sets field value.

func (*IncidentSearchResponseNumericFacetData) UnmarshalJSON ¶ added in v2.7.0

func (o *IncidentSearchResponseNumericFacetData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentSearchResponseNumericFacetDataAggregates ¶ added in v2.7.0

type IncidentSearchResponseNumericFacetDataAggregates struct {
	// Maximum value of the numeric aggregates.
	Max datadog.NullableFloat64 `json:"max,omitempty"`
	// Minimum value of the numeric aggregates.
	Min datadog.NullableFloat64 `json:"min,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{}
}

IncidentSearchResponseNumericFacetDataAggregates Aggregate information for numeric incident data.

func NewIncidentSearchResponseNumericFacetDataAggregates ¶ added in v2.7.0

func NewIncidentSearchResponseNumericFacetDataAggregates() *IncidentSearchResponseNumericFacetDataAggregates

NewIncidentSearchResponseNumericFacetDataAggregates instantiates a new IncidentSearchResponseNumericFacetDataAggregates object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentSearchResponseNumericFacetDataAggregatesWithDefaults ¶ added in v2.7.0

func NewIncidentSearchResponseNumericFacetDataAggregatesWithDefaults() *IncidentSearchResponseNumericFacetDataAggregates

NewIncidentSearchResponseNumericFacetDataAggregatesWithDefaults instantiates a new IncidentSearchResponseNumericFacetDataAggregates object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentSearchResponseNumericFacetDataAggregates) GetMax ¶ added in v2.7.0

GetMax returns the Max field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentSearchResponseNumericFacetDataAggregates) GetMaxOk ¶ added in v2.7.0

GetMaxOk returns a tuple with the Max 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 (*IncidentSearchResponseNumericFacetDataAggregates) GetMin ¶ added in v2.7.0

GetMin returns the Min field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentSearchResponseNumericFacetDataAggregates) GetMinOk ¶ added in v2.7.0

GetMinOk returns a tuple with the Min 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 (*IncidentSearchResponseNumericFacetDataAggregates) HasMax ¶ added in v2.7.0

HasMax returns a boolean if a field has been set.

func (*IncidentSearchResponseNumericFacetDataAggregates) HasMin ¶ added in v2.7.0

HasMin returns a boolean if a field has been set.

func (IncidentSearchResponseNumericFacetDataAggregates) MarshalJSON ¶ added in v2.7.0

MarshalJSON serializes the struct using spec logic.

func (*IncidentSearchResponseNumericFacetDataAggregates) SetMax ¶ added in v2.7.0

SetMax gets a reference to the given datadog.NullableFloat64 and assigns it to the Max field.

func (*IncidentSearchResponseNumericFacetDataAggregates) SetMaxNil ¶ added in v2.7.0

SetMaxNil sets the value for Max to be an explicit nil.

func (*IncidentSearchResponseNumericFacetDataAggregates) SetMin ¶ added in v2.7.0

SetMin gets a reference to the given datadog.NullableFloat64 and assigns it to the Min field.

func (*IncidentSearchResponseNumericFacetDataAggregates) SetMinNil ¶ added in v2.7.0

SetMinNil sets the value for Min to be an explicit nil.

func (*IncidentSearchResponseNumericFacetDataAggregates) UnmarshalJSON ¶ added in v2.7.0

func (o *IncidentSearchResponseNumericFacetDataAggregates) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*IncidentSearchResponseNumericFacetDataAggregates) UnsetMax ¶ added in v2.7.0

UnsetMax ensures that no value is present for Max, not even an explicit nil.

func (*IncidentSearchResponseNumericFacetDataAggregates) UnsetMin ¶ added in v2.7.0

UnsetMin ensures that no value is present for Min, not even an explicit nil.

type IncidentSearchResponsePropertyFieldFacetData ¶ added in v2.7.0

type IncidentSearchResponsePropertyFieldFacetData struct {
	// Aggregate information for numeric incident data.
	Aggregates *IncidentSearchResponseNumericFacetDataAggregates `json:"aggregates,omitempty"`
	// Facet data for the property field of an incident.
	Facets []IncidentSearchResponseFieldFacetData `json:"facets"`
	// Name of the incident property field.
	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{}
}

IncidentSearchResponsePropertyFieldFacetData Facet data for the incident property fields.

func NewIncidentSearchResponsePropertyFieldFacetData ¶ added in v2.7.0

func NewIncidentSearchResponsePropertyFieldFacetData(facets []IncidentSearchResponseFieldFacetData, name string) *IncidentSearchResponsePropertyFieldFacetData

NewIncidentSearchResponsePropertyFieldFacetData instantiates a new IncidentSearchResponsePropertyFieldFacetData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentSearchResponsePropertyFieldFacetDataWithDefaults ¶ added in v2.7.0

func NewIncidentSearchResponsePropertyFieldFacetDataWithDefaults() *IncidentSearchResponsePropertyFieldFacetData

NewIncidentSearchResponsePropertyFieldFacetDataWithDefaults instantiates a new IncidentSearchResponsePropertyFieldFacetData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentSearchResponsePropertyFieldFacetData) GetAggregates ¶ added in v2.7.0

GetAggregates returns the Aggregates field value if set, zero value otherwise.

func (*IncidentSearchResponsePropertyFieldFacetData) GetAggregatesOk ¶ added in v2.7.0

GetAggregatesOk returns a tuple with the Aggregates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentSearchResponsePropertyFieldFacetData) GetFacets ¶ added in v2.7.0

GetFacets returns the Facets field value.

func (*IncidentSearchResponsePropertyFieldFacetData) GetFacetsOk ¶ added in v2.7.0

GetFacetsOk returns a tuple with the Facets field value and a boolean to check if the value has been set.

func (*IncidentSearchResponsePropertyFieldFacetData) GetName ¶ added in v2.7.0

GetName returns the Name field value.

func (*IncidentSearchResponsePropertyFieldFacetData) GetNameOk ¶ added in v2.7.0

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*IncidentSearchResponsePropertyFieldFacetData) HasAggregates ¶ added in v2.7.0

HasAggregates returns a boolean if a field has been set.

func (IncidentSearchResponsePropertyFieldFacetData) MarshalJSON ¶ added in v2.7.0

MarshalJSON serializes the struct using spec logic.

func (*IncidentSearchResponsePropertyFieldFacetData) SetAggregates ¶ added in v2.7.0

SetAggregates gets a reference to the given IncidentSearchResponseNumericFacetDataAggregates and assigns it to the Aggregates field.

func (*IncidentSearchResponsePropertyFieldFacetData) SetFacets ¶ added in v2.7.0

SetFacets sets field value.

func (*IncidentSearchResponsePropertyFieldFacetData) SetName ¶ added in v2.7.0

SetName sets field value.

func (*IncidentSearchResponsePropertyFieldFacetData) UnmarshalJSON ¶ added in v2.7.0

func (o *IncidentSearchResponsePropertyFieldFacetData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentSearchResponseUserFacetData ¶ added in v2.7.0

type IncidentSearchResponseUserFacetData struct {
	// Count of the facet value appearing in search results.
	Count *int32 `json:"count,omitempty"`
	// Email of the user.
	Email *string `json:"email,omitempty"`
	// Handle of the user.
	Handle *string `json:"handle,omitempty"`
	// Name of the user.
	Name *string `json:"name,omitempty"`
	// ID of the user.
	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{}
}

IncidentSearchResponseUserFacetData Facet data for user attributes of an incident.

func NewIncidentSearchResponseUserFacetData ¶ added in v2.7.0

func NewIncidentSearchResponseUserFacetData() *IncidentSearchResponseUserFacetData

NewIncidentSearchResponseUserFacetData instantiates a new IncidentSearchResponseUserFacetData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewIncidentSearchResponseUserFacetDataWithDefaults ¶ added in v2.7.0

func NewIncidentSearchResponseUserFacetDataWithDefaults() *IncidentSearchResponseUserFacetData

NewIncidentSearchResponseUserFacetDataWithDefaults instantiates a new IncidentSearchResponseUserFacetData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*IncidentSearchResponseUserFacetData) GetCount ¶ added in v2.7.0

GetCount returns the Count field value if set, zero value otherwise.

func (*IncidentSearchResponseUserFacetData) GetCountOk ¶ added in v2.7.0

func (o *IncidentSearchResponseUserFacetData) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentSearchResponseUserFacetData) GetEmail ¶ added in v2.7.0

GetEmail returns the Email field value if set, zero value otherwise.

func (*IncidentSearchResponseUserFacetData) GetEmailOk ¶ added in v2.7.0

func (o *IncidentSearchResponseUserFacetData) 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 (*IncidentSearchResponseUserFacetData) GetHandle ¶ added in v2.7.0

GetHandle returns the Handle field value if set, zero value otherwise.

func (*IncidentSearchResponseUserFacetData) GetHandleOk ¶ added in v2.7.0

func (o *IncidentSearchResponseUserFacetData) 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 (*IncidentSearchResponseUserFacetData) GetName ¶ added in v2.7.0

GetName returns the Name field value if set, zero value otherwise.

func (*IncidentSearchResponseUserFacetData) GetNameOk ¶ added in v2.7.0

func (o *IncidentSearchResponseUserFacetData) 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 (*IncidentSearchResponseUserFacetData) GetUuid ¶ added in v2.7.0

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*IncidentSearchResponseUserFacetData) GetUuidOk ¶ added in v2.7.0

func (o *IncidentSearchResponseUserFacetData) 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 (*IncidentSearchResponseUserFacetData) HasCount ¶ added in v2.7.0

HasCount returns a boolean if a field has been set.

func (*IncidentSearchResponseUserFacetData) HasEmail ¶ added in v2.7.0

HasEmail returns a boolean if a field has been set.

func (*IncidentSearchResponseUserFacetData) HasHandle ¶ added in v2.7.0

HasHandle returns a boolean if a field has been set.

func (*IncidentSearchResponseUserFacetData) HasName ¶ added in v2.7.0

HasName returns a boolean if a field has been set.

func (*IncidentSearchResponseUserFacetData) HasUuid ¶ added in v2.7.0

HasUuid returns a boolean if a field has been set.

func (IncidentSearchResponseUserFacetData) MarshalJSON ¶ added in v2.7.0

func (o IncidentSearchResponseUserFacetData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IncidentSearchResponseUserFacetData) SetCount ¶ added in v2.7.0

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*IncidentSearchResponseUserFacetData) SetEmail ¶ added in v2.7.0

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*IncidentSearchResponseUserFacetData) SetHandle ¶ added in v2.7.0

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*IncidentSearchResponseUserFacetData) SetName ¶ added in v2.7.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*IncidentSearchResponseUserFacetData) SetUuid ¶ added in v2.7.0

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*IncidentSearchResponseUserFacetData) UnmarshalJSON ¶ added in v2.7.0

func (o *IncidentSearchResponseUserFacetData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IncidentSearchResultsType ¶ added in v2.7.0

type IncidentSearchResultsType string

IncidentSearchResultsType Incident search result type.

const (
	INCIDENTSEARCHRESULTSTYPE_INCIDENTS_SEARCH_RESULTS IncidentSearchResultsType = "incidents_search_results"
)

List of IncidentSearchResultsType.

func NewIncidentSearchResultsTypeFromValue ¶ added in v2.7.0

func NewIncidentSearchResultsTypeFromValue(v string) (*IncidentSearchResultsType, error)

NewIncidentSearchResultsTypeFromValue returns a pointer to a valid IncidentSearchResultsType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IncidentSearchResultsType) GetAllowedValues ¶ added in v2.7.0

func (v *IncidentSearchResultsType) GetAllowedValues() []IncidentSearchResultsType

GetAllowedValues reeturns the list of possible values.

func (IncidentSearchResultsType) IsValid ¶ added in v2.7.0

func (v IncidentSearchResultsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (IncidentSearchResultsType) Ptr ¶ added in v2.7.0

Ptr returns reference to IncidentSearchResultsType value.

func (*IncidentSearchResultsType) UnmarshalJSON ¶ added in v2.7.0

func (v *IncidentSearchResultsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type IncidentSearchSortOrder ¶ added in v2.7.0

type IncidentSearchSortOrder string

IncidentSearchSortOrder The ways searched incidents can be sorted.

const (
	INCIDENTSEARCHSORTORDER_CREATED_ASCENDING  IncidentSearchSortOrder = "created"
	INCIDENTSEARCHSORTORDER_CREATED_DESCENDING IncidentSearchSortOrder = "-created"
)

List of IncidentSearchSortOrder.

func NewIncidentSearchSortOrderFromValue ¶ added in v2.7.0

func NewIncidentSearchSortOrderFromValue(v string) (*IncidentSearchSortOrder, error)

NewIncidentSearchSortOrderFromValue returns a pointer to a valid IncidentSearchSortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IncidentSearchSortOrder) GetAllowedValues ¶ added in v2.7.0

func (v *IncidentSearchSortOrder) GetAllowedValues() []IncidentSearchSortOrder

GetAllowedValues reeturns the list of possible values.

func (IncidentSearchSortOrder) IsValid ¶ added in v2.7.0

func (v IncidentSearchSortOrder) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (IncidentSearchSortOrder) Ptr ¶ added in v2.7.0

Ptr returns reference to IncidentSearchSortOrder value.

func (*IncidentSearchSortOrder) UnmarshalJSON ¶ added in v2.7.0

func (v *IncidentSearchSortOrder) UnmarshalJSON(src []byte) 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 ¶

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 ¶

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 ¶

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 IncidentServicesApi ¶

type IncidentServicesApi datadog.Service

IncidentServicesApi service type

func NewIncidentServicesApi ¶

func NewIncidentServicesApi(client *datadog.APIClient) *IncidentServicesApi

NewIncidentServicesApi Returns NewIncidentServicesApi.

func (*IncidentServicesApi) CreateIncidentService ¶

CreateIncidentService Create a new incident service. Creates a new incident service.

func (*IncidentServicesApi) DeleteIncidentService ¶

func (a *IncidentServicesApi) DeleteIncidentService(ctx _context.Context, serviceId string) (*_nethttp.Response, error)

DeleteIncidentService Delete an existing incident service. Deletes an existing incident service.

func (*IncidentServicesApi) 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 (*IncidentServicesApi) 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 (*IncidentServicesApi) 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 ¶

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 ¶

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 ¶

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 ¶

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 IncidentTeamsApi ¶

type IncidentTeamsApi datadog.Service

IncidentTeamsApi service type

func NewIncidentTeamsApi ¶

func NewIncidentTeamsApi(client *datadog.APIClient) *IncidentTeamsApi

NewIncidentTeamsApi Returns NewIncidentTeamsApi.

func (*IncidentTeamsApi) CreateIncidentTeam ¶

CreateIncidentTeam Create a new incident team. Creates a new incident team.

func (*IncidentTeamsApi) DeleteIncidentTeam ¶

func (a *IncidentTeamsApi) DeleteIncidentTeam(ctx _context.Context, teamId string) (*_nethttp.Response, error)

DeleteIncidentTeam Delete an existing incident team. Deletes an existing incident team.

func (*IncidentTeamsApi) 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 (*IncidentTeamsApi) 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 (*IncidentTeamsApi) 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 ¶

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 ¶

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 ¶

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 datadog.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 datadog.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 datadog.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"`
	// 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) 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) 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 datadog.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 datadog.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 datadog.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) 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 ¶

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.

type IncidentUpdateData ¶

type IncidentUpdateData struct {
	// The incident's attributes for an update request.
	Attributes *IncidentUpdateAttributes `json:"attributes,omitempty"`
	// The incident'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 ¶

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 IncidentsApi ¶

type IncidentsApi datadog.Service

IncidentsApi service type

func NewIncidentsApi ¶

func NewIncidentsApi(client *datadog.APIClient) *IncidentsApi

NewIncidentsApi Returns NewIncidentsApi.

func (*IncidentsApi) CreateIncident ¶

CreateIncident Create an incident. Create an incident.

func (*IncidentsApi) CreateIncidentIntegration ¶ added in v2.10.0

CreateIncidentIntegration Create an incident integration metadata. Create an incident integration metadata.

func (*IncidentsApi) DeleteIncident ¶

func (a *IncidentsApi) DeleteIncident(ctx _context.Context, incidentId string) (*_nethttp.Response, error)

DeleteIncident Delete an existing incident. Deletes an existing incident from the users organization.

func (*IncidentsApi) DeleteIncidentIntegration ¶ added in v2.10.0

func (a *IncidentsApi) DeleteIncidentIntegration(ctx _context.Context, incidentId string, integrationMetadataId string) (*_nethttp.Response, error)

DeleteIncidentIntegration Delete an incident integration metadata. Delete an incident integration metadata.

func (*IncidentsApi) GetIncident ¶

GetIncident Get the details of an incident. Get the details of an incident by `incident_id`.

func (*IncidentsApi) GetIncidentIntegration ¶ added in v2.10.0

func (a *IncidentsApi) GetIncidentIntegration(ctx _context.Context, incidentId string, integrationMetadataId string) (IncidentIntegrationMetadataResponse, *_nethttp.Response, error)

GetIncidentIntegration Get incident integration metadata details. Get incident integration metadata details.

func (*IncidentsApi) ListIncidentAttachments ¶ added in v2.4.0

ListIncidentAttachments Get a list of attachments. Get all attachments for a given incident.

func (*IncidentsApi) ListIncidentIntegrations ¶ added in v2.10.0

func (a *IncidentsApi) ListIncidentIntegrations(ctx _context.Context, incidentId string) (IncidentIntegrationMetadataListResponse, *_nethttp.Response, error)

ListIncidentIntegrations Get a list of an incident's integration metadata. Get all integration metadata for an incident.

func (*IncidentsApi) ListIncidents ¶

ListIncidents Get a list of incidents. Get all incidents for the user's organization.

func (*IncidentsApi) ListIncidentsWithPagination ¶

func (a *IncidentsApi) ListIncidentsWithPagination(ctx _context.Context, o ...ListIncidentsOptionalParameters) (<-chan datadog.PaginationResult[IncidentResponseData], func())

ListIncidentsWithPagination provides a paginated version of ListIncidents returning a channel with all items.

func (*IncidentsApi) SearchIncidents ¶ added in v2.7.0

SearchIncidents Search for incidents. Search for incidents matching a certain query.

func (*IncidentsApi) UpdateIncident ¶

UpdateIncident Update an existing incident. Updates an incident. Provide only the attributes that should be updated as this request is a partial update.

func (*IncidentsApi) UpdateIncidentAttachments ¶ added in v2.4.0

UpdateIncidentAttachments Create, update, and delete incident attachments. The bulk update endpoint for creating, updating, and deleting attachments for a given incident.

func (*IncidentsApi) UpdateIncidentIntegration ¶ added in v2.10.0

func (a *IncidentsApi) UpdateIncidentIntegration(ctx _context.Context, incidentId string, integrationMetadataId string, body IncidentIntegrationMetadataPatchRequest) (IncidentIntegrationMetadataResponse, *_nethttp.Response, error)

UpdateIncidentIntegration Update an existing incident integration metadata. Update an existing incident integration metadata.

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 ¶

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 ¶

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 ¶

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 ¶

func (o *IntakePayloadAccepted) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*IntakePayloadAccepted) GetErrorsOk ¶

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 ¶

func (o *IntakePayloadAccepted) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (IntakePayloadAccepted) MarshalJSON ¶

func (o IntakePayloadAccepted) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*IntakePayloadAccepted) SetErrors ¶

func (o *IntakePayloadAccepted) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (*IntakePayloadAccepted) UnmarshalJSON ¶

func (o *IntakePayloadAccepted) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type JiraIntegrationMetadata ¶ added in v2.10.0

type JiraIntegrationMetadata struct {
	// Array of Jira issues in this integration metadata.
	Issues []JiraIntegrationMetadataIssuesItem `json:"issues"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

JiraIntegrationMetadata Incident integration metadata for the Jira integration.

func NewJiraIntegrationMetadata ¶ added in v2.10.0

func NewJiraIntegrationMetadata(issues []JiraIntegrationMetadataIssuesItem) *JiraIntegrationMetadata

NewJiraIntegrationMetadata instantiates a new JiraIntegrationMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewJiraIntegrationMetadataWithDefaults ¶ added in v2.10.0

func NewJiraIntegrationMetadataWithDefaults() *JiraIntegrationMetadata

NewJiraIntegrationMetadataWithDefaults instantiates a new JiraIntegrationMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*JiraIntegrationMetadata) GetIssues ¶ added in v2.10.0

GetIssues returns the Issues field value.

func (*JiraIntegrationMetadata) GetIssuesOk ¶ added in v2.10.0

GetIssuesOk returns a tuple with the Issues field value and a boolean to check if the value has been set.

func (JiraIntegrationMetadata) MarshalJSON ¶ added in v2.10.0

func (o JiraIntegrationMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*JiraIntegrationMetadata) SetIssues ¶ added in v2.10.0

SetIssues sets field value.

func (*JiraIntegrationMetadata) UnmarshalJSON ¶ added in v2.10.0

func (o *JiraIntegrationMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type JiraIntegrationMetadataIssuesItem ¶ added in v2.10.0

type JiraIntegrationMetadataIssuesItem struct {
	// URL of issue's Jira account.
	Account string `json:"account"`
	// Jira issue's issue key.
	IssueKey *string `json:"issue_key,omitempty"`
	// Jira issue's issue type.
	IssuetypeId *string `json:"issuetype_id,omitempty"`
	// Jira issue's project keys.
	ProjectKey string `json:"project_key"`
	// URL redirecting to the Jira issue.
	RedirectUrl *string `json:"redirect_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{}
}

JiraIntegrationMetadataIssuesItem Item in the Jira integration metadata issue array.

func NewJiraIntegrationMetadataIssuesItem ¶ added in v2.10.0

func NewJiraIntegrationMetadataIssuesItem(account string, projectKey string) *JiraIntegrationMetadataIssuesItem

NewJiraIntegrationMetadataIssuesItem instantiates a new JiraIntegrationMetadataIssuesItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewJiraIntegrationMetadataIssuesItemWithDefaults ¶ added in v2.10.0

func NewJiraIntegrationMetadataIssuesItemWithDefaults() *JiraIntegrationMetadataIssuesItem

NewJiraIntegrationMetadataIssuesItemWithDefaults instantiates a new JiraIntegrationMetadataIssuesItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*JiraIntegrationMetadataIssuesItem) GetAccount ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) GetAccount() string

GetAccount returns the Account field value.

func (*JiraIntegrationMetadataIssuesItem) GetAccountOk ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) GetAccountOk() (*string, bool)

GetAccountOk returns a tuple with the Account field value and a boolean to check if the value has been set.

func (*JiraIntegrationMetadataIssuesItem) GetIssueKey ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) GetIssueKey() string

GetIssueKey returns the IssueKey field value if set, zero value otherwise.

func (*JiraIntegrationMetadataIssuesItem) GetIssueKeyOk ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) GetIssueKeyOk() (*string, bool)

GetIssueKeyOk returns a tuple with the IssueKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JiraIntegrationMetadataIssuesItem) GetIssuetypeId ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) GetIssuetypeId() string

GetIssuetypeId returns the IssuetypeId field value if set, zero value otherwise.

func (*JiraIntegrationMetadataIssuesItem) GetIssuetypeIdOk ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) GetIssuetypeIdOk() (*string, bool)

GetIssuetypeIdOk returns a tuple with the IssuetypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JiraIntegrationMetadataIssuesItem) GetProjectKey ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) GetProjectKey() string

GetProjectKey returns the ProjectKey field value.

func (*JiraIntegrationMetadataIssuesItem) GetProjectKeyOk ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value and a boolean to check if the value has been set.

func (*JiraIntegrationMetadataIssuesItem) GetRedirectUrl ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise.

func (*JiraIntegrationMetadataIssuesItem) GetRedirectUrlOk ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JiraIntegrationMetadataIssuesItem) HasIssueKey ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) HasIssueKey() bool

HasIssueKey returns a boolean if a field has been set.

func (*JiraIntegrationMetadataIssuesItem) HasIssuetypeId ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) HasIssuetypeId() bool

HasIssuetypeId returns a boolean if a field has been set.

func (*JiraIntegrationMetadataIssuesItem) HasRedirectUrl ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (JiraIntegrationMetadataIssuesItem) MarshalJSON ¶ added in v2.10.0

func (o JiraIntegrationMetadataIssuesItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*JiraIntegrationMetadataIssuesItem) SetAccount ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) SetAccount(v string)

SetAccount sets field value.

func (*JiraIntegrationMetadataIssuesItem) SetIssueKey ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) SetIssueKey(v string)

SetIssueKey gets a reference to the given string and assigns it to the IssueKey field.

func (*JiraIntegrationMetadataIssuesItem) SetIssuetypeId ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) SetIssuetypeId(v string)

SetIssuetypeId gets a reference to the given string and assigns it to the IssuetypeId field.

func (*JiraIntegrationMetadataIssuesItem) SetProjectKey ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) SetProjectKey(v string)

SetProjectKey sets field value.

func (*JiraIntegrationMetadataIssuesItem) SetRedirectUrl ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given string and assigns it to the RedirectUrl field.

func (*JiraIntegrationMetadataIssuesItem) UnmarshalJSON ¶ added in v2.10.0

func (o *JiraIntegrationMetadataIssuesItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type KeyManagementApi ¶

type KeyManagementApi datadog.Service

KeyManagementApi service type

func NewKeyManagementApi ¶

func NewKeyManagementApi(client *datadog.APIClient) *KeyManagementApi

NewKeyManagementApi Returns NewKeyManagementApi.

func (*KeyManagementApi) CreateAPIKey ¶

CreateAPIKey Create an API key. Create an API key.

func (*KeyManagementApi) CreateCurrentUserApplicationKey ¶

CreateCurrentUserApplicationKey Create an application key for current user. Create an application key for current user

func (*KeyManagementApi) DeleteAPIKey ¶

func (a *KeyManagementApi) DeleteAPIKey(ctx _context.Context, apiKeyId string) (*_nethttp.Response, error)

DeleteAPIKey Delete an API key. Delete an API key.

func (*KeyManagementApi) DeleteApplicationKey ¶

func (a *KeyManagementApi) DeleteApplicationKey(ctx _context.Context, appKeyId string) (*_nethttp.Response, error)

DeleteApplicationKey Delete an application key. Delete an application key

func (*KeyManagementApi) DeleteCurrentUserApplicationKey ¶

func (a *KeyManagementApi) 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 (*KeyManagementApi) GetAPIKey ¶

GetAPIKey Get API key. Get an API key.

func (*KeyManagementApi) GetApplicationKey ¶

GetApplicationKey Get an application key. Get an application key for your org.

func (*KeyManagementApi) GetCurrentUserApplicationKey ¶

func (a *KeyManagementApi) 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 (*KeyManagementApi) ListAPIKeys ¶

ListAPIKeys Get all API keys. List all API keys available for your account.

func (*KeyManagementApi) ListApplicationKeys ¶

ListApplicationKeys Get all application keys. List all application keys available for your org

func (*KeyManagementApi) ListCurrentUserApplicationKeys ¶

ListCurrentUserApplicationKeys Get all application keys owned by current user. List all application keys available for current user

func (*KeyManagementApi) UpdateAPIKey ¶

UpdateAPIKey Edit an API key. Update an API key.

func (*KeyManagementApi) UpdateApplicationKey ¶

UpdateApplicationKey Edit an application key. Edit an application key

func (*KeyManagementApi) UpdateCurrentUserApplicationKey ¶

func (a *KeyManagementApi) 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 ListActiveMetricConfigurationsOptionalParameters ¶ added in v2.3.0

type ListActiveMetricConfigurationsOptionalParameters struct {
	WindowSeconds *int64
}

ListActiveMetricConfigurationsOptionalParameters holds optional parameters for ListActiveMetricConfigurations.

func NewListActiveMetricConfigurationsOptionalParameters ¶ added in v2.3.0

func NewListActiveMetricConfigurationsOptionalParameters() *ListActiveMetricConfigurationsOptionalParameters

NewListActiveMetricConfigurationsOptionalParameters creates an empty struct for parameters.

func (*ListActiveMetricConfigurationsOptionalParameters) WithWindowSeconds ¶ added in v2.3.0

WithWindowSeconds 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 ¶

func (o *ListApplicationKeysResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ListAuditLogsOptionalParameters ¶

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 ¶

func NewListAuditLogsOptionalParameters() *ListAuditLogsOptionalParameters

NewListAuditLogsOptionalParameters creates an empty struct for parameters.

func (*ListAuditLogsOptionalParameters) WithFilterFrom ¶

WithFilterFrom sets the corresponding parameter name and returns the struct.

func (*ListAuditLogsOptionalParameters) WithFilterQuery ¶

WithFilterQuery sets the corresponding parameter name and returns the struct.

func (*ListAuditLogsOptionalParameters) WithFilterTo ¶

WithFilterTo sets the corresponding parameter name and returns the struct.

func (*ListAuditLogsOptionalParameters) WithPageCursor ¶

WithPageCursor sets the corresponding parameter name and returns the struct.

func (*ListAuditLogsOptionalParameters) WithPageLimit ¶

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*ListAuditLogsOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListAuthNMappingsOptionalParameters ¶

type ListAuthNMappingsOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
	Sort       *AuthNMappingsSort
	Filter     *string
}

ListAuthNMappingsOptionalParameters holds optional parameters for ListAuthNMappings.

func NewListAuthNMappingsOptionalParameters ¶

func NewListAuthNMappingsOptionalParameters() *ListAuthNMappingsOptionalParameters

NewListAuthNMappingsOptionalParameters creates an empty struct for parameters.

func (*ListAuthNMappingsOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListAuthNMappingsOptionalParameters) WithPageNumber ¶

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListAuthNMappingsOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListAuthNMappingsOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListCIAppPipelineEventsOptionalParameters ¶ added in v2.5.0

type ListCIAppPipelineEventsOptionalParameters struct {
	FilterQuery *string
	FilterFrom  *time.Time
	FilterTo    *time.Time
	Sort        *CIAppSort
	PageCursor  *string
	PageLimit   *int32
}

ListCIAppPipelineEventsOptionalParameters holds optional parameters for ListCIAppPipelineEvents.

func NewListCIAppPipelineEventsOptionalParameters ¶ added in v2.5.0

func NewListCIAppPipelineEventsOptionalParameters() *ListCIAppPipelineEventsOptionalParameters

NewListCIAppPipelineEventsOptionalParameters creates an empty struct for parameters.

func (*ListCIAppPipelineEventsOptionalParameters) WithFilterFrom ¶ added in v2.5.0

WithFilterFrom sets the corresponding parameter name and returns the struct.

func (*ListCIAppPipelineEventsOptionalParameters) WithFilterQuery ¶ added in v2.5.0

WithFilterQuery sets the corresponding parameter name and returns the struct.

func (*ListCIAppPipelineEventsOptionalParameters) WithFilterTo ¶ added in v2.5.0

WithFilterTo sets the corresponding parameter name and returns the struct.

func (*ListCIAppPipelineEventsOptionalParameters) WithPageCursor ¶ added in v2.5.0

WithPageCursor sets the corresponding parameter name and returns the struct.

func (*ListCIAppPipelineEventsOptionalParameters) WithPageLimit ¶ added in v2.5.0

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*ListCIAppPipelineEventsOptionalParameters) WithSort ¶ added in v2.5.0

WithSort sets the corresponding parameter name and returns the struct.

type ListCIAppTestEventsOptionalParameters ¶ added in v2.5.0

type ListCIAppTestEventsOptionalParameters struct {
	FilterQuery *string
	FilterFrom  *time.Time
	FilterTo    *time.Time
	Sort        *CIAppSort
	PageCursor  *string
	PageLimit   *int32
}

ListCIAppTestEventsOptionalParameters holds optional parameters for ListCIAppTestEvents.

func NewListCIAppTestEventsOptionalParameters ¶ added in v2.5.0

func NewListCIAppTestEventsOptionalParameters() *ListCIAppTestEventsOptionalParameters

NewListCIAppTestEventsOptionalParameters creates an empty struct for parameters.

func (*ListCIAppTestEventsOptionalParameters) WithFilterFrom ¶ added in v2.5.0

WithFilterFrom sets the corresponding parameter name and returns the struct.

func (*ListCIAppTestEventsOptionalParameters) WithFilterQuery ¶ added in v2.5.0

WithFilterQuery sets the corresponding parameter name and returns the struct.

func (*ListCIAppTestEventsOptionalParameters) WithFilterTo ¶ added in v2.5.0

WithFilterTo sets the corresponding parameter name and returns the struct.

func (*ListCIAppTestEventsOptionalParameters) WithPageCursor ¶ added in v2.5.0

WithPageCursor sets the corresponding parameter name and returns the struct.

func (*ListCIAppTestEventsOptionalParameters) WithPageLimit ¶ added in v2.5.0

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*ListCIAppTestEventsOptionalParameters) WithSort ¶ added in v2.5.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 ListEventsOptionalParameters ¶

type ListEventsOptionalParameters struct {
	FilterQuery *string
	FilterFrom  *string
	FilterTo    *string
	Sort        *EventsSort
	PageCursor  *string
	PageLimit   *int32
}

ListEventsOptionalParameters holds optional parameters for ListEvents.

func NewListEventsOptionalParameters ¶

func NewListEventsOptionalParameters() *ListEventsOptionalParameters

NewListEventsOptionalParameters creates an empty struct for parameters.

func (*ListEventsOptionalParameters) WithFilterFrom ¶

func (r *ListEventsOptionalParameters) WithFilterFrom(filterFrom string) *ListEventsOptionalParameters

WithFilterFrom sets the corresponding parameter name and returns the struct.

func (*ListEventsOptionalParameters) WithFilterQuery ¶

func (r *ListEventsOptionalParameters) WithFilterQuery(filterQuery string) *ListEventsOptionalParameters

WithFilterQuery sets the corresponding parameter name and returns the struct.

func (*ListEventsOptionalParameters) WithFilterTo ¶

WithFilterTo sets the corresponding parameter name and returns the struct.

func (*ListEventsOptionalParameters) WithPageCursor ¶

func (r *ListEventsOptionalParameters) WithPageCursor(pageCursor string) *ListEventsOptionalParameters

WithPageCursor sets the corresponding parameter name and returns the struct.

func (*ListEventsOptionalParameters) WithPageLimit ¶

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*ListEventsOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListIncidentAttachmentsOptionalParameters ¶ added in v2.4.0

type ListIncidentAttachmentsOptionalParameters struct {
	Include              *[]IncidentAttachmentRelatedObject
	FilterAttachmentType *[]IncidentAttachmentAttachmentType
}

ListIncidentAttachmentsOptionalParameters holds optional parameters for ListIncidentAttachments.

func NewListIncidentAttachmentsOptionalParameters ¶ added in v2.4.0

func NewListIncidentAttachmentsOptionalParameters() *ListIncidentAttachmentsOptionalParameters

NewListIncidentAttachmentsOptionalParameters creates an empty struct for parameters.

func (*ListIncidentAttachmentsOptionalParameters) WithFilterAttachmentType ¶ added in v2.4.0

WithFilterAttachmentType sets the corresponding parameter name and returns the struct.

func (*ListIncidentAttachmentsOptionalParameters) WithInclude ¶ added in v2.4.0

WithInclude 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
	FilterStorageTier *LogsStorageTier
	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) WithFilterStorageTier ¶ added in v2.5.0

func (r *ListLogsGetOptionalParameters) WithFilterStorageTier(filterStorageTier LogsStorageTier) *ListLogsGetOptionalParameters

WithFilterStorageTier 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 ¶

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 ¶

func NewListRUMEventsOptionalParameters() *ListRUMEventsOptionalParameters

NewListRUMEventsOptionalParameters creates an empty struct for parameters.

func (*ListRUMEventsOptionalParameters) WithFilterFrom ¶

WithFilterFrom sets the corresponding parameter name and returns the struct.

func (*ListRUMEventsOptionalParameters) WithFilterQuery ¶

WithFilterQuery sets the corresponding parameter name and returns the struct.

func (*ListRUMEventsOptionalParameters) WithFilterTo ¶

WithFilterTo sets the corresponding parameter name and returns the struct.

func (*ListRUMEventsOptionalParameters) WithPageCursor ¶

WithPageCursor sets the corresponding parameter name and returns the struct.

func (*ListRUMEventsOptionalParameters) WithPageLimit ¶

WithPageLimit sets the corresponding parameter name and returns the struct.

func (*ListRUMEventsOptionalParameters) WithSort ¶

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 ¶

type ListServiceAccountApplicationKeysOptionalParameters struct {
	PageSize             *int64
	PageNumber           *int64
	Sort                 *ApplicationKeysSort
	Filter               *string
	FilterCreatedAtStart *string
	FilterCreatedAtEnd   *string
}

ListServiceAccountApplicationKeysOptionalParameters holds optional parameters for ListServiceAccountApplicationKeys.

func NewListServiceAccountApplicationKeysOptionalParameters ¶

func NewListServiceAccountApplicationKeysOptionalParameters() *ListServiceAccountApplicationKeysOptionalParameters

NewListServiceAccountApplicationKeysOptionalParameters creates an empty struct for parameters.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtEnd ¶

WithFilterCreatedAtEnd sets the corresponding parameter name and returns the struct.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtStart ¶

WithFilterCreatedAtStart sets the corresponding parameter name and returns the struct.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithPageNumber ¶

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListServiceAccountApplicationKeysOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type ListTagConfigurationsOptionalParameters ¶

type ListTagConfigurationsOptionalParameters struct {
	FilterConfigured         *bool
	FilterTagsConfigured     *string
	FilterMetricType         *MetricTagConfigurationMetricTypes
	FilterIncludePercentiles *bool
	FilterQueried            *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) WithFilterQueried ¶ added in v2.3.0

WithFilterQueried 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 ¶

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 ¶

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 ¶

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]interface{} `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]interface{}

GetBy returns the By field value if set, zero value otherwise.

func (*LogsAggregateBucket) GetByOk ¶

func (o *LogsAggregateBucket) GetByOk() (*map[string]interface{}, 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]interface{})

SetBy gets a reference to the given map[string]interface{} 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 ¶

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 ¶

func LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue(v *float64) LogsAggregateBucketValue

LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue is a convenience function that returns float64 wrapped in LogsAggregateBucketValue.

func LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 LogsApi ¶

type LogsApi datadog.Service

LogsApi service type

func NewLogsApi ¶

func NewLogsApi(client *datadog.APIClient) *LogsApi

NewLogsApi Returns NewLogsApi.

func (*LogsApi) AggregateLogs ¶

AggregateLogs Aggregate events. The API endpoint to aggregate events into buckets and compute metrics and timeseries.

func (*LogsApi) 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 (*LogsApi) 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 (*LogsApi) ListLogsGetWithPagination ¶

func (a *LogsApi) ListLogsGetWithPagination(ctx _context.Context, o ...ListLogsGetOptionalParameters) (<-chan datadog.PaginationResult[Log], func())

ListLogsGetWithPagination provides a paginated version of ListLogsGet returning a channel with all items.

func (*LogsApi) ListLogsWithPagination ¶

func (a *LogsApi) ListLogsWithPagination(ctx _context.Context, o ...ListLogsOptionalParameters) (<-chan datadog.PaginationResult[Log], func())

ListLogsWithPagination provides a paginated version of ListLogs returning a channel with all items.

func (*LogsApi) SubmitLog ¶

func (a *LogsApi) 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. Log events can be submitted up to 18 hours in the past and 2 hours in the future.

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 ¶

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 datadog.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 ¶

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 ¶

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 ¶

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 ¶

func (o *LogsArchiveAttributes) SetRehydrationMaxScanSizeInGb(v int64)

SetRehydrationMaxScanSizeInGb gets a reference to the given datadog.NullableInt64 and assigns it to the RehydrationMaxScanSizeInGb field.

func (*LogsArchiveAttributes) SetRehydrationMaxScanSizeInGbNil ¶

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 ¶

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 ¶

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 datadog.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 ¶

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 ¶

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 ¶

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 ¶

func (o *LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGb(v int64)

SetRehydrationMaxScanSizeInGb gets a reference to the given datadog.NullableInt64 and assigns it to the RehydrationMaxScanSizeInGb field.

func (*LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGbNil ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *LogsArchives) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArchivesApi ¶

type LogsArchivesApi datadog.Service

LogsArchivesApi service type

func NewLogsArchivesApi ¶

func NewLogsArchivesApi(client *datadog.APIClient) *LogsArchivesApi

NewLogsArchivesApi Returns NewLogsArchivesApi.

func (*LogsArchivesApi) AddReadRoleToArchive ¶

func (a *LogsArchivesApi) 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 (*LogsArchivesApi) CreateLogsArchive ¶

CreateLogsArchive Create an archive. Create an archive in your organization.

func (*LogsArchivesApi) DeleteLogsArchive ¶

func (a *LogsArchivesApi) DeleteLogsArchive(ctx _context.Context, archiveId string) (*_nethttp.Response, error)

DeleteLogsArchive Delete an archive. Delete a given archive from your organization.

func (*LogsArchivesApi) GetLogsArchive ¶

func (a *LogsArchivesApi) GetLogsArchive(ctx _context.Context, archiveId string) (LogsArchive, *_nethttp.Response, error)

GetLogsArchive Get an archive. Get a specific archive from your organization.

func (*LogsArchivesApi) GetLogsArchiveOrder ¶

func (a *LogsArchivesApi) GetLogsArchiveOrder(ctx _context.Context) (LogsArchiveOrder, *_nethttp.Response, error)

GetLogsArchiveOrder Get archive order. Get the current order of your archives. This endpoint takes no JSON arguments.

func (*LogsArchivesApi) ListArchiveReadRoles ¶

func (a *LogsArchivesApi) 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 (*LogsArchivesApi) ListLogsArchives ¶

func (a *LogsArchivesApi) ListLogsArchives(ctx _context.Context) (LogsArchives, *_nethttp.Response, error)

ListLogsArchives Get all archives. Get the list of configured logs archives with their definitions.

func (*LogsArchivesApi) RemoveRoleFromArchive ¶

func (a *LogsArchivesApi) 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 (*LogsArchivesApi) UpdateLogsArchive ¶

func (a *LogsArchivesApi) UpdateLogsArchive(ctx _context.Context, archiveId string, body LogsArchiveCreateRequest) (LogsArchive, *_nethttp.Response, error)

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 (*LogsArchivesApi) UpdateLogsArchiveOrder ¶

func (a *LogsArchivesApi) UpdateLogsArchiveOrder(ctx _context.Context, body LogsArchiveOrder) (LogsArchiveOrder, *_nethttp.Response, error)

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 ¶

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 ¶

func LogsGroupByMissingNumberAsLogsGroupByMissing(v *float64) LogsGroupByMissing

LogsGroupByMissingNumberAsLogsGroupByMissing is a convenience function that returns float64 wrapped in LogsGroupByMissing.

func LogsGroupByMissingStringAsLogsGroupByMissing ¶

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 ¶

func LogsGroupByTotalBooleanAsLogsGroupByTotal(v *bool) LogsGroupByTotal

LogsGroupByTotalBooleanAsLogsGroupByTotal is a convenience function that returns bool wrapped in LogsGroupByTotal.

func LogsGroupByTotalNumberAsLogsGroupByTotal ¶

func LogsGroupByTotalNumberAsLogsGroupByTotal(v *float64) LogsGroupByTotal

LogsGroupByTotalNumberAsLogsGroupByTotal is a convenience function that returns float64 wrapped in LogsGroupByTotal.

func LogsGroupByTotalStringAsLogsGroupByTotal ¶

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 ¶

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 ¶

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 ¶

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 ¶

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"`
	// Toggle to include or exclude percentile aggregations for distribution metrics.
	// Only present when the `aggregation_type` is `distribution`.
	IncludePercentiles *bool `json:"include_percentiles,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{}
}

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) GetIncludePercentiles ¶ added in v2.6.0

func (o *LogsMetricCompute) GetIncludePercentiles() bool

GetIncludePercentiles returns the IncludePercentiles field value if set, zero value otherwise.

func (*LogsMetricCompute) GetIncludePercentilesOk ¶ added in v2.6.0

func (o *LogsMetricCompute) 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 (*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) HasIncludePercentiles ¶ added in v2.6.0

func (o *LogsMetricCompute) HasIncludePercentiles() bool

HasIncludePercentiles returns a boolean if a field 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) SetIncludePercentiles ¶ added in v2.6.0

func (o *LogsMetricCompute) SetIncludePercentiles(v bool)

SetIncludePercentiles gets a reference to the given bool and assigns it to the IncludePercentiles field.

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 ¶

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 ¶

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 ¶

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 ¶

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"`
	// Toggle to include or exclude percentile aggregations for distribution metrics.
	// Only present when the `aggregation_type` is `distribution`.
	IncludePercentiles *bool `json:"include_percentiles,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) GetIncludePercentiles ¶ added in v2.6.0

func (o *LogsMetricResponseCompute) GetIncludePercentiles() bool

GetIncludePercentiles returns the IncludePercentiles field value if set, zero value otherwise.

func (*LogsMetricResponseCompute) GetIncludePercentilesOk ¶ added in v2.6.0

func (o *LogsMetricResponseCompute) 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 (*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) HasIncludePercentiles ¶ added in v2.6.0

func (o *LogsMetricResponseCompute) HasIncludePercentiles() bool

HasIncludePercentiles 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) SetIncludePercentiles ¶ added in v2.6.0

func (o *LogsMetricResponseCompute) SetIncludePercentiles(v bool)

SetIncludePercentiles gets a reference to the given bool and assigns it to the IncludePercentiles 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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 compute rule to compute the log-based metric.
	Compute *LogsMetricUpdateCompute `json:"compute,omitempty"`
	// 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) GetCompute ¶ added in v2.6.0

GetCompute returns the Compute field value if set, zero value otherwise.

func (*LogsMetricUpdateAttributes) GetComputeOk ¶ added in v2.6.0

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 (*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) HasCompute ¶ added in v2.6.0

func (o *LogsMetricUpdateAttributes) HasCompute() bool

HasCompute returns a boolean if a field 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) SetCompute ¶ added in v2.6.0

SetCompute gets a reference to the given LogsMetricUpdateCompute and assigns it to the Compute field.

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 ¶

func (o *LogsMetricUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMetricUpdateCompute ¶ added in v2.6.0

type LogsMetricUpdateCompute struct {
	// Toggle to include or exclude percentile aggregations for distribution metrics.
	// Only present when the `aggregation_type` is `distribution`.
	IncludePercentiles *bool `json:"include_percentiles,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{}
}

LogsMetricUpdateCompute The compute rule to compute the log-based metric.

func NewLogsMetricUpdateCompute ¶ added in v2.6.0

func NewLogsMetricUpdateCompute() *LogsMetricUpdateCompute

NewLogsMetricUpdateCompute instantiates a new LogsMetricUpdateCompute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewLogsMetricUpdateComputeWithDefaults ¶ added in v2.6.0

func NewLogsMetricUpdateComputeWithDefaults() *LogsMetricUpdateCompute

NewLogsMetricUpdateComputeWithDefaults instantiates a new LogsMetricUpdateCompute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*LogsMetricUpdateCompute) GetIncludePercentiles ¶ added in v2.6.0

func (o *LogsMetricUpdateCompute) GetIncludePercentiles() bool

GetIncludePercentiles returns the IncludePercentiles field value if set, zero value otherwise.

func (*LogsMetricUpdateCompute) GetIncludePercentilesOk ¶ added in v2.6.0

func (o *LogsMetricUpdateCompute) 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 (*LogsMetricUpdateCompute) HasIncludePercentiles ¶ added in v2.6.0

func (o *LogsMetricUpdateCompute) HasIncludePercentiles() bool

HasIncludePercentiles returns a boolean if a field has been set.

func (LogsMetricUpdateCompute) MarshalJSON ¶ added in v2.6.0

func (o LogsMetricUpdateCompute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMetricUpdateCompute) SetIncludePercentiles ¶ added in v2.6.0

func (o *LogsMetricUpdateCompute) SetIncludePercentiles(v bool)

SetIncludePercentiles gets a reference to the given bool and assigns it to the IncludePercentiles field.

func (*LogsMetricUpdateCompute) UnmarshalJSON ¶ added in v2.6.0

func (o *LogsMetricUpdateCompute) 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 LogsMetricsApi ¶

type LogsMetricsApi datadog.Service

LogsMetricsApi service type

func NewLogsMetricsApi ¶

func NewLogsMetricsApi(client *datadog.APIClient) *LogsMetricsApi

NewLogsMetricsApi Returns NewLogsMetricsApi.

func (*LogsMetricsApi) 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 (*LogsMetricsApi) DeleteLogsMetric ¶

func (a *LogsMetricsApi) 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 (*LogsMetricsApi) GetLogsMetric ¶

func (a *LogsMetricsApi) GetLogsMetric(ctx _context.Context, metricId string) (LogsMetricResponse, *_nethttp.Response, error)

GetLogsMetric Get a log-based metric. Get a specific log-based metric from your organization.

func (*LogsMetricsApi) ListLogsMetrics ¶

ListLogsMetrics Get all log-based metrics. Get the list of configured log-based metrics with their definitions.

func (*LogsMetricsApi) 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 ¶

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"`
	// Specifies storage type as indexes or online-archives
	StorageTier *LogsStorageTier `json:"storage_tier,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) GetStorageTier ¶ added in v2.5.0

func (o *LogsQueryFilter) GetStorageTier() LogsStorageTier

GetStorageTier returns the StorageTier field value if set, zero value otherwise.

func (*LogsQueryFilter) GetStorageTierOk ¶ added in v2.5.0

func (o *LogsQueryFilter) GetStorageTierOk() (*LogsStorageTier, bool)

GetStorageTierOk returns a tuple with the StorageTier 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) HasStorageTier ¶ added in v2.5.0

func (o *LogsQueryFilter) HasStorageTier() bool

HasStorageTier 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) SetStorageTier ¶ added in v2.5.0

func (o *LogsQueryFilter) SetStorageTier(v LogsStorageTier)

SetStorageTier gets a reference to the given LogsStorageTier and assigns it to the StorageTier 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 ¶

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 as GMT, UTC, an offset from UTC (like UTC+1), or as a Timezone Database identifier (like America/New_York).
	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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 LogsStorageTier ¶ added in v2.5.0

type LogsStorageTier string

LogsStorageTier Specifies storage type as indexes or online-archives

const (
	LOGSSTORAGETIER_INDEXES         LogsStorageTier = "indexes"
	LOGSSTORAGETIER_ONLINE_ARCHIVES LogsStorageTier = "online-archives"
)

List of LogsStorageTier.

func NewLogsStorageTierFromValue ¶ added in v2.5.0

func NewLogsStorageTierFromValue(v string) (*LogsStorageTier, error)

NewLogsStorageTierFromValue returns a pointer to a valid LogsStorageTier for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsStorageTier) GetAllowedValues ¶ added in v2.5.0

func (v *LogsStorageTier) GetAllowedValues() []LogsStorageTier

GetAllowedValues reeturns the list of possible values.

func (LogsStorageTier) IsValid ¶ added in v2.5.0

func (v LogsStorageTier) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsStorageTier) Ptr ¶ added in v2.5.0

Ptr returns reference to LogsStorageTier value.

func (*LogsStorageTier) UnmarshalJSON ¶ added in v2.5.0

func (v *LogsStorageTier) 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 ¶

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 ¶

func (o *Metric) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricActiveConfigurationType ¶ added in v2.3.0

type MetricActiveConfigurationType string

MetricActiveConfigurationType The metric actively queried configuration resource type.

const (
	METRICACTIVECONFIGURATIONTYPE_ACTIVELY_QUERIED_CONFIGURATIONS MetricActiveConfigurationType = "actively_queried_configurations"
)

List of MetricActiveConfigurationType.

func NewMetricActiveConfigurationTypeFromValue ¶ added in v2.3.0

func NewMetricActiveConfigurationTypeFromValue(v string) (*MetricActiveConfigurationType, error)

NewMetricActiveConfigurationTypeFromValue returns a pointer to a valid MetricActiveConfigurationType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricActiveConfigurationType) GetAllowedValues ¶ added in v2.3.0

GetAllowedValues reeturns the list of possible values.

func (MetricActiveConfigurationType) IsValid ¶ added in v2.3.0

func (v MetricActiveConfigurationType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricActiveConfigurationType) Ptr ¶ added in v2.3.0

Ptr returns reference to MetricActiveConfigurationType value.

func (*MetricActiveConfigurationType) UnmarshalJSON ¶ added in v2.3.0

func (v *MetricActiveConfigurationType) UnmarshalJSON(src []byte) 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 ¶

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 ¶

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 ¶

func (o *MetricAllTagsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkConfigureTagsType ¶

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 ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (MetricBulkConfigureTagsType) IsValid ¶

func (v MetricBulkConfigureTagsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricBulkConfigureTagsType) Ptr ¶

Ptr returns reference to MetricBulkConfigureTagsType value.

func (*MetricBulkConfigureTagsType) UnmarshalJSON ¶

func (v *MetricBulkConfigureTagsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigCreate ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricBulkTagConfigCreate) 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 (*MetricBulkTagConfigCreate) GetId ¶

func (o *MetricBulkTagConfigCreate) GetId() string

GetId returns the Id field value.

func (*MetricBulkTagConfigCreate) GetIdOk ¶

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 ¶

GetType returns the Type field value.

func (*MetricBulkTagConfigCreate) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigCreate) HasAttributes ¶

func (o *MetricBulkTagConfigCreate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricBulkTagConfigCreate) MarshalJSON ¶

func (o MetricBulkTagConfigCreate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigCreate) SetAttributes ¶

SetAttributes gets a reference to the given MetricBulkTagConfigCreateAttributes and assigns it to the Attributes field.

func (*MetricBulkTagConfigCreate) SetId ¶

func (o *MetricBulkTagConfigCreate) SetId(v string)

SetId sets field value.

func (*MetricBulkTagConfigCreate) SetType ¶

SetType sets field value.

func (*MetricBulkTagConfigCreate) UnmarshalJSON ¶

func (o *MetricBulkTagConfigCreate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigCreateAttributes ¶

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 ¶

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 ¶

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 ¶

GetEmails returns the Emails field value if set, zero value otherwise.

func (*MetricBulkTagConfigCreateAttributes) GetEmailsOk ¶

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 ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricBulkTagConfigCreateAttributes) GetTagsOk ¶

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 ¶

HasEmails returns a boolean if a field has been set.

func (*MetricBulkTagConfigCreateAttributes) HasTags ¶

HasTags returns a boolean if a field has been set.

func (MetricBulkTagConfigCreateAttributes) MarshalJSON ¶

func (o MetricBulkTagConfigCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigCreateAttributes) SetEmails ¶

func (o *MetricBulkTagConfigCreateAttributes) SetEmails(v []string)

SetEmails gets a reference to the given []string and assigns it to the Emails field.

func (*MetricBulkTagConfigCreateAttributes) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricBulkTagConfigCreateAttributes) UnmarshalJSON ¶

func (o *MetricBulkTagConfigCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigCreateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*MetricBulkTagConfigCreateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (MetricBulkTagConfigCreateRequest) MarshalJSON ¶

func (o MetricBulkTagConfigCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigCreateRequest) SetData ¶

SetData sets field value.

func (*MetricBulkTagConfigCreateRequest) UnmarshalJSON ¶

func (o *MetricBulkTagConfigCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigDelete ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricBulkTagConfigDelete) 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 (*MetricBulkTagConfigDelete) GetId ¶

func (o *MetricBulkTagConfigDelete) GetId() string

GetId returns the Id field value.

func (*MetricBulkTagConfigDelete) GetIdOk ¶

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 ¶

GetType returns the Type field value.

func (*MetricBulkTagConfigDelete) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigDelete) HasAttributes ¶

func (o *MetricBulkTagConfigDelete) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricBulkTagConfigDelete) MarshalJSON ¶

func (o MetricBulkTagConfigDelete) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigDelete) SetAttributes ¶

SetAttributes gets a reference to the given MetricBulkTagConfigDeleteAttributes and assigns it to the Attributes field.

func (*MetricBulkTagConfigDelete) SetId ¶

func (o *MetricBulkTagConfigDelete) SetId(v string)

SetId sets field value.

func (*MetricBulkTagConfigDelete) SetType ¶

SetType sets field value.

func (*MetricBulkTagConfigDelete) UnmarshalJSON ¶

func (o *MetricBulkTagConfigDelete) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigDeleteAttributes ¶

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 ¶

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 ¶

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 ¶

GetEmails returns the Emails field value if set, zero value otherwise.

func (*MetricBulkTagConfigDeleteAttributes) GetEmailsOk ¶

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 ¶

HasEmails returns a boolean if a field has been set.

func (MetricBulkTagConfigDeleteAttributes) MarshalJSON ¶

func (o MetricBulkTagConfigDeleteAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigDeleteAttributes) SetEmails ¶

func (o *MetricBulkTagConfigDeleteAttributes) SetEmails(v []string)

SetEmails gets a reference to the given []string and assigns it to the Emails field.

func (*MetricBulkTagConfigDeleteAttributes) UnmarshalJSON ¶

func (o *MetricBulkTagConfigDeleteAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigDeleteRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*MetricBulkTagConfigDeleteRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (MetricBulkTagConfigDeleteRequest) MarshalJSON ¶

func (o MetricBulkTagConfigDeleteRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigDeleteRequest) SetData ¶

SetData sets field value.

func (*MetricBulkTagConfigDeleteRequest) UnmarshalJSON ¶

func (o *MetricBulkTagConfigDeleteRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigResponse ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value if set, zero value otherwise.

func (*MetricBulkTagConfigResponse) 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 (*MetricBulkTagConfigResponse) HasData ¶

func (o *MetricBulkTagConfigResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (MetricBulkTagConfigResponse) MarshalJSON ¶

func (o MetricBulkTagConfigResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigResponse) SetData ¶

SetData gets a reference to the given MetricBulkTagConfigStatus and assigns it to the Data field.

func (*MetricBulkTagConfigResponse) UnmarshalJSON ¶

func (o *MetricBulkTagConfigResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigStatus ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatus) 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 (*MetricBulkTagConfigStatus) GetId ¶

func (o *MetricBulkTagConfigStatus) GetId() string

GetId returns the Id field value.

func (*MetricBulkTagConfigStatus) GetIdOk ¶

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 ¶

GetType returns the Type field value.

func (*MetricBulkTagConfigStatus) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatus) HasAttributes ¶

func (o *MetricBulkTagConfigStatus) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricBulkTagConfigStatus) MarshalJSON ¶

func (o MetricBulkTagConfigStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigStatus) SetAttributes ¶

SetAttributes gets a reference to the given MetricBulkTagConfigStatusAttributes and assigns it to the Attributes field.

func (*MetricBulkTagConfigStatus) SetId ¶

func (o *MetricBulkTagConfigStatus) SetId(v string)

SetId sets field value.

func (*MetricBulkTagConfigStatus) SetType ¶

SetType sets field value.

func (*MetricBulkTagConfigStatus) UnmarshalJSON ¶

func (o *MetricBulkTagConfigStatus) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricBulkTagConfigStatusAttributes ¶

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 ¶

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 ¶

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 ¶

GetEmails returns the Emails field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatusAttributes) GetEmailsOk ¶

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 ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatusAttributes) GetStatusOk ¶

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 ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatusAttributes) GetTagsOk ¶

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 ¶

HasEmails returns a boolean if a field has been set.

func (*MetricBulkTagConfigStatusAttributes) HasStatus ¶

HasStatus returns a boolean if a field has been set.

func (*MetricBulkTagConfigStatusAttributes) HasTags ¶

HasTags returns a boolean if a field has been set.

func (MetricBulkTagConfigStatusAttributes) MarshalJSON ¶

func (o MetricBulkTagConfigStatusAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricBulkTagConfigStatusAttributes) SetEmails ¶

func (o *MetricBulkTagConfigStatusAttributes) SetEmails(v []string)

SetEmails gets a reference to the given []string and assigns it to the Emails field.

func (*MetricBulkTagConfigStatusAttributes) SetStatus ¶

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*MetricBulkTagConfigStatusAttributes) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricBulkTagConfigStatusAttributes) UnmarshalJSON ¶

func (o *MetricBulkTagConfigStatusAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricContentEncoding ¶

type MetricContentEncoding string

MetricContentEncoding HTTP header used to compress the media-type.

const (
	METRICCONTENTENCODING_DEFLATE MetricContentEncoding = "deflate"
	METRICCONTENTENCODING_ZSTD1   MetricContentEncoding = "zstd1"
	METRICCONTENTENCODING_GZIP    MetricContentEncoding = "gzip"
)

List of MetricContentEncoding.

func NewMetricContentEncodingFromValue ¶

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 ¶

func (v *MetricContentEncoding) GetAllowedValues() []MetricContentEncoding

GetAllowedValues reeturns the list of possible values.

func (MetricContentEncoding) IsValid ¶

func (v MetricContentEncoding) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricContentEncoding) Ptr ¶

Ptr returns reference to MetricContentEncoding value.

func (*MetricContentEncoding) UnmarshalJSON ¶

func (v *MetricContentEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricCustomAggregation ¶

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 ¶

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 ¶

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 ¶

GetSpace returns the Space field value.

func (*MetricCustomAggregation) GetSpaceOk ¶

GetSpaceOk returns a tuple with the Space field value and a boolean to check if the value has been set.

func (*MetricCustomAggregation) GetTime ¶

GetTime returns the Time field value.

func (*MetricCustomAggregation) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (MetricCustomAggregation) MarshalJSON ¶

func (o MetricCustomAggregation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricCustomAggregation) SetSpace ¶

SetSpace sets field value.

func (*MetricCustomAggregation) SetTime ¶

SetTime sets field value.

func (*MetricCustomAggregation) UnmarshalJSON ¶

func (o *MetricCustomAggregation) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricCustomSpaceAggregation ¶

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 ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (MetricCustomSpaceAggregation) IsValid ¶

func (v MetricCustomSpaceAggregation) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricCustomSpaceAggregation) Ptr ¶

Ptr returns reference to MetricCustomSpaceAggregation value.

func (*MetricCustomSpaceAggregation) UnmarshalJSON ¶

func (v *MetricCustomSpaceAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricCustomTimeAggregation ¶

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 ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (MetricCustomTimeAggregation) IsValid ¶

func (v MetricCustomTimeAggregation) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricCustomTimeAggregation) Ptr ¶

Ptr returns reference to MetricCustomTimeAggregation value.

func (*MetricCustomTimeAggregation) UnmarshalJSON ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *MetricEstimate) GetAttributes() MetricEstimateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricEstimate) GetAttributesOk ¶

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 ¶

func (o *MetricEstimate) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MetricEstimate) GetIdOk ¶

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 ¶

GetType returns the Type field value if set, zero value otherwise.

func (*MetricEstimate) GetTypeOk ¶

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 ¶

func (o *MetricEstimate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*MetricEstimate) HasId ¶

func (o *MetricEstimate) HasId() bool

HasId returns a boolean if a field has been set.

func (*MetricEstimate) HasType ¶

func (o *MetricEstimate) HasType() bool

HasType returns a boolean if a field has been set.

func (MetricEstimate) MarshalJSON ¶

func (o MetricEstimate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricEstimate) SetAttributes ¶

func (o *MetricEstimate) SetAttributes(v MetricEstimateAttributes)

SetAttributes gets a reference to the given MetricEstimateAttributes and assigns it to the Attributes field.

func (*MetricEstimate) SetId ¶

func (o *MetricEstimate) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricEstimate) SetType ¶

SetType gets a reference to the given MetricEstimateResourceType and assigns it to the Type field.

func (*MetricEstimate) UnmarshalJSON ¶

func (o *MetricEstimate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricEstimateAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *MetricEstimateAttributes) GetEstimateType() MetricEstimateType

GetEstimateType returns the EstimateType field value if set, zero value otherwise.

func (*MetricEstimateAttributes) GetEstimateTypeOk ¶

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 ¶

func (o *MetricEstimateAttributes) GetEstimatedAt() time.Time

GetEstimatedAt returns the EstimatedAt field value if set, zero value otherwise.

func (*MetricEstimateAttributes) GetEstimatedAtOk ¶

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 ¶

func (o *MetricEstimateAttributes) GetEstimatedOutputSeries() int64

GetEstimatedOutputSeries returns the EstimatedOutputSeries field value if set, zero value otherwise.

func (*MetricEstimateAttributes) GetEstimatedOutputSeriesOk ¶

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 ¶

func (o *MetricEstimateAttributes) HasEstimateType() bool

HasEstimateType returns a boolean if a field has been set.

func (*MetricEstimateAttributes) HasEstimatedAt ¶

func (o *MetricEstimateAttributes) HasEstimatedAt() bool

HasEstimatedAt returns a boolean if a field has been set.

func (*MetricEstimateAttributes) HasEstimatedOutputSeries ¶

func (o *MetricEstimateAttributes) HasEstimatedOutputSeries() bool

HasEstimatedOutputSeries returns a boolean if a field has been set.

func (MetricEstimateAttributes) MarshalJSON ¶

func (o MetricEstimateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricEstimateAttributes) SetEstimateType ¶

func (o *MetricEstimateAttributes) SetEstimateType(v MetricEstimateType)

SetEstimateType gets a reference to the given MetricEstimateType and assigns it to the EstimateType field.

func (*MetricEstimateAttributes) SetEstimatedAt ¶

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 ¶

func (o *MetricEstimateAttributes) SetEstimatedOutputSeries(v int64)

SetEstimatedOutputSeries gets a reference to the given int64 and assigns it to the EstimatedOutputSeries field.

func (*MetricEstimateAttributes) UnmarshalJSON ¶

func (o *MetricEstimateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricEstimateResourceType ¶

type MetricEstimateResourceType string

MetricEstimateResourceType The metric estimate resource type.

const (
	METRICESTIMATERESOURCETYPE_METRIC_CARDINALITY_ESTIMATE MetricEstimateResourceType = "metric_cardinality_estimate"
)

List of MetricEstimateResourceType.

func NewMetricEstimateResourceTypeFromValue ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (MetricEstimateResourceType) IsValid ¶

func (v MetricEstimateResourceType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricEstimateResourceType) Ptr ¶

Ptr returns reference to MetricEstimateResourceType value.

func (*MetricEstimateResourceType) UnmarshalJSON ¶

func (v *MetricEstimateResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricEstimateResponse ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value if set, zero value otherwise.

func (*MetricEstimateResponse) GetDataOk ¶

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 ¶

func (o *MetricEstimateResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (MetricEstimateResponse) MarshalJSON ¶

func (o MetricEstimateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricEstimateResponse) SetData ¶

func (o *MetricEstimateResponse) SetData(v MetricEstimate)

SetData gets a reference to the given MetricEstimate and assigns it to the Data field.

func (*MetricEstimateResponse) UnmarshalJSON ¶

func (o *MetricEstimateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricEstimateType ¶

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 ¶

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 ¶

func (v *MetricEstimateType) GetAllowedValues() []MetricEstimateType

GetAllowedValues reeturns the list of possible values.

func (MetricEstimateType) IsValid ¶

func (v MetricEstimateType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricEstimateType) Ptr ¶

Ptr returns reference to MetricEstimateType value.

func (*MetricEstimateType) UnmarshalJSON ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (v *MetricIntakeType) GetAllowedValues() []MetricIntakeType

GetAllowedValues reeturns the list of possible values.

func (MetricIntakeType) IsValid ¶

func (v MetricIntakeType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricIntakeType) Ptr ¶

Ptr returns reference to MetricIntakeType value.

func (*MetricIntakeType) UnmarshalJSON ¶

func (v *MetricIntakeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricMetadata ¶

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 ¶

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 ¶

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 ¶

func (o *MetricMetadata) GetOrigin() MetricOrigin

GetOrigin returns the Origin field value if set, zero value otherwise.

func (*MetricMetadata) GetOriginOk ¶

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 ¶

func (o *MetricMetadata) HasOrigin() bool

HasOrigin returns a boolean if a field has been set.

func (MetricMetadata) MarshalJSON ¶

func (o MetricMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricMetadata) SetOrigin ¶

func (o *MetricMetadata) SetOrigin(v MetricOrigin)

SetOrigin gets a reference to the given MetricOrigin and assigns it to the Origin field.

func (*MetricMetadata) UnmarshalJSON ¶

func (o *MetricMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricOrigin ¶

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 ¶

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 ¶

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 ¶

func (o *MetricOrigin) GetMetricType() int32

GetMetricType returns the MetricType field value if set, zero value otherwise.

func (*MetricOrigin) GetMetricTypeOk ¶

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 ¶

func (o *MetricOrigin) GetProduct() int32

GetProduct returns the Product field value if set, zero value otherwise.

func (*MetricOrigin) GetProductOk ¶

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 ¶

func (o *MetricOrigin) GetService() int32

GetService returns the Service field value if set, zero value otherwise.

func (*MetricOrigin) GetServiceOk ¶

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 ¶

func (o *MetricOrigin) HasMetricType() bool

HasMetricType returns a boolean if a field has been set.

func (*MetricOrigin) HasProduct ¶

func (o *MetricOrigin) HasProduct() bool

HasProduct returns a boolean if a field has been set.

func (*MetricOrigin) HasService ¶

func (o *MetricOrigin) HasService() bool

HasService returns a boolean if a field has been set.

func (MetricOrigin) MarshalJSON ¶

func (o MetricOrigin) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricOrigin) SetMetricType ¶

func (o *MetricOrigin) SetMetricType(v int32)

SetMetricType gets a reference to the given int32 and assigns it to the MetricType field.

func (*MetricOrigin) SetProduct ¶

func (o *MetricOrigin) SetProduct(v int32)

SetProduct gets a reference to the given int32 and assigns it to the Product field.

func (*MetricOrigin) SetService ¶

func (o *MetricOrigin) SetService(v int32)

SetService gets a reference to the given int32 and assigns it to the Service field.

func (*MetricOrigin) UnmarshalJSON ¶

func (o *MetricOrigin) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricPayload ¶

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 ¶

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 ¶

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 ¶

func (o *MetricPayload) GetSeries() []MetricSeries

GetSeries returns the Series field value.

func (*MetricPayload) GetSeriesOk ¶

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 ¶

func (o MetricPayload) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricPayload) SetSeries ¶

func (o *MetricPayload) SetSeries(v []MetricSeries)

SetSeries sets field value.

func (*MetricPayload) UnmarshalJSON ¶

func (o *MetricPayload) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricPoint ¶

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 ¶

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 ¶

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 ¶

func (o *MetricPoint) GetTimestamp() int64

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*MetricPoint) GetTimestampOk ¶

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 ¶

func (o *MetricPoint) GetValue() float64

GetValue returns the Value field value if set, zero value otherwise.

func (*MetricPoint) GetValueOk ¶

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 ¶

func (o *MetricPoint) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*MetricPoint) HasValue ¶

func (o *MetricPoint) HasValue() bool

HasValue returns a boolean if a field has been set.

func (MetricPoint) MarshalJSON ¶

func (o MetricPoint) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricPoint) SetTimestamp ¶

func (o *MetricPoint) SetTimestamp(v int64)

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

func (*MetricPoint) SetValue ¶

func (o *MetricPoint) SetValue(v float64)

SetValue gets a reference to the given float64 and assigns it to the Value field.

func (*MetricPoint) UnmarshalJSON ¶

func (o *MetricPoint) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricResource ¶

type MetricResource struct {
	// The name of the resource.
	Name *string `json:"name,omitempty"`
	// The type of the resource.
	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 ¶

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 ¶

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 ¶

func (o *MetricResource) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MetricResource) GetNameOk ¶

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 ¶

func (o *MetricResource) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*MetricResource) GetTypeOk ¶

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 ¶

func (o *MetricResource) HasName() bool

HasName returns a boolean if a field has been set.

func (*MetricResource) HasType ¶

func (o *MetricResource) HasType() bool

HasType returns a boolean if a field has been set.

func (MetricResource) MarshalJSON ¶

func (o MetricResource) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricResource) SetName ¶

func (o *MetricResource) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MetricResource) SetType ¶

func (o *MetricResource) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*MetricResource) UnmarshalJSON ¶

func (o *MetricResource) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricSeries ¶

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 ¶

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 ¶

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 ¶

func (o *MetricSeries) GetInterval() int64

GetInterval returns the Interval field value if set, zero value otherwise.

func (*MetricSeries) GetIntervalOk ¶

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 ¶

func (o *MetricSeries) GetMetadata() MetricMetadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*MetricSeries) GetMetadataOk ¶

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 ¶

func (o *MetricSeries) GetMetric() string

GetMetric returns the Metric field value.

func (*MetricSeries) GetMetricOk ¶

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 ¶

func (o *MetricSeries) GetPoints() []MetricPoint

GetPoints returns the Points field value.

func (*MetricSeries) GetPointsOk ¶

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 ¶

func (o *MetricSeries) GetResources() []MetricResource

GetResources returns the Resources field value if set, zero value otherwise.

func (*MetricSeries) GetResourcesOk ¶

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 ¶

func (o *MetricSeries) GetSourceTypeName() string

GetSourceTypeName returns the SourceTypeName field value if set, zero value otherwise.

func (*MetricSeries) GetSourceTypeNameOk ¶

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 ¶

func (o *MetricSeries) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricSeries) GetTagsOk ¶

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 ¶

func (o *MetricSeries) GetType() MetricIntakeType

GetType returns the Type field value if set, zero value otherwise.

func (*MetricSeries) GetTypeOk ¶

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 ¶

func (o *MetricSeries) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*MetricSeries) GetUnitOk ¶

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 ¶

func (o *MetricSeries) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*MetricSeries) HasMetadata ¶

func (o *MetricSeries) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*MetricSeries) HasResources ¶

func (o *MetricSeries) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*MetricSeries) HasSourceTypeName ¶

func (o *MetricSeries) HasSourceTypeName() bool

HasSourceTypeName returns a boolean if a field has been set.

func (*MetricSeries) HasTags ¶

func (o *MetricSeries) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*MetricSeries) HasType ¶

func (o *MetricSeries) HasType() bool

HasType returns a boolean if a field has been set.

func (*MetricSeries) HasUnit ¶

func (o *MetricSeries) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (MetricSeries) MarshalJSON ¶

func (o MetricSeries) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricSeries) SetInterval ¶

func (o *MetricSeries) SetInterval(v int64)

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*MetricSeries) SetMetadata ¶

func (o *MetricSeries) SetMetadata(v MetricMetadata)

SetMetadata gets a reference to the given MetricMetadata and assigns it to the Metadata field.

func (*MetricSeries) SetMetric ¶

func (o *MetricSeries) SetMetric(v string)

SetMetric sets field value.

func (*MetricSeries) SetPoints ¶

func (o *MetricSeries) SetPoints(v []MetricPoint)

SetPoints sets field value.

func (*MetricSeries) SetResources ¶

func (o *MetricSeries) SetResources(v []MetricResource)

SetResources gets a reference to the given []MetricResource and assigns it to the Resources field.

func (*MetricSeries) SetSourceTypeName ¶

func (o *MetricSeries) SetSourceTypeName(v string)

SetSourceTypeName gets a reference to the given string and assigns it to the SourceTypeName field.

func (*MetricSeries) SetTags ¶

func (o *MetricSeries) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricSeries) SetType ¶

func (o *MetricSeries) SetType(v MetricIntakeType)

SetType gets a reference to the given MetricIntakeType and assigns it to the Type field.

func (*MetricSeries) SetUnit ¶

func (o *MetricSeries) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*MetricSeries) UnmarshalJSON ¶

func (o *MetricSeries) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricSuggestedTagsAndAggregations ¶ added in v2.3.0

type MetricSuggestedTagsAndAggregations struct {
	// Object containing the definition of a metric's actively queried tags and aggregations.
	Attributes *MetricSuggestedTagsAttributes `json:"attributes,omitempty"`
	// The metric name for this resource.
	Id *string `json:"id,omitempty"`
	// The metric actively queried configuration resource type.
	Type *MetricActiveConfigurationType `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{}
}

MetricSuggestedTagsAndAggregations Object for a single metric's actively queried tags and aggregations.

func NewMetricSuggestedTagsAndAggregations ¶ added in v2.3.0

func NewMetricSuggestedTagsAndAggregations() *MetricSuggestedTagsAndAggregations

NewMetricSuggestedTagsAndAggregations instantiates a new MetricSuggestedTagsAndAggregations object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricSuggestedTagsAndAggregationsWithDefaults ¶ added in v2.3.0

func NewMetricSuggestedTagsAndAggregationsWithDefaults() *MetricSuggestedTagsAndAggregations

NewMetricSuggestedTagsAndAggregationsWithDefaults instantiates a new MetricSuggestedTagsAndAggregations object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricSuggestedTagsAndAggregations) GetAttributes ¶ added in v2.3.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricSuggestedTagsAndAggregations) GetAttributesOk ¶ added in v2.3.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 (*MetricSuggestedTagsAndAggregations) GetId ¶ added in v2.3.0

GetId returns the Id field value if set, zero value otherwise.

func (*MetricSuggestedTagsAndAggregations) GetIdOk ¶ added in v2.3.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 (*MetricSuggestedTagsAndAggregations) GetType ¶ added in v2.3.0

GetType returns the Type field value if set, zero value otherwise.

func (*MetricSuggestedTagsAndAggregations) GetTypeOk ¶ added in v2.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 (*MetricSuggestedTagsAndAggregations) HasAttributes ¶ added in v2.3.0

func (o *MetricSuggestedTagsAndAggregations) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*MetricSuggestedTagsAndAggregations) HasId ¶ added in v2.3.0

HasId returns a boolean if a field has been set.

func (*MetricSuggestedTagsAndAggregations) HasType ¶ added in v2.3.0

HasType returns a boolean if a field has been set.

func (MetricSuggestedTagsAndAggregations) MarshalJSON ¶ added in v2.3.0

func (o MetricSuggestedTagsAndAggregations) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricSuggestedTagsAndAggregations) SetAttributes ¶ added in v2.3.0

SetAttributes gets a reference to the given MetricSuggestedTagsAttributes and assigns it to the Attributes field.

func (*MetricSuggestedTagsAndAggregations) SetId ¶ added in v2.3.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricSuggestedTagsAndAggregations) SetType ¶ added in v2.3.0

SetType gets a reference to the given MetricActiveConfigurationType and assigns it to the Type field.

func (*MetricSuggestedTagsAndAggregations) UnmarshalJSON ¶ added in v2.3.0

func (o *MetricSuggestedTagsAndAggregations) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricSuggestedTagsAndAggregationsResponse ¶ added in v2.3.0

type MetricSuggestedTagsAndAggregationsResponse struct {
	// Object for a single metric's actively queried tags and aggregations.
	Data *MetricSuggestedTagsAndAggregations `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{}
}

MetricSuggestedTagsAndAggregationsResponse Response object that includes a single metric's actively queried tags and aggregations.

func NewMetricSuggestedTagsAndAggregationsResponse ¶ added in v2.3.0

func NewMetricSuggestedTagsAndAggregationsResponse() *MetricSuggestedTagsAndAggregationsResponse

NewMetricSuggestedTagsAndAggregationsResponse instantiates a new MetricSuggestedTagsAndAggregationsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricSuggestedTagsAndAggregationsResponseWithDefaults ¶ added in v2.3.0

func NewMetricSuggestedTagsAndAggregationsResponseWithDefaults() *MetricSuggestedTagsAndAggregationsResponse

NewMetricSuggestedTagsAndAggregationsResponseWithDefaults instantiates a new MetricSuggestedTagsAndAggregationsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricSuggestedTagsAndAggregationsResponse) GetData ¶ added in v2.3.0

GetData returns the Data field value if set, zero value otherwise.

func (*MetricSuggestedTagsAndAggregationsResponse) GetDataOk ¶ added in v2.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 (*MetricSuggestedTagsAndAggregationsResponse) HasData ¶ added in v2.3.0

HasData returns a boolean if a field has been set.

func (MetricSuggestedTagsAndAggregationsResponse) MarshalJSON ¶ added in v2.3.0

MarshalJSON serializes the struct using spec logic.

func (*MetricSuggestedTagsAndAggregationsResponse) SetData ¶ added in v2.3.0

SetData gets a reference to the given MetricSuggestedTagsAndAggregations and assigns it to the Data field.

func (*MetricSuggestedTagsAndAggregationsResponse) UnmarshalJSON ¶ added in v2.3.0

func (o *MetricSuggestedTagsAndAggregationsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricSuggestedTagsAttributes ¶ added in v2.3.0

type MetricSuggestedTagsAttributes struct {
	// List of aggregation combinations that have been actively queried.
	ActiveAggregations []MetricCustomAggregation `json:"active_aggregations,omitempty"`
	// List of tag keys that have been actively queried.
	ActiveTags []string `json:"active_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{}
}

MetricSuggestedTagsAttributes Object containing the definition of a metric's actively queried tags and aggregations.

func NewMetricSuggestedTagsAttributes ¶ added in v2.3.0

func NewMetricSuggestedTagsAttributes() *MetricSuggestedTagsAttributes

NewMetricSuggestedTagsAttributes instantiates a new MetricSuggestedTagsAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricSuggestedTagsAttributesWithDefaults ¶ added in v2.3.0

func NewMetricSuggestedTagsAttributesWithDefaults() *MetricSuggestedTagsAttributes

NewMetricSuggestedTagsAttributesWithDefaults instantiates a new MetricSuggestedTagsAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricSuggestedTagsAttributes) GetActiveAggregations ¶ added in v2.3.0

func (o *MetricSuggestedTagsAttributes) GetActiveAggregations() []MetricCustomAggregation

GetActiveAggregations returns the ActiveAggregations field value if set, zero value otherwise.

func (*MetricSuggestedTagsAttributes) GetActiveAggregationsOk ¶ added in v2.3.0

func (o *MetricSuggestedTagsAttributes) GetActiveAggregationsOk() (*[]MetricCustomAggregation, bool)

GetActiveAggregationsOk returns a tuple with the ActiveAggregations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSuggestedTagsAttributes) GetActiveTags ¶ added in v2.3.0

func (o *MetricSuggestedTagsAttributes) GetActiveTags() []string

GetActiveTags returns the ActiveTags field value if set, zero value otherwise.

func (*MetricSuggestedTagsAttributes) GetActiveTagsOk ¶ added in v2.3.0

func (o *MetricSuggestedTagsAttributes) GetActiveTagsOk() (*[]string, bool)

GetActiveTagsOk returns a tuple with the ActiveTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSuggestedTagsAttributes) HasActiveAggregations ¶ added in v2.3.0

func (o *MetricSuggestedTagsAttributes) HasActiveAggregations() bool

HasActiveAggregations returns a boolean if a field has been set.

func (*MetricSuggestedTagsAttributes) HasActiveTags ¶ added in v2.3.0

func (o *MetricSuggestedTagsAttributes) HasActiveTags() bool

HasActiveTags returns a boolean if a field has been set.

func (MetricSuggestedTagsAttributes) MarshalJSON ¶ added in v2.3.0

func (o MetricSuggestedTagsAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricSuggestedTagsAttributes) SetActiveAggregations ¶ added in v2.3.0

func (o *MetricSuggestedTagsAttributes) SetActiveAggregations(v []MetricCustomAggregation)

SetActiveAggregations gets a reference to the given []MetricCustomAggregation and assigns it to the ActiveAggregations field.

func (*MetricSuggestedTagsAttributes) SetActiveTags ¶ added in v2.3.0

func (o *MetricSuggestedTagsAttributes) SetActiveTags(v []string)

SetActiveTags gets a reference to the given []string and assigns it to the ActiveTags field.

func (*MetricSuggestedTagsAttributes) UnmarshalJSON ¶ added in v2.3.0

func (o *MetricSuggestedTagsAttributes) 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 ¶

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 include or exclude 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 ¶

GetAggregations returns the Aggregations field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetAggregationsOk ¶

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 ¶

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 ¶

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 ¶

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 ¶

GetAggregations returns the Aggregations field value if set, zero value otherwise.

func (*MetricTagConfigurationCreateAttributes) GetAggregationsOk ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

GetAggregations returns the Aggregations field value if set, zero value otherwise.

func (*MetricTagConfigurationUpdateAttributes) GetAggregationsOk ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *MetricVolumesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricsAggregator ¶ added in v2.7.0

type MetricsAggregator string

MetricsAggregator The type of aggregation that can be performed on metrics queries.

const (
	METRICSAGGREGATOR_AVG        MetricsAggregator = "avg"
	METRICSAGGREGATOR_MIN        MetricsAggregator = "min"
	METRICSAGGREGATOR_MAX        MetricsAggregator = "max"
	METRICSAGGREGATOR_SUM        MetricsAggregator = "sum"
	METRICSAGGREGATOR_LAST       MetricsAggregator = "last"
	METRICSAGGREGATOR_PERCENTILE MetricsAggregator = "percentile"
	METRICSAGGREGATOR_MEAN       MetricsAggregator = "mean"
	METRICSAGGREGATOR_L2NORM     MetricsAggregator = "l2norm"
	METRICSAGGREGATOR_AREA       MetricsAggregator = "area"
)

List of MetricsAggregator.

func NewMetricsAggregatorFromValue ¶ added in v2.7.0

func NewMetricsAggregatorFromValue(v string) (*MetricsAggregator, error)

NewMetricsAggregatorFromValue returns a pointer to a valid MetricsAggregator for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricsAggregator) GetAllowedValues ¶ added in v2.7.0

func (v *MetricsAggregator) GetAllowedValues() []MetricsAggregator

GetAllowedValues reeturns the list of possible values.

func (MetricsAggregator) IsValid ¶ added in v2.7.0

func (v MetricsAggregator) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricsAggregator) Ptr ¶ added in v2.7.0

Ptr returns reference to MetricsAggregator value.

func (*MetricsAggregator) UnmarshalJSON ¶ added in v2.7.0

func (v *MetricsAggregator) UnmarshalJSON(src []byte) 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 ¶

func (o *MetricsAndMetricTagConfigurationsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricsApi ¶

type MetricsApi datadog.Service

MetricsApi service type

func NewMetricsApi ¶

func NewMetricsApi(client *datadog.APIClient) *MetricsApi

NewMetricsApi Returns NewMetricsApi.

func (*MetricsApi) CreateBulkTagsMetricsConfiguration ¶

func (a *MetricsApi) CreateBulkTagsMetricsConfiguration(ctx _context.Context, body MetricBulkTagConfigCreateRequest) (MetricBulkTagConfigResponse, *_nethttp.Response, error)

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 (*MetricsApi) 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 (*MetricsApi) DeleteBulkTagsMetricsConfiguration ¶

func (a *MetricsApi) DeleteBulkTagsMetricsConfiguration(ctx _context.Context, body MetricBulkTagConfigDeleteRequest) (MetricBulkTagConfigResponse, *_nethttp.Response, error)

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 (*MetricsApi) DeleteTagConfiguration ¶

func (a *MetricsApi) 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 (*MetricsApi) EstimateMetricsOutputSeries ¶

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 (*MetricsApi) ListActiveMetricConfigurations ¶ added in v2.3.0

ListActiveMetricConfigurations List active tags and aggregations. List tags and aggregations that are actively queried on dashboards and monitors for a given metric name.

func (*MetricsApi) ListTagConfigurationByName ¶

func (a *MetricsApi) 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 (*MetricsApi) ListTagConfigurations ¶

ListTagConfigurations Get a list of metrics. Returns all metrics that can be configured in the Metrics Summary page or with Metrics without Limits™ (matching additional filters if specified).

func (*MetricsApi) ListTagsByMetricName ¶

func (a *MetricsApi) 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 (*MetricsApi) ListVolumesByMetricName ¶

func (a *MetricsApi) 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 (*MetricsApi) QueryScalarData ¶ added in v2.7.0

QueryScalarData Query scalar data across multiple products. Query scalar values (as seen on Query Value, Table and Toplist widgets). Multiple data sources are supported with the ability to process the data using formulas and functions.

func (*MetricsApi) QueryTimeseriesData ¶ added in v2.7.0

QueryTimeseriesData Query timeseries data across multiple products. Query timeseries data across various data sources and process the data by applying formulas and functions.

func (*MetricsApi) SubmitMetrics ¶

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.

Host name is one of the resources in the Resources field.

func (*MetricsApi) 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 MetricsDataSource ¶ added in v2.7.0

type MetricsDataSource string

MetricsDataSource A data source that is powered by the Metrics platform.

const (
	METRICSDATASOURCE_METRICS    MetricsDataSource = "metrics"
	METRICSDATASOURCE_CLOUD_COST MetricsDataSource = "cloud_cost"
)

List of MetricsDataSource.

func NewMetricsDataSourceFromValue ¶ added in v2.7.0

func NewMetricsDataSourceFromValue(v string) (*MetricsDataSource, error)

NewMetricsDataSourceFromValue returns a pointer to a valid MetricsDataSource for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricsDataSource) GetAllowedValues ¶ added in v2.7.0

func (v *MetricsDataSource) GetAllowedValues() []MetricsDataSource

GetAllowedValues reeturns the list of possible values.

func (MetricsDataSource) IsValid ¶ added in v2.7.0

func (v MetricsDataSource) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricsDataSource) Ptr ¶ added in v2.7.0

Ptr returns reference to MetricsDataSource value.

func (*MetricsDataSource) UnmarshalJSON ¶ added in v2.7.0

func (v *MetricsDataSource) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricsScalarQuery ¶ added in v2.7.0

type MetricsScalarQuery struct {
	// The type of aggregation that can be performed on metrics queries.
	Aggregator MetricsAggregator `json:"aggregator"`
	// A data source that is powered by the Metrics platform.
	DataSource MetricsDataSource `json:"data_source"`
	// The variable name for use in formulas.
	Name *string `json:"name,omitempty"`
	// A classic metrics query string.
	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{}
}

MetricsScalarQuery An individual scalar metrics query.

func NewMetricsScalarQuery ¶ added in v2.7.0

func NewMetricsScalarQuery(aggregator MetricsAggregator, dataSource MetricsDataSource, query string) *MetricsScalarQuery

NewMetricsScalarQuery instantiates a new MetricsScalarQuery object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricsScalarQueryWithDefaults ¶ added in v2.7.0

func NewMetricsScalarQueryWithDefaults() *MetricsScalarQuery

NewMetricsScalarQueryWithDefaults instantiates a new MetricsScalarQuery object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricsScalarQuery) GetAggregator ¶ added in v2.7.0

func (o *MetricsScalarQuery) GetAggregator() MetricsAggregator

GetAggregator returns the Aggregator field value.

func (*MetricsScalarQuery) GetAggregatorOk ¶ added in v2.7.0

func (o *MetricsScalarQuery) GetAggregatorOk() (*MetricsAggregator, bool)

GetAggregatorOk returns a tuple with the Aggregator field value and a boolean to check if the value has been set.

func (*MetricsScalarQuery) GetDataSource ¶ added in v2.7.0

func (o *MetricsScalarQuery) GetDataSource() MetricsDataSource

GetDataSource returns the DataSource field value.

func (*MetricsScalarQuery) GetDataSourceOk ¶ added in v2.7.0

func (o *MetricsScalarQuery) GetDataSourceOk() (*MetricsDataSource, bool)

GetDataSourceOk returns a tuple with the DataSource field value and a boolean to check if the value has been set.

func (*MetricsScalarQuery) GetName ¶ added in v2.7.0

func (o *MetricsScalarQuery) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MetricsScalarQuery) GetNameOk ¶ added in v2.7.0

func (o *MetricsScalarQuery) 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 (*MetricsScalarQuery) GetQuery ¶ added in v2.7.0

func (o *MetricsScalarQuery) GetQuery() string

GetQuery returns the Query field value.

func (*MetricsScalarQuery) GetQueryOk ¶ added in v2.7.0

func (o *MetricsScalarQuery) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (*MetricsScalarQuery) HasName ¶ added in v2.7.0

func (o *MetricsScalarQuery) HasName() bool

HasName returns a boolean if a field has been set.

func (MetricsScalarQuery) MarshalJSON ¶ added in v2.7.0

func (o MetricsScalarQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricsScalarQuery) SetAggregator ¶ added in v2.7.0

func (o *MetricsScalarQuery) SetAggregator(v MetricsAggregator)

SetAggregator sets field value.

func (*MetricsScalarQuery) SetDataSource ¶ added in v2.7.0

func (o *MetricsScalarQuery) SetDataSource(v MetricsDataSource)

SetDataSource sets field value.

func (*MetricsScalarQuery) SetName ¶ added in v2.7.0

func (o *MetricsScalarQuery) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MetricsScalarQuery) SetQuery ¶ added in v2.7.0

func (o *MetricsScalarQuery) SetQuery(v string)

SetQuery sets field value.

func (*MetricsScalarQuery) UnmarshalJSON ¶ added in v2.7.0

func (o *MetricsScalarQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricsTimeseriesQuery ¶ added in v2.7.0

type MetricsTimeseriesQuery struct {
	// A data source that is powered by the Metrics platform.
	DataSource MetricsDataSource `json:"data_source"`
	// The variable name for use in formulas.
	Name *string `json:"name,omitempty"`
	// A classic metrics query string.
	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{}
}

MetricsTimeseriesQuery An individual timeseries metrics query.

func NewMetricsTimeseriesQuery ¶ added in v2.7.0

func NewMetricsTimeseriesQuery(dataSource MetricsDataSource, query string) *MetricsTimeseriesQuery

NewMetricsTimeseriesQuery instantiates a new MetricsTimeseriesQuery object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMetricsTimeseriesQueryWithDefaults ¶ added in v2.7.0

func NewMetricsTimeseriesQueryWithDefaults() *MetricsTimeseriesQuery

NewMetricsTimeseriesQueryWithDefaults instantiates a new MetricsTimeseriesQuery object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MetricsTimeseriesQuery) GetDataSource ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) GetDataSource() MetricsDataSource

GetDataSource returns the DataSource field value.

func (*MetricsTimeseriesQuery) GetDataSourceOk ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) GetDataSourceOk() (*MetricsDataSource, bool)

GetDataSourceOk returns a tuple with the DataSource field value and a boolean to check if the value has been set.

func (*MetricsTimeseriesQuery) GetName ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MetricsTimeseriesQuery) GetNameOk ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) 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 (*MetricsTimeseriesQuery) GetQuery ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) GetQuery() string

GetQuery returns the Query field value.

func (*MetricsTimeseriesQuery) GetQueryOk ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (*MetricsTimeseriesQuery) HasName ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) HasName() bool

HasName returns a boolean if a field has been set.

func (MetricsTimeseriesQuery) MarshalJSON ¶ added in v2.7.0

func (o MetricsTimeseriesQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricsTimeseriesQuery) SetDataSource ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) SetDataSource(v MetricsDataSource)

SetDataSource sets field value.

func (*MetricsTimeseriesQuery) SetName ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MetricsTimeseriesQuery) SetQuery ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) SetQuery(v string)

SetQuery sets field value.

func (*MetricsTimeseriesQuery) UnmarshalJSON ¶ added in v2.7.0

func (o *MetricsTimeseriesQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyAttributeCreateRequest ¶ added in v2.8.0

type MonitorConfigPolicyAttributeCreateRequest struct {
	// Configuration for the policy.
	Policy MonitorConfigPolicyPolicyCreateRequest `json:"policy"`
	// The monitor configuration policy type.
	PolicyType MonitorConfigPolicyType `json:"policy_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{}
}

MonitorConfigPolicyAttributeCreateRequest Policy and policy type for a monitor configuration policy.

func NewMonitorConfigPolicyAttributeCreateRequest ¶ added in v2.8.0

func NewMonitorConfigPolicyAttributeCreateRequest(policy MonitorConfigPolicyPolicyCreateRequest, policyType MonitorConfigPolicyType) *MonitorConfigPolicyAttributeCreateRequest

NewMonitorConfigPolicyAttributeCreateRequest instantiates a new MonitorConfigPolicyAttributeCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyAttributeCreateRequestWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyAttributeCreateRequestWithDefaults() *MonitorConfigPolicyAttributeCreateRequest

NewMonitorConfigPolicyAttributeCreateRequestWithDefaults instantiates a new MonitorConfigPolicyAttributeCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyAttributeCreateRequest) GetPolicy ¶ added in v2.8.0

GetPolicy returns the Policy field value.

func (*MonitorConfigPolicyAttributeCreateRequest) GetPolicyOk ¶ added in v2.8.0

GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.

func (*MonitorConfigPolicyAttributeCreateRequest) GetPolicyType ¶ added in v2.8.0

GetPolicyType returns the PolicyType field value.

func (*MonitorConfigPolicyAttributeCreateRequest) GetPolicyTypeOk ¶ added in v2.8.0

GetPolicyTypeOk returns a tuple with the PolicyType field value and a boolean to check if the value has been set.

func (MonitorConfigPolicyAttributeCreateRequest) MarshalJSON ¶ added in v2.8.0

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyAttributeCreateRequest) SetPolicy ¶ added in v2.8.0

SetPolicy sets field value.

func (*MonitorConfigPolicyAttributeCreateRequest) SetPolicyType ¶ added in v2.8.0

SetPolicyType sets field value.

func (*MonitorConfigPolicyAttributeCreateRequest) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyAttributeCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyAttributeEditRequest ¶ added in v2.8.0

type MonitorConfigPolicyAttributeEditRequest struct {
	// Configuration for the policy.
	Policy MonitorConfigPolicyPolicy `json:"policy"`
	// The monitor configuration policy type.
	PolicyType MonitorConfigPolicyType `json:"policy_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{}
}

MonitorConfigPolicyAttributeEditRequest Policy and policy type for a monitor configuration policy.

func NewMonitorConfigPolicyAttributeEditRequest ¶ added in v2.8.0

func NewMonitorConfigPolicyAttributeEditRequest(policy MonitorConfigPolicyPolicy, policyType MonitorConfigPolicyType) *MonitorConfigPolicyAttributeEditRequest

NewMonitorConfigPolicyAttributeEditRequest instantiates a new MonitorConfigPolicyAttributeEditRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyAttributeEditRequestWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyAttributeEditRequestWithDefaults() *MonitorConfigPolicyAttributeEditRequest

NewMonitorConfigPolicyAttributeEditRequestWithDefaults instantiates a new MonitorConfigPolicyAttributeEditRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyAttributeEditRequest) GetPolicy ¶ added in v2.8.0

GetPolicy returns the Policy field value.

func (*MonitorConfigPolicyAttributeEditRequest) GetPolicyOk ¶ added in v2.8.0

GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.

func (*MonitorConfigPolicyAttributeEditRequest) GetPolicyType ¶ added in v2.8.0

GetPolicyType returns the PolicyType field value.

func (*MonitorConfigPolicyAttributeEditRequest) GetPolicyTypeOk ¶ added in v2.8.0

GetPolicyTypeOk returns a tuple with the PolicyType field value and a boolean to check if the value has been set.

func (MonitorConfigPolicyAttributeEditRequest) MarshalJSON ¶ added in v2.8.0

func (o MonitorConfigPolicyAttributeEditRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyAttributeEditRequest) SetPolicy ¶ added in v2.8.0

SetPolicy sets field value.

func (*MonitorConfigPolicyAttributeEditRequest) SetPolicyType ¶ added in v2.8.0

SetPolicyType sets field value.

func (*MonitorConfigPolicyAttributeEditRequest) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyAttributeEditRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyAttributeResponse ¶ added in v2.8.0

type MonitorConfigPolicyAttributeResponse struct {
	// Configuration for the policy.
	Policy *MonitorConfigPolicyPolicy `json:"policy,omitempty"`
	// The monitor configuration policy type.
	PolicyType *MonitorConfigPolicyType `json:"policy_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{}
}

MonitorConfigPolicyAttributeResponse Policy and policy type for a monitor configuration policy.

func NewMonitorConfigPolicyAttributeResponse ¶ added in v2.8.0

func NewMonitorConfigPolicyAttributeResponse() *MonitorConfigPolicyAttributeResponse

NewMonitorConfigPolicyAttributeResponse instantiates a new MonitorConfigPolicyAttributeResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyAttributeResponseWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyAttributeResponseWithDefaults() *MonitorConfigPolicyAttributeResponse

NewMonitorConfigPolicyAttributeResponseWithDefaults instantiates a new MonitorConfigPolicyAttributeResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyAttributeResponse) GetPolicy ¶ added in v2.8.0

GetPolicy returns the Policy field value if set, zero value otherwise.

func (*MonitorConfigPolicyAttributeResponse) GetPolicyOk ¶ added in v2.8.0

GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorConfigPolicyAttributeResponse) GetPolicyType ¶ added in v2.8.0

GetPolicyType returns the PolicyType field value if set, zero value otherwise.

func (*MonitorConfigPolicyAttributeResponse) GetPolicyTypeOk ¶ added in v2.8.0

GetPolicyTypeOk returns a tuple with the PolicyType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorConfigPolicyAttributeResponse) HasPolicy ¶ added in v2.8.0

HasPolicy returns a boolean if a field has been set.

func (*MonitorConfigPolicyAttributeResponse) HasPolicyType ¶ added in v2.8.0

func (o *MonitorConfigPolicyAttributeResponse) HasPolicyType() bool

HasPolicyType returns a boolean if a field has been set.

func (MonitorConfigPolicyAttributeResponse) MarshalJSON ¶ added in v2.8.0

func (o MonitorConfigPolicyAttributeResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyAttributeResponse) SetPolicy ¶ added in v2.8.0

SetPolicy gets a reference to the given MonitorConfigPolicyPolicy and assigns it to the Policy field.

func (*MonitorConfigPolicyAttributeResponse) SetPolicyType ¶ added in v2.8.0

SetPolicyType gets a reference to the given MonitorConfigPolicyType and assigns it to the PolicyType field.

func (*MonitorConfigPolicyAttributeResponse) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyAttributeResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyCreateData ¶ added in v2.8.0

type MonitorConfigPolicyCreateData struct {
	// Policy and policy type for a monitor configuration policy.
	Attributes MonitorConfigPolicyAttributeCreateRequest `json:"attributes"`
	// Monitor configuration policy resource type.
	Type MonitorConfigPolicyResourceType `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{}
}

MonitorConfigPolicyCreateData A monitor configuration policy data.

func NewMonitorConfigPolicyCreateData ¶ added in v2.8.0

NewMonitorConfigPolicyCreateData instantiates a new MonitorConfigPolicyCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyCreateDataWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyCreateDataWithDefaults() *MonitorConfigPolicyCreateData

NewMonitorConfigPolicyCreateDataWithDefaults instantiates a new MonitorConfigPolicyCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyCreateData) GetAttributes ¶ added in v2.8.0

GetAttributes returns the Attributes field value.

func (*MonitorConfigPolicyCreateData) GetAttributesOk ¶ added in v2.8.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*MonitorConfigPolicyCreateData) GetType ¶ added in v2.8.0

GetType returns the Type field value.

func (*MonitorConfigPolicyCreateData) GetTypeOk ¶ added in v2.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (MonitorConfigPolicyCreateData) MarshalJSON ¶ added in v2.8.0

func (o MonitorConfigPolicyCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyCreateData) SetAttributes ¶ added in v2.8.0

SetAttributes sets field value.

func (*MonitorConfigPolicyCreateData) SetType ¶ added in v2.8.0

SetType sets field value.

func (*MonitorConfigPolicyCreateData) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyCreateRequest ¶ added in v2.8.0

type MonitorConfigPolicyCreateRequest struct {
	// A monitor configuration policy data.
	Data MonitorConfigPolicyCreateData `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{}
}

MonitorConfigPolicyCreateRequest Request for creating a monitor configuration policy.

func NewMonitorConfigPolicyCreateRequest ¶ added in v2.8.0

func NewMonitorConfigPolicyCreateRequest(data MonitorConfigPolicyCreateData) *MonitorConfigPolicyCreateRequest

NewMonitorConfigPolicyCreateRequest instantiates a new MonitorConfigPolicyCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyCreateRequestWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyCreateRequestWithDefaults() *MonitorConfigPolicyCreateRequest

NewMonitorConfigPolicyCreateRequestWithDefaults instantiates a new MonitorConfigPolicyCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyCreateRequest) GetData ¶ added in v2.8.0

GetData returns the Data field value.

func (*MonitorConfigPolicyCreateRequest) GetDataOk ¶ added in v2.8.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (MonitorConfigPolicyCreateRequest) MarshalJSON ¶ added in v2.8.0

func (o MonitorConfigPolicyCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyCreateRequest) SetData ¶ added in v2.8.0

SetData sets field value.

func (*MonitorConfigPolicyCreateRequest) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyEditData ¶ added in v2.8.0

type MonitorConfigPolicyEditData struct {
	// Policy and policy type for a monitor configuration policy.
	Attributes MonitorConfigPolicyAttributeEditRequest `json:"attributes"`
	// ID of this monitor configuration policy.
	Id string `json:"id"`
	// Monitor configuration policy resource type.
	Type MonitorConfigPolicyResourceType `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{}
}

MonitorConfigPolicyEditData A monitor configuration policy data.

func NewMonitorConfigPolicyEditData ¶ added in v2.8.0

NewMonitorConfigPolicyEditData instantiates a new MonitorConfigPolicyEditData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyEditDataWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyEditDataWithDefaults() *MonitorConfigPolicyEditData

NewMonitorConfigPolicyEditDataWithDefaults instantiates a new MonitorConfigPolicyEditData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyEditData) GetAttributes ¶ added in v2.8.0

GetAttributes returns the Attributes field value.

func (*MonitorConfigPolicyEditData) GetAttributesOk ¶ added in v2.8.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*MonitorConfigPolicyEditData) GetId ¶ added in v2.8.0

GetId returns the Id field value.

func (*MonitorConfigPolicyEditData) GetIdOk ¶ added in v2.8.0

func (o *MonitorConfigPolicyEditData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MonitorConfigPolicyEditData) GetType ¶ added in v2.8.0

GetType returns the Type field value.

func (*MonitorConfigPolicyEditData) GetTypeOk ¶ added in v2.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (MonitorConfigPolicyEditData) MarshalJSON ¶ added in v2.8.0

func (o MonitorConfigPolicyEditData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyEditData) SetAttributes ¶ added in v2.8.0

SetAttributes sets field value.

func (*MonitorConfigPolicyEditData) SetId ¶ added in v2.8.0

func (o *MonitorConfigPolicyEditData) SetId(v string)

SetId sets field value.

func (*MonitorConfigPolicyEditData) SetType ¶ added in v2.8.0

SetType sets field value.

func (*MonitorConfigPolicyEditData) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyEditData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyEditRequest ¶ added in v2.8.0

type MonitorConfigPolicyEditRequest struct {
	// A monitor configuration policy data.
	Data MonitorConfigPolicyEditData `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{}
}

MonitorConfigPolicyEditRequest Request for editing a monitor configuration policy.

func NewMonitorConfigPolicyEditRequest ¶ added in v2.8.0

func NewMonitorConfigPolicyEditRequest(data MonitorConfigPolicyEditData) *MonitorConfigPolicyEditRequest

NewMonitorConfigPolicyEditRequest instantiates a new MonitorConfigPolicyEditRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyEditRequestWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyEditRequestWithDefaults() *MonitorConfigPolicyEditRequest

NewMonitorConfigPolicyEditRequestWithDefaults instantiates a new MonitorConfigPolicyEditRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyEditRequest) GetData ¶ added in v2.8.0

GetData returns the Data field value.

func (*MonitorConfigPolicyEditRequest) GetDataOk ¶ added in v2.8.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (MonitorConfigPolicyEditRequest) MarshalJSON ¶ added in v2.8.0

func (o MonitorConfigPolicyEditRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyEditRequest) SetData ¶ added in v2.8.0

SetData sets field value.

func (*MonitorConfigPolicyEditRequest) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyEditRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyListResponse ¶ added in v2.8.0

type MonitorConfigPolicyListResponse struct {
	// An array of monitor configuration policies.
	Data []MonitorConfigPolicyResponseData `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{}
}

MonitorConfigPolicyListResponse Response for retrieving all monitor configuration policies.

func NewMonitorConfigPolicyListResponse ¶ added in v2.8.0

func NewMonitorConfigPolicyListResponse() *MonitorConfigPolicyListResponse

NewMonitorConfigPolicyListResponse instantiates a new MonitorConfigPolicyListResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyListResponseWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyListResponseWithDefaults() *MonitorConfigPolicyListResponse

NewMonitorConfigPolicyListResponseWithDefaults instantiates a new MonitorConfigPolicyListResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyListResponse) GetData ¶ added in v2.8.0

GetData returns the Data field value if set, zero value otherwise.

func (*MonitorConfigPolicyListResponse) GetDataOk ¶ added in v2.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 (*MonitorConfigPolicyListResponse) HasData ¶ added in v2.8.0

HasData returns a boolean if a field has been set.

func (MonitorConfigPolicyListResponse) MarshalJSON ¶ added in v2.8.0

func (o MonitorConfigPolicyListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyListResponse) SetData ¶ added in v2.8.0

SetData gets a reference to the given []MonitorConfigPolicyResponseData and assigns it to the Data field.

func (*MonitorConfigPolicyListResponse) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyPolicy ¶ added in v2.8.0

type MonitorConfigPolicyPolicy struct {
	MonitorConfigPolicyTagPolicy *MonitorConfigPolicyTagPolicy

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

MonitorConfigPolicyPolicy - Configuration for the policy.

func MonitorConfigPolicyTagPolicyAsMonitorConfigPolicyPolicy ¶ added in v2.8.0

func MonitorConfigPolicyTagPolicyAsMonitorConfigPolicyPolicy(v *MonitorConfigPolicyTagPolicy) MonitorConfigPolicyPolicy

MonitorConfigPolicyTagPolicyAsMonitorConfigPolicyPolicy is a convenience function that returns MonitorConfigPolicyTagPolicy wrapped in MonitorConfigPolicyPolicy.

func (*MonitorConfigPolicyPolicy) GetActualInstance ¶ added in v2.8.0

func (obj *MonitorConfigPolicyPolicy) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (MonitorConfigPolicyPolicy) MarshalJSON ¶ added in v2.8.0

func (obj MonitorConfigPolicyPolicy) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*MonitorConfigPolicyPolicy) UnmarshalJSON ¶ added in v2.8.0

func (obj *MonitorConfigPolicyPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type MonitorConfigPolicyPolicyCreateRequest ¶ added in v2.8.0

type MonitorConfigPolicyPolicyCreateRequest struct {
	MonitorConfigPolicyTagPolicyCreateRequest *MonitorConfigPolicyTagPolicyCreateRequest

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

MonitorConfigPolicyPolicyCreateRequest - Configuration for the policy.

func MonitorConfigPolicyTagPolicyCreateRequestAsMonitorConfigPolicyPolicyCreateRequest ¶ added in v2.8.0

func MonitorConfigPolicyTagPolicyCreateRequestAsMonitorConfigPolicyPolicyCreateRequest(v *MonitorConfigPolicyTagPolicyCreateRequest) MonitorConfigPolicyPolicyCreateRequest

MonitorConfigPolicyTagPolicyCreateRequestAsMonitorConfigPolicyPolicyCreateRequest is a convenience function that returns MonitorConfigPolicyTagPolicyCreateRequest wrapped in MonitorConfigPolicyPolicyCreateRequest.

func (*MonitorConfigPolicyPolicyCreateRequest) GetActualInstance ¶ added in v2.8.0

func (obj *MonitorConfigPolicyPolicyCreateRequest) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (MonitorConfigPolicyPolicyCreateRequest) MarshalJSON ¶ added in v2.8.0

func (obj MonitorConfigPolicyPolicyCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*MonitorConfigPolicyPolicyCreateRequest) UnmarshalJSON ¶ added in v2.8.0

func (obj *MonitorConfigPolicyPolicyCreateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type MonitorConfigPolicyResourceType ¶ added in v2.8.0

type MonitorConfigPolicyResourceType string

MonitorConfigPolicyResourceType Monitor configuration policy resource type.

const (
	MONITORCONFIGPOLICYRESOURCETYPE_MONITOR_CONFIG_POLICY MonitorConfigPolicyResourceType = "monitor-config-policy"
)

List of MonitorConfigPolicyResourceType.

func NewMonitorConfigPolicyResourceTypeFromValue ¶ added in v2.8.0

func NewMonitorConfigPolicyResourceTypeFromValue(v string) (*MonitorConfigPolicyResourceType, error)

NewMonitorConfigPolicyResourceTypeFromValue returns a pointer to a valid MonitorConfigPolicyResourceType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MonitorConfigPolicyResourceType) GetAllowedValues ¶ added in v2.8.0

GetAllowedValues reeturns the list of possible values.

func (MonitorConfigPolicyResourceType) IsValid ¶ added in v2.8.0

IsValid return true if the value is valid for the enum, false otherwise.

func (MonitorConfigPolicyResourceType) Ptr ¶ added in v2.8.0

Ptr returns reference to MonitorConfigPolicyResourceType value.

func (*MonitorConfigPolicyResourceType) UnmarshalJSON ¶ added in v2.8.0

func (v *MonitorConfigPolicyResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyResponse ¶ added in v2.8.0

type MonitorConfigPolicyResponse struct {
	// A monitor configuration policy data.
	Data *MonitorConfigPolicyResponseData `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{}
}

MonitorConfigPolicyResponse Response for retrieving a monitor configuration policy.

func NewMonitorConfigPolicyResponse ¶ added in v2.8.0

func NewMonitorConfigPolicyResponse() *MonitorConfigPolicyResponse

NewMonitorConfigPolicyResponse instantiates a new MonitorConfigPolicyResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyResponseWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyResponseWithDefaults() *MonitorConfigPolicyResponse

NewMonitorConfigPolicyResponseWithDefaults instantiates a new MonitorConfigPolicyResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyResponse) GetData ¶ added in v2.8.0

GetData returns the Data field value if set, zero value otherwise.

func (*MonitorConfigPolicyResponse) GetDataOk ¶ added in v2.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 (*MonitorConfigPolicyResponse) HasData ¶ added in v2.8.0

func (o *MonitorConfigPolicyResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (MonitorConfigPolicyResponse) MarshalJSON ¶ added in v2.8.0

func (o MonitorConfigPolicyResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyResponse) SetData ¶ added in v2.8.0

SetData gets a reference to the given MonitorConfigPolicyResponseData and assigns it to the Data field.

func (*MonitorConfigPolicyResponse) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyResponseData ¶ added in v2.8.0

type MonitorConfigPolicyResponseData struct {
	// Policy and policy type for a monitor configuration policy.
	Attributes *MonitorConfigPolicyAttributeResponse `json:"attributes,omitempty"`
	// ID of this monitor configuration policy.
	Id *string `json:"id,omitempty"`
	// Monitor configuration policy resource type.
	Type *MonitorConfigPolicyResourceType `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{}
}

MonitorConfigPolicyResponseData A monitor configuration policy data.

func NewMonitorConfigPolicyResponseData ¶ added in v2.8.0

func NewMonitorConfigPolicyResponseData() *MonitorConfigPolicyResponseData

NewMonitorConfigPolicyResponseData instantiates a new MonitorConfigPolicyResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyResponseDataWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyResponseDataWithDefaults() *MonitorConfigPolicyResponseData

NewMonitorConfigPolicyResponseDataWithDefaults instantiates a new MonitorConfigPolicyResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyResponseData) GetAttributes ¶ added in v2.8.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MonitorConfigPolicyResponseData) GetAttributesOk ¶ added in v2.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 (*MonitorConfigPolicyResponseData) GetId ¶ added in v2.8.0

GetId returns the Id field value if set, zero value otherwise.

func (*MonitorConfigPolicyResponseData) GetIdOk ¶ added in v2.8.0

func (o *MonitorConfigPolicyResponseData) 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 (*MonitorConfigPolicyResponseData) GetType ¶ added in v2.8.0

GetType returns the Type field value if set, zero value otherwise.

func (*MonitorConfigPolicyResponseData) GetTypeOk ¶ added in v2.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 (*MonitorConfigPolicyResponseData) HasAttributes ¶ added in v2.8.0

func (o *MonitorConfigPolicyResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*MonitorConfigPolicyResponseData) HasId ¶ added in v2.8.0

HasId returns a boolean if a field has been set.

func (*MonitorConfigPolicyResponseData) HasType ¶ added in v2.8.0

HasType returns a boolean if a field has been set.

func (MonitorConfigPolicyResponseData) MarshalJSON ¶ added in v2.8.0

func (o MonitorConfigPolicyResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyResponseData) SetAttributes ¶ added in v2.8.0

SetAttributes gets a reference to the given MonitorConfigPolicyAttributeResponse and assigns it to the Attributes field.

func (*MonitorConfigPolicyResponseData) SetId ¶ added in v2.8.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*MonitorConfigPolicyResponseData) SetType ¶ added in v2.8.0

SetType gets a reference to the given MonitorConfigPolicyResourceType and assigns it to the Type field.

func (*MonitorConfigPolicyResponseData) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyTagPolicy ¶ added in v2.8.0

type MonitorConfigPolicyTagPolicy struct {
	// The key of the tag.
	TagKey *string `json:"tag_key,omitempty"`
	// If a tag key is required for monitor creation.
	TagKeyRequired *bool `json:"tag_key_required,omitempty"`
	// Valid values for the tag.
	ValidTagValues []string `json:"valid_tag_values,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{}
}

MonitorConfigPolicyTagPolicy Tag attributes of a monitor configuration policy.

func NewMonitorConfigPolicyTagPolicy ¶ added in v2.8.0

func NewMonitorConfigPolicyTagPolicy() *MonitorConfigPolicyTagPolicy

NewMonitorConfigPolicyTagPolicy instantiates a new MonitorConfigPolicyTagPolicy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyTagPolicyWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyTagPolicyWithDefaults() *MonitorConfigPolicyTagPolicy

NewMonitorConfigPolicyTagPolicyWithDefaults instantiates a new MonitorConfigPolicyTagPolicy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyTagPolicy) GetTagKey ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) GetTagKey() string

GetTagKey returns the TagKey field value if set, zero value otherwise.

func (*MonitorConfigPolicyTagPolicy) GetTagKeyOk ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) GetTagKeyOk() (*string, bool)

GetTagKeyOk returns a tuple with the TagKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorConfigPolicyTagPolicy) GetTagKeyRequired ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) GetTagKeyRequired() bool

GetTagKeyRequired returns the TagKeyRequired field value if set, zero value otherwise.

func (*MonitorConfigPolicyTagPolicy) GetTagKeyRequiredOk ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) GetTagKeyRequiredOk() (*bool, bool)

GetTagKeyRequiredOk returns a tuple with the TagKeyRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorConfigPolicyTagPolicy) GetValidTagValues ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) GetValidTagValues() []string

GetValidTagValues returns the ValidTagValues field value if set, zero value otherwise.

func (*MonitorConfigPolicyTagPolicy) GetValidTagValuesOk ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) GetValidTagValuesOk() (*[]string, bool)

GetValidTagValuesOk returns a tuple with the ValidTagValues field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorConfigPolicyTagPolicy) HasTagKey ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) HasTagKey() bool

HasTagKey returns a boolean if a field has been set.

func (*MonitorConfigPolicyTagPolicy) HasTagKeyRequired ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) HasTagKeyRequired() bool

HasTagKeyRequired returns a boolean if a field has been set.

func (*MonitorConfigPolicyTagPolicy) HasValidTagValues ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) HasValidTagValues() bool

HasValidTagValues returns a boolean if a field has been set.

func (MonitorConfigPolicyTagPolicy) MarshalJSON ¶ added in v2.8.0

func (o MonitorConfigPolicyTagPolicy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyTagPolicy) SetTagKey ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) SetTagKey(v string)

SetTagKey gets a reference to the given string and assigns it to the TagKey field.

func (*MonitorConfigPolicyTagPolicy) SetTagKeyRequired ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) SetTagKeyRequired(v bool)

SetTagKeyRequired gets a reference to the given bool and assigns it to the TagKeyRequired field.

func (*MonitorConfigPolicyTagPolicy) SetValidTagValues ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) SetValidTagValues(v []string)

SetValidTagValues gets a reference to the given []string and assigns it to the ValidTagValues field.

func (*MonitorConfigPolicyTagPolicy) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyTagPolicyCreateRequest ¶ added in v2.8.0

type MonitorConfigPolicyTagPolicyCreateRequest struct {
	// The key of the tag.
	TagKey string `json:"tag_key"`
	// If a tag key is required for monitor creation.
	TagKeyRequired bool `json:"tag_key_required"`
	// Valid values for the tag.
	ValidTagValues []string `json:"valid_tag_values"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

MonitorConfigPolicyTagPolicyCreateRequest Tag attributes of a monitor configuration policy.

func NewMonitorConfigPolicyTagPolicyCreateRequest ¶ added in v2.8.0

func NewMonitorConfigPolicyTagPolicyCreateRequest(tagKey string, tagKeyRequired bool, validTagValues []string) *MonitorConfigPolicyTagPolicyCreateRequest

NewMonitorConfigPolicyTagPolicyCreateRequest instantiates a new MonitorConfigPolicyTagPolicyCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorConfigPolicyTagPolicyCreateRequestWithDefaults ¶ added in v2.8.0

func NewMonitorConfigPolicyTagPolicyCreateRequestWithDefaults() *MonitorConfigPolicyTagPolicyCreateRequest

NewMonitorConfigPolicyTagPolicyCreateRequestWithDefaults instantiates a new MonitorConfigPolicyTagPolicyCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorConfigPolicyTagPolicyCreateRequest) GetTagKey ¶ added in v2.8.0

GetTagKey returns the TagKey field value.

func (*MonitorConfigPolicyTagPolicyCreateRequest) GetTagKeyOk ¶ added in v2.8.0

GetTagKeyOk returns a tuple with the TagKey field value and a boolean to check if the value has been set.

func (*MonitorConfigPolicyTagPolicyCreateRequest) GetTagKeyRequired ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicyCreateRequest) GetTagKeyRequired() bool

GetTagKeyRequired returns the TagKeyRequired field value.

func (*MonitorConfigPolicyTagPolicyCreateRequest) GetTagKeyRequiredOk ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicyCreateRequest) GetTagKeyRequiredOk() (*bool, bool)

GetTagKeyRequiredOk returns a tuple with the TagKeyRequired field value and a boolean to check if the value has been set.

func (*MonitorConfigPolicyTagPolicyCreateRequest) GetValidTagValues ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicyCreateRequest) GetValidTagValues() []string

GetValidTagValues returns the ValidTagValues field value.

func (*MonitorConfigPolicyTagPolicyCreateRequest) GetValidTagValuesOk ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicyCreateRequest) GetValidTagValuesOk() (*[]string, bool)

GetValidTagValuesOk returns a tuple with the ValidTagValues field value and a boolean to check if the value has been set.

func (MonitorConfigPolicyTagPolicyCreateRequest) MarshalJSON ¶ added in v2.8.0

MarshalJSON serializes the struct using spec logic.

func (*MonitorConfigPolicyTagPolicyCreateRequest) SetTagKey ¶ added in v2.8.0

SetTagKey sets field value.

func (*MonitorConfigPolicyTagPolicyCreateRequest) SetTagKeyRequired ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicyCreateRequest) SetTagKeyRequired(v bool)

SetTagKeyRequired sets field value.

func (*MonitorConfigPolicyTagPolicyCreateRequest) SetValidTagValues ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicyCreateRequest) SetValidTagValues(v []string)

SetValidTagValues sets field value.

func (*MonitorConfigPolicyTagPolicyCreateRequest) UnmarshalJSON ¶ added in v2.8.0

func (o *MonitorConfigPolicyTagPolicyCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorConfigPolicyType ¶ added in v2.8.0

type MonitorConfigPolicyType string

MonitorConfigPolicyType The monitor configuration policy type.

const (
	MONITORCONFIGPOLICYTYPE_TAG MonitorConfigPolicyType = "tag"
)

List of MonitorConfigPolicyType.

func NewMonitorConfigPolicyTypeFromValue ¶ added in v2.8.0

func NewMonitorConfigPolicyTypeFromValue(v string) (*MonitorConfigPolicyType, error)

NewMonitorConfigPolicyTypeFromValue returns a pointer to a valid MonitorConfigPolicyType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MonitorConfigPolicyType) GetAllowedValues ¶ added in v2.8.0

func (v *MonitorConfigPolicyType) GetAllowedValues() []MonitorConfigPolicyType

GetAllowedValues reeturns the list of possible values.

func (MonitorConfigPolicyType) IsValid ¶ added in v2.8.0

func (v MonitorConfigPolicyType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MonitorConfigPolicyType) Ptr ¶ added in v2.8.0

Ptr returns reference to MonitorConfigPolicyType value.

func (*MonitorConfigPolicyType) UnmarshalJSON ¶ added in v2.8.0

func (v *MonitorConfigPolicyType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MonitorType ¶

type MonitorType struct {
	// The POSIX timestamp of the monitor's creation in nanoseconds.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// Monitor group status used when there is no `result_groups`.
	GroupStatus *int32 `json:"group_status,omitempty"`
	// Groups to which the monitor belongs.
	Groups []string `json:"groups,omitempty"`
	// The monitor ID.
	Id *int64 `json:"id,omitempty"`
	// The monitor message.
	Message *string `json:"message,omitempty"`
	// The monitor's last-modified timestamp.
	Modified *int64 `json:"modified,omitempty"`
	// The monitor name.
	Name *string `json:"name,omitempty"`
	// The query that triggers the alert.
	Query *string `json:"query,omitempty"`
	// A list of tags attached to the monitor.
	Tags []string `json:"tags,omitempty"`
	// The templated name of the monitor before resolving any template variables.
	TemplatedName *string `json:"templated_name,omitempty"`
	// The monitor type.
	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{}
}

MonitorType Attributes from the monitor that triggered the event.

func NewMonitorType ¶

func NewMonitorType() *MonitorType

NewMonitorType instantiates a new MonitorType object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewMonitorTypeWithDefaults ¶

func NewMonitorTypeWithDefaults() *MonitorType

NewMonitorTypeWithDefaults instantiates a new MonitorType object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*MonitorType) GetCreatedAt ¶

func (o *MonitorType) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*MonitorType) GetCreatedAtOk ¶

func (o *MonitorType) 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 (*MonitorType) GetGroupStatus ¶

func (o *MonitorType) GetGroupStatus() int32

GetGroupStatus returns the GroupStatus field value if set, zero value otherwise.

func (*MonitorType) GetGroupStatusOk ¶

func (o *MonitorType) GetGroupStatusOk() (*int32, bool)

GetGroupStatusOk returns a tuple with the GroupStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorType) GetGroups ¶

func (o *MonitorType) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*MonitorType) GetGroupsOk ¶

func (o *MonitorType) GetGroupsOk() (*[]string, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorType) GetId ¶

func (o *MonitorType) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*MonitorType) GetIdOk ¶

func (o *MonitorType) 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 (*MonitorType) GetMessage ¶

func (o *MonitorType) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*MonitorType) GetMessageOk ¶

func (o *MonitorType) 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 (*MonitorType) GetModified ¶

func (o *MonitorType) GetModified() int64

GetModified returns the Modified field value if set, zero value otherwise.

func (*MonitorType) GetModifiedOk ¶

func (o *MonitorType) GetModifiedOk() (*int64, 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 (*MonitorType) GetName ¶

func (o *MonitorType) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MonitorType) GetNameOk ¶

func (o *MonitorType) 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 (*MonitorType) GetQuery ¶

func (o *MonitorType) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*MonitorType) GetQueryOk ¶

func (o *MonitorType) 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 (*MonitorType) GetTags ¶

func (o *MonitorType) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*MonitorType) GetTagsOk ¶

func (o *MonitorType) 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 (*MonitorType) GetTemplatedName ¶

func (o *MonitorType) GetTemplatedName() string

GetTemplatedName returns the TemplatedName field value if set, zero value otherwise.

func (*MonitorType) GetTemplatedNameOk ¶

func (o *MonitorType) GetTemplatedNameOk() (*string, bool)

GetTemplatedNameOk returns a tuple with the TemplatedName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorType) GetType ¶

func (o *MonitorType) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*MonitorType) GetTypeOk ¶

func (o *MonitorType) 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 (*MonitorType) HasCreatedAt ¶

func (o *MonitorType) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*MonitorType) HasGroupStatus ¶

func (o *MonitorType) HasGroupStatus() bool

HasGroupStatus returns a boolean if a field has been set.

func (*MonitorType) HasGroups ¶

func (o *MonitorType) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*MonitorType) HasId ¶

func (o *MonitorType) HasId() bool

HasId returns a boolean if a field has been set.

func (*MonitorType) HasMessage ¶

func (o *MonitorType) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*MonitorType) HasModified ¶

func (o *MonitorType) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*MonitorType) HasName ¶

func (o *MonitorType) HasName() bool

HasName returns a boolean if a field has been set.

func (*MonitorType) HasQuery ¶

func (o *MonitorType) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*MonitorType) HasTags ¶

func (o *MonitorType) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*MonitorType) HasTemplatedName ¶

func (o *MonitorType) HasTemplatedName() bool

HasTemplatedName returns a boolean if a field has been set.

func (*MonitorType) HasType ¶

func (o *MonitorType) HasType() bool

HasType returns a boolean if a field has been set.

func (MonitorType) MarshalJSON ¶

func (o MonitorType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorType) SetCreatedAt ¶

func (o *MonitorType) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*MonitorType) SetGroupStatus ¶

func (o *MonitorType) SetGroupStatus(v int32)

SetGroupStatus gets a reference to the given int32 and assigns it to the GroupStatus field.

func (*MonitorType) SetGroups ¶

func (o *MonitorType) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*MonitorType) SetId ¶

func (o *MonitorType) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*MonitorType) SetMessage ¶

func (o *MonitorType) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*MonitorType) SetModified ¶

func (o *MonitorType) SetModified(v int64)

SetModified gets a reference to the given int64 and assigns it to the Modified field.

func (*MonitorType) SetName ¶

func (o *MonitorType) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MonitorType) SetQuery ¶

func (o *MonitorType) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*MonitorType) SetTags ¶

func (o *MonitorType) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MonitorType) SetTemplatedName ¶

func (o *MonitorType) SetTemplatedName(v string)

SetTemplatedName gets a reference to the given string and assigns it to the TemplatedName field.

func (*MonitorType) SetType ¶

func (o *MonitorType) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*MonitorType) UnmarshalJSON ¶

func (o *MonitorType) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorsApi ¶ added in v2.8.0

type MonitorsApi datadog.Service

MonitorsApi service type

func NewMonitorsApi ¶ added in v2.8.0

func NewMonitorsApi(client *datadog.APIClient) *MonitorsApi

NewMonitorsApi Returns NewMonitorsApi.

func (*MonitorsApi) CreateMonitorConfigPolicy ¶ added in v2.8.0

CreateMonitorConfigPolicy Create a monitor configuration policy. Create a monitor configuration policy.

func (*MonitorsApi) DeleteMonitorConfigPolicy ¶ added in v2.8.0

func (a *MonitorsApi) DeleteMonitorConfigPolicy(ctx _context.Context, policyId string) (*_nethttp.Response, error)

DeleteMonitorConfigPolicy Delete a monitor configuration policy. Delete a monitor configuration policy.

func (*MonitorsApi) GetMonitorConfigPolicy ¶ added in v2.8.0

func (a *MonitorsApi) GetMonitorConfigPolicy(ctx _context.Context, policyId string) (MonitorConfigPolicyResponse, *_nethttp.Response, error)

GetMonitorConfigPolicy Get a monitor configuration policy. Get a monitor configuration policy by `policy_id`.

func (*MonitorsApi) ListMonitorConfigPolicies ¶ added in v2.8.0

func (a *MonitorsApi) ListMonitorConfigPolicies(ctx _context.Context) (MonitorConfigPolicyListResponse, *_nethttp.Response, error)

ListMonitorConfigPolicies Get all monitor configuration policies. Get all monitor configuration policies.

func (*MonitorsApi) UpdateMonitorConfigPolicy ¶ added in v2.8.0

UpdateMonitorConfigPolicy Edit a monitor configuration policy. Edit a monitor configuration policy.

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 ¶

type NullableAuditLogsEventType struct {
	// contains filtered or unexported fields
}

NullableAuditLogsEventType handles when a null is used for AuditLogsEventType.

func NewNullableAuditLogsEventType ¶

func NewNullableAuditLogsEventType(val *AuditLogsEventType) *NullableAuditLogsEventType

NewNullableAuditLogsEventType initializes the struct as if Set has been called.

func (NullableAuditLogsEventType) Get ¶

Get returns the associated value.

func (NullableAuditLogsEventType) IsSet ¶

func (v NullableAuditLogsEventType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAuditLogsEventType) MarshalJSON ¶

func (v NullableAuditLogsEventType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuditLogsEventType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableAuditLogsEventType) UnmarshalJSON ¶

func (v *NullableAuditLogsEventType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuditLogsEventType) Unset ¶

func (v *NullableAuditLogsEventType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableAuditLogsResponseStatus ¶

type NullableAuditLogsResponseStatus struct {
	// contains filtered or unexported fields
}

NullableAuditLogsResponseStatus handles when a null is used for AuditLogsResponseStatus.

func NewNullableAuditLogsResponseStatus ¶

func NewNullableAuditLogsResponseStatus(val *AuditLogsResponseStatus) *NullableAuditLogsResponseStatus

NewNullableAuditLogsResponseStatus initializes the struct as if Set has been called.

func (NullableAuditLogsResponseStatus) Get ¶

Get returns the associated value.

func (NullableAuditLogsResponseStatus) IsSet ¶

IsSet returns whether Set has been called.

func (NullableAuditLogsResponseStatus) MarshalJSON ¶

func (v NullableAuditLogsResponseStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuditLogsResponseStatus) Set ¶

Set changes the value and indicates it's been called.

func (*NullableAuditLogsResponseStatus) UnmarshalJSON ¶

func (v *NullableAuditLogsResponseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuditLogsResponseStatus) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableAuditLogsSort ¶

type NullableAuditLogsSort struct {
	// contains filtered or unexported fields
}

NullableAuditLogsSort handles when a null is used for AuditLogsSort.

func NewNullableAuditLogsSort ¶

func NewNullableAuditLogsSort(val *AuditLogsSort) *NullableAuditLogsSort

NewNullableAuditLogsSort initializes the struct as if Set has been called.

func (NullableAuditLogsSort) Get ¶

Get returns the associated value.

func (NullableAuditLogsSort) IsSet ¶

func (v NullableAuditLogsSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAuditLogsSort) MarshalJSON ¶

func (v NullableAuditLogsSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuditLogsSort) Set ¶

func (v *NullableAuditLogsSort) Set(val *AuditLogsSort)

Set changes the value and indicates it's been called.

func (*NullableAuditLogsSort) UnmarshalJSON ¶

func (v *NullableAuditLogsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuditLogsSort) Unset ¶

func (v *NullableAuditLogsSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableAuthNMappingIncluded ¶

type NullableAuthNMappingIncluded struct {
	// contains filtered or unexported fields
}

NullableAuthNMappingIncluded handles when a null is used for AuthNMappingIncluded.

func NewNullableAuthNMappingIncluded ¶

func NewNullableAuthNMappingIncluded(val *AuthNMappingIncluded) *NullableAuthNMappingIncluded

NewNullableAuthNMappingIncluded initializes the struct as if Set has been called.

func (NullableAuthNMappingIncluded) Get ¶

Get returns the associated value.

func (NullableAuthNMappingIncluded) IsSet ¶

IsSet returns whether Set has been called.

func (NullableAuthNMappingIncluded) MarshalJSON ¶

func (v NullableAuthNMappingIncluded) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuthNMappingIncluded) Set ¶

Set changes the value and indicates it's been called.

func (*NullableAuthNMappingIncluded) UnmarshalJSON ¶

func (v *NullableAuthNMappingIncluded) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuthNMappingIncluded) Unset ¶

func (v *NullableAuthNMappingIncluded) Unset()

Unset sets the value to nil and resets the set flag/

type NullableAuthNMappingsSort ¶

type NullableAuthNMappingsSort struct {
	// contains filtered or unexported fields
}

NullableAuthNMappingsSort handles when a null is used for AuthNMappingsSort.

func NewNullableAuthNMappingsSort ¶

func NewNullableAuthNMappingsSort(val *AuthNMappingsSort) *NullableAuthNMappingsSort

NewNullableAuthNMappingsSort initializes the struct as if Set has been called.

func (NullableAuthNMappingsSort) Get ¶

Get returns the associated value.

func (NullableAuthNMappingsSort) IsSet ¶

func (v NullableAuthNMappingsSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAuthNMappingsSort) MarshalJSON ¶

func (v NullableAuthNMappingsSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuthNMappingsSort) Set ¶

Set changes the value and indicates it's been called.

func (*NullableAuthNMappingsSort) UnmarshalJSON ¶

func (v *NullableAuthNMappingsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuthNMappingsSort) Unset ¶

func (v *NullableAuthNMappingsSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableAuthNMappingsType ¶

type NullableAuthNMappingsType struct {
	// contains filtered or unexported fields
}

NullableAuthNMappingsType handles when a null is used for AuthNMappingsType.

func NewNullableAuthNMappingsType ¶

func NewNullableAuthNMappingsType(val *AuthNMappingsType) *NullableAuthNMappingsType

NewNullableAuthNMappingsType initializes the struct as if Set has been called.

func (NullableAuthNMappingsType) Get ¶

Get returns the associated value.

func (NullableAuthNMappingsType) IsSet ¶

func (v NullableAuthNMappingsType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAuthNMappingsType) MarshalJSON ¶

func (v NullableAuthNMappingsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAuthNMappingsType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableAuthNMappingsType) UnmarshalJSON ¶

func (v *NullableAuthNMappingsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAuthNMappingsType) Unset ¶

func (v *NullableAuthNMappingsType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableCIAppAggregateBucketValue ¶ added in v2.5.0

type NullableCIAppAggregateBucketValue struct {
	// contains filtered or unexported fields
}

NullableCIAppAggregateBucketValue handles when a null is used for CIAppAggregateBucketValue.

func NewNullableCIAppAggregateBucketValue ¶ added in v2.5.0

func NewNullableCIAppAggregateBucketValue(val *CIAppAggregateBucketValue) *NullableCIAppAggregateBucketValue

NewNullableCIAppAggregateBucketValue initializes the struct as if Set has been called.

func (NullableCIAppAggregateBucketValue) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableCIAppAggregateBucketValue) IsSet ¶ added in v2.5.0

IsSet returns whether Set has been called.

func (NullableCIAppAggregateBucketValue) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppAggregateBucketValue) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppAggregateBucketValue) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableCIAppAggregateBucketValue) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppAggregateBucketValue) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppAggregateBucketValue) Unset ¶ added in v2.5.0

Unset sets the value to nil and resets the set flag/

type NullableCIAppAggregateSortType ¶ added in v2.5.0

type NullableCIAppAggregateSortType struct {
	// contains filtered or unexported fields
}

NullableCIAppAggregateSortType handles when a null is used for CIAppAggregateSortType.

func NewNullableCIAppAggregateSortType ¶ added in v2.5.0

func NewNullableCIAppAggregateSortType(val *CIAppAggregateSortType) *NullableCIAppAggregateSortType

NewNullableCIAppAggregateSortType initializes the struct as if Set has been called.

func (NullableCIAppAggregateSortType) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableCIAppAggregateSortType) IsSet ¶ added in v2.5.0

IsSet returns whether Set has been called.

func (NullableCIAppAggregateSortType) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppAggregateSortType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppAggregateSortType) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableCIAppAggregateSortType) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppAggregateSortType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppAggregateSortType) Unset ¶ added in v2.5.0

func (v *NullableCIAppAggregateSortType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableCIAppAggregationFunction ¶ added in v2.5.0

type NullableCIAppAggregationFunction struct {
	// contains filtered or unexported fields
}

NullableCIAppAggregationFunction handles when a null is used for CIAppAggregationFunction.

func NewNullableCIAppAggregationFunction ¶ added in v2.5.0

func NewNullableCIAppAggregationFunction(val *CIAppAggregationFunction) *NullableCIAppAggregationFunction

NewNullableCIAppAggregationFunction initializes the struct as if Set has been called.

func (NullableCIAppAggregationFunction) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableCIAppAggregationFunction) IsSet ¶ added in v2.5.0

IsSet returns whether Set has been called.

func (NullableCIAppAggregationFunction) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppAggregationFunction) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppAggregationFunction) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableCIAppAggregationFunction) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppAggregationFunction) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppAggregationFunction) Unset ¶ added in v2.5.0

Unset sets the value to nil and resets the set flag.

type NullableCIAppComputeType ¶ added in v2.5.0

type NullableCIAppComputeType struct {
	// contains filtered or unexported fields
}

NullableCIAppComputeType handles when a null is used for CIAppComputeType.

func NewNullableCIAppComputeType ¶ added in v2.5.0

func NewNullableCIAppComputeType(val *CIAppComputeType) *NullableCIAppComputeType

NewNullableCIAppComputeType initializes the struct as if Set has been called.

func (NullableCIAppComputeType) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableCIAppComputeType) IsSet ¶ added in v2.5.0

func (v NullableCIAppComputeType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableCIAppComputeType) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppComputeType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppComputeType) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableCIAppComputeType) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppComputeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppComputeType) Unset ¶ added in v2.5.0

func (v *NullableCIAppComputeType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableCIAppGroupByMissing ¶ added in v2.5.0

type NullableCIAppGroupByMissing struct {
	// contains filtered or unexported fields
}

NullableCIAppGroupByMissing handles when a null is used for CIAppGroupByMissing.

func NewNullableCIAppGroupByMissing ¶ added in v2.5.0

func NewNullableCIAppGroupByMissing(val *CIAppGroupByMissing) *NullableCIAppGroupByMissing

NewNullableCIAppGroupByMissing initializes the struct as if Set has been called.

func (NullableCIAppGroupByMissing) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableCIAppGroupByMissing) IsSet ¶ added in v2.5.0

IsSet returns whether Set has been called.

func (NullableCIAppGroupByMissing) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppGroupByMissing) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppGroupByMissing) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableCIAppGroupByMissing) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppGroupByMissing) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppGroupByMissing) Unset ¶ added in v2.5.0

func (v *NullableCIAppGroupByMissing) Unset()

Unset sets the value to nil and resets the set flag/

type NullableCIAppGroupByTotal ¶ added in v2.5.0

type NullableCIAppGroupByTotal struct {
	// contains filtered or unexported fields
}

NullableCIAppGroupByTotal handles when a null is used for CIAppGroupByTotal.

func NewNullableCIAppGroupByTotal ¶ added in v2.5.0

func NewNullableCIAppGroupByTotal(val *CIAppGroupByTotal) *NullableCIAppGroupByTotal

NewNullableCIAppGroupByTotal initializes the struct as if Set has been called.

func (NullableCIAppGroupByTotal) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableCIAppGroupByTotal) IsSet ¶ added in v2.5.0

func (v NullableCIAppGroupByTotal) IsSet() bool

IsSet returns whether Set has been called.

func (NullableCIAppGroupByTotal) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppGroupByTotal) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppGroupByTotal) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableCIAppGroupByTotal) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppGroupByTotal) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppGroupByTotal) Unset ¶ added in v2.5.0

func (v *NullableCIAppGroupByTotal) Unset()

Unset sets the value to nil and resets the set flag/

type NullableCIAppPipelineEventTypeName ¶ added in v2.5.0

type NullableCIAppPipelineEventTypeName struct {
	// contains filtered or unexported fields
}

NullableCIAppPipelineEventTypeName handles when a null is used for CIAppPipelineEventTypeName.

func NewNullableCIAppPipelineEventTypeName ¶ added in v2.5.0

func NewNullableCIAppPipelineEventTypeName(val *CIAppPipelineEventTypeName) *NullableCIAppPipelineEventTypeName

NewNullableCIAppPipelineEventTypeName initializes the struct as if Set has been called.

func (NullableCIAppPipelineEventTypeName) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableCIAppPipelineEventTypeName) IsSet ¶ added in v2.5.0

IsSet returns whether Set has been called.

func (NullableCIAppPipelineEventTypeName) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppPipelineEventTypeName) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppPipelineEventTypeName) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableCIAppPipelineEventTypeName) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppPipelineEventTypeName) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppPipelineEventTypeName) Unset ¶ added in v2.5.0

Unset sets the value to nil and resets the set flag.

type NullableCIAppResponseStatus ¶ added in v2.5.0

type NullableCIAppResponseStatus struct {
	// contains filtered or unexported fields
}

NullableCIAppResponseStatus handles when a null is used for CIAppResponseStatus.

func NewNullableCIAppResponseStatus ¶ added in v2.5.0

func NewNullableCIAppResponseStatus(val *CIAppResponseStatus) *NullableCIAppResponseStatus

NewNullableCIAppResponseStatus initializes the struct as if Set has been called.

func (NullableCIAppResponseStatus) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableCIAppResponseStatus) IsSet ¶ added in v2.5.0

IsSet returns whether Set has been called.

func (NullableCIAppResponseStatus) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppResponseStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppResponseStatus) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableCIAppResponseStatus) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppResponseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppResponseStatus) Unset ¶ added in v2.5.0

func (v *NullableCIAppResponseStatus) Unset()

Unset sets the value to nil and resets the set flag.

type NullableCIAppSort ¶ added in v2.5.0

type NullableCIAppSort struct {
	// contains filtered or unexported fields
}

NullableCIAppSort handles when a null is used for CIAppSort.

func NewNullableCIAppSort ¶ added in v2.5.0

func NewNullableCIAppSort(val *CIAppSort) *NullableCIAppSort

NewNullableCIAppSort initializes the struct as if Set has been called.

func (NullableCIAppSort) Get ¶ added in v2.5.0

func (v NullableCIAppSort) Get() *CIAppSort

Get returns the associated value.

func (NullableCIAppSort) IsSet ¶ added in v2.5.0

func (v NullableCIAppSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableCIAppSort) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppSort) Set ¶ added in v2.5.0

func (v *NullableCIAppSort) Set(val *CIAppSort)

Set changes the value and indicates it's been called.

func (*NullableCIAppSort) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppSort) Unset ¶ added in v2.5.0

func (v *NullableCIAppSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableCIAppSortOrder ¶ added in v2.5.0

type NullableCIAppSortOrder struct {
	// contains filtered or unexported fields
}

NullableCIAppSortOrder handles when a null is used for CIAppSortOrder.

func NewNullableCIAppSortOrder ¶ added in v2.5.0

func NewNullableCIAppSortOrder(val *CIAppSortOrder) *NullableCIAppSortOrder

NewNullableCIAppSortOrder initializes the struct as if Set has been called.

func (NullableCIAppSortOrder) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableCIAppSortOrder) IsSet ¶ added in v2.5.0

func (v NullableCIAppSortOrder) IsSet() bool

IsSet returns whether Set has been called.

func (NullableCIAppSortOrder) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppSortOrder) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppSortOrder) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableCIAppSortOrder) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppSortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppSortOrder) Unset ¶ added in v2.5.0

func (v *NullableCIAppSortOrder) Unset()

Unset sets the value to nil and resets the set flag.

type NullableCIAppTestEventTypeName ¶ added in v2.5.0

type NullableCIAppTestEventTypeName struct {
	// contains filtered or unexported fields
}

NullableCIAppTestEventTypeName handles when a null is used for CIAppTestEventTypeName.

func NewNullableCIAppTestEventTypeName ¶ added in v2.5.0

func NewNullableCIAppTestEventTypeName(val *CIAppTestEventTypeName) *NullableCIAppTestEventTypeName

NewNullableCIAppTestEventTypeName initializes the struct as if Set has been called.

func (NullableCIAppTestEventTypeName) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableCIAppTestEventTypeName) IsSet ¶ added in v2.5.0

IsSet returns whether Set has been called.

func (NullableCIAppTestEventTypeName) MarshalJSON ¶ added in v2.5.0

func (v NullableCIAppTestEventTypeName) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCIAppTestEventTypeName) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableCIAppTestEventTypeName) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableCIAppTestEventTypeName) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCIAppTestEventTypeName) Unset ¶ added in v2.5.0

func (v *NullableCIAppTestEventTypeName) Unset()

Unset sets the value to nil and resets the set flag.

type NullableCloudConfigurationRuleType ¶ added in v2.6.0

type NullableCloudConfigurationRuleType struct {
	// contains filtered or unexported fields
}

NullableCloudConfigurationRuleType handles when a null is used for CloudConfigurationRuleType.

func NewNullableCloudConfigurationRuleType ¶ added in v2.6.0

func NewNullableCloudConfigurationRuleType(val *CloudConfigurationRuleType) *NullableCloudConfigurationRuleType

NewNullableCloudConfigurationRuleType initializes the struct as if Set has been called.

func (NullableCloudConfigurationRuleType) Get ¶ added in v2.6.0

Get returns the associated value.

func (NullableCloudConfigurationRuleType) IsSet ¶ added in v2.6.0

IsSet returns whether Set has been called.

func (NullableCloudConfigurationRuleType) MarshalJSON ¶ added in v2.6.0

func (v NullableCloudConfigurationRuleType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCloudConfigurationRuleType) Set ¶ added in v2.6.0

Set changes the value and indicates it's been called.

func (*NullableCloudConfigurationRuleType) UnmarshalJSON ¶ added in v2.6.0

func (v *NullableCloudConfigurationRuleType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCloudConfigurationRuleType) Unset ¶ added in v2.6.0

Unset sets the value to nil and resets the set flag.

type NullableCloudWorkloadSecurityAgentRuleType ¶

type NullableCloudWorkloadSecurityAgentRuleType struct {
	// contains filtered or unexported fields
}

NullableCloudWorkloadSecurityAgentRuleType handles when a null is used for CloudWorkloadSecurityAgentRuleType.

func NewNullableCloudWorkloadSecurityAgentRuleType ¶

func NewNullableCloudWorkloadSecurityAgentRuleType(val *CloudWorkloadSecurityAgentRuleType) *NullableCloudWorkloadSecurityAgentRuleType

NewNullableCloudWorkloadSecurityAgentRuleType initializes the struct as if Set has been called.

func (NullableCloudWorkloadSecurityAgentRuleType) Get ¶

Get returns the associated value.

func (NullableCloudWorkloadSecurityAgentRuleType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableCloudWorkloadSecurityAgentRuleType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableCloudWorkloadSecurityAgentRuleType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableCloudWorkloadSecurityAgentRuleType) UnmarshalJSON ¶

func (v *NullableCloudWorkloadSecurityAgentRuleType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCloudWorkloadSecurityAgentRuleType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableCloudflareAccountType ¶ added in v2.8.0

type NullableCloudflareAccountType struct {
	// contains filtered or unexported fields
}

NullableCloudflareAccountType handles when a null is used for CloudflareAccountType.

func NewNullableCloudflareAccountType ¶ added in v2.8.0

func NewNullableCloudflareAccountType(val *CloudflareAccountType) *NullableCloudflareAccountType

NewNullableCloudflareAccountType initializes the struct as if Set has been called.

func (NullableCloudflareAccountType) Get ¶ added in v2.8.0

Get returns the associated value.

func (NullableCloudflareAccountType) IsSet ¶ added in v2.8.0

IsSet returns whether Set has been called.

func (NullableCloudflareAccountType) MarshalJSON ¶ added in v2.8.0

func (v NullableCloudflareAccountType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCloudflareAccountType) Set ¶ added in v2.8.0

Set changes the value and indicates it's been called.

func (*NullableCloudflareAccountType) UnmarshalJSON ¶ added in v2.8.0

func (v *NullableCloudflareAccountType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCloudflareAccountType) Unset ¶ added in v2.8.0

func (v *NullableCloudflareAccountType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableConfluentAccountType ¶ added in v2.4.0

type NullableConfluentAccountType struct {
	// contains filtered or unexported fields
}

NullableConfluentAccountType handles when a null is used for ConfluentAccountType.

func NewNullableConfluentAccountType ¶ added in v2.4.0

func NewNullableConfluentAccountType(val *ConfluentAccountType) *NullableConfluentAccountType

NewNullableConfluentAccountType initializes the struct as if Set has been called.

func (NullableConfluentAccountType) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableConfluentAccountType) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableConfluentAccountType) MarshalJSON ¶ added in v2.4.0

func (v NullableConfluentAccountType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableConfluentAccountType) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableConfluentAccountType) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableConfluentAccountType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableConfluentAccountType) Unset ¶ added in v2.4.0

func (v *NullableConfluentAccountType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableConfluentResourceType ¶ added in v2.4.0

type NullableConfluentResourceType struct {
	// contains filtered or unexported fields
}

NullableConfluentResourceType handles when a null is used for ConfluentResourceType.

func NewNullableConfluentResourceType ¶ added in v2.4.0

func NewNullableConfluentResourceType(val *ConfluentResourceType) *NullableConfluentResourceType

NewNullableConfluentResourceType initializes the struct as if Set has been called.

func (NullableConfluentResourceType) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableConfluentResourceType) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableConfluentResourceType) MarshalJSON ¶ added in v2.4.0

func (v NullableConfluentResourceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableConfluentResourceType) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableConfluentResourceType) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableConfluentResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableConfluentResourceType) Unset ¶ added in v2.4.0

func (v *NullableConfluentResourceType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableContentEncoding ¶

type NullableContentEncoding struct {
	// contains filtered or unexported fields
}

NullableContentEncoding handles when a null is used for ContentEncoding.

func NewNullableContentEncoding ¶

func NewNullableContentEncoding(val *ContentEncoding) *NullableContentEncoding

NewNullableContentEncoding initializes the struct as if Set has been called.

func (NullableContentEncoding) Get ¶

Get returns the associated value.

func (NullableContentEncoding) IsSet ¶

func (v NullableContentEncoding) IsSet() bool

IsSet returns whether Set has been called.

func (NullableContentEncoding) MarshalJSON ¶

func (v NullableContentEncoding) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableContentEncoding) Set ¶

Set changes the value and indicates it's been called.

func (*NullableContentEncoding) UnmarshalJSON ¶

func (v *NullableContentEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableContentEncoding) Unset ¶

func (v *NullableContentEncoding) Unset()

Unset sets the value to nil and resets the set flag.

type NullableCostByOrgType ¶

type NullableCostByOrgType struct {
	// contains filtered or unexported fields
}

NullableCostByOrgType handles when a null is used for CostByOrgType.

func NewNullableCostByOrgType ¶

func NewNullableCostByOrgType(val *CostByOrgType) *NullableCostByOrgType

NewNullableCostByOrgType initializes the struct as if Set has been called.

func (NullableCostByOrgType) Get ¶

Get returns the associated value.

func (NullableCostByOrgType) IsSet ¶

func (v NullableCostByOrgType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableCostByOrgType) MarshalJSON ¶

func (v NullableCostByOrgType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCostByOrgType) Set ¶

func (v *NullableCostByOrgType) Set(val *CostByOrgType)

Set changes the value and indicates it's been called.

func (*NullableCostByOrgType) UnmarshalJSON ¶

func (v *NullableCostByOrgType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCostByOrgType) Unset ¶

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 NullableEventPriority ¶

type NullableEventPriority struct {
	// contains filtered or unexported fields
}

NullableEventPriority handles when a null is used for EventPriority.

func NewNullableEventPriority ¶

func NewNullableEventPriority(val *EventPriority) *NullableEventPriority

NewNullableEventPriority initializes the struct as if Set has been called.

func (NullableEventPriority) Get ¶

Get returns the associated value.

func (NullableEventPriority) IsSet ¶

func (v NullableEventPriority) IsSet() bool

IsSet returns whether Set has been called.

func (NullableEventPriority) MarshalJSON ¶

func (v NullableEventPriority) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableEventPriority) Set ¶

func (v *NullableEventPriority) Set(val *EventPriority)

Set changes the value and indicates it's been called.

func (*NullableEventPriority) UnmarshalJSON ¶

func (v *NullableEventPriority) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventPriority) Unset ¶

func (v *NullableEventPriority) Unset()

Unset sets the value to nil and resets the set flag.

type NullableEventStatusType ¶

type NullableEventStatusType struct {
	// contains filtered or unexported fields
}

NullableEventStatusType handles when a null is used for EventStatusType.

func NewNullableEventStatusType ¶

func NewNullableEventStatusType(val *EventStatusType) *NullableEventStatusType

NewNullableEventStatusType initializes the struct as if Set has been called.

func (NullableEventStatusType) Get ¶

Get returns the associated value.

func (NullableEventStatusType) IsSet ¶

func (v NullableEventStatusType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableEventStatusType) MarshalJSON ¶

func (v NullableEventStatusType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableEventStatusType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableEventStatusType) UnmarshalJSON ¶

func (v *NullableEventStatusType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventStatusType) Unset ¶

func (v *NullableEventStatusType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableEventType ¶

type NullableEventType struct {
	// contains filtered or unexported fields
}

NullableEventType handles when a null is used for EventType.

func NewNullableEventType ¶

func NewNullableEventType(val *EventType) *NullableEventType

NewNullableEventType initializes the struct as if Set has been called.

func (NullableEventType) Get ¶

func (v NullableEventType) Get() *EventType

Get returns the associated value.

func (NullableEventType) IsSet ¶

func (v NullableEventType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableEventType) MarshalJSON ¶

func (v NullableEventType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableEventType) Set ¶

func (v *NullableEventType) Set(val *EventType)

Set changes the value and indicates it's been called.

func (*NullableEventType) UnmarshalJSON ¶

func (v *NullableEventType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventType) Unset ¶

func (v *NullableEventType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableEventsAggregation ¶ added in v2.7.0

type NullableEventsAggregation struct {
	// contains filtered or unexported fields
}

NullableEventsAggregation handles when a null is used for EventsAggregation.

func NewNullableEventsAggregation ¶ added in v2.7.0

func NewNullableEventsAggregation(val *EventsAggregation) *NullableEventsAggregation

NewNullableEventsAggregation initializes the struct as if Set has been called.

func (NullableEventsAggregation) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableEventsAggregation) IsSet ¶ added in v2.7.0

func (v NullableEventsAggregation) IsSet() bool

IsSet returns whether Set has been called.

func (NullableEventsAggregation) MarshalJSON ¶ added in v2.7.0

func (v NullableEventsAggregation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableEventsAggregation) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableEventsAggregation) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableEventsAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventsAggregation) Unset ¶ added in v2.7.0

func (v *NullableEventsAggregation) Unset()

Unset sets the value to nil and resets the set flag.

type NullableEventsDataSource ¶ added in v2.7.0

type NullableEventsDataSource struct {
	// contains filtered or unexported fields
}

NullableEventsDataSource handles when a null is used for EventsDataSource.

func NewNullableEventsDataSource ¶ added in v2.7.0

func NewNullableEventsDataSource(val *EventsDataSource) *NullableEventsDataSource

NewNullableEventsDataSource initializes the struct as if Set has been called.

func (NullableEventsDataSource) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableEventsDataSource) IsSet ¶ added in v2.7.0

func (v NullableEventsDataSource) IsSet() bool

IsSet returns whether Set has been called.

func (NullableEventsDataSource) MarshalJSON ¶ added in v2.7.0

func (v NullableEventsDataSource) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableEventsDataSource) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableEventsDataSource) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableEventsDataSource) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventsDataSource) Unset ¶ added in v2.7.0

func (v *NullableEventsDataSource) Unset()

Unset sets the value to nil and resets the set flag.

type NullableEventsSort ¶

type NullableEventsSort struct {
	// contains filtered or unexported fields
}

NullableEventsSort handles when a null is used for EventsSort.

func NewNullableEventsSort ¶

func NewNullableEventsSort(val *EventsSort) *NullableEventsSort

NewNullableEventsSort initializes the struct as if Set has been called.

func (NullableEventsSort) Get ¶

func (v NullableEventsSort) Get() *EventsSort

Get returns the associated value.

func (NullableEventsSort) IsSet ¶

func (v NullableEventsSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableEventsSort) MarshalJSON ¶

func (v NullableEventsSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableEventsSort) Set ¶

func (v *NullableEventsSort) Set(val *EventsSort)

Set changes the value and indicates it's been called.

func (*NullableEventsSort) UnmarshalJSON ¶

func (v *NullableEventsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventsSort) Unset ¶

func (v *NullableEventsSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableEventsSortType ¶ added in v2.7.0

type NullableEventsSortType struct {
	// contains filtered or unexported fields
}

NullableEventsSortType handles when a null is used for EventsSortType.

func NewNullableEventsSortType ¶ added in v2.7.0

func NewNullableEventsSortType(val *EventsSortType) *NullableEventsSortType

NewNullableEventsSortType initializes the struct as if Set has been called.

func (NullableEventsSortType) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableEventsSortType) IsSet ¶ added in v2.7.0

func (v NullableEventsSortType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableEventsSortType) MarshalJSON ¶ added in v2.7.0

func (v NullableEventsSortType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableEventsSortType) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableEventsSortType) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableEventsSortType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventsSortType) Unset ¶ added in v2.7.0

func (v *NullableEventsSortType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableFastlyAccountType ¶ added in v2.8.0

type NullableFastlyAccountType struct {
	// contains filtered or unexported fields
}

NullableFastlyAccountType handles when a null is used for FastlyAccountType.

func NewNullableFastlyAccountType ¶ added in v2.8.0

func NewNullableFastlyAccountType(val *FastlyAccountType) *NullableFastlyAccountType

NewNullableFastlyAccountType initializes the struct as if Set has been called.

func (NullableFastlyAccountType) Get ¶ added in v2.8.0

Get returns the associated value.

func (NullableFastlyAccountType) IsSet ¶ added in v2.8.0

func (v NullableFastlyAccountType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableFastlyAccountType) MarshalJSON ¶ added in v2.8.0

func (v NullableFastlyAccountType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableFastlyAccountType) Set ¶ added in v2.8.0

Set changes the value and indicates it's been called.

func (*NullableFastlyAccountType) UnmarshalJSON ¶ added in v2.8.0

func (v *NullableFastlyAccountType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFastlyAccountType) Unset ¶ added in v2.8.0

func (v *NullableFastlyAccountType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableFastlyServiceType ¶ added in v2.8.0

type NullableFastlyServiceType struct {
	// contains filtered or unexported fields
}

NullableFastlyServiceType handles when a null is used for FastlyServiceType.

func NewNullableFastlyServiceType ¶ added in v2.8.0

func NewNullableFastlyServiceType(val *FastlyServiceType) *NullableFastlyServiceType

NewNullableFastlyServiceType initializes the struct as if Set has been called.

func (NullableFastlyServiceType) Get ¶ added in v2.8.0

Get returns the associated value.

func (NullableFastlyServiceType) IsSet ¶ added in v2.8.0

func (v NullableFastlyServiceType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableFastlyServiceType) MarshalJSON ¶ added in v2.8.0

func (v NullableFastlyServiceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableFastlyServiceType) Set ¶ added in v2.8.0

Set changes the value and indicates it's been called.

func (*NullableFastlyServiceType) UnmarshalJSON ¶ added in v2.8.0

func (v *NullableFastlyServiceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFastlyServiceType) Unset ¶ added in v2.8.0

func (v *NullableFastlyServiceType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableHourlyUsageType ¶

type NullableHourlyUsageType struct {
	// contains filtered or unexported fields
}

NullableHourlyUsageType handles when a null is used for HourlyUsageType.

func NewNullableHourlyUsageType ¶

func NewNullableHourlyUsageType(val *HourlyUsageType) *NullableHourlyUsageType

NewNullableHourlyUsageType initializes the struct as if Set has been called.

func (NullableHourlyUsageType) Get ¶

Get returns the associated value.

func (NullableHourlyUsageType) IsSet ¶

func (v NullableHourlyUsageType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableHourlyUsageType) MarshalJSON ¶

func (v NullableHourlyUsageType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableHourlyUsageType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableHourlyUsageType) UnmarshalJSON ¶

func (v *NullableHourlyUsageType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableHourlyUsageType) Unset ¶

func (v *NullableHourlyUsageType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableIPAllowlistEntryType ¶ added in v2.10.0

type NullableIPAllowlistEntryType struct {
	// contains filtered or unexported fields
}

NullableIPAllowlistEntryType handles when a null is used for IPAllowlistEntryType.

func NewNullableIPAllowlistEntryType ¶ added in v2.10.0

func NewNullableIPAllowlistEntryType(val *IPAllowlistEntryType) *NullableIPAllowlistEntryType

NewNullableIPAllowlistEntryType initializes the struct as if Set has been called.

func (NullableIPAllowlistEntryType) Get ¶ added in v2.10.0

Get returns the associated value.

func (NullableIPAllowlistEntryType) IsSet ¶ added in v2.10.0

IsSet returns whether Set has been called.

func (NullableIPAllowlistEntryType) MarshalJSON ¶ added in v2.10.0

func (v NullableIPAllowlistEntryType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIPAllowlistEntryType) Set ¶ added in v2.10.0

Set changes the value and indicates it's been called.

func (*NullableIPAllowlistEntryType) UnmarshalJSON ¶ added in v2.10.0

func (v *NullableIPAllowlistEntryType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIPAllowlistEntryType) Unset ¶ added in v2.10.0

func (v *NullableIPAllowlistEntryType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableIPAllowlistType ¶ added in v2.10.0

type NullableIPAllowlistType struct {
	// contains filtered or unexported fields
}

NullableIPAllowlistType handles when a null is used for IPAllowlistType.

func NewNullableIPAllowlistType ¶ added in v2.10.0

func NewNullableIPAllowlistType(val *IPAllowlistType) *NullableIPAllowlistType

NewNullableIPAllowlistType initializes the struct as if Set has been called.

func (NullableIPAllowlistType) Get ¶ added in v2.10.0

Get returns the associated value.

func (NullableIPAllowlistType) IsSet ¶ added in v2.10.0

func (v NullableIPAllowlistType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableIPAllowlistType) MarshalJSON ¶ added in v2.10.0

func (v NullableIPAllowlistType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIPAllowlistType) Set ¶ added in v2.10.0

Set changes the value and indicates it's been called.

func (*NullableIPAllowlistType) UnmarshalJSON ¶ added in v2.10.0

func (v *NullableIPAllowlistType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIPAllowlistType) Unset ¶ added in v2.10.0

func (v *NullableIPAllowlistType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableIncidentAttachmentAttachmentType ¶ added in v2.4.0

type NullableIncidentAttachmentAttachmentType struct {
	// contains filtered or unexported fields
}

NullableIncidentAttachmentAttachmentType handles when a null is used for IncidentAttachmentAttachmentType.

func NewNullableIncidentAttachmentAttachmentType ¶ added in v2.4.0

func NewNullableIncidentAttachmentAttachmentType(val *IncidentAttachmentAttachmentType) *NullableIncidentAttachmentAttachmentType

NewNullableIncidentAttachmentAttachmentType initializes the struct as if Set has been called.

func (NullableIncidentAttachmentAttachmentType) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableIncidentAttachmentAttachmentType) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableIncidentAttachmentAttachmentType) MarshalJSON ¶ added in v2.4.0

MarshalJSON serializes the associated value.

func (*NullableIncidentAttachmentAttachmentType) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableIncidentAttachmentAttachmentType) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableIncidentAttachmentAttachmentType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentAttachmentAttachmentType) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableIncidentAttachmentAttributes ¶ added in v2.4.0

type NullableIncidentAttachmentAttributes struct {
	// contains filtered or unexported fields
}

NullableIncidentAttachmentAttributes handles when a null is used for IncidentAttachmentAttributes.

func NewNullableIncidentAttachmentAttributes ¶ added in v2.4.0

func NewNullableIncidentAttachmentAttributes(val *IncidentAttachmentAttributes) *NullableIncidentAttachmentAttributes

NewNullableIncidentAttachmentAttributes initializes the struct as if Set has been called.

func (NullableIncidentAttachmentAttributes) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableIncidentAttachmentAttributes) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableIncidentAttachmentAttributes) MarshalJSON ¶ added in v2.4.0

func (v NullableIncidentAttachmentAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentAttachmentAttributes) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableIncidentAttachmentAttributes) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableIncidentAttachmentAttributes) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentAttachmentAttributes) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag/

type NullableIncidentAttachmentLinkAttachmentType ¶ added in v2.4.0

type NullableIncidentAttachmentLinkAttachmentType struct {
	// contains filtered or unexported fields
}

NullableIncidentAttachmentLinkAttachmentType handles when a null is used for IncidentAttachmentLinkAttachmentType.

func NewNullableIncidentAttachmentLinkAttachmentType ¶ added in v2.4.0

func NewNullableIncidentAttachmentLinkAttachmentType(val *IncidentAttachmentLinkAttachmentType) *NullableIncidentAttachmentLinkAttachmentType

NewNullableIncidentAttachmentLinkAttachmentType initializes the struct as if Set has been called.

func (NullableIncidentAttachmentLinkAttachmentType) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableIncidentAttachmentLinkAttachmentType) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableIncidentAttachmentLinkAttachmentType) MarshalJSON ¶ added in v2.4.0

MarshalJSON serializes the associated value.

func (*NullableIncidentAttachmentLinkAttachmentType) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableIncidentAttachmentLinkAttachmentType) UnmarshalJSON ¶ added in v2.4.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentAttachmentLinkAttachmentType) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableIncidentAttachmentPostmortemAttachmentType ¶ added in v2.4.0

type NullableIncidentAttachmentPostmortemAttachmentType struct {
	// contains filtered or unexported fields
}

NullableIncidentAttachmentPostmortemAttachmentType handles when a null is used for IncidentAttachmentPostmortemAttachmentType.

func NewNullableIncidentAttachmentPostmortemAttachmentType ¶ added in v2.4.0

func NewNullableIncidentAttachmentPostmortemAttachmentType(val *IncidentAttachmentPostmortemAttachmentType) *NullableIncidentAttachmentPostmortemAttachmentType

NewNullableIncidentAttachmentPostmortemAttachmentType initializes the struct as if Set has been called.

func (NullableIncidentAttachmentPostmortemAttachmentType) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableIncidentAttachmentPostmortemAttachmentType) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableIncidentAttachmentPostmortemAttachmentType) MarshalJSON ¶ added in v2.4.0

MarshalJSON serializes the associated value.

func (*NullableIncidentAttachmentPostmortemAttachmentType) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableIncidentAttachmentPostmortemAttachmentType) UnmarshalJSON ¶ added in v2.4.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentAttachmentPostmortemAttachmentType) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableIncidentAttachmentRelatedObject ¶ added in v2.4.0

type NullableIncidentAttachmentRelatedObject struct {
	// contains filtered or unexported fields
}

NullableIncidentAttachmentRelatedObject handles when a null is used for IncidentAttachmentRelatedObject.

func NewNullableIncidentAttachmentRelatedObject ¶ added in v2.4.0

func NewNullableIncidentAttachmentRelatedObject(val *IncidentAttachmentRelatedObject) *NullableIncidentAttachmentRelatedObject

NewNullableIncidentAttachmentRelatedObject initializes the struct as if Set has been called.

func (NullableIncidentAttachmentRelatedObject) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableIncidentAttachmentRelatedObject) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableIncidentAttachmentRelatedObject) MarshalJSON ¶ added in v2.4.0

func (v NullableIncidentAttachmentRelatedObject) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentAttachmentRelatedObject) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableIncidentAttachmentRelatedObject) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableIncidentAttachmentRelatedObject) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentAttachmentRelatedObject) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableIncidentAttachmentType ¶ added in v2.4.0

type NullableIncidentAttachmentType struct {
	// contains filtered or unexported fields
}

NullableIncidentAttachmentType handles when a null is used for IncidentAttachmentType.

func NewNullableIncidentAttachmentType ¶ added in v2.4.0

func NewNullableIncidentAttachmentType(val *IncidentAttachmentType) *NullableIncidentAttachmentType

NewNullableIncidentAttachmentType initializes the struct as if Set has been called.

func (NullableIncidentAttachmentType) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableIncidentAttachmentType) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableIncidentAttachmentType) MarshalJSON ¶ added in v2.4.0

func (v NullableIncidentAttachmentType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentAttachmentType) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableIncidentAttachmentType) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableIncidentAttachmentType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentAttachmentType) Unset ¶ added in v2.4.0

func (v *NullableIncidentAttachmentType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableIncidentAttachmentUpdateAttributes ¶ added in v2.4.0

type NullableIncidentAttachmentUpdateAttributes struct {
	// contains filtered or unexported fields
}

NullableIncidentAttachmentUpdateAttributes handles when a null is used for IncidentAttachmentUpdateAttributes.

func NewNullableIncidentAttachmentUpdateAttributes ¶ added in v2.4.0

func NewNullableIncidentAttachmentUpdateAttributes(val *IncidentAttachmentUpdateAttributes) *NullableIncidentAttachmentUpdateAttributes

NewNullableIncidentAttachmentUpdateAttributes initializes the struct as if Set has been called.

func (NullableIncidentAttachmentUpdateAttributes) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableIncidentAttachmentUpdateAttributes) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableIncidentAttachmentUpdateAttributes) MarshalJSON ¶ added in v2.4.0

MarshalJSON serializes the associated value.

func (*NullableIncidentAttachmentUpdateAttributes) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableIncidentAttachmentUpdateAttributes) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableIncidentAttachmentUpdateAttributes) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentAttachmentUpdateAttributes) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag/

type NullableIncidentAttachmentsResponseIncludedItem ¶ added in v2.4.0

type NullableIncidentAttachmentsResponseIncludedItem struct {
	// contains filtered or unexported fields
}

NullableIncidentAttachmentsResponseIncludedItem handles when a null is used for IncidentAttachmentsResponseIncludedItem.

func NewNullableIncidentAttachmentsResponseIncludedItem ¶ added in v2.4.0

func NewNullableIncidentAttachmentsResponseIncludedItem(val *IncidentAttachmentsResponseIncludedItem) *NullableIncidentAttachmentsResponseIncludedItem

NewNullableIncidentAttachmentsResponseIncludedItem initializes the struct as if Set has been called.

func (NullableIncidentAttachmentsResponseIncludedItem) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableIncidentAttachmentsResponseIncludedItem) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableIncidentAttachmentsResponseIncludedItem) MarshalJSON ¶ added in v2.4.0

MarshalJSON serializes the associated value.

func (*NullableIncidentAttachmentsResponseIncludedItem) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableIncidentAttachmentsResponseIncludedItem) UnmarshalJSON ¶ added in v2.4.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentAttachmentsResponseIncludedItem) Unset ¶ added in v2.4.0

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 NullableIncidentIntegrationMetadataMetadata ¶ added in v2.10.0

type NullableIncidentIntegrationMetadataMetadata struct {
	// contains filtered or unexported fields
}

NullableIncidentIntegrationMetadataMetadata handles when a null is used for IncidentIntegrationMetadataMetadata.

func NewNullableIncidentIntegrationMetadataMetadata ¶ added in v2.10.0

func NewNullableIncidentIntegrationMetadataMetadata(val *IncidentIntegrationMetadataMetadata) *NullableIncidentIntegrationMetadataMetadata

NewNullableIncidentIntegrationMetadataMetadata initializes the struct as if Set has been called.

func (NullableIncidentIntegrationMetadataMetadata) Get ¶ added in v2.10.0

Get returns the associated value.

func (NullableIncidentIntegrationMetadataMetadata) IsSet ¶ added in v2.10.0

IsSet returns whether Set has been called.

func (NullableIncidentIntegrationMetadataMetadata) MarshalJSON ¶ added in v2.10.0

MarshalJSON serializes the associated value.

func (*NullableIncidentIntegrationMetadataMetadata) Set ¶ added in v2.10.0

Set changes the value and indicates it's been called.

func (*NullableIncidentIntegrationMetadataMetadata) UnmarshalJSON ¶ added in v2.10.0

func (v *NullableIncidentIntegrationMetadataMetadata) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentIntegrationMetadataMetadata) Unset ¶ added in v2.10.0

Unset sets the value to nil and resets the set flag/

type NullableIncidentIntegrationMetadataResponseIncludedItem ¶ added in v2.10.0

type NullableIncidentIntegrationMetadataResponseIncludedItem struct {
	// contains filtered or unexported fields
}

NullableIncidentIntegrationMetadataResponseIncludedItem handles when a null is used for IncidentIntegrationMetadataResponseIncludedItem.

func NewNullableIncidentIntegrationMetadataResponseIncludedItem ¶ added in v2.10.0

func NewNullableIncidentIntegrationMetadataResponseIncludedItem(val *IncidentIntegrationMetadataResponseIncludedItem) *NullableIncidentIntegrationMetadataResponseIncludedItem

NewNullableIncidentIntegrationMetadataResponseIncludedItem initializes the struct as if Set has been called.

func (NullableIncidentIntegrationMetadataResponseIncludedItem) Get ¶ added in v2.10.0

Get returns the associated value.

func (NullableIncidentIntegrationMetadataResponseIncludedItem) IsSet ¶ added in v2.10.0

IsSet returns whether Set has been called.

func (NullableIncidentIntegrationMetadataResponseIncludedItem) MarshalJSON ¶ added in v2.10.0

MarshalJSON serializes the associated value.

func (*NullableIncidentIntegrationMetadataResponseIncludedItem) Set ¶ added in v2.10.0

Set changes the value and indicates it's been called.

func (*NullableIncidentIntegrationMetadataResponseIncludedItem) UnmarshalJSON ¶ added in v2.10.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentIntegrationMetadataResponseIncludedItem) Unset ¶ added in v2.10.0

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 NullableIncidentSearchResultsType ¶ added in v2.7.0

type NullableIncidentSearchResultsType struct {
	// contains filtered or unexported fields
}

NullableIncidentSearchResultsType handles when a null is used for IncidentSearchResultsType.

func NewNullableIncidentSearchResultsType ¶ added in v2.7.0

func NewNullableIncidentSearchResultsType(val *IncidentSearchResultsType) *NullableIncidentSearchResultsType

NewNullableIncidentSearchResultsType initializes the struct as if Set has been called.

func (NullableIncidentSearchResultsType) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableIncidentSearchResultsType) IsSet ¶ added in v2.7.0

IsSet returns whether Set has been called.

func (NullableIncidentSearchResultsType) MarshalJSON ¶ added in v2.7.0

func (v NullableIncidentSearchResultsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentSearchResultsType) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableIncidentSearchResultsType) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableIncidentSearchResultsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentSearchResultsType) Unset ¶ added in v2.7.0

Unset sets the value to nil and resets the set flag.

type NullableIncidentSearchSortOrder ¶ added in v2.7.0

type NullableIncidentSearchSortOrder struct {
	// contains filtered or unexported fields
}

NullableIncidentSearchSortOrder handles when a null is used for IncidentSearchSortOrder.

func NewNullableIncidentSearchSortOrder ¶ added in v2.7.0

func NewNullableIncidentSearchSortOrder(val *IncidentSearchSortOrder) *NullableIncidentSearchSortOrder

NewNullableIncidentSearchSortOrder initializes the struct as if Set has been called.

func (NullableIncidentSearchSortOrder) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableIncidentSearchSortOrder) IsSet ¶ added in v2.7.0

IsSet returns whether Set has been called.

func (NullableIncidentSearchSortOrder) MarshalJSON ¶ added in v2.7.0

func (v NullableIncidentSearchSortOrder) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIncidentSearchSortOrder) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableIncidentSearchSortOrder) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableIncidentSearchSortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIncidentSearchSortOrder) Unset ¶ added in v2.7.0

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 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 NullableLogsStorageTier ¶ added in v2.5.0

type NullableLogsStorageTier struct {
	// contains filtered or unexported fields
}

NullableLogsStorageTier handles when a null is used for LogsStorageTier.

func NewNullableLogsStorageTier ¶ added in v2.5.0

func NewNullableLogsStorageTier(val *LogsStorageTier) *NullableLogsStorageTier

NewNullableLogsStorageTier initializes the struct as if Set has been called.

func (NullableLogsStorageTier) Get ¶ added in v2.5.0

Get returns the associated value.

func (NullableLogsStorageTier) IsSet ¶ added in v2.5.0

func (v NullableLogsStorageTier) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsStorageTier) MarshalJSON ¶ added in v2.5.0

func (v NullableLogsStorageTier) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsStorageTier) Set ¶ added in v2.5.0

Set changes the value and indicates it's been called.

func (*NullableLogsStorageTier) UnmarshalJSON ¶ added in v2.5.0

func (v *NullableLogsStorageTier) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsStorageTier) Unset ¶ added in v2.5.0

func (v *NullableLogsStorageTier) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMetricActiveConfigurationType ¶ added in v2.3.0

type NullableMetricActiveConfigurationType struct {
	// contains filtered or unexported fields
}

NullableMetricActiveConfigurationType handles when a null is used for MetricActiveConfigurationType.

func NewNullableMetricActiveConfigurationType ¶ added in v2.3.0

func NewNullableMetricActiveConfigurationType(val *MetricActiveConfigurationType) *NullableMetricActiveConfigurationType

NewNullableMetricActiveConfigurationType initializes the struct as if Set has been called.

func (NullableMetricActiveConfigurationType) Get ¶ added in v2.3.0

Get returns the associated value.

func (NullableMetricActiveConfigurationType) IsSet ¶ added in v2.3.0

IsSet returns whether Set has been called.

func (NullableMetricActiveConfigurationType) MarshalJSON ¶ added in v2.3.0

func (v NullableMetricActiveConfigurationType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricActiveConfigurationType) Set ¶ added in v2.3.0

Set changes the value and indicates it's been called.

func (*NullableMetricActiveConfigurationType) UnmarshalJSON ¶ added in v2.3.0

func (v *NullableMetricActiveConfigurationType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricActiveConfigurationType) Unset ¶ added in v2.3.0

Unset sets the value to nil and resets the set flag.

type NullableMetricBulkConfigureTagsType ¶

type NullableMetricBulkConfigureTagsType struct {
	// contains filtered or unexported fields
}

NullableMetricBulkConfigureTagsType handles when a null is used for MetricBulkConfigureTagsType.

func NewNullableMetricBulkConfigureTagsType ¶

func NewNullableMetricBulkConfigureTagsType(val *MetricBulkConfigureTagsType) *NullableMetricBulkConfigureTagsType

NewNullableMetricBulkConfigureTagsType initializes the struct as if Set has been called.

func (NullableMetricBulkConfigureTagsType) Get ¶

Get returns the associated value.

func (NullableMetricBulkConfigureTagsType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMetricBulkConfigureTagsType) MarshalJSON ¶

func (v NullableMetricBulkConfigureTagsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricBulkConfigureTagsType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricBulkConfigureTagsType) UnmarshalJSON ¶

func (v *NullableMetricBulkConfigureTagsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricBulkConfigureTagsType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableMetricContentEncoding ¶

type NullableMetricContentEncoding struct {
	// contains filtered or unexported fields
}

NullableMetricContentEncoding handles when a null is used for MetricContentEncoding.

func NewNullableMetricContentEncoding ¶

func NewNullableMetricContentEncoding(val *MetricContentEncoding) *NullableMetricContentEncoding

NewNullableMetricContentEncoding initializes the struct as if Set has been called.

func (NullableMetricContentEncoding) Get ¶

Get returns the associated value.

func (NullableMetricContentEncoding) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMetricContentEncoding) MarshalJSON ¶

func (v NullableMetricContentEncoding) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricContentEncoding) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricContentEncoding) UnmarshalJSON ¶

func (v *NullableMetricContentEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricContentEncoding) Unset ¶

func (v *NullableMetricContentEncoding) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMetricCustomSpaceAggregation ¶

type NullableMetricCustomSpaceAggregation struct {
	// contains filtered or unexported fields
}

NullableMetricCustomSpaceAggregation handles when a null is used for MetricCustomSpaceAggregation.

func NewNullableMetricCustomSpaceAggregation ¶

func NewNullableMetricCustomSpaceAggregation(val *MetricCustomSpaceAggregation) *NullableMetricCustomSpaceAggregation

NewNullableMetricCustomSpaceAggregation initializes the struct as if Set has been called.

func (NullableMetricCustomSpaceAggregation) Get ¶

Get returns the associated value.

func (NullableMetricCustomSpaceAggregation) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMetricCustomSpaceAggregation) MarshalJSON ¶

func (v NullableMetricCustomSpaceAggregation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricCustomSpaceAggregation) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricCustomSpaceAggregation) UnmarshalJSON ¶

func (v *NullableMetricCustomSpaceAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricCustomSpaceAggregation) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableMetricCustomTimeAggregation ¶

type NullableMetricCustomTimeAggregation struct {
	// contains filtered or unexported fields
}

NullableMetricCustomTimeAggregation handles when a null is used for MetricCustomTimeAggregation.

func NewNullableMetricCustomTimeAggregation ¶

func NewNullableMetricCustomTimeAggregation(val *MetricCustomTimeAggregation) *NullableMetricCustomTimeAggregation

NewNullableMetricCustomTimeAggregation initializes the struct as if Set has been called.

func (NullableMetricCustomTimeAggregation) Get ¶

Get returns the associated value.

func (NullableMetricCustomTimeAggregation) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMetricCustomTimeAggregation) MarshalJSON ¶

func (v NullableMetricCustomTimeAggregation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricCustomTimeAggregation) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricCustomTimeAggregation) UnmarshalJSON ¶

func (v *NullableMetricCustomTimeAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricCustomTimeAggregation) Unset ¶

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 ¶

type NullableMetricEstimateResourceType struct {
	// contains filtered or unexported fields
}

NullableMetricEstimateResourceType handles when a null is used for MetricEstimateResourceType.

func NewNullableMetricEstimateResourceType ¶

func NewNullableMetricEstimateResourceType(val *MetricEstimateResourceType) *NullableMetricEstimateResourceType

NewNullableMetricEstimateResourceType initializes the struct as if Set has been called.

func (NullableMetricEstimateResourceType) Get ¶

Get returns the associated value.

func (NullableMetricEstimateResourceType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMetricEstimateResourceType) MarshalJSON ¶

func (v NullableMetricEstimateResourceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricEstimateResourceType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricEstimateResourceType) UnmarshalJSON ¶

func (v *NullableMetricEstimateResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricEstimateResourceType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableMetricEstimateType ¶

type NullableMetricEstimateType struct {
	// contains filtered or unexported fields
}

NullableMetricEstimateType handles when a null is used for MetricEstimateType.

func NewNullableMetricEstimateType ¶

func NewNullableMetricEstimateType(val *MetricEstimateType) *NullableMetricEstimateType

NewNullableMetricEstimateType initializes the struct as if Set has been called.

func (NullableMetricEstimateType) Get ¶

Get returns the associated value.

func (NullableMetricEstimateType) IsSet ¶

func (v NullableMetricEstimateType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMetricEstimateType) MarshalJSON ¶

func (v NullableMetricEstimateType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricEstimateType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricEstimateType) UnmarshalJSON ¶

func (v *NullableMetricEstimateType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricEstimateType) Unset ¶

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 ¶

type NullableMetricIntakeType struct {
	// contains filtered or unexported fields
}

NullableMetricIntakeType handles when a null is used for MetricIntakeType.

func NewNullableMetricIntakeType ¶

func NewNullableMetricIntakeType(val *MetricIntakeType) *NullableMetricIntakeType

NewNullableMetricIntakeType initializes the struct as if Set has been called.

func (NullableMetricIntakeType) Get ¶

Get returns the associated value.

func (NullableMetricIntakeType) IsSet ¶

func (v NullableMetricIntakeType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMetricIntakeType) MarshalJSON ¶

func (v NullableMetricIntakeType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricIntakeType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricIntakeType) UnmarshalJSON ¶

func (v *NullableMetricIntakeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricIntakeType) Unset ¶

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 NullableMetricsAggregator ¶ added in v2.7.0

type NullableMetricsAggregator struct {
	// contains filtered or unexported fields
}

NullableMetricsAggregator handles when a null is used for MetricsAggregator.

func NewNullableMetricsAggregator ¶ added in v2.7.0

func NewNullableMetricsAggregator(val *MetricsAggregator) *NullableMetricsAggregator

NewNullableMetricsAggregator initializes the struct as if Set has been called.

func (NullableMetricsAggregator) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableMetricsAggregator) IsSet ¶ added in v2.7.0

func (v NullableMetricsAggregator) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMetricsAggregator) MarshalJSON ¶ added in v2.7.0

func (v NullableMetricsAggregator) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricsAggregator) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableMetricsAggregator) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableMetricsAggregator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricsAggregator) Unset ¶ added in v2.7.0

func (v *NullableMetricsAggregator) 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 NullableMetricsDataSource ¶ added in v2.7.0

type NullableMetricsDataSource struct {
	// contains filtered or unexported fields
}

NullableMetricsDataSource handles when a null is used for MetricsDataSource.

func NewNullableMetricsDataSource ¶ added in v2.7.0

func NewNullableMetricsDataSource(val *MetricsDataSource) *NullableMetricsDataSource

NewNullableMetricsDataSource initializes the struct as if Set has been called.

func (NullableMetricsDataSource) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableMetricsDataSource) IsSet ¶ added in v2.7.0

func (v NullableMetricsDataSource) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMetricsDataSource) MarshalJSON ¶ added in v2.7.0

func (v NullableMetricsDataSource) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricsDataSource) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableMetricsDataSource) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableMetricsDataSource) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricsDataSource) Unset ¶ added in v2.7.0

func (v *NullableMetricsDataSource) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMonitorConfigPolicyPolicy ¶ added in v2.8.0

type NullableMonitorConfigPolicyPolicy struct {
	// contains filtered or unexported fields
}

NullableMonitorConfigPolicyPolicy handles when a null is used for MonitorConfigPolicyPolicy.

func NewNullableMonitorConfigPolicyPolicy ¶ added in v2.8.0

func NewNullableMonitorConfigPolicyPolicy(val *MonitorConfigPolicyPolicy) *NullableMonitorConfigPolicyPolicy

NewNullableMonitorConfigPolicyPolicy initializes the struct as if Set has been called.

func (NullableMonitorConfigPolicyPolicy) Get ¶ added in v2.8.0

Get returns the associated value.

func (NullableMonitorConfigPolicyPolicy) IsSet ¶ added in v2.8.0

IsSet returns whether Set has been called.

func (NullableMonitorConfigPolicyPolicy) MarshalJSON ¶ added in v2.8.0

func (v NullableMonitorConfigPolicyPolicy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMonitorConfigPolicyPolicy) Set ¶ added in v2.8.0

Set changes the value and indicates it's been called.

func (*NullableMonitorConfigPolicyPolicy) UnmarshalJSON ¶ added in v2.8.0

func (v *NullableMonitorConfigPolicyPolicy) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorConfigPolicyPolicy) Unset ¶ added in v2.8.0

Unset sets the value to nil and resets the set flag/

type NullableMonitorConfigPolicyPolicyCreateRequest ¶ added in v2.8.0

type NullableMonitorConfigPolicyPolicyCreateRequest struct {
	// contains filtered or unexported fields
}

NullableMonitorConfigPolicyPolicyCreateRequest handles when a null is used for MonitorConfigPolicyPolicyCreateRequest.

func NewNullableMonitorConfigPolicyPolicyCreateRequest ¶ added in v2.8.0

func NewNullableMonitorConfigPolicyPolicyCreateRequest(val *MonitorConfigPolicyPolicyCreateRequest) *NullableMonitorConfigPolicyPolicyCreateRequest

NewNullableMonitorConfigPolicyPolicyCreateRequest initializes the struct as if Set has been called.

func (NullableMonitorConfigPolicyPolicyCreateRequest) Get ¶ added in v2.8.0

Get returns the associated value.

func (NullableMonitorConfigPolicyPolicyCreateRequest) IsSet ¶ added in v2.8.0

IsSet returns whether Set has been called.

func (NullableMonitorConfigPolicyPolicyCreateRequest) MarshalJSON ¶ added in v2.8.0

MarshalJSON serializes the associated value.

func (*NullableMonitorConfigPolicyPolicyCreateRequest) Set ¶ added in v2.8.0

Set changes the value and indicates it's been called.

func (*NullableMonitorConfigPolicyPolicyCreateRequest) UnmarshalJSON ¶ added in v2.8.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorConfigPolicyPolicyCreateRequest) Unset ¶ added in v2.8.0

Unset sets the value to nil and resets the set flag/

type NullableMonitorConfigPolicyResourceType ¶ added in v2.8.0

type NullableMonitorConfigPolicyResourceType struct {
	// contains filtered or unexported fields
}

NullableMonitorConfigPolicyResourceType handles when a null is used for MonitorConfigPolicyResourceType.

func NewNullableMonitorConfigPolicyResourceType ¶ added in v2.8.0

func NewNullableMonitorConfigPolicyResourceType(val *MonitorConfigPolicyResourceType) *NullableMonitorConfigPolicyResourceType

NewNullableMonitorConfigPolicyResourceType initializes the struct as if Set has been called.

func (NullableMonitorConfigPolicyResourceType) Get ¶ added in v2.8.0

Get returns the associated value.

func (NullableMonitorConfigPolicyResourceType) IsSet ¶ added in v2.8.0

IsSet returns whether Set has been called.

func (NullableMonitorConfigPolicyResourceType) MarshalJSON ¶ added in v2.8.0

func (v NullableMonitorConfigPolicyResourceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMonitorConfigPolicyResourceType) Set ¶ added in v2.8.0

Set changes the value and indicates it's been called.

func (*NullableMonitorConfigPolicyResourceType) UnmarshalJSON ¶ added in v2.8.0

func (v *NullableMonitorConfigPolicyResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorConfigPolicyResourceType) Unset ¶ added in v2.8.0

Unset sets the value to nil and resets the set flag.

type NullableMonitorConfigPolicyType ¶ added in v2.8.0

type NullableMonitorConfigPolicyType struct {
	// contains filtered or unexported fields
}

NullableMonitorConfigPolicyType handles when a null is used for MonitorConfigPolicyType.

func NewNullableMonitorConfigPolicyType ¶ added in v2.8.0

func NewNullableMonitorConfigPolicyType(val *MonitorConfigPolicyType) *NullableMonitorConfigPolicyType

NewNullableMonitorConfigPolicyType initializes the struct as if Set has been called.

func (NullableMonitorConfigPolicyType) Get ¶ added in v2.8.0

Get returns the associated value.

func (NullableMonitorConfigPolicyType) IsSet ¶ added in v2.8.0

IsSet returns whether Set has been called.

func (NullableMonitorConfigPolicyType) MarshalJSON ¶ added in v2.8.0

func (v NullableMonitorConfigPolicyType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMonitorConfigPolicyType) Set ¶ added in v2.8.0

Set changes the value and indicates it's been called.

func (*NullableMonitorConfigPolicyType) UnmarshalJSON ¶ added in v2.8.0

func (v *NullableMonitorConfigPolicyType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorConfigPolicyType) Unset ¶ added in v2.8.0

Unset sets the value to nil and resets the set flag.

type NullableMonitorType ¶

type NullableMonitorType struct {
	// contains filtered or unexported fields
}

NullableMonitorType handles when a null is used for MonitorType.

func NewNullableMonitorType ¶

func NewNullableMonitorType(val *MonitorType) *NullableMonitorType

NewNullableMonitorType initializes the struct as if Set has been called.

func (NullableMonitorType) Get ¶

Get returns the associated value.

func (NullableMonitorType) IsSet ¶

func (v NullableMonitorType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMonitorType) MarshalJSON ¶

func (v NullableMonitorType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMonitorType) Set ¶

func (v *NullableMonitorType) Set(val *MonitorType)

Set changes the value and indicates it's been called.

func (*NullableMonitorType) UnmarshalJSON ¶

func (v *NullableMonitorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorType) Unset ¶

func (v *NullableMonitorType) Unset()

Unset sets the value to nil and resets the set flag/

type NullableNullableRelationshipToUserData ¶

type NullableNullableRelationshipToUserData struct {
	// contains filtered or unexported fields
}

NullableNullableRelationshipToUserData handles when a null is used for NullableRelationshipToUserData.

func NewNullableNullableRelationshipToUserData ¶

func NewNullableNullableRelationshipToUserData(val *NullableRelationshipToUserData) *NullableNullableRelationshipToUserData

NewNullableNullableRelationshipToUserData initializes the struct as if Set has been called.

func (NullableNullableRelationshipToUserData) Get ¶

Get returns the associated value.

func (NullableNullableRelationshipToUserData) IsSet ¶

IsSet returns whether Set has been called.

func (NullableNullableRelationshipToUserData) MarshalJSON ¶

func (v NullableNullableRelationshipToUserData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNullableRelationshipToUserData) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNullableRelationshipToUserData) UnmarshalJSON ¶

func (v *NullableNullableRelationshipToUserData) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNullableRelationshipToUserData) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableOpsgenieServiceRegionType ¶

type NullableOpsgenieServiceRegionType struct {
	// contains filtered or unexported fields
}

NullableOpsgenieServiceRegionType handles when a null is used for OpsgenieServiceRegionType.

func NewNullableOpsgenieServiceRegionType ¶

func NewNullableOpsgenieServiceRegionType(val *OpsgenieServiceRegionType) *NullableOpsgenieServiceRegionType

NewNullableOpsgenieServiceRegionType initializes the struct as if Set has been called.

func (NullableOpsgenieServiceRegionType) Get ¶

Get returns the associated value.

func (NullableOpsgenieServiceRegionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableOpsgenieServiceRegionType) MarshalJSON ¶

func (v NullableOpsgenieServiceRegionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableOpsgenieServiceRegionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableOpsgenieServiceRegionType) UnmarshalJSON ¶

func (v *NullableOpsgenieServiceRegionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableOpsgenieServiceRegionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableOpsgenieServiceType ¶

type NullableOpsgenieServiceType struct {
	// contains filtered or unexported fields
}

NullableOpsgenieServiceType handles when a null is used for OpsgenieServiceType.

func NewNullableOpsgenieServiceType ¶

func NewNullableOpsgenieServiceType(val *OpsgenieServiceType) *NullableOpsgenieServiceType

NewNullableOpsgenieServiceType initializes the struct as if Set has been called.

func (NullableOpsgenieServiceType) Get ¶

Get returns the associated value.

func (NullableOpsgenieServiceType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableOpsgenieServiceType) MarshalJSON ¶

func (v NullableOpsgenieServiceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableOpsgenieServiceType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableOpsgenieServiceType) UnmarshalJSON ¶

func (v *NullableOpsgenieServiceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableOpsgenieServiceType) Unset ¶

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 ¶

type NullableRUMAggregateBucketValue struct {
	// contains filtered or unexported fields
}

NullableRUMAggregateBucketValue handles when a null is used for RUMAggregateBucketValue.

func NewNullableRUMAggregateBucketValue ¶

func NewNullableRUMAggregateBucketValue(val *RUMAggregateBucketValue) *NullableRUMAggregateBucketValue

NewNullableRUMAggregateBucketValue initializes the struct as if Set has been called.

func (NullableRUMAggregateBucketValue) Get ¶

Get returns the associated value.

func (NullableRUMAggregateBucketValue) IsSet ¶

IsSet returns whether Set has been called.

func (NullableRUMAggregateBucketValue) MarshalJSON ¶

func (v NullableRUMAggregateBucketValue) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMAggregateBucketValue) Set ¶

Set changes the value and indicates it's been called.

func (*NullableRUMAggregateBucketValue) UnmarshalJSON ¶

func (v *NullableRUMAggregateBucketValue) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMAggregateBucketValue) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableRUMAggregateSortType ¶

type NullableRUMAggregateSortType struct {
	// contains filtered or unexported fields
}

NullableRUMAggregateSortType handles when a null is used for RUMAggregateSortType.

func NewNullableRUMAggregateSortType ¶

func NewNullableRUMAggregateSortType(val *RUMAggregateSortType) *NullableRUMAggregateSortType

NewNullableRUMAggregateSortType initializes the struct as if Set has been called.

func (NullableRUMAggregateSortType) Get ¶

Get returns the associated value.

func (NullableRUMAggregateSortType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableRUMAggregateSortType) MarshalJSON ¶

func (v NullableRUMAggregateSortType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMAggregateSortType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableRUMAggregateSortType) UnmarshalJSON ¶

func (v *NullableRUMAggregateSortType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMAggregateSortType) Unset ¶

func (v *NullableRUMAggregateSortType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMAggregationFunction ¶

type NullableRUMAggregationFunction struct {
	// contains filtered or unexported fields
}

NullableRUMAggregationFunction handles when a null is used for RUMAggregationFunction.

func NewNullableRUMAggregationFunction ¶

func NewNullableRUMAggregationFunction(val *RUMAggregationFunction) *NullableRUMAggregationFunction

NewNullableRUMAggregationFunction initializes the struct as if Set has been called.

func (NullableRUMAggregationFunction) Get ¶

Get returns the associated value.

func (NullableRUMAggregationFunction) IsSet ¶

IsSet returns whether Set has been called.

func (NullableRUMAggregationFunction) MarshalJSON ¶

func (v NullableRUMAggregationFunction) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMAggregationFunction) Set ¶

Set changes the value and indicates it's been called.

func (*NullableRUMAggregationFunction) UnmarshalJSON ¶

func (v *NullableRUMAggregationFunction) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMAggregationFunction) Unset ¶

func (v *NullableRUMAggregationFunction) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMApplicationCreateType ¶

type NullableRUMApplicationCreateType struct {
	// contains filtered or unexported fields
}

NullableRUMApplicationCreateType handles when a null is used for RUMApplicationCreateType.

func NewNullableRUMApplicationCreateType ¶

func NewNullableRUMApplicationCreateType(val *RUMApplicationCreateType) *NullableRUMApplicationCreateType

NewNullableRUMApplicationCreateType initializes the struct as if Set has been called.

func (NullableRUMApplicationCreateType) Get ¶

Get returns the associated value.

func (NullableRUMApplicationCreateType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableRUMApplicationCreateType) MarshalJSON ¶

func (v NullableRUMApplicationCreateType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMApplicationCreateType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableRUMApplicationCreateType) UnmarshalJSON ¶

func (v *NullableRUMApplicationCreateType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMApplicationCreateType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableRUMApplicationListType ¶ added in v2.6.0

type NullableRUMApplicationListType struct {
	// contains filtered or unexported fields
}

NullableRUMApplicationListType handles when a null is used for RUMApplicationListType.

func NewNullableRUMApplicationListType ¶ added in v2.6.0

func NewNullableRUMApplicationListType(val *RUMApplicationListType) *NullableRUMApplicationListType

NewNullableRUMApplicationListType initializes the struct as if Set has been called.

func (NullableRUMApplicationListType) Get ¶ added in v2.6.0

Get returns the associated value.

func (NullableRUMApplicationListType) IsSet ¶ added in v2.6.0

IsSet returns whether Set has been called.

func (NullableRUMApplicationListType) MarshalJSON ¶ added in v2.6.0

func (v NullableRUMApplicationListType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMApplicationListType) Set ¶ added in v2.6.0

Set changes the value and indicates it's been called.

func (*NullableRUMApplicationListType) UnmarshalJSON ¶ added in v2.6.0

func (v *NullableRUMApplicationListType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMApplicationListType) Unset ¶ added in v2.6.0

func (v *NullableRUMApplicationListType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMApplicationType ¶

type NullableRUMApplicationType struct {
	// contains filtered or unexported fields
}

NullableRUMApplicationType handles when a null is used for RUMApplicationType.

func NewNullableRUMApplicationType ¶

func NewNullableRUMApplicationType(val *RUMApplicationType) *NullableRUMApplicationType

NewNullableRUMApplicationType initializes the struct as if Set has been called.

func (NullableRUMApplicationType) Get ¶

Get returns the associated value.

func (NullableRUMApplicationType) IsSet ¶

func (v NullableRUMApplicationType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMApplicationType) MarshalJSON ¶

func (v NullableRUMApplicationType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMApplicationType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableRUMApplicationType) UnmarshalJSON ¶

func (v *NullableRUMApplicationType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMApplicationType) Unset ¶

func (v *NullableRUMApplicationType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMApplicationUpdateType ¶

type NullableRUMApplicationUpdateType struct {
	// contains filtered or unexported fields
}

NullableRUMApplicationUpdateType handles when a null is used for RUMApplicationUpdateType.

func NewNullableRUMApplicationUpdateType ¶

func NewNullableRUMApplicationUpdateType(val *RUMApplicationUpdateType) *NullableRUMApplicationUpdateType

NewNullableRUMApplicationUpdateType initializes the struct as if Set has been called.

func (NullableRUMApplicationUpdateType) Get ¶

Get returns the associated value.

func (NullableRUMApplicationUpdateType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableRUMApplicationUpdateType) MarshalJSON ¶

func (v NullableRUMApplicationUpdateType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMApplicationUpdateType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableRUMApplicationUpdateType) UnmarshalJSON ¶

func (v *NullableRUMApplicationUpdateType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMApplicationUpdateType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableRUMComputeType ¶

type NullableRUMComputeType struct {
	// contains filtered or unexported fields
}

NullableRUMComputeType handles when a null is used for RUMComputeType.

func NewNullableRUMComputeType ¶

func NewNullableRUMComputeType(val *RUMComputeType) *NullableRUMComputeType

NewNullableRUMComputeType initializes the struct as if Set has been called.

func (NullableRUMComputeType) Get ¶

Get returns the associated value.

func (NullableRUMComputeType) IsSet ¶

func (v NullableRUMComputeType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMComputeType) MarshalJSON ¶

func (v NullableRUMComputeType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMComputeType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableRUMComputeType) UnmarshalJSON ¶

func (v *NullableRUMComputeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMComputeType) Unset ¶

func (v *NullableRUMComputeType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMEventType ¶

type NullableRUMEventType struct {
	// contains filtered or unexported fields
}

NullableRUMEventType handles when a null is used for RUMEventType.

func NewNullableRUMEventType ¶

func NewNullableRUMEventType(val *RUMEventType) *NullableRUMEventType

NewNullableRUMEventType initializes the struct as if Set has been called.

func (NullableRUMEventType) Get ¶

Get returns the associated value.

func (NullableRUMEventType) IsSet ¶

func (v NullableRUMEventType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMEventType) MarshalJSON ¶

func (v NullableRUMEventType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMEventType) Set ¶

func (v *NullableRUMEventType) Set(val *RUMEventType)

Set changes the value and indicates it's been called.

func (*NullableRUMEventType) UnmarshalJSON ¶

func (v *NullableRUMEventType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMEventType) Unset ¶

func (v *NullableRUMEventType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMGroupByMissing ¶

type NullableRUMGroupByMissing struct {
	// contains filtered or unexported fields
}

NullableRUMGroupByMissing handles when a null is used for RUMGroupByMissing.

func NewNullableRUMGroupByMissing ¶

func NewNullableRUMGroupByMissing(val *RUMGroupByMissing) *NullableRUMGroupByMissing

NewNullableRUMGroupByMissing initializes the struct as if Set has been called.

func (NullableRUMGroupByMissing) Get ¶

Get returns the associated value.

func (NullableRUMGroupByMissing) IsSet ¶

func (v NullableRUMGroupByMissing) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMGroupByMissing) MarshalJSON ¶

func (v NullableRUMGroupByMissing) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMGroupByMissing) Set ¶

Set changes the value and indicates it's been called.

func (*NullableRUMGroupByMissing) UnmarshalJSON ¶

func (v *NullableRUMGroupByMissing) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMGroupByMissing) Unset ¶

func (v *NullableRUMGroupByMissing) Unset()

Unset sets the value to nil and resets the set flag/

type NullableRUMGroupByTotal ¶

type NullableRUMGroupByTotal struct {
	// contains filtered or unexported fields
}

NullableRUMGroupByTotal handles when a null is used for RUMGroupByTotal.

func NewNullableRUMGroupByTotal ¶

func NewNullableRUMGroupByTotal(val *RUMGroupByTotal) *NullableRUMGroupByTotal

NewNullableRUMGroupByTotal initializes the struct as if Set has been called.

func (NullableRUMGroupByTotal) Get ¶

Get returns the associated value.

func (NullableRUMGroupByTotal) IsSet ¶

func (v NullableRUMGroupByTotal) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMGroupByTotal) MarshalJSON ¶

func (v NullableRUMGroupByTotal) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMGroupByTotal) Set ¶

Set changes the value and indicates it's been called.

func (*NullableRUMGroupByTotal) UnmarshalJSON ¶

func (v *NullableRUMGroupByTotal) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMGroupByTotal) Unset ¶

func (v *NullableRUMGroupByTotal) Unset()

Unset sets the value to nil and resets the set flag/

type NullableRUMResponseStatus ¶

type NullableRUMResponseStatus struct {
	// contains filtered or unexported fields
}

NullableRUMResponseStatus handles when a null is used for RUMResponseStatus.

func NewNullableRUMResponseStatus ¶

func NewNullableRUMResponseStatus(val *RUMResponseStatus) *NullableRUMResponseStatus

NewNullableRUMResponseStatus initializes the struct as if Set has been called.

func (NullableRUMResponseStatus) Get ¶

Get returns the associated value.

func (NullableRUMResponseStatus) IsSet ¶

func (v NullableRUMResponseStatus) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMResponseStatus) MarshalJSON ¶

func (v NullableRUMResponseStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMResponseStatus) Set ¶

Set changes the value and indicates it's been called.

func (*NullableRUMResponseStatus) UnmarshalJSON ¶

func (v *NullableRUMResponseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMResponseStatus) Unset ¶

func (v *NullableRUMResponseStatus) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMSort ¶

type NullableRUMSort struct {
	// contains filtered or unexported fields
}

NullableRUMSort handles when a null is used for RUMSort.

func NewNullableRUMSort ¶

func NewNullableRUMSort(val *RUMSort) *NullableRUMSort

NewNullableRUMSort initializes the struct as if Set has been called.

func (NullableRUMSort) Get ¶

func (v NullableRUMSort) Get() *RUMSort

Get returns the associated value.

func (NullableRUMSort) IsSet ¶

func (v NullableRUMSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMSort) MarshalJSON ¶

func (v NullableRUMSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMSort) Set ¶

func (v *NullableRUMSort) Set(val *RUMSort)

Set changes the value and indicates it's been called.

func (*NullableRUMSort) UnmarshalJSON ¶

func (v *NullableRUMSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMSort) Unset ¶

func (v *NullableRUMSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableRUMSortOrder ¶

type NullableRUMSortOrder struct {
	// contains filtered or unexported fields
}

NullableRUMSortOrder handles when a null is used for RUMSortOrder.

func NewNullableRUMSortOrder ¶

func NewNullableRUMSortOrder(val *RUMSortOrder) *NullableRUMSortOrder

NewNullableRUMSortOrder initializes the struct as if Set has been called.

func (NullableRUMSortOrder) Get ¶

Get returns the associated value.

func (NullableRUMSortOrder) IsSet ¶

func (v NullableRUMSortOrder) IsSet() bool

IsSet returns whether Set has been called.

func (NullableRUMSortOrder) MarshalJSON ¶

func (v NullableRUMSortOrder) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRUMSortOrder) Set ¶

func (v *NullableRUMSortOrder) Set(val *RUMSortOrder)

Set changes the value and indicates it's been called.

func (*NullableRUMSortOrder) UnmarshalJSON ¶

func (v *NullableRUMSortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRUMSortOrder) Unset ¶

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 ¶

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 ¶

GetData returns the Data field value. If the value is explicit nil, the zero value for NullableRelationshipToUserData will be returned.

func (*NullableRelationshipToUser) GetDataOk ¶

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 ¶

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 ¶

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 ¶

GetId returns the Id field value.

func (*NullableRelationshipToUserData) GetIdOk ¶

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 ¶

GetType returns the Type field value.

func (*NullableRelationshipToUserData) GetTypeOk ¶

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 ¶

SetId sets field value.

func (*NullableRelationshipToUserData) SetType ¶

SetType sets field value.

func (*NullableRelationshipToUserData) UnmarshalJSON ¶

func (o *NullableRelationshipToUserData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NullableRestrictionPolicyType ¶ added in v2.10.0

type NullableRestrictionPolicyType struct {
	// contains filtered or unexported fields
}

NullableRestrictionPolicyType handles when a null is used for RestrictionPolicyType.

func NewNullableRestrictionPolicyType ¶ added in v2.10.0

func NewNullableRestrictionPolicyType(val *RestrictionPolicyType) *NullableRestrictionPolicyType

NewNullableRestrictionPolicyType initializes the struct as if Set has been called.

func (NullableRestrictionPolicyType) Get ¶ added in v2.10.0

Get returns the associated value.

func (NullableRestrictionPolicyType) IsSet ¶ added in v2.10.0

IsSet returns whether Set has been called.

func (NullableRestrictionPolicyType) MarshalJSON ¶ added in v2.10.0

func (v NullableRestrictionPolicyType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableRestrictionPolicyType) Set ¶ added in v2.10.0

Set changes the value and indicates it's been called.

func (*NullableRestrictionPolicyType) UnmarshalJSON ¶ added in v2.10.0

func (v *NullableRestrictionPolicyType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableRestrictionPolicyType) Unset ¶ added in v2.10.0

func (v *NullableRestrictionPolicyType) Unset()

Unset sets the value to nil and resets the set flag.

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 ¶

type NullableSAMLAssertionAttributesType struct {
	// contains filtered or unexported fields
}

NullableSAMLAssertionAttributesType handles when a null is used for SAMLAssertionAttributesType.

func NewNullableSAMLAssertionAttributesType ¶

func NewNullableSAMLAssertionAttributesType(val *SAMLAssertionAttributesType) *NullableSAMLAssertionAttributesType

NewNullableSAMLAssertionAttributesType initializes the struct as if Set has been called.

func (NullableSAMLAssertionAttributesType) Get ¶

Get returns the associated value.

func (NullableSAMLAssertionAttributesType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSAMLAssertionAttributesType) MarshalJSON ¶

func (v NullableSAMLAssertionAttributesType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSAMLAssertionAttributesType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSAMLAssertionAttributesType) UnmarshalJSON ¶

func (v *NullableSAMLAssertionAttributesType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSAMLAssertionAttributesType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableScalarColumn ¶ added in v2.8.0

type NullableScalarColumn struct {
	// contains filtered or unexported fields
}

NullableScalarColumn handles when a null is used for ScalarColumn.

func NewNullableScalarColumn ¶ added in v2.8.0

func NewNullableScalarColumn(val *ScalarColumn) *NullableScalarColumn

NewNullableScalarColumn initializes the struct as if Set has been called.

func (NullableScalarColumn) Get ¶ added in v2.8.0

Get returns the associated value.

func (NullableScalarColumn) IsSet ¶ added in v2.8.0

func (v NullableScalarColumn) IsSet() bool

IsSet returns whether Set has been called.

func (NullableScalarColumn) MarshalJSON ¶ added in v2.8.0

func (v NullableScalarColumn) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableScalarColumn) Set ¶ added in v2.8.0

func (v *NullableScalarColumn) Set(val *ScalarColumn)

Set changes the value and indicates it's been called.

func (*NullableScalarColumn) UnmarshalJSON ¶ added in v2.8.0

func (v *NullableScalarColumn) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableScalarColumn) Unset ¶ added in v2.8.0

func (v *NullableScalarColumn) Unset()

Unset sets the value to nil and resets the set flag/

type NullableScalarFormulaRequestType ¶ added in v2.7.0

type NullableScalarFormulaRequestType struct {
	// contains filtered or unexported fields
}

NullableScalarFormulaRequestType handles when a null is used for ScalarFormulaRequestType.

func NewNullableScalarFormulaRequestType ¶ added in v2.7.0

func NewNullableScalarFormulaRequestType(val *ScalarFormulaRequestType) *NullableScalarFormulaRequestType

NewNullableScalarFormulaRequestType initializes the struct as if Set has been called.

func (NullableScalarFormulaRequestType) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableScalarFormulaRequestType) IsSet ¶ added in v2.7.0

IsSet returns whether Set has been called.

func (NullableScalarFormulaRequestType) MarshalJSON ¶ added in v2.7.0

func (v NullableScalarFormulaRequestType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableScalarFormulaRequestType) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableScalarFormulaRequestType) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableScalarFormulaRequestType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableScalarFormulaRequestType) Unset ¶ added in v2.7.0

Unset sets the value to nil and resets the set flag.

type NullableScalarFormulaResponseType ¶ added in v2.7.0

type NullableScalarFormulaResponseType struct {
	// contains filtered or unexported fields
}

NullableScalarFormulaResponseType handles when a null is used for ScalarFormulaResponseType.

func NewNullableScalarFormulaResponseType ¶ added in v2.7.0

func NewNullableScalarFormulaResponseType(val *ScalarFormulaResponseType) *NullableScalarFormulaResponseType

NewNullableScalarFormulaResponseType initializes the struct as if Set has been called.

func (NullableScalarFormulaResponseType) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableScalarFormulaResponseType) IsSet ¶ added in v2.7.0

IsSet returns whether Set has been called.

func (NullableScalarFormulaResponseType) MarshalJSON ¶ added in v2.7.0

func (v NullableScalarFormulaResponseType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableScalarFormulaResponseType) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableScalarFormulaResponseType) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableScalarFormulaResponseType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableScalarFormulaResponseType) Unset ¶ added in v2.7.0

Unset sets the value to nil and resets the set flag.

type NullableScalarQuery ¶ added in v2.7.0

type NullableScalarQuery struct {
	// contains filtered or unexported fields
}

NullableScalarQuery handles when a null is used for ScalarQuery.

func NewNullableScalarQuery ¶ added in v2.7.0

func NewNullableScalarQuery(val *ScalarQuery) *NullableScalarQuery

NewNullableScalarQuery initializes the struct as if Set has been called.

func (NullableScalarQuery) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableScalarQuery) IsSet ¶ added in v2.7.0

func (v NullableScalarQuery) IsSet() bool

IsSet returns whether Set has been called.

func (NullableScalarQuery) MarshalJSON ¶ added in v2.7.0

func (v NullableScalarQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableScalarQuery) Set ¶ added in v2.7.0

func (v *NullableScalarQuery) Set(val *ScalarQuery)

Set changes the value and indicates it's been called.

func (*NullableScalarQuery) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableScalarQuery) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableScalarQuery) Unset ¶ added in v2.7.0

func (v *NullableScalarQuery) Unset()

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 NullableSecurityMonitoringRuleCreatePayload ¶ added in v2.3.0

type NullableSecurityMonitoringRuleCreatePayload struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleCreatePayload handles when a null is used for SecurityMonitoringRuleCreatePayload.

func NewNullableSecurityMonitoringRuleCreatePayload ¶ added in v2.3.0

func NewNullableSecurityMonitoringRuleCreatePayload(val *SecurityMonitoringRuleCreatePayload) *NullableSecurityMonitoringRuleCreatePayload

NewNullableSecurityMonitoringRuleCreatePayload initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleCreatePayload) Get ¶ added in v2.3.0

Get returns the associated value.

func (NullableSecurityMonitoringRuleCreatePayload) IsSet ¶ added in v2.3.0

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleCreatePayload) MarshalJSON ¶ added in v2.3.0

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleCreatePayload) Set ¶ added in v2.3.0

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleCreatePayload) UnmarshalJSON ¶ added in v2.3.0

func (v *NullableSecurityMonitoringRuleCreatePayload) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleCreatePayload) Unset ¶ added in v2.3.0

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 ¶

type NullableSecurityMonitoringRuleHardcodedEvaluatorType struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleHardcodedEvaluatorType handles when a null is used for SecurityMonitoringRuleHardcodedEvaluatorType.

func NewNullableSecurityMonitoringRuleHardcodedEvaluatorType ¶

func NewNullableSecurityMonitoringRuleHardcodedEvaluatorType(val *SecurityMonitoringRuleHardcodedEvaluatorType) *NullableSecurityMonitoringRuleHardcodedEvaluatorType

NewNullableSecurityMonitoringRuleHardcodedEvaluatorType initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleHardcodedEvaluatorType) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleHardcodedEvaluatorType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleHardcodedEvaluatorType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleHardcodedEvaluatorType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleHardcodedEvaluatorType) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleHardcodedEvaluatorType) Unset ¶

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 ¶

type NullableSecurityMonitoringRuleNewValueOptionsLearningMethod struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleNewValueOptionsLearningMethod handles when a null is used for SecurityMonitoringRuleNewValueOptionsLearningMethod.

func NewNullableSecurityMonitoringRuleNewValueOptionsLearningMethod ¶

func NewNullableSecurityMonitoringRuleNewValueOptionsLearningMethod(val *SecurityMonitoringRuleNewValueOptionsLearningMethod) *NullableSecurityMonitoringRuleNewValueOptionsLearningMethod

NewNullableSecurityMonitoringRuleNewValueOptionsLearningMethod initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold ¶

type NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold handles when a null is used for SecurityMonitoringRuleNewValueOptionsLearningThreshold.

func NewNullableSecurityMonitoringRuleNewValueOptionsLearningThreshold ¶

func NewNullableSecurityMonitoringRuleNewValueOptionsLearningThreshold(val *SecurityMonitoringRuleNewValueOptionsLearningThreshold) *NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold

NewNullableSecurityMonitoringRuleNewValueOptionsLearningThreshold initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleQuery ¶ added in v2.3.0

type NullableSecurityMonitoringRuleQuery struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleQuery handles when a null is used for SecurityMonitoringRuleQuery.

func NewNullableSecurityMonitoringRuleQuery ¶ added in v2.3.0

func NewNullableSecurityMonitoringRuleQuery(val *SecurityMonitoringRuleQuery) *NullableSecurityMonitoringRuleQuery

NewNullableSecurityMonitoringRuleQuery initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleQuery) Get ¶ added in v2.3.0

Get returns the associated value.

func (NullableSecurityMonitoringRuleQuery) IsSet ¶ added in v2.3.0

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleQuery) MarshalJSON ¶ added in v2.3.0

func (v NullableSecurityMonitoringRuleQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleQuery) Set ¶ added in v2.3.0

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleQuery) UnmarshalJSON ¶ added in v2.3.0

func (v *NullableSecurityMonitoringRuleQuery) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleQuery) Unset ¶ added in v2.3.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 NullableSecurityMonitoringRuleResponse ¶ added in v2.3.1

type NullableSecurityMonitoringRuleResponse struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleResponse handles when a null is used for SecurityMonitoringRuleResponse.

func NewNullableSecurityMonitoringRuleResponse ¶ added in v2.3.1

func NewNullableSecurityMonitoringRuleResponse(val *SecurityMonitoringRuleResponse) *NullableSecurityMonitoringRuleResponse

NewNullableSecurityMonitoringRuleResponse initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleResponse) Get ¶ added in v2.3.1

Get returns the associated value.

func (NullableSecurityMonitoringRuleResponse) IsSet ¶ added in v2.3.1

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleResponse) MarshalJSON ¶ added in v2.3.1

func (v NullableSecurityMonitoringRuleResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleResponse) Set ¶ added in v2.3.1

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleResponse) UnmarshalJSON ¶ added in v2.3.1

func (v *NullableSecurityMonitoringRuleResponse) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleResponse) Unset ¶ added in v2.3.1

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 ¶

type NullableSecurityMonitoringRuleTypeCreate struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleTypeCreate handles when a null is used for SecurityMonitoringRuleTypeCreate.

func NewNullableSecurityMonitoringRuleTypeCreate ¶

func NewNullableSecurityMonitoringRuleTypeCreate(val *SecurityMonitoringRuleTypeCreate) *NullableSecurityMonitoringRuleTypeCreate

NewNullableSecurityMonitoringRuleTypeCreate initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleTypeCreate) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleTypeCreate) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleTypeCreate) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleTypeCreate) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleTypeCreate) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringRuleTypeCreate) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleTypeCreate) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringRuleTypeRead ¶

type NullableSecurityMonitoringRuleTypeRead struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringRuleTypeRead handles when a null is used for SecurityMonitoringRuleTypeRead.

func NewNullableSecurityMonitoringRuleTypeRead ¶

func NewNullableSecurityMonitoringRuleTypeRead(val *SecurityMonitoringRuleTypeRead) *NullableSecurityMonitoringRuleTypeRead

NewNullableSecurityMonitoringRuleTypeRead initializes the struct as if Set has been called.

func (NullableSecurityMonitoringRuleTypeRead) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringRuleTypeRead) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringRuleTypeRead) MarshalJSON ¶

func (v NullableSecurityMonitoringRuleTypeRead) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringRuleTypeRead) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringRuleTypeRead) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringRuleTypeRead) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringRuleTypeRead) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringSignalArchiveReason ¶

type NullableSecurityMonitoringSignalArchiveReason struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringSignalArchiveReason handles when a null is used for SecurityMonitoringSignalArchiveReason.

func NewNullableSecurityMonitoringSignalArchiveReason ¶

func NewNullableSecurityMonitoringSignalArchiveReason(val *SecurityMonitoringSignalArchiveReason) *NullableSecurityMonitoringSignalArchiveReason

NewNullableSecurityMonitoringSignalArchiveReason initializes the struct as if Set has been called.

func (NullableSecurityMonitoringSignalArchiveReason) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringSignalArchiveReason) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringSignalArchiveReason) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringSignalArchiveReason) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringSignalArchiveReason) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringSignalArchiveReason) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringSignalRuleType ¶ added in v2.3.1

type NullableSecurityMonitoringSignalRuleType struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringSignalRuleType handles when a null is used for SecurityMonitoringSignalRuleType.

func NewNullableSecurityMonitoringSignalRuleType ¶ added in v2.3.1

func NewNullableSecurityMonitoringSignalRuleType(val *SecurityMonitoringSignalRuleType) *NullableSecurityMonitoringSignalRuleType

NewNullableSecurityMonitoringSignalRuleType initializes the struct as if Set has been called.

func (NullableSecurityMonitoringSignalRuleType) Get ¶ added in v2.3.1

Get returns the associated value.

func (NullableSecurityMonitoringSignalRuleType) IsSet ¶ added in v2.3.1

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringSignalRuleType) MarshalJSON ¶ added in v2.3.1

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringSignalRuleType) Set ¶ added in v2.3.1

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringSignalRuleType) UnmarshalJSON ¶ added in v2.3.1

func (v *NullableSecurityMonitoringSignalRuleType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringSignalRuleType) Unset ¶ added in v2.3.1

Unset sets the value to nil and resets the set flag.

type NullableSecurityMonitoringSignalState ¶

type NullableSecurityMonitoringSignalState struct {
	// contains filtered or unexported fields
}

NullableSecurityMonitoringSignalState handles when a null is used for SecurityMonitoringSignalState.

func NewNullableSecurityMonitoringSignalState ¶

func NewNullableSecurityMonitoringSignalState(val *SecurityMonitoringSignalState) *NullableSecurityMonitoringSignalState

NewNullableSecurityMonitoringSignalState initializes the struct as if Set has been called.

func (NullableSecurityMonitoringSignalState) Get ¶

Get returns the associated value.

func (NullableSecurityMonitoringSignalState) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSecurityMonitoringSignalState) MarshalJSON ¶

func (v NullableSecurityMonitoringSignalState) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSecurityMonitoringSignalState) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSecurityMonitoringSignalState) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringSignalState) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSecurityMonitoringSignalState) Unset ¶

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 NullableSensitiveDataScannerConfigurationType ¶ added in v2.6.0

type NullableSensitiveDataScannerConfigurationType struct {
	// contains filtered or unexported fields
}

NullableSensitiveDataScannerConfigurationType handles when a null is used for SensitiveDataScannerConfigurationType.

func NewNullableSensitiveDataScannerConfigurationType ¶ added in v2.6.0

func NewNullableSensitiveDataScannerConfigurationType(val *SensitiveDataScannerConfigurationType) *NullableSensitiveDataScannerConfigurationType

NewNullableSensitiveDataScannerConfigurationType initializes the struct as if Set has been called.

func (NullableSensitiveDataScannerConfigurationType) Get ¶ added in v2.6.0

Get returns the associated value.

func (NullableSensitiveDataScannerConfigurationType) IsSet ¶ added in v2.6.0

IsSet returns whether Set has been called.

func (NullableSensitiveDataScannerConfigurationType) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the associated value.

func (*NullableSensitiveDataScannerConfigurationType) Set ¶ added in v2.6.0

Set changes the value and indicates it's been called.

func (*NullableSensitiveDataScannerConfigurationType) UnmarshalJSON ¶ added in v2.6.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSensitiveDataScannerConfigurationType) Unset ¶ added in v2.6.0

Unset sets the value to nil and resets the set flag.

type NullableSensitiveDataScannerGetConfigIncludedItem ¶ added in v2.6.0

type NullableSensitiveDataScannerGetConfigIncludedItem struct {
	// contains filtered or unexported fields
}

NullableSensitiveDataScannerGetConfigIncludedItem handles when a null is used for SensitiveDataScannerGetConfigIncludedItem.

func NewNullableSensitiveDataScannerGetConfigIncludedItem ¶ added in v2.6.0

func NewNullableSensitiveDataScannerGetConfigIncludedItem(val *SensitiveDataScannerGetConfigIncludedItem) *NullableSensitiveDataScannerGetConfigIncludedItem

NewNullableSensitiveDataScannerGetConfigIncludedItem initializes the struct as if Set has been called.

func (NullableSensitiveDataScannerGetConfigIncludedItem) Get ¶ added in v2.6.0

Get returns the associated value.

func (NullableSensitiveDataScannerGetConfigIncludedItem) IsSet ¶ added in v2.6.0

IsSet returns whether Set has been called.

func (NullableSensitiveDataScannerGetConfigIncludedItem) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the associated value.

func (*NullableSensitiveDataScannerGetConfigIncludedItem) Set ¶ added in v2.6.0

Set changes the value and indicates it's been called.

func (*NullableSensitiveDataScannerGetConfigIncludedItem) UnmarshalJSON ¶ added in v2.6.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSensitiveDataScannerGetConfigIncludedItem) Unset ¶ added in v2.6.0

Unset sets the value to nil and resets the set flag/

type NullableSensitiveDataScannerGroupType ¶ added in v2.6.0

type NullableSensitiveDataScannerGroupType struct {
	// contains filtered or unexported fields
}

NullableSensitiveDataScannerGroupType handles when a null is used for SensitiveDataScannerGroupType.

func NewNullableSensitiveDataScannerGroupType ¶ added in v2.6.0

func NewNullableSensitiveDataScannerGroupType(val *SensitiveDataScannerGroupType) *NullableSensitiveDataScannerGroupType

NewNullableSensitiveDataScannerGroupType initializes the struct as if Set has been called.

func (NullableSensitiveDataScannerGroupType) Get ¶ added in v2.6.0

Get returns the associated value.

func (NullableSensitiveDataScannerGroupType) IsSet ¶ added in v2.6.0

IsSet returns whether Set has been called.

func (NullableSensitiveDataScannerGroupType) MarshalJSON ¶ added in v2.6.0

func (v NullableSensitiveDataScannerGroupType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSensitiveDataScannerGroupType) Set ¶ added in v2.6.0

Set changes the value and indicates it's been called.

func (*NullableSensitiveDataScannerGroupType) UnmarshalJSON ¶ added in v2.6.0

func (v *NullableSensitiveDataScannerGroupType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSensitiveDataScannerGroupType) Unset ¶ added in v2.6.0

Unset sets the value to nil and resets the set flag.

type NullableSensitiveDataScannerProduct ¶ added in v2.6.0

type NullableSensitiveDataScannerProduct struct {
	// contains filtered or unexported fields
}

NullableSensitiveDataScannerProduct handles when a null is used for SensitiveDataScannerProduct.

func NewNullableSensitiveDataScannerProduct ¶ added in v2.6.0

func NewNullableSensitiveDataScannerProduct(val *SensitiveDataScannerProduct) *NullableSensitiveDataScannerProduct

NewNullableSensitiveDataScannerProduct initializes the struct as if Set has been called.

func (NullableSensitiveDataScannerProduct) Get ¶ added in v2.6.0

Get returns the associated value.

func (NullableSensitiveDataScannerProduct) IsSet ¶ added in v2.6.0

IsSet returns whether Set has been called.

func (NullableSensitiveDataScannerProduct) MarshalJSON ¶ added in v2.6.0

func (v NullableSensitiveDataScannerProduct) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSensitiveDataScannerProduct) Set ¶ added in v2.6.0

Set changes the value and indicates it's been called.

func (*NullableSensitiveDataScannerProduct) UnmarshalJSON ¶ added in v2.6.0

func (v *NullableSensitiveDataScannerProduct) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSensitiveDataScannerProduct) Unset ¶ added in v2.6.0

Unset sets the value to nil and resets the set flag.

type NullableSensitiveDataScannerRuleType ¶ added in v2.6.0

type NullableSensitiveDataScannerRuleType struct {
	// contains filtered or unexported fields
}

NullableSensitiveDataScannerRuleType handles when a null is used for SensitiveDataScannerRuleType.

func NewNullableSensitiveDataScannerRuleType ¶ added in v2.6.0

func NewNullableSensitiveDataScannerRuleType(val *SensitiveDataScannerRuleType) *NullableSensitiveDataScannerRuleType

NewNullableSensitiveDataScannerRuleType initializes the struct as if Set has been called.

func (NullableSensitiveDataScannerRuleType) Get ¶ added in v2.6.0

Get returns the associated value.

func (NullableSensitiveDataScannerRuleType) IsSet ¶ added in v2.6.0

IsSet returns whether Set has been called.

func (NullableSensitiveDataScannerRuleType) MarshalJSON ¶ added in v2.6.0

func (v NullableSensitiveDataScannerRuleType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSensitiveDataScannerRuleType) Set ¶ added in v2.6.0

Set changes the value and indicates it's been called.

func (*NullableSensitiveDataScannerRuleType) UnmarshalJSON ¶ added in v2.6.0

func (v *NullableSensitiveDataScannerRuleType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSensitiveDataScannerRuleType) Unset ¶ added in v2.6.0

Unset sets the value to nil and resets the set flag.

type NullableSensitiveDataScannerStandardPatternType ¶ added in v2.6.0

type NullableSensitiveDataScannerStandardPatternType struct {
	// contains filtered or unexported fields
}

NullableSensitiveDataScannerStandardPatternType handles when a null is used for SensitiveDataScannerStandardPatternType.

func NewNullableSensitiveDataScannerStandardPatternType ¶ added in v2.6.0

func NewNullableSensitiveDataScannerStandardPatternType(val *SensitiveDataScannerStandardPatternType) *NullableSensitiveDataScannerStandardPatternType

NewNullableSensitiveDataScannerStandardPatternType initializes the struct as if Set has been called.

func (NullableSensitiveDataScannerStandardPatternType) Get ¶ added in v2.6.0

Get returns the associated value.

func (NullableSensitiveDataScannerStandardPatternType) IsSet ¶ added in v2.6.0

IsSet returns whether Set has been called.

func (NullableSensitiveDataScannerStandardPatternType) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the associated value.

func (*NullableSensitiveDataScannerStandardPatternType) Set ¶ added in v2.6.0

Set changes the value and indicates it's been called.

func (*NullableSensitiveDataScannerStandardPatternType) UnmarshalJSON ¶ added in v2.6.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSensitiveDataScannerStandardPatternType) Unset ¶ added in v2.6.0

Unset sets the value to nil and resets the set flag.

type NullableSensitiveDataScannerTextReplacementType ¶ added in v2.6.0

type NullableSensitiveDataScannerTextReplacementType struct {
	// contains filtered or unexported fields
}

NullableSensitiveDataScannerTextReplacementType handles when a null is used for SensitiveDataScannerTextReplacementType.

func NewNullableSensitiveDataScannerTextReplacementType ¶ added in v2.6.0

func NewNullableSensitiveDataScannerTextReplacementType(val *SensitiveDataScannerTextReplacementType) *NullableSensitiveDataScannerTextReplacementType

NewNullableSensitiveDataScannerTextReplacementType initializes the struct as if Set has been called.

func (NullableSensitiveDataScannerTextReplacementType) Get ¶ added in v2.6.0

Get returns the associated value.

func (NullableSensitiveDataScannerTextReplacementType) IsSet ¶ added in v2.6.0

IsSet returns whether Set has been called.

func (NullableSensitiveDataScannerTextReplacementType) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the associated value.

func (*NullableSensitiveDataScannerTextReplacementType) Set ¶ added in v2.6.0

Set changes the value and indicates it's been called.

func (*NullableSensitiveDataScannerTextReplacementType) UnmarshalJSON ¶ added in v2.6.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSensitiveDataScannerTextReplacementType) Unset ¶ added in v2.6.0

Unset sets the value to nil and resets the set flag.

type NullableServiceDefinitionSchema ¶ added in v2.4.0

type NullableServiceDefinitionSchema struct {
	// contains filtered or unexported fields
}

NullableServiceDefinitionSchema handles when a null is used for ServiceDefinitionSchema.

func NewNullableServiceDefinitionSchema ¶ added in v2.4.0

func NewNullableServiceDefinitionSchema(val *ServiceDefinitionSchema) *NullableServiceDefinitionSchema

NewNullableServiceDefinitionSchema initializes the struct as if Set has been called.

func (NullableServiceDefinitionSchema) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableServiceDefinitionSchema) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableServiceDefinitionSchema) MarshalJSON ¶ added in v2.4.0

func (v NullableServiceDefinitionSchema) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceDefinitionSchema) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableServiceDefinitionSchema) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableServiceDefinitionSchema) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceDefinitionSchema) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag/

type NullableServiceDefinitionV1ResourceType ¶ added in v2.4.0

type NullableServiceDefinitionV1ResourceType struct {
	// contains filtered or unexported fields
}

NullableServiceDefinitionV1ResourceType handles when a null is used for ServiceDefinitionV1ResourceType.

func NewNullableServiceDefinitionV1ResourceType ¶ added in v2.4.0

func NewNullableServiceDefinitionV1ResourceType(val *ServiceDefinitionV1ResourceType) *NullableServiceDefinitionV1ResourceType

NewNullableServiceDefinitionV1ResourceType initializes the struct as if Set has been called.

func (NullableServiceDefinitionV1ResourceType) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableServiceDefinitionV1ResourceType) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableServiceDefinitionV1ResourceType) MarshalJSON ¶ added in v2.4.0

func (v NullableServiceDefinitionV1ResourceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceDefinitionV1ResourceType) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableServiceDefinitionV1ResourceType) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableServiceDefinitionV1ResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceDefinitionV1ResourceType) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableServiceDefinitionV1Version ¶ added in v2.4.0

type NullableServiceDefinitionV1Version struct {
	// contains filtered or unexported fields
}

NullableServiceDefinitionV1Version handles when a null is used for ServiceDefinitionV1Version.

func NewNullableServiceDefinitionV1Version ¶ added in v2.4.0

func NewNullableServiceDefinitionV1Version(val *ServiceDefinitionV1Version) *NullableServiceDefinitionV1Version

NewNullableServiceDefinitionV1Version initializes the struct as if Set has been called.

func (NullableServiceDefinitionV1Version) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableServiceDefinitionV1Version) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableServiceDefinitionV1Version) MarshalJSON ¶ added in v2.4.0

func (v NullableServiceDefinitionV1Version) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceDefinitionV1Version) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableServiceDefinitionV1Version) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableServiceDefinitionV1Version) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceDefinitionV1Version) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableServiceDefinitionV2Contact ¶ added in v2.4.0

type NullableServiceDefinitionV2Contact struct {
	// contains filtered or unexported fields
}

NullableServiceDefinitionV2Contact handles when a null is used for ServiceDefinitionV2Contact.

func NewNullableServiceDefinitionV2Contact ¶ added in v2.4.0

func NewNullableServiceDefinitionV2Contact(val *ServiceDefinitionV2Contact) *NullableServiceDefinitionV2Contact

NewNullableServiceDefinitionV2Contact initializes the struct as if Set has been called.

func (NullableServiceDefinitionV2Contact) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableServiceDefinitionV2Contact) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableServiceDefinitionV2Contact) MarshalJSON ¶ added in v2.4.0

func (v NullableServiceDefinitionV2Contact) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceDefinitionV2Contact) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableServiceDefinitionV2Contact) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableServiceDefinitionV2Contact) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceDefinitionV2Contact) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag/

type NullableServiceDefinitionV2EmailType ¶ added in v2.4.0

type NullableServiceDefinitionV2EmailType struct {
	// contains filtered or unexported fields
}

NullableServiceDefinitionV2EmailType handles when a null is used for ServiceDefinitionV2EmailType.

func NewNullableServiceDefinitionV2EmailType ¶ added in v2.4.0

func NewNullableServiceDefinitionV2EmailType(val *ServiceDefinitionV2EmailType) *NullableServiceDefinitionV2EmailType

NewNullableServiceDefinitionV2EmailType initializes the struct as if Set has been called.

func (NullableServiceDefinitionV2EmailType) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableServiceDefinitionV2EmailType) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableServiceDefinitionV2EmailType) MarshalJSON ¶ added in v2.4.0

func (v NullableServiceDefinitionV2EmailType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceDefinitionV2EmailType) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableServiceDefinitionV2EmailType) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableServiceDefinitionV2EmailType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceDefinitionV2EmailType) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableServiceDefinitionV2LinkType ¶ added in v2.4.0

type NullableServiceDefinitionV2LinkType struct {
	// contains filtered or unexported fields
}

NullableServiceDefinitionV2LinkType handles when a null is used for ServiceDefinitionV2LinkType.

func NewNullableServiceDefinitionV2LinkType ¶ added in v2.4.0

func NewNullableServiceDefinitionV2LinkType(val *ServiceDefinitionV2LinkType) *NullableServiceDefinitionV2LinkType

NewNullableServiceDefinitionV2LinkType initializes the struct as if Set has been called.

func (NullableServiceDefinitionV2LinkType) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableServiceDefinitionV2LinkType) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableServiceDefinitionV2LinkType) MarshalJSON ¶ added in v2.4.0

func (v NullableServiceDefinitionV2LinkType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceDefinitionV2LinkType) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableServiceDefinitionV2LinkType) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableServiceDefinitionV2LinkType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceDefinitionV2LinkType) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableServiceDefinitionV2OpsgenieRegion ¶ added in v2.4.0

type NullableServiceDefinitionV2OpsgenieRegion struct {
	// contains filtered or unexported fields
}

NullableServiceDefinitionV2OpsgenieRegion handles when a null is used for ServiceDefinitionV2OpsgenieRegion.

func NewNullableServiceDefinitionV2OpsgenieRegion ¶ added in v2.4.0

func NewNullableServiceDefinitionV2OpsgenieRegion(val *ServiceDefinitionV2OpsgenieRegion) *NullableServiceDefinitionV2OpsgenieRegion

NewNullableServiceDefinitionV2OpsgenieRegion initializes the struct as if Set has been called.

func (NullableServiceDefinitionV2OpsgenieRegion) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableServiceDefinitionV2OpsgenieRegion) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableServiceDefinitionV2OpsgenieRegion) MarshalJSON ¶ added in v2.4.0

MarshalJSON serializes the associated value.

func (*NullableServiceDefinitionV2OpsgenieRegion) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableServiceDefinitionV2OpsgenieRegion) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableServiceDefinitionV2OpsgenieRegion) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceDefinitionV2OpsgenieRegion) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableServiceDefinitionV2SlackType ¶ added in v2.4.0

type NullableServiceDefinitionV2SlackType struct {
	// contains filtered or unexported fields
}

NullableServiceDefinitionV2SlackType handles when a null is used for ServiceDefinitionV2SlackType.

func NewNullableServiceDefinitionV2SlackType ¶ added in v2.4.0

func NewNullableServiceDefinitionV2SlackType(val *ServiceDefinitionV2SlackType) *NullableServiceDefinitionV2SlackType

NewNullableServiceDefinitionV2SlackType initializes the struct as if Set has been called.

func (NullableServiceDefinitionV2SlackType) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableServiceDefinitionV2SlackType) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableServiceDefinitionV2SlackType) MarshalJSON ¶ added in v2.4.0

func (v NullableServiceDefinitionV2SlackType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceDefinitionV2SlackType) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableServiceDefinitionV2SlackType) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableServiceDefinitionV2SlackType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceDefinitionV2SlackType) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableServiceDefinitionV2Version ¶ added in v2.4.0

type NullableServiceDefinitionV2Version struct {
	// contains filtered or unexported fields
}

NullableServiceDefinitionV2Version handles when a null is used for ServiceDefinitionV2Version.

func NewNullableServiceDefinitionV2Version ¶ added in v2.4.0

func NewNullableServiceDefinitionV2Version(val *ServiceDefinitionV2Version) *NullableServiceDefinitionV2Version

NewNullableServiceDefinitionV2Version initializes the struct as if Set has been called.

func (NullableServiceDefinitionV2Version) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableServiceDefinitionV2Version) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableServiceDefinitionV2Version) MarshalJSON ¶ added in v2.4.0

func (v NullableServiceDefinitionV2Version) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceDefinitionV2Version) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableServiceDefinitionV2Version) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableServiceDefinitionV2Version) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceDefinitionV2Version) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag.

type NullableServiceDefinitionsCreateRequest ¶ added in v2.4.0

type NullableServiceDefinitionsCreateRequest struct {
	// contains filtered or unexported fields
}

NullableServiceDefinitionsCreateRequest handles when a null is used for ServiceDefinitionsCreateRequest.

func NewNullableServiceDefinitionsCreateRequest ¶ added in v2.4.0

func NewNullableServiceDefinitionsCreateRequest(val *ServiceDefinitionsCreateRequest) *NullableServiceDefinitionsCreateRequest

NewNullableServiceDefinitionsCreateRequest initializes the struct as if Set has been called.

func (NullableServiceDefinitionsCreateRequest) Get ¶ added in v2.4.0

Get returns the associated value.

func (NullableServiceDefinitionsCreateRequest) IsSet ¶ added in v2.4.0

IsSet returns whether Set has been called.

func (NullableServiceDefinitionsCreateRequest) MarshalJSON ¶ added in v2.4.0

func (v NullableServiceDefinitionsCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceDefinitionsCreateRequest) Set ¶ added in v2.4.0

Set changes the value and indicates it's been called.

func (*NullableServiceDefinitionsCreateRequest) UnmarshalJSON ¶ added in v2.4.0

func (v *NullableServiceDefinitionsCreateRequest) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceDefinitionsCreateRequest) Unset ¶ added in v2.4.0

Unset sets the value to nil and resets the set flag/

type NullableTimeseriesFormulaRequestType ¶ added in v2.7.0

type NullableTimeseriesFormulaRequestType struct {
	// contains filtered or unexported fields
}

NullableTimeseriesFormulaRequestType handles when a null is used for TimeseriesFormulaRequestType.

func NewNullableTimeseriesFormulaRequestType ¶ added in v2.7.0

func NewNullableTimeseriesFormulaRequestType(val *TimeseriesFormulaRequestType) *NullableTimeseriesFormulaRequestType

NewNullableTimeseriesFormulaRequestType initializes the struct as if Set has been called.

func (NullableTimeseriesFormulaRequestType) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableTimeseriesFormulaRequestType) IsSet ¶ added in v2.7.0

IsSet returns whether Set has been called.

func (NullableTimeseriesFormulaRequestType) MarshalJSON ¶ added in v2.7.0

func (v NullableTimeseriesFormulaRequestType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTimeseriesFormulaRequestType) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableTimeseriesFormulaRequestType) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableTimeseriesFormulaRequestType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTimeseriesFormulaRequestType) Unset ¶ added in v2.7.0

Unset sets the value to nil and resets the set flag.

type NullableTimeseriesFormulaResponseType ¶ added in v2.7.0

type NullableTimeseriesFormulaResponseType struct {
	// contains filtered or unexported fields
}

NullableTimeseriesFormulaResponseType handles when a null is used for TimeseriesFormulaResponseType.

func NewNullableTimeseriesFormulaResponseType ¶ added in v2.7.0

func NewNullableTimeseriesFormulaResponseType(val *TimeseriesFormulaResponseType) *NullableTimeseriesFormulaResponseType

NewNullableTimeseriesFormulaResponseType initializes the struct as if Set has been called.

func (NullableTimeseriesFormulaResponseType) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableTimeseriesFormulaResponseType) IsSet ¶ added in v2.7.0

IsSet returns whether Set has been called.

func (NullableTimeseriesFormulaResponseType) MarshalJSON ¶ added in v2.7.0

func (v NullableTimeseriesFormulaResponseType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTimeseriesFormulaResponseType) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableTimeseriesFormulaResponseType) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableTimeseriesFormulaResponseType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTimeseriesFormulaResponseType) Unset ¶ added in v2.7.0

Unset sets the value to nil and resets the set flag.

type NullableTimeseriesQuery ¶ added in v2.7.0

type NullableTimeseriesQuery struct {
	// contains filtered or unexported fields
}

NullableTimeseriesQuery handles when a null is used for TimeseriesQuery.

func NewNullableTimeseriesQuery ¶ added in v2.7.0

func NewNullableTimeseriesQuery(val *TimeseriesQuery) *NullableTimeseriesQuery

NewNullableTimeseriesQuery initializes the struct as if Set has been called.

func (NullableTimeseriesQuery) Get ¶ added in v2.7.0

Get returns the associated value.

func (NullableTimeseriesQuery) IsSet ¶ added in v2.7.0

func (v NullableTimeseriesQuery) IsSet() bool

IsSet returns whether Set has been called.

func (NullableTimeseriesQuery) MarshalJSON ¶ added in v2.7.0

func (v NullableTimeseriesQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTimeseriesQuery) Set ¶ added in v2.7.0

Set changes the value and indicates it's been called.

func (*NullableTimeseriesQuery) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableTimeseriesQuery) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTimeseriesQuery) Unset ¶ added in v2.7.0

func (v *NullableTimeseriesQuery) Unset()

Unset sets the value to nil and resets the set flag/

type NullableUnit ¶ added in v2.7.0

type NullableUnit struct {
	// contains filtered or unexported fields
}

NullableUnit handles when a null is used for Unit.

func NewNullableUnit ¶ added in v2.7.0

func NewNullableUnit(val *Unit) *NullableUnit

NewNullableUnit initializes the struct as if Set has been called.

func (NullableUnit) Get ¶ added in v2.7.0

func (v NullableUnit) Get() *Unit

Get returns the associated value.

func (NullableUnit) IsSet ¶ added in v2.7.0

func (v NullableUnit) IsSet() bool

IsSet returns whether Set has been called.

func (NullableUnit) MarshalJSON ¶ added in v2.7.0

func (v NullableUnit) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUnit) Set ¶ added in v2.7.0

func (v *NullableUnit) Set(val *Unit)

Set changes the value and indicates it's been called.

func (*NullableUnit) UnmarshalJSON ¶ added in v2.7.0

func (v *NullableUnit) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUnit) Unset ¶ added in v2.7.0

func (v *NullableUnit) Unset()

Unset sets the value to nil and resets the set flag/

type NullableUsageTimeSeriesType ¶

type NullableUsageTimeSeriesType struct {
	// contains filtered or unexported fields
}

NullableUsageTimeSeriesType handles when a null is used for UsageTimeSeriesType.

func NewNullableUsageTimeSeriesType ¶

func NewNullableUsageTimeSeriesType(val *UsageTimeSeriesType) *NullableUsageTimeSeriesType

NewNullableUsageTimeSeriesType initializes the struct as if Set has been called.

func (NullableUsageTimeSeriesType) Get ¶

Get returns the associated value.

func (NullableUsageTimeSeriesType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableUsageTimeSeriesType) MarshalJSON ¶

func (v NullableUsageTimeSeriesType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUsageTimeSeriesType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableUsageTimeSeriesType) UnmarshalJSON ¶

func (v *NullableUsageTimeSeriesType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUsageTimeSeriesType) Unset ¶

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 OnDemandConcurrencyCap ¶ added in v2.10.0

type OnDemandConcurrencyCap struct {
	// On-demand concurrency cap attributes.
	Attributes *OnDemandConcurrencyCapAttributes `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{}
}

OnDemandConcurrencyCap On-demand concurrency cap.

func NewOnDemandConcurrencyCap ¶ added in v2.10.0

func NewOnDemandConcurrencyCap() *OnDemandConcurrencyCap

NewOnDemandConcurrencyCap instantiates a new OnDemandConcurrencyCap object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOnDemandConcurrencyCapWithDefaults ¶ added in v2.10.0

func NewOnDemandConcurrencyCapWithDefaults() *OnDemandConcurrencyCap

NewOnDemandConcurrencyCapWithDefaults instantiates a new OnDemandConcurrencyCap object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OnDemandConcurrencyCap) GetAttributes ¶ added in v2.10.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*OnDemandConcurrencyCap) GetAttributesOk ¶ added in v2.10.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 (*OnDemandConcurrencyCap) HasAttributes ¶ added in v2.10.0

func (o *OnDemandConcurrencyCap) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (OnDemandConcurrencyCap) MarshalJSON ¶ added in v2.10.0

func (o OnDemandConcurrencyCap) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OnDemandConcurrencyCap) SetAttributes ¶ added in v2.10.0

SetAttributes gets a reference to the given OnDemandConcurrencyCapAttributes and assigns it to the Attributes field.

func (*OnDemandConcurrencyCap) UnmarshalJSON ¶ added in v2.10.0

func (o *OnDemandConcurrencyCap) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OnDemandConcurrencyCapAttributes ¶ added in v2.10.0

type OnDemandConcurrencyCapAttributes struct {
	// Value of the on-demand concurrency cap.
	OnDemandConcurrencyCap *float64 `json:"on_demand_concurrency_cap,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{}
}

OnDemandConcurrencyCapAttributes On-demand concurrency cap attributes.

func NewOnDemandConcurrencyCapAttributes ¶ added in v2.10.0

func NewOnDemandConcurrencyCapAttributes() *OnDemandConcurrencyCapAttributes

NewOnDemandConcurrencyCapAttributes instantiates a new OnDemandConcurrencyCapAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOnDemandConcurrencyCapAttributesWithDefaults ¶ added in v2.10.0

func NewOnDemandConcurrencyCapAttributesWithDefaults() *OnDemandConcurrencyCapAttributes

NewOnDemandConcurrencyCapAttributesWithDefaults instantiates a new OnDemandConcurrencyCapAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OnDemandConcurrencyCapAttributes) GetOnDemandConcurrencyCap ¶ added in v2.10.0

func (o *OnDemandConcurrencyCapAttributes) GetOnDemandConcurrencyCap() float64

GetOnDemandConcurrencyCap returns the OnDemandConcurrencyCap field value if set, zero value otherwise.

func (*OnDemandConcurrencyCapAttributes) GetOnDemandConcurrencyCapOk ¶ added in v2.10.0

func (o *OnDemandConcurrencyCapAttributes) GetOnDemandConcurrencyCapOk() (*float64, bool)

GetOnDemandConcurrencyCapOk returns a tuple with the OnDemandConcurrencyCap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OnDemandConcurrencyCapAttributes) HasOnDemandConcurrencyCap ¶ added in v2.10.0

func (o *OnDemandConcurrencyCapAttributes) HasOnDemandConcurrencyCap() bool

HasOnDemandConcurrencyCap returns a boolean if a field has been set.

func (OnDemandConcurrencyCapAttributes) MarshalJSON ¶ added in v2.10.0

func (o OnDemandConcurrencyCapAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OnDemandConcurrencyCapAttributes) SetOnDemandConcurrencyCap ¶ added in v2.10.0

func (o *OnDemandConcurrencyCapAttributes) SetOnDemandConcurrencyCap(v float64)

SetOnDemandConcurrencyCap gets a reference to the given float64 and assigns it to the OnDemandConcurrencyCap field.

func (*OnDemandConcurrencyCapAttributes) UnmarshalJSON ¶ added in v2.10.0

func (o *OnDemandConcurrencyCapAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OnDemandConcurrencyCapResponse ¶ added in v2.10.0

type OnDemandConcurrencyCapResponse struct {
	// On-demand concurrency cap.
	Data *OnDemandConcurrencyCap `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{}
}

OnDemandConcurrencyCapResponse On-demand concurrency cap response.

func NewOnDemandConcurrencyCapResponse ¶ added in v2.10.0

func NewOnDemandConcurrencyCapResponse() *OnDemandConcurrencyCapResponse

NewOnDemandConcurrencyCapResponse instantiates a new OnDemandConcurrencyCapResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewOnDemandConcurrencyCapResponseWithDefaults ¶ added in v2.10.0

func NewOnDemandConcurrencyCapResponseWithDefaults() *OnDemandConcurrencyCapResponse

NewOnDemandConcurrencyCapResponseWithDefaults instantiates a new OnDemandConcurrencyCapResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*OnDemandConcurrencyCapResponse) GetData ¶ added in v2.10.0

GetData returns the Data field value if set, zero value otherwise.

func (*OnDemandConcurrencyCapResponse) GetDataOk ¶ added in v2.10.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 (*OnDemandConcurrencyCapResponse) HasData ¶ added in v2.10.0

func (o *OnDemandConcurrencyCapResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (OnDemandConcurrencyCapResponse) MarshalJSON ¶ added in v2.10.0

func (o OnDemandConcurrencyCapResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OnDemandConcurrencyCapResponse) SetData ¶ added in v2.10.0

SetData gets a reference to the given OnDemandConcurrencyCap and assigns it to the Data field.

func (*OnDemandConcurrencyCapResponse) UnmarshalJSON ¶ added in v2.10.0

func (o *OnDemandConcurrencyCapResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieIntegrationApi ¶

type OpsgenieIntegrationApi datadog.Service

OpsgenieIntegrationApi service type

func NewOpsgenieIntegrationApi ¶

func NewOpsgenieIntegrationApi(client *datadog.APIClient) *OpsgenieIntegrationApi

NewOpsgenieIntegrationApi Returns NewOpsgenieIntegrationApi.

func (*OpsgenieIntegrationApi) CreateOpsgenieService ¶

CreateOpsgenieService Create a new service object. Create a new service object in the Opsgenie integration.

func (*OpsgenieIntegrationApi) DeleteOpsgenieService ¶

func (a *OpsgenieIntegrationApi) 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 (*OpsgenieIntegrationApi) GetOpsgenieService ¶

func (a *OpsgenieIntegrationApi) 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 (*OpsgenieIntegrationApi) ListOpsgenieServices ¶

ListOpsgenieServices Get all service objects. Get a list of all services from the Datadog Opsgenie integration.

func (*OpsgenieIntegrationApi) UpdateOpsgenieService ¶

func (a *OpsgenieIntegrationApi) UpdateOpsgenieService(ctx _context.Context, integrationServiceId string, body OpsgenieServiceUpdateRequest) (OpsgenieServiceResponse, *_nethttp.Response, error)

UpdateOpsgenieService Update a single service object. Update a single service object in the Datadog Opsgenie integration.

type OpsgenieServiceCreateAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *OpsgenieServiceCreateAttributes) GetCustomUrl() string

GetCustomUrl returns the CustomUrl field value if set, zero value otherwise.

func (*OpsgenieServiceCreateAttributes) GetCustomUrlOk ¶

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 ¶

GetName returns the Name field value.

func (*OpsgenieServiceCreateAttributes) GetNameOk ¶

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 ¶

func (o *OpsgenieServiceCreateAttributes) GetOpsgenieApiKey() string

GetOpsgenieApiKey returns the OpsgenieApiKey field value.

func (*OpsgenieServiceCreateAttributes) GetOpsgenieApiKeyOk ¶

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 ¶

GetRegion returns the Region field value.

func (*OpsgenieServiceCreateAttributes) GetRegionOk ¶

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (*OpsgenieServiceCreateAttributes) HasCustomUrl ¶

func (o *OpsgenieServiceCreateAttributes) HasCustomUrl() bool

HasCustomUrl returns a boolean if a field has been set.

func (OpsgenieServiceCreateAttributes) MarshalJSON ¶

func (o OpsgenieServiceCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceCreateAttributes) SetCustomUrl ¶

func (o *OpsgenieServiceCreateAttributes) SetCustomUrl(v string)

SetCustomUrl gets a reference to the given string and assigns it to the CustomUrl field.

func (*OpsgenieServiceCreateAttributes) SetName ¶

SetName sets field value.

func (*OpsgenieServiceCreateAttributes) SetOpsgenieApiKey ¶

func (o *OpsgenieServiceCreateAttributes) SetOpsgenieApiKey(v string)

SetOpsgenieApiKey sets field value.

func (*OpsgenieServiceCreateAttributes) SetRegion ¶

SetRegion sets field value.

func (*OpsgenieServiceCreateAttributes) UnmarshalJSON ¶

func (o *OpsgenieServiceCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceCreateData ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value.

func (*OpsgenieServiceCreateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*OpsgenieServiceCreateData) GetType ¶

GetType returns the Type field value.

func (*OpsgenieServiceCreateData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (OpsgenieServiceCreateData) MarshalJSON ¶

func (o OpsgenieServiceCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceCreateData) SetAttributes ¶

SetAttributes sets field value.

func (*OpsgenieServiceCreateData) SetType ¶

SetType sets field value.

func (*OpsgenieServiceCreateData) UnmarshalJSON ¶

func (o *OpsgenieServiceCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceCreateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*OpsgenieServiceCreateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (OpsgenieServiceCreateRequest) MarshalJSON ¶

func (o OpsgenieServiceCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceCreateRequest) SetData ¶

SetData sets field value.

func (*OpsgenieServiceCreateRequest) UnmarshalJSON ¶

func (o *OpsgenieServiceCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceRegionType ¶

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 ¶

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 ¶

func (v *OpsgenieServiceRegionType) GetAllowedValues() []OpsgenieServiceRegionType

GetAllowedValues reeturns the list of possible values.

func (OpsgenieServiceRegionType) IsValid ¶

func (v OpsgenieServiceRegionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (OpsgenieServiceRegionType) Ptr ¶

Ptr returns reference to OpsgenieServiceRegionType value.

func (*OpsgenieServiceRegionType) UnmarshalJSON ¶

func (v *OpsgenieServiceRegionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceResponse ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*OpsgenieServiceResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (OpsgenieServiceResponse) MarshalJSON ¶

func (o OpsgenieServiceResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceResponse) SetData ¶

SetData sets field value.

func (*OpsgenieServiceResponse) UnmarshalJSON ¶

func (o *OpsgenieServiceResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceResponseAttributes ¶

type OpsgenieServiceResponseAttributes struct {
	// The custom URL for a custom region.
	CustomUrl datadog.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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

GetName returns the Name field value if set, zero value otherwise.

func (*OpsgenieServiceResponseAttributes) GetNameOk ¶

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 ¶

GetRegion returns the Region field value if set, zero value otherwise.

func (*OpsgenieServiceResponseAttributes) GetRegionOk ¶

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 ¶

func (o *OpsgenieServiceResponseAttributes) HasCustomUrl() bool

HasCustomUrl returns a boolean if a field has been set.

func (*OpsgenieServiceResponseAttributes) HasName ¶

HasName returns a boolean if a field has been set.

func (*OpsgenieServiceResponseAttributes) HasRegion ¶

func (o *OpsgenieServiceResponseAttributes) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (OpsgenieServiceResponseAttributes) MarshalJSON ¶

func (o OpsgenieServiceResponseAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceResponseAttributes) SetCustomUrl ¶

func (o *OpsgenieServiceResponseAttributes) SetCustomUrl(v string)

SetCustomUrl gets a reference to the given datadog.NullableString and assigns it to the CustomUrl field.

func (*OpsgenieServiceResponseAttributes) SetCustomUrlNil ¶

func (o *OpsgenieServiceResponseAttributes) SetCustomUrlNil()

SetCustomUrlNil sets the value for CustomUrl to be an explicit nil.

func (*OpsgenieServiceResponseAttributes) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*OpsgenieServiceResponseAttributes) SetRegion ¶

SetRegion gets a reference to the given OpsgenieServiceRegionType and assigns it to the Region field.

func (*OpsgenieServiceResponseAttributes) UnmarshalJSON ¶

func (o *OpsgenieServiceResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*OpsgenieServiceResponseAttributes) UnsetCustomUrl ¶

func (o *OpsgenieServiceResponseAttributes) UnsetCustomUrl()

UnsetCustomUrl ensures that no value is present for CustomUrl, not even an explicit nil.

type OpsgenieServiceResponseData ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value.

func (*OpsgenieServiceResponseData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*OpsgenieServiceResponseData) GetId ¶

GetId returns the Id field value.

func (*OpsgenieServiceResponseData) GetIdOk ¶

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 ¶

GetType returns the Type field value.

func (*OpsgenieServiceResponseData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (OpsgenieServiceResponseData) MarshalJSON ¶

func (o OpsgenieServiceResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceResponseData) SetAttributes ¶

SetAttributes sets field value.

func (*OpsgenieServiceResponseData) SetId ¶

func (o *OpsgenieServiceResponseData) SetId(v string)

SetId sets field value.

func (*OpsgenieServiceResponseData) SetType ¶

SetType sets field value.

func (*OpsgenieServiceResponseData) UnmarshalJSON ¶

func (o *OpsgenieServiceResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceType ¶

type OpsgenieServiceType string

OpsgenieServiceType Opsgenie service resource type.

const (
	OPSGENIESERVICETYPE_OPSGENIE_SERVICE OpsgenieServiceType = "opsgenie-service"
)

List of OpsgenieServiceType.

func NewOpsgenieServiceTypeFromValue ¶

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 ¶

func (v *OpsgenieServiceType) GetAllowedValues() []OpsgenieServiceType

GetAllowedValues reeturns the list of possible values.

func (OpsgenieServiceType) IsValid ¶

func (v OpsgenieServiceType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (OpsgenieServiceType) Ptr ¶

Ptr returns reference to OpsgenieServiceType value.

func (*OpsgenieServiceType) UnmarshalJSON ¶

func (v *OpsgenieServiceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceUpdateAttributes ¶

type OpsgenieServiceUpdateAttributes struct {
	// The custom URL for a custom region.
	CustomUrl datadog.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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

GetName returns the Name field value if set, zero value otherwise.

func (*OpsgenieServiceUpdateAttributes) GetNameOk ¶

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 ¶

func (o *OpsgenieServiceUpdateAttributes) GetOpsgenieApiKey() string

GetOpsgenieApiKey returns the OpsgenieApiKey field value if set, zero value otherwise.

func (*OpsgenieServiceUpdateAttributes) GetOpsgenieApiKeyOk ¶

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 ¶

GetRegion returns the Region field value if set, zero value otherwise.

func (*OpsgenieServiceUpdateAttributes) GetRegionOk ¶

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 ¶

func (o *OpsgenieServiceUpdateAttributes) HasCustomUrl() bool

HasCustomUrl returns a boolean if a field has been set.

func (*OpsgenieServiceUpdateAttributes) HasName ¶

HasName returns a boolean if a field has been set.

func (*OpsgenieServiceUpdateAttributes) HasOpsgenieApiKey ¶

func (o *OpsgenieServiceUpdateAttributes) HasOpsgenieApiKey() bool

HasOpsgenieApiKey returns a boolean if a field has been set.

func (*OpsgenieServiceUpdateAttributes) HasRegion ¶

func (o *OpsgenieServiceUpdateAttributes) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (OpsgenieServiceUpdateAttributes) MarshalJSON ¶

func (o OpsgenieServiceUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceUpdateAttributes) SetCustomUrl ¶

func (o *OpsgenieServiceUpdateAttributes) SetCustomUrl(v string)

SetCustomUrl gets a reference to the given datadog.NullableString and assigns it to the CustomUrl field.

func (*OpsgenieServiceUpdateAttributes) SetCustomUrlNil ¶

func (o *OpsgenieServiceUpdateAttributes) SetCustomUrlNil()

SetCustomUrlNil sets the value for CustomUrl to be an explicit nil.

func (*OpsgenieServiceUpdateAttributes) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*OpsgenieServiceUpdateAttributes) SetOpsgenieApiKey ¶

func (o *OpsgenieServiceUpdateAttributes) SetOpsgenieApiKey(v string)

SetOpsgenieApiKey gets a reference to the given string and assigns it to the OpsgenieApiKey field.

func (*OpsgenieServiceUpdateAttributes) SetRegion ¶

SetRegion gets a reference to the given OpsgenieServiceRegionType and assigns it to the Region field.

func (*OpsgenieServiceUpdateAttributes) UnmarshalJSON ¶

func (o *OpsgenieServiceUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*OpsgenieServiceUpdateAttributes) UnsetCustomUrl ¶

func (o *OpsgenieServiceUpdateAttributes) UnsetCustomUrl()

UnsetCustomUrl ensures that no value is present for CustomUrl, not even an explicit nil.

type OpsgenieServiceUpdateData ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value.

func (*OpsgenieServiceUpdateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*OpsgenieServiceUpdateData) GetId ¶

func (o *OpsgenieServiceUpdateData) GetId() string

GetId returns the Id field value.

func (*OpsgenieServiceUpdateData) GetIdOk ¶

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 ¶

GetType returns the Type field value.

func (*OpsgenieServiceUpdateData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (OpsgenieServiceUpdateData) MarshalJSON ¶

func (o OpsgenieServiceUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceUpdateData) SetAttributes ¶

SetAttributes sets field value.

func (*OpsgenieServiceUpdateData) SetId ¶

func (o *OpsgenieServiceUpdateData) SetId(v string)

SetId sets field value.

func (*OpsgenieServiceUpdateData) SetType ¶

SetType sets field value.

func (*OpsgenieServiceUpdateData) UnmarshalJSON ¶

func (o *OpsgenieServiceUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServiceUpdateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*OpsgenieServiceUpdateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (OpsgenieServiceUpdateRequest) MarshalJSON ¶

func (o OpsgenieServiceUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServiceUpdateRequest) SetData ¶

SetData sets field value.

func (*OpsgenieServiceUpdateRequest) UnmarshalJSON ¶

func (o *OpsgenieServiceUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OpsgenieServicesResponse ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*OpsgenieServicesResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (OpsgenieServicesResponse) MarshalJSON ¶

func (o OpsgenieServicesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OpsgenieServicesResponse) SetData ¶

SetData sets field value.

func (*OpsgenieServicesResponse) UnmarshalJSON ¶

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 ¶

func (o *OrganizationAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationsApi ¶

type OrganizationsApi datadog.Service

OrganizationsApi service type

func NewOrganizationsApi ¶

func NewOrganizationsApi(client *datadog.APIClient) *OrganizationsApi

NewOrganizationsApi Returns NewOrganizationsApi.

func (*OrganizationsApi) UploadIdPMetadata ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *PartialApplicationKeyAttributes) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*PartialApplicationKeyAttributes) UnmarshalJSON ¶

func (o *PartialApplicationKeyAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PartialApplicationKeyResponse ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value if set, zero value otherwise.

func (*PartialApplicationKeyResponse) 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 (*PartialApplicationKeyResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*PartialApplicationKeyResponse) 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 (*PartialApplicationKeyResponse) HasData ¶

func (o *PartialApplicationKeyResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*PartialApplicationKeyResponse) HasIncluded ¶

func (o *PartialApplicationKeyResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (PartialApplicationKeyResponse) MarshalJSON ¶

func (o PartialApplicationKeyResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PartialApplicationKeyResponse) SetData ¶

SetData gets a reference to the given PartialApplicationKey and assigns it to the Data field.

func (*PartialApplicationKeyResponse) SetIncluded ¶

SetIncluded gets a reference to the given []ApplicationKeyResponseIncludedItem and assigns it to the Included field.

func (*PartialApplicationKeyResponse) UnmarshalJSON ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ProcessesApi ¶

type ProcessesApi datadog.Service

ProcessesApi service type

func NewProcessesApi ¶

func NewProcessesApi(client *datadog.APIClient) *ProcessesApi

NewProcessesApi Returns NewProcessesApi.

func (*ProcessesApi) ListProcesses ¶

ListProcesses Get all processes. Get all processes for your organization.

func (*ProcessesApi) ListProcessesWithPagination ¶

func (a *ProcessesApi) ListProcessesWithPagination(ctx _context.Context, o ...ListProcessesOptionalParameters) (<-chan datadog.PaginationResult[ProcessSummary], func())

ListProcessesWithPagination provides a paginated version of ListProcesses returning a channel with all items.

type QueryFormula ¶ added in v2.7.0

type QueryFormula struct {
	// Formula string, referencing one or more queries with their name property.
	Formula string `json:"formula"`
	// Message for specifying limits to the number of values returned by a query.
	Limit *FormulaLimit `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{}
}

QueryFormula A formula for calculation based on one or more queries.

func NewQueryFormula ¶ added in v2.7.0

func NewQueryFormula(formula string) *QueryFormula

NewQueryFormula instantiates a new QueryFormula object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewQueryFormulaWithDefaults ¶ added in v2.7.0

func NewQueryFormulaWithDefaults() *QueryFormula

NewQueryFormulaWithDefaults instantiates a new QueryFormula object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*QueryFormula) GetFormula ¶ added in v2.7.0

func (o *QueryFormula) GetFormula() string

GetFormula returns the Formula field value.

func (*QueryFormula) GetFormulaOk ¶ added in v2.7.0

func (o *QueryFormula) GetFormulaOk() (*string, bool)

GetFormulaOk returns a tuple with the Formula field value and a boolean to check if the value has been set.

func (*QueryFormula) GetLimit ¶ added in v2.7.0

func (o *QueryFormula) GetLimit() FormulaLimit

GetLimit returns the Limit field value if set, zero value otherwise.

func (*QueryFormula) GetLimitOk ¶ added in v2.7.0

func (o *QueryFormula) GetLimitOk() (*FormulaLimit, 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 (*QueryFormula) HasLimit ¶ added in v2.7.0

func (o *QueryFormula) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (QueryFormula) MarshalJSON ¶ added in v2.7.0

func (o QueryFormula) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*QueryFormula) SetFormula ¶ added in v2.7.0

func (o *QueryFormula) SetFormula(v string)

SetFormula sets field value.

func (*QueryFormula) SetLimit ¶ added in v2.7.0

func (o *QueryFormula) SetLimit(v FormulaLimit)

SetLimit gets a reference to the given FormulaLimit and assigns it to the Limit field.

func (*QueryFormula) UnmarshalJSON ¶ added in v2.7.0

func (o *QueryFormula) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

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 ¶

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 ¶

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 ¶

func RUMAggregateBucketValueSingleNumberAsRUMAggregateBucketValue(v *float64) RUMAggregateBucketValue

RUMAggregateBucketValueSingleNumberAsRUMAggregateBucketValue is a convenience function that returns float64 wrapped in RUMAggregateBucketValue.

func RUMAggregateBucketValueSingleStringAsRUMAggregateBucketValue ¶

func RUMAggregateBucketValueSingleStringAsRUMAggregateBucketValue(v *string) RUMAggregateBucketValue

RUMAggregateBucketValueSingleStringAsRUMAggregateBucketValue is a convenience function that returns string wrapped in RUMAggregateBucketValue.

func RUMAggregateBucketValueTimeseriesAsRUMAggregateBucketValue ¶

func RUMAggregateBucketValueTimeseriesAsRUMAggregateBucketValue(v *RUMAggregateBucketValueTimeseries) RUMAggregateBucketValue

RUMAggregateBucketValueTimeseriesAsRUMAggregateBucketValue is a convenience function that returns RUMAggregateBucketValueTimeseries wrapped in RUMAggregateBucketValue.

func (*RUMAggregateBucketValue) GetActualInstance ¶

func (obj *RUMAggregateBucketValue) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (RUMAggregateBucketValue) MarshalJSON ¶

func (obj RUMAggregateBucketValue) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*RUMAggregateBucketValue) UnmarshalJSON ¶

func (obj *RUMAggregateBucketValue) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type RUMAggregateBucketValueTimeseries ¶

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 ¶

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 ¶

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 ¶

func (o RUMAggregateBucketValueTimeseries) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAggregateBucketValueTimeseries) UnmarshalJSON ¶

func (o *RUMAggregateBucketValueTimeseries) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMAggregateBucketValueTimeseriesPoint ¶

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 ¶

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 ¶

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 ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*RUMAggregateBucketValueTimeseriesPoint) 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 (*RUMAggregateBucketValueTimeseriesPoint) GetValue ¶

GetValue returns the Value field value if set, zero value otherwise.

func (*RUMAggregateBucketValueTimeseriesPoint) 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 (*RUMAggregateBucketValueTimeseriesPoint) HasTime ¶

HasTime returns a boolean if a field has been set.

func (*RUMAggregateBucketValueTimeseriesPoint) HasValue ¶

HasValue returns a boolean if a field has been set.

func (RUMAggregateBucketValueTimeseriesPoint) MarshalJSON ¶

func (o RUMAggregateBucketValueTimeseriesPoint) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAggregateBucketValueTimeseriesPoint) SetTime ¶

SetTime gets a reference to the given time.Time and assigns it to the Time field.

func (*RUMAggregateBucketValueTimeseriesPoint) SetValue ¶

SetValue gets a reference to the given float64 and assigns it to the Value field.

func (*RUMAggregateBucketValueTimeseriesPoint) UnmarshalJSON ¶

func (o *RUMAggregateBucketValueTimeseriesPoint) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMAggregateRequest ¶

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 ¶

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 ¶

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 ¶

func (o *RUMAggregateRequest) GetCompute() []RUMCompute

GetCompute returns the Compute field value if set, zero value otherwise.

func (*RUMAggregateRequest) GetComputeOk ¶

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 ¶

func (o *RUMAggregateRequest) GetFilter() RUMQueryFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*RUMAggregateRequest) GetFilterOk ¶

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 ¶

func (o *RUMAggregateRequest) GetGroupBy() []RUMGroupBy

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*RUMAggregateRequest) GetGroupByOk ¶

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 ¶

func (o *RUMAggregateRequest) GetOptions() RUMQueryOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*RUMAggregateRequest) GetOptionsOk ¶

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 ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*RUMAggregateRequest) GetPageOk ¶

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 ¶

func (o *RUMAggregateRequest) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*RUMAggregateRequest) HasFilter ¶

func (o *RUMAggregateRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*RUMAggregateRequest) HasGroupBy ¶

func (o *RUMAggregateRequest) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*RUMAggregateRequest) HasOptions ¶

func (o *RUMAggregateRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*RUMAggregateRequest) HasPage ¶

func (o *RUMAggregateRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (RUMAggregateRequest) MarshalJSON ¶

func (o RUMAggregateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAggregateRequest) SetCompute ¶

func (o *RUMAggregateRequest) SetCompute(v []RUMCompute)

SetCompute gets a reference to the given []RUMCompute and assigns it to the Compute field.

func (*RUMAggregateRequest) SetFilter ¶

func (o *RUMAggregateRequest) SetFilter(v RUMQueryFilter)

SetFilter gets a reference to the given RUMQueryFilter and assigns it to the Filter field.

func (*RUMAggregateRequest) SetGroupBy ¶

func (o *RUMAggregateRequest) SetGroupBy(v []RUMGroupBy)

SetGroupBy gets a reference to the given []RUMGroupBy and assigns it to the GroupBy field.

func (*RUMAggregateRequest) SetOptions ¶

func (o *RUMAggregateRequest) SetOptions(v RUMQueryOptions)

SetOptions gets a reference to the given RUMQueryOptions and assigns it to the Options field.

func (*RUMAggregateRequest) SetPage ¶

SetPage gets a reference to the given RUMQueryPageOptions and assigns it to the Page field.

func (*RUMAggregateRequest) UnmarshalJSON ¶

func (o *RUMAggregateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMAggregateSort ¶

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 ¶

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 ¶

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 ¶

func (o *RUMAggregateSort) GetAggregation() RUMAggregationFunction

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*RUMAggregateSort) GetAggregationOk ¶

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 ¶

func (o *RUMAggregateSort) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*RUMAggregateSort) GetMetricOk ¶

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 ¶

func (o *RUMAggregateSort) GetOrder() RUMSortOrder

GetOrder returns the Order field value if set, zero value otherwise.

func (*RUMAggregateSort) GetOrderOk ¶

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 ¶

GetType returns the Type field value if set, zero value otherwise.

func (*RUMAggregateSort) GetTypeOk ¶

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 ¶

func (o *RUMAggregateSort) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*RUMAggregateSort) HasMetric ¶

func (o *RUMAggregateSort) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*RUMAggregateSort) HasOrder ¶

func (o *RUMAggregateSort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*RUMAggregateSort) HasType ¶

func (o *RUMAggregateSort) HasType() bool

HasType returns a boolean if a field has been set.

func (RUMAggregateSort) MarshalJSON ¶

func (o RUMAggregateSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAggregateSort) SetAggregation ¶

func (o *RUMAggregateSort) SetAggregation(v RUMAggregationFunction)

SetAggregation gets a reference to the given RUMAggregationFunction and assigns it to the Aggregation field.

func (*RUMAggregateSort) SetMetric ¶

func (o *RUMAggregateSort) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*RUMAggregateSort) SetOrder ¶

func (o *RUMAggregateSort) SetOrder(v RUMSortOrder)

SetOrder gets a reference to the given RUMSortOrder and assigns it to the Order field.

func (*RUMAggregateSort) SetType ¶

func (o *RUMAggregateSort) SetType(v RUMAggregateSortType)

SetType gets a reference to the given RUMAggregateSortType and assigns it to the Type field.

func (*RUMAggregateSort) UnmarshalJSON ¶

func (o *RUMAggregateSort) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMAggregateSortType ¶

type RUMAggregateSortType string

RUMAggregateSortType The type of sorting algorithm.

const (
	RUMAGGREGATESORTTYPE_ALPHABETICAL RUMAggregateSortType = "alphabetical"
	RUMAGGREGATESORTTYPE_MEASURE      RUMAggregateSortType = "measure"
)

List of RUMAggregateSortType.

func NewRUMAggregateSortTypeFromValue ¶

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 ¶

func (v *RUMAggregateSortType) GetAllowedValues() []RUMAggregateSortType

GetAllowedValues reeturns the list of possible values.

func (RUMAggregateSortType) IsValid ¶

func (v RUMAggregateSortType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMAggregateSortType) Ptr ¶

Ptr returns reference to RUMAggregateSortType value.

func (*RUMAggregateSortType) UnmarshalJSON ¶

func (v *RUMAggregateSortType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMAggregationBucketsResponse ¶

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 ¶

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 ¶

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 ¶

GetBuckets returns the Buckets field value if set, zero value otherwise.

func (*RUMAggregationBucketsResponse) GetBucketsOk ¶

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 ¶

func (o *RUMAggregationBucketsResponse) HasBuckets() bool

HasBuckets returns a boolean if a field has been set.

func (RUMAggregationBucketsResponse) MarshalJSON ¶

func (o RUMAggregationBucketsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAggregationBucketsResponse) SetBuckets ¶

SetBuckets gets a reference to the given []RUMBucketResponse and assigns it to the Buckets field.

func (*RUMAggregationBucketsResponse) UnmarshalJSON ¶

func (o *RUMAggregationBucketsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMAggregationFunction ¶

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 ¶

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 ¶

func (v *RUMAggregationFunction) GetAllowedValues() []RUMAggregationFunction

GetAllowedValues reeturns the list of possible values.

func (RUMAggregationFunction) IsValid ¶

func (v RUMAggregationFunction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMAggregationFunction) Ptr ¶

Ptr returns reference to RUMAggregationFunction value.

func (*RUMAggregationFunction) UnmarshalJSON ¶

func (v *RUMAggregationFunction) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMAnalyticsAggregateResponse ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value if set, zero value otherwise.

func (*RUMAnalyticsAggregateResponse) 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 (*RUMAnalyticsAggregateResponse) 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 (*RUMAnalyticsAggregateResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*RUMAnalyticsAggregateResponse) 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 (*RUMAnalyticsAggregateResponse) HasData ¶

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 ¶

func (o *RUMAnalyticsAggregateResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (RUMAnalyticsAggregateResponse) MarshalJSON ¶

func (o RUMAnalyticsAggregateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMAnalyticsAggregateResponse) SetData ¶

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 ¶

SetMeta gets a reference to the given RUMResponseMetadata and assigns it to the Meta field.

func (*RUMAnalyticsAggregateResponse) UnmarshalJSON ¶

func (o *RUMAnalyticsAggregateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApi ¶

type RUMApi datadog.Service

RUMApi service type

func NewRUMApi ¶

func NewRUMApi(client *datadog.APIClient) *RUMApi

NewRUMApi Returns NewRUMApi.

func (*RUMApi) AggregateRUMEvents ¶

AggregateRUMEvents Aggregate RUM events. The API endpoint to aggregate RUM events into buckets of computed metrics and timeseries.

func (*RUMApi) CreateRUMApplication ¶

CreateRUMApplication Create a new RUM application. Create a new RUM application in your organization.

func (*RUMApi) DeleteRUMApplication ¶

func (a *RUMApi) DeleteRUMApplication(ctx _context.Context, id string) (*_nethttp.Response, error)

DeleteRUMApplication Delete a RUM application. Delete an existing RUM application in your organization.

func (*RUMApi) GetRUMApplication ¶

func (a *RUMApi) GetRUMApplication(ctx _context.Context, id string) (RUMApplicationResponse, *_nethttp.Response, error)

GetRUMApplication Get a RUM application. Get the RUM application with given ID in your organization.

func (*RUMApi) GetRUMApplications ¶

func (a *RUMApi) GetRUMApplications(ctx _context.Context) (RUMApplicationsResponse, *_nethttp.Response, error)

GetRUMApplications List all the RUM applications. List all the RUM applications in your organization.

func (*RUMApi) ListRUMEvents ¶

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 (*RUMApi) ListRUMEventsWithPagination ¶

func (a *RUMApi) ListRUMEventsWithPagination(ctx _context.Context, o ...ListRUMEventsOptionalParameters) (<-chan datadog.PaginationResult[RUMEvent], func())

ListRUMEventsWithPagination provides a paginated version of ListRUMEvents returning a channel with all items.

func (*RUMApi) SearchRUMEvents ¶

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 (*RUMApi) SearchRUMEventsWithPagination ¶

func (a *RUMApi) SearchRUMEventsWithPagination(ctx _context.Context, body RUMSearchEventsRequest) (<-chan datadog.PaginationResult[RUMEvent], func())

SearchRUMEventsWithPagination provides a paginated version of SearchRUMEvents returning a channel with all items.

func (*RUMApi) UpdateRUMApplication ¶

UpdateRUMApplication Update a RUM application. Update the RUM application with given ID in your organization.

type RUMApplication ¶

type RUMApplication struct {
	// RUM application attributes.
	Attributes RUMApplicationAttributes `json:"attributes"`
	// RUM application ID.
	Id string `json:"id"`
	// RUM application response type.
	Type RUMApplicationType `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{}
}

RUMApplication RUM application.

func NewRUMApplication ¶

func NewRUMApplication(attributes RUMApplicationAttributes, id string, typeVar RUMApplicationType) *RUMApplication

NewRUMApplication instantiates a new RUMApplication object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationWithDefaults ¶

func NewRUMApplicationWithDefaults() *RUMApplication

NewRUMApplicationWithDefaults instantiates a new RUMApplication object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplication) GetAttributes ¶

func (o *RUMApplication) GetAttributes() RUMApplicationAttributes

GetAttributes returns the Attributes field value.

func (*RUMApplication) GetAttributesOk ¶

func (o *RUMApplication) GetAttributesOk() (*RUMApplicationAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*RUMApplication) GetId ¶

func (o *RUMApplication) GetId() string

GetId returns the Id field value.

func (*RUMApplication) GetIdOk ¶

func (o *RUMApplication) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RUMApplication) GetType ¶

func (o *RUMApplication) GetType() RUMApplicationType

GetType returns the Type field value.

func (*RUMApplication) GetTypeOk ¶

func (o *RUMApplication) GetTypeOk() (*RUMApplicationType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RUMApplication) MarshalJSON ¶

func (o RUMApplication) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplication) SetAttributes ¶

func (o *RUMApplication) SetAttributes(v RUMApplicationAttributes)

SetAttributes sets field value.

func (*RUMApplication) SetId ¶

func (o *RUMApplication) SetId(v string)

SetId sets field value.

func (*RUMApplication) SetType ¶

func (o *RUMApplication) SetType(v RUMApplicationType)

SetType sets field value.

func (*RUMApplication) UnmarshalJSON ¶

func (o *RUMApplication) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationAttributes ¶

type RUMApplicationAttributes struct {
	// ID of the RUM application.
	ApplicationId string `json:"application_id"`
	// Client token of the RUM application.
	ClientToken string `json:"client_token"`
	// Timestamp in ms of the creation date.
	CreatedAt int64 `json:"created_at"`
	// Handle of the creator user.
	CreatedByHandle string `json:"created_by_handle"`
	// Hash of the RUM application. Optional.
	Hash *string `json:"hash,omitempty"`
	// Indicates if the RUM application is active.
	IsActive *bool `json:"is_active,omitempty"`
	// Name of the RUM application.
	Name string `json:"name"`
	// Org ID of the RUM application.
	OrgId int32 `json:"org_id"`
	// Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`.
	Type string `json:"type"`
	// Timestamp in ms of the last update date.
	UpdatedAt int64 `json:"updated_at"`
	// Handle of the updater user.
	UpdatedByHandle string `json:"updated_by_handle"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

RUMApplicationAttributes RUM application attributes.

func NewRUMApplicationAttributes ¶

func NewRUMApplicationAttributes(applicationId string, clientToken string, createdAt int64, createdByHandle string, name string, orgId int32, typeVar string, updatedAt int64, updatedByHandle string) *RUMApplicationAttributes

NewRUMApplicationAttributes instantiates a new RUMApplicationAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationAttributesWithDefaults ¶

func NewRUMApplicationAttributesWithDefaults() *RUMApplicationAttributes

NewRUMApplicationAttributesWithDefaults instantiates a new RUMApplicationAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationAttributes) GetApplicationId ¶

func (o *RUMApplicationAttributes) GetApplicationId() string

GetApplicationId returns the ApplicationId field value.

func (*RUMApplicationAttributes) GetApplicationIdOk ¶

func (o *RUMApplicationAttributes) GetApplicationIdOk() (*string, bool)

GetApplicationIdOk returns a tuple with the ApplicationId field value and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) GetClientToken ¶ added in v2.6.0

func (o *RUMApplicationAttributes) GetClientToken() string

GetClientToken returns the ClientToken field value.

func (*RUMApplicationAttributes) GetClientTokenOk ¶ added in v2.6.0

func (o *RUMApplicationAttributes) GetClientTokenOk() (*string, bool)

GetClientTokenOk returns a tuple with the ClientToken field value and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) GetCreatedAt ¶

func (o *RUMApplicationAttributes) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value.

func (*RUMApplicationAttributes) GetCreatedAtOk ¶

func (o *RUMApplicationAttributes) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) GetCreatedByHandle ¶

func (o *RUMApplicationAttributes) GetCreatedByHandle() string

GetCreatedByHandle returns the CreatedByHandle field value.

func (*RUMApplicationAttributes) GetCreatedByHandleOk ¶

func (o *RUMApplicationAttributes) GetCreatedByHandleOk() (*string, bool)

GetCreatedByHandleOk returns a tuple with the CreatedByHandle field value and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) GetHash ¶

func (o *RUMApplicationAttributes) GetHash() string

GetHash returns the Hash field value if set, zero value otherwise.

func (*RUMApplicationAttributes) GetHashOk ¶

func (o *RUMApplicationAttributes) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) GetIsActive ¶ added in v2.6.0

func (o *RUMApplicationAttributes) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*RUMApplicationAttributes) GetIsActiveOk ¶ added in v2.6.0

func (o *RUMApplicationAttributes) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) GetName ¶

func (o *RUMApplicationAttributes) GetName() string

GetName returns the Name field value.

func (*RUMApplicationAttributes) GetNameOk ¶

func (o *RUMApplicationAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) GetOrgId ¶

func (o *RUMApplicationAttributes) GetOrgId() int32

GetOrgId returns the OrgId field value.

func (*RUMApplicationAttributes) GetOrgIdOk ¶

func (o *RUMApplicationAttributes) GetOrgIdOk() (*int32, bool)

GetOrgIdOk returns a tuple with the OrgId field value and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) GetType ¶

func (o *RUMApplicationAttributes) GetType() string

GetType returns the Type field value.

func (*RUMApplicationAttributes) GetTypeOk ¶

func (o *RUMApplicationAttributes) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) GetUpdatedAt ¶

func (o *RUMApplicationAttributes) GetUpdatedAt() int64

GetUpdatedAt returns the UpdatedAt field value.

func (*RUMApplicationAttributes) GetUpdatedAtOk ¶

func (o *RUMApplicationAttributes) GetUpdatedAtOk() (*int64, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) GetUpdatedByHandle ¶

func (o *RUMApplicationAttributes) GetUpdatedByHandle() string

GetUpdatedByHandle returns the UpdatedByHandle field value.

func (*RUMApplicationAttributes) GetUpdatedByHandleOk ¶

func (o *RUMApplicationAttributes) GetUpdatedByHandleOk() (*string, bool)

GetUpdatedByHandleOk returns a tuple with the UpdatedByHandle field value and a boolean to check if the value has been set.

func (*RUMApplicationAttributes) HasHash ¶

func (o *RUMApplicationAttributes) HasHash() bool

HasHash returns a boolean if a field has been set.

func (*RUMApplicationAttributes) HasIsActive ¶ added in v2.6.0

func (o *RUMApplicationAttributes) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (RUMApplicationAttributes) MarshalJSON ¶

func (o RUMApplicationAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationAttributes) SetApplicationId ¶

func (o *RUMApplicationAttributes) SetApplicationId(v string)

SetApplicationId sets field value.

func (*RUMApplicationAttributes) SetClientToken ¶ added in v2.6.0

func (o *RUMApplicationAttributes) SetClientToken(v string)

SetClientToken sets field value.

func (*RUMApplicationAttributes) SetCreatedAt ¶

func (o *RUMApplicationAttributes) SetCreatedAt(v int64)

SetCreatedAt sets field value.

func (*RUMApplicationAttributes) SetCreatedByHandle ¶

func (o *RUMApplicationAttributes) SetCreatedByHandle(v string)

SetCreatedByHandle sets field value.

func (*RUMApplicationAttributes) SetHash ¶

func (o *RUMApplicationAttributes) SetHash(v string)

SetHash gets a reference to the given string and assigns it to the Hash field.

func (*RUMApplicationAttributes) SetIsActive ¶ added in v2.6.0

func (o *RUMApplicationAttributes) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*RUMApplicationAttributes) SetName ¶

func (o *RUMApplicationAttributes) SetName(v string)

SetName sets field value.

func (*RUMApplicationAttributes) SetOrgId ¶

func (o *RUMApplicationAttributes) SetOrgId(v int32)

SetOrgId sets field value.

func (*RUMApplicationAttributes) SetType ¶

func (o *RUMApplicationAttributes) SetType(v string)

SetType sets field value.

func (*RUMApplicationAttributes) SetUpdatedAt ¶

func (o *RUMApplicationAttributes) SetUpdatedAt(v int64)

SetUpdatedAt sets field value.

func (*RUMApplicationAttributes) SetUpdatedByHandle ¶

func (o *RUMApplicationAttributes) SetUpdatedByHandle(v string)

SetUpdatedByHandle sets field value.

func (*RUMApplicationAttributes) UnmarshalJSON ¶

func (o *RUMApplicationAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationCreate ¶

type RUMApplicationCreate struct {
	// RUM application creation attributes.
	Attributes RUMApplicationCreateAttributes `json:"attributes"`
	// RUM application creation type.
	Type RUMApplicationCreateType `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{}
}

RUMApplicationCreate RUM application creation.

func NewRUMApplicationCreate ¶

func NewRUMApplicationCreate(attributes RUMApplicationCreateAttributes, typeVar RUMApplicationCreateType) *RUMApplicationCreate

NewRUMApplicationCreate instantiates a new RUMApplicationCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationCreateWithDefaults ¶

func NewRUMApplicationCreateWithDefaults() *RUMApplicationCreate

NewRUMApplicationCreateWithDefaults instantiates a new RUMApplicationCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationCreate) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*RUMApplicationCreate) GetAttributesOk ¶

func (o *RUMApplicationCreate) GetAttributesOk() (*RUMApplicationCreateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*RUMApplicationCreate) GetType ¶

GetType returns the Type field value.

func (*RUMApplicationCreate) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RUMApplicationCreate) MarshalJSON ¶

func (o RUMApplicationCreate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationCreate) SetAttributes ¶

SetAttributes sets field value.

func (*RUMApplicationCreate) SetType ¶

SetType sets field value.

func (*RUMApplicationCreate) UnmarshalJSON ¶

func (o *RUMApplicationCreate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationCreateAttributes ¶

type RUMApplicationCreateAttributes struct {
	// Name of the RUM application.
	Name string `json:"name"`
	// Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`.
	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{}
}

RUMApplicationCreateAttributes RUM application creation attributes.

func NewRUMApplicationCreateAttributes ¶

func NewRUMApplicationCreateAttributes(name string) *RUMApplicationCreateAttributes

NewRUMApplicationCreateAttributes instantiates a new RUMApplicationCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationCreateAttributesWithDefaults ¶

func NewRUMApplicationCreateAttributesWithDefaults() *RUMApplicationCreateAttributes

NewRUMApplicationCreateAttributesWithDefaults instantiates a new RUMApplicationCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationCreateAttributes) GetName ¶

GetName returns the Name field value.

func (*RUMApplicationCreateAttributes) GetNameOk ¶

func (o *RUMApplicationCreateAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RUMApplicationCreateAttributes) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*RUMApplicationCreateAttributes) GetTypeOk ¶

func (o *RUMApplicationCreateAttributes) 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 (*RUMApplicationCreateAttributes) HasType ¶

func (o *RUMApplicationCreateAttributes) HasType() bool

HasType returns a boolean if a field has been set.

func (RUMApplicationCreateAttributes) MarshalJSON ¶

func (o RUMApplicationCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationCreateAttributes) SetName ¶

func (o *RUMApplicationCreateAttributes) SetName(v string)

SetName sets field value.

func (*RUMApplicationCreateAttributes) SetType ¶

func (o *RUMApplicationCreateAttributes) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*RUMApplicationCreateAttributes) UnmarshalJSON ¶

func (o *RUMApplicationCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationCreateRequest ¶

type RUMApplicationCreateRequest struct {
	// RUM application creation.
	Data RUMApplicationCreate `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{}
}

RUMApplicationCreateRequest RUM application creation request attributes.

func NewRUMApplicationCreateRequest ¶

func NewRUMApplicationCreateRequest(data RUMApplicationCreate) *RUMApplicationCreateRequest

NewRUMApplicationCreateRequest instantiates a new RUMApplicationCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationCreateRequestWithDefaults ¶

func NewRUMApplicationCreateRequestWithDefaults() *RUMApplicationCreateRequest

NewRUMApplicationCreateRequestWithDefaults instantiates a new RUMApplicationCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationCreateRequest) GetData ¶

GetData returns the Data field value.

func (*RUMApplicationCreateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RUMApplicationCreateRequest) MarshalJSON ¶

func (o RUMApplicationCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationCreateRequest) SetData ¶

SetData sets field value.

func (*RUMApplicationCreateRequest) UnmarshalJSON ¶

func (o *RUMApplicationCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationCreateType ¶

type RUMApplicationCreateType string

RUMApplicationCreateType RUM application creation type.

const (
	RUMAPPLICATIONCREATETYPE_RUM_APPLICATION_CREATE RUMApplicationCreateType = "rum_application_create"
)

List of RUMApplicationCreateType.

func NewRUMApplicationCreateTypeFromValue ¶

func NewRUMApplicationCreateTypeFromValue(v string) (*RUMApplicationCreateType, error)

NewRUMApplicationCreateTypeFromValue returns a pointer to a valid RUMApplicationCreateType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMApplicationCreateType) GetAllowedValues ¶

func (v *RUMApplicationCreateType) GetAllowedValues() []RUMApplicationCreateType

GetAllowedValues reeturns the list of possible values.

func (RUMApplicationCreateType) IsValid ¶

func (v RUMApplicationCreateType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMApplicationCreateType) Ptr ¶

Ptr returns reference to RUMApplicationCreateType value.

func (*RUMApplicationCreateType) UnmarshalJSON ¶

func (v *RUMApplicationCreateType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMApplicationList ¶ added in v2.6.0

type RUMApplicationList struct {
	// RUM application list attributes.
	Attributes RUMApplicationListAttributes `json:"attributes"`
	// RUM application list type.
	Type RUMApplicationListType `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{}
}

RUMApplicationList RUM application list.

func NewRUMApplicationList ¶ added in v2.6.0

func NewRUMApplicationList(attributes RUMApplicationListAttributes, typeVar RUMApplicationListType) *RUMApplicationList

NewRUMApplicationList instantiates a new RUMApplicationList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationListWithDefaults ¶ added in v2.6.0

func NewRUMApplicationListWithDefaults() *RUMApplicationList

NewRUMApplicationListWithDefaults instantiates a new RUMApplicationList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationList) GetAttributes ¶ added in v2.6.0

GetAttributes returns the Attributes field value.

func (*RUMApplicationList) GetAttributesOk ¶ added in v2.6.0

func (o *RUMApplicationList) GetAttributesOk() (*RUMApplicationListAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*RUMApplicationList) GetType ¶ added in v2.6.0

GetType returns the Type field value.

func (*RUMApplicationList) GetTypeOk ¶ added in v2.6.0

func (o *RUMApplicationList) GetTypeOk() (*RUMApplicationListType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RUMApplicationList) MarshalJSON ¶ added in v2.6.0

func (o RUMApplicationList) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationList) SetAttributes ¶ added in v2.6.0

SetAttributes sets field value.

func (*RUMApplicationList) SetType ¶ added in v2.6.0

SetType sets field value.

func (*RUMApplicationList) UnmarshalJSON ¶ added in v2.6.0

func (o *RUMApplicationList) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationListAttributes ¶ added in v2.6.0

type RUMApplicationListAttributes struct {
	// ID of the RUM application.
	ApplicationId string `json:"application_id"`
	// Timestamp in ms of the creation date.
	CreatedAt int64 `json:"created_at"`
	// Handle of the creator user.
	CreatedByHandle string `json:"created_by_handle"`
	// Hash of the RUM application. Optional.
	Hash *string `json:"hash,omitempty"`
	// Indicates if the RUM application is active.
	IsActive *bool `json:"is_active,omitempty"`
	// Name of the RUM application.
	Name string `json:"name"`
	// Org ID of the RUM application.
	OrgId int32 `json:"org_id"`
	// Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`.
	Type string `json:"type"`
	// Timestamp in ms of the last update date.
	UpdatedAt int64 `json:"updated_at"`
	// Handle of the updater user.
	UpdatedByHandle string `json:"updated_by_handle"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

RUMApplicationListAttributes RUM application list attributes.

func NewRUMApplicationListAttributes ¶ added in v2.6.0

func NewRUMApplicationListAttributes(applicationId string, createdAt int64, createdByHandle string, name string, orgId int32, typeVar string, updatedAt int64, updatedByHandle string) *RUMApplicationListAttributes

NewRUMApplicationListAttributes instantiates a new RUMApplicationListAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationListAttributesWithDefaults ¶ added in v2.6.0

func NewRUMApplicationListAttributesWithDefaults() *RUMApplicationListAttributes

NewRUMApplicationListAttributesWithDefaults instantiates a new RUMApplicationListAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationListAttributes) GetApplicationId ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetApplicationId() string

GetApplicationId returns the ApplicationId field value.

func (*RUMApplicationListAttributes) GetApplicationIdOk ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetApplicationIdOk() (*string, bool)

GetApplicationIdOk returns a tuple with the ApplicationId field value and a boolean to check if the value has been set.

func (*RUMApplicationListAttributes) GetCreatedAt ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value.

func (*RUMApplicationListAttributes) GetCreatedAtOk ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*RUMApplicationListAttributes) GetCreatedByHandle ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetCreatedByHandle() string

GetCreatedByHandle returns the CreatedByHandle field value.

func (*RUMApplicationListAttributes) GetCreatedByHandleOk ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetCreatedByHandleOk() (*string, bool)

GetCreatedByHandleOk returns a tuple with the CreatedByHandle field value and a boolean to check if the value has been set.

func (*RUMApplicationListAttributes) GetHash ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetHash() string

GetHash returns the Hash field value if set, zero value otherwise.

func (*RUMApplicationListAttributes) GetHashOk ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMApplicationListAttributes) GetIsActive ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*RUMApplicationListAttributes) GetIsActiveOk ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMApplicationListAttributes) GetName ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetName() string

GetName returns the Name field value.

func (*RUMApplicationListAttributes) GetNameOk ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RUMApplicationListAttributes) GetOrgId ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetOrgId() int32

GetOrgId returns the OrgId field value.

func (*RUMApplicationListAttributes) GetOrgIdOk ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetOrgIdOk() (*int32, bool)

GetOrgIdOk returns a tuple with the OrgId field value and a boolean to check if the value has been set.

func (*RUMApplicationListAttributes) GetType ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetType() string

GetType returns the Type field value.

func (*RUMApplicationListAttributes) GetTypeOk ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RUMApplicationListAttributes) GetUpdatedAt ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetUpdatedAt() int64

GetUpdatedAt returns the UpdatedAt field value.

func (*RUMApplicationListAttributes) GetUpdatedAtOk ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetUpdatedAtOk() (*int64, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*RUMApplicationListAttributes) GetUpdatedByHandle ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetUpdatedByHandle() string

GetUpdatedByHandle returns the UpdatedByHandle field value.

func (*RUMApplicationListAttributes) GetUpdatedByHandleOk ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) GetUpdatedByHandleOk() (*string, bool)

GetUpdatedByHandleOk returns a tuple with the UpdatedByHandle field value and a boolean to check if the value has been set.

func (*RUMApplicationListAttributes) HasHash ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) HasHash() bool

HasHash returns a boolean if a field has been set.

func (*RUMApplicationListAttributes) HasIsActive ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (RUMApplicationListAttributes) MarshalJSON ¶ added in v2.6.0

func (o RUMApplicationListAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationListAttributes) SetApplicationId ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) SetApplicationId(v string)

SetApplicationId sets field value.

func (*RUMApplicationListAttributes) SetCreatedAt ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) SetCreatedAt(v int64)

SetCreatedAt sets field value.

func (*RUMApplicationListAttributes) SetCreatedByHandle ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) SetCreatedByHandle(v string)

SetCreatedByHandle sets field value.

func (*RUMApplicationListAttributes) SetHash ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) SetHash(v string)

SetHash gets a reference to the given string and assigns it to the Hash field.

func (*RUMApplicationListAttributes) SetIsActive ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*RUMApplicationListAttributes) SetName ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) SetName(v string)

SetName sets field value.

func (*RUMApplicationListAttributes) SetOrgId ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) SetOrgId(v int32)

SetOrgId sets field value.

func (*RUMApplicationListAttributes) SetType ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) SetType(v string)

SetType sets field value.

func (*RUMApplicationListAttributes) SetUpdatedAt ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) SetUpdatedAt(v int64)

SetUpdatedAt sets field value.

func (*RUMApplicationListAttributes) SetUpdatedByHandle ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) SetUpdatedByHandle(v string)

SetUpdatedByHandle sets field value.

func (*RUMApplicationListAttributes) UnmarshalJSON ¶ added in v2.6.0

func (o *RUMApplicationListAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationListType ¶ added in v2.6.0

type RUMApplicationListType string

RUMApplicationListType RUM application list type.

const (
	RUMAPPLICATIONLISTTYPE_RUM_APPLICATION RUMApplicationListType = "rum_application"
)

List of RUMApplicationListType.

func NewRUMApplicationListTypeFromValue ¶ added in v2.6.0

func NewRUMApplicationListTypeFromValue(v string) (*RUMApplicationListType, error)

NewRUMApplicationListTypeFromValue returns a pointer to a valid RUMApplicationListType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMApplicationListType) GetAllowedValues ¶ added in v2.6.0

func (v *RUMApplicationListType) GetAllowedValues() []RUMApplicationListType

GetAllowedValues reeturns the list of possible values.

func (RUMApplicationListType) IsValid ¶ added in v2.6.0

func (v RUMApplicationListType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMApplicationListType) Ptr ¶ added in v2.6.0

Ptr returns reference to RUMApplicationListType value.

func (*RUMApplicationListType) UnmarshalJSON ¶ added in v2.6.0

func (v *RUMApplicationListType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMApplicationResponse ¶

type RUMApplicationResponse struct {
	// RUM application.
	Data *RUMApplication `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{}
}

RUMApplicationResponse RUM application response.

func NewRUMApplicationResponse ¶

func NewRUMApplicationResponse() *RUMApplicationResponse

NewRUMApplicationResponse instantiates a new RUMApplicationResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationResponseWithDefaults ¶

func NewRUMApplicationResponseWithDefaults() *RUMApplicationResponse

NewRUMApplicationResponseWithDefaults instantiates a new RUMApplicationResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*RUMApplicationResponse) GetDataOk ¶

func (o *RUMApplicationResponse) GetDataOk() (*RUMApplication, 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 (*RUMApplicationResponse) HasData ¶

func (o *RUMApplicationResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (RUMApplicationResponse) MarshalJSON ¶

func (o RUMApplicationResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationResponse) SetData ¶

func (o *RUMApplicationResponse) SetData(v RUMApplication)

SetData gets a reference to the given RUMApplication and assigns it to the Data field.

func (*RUMApplicationResponse) UnmarshalJSON ¶

func (o *RUMApplicationResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationType ¶

type RUMApplicationType string

RUMApplicationType RUM application response type.

const (
	RUMAPPLICATIONTYPE_RUM_APPLICATION RUMApplicationType = "rum_application"
)

List of RUMApplicationType.

func NewRUMApplicationTypeFromValue ¶

func NewRUMApplicationTypeFromValue(v string) (*RUMApplicationType, error)

NewRUMApplicationTypeFromValue returns a pointer to a valid RUMApplicationType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMApplicationType) GetAllowedValues ¶

func (v *RUMApplicationType) GetAllowedValues() []RUMApplicationType

GetAllowedValues reeturns the list of possible values.

func (RUMApplicationType) IsValid ¶

func (v RUMApplicationType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMApplicationType) Ptr ¶

Ptr returns reference to RUMApplicationType value.

func (*RUMApplicationType) UnmarshalJSON ¶

func (v *RUMApplicationType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMApplicationUpdate ¶

type RUMApplicationUpdate struct {
	// RUM application update attributes.
	Attributes *RUMApplicationUpdateAttributes `json:"attributes,omitempty"`
	// RUM application ID.
	Id string `json:"id"`
	// RUM application update type.
	Type RUMApplicationUpdateType `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{}
}

RUMApplicationUpdate RUM application update.

func NewRUMApplicationUpdate ¶

func NewRUMApplicationUpdate(id string, typeVar RUMApplicationUpdateType) *RUMApplicationUpdate

NewRUMApplicationUpdate instantiates a new RUMApplicationUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationUpdateWithDefaults ¶

func NewRUMApplicationUpdateWithDefaults() *RUMApplicationUpdate

NewRUMApplicationUpdateWithDefaults instantiates a new RUMApplicationUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationUpdate) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RUMApplicationUpdate) GetAttributesOk ¶

func (o *RUMApplicationUpdate) GetAttributesOk() (*RUMApplicationUpdateAttributes, 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 (*RUMApplicationUpdate) GetId ¶

func (o *RUMApplicationUpdate) GetId() string

GetId returns the Id field value.

func (*RUMApplicationUpdate) GetIdOk ¶

func (o *RUMApplicationUpdate) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RUMApplicationUpdate) GetType ¶

GetType returns the Type field value.

func (*RUMApplicationUpdate) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RUMApplicationUpdate) HasAttributes ¶

func (o *RUMApplicationUpdate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (RUMApplicationUpdate) MarshalJSON ¶

func (o RUMApplicationUpdate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationUpdate) SetAttributes ¶

SetAttributes gets a reference to the given RUMApplicationUpdateAttributes and assigns it to the Attributes field.

func (*RUMApplicationUpdate) SetId ¶

func (o *RUMApplicationUpdate) SetId(v string)

SetId sets field value.

func (*RUMApplicationUpdate) SetType ¶

SetType sets field value.

func (*RUMApplicationUpdate) UnmarshalJSON ¶

func (o *RUMApplicationUpdate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationUpdateAttributes ¶

type RUMApplicationUpdateAttributes struct {
	// Name of the RUM application.
	Name *string `json:"name,omitempty"`
	// Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`.
	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{}
}

RUMApplicationUpdateAttributes RUM application update attributes.

func NewRUMApplicationUpdateAttributes ¶

func NewRUMApplicationUpdateAttributes() *RUMApplicationUpdateAttributes

NewRUMApplicationUpdateAttributes instantiates a new RUMApplicationUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationUpdateAttributesWithDefaults ¶

func NewRUMApplicationUpdateAttributesWithDefaults() *RUMApplicationUpdateAttributes

NewRUMApplicationUpdateAttributesWithDefaults instantiates a new RUMApplicationUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationUpdateAttributes) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*RUMApplicationUpdateAttributes) GetNameOk ¶

func (o *RUMApplicationUpdateAttributes) 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 (*RUMApplicationUpdateAttributes) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*RUMApplicationUpdateAttributes) GetTypeOk ¶

func (o *RUMApplicationUpdateAttributes) 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 (*RUMApplicationUpdateAttributes) HasName ¶

func (o *RUMApplicationUpdateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*RUMApplicationUpdateAttributes) HasType ¶

func (o *RUMApplicationUpdateAttributes) HasType() bool

HasType returns a boolean if a field has been set.

func (RUMApplicationUpdateAttributes) MarshalJSON ¶

func (o RUMApplicationUpdateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationUpdateAttributes) SetName ¶

func (o *RUMApplicationUpdateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*RUMApplicationUpdateAttributes) SetType ¶

func (o *RUMApplicationUpdateAttributes) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*RUMApplicationUpdateAttributes) UnmarshalJSON ¶

func (o *RUMApplicationUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationUpdateRequest ¶

type RUMApplicationUpdateRequest struct {
	// RUM application update.
	Data RUMApplicationUpdate `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{}
}

RUMApplicationUpdateRequest RUM application update request.

func NewRUMApplicationUpdateRequest ¶

func NewRUMApplicationUpdateRequest(data RUMApplicationUpdate) *RUMApplicationUpdateRequest

NewRUMApplicationUpdateRequest instantiates a new RUMApplicationUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationUpdateRequestWithDefaults ¶

func NewRUMApplicationUpdateRequestWithDefaults() *RUMApplicationUpdateRequest

NewRUMApplicationUpdateRequestWithDefaults instantiates a new RUMApplicationUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationUpdateRequest) GetData ¶

GetData returns the Data field value.

func (*RUMApplicationUpdateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RUMApplicationUpdateRequest) MarshalJSON ¶

func (o RUMApplicationUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationUpdateRequest) SetData ¶

SetData sets field value.

func (*RUMApplicationUpdateRequest) UnmarshalJSON ¶

func (o *RUMApplicationUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMApplicationUpdateType ¶

type RUMApplicationUpdateType string

RUMApplicationUpdateType RUM application update type.

const (
	RUMAPPLICATIONUPDATETYPE_RUM_APPLICATION_UPDATE RUMApplicationUpdateType = "rum_application_update"
)

List of RUMApplicationUpdateType.

func NewRUMApplicationUpdateTypeFromValue ¶

func NewRUMApplicationUpdateTypeFromValue(v string) (*RUMApplicationUpdateType, error)

NewRUMApplicationUpdateTypeFromValue returns a pointer to a valid RUMApplicationUpdateType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RUMApplicationUpdateType) GetAllowedValues ¶

func (v *RUMApplicationUpdateType) GetAllowedValues() []RUMApplicationUpdateType

GetAllowedValues reeturns the list of possible values.

func (RUMApplicationUpdateType) IsValid ¶

func (v RUMApplicationUpdateType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMApplicationUpdateType) Ptr ¶

Ptr returns reference to RUMApplicationUpdateType value.

func (*RUMApplicationUpdateType) UnmarshalJSON ¶

func (v *RUMApplicationUpdateType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMApplicationsResponse ¶

type RUMApplicationsResponse struct {
	// RUM applications array response.
	Data []RUMApplicationList `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{}
}

RUMApplicationsResponse RUM applications response.

func NewRUMApplicationsResponse ¶

func NewRUMApplicationsResponse() *RUMApplicationsResponse

NewRUMApplicationsResponse instantiates a new RUMApplicationsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRUMApplicationsResponseWithDefaults ¶

func NewRUMApplicationsResponseWithDefaults() *RUMApplicationsResponse

NewRUMApplicationsResponseWithDefaults instantiates a new RUMApplicationsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RUMApplicationsResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*RUMApplicationsResponse) GetDataOk ¶

func (o *RUMApplicationsResponse) GetDataOk() (*[]RUMApplicationList, 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 (*RUMApplicationsResponse) HasData ¶

func (o *RUMApplicationsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (RUMApplicationsResponse) MarshalJSON ¶

func (o RUMApplicationsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMApplicationsResponse) SetData ¶

SetData gets a reference to the given []RUMApplicationList and assigns it to the Data field.

func (*RUMApplicationsResponse) UnmarshalJSON ¶

func (o *RUMApplicationsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMBucketResponse ¶

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 ¶

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 ¶

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 ¶

func (o *RUMBucketResponse) GetBy() map[string]string

GetBy returns the By field value if set, zero value otherwise.

func (*RUMBucketResponse) GetByOk ¶

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 ¶

func (o *RUMBucketResponse) GetComputes() map[string]RUMAggregateBucketValue

GetComputes returns the Computes field value if set, zero value otherwise.

func (*RUMBucketResponse) GetComputesOk ¶

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 ¶

func (o *RUMBucketResponse) HasBy() bool

HasBy returns a boolean if a field has been set.

func (*RUMBucketResponse) HasComputes ¶

func (o *RUMBucketResponse) HasComputes() bool

HasComputes returns a boolean if a field has been set.

func (RUMBucketResponse) MarshalJSON ¶

func (o RUMBucketResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMBucketResponse) SetBy ¶

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 ¶

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 ¶

func (o *RUMBucketResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMCompute ¶

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 ¶

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 ¶

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 ¶

func (o *RUMCompute) GetAggregation() RUMAggregationFunction

GetAggregation returns the Aggregation field value.

func (*RUMCompute) GetAggregationOk ¶

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 ¶

func (o *RUMCompute) GetInterval() string

GetInterval returns the Interval field value if set, zero value otherwise.

func (*RUMCompute) GetIntervalOk ¶

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 ¶

func (o *RUMCompute) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*RUMCompute) GetMetricOk ¶

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 ¶

func (o *RUMCompute) GetType() RUMComputeType

GetType returns the Type field value if set, zero value otherwise.

func (*RUMCompute) GetTypeOk ¶

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 ¶

func (o *RUMCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*RUMCompute) HasMetric ¶

func (o *RUMCompute) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*RUMCompute) HasType ¶

func (o *RUMCompute) HasType() bool

HasType returns a boolean if a field has been set.

func (RUMCompute) MarshalJSON ¶

func (o RUMCompute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMCompute) SetAggregation ¶

func (o *RUMCompute) SetAggregation(v RUMAggregationFunction)

SetAggregation sets field value.

func (*RUMCompute) SetInterval ¶

func (o *RUMCompute) SetInterval(v string)

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (*RUMCompute) SetMetric ¶

func (o *RUMCompute) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*RUMCompute) SetType ¶

func (o *RUMCompute) SetType(v RUMComputeType)

SetType gets a reference to the given RUMComputeType and assigns it to the Type field.

func (*RUMCompute) UnmarshalJSON ¶

func (o *RUMCompute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMComputeType ¶

type RUMComputeType string

RUMComputeType The type of compute.

const (
	RUMCOMPUTETYPE_TIMESERIES RUMComputeType = "timeseries"
	RUMCOMPUTETYPE_TOTAL      RUMComputeType = "total"
)

List of RUMComputeType.

func NewRUMComputeTypeFromValue ¶

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 ¶

func (v *RUMComputeType) GetAllowedValues() []RUMComputeType

GetAllowedValues reeturns the list of possible values.

func (RUMComputeType) IsValid ¶

func (v RUMComputeType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMComputeType) Ptr ¶

func (v RUMComputeType) Ptr() *RUMComputeType

Ptr returns reference to RUMComputeType value.

func (*RUMComputeType) UnmarshalJSON ¶

func (v *RUMComputeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMEvent ¶

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 ¶

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 ¶

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 ¶

func (o *RUMEvent) GetAttributes() RUMEventAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RUMEvent) GetAttributesOk ¶

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 ¶

func (o *RUMEvent) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RUMEvent) GetIdOk ¶

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 ¶

func (o *RUMEvent) GetType() RUMEventType

GetType returns the Type field value if set, zero value otherwise.

func (*RUMEvent) GetTypeOk ¶

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 ¶

func (o *RUMEvent) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RUMEvent) HasId ¶

func (o *RUMEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*RUMEvent) HasType ¶

func (o *RUMEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (RUMEvent) MarshalJSON ¶

func (o RUMEvent) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMEvent) SetAttributes ¶

func (o *RUMEvent) SetAttributes(v RUMEventAttributes)

SetAttributes gets a reference to the given RUMEventAttributes and assigns it to the Attributes field.

func (*RUMEvent) SetId ¶

func (o *RUMEvent) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RUMEvent) SetType ¶

func (o *RUMEvent) SetType(v RUMEventType)

SetType gets a reference to the given RUMEventType and assigns it to the Type field.

func (*RUMEvent) UnmarshalJSON ¶

func (o *RUMEvent) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMEventAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *RUMEventAttributes) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RUMEventAttributes) GetAttributesOk ¶

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 ¶

func (o *RUMEventAttributes) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*RUMEventAttributes) GetServiceOk ¶

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 ¶

func (o *RUMEventAttributes) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*RUMEventAttributes) GetTagsOk ¶

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 ¶

func (o *RUMEventAttributes) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*RUMEventAttributes) GetTimestampOk ¶

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 ¶

func (o *RUMEventAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RUMEventAttributes) HasService ¶

func (o *RUMEventAttributes) HasService() bool

HasService returns a boolean if a field has been set.

func (*RUMEventAttributes) HasTags ¶

func (o *RUMEventAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*RUMEventAttributes) HasTimestamp ¶

func (o *RUMEventAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (RUMEventAttributes) MarshalJSON ¶

func (o RUMEventAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMEventAttributes) SetAttributes ¶

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 ¶

func (o *RUMEventAttributes) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*RUMEventAttributes) SetTags ¶

func (o *RUMEventAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*RUMEventAttributes) SetTimestamp ¶

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 ¶

func (o *RUMEventAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMEventType ¶

type RUMEventType string

RUMEventType Type of the event.

const (
	RUMEVENTTYPE_RUM RUMEventType = "rum"
)

List of RUMEventType.

func NewRUMEventTypeFromValue ¶

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 ¶

func (v *RUMEventType) GetAllowedValues() []RUMEventType

GetAllowedValues reeturns the list of possible values.

func (RUMEventType) IsValid ¶

func (v RUMEventType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMEventType) Ptr ¶

func (v RUMEventType) Ptr() *RUMEventType

Ptr returns reference to RUMEventType value.

func (*RUMEventType) UnmarshalJSON ¶

func (v *RUMEventType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMEventsResponse ¶

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 ¶

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 ¶

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 ¶

func (o *RUMEventsResponse) GetData() []RUMEvent

GetData returns the Data field value if set, zero value otherwise.

func (*RUMEventsResponse) GetDataOk ¶

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 ¶

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 ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*RUMEventsResponse) GetMetaOk ¶

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 ¶

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 ¶

func (o *RUMEventsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (RUMEventsResponse) MarshalJSON ¶

func (o RUMEventsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMEventsResponse) SetData ¶

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 ¶

func (o *RUMEventsResponse) SetMeta(v RUMResponseMetadata)

SetMeta gets a reference to the given RUMResponseMetadata and assigns it to the Meta field.

func (*RUMEventsResponse) UnmarshalJSON ¶

func (o *RUMEventsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMGroupBy ¶

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 ¶

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 ¶

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 ¶

func (o *RUMGroupBy) GetFacet() string

GetFacet returns the Facet field value.

func (*RUMGroupBy) GetFacetOk ¶

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 ¶

func (o *RUMGroupBy) GetHistogram() RUMGroupByHistogram

GetHistogram returns the Histogram field value if set, zero value otherwise.

func (*RUMGroupBy) GetHistogramOk ¶

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 ¶

func (o *RUMGroupBy) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*RUMGroupBy) GetLimitOk ¶

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 ¶

func (o *RUMGroupBy) GetMissing() RUMGroupByMissing

GetMissing returns the Missing field value if set, zero value otherwise.

func (*RUMGroupBy) GetMissingOk ¶

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 ¶

func (o *RUMGroupBy) GetSort() RUMAggregateSort

GetSort returns the Sort field value if set, zero value otherwise.

func (*RUMGroupBy) GetSortOk ¶

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 ¶

func (o *RUMGroupBy) GetTotal() RUMGroupByTotal

GetTotal returns the Total field value if set, zero value otherwise.

func (*RUMGroupBy) GetTotalOk ¶

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 ¶

func (o *RUMGroupBy) HasHistogram() bool

HasHistogram returns a boolean if a field has been set.

func (*RUMGroupBy) HasLimit ¶

func (o *RUMGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*RUMGroupBy) HasMissing ¶

func (o *RUMGroupBy) HasMissing() bool

HasMissing returns a boolean if a field has been set.

func (*RUMGroupBy) HasSort ¶

func (o *RUMGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*RUMGroupBy) HasTotal ¶

func (o *RUMGroupBy) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (RUMGroupBy) MarshalJSON ¶

func (o RUMGroupBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMGroupBy) SetFacet ¶

func (o *RUMGroupBy) SetFacet(v string)

SetFacet sets field value.

func (*RUMGroupBy) SetHistogram ¶

func (o *RUMGroupBy) SetHistogram(v RUMGroupByHistogram)

SetHistogram gets a reference to the given RUMGroupByHistogram and assigns it to the Histogram field.

func (*RUMGroupBy) SetLimit ¶

func (o *RUMGroupBy) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*RUMGroupBy) SetMissing ¶

func (o *RUMGroupBy) SetMissing(v RUMGroupByMissing)

SetMissing gets a reference to the given RUMGroupByMissing and assigns it to the Missing field.

func (*RUMGroupBy) SetSort ¶

func (o *RUMGroupBy) SetSort(v RUMAggregateSort)

SetSort gets a reference to the given RUMAggregateSort and assigns it to the Sort field.

func (*RUMGroupBy) SetTotal ¶

func (o *RUMGroupBy) SetTotal(v RUMGroupByTotal)

SetTotal gets a reference to the given RUMGroupByTotal and assigns it to the Total field.

func (*RUMGroupBy) UnmarshalJSON ¶

func (o *RUMGroupBy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMGroupByHistogram ¶

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 ¶

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 ¶

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 ¶

func (o *RUMGroupByHistogram) GetInterval() float64

GetInterval returns the Interval field value.

func (*RUMGroupByHistogram) GetIntervalOk ¶

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 ¶

func (o *RUMGroupByHistogram) GetMax() float64

GetMax returns the Max field value.

func (*RUMGroupByHistogram) GetMaxOk ¶

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 ¶

func (o *RUMGroupByHistogram) GetMin() float64

GetMin returns the Min field value.

func (*RUMGroupByHistogram) GetMinOk ¶

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 ¶

func (o RUMGroupByHistogram) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMGroupByHistogram) SetInterval ¶

func (o *RUMGroupByHistogram) SetInterval(v float64)

SetInterval sets field value.

func (*RUMGroupByHistogram) SetMax ¶

func (o *RUMGroupByHistogram) SetMax(v float64)

SetMax sets field value.

func (*RUMGroupByHistogram) SetMin ¶

func (o *RUMGroupByHistogram) SetMin(v float64)

SetMin sets field value.

func (*RUMGroupByHistogram) UnmarshalJSON ¶

func (o *RUMGroupByHistogram) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMGroupByMissing ¶

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 ¶

func RUMGroupByMissingNumberAsRUMGroupByMissing(v *float64) RUMGroupByMissing

RUMGroupByMissingNumberAsRUMGroupByMissing is a convenience function that returns float64 wrapped in RUMGroupByMissing.

func RUMGroupByMissingStringAsRUMGroupByMissing ¶

func RUMGroupByMissingStringAsRUMGroupByMissing(v *string) RUMGroupByMissing

RUMGroupByMissingStringAsRUMGroupByMissing is a convenience function that returns string wrapped in RUMGroupByMissing.

func (*RUMGroupByMissing) GetActualInstance ¶

func (obj *RUMGroupByMissing) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (RUMGroupByMissing) MarshalJSON ¶

func (obj RUMGroupByMissing) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*RUMGroupByMissing) UnmarshalJSON ¶

func (obj *RUMGroupByMissing) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type RUMGroupByTotal ¶

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 ¶

func RUMGroupByTotalBooleanAsRUMGroupByTotal(v *bool) RUMGroupByTotal

RUMGroupByTotalBooleanAsRUMGroupByTotal is a convenience function that returns bool wrapped in RUMGroupByTotal.

func RUMGroupByTotalNumberAsRUMGroupByTotal ¶

func RUMGroupByTotalNumberAsRUMGroupByTotal(v *float64) RUMGroupByTotal

RUMGroupByTotalNumberAsRUMGroupByTotal is a convenience function that returns float64 wrapped in RUMGroupByTotal.

func RUMGroupByTotalStringAsRUMGroupByTotal ¶

func RUMGroupByTotalStringAsRUMGroupByTotal(v *string) RUMGroupByTotal

RUMGroupByTotalStringAsRUMGroupByTotal is a convenience function that returns string wrapped in RUMGroupByTotal.

func (*RUMGroupByTotal) GetActualInstance ¶

func (obj *RUMGroupByTotal) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (RUMGroupByTotal) MarshalJSON ¶

func (obj RUMGroupByTotal) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*RUMGroupByTotal) UnmarshalJSON ¶

func (obj *RUMGroupByTotal) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type RUMQueryFilter ¶

type RUMQueryFilter struct {
	// The minimum time for the requested events; supports date (in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with full date, hours, minutes, and the `Z` UTC indicator - seconds and fractional seconds are optional), 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 (in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with full date, hours, minutes, and the `Z` UTC indicator - seconds and fractional seconds are optional), 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 ¶

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 ¶

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 ¶

func (o *RUMQueryFilter) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*RUMQueryFilter) GetFromOk ¶

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 ¶

func (o *RUMQueryFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*RUMQueryFilter) GetQueryOk ¶

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 ¶

func (o *RUMQueryFilter) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*RUMQueryFilter) GetToOk ¶

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 ¶

func (o *RUMQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*RUMQueryFilter) HasQuery ¶

func (o *RUMQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*RUMQueryFilter) HasTo ¶

func (o *RUMQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (RUMQueryFilter) MarshalJSON ¶

func (o RUMQueryFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMQueryFilter) SetFrom ¶

func (o *RUMQueryFilter) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*RUMQueryFilter) SetQuery ¶

func (o *RUMQueryFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*RUMQueryFilter) SetTo ¶

func (o *RUMQueryFilter) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

func (*RUMQueryFilter) UnmarshalJSON ¶

func (o *RUMQueryFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMQueryOptions ¶

type RUMQueryOptions struct {
	// The time offset (in seconds) to apply to the query.
	TimeOffset *int64 `json:"time_offset,omitempty"`
	// The timezone can be specified as GMT, UTC, an offset from UTC (like UTC+1), or as a Timezone Database identifier (like America/New_York).
	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 ¶

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 ¶

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 ¶

func (o *RUMQueryOptions) GetTimeOffset() int64

GetTimeOffset returns the TimeOffset field value if set, zero value otherwise.

func (*RUMQueryOptions) GetTimeOffsetOk ¶

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 ¶

func (o *RUMQueryOptions) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*RUMQueryOptions) GetTimezoneOk ¶

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 ¶

func (o *RUMQueryOptions) HasTimeOffset() bool

HasTimeOffset returns a boolean if a field has been set.

func (*RUMQueryOptions) HasTimezone ¶

func (o *RUMQueryOptions) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (RUMQueryOptions) MarshalJSON ¶

func (o RUMQueryOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMQueryOptions) SetTimeOffset ¶

func (o *RUMQueryOptions) SetTimeOffset(v int64)

SetTimeOffset gets a reference to the given int64 and assigns it to the TimeOffset field.

func (*RUMQueryOptions) SetTimezone ¶

func (o *RUMQueryOptions) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*RUMQueryOptions) UnmarshalJSON ¶

func (o *RUMQueryOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMQueryPageOptions ¶

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 ¶

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 ¶

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 ¶

func (o *RUMQueryPageOptions) GetCursor() string

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*RUMQueryPageOptions) GetCursorOk ¶

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 ¶

func (o *RUMQueryPageOptions) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*RUMQueryPageOptions) GetLimitOk ¶

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 ¶

func (o *RUMQueryPageOptions) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*RUMQueryPageOptions) HasLimit ¶

func (o *RUMQueryPageOptions) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (RUMQueryPageOptions) MarshalJSON ¶

func (o RUMQueryPageOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMQueryPageOptions) SetCursor ¶

func (o *RUMQueryPageOptions) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*RUMQueryPageOptions) SetLimit ¶

func (o *RUMQueryPageOptions) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*RUMQueryPageOptions) UnmarshalJSON ¶

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 ¶

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 ¶

func (o *RUMResponseLinks) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*RUMResponseLinks) GetNextOk ¶

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 ¶

func (o *RUMResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (RUMResponseLinks) MarshalJSON ¶

func (o RUMResponseLinks) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMResponseLinks) SetNext ¶

func (o *RUMResponseLinks) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*RUMResponseLinks) UnmarshalJSON ¶

func (o *RUMResponseLinks) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMResponseMetadata ¶

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 ¶

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 ¶

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 ¶

func (o *RUMResponseMetadata) GetElapsed() int64

GetElapsed returns the Elapsed field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetElapsedOk ¶

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 ¶

func (o *RUMResponseMetadata) GetPage() RUMResponsePage

GetPage returns the Page field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetPageOk ¶

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 ¶

func (o *RUMResponseMetadata) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetRequestIdOk ¶

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 ¶

func (o *RUMResponseMetadata) GetStatus() RUMResponseStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetStatusOk ¶

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 ¶

func (o *RUMResponseMetadata) GetWarnings() []RUMWarning

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetWarningsOk ¶

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 ¶

func (o *RUMResponseMetadata) HasElapsed() bool

HasElapsed returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasPage ¶

func (o *RUMResponseMetadata) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasRequestId ¶

func (o *RUMResponseMetadata) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasStatus ¶

func (o *RUMResponseMetadata) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasWarnings ¶

func (o *RUMResponseMetadata) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (RUMResponseMetadata) MarshalJSON ¶

func (o RUMResponseMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMResponseMetadata) SetElapsed ¶

func (o *RUMResponseMetadata) SetElapsed(v int64)

SetElapsed gets a reference to the given int64 and assigns it to the Elapsed field.

func (*RUMResponseMetadata) SetPage ¶

func (o *RUMResponseMetadata) SetPage(v RUMResponsePage)

SetPage gets a reference to the given RUMResponsePage and assigns it to the Page field.

func (*RUMResponseMetadata) SetRequestId ¶

func (o *RUMResponseMetadata) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*RUMResponseMetadata) SetStatus ¶

func (o *RUMResponseMetadata) SetStatus(v RUMResponseStatus)

SetStatus gets a reference to the given RUMResponseStatus and assigns it to the Status field.

func (*RUMResponseMetadata) SetWarnings ¶

func (o *RUMResponseMetadata) SetWarnings(v []RUMWarning)

SetWarnings gets a reference to the given []RUMWarning and assigns it to the Warnings field.

func (*RUMResponseMetadata) UnmarshalJSON ¶

func (o *RUMResponseMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMResponsePage ¶

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 ¶

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 ¶

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 ¶

func (o *RUMResponsePage) GetAfter() string

GetAfter returns the After field value if set, zero value otherwise.

func (*RUMResponsePage) GetAfterOk ¶

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 ¶

func (o *RUMResponsePage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (RUMResponsePage) MarshalJSON ¶

func (o RUMResponsePage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMResponsePage) SetAfter ¶

func (o *RUMResponsePage) SetAfter(v string)

SetAfter gets a reference to the given string and assigns it to the After field.

func (*RUMResponsePage) UnmarshalJSON ¶

func (o *RUMResponsePage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMResponseStatus ¶

type RUMResponseStatus string

RUMResponseStatus The status of the response.

const (
	RUMRESPONSESTATUS_DONE    RUMResponseStatus = "done"
	RUMRESPONSESTATUS_TIMEOUT RUMResponseStatus = "timeout"
)

List of RUMResponseStatus.

func NewRUMResponseStatusFromValue ¶

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 ¶

func (v *RUMResponseStatus) GetAllowedValues() []RUMResponseStatus

GetAllowedValues reeturns the list of possible values.

func (RUMResponseStatus) IsValid ¶

func (v RUMResponseStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMResponseStatus) Ptr ¶

Ptr returns reference to RUMResponseStatus value.

func (*RUMResponseStatus) UnmarshalJSON ¶

func (v *RUMResponseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMSearchEventsRequest ¶

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 ¶

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 ¶

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 ¶

func (o *RUMSearchEventsRequest) GetFilter() RUMQueryFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetFilterOk ¶

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 ¶

func (o *RUMSearchEventsRequest) GetOptions() RUMQueryOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetOptionsOk ¶

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 ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetPageOk ¶

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 ¶

func (o *RUMSearchEventsRequest) GetSort() RUMSort

GetSort returns the Sort field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetSortOk ¶

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 ¶

func (o *RUMSearchEventsRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*RUMSearchEventsRequest) HasOptions ¶

func (o *RUMSearchEventsRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*RUMSearchEventsRequest) HasPage ¶

func (o *RUMSearchEventsRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*RUMSearchEventsRequest) HasSort ¶

func (o *RUMSearchEventsRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (RUMSearchEventsRequest) MarshalJSON ¶

func (o RUMSearchEventsRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMSearchEventsRequest) SetFilter ¶

func (o *RUMSearchEventsRequest) SetFilter(v RUMQueryFilter)

SetFilter gets a reference to the given RUMQueryFilter and assigns it to the Filter field.

func (*RUMSearchEventsRequest) SetOptions ¶

func (o *RUMSearchEventsRequest) SetOptions(v RUMQueryOptions)

SetOptions gets a reference to the given RUMQueryOptions and assigns it to the Options field.

func (*RUMSearchEventsRequest) SetPage ¶

SetPage gets a reference to the given RUMQueryPageOptions and assigns it to the Page field.

func (*RUMSearchEventsRequest) SetSort ¶

func (o *RUMSearchEventsRequest) SetSort(v RUMSort)

SetSort gets a reference to the given RUMSort and assigns it to the Sort field.

func (*RUMSearchEventsRequest) UnmarshalJSON ¶

func (o *RUMSearchEventsRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RUMSort ¶

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 ¶

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 ¶

func (v *RUMSort) GetAllowedValues() []RUMSort

GetAllowedValues reeturns the list of possible values.

func (RUMSort) IsValid ¶

func (v RUMSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMSort) Ptr ¶

func (v RUMSort) Ptr() *RUMSort

Ptr returns reference to RUMSort value.

func (*RUMSort) UnmarshalJSON ¶

func (v *RUMSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMSortOrder ¶

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 ¶

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 ¶

func (v *RUMSortOrder) GetAllowedValues() []RUMSortOrder

GetAllowedValues reeturns the list of possible values.

func (RUMSortOrder) IsValid ¶

func (v RUMSortOrder) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RUMSortOrder) Ptr ¶

func (v RUMSortOrder) Ptr() *RUMSortOrder

Ptr returns reference to RUMSortOrder value.

func (*RUMSortOrder) UnmarshalJSON ¶

func (v *RUMSortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RUMWarning ¶

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 ¶

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 ¶

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 ¶

func (o *RUMWarning) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*RUMWarning) GetCodeOk ¶

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 ¶

func (o *RUMWarning) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*RUMWarning) GetDetailOk ¶

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 ¶

func (o *RUMWarning) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*RUMWarning) GetTitleOk ¶

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 ¶

func (o *RUMWarning) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*RUMWarning) HasDetail ¶

func (o *RUMWarning) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*RUMWarning) HasTitle ¶

func (o *RUMWarning) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (RUMWarning) MarshalJSON ¶

func (o RUMWarning) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RUMWarning) SetCode ¶

func (o *RUMWarning) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*RUMWarning) SetDetail ¶

func (o *RUMWarning) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*RUMWarning) SetTitle ¶

func (o *RUMWarning) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*RUMWarning) UnmarshalJSON ¶

func (o *RUMWarning) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToIncidentAttachment ¶ added in v2.4.0

type RelationshipToIncidentAttachment struct {
	// An array of incident attachments.
	Data []RelationshipToIncidentAttachmentData `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{}
}

RelationshipToIncidentAttachment A relationship reference for attachments.

func NewRelationshipToIncidentAttachment ¶ added in v2.4.0

func NewRelationshipToIncidentAttachment(data []RelationshipToIncidentAttachmentData) *RelationshipToIncidentAttachment

NewRelationshipToIncidentAttachment instantiates a new RelationshipToIncidentAttachment object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToIncidentAttachmentWithDefaults ¶ added in v2.4.0

func NewRelationshipToIncidentAttachmentWithDefaults() *RelationshipToIncidentAttachment

NewRelationshipToIncidentAttachmentWithDefaults instantiates a new RelationshipToIncidentAttachment object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToIncidentAttachment) GetData ¶ added in v2.4.0

GetData returns the Data field value.

func (*RelationshipToIncidentAttachment) GetDataOk ¶ added in v2.4.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToIncidentAttachment) MarshalJSON ¶ added in v2.4.0

func (o RelationshipToIncidentAttachment) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToIncidentAttachment) SetData ¶ added in v2.4.0

SetData sets field value.

func (*RelationshipToIncidentAttachment) UnmarshalJSON ¶ added in v2.4.0

func (o *RelationshipToIncidentAttachment) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToIncidentAttachmentData ¶ added in v2.4.0

type RelationshipToIncidentAttachmentData struct {
	// A unique identifier that represents the attachment.
	Id string `json:"id"`
	// The incident attachment resource type.
	Type IncidentAttachmentType `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{}
}

RelationshipToIncidentAttachmentData The attachment relationship data.

func NewRelationshipToIncidentAttachmentData ¶ added in v2.4.0

func NewRelationshipToIncidentAttachmentData(id string, typeVar IncidentAttachmentType) *RelationshipToIncidentAttachmentData

NewRelationshipToIncidentAttachmentData instantiates a new RelationshipToIncidentAttachmentData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRelationshipToIncidentAttachmentDataWithDefaults ¶ added in v2.4.0

func NewRelationshipToIncidentAttachmentDataWithDefaults() *RelationshipToIncidentAttachmentData

NewRelationshipToIncidentAttachmentDataWithDefaults instantiates a new RelationshipToIncidentAttachmentData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RelationshipToIncidentAttachmentData) GetId ¶ added in v2.4.0

GetId returns the Id field value.

func (*RelationshipToIncidentAttachmentData) GetIdOk ¶ added in v2.4.0

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RelationshipToIncidentAttachmentData) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*RelationshipToIncidentAttachmentData) GetTypeOk ¶ added in v2.4.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RelationshipToIncidentAttachmentData) MarshalJSON ¶ added in v2.4.0

func (o RelationshipToIncidentAttachmentData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToIncidentAttachmentData) SetId ¶ added in v2.4.0

SetId sets field value.

func (*RelationshipToIncidentAttachmentData) SetType ¶ added in v2.4.0

SetType sets field value.

func (*RelationshipToIncidentAttachmentData) UnmarshalJSON ¶ added in v2.4.0

func (o *RelationshipToIncidentAttachmentData) 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 {
	// 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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *RelationshipToRoles) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToSAMLAssertionAttribute ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*RelationshipToSAMLAssertionAttribute) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToSAMLAssertionAttribute) MarshalJSON ¶

func (o RelationshipToSAMLAssertionAttribute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToSAMLAssertionAttribute) SetData ¶

SetData sets field value.

func (*RelationshipToSAMLAssertionAttribute) UnmarshalJSON ¶

func (o *RelationshipToSAMLAssertionAttribute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RelationshipToSAMLAssertionAttributeData ¶

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 ¶

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 ¶

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 ¶

GetId returns the Id field value.

func (*RelationshipToSAMLAssertionAttributeData) GetIdOk ¶

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RelationshipToSAMLAssertionAttributeData) GetType ¶

GetType returns the Type field value.

func (*RelationshipToSAMLAssertionAttributeData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RelationshipToSAMLAssertionAttributeData) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*RelationshipToSAMLAssertionAttributeData) SetId ¶

SetId sets field value.

func (*RelationshipToSAMLAssertionAttributeData) SetType ¶

SetType sets field value.

func (*RelationshipToSAMLAssertionAttributeData) UnmarshalJSON ¶

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 ¶

func (o *ResponseMetaAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RestrictionPoliciesApi ¶ added in v2.10.0

type RestrictionPoliciesApi datadog.Service

RestrictionPoliciesApi service type

func NewRestrictionPoliciesApi ¶ added in v2.10.0

func NewRestrictionPoliciesApi(client *datadog.APIClient) *RestrictionPoliciesApi

NewRestrictionPoliciesApi Returns NewRestrictionPoliciesApi.

func (*RestrictionPoliciesApi) DeleteRestrictionPolicy ¶ added in v2.10.0

func (a *RestrictionPoliciesApi) DeleteRestrictionPolicy(ctx _context.Context, resourceId string) (*_nethttp.Response, error)

DeleteRestrictionPolicy Delete a restriction policy. Deletes the restriction policy associated with a specified resource.

func (*RestrictionPoliciesApi) GetRestrictionPolicy ¶ added in v2.10.0

func (a *RestrictionPoliciesApi) GetRestrictionPolicy(ctx _context.Context, resourceId string) (RestrictionPolicyResponse, *_nethttp.Response, error)

GetRestrictionPolicy Get a restriction policy. Retrieves the restriction policy associated with a specified resource.

func (*RestrictionPoliciesApi) UpdateRestrictionPolicy ¶ added in v2.10.0

UpdateRestrictionPolicy Update a restriction policy. Updates the restriction policy associated with a resource.

#### Supported resources Restriction policies can be applied to the following resources: - Connections: `connection` - Dashboards: `dashboard` - Notebooks: `notebook` - Security Rules: `security-rule` - Service Level Objectives: `slo`

type RestrictionPolicy ¶ added in v2.10.0

type RestrictionPolicy struct {
	// Restriction policy attributes.
	Attributes RestrictionPolicyAttributes `json:"attributes"`
	// The identifier, always equivalent to the value specified in the `resource_id` path parameter.
	Id string `json:"id"`
	// Restriction policy type.
	Type RestrictionPolicyType `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{}
}

RestrictionPolicy Restriction policy object.

func NewRestrictionPolicy ¶ added in v2.10.0

func NewRestrictionPolicy(attributes RestrictionPolicyAttributes, id string, typeVar RestrictionPolicyType) *RestrictionPolicy

NewRestrictionPolicy instantiates a new RestrictionPolicy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRestrictionPolicyWithDefaults ¶ added in v2.10.0

func NewRestrictionPolicyWithDefaults() *RestrictionPolicy

NewRestrictionPolicyWithDefaults instantiates a new RestrictionPolicy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RestrictionPolicy) GetAttributes ¶ added in v2.10.0

GetAttributes returns the Attributes field value.

func (*RestrictionPolicy) GetAttributesOk ¶ added in v2.10.0

func (o *RestrictionPolicy) GetAttributesOk() (*RestrictionPolicyAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*RestrictionPolicy) GetId ¶ added in v2.10.0

func (o *RestrictionPolicy) GetId() string

GetId returns the Id field value.

func (*RestrictionPolicy) GetIdOk ¶ added in v2.10.0

func (o *RestrictionPolicy) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RestrictionPolicy) GetType ¶ added in v2.10.0

GetType returns the Type field value.

func (*RestrictionPolicy) GetTypeOk ¶ added in v2.10.0

func (o *RestrictionPolicy) GetTypeOk() (*RestrictionPolicyType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RestrictionPolicy) MarshalJSON ¶ added in v2.10.0

func (o RestrictionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RestrictionPolicy) SetAttributes ¶ added in v2.10.0

func (o *RestrictionPolicy) SetAttributes(v RestrictionPolicyAttributes)

SetAttributes sets field value.

func (*RestrictionPolicy) SetId ¶ added in v2.10.0

func (o *RestrictionPolicy) SetId(v string)

SetId sets field value.

func (*RestrictionPolicy) SetType ¶ added in v2.10.0

SetType sets field value.

func (*RestrictionPolicy) UnmarshalJSON ¶ added in v2.10.0

func (o *RestrictionPolicy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RestrictionPolicyAttributes ¶ added in v2.10.0

type RestrictionPolicyAttributes struct {
	// An array of bindings.
	Bindings []RestrictionPolicyBinding `json:"bindings"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

RestrictionPolicyAttributes Restriction policy attributes.

func NewRestrictionPolicyAttributes ¶ added in v2.10.0

func NewRestrictionPolicyAttributes(bindings []RestrictionPolicyBinding) *RestrictionPolicyAttributes

NewRestrictionPolicyAttributes instantiates a new RestrictionPolicyAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRestrictionPolicyAttributesWithDefaults ¶ added in v2.10.0

func NewRestrictionPolicyAttributesWithDefaults() *RestrictionPolicyAttributes

NewRestrictionPolicyAttributesWithDefaults instantiates a new RestrictionPolicyAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RestrictionPolicyAttributes) GetBindings ¶ added in v2.10.0

GetBindings returns the Bindings field value.

func (*RestrictionPolicyAttributes) GetBindingsOk ¶ added in v2.10.0

GetBindingsOk returns a tuple with the Bindings field value and a boolean to check if the value has been set.

func (RestrictionPolicyAttributes) MarshalJSON ¶ added in v2.10.0

func (o RestrictionPolicyAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RestrictionPolicyAttributes) SetBindings ¶ added in v2.10.0

SetBindings sets field value.

func (*RestrictionPolicyAttributes) UnmarshalJSON ¶ added in v2.10.0

func (o *RestrictionPolicyAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RestrictionPolicyBinding ¶ added in v2.10.0

type RestrictionPolicyBinding struct {
	// An array of principals. A principal is a subject or group of subjects.
	// Each principal is formatted as `type:id`. Supported types: `role` and `org`.
	// The org ID can be obtained through the api/v2/current_user API.
	Principals []string `json:"principals"`
	// The role/level of access.
	Relation string `json:"relation"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

RestrictionPolicyBinding Specifies which principals are associated with a relation.

func NewRestrictionPolicyBinding ¶ added in v2.10.0

func NewRestrictionPolicyBinding(principals []string, relation string) *RestrictionPolicyBinding

NewRestrictionPolicyBinding instantiates a new RestrictionPolicyBinding object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRestrictionPolicyBindingWithDefaults ¶ added in v2.10.0

func NewRestrictionPolicyBindingWithDefaults() *RestrictionPolicyBinding

NewRestrictionPolicyBindingWithDefaults instantiates a new RestrictionPolicyBinding object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RestrictionPolicyBinding) GetPrincipals ¶ added in v2.10.0

func (o *RestrictionPolicyBinding) GetPrincipals() []string

GetPrincipals returns the Principals field value.

func (*RestrictionPolicyBinding) GetPrincipalsOk ¶ added in v2.10.0

func (o *RestrictionPolicyBinding) GetPrincipalsOk() (*[]string, bool)

GetPrincipalsOk returns a tuple with the Principals field value and a boolean to check if the value has been set.

func (*RestrictionPolicyBinding) GetRelation ¶ added in v2.10.0

func (o *RestrictionPolicyBinding) GetRelation() string

GetRelation returns the Relation field value.

func (*RestrictionPolicyBinding) GetRelationOk ¶ added in v2.10.0

func (o *RestrictionPolicyBinding) GetRelationOk() (*string, bool)

GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.

func (RestrictionPolicyBinding) MarshalJSON ¶ added in v2.10.0

func (o RestrictionPolicyBinding) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RestrictionPolicyBinding) SetPrincipals ¶ added in v2.10.0

func (o *RestrictionPolicyBinding) SetPrincipals(v []string)

SetPrincipals sets field value.

func (*RestrictionPolicyBinding) SetRelation ¶ added in v2.10.0

func (o *RestrictionPolicyBinding) SetRelation(v string)

SetRelation sets field value.

func (*RestrictionPolicyBinding) UnmarshalJSON ¶ added in v2.10.0

func (o *RestrictionPolicyBinding) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RestrictionPolicyResponse ¶ added in v2.10.0

type RestrictionPolicyResponse struct {
	// Restriction policy object.
	Data RestrictionPolicy `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{}
}

RestrictionPolicyResponse Response containing information about a single restriction policy.

func NewRestrictionPolicyResponse ¶ added in v2.10.0

func NewRestrictionPolicyResponse(data RestrictionPolicy) *RestrictionPolicyResponse

NewRestrictionPolicyResponse instantiates a new RestrictionPolicyResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRestrictionPolicyResponseWithDefaults ¶ added in v2.10.0

func NewRestrictionPolicyResponseWithDefaults() *RestrictionPolicyResponse

NewRestrictionPolicyResponseWithDefaults instantiates a new RestrictionPolicyResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RestrictionPolicyResponse) GetData ¶ added in v2.10.0

GetData returns the Data field value.

func (*RestrictionPolicyResponse) GetDataOk ¶ added in v2.10.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RestrictionPolicyResponse) MarshalJSON ¶ added in v2.10.0

func (o RestrictionPolicyResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RestrictionPolicyResponse) SetData ¶ added in v2.10.0

SetData sets field value.

func (*RestrictionPolicyResponse) UnmarshalJSON ¶ added in v2.10.0

func (o *RestrictionPolicyResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RestrictionPolicyType ¶ added in v2.10.0

type RestrictionPolicyType string

RestrictionPolicyType Restriction policy type.

const (
	RESTRICTIONPOLICYTYPE_RESTRICTION_POLICY RestrictionPolicyType = "restriction_policy"
)

List of RestrictionPolicyType.

func NewRestrictionPolicyTypeFromValue ¶ added in v2.10.0

func NewRestrictionPolicyTypeFromValue(v string) (*RestrictionPolicyType, error)

NewRestrictionPolicyTypeFromValue returns a pointer to a valid RestrictionPolicyType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*RestrictionPolicyType) GetAllowedValues ¶ added in v2.10.0

func (v *RestrictionPolicyType) GetAllowedValues() []RestrictionPolicyType

GetAllowedValues reeturns the list of possible values.

func (RestrictionPolicyType) IsValid ¶ added in v2.10.0

func (v RestrictionPolicyType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (RestrictionPolicyType) Ptr ¶ added in v2.10.0

Ptr returns reference to RestrictionPolicyType value.

func (*RestrictionPolicyType) UnmarshalJSON ¶ added in v2.10.0

func (v *RestrictionPolicyType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type RestrictionPolicyUpdateRequest ¶ added in v2.10.0

type RestrictionPolicyUpdateRequest struct {
	// Restriction policy object.
	Data RestrictionPolicy `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{}
}

RestrictionPolicyUpdateRequest Update request for a restriction policy.

func NewRestrictionPolicyUpdateRequest ¶ added in v2.10.0

func NewRestrictionPolicyUpdateRequest(data RestrictionPolicy) *RestrictionPolicyUpdateRequest

NewRestrictionPolicyUpdateRequest instantiates a new RestrictionPolicyUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewRestrictionPolicyUpdateRequestWithDefaults ¶ added in v2.10.0

func NewRestrictionPolicyUpdateRequestWithDefaults() *RestrictionPolicyUpdateRequest

NewRestrictionPolicyUpdateRequestWithDefaults instantiates a new RestrictionPolicyUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*RestrictionPolicyUpdateRequest) GetData ¶ added in v2.10.0

GetData returns the Data field value.

func (*RestrictionPolicyUpdateRequest) GetDataOk ¶ added in v2.10.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RestrictionPolicyUpdateRequest) MarshalJSON ¶ added in v2.10.0

func (o RestrictionPolicyUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RestrictionPolicyUpdateRequest) SetData ¶ added in v2.10.0

SetData sets field value.

func (*RestrictionPolicyUpdateRequest) UnmarshalJSON ¶ added in v2.10.0

func (o *RestrictionPolicyUpdateRequest) 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 ¶

func (o *RoleAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleClone ¶

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 ¶

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 ¶

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 ¶

func (o *RoleClone) GetAttributes() RoleCloneAttributes

GetAttributes returns the Attributes field value.

func (*RoleClone) GetAttributesOk ¶

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 ¶

func (o *RoleClone) GetType() RolesType

GetType returns the Type field value.

func (*RoleClone) GetTypeOk ¶

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 ¶

func (o RoleClone) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleClone) SetAttributes ¶

func (o *RoleClone) SetAttributes(v RoleCloneAttributes)

SetAttributes sets field value.

func (*RoleClone) SetType ¶

func (o *RoleClone) SetType(v RolesType)

SetType sets field value.

func (*RoleClone) UnmarshalJSON ¶

func (o *RoleClone) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleCloneAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *RoleCloneAttributes) GetName() string

GetName returns the Name field value.

func (*RoleCloneAttributes) GetNameOk ¶

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 ¶

func (o RoleCloneAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleCloneAttributes) SetName ¶

func (o *RoleCloneAttributes) SetName(v string)

SetName sets field value.

func (*RoleCloneAttributes) UnmarshalJSON ¶

func (o *RoleCloneAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type RoleCloneRequest ¶

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 ¶

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 ¶

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 ¶

func (o *RoleCloneRequest) GetData() RoleClone

GetData returns the Data field value.

func (*RoleCloneRequest) GetDataOk ¶

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 ¶

func (o RoleCloneRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*RoleCloneRequest) SetData ¶

func (o *RoleCloneRequest) SetData(v RoleClone)

SetData sets field value.

func (*RoleCloneRequest) UnmarshalJSON ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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"`
	// Relationships of the role object.
	Relationships *RoleRelationships `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{}
}

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) GetRelationships ¶ added in v2.2.0

func (o *RoleUpdateData) GetRelationships() RoleRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*RoleUpdateData) GetRelationshipsOk ¶ added in v2.2.0

func (o *RoleUpdateData) 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 (*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) HasRelationships ¶ added in v2.2.0

func (o *RoleUpdateData) HasRelationships() bool

HasRelationships returns a boolean if a field 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) SetRelationships ¶ added in v2.2.0

func (o *RoleUpdateData) SetRelationships(v RoleRelationships)

SetRelationships gets a reference to the given RoleRelationships and assigns it to the Relationships field.

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 ¶

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 RolesApi ¶

type RolesApi datadog.Service

RolesApi service type

func NewRolesApi ¶

func NewRolesApi(client *datadog.APIClient) *RolesApi

NewRolesApi Returns NewRolesApi.

func (*RolesApi) AddPermissionToRole ¶

func (a *RolesApi) AddPermissionToRole(ctx _context.Context, roleId string, body RelationshipToPermission) (PermissionsResponse, *_nethttp.Response, error)

AddPermissionToRole Grant permission to a role. Adds a permission to a role.

func (*RolesApi) AddUserToRole ¶

func (a *RolesApi) AddUserToRole(ctx _context.Context, roleId string, body RelationshipToUser) (UsersResponse, *_nethttp.Response, error)

AddUserToRole Add a user to a role. Adds a user to a role.

func (*RolesApi) CloneRole ¶

func (a *RolesApi) CloneRole(ctx _context.Context, roleId string, body RoleCloneRequest) (RoleResponse, *_nethttp.Response, error)

CloneRole Create a new role by cloning an existing role. Clone an existing role

func (*RolesApi) CreateRole ¶

CreateRole Create role. Create a new role for your organization.

func (*RolesApi) DeleteRole ¶

func (a *RolesApi) DeleteRole(ctx _context.Context, roleId string) (*_nethttp.Response, error)

DeleteRole Delete role. Disables a role.

func (*RolesApi) GetRole ¶

func (a *RolesApi) GetRole(ctx _context.Context, roleId string) (RoleResponse, *_nethttp.Response, error)

GetRole Get a role. Get a role in the organization specified by the role’s `role_id`.

func (*RolesApi) ListPermissions ¶

func (a *RolesApi) ListPermissions(ctx _context.Context) (PermissionsResponse, *_nethttp.Response, error)

ListPermissions List permissions. Returns a list of all permissions, including name, description, and ID.

func (*RolesApi) ListRolePermissions ¶

func (a *RolesApi) 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 (*RolesApi) ListRoleUsers ¶

ListRoleUsers Get all users of a role. Gets all users of a role.

func (*RolesApi) ListRoles ¶

ListRoles List roles. Returns all roles, including their names and their unique identifiers.

func (*RolesApi) RemovePermissionFromRole ¶

func (a *RolesApi) RemovePermissionFromRole(ctx _context.Context, roleId string, body RelationshipToPermission) (PermissionsResponse, *_nethttp.Response, error)

RemovePermissionFromRole Revoke permission. Removes a permission from a role.

func (*RolesApi) RemoveUserFromRole ¶

func (a *RolesApi) 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 (*RolesApi) 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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SAMLAssertionAttribute) 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 (*SAMLAssertionAttribute) GetId ¶

func (o *SAMLAssertionAttribute) GetId() string

GetId returns the Id field value.

func (*SAMLAssertionAttribute) GetIdOk ¶

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 ¶

GetType returns the Type field value.

func (*SAMLAssertionAttribute) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SAMLAssertionAttribute) HasAttributes ¶

func (o *SAMLAssertionAttribute) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (SAMLAssertionAttribute) MarshalJSON ¶

func (o SAMLAssertionAttribute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SAMLAssertionAttribute) SetAttributes ¶

SetAttributes gets a reference to the given SAMLAssertionAttributeAttributes and assigns it to the Attributes field.

func (*SAMLAssertionAttribute) SetId ¶

func (o *SAMLAssertionAttribute) SetId(v string)

SetId sets field value.

func (*SAMLAssertionAttribute) SetType ¶

SetType sets field value.

func (*SAMLAssertionAttribute) UnmarshalJSON ¶

func (o *SAMLAssertionAttribute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SAMLAssertionAttributeAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *SAMLAssertionAttributeAttributes) GetAttributeKey() string

GetAttributeKey returns the AttributeKey field value if set, zero value otherwise.

func (*SAMLAssertionAttributeAttributes) GetAttributeKeyOk ¶

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 ¶

func (o *SAMLAssertionAttributeAttributes) GetAttributeValue() string

GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.

func (*SAMLAssertionAttributeAttributes) GetAttributeValueOk ¶

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 ¶

func (o *SAMLAssertionAttributeAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

func (*SAMLAssertionAttributeAttributes) HasAttributeValue ¶

func (o *SAMLAssertionAttributeAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (SAMLAssertionAttributeAttributes) MarshalJSON ¶

func (o SAMLAssertionAttributeAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SAMLAssertionAttributeAttributes) SetAttributeKey ¶

func (o *SAMLAssertionAttributeAttributes) SetAttributeKey(v string)

SetAttributeKey gets a reference to the given string and assigns it to the AttributeKey field.

func (*SAMLAssertionAttributeAttributes) SetAttributeValue ¶

func (o *SAMLAssertionAttributeAttributes) SetAttributeValue(v string)

SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.

func (*SAMLAssertionAttributeAttributes) UnmarshalJSON ¶

func (o *SAMLAssertionAttributeAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SAMLAssertionAttributesType ¶

type SAMLAssertionAttributesType string

SAMLAssertionAttributesType SAML assertion attributes resource type.

const (
	SAMLASSERTIONATTRIBUTESTYPE_SAML_ASSERTION_ATTRIBUTES SAMLAssertionAttributesType = "saml_assertion_attributes"
)

List of SAMLAssertionAttributesType.

func NewSAMLAssertionAttributesTypeFromValue ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (SAMLAssertionAttributesType) IsValid ¶

func (v SAMLAssertionAttributesType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SAMLAssertionAttributesType) Ptr ¶

Ptr returns reference to SAMLAssertionAttributesType value.

func (*SAMLAssertionAttributesType) UnmarshalJSON ¶

func (v *SAMLAssertionAttributesType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ScalarColumn ¶ added in v2.7.0

type ScalarColumn struct {
	GroupScalarColumn *GroupScalarColumn
	DataScalarColumn  *DataScalarColumn

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

ScalarColumn - A single column in a scalar query response.

func DataScalarColumnAsScalarColumn ¶ added in v2.8.0

func DataScalarColumnAsScalarColumn(v *DataScalarColumn) ScalarColumn

DataScalarColumnAsScalarColumn is a convenience function that returns DataScalarColumn wrapped in ScalarColumn.

func GroupScalarColumnAsScalarColumn ¶ added in v2.8.0

func GroupScalarColumnAsScalarColumn(v *GroupScalarColumn) ScalarColumn

GroupScalarColumnAsScalarColumn is a convenience function that returns GroupScalarColumn wrapped in ScalarColumn.

func (*ScalarColumn) GetActualInstance ¶ added in v2.8.0

func (obj *ScalarColumn) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (ScalarColumn) MarshalJSON ¶ added in v2.7.0

func (obj ScalarColumn) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*ScalarColumn) UnmarshalJSON ¶ added in v2.7.0

func (obj *ScalarColumn) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type ScalarFormulaQueryRequest ¶ added in v2.7.0

type ScalarFormulaQueryRequest struct {
	// A single scalar query to be executed.
	Data ScalarFormulaRequest `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{}
}

ScalarFormulaQueryRequest A wrapper request around one scalar query to be executed.

func NewScalarFormulaQueryRequest ¶ added in v2.7.0

func NewScalarFormulaQueryRequest(data ScalarFormulaRequest) *ScalarFormulaQueryRequest

NewScalarFormulaQueryRequest instantiates a new ScalarFormulaQueryRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewScalarFormulaQueryRequestWithDefaults ¶ added in v2.7.0

func NewScalarFormulaQueryRequestWithDefaults() *ScalarFormulaQueryRequest

NewScalarFormulaQueryRequestWithDefaults instantiates a new ScalarFormulaQueryRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ScalarFormulaQueryRequest) GetData ¶ added in v2.7.0

GetData returns the Data field value.

func (*ScalarFormulaQueryRequest) GetDataOk ¶ added in v2.7.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (ScalarFormulaQueryRequest) MarshalJSON ¶ added in v2.7.0

func (o ScalarFormulaQueryRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScalarFormulaQueryRequest) SetData ¶ added in v2.7.0

SetData sets field value.

func (*ScalarFormulaQueryRequest) UnmarshalJSON ¶ added in v2.7.0

func (o *ScalarFormulaQueryRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ScalarFormulaQueryResponse ¶ added in v2.7.0

type ScalarFormulaQueryResponse struct {
	// A message containing the response to a scalar query.
	Data *ScalarResponse `json:"data,omitempty"`
	// An error generated when processing a request.
	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{}
}

ScalarFormulaQueryResponse A message containing one or more responses to scalar queries.

func NewScalarFormulaQueryResponse ¶ added in v2.7.0

func NewScalarFormulaQueryResponse() *ScalarFormulaQueryResponse

NewScalarFormulaQueryResponse instantiates a new ScalarFormulaQueryResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewScalarFormulaQueryResponseWithDefaults ¶ added in v2.7.0

func NewScalarFormulaQueryResponseWithDefaults() *ScalarFormulaQueryResponse

NewScalarFormulaQueryResponseWithDefaults instantiates a new ScalarFormulaQueryResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ScalarFormulaQueryResponse) GetData ¶ added in v2.7.0

GetData returns the Data field value if set, zero value otherwise.

func (*ScalarFormulaQueryResponse) GetDataOk ¶ added in v2.7.0

func (o *ScalarFormulaQueryResponse) GetDataOk() (*ScalarResponse, 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 (*ScalarFormulaQueryResponse) GetErrors ¶ added in v2.7.0

func (o *ScalarFormulaQueryResponse) GetErrors() string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*ScalarFormulaQueryResponse) GetErrorsOk ¶ added in v2.7.0

func (o *ScalarFormulaQueryResponse) 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 (*ScalarFormulaQueryResponse) HasData ¶ added in v2.7.0

func (o *ScalarFormulaQueryResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*ScalarFormulaQueryResponse) HasErrors ¶ added in v2.7.0

func (o *ScalarFormulaQueryResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (ScalarFormulaQueryResponse) MarshalJSON ¶ added in v2.7.0

func (o ScalarFormulaQueryResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScalarFormulaQueryResponse) SetData ¶ added in v2.7.0

SetData gets a reference to the given ScalarResponse and assigns it to the Data field.

func (*ScalarFormulaQueryResponse) SetErrors ¶ added in v2.7.0

func (o *ScalarFormulaQueryResponse) SetErrors(v string)

SetErrors gets a reference to the given string and assigns it to the Errors field.

func (*ScalarFormulaQueryResponse) UnmarshalJSON ¶ added in v2.7.0

func (o *ScalarFormulaQueryResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ScalarFormulaRequest ¶ added in v2.7.0

type ScalarFormulaRequest struct {
	// The object describing a scalar formula request.
	Attributes ScalarFormulaRequestAttributes `json:"attributes"`
	// The type of the resource. The value should always be scalar_request.
	Type ScalarFormulaRequestType `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{}
}

ScalarFormulaRequest A single scalar query to be executed.

func NewScalarFormulaRequest ¶ added in v2.7.0

func NewScalarFormulaRequest(attributes ScalarFormulaRequestAttributes, typeVar ScalarFormulaRequestType) *ScalarFormulaRequest

NewScalarFormulaRequest instantiates a new ScalarFormulaRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewScalarFormulaRequestWithDefaults ¶ added in v2.7.0

func NewScalarFormulaRequestWithDefaults() *ScalarFormulaRequest

NewScalarFormulaRequestWithDefaults instantiates a new ScalarFormulaRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ScalarFormulaRequest) GetAttributes ¶ added in v2.7.0

GetAttributes returns the Attributes field value.

func (*ScalarFormulaRequest) GetAttributesOk ¶ added in v2.7.0

func (o *ScalarFormulaRequest) GetAttributesOk() (*ScalarFormulaRequestAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*ScalarFormulaRequest) GetType ¶ added in v2.7.0

GetType returns the Type field value.

func (*ScalarFormulaRequest) GetTypeOk ¶ added in v2.7.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (ScalarFormulaRequest) MarshalJSON ¶ added in v2.7.0

func (o ScalarFormulaRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScalarFormulaRequest) SetAttributes ¶ added in v2.7.0

SetAttributes sets field value.

func (*ScalarFormulaRequest) SetType ¶ added in v2.7.0

SetType sets field value.

func (*ScalarFormulaRequest) UnmarshalJSON ¶ added in v2.7.0

func (o *ScalarFormulaRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ScalarFormulaRequestAttributes ¶ added in v2.7.0

type ScalarFormulaRequestAttributes struct {
	// List of formulas to be calculated and returned as responses.
	Formulas []QueryFormula `json:"formulas,omitempty"`
	// Start date (inclusive) of the query in milliseconds since the Unix epoch.
	From int64 `json:"from"`
	// List of queries to be run and used as inputs to the formulas.
	Queries []ScalarQuery `json:"queries"`
	// End date (exclusive) of the query in milliseconds since the Unix epoch.
	To int64 `json:"to"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

ScalarFormulaRequestAttributes The object describing a scalar formula request.

func NewScalarFormulaRequestAttributes ¶ added in v2.7.0

func NewScalarFormulaRequestAttributes(from int64, queries []ScalarQuery, to int64) *ScalarFormulaRequestAttributes

NewScalarFormulaRequestAttributes instantiates a new ScalarFormulaRequestAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewScalarFormulaRequestAttributesWithDefaults ¶ added in v2.7.0

func NewScalarFormulaRequestAttributesWithDefaults() *ScalarFormulaRequestAttributes

NewScalarFormulaRequestAttributesWithDefaults instantiates a new ScalarFormulaRequestAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ScalarFormulaRequestAttributes) GetFormulas ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) GetFormulas() []QueryFormula

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*ScalarFormulaRequestAttributes) GetFormulasOk ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) GetFormulasOk() (*[]QueryFormula, bool)

GetFormulasOk returns a tuple with the Formulas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScalarFormulaRequestAttributes) GetFrom ¶ added in v2.7.0

GetFrom returns the From field value.

func (*ScalarFormulaRequestAttributes) GetFromOk ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) GetFromOk() (*int64, bool)

GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.

func (*ScalarFormulaRequestAttributes) GetQueries ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) GetQueries() []ScalarQuery

GetQueries returns the Queries field value.

func (*ScalarFormulaRequestAttributes) GetQueriesOk ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) GetQueriesOk() (*[]ScalarQuery, bool)

GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.

func (*ScalarFormulaRequestAttributes) GetTo ¶ added in v2.7.0

GetTo returns the To field value.

func (*ScalarFormulaRequestAttributes) GetToOk ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) GetToOk() (*int64, bool)

GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.

func (*ScalarFormulaRequestAttributes) HasFormulas ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (ScalarFormulaRequestAttributes) MarshalJSON ¶ added in v2.7.0

func (o ScalarFormulaRequestAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScalarFormulaRequestAttributes) SetFormulas ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) SetFormulas(v []QueryFormula)

SetFormulas gets a reference to the given []QueryFormula and assigns it to the Formulas field.

func (*ScalarFormulaRequestAttributes) SetFrom ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) SetFrom(v int64)

SetFrom sets field value.

func (*ScalarFormulaRequestAttributes) SetQueries ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) SetQueries(v []ScalarQuery)

SetQueries sets field value.

func (*ScalarFormulaRequestAttributes) SetTo ¶ added in v2.7.0

SetTo sets field value.

func (*ScalarFormulaRequestAttributes) UnmarshalJSON ¶ added in v2.7.0

func (o *ScalarFormulaRequestAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ScalarFormulaRequestType ¶ added in v2.7.0

type ScalarFormulaRequestType string

ScalarFormulaRequestType The type of the resource. The value should always be scalar_request.

const (
	SCALARFORMULAREQUESTTYPE_SCALAR_REQUEST ScalarFormulaRequestType = "scalar_request"
)

List of ScalarFormulaRequestType.

func NewScalarFormulaRequestTypeFromValue ¶ added in v2.7.0

func NewScalarFormulaRequestTypeFromValue(v string) (*ScalarFormulaRequestType, error)

NewScalarFormulaRequestTypeFromValue returns a pointer to a valid ScalarFormulaRequestType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ScalarFormulaRequestType) GetAllowedValues ¶ added in v2.7.0

func (v *ScalarFormulaRequestType) GetAllowedValues() []ScalarFormulaRequestType

GetAllowedValues reeturns the list of possible values.

func (ScalarFormulaRequestType) IsValid ¶ added in v2.7.0

func (v ScalarFormulaRequestType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ScalarFormulaRequestType) Ptr ¶ added in v2.7.0

Ptr returns reference to ScalarFormulaRequestType value.

func (*ScalarFormulaRequestType) UnmarshalJSON ¶ added in v2.7.0

func (v *ScalarFormulaRequestType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ScalarFormulaResponseAtrributes ¶ added in v2.7.0

type ScalarFormulaResponseAtrributes struct {
	// List of response columns, each corresponding to an individual formula or query in the request and with values in parallel arrays matching the series list.
	Columns []ScalarColumn `json:"columns,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{}
}

ScalarFormulaResponseAtrributes The object describing a scalar response.

func NewScalarFormulaResponseAtrributes ¶ added in v2.7.0

func NewScalarFormulaResponseAtrributes() *ScalarFormulaResponseAtrributes

NewScalarFormulaResponseAtrributes instantiates a new ScalarFormulaResponseAtrributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewScalarFormulaResponseAtrributesWithDefaults ¶ added in v2.7.0

func NewScalarFormulaResponseAtrributesWithDefaults() *ScalarFormulaResponseAtrributes

NewScalarFormulaResponseAtrributesWithDefaults instantiates a new ScalarFormulaResponseAtrributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ScalarFormulaResponseAtrributes) GetColumns ¶ added in v2.7.0

GetColumns returns the Columns field value if set, zero value otherwise.

func (*ScalarFormulaResponseAtrributes) GetColumnsOk ¶ added in v2.7.0

func (o *ScalarFormulaResponseAtrributes) GetColumnsOk() (*[]ScalarColumn, bool)

GetColumnsOk returns a tuple with the Columns field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScalarFormulaResponseAtrributes) HasColumns ¶ added in v2.7.0

func (o *ScalarFormulaResponseAtrributes) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (ScalarFormulaResponseAtrributes) MarshalJSON ¶ added in v2.7.0

func (o ScalarFormulaResponseAtrributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScalarFormulaResponseAtrributes) SetColumns ¶ added in v2.7.0

func (o *ScalarFormulaResponseAtrributes) SetColumns(v []ScalarColumn)

SetColumns gets a reference to the given []ScalarColumn and assigns it to the Columns field.

func (*ScalarFormulaResponseAtrributes) UnmarshalJSON ¶ added in v2.7.0

func (o *ScalarFormulaResponseAtrributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ScalarFormulaResponseType ¶ added in v2.7.0

type ScalarFormulaResponseType string

ScalarFormulaResponseType The type of the resource. The value should always be scalar_response.

const (
	SCALARFORMULARESPONSETYPE_SCALAR_RESPONSE ScalarFormulaResponseType = "scalar_response"
)

List of ScalarFormulaResponseType.

func NewScalarFormulaResponseTypeFromValue ¶ added in v2.7.0

func NewScalarFormulaResponseTypeFromValue(v string) (*ScalarFormulaResponseType, error)

NewScalarFormulaResponseTypeFromValue returns a pointer to a valid ScalarFormulaResponseType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ScalarFormulaResponseType) GetAllowedValues ¶ added in v2.7.0

func (v *ScalarFormulaResponseType) GetAllowedValues() []ScalarFormulaResponseType

GetAllowedValues reeturns the list of possible values.

func (ScalarFormulaResponseType) IsValid ¶ added in v2.7.0

func (v ScalarFormulaResponseType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ScalarFormulaResponseType) Ptr ¶ added in v2.7.0

Ptr returns reference to ScalarFormulaResponseType value.

func (*ScalarFormulaResponseType) UnmarshalJSON ¶ added in v2.7.0

func (v *ScalarFormulaResponseType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ScalarMeta ¶ added in v2.8.0

type ScalarMeta struct {
	// Detailed information about the unit.
	// First element describes the "primary unit" (for example, `bytes` in `bytes per second`).
	// The second element describes the "per unit" (for example, `second` in `bytes per second`).
	// If the second element is not present, the API returns null.
	Unit []Unit `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{}
}

ScalarMeta Metadata for the resulting numerical values.

func NewScalarMeta ¶ added in v2.8.0

func NewScalarMeta() *ScalarMeta

NewScalarMeta instantiates a new ScalarMeta object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewScalarMetaWithDefaults ¶ added in v2.8.0

func NewScalarMetaWithDefaults() *ScalarMeta

NewScalarMetaWithDefaults instantiates a new ScalarMeta object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ScalarMeta) GetUnit ¶ added in v2.8.0

func (o *ScalarMeta) GetUnit() []Unit

GetUnit returns the Unit field value if set, zero value otherwise.

func (*ScalarMeta) GetUnitOk ¶ added in v2.8.0

func (o *ScalarMeta) GetUnitOk() (*[]Unit, 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 (*ScalarMeta) HasUnit ¶ added in v2.8.0

func (o *ScalarMeta) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (ScalarMeta) MarshalJSON ¶ added in v2.8.0

func (o ScalarMeta) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScalarMeta) SetUnit ¶ added in v2.8.0

func (o *ScalarMeta) SetUnit(v []Unit)

SetUnit gets a reference to the given []Unit and assigns it to the Unit field.

func (*ScalarMeta) UnmarshalJSON ¶ added in v2.8.0

func (o *ScalarMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ScalarQuery ¶ added in v2.7.0

type ScalarQuery struct {
	MetricsScalarQuery *MetricsScalarQuery
	EventsScalarQuery  *EventsScalarQuery

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

ScalarQuery - An individual scalar query to one of the basic Datadog data sources.

func EventsScalarQueryAsScalarQuery ¶ added in v2.7.0

func EventsScalarQueryAsScalarQuery(v *EventsScalarQuery) ScalarQuery

EventsScalarQueryAsScalarQuery is a convenience function that returns EventsScalarQuery wrapped in ScalarQuery.

func MetricsScalarQueryAsScalarQuery ¶ added in v2.7.0

func MetricsScalarQueryAsScalarQuery(v *MetricsScalarQuery) ScalarQuery

MetricsScalarQueryAsScalarQuery is a convenience function that returns MetricsScalarQuery wrapped in ScalarQuery.

func (*ScalarQuery) GetActualInstance ¶ added in v2.7.0

func (obj *ScalarQuery) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (ScalarQuery) MarshalJSON ¶ added in v2.7.0

func (obj ScalarQuery) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*ScalarQuery) UnmarshalJSON ¶ added in v2.7.0

func (obj *ScalarQuery) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type ScalarResponse ¶ added in v2.7.0

type ScalarResponse struct {
	// The object describing a scalar response.
	Attributes *ScalarFormulaResponseAtrributes `json:"attributes,omitempty"`
	// The type of the resource. The value should always be scalar_response.
	Type *ScalarFormulaResponseType `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{}
}

ScalarResponse A message containing the response to a scalar query.

func NewScalarResponse ¶ added in v2.7.0

func NewScalarResponse() *ScalarResponse

NewScalarResponse instantiates a new ScalarResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewScalarResponseWithDefaults ¶ added in v2.7.0

func NewScalarResponseWithDefaults() *ScalarResponse

NewScalarResponseWithDefaults instantiates a new ScalarResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ScalarResponse) GetAttributes ¶ added in v2.7.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ScalarResponse) GetAttributesOk ¶ added in v2.7.0

func (o *ScalarResponse) GetAttributesOk() (*ScalarFormulaResponseAtrributes, 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 (*ScalarResponse) GetType ¶ added in v2.7.0

GetType returns the Type field value if set, zero value otherwise.

func (*ScalarResponse) GetTypeOk ¶ added in v2.7.0

func (o *ScalarResponse) GetTypeOk() (*ScalarFormulaResponseType, 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 (*ScalarResponse) HasAttributes ¶ added in v2.7.0

func (o *ScalarResponse) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*ScalarResponse) HasType ¶ added in v2.7.0

func (o *ScalarResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (ScalarResponse) MarshalJSON ¶ added in v2.7.0

func (o ScalarResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScalarResponse) SetAttributes ¶ added in v2.7.0

func (o *ScalarResponse) SetAttributes(v ScalarFormulaResponseAtrributes)

SetAttributes gets a reference to the given ScalarFormulaResponseAtrributes and assigns it to the Attributes field.

func (*ScalarResponse) SetType ¶ added in v2.7.0

SetType gets a reference to the given ScalarFormulaResponseType and assigns it to the Type field.

func (*ScalarResponse) UnmarshalJSON ¶ added in v2.7.0

func (o *ScalarResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SearchAuditLogsOptionalParameters ¶

type SearchAuditLogsOptionalParameters struct {
	Body *AuditLogsSearchEventsRequest
}

SearchAuditLogsOptionalParameters holds optional parameters for SearchAuditLogs.

func NewSearchAuditLogsOptionalParameters ¶

func NewSearchAuditLogsOptionalParameters() *SearchAuditLogsOptionalParameters

NewSearchAuditLogsOptionalParameters creates an empty struct for parameters.

func (*SearchAuditLogsOptionalParameters) WithBody ¶

WithBody sets the corresponding parameter name and returns the struct.

type SearchCIAppPipelineEventsOptionalParameters ¶ added in v2.5.0

type SearchCIAppPipelineEventsOptionalParameters struct {
	Body *CIAppPipelineEventsRequest
}

SearchCIAppPipelineEventsOptionalParameters holds optional parameters for SearchCIAppPipelineEvents.

func NewSearchCIAppPipelineEventsOptionalParameters ¶ added in v2.5.0

func NewSearchCIAppPipelineEventsOptionalParameters() *SearchCIAppPipelineEventsOptionalParameters

NewSearchCIAppPipelineEventsOptionalParameters creates an empty struct for parameters.

func (*SearchCIAppPipelineEventsOptionalParameters) WithBody ¶ added in v2.5.0

WithBody sets the corresponding parameter name and returns the struct.

type SearchCIAppTestEventsOptionalParameters ¶ added in v2.5.0

type SearchCIAppTestEventsOptionalParameters struct {
	Body *CIAppTestEventsRequest
}

SearchCIAppTestEventsOptionalParameters holds optional parameters for SearchCIAppTestEvents.

func NewSearchCIAppTestEventsOptionalParameters ¶ added in v2.5.0

func NewSearchCIAppTestEventsOptionalParameters() *SearchCIAppTestEventsOptionalParameters

NewSearchCIAppTestEventsOptionalParameters creates an empty struct for parameters.

func (*SearchCIAppTestEventsOptionalParameters) WithBody ¶ added in v2.5.0

WithBody sets the corresponding parameter name and returns the struct.

type SearchEventsOptionalParameters ¶

type SearchEventsOptionalParameters struct {
	Body *EventsListRequest
}

SearchEventsOptionalParameters holds optional parameters for SearchEvents.

func NewSearchEventsOptionalParameters ¶

func NewSearchEventsOptionalParameters() *SearchEventsOptionalParameters

NewSearchEventsOptionalParameters creates an empty struct for parameters.

func (*SearchEventsOptionalParameters) WithBody ¶

WithBody sets the corresponding parameter name and returns the struct.

type SearchIncidentsOptionalParameters ¶ added in v2.7.0

type SearchIncidentsOptionalParameters struct {
	Include *IncidentRelatedObject
	Sort    *IncidentSearchSortOrder
}

SearchIncidentsOptionalParameters holds optional parameters for SearchIncidents.

func NewSearchIncidentsOptionalParameters ¶ added in v2.7.0

func NewSearchIncidentsOptionalParameters() *SearchIncidentsOptionalParameters

NewSearchIncidentsOptionalParameters creates an empty struct for parameters.

func (*SearchIncidentsOptionalParameters) WithInclude ¶ added in v2.7.0

WithInclude sets the corresponding parameter name and returns the struct.

func (*SearchIncidentsOptionalParameters) WithSort ¶ added in v2.7.0

WithSort 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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

func (o *SecurityFiltersResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringApi ¶

type SecurityMonitoringApi datadog.Service

SecurityMonitoringApi service type

func NewSecurityMonitoringApi ¶

func NewSecurityMonitoringApi(client *datadog.APIClient) *SecurityMonitoringApi

NewSecurityMonitoringApi Returns NewSecurityMonitoringApi.

func (*SecurityMonitoringApi) 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 (*SecurityMonitoringApi) CreateSecurityMonitoringRule ¶

CreateSecurityMonitoringRule Create a detection rule. Create a detection rule.

func (*SecurityMonitoringApi) DeleteSecurityFilter ¶

func (a *SecurityMonitoringApi) DeleteSecurityFilter(ctx _context.Context, securityFilterId string) (*_nethttp.Response, error)

DeleteSecurityFilter Delete a security filter. Delete a specific security filter.

func (*SecurityMonitoringApi) DeleteSecurityMonitoringRule ¶

func (a *SecurityMonitoringApi) DeleteSecurityMonitoringRule(ctx _context.Context, ruleId string) (*_nethttp.Response, error)

DeleteSecurityMonitoringRule Delete an existing rule. Delete an existing rule. Default rules cannot be deleted.

func (*SecurityMonitoringApi) EditSecurityMonitoringSignalAssignee ¶

EditSecurityMonitoringSignalAssignee Modify the triage assignee of a security signal. Modify the triage assignee of a security signal.

func (*SecurityMonitoringApi) EditSecurityMonitoringSignalIncidents ¶

EditSecurityMonitoringSignalIncidents Change the related incidents of a security signal. Change the related incidents for a security signal.

func (*SecurityMonitoringApi) EditSecurityMonitoringSignalState ¶

EditSecurityMonitoringSignalState Change the triage state of a security signal. Change the triage state of a security signal.

func (*SecurityMonitoringApi) GetSecurityFilter ¶

func (a *SecurityMonitoringApi) 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 (*SecurityMonitoringApi) GetSecurityMonitoringRule ¶

func (a *SecurityMonitoringApi) GetSecurityMonitoringRule(ctx _context.Context, ruleId string) (SecurityMonitoringRuleResponse, *_nethttp.Response, error)

GetSecurityMonitoringRule Get a rule's details. Get a rule's details.

func (*SecurityMonitoringApi) GetSecurityMonitoringSignal ¶ added in v2.3.0

func (a *SecurityMonitoringApi) GetSecurityMonitoringSignal(ctx _context.Context, signalId string) (SecurityMonitoringSignal, *_nethttp.Response, error)

GetSecurityMonitoringSignal Get a signal's details. Get a signal's details.

func (*SecurityMonitoringApi) ListSecurityFilters ¶

ListSecurityFilters Get all security filters. Get the list of configured security filters with their definitions.

func (*SecurityMonitoringApi) ListSecurityMonitoringRules ¶

ListSecurityMonitoringRules List rules. List rules.

func (*SecurityMonitoringApi) 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 (*SecurityMonitoringApi) ListSecurityMonitoringSignalsWithPagination ¶

func (a *SecurityMonitoringApi) ListSecurityMonitoringSignalsWithPagination(ctx _context.Context, o ...ListSecurityMonitoringSignalsOptionalParameters) (<-chan datadog.PaginationResult[SecurityMonitoringSignal], func())

ListSecurityMonitoringSignalsWithPagination provides a paginated version of ListSecurityMonitoringSignals returning a channel with all items.

func (*SecurityMonitoringApi) 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 (*SecurityMonitoringApi) SearchSecurityMonitoringSignalsWithPagination ¶

func (a *SecurityMonitoringApi) SearchSecurityMonitoringSignalsWithPagination(ctx _context.Context, o ...SearchSecurityMonitoringSignalsOptionalParameters) (<-chan datadog.PaginationResult[SecurityMonitoringSignal], func())

SearchSecurityMonitoringSignalsWithPagination provides a paginated version of SearchSecurityMonitoringSignals returning a channel with all items.

func (*SecurityMonitoringApi) UpdateSecurityFilter ¶

func (a *SecurityMonitoringApi) UpdateSecurityFilter(ctx _context.Context, securityFilterId string, body SecurityFilterUpdateRequest) (SecurityFilterResponse, *_nethttp.Response, error)

UpdateSecurityFilter Update a security filter. Update a specific security filter. Returns the security filter object when the request is successful.

func (*SecurityMonitoringApi) 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 ¶

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 ¶

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 ¶

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 ¶

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 {
	SecurityMonitoringStandardRuleCreatePayload *SecurityMonitoringStandardRuleCreatePayload
	SecurityMonitoringSignalRuleCreatePayload   *SecurityMonitoringSignalRuleCreatePayload
	CloudConfigurationRuleCreatePayload         *CloudConfigurationRuleCreatePayload

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

SecurityMonitoringRuleCreatePayload - Create a new rule.

func CloudConfigurationRuleCreatePayloadAsSecurityMonitoringRuleCreatePayload ¶ added in v2.6.0

func CloudConfigurationRuleCreatePayloadAsSecurityMonitoringRuleCreatePayload(v *CloudConfigurationRuleCreatePayload) SecurityMonitoringRuleCreatePayload

CloudConfigurationRuleCreatePayloadAsSecurityMonitoringRuleCreatePayload is a convenience function that returns CloudConfigurationRuleCreatePayload wrapped in SecurityMonitoringRuleCreatePayload.

func SecurityMonitoringSignalRuleCreatePayloadAsSecurityMonitoringRuleCreatePayload ¶ added in v2.3.0

func SecurityMonitoringSignalRuleCreatePayloadAsSecurityMonitoringRuleCreatePayload(v *SecurityMonitoringSignalRuleCreatePayload) SecurityMonitoringRuleCreatePayload

SecurityMonitoringSignalRuleCreatePayloadAsSecurityMonitoringRuleCreatePayload is a convenience function that returns SecurityMonitoringSignalRuleCreatePayload wrapped in SecurityMonitoringRuleCreatePayload.

func SecurityMonitoringStandardRuleCreatePayloadAsSecurityMonitoringRuleCreatePayload ¶ added in v2.3.0

func SecurityMonitoringStandardRuleCreatePayloadAsSecurityMonitoringRuleCreatePayload(v *SecurityMonitoringStandardRuleCreatePayload) SecurityMonitoringRuleCreatePayload

SecurityMonitoringStandardRuleCreatePayloadAsSecurityMonitoringRuleCreatePayload is a convenience function that returns SecurityMonitoringStandardRuleCreatePayload wrapped in SecurityMonitoringRuleCreatePayload.

func (*SecurityMonitoringRuleCreatePayload) GetActualInstance ¶ added in v2.3.0

func (obj *SecurityMonitoringRuleCreatePayload) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (SecurityMonitoringRuleCreatePayload) MarshalJSON ¶

func (obj SecurityMonitoringRuleCreatePayload) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*SecurityMonitoringRuleCreatePayload) UnmarshalJSON ¶

func (obj *SecurityMonitoringRuleCreatePayload) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

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"
	SECURITYMONITORINGRULEDETECTIONMETHOD_THIRD_PARTY       SecurityMonitoringRuleDetectionMethod = "third_party"
)

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 ¶

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 ¶

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 ¶

type SecurityMonitoringRuleHardcodedEvaluatorType string

SecurityMonitoringRuleHardcodedEvaluatorType Hardcoded evaluator type.

const (
	SECURITYMONITORINGRULEHARDCODEDEVALUATORTYPE_LOG4SHELL SecurityMonitoringRuleHardcodedEvaluatorType = "log4shell"
)

List of SecurityMonitoringRuleHardcodedEvaluatorType.

func NewSecurityMonitoringRuleHardcodedEvaluatorTypeFromValue ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleHardcodedEvaluatorType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleHardcodedEvaluatorType) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleHardcodedEvaluatorType value.

func (*SecurityMonitoringRuleHardcodedEvaluatorType) UnmarshalJSON ¶

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleImpossibleTravelOptions ¶

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 ¶

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 ¶

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 ¶

func (o *SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocations() bool

GetBaselineUserLocations returns the BaselineUserLocations field value if set, zero value otherwise.

func (*SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocationsOk ¶

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 ¶

func (o *SecurityMonitoringRuleImpossibleTravelOptions) HasBaselineUserLocations() bool

HasBaselineUserLocations returns a boolean if a field has been set.

func (SecurityMonitoringRuleImpossibleTravelOptions) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringRuleImpossibleTravelOptions) SetBaselineUserLocations ¶

func (o *SecurityMonitoringRuleImpossibleTravelOptions) SetBaselineUserLocations(v bool)

SetBaselineUserLocations gets a reference to the given bool and assigns it to the BaselineUserLocations field.

func (*SecurityMonitoringRuleImpossibleTravelOptions) UnmarshalJSON ¶

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 ¶

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 ¶

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 ¶

GetLearningMethod returns the LearningMethod field value if set, zero value otherwise.

func (*SecurityMonitoringRuleNewValueOptions) GetLearningMethodOk ¶

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 ¶

GetLearningThreshold returns the LearningThreshold field value if set, zero value otherwise.

func (*SecurityMonitoringRuleNewValueOptions) GetLearningThresholdOk ¶

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 ¶

func (o *SecurityMonitoringRuleNewValueOptions) HasLearningMethod() bool

HasLearningMethod returns a boolean if a field has been set.

func (*SecurityMonitoringRuleNewValueOptions) HasLearningThreshold ¶

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 ¶

SetLearningMethod gets a reference to the given SecurityMonitoringRuleNewValueOptionsLearningMethod and assigns it to the LearningMethod field.

func (*SecurityMonitoringRuleNewValueOptions) SetLearningThreshold ¶

SetLearningThreshold gets a reference to the given SecurityMonitoringRuleNewValueOptionsLearningThreshold and assigns it to the LearningThreshold field.

func (*SecurityMonitoringRuleNewValueOptions) UnmarshalJSON ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleNewValueOptionsLearningMethod) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleNewValueOptionsLearningMethod) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleNewValueOptionsLearningMethod value.

func (*SecurityMonitoringRuleNewValueOptionsLearningMethod) UnmarshalJSON ¶

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleNewValueOptionsLearningThreshold ¶

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 ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleNewValueOptionsLearningThreshold) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleNewValueOptionsLearningThreshold) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleNewValueOptionsLearningThreshold value.

func (*SecurityMonitoringRuleNewValueOptionsLearningThreshold) UnmarshalJSON ¶

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleOptions ¶

type SecurityMonitoringRuleOptions struct {
	// Options for cloud_configuration rules.
	// Fields `resourceType` and `regoRule` are mandatory when managing custom `cloud_configuration` rules.
	//
	ComplianceRuleOptions *CloudConfigurationComplianceRuleOptions `json:"complianceRuleOptions,omitempty"`
	// 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) GetComplianceRuleOptions ¶ added in v2.6.0

GetComplianceRuleOptions returns the ComplianceRuleOptions field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetComplianceRuleOptionsOk ¶ added in v2.6.0

GetComplianceRuleOptionsOk returns a tuple with the ComplianceRuleOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnv ¶

func (o *SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnv() bool

GetDecreaseCriticalityBasedOnEnv returns the DecreaseCriticalityBasedOnEnv field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnvOk ¶

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 ¶

GetHardcodedEvaluatorType returns the HardcodedEvaluatorType field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetHardcodedEvaluatorTypeOk ¶

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 ¶

GetImpossibleTravelOptions returns the ImpossibleTravelOptions field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetImpossibleTravelOptionsOk ¶

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) HasComplianceRuleOptions ¶ added in v2.6.0

func (o *SecurityMonitoringRuleOptions) HasComplianceRuleOptions() bool

HasComplianceRuleOptions returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasDecreaseCriticalityBasedOnEnv ¶

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 ¶

func (o *SecurityMonitoringRuleOptions) HasHardcodedEvaluatorType() bool

HasHardcodedEvaluatorType returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasImpossibleTravelOptions ¶

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) SetComplianceRuleOptions ¶ added in v2.6.0

SetComplianceRuleOptions gets a reference to the given CloudConfigurationComplianceRuleOptions and assigns it to the ComplianceRuleOptions field.

func (*SecurityMonitoringRuleOptions) SetDecreaseCriticalityBasedOnEnv ¶

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 ¶

SetHardcodedEvaluatorType gets a reference to the given SecurityMonitoringRuleHardcodedEvaluatorType and assigns it to the HardcodedEvaluatorType field.

func (*SecurityMonitoringRuleOptions) SetImpossibleTravelOptions ¶

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 ¶

func (o *SecurityMonitoringRuleOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleQuery ¶

type SecurityMonitoringRuleQuery struct {
	SecurityMonitoringStandardRuleQuery *SecurityMonitoringStandardRuleQuery
	SecurityMonitoringSignalRuleQuery   *SecurityMonitoringSignalRuleQuery

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

SecurityMonitoringRuleQuery - Query for matching rule.

func SecurityMonitoringSignalRuleQueryAsSecurityMonitoringRuleQuery ¶ added in v2.3.0

func SecurityMonitoringSignalRuleQueryAsSecurityMonitoringRuleQuery(v *SecurityMonitoringSignalRuleQuery) SecurityMonitoringRuleQuery

SecurityMonitoringSignalRuleQueryAsSecurityMonitoringRuleQuery is a convenience function that returns SecurityMonitoringSignalRuleQuery wrapped in SecurityMonitoringRuleQuery.

func SecurityMonitoringStandardRuleQueryAsSecurityMonitoringRuleQuery ¶ added in v2.3.0

func SecurityMonitoringStandardRuleQueryAsSecurityMonitoringRuleQuery(v *SecurityMonitoringStandardRuleQuery) SecurityMonitoringRuleQuery

SecurityMonitoringStandardRuleQueryAsSecurityMonitoringRuleQuery is a convenience function that returns SecurityMonitoringStandardRuleQuery wrapped in SecurityMonitoringRuleQuery.

func (*SecurityMonitoringRuleQuery) GetActualInstance ¶ added in v2.3.0

func (obj *SecurityMonitoringRuleQuery) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (SecurityMonitoringRuleQuery) MarshalJSON ¶

func (obj SecurityMonitoringRuleQuery) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*SecurityMonitoringRuleQuery) UnmarshalJSON ¶

func (obj *SecurityMonitoringRuleQuery) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

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"
	SECURITYMONITORINGRULEQUERYAGGREGATION_EVENT_COUNT SecurityMonitoringRuleQueryAggregation = "event_count"
	SECURITYMONITORINGRULEQUERYAGGREGATION_NONE        SecurityMonitoringRuleQueryAggregation = "none"
)

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 ¶

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 SecurityMonitoringRuleResponse ¶

type SecurityMonitoringRuleResponse struct {
	SecurityMonitoringStandardRuleResponse *SecurityMonitoringStandardRuleResponse
	SecurityMonitoringSignalRuleResponse   *SecurityMonitoringSignalRuleResponse

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

SecurityMonitoringRuleResponse - Create a new rule.

func SecurityMonitoringSignalRuleResponseAsSecurityMonitoringRuleResponse ¶ added in v2.3.1

func SecurityMonitoringSignalRuleResponseAsSecurityMonitoringRuleResponse(v *SecurityMonitoringSignalRuleResponse) SecurityMonitoringRuleResponse

SecurityMonitoringSignalRuleResponseAsSecurityMonitoringRuleResponse is a convenience function that returns SecurityMonitoringSignalRuleResponse wrapped in SecurityMonitoringRuleResponse.

func SecurityMonitoringStandardRuleResponseAsSecurityMonitoringRuleResponse ¶ added in v2.3.1

func SecurityMonitoringStandardRuleResponseAsSecurityMonitoringRuleResponse(v *SecurityMonitoringStandardRuleResponse) SecurityMonitoringRuleResponse

SecurityMonitoringStandardRuleResponseAsSecurityMonitoringRuleResponse is a convenience function that returns SecurityMonitoringStandardRuleResponse wrapped in SecurityMonitoringRuleResponse.

func (*SecurityMonitoringRuleResponse) GetActualInstance ¶ added in v2.3.1

func (obj *SecurityMonitoringRuleResponse) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (SecurityMonitoringRuleResponse) MarshalJSON ¶

func (obj SecurityMonitoringRuleResponse) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*SecurityMonitoringRuleResponse) UnmarshalJSON ¶

func (obj *SecurityMonitoringRuleResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

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 ¶

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 ¶

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 ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleTypeCreate) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleTypeCreate) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleTypeCreate value.

func (*SecurityMonitoringRuleTypeCreate) UnmarshalJSON ¶

func (v *SecurityMonitoringRuleTypeCreate) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringRuleTypeRead ¶

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"
	SECURITYMONITORINGRULETYPEREAD_APPLICATION_SECURITY         SecurityMonitoringRuleTypeRead = "application_security"
)

List of SecurityMonitoringRuleTypeRead.

func NewSecurityMonitoringRuleTypeReadFromValue ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringRuleTypeRead) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringRuleTypeRead) Ptr ¶

Ptr returns reference to SecurityMonitoringRuleTypeRead value.

func (*SecurityMonitoringRuleTypeRead) UnmarshalJSON ¶

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"`
	// How to generate compliance signals. Useful for cloud_configuration rules only.
	ComplianceSignalOptions *CloudConfigurationRuleComplianceSignalOptions `json:"complianceSignalOptions,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) GetComplianceSignalOptions ¶ added in v2.6.0

GetComplianceSignalOptions returns the ComplianceSignalOptions field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetComplianceSignalOptionsOk ¶ added in v2.6.0

GetComplianceSignalOptionsOk returns a tuple with the ComplianceSignalOptions 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 ¶

func (o *SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitleOk ¶

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 ¶

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetVersionOk ¶

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) HasComplianceSignalOptions ¶ added in v2.6.0

func (o *SecurityMonitoringRuleUpdatePayload) HasComplianceSignalOptions() bool

HasComplianceSignalOptions 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 ¶

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 ¶

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) SetComplianceSignalOptions ¶ added in v2.6.0

SetComplianceSignalOptions gets a reference to the given CloudConfigurationRuleComplianceSignalOptions and assigns it to the ComplianceSignalOptions field.

func (*SecurityMonitoringRuleUpdatePayload) SetFilters ¶

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringRuleUpdatePayload) SetHasExtendedTitle ¶

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 ¶

func (o *SecurityMonitoringRuleUpdatePayload) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (*SecurityMonitoringRuleUpdatePayload) UnmarshalJSON ¶

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 ¶

func (o *SecurityMonitoringSignal) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalArchiveReason ¶

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 ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringSignalArchiveReason) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringSignalArchiveReason) Ptr ¶

Ptr returns reference to SecurityMonitoringSignalArchiveReason value.

func (*SecurityMonitoringSignalArchiveReason) UnmarshalJSON ¶

func (v *SecurityMonitoringSignalArchiveReason) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalAssigneeUpdateAttributes ¶

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 ¶

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 ¶

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 ¶

GetAssignee returns the Assignee field value.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetAssigneeOk ¶

GetAssigneeOk returns a tuple with the Assignee field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetVersion ¶

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetVersionOk ¶

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 ¶

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringSignalAssigneeUpdateAttributes) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) SetAssignee ¶

SetAssignee sets field value.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) SetVersion ¶

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SecurityMonitoringSignalAssigneeUpdateAttributes) UnmarshalJSON ¶

func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalAssigneeUpdateData ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value.

func (*SecurityMonitoringSignalAssigneeUpdateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalAssigneeUpdateData) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalAssigneeUpdateData) SetAttributes ¶

SetAttributes sets field value.

func (*SecurityMonitoringSignalAssigneeUpdateData) UnmarshalJSON ¶

func (o *SecurityMonitoringSignalAssigneeUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalAssigneeUpdateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*SecurityMonitoringSignalAssigneeUpdateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalAssigneeUpdateRequest) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalAssigneeUpdateRequest) SetData ¶

SetData sets field value.

func (*SecurityMonitoringSignalAssigneeUpdateRequest) UnmarshalJSON ¶

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 ¶

func (o *SecurityMonitoringSignalAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalIncidentsUpdateAttributes ¶

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 ¶

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 ¶

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 ¶

GetIncidentIds returns the IncidentIds field value.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) GetIncidentIdsOk ¶

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 ¶

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) GetVersionOk ¶

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 ¶

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringSignalIncidentsUpdateAttributes) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) SetIncidentIds ¶

SetIncidentIds sets field value.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) SetVersion ¶

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SecurityMonitoringSignalIncidentsUpdateAttributes) UnmarshalJSON ¶

func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalIncidentsUpdateData ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value.

func (*SecurityMonitoringSignalIncidentsUpdateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalIncidentsUpdateData) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalIncidentsUpdateData) SetAttributes ¶

SetAttributes sets field value.

func (*SecurityMonitoringSignalIncidentsUpdateData) UnmarshalJSON ¶

func (o *SecurityMonitoringSignalIncidentsUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalIncidentsUpdateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*SecurityMonitoringSignalIncidentsUpdateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalIncidentsUpdateRequest) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalIncidentsUpdateRequest) SetData ¶

SetData sets field value.

func (*SecurityMonitoringSignalIncidentsUpdateRequest) UnmarshalJSON ¶

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 ¶

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 ¶

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 ¶

func (o *SecurityMonitoringSignalListRequestPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalRuleCreatePayload ¶ added in v2.3.0

type SecurityMonitoringSignalRuleCreatePayload 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 signals which are part of the rule.
	Queries []SecurityMonitoringSignalRuleQuery `json:"queries"`
	// Tags for generated signals.
	Tags []string `json:"tags,omitempty"`
	// The rule type.
	Type *SecurityMonitoringSignalRuleType `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{}
}

SecurityMonitoringSignalRuleCreatePayload Create a new signal correlation rule.

func NewSecurityMonitoringSignalRuleCreatePayload ¶ added in v2.3.0

func NewSecurityMonitoringSignalRuleCreatePayload(cases []SecurityMonitoringRuleCaseCreate, isEnabled bool, message string, name string, options SecurityMonitoringRuleOptions, queries []SecurityMonitoringSignalRuleQuery) *SecurityMonitoringSignalRuleCreatePayload

NewSecurityMonitoringSignalRuleCreatePayload instantiates a new SecurityMonitoringSignalRuleCreatePayload object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalRuleCreatePayloadWithDefaults ¶ added in v2.3.0

func NewSecurityMonitoringSignalRuleCreatePayloadWithDefaults() *SecurityMonitoringSignalRuleCreatePayload

NewSecurityMonitoringSignalRuleCreatePayloadWithDefaults instantiates a new SecurityMonitoringSignalRuleCreatePayload object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalRuleCreatePayload) GetCases ¶ added in v2.3.0

GetCases returns the Cases field value.

func (*SecurityMonitoringSignalRuleCreatePayload) GetCasesOk ¶ added in v2.3.0

GetCasesOk returns a tuple with the Cases field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleCreatePayload) GetFilters ¶ added in v2.3.0

GetFilters returns the Filters field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleCreatePayload) GetFiltersOk ¶ added in v2.3.0

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 (*SecurityMonitoringSignalRuleCreatePayload) GetHasExtendedTitle ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleCreatePayload) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleCreatePayload) GetHasExtendedTitleOk ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleCreatePayload) 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 (*SecurityMonitoringSignalRuleCreatePayload) GetIsEnabled ¶ added in v2.3.0

GetIsEnabled returns the IsEnabled field value.

func (*SecurityMonitoringSignalRuleCreatePayload) GetIsEnabledOk ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleCreatePayload) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleCreatePayload) GetMessage ¶ added in v2.3.0

GetMessage returns the Message field value.

func (*SecurityMonitoringSignalRuleCreatePayload) GetMessageOk ¶ added in v2.3.0

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleCreatePayload) GetName ¶ added in v2.3.0

GetName returns the Name field value.

func (*SecurityMonitoringSignalRuleCreatePayload) GetNameOk ¶ added in v2.3.0

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleCreatePayload) GetOptions ¶ added in v2.3.0

GetOptions returns the Options field value.

func (*SecurityMonitoringSignalRuleCreatePayload) GetOptionsOk ¶ added in v2.3.0

GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleCreatePayload) GetQueries ¶ added in v2.3.0

GetQueries returns the Queries field value.

func (*SecurityMonitoringSignalRuleCreatePayload) GetQueriesOk ¶ added in v2.3.0

GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleCreatePayload) GetTags ¶ added in v2.3.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleCreatePayload) GetTagsOk ¶ added in v2.3.0

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 (*SecurityMonitoringSignalRuleCreatePayload) GetType ¶ added in v2.3.0

GetType returns the Type field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleCreatePayload) GetTypeOk ¶ added in v2.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 (*SecurityMonitoringSignalRuleCreatePayload) HasFilters ¶ added in v2.3.0

HasFilters returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleCreatePayload) HasHasExtendedTitle ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleCreatePayload) HasHasExtendedTitle() bool

HasHasExtendedTitle returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleCreatePayload) HasTags ¶ added in v2.3.0

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleCreatePayload) HasType ¶ added in v2.3.0

HasType returns a boolean if a field has been set.

func (SecurityMonitoringSignalRuleCreatePayload) MarshalJSON ¶ added in v2.3.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalRuleCreatePayload) SetCases ¶ added in v2.3.0

SetCases sets field value.

func (*SecurityMonitoringSignalRuleCreatePayload) SetFilters ¶ added in v2.3.0

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringSignalRuleCreatePayload) SetHasExtendedTitle ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleCreatePayload) SetHasExtendedTitle(v bool)

SetHasExtendedTitle gets a reference to the given bool and assigns it to the HasExtendedTitle field.

func (*SecurityMonitoringSignalRuleCreatePayload) SetIsEnabled ¶ added in v2.3.0

SetIsEnabled sets field value.

func (*SecurityMonitoringSignalRuleCreatePayload) SetMessage ¶ added in v2.3.0

SetMessage sets field value.

func (*SecurityMonitoringSignalRuleCreatePayload) SetName ¶ added in v2.3.0

SetName sets field value.

func (*SecurityMonitoringSignalRuleCreatePayload) SetOptions ¶ added in v2.3.0

SetOptions sets field value.

func (*SecurityMonitoringSignalRuleCreatePayload) SetQueries ¶ added in v2.3.0

SetQueries sets field value.

func (*SecurityMonitoringSignalRuleCreatePayload) SetTags ¶ added in v2.3.0

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringSignalRuleCreatePayload) SetType ¶ added in v2.3.0

SetType gets a reference to the given SecurityMonitoringSignalRuleType and assigns it to the Type field.

func (*SecurityMonitoringSignalRuleCreatePayload) UnmarshalJSON ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleCreatePayload) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalRuleQuery ¶ added in v2.3.0

type SecurityMonitoringSignalRuleQuery struct {
	// The aggregation type.
	Aggregation *SecurityMonitoringRuleQueryAggregation `json:"aggregation,omitempty"`
	// Fields to group by.
	CorrelatedByFields []string `json:"correlatedByFields,omitempty"`
	// Index of the rule query used to retrieve the correlated field.
	CorrelatedQueryIndex *int32 `json:"correlatedQueryIndex,omitempty"`
	// Group of target fields to aggregate over.
	Metrics []string `json:"metrics,omitempty"`
	// Name of the query.
	Name *string `json:"name,omitempty"`
	// Rule ID to match on signals.
	RuleId string `json:"ruleId"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringSignalRuleQuery Query for matching rule on signals.

func NewSecurityMonitoringSignalRuleQuery ¶ added in v2.3.0

func NewSecurityMonitoringSignalRuleQuery(ruleId string) *SecurityMonitoringSignalRuleQuery

NewSecurityMonitoringSignalRuleQuery instantiates a new SecurityMonitoringSignalRuleQuery object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalRuleQueryWithDefaults ¶ added in v2.3.0

func NewSecurityMonitoringSignalRuleQueryWithDefaults() *SecurityMonitoringSignalRuleQuery

NewSecurityMonitoringSignalRuleQueryWithDefaults instantiates a new SecurityMonitoringSignalRuleQuery object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalRuleQuery) GetAggregation ¶ added in v2.3.0

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleQuery) GetAggregationOk ¶ added in v2.3.0

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 (*SecurityMonitoringSignalRuleQuery) GetCorrelatedByFields ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) GetCorrelatedByFields() []string

GetCorrelatedByFields returns the CorrelatedByFields field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleQuery) GetCorrelatedByFieldsOk ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) GetCorrelatedByFieldsOk() (*[]string, bool)

GetCorrelatedByFieldsOk returns a tuple with the CorrelatedByFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleQuery) GetCorrelatedQueryIndex ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) GetCorrelatedQueryIndex() int32

GetCorrelatedQueryIndex returns the CorrelatedQueryIndex field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleQuery) GetCorrelatedQueryIndexOk ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) GetCorrelatedQueryIndexOk() (*int32, bool)

GetCorrelatedQueryIndexOk returns a tuple with the CorrelatedQueryIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleQuery) GetMetrics ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) GetMetrics() []string

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleQuery) GetMetricsOk ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) 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 (*SecurityMonitoringSignalRuleQuery) GetName ¶ added in v2.3.0

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleQuery) GetNameOk ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) 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 (*SecurityMonitoringSignalRuleQuery) GetRuleId ¶ added in v2.3.0

GetRuleId returns the RuleId field value.

func (*SecurityMonitoringSignalRuleQuery) GetRuleIdOk ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) GetRuleIdOk() (*string, bool)

GetRuleIdOk returns a tuple with the RuleId field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleQuery) HasAggregation ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleQuery) HasCorrelatedByFields ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) HasCorrelatedByFields() bool

HasCorrelatedByFields returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleQuery) HasCorrelatedQueryIndex ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) HasCorrelatedQueryIndex() bool

HasCorrelatedQueryIndex returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleQuery) HasMetrics ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleQuery) HasName ¶ added in v2.3.0

HasName returns a boolean if a field has been set.

func (SecurityMonitoringSignalRuleQuery) MarshalJSON ¶ added in v2.3.0

func (o SecurityMonitoringSignalRuleQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalRuleQuery) SetAggregation ¶ added in v2.3.0

SetAggregation gets a reference to the given SecurityMonitoringRuleQueryAggregation and assigns it to the Aggregation field.

func (*SecurityMonitoringSignalRuleQuery) SetCorrelatedByFields ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) SetCorrelatedByFields(v []string)

SetCorrelatedByFields gets a reference to the given []string and assigns it to the CorrelatedByFields field.

func (*SecurityMonitoringSignalRuleQuery) SetCorrelatedQueryIndex ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) SetCorrelatedQueryIndex(v int32)

SetCorrelatedQueryIndex gets a reference to the given int32 and assigns it to the CorrelatedQueryIndex field.

func (*SecurityMonitoringSignalRuleQuery) SetMetrics ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) SetMetrics(v []string)

SetMetrics gets a reference to the given []string and assigns it to the Metrics field.

func (*SecurityMonitoringSignalRuleQuery) SetName ¶ added in v2.3.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringSignalRuleQuery) SetRuleId ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) SetRuleId(v string)

SetRuleId sets field value.

func (*SecurityMonitoringSignalRuleQuery) UnmarshalJSON ¶ added in v2.3.0

func (o *SecurityMonitoringSignalRuleQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalRuleResponse ¶ added in v2.3.1

type SecurityMonitoringSignalRuleResponse 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"`
	// When the rule will be deprecated, timestamp in milliseconds.
	DeprecationDate *int64 `json:"deprecationDate,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 []SecurityMonitoringSignalRuleResponseQuery `json:"queries,omitempty"`
	// Tags for generated signals.
	Tags []string `json:"tags,omitempty"`
	// The rule type.
	Type *SecurityMonitoringSignalRuleType `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{}
}

SecurityMonitoringSignalRuleResponse Rule.

func NewSecurityMonitoringSignalRuleResponse ¶ added in v2.3.1

func NewSecurityMonitoringSignalRuleResponse() *SecurityMonitoringSignalRuleResponse

NewSecurityMonitoringSignalRuleResponse instantiates a new SecurityMonitoringSignalRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalRuleResponseWithDefaults ¶ added in v2.3.1

func NewSecurityMonitoringSignalRuleResponseWithDefaults() *SecurityMonitoringSignalRuleResponse

NewSecurityMonitoringSignalRuleResponseWithDefaults instantiates a new SecurityMonitoringSignalRuleResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalRuleResponse) GetCases ¶ added in v2.3.1

GetCases returns the Cases field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetCasesOk ¶ added in v2.3.1

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 (*SecurityMonitoringSignalRuleResponse) GetCreatedAt ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetCreatedAtOk ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) 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 (*SecurityMonitoringSignalRuleResponse) GetCreationAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) GetCreationAuthorId() int64

GetCreationAuthorId returns the CreationAuthorId field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetCreationAuthorIdOk ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) 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 (*SecurityMonitoringSignalRuleResponse) GetDeprecationDate ¶ added in v2.8.0

func (o *SecurityMonitoringSignalRuleResponse) GetDeprecationDate() int64

GetDeprecationDate returns the DeprecationDate field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetDeprecationDateOk ¶ added in v2.8.0

func (o *SecurityMonitoringSignalRuleResponse) GetDeprecationDateOk() (*int64, bool)

GetDeprecationDateOk returns a tuple with the DeprecationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleResponse) GetFilters ¶ added in v2.3.1

GetFilters returns the Filters field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetFiltersOk ¶ added in v2.3.1

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 (*SecurityMonitoringSignalRuleResponse) GetHasExtendedTitle ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetHasExtendedTitleOk ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) 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 (*SecurityMonitoringSignalRuleResponse) GetId ¶ added in v2.3.1

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetIdOk ¶ added in v2.3.1

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 (*SecurityMonitoringSignalRuleResponse) GetIsDefault ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) GetIsDefault() bool

GetIsDefault returns the IsDefault field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetIsDefaultOk ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) 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 (*SecurityMonitoringSignalRuleResponse) GetIsDeleted ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) GetIsDeleted() bool

GetIsDeleted returns the IsDeleted field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetIsDeletedOk ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) 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 (*SecurityMonitoringSignalRuleResponse) GetIsEnabled ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetIsEnabledOk ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) 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 (*SecurityMonitoringSignalRuleResponse) GetMessage ¶ added in v2.3.1

GetMessage returns the Message field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetMessageOk ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) 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 (*SecurityMonitoringSignalRuleResponse) GetName ¶ added in v2.3.1

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetNameOk ¶ added in v2.3.1

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 (*SecurityMonitoringSignalRuleResponse) GetOptions ¶ added in v2.3.1

GetOptions returns the Options field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetOptionsOk ¶ added in v2.3.1

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 (*SecurityMonitoringSignalRuleResponse) GetQueries ¶ added in v2.3.1

GetQueries returns the Queries field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetQueriesOk ¶ added in v2.3.1

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 (*SecurityMonitoringSignalRuleResponse) GetTags ¶ added in v2.3.1

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetTagsOk ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) 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 (*SecurityMonitoringSignalRuleResponse) GetType ¶ added in v2.3.1

GetType returns the Type field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetTypeOk ¶ added in v2.3.1

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 (*SecurityMonitoringSignalRuleResponse) GetUpdateAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) GetUpdateAuthorId() int64

GetUpdateAuthorId returns the UpdateAuthorId field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetUpdateAuthorIdOk ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) 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 (*SecurityMonitoringSignalRuleResponse) GetVersion ¶ added in v2.3.1

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponse) GetVersionOk ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) 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 (*SecurityMonitoringSignalRuleResponse) HasCases ¶ added in v2.3.1

HasCases returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasCreatedAt ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasCreationAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) HasCreationAuthorId() bool

HasCreationAuthorId returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasDeprecationDate ¶ added in v2.8.0

func (o *SecurityMonitoringSignalRuleResponse) HasDeprecationDate() bool

HasDeprecationDate returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasFilters ¶ added in v2.3.1

HasFilters returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasHasExtendedTitle ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) HasHasExtendedTitle() bool

HasHasExtendedTitle returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasId ¶ added in v2.3.1

HasId returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasIsDefault ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) HasIsDefault() bool

HasIsDefault returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasIsDeleted ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) HasIsDeleted() bool

HasIsDeleted returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasIsEnabled ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasMessage ¶ added in v2.3.1

HasMessage returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasName ¶ added in v2.3.1

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasOptions ¶ added in v2.3.1

HasOptions returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasQueries ¶ added in v2.3.1

HasQueries returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasTags ¶ added in v2.3.1

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasType ¶ added in v2.3.1

HasType returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasUpdateAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) HasUpdateAuthorId() bool

HasUpdateAuthorId returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponse) HasVersion ¶ added in v2.3.1

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringSignalRuleResponse) MarshalJSON ¶ added in v2.3.1

func (o SecurityMonitoringSignalRuleResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalRuleResponse) SetCases ¶ added in v2.3.1

SetCases gets a reference to the given []SecurityMonitoringRuleCase and assigns it to the Cases field.

func (*SecurityMonitoringSignalRuleResponse) SetCreatedAt ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*SecurityMonitoringSignalRuleResponse) SetCreationAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) SetCreationAuthorId(v int64)

SetCreationAuthorId gets a reference to the given int64 and assigns it to the CreationAuthorId field.

func (*SecurityMonitoringSignalRuleResponse) SetDeprecationDate ¶ added in v2.8.0

func (o *SecurityMonitoringSignalRuleResponse) SetDeprecationDate(v int64)

SetDeprecationDate gets a reference to the given int64 and assigns it to the DeprecationDate field.

func (*SecurityMonitoringSignalRuleResponse) SetFilters ¶ added in v2.3.1

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringSignalRuleResponse) SetHasExtendedTitle ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) SetHasExtendedTitle(v bool)

SetHasExtendedTitle gets a reference to the given bool and assigns it to the HasExtendedTitle field.

func (*SecurityMonitoringSignalRuleResponse) SetId ¶ added in v2.3.1

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityMonitoringSignalRuleResponse) SetIsDefault ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) SetIsDefault(v bool)

SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.

func (*SecurityMonitoringSignalRuleResponse) SetIsDeleted ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) SetIsDeleted(v bool)

SetIsDeleted gets a reference to the given bool and assigns it to the IsDeleted field.

func (*SecurityMonitoringSignalRuleResponse) SetIsEnabled ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityMonitoringSignalRuleResponse) SetMessage ¶ added in v2.3.1

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SecurityMonitoringSignalRuleResponse) SetName ¶ added in v2.3.1

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringSignalRuleResponse) SetOptions ¶ added in v2.3.1

SetOptions gets a reference to the given SecurityMonitoringRuleOptions and assigns it to the Options field.

func (*SecurityMonitoringSignalRuleResponse) SetQueries ¶ added in v2.3.1

SetQueries gets a reference to the given []SecurityMonitoringSignalRuleResponseQuery and assigns it to the Queries field.

func (*SecurityMonitoringSignalRuleResponse) SetTags ¶ added in v2.3.1

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringSignalRuleResponse) SetType ¶ added in v2.3.1

SetType gets a reference to the given SecurityMonitoringSignalRuleType and assigns it to the Type field.

func (*SecurityMonitoringSignalRuleResponse) SetUpdateAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) SetUpdateAuthorId(v int64)

SetUpdateAuthorId gets a reference to the given int64 and assigns it to the UpdateAuthorId field.

func (*SecurityMonitoringSignalRuleResponse) SetVersion ¶ added in v2.3.1

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SecurityMonitoringSignalRuleResponse) UnmarshalJSON ¶ added in v2.3.1

func (o *SecurityMonitoringSignalRuleResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalRuleResponseQuery ¶ added in v2.4.0

type SecurityMonitoringSignalRuleResponseQuery struct {
	// The aggregation type.
	Aggregation *SecurityMonitoringRuleQueryAggregation `json:"aggregation,omitempty"`
	// Fields to group by.
	CorrelatedByFields []string `json:"correlatedByFields,omitempty"`
	// Index of the rule query used to retrieve the correlated field.
	CorrelatedQueryIndex *int32 `json:"correlatedQueryIndex,omitempty"`
	// Default Rule ID to match on signals.
	DefaultRuleId *string `json:"defaultRuleId,omitempty"`
	// Group of target fields to aggregate over.
	Metrics []string `json:"metrics,omitempty"`
	// Name of the query.
	Name *string `json:"name,omitempty"`
	// Rule ID to match on signals.
	RuleId *string `json:"ruleId,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{}
}

SecurityMonitoringSignalRuleResponseQuery Query for matching rule on signals.

func NewSecurityMonitoringSignalRuleResponseQuery ¶ added in v2.4.0

func NewSecurityMonitoringSignalRuleResponseQuery() *SecurityMonitoringSignalRuleResponseQuery

NewSecurityMonitoringSignalRuleResponseQuery instantiates a new SecurityMonitoringSignalRuleResponseQuery object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringSignalRuleResponseQueryWithDefaults ¶ added in v2.4.0

func NewSecurityMonitoringSignalRuleResponseQueryWithDefaults() *SecurityMonitoringSignalRuleResponseQuery

NewSecurityMonitoringSignalRuleResponseQueryWithDefaults instantiates a new SecurityMonitoringSignalRuleResponseQuery object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringSignalRuleResponseQuery) GetAggregation ¶ added in v2.4.0

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponseQuery) GetAggregationOk ¶ added in v2.4.0

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 (*SecurityMonitoringSignalRuleResponseQuery) GetCorrelatedByFields ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) GetCorrelatedByFields() []string

GetCorrelatedByFields returns the CorrelatedByFields field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponseQuery) GetCorrelatedByFieldsOk ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) GetCorrelatedByFieldsOk() (*[]string, bool)

GetCorrelatedByFieldsOk returns a tuple with the CorrelatedByFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleResponseQuery) GetCorrelatedQueryIndex ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) GetCorrelatedQueryIndex() int32

GetCorrelatedQueryIndex returns the CorrelatedQueryIndex field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponseQuery) GetCorrelatedQueryIndexOk ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) GetCorrelatedQueryIndexOk() (*int32, bool)

GetCorrelatedQueryIndexOk returns a tuple with the CorrelatedQueryIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleResponseQuery) GetDefaultRuleId ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) GetDefaultRuleId() string

GetDefaultRuleId returns the DefaultRuleId field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponseQuery) GetDefaultRuleIdOk ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) GetDefaultRuleIdOk() (*string, bool)

GetDefaultRuleIdOk returns a tuple with the DefaultRuleId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleResponseQuery) GetMetrics ¶ added in v2.4.0

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponseQuery) GetMetricsOk ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) 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 (*SecurityMonitoringSignalRuleResponseQuery) GetName ¶ added in v2.4.0

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponseQuery) GetNameOk ¶ added in v2.4.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 (*SecurityMonitoringSignalRuleResponseQuery) GetRuleId ¶ added in v2.4.0

GetRuleId returns the RuleId field value if set, zero value otherwise.

func (*SecurityMonitoringSignalRuleResponseQuery) GetRuleIdOk ¶ added in v2.4.0

GetRuleIdOk returns a tuple with the RuleId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalRuleResponseQuery) HasAggregation ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponseQuery) HasCorrelatedByFields ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) HasCorrelatedByFields() bool

HasCorrelatedByFields returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponseQuery) HasCorrelatedQueryIndex ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) HasCorrelatedQueryIndex() bool

HasCorrelatedQueryIndex returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponseQuery) HasDefaultRuleId ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) HasDefaultRuleId() bool

HasDefaultRuleId returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponseQuery) HasMetrics ¶ added in v2.4.0

HasMetrics returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponseQuery) HasName ¶ added in v2.4.0

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringSignalRuleResponseQuery) HasRuleId ¶ added in v2.4.0

HasRuleId returns a boolean if a field has been set.

func (SecurityMonitoringSignalRuleResponseQuery) MarshalJSON ¶ added in v2.4.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalRuleResponseQuery) SetAggregation ¶ added in v2.4.0

SetAggregation gets a reference to the given SecurityMonitoringRuleQueryAggregation and assigns it to the Aggregation field.

func (*SecurityMonitoringSignalRuleResponseQuery) SetCorrelatedByFields ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) SetCorrelatedByFields(v []string)

SetCorrelatedByFields gets a reference to the given []string and assigns it to the CorrelatedByFields field.

func (*SecurityMonitoringSignalRuleResponseQuery) SetCorrelatedQueryIndex ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) SetCorrelatedQueryIndex(v int32)

SetCorrelatedQueryIndex gets a reference to the given int32 and assigns it to the CorrelatedQueryIndex field.

func (*SecurityMonitoringSignalRuleResponseQuery) SetDefaultRuleId ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) SetDefaultRuleId(v string)

SetDefaultRuleId gets a reference to the given string and assigns it to the DefaultRuleId field.

func (*SecurityMonitoringSignalRuleResponseQuery) SetMetrics ¶ added in v2.4.0

SetMetrics gets a reference to the given []string and assigns it to the Metrics field.

func (*SecurityMonitoringSignalRuleResponseQuery) SetName ¶ added in v2.4.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringSignalRuleResponseQuery) SetRuleId ¶ added in v2.4.0

SetRuleId gets a reference to the given string and assigns it to the RuleId field.

func (*SecurityMonitoringSignalRuleResponseQuery) UnmarshalJSON ¶ added in v2.4.0

func (o *SecurityMonitoringSignalRuleResponseQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalRuleType ¶ added in v2.3.1

type SecurityMonitoringSignalRuleType string

SecurityMonitoringSignalRuleType The rule type.

const (
	SECURITYMONITORINGSIGNALRULETYPE_SIGNAL_CORRELATION SecurityMonitoringSignalRuleType = "signal_correlation"
)

List of SecurityMonitoringSignalRuleType.

func NewSecurityMonitoringSignalRuleTypeFromValue ¶ added in v2.3.1

func NewSecurityMonitoringSignalRuleTypeFromValue(v string) (*SecurityMonitoringSignalRuleType, error)

NewSecurityMonitoringSignalRuleTypeFromValue returns a pointer to a valid SecurityMonitoringSignalRuleType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SecurityMonitoringSignalRuleType) GetAllowedValues ¶ added in v2.3.1

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringSignalRuleType) IsValid ¶ added in v2.3.1

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringSignalRuleType) Ptr ¶ added in v2.3.1

Ptr returns reference to SecurityMonitoringSignalRuleType value.

func (*SecurityMonitoringSignalRuleType) UnmarshalJSON ¶ added in v2.3.1

func (v *SecurityMonitoringSignalRuleType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalState ¶

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 ¶

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 ¶

GetAllowedValues reeturns the list of possible values.

func (SecurityMonitoringSignalState) IsValid ¶

func (v SecurityMonitoringSignalState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SecurityMonitoringSignalState) Ptr ¶

Ptr returns reference to SecurityMonitoringSignalState value.

func (*SecurityMonitoringSignalState) UnmarshalJSON ¶

func (v *SecurityMonitoringSignalState) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalStateUpdateAttributes ¶

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 ¶

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 ¶

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 ¶

GetArchiveComment returns the ArchiveComment field value if set, zero value otherwise.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetArchiveCommentOk ¶

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 ¶

GetArchiveReason returns the ArchiveReason field value if set, zero value otherwise.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetArchiveReasonOk ¶

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 ¶

GetState returns the State field value.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetStateOk ¶

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetVersion ¶

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringSignalStateUpdateAttributes) GetVersionOk ¶

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 ¶

func (o *SecurityMonitoringSignalStateUpdateAttributes) HasArchiveComment() bool

HasArchiveComment returns a boolean if a field has been set.

func (*SecurityMonitoringSignalStateUpdateAttributes) HasArchiveReason ¶

HasArchiveReason returns a boolean if a field has been set.

func (*SecurityMonitoringSignalStateUpdateAttributes) HasVersion ¶

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringSignalStateUpdateAttributes) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalStateUpdateAttributes) SetArchiveComment ¶

func (o *SecurityMonitoringSignalStateUpdateAttributes) SetArchiveComment(v string)

SetArchiveComment gets a reference to the given string and assigns it to the ArchiveComment field.

func (*SecurityMonitoringSignalStateUpdateAttributes) SetArchiveReason ¶

SetArchiveReason gets a reference to the given SecurityMonitoringSignalArchiveReason and assigns it to the ArchiveReason field.

func (*SecurityMonitoringSignalStateUpdateAttributes) SetState ¶

SetState sets field value.

func (*SecurityMonitoringSignalStateUpdateAttributes) SetVersion ¶

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SecurityMonitoringSignalStateUpdateAttributes) UnmarshalJSON ¶

func (o *SecurityMonitoringSignalStateUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalStateUpdateData ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value.

func (*SecurityMonitoringSignalStateUpdateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalStateUpdateData) MarshalJSON ¶

func (o SecurityMonitoringSignalStateUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalStateUpdateData) SetAttributes ¶

SetAttributes sets field value.

func (*SecurityMonitoringSignalStateUpdateData) UnmarshalJSON ¶

func (o *SecurityMonitoringSignalStateUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalStateUpdateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*SecurityMonitoringSignalStateUpdateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalStateUpdateRequest) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalStateUpdateRequest) SetData ¶

SetData sets field value.

func (*SecurityMonitoringSignalStateUpdateRequest) UnmarshalJSON ¶

func (o *SecurityMonitoringSignalStateUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalTriageAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveComment() string

GetArchiveComment returns the ArchiveComment field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentOk ¶

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 ¶

func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestamp() int64

GetArchiveCommentTimestamp returns the ArchiveCommentTimestamp field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestampOk ¶

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 ¶

GetArchiveCommentUser returns the ArchiveCommentUser field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentUserOk ¶

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 ¶

GetArchiveReason returns the ArchiveReason field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetArchiveReasonOk ¶

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 ¶

GetAssignee returns the Assignee field value.

func (*SecurityMonitoringSignalTriageAttributes) GetAssigneeOk ¶

GetAssigneeOk returns a tuple with the Assignee field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) GetIncidentIds ¶

func (o *SecurityMonitoringSignalTriageAttributes) GetIncidentIds() []int64

GetIncidentIds returns the IncidentIds field value.

func (*SecurityMonitoringSignalTriageAttributes) GetIncidentIdsOk ¶

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 ¶

GetState returns the State field value.

func (*SecurityMonitoringSignalTriageAttributes) GetStateOk ¶

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestamp ¶

func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestamp() int64

GetStateUpdateTimestamp returns the StateUpdateTimestamp field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestampOk ¶

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 ¶

GetStateUpdateUser returns the StateUpdateUser field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateUserOk ¶

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 ¶

func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveComment() bool

HasArchiveComment returns a boolean if a field has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasArchiveCommentTimestamp ¶

func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveCommentTimestamp() bool

HasArchiveCommentTimestamp returns a boolean if a field has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasArchiveCommentUser ¶

func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveCommentUser() bool

HasArchiveCommentUser returns a boolean if a field has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasArchiveReason ¶

func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveReason() bool

HasArchiveReason returns a boolean if a field has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasStateUpdateTimestamp ¶

func (o *SecurityMonitoringSignalTriageAttributes) HasStateUpdateTimestamp() bool

HasStateUpdateTimestamp returns a boolean if a field has been set.

func (*SecurityMonitoringSignalTriageAttributes) HasStateUpdateUser ¶

func (o *SecurityMonitoringSignalTriageAttributes) HasStateUpdateUser() bool

HasStateUpdateUser returns a boolean if a field has been set.

func (SecurityMonitoringSignalTriageAttributes) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalTriageAttributes) SetArchiveComment ¶

func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveComment(v string)

SetArchiveComment gets a reference to the given string and assigns it to the ArchiveComment field.

func (*SecurityMonitoringSignalTriageAttributes) SetArchiveCommentTimestamp ¶

func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveCommentTimestamp(v int64)

SetArchiveCommentTimestamp gets a reference to the given int64 and assigns it to the ArchiveCommentTimestamp field.

func (*SecurityMonitoringSignalTriageAttributes) SetArchiveCommentUser ¶

SetArchiveCommentUser gets a reference to the given SecurityMonitoringTriageUser and assigns it to the ArchiveCommentUser field.

func (*SecurityMonitoringSignalTriageAttributes) SetArchiveReason ¶

SetArchiveReason gets a reference to the given SecurityMonitoringSignalArchiveReason and assigns it to the ArchiveReason field.

func (*SecurityMonitoringSignalTriageAttributes) SetAssignee ¶

SetAssignee sets field value.

func (*SecurityMonitoringSignalTriageAttributes) SetIncidentIds ¶

func (o *SecurityMonitoringSignalTriageAttributes) SetIncidentIds(v []int64)

SetIncidentIds sets field value.

func (*SecurityMonitoringSignalTriageAttributes) SetState ¶

SetState sets field value.

func (*SecurityMonitoringSignalTriageAttributes) SetStateUpdateTimestamp ¶

func (o *SecurityMonitoringSignalTriageAttributes) SetStateUpdateTimestamp(v int64)

SetStateUpdateTimestamp gets a reference to the given int64 and assigns it to the StateUpdateTimestamp field.

func (*SecurityMonitoringSignalTriageAttributes) SetStateUpdateUser ¶

SetStateUpdateUser gets a reference to the given SecurityMonitoringTriageUser and assigns it to the StateUpdateUser field.

func (*SecurityMonitoringSignalTriageAttributes) UnmarshalJSON ¶

func (o *SecurityMonitoringSignalTriageAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalTriageUpdateData ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SecurityMonitoringSignalTriageUpdateData) 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 (*SecurityMonitoringSignalTriageUpdateData) HasAttributes ¶

HasAttributes returns a boolean if a field has been set.

func (SecurityMonitoringSignalTriageUpdateData) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalTriageUpdateData) SetAttributes ¶

SetAttributes gets a reference to the given SecurityMonitoringSignalTriageAttributes and assigns it to the Attributes field.

func (*SecurityMonitoringSignalTriageUpdateData) UnmarshalJSON ¶

func (o *SecurityMonitoringSignalTriageUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringSignalTriageUpdateResponse ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*SecurityMonitoringSignalTriageUpdateResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SecurityMonitoringSignalTriageUpdateResponse) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringSignalTriageUpdateResponse) SetData ¶

SetData sets field value.

func (*SecurityMonitoringSignalTriageUpdateResponse) UnmarshalJSON ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 SecurityMonitoringStandardRuleCreatePayload ¶ added in v2.3.0

type SecurityMonitoringStandardRuleCreatePayload 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 []SecurityMonitoringStandardRuleQuery `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{}
}

SecurityMonitoringStandardRuleCreatePayload Create a new rule.

func NewSecurityMonitoringStandardRuleCreatePayload ¶ added in v2.3.0

func NewSecurityMonitoringStandardRuleCreatePayload(cases []SecurityMonitoringRuleCaseCreate, isEnabled bool, message string, name string, options SecurityMonitoringRuleOptions, queries []SecurityMonitoringStandardRuleQuery) *SecurityMonitoringStandardRuleCreatePayload

NewSecurityMonitoringStandardRuleCreatePayload instantiates a new SecurityMonitoringStandardRuleCreatePayload object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringStandardRuleCreatePayloadWithDefaults ¶ added in v2.3.0

func NewSecurityMonitoringStandardRuleCreatePayloadWithDefaults() *SecurityMonitoringStandardRuleCreatePayload

NewSecurityMonitoringStandardRuleCreatePayloadWithDefaults instantiates a new SecurityMonitoringStandardRuleCreatePayload object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringStandardRuleCreatePayload) GetCases ¶ added in v2.3.0

GetCases returns the Cases field value.

func (*SecurityMonitoringStandardRuleCreatePayload) GetCasesOk ¶ added in v2.3.0

GetCasesOk returns a tuple with the Cases field value and a boolean to check if the value has been set.

func (*SecurityMonitoringStandardRuleCreatePayload) GetFilters ¶ added in v2.3.0

GetFilters returns the Filters field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleCreatePayload) GetFiltersOk ¶ added in v2.3.0

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 (*SecurityMonitoringStandardRuleCreatePayload) GetHasExtendedTitle ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleCreatePayload) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleCreatePayload) GetHasExtendedTitleOk ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleCreatePayload) 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 (*SecurityMonitoringStandardRuleCreatePayload) GetIsEnabled ¶ added in v2.3.0

GetIsEnabled returns the IsEnabled field value.

func (*SecurityMonitoringStandardRuleCreatePayload) GetIsEnabledOk ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleCreatePayload) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value and a boolean to check if the value has been set.

func (*SecurityMonitoringStandardRuleCreatePayload) GetMessage ¶ added in v2.3.0

GetMessage returns the Message field value.

func (*SecurityMonitoringStandardRuleCreatePayload) GetMessageOk ¶ added in v2.3.0

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*SecurityMonitoringStandardRuleCreatePayload) GetName ¶ added in v2.3.0

GetName returns the Name field value.

func (*SecurityMonitoringStandardRuleCreatePayload) GetNameOk ¶ added in v2.3.0

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SecurityMonitoringStandardRuleCreatePayload) GetOptions ¶ added in v2.3.0

GetOptions returns the Options field value.

func (*SecurityMonitoringStandardRuleCreatePayload) GetOptionsOk ¶ added in v2.3.0

GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.

func (*SecurityMonitoringStandardRuleCreatePayload) GetQueries ¶ added in v2.3.0

GetQueries returns the Queries field value.

func (*SecurityMonitoringStandardRuleCreatePayload) GetQueriesOk ¶ added in v2.3.0

GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.

func (*SecurityMonitoringStandardRuleCreatePayload) GetTags ¶ added in v2.3.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleCreatePayload) GetTagsOk ¶ added in v2.3.0

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 (*SecurityMonitoringStandardRuleCreatePayload) GetType ¶ added in v2.3.0

GetType returns the Type field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleCreatePayload) GetTypeOk ¶ added in v2.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 (*SecurityMonitoringStandardRuleCreatePayload) HasFilters ¶ added in v2.3.0

HasFilters returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleCreatePayload) HasHasExtendedTitle ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleCreatePayload) HasHasExtendedTitle() bool

HasHasExtendedTitle returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleCreatePayload) HasTags ¶ added in v2.3.0

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleCreatePayload) HasType ¶ added in v2.3.0

HasType returns a boolean if a field has been set.

func (SecurityMonitoringStandardRuleCreatePayload) MarshalJSON ¶ added in v2.3.0

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringStandardRuleCreatePayload) SetCases ¶ added in v2.3.0

SetCases sets field value.

func (*SecurityMonitoringStandardRuleCreatePayload) SetFilters ¶ added in v2.3.0

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringStandardRuleCreatePayload) SetHasExtendedTitle ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleCreatePayload) SetHasExtendedTitle(v bool)

SetHasExtendedTitle gets a reference to the given bool and assigns it to the HasExtendedTitle field.

func (*SecurityMonitoringStandardRuleCreatePayload) SetIsEnabled ¶ added in v2.3.0

SetIsEnabled sets field value.

func (*SecurityMonitoringStandardRuleCreatePayload) SetMessage ¶ added in v2.3.0

SetMessage sets field value.

func (*SecurityMonitoringStandardRuleCreatePayload) SetName ¶ added in v2.3.0

SetName sets field value.

func (*SecurityMonitoringStandardRuleCreatePayload) SetOptions ¶ added in v2.3.0

SetOptions sets field value.

func (*SecurityMonitoringStandardRuleCreatePayload) SetQueries ¶ added in v2.3.0

SetQueries sets field value.

func (*SecurityMonitoringStandardRuleCreatePayload) SetTags ¶ added in v2.3.0

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringStandardRuleCreatePayload) SetType ¶ added in v2.3.0

SetType gets a reference to the given SecurityMonitoringRuleTypeCreate and assigns it to the Type field.

func (*SecurityMonitoringStandardRuleCreatePayload) UnmarshalJSON ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleCreatePayload) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringStandardRuleQuery ¶ added in v2.3.0

type SecurityMonitoringStandardRuleQuery 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"`
	// (Deprecated) The target field to aggregate over when using the sum or max
	// aggregations. `metrics` field should be used instead.
	// Deprecated
	Metric *string `json:"metric,omitempty"`
	// Group of target fields to aggregate over when using the sum, max, geo data, or new value aggregations. The sum, max, and geo data aggregations only accept one value in this list, whereas the new value aggregation accepts up to five values.
	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{}
}

SecurityMonitoringStandardRuleQuery Query for matching rule.

func NewSecurityMonitoringStandardRuleQuery ¶ added in v2.3.0

func NewSecurityMonitoringStandardRuleQuery(query string) *SecurityMonitoringStandardRuleQuery

NewSecurityMonitoringStandardRuleQuery instantiates a new SecurityMonitoringStandardRuleQuery object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringStandardRuleQueryWithDefaults ¶ added in v2.3.0

func NewSecurityMonitoringStandardRuleQueryWithDefaults() *SecurityMonitoringStandardRuleQuery

NewSecurityMonitoringStandardRuleQueryWithDefaults instantiates a new SecurityMonitoringStandardRuleQuery object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringStandardRuleQuery) GetAggregation ¶ added in v2.3.0

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleQuery) GetAggregationOk ¶ added in v2.3.0

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 (*SecurityMonitoringStandardRuleQuery) GetDistinctFields ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) GetDistinctFields() []string

GetDistinctFields returns the DistinctFields field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleQuery) GetDistinctFieldsOk ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) 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 (*SecurityMonitoringStandardRuleQuery) GetGroupByFields ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) GetGroupByFields() []string

GetGroupByFields returns the GroupByFields field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleQuery) GetGroupByFieldsOk ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) 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 (*SecurityMonitoringStandardRuleQuery) GetMetric ¶ added in v2.3.0

GetMetric returns the Metric field value if set, zero value otherwise. Deprecated

func (*SecurityMonitoringStandardRuleQuery) GetMetricOk ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) 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. Deprecated

func (*SecurityMonitoringStandardRuleQuery) GetMetrics ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) GetMetrics() []string

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleQuery) GetMetricsOk ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) 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 (*SecurityMonitoringStandardRuleQuery) GetName ¶ added in v2.3.0

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleQuery) GetNameOk ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) 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 (*SecurityMonitoringStandardRuleQuery) GetQuery ¶ added in v2.3.0

GetQuery returns the Query field value.

func (*SecurityMonitoringStandardRuleQuery) GetQueryOk ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (*SecurityMonitoringStandardRuleQuery) HasAggregation ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleQuery) HasDistinctFields ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) HasDistinctFields() bool

HasDistinctFields returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleQuery) HasGroupByFields ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) HasGroupByFields() bool

HasGroupByFields returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleQuery) HasMetric ¶ added in v2.3.0

HasMetric returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleQuery) HasMetrics ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleQuery) HasName ¶ added in v2.3.0

HasName returns a boolean if a field has been set.

func (SecurityMonitoringStandardRuleQuery) MarshalJSON ¶ added in v2.3.0

func (o SecurityMonitoringStandardRuleQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringStandardRuleQuery) SetAggregation ¶ added in v2.3.0

SetAggregation gets a reference to the given SecurityMonitoringRuleQueryAggregation and assigns it to the Aggregation field.

func (*SecurityMonitoringStandardRuleQuery) SetDistinctFields ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) SetDistinctFields(v []string)

SetDistinctFields gets a reference to the given []string and assigns it to the DistinctFields field.

func (*SecurityMonitoringStandardRuleQuery) SetGroupByFields ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) SetGroupByFields(v []string)

SetGroupByFields gets a reference to the given []string and assigns it to the GroupByFields field.

func (*SecurityMonitoringStandardRuleQuery) SetMetric ¶ added in v2.3.0

SetMetric gets a reference to the given string and assigns it to the Metric field. Deprecated

func (*SecurityMonitoringStandardRuleQuery) SetMetrics ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) SetMetrics(v []string)

SetMetrics gets a reference to the given []string and assigns it to the Metrics field.

func (*SecurityMonitoringStandardRuleQuery) SetName ¶ added in v2.3.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringStandardRuleQuery) SetQuery ¶ added in v2.3.0

SetQuery sets field value.

func (*SecurityMonitoringStandardRuleQuery) UnmarshalJSON ¶ added in v2.3.0

func (o *SecurityMonitoringStandardRuleQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringStandardRuleResponse ¶ added in v2.3.1

type SecurityMonitoringStandardRuleResponse struct {
	// Cases for generating signals.
	Cases []SecurityMonitoringRuleCase `json:"cases,omitempty"`
	// How to generate compliance signals. Useful for cloud_configuration rules only.
	ComplianceSignalOptions *CloudConfigurationRuleComplianceSignalOptions `json:"complianceSignalOptions,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"`
	// When the rule will be deprecated, timestamp in milliseconds.
	DeprecationDate *int64 `json:"deprecationDate,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 []SecurityMonitoringStandardRuleQuery `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{}
}

SecurityMonitoringStandardRuleResponse Rule.

func NewSecurityMonitoringStandardRuleResponse ¶ added in v2.3.1

func NewSecurityMonitoringStandardRuleResponse() *SecurityMonitoringStandardRuleResponse

NewSecurityMonitoringStandardRuleResponse instantiates a new SecurityMonitoringStandardRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSecurityMonitoringStandardRuleResponseWithDefaults ¶ added in v2.3.1

func NewSecurityMonitoringStandardRuleResponseWithDefaults() *SecurityMonitoringStandardRuleResponse

NewSecurityMonitoringStandardRuleResponseWithDefaults instantiates a new SecurityMonitoringStandardRuleResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SecurityMonitoringStandardRuleResponse) GetCases ¶ added in v2.3.1

GetCases returns the Cases field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetCasesOk ¶ added in v2.3.1

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 (*SecurityMonitoringStandardRuleResponse) GetComplianceSignalOptions ¶ added in v2.6.0

GetComplianceSignalOptions returns the ComplianceSignalOptions field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetComplianceSignalOptionsOk ¶ added in v2.6.0

GetComplianceSignalOptionsOk returns a tuple with the ComplianceSignalOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringStandardRuleResponse) GetCreatedAt ¶ added in v2.3.1

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetCreatedAtOk ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) 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 (*SecurityMonitoringStandardRuleResponse) GetCreationAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) GetCreationAuthorId() int64

GetCreationAuthorId returns the CreationAuthorId field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetCreationAuthorIdOk ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) 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 (*SecurityMonitoringStandardRuleResponse) GetDeprecationDate ¶ added in v2.8.0

func (o *SecurityMonitoringStandardRuleResponse) GetDeprecationDate() int64

GetDeprecationDate returns the DeprecationDate field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetDeprecationDateOk ¶ added in v2.8.0

func (o *SecurityMonitoringStandardRuleResponse) GetDeprecationDateOk() (*int64, bool)

GetDeprecationDateOk returns a tuple with the DeprecationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringStandardRuleResponse) GetFilters ¶ added in v2.3.1

GetFilters returns the Filters field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetFiltersOk ¶ added in v2.3.1

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 (*SecurityMonitoringStandardRuleResponse) GetHasExtendedTitle ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetHasExtendedTitleOk ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) 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 (*SecurityMonitoringStandardRuleResponse) GetId ¶ added in v2.3.1

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetIdOk ¶ added in v2.3.1

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 (*SecurityMonitoringStandardRuleResponse) GetIsDefault ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) GetIsDefault() bool

GetIsDefault returns the IsDefault field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetIsDefaultOk ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) 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 (*SecurityMonitoringStandardRuleResponse) GetIsDeleted ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) GetIsDeleted() bool

GetIsDeleted returns the IsDeleted field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetIsDeletedOk ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) 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 (*SecurityMonitoringStandardRuleResponse) GetIsEnabled ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetIsEnabledOk ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) 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 (*SecurityMonitoringStandardRuleResponse) GetMessage ¶ added in v2.3.1

GetMessage returns the Message field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetMessageOk ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) 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 (*SecurityMonitoringStandardRuleResponse) GetName ¶ added in v2.3.1

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetNameOk ¶ added in v2.3.1

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 (*SecurityMonitoringStandardRuleResponse) GetOptions ¶ added in v2.3.1

GetOptions returns the Options field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetOptionsOk ¶ added in v2.3.1

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 (*SecurityMonitoringStandardRuleResponse) GetQueries ¶ added in v2.3.1

GetQueries returns the Queries field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetQueriesOk ¶ added in v2.3.1

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 (*SecurityMonitoringStandardRuleResponse) GetTags ¶ added in v2.3.1

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetTagsOk ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) 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 (*SecurityMonitoringStandardRuleResponse) GetType ¶ added in v2.3.1

GetType returns the Type field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetTypeOk ¶ added in v2.3.1

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 (*SecurityMonitoringStandardRuleResponse) GetUpdateAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) GetUpdateAuthorId() int64

GetUpdateAuthorId returns the UpdateAuthorId field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetUpdateAuthorIdOk ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) 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 (*SecurityMonitoringStandardRuleResponse) GetVersion ¶ added in v2.3.1

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringStandardRuleResponse) GetVersionOk ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) 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 (*SecurityMonitoringStandardRuleResponse) HasCases ¶ added in v2.3.1

HasCases returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasComplianceSignalOptions ¶ added in v2.6.0

func (o *SecurityMonitoringStandardRuleResponse) HasComplianceSignalOptions() bool

HasComplianceSignalOptions returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasCreatedAt ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasCreationAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) HasCreationAuthorId() bool

HasCreationAuthorId returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasDeprecationDate ¶ added in v2.8.0

func (o *SecurityMonitoringStandardRuleResponse) HasDeprecationDate() bool

HasDeprecationDate returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasFilters ¶ added in v2.3.1

HasFilters returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasHasExtendedTitle ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) HasHasExtendedTitle() bool

HasHasExtendedTitle returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasId ¶ added in v2.3.1

HasId returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasIsDefault ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) HasIsDefault() bool

HasIsDefault returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasIsDeleted ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) HasIsDeleted() bool

HasIsDeleted returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasIsEnabled ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasMessage ¶ added in v2.3.1

HasMessage returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasName ¶ added in v2.3.1

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasOptions ¶ added in v2.3.1

HasOptions returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasQueries ¶ added in v2.3.1

HasQueries returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasTags ¶ added in v2.3.1

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasType ¶ added in v2.3.1

HasType returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasUpdateAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) HasUpdateAuthorId() bool

HasUpdateAuthorId returns a boolean if a field has been set.

func (*SecurityMonitoringStandardRuleResponse) HasVersion ¶ added in v2.3.1

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringStandardRuleResponse) MarshalJSON ¶ added in v2.3.1

func (o SecurityMonitoringStandardRuleResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringStandardRuleResponse) SetCases ¶ added in v2.3.1

SetCases gets a reference to the given []SecurityMonitoringRuleCase and assigns it to the Cases field.

func (*SecurityMonitoringStandardRuleResponse) SetComplianceSignalOptions ¶ added in v2.6.0

SetComplianceSignalOptions gets a reference to the given CloudConfigurationRuleComplianceSignalOptions and assigns it to the ComplianceSignalOptions field.

func (*SecurityMonitoringStandardRuleResponse) SetCreatedAt ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*SecurityMonitoringStandardRuleResponse) SetCreationAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) SetCreationAuthorId(v int64)

SetCreationAuthorId gets a reference to the given int64 and assigns it to the CreationAuthorId field.

func (*SecurityMonitoringStandardRuleResponse) SetDeprecationDate ¶ added in v2.8.0

func (o *SecurityMonitoringStandardRuleResponse) SetDeprecationDate(v int64)

SetDeprecationDate gets a reference to the given int64 and assigns it to the DeprecationDate field.

func (*SecurityMonitoringStandardRuleResponse) SetFilters ¶ added in v2.3.1

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringStandardRuleResponse) SetHasExtendedTitle ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) SetHasExtendedTitle(v bool)

SetHasExtendedTitle gets a reference to the given bool and assigns it to the HasExtendedTitle field.

func (*SecurityMonitoringStandardRuleResponse) SetId ¶ added in v2.3.1

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityMonitoringStandardRuleResponse) SetIsDefault ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) SetIsDefault(v bool)

SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.

func (*SecurityMonitoringStandardRuleResponse) SetIsDeleted ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) SetIsDeleted(v bool)

SetIsDeleted gets a reference to the given bool and assigns it to the IsDeleted field.

func (*SecurityMonitoringStandardRuleResponse) SetIsEnabled ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityMonitoringStandardRuleResponse) SetMessage ¶ added in v2.3.1

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SecurityMonitoringStandardRuleResponse) SetName ¶ added in v2.3.1

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringStandardRuleResponse) SetOptions ¶ added in v2.3.1

SetOptions gets a reference to the given SecurityMonitoringRuleOptions and assigns it to the Options field.

func (*SecurityMonitoringStandardRuleResponse) SetQueries ¶ added in v2.3.1

SetQueries gets a reference to the given []SecurityMonitoringStandardRuleQuery and assigns it to the Queries field.

func (*SecurityMonitoringStandardRuleResponse) SetTags ¶ added in v2.3.1

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringStandardRuleResponse) SetType ¶ added in v2.3.1

SetType gets a reference to the given SecurityMonitoringRuleTypeRead and assigns it to the Type field.

func (*SecurityMonitoringStandardRuleResponse) SetUpdateAuthorId ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) SetUpdateAuthorId(v int64)

SetUpdateAuthorId gets a reference to the given int64 and assigns it to the UpdateAuthorId field.

func (*SecurityMonitoringStandardRuleResponse) SetVersion ¶ added in v2.3.1

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SecurityMonitoringStandardRuleResponse) UnmarshalJSON ¶ added in v2.3.1

func (o *SecurityMonitoringStandardRuleResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringTriageUser ¶

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 ¶

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 ¶

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 ¶

func (o *SecurityMonitoringTriageUser) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*SecurityMonitoringTriageUser) GetHandleOk ¶

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 ¶

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityMonitoringTriageUser) GetIdOk ¶

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 ¶

func (o *SecurityMonitoringTriageUser) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringTriageUser) GetNameOk ¶

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 ¶

func (o *SecurityMonitoringTriageUser) GetUuid() string

GetUuid returns the Uuid field value.

func (*SecurityMonitoringTriageUser) GetUuidOk ¶

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 ¶

func (o *SecurityMonitoringTriageUser) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*SecurityMonitoringTriageUser) HasId ¶

HasId returns a boolean if a field has been set.

func (*SecurityMonitoringTriageUser) HasName ¶

func (o *SecurityMonitoringTriageUser) HasName() bool

HasName returns a boolean if a field has been set.

func (SecurityMonitoringTriageUser) MarshalJSON ¶

func (o SecurityMonitoringTriageUser) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SecurityMonitoringTriageUser) SetHandle ¶

func (o *SecurityMonitoringTriageUser) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*SecurityMonitoringTriageUser) SetId ¶

func (o *SecurityMonitoringTriageUser) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*SecurityMonitoringTriageUser) SetName ¶

func (o *SecurityMonitoringTriageUser) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringTriageUser) SetUuid ¶

func (o *SecurityMonitoringTriageUser) SetUuid(v string)

SetUuid sets field value.

func (*SecurityMonitoringTriageUser) UnmarshalJSON ¶

func (o *SecurityMonitoringTriageUser) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerApi ¶ added in v2.6.0

type SensitiveDataScannerApi datadog.Service

SensitiveDataScannerApi service type

func NewSensitiveDataScannerApi ¶ added in v2.6.0

func NewSensitiveDataScannerApi(client *datadog.APIClient) *SensitiveDataScannerApi

NewSensitiveDataScannerApi Returns NewSensitiveDataScannerApi.

func (*SensitiveDataScannerApi) CreateScanningGroup ¶ added in v2.6.0

CreateScanningGroup Create Scanning Group. Create a scanning group. The request MAY include a configuration relationship. A rules relationship can be omitted entirely, but if it is included it MUST be null or an empty array (rules cannot be created at the same time). The new group will be ordered last within the configuration.

func (*SensitiveDataScannerApi) CreateScanningRule ¶ added in v2.6.0

CreateScanningRule Create Scanning Rule. Create a scanning rule in a sensitive data scanner group, ordered last. The posted rule MUST include a group relationship. It MUST include either a standard_pattern relationship or a regex attribute, but not both. If included_attributes is empty or missing, we will scan all attributes except excluded_attributes. If both are missing, we will scan the whole event.

func (*SensitiveDataScannerApi) DeleteScanningGroup ¶ added in v2.6.0

DeleteScanningGroup Delete Scanning Group. Delete a given group.

func (*SensitiveDataScannerApi) DeleteScanningRule ¶ added in v2.6.0

DeleteScanningRule Delete Scanning Rule. Delete a given rule.

func (*SensitiveDataScannerApi) ListScanningGroups ¶ added in v2.6.0

ListScanningGroups List Scanning Groups. List all the Scanning groups in your organization.

func (*SensitiveDataScannerApi) ListStandardPatterns ¶ added in v2.6.0

ListStandardPatterns List standard patterns. Returns all standard patterns.

func (*SensitiveDataScannerApi) ReorderScanningGroups ¶ added in v2.6.0

ReorderScanningGroups Reorder Groups. Reorder the list of groups.

func (*SensitiveDataScannerApi) UpdateScanningGroup ¶ added in v2.6.0

UpdateScanningGroup Update Scanning Group. Update a group, including the order of the rules. Rules within the group are reordered by including a rules relationship. If the rules relationship is present, its data section MUST contain linkages for all of the rules currently in the group, and MUST NOT contain any others.

func (*SensitiveDataScannerApi) UpdateScanningRule ¶ added in v2.6.0

UpdateScanningRule Update Scanning Rule. Update a scanning rule. The request body MUST NOT include a standard_pattern relationship, as that relationship is non-editable. Trying to edit the regex attribute of a rule with a standard_pattern relationship will also result in an error.

type SensitiveDataScannerConfigRequest ¶ added in v2.6.0

type SensitiveDataScannerConfigRequest struct {
	// Data related to the reordering of scanning groups.
	Data SensitiveDataScannerReorderConfig `json:"data"`
	// Meta payload containing information about the API.
	Meta SensitiveDataScannerMetaVersionOnly `json:"meta"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

SensitiveDataScannerConfigRequest Group reorder request.

func NewSensitiveDataScannerConfigRequest ¶ added in v2.6.0

NewSensitiveDataScannerConfigRequest instantiates a new SensitiveDataScannerConfigRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerConfigRequestWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerConfigRequestWithDefaults() *SensitiveDataScannerConfigRequest

NewSensitiveDataScannerConfigRequestWithDefaults instantiates a new SensitiveDataScannerConfigRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerConfigRequest) GetData ¶ added in v2.6.0

GetData returns the Data field value.

func (*SensitiveDataScannerConfigRequest) GetDataOk ¶ added in v2.6.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*SensitiveDataScannerConfigRequest) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value.

func (*SensitiveDataScannerConfigRequest) GetMetaOk ¶ added in v2.6.0

GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.

func (SensitiveDataScannerConfigRequest) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerConfigRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerConfigRequest) SetData ¶ added in v2.6.0

SetData sets field value.

func (*SensitiveDataScannerConfigRequest) SetMeta ¶ added in v2.6.0

SetMeta sets field value.

func (*SensitiveDataScannerConfigRequest) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerConfigRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerConfiguration ¶ added in v2.6.0

type SensitiveDataScannerConfiguration struct {
	// ID of the configuration.
	Id *string `json:"id,omitempty"`
	// Sensitive Data Scanner configuration type.
	Type *SensitiveDataScannerConfigurationType `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{}
}

SensitiveDataScannerConfiguration A Sensitive Data Scanner configuration.

func NewSensitiveDataScannerConfiguration ¶ added in v2.6.0

func NewSensitiveDataScannerConfiguration() *SensitiveDataScannerConfiguration

NewSensitiveDataScannerConfiguration instantiates a new SensitiveDataScannerConfiguration object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerConfigurationWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerConfigurationWithDefaults() *SensitiveDataScannerConfiguration

NewSensitiveDataScannerConfigurationWithDefaults instantiates a new SensitiveDataScannerConfiguration object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerConfiguration) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerConfiguration) GetIdOk ¶ added in v2.6.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 (*SensitiveDataScannerConfiguration) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerConfiguration) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerConfiguration) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerConfiguration) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerConfiguration) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerConfiguration) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerConfiguration) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerConfigurationType and assigns it to the Type field.

func (*SensitiveDataScannerConfiguration) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerConfiguration) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerConfigurationData ¶ added in v2.6.0

type SensitiveDataScannerConfigurationData struct {
	// A Sensitive Data Scanner configuration.
	Data *SensitiveDataScannerConfiguration `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{}
}

SensitiveDataScannerConfigurationData A Sensitive Data Scanner configuration data.

func NewSensitiveDataScannerConfigurationData ¶ added in v2.6.0

func NewSensitiveDataScannerConfigurationData() *SensitiveDataScannerConfigurationData

NewSensitiveDataScannerConfigurationData instantiates a new SensitiveDataScannerConfigurationData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerConfigurationDataWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerConfigurationDataWithDefaults() *SensitiveDataScannerConfigurationData

NewSensitiveDataScannerConfigurationDataWithDefaults instantiates a new SensitiveDataScannerConfigurationData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerConfigurationData) GetData ¶ added in v2.6.0

GetData returns the Data field value if set, zero value otherwise.

func (*SensitiveDataScannerConfigurationData) GetDataOk ¶ added in v2.6.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 (*SensitiveDataScannerConfigurationData) HasData ¶ added in v2.6.0

HasData returns a boolean if a field has been set.

func (SensitiveDataScannerConfigurationData) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerConfigurationData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerConfigurationData) SetData ¶ added in v2.6.0

SetData gets a reference to the given SensitiveDataScannerConfiguration and assigns it to the Data field.

func (*SensitiveDataScannerConfigurationData) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerConfigurationData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerConfigurationRelationships ¶ added in v2.6.0

type SensitiveDataScannerConfigurationRelationships struct {
	// List of groups, ordered.
	Groups *SensitiveDataScannerGroupList `json:"groups,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{}
}

SensitiveDataScannerConfigurationRelationships Relationships of the configuration.

func NewSensitiveDataScannerConfigurationRelationships ¶ added in v2.6.0

func NewSensitiveDataScannerConfigurationRelationships() *SensitiveDataScannerConfigurationRelationships

NewSensitiveDataScannerConfigurationRelationships instantiates a new SensitiveDataScannerConfigurationRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerConfigurationRelationshipsWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerConfigurationRelationshipsWithDefaults() *SensitiveDataScannerConfigurationRelationships

NewSensitiveDataScannerConfigurationRelationshipsWithDefaults instantiates a new SensitiveDataScannerConfigurationRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerConfigurationRelationships) GetGroups ¶ added in v2.6.0

GetGroups returns the Groups field value if set, zero value otherwise.

func (*SensitiveDataScannerConfigurationRelationships) GetGroupsOk ¶ added in v2.6.0

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerConfigurationRelationships) HasGroups ¶ added in v2.6.0

HasGroups returns a boolean if a field has been set.

func (SensitiveDataScannerConfigurationRelationships) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerConfigurationRelationships) SetGroups ¶ added in v2.6.0

SetGroups gets a reference to the given SensitiveDataScannerGroupList and assigns it to the Groups field.

func (*SensitiveDataScannerConfigurationRelationships) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerConfigurationRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerConfigurationType ¶ added in v2.6.0

type SensitiveDataScannerConfigurationType string

SensitiveDataScannerConfigurationType Sensitive Data Scanner configuration type.

const (
	SENSITIVEDATASCANNERCONFIGURATIONTYPE_SENSITIVE_DATA_SCANNER_CONFIGURATIONS SensitiveDataScannerConfigurationType = "sensitive_data_scanner_configuration"
)

List of SensitiveDataScannerConfigurationType.

func NewSensitiveDataScannerConfigurationTypeFromValue ¶ added in v2.6.0

func NewSensitiveDataScannerConfigurationTypeFromValue(v string) (*SensitiveDataScannerConfigurationType, error)

NewSensitiveDataScannerConfigurationTypeFromValue returns a pointer to a valid SensitiveDataScannerConfigurationType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SensitiveDataScannerConfigurationType) GetAllowedValues ¶ added in v2.6.0

GetAllowedValues reeturns the list of possible values.

func (SensitiveDataScannerConfigurationType) IsValid ¶ added in v2.6.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SensitiveDataScannerConfigurationType) Ptr ¶ added in v2.6.0

Ptr returns reference to SensitiveDataScannerConfigurationType value.

func (*SensitiveDataScannerConfigurationType) UnmarshalJSON ¶ added in v2.6.0

func (v *SensitiveDataScannerConfigurationType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerCreateGroupResponse ¶ added in v2.6.0

type SensitiveDataScannerCreateGroupResponse struct {
	// Response data related to the creation of a group.
	Data *SensitiveDataScannerGroupResponse `json:"data,omitempty"`
	// Meta payload containing information about the API.
	Meta *SensitiveDataScannerMetaVersionOnly `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{}
}

SensitiveDataScannerCreateGroupResponse Create group response.

func NewSensitiveDataScannerCreateGroupResponse ¶ added in v2.6.0

func NewSensitiveDataScannerCreateGroupResponse() *SensitiveDataScannerCreateGroupResponse

NewSensitiveDataScannerCreateGroupResponse instantiates a new SensitiveDataScannerCreateGroupResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerCreateGroupResponseWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerCreateGroupResponseWithDefaults() *SensitiveDataScannerCreateGroupResponse

NewSensitiveDataScannerCreateGroupResponseWithDefaults instantiates a new SensitiveDataScannerCreateGroupResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerCreateGroupResponse) GetData ¶ added in v2.6.0

GetData returns the Data field value if set, zero value otherwise.

func (*SensitiveDataScannerCreateGroupResponse) GetDataOk ¶ added in v2.6.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 (*SensitiveDataScannerCreateGroupResponse) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SensitiveDataScannerCreateGroupResponse) GetMetaOk ¶ added in v2.6.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 (*SensitiveDataScannerCreateGroupResponse) HasData ¶ added in v2.6.0

HasData returns a boolean if a field has been set.

func (*SensitiveDataScannerCreateGroupResponse) HasMeta ¶ added in v2.6.0

HasMeta returns a boolean if a field has been set.

func (SensitiveDataScannerCreateGroupResponse) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerCreateGroupResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerCreateGroupResponse) SetData ¶ added in v2.6.0

SetData gets a reference to the given SensitiveDataScannerGroupResponse and assigns it to the Data field.

func (*SensitiveDataScannerCreateGroupResponse) SetMeta ¶ added in v2.6.0

SetMeta gets a reference to the given SensitiveDataScannerMetaVersionOnly and assigns it to the Meta field.

func (*SensitiveDataScannerCreateGroupResponse) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerCreateGroupResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerCreateRuleResponse ¶ added in v2.6.0

type SensitiveDataScannerCreateRuleResponse struct {
	// Response data related to the creation of a rule.
	Data *SensitiveDataScannerRuleResponse `json:"data,omitempty"`
	// Meta payload containing information about the API.
	Meta *SensitiveDataScannerMetaVersionOnly `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{}
}

SensitiveDataScannerCreateRuleResponse Create rule response.

func NewSensitiveDataScannerCreateRuleResponse ¶ added in v2.6.0

func NewSensitiveDataScannerCreateRuleResponse() *SensitiveDataScannerCreateRuleResponse

NewSensitiveDataScannerCreateRuleResponse instantiates a new SensitiveDataScannerCreateRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerCreateRuleResponseWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerCreateRuleResponseWithDefaults() *SensitiveDataScannerCreateRuleResponse

NewSensitiveDataScannerCreateRuleResponseWithDefaults instantiates a new SensitiveDataScannerCreateRuleResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerCreateRuleResponse) GetData ¶ added in v2.6.0

GetData returns the Data field value if set, zero value otherwise.

func (*SensitiveDataScannerCreateRuleResponse) GetDataOk ¶ added in v2.6.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 (*SensitiveDataScannerCreateRuleResponse) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SensitiveDataScannerCreateRuleResponse) GetMetaOk ¶ added in v2.6.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 (*SensitiveDataScannerCreateRuleResponse) HasData ¶ added in v2.6.0

HasData returns a boolean if a field has been set.

func (*SensitiveDataScannerCreateRuleResponse) HasMeta ¶ added in v2.6.0

HasMeta returns a boolean if a field has been set.

func (SensitiveDataScannerCreateRuleResponse) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerCreateRuleResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerCreateRuleResponse) SetData ¶ added in v2.6.0

SetData gets a reference to the given SensitiveDataScannerRuleResponse and assigns it to the Data field.

func (*SensitiveDataScannerCreateRuleResponse) SetMeta ¶ added in v2.6.0

SetMeta gets a reference to the given SensitiveDataScannerMetaVersionOnly and assigns it to the Meta field.

func (*SensitiveDataScannerCreateRuleResponse) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerCreateRuleResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerFilter ¶ added in v2.6.0

type SensitiveDataScannerFilter struct {
	// Query to filter the events.
	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{}
}

SensitiveDataScannerFilter Filter for the Scanning Group.

func NewSensitiveDataScannerFilter ¶ added in v2.6.0

func NewSensitiveDataScannerFilter() *SensitiveDataScannerFilter

NewSensitiveDataScannerFilter instantiates a new SensitiveDataScannerFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerFilterWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerFilterWithDefaults() *SensitiveDataScannerFilter

NewSensitiveDataScannerFilterWithDefaults instantiates a new SensitiveDataScannerFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerFilter) GetQuery ¶ added in v2.6.0

func (o *SensitiveDataScannerFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*SensitiveDataScannerFilter) GetQueryOk ¶ added in v2.6.0

func (o *SensitiveDataScannerFilter) 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 (*SensitiveDataScannerFilter) HasQuery ¶ added in v2.6.0

func (o *SensitiveDataScannerFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (SensitiveDataScannerFilter) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerFilter) SetQuery ¶ added in v2.6.0

func (o *SensitiveDataScannerFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SensitiveDataScannerFilter) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGetConfigIncludedItem ¶ added in v2.6.0

type SensitiveDataScannerGetConfigIncludedItem struct {
	SensitiveDataScannerRuleIncludedItem  *SensitiveDataScannerRuleIncludedItem
	SensitiveDataScannerGroupIncludedItem *SensitiveDataScannerGroupIncludedItem

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

SensitiveDataScannerGetConfigIncludedItem - An object related to the configuration.

func SensitiveDataScannerGroupIncludedItemAsSensitiveDataScannerGetConfigIncludedItem ¶ added in v2.6.0

func SensitiveDataScannerGroupIncludedItemAsSensitiveDataScannerGetConfigIncludedItem(v *SensitiveDataScannerGroupIncludedItem) SensitiveDataScannerGetConfigIncludedItem

SensitiveDataScannerGroupIncludedItemAsSensitiveDataScannerGetConfigIncludedItem is a convenience function that returns SensitiveDataScannerGroupIncludedItem wrapped in SensitiveDataScannerGetConfigIncludedItem.

func SensitiveDataScannerRuleIncludedItemAsSensitiveDataScannerGetConfigIncludedItem ¶ added in v2.6.0

func SensitiveDataScannerRuleIncludedItemAsSensitiveDataScannerGetConfigIncludedItem(v *SensitiveDataScannerRuleIncludedItem) SensitiveDataScannerGetConfigIncludedItem

SensitiveDataScannerRuleIncludedItemAsSensitiveDataScannerGetConfigIncludedItem is a convenience function that returns SensitiveDataScannerRuleIncludedItem wrapped in SensitiveDataScannerGetConfigIncludedItem.

func (*SensitiveDataScannerGetConfigIncludedItem) GetActualInstance ¶ added in v2.6.0

func (obj *SensitiveDataScannerGetConfigIncludedItem) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (SensitiveDataScannerGetConfigIncludedItem) MarshalJSON ¶ added in v2.6.0

func (obj SensitiveDataScannerGetConfigIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*SensitiveDataScannerGetConfigIncludedItem) UnmarshalJSON ¶ added in v2.6.0

func (obj *SensitiveDataScannerGetConfigIncludedItem) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type SensitiveDataScannerGetConfigResponse ¶ added in v2.6.0

type SensitiveDataScannerGetConfigResponse struct {
	// Response data related to the scanning groups.
	Data *SensitiveDataScannerGetConfigResponseData `json:"data,omitempty"`
	// Included objects from relationships.
	Included []SensitiveDataScannerGetConfigIncludedItem `json:"included,omitempty"`
	// Meta response containing information about the API.
	Meta *SensitiveDataScannerMeta `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{}
}

SensitiveDataScannerGetConfigResponse Get all groups response.

func NewSensitiveDataScannerGetConfigResponse ¶ added in v2.6.0

func NewSensitiveDataScannerGetConfigResponse() *SensitiveDataScannerGetConfigResponse

NewSensitiveDataScannerGetConfigResponse instantiates a new SensitiveDataScannerGetConfigResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGetConfigResponseWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGetConfigResponseWithDefaults() *SensitiveDataScannerGetConfigResponse

NewSensitiveDataScannerGetConfigResponseWithDefaults instantiates a new SensitiveDataScannerGetConfigResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGetConfigResponse) GetData ¶ added in v2.6.0

GetData returns the Data field value if set, zero value otherwise.

func (*SensitiveDataScannerGetConfigResponse) GetDataOk ¶ added in v2.6.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 (*SensitiveDataScannerGetConfigResponse) GetIncluded ¶ added in v2.6.0

GetIncluded returns the Included field value if set, zero value otherwise.

func (*SensitiveDataScannerGetConfigResponse) GetIncludedOk ¶ added in v2.6.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 (*SensitiveDataScannerGetConfigResponse) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SensitiveDataScannerGetConfigResponse) GetMetaOk ¶ added in v2.6.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 (*SensitiveDataScannerGetConfigResponse) HasData ¶ added in v2.6.0

HasData returns a boolean if a field has been set.

func (*SensitiveDataScannerGetConfigResponse) HasIncluded ¶ added in v2.6.0

HasIncluded returns a boolean if a field has been set.

func (*SensitiveDataScannerGetConfigResponse) HasMeta ¶ added in v2.6.0

HasMeta returns a boolean if a field has been set.

func (SensitiveDataScannerGetConfigResponse) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGetConfigResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGetConfigResponse) SetData ¶ added in v2.6.0

SetData gets a reference to the given SensitiveDataScannerGetConfigResponseData and assigns it to the Data field.

func (*SensitiveDataScannerGetConfigResponse) SetIncluded ¶ added in v2.6.0

SetIncluded gets a reference to the given []SensitiveDataScannerGetConfigIncludedItem and assigns it to the Included field.

func (*SensitiveDataScannerGetConfigResponse) SetMeta ¶ added in v2.6.0

SetMeta gets a reference to the given SensitiveDataScannerMeta and assigns it to the Meta field.

func (*SensitiveDataScannerGetConfigResponse) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGetConfigResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGetConfigResponseData ¶ added in v2.6.0

type SensitiveDataScannerGetConfigResponseData struct {
	// ID of the configuration.
	Id *string `json:"id,omitempty"`
	// Relationships of the configuration.
	Relationships *SensitiveDataScannerConfigurationRelationships `json:"relationships,omitempty"`
	// Sensitive Data Scanner configuration type.
	Type *SensitiveDataScannerConfigurationType `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{}
}

SensitiveDataScannerGetConfigResponseData Response data related to the scanning groups.

func NewSensitiveDataScannerGetConfigResponseData ¶ added in v2.6.0

func NewSensitiveDataScannerGetConfigResponseData() *SensitiveDataScannerGetConfigResponseData

NewSensitiveDataScannerGetConfigResponseData instantiates a new SensitiveDataScannerGetConfigResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGetConfigResponseDataWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGetConfigResponseDataWithDefaults() *SensitiveDataScannerGetConfigResponseData

NewSensitiveDataScannerGetConfigResponseDataWithDefaults instantiates a new SensitiveDataScannerGetConfigResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGetConfigResponseData) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerGetConfigResponseData) GetIdOk ¶ added in v2.6.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 (*SensitiveDataScannerGetConfigResponseData) GetRelationships ¶ added in v2.6.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*SensitiveDataScannerGetConfigResponseData) GetRelationshipsOk ¶ added in v2.6.0

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 (*SensitiveDataScannerGetConfigResponseData) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerGetConfigResponseData) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerGetConfigResponseData) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerGetConfigResponseData) HasRelationships ¶ added in v2.6.0

func (o *SensitiveDataScannerGetConfigResponseData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*SensitiveDataScannerGetConfigResponseData) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerGetConfigResponseData) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGetConfigResponseData) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerGetConfigResponseData) SetRelationships ¶ added in v2.6.0

SetRelationships gets a reference to the given SensitiveDataScannerConfigurationRelationships and assigns it to the Relationships field.

func (*SensitiveDataScannerGetConfigResponseData) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerConfigurationType and assigns it to the Type field.

func (*SensitiveDataScannerGetConfigResponseData) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGetConfigResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroup ¶ added in v2.6.0

type SensitiveDataScannerGroup struct {
	// ID of the group.
	Id *string `json:"id,omitempty"`
	// Sensitive Data Scanner group type.
	Type *SensitiveDataScannerGroupType `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{}
}

SensitiveDataScannerGroup A scanning group.

func NewSensitiveDataScannerGroup ¶ added in v2.6.0

func NewSensitiveDataScannerGroup() *SensitiveDataScannerGroup

NewSensitiveDataScannerGroup instantiates a new SensitiveDataScannerGroup object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupWithDefaults() *SensitiveDataScannerGroup

NewSensitiveDataScannerGroupWithDefaults instantiates a new SensitiveDataScannerGroup object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroup) GetId ¶ added in v2.6.0

func (o *SensitiveDataScannerGroup) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerGroup) GetIdOk ¶ added in v2.6.0

func (o *SensitiveDataScannerGroup) 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 (*SensitiveDataScannerGroup) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerGroup) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerGroup) HasId ¶ added in v2.6.0

func (o *SensitiveDataScannerGroup) HasId() bool

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerGroup) HasType ¶ added in v2.6.0

func (o *SensitiveDataScannerGroup) HasType() bool

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerGroup) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroup) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroup) SetId ¶ added in v2.6.0

func (o *SensitiveDataScannerGroup) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerGroup) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerGroupType and assigns it to the Type field.

func (*SensitiveDataScannerGroup) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroup) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupAttributes ¶ added in v2.6.0

type SensitiveDataScannerGroupAttributes struct {
	// Description of the group.
	Description *string `json:"description,omitempty"`
	// Filter for the Scanning Group.
	Filter *SensitiveDataScannerFilter `json:"filter,omitempty"`
	// Whether or not the group is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the group.
	Name *string `json:"name,omitempty"`
	// List of products the scanning group applies.
	ProductList []SensitiveDataScannerProduct `json:"product_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{}
}

SensitiveDataScannerGroupAttributes Attributes of the Sensitive Data Scanner group.

func NewSensitiveDataScannerGroupAttributes ¶ added in v2.6.0

func NewSensitiveDataScannerGroupAttributes() *SensitiveDataScannerGroupAttributes

NewSensitiveDataScannerGroupAttributes instantiates a new SensitiveDataScannerGroupAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupAttributesWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupAttributesWithDefaults() *SensitiveDataScannerGroupAttributes

NewSensitiveDataScannerGroupAttributesWithDefaults instantiates a new SensitiveDataScannerGroupAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupAttributes) GetDescription ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupAttributes) GetDescriptionOk ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) 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 (*SensitiveDataScannerGroupAttributes) GetFilter ¶ added in v2.6.0

GetFilter returns the Filter field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupAttributes) GetFilterOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupAttributes) GetIsEnabled ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupAttributes) GetIsEnabledOk ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) 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 (*SensitiveDataScannerGroupAttributes) GetName ¶ added in v2.6.0

GetName returns the Name field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupAttributes) GetNameOk ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) 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 (*SensitiveDataScannerGroupAttributes) GetProductList ¶ added in v2.6.0

GetProductList returns the ProductList field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupAttributes) GetProductListOk ¶ added in v2.6.0

GetProductListOk returns a tuple with the ProductList field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerGroupAttributes) HasDescription ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupAttributes) HasFilter ¶ added in v2.6.0

HasFilter returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupAttributes) HasIsEnabled ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupAttributes) HasName ¶ added in v2.6.0

HasName returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupAttributes) HasProductList ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) HasProductList() bool

HasProductList returns a boolean if a field has been set.

func (SensitiveDataScannerGroupAttributes) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupAttributes) SetDescription ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SensitiveDataScannerGroupAttributes) SetFilter ¶ added in v2.6.0

SetFilter gets a reference to the given SensitiveDataScannerFilter and assigns it to the Filter field.

func (*SensitiveDataScannerGroupAttributes) SetIsEnabled ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SensitiveDataScannerGroupAttributes) SetName ¶ added in v2.6.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*SensitiveDataScannerGroupAttributes) SetProductList ¶ added in v2.6.0

SetProductList gets a reference to the given []SensitiveDataScannerProduct and assigns it to the ProductList field.

func (*SensitiveDataScannerGroupAttributes) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupCreate ¶ added in v2.6.0

type SensitiveDataScannerGroupCreate struct {
	// Attributes of the Sensitive Data Scanner group.
	Attributes SensitiveDataScannerGroupAttributes `json:"attributes"`
	// Relationships of the group.
	Relationships *SensitiveDataScannerGroupRelationships `json:"relationships,omitempty"`
	// Sensitive Data Scanner group type.
	Type SensitiveDataScannerGroupType `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{}
}

SensitiveDataScannerGroupCreate Data related to the creation of a group.

func NewSensitiveDataScannerGroupCreate ¶ added in v2.6.0

func NewSensitiveDataScannerGroupCreate(attributes SensitiveDataScannerGroupAttributes, typeVar SensitiveDataScannerGroupType) *SensitiveDataScannerGroupCreate

NewSensitiveDataScannerGroupCreate instantiates a new SensitiveDataScannerGroupCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupCreateWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupCreateWithDefaults() *SensitiveDataScannerGroupCreate

NewSensitiveDataScannerGroupCreateWithDefaults instantiates a new SensitiveDataScannerGroupCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupCreate) GetAttributes ¶ added in v2.6.0

GetAttributes returns the Attributes field value.

func (*SensitiveDataScannerGroupCreate) GetAttributesOk ¶ added in v2.6.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*SensitiveDataScannerGroupCreate) GetRelationships ¶ added in v2.6.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupCreate) GetRelationshipsOk ¶ added in v2.6.0

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 (*SensitiveDataScannerGroupCreate) GetType ¶ added in v2.6.0

GetType returns the Type field value.

func (*SensitiveDataScannerGroupCreate) GetTypeOk ¶ added in v2.6.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SensitiveDataScannerGroupCreate) HasRelationships ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupCreate) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (SensitiveDataScannerGroupCreate) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupCreate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupCreate) SetAttributes ¶ added in v2.6.0

SetAttributes sets field value.

func (*SensitiveDataScannerGroupCreate) SetRelationships ¶ added in v2.6.0

SetRelationships gets a reference to the given SensitiveDataScannerGroupRelationships and assigns it to the Relationships field.

func (*SensitiveDataScannerGroupCreate) SetType ¶ added in v2.6.0

SetType sets field value.

func (*SensitiveDataScannerGroupCreate) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupCreate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupCreateRequest ¶ added in v2.6.0

type SensitiveDataScannerGroupCreateRequest struct {
	// Data related to the creation of a group.
	Data *SensitiveDataScannerGroupCreate `json:"data,omitempty"`
	// Meta payload containing information about the API.
	Meta *SensitiveDataScannerMetaVersionOnly `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{}
}

SensitiveDataScannerGroupCreateRequest Create group request.

func NewSensitiveDataScannerGroupCreateRequest ¶ added in v2.6.0

func NewSensitiveDataScannerGroupCreateRequest() *SensitiveDataScannerGroupCreateRequest

NewSensitiveDataScannerGroupCreateRequest instantiates a new SensitiveDataScannerGroupCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupCreateRequestWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupCreateRequestWithDefaults() *SensitiveDataScannerGroupCreateRequest

NewSensitiveDataScannerGroupCreateRequestWithDefaults instantiates a new SensitiveDataScannerGroupCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupCreateRequest) GetData ¶ added in v2.6.0

GetData returns the Data field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupCreateRequest) GetDataOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupCreateRequest) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupCreateRequest) GetMetaOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupCreateRequest) HasData ¶ added in v2.6.0

HasData returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupCreateRequest) HasMeta ¶ added in v2.6.0

HasMeta returns a boolean if a field has been set.

func (SensitiveDataScannerGroupCreateRequest) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupCreateRequest) SetData ¶ added in v2.6.0

SetData gets a reference to the given SensitiveDataScannerGroupCreate and assigns it to the Data field.

func (*SensitiveDataScannerGroupCreateRequest) SetMeta ¶ added in v2.6.0

SetMeta gets a reference to the given SensitiveDataScannerMetaVersionOnly and assigns it to the Meta field.

func (*SensitiveDataScannerGroupCreateRequest) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupData ¶ added in v2.6.0

type SensitiveDataScannerGroupData struct {
	// A scanning group.
	Data *SensitiveDataScannerGroup `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{}
}

SensitiveDataScannerGroupData A scanning group data.

func NewSensitiveDataScannerGroupData ¶ added in v2.6.0

func NewSensitiveDataScannerGroupData() *SensitiveDataScannerGroupData

NewSensitiveDataScannerGroupData instantiates a new SensitiveDataScannerGroupData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupDataWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupDataWithDefaults() *SensitiveDataScannerGroupData

NewSensitiveDataScannerGroupDataWithDefaults instantiates a new SensitiveDataScannerGroupData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupData) GetData ¶ added in v2.6.0

GetData returns the Data field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupData) GetDataOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupData) HasData ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupData) HasData() bool

HasData returns a boolean if a field has been set.

func (SensitiveDataScannerGroupData) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupData) SetData ¶ added in v2.6.0

SetData gets a reference to the given SensitiveDataScannerGroup and assigns it to the Data field.

func (*SensitiveDataScannerGroupData) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupDeleteRequest ¶ added in v2.6.0

type SensitiveDataScannerGroupDeleteRequest struct {
	// Meta payload containing information about the API.
	Meta SensitiveDataScannerMetaVersionOnly `json:"meta"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

SensitiveDataScannerGroupDeleteRequest Delete group request.

func NewSensitiveDataScannerGroupDeleteRequest ¶ added in v2.6.0

func NewSensitiveDataScannerGroupDeleteRequest(meta SensitiveDataScannerMetaVersionOnly) *SensitiveDataScannerGroupDeleteRequest

NewSensitiveDataScannerGroupDeleteRequest instantiates a new SensitiveDataScannerGroupDeleteRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupDeleteRequestWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupDeleteRequestWithDefaults() *SensitiveDataScannerGroupDeleteRequest

NewSensitiveDataScannerGroupDeleteRequestWithDefaults instantiates a new SensitiveDataScannerGroupDeleteRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupDeleteRequest) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value.

func (*SensitiveDataScannerGroupDeleteRequest) GetMetaOk ¶ added in v2.6.0

GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.

func (SensitiveDataScannerGroupDeleteRequest) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupDeleteRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupDeleteRequest) SetMeta ¶ added in v2.6.0

SetMeta sets field value.

func (*SensitiveDataScannerGroupDeleteRequest) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupDeleteRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupDeleteResponse ¶ added in v2.6.0

type SensitiveDataScannerGroupDeleteResponse struct {
	// Meta payload containing information about the API.
	Meta *SensitiveDataScannerMetaVersionOnly `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{}
}

SensitiveDataScannerGroupDeleteResponse Delete group response.

func NewSensitiveDataScannerGroupDeleteResponse ¶ added in v2.6.0

func NewSensitiveDataScannerGroupDeleteResponse() *SensitiveDataScannerGroupDeleteResponse

NewSensitiveDataScannerGroupDeleteResponse instantiates a new SensitiveDataScannerGroupDeleteResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupDeleteResponseWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupDeleteResponseWithDefaults() *SensitiveDataScannerGroupDeleteResponse

NewSensitiveDataScannerGroupDeleteResponseWithDefaults instantiates a new SensitiveDataScannerGroupDeleteResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupDeleteResponse) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupDeleteResponse) GetMetaOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupDeleteResponse) HasMeta ¶ added in v2.6.0

HasMeta returns a boolean if a field has been set.

func (SensitiveDataScannerGroupDeleteResponse) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupDeleteResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupDeleteResponse) SetMeta ¶ added in v2.6.0

SetMeta gets a reference to the given SensitiveDataScannerMetaVersionOnly and assigns it to the Meta field.

func (*SensitiveDataScannerGroupDeleteResponse) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupDeleteResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupIncludedItem ¶ added in v2.6.0

type SensitiveDataScannerGroupIncludedItem struct {
	// Attributes of the Sensitive Data Scanner group.
	Attributes *SensitiveDataScannerGroupAttributes `json:"attributes,omitempty"`
	// ID of the group.
	Id *string `json:"id,omitempty"`
	// Relationships of the group.
	Relationships *SensitiveDataScannerGroupRelationships `json:"relationships,omitempty"`
	// Sensitive Data Scanner group type.
	Type *SensitiveDataScannerGroupType `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{}
}

SensitiveDataScannerGroupIncludedItem A Scanning Group included item.

func NewSensitiveDataScannerGroupIncludedItem ¶ added in v2.6.0

func NewSensitiveDataScannerGroupIncludedItem() *SensitiveDataScannerGroupIncludedItem

NewSensitiveDataScannerGroupIncludedItem instantiates a new SensitiveDataScannerGroupIncludedItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupIncludedItemWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupIncludedItemWithDefaults() *SensitiveDataScannerGroupIncludedItem

NewSensitiveDataScannerGroupIncludedItemWithDefaults instantiates a new SensitiveDataScannerGroupIncludedItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupIncludedItem) GetAttributes ¶ added in v2.6.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupIncludedItem) GetAttributesOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupIncludedItem) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupIncludedItem) GetIdOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupIncludedItem) GetRelationships ¶ added in v2.6.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupIncludedItem) GetRelationshipsOk ¶ added in v2.6.0

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 (*SensitiveDataScannerGroupIncludedItem) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupIncludedItem) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupIncludedItem) HasAttributes ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupIncludedItem) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupIncludedItem) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupIncludedItem) HasRelationships ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupIncludedItem) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupIncludedItem) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerGroupIncludedItem) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupIncludedItem) SetAttributes ¶ added in v2.6.0

SetAttributes gets a reference to the given SensitiveDataScannerGroupAttributes and assigns it to the Attributes field.

func (*SensitiveDataScannerGroupIncludedItem) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerGroupIncludedItem) SetRelationships ¶ added in v2.6.0

SetRelationships gets a reference to the given SensitiveDataScannerGroupRelationships and assigns it to the Relationships field.

func (*SensitiveDataScannerGroupIncludedItem) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerGroupType and assigns it to the Type field.

func (*SensitiveDataScannerGroupIncludedItem) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupIncludedItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupItem ¶ added in v2.6.0

type SensitiveDataScannerGroupItem struct {
	// ID of the group.
	Id *string `json:"id,omitempty"`
	// Sensitive Data Scanner group type.
	Type *SensitiveDataScannerGroupType `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{}
}

SensitiveDataScannerGroupItem Data related to a Sensitive Data Scanner Group.

func NewSensitiveDataScannerGroupItem ¶ added in v2.6.0

func NewSensitiveDataScannerGroupItem() *SensitiveDataScannerGroupItem

NewSensitiveDataScannerGroupItem instantiates a new SensitiveDataScannerGroupItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupItemWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupItemWithDefaults() *SensitiveDataScannerGroupItem

NewSensitiveDataScannerGroupItemWithDefaults instantiates a new SensitiveDataScannerGroupItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupItem) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupItem) GetIdOk ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupItem) 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 (*SensitiveDataScannerGroupItem) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupItem) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupItem) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupItem) HasType ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupItem) HasType() bool

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerGroupItem) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupItem) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerGroupItem) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerGroupType and assigns it to the Type field.

func (*SensitiveDataScannerGroupItem) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupList ¶ added in v2.6.0

type SensitiveDataScannerGroupList struct {
	// List of groups. The order is important.
	Data []SensitiveDataScannerGroupItem `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{}
}

SensitiveDataScannerGroupList List of groups, ordered.

func NewSensitiveDataScannerGroupList ¶ added in v2.6.0

func NewSensitiveDataScannerGroupList() *SensitiveDataScannerGroupList

NewSensitiveDataScannerGroupList instantiates a new SensitiveDataScannerGroupList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupListWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupListWithDefaults() *SensitiveDataScannerGroupList

NewSensitiveDataScannerGroupListWithDefaults instantiates a new SensitiveDataScannerGroupList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupList) GetData ¶ added in v2.6.0

GetData returns the Data field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupList) GetDataOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupList) HasData ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupList) HasData() bool

HasData returns a boolean if a field has been set.

func (SensitiveDataScannerGroupList) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupList) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupList) SetData ¶ added in v2.6.0

SetData gets a reference to the given []SensitiveDataScannerGroupItem and assigns it to the Data field.

func (*SensitiveDataScannerGroupList) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupList) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupRelationships ¶ added in v2.6.0

type SensitiveDataScannerGroupRelationships struct {
	// A Sensitive Data Scanner configuration data.
	Configuration *SensitiveDataScannerConfigurationData `json:"configuration,omitempty"`
	// Rules included in the group.
	Rules *SensitiveDataScannerRuleData `json:"rules,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{}
}

SensitiveDataScannerGroupRelationships Relationships of the group.

func NewSensitiveDataScannerGroupRelationships ¶ added in v2.6.0

func NewSensitiveDataScannerGroupRelationships() *SensitiveDataScannerGroupRelationships

NewSensitiveDataScannerGroupRelationships instantiates a new SensitiveDataScannerGroupRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupRelationshipsWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupRelationshipsWithDefaults() *SensitiveDataScannerGroupRelationships

NewSensitiveDataScannerGroupRelationshipsWithDefaults instantiates a new SensitiveDataScannerGroupRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupRelationships) GetConfiguration ¶ added in v2.6.0

GetConfiguration returns the Configuration field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupRelationships) GetConfigurationOk ¶ added in v2.6.0

GetConfigurationOk returns a tuple with the Configuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerGroupRelationships) GetRules ¶ added in v2.6.0

GetRules returns the Rules field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupRelationships) GetRulesOk ¶ added in v2.6.0

GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerGroupRelationships) HasConfiguration ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupRelationships) HasConfiguration() bool

HasConfiguration returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupRelationships) HasRules ¶ added in v2.6.0

HasRules returns a boolean if a field has been set.

func (SensitiveDataScannerGroupRelationships) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupRelationships) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupRelationships) SetConfiguration ¶ added in v2.6.0

SetConfiguration gets a reference to the given SensitiveDataScannerConfigurationData and assigns it to the Configuration field.

func (*SensitiveDataScannerGroupRelationships) SetRules ¶ added in v2.6.0

SetRules gets a reference to the given SensitiveDataScannerRuleData and assigns it to the Rules field.

func (*SensitiveDataScannerGroupRelationships) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupResponse ¶ added in v2.6.0

type SensitiveDataScannerGroupResponse struct {
	// Attributes of the Sensitive Data Scanner group.
	Attributes *SensitiveDataScannerGroupAttributes `json:"attributes,omitempty"`
	// ID of the group.
	Id *string `json:"id,omitempty"`
	// Relationships of the group.
	Relationships *SensitiveDataScannerGroupRelationships `json:"relationships,omitempty"`
	// Sensitive Data Scanner group type.
	Type *SensitiveDataScannerGroupType `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{}
}

SensitiveDataScannerGroupResponse Response data related to the creation of a group.

func NewSensitiveDataScannerGroupResponse ¶ added in v2.6.0

func NewSensitiveDataScannerGroupResponse() *SensitiveDataScannerGroupResponse

NewSensitiveDataScannerGroupResponse instantiates a new SensitiveDataScannerGroupResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupResponseWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupResponseWithDefaults() *SensitiveDataScannerGroupResponse

NewSensitiveDataScannerGroupResponseWithDefaults instantiates a new SensitiveDataScannerGroupResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupResponse) GetAttributes ¶ added in v2.6.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupResponse) GetAttributesOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupResponse) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupResponse) GetIdOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupResponse) GetRelationships ¶ added in v2.6.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupResponse) GetRelationshipsOk ¶ added in v2.6.0

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 (*SensitiveDataScannerGroupResponse) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupResponse) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupResponse) HasAttributes ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupResponse) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupResponse) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupResponse) HasRelationships ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupResponse) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupResponse) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerGroupResponse) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupResponse) SetAttributes ¶ added in v2.6.0

SetAttributes gets a reference to the given SensitiveDataScannerGroupAttributes and assigns it to the Attributes field.

func (*SensitiveDataScannerGroupResponse) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerGroupResponse) SetRelationships ¶ added in v2.6.0

SetRelationships gets a reference to the given SensitiveDataScannerGroupRelationships and assigns it to the Relationships field.

func (*SensitiveDataScannerGroupResponse) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerGroupType and assigns it to the Type field.

func (*SensitiveDataScannerGroupResponse) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupType ¶ added in v2.6.0

type SensitiveDataScannerGroupType string

SensitiveDataScannerGroupType Sensitive Data Scanner group type.

const (
	SENSITIVEDATASCANNERGROUPTYPE_SENSITIVE_DATA_SCANNER_GROUP SensitiveDataScannerGroupType = "sensitive_data_scanner_group"
)

List of SensitiveDataScannerGroupType.

func NewSensitiveDataScannerGroupTypeFromValue ¶ added in v2.6.0

func NewSensitiveDataScannerGroupTypeFromValue(v string) (*SensitiveDataScannerGroupType, error)

NewSensitiveDataScannerGroupTypeFromValue returns a pointer to a valid SensitiveDataScannerGroupType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SensitiveDataScannerGroupType) GetAllowedValues ¶ added in v2.6.0

GetAllowedValues reeturns the list of possible values.

func (SensitiveDataScannerGroupType) IsValid ¶ added in v2.6.0

func (v SensitiveDataScannerGroupType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SensitiveDataScannerGroupType) Ptr ¶ added in v2.6.0

Ptr returns reference to SensitiveDataScannerGroupType value.

func (*SensitiveDataScannerGroupType) UnmarshalJSON ¶ added in v2.6.0

func (v *SensitiveDataScannerGroupType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupUpdate ¶ added in v2.6.0

type SensitiveDataScannerGroupUpdate struct {
	// Attributes of the Sensitive Data Scanner group.
	Attributes *SensitiveDataScannerGroupAttributes `json:"attributes,omitempty"`
	// ID of the group.
	Id *string `json:"id,omitempty"`
	// Relationships of the group.
	Relationships *SensitiveDataScannerGroupRelationships `json:"relationships,omitempty"`
	// Sensitive Data Scanner group type.
	Type *SensitiveDataScannerGroupType `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{}
}

SensitiveDataScannerGroupUpdate Data related to the update of a group.

func NewSensitiveDataScannerGroupUpdate ¶ added in v2.6.0

func NewSensitiveDataScannerGroupUpdate() *SensitiveDataScannerGroupUpdate

NewSensitiveDataScannerGroupUpdate instantiates a new SensitiveDataScannerGroupUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupUpdateWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupUpdateWithDefaults() *SensitiveDataScannerGroupUpdate

NewSensitiveDataScannerGroupUpdateWithDefaults instantiates a new SensitiveDataScannerGroupUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupUpdate) GetAttributes ¶ added in v2.6.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupUpdate) GetAttributesOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupUpdate) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupUpdate) GetIdOk ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupUpdate) 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 (*SensitiveDataScannerGroupUpdate) GetRelationships ¶ added in v2.6.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupUpdate) GetRelationshipsOk ¶ added in v2.6.0

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 (*SensitiveDataScannerGroupUpdate) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupUpdate) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupUpdate) HasAttributes ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupUpdate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupUpdate) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupUpdate) HasRelationships ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupUpdate) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*SensitiveDataScannerGroupUpdate) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerGroupUpdate) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupUpdate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupUpdate) SetAttributes ¶ added in v2.6.0

SetAttributes gets a reference to the given SensitiveDataScannerGroupAttributes and assigns it to the Attributes field.

func (*SensitiveDataScannerGroupUpdate) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerGroupUpdate) SetRelationships ¶ added in v2.6.0

SetRelationships gets a reference to the given SensitiveDataScannerGroupRelationships and assigns it to the Relationships field.

func (*SensitiveDataScannerGroupUpdate) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerGroupType and assigns it to the Type field.

func (*SensitiveDataScannerGroupUpdate) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupUpdate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupUpdateRequest ¶ added in v2.6.0

type SensitiveDataScannerGroupUpdateRequest struct {
	// Data related to the update of a group.
	Data SensitiveDataScannerGroupUpdate `json:"data"`
	// Meta payload containing information about the API.
	Meta SensitiveDataScannerMetaVersionOnly `json:"meta"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

SensitiveDataScannerGroupUpdateRequest Update group request.

func NewSensitiveDataScannerGroupUpdateRequest ¶ added in v2.6.0

NewSensitiveDataScannerGroupUpdateRequest instantiates a new SensitiveDataScannerGroupUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupUpdateRequestWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupUpdateRequestWithDefaults() *SensitiveDataScannerGroupUpdateRequest

NewSensitiveDataScannerGroupUpdateRequestWithDefaults instantiates a new SensitiveDataScannerGroupUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupUpdateRequest) GetData ¶ added in v2.6.0

GetData returns the Data field value.

func (*SensitiveDataScannerGroupUpdateRequest) GetDataOk ¶ added in v2.6.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*SensitiveDataScannerGroupUpdateRequest) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value.

func (*SensitiveDataScannerGroupUpdateRequest) GetMetaOk ¶ added in v2.6.0

GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.

func (SensitiveDataScannerGroupUpdateRequest) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupUpdateRequest) SetData ¶ added in v2.6.0

SetData sets field value.

func (*SensitiveDataScannerGroupUpdateRequest) SetMeta ¶ added in v2.6.0

SetMeta sets field value.

func (*SensitiveDataScannerGroupUpdateRequest) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerGroupUpdateResponse ¶ added in v2.6.0

type SensitiveDataScannerGroupUpdateResponse struct {
	// Meta payload containing information about the API.
	Meta *SensitiveDataScannerMetaVersionOnly `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{}
}

SensitiveDataScannerGroupUpdateResponse Update group response.

func NewSensitiveDataScannerGroupUpdateResponse ¶ added in v2.6.0

func NewSensitiveDataScannerGroupUpdateResponse() *SensitiveDataScannerGroupUpdateResponse

NewSensitiveDataScannerGroupUpdateResponse instantiates a new SensitiveDataScannerGroupUpdateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerGroupUpdateResponseWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerGroupUpdateResponseWithDefaults() *SensitiveDataScannerGroupUpdateResponse

NewSensitiveDataScannerGroupUpdateResponseWithDefaults instantiates a new SensitiveDataScannerGroupUpdateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerGroupUpdateResponse) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SensitiveDataScannerGroupUpdateResponse) GetMetaOk ¶ added in v2.6.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 (*SensitiveDataScannerGroupUpdateResponse) HasMeta ¶ added in v2.6.0

HasMeta returns a boolean if a field has been set.

func (SensitiveDataScannerGroupUpdateResponse) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerGroupUpdateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerGroupUpdateResponse) SetMeta ¶ added in v2.6.0

SetMeta gets a reference to the given SensitiveDataScannerMetaVersionOnly and assigns it to the Meta field.

func (*SensitiveDataScannerGroupUpdateResponse) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerGroupUpdateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerMeta ¶ added in v2.6.0

type SensitiveDataScannerMeta struct {
	// Maximum number of scanning rules allowed for the org.
	CountLimit *int64 `json:"count_limit,omitempty"`
	// Maximum number of scanning groups allowed for the org.
	GroupCountLimit *int64 `json:"group_count_limit,omitempty"`
	// Whether or not scanned events are highlighted in Logs or RUM for the org.
	HasHighlightEnabled *bool `json:"has_highlight_enabled,omitempty"`
	// Whether or not the org is compliant to the payment card industry standard.
	IsPciCompliant *bool `json:"is_pci_compliant,omitempty"`
	// Version of the API.
	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{}
}

SensitiveDataScannerMeta Meta response containing information about the API.

func NewSensitiveDataScannerMeta ¶ added in v2.6.0

func NewSensitiveDataScannerMeta() *SensitiveDataScannerMeta

NewSensitiveDataScannerMeta instantiates a new SensitiveDataScannerMeta object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerMetaWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerMetaWithDefaults() *SensitiveDataScannerMeta

NewSensitiveDataScannerMetaWithDefaults instantiates a new SensitiveDataScannerMeta object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerMeta) GetCountLimit ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) GetCountLimit() int64

GetCountLimit returns the CountLimit field value if set, zero value otherwise.

func (*SensitiveDataScannerMeta) GetCountLimitOk ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) GetCountLimitOk() (*int64, bool)

GetCountLimitOk returns a tuple with the CountLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerMeta) GetGroupCountLimit ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) GetGroupCountLimit() int64

GetGroupCountLimit returns the GroupCountLimit field value if set, zero value otherwise.

func (*SensitiveDataScannerMeta) GetGroupCountLimitOk ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) GetGroupCountLimitOk() (*int64, bool)

GetGroupCountLimitOk returns a tuple with the GroupCountLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerMeta) GetHasHighlightEnabled ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) GetHasHighlightEnabled() bool

GetHasHighlightEnabled returns the HasHighlightEnabled field value if set, zero value otherwise.

func (*SensitiveDataScannerMeta) GetHasHighlightEnabledOk ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) GetHasHighlightEnabledOk() (*bool, bool)

GetHasHighlightEnabledOk returns a tuple with the HasHighlightEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerMeta) GetIsPciCompliant ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) GetIsPciCompliant() bool

GetIsPciCompliant returns the IsPciCompliant field value if set, zero value otherwise.

func (*SensitiveDataScannerMeta) GetIsPciCompliantOk ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) GetIsPciCompliantOk() (*bool, bool)

GetIsPciCompliantOk returns a tuple with the IsPciCompliant field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerMeta) GetVersion ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*SensitiveDataScannerMeta) GetVersionOk ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) 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 (*SensitiveDataScannerMeta) HasCountLimit ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) HasCountLimit() bool

HasCountLimit returns a boolean if a field has been set.

func (*SensitiveDataScannerMeta) HasGroupCountLimit ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) HasGroupCountLimit() bool

HasGroupCountLimit returns a boolean if a field has been set.

func (*SensitiveDataScannerMeta) HasHasHighlightEnabled ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) HasHasHighlightEnabled() bool

HasHasHighlightEnabled returns a boolean if a field has been set.

func (*SensitiveDataScannerMeta) HasIsPciCompliant ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) HasIsPciCompliant() bool

HasIsPciCompliant returns a boolean if a field has been set.

func (*SensitiveDataScannerMeta) HasVersion ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SensitiveDataScannerMeta) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerMeta) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerMeta) SetCountLimit ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) SetCountLimit(v int64)

SetCountLimit gets a reference to the given int64 and assigns it to the CountLimit field.

func (*SensitiveDataScannerMeta) SetGroupCountLimit ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) SetGroupCountLimit(v int64)

SetGroupCountLimit gets a reference to the given int64 and assigns it to the GroupCountLimit field.

func (*SensitiveDataScannerMeta) SetHasHighlightEnabled ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) SetHasHighlightEnabled(v bool)

SetHasHighlightEnabled gets a reference to the given bool and assigns it to the HasHighlightEnabled field.

func (*SensitiveDataScannerMeta) SetIsPciCompliant ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) SetIsPciCompliant(v bool)

SetIsPciCompliant gets a reference to the given bool and assigns it to the IsPciCompliant field.

func (*SensitiveDataScannerMeta) SetVersion ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SensitiveDataScannerMeta) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerMetaVersionOnly ¶ added in v2.6.0

type SensitiveDataScannerMetaVersionOnly struct {
	// Version of the API (optional).
	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{}
}

SensitiveDataScannerMetaVersionOnly Meta payload containing information about the API.

func NewSensitiveDataScannerMetaVersionOnly ¶ added in v2.6.0

func NewSensitiveDataScannerMetaVersionOnly() *SensitiveDataScannerMetaVersionOnly

NewSensitiveDataScannerMetaVersionOnly instantiates a new SensitiveDataScannerMetaVersionOnly object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerMetaVersionOnlyWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerMetaVersionOnlyWithDefaults() *SensitiveDataScannerMetaVersionOnly

NewSensitiveDataScannerMetaVersionOnlyWithDefaults instantiates a new SensitiveDataScannerMetaVersionOnly object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerMetaVersionOnly) GetVersion ¶ added in v2.6.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*SensitiveDataScannerMetaVersionOnly) GetVersionOk ¶ added in v2.6.0

func (o *SensitiveDataScannerMetaVersionOnly) 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 (*SensitiveDataScannerMetaVersionOnly) HasVersion ¶ added in v2.6.0

func (o *SensitiveDataScannerMetaVersionOnly) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SensitiveDataScannerMetaVersionOnly) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerMetaVersionOnly) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerMetaVersionOnly) SetVersion ¶ added in v2.6.0

func (o *SensitiveDataScannerMetaVersionOnly) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SensitiveDataScannerMetaVersionOnly) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerMetaVersionOnly) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerProduct ¶ added in v2.6.0

type SensitiveDataScannerProduct string

SensitiveDataScannerProduct Datadog product onto which Sensitive Data Scanner can be activated.

const (
	SENSITIVEDATASCANNERPRODUCT_LOGS   SensitiveDataScannerProduct = "logs"
	SENSITIVEDATASCANNERPRODUCT_RUM    SensitiveDataScannerProduct = "rum"
	SENSITIVEDATASCANNERPRODUCT_EVENTS SensitiveDataScannerProduct = "events"
	SENSITIVEDATASCANNERPRODUCT_APM    SensitiveDataScannerProduct = "apm"
)

List of SensitiveDataScannerProduct.

func NewSensitiveDataScannerProductFromValue ¶ added in v2.6.0

func NewSensitiveDataScannerProductFromValue(v string) (*SensitiveDataScannerProduct, error)

NewSensitiveDataScannerProductFromValue returns a pointer to a valid SensitiveDataScannerProduct for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SensitiveDataScannerProduct) GetAllowedValues ¶ added in v2.6.0

GetAllowedValues reeturns the list of possible values.

func (SensitiveDataScannerProduct) IsValid ¶ added in v2.6.0

func (v SensitiveDataScannerProduct) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SensitiveDataScannerProduct) Ptr ¶ added in v2.6.0

Ptr returns reference to SensitiveDataScannerProduct value.

func (*SensitiveDataScannerProduct) UnmarshalJSON ¶ added in v2.6.0

func (v *SensitiveDataScannerProduct) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerReorderConfig ¶ added in v2.6.0

type SensitiveDataScannerReorderConfig struct {
	// ID of the configuration.
	Id *string `json:"id,omitempty"`
	// Relationships of the configuration.
	Relationships *SensitiveDataScannerConfigurationRelationships `json:"relationships,omitempty"`
	// Sensitive Data Scanner configuration type.
	Type *SensitiveDataScannerConfigurationType `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{}
}

SensitiveDataScannerReorderConfig Data related to the reordering of scanning groups.

func NewSensitiveDataScannerReorderConfig ¶ added in v2.6.0

func NewSensitiveDataScannerReorderConfig() *SensitiveDataScannerReorderConfig

NewSensitiveDataScannerReorderConfig instantiates a new SensitiveDataScannerReorderConfig object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerReorderConfigWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerReorderConfigWithDefaults() *SensitiveDataScannerReorderConfig

NewSensitiveDataScannerReorderConfigWithDefaults instantiates a new SensitiveDataScannerReorderConfig object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerReorderConfig) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerReorderConfig) GetIdOk ¶ added in v2.6.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 (*SensitiveDataScannerReorderConfig) GetRelationships ¶ added in v2.6.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*SensitiveDataScannerReorderConfig) GetRelationshipsOk ¶ added in v2.6.0

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 (*SensitiveDataScannerReorderConfig) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerReorderConfig) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerReorderConfig) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerReorderConfig) HasRelationships ¶ added in v2.6.0

func (o *SensitiveDataScannerReorderConfig) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*SensitiveDataScannerReorderConfig) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerReorderConfig) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerReorderConfig) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerReorderConfig) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerReorderConfig) SetRelationships ¶ added in v2.6.0

SetRelationships gets a reference to the given SensitiveDataScannerConfigurationRelationships and assigns it to the Relationships field.

func (*SensitiveDataScannerReorderConfig) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerConfigurationType and assigns it to the Type field.

func (*SensitiveDataScannerReorderConfig) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerReorderConfig) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerReorderGroupsResponse ¶ added in v2.6.0

type SensitiveDataScannerReorderGroupsResponse struct {
	// Meta response containing information about the API.
	Meta *SensitiveDataScannerMeta `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{}
}

SensitiveDataScannerReorderGroupsResponse Group reorder response.

func NewSensitiveDataScannerReorderGroupsResponse ¶ added in v2.6.0

func NewSensitiveDataScannerReorderGroupsResponse() *SensitiveDataScannerReorderGroupsResponse

NewSensitiveDataScannerReorderGroupsResponse instantiates a new SensitiveDataScannerReorderGroupsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerReorderGroupsResponseWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerReorderGroupsResponseWithDefaults() *SensitiveDataScannerReorderGroupsResponse

NewSensitiveDataScannerReorderGroupsResponseWithDefaults instantiates a new SensitiveDataScannerReorderGroupsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerReorderGroupsResponse) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SensitiveDataScannerReorderGroupsResponse) GetMetaOk ¶ added in v2.6.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 (*SensitiveDataScannerReorderGroupsResponse) HasMeta ¶ added in v2.6.0

HasMeta returns a boolean if a field has been set.

func (SensitiveDataScannerReorderGroupsResponse) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerReorderGroupsResponse) SetMeta ¶ added in v2.6.0

SetMeta gets a reference to the given SensitiveDataScannerMeta and assigns it to the Meta field.

func (*SensitiveDataScannerReorderGroupsResponse) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerReorderGroupsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRule ¶ added in v2.6.0

type SensitiveDataScannerRule struct {
	// ID of the rule.
	Id *string `json:"id,omitempty"`
	// Sensitive Data Scanner rule type.
	Type *SensitiveDataScannerRuleType `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{}
}

SensitiveDataScannerRule Rule item included in the group.

func NewSensitiveDataScannerRule ¶ added in v2.6.0

func NewSensitiveDataScannerRule() *SensitiveDataScannerRule

NewSensitiveDataScannerRule instantiates a new SensitiveDataScannerRule object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleWithDefaults() *SensitiveDataScannerRule

NewSensitiveDataScannerRuleWithDefaults instantiates a new SensitiveDataScannerRule object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRule) GetId ¶ added in v2.6.0

func (o *SensitiveDataScannerRule) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerRule) GetIdOk ¶ added in v2.6.0

func (o *SensitiveDataScannerRule) 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 (*SensitiveDataScannerRule) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerRule) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerRule) HasId ¶ added in v2.6.0

func (o *SensitiveDataScannerRule) HasId() bool

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerRule) HasType ¶ added in v2.6.0

func (o *SensitiveDataScannerRule) HasType() bool

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerRule) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRule) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRule) SetId ¶ added in v2.6.0

func (o *SensitiveDataScannerRule) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerRule) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerRuleType and assigns it to the Type field.

func (*SensitiveDataScannerRule) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRule) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleAttributes ¶ added in v2.6.0

type SensitiveDataScannerRuleAttributes struct {
	// Description of the rule.
	Description *string `json:"description,omitempty"`
	// Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.
	ExcludedNamespaces []string `json:"excluded_namespaces,omitempty"`
	// Whether or not the rule is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the rule.
	Name *string `json:"name,omitempty"`
	// Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned.
	// If both are missing the whole event is scanned.
	Namespaces []string `json:"namespaces,omitempty"`
	// Not included if there is a relationship to a standard pattern.
	Pattern *string `json:"pattern,omitempty"`
	// List of tags.
	Tags []string `json:"tags,omitempty"`
	// Object describing how the scanned event will be replaced.
	TextReplacement *SensitiveDataScannerTextReplacement `json:"text_replacement,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{}
}

SensitiveDataScannerRuleAttributes Attributes of the Sensitive Data Scanner rule.

func NewSensitiveDataScannerRuleAttributes ¶ added in v2.6.0

func NewSensitiveDataScannerRuleAttributes() *SensitiveDataScannerRuleAttributes

NewSensitiveDataScannerRuleAttributes instantiates a new SensitiveDataScannerRuleAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleAttributesWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleAttributesWithDefaults() *SensitiveDataScannerRuleAttributes

NewSensitiveDataScannerRuleAttributesWithDefaults instantiates a new SensitiveDataScannerRuleAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleAttributes) GetDescription ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleAttributes) GetDescriptionOk ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) 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 (*SensitiveDataScannerRuleAttributes) GetExcludedNamespaces ¶ added in v2.8.0

func (o *SensitiveDataScannerRuleAttributes) GetExcludedNamespaces() []string

GetExcludedNamespaces returns the ExcludedNamespaces field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleAttributes) GetExcludedNamespacesOk ¶ added in v2.8.0

func (o *SensitiveDataScannerRuleAttributes) GetExcludedNamespacesOk() (*[]string, bool)

GetExcludedNamespacesOk returns a tuple with the ExcludedNamespaces field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerRuleAttributes) GetIsEnabled ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleAttributes) GetIsEnabledOk ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) 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 (*SensitiveDataScannerRuleAttributes) GetName ¶ added in v2.6.0

GetName returns the Name field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleAttributes) GetNameOk ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) 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 (*SensitiveDataScannerRuleAttributes) GetNamespaces ¶ added in v2.8.0

func (o *SensitiveDataScannerRuleAttributes) GetNamespaces() []string

GetNamespaces returns the Namespaces field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleAttributes) GetNamespacesOk ¶ added in v2.8.0

func (o *SensitiveDataScannerRuleAttributes) GetNamespacesOk() (*[]string, bool)

GetNamespacesOk returns a tuple with the Namespaces field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerRuleAttributes) GetPattern ¶ added in v2.6.0

GetPattern returns the Pattern field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleAttributes) GetPatternOk ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) GetPatternOk() (*string, bool)

GetPatternOk returns a tuple with the Pattern field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerRuleAttributes) GetTags ¶ added in v2.6.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleAttributes) GetTagsOk ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) 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 (*SensitiveDataScannerRuleAttributes) GetTextReplacement ¶ added in v2.6.0

GetTextReplacement returns the TextReplacement field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleAttributes) GetTextReplacementOk ¶ added in v2.6.0

GetTextReplacementOk returns a tuple with the TextReplacement field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerRuleAttributes) HasDescription ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleAttributes) HasExcludedNamespaces ¶ added in v2.8.0

func (o *SensitiveDataScannerRuleAttributes) HasExcludedNamespaces() bool

HasExcludedNamespaces returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleAttributes) HasIsEnabled ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleAttributes) HasName ¶ added in v2.6.0

HasName returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleAttributes) HasNamespaces ¶ added in v2.8.0

func (o *SensitiveDataScannerRuleAttributes) HasNamespaces() bool

HasNamespaces returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleAttributes) HasPattern ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) HasPattern() bool

HasPattern returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleAttributes) HasTags ¶ added in v2.6.0

HasTags returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleAttributes) HasTextReplacement ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) HasTextReplacement() bool

HasTextReplacement returns a boolean if a field has been set.

func (SensitiveDataScannerRuleAttributes) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleAttributes) SetDescription ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SensitiveDataScannerRuleAttributes) SetExcludedNamespaces ¶ added in v2.8.0

func (o *SensitiveDataScannerRuleAttributes) SetExcludedNamespaces(v []string)

SetExcludedNamespaces gets a reference to the given []string and assigns it to the ExcludedNamespaces field.

func (*SensitiveDataScannerRuleAttributes) SetIsEnabled ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SensitiveDataScannerRuleAttributes) SetName ¶ added in v2.6.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*SensitiveDataScannerRuleAttributes) SetNamespaces ¶ added in v2.8.0

func (o *SensitiveDataScannerRuleAttributes) SetNamespaces(v []string)

SetNamespaces gets a reference to the given []string and assigns it to the Namespaces field.

func (*SensitiveDataScannerRuleAttributes) SetPattern ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) SetPattern(v string)

SetPattern gets a reference to the given string and assigns it to the Pattern field.

func (*SensitiveDataScannerRuleAttributes) SetTags ¶ added in v2.6.0

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SensitiveDataScannerRuleAttributes) SetTextReplacement ¶ added in v2.6.0

SetTextReplacement gets a reference to the given SensitiveDataScannerTextReplacement and assigns it to the TextReplacement field.

func (*SensitiveDataScannerRuleAttributes) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleCreate ¶ added in v2.6.0

type SensitiveDataScannerRuleCreate struct {
	// Attributes of the Sensitive Data Scanner rule.
	Attributes SensitiveDataScannerRuleAttributes `json:"attributes"`
	// Relationships of a scanning rule.
	Relationships SensitiveDataScannerRuleRelationships `json:"relationships"`
	// Sensitive Data Scanner rule type.
	Type SensitiveDataScannerRuleType `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{}
}

SensitiveDataScannerRuleCreate Data related to the creation of a rule.

func NewSensitiveDataScannerRuleCreate ¶ added in v2.6.0

NewSensitiveDataScannerRuleCreate instantiates a new SensitiveDataScannerRuleCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleCreateWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleCreateWithDefaults() *SensitiveDataScannerRuleCreate

NewSensitiveDataScannerRuleCreateWithDefaults instantiates a new SensitiveDataScannerRuleCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleCreate) GetAttributes ¶ added in v2.6.0

GetAttributes returns the Attributes field value.

func (*SensitiveDataScannerRuleCreate) GetAttributesOk ¶ added in v2.6.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*SensitiveDataScannerRuleCreate) GetRelationships ¶ added in v2.6.0

GetRelationships returns the Relationships field value.

func (*SensitiveDataScannerRuleCreate) GetRelationshipsOk ¶ added in v2.6.0

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*SensitiveDataScannerRuleCreate) GetType ¶ added in v2.6.0

GetType returns the Type field value.

func (*SensitiveDataScannerRuleCreate) GetTypeOk ¶ added in v2.6.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (SensitiveDataScannerRuleCreate) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleCreate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleCreate) SetAttributes ¶ added in v2.6.0

SetAttributes sets field value.

func (*SensitiveDataScannerRuleCreate) SetRelationships ¶ added in v2.6.0

SetRelationships sets field value.

func (*SensitiveDataScannerRuleCreate) SetType ¶ added in v2.6.0

SetType sets field value.

func (*SensitiveDataScannerRuleCreate) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleCreate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleCreateRequest ¶ added in v2.6.0

type SensitiveDataScannerRuleCreateRequest struct {
	// Data related to the creation of a rule.
	Data SensitiveDataScannerRuleCreate `json:"data"`
	// Meta payload containing information about the API.
	Meta SensitiveDataScannerMetaVersionOnly `json:"meta"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

SensitiveDataScannerRuleCreateRequest Create rule request.

func NewSensitiveDataScannerRuleCreateRequest ¶ added in v2.6.0

NewSensitiveDataScannerRuleCreateRequest instantiates a new SensitiveDataScannerRuleCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleCreateRequestWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleCreateRequestWithDefaults() *SensitiveDataScannerRuleCreateRequest

NewSensitiveDataScannerRuleCreateRequestWithDefaults instantiates a new SensitiveDataScannerRuleCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleCreateRequest) GetData ¶ added in v2.6.0

GetData returns the Data field value.

func (*SensitiveDataScannerRuleCreateRequest) GetDataOk ¶ added in v2.6.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*SensitiveDataScannerRuleCreateRequest) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value.

func (*SensitiveDataScannerRuleCreateRequest) GetMetaOk ¶ added in v2.6.0

GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.

func (SensitiveDataScannerRuleCreateRequest) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleCreateRequest) SetData ¶ added in v2.6.0

SetData sets field value.

func (*SensitiveDataScannerRuleCreateRequest) SetMeta ¶ added in v2.6.0

SetMeta sets field value.

func (*SensitiveDataScannerRuleCreateRequest) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleData ¶ added in v2.6.0

type SensitiveDataScannerRuleData struct {
	// Rules included in the group. The order is important.
	Data []SensitiveDataScannerRule `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{}
}

SensitiveDataScannerRuleData Rules included in the group.

func NewSensitiveDataScannerRuleData ¶ added in v2.6.0

func NewSensitiveDataScannerRuleData() *SensitiveDataScannerRuleData

NewSensitiveDataScannerRuleData instantiates a new SensitiveDataScannerRuleData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleDataWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleDataWithDefaults() *SensitiveDataScannerRuleData

NewSensitiveDataScannerRuleDataWithDefaults instantiates a new SensitiveDataScannerRuleData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleData) GetData ¶ added in v2.6.0

GetData returns the Data field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleData) GetDataOk ¶ added in v2.6.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 (*SensitiveDataScannerRuleData) HasData ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleData) HasData() bool

HasData returns a boolean if a field has been set.

func (SensitiveDataScannerRuleData) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleData) SetData ¶ added in v2.6.0

SetData gets a reference to the given []SensitiveDataScannerRule and assigns it to the Data field.

func (*SensitiveDataScannerRuleData) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleDeleteRequest ¶ added in v2.6.0

type SensitiveDataScannerRuleDeleteRequest struct {
	// Meta payload containing information about the API.
	Meta SensitiveDataScannerMetaVersionOnly `json:"meta"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

SensitiveDataScannerRuleDeleteRequest Delete rule request.

func NewSensitiveDataScannerRuleDeleteRequest ¶ added in v2.6.0

func NewSensitiveDataScannerRuleDeleteRequest(meta SensitiveDataScannerMetaVersionOnly) *SensitiveDataScannerRuleDeleteRequest

NewSensitiveDataScannerRuleDeleteRequest instantiates a new SensitiveDataScannerRuleDeleteRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleDeleteRequestWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleDeleteRequestWithDefaults() *SensitiveDataScannerRuleDeleteRequest

NewSensitiveDataScannerRuleDeleteRequestWithDefaults instantiates a new SensitiveDataScannerRuleDeleteRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleDeleteRequest) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value.

func (*SensitiveDataScannerRuleDeleteRequest) GetMetaOk ¶ added in v2.6.0

GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.

func (SensitiveDataScannerRuleDeleteRequest) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleDeleteRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleDeleteRequest) SetMeta ¶ added in v2.6.0

SetMeta sets field value.

func (*SensitiveDataScannerRuleDeleteRequest) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleDeleteRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleDeleteResponse ¶ added in v2.6.0

type SensitiveDataScannerRuleDeleteResponse struct {
	// Meta payload containing information about the API.
	Meta *SensitiveDataScannerMetaVersionOnly `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{}
}

SensitiveDataScannerRuleDeleteResponse Delete rule response.

func NewSensitiveDataScannerRuleDeleteResponse ¶ added in v2.6.0

func NewSensitiveDataScannerRuleDeleteResponse() *SensitiveDataScannerRuleDeleteResponse

NewSensitiveDataScannerRuleDeleteResponse instantiates a new SensitiveDataScannerRuleDeleteResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleDeleteResponseWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleDeleteResponseWithDefaults() *SensitiveDataScannerRuleDeleteResponse

NewSensitiveDataScannerRuleDeleteResponseWithDefaults instantiates a new SensitiveDataScannerRuleDeleteResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleDeleteResponse) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleDeleteResponse) GetMetaOk ¶ added in v2.6.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 (*SensitiveDataScannerRuleDeleteResponse) HasMeta ¶ added in v2.6.0

HasMeta returns a boolean if a field has been set.

func (SensitiveDataScannerRuleDeleteResponse) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleDeleteResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleDeleteResponse) SetMeta ¶ added in v2.6.0

SetMeta gets a reference to the given SensitiveDataScannerMetaVersionOnly and assigns it to the Meta field.

func (*SensitiveDataScannerRuleDeleteResponse) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleDeleteResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleIncludedItem ¶ added in v2.6.0

type SensitiveDataScannerRuleIncludedItem struct {
	// Attributes of the Sensitive Data Scanner rule.
	Attributes *SensitiveDataScannerRuleAttributes `json:"attributes,omitempty"`
	// ID of the rule.
	Id *string `json:"id,omitempty"`
	// Relationships of a scanning rule.
	Relationships *SensitiveDataScannerRuleRelationships `json:"relationships,omitempty"`
	// Sensitive Data Scanner rule type.
	Type *SensitiveDataScannerRuleType `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{}
}

SensitiveDataScannerRuleIncludedItem A Scanning Rule included item.

func NewSensitiveDataScannerRuleIncludedItem ¶ added in v2.6.0

func NewSensitiveDataScannerRuleIncludedItem() *SensitiveDataScannerRuleIncludedItem

NewSensitiveDataScannerRuleIncludedItem instantiates a new SensitiveDataScannerRuleIncludedItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleIncludedItemWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleIncludedItemWithDefaults() *SensitiveDataScannerRuleIncludedItem

NewSensitiveDataScannerRuleIncludedItemWithDefaults instantiates a new SensitiveDataScannerRuleIncludedItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleIncludedItem) GetAttributes ¶ added in v2.6.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleIncludedItem) GetAttributesOk ¶ added in v2.6.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 (*SensitiveDataScannerRuleIncludedItem) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleIncludedItem) GetIdOk ¶ added in v2.6.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 (*SensitiveDataScannerRuleIncludedItem) GetRelationships ¶ added in v2.6.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleIncludedItem) GetRelationshipsOk ¶ added in v2.6.0

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 (*SensitiveDataScannerRuleIncludedItem) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleIncludedItem) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerRuleIncludedItem) HasAttributes ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleIncludedItem) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleIncludedItem) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleIncludedItem) HasRelationships ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleIncludedItem) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleIncludedItem) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerRuleIncludedItem) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleIncludedItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleIncludedItem) SetAttributes ¶ added in v2.6.0

SetAttributes gets a reference to the given SensitiveDataScannerRuleAttributes and assigns it to the Attributes field.

func (*SensitiveDataScannerRuleIncludedItem) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerRuleIncludedItem) SetRelationships ¶ added in v2.6.0

SetRelationships gets a reference to the given SensitiveDataScannerRuleRelationships and assigns it to the Relationships field.

func (*SensitiveDataScannerRuleIncludedItem) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerRuleType and assigns it to the Type field.

func (*SensitiveDataScannerRuleIncludedItem) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleIncludedItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleRelationships ¶ added in v2.6.0

type SensitiveDataScannerRuleRelationships struct {
	// A scanning group data.
	Group *SensitiveDataScannerGroupData `json:"group,omitempty"`
	// A standard pattern.
	StandardPattern *SensitiveDataScannerStandardPatternData `json:"standard_pattern,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{}
}

SensitiveDataScannerRuleRelationships Relationships of a scanning rule.

func NewSensitiveDataScannerRuleRelationships ¶ added in v2.6.0

func NewSensitiveDataScannerRuleRelationships() *SensitiveDataScannerRuleRelationships

NewSensitiveDataScannerRuleRelationships instantiates a new SensitiveDataScannerRuleRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleRelationshipsWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleRelationshipsWithDefaults() *SensitiveDataScannerRuleRelationships

NewSensitiveDataScannerRuleRelationshipsWithDefaults instantiates a new SensitiveDataScannerRuleRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleRelationships) GetGroup ¶ added in v2.6.0

GetGroup returns the Group field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleRelationships) GetGroupOk ¶ added in v2.6.0

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerRuleRelationships) GetStandardPattern ¶ added in v2.6.0

GetStandardPattern returns the StandardPattern field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleRelationships) GetStandardPatternOk ¶ added in v2.6.0

GetStandardPatternOk returns a tuple with the StandardPattern field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerRuleRelationships) HasGroup ¶ added in v2.6.0

HasGroup returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleRelationships) HasStandardPattern ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleRelationships) HasStandardPattern() bool

HasStandardPattern returns a boolean if a field has been set.

func (SensitiveDataScannerRuleRelationships) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleRelationships) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleRelationships) SetGroup ¶ added in v2.6.0

SetGroup gets a reference to the given SensitiveDataScannerGroupData and assigns it to the Group field.

func (*SensitiveDataScannerRuleRelationships) SetStandardPattern ¶ added in v2.6.0

SetStandardPattern gets a reference to the given SensitiveDataScannerStandardPatternData and assigns it to the StandardPattern field.

func (*SensitiveDataScannerRuleRelationships) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleRelationships) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleResponse ¶ added in v2.6.0

type SensitiveDataScannerRuleResponse struct {
	// Attributes of the Sensitive Data Scanner rule.
	Attributes *SensitiveDataScannerRuleAttributes `json:"attributes,omitempty"`
	// ID of the rule.
	Id *string `json:"id,omitempty"`
	// Relationships of a scanning rule.
	Relationships *SensitiveDataScannerRuleRelationships `json:"relationships,omitempty"`
	// Sensitive Data Scanner rule type.
	Type *SensitiveDataScannerRuleType `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{}
}

SensitiveDataScannerRuleResponse Response data related to the creation of a rule.

func NewSensitiveDataScannerRuleResponse ¶ added in v2.6.0

func NewSensitiveDataScannerRuleResponse() *SensitiveDataScannerRuleResponse

NewSensitiveDataScannerRuleResponse instantiates a new SensitiveDataScannerRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleResponseWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleResponseWithDefaults() *SensitiveDataScannerRuleResponse

NewSensitiveDataScannerRuleResponseWithDefaults instantiates a new SensitiveDataScannerRuleResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleResponse) GetAttributes ¶ added in v2.6.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleResponse) GetAttributesOk ¶ added in v2.6.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 (*SensitiveDataScannerRuleResponse) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleResponse) GetIdOk ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleResponse) 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 (*SensitiveDataScannerRuleResponse) GetRelationships ¶ added in v2.6.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleResponse) GetRelationshipsOk ¶ added in v2.6.0

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 (*SensitiveDataScannerRuleResponse) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleResponse) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerRuleResponse) HasAttributes ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleResponse) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleResponse) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleResponse) HasRelationships ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleResponse) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleResponse) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerRuleResponse) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleResponse) SetAttributes ¶ added in v2.6.0

SetAttributes gets a reference to the given SensitiveDataScannerRuleAttributes and assigns it to the Attributes field.

func (*SensitiveDataScannerRuleResponse) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerRuleResponse) SetRelationships ¶ added in v2.6.0

SetRelationships gets a reference to the given SensitiveDataScannerRuleRelationships and assigns it to the Relationships field.

func (*SensitiveDataScannerRuleResponse) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerRuleType and assigns it to the Type field.

func (*SensitiveDataScannerRuleResponse) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleType ¶ added in v2.6.0

type SensitiveDataScannerRuleType string

SensitiveDataScannerRuleType Sensitive Data Scanner rule type.

const (
	SENSITIVEDATASCANNERRULETYPE_SENSITIVE_DATA_SCANNER_RULE SensitiveDataScannerRuleType = "sensitive_data_scanner_rule"
)

List of SensitiveDataScannerRuleType.

func NewSensitiveDataScannerRuleTypeFromValue ¶ added in v2.6.0

func NewSensitiveDataScannerRuleTypeFromValue(v string) (*SensitiveDataScannerRuleType, error)

NewSensitiveDataScannerRuleTypeFromValue returns a pointer to a valid SensitiveDataScannerRuleType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SensitiveDataScannerRuleType) GetAllowedValues ¶ added in v2.6.0

GetAllowedValues reeturns the list of possible values.

func (SensitiveDataScannerRuleType) IsValid ¶ added in v2.6.0

func (v SensitiveDataScannerRuleType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SensitiveDataScannerRuleType) Ptr ¶ added in v2.6.0

Ptr returns reference to SensitiveDataScannerRuleType value.

func (*SensitiveDataScannerRuleType) UnmarshalJSON ¶ added in v2.6.0

func (v *SensitiveDataScannerRuleType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleUpdate ¶ added in v2.6.0

type SensitiveDataScannerRuleUpdate struct {
	// Attributes of the Sensitive Data Scanner rule.
	Attributes *SensitiveDataScannerRuleAttributes `json:"attributes,omitempty"`
	// ID of the rule.
	Id *string `json:"id,omitempty"`
	// Relationships of a scanning rule.
	Relationships *SensitiveDataScannerRuleRelationships `json:"relationships,omitempty"`
	// Sensitive Data Scanner rule type.
	Type *SensitiveDataScannerRuleType `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{}
}

SensitiveDataScannerRuleUpdate Data related to the update of a rule.

func NewSensitiveDataScannerRuleUpdate ¶ added in v2.6.0

func NewSensitiveDataScannerRuleUpdate() *SensitiveDataScannerRuleUpdate

NewSensitiveDataScannerRuleUpdate instantiates a new SensitiveDataScannerRuleUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleUpdateWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleUpdateWithDefaults() *SensitiveDataScannerRuleUpdate

NewSensitiveDataScannerRuleUpdateWithDefaults instantiates a new SensitiveDataScannerRuleUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleUpdate) GetAttributes ¶ added in v2.6.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleUpdate) GetAttributesOk ¶ added in v2.6.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 (*SensitiveDataScannerRuleUpdate) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleUpdate) GetIdOk ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleUpdate) 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 (*SensitiveDataScannerRuleUpdate) GetRelationships ¶ added in v2.6.0

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleUpdate) GetRelationshipsOk ¶ added in v2.6.0

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 (*SensitiveDataScannerRuleUpdate) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleUpdate) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerRuleUpdate) HasAttributes ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleUpdate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleUpdate) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleUpdate) HasRelationships ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleUpdate) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*SensitiveDataScannerRuleUpdate) HasType ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleUpdate) HasType() bool

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerRuleUpdate) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleUpdate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleUpdate) SetAttributes ¶ added in v2.6.0

SetAttributes gets a reference to the given SensitiveDataScannerRuleAttributes and assigns it to the Attributes field.

func (*SensitiveDataScannerRuleUpdate) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerRuleUpdate) SetRelationships ¶ added in v2.6.0

SetRelationships gets a reference to the given SensitiveDataScannerRuleRelationships and assigns it to the Relationships field.

func (*SensitiveDataScannerRuleUpdate) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerRuleType and assigns it to the Type field.

func (*SensitiveDataScannerRuleUpdate) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleUpdate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleUpdateRequest ¶ added in v2.6.0

type SensitiveDataScannerRuleUpdateRequest struct {
	// Data related to the update of a rule.
	Data SensitiveDataScannerRuleUpdate `json:"data"`
	// Meta payload containing information about the API.
	Meta SensitiveDataScannerMetaVersionOnly `json:"meta"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

SensitiveDataScannerRuleUpdateRequest Update rule request.

func NewSensitiveDataScannerRuleUpdateRequest ¶ added in v2.6.0

NewSensitiveDataScannerRuleUpdateRequest instantiates a new SensitiveDataScannerRuleUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleUpdateRequestWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleUpdateRequestWithDefaults() *SensitiveDataScannerRuleUpdateRequest

NewSensitiveDataScannerRuleUpdateRequestWithDefaults instantiates a new SensitiveDataScannerRuleUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleUpdateRequest) GetData ¶ added in v2.6.0

GetData returns the Data field value.

func (*SensitiveDataScannerRuleUpdateRequest) GetDataOk ¶ added in v2.6.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*SensitiveDataScannerRuleUpdateRequest) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value.

func (*SensitiveDataScannerRuleUpdateRequest) GetMetaOk ¶ added in v2.6.0

GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.

func (SensitiveDataScannerRuleUpdateRequest) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleUpdateRequest) SetData ¶ added in v2.6.0

SetData sets field value.

func (*SensitiveDataScannerRuleUpdateRequest) SetMeta ¶ added in v2.6.0

SetMeta sets field value.

func (*SensitiveDataScannerRuleUpdateRequest) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerRuleUpdateResponse ¶ added in v2.6.0

type SensitiveDataScannerRuleUpdateResponse struct {
	// Meta payload containing information about the API.
	Meta *SensitiveDataScannerMetaVersionOnly `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{}
}

SensitiveDataScannerRuleUpdateResponse Update rule response.

func NewSensitiveDataScannerRuleUpdateResponse ¶ added in v2.6.0

func NewSensitiveDataScannerRuleUpdateResponse() *SensitiveDataScannerRuleUpdateResponse

NewSensitiveDataScannerRuleUpdateResponse instantiates a new SensitiveDataScannerRuleUpdateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerRuleUpdateResponseWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerRuleUpdateResponseWithDefaults() *SensitiveDataScannerRuleUpdateResponse

NewSensitiveDataScannerRuleUpdateResponseWithDefaults instantiates a new SensitiveDataScannerRuleUpdateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerRuleUpdateResponse) GetMeta ¶ added in v2.6.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SensitiveDataScannerRuleUpdateResponse) GetMetaOk ¶ added in v2.6.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 (*SensitiveDataScannerRuleUpdateResponse) HasMeta ¶ added in v2.6.0

HasMeta returns a boolean if a field has been set.

func (SensitiveDataScannerRuleUpdateResponse) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerRuleUpdateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerRuleUpdateResponse) SetMeta ¶ added in v2.6.0

SetMeta gets a reference to the given SensitiveDataScannerMetaVersionOnly and assigns it to the Meta field.

func (*SensitiveDataScannerRuleUpdateResponse) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerRuleUpdateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerStandardPattern ¶ added in v2.6.0

type SensitiveDataScannerStandardPattern struct {
	// ID of the standard pattern.
	Id *string `json:"id,omitempty"`
	// Sensitive Data Scanner standard pattern type.
	Type *SensitiveDataScannerStandardPatternType `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{}
}

SensitiveDataScannerStandardPattern Data containing the standard pattern id.

func NewSensitiveDataScannerStandardPattern ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPattern() *SensitiveDataScannerStandardPattern

NewSensitiveDataScannerStandardPattern instantiates a new SensitiveDataScannerStandardPattern object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerStandardPatternWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPatternWithDefaults() *SensitiveDataScannerStandardPattern

NewSensitiveDataScannerStandardPatternWithDefaults instantiates a new SensitiveDataScannerStandardPattern object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerStandardPattern) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerStandardPattern) GetIdOk ¶ added in v2.6.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 (*SensitiveDataScannerStandardPattern) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerStandardPattern) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerStandardPattern) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerStandardPattern) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerStandardPattern) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerStandardPattern) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerStandardPattern) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerStandardPattern) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerStandardPatternType and assigns it to the Type field.

func (*SensitiveDataScannerStandardPattern) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerStandardPattern) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerStandardPatternAttributes ¶ added in v2.6.0

type SensitiveDataScannerStandardPatternAttributes struct {
	// Name of the standard pattern.
	Name *string `json:"name,omitempty"`
	// Regex to match.
	Pattern *string `json:"pattern,omitempty"`
	// List of tags.
	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{}
}

SensitiveDataScannerStandardPatternAttributes Attributes of the Sensitive Data Scanner standard pattern.

func NewSensitiveDataScannerStandardPatternAttributes ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPatternAttributes() *SensitiveDataScannerStandardPatternAttributes

NewSensitiveDataScannerStandardPatternAttributes instantiates a new SensitiveDataScannerStandardPatternAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerStandardPatternAttributesWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPatternAttributesWithDefaults() *SensitiveDataScannerStandardPatternAttributes

NewSensitiveDataScannerStandardPatternAttributesWithDefaults instantiates a new SensitiveDataScannerStandardPatternAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerStandardPatternAttributes) GetName ¶ added in v2.6.0

GetName returns the Name field value if set, zero value otherwise.

func (*SensitiveDataScannerStandardPatternAttributes) GetNameOk ¶ added in v2.6.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 (*SensitiveDataScannerStandardPatternAttributes) GetPattern ¶ added in v2.6.0

GetPattern returns the Pattern field value if set, zero value otherwise.

func (*SensitiveDataScannerStandardPatternAttributes) GetPatternOk ¶ added in v2.6.0

GetPatternOk returns a tuple with the Pattern field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerStandardPatternAttributes) GetTags ¶ added in v2.6.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*SensitiveDataScannerStandardPatternAttributes) GetTagsOk ¶ added in v2.6.0

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 (*SensitiveDataScannerStandardPatternAttributes) HasName ¶ added in v2.6.0

HasName returns a boolean if a field has been set.

func (*SensitiveDataScannerStandardPatternAttributes) HasPattern ¶ added in v2.6.0

HasPattern returns a boolean if a field has been set.

func (*SensitiveDataScannerStandardPatternAttributes) HasTags ¶ added in v2.6.0

HasTags returns a boolean if a field has been set.

func (SensitiveDataScannerStandardPatternAttributes) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerStandardPatternAttributes) SetName ¶ added in v2.6.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*SensitiveDataScannerStandardPatternAttributes) SetPattern ¶ added in v2.6.0

SetPattern gets a reference to the given string and assigns it to the Pattern field.

func (*SensitiveDataScannerStandardPatternAttributes) SetTags ¶ added in v2.6.0

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SensitiveDataScannerStandardPatternAttributes) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerStandardPatternAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerStandardPatternData ¶ added in v2.6.0

type SensitiveDataScannerStandardPatternData struct {
	// Data containing the standard pattern id.
	Data *SensitiveDataScannerStandardPattern `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{}
}

SensitiveDataScannerStandardPatternData A standard pattern.

func NewSensitiveDataScannerStandardPatternData ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPatternData() *SensitiveDataScannerStandardPatternData

NewSensitiveDataScannerStandardPatternData instantiates a new SensitiveDataScannerStandardPatternData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerStandardPatternDataWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPatternDataWithDefaults() *SensitiveDataScannerStandardPatternData

NewSensitiveDataScannerStandardPatternDataWithDefaults instantiates a new SensitiveDataScannerStandardPatternData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerStandardPatternData) GetData ¶ added in v2.6.0

GetData returns the Data field value if set, zero value otherwise.

func (*SensitiveDataScannerStandardPatternData) GetDataOk ¶ added in v2.6.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 (*SensitiveDataScannerStandardPatternData) HasData ¶ added in v2.6.0

HasData returns a boolean if a field has been set.

func (SensitiveDataScannerStandardPatternData) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerStandardPatternData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerStandardPatternData) SetData ¶ added in v2.6.0

SetData gets a reference to the given SensitiveDataScannerStandardPattern and assigns it to the Data field.

func (*SensitiveDataScannerStandardPatternData) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerStandardPatternData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerStandardPatternType ¶ added in v2.6.0

type SensitiveDataScannerStandardPatternType string

SensitiveDataScannerStandardPatternType Sensitive Data Scanner standard pattern type.

const (
	SENSITIVEDATASCANNERSTANDARDPATTERNTYPE_SENSITIVE_DATA_SCANNER_STANDARD_PATTERN SensitiveDataScannerStandardPatternType = "sensitive_data_scanner_standard_pattern"
)

List of SensitiveDataScannerStandardPatternType.

func NewSensitiveDataScannerStandardPatternTypeFromValue ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPatternTypeFromValue(v string) (*SensitiveDataScannerStandardPatternType, error)

NewSensitiveDataScannerStandardPatternTypeFromValue returns a pointer to a valid SensitiveDataScannerStandardPatternType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SensitiveDataScannerStandardPatternType) GetAllowedValues ¶ added in v2.6.0

GetAllowedValues reeturns the list of possible values.

func (SensitiveDataScannerStandardPatternType) IsValid ¶ added in v2.6.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SensitiveDataScannerStandardPatternType) Ptr ¶ added in v2.6.0

Ptr returns reference to SensitiveDataScannerStandardPatternType value.

func (*SensitiveDataScannerStandardPatternType) UnmarshalJSON ¶ added in v2.6.0

func (v *SensitiveDataScannerStandardPatternType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerStandardPatternsResponseData ¶ added in v2.6.0

type SensitiveDataScannerStandardPatternsResponseData struct {
	// List Standard patterns response.
	Data []SensitiveDataScannerStandardPatternsResponseItem `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{}
}

SensitiveDataScannerStandardPatternsResponseData List Standard patterns response data.

func NewSensitiveDataScannerStandardPatternsResponseData ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPatternsResponseData() *SensitiveDataScannerStandardPatternsResponseData

NewSensitiveDataScannerStandardPatternsResponseData instantiates a new SensitiveDataScannerStandardPatternsResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerStandardPatternsResponseDataWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPatternsResponseDataWithDefaults() *SensitiveDataScannerStandardPatternsResponseData

NewSensitiveDataScannerStandardPatternsResponseDataWithDefaults instantiates a new SensitiveDataScannerStandardPatternsResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerStandardPatternsResponseData) GetData ¶ added in v2.6.0

GetData returns the Data field value if set, zero value otherwise.

func (*SensitiveDataScannerStandardPatternsResponseData) GetDataOk ¶ added in v2.6.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 (*SensitiveDataScannerStandardPatternsResponseData) HasData ¶ added in v2.6.0

HasData returns a boolean if a field has been set.

func (SensitiveDataScannerStandardPatternsResponseData) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerStandardPatternsResponseData) SetData ¶ added in v2.6.0

SetData gets a reference to the given []SensitiveDataScannerStandardPatternsResponseItem and assigns it to the Data field.

func (*SensitiveDataScannerStandardPatternsResponseData) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerStandardPatternsResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerStandardPatternsResponseItem ¶ added in v2.6.0

type SensitiveDataScannerStandardPatternsResponseItem struct {
	// Attributes of the Sensitive Data Scanner standard pattern.
	Attributes *SensitiveDataScannerStandardPatternAttributes `json:"attributes,omitempty"`
	// ID of the standard pattern.
	Id *string `json:"id,omitempty"`
	// Sensitive Data Scanner standard pattern type.
	Type *SensitiveDataScannerStandardPatternType `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{}
}

SensitiveDataScannerStandardPatternsResponseItem Standard pattern item.

func NewSensitiveDataScannerStandardPatternsResponseItem ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPatternsResponseItem() *SensitiveDataScannerStandardPatternsResponseItem

NewSensitiveDataScannerStandardPatternsResponseItem instantiates a new SensitiveDataScannerStandardPatternsResponseItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerStandardPatternsResponseItemWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerStandardPatternsResponseItemWithDefaults() *SensitiveDataScannerStandardPatternsResponseItem

NewSensitiveDataScannerStandardPatternsResponseItemWithDefaults instantiates a new SensitiveDataScannerStandardPatternsResponseItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerStandardPatternsResponseItem) GetAttributes ¶ added in v2.6.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SensitiveDataScannerStandardPatternsResponseItem) GetAttributesOk ¶ added in v2.6.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 (*SensitiveDataScannerStandardPatternsResponseItem) GetId ¶ added in v2.6.0

GetId returns the Id field value if set, zero value otherwise.

func (*SensitiveDataScannerStandardPatternsResponseItem) GetIdOk ¶ added in v2.6.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 (*SensitiveDataScannerStandardPatternsResponseItem) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerStandardPatternsResponseItem) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerStandardPatternsResponseItem) HasAttributes ¶ added in v2.6.0

HasAttributes returns a boolean if a field has been set.

func (*SensitiveDataScannerStandardPatternsResponseItem) HasId ¶ added in v2.6.0

HasId returns a boolean if a field has been set.

func (*SensitiveDataScannerStandardPatternsResponseItem) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerStandardPatternsResponseItem) MarshalJSON ¶ added in v2.6.0

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerStandardPatternsResponseItem) SetAttributes ¶ added in v2.6.0

SetAttributes gets a reference to the given SensitiveDataScannerStandardPatternAttributes and assigns it to the Attributes field.

func (*SensitiveDataScannerStandardPatternsResponseItem) SetId ¶ added in v2.6.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*SensitiveDataScannerStandardPatternsResponseItem) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerStandardPatternType and assigns it to the Type field.

func (*SensitiveDataScannerStandardPatternsResponseItem) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerStandardPatternsResponseItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerTextReplacement ¶ added in v2.6.0

type SensitiveDataScannerTextReplacement struct {
	// Required if type == 'partial_replacement_from_beginning'
	// or 'partial_replacement_from_end'. It must be > 0.
	NumberOfChars *int64 `json:"number_of_chars,omitempty"`
	// Required if type == 'replacement_string'.
	ReplacementString *string `json:"replacement_string,omitempty"`
	// Type of the replacement text. None means no replacement.
	// hash means the data will be stubbed. replacement_string means that
	// one can chose a text to replace the data. partial_replacement_from_beginning
	// allows a user to partially replace the data from the beginning, and
	// partial_replacement_from_end on the other hand, allows to replace data from
	// the end.
	Type *SensitiveDataScannerTextReplacementType `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{}
}

SensitiveDataScannerTextReplacement Object describing how the scanned event will be replaced.

func NewSensitiveDataScannerTextReplacement ¶ added in v2.6.0

func NewSensitiveDataScannerTextReplacement() *SensitiveDataScannerTextReplacement

NewSensitiveDataScannerTextReplacement instantiates a new SensitiveDataScannerTextReplacement object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSensitiveDataScannerTextReplacementWithDefaults ¶ added in v2.6.0

func NewSensitiveDataScannerTextReplacementWithDefaults() *SensitiveDataScannerTextReplacement

NewSensitiveDataScannerTextReplacementWithDefaults instantiates a new SensitiveDataScannerTextReplacement object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SensitiveDataScannerTextReplacement) GetNumberOfChars ¶ added in v2.6.0

func (o *SensitiveDataScannerTextReplacement) GetNumberOfChars() int64

GetNumberOfChars returns the NumberOfChars field value if set, zero value otherwise.

func (*SensitiveDataScannerTextReplacement) GetNumberOfCharsOk ¶ added in v2.6.0

func (o *SensitiveDataScannerTextReplacement) GetNumberOfCharsOk() (*int64, bool)

GetNumberOfCharsOk returns a tuple with the NumberOfChars field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerTextReplacement) GetReplacementString ¶ added in v2.6.0

func (o *SensitiveDataScannerTextReplacement) GetReplacementString() string

GetReplacementString returns the ReplacementString field value if set, zero value otherwise.

func (*SensitiveDataScannerTextReplacement) GetReplacementStringOk ¶ added in v2.6.0

func (o *SensitiveDataScannerTextReplacement) GetReplacementStringOk() (*string, bool)

GetReplacementStringOk returns a tuple with the ReplacementString field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SensitiveDataScannerTextReplacement) GetType ¶ added in v2.6.0

GetType returns the Type field value if set, zero value otherwise.

func (*SensitiveDataScannerTextReplacement) GetTypeOk ¶ added in v2.6.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 (*SensitiveDataScannerTextReplacement) HasNumberOfChars ¶ added in v2.6.0

func (o *SensitiveDataScannerTextReplacement) HasNumberOfChars() bool

HasNumberOfChars returns a boolean if a field has been set.

func (*SensitiveDataScannerTextReplacement) HasReplacementString ¶ added in v2.6.0

func (o *SensitiveDataScannerTextReplacement) HasReplacementString() bool

HasReplacementString returns a boolean if a field has been set.

func (*SensitiveDataScannerTextReplacement) HasType ¶ added in v2.6.0

HasType returns a boolean if a field has been set.

func (SensitiveDataScannerTextReplacement) MarshalJSON ¶ added in v2.6.0

func (o SensitiveDataScannerTextReplacement) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SensitiveDataScannerTextReplacement) SetNumberOfChars ¶ added in v2.6.0

func (o *SensitiveDataScannerTextReplacement) SetNumberOfChars(v int64)

SetNumberOfChars gets a reference to the given int64 and assigns it to the NumberOfChars field.

func (*SensitiveDataScannerTextReplacement) SetReplacementString ¶ added in v2.6.0

func (o *SensitiveDataScannerTextReplacement) SetReplacementString(v string)

SetReplacementString gets a reference to the given string and assigns it to the ReplacementString field.

func (*SensitiveDataScannerTextReplacement) SetType ¶ added in v2.6.0

SetType gets a reference to the given SensitiveDataScannerTextReplacementType and assigns it to the Type field.

func (*SensitiveDataScannerTextReplacement) UnmarshalJSON ¶ added in v2.6.0

func (o *SensitiveDataScannerTextReplacement) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SensitiveDataScannerTextReplacementType ¶ added in v2.6.0

type SensitiveDataScannerTextReplacementType string

SensitiveDataScannerTextReplacementType Type of the replacement text. None means no replacement. hash means the data will be stubbed. replacement_string means that one can chose a text to replace the data. partial_replacement_from_beginning allows a user to partially replace the data from the beginning, and partial_replacement_from_end on the other hand, allows to replace data from the end.

const (
	SENSITIVEDATASCANNERTEXTREPLACEMENTTYPE_NONE                               SensitiveDataScannerTextReplacementType = "none"
	SENSITIVEDATASCANNERTEXTREPLACEMENTTYPE_HASH                               SensitiveDataScannerTextReplacementType = "hash"
	SENSITIVEDATASCANNERTEXTREPLACEMENTTYPE_REPLACEMENT_STRING                 SensitiveDataScannerTextReplacementType = "replacement_string"
	SENSITIVEDATASCANNERTEXTREPLACEMENTTYPE_PARTIAL_REPLACEMENT_FROM_BEGINNING SensitiveDataScannerTextReplacementType = "partial_replacement_from_beginning"
	SENSITIVEDATASCANNERTEXTREPLACEMENTTYPE_PARTIAL_REPLACEMENT_FROM_END       SensitiveDataScannerTextReplacementType = "partial_replacement_from_end"
)

List of SensitiveDataScannerTextReplacementType.

func NewSensitiveDataScannerTextReplacementTypeFromValue ¶ added in v2.6.0

func NewSensitiveDataScannerTextReplacementTypeFromValue(v string) (*SensitiveDataScannerTextReplacementType, error)

NewSensitiveDataScannerTextReplacementTypeFromValue returns a pointer to a valid SensitiveDataScannerTextReplacementType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SensitiveDataScannerTextReplacementType) GetAllowedValues ¶ added in v2.6.0

GetAllowedValues reeturns the list of possible values.

func (SensitiveDataScannerTextReplacementType) IsValid ¶ added in v2.6.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SensitiveDataScannerTextReplacementType) Ptr ¶ added in v2.6.0

Ptr returns reference to SensitiveDataScannerTextReplacementType value.

func (*SensitiveDataScannerTextReplacementType) UnmarshalJSON ¶ added in v2.6.0

func (v *SensitiveDataScannerTextReplacementType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ServiceAccountCreateAttributes ¶

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 ¶

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 ¶

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 ¶

func (o *ServiceAccountCreateAttributes) GetEmail() string

GetEmail returns the Email field value.

func (*ServiceAccountCreateAttributes) GetEmailOk ¶

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 ¶

GetName returns the Name field value if set, zero value otherwise.

func (*ServiceAccountCreateAttributes) GetNameOk ¶

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 ¶

func (o *ServiceAccountCreateAttributes) GetServiceAccount() bool

GetServiceAccount returns the ServiceAccount field value.

func (*ServiceAccountCreateAttributes) GetServiceAccountOk ¶

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 ¶

func (o *ServiceAccountCreateAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ServiceAccountCreateAttributes) GetTitleOk ¶

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 ¶

func (o *ServiceAccountCreateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServiceAccountCreateAttributes) HasTitle ¶

func (o *ServiceAccountCreateAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (ServiceAccountCreateAttributes) MarshalJSON ¶

func (o ServiceAccountCreateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceAccountCreateAttributes) SetEmail ¶

func (o *ServiceAccountCreateAttributes) SetEmail(v string)

SetEmail sets field value.

func (*ServiceAccountCreateAttributes) SetName ¶

func (o *ServiceAccountCreateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServiceAccountCreateAttributes) SetServiceAccount ¶

func (o *ServiceAccountCreateAttributes) SetServiceAccount(v bool)

SetServiceAccount sets field value.

func (*ServiceAccountCreateAttributes) SetTitle ¶

func (o *ServiceAccountCreateAttributes) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ServiceAccountCreateAttributes) UnmarshalJSON ¶

func (o *ServiceAccountCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceAccountCreateData ¶

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 ¶

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 ¶

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 ¶

GetAttributes returns the Attributes field value.

func (*ServiceAccountCreateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*ServiceAccountCreateData) GetRelationships ¶

func (o *ServiceAccountCreateData) GetRelationships() UserRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*ServiceAccountCreateData) GetRelationshipsOk ¶

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 ¶

func (o *ServiceAccountCreateData) GetType() UsersType

GetType returns the Type field value.

func (*ServiceAccountCreateData) GetTypeOk ¶

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 ¶

func (o *ServiceAccountCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (ServiceAccountCreateData) MarshalJSON ¶

func (o ServiceAccountCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceAccountCreateData) SetAttributes ¶

SetAttributes sets field value.

func (*ServiceAccountCreateData) SetRelationships ¶

func (o *ServiceAccountCreateData) SetRelationships(v UserRelationships)

SetRelationships gets a reference to the given UserRelationships and assigns it to the Relationships field.

func (*ServiceAccountCreateData) SetType ¶

func (o *ServiceAccountCreateData) SetType(v UsersType)

SetType sets field value.

func (*ServiceAccountCreateData) UnmarshalJSON ¶

func (o *ServiceAccountCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceAccountCreateRequest ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value.

func (*ServiceAccountCreateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (ServiceAccountCreateRequest) MarshalJSON ¶

func (o ServiceAccountCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceAccountCreateRequest) SetData ¶

SetData sets field value.

func (*ServiceAccountCreateRequest) UnmarshalJSON ¶

func (o *ServiceAccountCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceAccountsApi ¶

type ServiceAccountsApi datadog.Service

ServiceAccountsApi service type

func NewServiceAccountsApi ¶

func NewServiceAccountsApi(client *datadog.APIClient) *ServiceAccountsApi

NewServiceAccountsApi Returns NewServiceAccountsApi.

func (*ServiceAccountsApi) CreateServiceAccount ¶ added in v2.8.0

CreateServiceAccount Create a service account. Create a service account for your organization.

func (*ServiceAccountsApi) CreateServiceAccountApplicationKey ¶

func (a *ServiceAccountsApi) 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 (*ServiceAccountsApi) DeleteServiceAccountApplicationKey ¶

func (a *ServiceAccountsApi) 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 (*ServiceAccountsApi) GetServiceAccountApplicationKey ¶

func (a *ServiceAccountsApi) 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 (*ServiceAccountsApi) ListServiceAccountApplicationKeys ¶

ListServiceAccountApplicationKeys List application keys for this service account. List all application keys available for this service account.

func (*ServiceAccountsApi) UpdateServiceAccountApplicationKey ¶

func (a *ServiceAccountsApi) 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 ServiceDefinitionApi ¶ added in v2.4.0

type ServiceDefinitionApi datadog.Service

ServiceDefinitionApi service type

func NewServiceDefinitionApi ¶ added in v2.4.0

func NewServiceDefinitionApi(client *datadog.APIClient) *ServiceDefinitionApi

NewServiceDefinitionApi Returns NewServiceDefinitionApi.

func (*ServiceDefinitionApi) CreateOrUpdateServiceDefinitions ¶ added in v2.4.0

CreateOrUpdateServiceDefinitions Create or update service definition. Create or update service definition in the Datadog Service Catalog.

func (*ServiceDefinitionApi) DeleteServiceDefinition ¶ added in v2.4.0

func (a *ServiceDefinitionApi) DeleteServiceDefinition(ctx _context.Context, serviceName string) (*_nethttp.Response, error)

DeleteServiceDefinition Delete a single service definition. Delete a single service definition in the Datadog Service Catalog.

func (*ServiceDefinitionApi) GetServiceDefinition ¶ added in v2.4.0

func (a *ServiceDefinitionApi) GetServiceDefinition(ctx _context.Context, serviceName string) (ServiceDefinitionGetResponse, *_nethttp.Response, error)

GetServiceDefinition Get a single service definition. Get a single service definition from the Datadog Service Catalog.

func (*ServiceDefinitionApi) ListServiceDefinitions ¶ added in v2.4.0

ListServiceDefinitions Get all service definitions. Get a list of all service definitions from the Datadog Service Catalog.

type ServiceDefinitionCreateResponse ¶ added in v2.4.0

type ServiceDefinitionCreateResponse struct {
	// Create service definitions response payload.
	Data []ServiceDefinitionData `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{}
}

ServiceDefinitionCreateResponse Create service definitions response.

func NewServiceDefinitionCreateResponse ¶ added in v2.4.0

func NewServiceDefinitionCreateResponse() *ServiceDefinitionCreateResponse

NewServiceDefinitionCreateResponse instantiates a new ServiceDefinitionCreateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionCreateResponseWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionCreateResponseWithDefaults() *ServiceDefinitionCreateResponse

NewServiceDefinitionCreateResponseWithDefaults instantiates a new ServiceDefinitionCreateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionCreateResponse) GetData ¶ added in v2.4.0

GetData returns the Data field value if set, zero value otherwise.

func (*ServiceDefinitionCreateResponse) GetDataOk ¶ added in v2.4.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 (*ServiceDefinitionCreateResponse) HasData ¶ added in v2.4.0

HasData returns a boolean if a field has been set.

func (ServiceDefinitionCreateResponse) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionCreateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionCreateResponse) SetData ¶ added in v2.4.0

SetData gets a reference to the given []ServiceDefinitionData and assigns it to the Data field.

func (*ServiceDefinitionCreateResponse) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionCreateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionData ¶ added in v2.4.0

type ServiceDefinitionData struct {
	// Service definition attributes.
	Attributes *ServiceDefinitionDataAttributes `json:"attributes,omitempty"`
	// Service definition type.
	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{}
}

ServiceDefinitionData Service definition data.

func NewServiceDefinitionData ¶ added in v2.4.0

func NewServiceDefinitionData() *ServiceDefinitionData

NewServiceDefinitionData instantiates a new ServiceDefinitionData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionDataWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionDataWithDefaults() *ServiceDefinitionData

NewServiceDefinitionDataWithDefaults instantiates a new ServiceDefinitionData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionData) GetAttributes ¶ added in v2.4.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ServiceDefinitionData) GetAttributesOk ¶ added in v2.4.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 (*ServiceDefinitionData) GetType ¶ added in v2.4.0

func (o *ServiceDefinitionData) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ServiceDefinitionData) GetTypeOk ¶ added in v2.4.0

func (o *ServiceDefinitionData) 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 (*ServiceDefinitionData) HasAttributes ¶ added in v2.4.0

func (o *ServiceDefinitionData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*ServiceDefinitionData) HasType ¶ added in v2.4.0

func (o *ServiceDefinitionData) HasType() bool

HasType returns a boolean if a field has been set.

func (ServiceDefinitionData) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionData) SetAttributes ¶ added in v2.4.0

SetAttributes gets a reference to the given ServiceDefinitionDataAttributes and assigns it to the Attributes field.

func (*ServiceDefinitionData) SetType ¶ added in v2.4.0

func (o *ServiceDefinitionData) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ServiceDefinitionData) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionDataAttributes ¶ added in v2.4.0

type ServiceDefinitionDataAttributes struct {
	// Metadata about a service definition.
	Meta *ServiceDefinitionMeta `json:"meta,omitempty"`
	// Service definition schema.
	Schema *ServiceDefinitionSchema `json:"schema,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{}
}

ServiceDefinitionDataAttributes Service definition attributes.

func NewServiceDefinitionDataAttributes ¶ added in v2.4.0

func NewServiceDefinitionDataAttributes() *ServiceDefinitionDataAttributes

NewServiceDefinitionDataAttributes instantiates a new ServiceDefinitionDataAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionDataAttributesWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionDataAttributesWithDefaults() *ServiceDefinitionDataAttributes

NewServiceDefinitionDataAttributesWithDefaults instantiates a new ServiceDefinitionDataAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionDataAttributes) GetMeta ¶ added in v2.4.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*ServiceDefinitionDataAttributes) GetMetaOk ¶ added in v2.4.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 (*ServiceDefinitionDataAttributes) GetSchema ¶ added in v2.4.0

GetSchema returns the Schema field value if set, zero value otherwise.

func (*ServiceDefinitionDataAttributes) GetSchemaOk ¶ added in v2.4.0

GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionDataAttributes) HasMeta ¶ added in v2.4.0

HasMeta returns a boolean if a field has been set.

func (*ServiceDefinitionDataAttributes) HasSchema ¶ added in v2.4.0

func (o *ServiceDefinitionDataAttributes) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (ServiceDefinitionDataAttributes) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionDataAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionDataAttributes) SetMeta ¶ added in v2.4.0

SetMeta gets a reference to the given ServiceDefinitionMeta and assigns it to the Meta field.

func (*ServiceDefinitionDataAttributes) SetSchema ¶ added in v2.4.0

SetSchema gets a reference to the given ServiceDefinitionSchema and assigns it to the Schema field.

func (*ServiceDefinitionDataAttributes) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionDataAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionGetResponse ¶ added in v2.4.0

type ServiceDefinitionGetResponse struct {
	// Service definition data.
	Data *ServiceDefinitionData `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{}
}

ServiceDefinitionGetResponse Get service definition response.

func NewServiceDefinitionGetResponse ¶ added in v2.4.0

func NewServiceDefinitionGetResponse() *ServiceDefinitionGetResponse

NewServiceDefinitionGetResponse instantiates a new ServiceDefinitionGetResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionGetResponseWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionGetResponseWithDefaults() *ServiceDefinitionGetResponse

NewServiceDefinitionGetResponseWithDefaults instantiates a new ServiceDefinitionGetResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionGetResponse) GetData ¶ added in v2.4.0

GetData returns the Data field value if set, zero value otherwise.

func (*ServiceDefinitionGetResponse) GetDataOk ¶ added in v2.4.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 (*ServiceDefinitionGetResponse) HasData ¶ added in v2.4.0

func (o *ServiceDefinitionGetResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ServiceDefinitionGetResponse) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionGetResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionGetResponse) SetData ¶ added in v2.4.0

SetData gets a reference to the given ServiceDefinitionData and assigns it to the Data field.

func (*ServiceDefinitionGetResponse) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionGetResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionMeta ¶ added in v2.4.0

type ServiceDefinitionMeta struct {
	// GitHub HTML URL.
	GithubHtmlUrl *string `json:"github-html-url,omitempty"`
	// Ingestion schema version.
	IngestedSchemaVersion *string `json:"ingested-schema-version,omitempty"`
	// Ingestion source of the service definition.
	IngestionSource *string `json:"ingestion-source,omitempty"`
	// Last modified time of the service definition.
	LastModifiedTime *string `json:"last-modified-time,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{}
}

ServiceDefinitionMeta Metadata about a service definition.

func NewServiceDefinitionMeta ¶ added in v2.4.0

func NewServiceDefinitionMeta() *ServiceDefinitionMeta

NewServiceDefinitionMeta instantiates a new ServiceDefinitionMeta object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionMetaWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionMetaWithDefaults() *ServiceDefinitionMeta

NewServiceDefinitionMetaWithDefaults instantiates a new ServiceDefinitionMeta object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionMeta) GetGithubHtmlUrl ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) GetGithubHtmlUrl() string

GetGithubHtmlUrl returns the GithubHtmlUrl field value if set, zero value otherwise.

func (*ServiceDefinitionMeta) GetGithubHtmlUrlOk ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) GetGithubHtmlUrlOk() (*string, bool)

GetGithubHtmlUrlOk returns a tuple with the GithubHtmlUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionMeta) GetIngestedSchemaVersion ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) GetIngestedSchemaVersion() string

GetIngestedSchemaVersion returns the IngestedSchemaVersion field value if set, zero value otherwise.

func (*ServiceDefinitionMeta) GetIngestedSchemaVersionOk ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) GetIngestedSchemaVersionOk() (*string, bool)

GetIngestedSchemaVersionOk returns a tuple with the IngestedSchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionMeta) GetIngestionSource ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) GetIngestionSource() string

GetIngestionSource returns the IngestionSource field value if set, zero value otherwise.

func (*ServiceDefinitionMeta) GetIngestionSourceOk ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) GetIngestionSourceOk() (*string, bool)

GetIngestionSourceOk returns a tuple with the IngestionSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionMeta) GetLastModifiedTime ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) GetLastModifiedTime() string

GetLastModifiedTime returns the LastModifiedTime field value if set, zero value otherwise.

func (*ServiceDefinitionMeta) GetLastModifiedTimeOk ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) GetLastModifiedTimeOk() (*string, bool)

GetLastModifiedTimeOk returns a tuple with the LastModifiedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionMeta) HasGithubHtmlUrl ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) HasGithubHtmlUrl() bool

HasGithubHtmlUrl returns a boolean if a field has been set.

func (*ServiceDefinitionMeta) HasIngestedSchemaVersion ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) HasIngestedSchemaVersion() bool

HasIngestedSchemaVersion returns a boolean if a field has been set.

func (*ServiceDefinitionMeta) HasIngestionSource ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) HasIngestionSource() bool

HasIngestionSource returns a boolean if a field has been set.

func (*ServiceDefinitionMeta) HasLastModifiedTime ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) HasLastModifiedTime() bool

HasLastModifiedTime returns a boolean if a field has been set.

func (ServiceDefinitionMeta) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionMeta) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionMeta) SetGithubHtmlUrl ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) SetGithubHtmlUrl(v string)

SetGithubHtmlUrl gets a reference to the given string and assigns it to the GithubHtmlUrl field.

func (*ServiceDefinitionMeta) SetIngestedSchemaVersion ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) SetIngestedSchemaVersion(v string)

SetIngestedSchemaVersion gets a reference to the given string and assigns it to the IngestedSchemaVersion field.

func (*ServiceDefinitionMeta) SetIngestionSource ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) SetIngestionSource(v string)

SetIngestionSource gets a reference to the given string and assigns it to the IngestionSource field.

func (*ServiceDefinitionMeta) SetLastModifiedTime ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) SetLastModifiedTime(v string)

SetLastModifiedTime gets a reference to the given string and assigns it to the LastModifiedTime field.

func (*ServiceDefinitionMeta) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionSchema ¶ added in v2.4.0

type ServiceDefinitionSchema struct {
	ServiceDefinitionV1 *ServiceDefinitionV1
	ServiceDefinitionV2 *ServiceDefinitionV2

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

ServiceDefinitionSchema - Service definition schema.

func ServiceDefinitionV1AsServiceDefinitionSchema ¶ added in v2.4.0

func ServiceDefinitionV1AsServiceDefinitionSchema(v *ServiceDefinitionV1) ServiceDefinitionSchema

ServiceDefinitionV1AsServiceDefinitionSchema is a convenience function that returns ServiceDefinitionV1 wrapped in ServiceDefinitionSchema.

func ServiceDefinitionV2AsServiceDefinitionSchema ¶ added in v2.4.0

func ServiceDefinitionV2AsServiceDefinitionSchema(v *ServiceDefinitionV2) ServiceDefinitionSchema

ServiceDefinitionV2AsServiceDefinitionSchema is a convenience function that returns ServiceDefinitionV2 wrapped in ServiceDefinitionSchema.

func (*ServiceDefinitionSchema) GetActualInstance ¶ added in v2.4.0

func (obj *ServiceDefinitionSchema) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (ServiceDefinitionSchema) MarshalJSON ¶ added in v2.4.0

func (obj ServiceDefinitionSchema) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*ServiceDefinitionSchema) UnmarshalJSON ¶ added in v2.4.0

func (obj *ServiceDefinitionSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type ServiceDefinitionV1 deprecated added in v2.4.0

type ServiceDefinitionV1 struct {
	// Contact information about the service.
	Contact *ServiceDefinitionV1Contact `json:"contact,omitempty"`
	// Extensions to V1 schema.
	Extensions map[string]interface{} `json:"extensions,omitempty"`
	// A list of external links related to the services.
	ExternalResources []ServiceDefinitionV1Resource `json:"external-resources,omitempty"`
	// Basic information about a service.
	Info ServiceDefinitionV1Info `json:"info"`
	// Third party integrations that Datadog supports.
	Integrations *ServiceDefinitionV1Integrations `json:"integrations,omitempty"`
	// Org related information about the service.
	Org *ServiceDefinitionV1Org `json:"org,omitempty"`
	// Schema version being used.
	SchemaVersion ServiceDefinitionV1Version `json:"schema-version"`
	// A set of custom tags.
	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{}
}

ServiceDefinitionV1 Deprecated - Service definition V1 for providing additional service metadata and integrations.

Deprecated: This model is deprecated.

func NewServiceDefinitionV1 ¶ added in v2.4.0

func NewServiceDefinitionV1(info ServiceDefinitionV1Info, schemaVersion ServiceDefinitionV1Version) *ServiceDefinitionV1

NewServiceDefinitionV1 instantiates a new ServiceDefinitionV1 object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV1WithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV1WithDefaults() *ServiceDefinitionV1

NewServiceDefinitionV1WithDefaults instantiates a new ServiceDefinitionV1 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV1) GetContact ¶ added in v2.4.0

GetContact returns the Contact field value if set, zero value otherwise.

func (*ServiceDefinitionV1) GetContactOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1) GetContactOk() (*ServiceDefinitionV1Contact, bool)

GetContactOk returns a tuple with the Contact field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV1) GetExtensions ¶ added in v2.4.0

func (o *ServiceDefinitionV1) GetExtensions() map[string]interface{}

GetExtensions returns the Extensions field value if set, zero value otherwise.

func (*ServiceDefinitionV1) GetExtensionsOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1) GetExtensionsOk() (*map[string]interface{}, bool)

GetExtensionsOk returns a tuple with the Extensions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV1) GetExternalResources ¶ added in v2.4.0

func (o *ServiceDefinitionV1) GetExternalResources() []ServiceDefinitionV1Resource

GetExternalResources returns the ExternalResources field value if set, zero value otherwise.

func (*ServiceDefinitionV1) GetExternalResourcesOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1) GetExternalResourcesOk() (*[]ServiceDefinitionV1Resource, bool)

GetExternalResourcesOk returns a tuple with the ExternalResources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV1) GetInfo ¶ added in v2.4.0

GetInfo returns the Info field value.

func (*ServiceDefinitionV1) GetInfoOk ¶ added in v2.4.0

GetInfoOk returns a tuple with the Info field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV1) GetIntegrations ¶ added in v2.4.0

GetIntegrations returns the Integrations field value if set, zero value otherwise.

func (*ServiceDefinitionV1) GetIntegrationsOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1) GetIntegrationsOk() (*ServiceDefinitionV1Integrations, bool)

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 (*ServiceDefinitionV1) GetOrg ¶ added in v2.4.0

GetOrg returns the Org field value if set, zero value otherwise.

func (*ServiceDefinitionV1) GetOrgOk ¶ added in v2.4.0

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 (*ServiceDefinitionV1) GetSchemaVersion ¶ added in v2.4.0

func (o *ServiceDefinitionV1) GetSchemaVersion() ServiceDefinitionV1Version

GetSchemaVersion returns the SchemaVersion field value.

func (*ServiceDefinitionV1) GetSchemaVersionOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1) GetSchemaVersionOk() (*ServiceDefinitionV1Version, bool)

GetSchemaVersionOk returns a tuple with the SchemaVersion field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV1) GetTags ¶ added in v2.4.0

func (o *ServiceDefinitionV1) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ServiceDefinitionV1) GetTagsOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1) 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 (*ServiceDefinitionV1) HasContact ¶ added in v2.4.0

func (o *ServiceDefinitionV1) HasContact() bool

HasContact returns a boolean if a field has been set.

func (*ServiceDefinitionV1) HasExtensions ¶ added in v2.4.0

func (o *ServiceDefinitionV1) HasExtensions() bool

HasExtensions returns a boolean if a field has been set.

func (*ServiceDefinitionV1) HasExternalResources ¶ added in v2.4.0

func (o *ServiceDefinitionV1) HasExternalResources() bool

HasExternalResources returns a boolean if a field has been set.

func (*ServiceDefinitionV1) HasIntegrations ¶ added in v2.4.0

func (o *ServiceDefinitionV1) HasIntegrations() bool

HasIntegrations returns a boolean if a field has been set.

func (*ServiceDefinitionV1) HasOrg ¶ added in v2.4.0

func (o *ServiceDefinitionV1) HasOrg() bool

HasOrg returns a boolean if a field has been set.

func (*ServiceDefinitionV1) HasTags ¶ added in v2.4.0

func (o *ServiceDefinitionV1) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ServiceDefinitionV1) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV1) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV1) SetContact ¶ added in v2.4.0

SetContact gets a reference to the given ServiceDefinitionV1Contact and assigns it to the Contact field.

func (*ServiceDefinitionV1) SetExtensions ¶ added in v2.4.0

func (o *ServiceDefinitionV1) SetExtensions(v map[string]interface{})

SetExtensions gets a reference to the given map[string]interface{} and assigns it to the Extensions field.

func (*ServiceDefinitionV1) SetExternalResources ¶ added in v2.4.0

func (o *ServiceDefinitionV1) SetExternalResources(v []ServiceDefinitionV1Resource)

SetExternalResources gets a reference to the given []ServiceDefinitionV1Resource and assigns it to the ExternalResources field.

func (*ServiceDefinitionV1) SetInfo ¶ added in v2.4.0

SetInfo sets field value.

func (*ServiceDefinitionV1) SetIntegrations ¶ added in v2.4.0

SetIntegrations gets a reference to the given ServiceDefinitionV1Integrations and assigns it to the Integrations field.

func (*ServiceDefinitionV1) SetOrg ¶ added in v2.4.0

SetOrg gets a reference to the given ServiceDefinitionV1Org and assigns it to the Org field.

func (*ServiceDefinitionV1) SetSchemaVersion ¶ added in v2.4.0

func (o *ServiceDefinitionV1) SetSchemaVersion(v ServiceDefinitionV1Version)

SetSchemaVersion sets field value.

func (*ServiceDefinitionV1) SetTags ¶ added in v2.4.0

func (o *ServiceDefinitionV1) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*ServiceDefinitionV1) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV1) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV1Contact ¶ added in v2.4.0

type ServiceDefinitionV1Contact struct {
	// Service owner’s email.
	Email *string `json:"email,omitempty"`
	// Service owner’s Slack channel.
	Slack *string `json:"slack,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{}
}

ServiceDefinitionV1Contact Contact information about the service.

func NewServiceDefinitionV1Contact ¶ added in v2.4.0

func NewServiceDefinitionV1Contact() *ServiceDefinitionV1Contact

NewServiceDefinitionV1Contact instantiates a new ServiceDefinitionV1Contact object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV1ContactWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV1ContactWithDefaults() *ServiceDefinitionV1Contact

NewServiceDefinitionV1ContactWithDefaults instantiates a new ServiceDefinitionV1Contact object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV1Contact) GetEmail ¶ added in v2.4.0

func (o *ServiceDefinitionV1Contact) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*ServiceDefinitionV1Contact) GetEmailOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Contact) 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 (*ServiceDefinitionV1Contact) GetSlack ¶ added in v2.4.0

func (o *ServiceDefinitionV1Contact) GetSlack() string

GetSlack returns the Slack field value if set, zero value otherwise.

func (*ServiceDefinitionV1Contact) GetSlackOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Contact) GetSlackOk() (*string, bool)

GetSlackOk returns a tuple with the Slack field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV1Contact) HasEmail ¶ added in v2.4.0

func (o *ServiceDefinitionV1Contact) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*ServiceDefinitionV1Contact) HasSlack ¶ added in v2.4.0

func (o *ServiceDefinitionV1Contact) HasSlack() bool

HasSlack returns a boolean if a field has been set.

func (ServiceDefinitionV1Contact) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV1Contact) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV1Contact) SetEmail ¶ added in v2.4.0

func (o *ServiceDefinitionV1Contact) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*ServiceDefinitionV1Contact) SetSlack ¶ added in v2.4.0

func (o *ServiceDefinitionV1Contact) SetSlack(v string)

SetSlack gets a reference to the given string and assigns it to the Slack field.

func (*ServiceDefinitionV1Contact) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV1Contact) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV1Info ¶ added in v2.4.0

type ServiceDefinitionV1Info struct {
	// Unique identifier of the service. Must be unique across all services and is used to match with a service in Datadog.
	DdService string `json:"dd-service"`
	// A short description of the service.
	Description *string `json:"description,omitempty"`
	// A friendly name of the service.
	DisplayName *string `json:"display-name,omitempty"`
	// Service tier.
	ServiceTier *string `json:"service-tier,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{}
}

ServiceDefinitionV1Info Basic information about a service.

func NewServiceDefinitionV1Info ¶ added in v2.4.0

func NewServiceDefinitionV1Info(ddService string) *ServiceDefinitionV1Info

NewServiceDefinitionV1Info instantiates a new ServiceDefinitionV1Info object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV1InfoWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV1InfoWithDefaults() *ServiceDefinitionV1Info

NewServiceDefinitionV1InfoWithDefaults instantiates a new ServiceDefinitionV1Info object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV1Info) GetDdService ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) GetDdService() string

GetDdService returns the DdService field value.

func (*ServiceDefinitionV1Info) GetDdServiceOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) GetDdServiceOk() (*string, bool)

GetDdServiceOk returns a tuple with the DdService field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV1Info) GetDescription ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ServiceDefinitionV1Info) GetDescriptionOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) 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 (*ServiceDefinitionV1Info) GetDisplayName ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*ServiceDefinitionV1Info) GetDisplayNameOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) 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 (*ServiceDefinitionV1Info) GetServiceTier ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) GetServiceTier() string

GetServiceTier returns the ServiceTier field value if set, zero value otherwise.

func (*ServiceDefinitionV1Info) GetServiceTierOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) GetServiceTierOk() (*string, bool)

GetServiceTierOk returns a tuple with the ServiceTier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV1Info) HasDescription ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ServiceDefinitionV1Info) HasDisplayName ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*ServiceDefinitionV1Info) HasServiceTier ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) HasServiceTier() bool

HasServiceTier returns a boolean if a field has been set.

func (ServiceDefinitionV1Info) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV1Info) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV1Info) SetDdService ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) SetDdService(v string)

SetDdService sets field value.

func (*ServiceDefinitionV1Info) SetDescription ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ServiceDefinitionV1Info) SetDisplayName ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*ServiceDefinitionV1Info) SetServiceTier ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) SetServiceTier(v string)

SetServiceTier gets a reference to the given string and assigns it to the ServiceTier field.

func (*ServiceDefinitionV1Info) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV1Info) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV1Integrations ¶ added in v2.4.0

type ServiceDefinitionV1Integrations struct {
	// PagerDuty service URL for the service.
	Pagerduty *string `json:"pagerduty,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{}
}

ServiceDefinitionV1Integrations Third party integrations that Datadog supports.

func NewServiceDefinitionV1Integrations ¶ added in v2.4.0

func NewServiceDefinitionV1Integrations() *ServiceDefinitionV1Integrations

NewServiceDefinitionV1Integrations instantiates a new ServiceDefinitionV1Integrations object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV1IntegrationsWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV1IntegrationsWithDefaults() *ServiceDefinitionV1Integrations

NewServiceDefinitionV1IntegrationsWithDefaults instantiates a new ServiceDefinitionV1Integrations object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV1Integrations) GetPagerduty ¶ added in v2.4.0

func (o *ServiceDefinitionV1Integrations) GetPagerduty() string

GetPagerduty returns the Pagerduty field value if set, zero value otherwise.

func (*ServiceDefinitionV1Integrations) GetPagerdutyOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Integrations) GetPagerdutyOk() (*string, bool)

GetPagerdutyOk returns a tuple with the Pagerduty field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV1Integrations) HasPagerduty ¶ added in v2.4.0

func (o *ServiceDefinitionV1Integrations) HasPagerduty() bool

HasPagerduty returns a boolean if a field has been set.

func (ServiceDefinitionV1Integrations) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV1Integrations) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV1Integrations) SetPagerduty ¶ added in v2.4.0

func (o *ServiceDefinitionV1Integrations) SetPagerduty(v string)

SetPagerduty gets a reference to the given string and assigns it to the Pagerduty field.

func (*ServiceDefinitionV1Integrations) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV1Integrations) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV1Org ¶ added in v2.4.0

type ServiceDefinitionV1Org struct {
	// App feature this service supports.
	Application *string `json:"application,omitempty"`
	// Team that owns the service.
	Team *string `json:"team,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{}
}

ServiceDefinitionV1Org Org related information about the service.

func NewServiceDefinitionV1Org ¶ added in v2.4.0

func NewServiceDefinitionV1Org() *ServiceDefinitionV1Org

NewServiceDefinitionV1Org instantiates a new ServiceDefinitionV1Org object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV1OrgWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV1OrgWithDefaults() *ServiceDefinitionV1Org

NewServiceDefinitionV1OrgWithDefaults instantiates a new ServiceDefinitionV1Org object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV1Org) GetApplication ¶ added in v2.4.0

func (o *ServiceDefinitionV1Org) GetApplication() string

GetApplication returns the Application field value if set, zero value otherwise.

func (*ServiceDefinitionV1Org) GetApplicationOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Org) GetApplicationOk() (*string, bool)

GetApplicationOk returns a tuple with the Application field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV1Org) GetTeam ¶ added in v2.4.0

func (o *ServiceDefinitionV1Org) GetTeam() string

GetTeam returns the Team field value if set, zero value otherwise.

func (*ServiceDefinitionV1Org) GetTeamOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Org) GetTeamOk() (*string, bool)

GetTeamOk returns a tuple with the Team field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV1Org) HasApplication ¶ added in v2.4.0

func (o *ServiceDefinitionV1Org) HasApplication() bool

HasApplication returns a boolean if a field has been set.

func (*ServiceDefinitionV1Org) HasTeam ¶ added in v2.4.0

func (o *ServiceDefinitionV1Org) HasTeam() bool

HasTeam returns a boolean if a field has been set.

func (ServiceDefinitionV1Org) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV1Org) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV1Org) SetApplication ¶ added in v2.4.0

func (o *ServiceDefinitionV1Org) SetApplication(v string)

SetApplication gets a reference to the given string and assigns it to the Application field.

func (*ServiceDefinitionV1Org) SetTeam ¶ added in v2.4.0

func (o *ServiceDefinitionV1Org) SetTeam(v string)

SetTeam gets a reference to the given string and assigns it to the Team field.

func (*ServiceDefinitionV1Org) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV1Org) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV1Resource ¶ added in v2.4.0

type ServiceDefinitionV1Resource struct {
	// Link name.
	Name string `json:"name"`
	// Link type.
	Type ServiceDefinitionV1ResourceType `json:"type"`
	// Link URL.
	Url string `json:"url"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

ServiceDefinitionV1Resource Service's external links.

func NewServiceDefinitionV1Resource ¶ added in v2.4.0

func NewServiceDefinitionV1Resource(name string, typeVar ServiceDefinitionV1ResourceType, url string) *ServiceDefinitionV1Resource

NewServiceDefinitionV1Resource instantiates a new ServiceDefinitionV1Resource object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV1ResourceWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV1ResourceWithDefaults() *ServiceDefinitionV1Resource

NewServiceDefinitionV1ResourceWithDefaults instantiates a new ServiceDefinitionV1Resource object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV1Resource) GetName ¶ added in v2.4.0

func (o *ServiceDefinitionV1Resource) GetName() string

GetName returns the Name field value.

func (*ServiceDefinitionV1Resource) GetNameOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Resource) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV1Resource) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*ServiceDefinitionV1Resource) GetTypeOk ¶ added in v2.4.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV1Resource) GetUrl ¶ added in v2.4.0

func (o *ServiceDefinitionV1Resource) GetUrl() string

GetUrl returns the Url field value.

func (*ServiceDefinitionV1Resource) GetUrlOk ¶ added in v2.4.0

func (o *ServiceDefinitionV1Resource) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (ServiceDefinitionV1Resource) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV1Resource) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV1Resource) SetName ¶ added in v2.4.0

func (o *ServiceDefinitionV1Resource) SetName(v string)

SetName sets field value.

func (*ServiceDefinitionV1Resource) SetType ¶ added in v2.4.0

SetType sets field value.

func (*ServiceDefinitionV1Resource) SetUrl ¶ added in v2.4.0

func (o *ServiceDefinitionV1Resource) SetUrl(v string)

SetUrl sets field value.

func (*ServiceDefinitionV1Resource) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV1Resource) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV1ResourceType ¶ added in v2.4.0

type ServiceDefinitionV1ResourceType string

ServiceDefinitionV1ResourceType Link type.

const (
	SERVICEDEFINITIONV1RESOURCETYPE_DOC       ServiceDefinitionV1ResourceType = "doc"
	SERVICEDEFINITIONV1RESOURCETYPE_WIKI      ServiceDefinitionV1ResourceType = "wiki"
	SERVICEDEFINITIONV1RESOURCETYPE_RUNBOOK   ServiceDefinitionV1ResourceType = "runbook"
	SERVICEDEFINITIONV1RESOURCETYPE_URL       ServiceDefinitionV1ResourceType = "url"
	SERVICEDEFINITIONV1RESOURCETYPE_REPO      ServiceDefinitionV1ResourceType = "repo"
	SERVICEDEFINITIONV1RESOURCETYPE_DASHBOARD ServiceDefinitionV1ResourceType = "dashboard"
	SERVICEDEFINITIONV1RESOURCETYPE_ONCALL    ServiceDefinitionV1ResourceType = "oncall"
	SERVICEDEFINITIONV1RESOURCETYPE_CODE      ServiceDefinitionV1ResourceType = "code"
	SERVICEDEFINITIONV1RESOURCETYPE_LINK      ServiceDefinitionV1ResourceType = "link"
)

List of ServiceDefinitionV1ResourceType.

func NewServiceDefinitionV1ResourceTypeFromValue ¶ added in v2.4.0

func NewServiceDefinitionV1ResourceTypeFromValue(v string) (*ServiceDefinitionV1ResourceType, error)

NewServiceDefinitionV1ResourceTypeFromValue returns a pointer to a valid ServiceDefinitionV1ResourceType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ServiceDefinitionV1ResourceType) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (ServiceDefinitionV1ResourceType) IsValid ¶ added in v2.4.0

IsValid return true if the value is valid for the enum, false otherwise.

func (ServiceDefinitionV1ResourceType) Ptr ¶ added in v2.4.0

Ptr returns reference to ServiceDefinitionV1ResourceType value.

func (*ServiceDefinitionV1ResourceType) UnmarshalJSON ¶ added in v2.4.0

func (v *ServiceDefinitionV1ResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV1Version ¶ added in v2.4.0

type ServiceDefinitionV1Version string

ServiceDefinitionV1Version Schema version being used.

const (
	SERVICEDEFINITIONV1VERSION_V1 ServiceDefinitionV1Version = "v1"
)

List of ServiceDefinitionV1Version.

func NewServiceDefinitionV1VersionFromValue ¶ added in v2.4.0

func NewServiceDefinitionV1VersionFromValue(v string) (*ServiceDefinitionV1Version, error)

NewServiceDefinitionV1VersionFromValue returns a pointer to a valid ServiceDefinitionV1Version for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ServiceDefinitionV1Version) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (ServiceDefinitionV1Version) IsValid ¶ added in v2.4.0

func (v ServiceDefinitionV1Version) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ServiceDefinitionV1Version) Ptr ¶ added in v2.4.0

Ptr returns reference to ServiceDefinitionV1Version value.

func (*ServiceDefinitionV1Version) UnmarshalJSON ¶ added in v2.4.0

func (v *ServiceDefinitionV1Version) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2 ¶ added in v2.4.0

type ServiceDefinitionV2 struct {
	// A list of contacts related to the services.
	Contacts []ServiceDefinitionV2Contact `json:"contacts,omitempty"`
	// Unique identifier of the service. Must be unique across all services and is used to match with a service in Datadog.
	DdService string `json:"dd-service"`
	// Experimental feature. A Team handle that matches a Team in the Datadog Teams product.
	DdTeam *string `json:"dd-team,omitempty"`
	// A list of documentation related to the services.
	Docs []ServiceDefinitionV2Doc `json:"docs,omitempty"`
	// Extensions to V2 schema.
	Extensions map[string]interface{} `json:"extensions,omitempty"`
	// Third party integrations that Datadog supports.
	Integrations *ServiceDefinitionV2Integrations `json:"integrations,omitempty"`
	// A list of links related to the services.
	Links []ServiceDefinitionV2Link `json:"links,omitempty"`
	// A list of code repositories related to the services.
	Repos []ServiceDefinitionV2Repo `json:"repos,omitempty"`
	// Schema version being used.
	SchemaVersion ServiceDefinitionV2Version `json:"schema-version"`
	// A set of custom tags.
	Tags []string `json:"tags,omitempty"`
	// Team that owns the service.
	Team *string `json:"team,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{}
}

ServiceDefinitionV2 Service definition V2 for providing service metadata and integrations.

func NewServiceDefinitionV2 ¶ added in v2.4.0

func NewServiceDefinitionV2(ddService string, schemaVersion ServiceDefinitionV2Version) *ServiceDefinitionV2

NewServiceDefinitionV2 instantiates a new ServiceDefinitionV2 object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV2WithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV2WithDefaults() *ServiceDefinitionV2

NewServiceDefinitionV2WithDefaults instantiates a new ServiceDefinitionV2 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV2) GetContacts ¶ added in v2.4.0

GetContacts returns the Contacts field value if set, zero value otherwise.

func (*ServiceDefinitionV2) GetContactsOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetContactsOk() (*[]ServiceDefinitionV2Contact, bool)

GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV2) GetDdService ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetDdService() string

GetDdService returns the DdService field value.

func (*ServiceDefinitionV2) GetDdServiceOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetDdServiceOk() (*string, bool)

GetDdServiceOk returns a tuple with the DdService field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2) GetDdTeam ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetDdTeam() string

GetDdTeam returns the DdTeam field value if set, zero value otherwise.

func (*ServiceDefinitionV2) GetDdTeamOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetDdTeamOk() (*string, bool)

GetDdTeamOk returns a tuple with the DdTeam field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV2) GetDocs ¶ added in v2.4.0

GetDocs returns the Docs field value if set, zero value otherwise.

func (*ServiceDefinitionV2) GetDocsOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetDocsOk() (*[]ServiceDefinitionV2Doc, bool)

GetDocsOk returns a tuple with the Docs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV2) GetExtensions ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetExtensions() map[string]interface{}

GetExtensions returns the Extensions field value if set, zero value otherwise.

func (*ServiceDefinitionV2) GetExtensionsOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetExtensionsOk() (*map[string]interface{}, bool)

GetExtensionsOk returns a tuple with the Extensions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV2) GetIntegrations ¶ added in v2.4.0

GetIntegrations returns the Integrations field value if set, zero value otherwise.

func (*ServiceDefinitionV2) GetIntegrationsOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetIntegrationsOk() (*ServiceDefinitionV2Integrations, bool)

GetIntegrationsOk returns a tuple with the Integrations 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 (*ServiceDefinitionV2) GetLinksOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetLinksOk() (*[]ServiceDefinitionV2Link, 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 (*ServiceDefinitionV2) GetRepos ¶ added in v2.4.0

GetRepos returns the Repos field value if set, zero value otherwise.

func (*ServiceDefinitionV2) GetReposOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetReposOk() (*[]ServiceDefinitionV2Repo, bool)

GetReposOk returns a tuple with the Repos field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV2) GetSchemaVersion ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetSchemaVersion() ServiceDefinitionV2Version

GetSchemaVersion returns the SchemaVersion field value.

func (*ServiceDefinitionV2) GetSchemaVersionOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetSchemaVersionOk() (*ServiceDefinitionV2Version, bool)

GetSchemaVersionOk returns a tuple with the SchemaVersion field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2) GetTags ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ServiceDefinitionV2) GetTagsOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) 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 (*ServiceDefinitionV2) GetTeam ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetTeam() string

GetTeam returns the Team field value if set, zero value otherwise.

func (*ServiceDefinitionV2) GetTeamOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2) GetTeamOk() (*string, bool)

GetTeamOk returns a tuple with the Team field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV2) HasContacts ¶ added in v2.4.0

func (o *ServiceDefinitionV2) HasContacts() bool

HasContacts returns a boolean if a field has been set.

func (*ServiceDefinitionV2) HasDdTeam ¶ added in v2.4.0

func (o *ServiceDefinitionV2) HasDdTeam() bool

HasDdTeam returns a boolean if a field has been set.

func (*ServiceDefinitionV2) HasDocs ¶ added in v2.4.0

func (o *ServiceDefinitionV2) HasDocs() bool

HasDocs returns a boolean if a field has been set.

func (*ServiceDefinitionV2) HasExtensions ¶ added in v2.4.0

func (o *ServiceDefinitionV2) HasExtensions() bool

HasExtensions returns a boolean if a field has been set.

func (*ServiceDefinitionV2) HasIntegrations ¶ added in v2.4.0

func (o *ServiceDefinitionV2) HasIntegrations() bool

HasIntegrations returns a boolean if a field has been set.

func (o *ServiceDefinitionV2) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ServiceDefinitionV2) HasRepos ¶ added in v2.4.0

func (o *ServiceDefinitionV2) HasRepos() bool

HasRepos returns a boolean if a field has been set.

func (*ServiceDefinitionV2) HasTags ¶ added in v2.4.0

func (o *ServiceDefinitionV2) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ServiceDefinitionV2) HasTeam ¶ added in v2.4.0

func (o *ServiceDefinitionV2) HasTeam() bool

HasTeam returns a boolean if a field has been set.

func (ServiceDefinitionV2) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV2) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV2) SetContacts ¶ added in v2.4.0

func (o *ServiceDefinitionV2) SetContacts(v []ServiceDefinitionV2Contact)

SetContacts gets a reference to the given []ServiceDefinitionV2Contact and assigns it to the Contacts field.

func (*ServiceDefinitionV2) SetDdService ¶ added in v2.4.0

func (o *ServiceDefinitionV2) SetDdService(v string)

SetDdService sets field value.

func (*ServiceDefinitionV2) SetDdTeam ¶ added in v2.4.0

func (o *ServiceDefinitionV2) SetDdTeam(v string)

SetDdTeam gets a reference to the given string and assigns it to the DdTeam field.

func (*ServiceDefinitionV2) SetDocs ¶ added in v2.4.0

SetDocs gets a reference to the given []ServiceDefinitionV2Doc and assigns it to the Docs field.

func (*ServiceDefinitionV2) SetExtensions ¶ added in v2.4.0

func (o *ServiceDefinitionV2) SetExtensions(v map[string]interface{})

SetExtensions gets a reference to the given map[string]interface{} and assigns it to the Extensions field.

func (*ServiceDefinitionV2) SetIntegrations ¶ added in v2.4.0

SetIntegrations gets a reference to the given ServiceDefinitionV2Integrations and assigns it to the Integrations field.

SetLinks gets a reference to the given []ServiceDefinitionV2Link and assigns it to the Links field.

func (*ServiceDefinitionV2) SetRepos ¶ added in v2.4.0

SetRepos gets a reference to the given []ServiceDefinitionV2Repo and assigns it to the Repos field.

func (*ServiceDefinitionV2) SetSchemaVersion ¶ added in v2.4.0

func (o *ServiceDefinitionV2) SetSchemaVersion(v ServiceDefinitionV2Version)

SetSchemaVersion sets field value.

func (*ServiceDefinitionV2) SetTags ¶ added in v2.4.0

func (o *ServiceDefinitionV2) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*ServiceDefinitionV2) SetTeam ¶ added in v2.4.0

func (o *ServiceDefinitionV2) SetTeam(v string)

SetTeam gets a reference to the given string and assigns it to the Team field.

func (*ServiceDefinitionV2) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV2) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2Contact ¶ added in v2.4.0

type ServiceDefinitionV2Contact struct {
	ServiceDefinitionV2Email *ServiceDefinitionV2Email
	ServiceDefinitionV2Slack *ServiceDefinitionV2Slack

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

ServiceDefinitionV2Contact - Service owner's contacts information.

func ServiceDefinitionV2EmailAsServiceDefinitionV2Contact ¶ added in v2.4.0

func ServiceDefinitionV2EmailAsServiceDefinitionV2Contact(v *ServiceDefinitionV2Email) ServiceDefinitionV2Contact

ServiceDefinitionV2EmailAsServiceDefinitionV2Contact is a convenience function that returns ServiceDefinitionV2Email wrapped in ServiceDefinitionV2Contact.

func ServiceDefinitionV2SlackAsServiceDefinitionV2Contact ¶ added in v2.4.0

func ServiceDefinitionV2SlackAsServiceDefinitionV2Contact(v *ServiceDefinitionV2Slack) ServiceDefinitionV2Contact

ServiceDefinitionV2SlackAsServiceDefinitionV2Contact is a convenience function that returns ServiceDefinitionV2Slack wrapped in ServiceDefinitionV2Contact.

func (*ServiceDefinitionV2Contact) GetActualInstance ¶ added in v2.4.0

func (obj *ServiceDefinitionV2Contact) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (ServiceDefinitionV2Contact) MarshalJSON ¶ added in v2.4.0

func (obj ServiceDefinitionV2Contact) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*ServiceDefinitionV2Contact) UnmarshalJSON ¶ added in v2.4.0

func (obj *ServiceDefinitionV2Contact) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type ServiceDefinitionV2Doc ¶ added in v2.4.0

type ServiceDefinitionV2Doc struct {
	// Document name.
	Name string `json:"name"`
	// Document provider.
	Provider *string `json:"provider,omitempty"`
	// Document URL.
	Url string `json:"url"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

ServiceDefinitionV2Doc Service documents.

func NewServiceDefinitionV2Doc ¶ added in v2.4.0

func NewServiceDefinitionV2Doc(name string, url string) *ServiceDefinitionV2Doc

NewServiceDefinitionV2Doc instantiates a new ServiceDefinitionV2Doc object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV2DocWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV2DocWithDefaults() *ServiceDefinitionV2Doc

NewServiceDefinitionV2DocWithDefaults instantiates a new ServiceDefinitionV2Doc object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV2Doc) GetName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) GetName() string

GetName returns the Name field value.

func (*ServiceDefinitionV2Doc) GetNameOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Doc) GetProvider ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*ServiceDefinitionV2Doc) GetProviderOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Doc) GetUrl ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) GetUrl() string

GetUrl returns the Url field value.

func (*ServiceDefinitionV2Doc) GetUrlOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Doc) HasProvider ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (ServiceDefinitionV2Doc) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV2Doc) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV2Doc) SetName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) SetName(v string)

SetName sets field value.

func (*ServiceDefinitionV2Doc) SetProvider ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*ServiceDefinitionV2Doc) SetUrl ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) SetUrl(v string)

SetUrl sets field value.

func (*ServiceDefinitionV2Doc) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV2Doc) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2Email ¶ added in v2.4.0

type ServiceDefinitionV2Email struct {
	// Contact value.
	Contact string `json:"contact"`
	// Contact email.
	Name *string `json:"name,omitempty"`
	// Contact type.
	Type ServiceDefinitionV2EmailType `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{}
}

ServiceDefinitionV2Email Service owner's email.

func NewServiceDefinitionV2Email ¶ added in v2.4.0

func NewServiceDefinitionV2Email(contact string, typeVar ServiceDefinitionV2EmailType) *ServiceDefinitionV2Email

NewServiceDefinitionV2Email instantiates a new ServiceDefinitionV2Email object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV2EmailWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV2EmailWithDefaults() *ServiceDefinitionV2Email

NewServiceDefinitionV2EmailWithDefaults instantiates a new ServiceDefinitionV2Email object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV2Email) GetContact ¶ added in v2.4.0

func (o *ServiceDefinitionV2Email) GetContact() string

GetContact returns the Contact field value.

func (*ServiceDefinitionV2Email) GetContactOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Email) GetContactOk() (*string, bool)

GetContactOk returns a tuple with the Contact field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Email) GetName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Email) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ServiceDefinitionV2Email) GetNameOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Email) 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 (*ServiceDefinitionV2Email) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*ServiceDefinitionV2Email) GetTypeOk ¶ added in v2.4.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Email) HasName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Email) HasName() bool

HasName returns a boolean if a field has been set.

func (ServiceDefinitionV2Email) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV2Email) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV2Email) SetContact ¶ added in v2.4.0

func (o *ServiceDefinitionV2Email) SetContact(v string)

SetContact sets field value.

func (*ServiceDefinitionV2Email) SetName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Email) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServiceDefinitionV2Email) SetType ¶ added in v2.4.0

SetType sets field value.

func (*ServiceDefinitionV2Email) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV2Email) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2EmailType ¶ added in v2.4.0

type ServiceDefinitionV2EmailType string

ServiceDefinitionV2EmailType Contact type.

const (
	SERVICEDEFINITIONV2EMAILTYPE_EMAIL ServiceDefinitionV2EmailType = "email"
)

List of ServiceDefinitionV2EmailType.

func NewServiceDefinitionV2EmailTypeFromValue ¶ added in v2.4.0

func NewServiceDefinitionV2EmailTypeFromValue(v string) (*ServiceDefinitionV2EmailType, error)

NewServiceDefinitionV2EmailTypeFromValue returns a pointer to a valid ServiceDefinitionV2EmailType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ServiceDefinitionV2EmailType) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (ServiceDefinitionV2EmailType) IsValid ¶ added in v2.4.0

func (v ServiceDefinitionV2EmailType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ServiceDefinitionV2EmailType) Ptr ¶ added in v2.4.0

Ptr returns reference to ServiceDefinitionV2EmailType value.

func (*ServiceDefinitionV2EmailType) UnmarshalJSON ¶ added in v2.4.0

func (v *ServiceDefinitionV2EmailType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2Integrations ¶ added in v2.4.0

type ServiceDefinitionV2Integrations struct {
	// Opsgenie integration for the service.
	Opsgenie *ServiceDefinitionV2Opsgenie `json:"opsgenie,omitempty"`
	// PagerDuty service URL for the service.
	Pagerduty *string `json:"pagerduty,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{}
}

ServiceDefinitionV2Integrations Third party integrations that Datadog supports.

func NewServiceDefinitionV2Integrations ¶ added in v2.4.0

func NewServiceDefinitionV2Integrations() *ServiceDefinitionV2Integrations

NewServiceDefinitionV2Integrations instantiates a new ServiceDefinitionV2Integrations object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV2IntegrationsWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV2IntegrationsWithDefaults() *ServiceDefinitionV2Integrations

NewServiceDefinitionV2IntegrationsWithDefaults instantiates a new ServiceDefinitionV2Integrations object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV2Integrations) GetOpsgenie ¶ added in v2.4.0

GetOpsgenie returns the Opsgenie field value if set, zero value otherwise.

func (*ServiceDefinitionV2Integrations) GetOpsgenieOk ¶ added in v2.4.0

GetOpsgenieOk returns a tuple with the Opsgenie field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Integrations) GetPagerduty ¶ added in v2.4.0

func (o *ServiceDefinitionV2Integrations) GetPagerduty() string

GetPagerduty returns the Pagerduty field value if set, zero value otherwise.

func (*ServiceDefinitionV2Integrations) GetPagerdutyOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Integrations) GetPagerdutyOk() (*string, bool)

GetPagerdutyOk returns a tuple with the Pagerduty field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Integrations) HasOpsgenie ¶ added in v2.4.0

func (o *ServiceDefinitionV2Integrations) HasOpsgenie() bool

HasOpsgenie returns a boolean if a field has been set.

func (*ServiceDefinitionV2Integrations) HasPagerduty ¶ added in v2.4.0

func (o *ServiceDefinitionV2Integrations) HasPagerduty() bool

HasPagerduty returns a boolean if a field has been set.

func (ServiceDefinitionV2Integrations) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV2Integrations) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV2Integrations) SetOpsgenie ¶ added in v2.4.0

SetOpsgenie gets a reference to the given ServiceDefinitionV2Opsgenie and assigns it to the Opsgenie field.

func (*ServiceDefinitionV2Integrations) SetPagerduty ¶ added in v2.4.0

func (o *ServiceDefinitionV2Integrations) SetPagerduty(v string)

SetPagerduty gets a reference to the given string and assigns it to the Pagerduty field.

func (*ServiceDefinitionV2Integrations) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV2Integrations) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2Link struct {
	// Link name.
	Name string `json:"name"`
	// Link type.
	Type ServiceDefinitionV2LinkType `json:"type"`
	// Link URL.
	Url string `json:"url"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

ServiceDefinitionV2Link Service's external links.

func NewServiceDefinitionV2Link(name string, typeVar ServiceDefinitionV2LinkType, url string) *ServiceDefinitionV2Link

NewServiceDefinitionV2Link instantiates a new ServiceDefinitionV2Link object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV2LinkWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV2LinkWithDefaults() *ServiceDefinitionV2Link

NewServiceDefinitionV2LinkWithDefaults instantiates a new ServiceDefinitionV2Link object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV2Link) GetName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Link) GetName() string

GetName returns the Name field value.

func (*ServiceDefinitionV2Link) GetNameOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Link) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Link) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*ServiceDefinitionV2Link) GetTypeOk ¶ added in v2.4.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Link) GetUrl ¶ added in v2.4.0

func (o *ServiceDefinitionV2Link) GetUrl() string

GetUrl returns the Url field value.

func (*ServiceDefinitionV2Link) GetUrlOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Link) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (ServiceDefinitionV2Link) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV2Link) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV2Link) SetName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Link) SetName(v string)

SetName sets field value.

func (*ServiceDefinitionV2Link) SetType ¶ added in v2.4.0

SetType sets field value.

func (*ServiceDefinitionV2Link) SetUrl ¶ added in v2.4.0

func (o *ServiceDefinitionV2Link) SetUrl(v string)

SetUrl sets field value.

func (*ServiceDefinitionV2Link) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV2Link) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2LinkType ¶ added in v2.4.0

type ServiceDefinitionV2LinkType string

ServiceDefinitionV2LinkType Link type.

const (
	SERVICEDEFINITIONV2LINKTYPE_DOC       ServiceDefinitionV2LinkType = "doc"
	SERVICEDEFINITIONV2LINKTYPE_WIKI      ServiceDefinitionV2LinkType = "wiki"
	SERVICEDEFINITIONV2LINKTYPE_RUNBOOK   ServiceDefinitionV2LinkType = "runbook"
	SERVICEDEFINITIONV2LINKTYPE_URL       ServiceDefinitionV2LinkType = "url"
	SERVICEDEFINITIONV2LINKTYPE_REPO      ServiceDefinitionV2LinkType = "repo"
	SERVICEDEFINITIONV2LINKTYPE_DASHBOARD ServiceDefinitionV2LinkType = "dashboard"
	SERVICEDEFINITIONV2LINKTYPE_ONCALL    ServiceDefinitionV2LinkType = "oncall"
	SERVICEDEFINITIONV2LINKTYPE_CODE      ServiceDefinitionV2LinkType = "code"
	SERVICEDEFINITIONV2LINKTYPE_LINK      ServiceDefinitionV2LinkType = "link"
)

List of ServiceDefinitionV2LinkType.

func NewServiceDefinitionV2LinkTypeFromValue ¶ added in v2.4.0

func NewServiceDefinitionV2LinkTypeFromValue(v string) (*ServiceDefinitionV2LinkType, error)

NewServiceDefinitionV2LinkTypeFromValue returns a pointer to a valid ServiceDefinitionV2LinkType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ServiceDefinitionV2LinkType) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (ServiceDefinitionV2LinkType) IsValid ¶ added in v2.4.0

func (v ServiceDefinitionV2LinkType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ServiceDefinitionV2LinkType) Ptr ¶ added in v2.4.0

Ptr returns reference to ServiceDefinitionV2LinkType value.

func (*ServiceDefinitionV2LinkType) UnmarshalJSON ¶ added in v2.4.0

func (v *ServiceDefinitionV2LinkType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2Opsgenie ¶ added in v2.4.0

type ServiceDefinitionV2Opsgenie struct {
	// Opsgenie instance region.
	Region *ServiceDefinitionV2OpsgenieRegion `json:"region,omitempty"`
	// Opsgenie service url.
	ServiceUrl string `json:"service-url"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

ServiceDefinitionV2Opsgenie Opsgenie integration for the service.

func NewServiceDefinitionV2Opsgenie ¶ added in v2.4.0

func NewServiceDefinitionV2Opsgenie(serviceUrl string) *ServiceDefinitionV2Opsgenie

NewServiceDefinitionV2Opsgenie instantiates a new ServiceDefinitionV2Opsgenie object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV2OpsgenieWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV2OpsgenieWithDefaults() *ServiceDefinitionV2Opsgenie

NewServiceDefinitionV2OpsgenieWithDefaults instantiates a new ServiceDefinitionV2Opsgenie object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV2Opsgenie) GetRegion ¶ added in v2.4.0

GetRegion returns the Region field value if set, zero value otherwise.

func (*ServiceDefinitionV2Opsgenie) GetRegionOk ¶ added in v2.4.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 (*ServiceDefinitionV2Opsgenie) GetServiceUrl ¶ added in v2.6.0

func (o *ServiceDefinitionV2Opsgenie) GetServiceUrl() string

GetServiceUrl returns the ServiceUrl field value.

func (*ServiceDefinitionV2Opsgenie) GetServiceUrlOk ¶ added in v2.6.0

func (o *ServiceDefinitionV2Opsgenie) GetServiceUrlOk() (*string, bool)

GetServiceUrlOk returns a tuple with the ServiceUrl field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Opsgenie) HasRegion ¶ added in v2.4.0

func (o *ServiceDefinitionV2Opsgenie) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (ServiceDefinitionV2Opsgenie) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV2Opsgenie) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV2Opsgenie) SetRegion ¶ added in v2.4.0

SetRegion gets a reference to the given ServiceDefinitionV2OpsgenieRegion and assigns it to the Region field.

func (*ServiceDefinitionV2Opsgenie) SetServiceUrl ¶ added in v2.6.0

func (o *ServiceDefinitionV2Opsgenie) SetServiceUrl(v string)

SetServiceUrl sets field value.

func (*ServiceDefinitionV2Opsgenie) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV2Opsgenie) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2OpsgenieRegion ¶ added in v2.4.0

type ServiceDefinitionV2OpsgenieRegion string

ServiceDefinitionV2OpsgenieRegion Opsgenie instance region.

const (
	SERVICEDEFINITIONV2OPSGENIEREGION_US ServiceDefinitionV2OpsgenieRegion = "US"
	SERVICEDEFINITIONV2OPSGENIEREGION_EU ServiceDefinitionV2OpsgenieRegion = "EU"
)

List of ServiceDefinitionV2OpsgenieRegion.

func NewServiceDefinitionV2OpsgenieRegionFromValue ¶ added in v2.4.0

func NewServiceDefinitionV2OpsgenieRegionFromValue(v string) (*ServiceDefinitionV2OpsgenieRegion, error)

NewServiceDefinitionV2OpsgenieRegionFromValue returns a pointer to a valid ServiceDefinitionV2OpsgenieRegion for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ServiceDefinitionV2OpsgenieRegion) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (ServiceDefinitionV2OpsgenieRegion) IsValid ¶ added in v2.4.0

IsValid return true if the value is valid for the enum, false otherwise.

func (ServiceDefinitionV2OpsgenieRegion) Ptr ¶ added in v2.4.0

Ptr returns reference to ServiceDefinitionV2OpsgenieRegion value.

func (*ServiceDefinitionV2OpsgenieRegion) UnmarshalJSON ¶ added in v2.4.0

func (v *ServiceDefinitionV2OpsgenieRegion) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2Repo ¶ added in v2.4.0

type ServiceDefinitionV2Repo struct {
	// Repository name.
	Name string `json:"name"`
	// Repository provider.
	Provider *string `json:"provider,omitempty"`
	// Repository URL.
	Url string `json:"url"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

ServiceDefinitionV2Repo Service code repositories.

func NewServiceDefinitionV2Repo ¶ added in v2.4.0

func NewServiceDefinitionV2Repo(name string, url string) *ServiceDefinitionV2Repo

NewServiceDefinitionV2Repo instantiates a new ServiceDefinitionV2Repo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV2RepoWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV2RepoWithDefaults() *ServiceDefinitionV2Repo

NewServiceDefinitionV2RepoWithDefaults instantiates a new ServiceDefinitionV2Repo object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV2Repo) GetName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) GetName() string

GetName returns the Name field value.

func (*ServiceDefinitionV2Repo) GetNameOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Repo) GetProvider ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*ServiceDefinitionV2Repo) GetProviderOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Repo) GetUrl ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) GetUrl() string

GetUrl returns the Url field value.

func (*ServiceDefinitionV2Repo) GetUrlOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Repo) HasProvider ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (ServiceDefinitionV2Repo) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV2Repo) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV2Repo) SetName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) SetName(v string)

SetName sets field value.

func (*ServiceDefinitionV2Repo) SetProvider ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*ServiceDefinitionV2Repo) SetUrl ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) SetUrl(v string)

SetUrl sets field value.

func (*ServiceDefinitionV2Repo) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV2Repo) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2Slack ¶ added in v2.4.0

type ServiceDefinitionV2Slack struct {
	// Slack Channel.
	Contact string `json:"contact"`
	// Contact Slack.
	Name *string `json:"name,omitempty"`
	// Contact type.
	Type ServiceDefinitionV2SlackType `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{}
}

ServiceDefinitionV2Slack Service owner's Slack channel.

func NewServiceDefinitionV2Slack ¶ added in v2.4.0

func NewServiceDefinitionV2Slack(contact string, typeVar ServiceDefinitionV2SlackType) *ServiceDefinitionV2Slack

NewServiceDefinitionV2Slack instantiates a new ServiceDefinitionV2Slack object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionV2SlackWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionV2SlackWithDefaults() *ServiceDefinitionV2Slack

NewServiceDefinitionV2SlackWithDefaults instantiates a new ServiceDefinitionV2Slack object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionV2Slack) GetContact ¶ added in v2.4.0

func (o *ServiceDefinitionV2Slack) GetContact() string

GetContact returns the Contact field value.

func (*ServiceDefinitionV2Slack) GetContactOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Slack) GetContactOk() (*string, bool)

GetContactOk returns a tuple with the Contact field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Slack) GetName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Slack) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ServiceDefinitionV2Slack) GetNameOk ¶ added in v2.4.0

func (o *ServiceDefinitionV2Slack) 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 (*ServiceDefinitionV2Slack) GetType ¶ added in v2.4.0

GetType returns the Type field value.

func (*ServiceDefinitionV2Slack) GetTypeOk ¶ added in v2.4.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ServiceDefinitionV2Slack) HasName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Slack) HasName() bool

HasName returns a boolean if a field has been set.

func (ServiceDefinitionV2Slack) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionV2Slack) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionV2Slack) SetContact ¶ added in v2.4.0

func (o *ServiceDefinitionV2Slack) SetContact(v string)

SetContact sets field value.

func (*ServiceDefinitionV2Slack) SetName ¶ added in v2.4.0

func (o *ServiceDefinitionV2Slack) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServiceDefinitionV2Slack) SetType ¶ added in v2.4.0

SetType sets field value.

func (*ServiceDefinitionV2Slack) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionV2Slack) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2SlackType ¶ added in v2.4.0

type ServiceDefinitionV2SlackType string

ServiceDefinitionV2SlackType Contact type.

const (
	SERVICEDEFINITIONV2SLACKTYPE_SLACK ServiceDefinitionV2SlackType = "slack"
)

List of ServiceDefinitionV2SlackType.

func NewServiceDefinitionV2SlackTypeFromValue ¶ added in v2.4.0

func NewServiceDefinitionV2SlackTypeFromValue(v string) (*ServiceDefinitionV2SlackType, error)

NewServiceDefinitionV2SlackTypeFromValue returns a pointer to a valid ServiceDefinitionV2SlackType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ServiceDefinitionV2SlackType) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (ServiceDefinitionV2SlackType) IsValid ¶ added in v2.4.0

func (v ServiceDefinitionV2SlackType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ServiceDefinitionV2SlackType) Ptr ¶ added in v2.4.0

Ptr returns reference to ServiceDefinitionV2SlackType value.

func (*ServiceDefinitionV2SlackType) UnmarshalJSON ¶ added in v2.4.0

func (v *ServiceDefinitionV2SlackType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionV2Version ¶ added in v2.4.0

type ServiceDefinitionV2Version string

ServiceDefinitionV2Version Schema version being used.

const (
	SERVICEDEFINITIONV2VERSION_V2 ServiceDefinitionV2Version = "v2"
)

List of ServiceDefinitionV2Version.

func NewServiceDefinitionV2VersionFromValue ¶ added in v2.4.0

func NewServiceDefinitionV2VersionFromValue(v string) (*ServiceDefinitionV2Version, error)

NewServiceDefinitionV2VersionFromValue returns a pointer to a valid ServiceDefinitionV2Version for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ServiceDefinitionV2Version) GetAllowedValues ¶ added in v2.4.0

GetAllowedValues reeturns the list of possible values.

func (ServiceDefinitionV2Version) IsValid ¶ added in v2.4.0

func (v ServiceDefinitionV2Version) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ServiceDefinitionV2Version) Ptr ¶ added in v2.4.0

Ptr returns reference to ServiceDefinitionV2Version value.

func (*ServiceDefinitionV2Version) UnmarshalJSON ¶ added in v2.4.0

func (v *ServiceDefinitionV2Version) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ServiceDefinitionsCreateRequest ¶ added in v2.4.0

type ServiceDefinitionsCreateRequest struct {
	ServiceDefinitionV2  *ServiceDefinitionV2
	ServiceDefinitionRaw *string

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

ServiceDefinitionsCreateRequest - Create service definitions request.

func ServiceDefinitionRawAsServiceDefinitionsCreateRequest ¶ added in v2.4.0

func ServiceDefinitionRawAsServiceDefinitionsCreateRequest(v *string) ServiceDefinitionsCreateRequest

ServiceDefinitionRawAsServiceDefinitionsCreateRequest is a convenience function that returns string wrapped in ServiceDefinitionsCreateRequest.

func ServiceDefinitionV2AsServiceDefinitionsCreateRequest ¶ added in v2.4.0

func ServiceDefinitionV2AsServiceDefinitionsCreateRequest(v *ServiceDefinitionV2) ServiceDefinitionsCreateRequest

ServiceDefinitionV2AsServiceDefinitionsCreateRequest is a convenience function that returns ServiceDefinitionV2 wrapped in ServiceDefinitionsCreateRequest.

func (*ServiceDefinitionsCreateRequest) GetActualInstance ¶ added in v2.4.0

func (obj *ServiceDefinitionsCreateRequest) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (ServiceDefinitionsCreateRequest) MarshalJSON ¶ added in v2.4.0

func (obj ServiceDefinitionsCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*ServiceDefinitionsCreateRequest) UnmarshalJSON ¶ added in v2.4.0

func (obj *ServiceDefinitionsCreateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type ServiceDefinitionsListResponse ¶ added in v2.4.0

type ServiceDefinitionsListResponse struct {
	// Data representing service definitions.
	Data []ServiceDefinitionData `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{}
}

ServiceDefinitionsListResponse Create service definitions response.

func NewServiceDefinitionsListResponse ¶ added in v2.4.0

func NewServiceDefinitionsListResponse() *ServiceDefinitionsListResponse

NewServiceDefinitionsListResponse instantiates a new ServiceDefinitionsListResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewServiceDefinitionsListResponseWithDefaults ¶ added in v2.4.0

func NewServiceDefinitionsListResponseWithDefaults() *ServiceDefinitionsListResponse

NewServiceDefinitionsListResponseWithDefaults instantiates a new ServiceDefinitionsListResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*ServiceDefinitionsListResponse) GetData ¶ added in v2.4.0

GetData returns the Data field value if set, zero value otherwise.

func (*ServiceDefinitionsListResponse) GetDataOk ¶ added in v2.4.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 (*ServiceDefinitionsListResponse) HasData ¶ added in v2.4.0

func (o *ServiceDefinitionsListResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ServiceDefinitionsListResponse) MarshalJSON ¶ added in v2.4.0

func (o ServiceDefinitionsListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceDefinitionsListResponse) SetData ¶ added in v2.4.0

SetData gets a reference to the given []ServiceDefinitionData and assigns it to the Data field.

func (*ServiceDefinitionsListResponse) UnmarshalJSON ¶ added in v2.4.0

func (o *ServiceDefinitionsListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SlackIntegrationMetadata ¶ added in v2.10.0

type SlackIntegrationMetadata struct {
	// Array of Slack channels in this integration metadata.
	Channels []SlackIntegrationMetadataChannelItem `json:"channels"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

SlackIntegrationMetadata Incident integration metadata for the Slack integration.

func NewSlackIntegrationMetadata ¶ added in v2.10.0

func NewSlackIntegrationMetadata(channels []SlackIntegrationMetadataChannelItem) *SlackIntegrationMetadata

NewSlackIntegrationMetadata instantiates a new SlackIntegrationMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSlackIntegrationMetadataWithDefaults ¶ added in v2.10.0

func NewSlackIntegrationMetadataWithDefaults() *SlackIntegrationMetadata

NewSlackIntegrationMetadataWithDefaults instantiates a new SlackIntegrationMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SlackIntegrationMetadata) GetChannels ¶ added in v2.10.0

GetChannels returns the Channels field value.

func (*SlackIntegrationMetadata) GetChannelsOk ¶ added in v2.10.0

GetChannelsOk returns a tuple with the Channels field value and a boolean to check if the value has been set.

func (SlackIntegrationMetadata) MarshalJSON ¶ added in v2.10.0

func (o SlackIntegrationMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SlackIntegrationMetadata) SetChannels ¶ added in v2.10.0

SetChannels sets field value.

func (*SlackIntegrationMetadata) UnmarshalJSON ¶ added in v2.10.0

func (o *SlackIntegrationMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SlackIntegrationMetadataChannelItem ¶ added in v2.10.0

type SlackIntegrationMetadataChannelItem struct {
	// Slack channel ID.
	ChannelId string `json:"channel_id"`
	// Name of the Slack channel.
	ChannelName string `json:"channel_name"`
	// URL redirecting to the Slack channel.
	RedirectUrl string `json:"redirect_url"`
	// Slack team ID.
	TeamId *string `json:"team_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{}
}

SlackIntegrationMetadataChannelItem Item in the Slack integration metadata channel array.

func NewSlackIntegrationMetadataChannelItem ¶ added in v2.10.0

func NewSlackIntegrationMetadataChannelItem(channelId string, channelName string, redirectUrl string) *SlackIntegrationMetadataChannelItem

NewSlackIntegrationMetadataChannelItem instantiates a new SlackIntegrationMetadataChannelItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewSlackIntegrationMetadataChannelItemWithDefaults ¶ added in v2.10.0

func NewSlackIntegrationMetadataChannelItemWithDefaults() *SlackIntegrationMetadataChannelItem

NewSlackIntegrationMetadataChannelItemWithDefaults instantiates a new SlackIntegrationMetadataChannelItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*SlackIntegrationMetadataChannelItem) GetChannelId ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) GetChannelId() string

GetChannelId returns the ChannelId field value.

func (*SlackIntegrationMetadataChannelItem) GetChannelIdOk ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) GetChannelIdOk() (*string, bool)

GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.

func (*SlackIntegrationMetadataChannelItem) GetChannelName ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) GetChannelName() string

GetChannelName returns the ChannelName field value.

func (*SlackIntegrationMetadataChannelItem) GetChannelNameOk ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) GetChannelNameOk() (*string, bool)

GetChannelNameOk returns a tuple with the ChannelName field value and a boolean to check if the value has been set.

func (*SlackIntegrationMetadataChannelItem) GetRedirectUrl ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value.

func (*SlackIntegrationMetadataChannelItem) GetRedirectUrlOk ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value and a boolean to check if the value has been set.

func (*SlackIntegrationMetadataChannelItem) GetTeamId ¶ added in v2.10.0

GetTeamId returns the TeamId field value if set, zero value otherwise.

func (*SlackIntegrationMetadataChannelItem) GetTeamIdOk ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) GetTeamIdOk() (*string, bool)

GetTeamIdOk returns a tuple with the TeamId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SlackIntegrationMetadataChannelItem) HasTeamId ¶ added in v2.10.0

HasTeamId returns a boolean if a field has been set.

func (SlackIntegrationMetadataChannelItem) MarshalJSON ¶ added in v2.10.0

func (o SlackIntegrationMetadataChannelItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SlackIntegrationMetadataChannelItem) SetChannelId ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) SetChannelId(v string)

SetChannelId sets field value.

func (*SlackIntegrationMetadataChannelItem) SetChannelName ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) SetChannelName(v string)

SetChannelName sets field value.

func (*SlackIntegrationMetadataChannelItem) SetRedirectUrl ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) SetRedirectUrl(v string)

SetRedirectUrl sets field value.

func (*SlackIntegrationMetadataChannelItem) SetTeamId ¶ added in v2.10.0

SetTeamId gets a reference to the given string and assigns it to the TeamId field.

func (*SlackIntegrationMetadataChannelItem) UnmarshalJSON ¶ added in v2.10.0

func (o *SlackIntegrationMetadataChannelItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SubmitLogOptionalParameters ¶

type SubmitLogOptionalParameters struct {
	ContentEncoding *ContentEncoding
	Ddtags          *string
}

SubmitLogOptionalParameters holds optional parameters for SubmitLog.

func NewSubmitLogOptionalParameters ¶

func NewSubmitLogOptionalParameters() *SubmitLogOptionalParameters

NewSubmitLogOptionalParameters creates an empty struct for parameters.

func (*SubmitLogOptionalParameters) WithContentEncoding ¶

func (r *SubmitLogOptionalParameters) WithContentEncoding(contentEncoding ContentEncoding) *SubmitLogOptionalParameters

WithContentEncoding sets the corresponding parameter name and returns the struct.

func (*SubmitLogOptionalParameters) WithDdtags ¶

WithDdtags sets the corresponding parameter name and returns the struct.

type SubmitMetricsOptionalParameters ¶

type SubmitMetricsOptionalParameters struct {
	ContentEncoding *MetricContentEncoding
}

SubmitMetricsOptionalParameters holds optional parameters for SubmitMetrics.

func NewSubmitMetricsOptionalParameters ¶

func NewSubmitMetricsOptionalParameters() *SubmitMetricsOptionalParameters

NewSubmitMetricsOptionalParameters creates an empty struct for parameters.

func (*SubmitMetricsOptionalParameters) WithContentEncoding ¶

WithContentEncoding sets the corresponding parameter name and returns the struct.

type SyntheticsApi ¶ added in v2.10.0

type SyntheticsApi datadog.Service

SyntheticsApi service type

func NewSyntheticsApi ¶ added in v2.10.0

func NewSyntheticsApi(client *datadog.APIClient) *SyntheticsApi

NewSyntheticsApi Returns NewSyntheticsApi.

func (*SyntheticsApi) GetOnDemandConcurrencyCap ¶ added in v2.10.0

func (a *SyntheticsApi) GetOnDemandConcurrencyCap(ctx _context.Context) (OnDemandConcurrencyCapResponse, *_nethttp.Response, error)

GetOnDemandConcurrencyCap Get the on-demand concurrency cap. Get the on-demand concurrency cap.

func (*SyntheticsApi) SetOnDemandConcurrencyCap ¶ added in v2.10.0

SetOnDemandConcurrencyCap Save new value for on-demand concurrency cap. Save new value for on-demand concurrency cap.

type TimeseriesFormulaQueryRequest ¶ added in v2.7.0

type TimeseriesFormulaQueryRequest struct {
	// A single timeseries query to be executed.
	Data TimeseriesFormulaRequest `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{}
}

TimeseriesFormulaQueryRequest A request wrapper around a single timeseries query to be executed.

func NewTimeseriesFormulaQueryRequest ¶ added in v2.7.0

func NewTimeseriesFormulaQueryRequest(data TimeseriesFormulaRequest) *TimeseriesFormulaQueryRequest

NewTimeseriesFormulaQueryRequest instantiates a new TimeseriesFormulaQueryRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewTimeseriesFormulaQueryRequestWithDefaults ¶ added in v2.7.0

func NewTimeseriesFormulaQueryRequestWithDefaults() *TimeseriesFormulaQueryRequest

NewTimeseriesFormulaQueryRequestWithDefaults instantiates a new TimeseriesFormulaQueryRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*TimeseriesFormulaQueryRequest) GetData ¶ added in v2.7.0

GetData returns the Data field value.

func (*TimeseriesFormulaQueryRequest) GetDataOk ¶ added in v2.7.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (TimeseriesFormulaQueryRequest) MarshalJSON ¶ added in v2.7.0

func (o TimeseriesFormulaQueryRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TimeseriesFormulaQueryRequest) SetData ¶ added in v2.7.0

SetData sets field value.

func (*TimeseriesFormulaQueryRequest) UnmarshalJSON ¶ added in v2.7.0

func (o *TimeseriesFormulaQueryRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TimeseriesFormulaQueryResponse ¶ added in v2.7.0

type TimeseriesFormulaQueryResponse struct {
	// A message containing the response to a timeseries query.
	Data *TimeseriesResponse `json:"data,omitempty"`
	// The error generated by the request.
	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{}
}

TimeseriesFormulaQueryResponse A message containing one response to a timeseries query made with timeseries formula query request.

func NewTimeseriesFormulaQueryResponse ¶ added in v2.7.0

func NewTimeseriesFormulaQueryResponse() *TimeseriesFormulaQueryResponse

NewTimeseriesFormulaQueryResponse instantiates a new TimeseriesFormulaQueryResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewTimeseriesFormulaQueryResponseWithDefaults ¶ added in v2.7.0

func NewTimeseriesFormulaQueryResponseWithDefaults() *TimeseriesFormulaQueryResponse

NewTimeseriesFormulaQueryResponseWithDefaults instantiates a new TimeseriesFormulaQueryResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*TimeseriesFormulaQueryResponse) GetData ¶ added in v2.7.0

GetData returns the Data field value if set, zero value otherwise.

func (*TimeseriesFormulaQueryResponse) GetDataOk ¶ added in v2.7.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 (*TimeseriesFormulaQueryResponse) GetErrors ¶ added in v2.7.0

func (o *TimeseriesFormulaQueryResponse) GetErrors() string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*TimeseriesFormulaQueryResponse) GetErrorsOk ¶ added in v2.7.0

func (o *TimeseriesFormulaQueryResponse) 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 (*TimeseriesFormulaQueryResponse) HasData ¶ added in v2.7.0

func (o *TimeseriesFormulaQueryResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*TimeseriesFormulaQueryResponse) HasErrors ¶ added in v2.7.0

func (o *TimeseriesFormulaQueryResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (TimeseriesFormulaQueryResponse) MarshalJSON ¶ added in v2.7.0

func (o TimeseriesFormulaQueryResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TimeseriesFormulaQueryResponse) SetData ¶ added in v2.7.0

SetData gets a reference to the given TimeseriesResponse and assigns it to the Data field.

func (*TimeseriesFormulaQueryResponse) SetErrors ¶ added in v2.7.0

func (o *TimeseriesFormulaQueryResponse) SetErrors(v string)

SetErrors gets a reference to the given string and assigns it to the Errors field.

func (*TimeseriesFormulaQueryResponse) UnmarshalJSON ¶ added in v2.7.0

func (o *TimeseriesFormulaQueryResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TimeseriesFormulaRequest ¶ added in v2.7.0

type TimeseriesFormulaRequest struct {
	// The object describing a timeseries formula request.
	Attributes TimeseriesFormulaRequestAttributes `json:"attributes"`
	// The type of the resource. The value should always be timeseries_request.
	Type TimeseriesFormulaRequestType `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{}
}

TimeseriesFormulaRequest A single timeseries query to be executed.

func NewTimeseriesFormulaRequest ¶ added in v2.7.0

func NewTimeseriesFormulaRequest(attributes TimeseriesFormulaRequestAttributes, typeVar TimeseriesFormulaRequestType) *TimeseriesFormulaRequest

NewTimeseriesFormulaRequest instantiates a new TimeseriesFormulaRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewTimeseriesFormulaRequestWithDefaults ¶ added in v2.7.0

func NewTimeseriesFormulaRequestWithDefaults() *TimeseriesFormulaRequest

NewTimeseriesFormulaRequestWithDefaults instantiates a new TimeseriesFormulaRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*TimeseriesFormulaRequest) GetAttributes ¶ added in v2.7.0

GetAttributes returns the Attributes field value.

func (*TimeseriesFormulaRequest) GetAttributesOk ¶ added in v2.7.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*TimeseriesFormulaRequest) GetType ¶ added in v2.7.0

GetType returns the Type field value.

func (*TimeseriesFormulaRequest) GetTypeOk ¶ added in v2.7.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (TimeseriesFormulaRequest) MarshalJSON ¶ added in v2.7.0

func (o TimeseriesFormulaRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TimeseriesFormulaRequest) SetAttributes ¶ added in v2.7.0

SetAttributes sets field value.

func (*TimeseriesFormulaRequest) SetType ¶ added in v2.7.0

SetType sets field value.

func (*TimeseriesFormulaRequest) UnmarshalJSON ¶ added in v2.7.0

func (o *TimeseriesFormulaRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TimeseriesFormulaRequestAttributes ¶ added in v2.7.0

type TimeseriesFormulaRequestAttributes struct {
	// List of formulas to be calculated and returned as responses.
	Formulas []QueryFormula `json:"formulas,omitempty"`
	// Start date (inclusive) of the query in milliseconds since the Unix epoch.
	From int64 `json:"from"`
	// A time interval in milliseconds.
	// May be overridden by a larger interval if the query would result in
	// too many points for the specified timeframe.
	// Defaults to a reasonable interval for the given timeframe.
	Interval *int64 `json:"interval,omitempty"`
	// List of queries to be run and used as inputs to the formulas.
	Queries []TimeseriesQuery `json:"queries"`
	// End date (exclusive) of the query in milliseconds since the Unix epoch.
	To int64 `json:"to"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:"-"`
	AdditionalProperties map[string]interface{}
}

TimeseriesFormulaRequestAttributes The object describing a timeseries formula request.

func NewTimeseriesFormulaRequestAttributes ¶ added in v2.7.0

func NewTimeseriesFormulaRequestAttributes(from int64, queries []TimeseriesQuery, to int64) *TimeseriesFormulaRequestAttributes

NewTimeseriesFormulaRequestAttributes instantiates a new TimeseriesFormulaRequestAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewTimeseriesFormulaRequestAttributesWithDefaults ¶ added in v2.7.0

func NewTimeseriesFormulaRequestAttributesWithDefaults() *TimeseriesFormulaRequestAttributes

NewTimeseriesFormulaRequestAttributesWithDefaults instantiates a new TimeseriesFormulaRequestAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*TimeseriesFormulaRequestAttributes) GetFormulas ¶ added in v2.7.0

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*TimeseriesFormulaRequestAttributes) GetFormulasOk ¶ added in v2.7.0

func (o *TimeseriesFormulaRequestAttributes) GetFormulasOk() (*[]QueryFormula, bool)

GetFormulasOk returns a tuple with the Formulas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesFormulaRequestAttributes) GetFrom ¶ added in v2.7.0

GetFrom returns the From field value.

func (*TimeseriesFormulaRequestAttributes) GetFromOk ¶ added in v2.7.0

func (o *TimeseriesFormulaRequestAttributes) GetFromOk() (*int64, bool)

GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.

func (*TimeseriesFormulaRequestAttributes) GetInterval ¶ added in v2.7.0

func (o *TimeseriesFormulaRequestAttributes) GetInterval() int64

GetInterval returns the Interval field value if set, zero value otherwise.

func (*TimeseriesFormulaRequestAttributes) GetIntervalOk ¶ added in v2.7.0

func (o *TimeseriesFormulaRequestAttributes) 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 (*TimeseriesFormulaRequestAttributes) GetQueries ¶ added in v2.7.0

GetQueries returns the Queries field value.

func (*TimeseriesFormulaRequestAttributes) GetQueriesOk ¶ added in v2.7.0

GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.

func (*TimeseriesFormulaRequestAttributes) GetTo ¶ added in v2.7.0

GetTo returns the To field value.

func (*TimeseriesFormulaRequestAttributes) GetToOk ¶ added in v2.7.0

GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.

func (*TimeseriesFormulaRequestAttributes) HasFormulas ¶ added in v2.7.0

func (o *TimeseriesFormulaRequestAttributes) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (*TimeseriesFormulaRequestAttributes) HasInterval ¶ added in v2.7.0

func (o *TimeseriesFormulaRequestAttributes) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (TimeseriesFormulaRequestAttributes) MarshalJSON ¶ added in v2.7.0

func (o TimeseriesFormulaRequestAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TimeseriesFormulaRequestAttributes) SetFormulas ¶ added in v2.7.0

SetFormulas gets a reference to the given []QueryFormula and assigns it to the Formulas field.

func (*TimeseriesFormulaRequestAttributes) SetFrom ¶ added in v2.7.0

SetFrom sets field value.

func (*TimeseriesFormulaRequestAttributes) SetInterval ¶ added in v2.7.0

func (o *TimeseriesFormulaRequestAttributes) SetInterval(v int64)

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*TimeseriesFormulaRequestAttributes) SetQueries ¶ added in v2.7.0

SetQueries sets field value.

func (*TimeseriesFormulaRequestAttributes) SetTo ¶ added in v2.7.0

SetTo sets field value.

func (*TimeseriesFormulaRequestAttributes) UnmarshalJSON ¶ added in v2.7.0

func (o *TimeseriesFormulaRequestAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TimeseriesFormulaRequestType ¶ added in v2.7.0

type TimeseriesFormulaRequestType string

TimeseriesFormulaRequestType The type of the resource. The value should always be timeseries_request.

const (
	TIMESERIESFORMULAREQUESTTYPE_TIMESERIES_REQUEST TimeseriesFormulaRequestType = "timeseries_request"
)

List of TimeseriesFormulaRequestType.

func NewTimeseriesFormulaRequestTypeFromValue ¶ added in v2.7.0

func NewTimeseriesFormulaRequestTypeFromValue(v string) (*TimeseriesFormulaRequestType, error)

NewTimeseriesFormulaRequestTypeFromValue returns a pointer to a valid TimeseriesFormulaRequestType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TimeseriesFormulaRequestType) GetAllowedValues ¶ added in v2.7.0

GetAllowedValues reeturns the list of possible values.

func (TimeseriesFormulaRequestType) IsValid ¶ added in v2.7.0

func (v TimeseriesFormulaRequestType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TimeseriesFormulaRequestType) Ptr ¶ added in v2.7.0

Ptr returns reference to TimeseriesFormulaRequestType value.

func (*TimeseriesFormulaRequestType) UnmarshalJSON ¶ added in v2.7.0

func (v *TimeseriesFormulaRequestType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TimeseriesFormulaResponseType ¶ added in v2.7.0

type TimeseriesFormulaResponseType string

TimeseriesFormulaResponseType The type of the resource. The value should always be timeseries_response.

const (
	TIMESERIESFORMULARESPONSETYPE_TIMESERIES_RESPONSE TimeseriesFormulaResponseType = "timeseries_response"
)

List of TimeseriesFormulaResponseType.

func NewTimeseriesFormulaResponseTypeFromValue ¶ added in v2.7.0

func NewTimeseriesFormulaResponseTypeFromValue(v string) (*TimeseriesFormulaResponseType, error)

NewTimeseriesFormulaResponseTypeFromValue returns a pointer to a valid TimeseriesFormulaResponseType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TimeseriesFormulaResponseType) GetAllowedValues ¶ added in v2.7.0

GetAllowedValues reeturns the list of possible values.

func (TimeseriesFormulaResponseType) IsValid ¶ added in v2.7.0

func (v TimeseriesFormulaResponseType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TimeseriesFormulaResponseType) Ptr ¶ added in v2.7.0

Ptr returns reference to TimeseriesFormulaResponseType value.

func (*TimeseriesFormulaResponseType) UnmarshalJSON ¶ added in v2.7.0

func (v *TimeseriesFormulaResponseType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TimeseriesQuery ¶ added in v2.7.0

type TimeseriesQuery struct {
	MetricsTimeseriesQuery *MetricsTimeseriesQuery
	EventsTimeseriesQuery  *EventsTimeseriesQuery

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

TimeseriesQuery - An individual timeseries query to one of the basic Datadog data sources.

func EventsTimeseriesQueryAsTimeseriesQuery ¶ added in v2.7.0

func EventsTimeseriesQueryAsTimeseriesQuery(v *EventsTimeseriesQuery) TimeseriesQuery

EventsTimeseriesQueryAsTimeseriesQuery is a convenience function that returns EventsTimeseriesQuery wrapped in TimeseriesQuery.

func MetricsTimeseriesQueryAsTimeseriesQuery ¶ added in v2.7.0

func MetricsTimeseriesQueryAsTimeseriesQuery(v *MetricsTimeseriesQuery) TimeseriesQuery

MetricsTimeseriesQueryAsTimeseriesQuery is a convenience function that returns MetricsTimeseriesQuery wrapped in TimeseriesQuery.

func (*TimeseriesQuery) GetActualInstance ¶ added in v2.7.0

func (obj *TimeseriesQuery) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (TimeseriesQuery) MarshalJSON ¶ added in v2.7.0

func (obj TimeseriesQuery) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*TimeseriesQuery) UnmarshalJSON ¶ added in v2.7.0

func (obj *TimeseriesQuery) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type TimeseriesResponse ¶ added in v2.7.0

type TimeseriesResponse struct {
	// The object describing a timeseries response.
	Attributes *TimeseriesResponseAttributes `json:"attributes,omitempty"`
	// The type of the resource. The value should always be timeseries_response.
	Type *TimeseriesFormulaResponseType `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{}
}

TimeseriesResponse A message containing the response to a timeseries query.

func NewTimeseriesResponse ¶ added in v2.7.0

func NewTimeseriesResponse() *TimeseriesResponse

NewTimeseriesResponse instantiates a new TimeseriesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewTimeseriesResponseWithDefaults ¶ added in v2.7.0

func NewTimeseriesResponseWithDefaults() *TimeseriesResponse

NewTimeseriesResponseWithDefaults instantiates a new TimeseriesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*TimeseriesResponse) GetAttributes ¶ added in v2.7.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*TimeseriesResponse) GetAttributesOk ¶ added in v2.7.0

func (o *TimeseriesResponse) GetAttributesOk() (*TimeseriesResponseAttributes, 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 (*TimeseriesResponse) GetType ¶ added in v2.7.0

GetType returns the Type field value if set, zero value otherwise.

func (*TimeseriesResponse) GetTypeOk ¶ added in v2.7.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 (*TimeseriesResponse) HasAttributes ¶ added in v2.7.0

func (o *TimeseriesResponse) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*TimeseriesResponse) HasType ¶ added in v2.7.0

func (o *TimeseriesResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (TimeseriesResponse) MarshalJSON ¶ added in v2.7.0

func (o TimeseriesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TimeseriesResponse) SetAttributes ¶ added in v2.7.0

SetAttributes gets a reference to the given TimeseriesResponseAttributes and assigns it to the Attributes field.

func (*TimeseriesResponse) SetType ¶ added in v2.7.0

SetType gets a reference to the given TimeseriesFormulaResponseType and assigns it to the Type field.

func (*TimeseriesResponse) UnmarshalJSON ¶ added in v2.7.0

func (o *TimeseriesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TimeseriesResponseAttributes ¶ added in v2.7.0

type TimeseriesResponseAttributes struct {
	// Array of response series. The index here corresponds to the index in the `formulas` or `queries` array from the request.
	Series []TimeseriesResponseSeries `json:"series,omitempty"`
	// Array of times, 1-1 match with individual values arrays.
	Times []int64 `json:"times,omitempty"`
	// Array of value-arrays. The index here corresponds to the index in the `formulas` or `queries` array from the request.
	Values [][]*float64 `json:"values,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{}
}

TimeseriesResponseAttributes The object describing a timeseries response.

func NewTimeseriesResponseAttributes ¶ added in v2.7.0

func NewTimeseriesResponseAttributes() *TimeseriesResponseAttributes

NewTimeseriesResponseAttributes instantiates a new TimeseriesResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewTimeseriesResponseAttributesWithDefaults ¶ added in v2.7.0

func NewTimeseriesResponseAttributesWithDefaults() *TimeseriesResponseAttributes

NewTimeseriesResponseAttributesWithDefaults instantiates a new TimeseriesResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*TimeseriesResponseAttributes) GetSeries ¶ added in v2.7.0

GetSeries returns the Series field value if set, zero value otherwise.

func (*TimeseriesResponseAttributes) GetSeriesOk ¶ added in v2.7.0

GetSeriesOk returns a tuple with the Series field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesResponseAttributes) GetTimes ¶ added in v2.7.0

func (o *TimeseriesResponseAttributes) GetTimes() []int64

GetTimes returns the Times field value if set, zero value otherwise.

func (*TimeseriesResponseAttributes) GetTimesOk ¶ added in v2.7.0

func (o *TimeseriesResponseAttributes) GetTimesOk() (*[]int64, bool)

GetTimesOk returns a tuple with the Times field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesResponseAttributes) GetValues ¶ added in v2.7.0

func (o *TimeseriesResponseAttributes) GetValues() [][]*float64

GetValues returns the Values field value if set, zero value otherwise.

func (*TimeseriesResponseAttributes) GetValuesOk ¶ added in v2.7.0

func (o *TimeseriesResponseAttributes) GetValuesOk() (*[][]*float64, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesResponseAttributes) HasSeries ¶ added in v2.7.0

func (o *TimeseriesResponseAttributes) HasSeries() bool

HasSeries returns a boolean if a field has been set.

func (*TimeseriesResponseAttributes) HasTimes ¶ added in v2.7.0

func (o *TimeseriesResponseAttributes) HasTimes() bool

HasTimes returns a boolean if a field has been set.

func (*TimeseriesResponseAttributes) HasValues ¶ added in v2.7.0

func (o *TimeseriesResponseAttributes) HasValues() bool

HasValues returns a boolean if a field has been set.

func (TimeseriesResponseAttributes) MarshalJSON ¶ added in v2.7.0

func (o TimeseriesResponseAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TimeseriesResponseAttributes) SetSeries ¶ added in v2.7.0

SetSeries gets a reference to the given []TimeseriesResponseSeries and assigns it to the Series field.

func (*TimeseriesResponseAttributes) SetTimes ¶ added in v2.7.0

func (o *TimeseriesResponseAttributes) SetTimes(v []int64)

SetTimes gets a reference to the given []int64 and assigns it to the Times field.

func (*TimeseriesResponseAttributes) SetValues ¶ added in v2.7.0

func (o *TimeseriesResponseAttributes) SetValues(v [][]*float64)

SetValues gets a reference to the given [][]*float64 and assigns it to the Values field.

func (*TimeseriesResponseAttributes) UnmarshalJSON ¶ added in v2.7.0

func (o *TimeseriesResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TimeseriesResponseSeries ¶ added in v2.7.0

type TimeseriesResponseSeries struct {
	// List of tags that apply to a single response value.
	GroupTags []string `json:"group_tags,omitempty"`
	// The index of the query in the "formulas" array (or "queries" array if no "formulas" was specified).
	QueryIndex *int32 `json:"query_index,omitempty"`
	// Detailed information about the unit.
	// The first element describes the "primary unit" (for example, `bytes` in `bytes per second`).
	// The second element describes the "per unit" (for example, `second` in `bytes per second`).
	// If the second element is not present, the API returns null.
	Unit []Unit `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{}
}

TimeseriesResponseSeries

func NewTimeseriesResponseSeries ¶ added in v2.7.0

func NewTimeseriesResponseSeries() *TimeseriesResponseSeries

NewTimeseriesResponseSeries instantiates a new TimeseriesResponseSeries object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewTimeseriesResponseSeriesWithDefaults ¶ added in v2.7.0

func NewTimeseriesResponseSeriesWithDefaults() *TimeseriesResponseSeries

NewTimeseriesResponseSeriesWithDefaults instantiates a new TimeseriesResponseSeries object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*TimeseriesResponseSeries) GetGroupTags ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) GetGroupTags() []string

GetGroupTags returns the GroupTags field value if set, zero value otherwise.

func (*TimeseriesResponseSeries) GetGroupTagsOk ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) GetGroupTagsOk() (*[]string, bool)

GetGroupTagsOk returns a tuple with the GroupTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesResponseSeries) GetQueryIndex ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) GetQueryIndex() int32

GetQueryIndex returns the QueryIndex field value if set, zero value otherwise.

func (*TimeseriesResponseSeries) GetQueryIndexOk ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) GetQueryIndexOk() (*int32, bool)

GetQueryIndexOk returns a tuple with the QueryIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesResponseSeries) GetUnit ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) GetUnit() []Unit

GetUnit returns the Unit field value if set, zero value otherwise.

func (*TimeseriesResponseSeries) GetUnitOk ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) GetUnitOk() (*[]Unit, 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 (*TimeseriesResponseSeries) HasGroupTags ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) HasGroupTags() bool

HasGroupTags returns a boolean if a field has been set.

func (*TimeseriesResponseSeries) HasQueryIndex ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) HasQueryIndex() bool

HasQueryIndex returns a boolean if a field has been set.

func (*TimeseriesResponseSeries) HasUnit ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (TimeseriesResponseSeries) MarshalJSON ¶ added in v2.7.0

func (o TimeseriesResponseSeries) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TimeseriesResponseSeries) SetGroupTags ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) SetGroupTags(v []string)

SetGroupTags gets a reference to the given []string and assigns it to the GroupTags field.

func (*TimeseriesResponseSeries) SetQueryIndex ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) SetQueryIndex(v int32)

SetQueryIndex gets a reference to the given int32 and assigns it to the QueryIndex field.

func (*TimeseriesResponseSeries) SetUnit ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) SetUnit(v []Unit)

SetUnit gets a reference to the given []Unit and assigns it to the Unit field.

func (*TimeseriesResponseSeries) UnmarshalJSON ¶ added in v2.7.0

func (o *TimeseriesResponseSeries) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Unit ¶ added in v2.7.0

type Unit struct {
	// Unit family, allows for conversion between units of the same family, for scaling.
	Family *string `json:"family,omitempty"`
	// Unit name
	Name *string `json:"name,omitempty"`
	// Plural form of the unit name.
	Plural *string `json:"plural,omitempty"`
	// Factor for scaling between units of the same family.
	ScaleFactor *float64 `json:"scale_factor,omitempty"`
	// Abbreviation of the unit.
	ShortName *string `json:"short_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{}
}

Unit Object containing the metric unit family, scale factor, name, and short name.

func NewUnit ¶ added in v2.7.0

func NewUnit() *Unit

NewUnit instantiates a new Unit object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.

func NewUnitWithDefaults ¶ added in v2.7.0

func NewUnitWithDefaults() *Unit

NewUnitWithDefaults instantiates a new Unit object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (*Unit) GetFamily ¶ added in v2.7.0

func (o *Unit) GetFamily() string

GetFamily returns the Family field value if set, zero value otherwise.

func (*Unit) GetFamilyOk ¶ added in v2.7.0

func (o *Unit) GetFamilyOk() (*string, bool)

GetFamilyOk returns a tuple with the Family field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Unit) GetName ¶ added in v2.7.0

func (o *Unit) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Unit) GetNameOk ¶ added in v2.7.0

func (o *Unit) 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 (*Unit) GetPlural ¶ added in v2.7.0

func (o *Unit) GetPlural() string

GetPlural returns the Plural field value if set, zero value otherwise.

func (*Unit) GetPluralOk ¶ added in v2.7.0

func (o *Unit) GetPluralOk() (*string, bool)

GetPluralOk returns a tuple with the Plural field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Unit) GetScaleFactor ¶ added in v2.7.0

func (o *Unit) GetScaleFactor() float64

GetScaleFactor returns the ScaleFactor field value if set, zero value otherwise.

func (*Unit) GetScaleFactorOk ¶ added in v2.7.0

func (o *Unit) GetScaleFactorOk() (*float64, bool)

GetScaleFactorOk returns a tuple with the ScaleFactor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Unit) GetShortName ¶ added in v2.7.0

func (o *Unit) GetShortName() string

GetShortName returns the ShortName field value if set, zero value otherwise.

func (*Unit) GetShortNameOk ¶ added in v2.7.0

func (o *Unit) GetShortNameOk() (*string, bool)

GetShortNameOk returns a tuple with the ShortName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Unit) HasFamily ¶ added in v2.7.0

func (o *Unit) HasFamily() bool

HasFamily returns a boolean if a field has been set.

func (*Unit) HasName ¶ added in v2.7.0

func (o *Unit) HasName() bool

HasName returns a boolean if a field has been set.

func (*Unit) HasPlural ¶ added in v2.7.0

func (o *Unit) HasPlural() bool

HasPlural returns a boolean if a field has been set.

func (*Unit) HasScaleFactor ¶ added in v2.7.0

func (o *Unit) HasScaleFactor() bool

HasScaleFactor returns a boolean if a field has been set.

func (*Unit) HasShortName ¶ added in v2.7.0

func (o *Unit) HasShortName() bool

HasShortName returns a boolean if a field has been set.

func (Unit) MarshalJSON ¶ added in v2.7.0

func (o Unit) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Unit) SetFamily ¶ added in v2.7.0

func (o *Unit) SetFamily(v string)

SetFamily gets a reference to the given string and assigns it to the Family field.

func (*Unit) SetName ¶ added in v2.7.0

func (o *Unit) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Unit) SetPlural ¶ added in v2.7.0

func (o *Unit) SetPlural(v string)

SetPlural gets a reference to the given string and assigns it to the Plural field.

func (*Unit) SetScaleFactor ¶ added in v2.7.0

func (o *Unit) SetScaleFactor(v float64)

SetScaleFactor gets a reference to the given float64 and assigns it to the ScaleFactor field.

func (*Unit) SetShortName ¶ added in v2.7.0

func (o *Unit) SetShortName(v string)

SetShortName gets a reference to the given string and assigns it to the ShortName field.

func (*Unit) UnmarshalJSON ¶ added in v2.7.0

func (o *Unit) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UpdateIncidentAttachmentsOptionalParameters ¶ added in v2.4.0

type UpdateIncidentAttachmentsOptionalParameters struct {
	Include *[]IncidentAttachmentRelatedObject
}

UpdateIncidentAttachmentsOptionalParameters holds optional parameters for UpdateIncidentAttachments.

func NewUpdateIncidentAttachmentsOptionalParameters ¶ added in v2.4.0

func NewUpdateIncidentAttachmentsOptionalParameters() *UpdateIncidentAttachmentsOptionalParameters

NewUpdateIncidentAttachmentsOptionalParameters creates an empty struct for parameters.

func (*UpdateIncidentAttachmentsOptionalParameters) WithInclude ¶ added in v2.4.0

WithInclude sets the corresponding parameter name and returns the struct.

type UpdateIncidentOptionalParameters ¶

type UpdateIncidentOptionalParameters struct {
	Include *[]IncidentRelatedObject
}

UpdateIncidentOptionalParameters holds optional parameters for UpdateIncident.

func NewUpdateIncidentOptionalParameters ¶

func NewUpdateIncidentOptionalParameters() *UpdateIncidentOptionalParameters

NewUpdateIncidentOptionalParameters creates an empty struct for parameters.

func (*UpdateIncidentOptionalParameters) WithInclude ¶

WithInclude sets the corresponding parameter name and returns the struct.

type UploadIdPMetadataOptionalParameters ¶

type UploadIdPMetadataOptionalParameters struct {
	IdpFile **os.File
}

UploadIdPMetadataOptionalParameters holds optional parameters for UploadIdPMetadata.

func NewUploadIdPMetadataOptionalParameters ¶

func NewUploadIdPMetadataOptionalParameters() *UploadIdPMetadataOptionalParameters

NewUploadIdPMetadataOptionalParameters creates an empty struct for parameters.

func (*UploadIdPMetadataOptionalParameters) WithIdpFile ¶

WithIdpFile sets the corresponding parameter name and returns the struct.

type UsageApplicationSecurityMonitoringResponse ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value if set, zero value otherwise.

func (*UsageApplicationSecurityMonitoringResponse) 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 (*UsageApplicationSecurityMonitoringResponse) HasData ¶

HasData returns a boolean if a field has been set.

func (UsageApplicationSecurityMonitoringResponse) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*UsageApplicationSecurityMonitoringResponse) SetData ¶

SetData gets a reference to the given []UsageDataObject and assigns it to the Data field.

func (*UsageApplicationSecurityMonitoringResponse) UnmarshalJSON ¶

func (o *UsageApplicationSecurityMonitoringResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAttributesObject ¶

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 ¶

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 ¶

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 ¶

func (o *UsageAttributesObject) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageAttributesObject) GetOrgNameOk ¶

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 ¶

func (o *UsageAttributesObject) GetProductFamily() string

GetProductFamily returns the ProductFamily field value if set, zero value otherwise.

func (*UsageAttributesObject) GetProductFamilyOk ¶

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 ¶

func (o *UsageAttributesObject) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageAttributesObject) GetPublicIdOk ¶

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 ¶

func (o *UsageAttributesObject) GetTimeseries() []UsageTimeSeriesObject

GetTimeseries returns the Timeseries field value if set, zero value otherwise.

func (*UsageAttributesObject) GetTimeseriesOk ¶

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 ¶

func (o *UsageAttributesObject) GetUsageType() HourlyUsageType

GetUsageType returns the UsageType field value if set, zero value otherwise.

func (*UsageAttributesObject) GetUsageTypeOk ¶

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 ¶

func (o *UsageAttributesObject) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageAttributesObject) HasProductFamily ¶

func (o *UsageAttributesObject) HasProductFamily() bool

HasProductFamily returns a boolean if a field has been set.

func (*UsageAttributesObject) HasPublicId ¶

func (o *UsageAttributesObject) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageAttributesObject) HasTimeseries ¶

func (o *UsageAttributesObject) HasTimeseries() bool

HasTimeseries returns a boolean if a field has been set.

func (*UsageAttributesObject) HasUsageType ¶

func (o *UsageAttributesObject) HasUsageType() bool

HasUsageType returns a boolean if a field has been set.

func (UsageAttributesObject) MarshalJSON ¶

func (o UsageAttributesObject) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAttributesObject) SetOrgName ¶

func (o *UsageAttributesObject) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageAttributesObject) SetProductFamily ¶

func (o *UsageAttributesObject) SetProductFamily(v string)

SetProductFamily gets a reference to the given string and assigns it to the ProductFamily field.

func (*UsageAttributesObject) SetPublicId ¶

func (o *UsageAttributesObject) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageAttributesObject) SetTimeseries ¶

func (o *UsageAttributesObject) SetTimeseries(v []UsageTimeSeriesObject)

SetTimeseries gets a reference to the given []UsageTimeSeriesObject and assigns it to the Timeseries field.

func (*UsageAttributesObject) SetUsageType ¶

func (o *UsageAttributesObject) SetUsageType(v HourlyUsageType)

SetUsageType gets a reference to the given HourlyUsageType and assigns it to the UsageType field.

func (*UsageAttributesObject) UnmarshalJSON ¶

func (o *UsageAttributesObject) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageDataObject ¶

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 ¶

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 ¶

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 ¶

func (o *UsageDataObject) GetAttributes() UsageAttributesObject

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UsageDataObject) GetAttributesOk ¶

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 ¶

func (o *UsageDataObject) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UsageDataObject) GetIdOk ¶

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 ¶

func (o *UsageDataObject) GetType() UsageTimeSeriesType

GetType returns the Type field value if set, zero value otherwise.

func (*UsageDataObject) GetTypeOk ¶

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 ¶

func (o *UsageDataObject) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UsageDataObject) HasId ¶

func (o *UsageDataObject) HasId() bool

HasId returns a boolean if a field has been set.

func (*UsageDataObject) HasType ¶

func (o *UsageDataObject) HasType() bool

HasType returns a boolean if a field has been set.

func (UsageDataObject) MarshalJSON ¶

func (o UsageDataObject) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageDataObject) SetAttributes ¶

func (o *UsageDataObject) SetAttributes(v UsageAttributesObject)

SetAttributes gets a reference to the given UsageAttributesObject and assigns it to the Attributes field.

func (*UsageDataObject) SetId ¶

func (o *UsageDataObject) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UsageDataObject) SetType ¶

func (o *UsageDataObject) SetType(v UsageTimeSeriesType)

SetType gets a reference to the given UsageTimeSeriesType and assigns it to the Type field.

func (*UsageDataObject) UnmarshalJSON ¶

func (o *UsageDataObject) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageLambdaTracedInvocationsResponse ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value if set, zero value otherwise.

func (*UsageLambdaTracedInvocationsResponse) 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 (*UsageLambdaTracedInvocationsResponse) HasData ¶

HasData returns a boolean if a field has been set.

func (UsageLambdaTracedInvocationsResponse) MarshalJSON ¶

func (o UsageLambdaTracedInvocationsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageLambdaTracedInvocationsResponse) SetData ¶

SetData gets a reference to the given []UsageDataObject and assigns it to the Data field.

func (*UsageLambdaTracedInvocationsResponse) UnmarshalJSON ¶

func (o *UsageLambdaTracedInvocationsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageMeteringApi ¶

type UsageMeteringApi datadog.Service

UsageMeteringApi service type

func NewUsageMeteringApi ¶

func NewUsageMeteringApi(client *datadog.APIClient) *UsageMeteringApi

NewUsageMeteringApi Returns NewUsageMeteringApi.

func (*UsageMeteringApi) GetCostByOrg deprecated

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. **Note:** This endpoint has been deprecated. Please use the new endpoint [`/historical_cost`](https://docs.datadoghq.com/api/latest/usage-metering/#get-historical-cost-across-your-account) instead.

Deprecated: This API is deprecated.

func (*UsageMeteringApi) GetEstimatedCostByOrg ¶

GetEstimatedCostByOrg Get estimated cost across your account. Get estimated cost across multi-org and single root-org accounts. Estimated cost data is only available for the current month and previous month and is delayed by up to 72 hours from when it was incurred. To access historical costs prior to this, use the `/historical_cost` endpoint.

func (*UsageMeteringApi) GetHistoricalCostByOrg ¶ added in v2.3.0

GetHistoricalCostByOrg Get historical cost across your account. Get historical cost across multi-org and single root-org accounts. Cost data for a given month becomes available no later than the 16th of the following month.

func (*UsageMeteringApi) GetHourlyUsage ¶

func (a *UsageMeteringApi) 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 (*UsageMeteringApi) GetUsageApplicationSecurityMonitoring ¶

GetUsageApplicationSecurityMonitoring Get hourly usage for application security. Get hourly usage for application security . **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)

func (*UsageMeteringApi) GetUsageLambdaTracedInvocations ¶

GetUsageLambdaTracedInvocations Get hourly usage for lambda traced invocations. Get hourly usage for lambda traced invocations. **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)

func (*UsageMeteringApi) GetUsageObservabilityPipelines ¶

GetUsageObservabilityPipelines Get hourly usage for observability pipelines. Get hourly usage for observability pipelines. **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)

type UsageObservabilityPipelinesResponse ¶

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 ¶

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 ¶

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 ¶

GetData returns the Data field value if set, zero value otherwise.

func (*UsageObservabilityPipelinesResponse) 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 (*UsageObservabilityPipelinesResponse) HasData ¶

HasData returns a boolean if a field has been set.

func (UsageObservabilityPipelinesResponse) MarshalJSON ¶

func (o UsageObservabilityPipelinesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageObservabilityPipelinesResponse) SetData ¶

SetData gets a reference to the given []UsageDataObject and assigns it to the Data field.

func (*UsageObservabilityPipelinesResponse) UnmarshalJSON ¶

func (o *UsageObservabilityPipelinesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageTimeSeriesObject ¶

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 datadog.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 ¶

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 ¶

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 ¶

func (o *UsageTimeSeriesObject) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*UsageTimeSeriesObject) GetTimestampOk ¶

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 ¶

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 ¶

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 ¶

func (o *UsageTimeSeriesObject) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*UsageTimeSeriesObject) HasValue ¶

func (o *UsageTimeSeriesObject) HasValue() bool

HasValue returns a boolean if a field has been set.

func (UsageTimeSeriesObject) MarshalJSON ¶

func (o UsageTimeSeriesObject) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageTimeSeriesObject) SetTimestamp ¶

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 ¶

func (o *UsageTimeSeriesObject) SetValue(v int64)

SetValue gets a reference to the given datadog.NullableInt64 and assigns it to the Value field.

func (*UsageTimeSeriesObject) SetValueNil ¶

func (o *UsageTimeSeriesObject) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil.

func (*UsageTimeSeriesObject) UnmarshalJSON ¶

func (o *UsageTimeSeriesObject) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*UsageTimeSeriesObject) UnsetValue ¶

func (o *UsageTimeSeriesObject) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil.

type UsageTimeSeriesType ¶

type UsageTimeSeriesType string

UsageTimeSeriesType Type of usage data.

const (
	USAGETIMESERIESTYPE_USAGE_TIMESERIES UsageTimeSeriesType = "usage_timeseries"
)

List of UsageTimeSeriesType.

func NewUsageTimeSeriesTypeFromValue ¶

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 ¶

func (v *UsageTimeSeriesType) GetAllowedValues() []UsageTimeSeriesType

GetAllowedValues reeturns the list of possible values.

func (UsageTimeSeriesType) IsValid ¶

func (v UsageTimeSeriesType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (UsageTimeSeriesType) Ptr ¶

Ptr returns reference to UsageTimeSeriesType value.

func (*UsageTimeSeriesType) UnmarshalJSON ¶

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 ¶

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 datadog.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 datadog.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 ¶

func (o *UserAttributes) GetServiceAccount() bool

GetServiceAccount returns the ServiceAccount field value if set, zero value otherwise.

func (*UserAttributes) GetServiceAccountOk ¶

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 ¶

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 datadog.NullableString and assigns it to the Name field.

func (*UserAttributes) SetNameNil ¶

func (o *UserAttributes) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil.

func (*UserAttributes) SetServiceAccount ¶

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 datadog.NullableString and assigns it to the Title field.

func (*UserAttributes) SetTitleNil ¶

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 ¶

func (o *UserAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*UserAttributes) UnsetName ¶

func (o *UserAttributes) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil.

func (*UserAttributes) UnsetTitle ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 UsersApi ¶

type UsersApi datadog.Service

UsersApi service type

func NewUsersApi ¶

func NewUsersApi(client *datadog.APIClient) *UsersApi

NewUsersApi Returns NewUsersApi.

func (*UsersApi) CreateUser ¶

CreateUser Create a user. Create a user for your organization.

func (*UsersApi) DisableUser ¶

func (a *UsersApi) 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 (*UsersApi) GetInvitation ¶

func (a *UsersApi) GetInvitation(ctx _context.Context, userInvitationUuid string) (UserInvitationResponse, *_nethttp.Response, error)

GetInvitation Get a user invitation. Returns a single user invitation by its UUID.

func (*UsersApi) GetUser ¶

func (a *UsersApi) GetUser(ctx _context.Context, userId string) (UserResponse, *_nethttp.Response, error)

GetUser Get user details. Get a user in the organization specified by the user’s `user_id`.

func (*UsersApi) ListUserOrganizations ¶

func (a *UsersApi) 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 (*UsersApi) ListUserPermissions ¶

func (a *UsersApi) 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 (*UsersApi) 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 (*UsersApi) SendInvitations ¶

SendInvitations Send invitation emails. Sends emails to one or more users inviting them to join the organization.

func (*UsersApi) UpdateUser ¶

func (a *UsersApi) UpdateUser(ctx _context.Context, userId string, body UserUpdateRequest) (UserResponse, *_nethttp.Response, error)

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 ¶

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 ¶

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